scope360-core 0.0.185 → 0.0.186
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.
- package/dist/scope360-core.js +463 -460
- package/dist/scope360-core.js.map +1 -1
- package/dist/scope360-core.umd.cjs +16 -16
- package/dist/scope360-core.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -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 Bz=Object.defineProperty;var Az=(se,o,us)=>o in se?Bz(se,o,{enumerable:!0,configurable:!0,writable:!0,value:us}):se[o]=us;var W=(se,o,us)=>(Az(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(()=>ON),"../assets/icons/apple.svg":()=>Promise.resolve().then(()=>$N),"../assets/icons/arrow-down-right.svg":()=>Promise.resolve().then(()=>VN),"../assets/icons/arrow-down.svg":()=>Promise.resolve().then(()=>AN),"../assets/icons/arrow-right.svg":()=>Promise.resolve().then(()=>IN),"../assets/icons/arrow-rotating.svg":()=>Promise.resolve().then(()=>YN),"../assets/icons/arrow-up-right.svg":()=>Promise.resolve().then(()=>ZN),"../assets/icons/arrow-up.svg":()=>Promise.resolve().then(()=>GN),"../assets/icons/binance-circle.svg":()=>Promise.resolve().then(()=>QN),"../assets/icons/binance.svg":()=>Promise.resolve().then(()=>tB),"../assets/icons/book-guide.svg":()=>Promise.resolve().then(()=>sB),"../assets/icons/bxs-down-arrow.svg":()=>Promise.resolve().then(()=>aB),"../assets/icons/bxs-up-arrow.svg":()=>Promise.resolve().then(()=>dB),"../assets/icons/bxs_up-arrow.svg":()=>Promise.resolve().then(()=>fB),"../assets/icons/calendar.svg":()=>Promise.resolve().then(()=>gB),"../assets/icons/charts.svg":()=>Promise.resolve().then(()=>wB),"../assets/icons/check-circle-fill.svg":()=>Promise.resolve().then(()=>CB),"../assets/icons/checked.svg":()=>Promise.resolve().then(()=>SB),"../assets/icons/chevron-down-small.svg":()=>Promise.resolve().then(()=>OB),"../assets/icons/chevron-large.svg":()=>Promise.resolve().then(()=>$B),"../assets/icons/chevron-left-small.svg":()=>Promise.resolve().then(()=>VB),"../assets/icons/chevron-left.svg":()=>Promise.resolve().then(()=>AB),"../assets/icons/chevron-right-small.svg":()=>Promise.resolve().then(()=>IB),"../assets/icons/chevron-right.svg":()=>Promise.resolve().then(()=>YB),"../assets/icons/chevron-top-small.svg":()=>Promise.resolve().then(()=>ZB),"../assets/icons/chevron.svg":()=>Promise.resolve().then(()=>GB),"../assets/icons/circle-close.svg":()=>Promise.resolve().then(()=>QB),"../assets/icons/circle-plus.svg":()=>Promise.resolve().then(()=>tA),"../assets/icons/clock.svg":()=>Promise.resolve().then(()=>sA),"../assets/icons/close-popup.svg":()=>Promise.resolve().then(()=>aA),"../assets/icons/close.svg":()=>Promise.resolve().then(()=>dA),"../assets/icons/coins-add.svg":()=>Promise.resolve().then(()=>fA),"../assets/icons/cookie.svg":()=>Promise.resolve().then(()=>gA),"../assets/icons/copy.svg":()=>Promise.resolve().then(()=>wA),"../assets/icons/cross.svg":()=>Promise.resolve().then(()=>CA),"../assets/icons/currency.svg":()=>Promise.resolve().then(()=>SA),"../assets/icons/custom-filters.svg":()=>Promise.resolve().then(()=>OA),"../assets/icons/danger.svg":()=>Promise.resolve().then(()=>$A),"../assets/icons/date-range-light.svg":()=>Promise.resolve().then(()=>VA),"../assets/icons/download.svg":()=>Promise.resolve().then(()=>AA),"../assets/icons/edit-small.svg":()=>Promise.resolve().then(()=>IA),"../assets/icons/edit.svg":()=>Promise.resolve().then(()=>YA),"../assets/icons/eye-slash.svg":()=>Promise.resolve().then(()=>ZA),"../assets/icons/eye.svg":()=>Promise.resolve().then(()=>GA),"../assets/icons/file-bend.svg":()=>Promise.resolve().then(()=>QA),"../assets/icons/filter.svg":()=>Promise.resolve().then(()=>tF),"../assets/icons/folder-add.svg":()=>Promise.resolve().then(()=>sF),"../assets/icons/folder-open.svg":()=>Promise.resolve().then(()=>aF),"../assets/icons/futures.svg":()=>Promise.resolve().then(()=>dF),"../assets/icons/getting-started-1.svg":()=>Promise.resolve().then(()=>fF),"../assets/icons/getting-started-2.svg":()=>Promise.resolve().then(()=>gF),"../assets/icons/getting-started.svg":()=>Promise.resolve().then(()=>wF),"../assets/icons/google-authenticator.svg":()=>Promise.resolve().then(()=>CF),"../assets/icons/google.svg":()=>Promise.resolve().then(()=>SF),"../assets/icons/hamburger.svg":()=>Promise.resolve().then(()=>OF),"../assets/icons/hide.svg":()=>Promise.resolve().then(()=>$F),"../assets/icons/home.svg":()=>Promise.resolve().then(()=>VF),"../assets/icons/info.svg":()=>Promise.resolve().then(()=>AF),"../assets/icons/layout-column.svg":()=>Promise.resolve().then(()=>IF),"../assets/icons/lock.svg":()=>Promise.resolve().then(()=>YF),"../assets/icons/logo-with-text.svg":()=>Promise.resolve().then(()=>ZF),"../assets/icons/mistake.svg":()=>Promise.resolve().then(()=>GF),"../assets/icons/modal-cross.svg":()=>Promise.resolve().then(()=>QF),"../assets/icons/move_light.svg":()=>Promise.resolve().then(()=>tR),"../assets/icons/notification_bell.svg":()=>Promise.resolve().then(()=>sR),"../assets/icons/open-date.svg":()=>Promise.resolve().then(()=>aR),"../assets/icons/pair.svg":()=>Promise.resolve().then(()=>dR),"../assets/icons/pie-chart-light.svg":()=>Promise.resolve().then(()=>fR),"../assets/icons/pie-chart.svg":()=>Promise.resolve().then(()=>gR),"../assets/icons/plus.svg":()=>Promise.resolve().then(()=>wR),"../assets/icons/pop-up_opener.svg":()=>Promise.resolve().then(()=>CR),"../assets/icons/portfolio-alt.svg":()=>Promise.resolve().then(()=>SR),"../assets/icons/portfolio-success.svg":()=>Promise.resolve().then(()=>OR),"../assets/icons/portfolio.svg":()=>Promise.resolve().then(()=>$R),"../assets/icons/position-criteria.svg":()=>Promise.resolve().then(()=>VR),"../assets/icons/position-type.svg":()=>Promise.resolve().then(()=>AR),"../assets/icons/preview.svg":()=>Promise.resolve().then(()=>IR),"../assets/icons/progress-box-checked.svg":()=>Promise.resolve().then(()=>YR),"../assets/icons/progress-box.svg":()=>Promise.resolve().then(()=>ZR),"../assets/icons/progress_0.svg":()=>Promise.resolve().then(()=>GR),"../assets/icons/progress_1.svg":()=>Promise.resolve().then(()=>QR),"../assets/icons/progress_2.svg":()=>Promise.resolve().then(()=>tI),"../assets/icons/qr.svg":()=>Promise.resolve().then(()=>sI),"../assets/icons/scope-futures-logo.svg":()=>Promise.resolve().then(()=>aI),"../assets/icons/search.svg":()=>Promise.resolve().then(()=>dI),"../assets/icons/session.svg":()=>Promise.resolve().then(()=>fI),"../assets/icons/settings-2.svg":()=>Promise.resolve().then(()=>gI),"../assets/icons/settings.svg":()=>Promise.resolve().then(()=>wI),"../assets/icons/setup.svg":()=>Promise.resolve().then(()=>CI),"../assets/icons/share.svg":()=>Promise.resolve().then(()=>SI),"../assets/icons/side.svg":()=>Promise.resolve().then(()=>OI),"../assets/icons/sort.svg":()=>Promise.resolve().then(()=>$I),"../assets/icons/spot.svg":()=>Promise.resolve().then(()=>VI),"../assets/icons/star.svg":()=>Promise.resolve().then(()=>AI),"../assets/icons/status.svg":()=>Promise.resolve().then(()=>II),"../assets/icons/success.svg":()=>Promise.resolve().then(()=>YI),"../assets/icons/switch.svg":()=>Promise.resolve().then(()=>ZI),"../assets/icons/target.svg":()=>Promise.resolve().then(()=>GI),"../assets/icons/thrash.svg":()=>Promise.resolve().then(()=>QI),"../assets/icons/three-dots-vertical.svg":()=>Promise.resolve().then(()=>tz),"../assets/icons/three-dots.svg":()=>Promise.resolve().then(()=>sz),"../assets/icons/tip.svg":()=>Promise.resolve().then(()=>az),"../assets/icons/trading_terminal.svg":()=>Promise.resolve().then(()=>dz),"../assets/icons/trash.svg":()=>Promise.resolve().then(()=>fz),"../assets/icons/trending.svg":()=>Promise.resolve().then(()=>gz),"../assets/icons/vimeo_play_1.svg":()=>Promise.resolve().then(()=>wz),"../assets/icons/vimeo_play_2.svg":()=>Promise.resolve().then(()=>Cz),"../assets/icons/warning.svg":()=>Promise.resolve().then(()=>Sz),"../assets/icons/waterfall-light.svg":()=>Promise.resolve().then(()=>Oz),"../assets/icons/weekday.svg":()=>Promise.resolve().then(()=>$z),"../assets/icons/x.svg":()=>Promise.resolve().then(()=>Vz)}),`../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},_5=["disabled"],y5={key:1},ga=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",y5,o.toDisplayString(t.ctaText),1)):o.createCommentVNode("",!0)],14,_5))}},[["__scopeId","data-v-ffc148b3"]]);function Mc(t){return t===0?!1:Array.isArray(t)&&t.length===0?!0:!t}function w5(t){return(...e)=>!t(...e)}function b5(t,e){return t===void 0&&(t="undefined"),t===null&&(t="null"),t===!1&&(t="false"),t.toString().toLowerCase().indexOf(e.trim())!==-1}function gh(t,e,n,r){return e?t.filter(s=>b5(r(s,n),e)).sort((s,i)=>r(s,n).length-r(i,n).length):t}function k5(t){return t.filter(e=>!e.$isLabel)}function Sc(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 C5(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=gh(a[n],t,e,s);return l.length?{[r]:a[r],[n]:l}:[]})}const _h=(...t)=>e=>t.reduce((n,r)=>r(n),e);var x5={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 Mc(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):gh(n,e,this.label,this.customLabel):n=this.groupValues?Sc(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(w5(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 _h(C5(e,n,this.groupValues,this.groupLabel,this.customLabel),Sc(this.groupValues,this.groupLabel))(t)},flatAndStrip(t){return _h(Sc(this.groupValues,this.groupLabel),k5)(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(Mc(t))return"";if(t.isTag)return t.label;if(t.$isLabel)return t.$groupLabel;const e=this.customLabel(t,this.label);return Mc(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))}}},M5={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}}},yh={name:"vue-multiselect",mixins:[x5,M5],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 S5={ref:"tags",class:"multiselect__tags"},v5={class:"multiselect__tags-wrap"},T5={class:"multiselect__spinner"},O5={key:0},D5={class:"multiselect__option"},E5={class:"multiselect__option"},$5=o.createTextVNode("No elements found. Consider changing the search query."),P5={class:"multiselect__option"},L5=o.createTextVNode("List is empty.");function V5(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",S5,[o.renderSlot(t.$slots,"selection",{search:t.search,remove:t.removeElement,values:i.visibleValues,isOpen:t.isOpen},()=>[o.withDirectives(o.createVNode("div",v5,[(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",T5,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",O5,[o.createVNode("span",D5,[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",E5,[o.renderSlot(t.$slots,"noResult",{search:t.search},()=>[$5])])],512),[[o.vShow,n.showNoResults&&t.filteredOptions.length===0&&t.search&&!n.loading]]),o.withDirectives(o.createVNode("li",null,[o.createVNode("span",P5,[o.renderSlot(t.$slots,"noOptions",{},()=>[L5])])],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"])}yh.render=V5;const N5={key:0,class:"scope-multiselect-label"},B5=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",N5,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),o.createVNode(o.unref(yh),{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"]]),A5={key:0,class:"scope-input__label"},F5={key:1,class:"scope-input__prompt"},R5={key:0,class:"scope-input__sign"},I5=["disabled","placeholder","veeBind","maxlength","pattern","type"],z5={key:2,class:"scope-input__error"},H5=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"],["update:modelValue"]),setup(t,{expose:e,emit:n}){const{error:r}=ch(),s=n,i=o.ref(null),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",A5,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),t.prompt?(o.openBlock(),o.createElementBlock("div",F5,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",R5,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,I5),[[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",z5,o.toDisplayString(t.errorMessage),1)):o.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-5329e3a2"]]),Y5={class:"scope-radio-label"},W5=["value"],j5={class:"scope-text"},Z5={__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",Y5,[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,W5),[[o.vModelRadio,e.value]]),o.createElementVNode("span",{class:o.normalizeClass(["scope-radio",{"-checked":r.value}])},null,2),o.createElementVNode("span",j5,o.toDisplayString(t.label),1)]))}},U5=Oe(Z5,[["__scopeId","data-v-00175a44"]]),q5=t=>(o.pushScopeId("data-v-a4862285"),t=t(),o.popScopeId(),t),G5={class:"scope-toggle-wrapper"},K5=["checked","name"],X5=q5(()=>o.createElementVNode("div",{class:"scope-toggle-wrapper__indicator"},null,-1)),Q5=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",G5,[o.createElementVNode("input",{type:"checkbox",class:"scope-toggle-wrapper__checkbox",checked:n.value,name:t.name,onChange:s},null,40,K5),X5]))}},[["__scopeId","data-v-a4862285"]]),J5={class:"scope-checkbox-container"},e4=["id"],t4=["for"],n4=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",J5,[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,e4),[[o.vModelCheckbox,n.value]]),o.createElementVNode("label",{for:t.name},o.toDisplayString(t.label),9,t4)])]))}},[["__scopeId","data-v-aeb4be6c"]]),r4={class:"scope-menu-tabs"},s4=["onClick"],i4=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",r4,[(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,s4))),128))]))}},[["__scopeId","data-v-30014e05"]]),o4={class:"scope-switcher"},a4={class:"scope-switcher__current-item"},l4=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",o4,[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",a4,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 wh(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 c4(t,e){const n=+le(t);return Ve(t,n+e)}const bh=6048e5,d4=864e5,u4=6e4,kh=36e5,h4=1e3;function f4(t,e){return c4(t,e*kh)}let m4={};function hs(){return m4}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 Qs(t){return In(t,{weekStartsOn:1})}function Ch(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=Qs(r),i=Ve(t,0);i.setFullYear(n,0,4),i.setHours(0,0,0,0);const a=Qs(i);return e.getTime()>=s.getTime()?n+1:e.getTime()>=a.getTime()?n:n-1}function xh(t){const e=le(t);return e.setHours(0,0,0,0),e}function _a(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 Mh(t,e){const n=xh(t),r=xh(e),s=+n-_a(n),i=+r-_a(r);return Math.round((s-i)/d4)}function p4(t){const e=Ch(t),n=Ve(t,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),Qs(n)}function g4(t,e){const n=e*3;return Tn(t,n)}function vc(t,e){return Tn(t,e*12)}function Sh(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function Zi(t){if(!Sh(t)&&typeof t!="number")return!1;const e=le(t);return!isNaN(Number(e))}function vh(t){const e=le(t);return Math.trunc(e.getMonth()/3)+1}function Th(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 _4(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=g4(a,l);return s?c.reverse():c}function y4(t){const e=le(t),n=e.getFullYear();return e.setFullYear(n+1,0,0),e.setHours(23,59,59,999),e}function Oh(t){const e=le(t),n=Ve(t,0);return n.setFullYear(e.getFullYear(),0,1),n.setHours(0,0,0,0),n}function w4(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 Dh(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 b4={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"}},k4=(t,e,n)=>{let r;const s=b4[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 Tc(t){return(e={})=>{const n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}const C4={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},x4={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},M4={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},S4={date:Tc({formats:C4,defaultWidth:"full"}),time:Tc({formats:x4,defaultWidth:"full"}),dateTime:Tc({formats:M4,defaultWidth:"full"})},v4={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},T4=(t,e,n,r)=>v4[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 O4={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},D4={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},E4={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"]},$4={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"]},P4={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"}},L4={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"}},V4={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:O4,defaultWidth:"wide"}),quarter:Ui({values:D4,defaultWidth:"wide",argumentCallback:t=>t-1}),month:Ui({values:E4,defaultWidth:"wide"}),day:Ui({values:$4,defaultWidth:"wide"}),dayPeriod:Ui({values:P4,defaultWidth:"wide",formattingValues:L4,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)?B4(l,h=>h.test(a)):N4(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 N4(t,e){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n}function B4(t,e){for(let n=0;n<t.length;n++)if(e(t[n]))return n}function A4(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 F4=/^(\d+)(th|st|nd|rd)?/i,R4=/\d+/i,I4={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},z4={any:[/^b/i,/^(a|c)/i]},H4={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Y4={any:[/1/i,/2/i,/3/i,/4/i]},W4={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},j4={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]},Z4={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},U4={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]},q4={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},G4={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}},K4={ordinalNumber:A4({matchPattern:F4,parsePattern:R4,valueCallback:t=>parseInt(t,10)}),era:qi({matchPatterns:I4,defaultMatchWidth:"wide",parsePatterns:z4,defaultParseWidth:"any"}),quarter:qi({matchPatterns:H4,defaultMatchWidth:"wide",parsePatterns:Y4,defaultParseWidth:"any",valueCallback:t=>t+1}),month:qi({matchPatterns:W4,defaultMatchWidth:"wide",parsePatterns:j4,defaultParseWidth:"any"}),day:qi({matchPatterns:Z4,defaultMatchWidth:"wide",parsePatterns:U4,defaultParseWidth:"any"}),dayPeriod:qi({matchPatterns:q4,defaultMatchWidth:"any",parsePatterns:G4,defaultParseWidth:"any"})},Eh={code:"en-US",formatDistance:k4,formatLong:S4,formatRelative:T4,localize:V4,match:K4,options:{weekStartsOn:0,firstWeekContainsDate:1}};function X4(t){const e=le(t);return Mh(e,Oh(e))+1}function Oc(t){const e=le(t),n=+Qs(e)-+p4(e);return Math.round(n/bh)+1}function Dc(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 Q4(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=Dc(t,e),i=Ve(t,0);return i.setFullYear(s,0,r),i.setHours(0,0,0,0),In(i,e)}function Ec(t,e){const n=le(t),r=+In(n,e)-+Q4(n,e);return Math.round(r/bh)+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)}},Js={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},$h={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=Dc(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=Ch(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=Ec(t,r);return e==="wo"?n.ordinalNumber(s,{unit:"week"}):Ae(s,e.length)},I:function(t,e,n){const r=Oc(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=X4(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=Js.noon:r===0?s=Js.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=Js.evening:r>=12?s=Js.afternoon:r>=4?s=Js.morning:s=Js.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 Lh(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 Lh(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"+Ph(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"+Ph(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 Ph(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 Lh(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 Vh=(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"})}},Nh=(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"})}},$c={p:Nh,P:(t,e)=>{const n=t.match(/(P+)(p+)?/)||[],r=n[1],s=n[2];if(!s)return Vh(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}}",Vh(r,e)).replace("{{time}}",Nh(s,e))}},J4=/^D+$/,e9=/^Y+$/,t9=["D","DD","YY","YYYY"];function Bh(t){return J4.test(t)}function Ah(t){return e9.test(t)}function Pc(t,e,n){const r=n9(t,e,n);if(console.warn(r),t9.includes(t))throw new RangeError(r)}function n9(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 r9=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,s9=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,i9=/^'([^]*?)'?$/,o9=/''/g,a9=/[a-zA-Z]/;function zn(t,e,n){var u,h,f,m,g,p,_,y;const r=hs(),s=(n==null?void 0:n.locale)??r.locale??Eh,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(s9).map(C=>{const k=C[0];if(k==="p"||k==="P"){const v=$c[k];return v(C,s.formatLong)}return C}).join("").match(r9).map(C=>{if(C==="''")return{isToken:!1,value:"'"};const k=C[0];if(k==="'")return{isToken:!1,value:l9(C)};if($h[k])return{isToken:!0,value:C};if(k.match(a9))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)&&Ah(k)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&Bh(k))&&Pc(k,e,String(t));const v=$h[k[0]];return v(l,k,s.localize,d)}).join("")}function l9(t){const e=t.match(i9);return e?e[1].replace(o9,"'"):t}function c9(t){return le(t).getDay()}function d9(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 u9(){return Object.assign({},hs())}function On(t){return le(t).getHours()}function h9(t){let n=le(t).getDay();return n===0&&(n=7),n}function Hn(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 f9(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 m9=10;class Fh{constructor(){W(this,"subPriority",0)}validate(e,n){return!0}}class p9 extends Fh{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 g9 extends Fh{constructor(){super(...arguments);W(this,"priority",m9);W(this,"subPriority",-1)}set(n,r){return r.timestampIsSet?n:Ve(n,f9(n,Date))}}class Ne{run(e,n,r,s){const i=this.parse(e,n,r,s);return i?{setter:new p9(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(e,n,r){return!0}}class _9 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 dt={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 ut(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*kh+i*u4+a*h4),rest:e.slice(n[0].length)}}function Rh(t){return Qe(dt.anyDigitsSigned,t)}function rt(t,e){switch(t){case 1:return Qe(dt.singleDigit,e);case 2:return Qe(dt.twoDigits,e);case 3:return Qe(dt.threeDigits,e);case 4:return Qe(dt.fourDigits,e);default:return Qe(new RegExp("^\\d{1,"+t+"}"),e)}}function ya(t,e){switch(t){case 1:return Qe(dt.singleDigitSigned,e);case 2:return Qe(dt.twoDigitsSigned,e);case 3:return Qe(dt.threeDigitsSigned,e);case 4:return Qe(dt.fourDigitsSigned,e);default:return Qe(new RegExp("^-?\\d{1,"+t+"}"),e)}}function Lc(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 Ih(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 zh(t){return t%400===0||t%4===0&&t%100!==0}class y9 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 ut(rt(4,n),i);case"yo":return ut(s.ordinalNumber(n,{unit:"year"}),i);default:return ut(rt(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=Ih(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 w9 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 ut(rt(4,n),i);case"Yo":return ut(s.ordinalNumber(n,{unit:"year"}),i);default:return ut(rt(r.length,n),i)}}validate(n,r){return r.isTwoDigitYear||r.year>0}set(n,r,s,i){const a=Dc(n,i);if(s.isTwoDigitYear){const c=Ih(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 b9 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 ya(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),Qs(i)}}class k9 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 ya(r==="u"?4:r.length,n)}set(n,r,s){return n.setFullYear(s,0,1),n.setHours(0,0,0,0),n}}class C9 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 rt(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 x9 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 rt(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 M9 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 ut(Qe(dt.month,n),i);case"MM":return ut(rt(2,n),i);case"Mo":return ut(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 S9 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 ut(Qe(dt.month,n),i);case"LL":return ut(rt(2,n),i);case"Lo":return ut(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 v9(t,e,n){const r=le(t),s=Ec(r,n)-e;return r.setDate(r.getDate()-s*7),r}class T9 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(dt.week,n);case"wo":return s.ordinalNumber(n,{unit:"week"});default:return rt(r.length,n)}}validate(n,r){return r>=1&&r<=53}set(n,r,s,i){return In(v9(n,s,i),i)}}function O9(t,e){const n=le(t),r=Oc(n)-e;return n.setDate(n.getDate()-r*7),n}class D9 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(dt.week,n);case"Io":return s.ordinalNumber(n,{unit:"week"});default:return rt(r.length,n)}}validate(n,r){return r>=1&&r<=53}set(n,r,s){return Qs(O9(n,s))}}const E9=[31,28,31,30,31,30,31,31,30,31,30,31],$9=[31,29,31,30,31,30,31,31,30,31,30,31];class P9 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(dt.date,n);case"do":return s.ordinalNumber(n,{unit:"date"});default:return rt(r.length,n)}}validate(n,r){const s=n.getFullYear(),i=zh(s),a=n.getMonth();return i?r>=1&&r<=$9[a]:r>=1&&r<=E9[a]}set(n,r,s){return n.setDate(s),n.setHours(0,0,0,0),n}}class L9 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(dt.dayOfYear,n);case"Do":return s.ordinalNumber(n,{unit:"date"});default:return rt(r.length,n)}}validate(n,r){const s=n.getFullYear();return zh(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 Vc(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 V9 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=Vc(n,s,i),n.setHours(0,0,0,0),n}}class N9 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 ut(rt(r.length,n),a);case"eo":return ut(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=Vc(n,s,i),n.setHours(0,0,0,0),n}}class B9 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 ut(rt(r.length,n),a);case"co":return ut(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=Vc(n,s,i),n.setHours(0,0,0,0),n}}function A9(t,e){const n=le(t),r=h9(n),s=e-r;return vn(n,s)}class F9 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 rt(r.length,n);case"io":return s.ordinalNumber(n,{unit:"day"});case"iii":return ut(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 ut(s.day(n,{width:"narrow",context:"formatting"}),i);case"iiiiii":return ut(s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"}),i);case"iiii":default:return ut(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=A9(n,s),n.setHours(0,0,0,0),n}}class R9 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(Lc(s),0,0,0),n}}class I9 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(Lc(s),0,0,0),n}}class z9 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(Lc(s),0,0,0),n}}class H9 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(dt.hour12h,n);case"ho":return s.ordinalNumber(n,{unit:"hour"});default:return rt(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 Y9 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(dt.hour23h,n);case"Ho":return s.ordinalNumber(n,{unit:"hour"});default:return rt(r.length,n)}}validate(n,r){return r>=0&&r<=23}set(n,r,s){return n.setHours(s,0,0,0),n}}class W9 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(dt.hour11h,n);case"Ko":return s.ordinalNumber(n,{unit:"hour"});default:return rt(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 j9 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(dt.hour24h,n);case"ko":return s.ordinalNumber(n,{unit:"hour"});default:return rt(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 Z9 extends Ne{constructor(){super(...arguments);W(this,"priority",60);W(this,"incompatibleTokens",["t","T"])}parse(n,r,s){switch(r){case"m":return Qe(dt.minute,n);case"mo":return s.ordinalNumber(n,{unit:"minute"});default:return rt(r.length,n)}}validate(n,r){return r>=0&&r<=59}set(n,r,s){return n.setMinutes(s,0,0),n}}class U9 extends Ne{constructor(){super(...arguments);W(this,"priority",50);W(this,"incompatibleTokens",["t","T"])}parse(n,r,s){switch(r){case"s":return Qe(dt.second,n);case"so":return s.ordinalNumber(n,{unit:"second"});default:return rt(r.length,n)}}validate(n,r){return r>=0&&r<=59}set(n,r,s){return n.setSeconds(s,0),n}}class q9 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 ut(rt(r.length,n),s)}set(n,r,s){return n.setMilliseconds(s),n}}class G9 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()-_a(n)-s)}}class K9 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()-_a(n)-s)}}class X9 extends Ne{constructor(){super(...arguments);W(this,"priority",40);W(this,"incompatibleTokens","*")}parse(n){return Rh(n)}set(n,r,s){return[Ve(n,s*1e3),{timestampIsSet:!0}]}}class Q9 extends Ne{constructor(){super(...arguments);W(this,"priority",20);W(this,"incompatibleTokens","*")}parse(n){return Rh(n)}set(n,r,s){return[Ve(n,s),{timestampIsSet:!0}]}}const J9={G:new _9,y:new y9,Y:new w9,R:new b9,u:new k9,Q:new C9,q:new x9,M:new M9,L:new S9,w:new T9,I:new D9,d:new P9,D:new L9,E:new V9,e:new N9,c:new B9,i:new F9,a:new R9,b:new I9,B:new z9,h:new H9,H:new Y9,K:new W9,k:new j9,m:new Z9,s:new U9,S:new q9,X:new G9,x:new K9,t:new X9,T:new Q9},e7=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,t7=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,n7=/^'([^]*?)'?$/,r7=/''/g,s7=/\S/,i7=/[a-zA-Z]/;function Nc(t,e,n,r){var p,_,y,C,k,v,M,T;const s=u9(),i=(r==null?void 0:r.locale)??s.locale??Eh,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 g9],u=e.match(t7).map(S=>{const D=S[0];if(D in $c){const E=$c[D];return E(S,i.formatLong)}return S}).join("").match(e7),h=[];for(let S of u){!(r!=null&&r.useAdditionalWeekYearTokens)&&Ah(S)&&Pc(S,e,t),!(r!=null&&r.useAdditionalDayOfYearTokens)&&Bh(S)&&Pc(S,e,t);const D=S[0],E=J9[D];if(E){const{incompatibleTokens:I}=E;if(Array.isArray(I)){const $=h.find(R=>I.includes(R.token)||R.token===D);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:D,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(D.match(i7))throw new RangeError("Format string contains an unescaped latin alphabet character `"+D+"`");if(S==="''"?S="'":D==="'"&&(S=o7(S)),t.indexOf(S)===0)t=t.slice(S.length);else return Ve(n,NaN)}}if(t.length>0&&s7.test(t))return Ve(n,NaN);const f=d.map(S=>S.priority).sort((S,D)=>D-S).filter((S,D,E)=>E.indexOf(S)===D).map(S=>d.filter(D=>D.priority===S).sort((D,E)=>E.subPriority-D.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 D=S.set(m,g,c);Array.isArray(D)?(m=D[0],Object.assign(g,D[1])):m=D}return Ve(n,m)}function o7(t){return t.match(n7)[1].replace(r7,"'")}function Hh(t,e){const n=fs(t),r=fs(e);return+n==+r}function a7(t,e){return vn(t,-e)}function Yh(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=d9(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=Yh(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 Wh(t,e){const n=le(t);return n.setHours(e),n}function Bc(t,e){const n=le(t);return n.setMilliseconds(e),n}function jh(t,e){const n=le(t);return n.setMinutes(e),n}function Ac(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 l7(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=a7(d,i+s*7),h=l+a*60,m=(c+h*60)*1e3;return Ve(t,u.getTime()-m)}function Zh(t,e){return vc(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 Uh(){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"})])}Uh.compatConfig={MODE:3};function Fc(){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"})])}Fc.compatConfig={MODE:3};function Rc(){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"})])}Rc.compatConfig={MODE:3};function Ic(){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"})])}Ic.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:"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"})])}zc.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:"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"})])}Hc.compatConfig={MODE:3};function qh(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 c7(t){return e=>zn(new Date(`2017-01-0${e}T00:00:00+00:00`),"EEEEEE",{locale:t})}const d7=(t,e,n)=>{const r=[1,2,3,4,5,6,7];let s;if(t!==null)try{s=r.map(c7(t))}catch{s=r.map(qh(e))}else s=r.map(qh(e));const i=s.slice(0,n),a=s.slice(n+1,s.length);return[s[n]].concat(...a).concat(...i)},Yc=(t,e,n)=>{const r=[];for(let s=+t[0];s<=+t[1];s++)r.push({value:+s,text:ef(s,e)});return n?r.reverse():r},Gh=(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=zn(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}})},u7=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],bt=t=>{const e=o.unref(t);return e!=null&&e.$el?e==null?void 0:e.$el:e},h7=t=>({type:"dot",...t??{}}),Kh=t=>Array.isArray(t)?!!t[0]&&!!t[1]:!1,Wc={prop:t=>`"${t}" prop must be enabled!`,dateArr:t=>`You need to use array as "model-value" binding in order to support "${t}"`},xt=t=>t,Xh=t=>t===0?t:!t||isNaN(+t)?null:+t,Qh=t=>t===null,Jh=t=>{if(t)return[...t.querySelectorAll("input, button, select, textarea, a[href]")][0]},f7=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)=>f7(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())},m7=()=>["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 p7(t,e){let n=[...document.querySelectorAll(m7())];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 g7=(t,e)=>t==null?void 0:t.querySelector(`[data-dp-element="${e}"]`),ef=(t,e)=>new Intl.NumberFormat(e,{useGrouping:!1,style:"decimal"}).format(t),jc=t=>zn(t,"dd-MM-yyyy"),Zc=t=>Array.isArray(t),wa=(t,e)=>e.get(jc(t)),_7=(t,e)=>t?e?e instanceof Map?!!wa(t,e):e(q(t)):!1:!0,tf=(t,e,n,r,s,i)=>{const a=Nc(t,e.slice(0,t.length),new Date,{locale:i});return Zi(a)&&Sh(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},y7=(t,e,n,r,s,i)=>{const a=Array.isArray(n)?n[0]:n;if(typeof e=="string")return tf(t,e,a,r,s,i);if(Array.isArray(e)){let l=null;for(const c of e)if(l=tf(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,w7=(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()},Ut=t=>{let e=q(JSON.parse(JSON.stringify(t)));return e=Wh(e,0),e=jh(e,0),e=Ac(e,0),e=Bc(e,0),e},Nr=(t,e,n,r)=>{let s=t?q(t):q();return(e||e===0)&&(s=Wh(s,+e)),(n||n===0)&&(s=jh(s,+n)),(r||r===0)&&(s=Ac(s,+r)),Bc(s,0)},st=(t,e)=>!t||!e?!1:Ki(Ut(t),Ut(e)),Me=(t,e)=>!t||!e?!1:ti(Ut(t),Ut(e)),ht=(t,e)=>!t||!e?!1:Gi(Ut(t),Ut(e)),ba=(t,e,n)=>t!=null&&t[0]&&t!=null&&t[1]?ht(n,t[0])&&st(n,t[1]):t!=null&&t[0]&&e?ht(n,t[0])&&st(n,e)||st(n,t[0])&&ht(n,e):!1,Dn=t=>{const e=We(new Date(t),{date:1});return Ut(e)},Uc=(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:On(t),minutes:Hn(t),seconds:ei(t)}),nf=(t,e)=>{if(e){const n=ye(q(e));if(n>t)return 12;if(n===t)return Ce(q(e))}},rf=(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))},sf=(t,e)=>{const n=ht(t,e)?e:t,r=ht(e,t)?e:t;return Th({start:n,end:r})},b7=t=>{const e=Tn(t,1);return{month:Ce(e),year:ye(e)}},ar=(t,e)=>{const n=In(t,{weekStartsOn:+e}),r=w4(t,{weekStartsOn:+e});return[n,r]},of=(t,e)=>{const n={hours:On(q()),minutes:Hn(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=Yh(r,e)),n&&(r=jn(r,n)),r},af=(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?!C7(...a,e):!k7(...a,n)},k7=(t,e,n)=>st(...Br(n,t,e))||Me(...Br(n,t,e)),C7=(t,e,n)=>ht(...Br(n,t,e))||Me(...Br(n,t,e)),lf=(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)?`${zn(t[0],i,l)}${s&&!t[1]?"":r}${t[1]?zn(t[1],i,l):""}`:zn(t,i,l)},oi=t=>{if(t)return null;throw new Error(Wc.prop("partial-range"))},ka=(t,e)=>{if(e)return t();throw new Error(Wc.prop("range"))},qc=t=>Array.isArray(t)?Zi(t[0])&&(t[1]?Zi(t[1]):!0):t?Zi(t):!1,x7=(t,e)=>We(e??q(),{hours:+t.hours||0,minutes:+t.minutes||0,seconds:+t.seconds||0}),Gc=(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()},Kc=(t,e,n)=>t?x7(t,e):q(n??e),cf=(t,e,n,r,s)=>{if(Array.isArray(r)){const a=Kc(t,r[0],e),l=Kc(t,r[1],e);return Gc(r[0],a,n,!!e)&&Gc(r[1],l,n,!!e)&&s}const i=Kc(t,r,e);return Gc(r,i,n,!!e)&&s},Xc=t=>We(q(),ps(t)),M7=(t,e)=>t instanceof Map?Array.from(t.values()).filter(n=>ye(q(n))===e).map(n=>Ce(n)):[],df=(t,e,n)=>typeof t=="function"?t({month:e,year:n}):!!t.months.find(r=>r.month===e&&r.year===n),Qc=(t,e)=>typeof t=="function"?t(e):t.years.includes(e),Qi=o.reactive({menuFocused:!1,shiftKeyInMenu:!1}),uf=()=>{const t=n=>{Qi.menuFocused=n},e=n=>{Qi.shiftKeyInMenu!==n&&(Qi.shiftKeyInMenu=n)};return{control:o.computed(()=>({shiftKeyInMenu:Qi.shiftKeyInMenu,menuFocused:Qi.menuFocused})),setMenuFocused:t,setShiftKey:e}},Ze=o.reactive({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),Jc=o.ref(null),Ca=o.ref(!1),ed=o.ref(!1),td=o.ref(!1),nd=o.ref(!1),Dt=o.ref(0),ft=o.ref(0),Ar=()=>{const t=o.computed(()=>Ca.value?[...Ze.selectionGrid,Ze.actionRow].filter(h=>h.length):ed.value?[...Ze.timePicker[0],...Ze.timePicker[1],nd.value?[]:[Jc.value],Ze.actionRow].filter(h=>h.length):td.value?[...Ze.monthPicker,Ze.actionRow]:[Ze.monthYear,...Ze.calendar,Ze.time,Ze.actionRow].filter(h=>h.length)),e=h=>{Dt.value=h?Dt.value+1:Dt.value-1;let f=null;t.value[ft.value]&&(f=t.value[ft.value][Dt.value]),!f&&t.value[ft.value+(h?1:-1)]?(ft.value=ft.value+(h?1:-1),Dt.value=h?0:t.value[ft.value].length-1):f||(Dt.value=h?Dt.value-1:Dt.value+1)},n=h=>{ft.value===0&&!h||ft.value===t.value.length&&h||(ft.value=h?ft.value+1:ft.value-1,t.value[ft.value]?t.value[ft.value]&&!t.value[ft.value][Dt.value]&&Dt.value!==0&&(Dt.value=t.value[ft.value].length-1):ft.value=h?ft.value-1:ft.value+1)},r=h=>{let f=null;t.value[ft.value]&&(f=t.value[ft.value][Dt.value]),f?f.focus({preventScroll:!Ca.value}):Dt.value=h?Dt.value-1:Dt.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=()=>{Dt.value=0,ft.value=0};return{buildMatrix:c,buildMultiLevelMatrix:d,setTimePickerBackRef:h=>{Jc.value=h},setSelectionGrid:h=>{Ca.value=h,u(),h||(Ze.selectionGrid=[])},setTimePicker:(h,f=!1)=>{ed.value=h,nd.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]=[],Ca.value=!1,ed.value=!1,nd.value=!1,td.value=!1,u(),Jc.value=null},setMonthPicker:h=>{td.value=h,u()},refSets:Ze}},cr=(t,e)=>e?new Date(t.toLocaleString("en-US",{timeZone:e})):new Date(t),hf=(t,e)=>rd(t,e)||q(),S7=(t,e)=>e.dateInTz?cr(new Date(t),e.dateInTz):q(t),rd=(t,e)=>{if(!t)return null;if(!e)return q(t);const n=q(t);return e.exactMatch?S7(t,e):cr(n,e.timezone)},v7=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},ff=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??{}}),T7=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??{}}),mf=t=>t?typeof t=="boolean"?t?2:0:+t>=2?+t:2:0,O7=t=>{const e=typeof t=="object"&&t,n={static:!0,solo:!1};if(!t)return{...n,count:mf(!1)};const r=e?t:{},s=e?r.count??!0:t,i=mf(s);return Object.assign(n,r,{count:i})},D7=(t,e,n)=>t||(typeof n=="string"?n:e),E7=t=>typeof t=="boolean"?t?ff({}):!1:ff(t),$7=t=>{const e={enterSubmit:!0,tabSubmit:!0,openMenu:!0,selectOnFocus:!1,rangeSeparator:" - "};return typeof t=="object"?{...e,...t??{},enabled:!0}:{...e,enabled:t}},P7=t=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...t??{}}),L7=t=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...t??{}}),V7=t=>{const e={input:!1};return typeof t=="object"?{...e,...t??{},enabled:!0}:{enabled:t,...e}},N7=t=>({allowStopPropagation:!0,closeOnScroll:!1,modeHeight:255,allowPreventDefault:!1,closeOnClearValue:!0,closeOnAutoApply:!0,noSwipe:!1,keepActionRow:!1,onClickOutside:void 0,tabOutClosesMenu:!0,...t??{}}),B7=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??{}}},A7=t=>typeof t=="object"?{type:(t==null?void 0:t.type)??"local",hideOnOffsetDates:(t==null?void 0:t.hideOnOffsetDates)??!1}:{type:t,hideOnOffsetDates:!1},F7=(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},R7=(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},sd=(t,e)=>new Map(t.map(n=>{const r=hf(n,e);return[jc(r),r]})),I7=(t,e)=>t.length?new Map(t.map(n=>{const r=hf(n.date,e);return[jc(r),n]})):null,z7=(t,e,n,r,s,i,a)=>({minDate:rd(t,a),maxDate:rd(e,a),disabledDates:Zc(n)?sd(n,a):n,allowedDates:Zc(r)?sd(r,a):null,highlight:typeof s=="object"&&Zc(s==null?void 0:s.dates)?sd(s.dates,a):s,markers:I7(i,a)}),H7=(t,e)=>typeof t=="boolean"?{enabled:t,dragSelect:!0,limit:+e}:{enabled:!!t,limit:t.limit?+t.limit:null,dragSelect:t.dragSelect??!0},Je=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=>of(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(()=>O7(t.multiCalendars)),a=o.computed(()=>s()),l=o.computed(()=>T7(t.ariaLabels)),c=o.computed(()=>P7(t.filters)),d=o.computed(()=>E7(t.transitions)),u=o.computed(()=>L7(t.actionRow)),h=o.computed(()=>D7(t.previewFormat,t.format,n())),f=o.computed(()=>$7(t.textInput)),m=o.computed(()=>V7(t.inline)),g=o.computed(()=>N7(t.config)),p=o.computed(()=>B7(t.highlight)),_=o.computed(()=>A7(t.weekNumbers)),y=o.computed(()=>R7(t.timezone,t.emitTimezone)),C=o.computed(()=>H7(t.multiDates,t.multiDatesLimit)),k=o.computed(()=>z7(t.minDate,t.maxDate,t.disabledDates,t.allowedDates,p.value,t.markers,y.value)),v=o.computed(()=>F7(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}},Y7=(t,e,n)=>{const r=o.ref(),{defaultedTextInput:s,defaultedRange:i,defaultedTz:a,defaultedMultiDates:l,getDefaultPattern:c}=Je(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=v7(a.value.timezone);return f4(w,B)}return w},m=(w,B,z=!1)=>lf(w,e.format,e.formatLocale,s.value.rangeSeparator,e.modelAuto,B??c(),z),g=w=>w?e.modelType?ee(w):{hours:On(w),minutes:Hn(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))):ka(()=>[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(z=>y(z,lr(B,+z.month,+z.year))):ka(()=>[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(Wc.dateArr("multi-dates"))},M=w=>{if(Array.isArray(w)&&i.value.enabled){const B=w[0],z=w[1];return[q(Array.isArray(B)?B[0]:null),q(Array.isArray(z)?z[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)?ka(()=>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))},D=()=>{const w=r.value;return[ee(w[0]),w[1]?ee(w[1]):oi(i.value.partialRange)]},E=()=>r.value[1]?D():ee(xt(r.value[0])),I=()=>(r.value||[]).map(w=>ee(w)),j=()=>(S(),e.modelAuto?E():l.value.enabled?I():Array.isArray(r.value)?ka(()=>D(),i.value.enabled):ee(xt(r.value))),$=w=>!w||Array.isArray(w)&&!w.length?null:e.timePicker?C(xt(w)):e.monthPicker?k(xt(w)):e.yearPicker?_(xt(w)):l.value.enabled?v(xt(w)):e.weekPicker?M(xt(w)):T(xt(w)),R=w=>{const B=$(w);qc(xt(B))?(r.value=xt(B),V()):(r.value=null,d.value="")},G=()=>{const w=B=>zn(B,s.value.format);return`${w(r.value[0])} ${s.value.rangeSeparator} ${r.value[1]?w(r.value[1]):""}`},O=()=>n.value&&r.value?Array.isArray(r.value)?G():zn(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"?O():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(Nc(w,c(),new Date)):h(Nc(w,e.modelType,new Date)):h(new Date(w))},ee=w=>w?e.utc?w7(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 z=Array.isArray(w)?w.map(be=>cr(xt(be),a.value.emitTimezone)):cr(xt(w),a.value.emitTimezone);t("update:model-timezone-value",z)}},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(xt(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(z=>q(z)),B.map(z=>q(z))]}return ar(r.value,e.weekStart).map(w=>q(w))},b=w=>U(xt(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))}},W7=(t,e)=>{const{defaultedFilters:n,propDates:r}=Je(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?vc(u,1):Zh(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=>af(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 j7=({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=O=>{if(a.teleport){const x=O.getBoundingClientRect();return{left:x.left+window.scrollX,top:x.top+window.scrollY}}return{top:0,left:0}},g=(O,x)=>{u.value.left=`${O+x-c.value.width}px`},p=O=>{u.value.left=`${O}px`},_=(O,x)=>{a.position===ai.left&&p(O),a.position===ai.right&&g(O,x),a.position===ai.center&&(u.value.left=`${O+x/2-c.value.width/2}px`)},y=O=>{const{width:x,height:V}=O.getBoundingClientRect(),{top:Z,left:ee}=a.altPosition?a.altPosition(O):m(O);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 O=bt(n),{top:x,left:V,transform:Z}=a.altPosition(O);u.value={top:`${x}px`,left:`${V}px`,transform:Z??""}},v=(O=!0)=>{var x;if(!s.value.enabled){if(f.value)return C();if(a.altPosition!==null)return k();if(O){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:O,left:x,width:V})=>{window.screen.width>768&&!d.value&&_(x,V),D(O)},T=O=>{const{top:x,left:V,height:Z,width:ee}=y(O);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:O,left:V,width:ee})},S=O=>{const{top:x,left:V,width:Z}=y(O);u.value.top=`${x-+a.offset-c.value.height}px`,h.value=!0,M({inputEl:O,left:V,width:Z})},D=O=>{if(a.autoPosition){const{left:x,width:V}=y(O),{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 O=bt(n);if(O){const{height:x}=c.value,{top:V,height:Z}=O.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=O=>E()===gs.bottom?T(O):S(O),j=()=>{const O=bt(n);if(O)return a.autoPosition?I(O):T(O)},$=function(O){if(O){const x=O.scrollHeight>O.clientHeight,V=window.getComputedStyle(O).overflowY.indexOf("hidden")!==-1;return x&&!V}return!0},R=function(O){return!O||O===document.body||O.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:$(O)?O:R(O.parentNode)},G=O=>{if(O)switch(a.position){case ai.left:return{left:0,transform:"translateX(0)"};case ai.right:return{left:`${O.width}px`,transform:"translateX(-100%)"};default:return{left:`${O.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:h,menuStyle:u,xCorrect:d,setMenuPosition:v,getScrollableParent:R,shadowRender:(O,x)=>{var V,Z,ee;const U=document.createElement("div"),P=(V=bt(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(O,{...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"]}],Z7=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],U7={all:()=>Fr,monthYear:()=>Fr.filter(t=>t.use.includes("month-year")),input:()=>Z7,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"))},qt=(t,e,n)=>{const r=[];return U7[e]().forEach(s=>{t[s.name]&&r.push(s.name)}),n!=null&&n.length&&n.forEach(s=>{s.slot&&r.push(s.slot)}),r},Ji=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}=Je(t),s=q(cr(q(),r.value.timezone)),i=o.ref([{month:Ce(s),year:ye(s)}]),a=o.reactive({hours:n.value.enabled?[On(s),On(s)]:On(s),minutes:n.value.enabled?[Hn(s),Hn(s)]:Hn(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}},q7=(t,e)=>{const{defaultedMultiCalendars:n,defaultedMultiDates:r,defaultedHighlight:s,defaultedTz:i,propDates:a,defaultedRange:l}=Je(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?ht(d.value,t.value[0]):st(d.value,t.value[0]):!0,g=(b,w)=>{const B=()=>t.value?w?t.value[0]||null:t.value[1]:null,z=t.value&&Array.isArray(t.value)?B():null;return Me(q(b.value),z)},p=b=>{const w=Array.isArray(t.value)?t.value[0]:null;return b?!st(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:Me(q(b.value),t.value[w?0:1]):l.value.enabled?g(b,w)&&p(w)||Me(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?ht(t.value[0],w.value):st(t.value[0],w.value):!1,C=b=>!t.value||e.hideOffsetDates&&!b.current?!1:l.value.enabled?e.modelAuto&&Array.isArray(t.value)?Me(b.value,t.value[0]?t.value[0]:u.value):!1:r.value.enabled&&Array.isArray(t.value)?t.value.some(w=>Me(w,b.value)):Me(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?Me(B[1],q(b.value)):Me(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?ht(b.value,B[0])&&st(b.value,B[1]):ht(b.value,d.value)&&st(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?Me(w[0],b.value):Me(d.value,b.value)}return!1}return!1},T=b=>ba(t.value,d.value,b.value),S=()=>e.modelAuto&&Array.isArray(e.internalModelValue)?!!e.internalModelValue[0]:!1,D=()=>e.modelAuto?Kh(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?_7(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)&&D()&&!(!b.current&&e.hideOffsetDates)&&!C(b)?T(b):!1,O=b=>{const{isRangeStart:w,isRangeEnd:B}=ee(b),z=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)&&!z&&!M(b)&&!(G(b)&&e.weekPicker)&&!B,dp__cell_highlight_active:!$(b)&&(j(b)||R(b))&&I(b),dp__today:!e.noToday&&Me(b.value,u.value)&&b.current,"dp--past":st(b.value,u.value),"dp--future":ht(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:Me(w[0],b.value),dp__range_end:Me(w[1],b.value),dp__range_between_week:ht(b.value,w[0])&&st(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:Me(w[0],b.value)||Me(B[0],b.value),dp__range_end:Me(w[1],b.value)||Me(B[1],b.value),dp__range_between_week:ht(b.value,w[0])&&st(b.value,w[1])||ht(b.value,B[0])&&st(b.value,B[1]),dp__range_between:ht(b.value,w[1])&&st(b.value,B[0])}}return{...P(b)}},ee=b=>{const w=n.value.count>0?b.current&&_(b)&&D():_(b)&&D(),B=n.value.count>0?b.current&&_(b,!1)&&D():_(b,!1)&&D();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?{}:{...O(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}=Je(t),i=$=>r.value.disabledDates?typeof r.value.disabledDates=="function"?r.value.disabledDates(q($)):!!wa($,r.value.disabledDates):!1,a=$=>{const R=r.value.maxDate?ht($,r.value.maxDate):!1,G=r.value.minDate?st($,r.value.minDate):!1,O=i($),x=e.value.months.map(P=>+P).includes(Ce($)),V=t.disabledWeekDays.length?t.disabledWeekDays.some(P=>+P===c9($)):!1,Z=h($),ee=ye($),U=ee<+t.yearRange[0]||ee>+t.yearRange[1];return!(R||G||O||x||U||V||Z)},l=($,R)=>st(...Br(r.value.minDate,$,R))||Me(...Br(r.value.minDate,$,R)),c=($,R)=>ht(...Br(r.value.maxDate,$,R))||Me(...Br(r.value.maxDate,$,R)),d=($,R,G)=>{let O=!1;return r.value.maxDate&&G&&c($,R)&&(O=!0),r.value.minDate&&!G&&l($,R)&&(O=!0),O},u=($,R,G,O)=>{let x=!1;return O?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?!wa($,r.value.allowedDates):!1,f=$=>!a($),m=$=>n.value.noDisabledRange?!Th({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 O=Mh($,R[G]),x=sf(R[G],$),V=x.length===1?0:x.filter(ee=>f(ee)).length,Z=Math.abs(O)-(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]?Xc($[0]):null,$[1]?Xc($[1]):null]:Xc($),k=($,R,G)=>$.find(O=>+O.hours===On(R)&&O.minutes==="*"?!0:+O.minutes===Hn(R)&&+O.hours===On(R))&&G,v=($,R,G)=>{const[O,x]=$,[V,Z]=R;return!k(O,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(O=>k(t.disabledTimes,O,$)):$},T=($,R)=>{const G=Array.isArray(R)?[ps(R[0]),R[1]?ps(R[1]):void 0]:ps(R),O=!t.disabledTimes(G);return $&&O},S=($,R)=>t.disabledTimes?Array.isArray(t.disabledTimes)?M(R,$):T(R,$):R,D=$=>{let R=!0;if(!$||y())return!0;const G=!r.value.minDate&&!r.value.maxDate?C($):$;return(t.maxTime||r.value.maxDate)&&(R=cf(t.maxTime,r.value.maxDate,"max",xt(G),R)),(t.minTime||r.value.minDate)&&(R=cf(t.minTime,r.value.minDate,"min",xt(G),R)),S($,R)},E=$=>{if(!t.monthPicker)return!0;let R=!0;const G=q(Dn($));if(r.value.minDate&&r.value.maxDate){const O=q(Dn(r.value.minDate)),x=q(Dn(r.value.maxDate));return ht(G,O)&&st(G,x)||Me(G,O)||Me(G,x)}if(r.value.minDate){const O=q(Dn(r.value.minDate));R=ht(G,O)||Me(G,O)}if(r.value.maxDate){const O=q(Dn(r.value.maxDate));R=st(G,O)||Me(G,O)}return R},I=o.computed(()=>$=>!t.enableTimePicker||t.ignoreTimeValidation?!0:D($)),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:D,isTimeValid:I,isMonthValid:j}},xa=()=>{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}},G7=(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}},Ma={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={...Ma,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}},K7={key:1,class:"dp__input_wrap"},X7=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-label","aria-disabled","aria-invalid"],Q7={key:2,class:"dp__clear_icon"},J7=o.defineComponent({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...Ma},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}=Je(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 y7(x,i.value.format??h(),V??of({},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)},D=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&&qc(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&&qc(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")},O=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",K7,[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:D,onEnter:E,onTab:I,onClear:G,onBlur:R,onKeypress:O,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:D,onKeydown:[o.withKeys(E,["enter"]),o.withKeys(I,["tab"]),O],onBlur:R,onFocus:j,onKeypress:O,onPaste:T},null,42,X7)),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",Q7,[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(Uh),{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)])}}}),ey=["title"],ty=["disabled"],ny=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}=Je(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([bt(p),bt(_)],"actionRow"),M(),window.addEventListener("resize",M)}),o.onUnmounted(()=>{window.removeEventListener("resize",M)});const M=()=>{y.value=!1,setTimeout(()=>{var O,x;const V=(O=k.value)==null?void 0:O.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),D=()=>{const O=i.value;return r.timePicker||r.monthPicker,O(xt(r.internalModelValue))},E=()=>{const O=r.internalModelValue;return a.value.count>0?`${I(O[0])} - ${I(O[1])}`:[I(O[0]),I(O[1])]},I=O=>lf(O,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(O=>`${I(O)}`):r.modelAuto?`${I(r.internalModelValue[0])}`:`${I(r.internalModelValue[0])} -`:I(r.internalModelValue):D()),$=()=>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(O,x)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"actionRowRef",ref:v,class:"dp__action_row"},[O.$slots["action-row"]?o.renderSlot(O.$slots,"action-row",o.normalizeProps(o.mergeProps({key:0},{internalModelValue:O.internalModelValue,disabled:S.value,selectDate:()=>O.$emit("select-date"),closePicker:()=>O.$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)},[O.$slots["action-preview"]&&y.value?o.renderSlot(O.$slots,"action-preview",{key:0,value:O.internalModelValue}):o.createCommentVNode("",!0),!O.$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,ey)):o.createCommentVNode("",!0),o.createElementVNode("div",{ref_key:"actionBtnContainer",ref:k,class:"dp__action_buttons","data-dp-element":"action-row"},[O.$slots["action-buttons"]?o.renderSlot(O.$slots,"action-buttons",{key:0,value:O.internalModelValue}):o.createCommentVNode("",!0),O.$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=>O.$emit("close-picker")),onKeydown:[x[1]||(x[1]=o.withKeys(V=>O.$emit("close-picker"),["enter"])),x[2]||(x[2]=o.withKeys(V=>O.$emit("close-picker"),["space"]))]},o.toDisplayString(O.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=>O.$emit("select-now")),onKeydown:[x[4]||(x[4]=o.withKeys(V=>O.$emit("select-now"),["enter"])),x[5]||(x[5]=o.withKeys(V=>O.$emit("select-now"),["space"]))]},o.toDisplayString(O.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(O.selectText),41,ty)):o.createCommentVNode("",!0)],64))],512)],64))],512))}}),ry=["onKeydown"],sy={class:"dp__selection_grid_header"},iy=["aria-selected","aria-disabled","onClick","onKeydown","onMouseover"],oy=["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}=Je(l),{hideNavigationButtons:h}=xa(),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=bt(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),D=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=bt(m),N=bt(g),b=bt(y),w=bt(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()},O=(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(xt(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=g7(l.menuWrapRef??null,"action-row");if(U){const P=Jh(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",sy,[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,z)=>(o.openBlock(),o.createElementBlock("div",{key:B.value,ref_for:!0,ref:be=>O(be,B,w,z),role:"gridcell",class:o.normalizeClass(D.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,iy))),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,oy)),[[o.vShow,!o.unref(h)(U.hideNavigation,U.type)]]):o.createCommentVNode("",!0)],46,ry)}}}),Sa=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))}}),ay=["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,ay))}}),ly={class:"dp--year-mode-picker"},cy=["aria-label"],pf=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}=xa(),{defaultedConfig:a,defaultedMultiCalendars:l,defaultedAriaLabels:c,defaultedTransitions:d}=Je(r),{showTransition:u,transitionName:h}=Ji(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",ly,[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(Fc),{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,cy),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(Rc),{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"])])}}}),id=(t,e,n)=>{if(e.value&&Array.isArray(e.value))if(e.value.some(r=>Me(t,r))){const r=e.value.filter(s=>!Me(s,t));e.value=r.length?r:null}else(n&&+n>e.value.length||!n)&&e.value.push(t);else e.value=[t]},od=(t,e,n)=>{let r=t.value?t.value.slice():[];return r.length===2&&r[1]!==null&&(r=[]),r.length?st(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},va=(t,e,n,r)=>{t&&(t[0]&&t[1]&&n&&e("auto-apply"),t[0]&&!t[1]&&r&&n&&e("auto-apply"))},gf=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))},_f=(t,e,n,r)=>Array.isArray(e.value)&&(e.value.length===2||e.value.length===1&&r.value.partialRange)?r.value.fixedStart&&(ht(t,e.value[0])||Me(t,e.value[0]))?[e.value[0],t]:r.value.fixedEnd&&(st(t,e.value[1])||Me(t,e.value[1]))?[t,e.value[1]]:(n("invalid-fixed-range",t),e.value):[],yf=({multiCalendars:t,highlight:e,propDates:n,calendars:r,modelValue:s,props:i,filters:a,year:l,month:c,emit:d})=>{const u=o.computed(()=>Yc(i.yearRange,i.locale,i.reverseYears)),h=o.ref([!1]),f=o.computed(()=>(T,S)=>{const D=We(Dn(new Date),{month:c.value(T),year:l.value(T)});return af(D,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(vc(S,1))}}},g=T=>{if(!T)return m();const S=We(q(),r.value[T]);return r.value[0].year=ye(Zh(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 D;const E=l.value(T)===S.value,I=Xi(S.value,ii(n.value.minDate),ii(n.value.maxDate))||((D=a.value.years)==null?void 0:D.includes(l.value(T))),j=Qc(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 D=S?l.value(T)+1:l.value(T)-1;y(D,T)}},M=(T,S=!1,D)=>{S||d("reset-flow"),D!==void 0?h.value[T]=D: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}},dy=(t,e)=>{const{defaultedMultiCalendars:n,defaultedAriaLabels:r,defaultedTransitions:s,defaultedConfig:i,defaultedRange:a,defaultedHighlight:l,propDates:c,defaultedTz:d,defaultedFilters:u,defaultedMultiDates:h}=Je(t),{modelValue:f,year:m,month:g,calendars:p}=eo(t,e),_=o.computed(()=>Gh(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:D,isDisabled:E}=yf({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],z=j();return Array.isArray(z)?z.some(be=>be.year===(B==null?void 0:B.year)&&be.month===w):(B==null?void 0:B.year)===z.year&&w===z.month},R=(b,w,B)=>{var z,be;const Ie=j();return Array.isArray(Ie)?m.value(w)===((z=Ie[B])==null?void 0:z.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 z=R(b,w,0)||R(b,w,1),be=lr(Dn(q()),b,m.value(w));return ba(f.value,y.value,be)&&!z}return!1}return!1},O=o.computed(()=>b=>si(_.value,w=>{var B;const z=$(b,w.value),be=Xi(w.value,nf(m.value(b),c.value.minDate),rf(m.value(b),c.value.maxDate))||M7(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=df(l.value,w.value,m.value(b));return{active:z,disabled:be,isBetween:Ie,highlighted:A}})),x=(b,w)=>lr(Dn(q()),b,m.value(w)),V=(b,w)=>{const B=f.value?f.value:Dn(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=_f(B,f,e,a):f.value?C(B,f.value)&&(f.value=od(f,x(b,w),e)):f.value=[x(b,w)],va(f.value,e,t.autoApply,t.modelAuto)},ee=(b,w)=>{id(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 z=B;if(!z&&z!==0){const be=j();z=Array.isArray(be)?be[b].month:be.month}e("update-month-year",{instance:b,year:w,month:z})};return{groupedMonths:O,groupedYears:v,year:m,isDisabled:E,defaultedMultiCalendars:n,defaultedAriaLabels:r,defaultedTransitions:s,defaultedConfig:i,showYearPicker:M,modelValue:f,presetDate:(b,w)=>{gf({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:D,getModelMonthYear:j}},uy=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=qt(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}=dy(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,D)=>(o.openBlock(),o.createBlock(Sa,{"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(pf,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"]))}}),hy=(t,e)=>{const{modelValue:n}=eo(t,e),r=o.ref(null),{defaultedHighlight:s,defaultedMultiDates:i,defaultedFilters:a,defaultedRange:l,propDates:c}=Je(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)?ba(n.value,r.value,m(g)):!1,f=o.computed(()=>si(Yc(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=Qc(s.value,g.value);return{active:p,disabled:_,isBetween:y,highlighted:C}})),m=g=>jn(Dn(new Date),g);return{groupedYears:f,modelValue:n,focusYear:d,setHoverValue:g=>{r.value=jn(Dn(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(Ut(q()),g))):n.value=[jn(Ut(q()),g)],e("auto-apply",!0);if(l.value.enabled)return n.value=od(n,m(g),e),va(n.value,e,t.autoApply,t.modelAuto);n.value=m(g),e("auto-apply")}}},fy=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}=hy(s,r),{defaultedConfig:u}=Je(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"]))]))}}),my={key:0,class:"dp__time_input"},py=["aria-label","onKeydown","onClick"],gy=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),_y=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),yy=["aria-label","disabled","onKeydown","onClick"],wy=["aria-label","onKeydown","onClick"],by=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),ky=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),Cy={key:0},xy=["aria-label","onKeydown"],My=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}=Je(s),{transitionName:f,showTransition:m}=Ji(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=>O(A,s[A])||M(A,s[A])),v=o.computed(()=>({hours:s.hours,minutes:s.minutes,seconds:s.seconds})),M=(A,H)=>h.value.enabled&&!h.value.disableTimeRangeValidation?!s.validateTime(A,H):!1,T=(A,H)=>{if(h.value.enabled&&!h.value.disableTimeRangeValidation){const ue=H?+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)),D=o.computed(()=>A=>!ee(+s[A]-+s[`${A}Increment`],A)||T(A,!1)),E=(A,H)=>wh(We(q(),A),H),I=(A,H)=>l7(We(q(),A),H),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 H=w(+s.hours);return{text:H<10?`0${H}`:`${H}`,value:H}}return{text:s[A]<10?`0${s[A]}`:`${s[A]}`,value:s[A]}}),O=(A,H)=>{var ue;if(!s.disabledTimesConfig)return!1;const L=s.disabledTimesConfig(s.order,A==="hours"?H:void 0);return L[A]?!!((ue=L[A])!=null&&ue.includes(H)):!0},x=A=>{const H=s.is24?24:12,ue=A==="hours"?H: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)||O(A,ge.value)||M(A,ge.value)}))},V=A=>A>=0?A:59,Z=A=>A>=0?A:23,ee=(A,H)=>{const ue=s.minTime?C(Uc(s.minTime)):null,L=s.maxTime?C(Uc(s.maxTime)):null,K=C(Uc(v.value,H,H==="minutes"||H==="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"?On:A==="minutes"?Hn:ei,b=(A,H=!0)=>{const ue=H?E:I,L=H?+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",u7(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)},z=A=>{g[A]=!0},be=(A,H,ue)=>{if(A&&s.arrowNavigation){Array.isArray(y.value[H])?y.value[H][ue]=A:y.value[H]=[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,H)=>(P(A),A==="hours"&&!s.is24?r(`update:${A}`,p.value==="PM"?H+12:H):r(`update:${A}`,H));return e({openChildCmp:z}),(A,H)=>{var ue;return A.disabled?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",my,[(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},[gy,_y],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(zc),{key:1}))],64))],42,py),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,yy),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:D.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},[by,ky],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(Hc),{key:1}))],64))],42,wy)],64))],2)}),128)),A.is24?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",Cy,[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,xy))])),(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:H[0]||(H[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(Ic)),{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))]))}}}),Sy={class:"dp--tp-wrap"},vy=["aria-label","tabindex"],Ty=["tabindex"],Oy=["aria-label"],wf=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}=Je(s),{transitionName:m,showTransition:g}=Ji(c),{hideNavigationButtons:p}=xa(),_=o.ref(null),y=o.ref(null),C=o.ref([]),k=o.ref(null);o.onMounted(()=>{r("mount"),!s.timePicker&&s.arrowNavigation?i([bt(_.value)],"time"):a(!0,s.timePicker)});const v=o.computed(()=>f.value.enabled&&s.modelAuto?Kh(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}),D=(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=qt(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)},O=()=>{if(k.value&&!u.value.enabled&&!s.noOverlayFocus){const x=Jh(k.value);x&&x.focus({preventScroll:!0})}};return e({toggleTimePicker:D}),(x,V)=>{var Z;return o.openBlock(),o.createElementBlock("div",Sy,[!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=>D(!0),["enter"])),V[1]||(V[1]=o.withKeys(ee=>D(!0),["space"]))],onClick:V[2]||(V[2]=ee=>D(!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(Ic),{key:1}))],42,vy)),[[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(My,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:O,onOverlayClosed:O,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=>D(!1),["enter"])),V[5]||(V[5]=o.withKeys(U=>D(!1),["space"]))],onClick:V[6]||(V[6]=U=>D(!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,Oy)),[[o.vShow,!o.unref(p)(x.hideNavigation,"time")]]):o.createCommentVNode("",!0)],2)],14,Ty)):o.createCommentVNode("",!0)]}),_:3},8,["name","css"])])}}}),bf=(t,e,n,r)=>{const{defaultedRange:s}=Je(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()):Ac(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=D=>n.value?Nr(n.value[D],M.hours[D],M.minutes[D],M.seconds[D]):null,S=D=>Bc(n.value[D],0);return!(Me(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),D=T.filter(E=>+E.hours===S);return((M=D[0])==null?void 0:M.minutes)==="*"?{hours:[S],minutes:void 0,seconds:void 0}:{hours:[],minutes:(D==null?void 0:D.map(E=>+E.minutes))??[],seconds:(D==null?void 0:D.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}},Dy=(t,e)=>{const{modelValue:n,time:r}=eo(t,e),{defaultedStartTime:s,defaultedRange:i}=Je(t),{updateTimeValues:a,getSetDateTime:l,setTime:c,assignStartTime:d,disabledTimesConfig:u,validateTime:h}=bf(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}},Ey=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=qt(i,"timePicker"),{time:l,modelValue:c,disabledTimesConfig:d,updateTime:u,validateTime:h}=Dy(s,r);return e({getSidebarProps:()=>({modelValue:c,time:l,updateTime:u})}),(f,m)=>(o.openBlock(),o.createBlock(Sa,{"multi-calendars":0,stretch:""},{default:o.withCtx(()=>[o.createVNode(wf,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}))}}),$y={class:"dp__month_year_row"},Py=["aria-label","onClick","onKeydown"],Ly=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}=Je(s),{transitionName:f,showTransition:m}=Ji(i),{buildMatrix:g}=Ar(),{handleMonthYearChange:p,isDisabled:_,updateMonthYear:y}=W7(s,r),{showLeftIcon:C,showRightIcon:k}=xa(),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?O(!0):x(!0)}}),D=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?O: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,nf(s.year,h.value.minDate),rf(s.year,h.value.maxDate))||c.value.months.includes(P.value),w=df(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=Qc(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")},O=(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]=bt(P),g(T.value,"monthYear"))},ee=o.computed(()=>{var P,N;return[{type:En.month,index:1,toggle:O,modelValue:D.value,updateModelValue:b=>D.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:ef(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:O,toggleYearPicker:x,handleMonthYearChange:p}),(P,N)=>{var b,w,B;return o.openBlock(),o.createElementBlock("div",$y,[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]=z=>o.unref(p)(!1,!0)),onSetRef:N[1]||(N[1]=z=>Z(z,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(Fc),{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,(z,be)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:z.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":z.ariaLabel,onClick:z.toggle,onKeydown:[o.withKeys(o.withModifiers(z.toggle,["prevent"]),["enter"]),o.withKeys(o.withModifiers(z.toggle,["prevent"]),["space"])]},[P.$slots[z.type]?o.renderSlot(P.$slots,z.type,{key:0,text:z.text,value:s[z.type]}):o.createCommentVNode("",!0),P.$slots[z.type]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(z.text),1)],64))],40,Py),o.createVNode(o.Transition,{name:o.unref(f)(z.showSelectionGrid),css:o.unref(m)},{default:o.withCtx(()=>[z.showSelectionGrid?(o.openBlock(),o.createBlock(to,{key:0,items:z.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:z.type,"header-refs":[],"esc-close":P.escClose,"menu-wrap-ref":P.menuWrapRef,"text-input":P.textInput,"aria-labels":P.ariaLabels,onSelected:z.updateModelValue,onToggle:z.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[`${z.type}-overlay-value`]?{name:"item",fn:o.withCtx(({item:Ie})=>[o.renderSlot(P.$slots,`${z.type}-overlay-value`,{text:Ie.text,value:Ie.value})]),key:"0"}:void 0,P.$slots[`${z.type}-overlay`]?{name:"overlay",fn:o.withCtx(()=>[o.renderSlot(P.$slots,`${z.type}-overlay`,o.normalizeProps(o.guardReactiveProps(I.value(z.type))))]),key:"1"}:void 0,P.$slots[`${z.type}-overlay-header`]?{name:"header",fn:o.withCtx(()=>[o.renderSlot(P.$slots,`${z.type}-overlay-header`,{toggle:z.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]=z=>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(zc),{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]=z=>o.unref(p)(!0,!0)),onSetRef:N[4]||(N[4]=z=>Z(z,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(Hc):o.unref(Rc)),{key:1}))]),_:3},8,["disabled","aria-label"])):o.createCommentVNode("",!0)],64))])}}}),Vy=["aria-label"],Ny={class:"dp__calendar_header",role:"row"},By={key:0,class:"dp__calendar_header_item",role:"gridcell"},Ay=["aria-label"],Fy=o.createElementVNode("div",{class:"dp__calendar_header_separator"},null,-1),Ry=["aria-label"],Iy={key:0,role:"gridcell",class:"dp__calendar_item dp__week_num"},zy={class:"dp__cell_inner"},Hy=["id","aria-selected","aria-disabled","aria-label","onClick","onKeydown","onMouseenter","onMouseleave","onMousedown"],Yy=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}=Je(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):d7(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 D=H=>H?s.vertical?"vNext":"next":s.vertical?"vPrevious":"previous",E=(H,ue)=>{if(s.transitions){const L=Ut(lr(q(),s.month,s.year));y.value=ht(Ut(lr(q(),H,ue)),L)?a.value[D(!0)]:a.value[D(!1)],_.value=!1,o.nextTick(()=>{_.value=!0})}},I=o.computed(()=>({[s.calendarClassName]:!!s.calendarClassName})),j=o.computed(()=>H=>{const ue=h7(H);return{dp__marker_dot:ue.type==="dot",dp__marker_line:ue.type==="line"}}),$=o.computed(()=>H=>Me(H,f.value)),R=o.computed(()=>({dp__calendar:!0,dp__calendar_next:d.value.count>0&&s.instance!==0})),G=o.computed(()=>H=>s.hideOffsetDates?H.current:!0),O=H=>zn(H,"yyyy-MM-dd"),x=async(H,ue,L)=>{const K=bt(g.value[ue][L]);if(K){const{width:de,height:ge}=K.getBoundingClientRect();f.value=H.value;let ae={left:`${de/2}px`},te=-50;if(await o.nextTick(),k.value[0]){const{left:At,width:Tt}=k.value[0].getBoundingClientRect();At<0&&(ae={left:"0"},te=0,v.value.left=`${de/2}px`),window.innerWidth<At+Tt&&(ae={right:"0"},te=0,v.value.left=`${Tt-de/2}px`)}m.value={bottom:`${ge}px`,...ae,transform:`translateX(${te}%)`},r("tooltip-open",H.marker)}},V=async(H,ue,L)=>{var K,de;if(M.value&&h.value.enabled&&h.value.dragSelect)return r("select-date",H);r("set-hover-date",H),(de=(K=H.marker)==null?void 0:K.tooltip)!=null&&de.length&&await x(H,ue,L)},Z=H=>{f.value&&(f.value=null,m.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),r("tooltip-close",H.marker))},ee=H=>{C.value.startX=H.changedTouches[0].screenX,C.value.startY=H.changedTouches[0].screenY},U=H=>{C.value.endX=H.changedTouches[0].screenX,C.value.endY=H.changedTouches[0].screenY,N()},P=H=>{s.vertical&&!s.inline&&H.preventDefault()},N=()=>{const H=s.vertical?"Y":"X";Math.abs(C.value[`start${H}`]-C.value[`end${H}`])>10&&r("handle-swipe",C.value[`start${H}`]>C.value[`end${H}`]?"right":"left")},b=(H,ue,L)=>{H&&(Array.isArray(g.value[ue])?g.value[ue][L]=H:g.value[ue]=[H]),s.arrowNavigation&&i(g.value,"calendar")},w=H=>{s.monthChangeOnScroll&&(H.preventDefault(),r("handle-scroll",H))},B=H=>u.value.type==="local"?Ec(H.value,{weekStartsOn:+s.weekStart}):u.value.type==="iso"?Oc(H.value):typeof u.value.type=="function"?u.value.type(H.value):"",z=H=>{const ue=H[0];return u.value.hideOnOffsetDates?H.some(L=>L.current)?B(ue):"":B(ue)},be=(H,ue)=>{h.value.enabled||(Vr(H,l.value),r("select-date",ue))},Ie=H=>{Vr(H,l.value)},A=H=>{h.value.enabled&&h.value.dragSelect?(M.value=!0,r("select-date",H)):h.value.enabled&&r("select-date",H)};return e({triggerTransition:E}),(H,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",Ny,[H.weekNumbers?(o.openBlock(),o.createElementBlock("div",By,o.toDisplayString(H.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)},[H.$slots["calendar-header"]?o.renderSlot(H.$slots,"calendar-header",{key:0,day:K,index:de}):o.createCommentVNode("",!0),H.$slots["calendar-header"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(K),1)],64))],8,Ay)}),128))]),Fy,o.createVNode(o.Transition,{name:y.value,css:!!H.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"},[H.weekNumbers?(o.openBlock(),o.createElementBlock("div",Iy,[o.createElementVNode("div",zy,o.toDisplayString(z(de.days)),1)])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(de.days,(ae,te)=>{var At,Tt,$r;return o.openBlock(),o.createElementBlock("div",{id:O(ae.value),ref_for:!0,ref:Ct=>b(Ct,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":(Tt=(At=o.unref(c))==null?void 0:At.day)==null?void 0:Tt.call(At,ae),tabindex:"0",onClick:o.withModifiers(Ct=>be(Ct,ae),["prevent"]),onKeydown:[o.withKeys(Ct=>H.$emit("select-date",ae),["enter"]),o.withKeys(Ct=>H.$emit("handle-space",ae),["space"])],onMouseenter:Ct=>V(ae,ge,te),onMouseleave:Ct=>Z(ae),onMousedown:Ct=>A(ae),onMouseup:ue[0]||(ue[0]=Ct=>M.value=!1)},[o.createElementVNode("div",{class:o.normalizeClass(["dp__cell_inner",ae.classData])},[H.$slots.day&&G.value(ae)?o.renderSlot(H.$slots,"day",{key:0,day:+ae.text,date:ae.value}):o.createCommentVNode("",!0),H.$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},[H.$slots.marker?o.renderSlot(H.$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,(Ct,Ks)=>(o.openBlock(),o.createElementBlock("div",{key:Ks,class:"dp__tooltip_text"},[H.$slots["marker-tooltip"]?o.renderSlot(H.$slots,"marker-tooltip",{key:0,tooltip:Ct,day:ae.value}):o.createCommentVNode("",!0),H.$slots["marker-tooltip"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("div",{class:"dp__tooltip_mark",style:o.normalizeStyle(Ct.color?{backgroundColor:Ct.color}:{})},null,4),o.createElementVNode("div",null,o.toDisplayString(Ct.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,Hy)}),128))]))),128))],40,Ry)):o.createCommentVNode("",!0)]}),_:3},8,["name","css"])],10,Vy)],2)}}}),kf=t=>Array.isArray(t),Wy=(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}=Je(t),{validateMonthYearInRange:p,isDisabled:_,isDateRangeAllowed:y,checkMinMaxRange:C}=Rr(t),{updateTimeValues:k,getSetDateTime:v,setTime:M,assignStartTime:T,validateTime:S,disabledTimesConfig:D}=bf(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,J,ce)=>{var we,X;l.value[F]||(l.value[F]={month:0,year:0}),l.value[F].month=Qh(J)?(we=l.value[F])==null?void 0:we.month:J,l.value[F].year=Qh(ce)?(X=l.value[F])==null?void 0:X.year:ce},$=()=>{t.autoApply&&e("select-date")};o.watch(a,(F,J)=>{JSON.stringify(F)!==JSON.stringify(J)&&O()},{deep:!0}),o.onMounted(()=>{t.shadow||(a.value||(z(),u.value&&T(u.value)),O(!0),t.focusStartDate&&t.startDate&&z())});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")},O=(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,J=!1)=>{if((!d.value.count||!d.value.static||J)&&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=wh(we,{months:1});l.value[ce]={month:Ce(X),year:ye(X)}}},Z=(F,J)=>{V(F),M("hours",On(F)),M("minutes",Hn(F)),M("seconds",ei(F)),d.value.count&&J&&B()},ee=F=>{if(d.value.count){if(d.value.solo)return 0;const J=Ce(F[0]),ce=Ce(F[1]);return Math.abs(ce-J)<d.value.count?0:1}return 1},U=(F,J)=>{F[1]&&h.value.showLastInRange?V(F[ee(F)],J):V(F[0],J);const ce=(we,X)=>[we(F[0]),F[1]?we(F[1]):c[X][1]];M("hours",ce(On,"hours")),M("minutes",ce(Hn,"minutes")),M("seconds",ce(ei,"seconds"))},P=(F,J)=>{if((h.value.enabled||t.weekPicker)&&!g.value.enabled)return U(F,J);if(g.value.enabled&&J){const ce=F[F.length-1];return Z(ce,J)}},N=F=>{const J=a.value;P(J,F),d.value.count&&d.value.solo&&B()},b=(F,J)=>{const ce=We(q(),{month:E.value(J),year:I.value(J)}),we=F<0?Tn(ce,1):ni(ce,1);p(Ce(we),ye(we),F<0,t.preventMinMaxNavigation)&&(j(J,Ce(we),ye(we)),e("update-month-year",{instance:J,month:Ce(we),year:ye(we)}),d.value.count&&!d.value.solo&&w(J),n())},w=F=>{for(let J=F-1;J>=0;J--){const ce=ni(We(q(),{month:E.value(J+1),year:I.value(J+1)}),1);j(J,Ce(ce),ye(ce))}for(let J=F+1;J<=d.value.count-1;J++){const ce=Tn(We(q(),{month:E.value(J-1),year:I.value(J-1)}),1);j(J,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))),[J,ce]=[Ce(a.value[0]),ye(a.value[0])],[we,X]=[Ce(a.value[1]),ye(a.value[1])];(J!==we||J===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()))},z=()=>{t.startDate&&(j(0,Ce(q(t.startDate)),ye(q(t.startDate))),d.value.count&&w(0))},be=(F,J)=>{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,J))}},Ie=(F,J,ce=!1)=>{t.monthChangeOnArrows&&t.vertical===ce&&A(F,J)},A=(F,J)=>{b(F==="right"?-1:1,J)},H=F=>{if(m.value.markers)return wa(F.value,m.value.markers)},ue=(F,J)=>{switch(t.sixWeeks===!0?"append":t.sixWeeks){case"prepend":return[!0,!1];case"center":return[F==0,!0];case"fair":return[F==0||J>F,!0];case"append":return[!1,!1];default:return[!1,!1]}},L=(F,J,ce,we)=>{if(t.sixWeeks&&F.length<6){const X=6-F.length,he=(J.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],ph=K(vn(ds.value,-7),Ce(J));F.unshift({days:ph})}else{const ds=F[F.length-1],ph=ds.days[ds.days.length-1],Nz=K(vn(ph.value,1),Ce(J));F.push({days:Nz})}}return F},K=(F,J)=>{const ce=q(F),we=[];for(let X=0;X<7;X++){const he=vn(ce,X),fe=Ce(he)!==J;we.push({text:t.hideOffsetDates&&fe?"":he.getDate(),value:he,current:!fe,classData:{}})}return we},de=(F,J)=>{const ce=[],we=new Date(J,F),X=new Date(J,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=>Me(Ut(ds.value),Ut(X)))){const ds=vn(or,7);Pr(ds)}};return Pr(fe),L(ce,we,X,he)},ge=F=>{const J=Nr(q(F.value),c.hours,c.minutes,Ks());e("date-update",J),g.value.enabled?id(J,a,g.value.limit):a.value=J,r(),o.nextTick().then(()=>{G()})},ae=F=>h.value.noDisabledRange?sf(s.value[0],F).some(J=>_(J)):!1,te=()=>{s.value=a.value?a.value.slice():[],s.value.length===2&&!(h.value.fixedStart||h.value.fixedEnd)&&(s.value=[])},At=(F,J)=>{const ce=[q(F.value),vn(q(F.value),+h.value.autoRange)];y(ce)?(J&&Tt(F.value),s.value=ce):e("invalid-date",F.value)},Tt=F=>{const J=Ce(q(F)),ce=ye(q(F));if(j(0,J,ce),d.value.count>0)for(let we=1;we<d.value.count;we++){const X=b7(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=_f(q(F.value),a,e,h)},Ct=(F,J)=>{if(te(),h.value.autoRange)return At(F,J);if(h.value.fixedStart||h.value.fixedEnd)return $r(F);s.value[0]?C(q(F.value),a.value)&&!ae(F.value)?st(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,ma=F=>{s.value[F]=Nr(s.value[F],c.hours[F],c.minutes[F],Ks(F!==1))},pa=()=>{var F,J;s.value[0]&&s.value[1]&&+((F=s.value)==null?void 0:F[0])>+((J=s.value)==null?void 0:J[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]?ma(0):(ma(0),ma(1),r()),pa(),a.value=s.value.slice(),va(s.value,e,t.autoApply,t.modelAuto))},dh=(F,J=!1)=>{if(_(F.value)||!F.current&&t.hideOffsetDates)return e("invalid-date",F.value);if(!h.value.enabled)return ge(F);kf(c.hours)&&kf(c.minutes)&&!g.value.enabled&&(Ct(F,J),Sn())},uh=(F,J)=>{var ce;j(F,J.month,J.year),d.value.count&&!d.value.solo&&w(F),e("update-month-year",{instance:F,month:J.month,year:J.year}),n(d.value.solo?F:void 0);const we=(ce=t.flow)!=null&&ce.length?t.flow[t.flowStep]:void 0;!J.fromNav&&(we===Zn.month||we===Zn.year)&&r()},xc=(F,J)=>{gf({value:F,modelValue:a,range:h.value.enabled,timezone:J?void 0:f.value.timezone}),$(),t.multiCalendars&&o.nextTick().then(()=>O(!0))},hh=()=>{h.value.enabled?a.value&&Array.isArray(a.value)&&a.value[0]?a.value=st(q(),a.value[0])?[q(),a.value[0]]:[a.value[0],q()]:a.value=[q()]:a.value=q(),$()},fh=()=>{if(Array.isArray(a.value))if(g.value.enabled){const F=mh();a.value[a.value.length-1]=v(F)}else a.value=a.value.map((F,J)=>F&&v(F,J));else a.value=v(a.value);e("time-update")},mh=()=>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:D,validateTime:S,getCalendarDays:de,getMarker:H,handleScroll:be,handleSwipe:A,handleArrow:Ie,selectDate:dh,updateMonthYear:uh,presetDate:xc,selectCurrentDate:hh,updateTime:(F,J=!0,ce=!1)=>{k(F,J,ce,fh)}}},jy={key:0},Zy=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}=Wy(s,r,ee,U),T=o.useSlots(),{setHoverDate:S,getDayClassData:D,clearHoverDate:E}=q7(c,s),{defaultedMultiCalendars:I}=Je(s),j=o.ref([]),$=o.ref([]),R=o.ref(null),G=qt(T,"calendar"),O=qt(T,"monthYear"),x=qt(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=D(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(Sa,{"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(Ly,o.mergeProps({key:0,ref:z=>{z&&(j.value[B]=z)},months:o.unref(Gh)(N.formatLocale,N.locale,N.monthNameFormat),years:o.unref(Yc)(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]=z=>V(o.unref(_s).header)),onResetFlow:b[1]||(b[1]=z=>N.$emit("reset-flow")),onUpdateMonthYear:z=>o.unref(C)(w,z),onOverlayClosed:b[2]||(b[2]=z=>N.$emit("focus-menu"))}),o.createSlots({_:2},[o.renderList(o.unref(O),(z,be)=>({name:z,fn:o.withCtx(Ie=>[o.renderSlot(N.$slots,z,o.normalizeProps(o.guardReactiveProps(Ie)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),o.createVNode(Yy,o.mergeProps({ref:z=>{z&&($.value[B]=z)},"mapped-dates":Z.value(w),month:o.unref(a)(w),year:o.unref(l)(w),instance:w},N.$props,{onSelectDate:z=>o.unref(y)(z,w!==1),onHandleSpace:z=>P(z,w!==1),onSetHoverDate:b[3]||(b[3]=z=>o.unref(S)(z)),onHandleScroll:z=>o.unref(p)(z,w),onHandleSwipe:z=>o.unref(_)(z,w),onMount:b[4]||(b[4]=z=>V(o.unref(_s).calendar)),onResetFlow:b[5]||(b[5]=z=>N.$emit("reset-flow")),onTooltipOpen:b[6]||(b[6]=z=>N.$emit("tooltip-open",z)),onTooltipClose:b[7]||(b[7]=z=>N.$emit("tooltip-close",z))}),o.createSlots({_:2},[o.renderList(o.unref(G),(z,be)=>({name:z,fn:o.withCtx(Ie=>[o.renderSlot(N.$slots,z,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",jy,[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(wf,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(z=>[o.renderSlot(N.$slots,w,o.normalizeProps(o.guardReactiveProps(z)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):o.createCommentVNode("",!0)],64))}}),Uy=(t,e)=>{const n=o.ref(),{defaultedMultiCalendars:r,defaultedConfig:s,defaultedHighlight:i,defaultedRange:a,propDates:l,defaultedFilters:c,defaultedMultiDates:d}=Je(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}=yf({modelValue:u,multiCalendars:r,highlight:i,calendars:m,propDates:l,month:f,year:h,filters:c,props:t,emit:e}),T=(O,x)=>[O,x].map(V=>zn(V,"MMMM",{locale:t.formatLocale})).join("-"),S=o.computed(()=>O=>u.value?Array.isArray(u.value)?u.value.some(x=>Hh(O,x)):Hh(u.value,O):!1),D=O=>{if(a.value.enabled){if(Array.isArray(u.value)){const x=Me(O,u.value[0])||Me(O,u.value[1]);return ba(u.value,n.value,O)&&!x}return!1}return!1},E=(O,x)=>O.quarter===vh(x)&&O.year===ye(x),I=O=>typeof i.value=="function"?i.value({quarter:vh(O),year:ye(O)}):!!i.value.quarters.find(x=>E(x,O)),j=o.computed(()=>O=>{const x=We(new Date,{year:h.value(O)});return _4({start:Oh(x),end:y4(x)}).map(V=>{const Z=fs(V),ee=Dh(V),U=g(V),P=D(Z),N=I(Z);return{text:T(Z,ee),value:Z,active:S.value(Z),highlighted:N,disabled:U,isBetween:P}})}),$=O=>{id(O,u,d.value.limit),e("auto-apply",!0)},R=O=>{u.value=od(u,O,e),va(u.value,e,t.autoApply,t.modelAuto)},G=O=>{u.value=O,e("auto-apply")};return{defaultedConfig:s,defaultedMultiCalendars:r,groupedYears:_,year:h,isDisabled:C,quarters:j,showYearPicker:y,modelValue:u,setHoverDate:O=>{n.value=O},selectYear:p,selectQuarter:(O,x,V)=>{if(!V)return m.value[x].month=Ce(Dh(O)),d.value.enabled?$(O):a.value.enabled?R(O):G(O)},toggleYearPicker:k,handleYearSelect:v,handleYear:M}},qy={class:"dp--quarter-items"},Gy=["disabled","onClick","onMouseover"],Ky=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=qt(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}=Uy(s,r);return e({getSidebarProps:()=>({modelValue:m,year:u,selectQuarter:_,handleYearSelect:C,handleYear:k})}),(v,M)=>(o.openBlock(),o.createBlock(Sa,{"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(pf,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,D)=>({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",qy,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(f)(T),(S,D)=>(o.openBlock(),o.createElementBlock("div",{key:D},[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,Gy)]))),128))])],4)]),_:3},8,["multi-calendars","collapse"]))}}),Xy=["id","aria-label"],Qy={key:0,class:"dp--menu-load-container"},Jy=o.createElementVNode("span",{class:"dp--menu-loader"},null,-1),e8=[Jy],t8={key:0,class:"dp__sidebar_left"},n8=["onClick","onKeydown"],r8={key:2,class:"dp__sidebar_right"},s8={key:3,class:"dp__action_extra"},Cf=o.defineComponent({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...Ma,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:D.value,collapse:s.collapse,noOverlayFocus:s.noOverlayFocus,menuWrapRef:i.value}}),{setMenuFocused:l,setShiftKey:c,control:d}=uf(),u=o.useSlots(),{defaultedTextInput:h,defaultedInline:f,defaultedConfig:m}=Je(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=bt(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=bt(_);L&&(p.value=L.getBoundingClientRect().width)},{arrowRight:v,arrowLeft:M,arrowDown:T,arrowUp:S}=Ar(),{flowStep:D,updateFlowStep:E,childMount:I,resetFlow:j}=G7(s,r,C),$=o.computed(()=>s.monthPicker?uy:s.yearPicker?fy:s.timePicker?Ey:s.quarterPicker?Ky:Zy),R=()=>{const L=bt(i);L&&L.focus({preventScroll:!0})},G=o.computed(()=>{var L;return((L=C.value)==null?void 0:L.getSidebarProps())||{}}),O=()=>{s.openOnTop&&r("recalculate-position")},x=qt(u,"action"),V=o.computed(()=>s.monthPicker||s.yearPicker?qt(u,"monthYear"):s.timePicker?qt(u,"timePicker"):qt(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")},z=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):z(K)},Ie=(L,...K)=>{var de,ge;(de=C.value)!=null&&de[L]&&((ge=C.value)==null||ge[L](...K))},A=()=>{Ie("selectCurrentDate")},H=(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",Qy,e8)):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",t8,[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,At)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:At},[te.slot?o.renderSlot(L.$slots,te.slot,{key:0,presetDate:H,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(Tt=>H(te.value,te.noTz),["prevent"]),onKeydown:[o.withKeys(o.withModifiers(Tt=>H(te.value,te.noTz),["prevent"]),["enter"]),o.withKeys(o.withModifiers(Tt=>H(te.value,te.noTz),["prevent"]),["space"])]},o.toDisplayString(te.label),47,n8))],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(D),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:O,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,At)=>({name:te,fn:o.withCtx(Tt=>[o.renderSlot(L.$slots,te,o.normalizeProps(o.guardReactiveProps({...Tt})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),L.$slots["right-sidebar"]?(o.openBlock(),o.createElementBlock("div",r8,[o.renderSlot(L.$slots,"right-sidebar",o.normalizeProps(o.guardReactiveProps(G.value)))])):o.createCommentVNode("",!0),L.$slots["action-extra"]?(o.openBlock(),o.createElementBlock("div",s8,[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(ny,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,At)=>({name:te,fn:o.withCtx(Tt=>[o.renderSlot(L.$slots,te,o.normalizeProps(o.guardReactiveProps({...Tt})))])}))]),1040,["menu-mount","calendar-width"])):o.createCommentVNode("",!0)],42,Xy)}}}),i8=typeof window<"u"?window:void 0,ad=()=>{},o8=t=>o.getCurrentScope()?(o.onScopeDispose(t),!0):!1,a8=(t,e,n,r)=>{if(!t)return ad;let s=ad;const i=o.watch(()=>o.unref(t),l=>{s(),l&&(l.addEventListener(e,n,r),s=()=>{l.removeEventListener(e,n,r),s=ad})},{immediate:!0,flush:"post"}),a=()=>{i(),s()};return o8(a),a},l8=(t,e,n,r={})=>{const{window:s=i8,event:i="pointerdown"}=r;return s?a8(s,i,a=>{const l=bt(t),c=bt(e);!l||!c||l===a.target||a.composedPath().includes(l)||a.composedPath().includes(c)||n(a)},{passive:!0}):void 0},c8=o.defineComponent({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...Ma},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}=uf(),{clearArrowNav:k}=Ar(),{validateDate:v,isValidTime:M}=Rr(s),{defaultedTransitions:T,defaultedTextInput:S,defaultedInline:D,defaultedConfig:E,defaultedRange:I,defaultedMultiDates:j}=Je(s),{menuTransition:$,showTransition:R}=Ji(T);o.onMounted(()=>{w(s.modelValue),o.nextTick().then(()=>{if(!D.value.enabled){const X=U(m.value);X==null||X.addEventListener("scroll",K),window==null||window.addEventListener("resize",de)}}),D.value.enabled&&(a.value=!0),window==null||window.addEventListener("keyup",ge),window==null||window.addEventListener("keydown",ae)}),o.onUnmounted(()=>{if(!D.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=qt(i,"all",s.presetDates),O=qt(i,"input");o.watch([l,c],()=>{w(l.value)},{deep:!0});const{openOnTop:x,menuStyle:V,xCorrect:Z,setMenuPosition:ee,getScrollableParent:U,shadowRender:P}=j7({menuRef:d,menuRefInner:u,inputRef:h,pickerWrapperRef:m,inline:D,emit:r,props:s,slots:i}),{inputValue:N,internalModelValue:b,parseExternalModelValue:w,emitModelValue:B,formatInputValue:z,checkBeforeEmit:be}=Y7(r,s,f),Ie=o.computed(()=>({dp__main:!0,dp__theme_dark:s.dark,dp__theme_light:!s.dark,dp__flex_display:D.value.enabled,"dp--flex-display-collapsed":_.value,dp__flex_display_with_input:D.value.input})),A=o.computed(()=>s.dark?"dp__theme_dark":"dp__theme_light"),H=o.computed(()=>({to:typeof s.teleport=="boolean"?"body":s.teleport,disabled:!s.teleport||D.value.enabled})),ue=o.computed(()=>({class:"dp__outer_menu_wrap"})),L=o.computed(()=>D.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"&&!D.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(Cf,s),ee(!1),a.value=!0,a.value&&r("open"),a.value||pa(),w(s.modelValue))},At=()=>{var X;N.value="",pa(),(X=h.value)==null||X.setParsedDate(null),r("update:model-value",null),r("update:model-timezone-value",null),r("cleared"),E.value.closeOnClearValue&&Sn()},Tt=()=>{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()&&Tt()?(B(),Sn()):r("invalid-select",b.value)},Ct=X=>{Ks(),B(),E.value.closeOnAutoApply&&!X&&Sn()},Ks=()=>{h.value&&S.value.enabled&&h.value.setParsedDate(b.value)},ma=(X=!1)=>{s.autoApply&&M(b.value)&&Tt()&&(I.value.enabled&&Array.isArray(b.value)?(I.value.partialRange||b.value.length===2)&&Ct(X):Ct(X))},pa=()=>{S.value.enabled||(b.value=null)},Sn=()=>{D.value.enabled||(a.value&&(a.value=!1,Z.value=!1,y(!1),C(!1),k(),r("closed"),N.value&&w(l.value)),pa(),r("blur"))},dh=(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")))},uh=()=>{s.autoApply&&M(b.value)&&B(),Ks()},xc=()=>a.value?Sn():te(),hh=X=>{b.value=X},fh=()=>{S.value.enabled&&(f.value=!0,z()),r("focus")},mh=()=>{if(S.value.enabled&&(f.value=!1,w(s.modelValue),g.value)){const X=p7(m.value,p.value);X==null||X.focus()}r("blur")},F=X=>{u.value&&u.value.updateMonthYear(0,{month:Xh(X.month),year:Xh(X.year)})},J=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 l8(d,h,()=>we(Tt)),e({closeMenu:Sn,selectDate:$r,clearValue:At,openMenu:te,onScroll:K,formatInputValue:z,updateInternalModelValue:hh,setMonthYear:F,parseModel:J,switchView:ce,toggleMenu:xc}),(X,he)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"pickerWrapperRef",ref:m,class:o.normalizeClass(Ie.value),"data-datepicker-instance":""},[o.createVNode(J7,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:At,onOpen:te,onSetInputDate:dh,onSetEmptyDate:o.unref(B),onSelectDate:$r,onToggle:xc,onClose:Sn,onFocus:fh,onBlur:mh,onRealBlur:he[1]||(he[1]=fe=>f.value=!1)}),o.createSlots({_:2},[o.renderList(o.unref(O),(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(H.value)),{default:o.withCtx(()=>[o.createVNode(o.Transition,{name:o.unref($)(o.unref(x)),css:o.unref(R)&&!o.unref(D).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(D).enabled},style:o.unref(D).enabled?void 0:o.unref(V)}),[o.createVNode(Cf,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:ma,onTimeUpdate:uh,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))}}),ld=(()=>{const t=c8;return t.install=e=>{e.component("Vue3DatePicker",t)},t})();Object.entries(Object.freeze(Object.defineProperty({__proto__:null,default:ld},Symbol.toStringTag,{value:"Module"}))).forEach(([t,e])=>{t!=="default"&&(ld[t]=e)});const d8={class:"scope-datepicker__wrapper"},u8={key:0,class:"scope-datepicker__label"},h8={class:"scope-datepicker__container"},f8={class:"scope-datepicker__icon-wrapper"},m8={__name:"Calendar",props:o.mergeModels({invalid:Boolean,range:Boolean,width:String,multiCalendars:Boolean|Object,inline:Boolean,fullWidth:Boolean,label:String,size:{type:String,default:"md"},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",d8,[t.label?(o.openBlock(),o.createElementBlock("div",u8,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),o.createElementVNode("div",h8,[o.createVNode(o.unref(ld),{style:o.normalizeStyle({width:t.width}),class:o.normalizeClass(["scope-datepicker",`-${t.size}`,{"-invalid":t.invalid,"-full-width":t.fullWidth,"-range":t.range}]),modelValue:r.value,"onUpdate:modelValue":c[0]||(c[0]=d=>r.value=d),"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","multi-calendars","range","placeholder","inline"]),o.createElementVNode("div",f8,[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"]))])])]))}},p8=Oe(m8,[["__scopeId","data-v-48d10321"]]),g8=["onClick"],_8=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,g8))),128))],4))}},[["__scopeId","data-v-5082bcef"]]),y8=["disabled","onInput","onKeydown"],w8={key:0,class:"scope-number-input__error-message"},b8=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,y8))),128))],2),t.isInvalid&&t.errorMessage?(o.openBlock(),o.createElementBlock("div",w8,o.toDisplayString(t.errorMessage),1)):o.createCommentVNode("",!0)],512))}},[["__scopeId","data-v-6ba29b49"]]),k8={class:"scope-navigation-tab__icon-wrapper"},C8={key:0},x8=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",k8,[o.createVNode(Le,{icon:t.icon,class:"scope-navigation-tab__icon"},null,8,["icon"])]),t.isFull?(o.openBlock(),o.createElementBlock("span",C8,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 xf(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 BH=Object.defineProperty;var AH=(se,o,us)=>o in se?BH(se,o,{enumerable:!0,configurable:!0,writable:!0,value:us}):se[o]=us;var W=(se,o,us)=>(AH(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(()=>ON),"../assets/icons/apple.svg":()=>Promise.resolve().then(()=>$N),"../assets/icons/arrow-down-right.svg":()=>Promise.resolve().then(()=>VN),"../assets/icons/arrow-down.svg":()=>Promise.resolve().then(()=>AN),"../assets/icons/arrow-right.svg":()=>Promise.resolve().then(()=>IN),"../assets/icons/arrow-rotating.svg":()=>Promise.resolve().then(()=>YN),"../assets/icons/arrow-up-right.svg":()=>Promise.resolve().then(()=>ZN),"../assets/icons/arrow-up.svg":()=>Promise.resolve().then(()=>GN),"../assets/icons/binance-circle.svg":()=>Promise.resolve().then(()=>QN),"../assets/icons/binance.svg":()=>Promise.resolve().then(()=>tB),"../assets/icons/book-guide.svg":()=>Promise.resolve().then(()=>sB),"../assets/icons/bxs-down-arrow.svg":()=>Promise.resolve().then(()=>aB),"../assets/icons/bxs-up-arrow.svg":()=>Promise.resolve().then(()=>dB),"../assets/icons/bxs_up-arrow.svg":()=>Promise.resolve().then(()=>fB),"../assets/icons/calendar.svg":()=>Promise.resolve().then(()=>gB),"../assets/icons/charts.svg":()=>Promise.resolve().then(()=>wB),"../assets/icons/check-circle-fill.svg":()=>Promise.resolve().then(()=>CB),"../assets/icons/checked.svg":()=>Promise.resolve().then(()=>SB),"../assets/icons/chevron-down-small.svg":()=>Promise.resolve().then(()=>OB),"../assets/icons/chevron-large.svg":()=>Promise.resolve().then(()=>$B),"../assets/icons/chevron-left-small.svg":()=>Promise.resolve().then(()=>VB),"../assets/icons/chevron-left.svg":()=>Promise.resolve().then(()=>AB),"../assets/icons/chevron-right-small.svg":()=>Promise.resolve().then(()=>IB),"../assets/icons/chevron-right.svg":()=>Promise.resolve().then(()=>YB),"../assets/icons/chevron-top-small.svg":()=>Promise.resolve().then(()=>ZB),"../assets/icons/chevron.svg":()=>Promise.resolve().then(()=>GB),"../assets/icons/circle-close.svg":()=>Promise.resolve().then(()=>QB),"../assets/icons/circle-plus.svg":()=>Promise.resolve().then(()=>tA),"../assets/icons/clock.svg":()=>Promise.resolve().then(()=>sA),"../assets/icons/close-popup.svg":()=>Promise.resolve().then(()=>aA),"../assets/icons/close.svg":()=>Promise.resolve().then(()=>dA),"../assets/icons/coins-add.svg":()=>Promise.resolve().then(()=>fA),"../assets/icons/cookie.svg":()=>Promise.resolve().then(()=>gA),"../assets/icons/copy.svg":()=>Promise.resolve().then(()=>wA),"../assets/icons/cross.svg":()=>Promise.resolve().then(()=>CA),"../assets/icons/currency.svg":()=>Promise.resolve().then(()=>SA),"../assets/icons/custom-filters.svg":()=>Promise.resolve().then(()=>OA),"../assets/icons/danger.svg":()=>Promise.resolve().then(()=>$A),"../assets/icons/date-range-light.svg":()=>Promise.resolve().then(()=>VA),"../assets/icons/download.svg":()=>Promise.resolve().then(()=>AA),"../assets/icons/edit-small.svg":()=>Promise.resolve().then(()=>IA),"../assets/icons/edit.svg":()=>Promise.resolve().then(()=>YA),"../assets/icons/eye-slash.svg":()=>Promise.resolve().then(()=>ZA),"../assets/icons/eye.svg":()=>Promise.resolve().then(()=>GA),"../assets/icons/file-bend.svg":()=>Promise.resolve().then(()=>QA),"../assets/icons/filter.svg":()=>Promise.resolve().then(()=>tF),"../assets/icons/folder-add.svg":()=>Promise.resolve().then(()=>sF),"../assets/icons/folder-open.svg":()=>Promise.resolve().then(()=>aF),"../assets/icons/futures.svg":()=>Promise.resolve().then(()=>dF),"../assets/icons/getting-started-1.svg":()=>Promise.resolve().then(()=>fF),"../assets/icons/getting-started-2.svg":()=>Promise.resolve().then(()=>gF),"../assets/icons/getting-started.svg":()=>Promise.resolve().then(()=>wF),"../assets/icons/google-authenticator.svg":()=>Promise.resolve().then(()=>CF),"../assets/icons/google.svg":()=>Promise.resolve().then(()=>SF),"../assets/icons/hamburger.svg":()=>Promise.resolve().then(()=>OF),"../assets/icons/hide.svg":()=>Promise.resolve().then(()=>$F),"../assets/icons/home.svg":()=>Promise.resolve().then(()=>VF),"../assets/icons/info.svg":()=>Promise.resolve().then(()=>AF),"../assets/icons/layout-column.svg":()=>Promise.resolve().then(()=>IF),"../assets/icons/lock.svg":()=>Promise.resolve().then(()=>YF),"../assets/icons/logo-with-text.svg":()=>Promise.resolve().then(()=>ZF),"../assets/icons/mistake.svg":()=>Promise.resolve().then(()=>GF),"../assets/icons/modal-cross.svg":()=>Promise.resolve().then(()=>QF),"../assets/icons/move_light.svg":()=>Promise.resolve().then(()=>tR),"../assets/icons/notification_bell.svg":()=>Promise.resolve().then(()=>sR),"../assets/icons/open-date.svg":()=>Promise.resolve().then(()=>aR),"../assets/icons/pair.svg":()=>Promise.resolve().then(()=>dR),"../assets/icons/pie-chart-light.svg":()=>Promise.resolve().then(()=>fR),"../assets/icons/pie-chart.svg":()=>Promise.resolve().then(()=>gR),"../assets/icons/plus.svg":()=>Promise.resolve().then(()=>wR),"../assets/icons/pop-up_opener.svg":()=>Promise.resolve().then(()=>CR),"../assets/icons/portfolio-alt.svg":()=>Promise.resolve().then(()=>SR),"../assets/icons/portfolio-success.svg":()=>Promise.resolve().then(()=>OR),"../assets/icons/portfolio.svg":()=>Promise.resolve().then(()=>$R),"../assets/icons/position-criteria.svg":()=>Promise.resolve().then(()=>VR),"../assets/icons/position-type.svg":()=>Promise.resolve().then(()=>AR),"../assets/icons/preview.svg":()=>Promise.resolve().then(()=>IR),"../assets/icons/progress-box-checked.svg":()=>Promise.resolve().then(()=>YR),"../assets/icons/progress-box.svg":()=>Promise.resolve().then(()=>ZR),"../assets/icons/progress_0.svg":()=>Promise.resolve().then(()=>GR),"../assets/icons/progress_1.svg":()=>Promise.resolve().then(()=>QR),"../assets/icons/progress_2.svg":()=>Promise.resolve().then(()=>tI),"../assets/icons/qr.svg":()=>Promise.resolve().then(()=>sI),"../assets/icons/scope-futures-logo.svg":()=>Promise.resolve().then(()=>aI),"../assets/icons/search.svg":()=>Promise.resolve().then(()=>dI),"../assets/icons/session.svg":()=>Promise.resolve().then(()=>fI),"../assets/icons/settings-2.svg":()=>Promise.resolve().then(()=>gI),"../assets/icons/settings.svg":()=>Promise.resolve().then(()=>wI),"../assets/icons/setup.svg":()=>Promise.resolve().then(()=>CI),"../assets/icons/share.svg":()=>Promise.resolve().then(()=>SI),"../assets/icons/side.svg":()=>Promise.resolve().then(()=>OI),"../assets/icons/sort.svg":()=>Promise.resolve().then(()=>$I),"../assets/icons/spot.svg":()=>Promise.resolve().then(()=>VI),"../assets/icons/star.svg":()=>Promise.resolve().then(()=>AI),"../assets/icons/status.svg":()=>Promise.resolve().then(()=>II),"../assets/icons/success.svg":()=>Promise.resolve().then(()=>YI),"../assets/icons/switch.svg":()=>Promise.resolve().then(()=>ZI),"../assets/icons/target.svg":()=>Promise.resolve().then(()=>GI),"../assets/icons/thrash.svg":()=>Promise.resolve().then(()=>QI),"../assets/icons/three-dots-vertical.svg":()=>Promise.resolve().then(()=>tH),"../assets/icons/three-dots.svg":()=>Promise.resolve().then(()=>sH),"../assets/icons/tip.svg":()=>Promise.resolve().then(()=>aH),"../assets/icons/trading_terminal.svg":()=>Promise.resolve().then(()=>dH),"../assets/icons/trash.svg":()=>Promise.resolve().then(()=>fH),"../assets/icons/trending.svg":()=>Promise.resolve().then(()=>gH),"../assets/icons/vimeo_play_1.svg":()=>Promise.resolve().then(()=>wH),"../assets/icons/vimeo_play_2.svg":()=>Promise.resolve().then(()=>CH),"../assets/icons/warning.svg":()=>Promise.resolve().then(()=>SH),"../assets/icons/waterfall-light.svg":()=>Promise.resolve().then(()=>OH),"../assets/icons/weekday.svg":()=>Promise.resolve().then(()=>$H),"../assets/icons/x.svg":()=>Promise.resolve().then(()=>VH)}),`../assets/icons/${e.icon}.svg`));return(r,s)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(n)),{name:t.icon},null,8,["name"]))}},De=(t,e)=>{const n=t.__vccOpts||t;for(const[r,s]of e)n[r]=s;return n},_5=["disabled"],y5={key:1},ga=De({__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",y5,o.toDisplayString(t.ctaText),1)):o.createCommentVNode("",!0)],14,_5))}},[["__scopeId","data-v-ffc148b3"]]);function Mc(t){return t===0?!1:Array.isArray(t)&&t.length===0?!0:!t}function w5(t){return(...e)=>!t(...e)}function b5(t,e){return t===void 0&&(t="undefined"),t===null&&(t="null"),t===!1&&(t="false"),t.toString().toLowerCase().indexOf(e.trim())!==-1}function gh(t,e,n,r){return e?t.filter(s=>b5(r(s,n),e)).sort((s,i)=>r(s,n).length-r(i,n).length):t}function k5(t){return t.filter(e=>!e.$isLabel)}function Sc(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 C5(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=gh(a[n],t,e,s);return l.length?{[r]:a[r],[n]:l}:[]})}const _h=(...t)=>e=>t.reduce((n,r)=>r(n),e);var x5={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 Mc(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):gh(n,e,this.label,this.customLabel):n=this.groupValues?Sc(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(w5(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 _h(C5(e,n,this.groupValues,this.groupLabel,this.customLabel),Sc(this.groupValues,this.groupLabel))(t)},flatAndStrip(t){return _h(Sc(this.groupValues,this.groupLabel),k5)(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(Mc(t))return"";if(t.isTag)return t.label;if(t.$isLabel)return t.$groupLabel;const e=this.customLabel(t,this.label);return Mc(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))}}},M5={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}}},yh={name:"vue-multiselect",mixins:[x5,M5],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 S5={ref:"tags",class:"multiselect__tags"},v5={class:"multiselect__tags-wrap"},T5={class:"multiselect__spinner"},O5={key:0},D5={class:"multiselect__option"},E5={class:"multiselect__option"},$5=o.createTextVNode("No elements found. Consider changing the search query."),P5={class:"multiselect__option"},L5=o.createTextVNode("List is empty.");function V5(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",S5,[o.renderSlot(t.$slots,"selection",{search:t.search,remove:t.removeElement,values:i.visibleValues,isOpen:t.isOpen},()=>[o.withDirectives(o.createVNode("div",v5,[(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",T5,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",O5,[o.createVNode("span",D5,[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",E5,[o.renderSlot(t.$slots,"noResult",{search:t.search},()=>[$5])])],512),[[o.vShow,n.showNoResults&&t.filteredOptions.length===0&&t.search&&!n.loading]]),o.withDirectives(o.createVNode("li",null,[o.createVNode("span",P5,[o.renderSlot(t.$slots,"noOptions",{},()=>[L5])])],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"])}yh.render=V5;const N5={key:0,class:"scope-multiselect-label"},B5=De({__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",N5,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),o.createVNode(o.unref(yh),{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"]]),A5={key:0,class:"scope-input__label"},F5={key:1,class:"scope-input__prompt"},R5={key:0,class:"scope-input__sign"},I5=["disabled","placeholder","veeBind","maxlength","pattern","type"],H5={key:2,class:"scope-input__error"},z5=De({__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"],["update:modelValue"]),setup(t,{expose:e,emit:n}){const{error:r}=ch(),s=n,i=o.ref(null),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",A5,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),t.prompt?(o.openBlock(),o.createElementBlock("div",F5,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",R5,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,I5),[[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",H5,o.toDisplayString(t.errorMessage),1)):o.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-5329e3a2"]]),Y5={class:"scope-radio-label"},W5=["value"],j5={class:"scope-text"},Z5={__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",Y5,[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,W5),[[o.vModelRadio,e.value]]),o.createElementVNode("span",{class:o.normalizeClass(["scope-radio",{"-checked":r.value}])},null,2),o.createElementVNode("span",j5,o.toDisplayString(t.label),1)]))}},U5=De(Z5,[["__scopeId","data-v-00175a44"]]),q5=t=>(o.pushScopeId("data-v-a4862285"),t=t(),o.popScopeId(),t),G5={class:"scope-toggle-wrapper"},K5=["checked","name"],X5=q5(()=>o.createElementVNode("div",{class:"scope-toggle-wrapper__indicator"},null,-1)),Q5=De({__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",G5,[o.createElementVNode("input",{type:"checkbox",class:"scope-toggle-wrapper__checkbox",checked:n.value,name:t.name,onChange:s},null,40,K5),X5]))}},[["__scopeId","data-v-a4862285"]]),J5={class:"scope-checkbox-container"},e4=["id"],t4=["for"],n4=De({__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",J5,[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,e4),[[o.vModelCheckbox,n.value]]),o.createElementVNode("label",{for:t.name},o.toDisplayString(t.label),9,t4)])]))}},[["__scopeId","data-v-aeb4be6c"]]),r4={class:"scope-menu-tabs"},s4=["onClick"],i4=De({__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",r4,[(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,s4))),128))]))}},[["__scopeId","data-v-30014e05"]]),o4={class:"scope-switcher"},a4={class:"scope-switcher__current-item"},l4=De({__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",o4,[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",a4,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 wh(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 c4(t,e){const n=+le(t);return Ve(t,n+e)}const bh=6048e5,d4=864e5,u4=6e4,kh=36e5,h4=1e3;function f4(t,e){return c4(t,e*kh)}let m4={};function hs(){return m4}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 Qs(t){return In(t,{weekStartsOn:1})}function Ch(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=Qs(r),i=Ve(t,0);i.setFullYear(n,0,4),i.setHours(0,0,0,0);const a=Qs(i);return e.getTime()>=s.getTime()?n+1:e.getTime()>=a.getTime()?n:n-1}function xh(t){const e=le(t);return e.setHours(0,0,0,0),e}function _a(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 Mh(t,e){const n=xh(t),r=xh(e),s=+n-_a(n),i=+r-_a(r);return Math.round((s-i)/d4)}function p4(t){const e=Ch(t),n=Ve(t,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),Qs(n)}function g4(t,e){const n=e*3;return Tn(t,n)}function vc(t,e){return Tn(t,e*12)}function Sh(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function Zi(t){if(!Sh(t)&&typeof t!="number")return!1;const e=le(t);return!isNaN(Number(e))}function vh(t){const e=le(t);return Math.trunc(e.getMonth()/3)+1}function Th(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 _4(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=g4(a,l);return s?c.reverse():c}function y4(t){const e=le(t),n=e.getFullYear();return e.setFullYear(n+1,0,0),e.setHours(23,59,59,999),e}function Oh(t){const e=le(t),n=Ve(t,0);return n.setFullYear(e.getFullYear(),0,1),n.setHours(0,0,0,0),n}function w4(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 Dh(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 b4={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"}},k4=(t,e,n)=>{let r;const s=b4[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 Tc(t){return(e={})=>{const n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}const C4={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},x4={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},M4={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},S4={date:Tc({formats:C4,defaultWidth:"full"}),time:Tc({formats:x4,defaultWidth:"full"}),dateTime:Tc({formats:M4,defaultWidth:"full"})},v4={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},T4=(t,e,n,r)=>v4[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 O4={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},D4={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},E4={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"]},$4={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"]},P4={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"}},L4={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"}},V4={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:O4,defaultWidth:"wide"}),quarter:Ui({values:D4,defaultWidth:"wide",argumentCallback:t=>t-1}),month:Ui({values:E4,defaultWidth:"wide"}),day:Ui({values:$4,defaultWidth:"wide"}),dayPeriod:Ui({values:P4,defaultWidth:"wide",formattingValues:L4,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)?B4(l,h=>h.test(a)):N4(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 N4(t,e){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n}function B4(t,e){for(let n=0;n<t.length;n++)if(e(t[n]))return n}function A4(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 F4=/^(\d+)(th|st|nd|rd)?/i,R4=/\d+/i,I4={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},H4={any:[/^b/i,/^(a|c)/i]},z4={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Y4={any:[/1/i,/2/i,/3/i,/4/i]},W4={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},j4={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]},Z4={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},U4={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]},q4={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},G4={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}},K4={ordinalNumber:A4({matchPattern:F4,parsePattern:R4,valueCallback:t=>parseInt(t,10)}),era:qi({matchPatterns:I4,defaultMatchWidth:"wide",parsePatterns:H4,defaultParseWidth:"any"}),quarter:qi({matchPatterns:z4,defaultMatchWidth:"wide",parsePatterns:Y4,defaultParseWidth:"any",valueCallback:t=>t+1}),month:qi({matchPatterns:W4,defaultMatchWidth:"wide",parsePatterns:j4,defaultParseWidth:"any"}),day:qi({matchPatterns:Z4,defaultMatchWidth:"wide",parsePatterns:U4,defaultParseWidth:"any"}),dayPeriod:qi({matchPatterns:q4,defaultMatchWidth:"any",parsePatterns:G4,defaultParseWidth:"any"})},Eh={code:"en-US",formatDistance:k4,formatLong:S4,formatRelative:T4,localize:V4,match:K4,options:{weekStartsOn:0,firstWeekContainsDate:1}};function X4(t){const e=le(t);return Mh(e,Oh(e))+1}function Oc(t){const e=le(t),n=+Qs(e)-+p4(e);return Math.round(n/bh)+1}function Dc(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 Q4(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=Dc(t,e),i=Ve(t,0);return i.setFullYear(s,0,r),i.setHours(0,0,0,0),In(i,e)}function Ec(t,e){const n=le(t),r=+In(n,e)-+Q4(n,e);return Math.round(r/bh)+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)}},Js={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},$h={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=Dc(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=Ch(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=Ec(t,r);return e==="wo"?n.ordinalNumber(s,{unit:"week"}):Ae(s,e.length)},I:function(t,e,n){const r=Oc(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=X4(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=Js.noon:r===0?s=Js.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=Js.evening:r>=12?s=Js.afternoon:r>=4?s=Js.morning:s=Js.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 Lh(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 Lh(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"+Ph(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"+Ph(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 Ph(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 Lh(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 Vh=(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"})}},Nh=(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"})}},$c={p:Nh,P:(t,e)=>{const n=t.match(/(P+)(p+)?/)||[],r=n[1],s=n[2];if(!s)return Vh(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}}",Vh(r,e)).replace("{{time}}",Nh(s,e))}},J4=/^D+$/,e9=/^Y+$/,t9=["D","DD","YY","YYYY"];function Bh(t){return J4.test(t)}function Ah(t){return e9.test(t)}function Pc(t,e,n){const r=n9(t,e,n);if(console.warn(r),t9.includes(t))throw new RangeError(r)}function n9(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 r9=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,s9=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,i9=/^'([^]*?)'?$/,o9=/''/g,a9=/[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??Eh,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(s9).map(C=>{const k=C[0];if(k==="p"||k==="P"){const v=$c[k];return v(C,s.formatLong)}return C}).join("").match(r9).map(C=>{if(C==="''")return{isToken:!1,value:"'"};const k=C[0];if(k==="'")return{isToken:!1,value:l9(C)};if($h[k])return{isToken:!0,value:C};if(k.match(a9))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)&&Ah(k)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&Bh(k))&&Pc(k,e,String(t));const v=$h[k[0]];return v(l,k,s.localize,d)}).join("")}function l9(t){const e=t.match(i9);return e?e[1].replace(o9,"'"):t}function c9(t){return le(t).getDay()}function d9(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 u9(){return Object.assign({},hs())}function On(t){return le(t).getHours()}function h9(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 f9(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 m9=10;class Fh{constructor(){W(this,"subPriority",0)}validate(e,n){return!0}}class p9 extends Fh{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 g9 extends Fh{constructor(){super(...arguments);W(this,"priority",m9);W(this,"subPriority",-1)}set(n,r){return r.timestampIsSet?n:Ve(n,f9(n,Date))}}class Ne{run(e,n,r,s){const i=this.parse(e,n,r,s);return i?{setter:new p9(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(e,n,r){return!0}}class _9 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 dt={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 ut(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*kh+i*u4+a*h4),rest:e.slice(n[0].length)}}function Rh(t){return Qe(dt.anyDigitsSigned,t)}function rt(t,e){switch(t){case 1:return Qe(dt.singleDigit,e);case 2:return Qe(dt.twoDigits,e);case 3:return Qe(dt.threeDigits,e);case 4:return Qe(dt.fourDigits,e);default:return Qe(new RegExp("^\\d{1,"+t+"}"),e)}}function ya(t,e){switch(t){case 1:return Qe(dt.singleDigitSigned,e);case 2:return Qe(dt.twoDigitsSigned,e);case 3:return Qe(dt.threeDigitsSigned,e);case 4:return Qe(dt.fourDigitsSigned,e);default:return Qe(new RegExp("^-?\\d{1,"+t+"}"),e)}}function Lc(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 Ih(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 Hh(t){return t%400===0||t%4===0&&t%100!==0}class y9 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 ut(rt(4,n),i);case"yo":return ut(s.ordinalNumber(n,{unit:"year"}),i);default:return ut(rt(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=Ih(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 w9 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 ut(rt(4,n),i);case"Yo":return ut(s.ordinalNumber(n,{unit:"year"}),i);default:return ut(rt(r.length,n),i)}}validate(n,r){return r.isTwoDigitYear||r.year>0}set(n,r,s,i){const a=Dc(n,i);if(s.isTwoDigitYear){const c=Ih(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 b9 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 ya(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),Qs(i)}}class k9 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 ya(r==="u"?4:r.length,n)}set(n,r,s){return n.setFullYear(s,0,1),n.setHours(0,0,0,0),n}}class C9 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 rt(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 x9 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 rt(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 M9 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 ut(Qe(dt.month,n),i);case"MM":return ut(rt(2,n),i);case"Mo":return ut(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 S9 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 ut(Qe(dt.month,n),i);case"LL":return ut(rt(2,n),i);case"Lo":return ut(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 v9(t,e,n){const r=le(t),s=Ec(r,n)-e;return r.setDate(r.getDate()-s*7),r}class T9 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(dt.week,n);case"wo":return s.ordinalNumber(n,{unit:"week"});default:return rt(r.length,n)}}validate(n,r){return r>=1&&r<=53}set(n,r,s,i){return In(v9(n,s,i),i)}}function O9(t,e){const n=le(t),r=Oc(n)-e;return n.setDate(n.getDate()-r*7),n}class D9 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(dt.week,n);case"Io":return s.ordinalNumber(n,{unit:"week"});default:return rt(r.length,n)}}validate(n,r){return r>=1&&r<=53}set(n,r,s){return Qs(O9(n,s))}}const E9=[31,28,31,30,31,30,31,31,30,31,30,31],$9=[31,29,31,30,31,30,31,31,30,31,30,31];class P9 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(dt.date,n);case"do":return s.ordinalNumber(n,{unit:"date"});default:return rt(r.length,n)}}validate(n,r){const s=n.getFullYear(),i=Hh(s),a=n.getMonth();return i?r>=1&&r<=$9[a]:r>=1&&r<=E9[a]}set(n,r,s){return n.setDate(s),n.setHours(0,0,0,0),n}}class L9 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(dt.dayOfYear,n);case"Do":return s.ordinalNumber(n,{unit:"date"});default:return rt(r.length,n)}}validate(n,r){const s=n.getFullYear();return Hh(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 Vc(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 V9 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=Vc(n,s,i),n.setHours(0,0,0,0),n}}class N9 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 ut(rt(r.length,n),a);case"eo":return ut(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=Vc(n,s,i),n.setHours(0,0,0,0),n}}class B9 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 ut(rt(r.length,n),a);case"co":return ut(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=Vc(n,s,i),n.setHours(0,0,0,0),n}}function A9(t,e){const n=le(t),r=h9(n),s=e-r;return vn(n,s)}class F9 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 rt(r.length,n);case"io":return s.ordinalNumber(n,{unit:"day"});case"iii":return ut(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 ut(s.day(n,{width:"narrow",context:"formatting"}),i);case"iiiiii":return ut(s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"}),i);case"iiii":default:return ut(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=A9(n,s),n.setHours(0,0,0,0),n}}class R9 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(Lc(s),0,0,0),n}}class I9 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(Lc(s),0,0,0),n}}class H9 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(Lc(s),0,0,0),n}}class z9 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(dt.hour12h,n);case"ho":return s.ordinalNumber(n,{unit:"hour"});default:return rt(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 Y9 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(dt.hour23h,n);case"Ho":return s.ordinalNumber(n,{unit:"hour"});default:return rt(r.length,n)}}validate(n,r){return r>=0&&r<=23}set(n,r,s){return n.setHours(s,0,0,0),n}}class W9 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(dt.hour11h,n);case"Ko":return s.ordinalNumber(n,{unit:"hour"});default:return rt(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 j9 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(dt.hour24h,n);case"ko":return s.ordinalNumber(n,{unit:"hour"});default:return rt(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 Z9 extends Ne{constructor(){super(...arguments);W(this,"priority",60);W(this,"incompatibleTokens",["t","T"])}parse(n,r,s){switch(r){case"m":return Qe(dt.minute,n);case"mo":return s.ordinalNumber(n,{unit:"minute"});default:return rt(r.length,n)}}validate(n,r){return r>=0&&r<=59}set(n,r,s){return n.setMinutes(s,0,0),n}}class U9 extends Ne{constructor(){super(...arguments);W(this,"priority",50);W(this,"incompatibleTokens",["t","T"])}parse(n,r,s){switch(r){case"s":return Qe(dt.second,n);case"so":return s.ordinalNumber(n,{unit:"second"});default:return rt(r.length,n)}}validate(n,r){return r>=0&&r<=59}set(n,r,s){return n.setSeconds(s,0),n}}class q9 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 ut(rt(r.length,n),s)}set(n,r,s){return n.setMilliseconds(s),n}}class G9 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()-_a(n)-s)}}class K9 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()-_a(n)-s)}}class X9 extends Ne{constructor(){super(...arguments);W(this,"priority",40);W(this,"incompatibleTokens","*")}parse(n){return Rh(n)}set(n,r,s){return[Ve(n,s*1e3),{timestampIsSet:!0}]}}class Q9 extends Ne{constructor(){super(...arguments);W(this,"priority",20);W(this,"incompatibleTokens","*")}parse(n){return Rh(n)}set(n,r,s){return[Ve(n,s),{timestampIsSet:!0}]}}const J9={G:new _9,y:new y9,Y:new w9,R:new b9,u:new k9,Q:new C9,q:new x9,M:new M9,L:new S9,w:new T9,I:new D9,d:new P9,D:new L9,E:new V9,e:new N9,c:new B9,i:new F9,a:new R9,b:new I9,B:new H9,h:new z9,H:new Y9,K:new W9,k:new j9,m:new Z9,s:new U9,S:new q9,X:new G9,x:new K9,t:new X9,T:new Q9},e7=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,t7=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,n7=/^'([^]*?)'?$/,r7=/''/g,s7=/\S/,i7=/[a-zA-Z]/;function Nc(t,e,n,r){var p,_,y,C,k,v,M,T;const s=u9(),i=(r==null?void 0:r.locale)??s.locale??Eh,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 g9],u=e.match(t7).map(S=>{const D=S[0];if(D in $c){const E=$c[D];return E(S,i.formatLong)}return S}).join("").match(e7),h=[];for(let S of u){!(r!=null&&r.useAdditionalWeekYearTokens)&&Ah(S)&&Pc(S,e,t),!(r!=null&&r.useAdditionalDayOfYearTokens)&&Bh(S)&&Pc(S,e,t);const D=S[0],E=J9[D];if(E){const{incompatibleTokens:I}=E;if(Array.isArray(I)){const $=h.find(R=>I.includes(R.token)||R.token===D);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:D,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(D.match(i7))throw new RangeError("Format string contains an unescaped latin alphabet character `"+D+"`");if(S==="''"?S="'":D==="'"&&(S=o7(S)),t.indexOf(S)===0)t=t.slice(S.length);else return Ve(n,NaN)}}if(t.length>0&&s7.test(t))return Ve(n,NaN);const f=d.map(S=>S.priority).sort((S,D)=>D-S).filter((S,D,E)=>E.indexOf(S)===D).map(S=>d.filter(D=>D.priority===S).sort((D,E)=>E.subPriority-D.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 D=S.set(m,g,c);Array.isArray(D)?(m=D[0],Object.assign(g,D[1])):m=D}return Ve(n,m)}function o7(t){return t.match(n7)[1].replace(r7,"'")}function zh(t,e){const n=fs(t),r=fs(e);return+n==+r}function a7(t,e){return vn(t,-e)}function Yh(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=d9(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=Yh(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 Wh(t,e){const n=le(t);return n.setHours(e),n}function Bc(t,e){const n=le(t);return n.setMilliseconds(e),n}function jh(t,e){const n=le(t);return n.setMinutes(e),n}function Ac(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 l7(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=a7(d,i+s*7),h=l+a*60,m=(c+h*60)*1e3;return Ve(t,u.getTime()-m)}function Zh(t,e){return vc(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 Uh(){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"})])}Uh.compatConfig={MODE:3};function Fc(){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"})])}Fc.compatConfig={MODE:3};function Rc(){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"})])}Rc.compatConfig={MODE:3};function Ic(){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"})])}Ic.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:"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"})])}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:"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"})])}zc.compatConfig={MODE:3};function qh(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 c7(t){return e=>Hn(new Date(`2017-01-0${e}T00:00:00+00:00`),"EEEEEE",{locale:t})}const d7=(t,e,n)=>{const r=[1,2,3,4,5,6,7];let s;if(t!==null)try{s=r.map(c7(t))}catch{s=r.map(qh(e))}else s=r.map(qh(e));const i=s.slice(0,n),a=s.slice(n+1,s.length);return[s[n]].concat(...a).concat(...i)},Yc=(t,e,n)=>{const r=[];for(let s=+t[0];s<=+t[1];s++)r.push({value:+s,text:ef(s,e)});return n?r.reverse():r},Gh=(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}})},u7=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],bt=t=>{const e=o.unref(t);return e!=null&&e.$el?e==null?void 0:e.$el:e},h7=t=>({type:"dot",...t??{}}),Kh=t=>Array.isArray(t)?!!t[0]&&!!t[1]:!1,Wc={prop:t=>`"${t}" prop must be enabled!`,dateArr:t=>`You need to use array as "model-value" binding in order to support "${t}"`},xt=t=>t,Xh=t=>t===0?t:!t||isNaN(+t)?null:+t,Qh=t=>t===null,Jh=t=>{if(t)return[...t.querySelectorAll("input, button, select, textarea, a[href]")][0]},f7=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)=>f7(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())},m7=()=>["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 p7(t,e){let n=[...document.querySelectorAll(m7())];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 g7=(t,e)=>t==null?void 0:t.querySelector(`[data-dp-element="${e}"]`),ef=(t,e)=>new Intl.NumberFormat(e,{useGrouping:!1,style:"decimal"}).format(t),jc=t=>Hn(t,"dd-MM-yyyy"),Zc=t=>Array.isArray(t),wa=(t,e)=>e.get(jc(t)),_7=(t,e)=>t?e?e instanceof Map?!!wa(t,e):e(q(t)):!1:!0,tf=(t,e,n,r,s,i)=>{const a=Nc(t,e.slice(0,t.length),new Date,{locale:i});return Zi(a)&&Sh(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},y7=(t,e,n,r,s,i)=>{const a=Array.isArray(n)?n[0]:n;if(typeof e=="string")return tf(t,e,a,r,s,i);if(Array.isArray(e)){let l=null;for(const c of e)if(l=tf(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,w7=(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()},Ut=t=>{let e=q(JSON.parse(JSON.stringify(t)));return e=Wh(e,0),e=jh(e,0),e=Ac(e,0),e=Bc(e,0),e},Nr=(t,e,n,r)=>{let s=t?q(t):q();return(e||e===0)&&(s=Wh(s,+e)),(n||n===0)&&(s=jh(s,+n)),(r||r===0)&&(s=Ac(s,+r)),Bc(s,0)},st=(t,e)=>!t||!e?!1:Ki(Ut(t),Ut(e)),Se=(t,e)=>!t||!e?!1:ti(Ut(t),Ut(e)),ht=(t,e)=>!t||!e?!1:Gi(Ut(t),Ut(e)),ba=(t,e,n)=>t!=null&&t[0]&&t!=null&&t[1]?ht(n,t[0])&&st(n,t[1]):t!=null&&t[0]&&e?ht(n,t[0])&&st(n,e)||st(n,t[0])&&ht(n,e):!1,Dn=t=>{const e=We(new Date(t),{date:1});return Ut(e)},Uc=(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:On(t),minutes:zn(t),seconds:ei(t)}),nf=(t,e)=>{if(e){const n=ye(q(e));if(n>t)return 12;if(n===t)return Ce(q(e))}},rf=(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))},sf=(t,e)=>{const n=ht(t,e)?e:t,r=ht(e,t)?e:t;return Th({start:n,end:r})},b7=t=>{const e=Tn(t,1);return{month:Ce(e),year:ye(e)}},ar=(t,e)=>{const n=In(t,{weekStartsOn:+e}),r=w4(t,{weekStartsOn:+e});return[n,r]},of=(t,e)=>{const n={hours:On(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=Yh(r,e)),n&&(r=jn(r,n)),r},af=(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?!C7(...a,e):!k7(...a,n)},k7=(t,e,n)=>st(...Br(n,t,e))||Se(...Br(n,t,e)),C7=(t,e,n)=>ht(...Br(n,t,e))||Se(...Br(n,t,e)),lf=(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(Wc.prop("partial-range"))},ka=(t,e)=>{if(e)return t();throw new Error(Wc.prop("range"))},qc=t=>Array.isArray(t)?Zi(t[0])&&(t[1]?Zi(t[1]):!0):t?Zi(t):!1,x7=(t,e)=>We(e??q(),{hours:+t.hours||0,minutes:+t.minutes||0,seconds:+t.seconds||0}),Gc=(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()},Kc=(t,e,n)=>t?x7(t,e):q(n??e),cf=(t,e,n,r,s)=>{if(Array.isArray(r)){const a=Kc(t,r[0],e),l=Kc(t,r[1],e);return Gc(r[0],a,n,!!e)&&Gc(r[1],l,n,!!e)&&s}const i=Kc(t,r,e);return Gc(r,i,n,!!e)&&s},Xc=t=>We(q(),ps(t)),M7=(t,e)=>t instanceof Map?Array.from(t.values()).filter(n=>ye(q(n))===e).map(n=>Ce(n)):[],df=(t,e,n)=>typeof t=="function"?t({month:e,year:n}):!!t.months.find(r=>r.month===e&&r.year===n),Qc=(t,e)=>typeof t=="function"?t(e):t.years.includes(e),Qi=o.reactive({menuFocused:!1,shiftKeyInMenu:!1}),uf=()=>{const t=n=>{Qi.menuFocused=n},e=n=>{Qi.shiftKeyInMenu!==n&&(Qi.shiftKeyInMenu=n)};return{control:o.computed(()=>({shiftKeyInMenu:Qi.shiftKeyInMenu,menuFocused:Qi.menuFocused})),setMenuFocused:t,setShiftKey:e}},Ze=o.reactive({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),Jc=o.ref(null),Ca=o.ref(!1),ed=o.ref(!1),td=o.ref(!1),nd=o.ref(!1),Dt=o.ref(0),ft=o.ref(0),Ar=()=>{const t=o.computed(()=>Ca.value?[...Ze.selectionGrid,Ze.actionRow].filter(h=>h.length):ed.value?[...Ze.timePicker[0],...Ze.timePicker[1],nd.value?[]:[Jc.value],Ze.actionRow].filter(h=>h.length):td.value?[...Ze.monthPicker,Ze.actionRow]:[Ze.monthYear,...Ze.calendar,Ze.time,Ze.actionRow].filter(h=>h.length)),e=h=>{Dt.value=h?Dt.value+1:Dt.value-1;let f=null;t.value[ft.value]&&(f=t.value[ft.value][Dt.value]),!f&&t.value[ft.value+(h?1:-1)]?(ft.value=ft.value+(h?1:-1),Dt.value=h?0:t.value[ft.value].length-1):f||(Dt.value=h?Dt.value-1:Dt.value+1)},n=h=>{ft.value===0&&!h||ft.value===t.value.length&&h||(ft.value=h?ft.value+1:ft.value-1,t.value[ft.value]?t.value[ft.value]&&!t.value[ft.value][Dt.value]&&Dt.value!==0&&(Dt.value=t.value[ft.value].length-1):ft.value=h?ft.value-1:ft.value+1)},r=h=>{let f=null;t.value[ft.value]&&(f=t.value[ft.value][Dt.value]),f?f.focus({preventScroll:!Ca.value}):Dt.value=h?Dt.value-1:Dt.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=()=>{Dt.value=0,ft.value=0};return{buildMatrix:c,buildMultiLevelMatrix:d,setTimePickerBackRef:h=>{Jc.value=h},setSelectionGrid:h=>{Ca.value=h,u(),h||(Ze.selectionGrid=[])},setTimePicker:(h,f=!1)=>{ed.value=h,nd.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]=[],Ca.value=!1,ed.value=!1,nd.value=!1,td.value=!1,u(),Jc.value=null},setMonthPicker:h=>{td.value=h,u()},refSets:Ze}},cr=(t,e)=>e?new Date(t.toLocaleString("en-US",{timeZone:e})):new Date(t),hf=(t,e)=>rd(t,e)||q(),S7=(t,e)=>e.dateInTz?cr(new Date(t),e.dateInTz):q(t),rd=(t,e)=>{if(!t)return null;if(!e)return q(t);const n=q(t);return e.exactMatch?S7(t,e):cr(n,e.timezone)},v7=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},ff=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??{}}),T7=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??{}}),mf=t=>t?typeof t=="boolean"?t?2:0:+t>=2?+t:2:0,O7=t=>{const e=typeof t=="object"&&t,n={static:!0,solo:!1};if(!t)return{...n,count:mf(!1)};const r=e?t:{},s=e?r.count??!0:t,i=mf(s);return Object.assign(n,r,{count:i})},D7=(t,e,n)=>t||(typeof n=="string"?n:e),E7=t=>typeof t=="boolean"?t?ff({}):!1:ff(t),$7=t=>{const e={enterSubmit:!0,tabSubmit:!0,openMenu:!0,selectOnFocus:!1,rangeSeparator:" - "};return typeof t=="object"?{...e,...t??{},enabled:!0}:{...e,enabled:t}},P7=t=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...t??{}}),L7=t=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...t??{}}),V7=t=>{const e={input:!1};return typeof t=="object"?{...e,...t??{},enabled:!0}:{enabled:t,...e}},N7=t=>({allowStopPropagation:!0,closeOnScroll:!1,modeHeight:255,allowPreventDefault:!1,closeOnClearValue:!0,closeOnAutoApply:!0,noSwipe:!1,keepActionRow:!1,onClickOutside:void 0,tabOutClosesMenu:!0,...t??{}}),B7=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??{}}},A7=t=>typeof t=="object"?{type:(t==null?void 0:t.type)??"local",hideOnOffsetDates:(t==null?void 0:t.hideOnOffsetDates)??!1}:{type:t,hideOnOffsetDates:!1},F7=(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},R7=(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},sd=(t,e)=>new Map(t.map(n=>{const r=hf(n,e);return[jc(r),r]})),I7=(t,e)=>t.length?new Map(t.map(n=>{const r=hf(n.date,e);return[jc(r),n]})):null,H7=(t,e,n,r,s,i,a)=>({minDate:rd(t,a),maxDate:rd(e,a),disabledDates:Zc(n)?sd(n,a):n,allowedDates:Zc(r)?sd(r,a):null,highlight:typeof s=="object"&&Zc(s==null?void 0:s.dates)?sd(s.dates,a):s,markers:I7(i,a)}),z7=(t,e)=>typeof t=="boolean"?{enabled:t,dragSelect:!0,limit:+e}:{enabled:!!t,limit:t.limit?+t.limit:null,dragSelect:t.dragSelect??!0},Je=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=>of(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(()=>O7(t.multiCalendars)),a=o.computed(()=>s()),l=o.computed(()=>T7(t.ariaLabels)),c=o.computed(()=>P7(t.filters)),d=o.computed(()=>E7(t.transitions)),u=o.computed(()=>L7(t.actionRow)),h=o.computed(()=>D7(t.previewFormat,t.format,n())),f=o.computed(()=>$7(t.textInput)),m=o.computed(()=>V7(t.inline)),g=o.computed(()=>N7(t.config)),p=o.computed(()=>B7(t.highlight)),_=o.computed(()=>A7(t.weekNumbers)),y=o.computed(()=>R7(t.timezone,t.emitTimezone)),C=o.computed(()=>z7(t.multiDates,t.multiDatesLimit)),k=o.computed(()=>H7(t.minDate,t.maxDate,t.disabledDates,t.allowedDates,p.value,t.markers,y.value)),v=o.computed(()=>F7(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}},Y7=(t,e,n)=>{const r=o.ref(),{defaultedTextInput:s,defaultedRange:i,defaultedTz:a,defaultedMultiDates:l,getDefaultPattern:c}=Je(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=v7(a.value.timezone);return f4(w,B)}return w},m=(w,B,H=!1)=>lf(w,e.format,e.formatLocale,s.value.rangeSeparator,e.modelAuto,B??c(),H),g=w=>w?e.modelType?ee(w):{hours:On(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))):ka(()=>[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))):ka(()=>[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(Wc.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)?ka(()=>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))},D=()=>{const w=r.value;return[ee(w[0]),w[1]?ee(w[1]):oi(i.value.partialRange)]},E=()=>r.value[1]?D():ee(xt(r.value[0])),I=()=>(r.value||[]).map(w=>ee(w)),j=()=>(S(),e.modelAuto?E():l.value.enabled?I():Array.isArray(r.value)?ka(()=>D(),i.value.enabled):ee(xt(r.value))),$=w=>!w||Array.isArray(w)&&!w.length?null:e.timePicker?C(xt(w)):e.monthPicker?k(xt(w)):e.yearPicker?_(xt(w)):l.value.enabled?v(xt(w)):e.weekPicker?M(xt(w)):T(xt(w)),R=w=>{const B=$(w);qc(xt(B))?(r.value=xt(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]):""}`},O=()=>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"?O():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(Nc(w,c(),new Date)):h(Nc(w,e.modelType,new Date)):h(new Date(w))},ee=w=>w?e.utc?w7(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(xt(be),a.value.emitTimezone)):cr(xt(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(xt(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(xt(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))}},W7=(t,e)=>{const{defaultedFilters:n,propDates:r}=Je(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?vc(u,1):Zh(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=>af(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 j7=({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=O=>{if(a.teleport){const x=O.getBoundingClientRect();return{left:x.left+window.scrollX,top:x.top+window.scrollY}}return{top:0,left:0}},g=(O,x)=>{u.value.left=`${O+x-c.value.width}px`},p=O=>{u.value.left=`${O}px`},_=(O,x)=>{a.position===ai.left&&p(O),a.position===ai.right&&g(O,x),a.position===ai.center&&(u.value.left=`${O+x/2-c.value.width/2}px`)},y=O=>{const{width:x,height:V}=O.getBoundingClientRect(),{top:Z,left:ee}=a.altPosition?a.altPosition(O):m(O);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 O=bt(n),{top:x,left:V,transform:Z}=a.altPosition(O);u.value={top:`${x}px`,left:`${V}px`,transform:Z??""}},v=(O=!0)=>{var x;if(!s.value.enabled){if(f.value)return C();if(a.altPosition!==null)return k();if(O){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:O,left:x,width:V})=>{window.screen.width>768&&!d.value&&_(x,V),D(O)},T=O=>{const{top:x,left:V,height:Z,width:ee}=y(O);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:O,left:V,width:ee})},S=O=>{const{top:x,left:V,width:Z}=y(O);u.value.top=`${x-+a.offset-c.value.height}px`,h.value=!0,M({inputEl:O,left:V,width:Z})},D=O=>{if(a.autoPosition){const{left:x,width:V}=y(O),{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 O=bt(n);if(O){const{height:x}=c.value,{top:V,height:Z}=O.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=O=>E()===gs.bottom?T(O):S(O),j=()=>{const O=bt(n);if(O)return a.autoPosition?I(O):T(O)},$=function(O){if(O){const x=O.scrollHeight>O.clientHeight,V=window.getComputedStyle(O).overflowY.indexOf("hidden")!==-1;return x&&!V}return!0},R=function(O){return!O||O===document.body||O.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:$(O)?O:R(O.parentNode)},G=O=>{if(O)switch(a.position){case ai.left:return{left:0,transform:"translateX(0)"};case ai.right:return{left:`${O.width}px`,transform:"translateX(-100%)"};default:return{left:`${O.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:h,menuStyle:u,xCorrect:d,setMenuPosition:v,getScrollableParent:R,shadowRender:(O,x)=>{var V,Z,ee;const U=document.createElement("div"),P=(V=bt(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(O,{...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"]}],Z7=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],U7={all:()=>Fr,monthYear:()=>Fr.filter(t=>t.use.includes("month-year")),input:()=>Z7,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"))},qt=(t,e,n)=>{const r=[];return U7[e]().forEach(s=>{t[s.name]&&r.push(s.name)}),n!=null&&n.length&&n.forEach(s=>{s.slot&&r.push(s.slot)}),r},Ji=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}=Je(t),s=q(cr(q(),r.value.timezone)),i=o.ref([{month:Ce(s),year:ye(s)}]),a=o.reactive({hours:n.value.enabled?[On(s),On(s)]:On(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}},q7=(t,e)=>{const{defaultedMultiCalendars:n,defaultedMultiDates:r,defaultedHighlight:s,defaultedTz:i,propDates:a,defaultedRange:l}=Je(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?ht(d.value,t.value[0]):st(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?!st(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?ht(t.value[0],w.value):st(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?ht(b.value,B[0])&&st(b.value,B[1]):ht(b.value,d.value)&&st(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=>ba(t.value,d.value,b.value),S=()=>e.modelAuto&&Array.isArray(e.internalModelValue)?!!e.internalModelValue[0]:!1,D=()=>e.modelAuto?Kh(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?_7(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)&&D()&&!(!b.current&&e.hideOffsetDates)&&!C(b)?T(b):!1,O=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":st(b.value,u.value),"dp--future":ht(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:ht(b.value,w[0])&&st(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:ht(b.value,w[0])&&st(b.value,w[1])||ht(b.value,B[0])&&st(b.value,B[1]),dp__range_between:ht(b.value,w[1])&&st(b.value,B[0])}}return{...P(b)}},ee=b=>{const w=n.value.count>0?b.current&&_(b)&&D():_(b)&&D(),B=n.value.count>0?b.current&&_(b,!1)&&D():_(b,!1)&&D();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?{}:{...O(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}=Je(t),i=$=>r.value.disabledDates?typeof r.value.disabledDates=="function"?r.value.disabledDates(q($)):!!wa($,r.value.disabledDates):!1,a=$=>{const R=r.value.maxDate?ht($,r.value.maxDate):!1,G=r.value.minDate?st($,r.value.minDate):!1,O=i($),x=e.value.months.map(P=>+P).includes(Ce($)),V=t.disabledWeekDays.length?t.disabledWeekDays.some(P=>+P===c9($)):!1,Z=h($),ee=ye($),U=ee<+t.yearRange[0]||ee>+t.yearRange[1];return!(R||G||O||x||U||V||Z)},l=($,R)=>st(...Br(r.value.minDate,$,R))||Se(...Br(r.value.minDate,$,R)),c=($,R)=>ht(...Br(r.value.maxDate,$,R))||Se(...Br(r.value.maxDate,$,R)),d=($,R,G)=>{let O=!1;return r.value.maxDate&&G&&c($,R)&&(O=!0),r.value.minDate&&!G&&l($,R)&&(O=!0),O},u=($,R,G,O)=>{let x=!1;return O?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?!wa($,r.value.allowedDates):!1,f=$=>!a($),m=$=>n.value.noDisabledRange?!Th({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 O=Mh($,R[G]),x=sf(R[G],$),V=x.length===1?0:x.filter(ee=>f(ee)).length,Z=Math.abs(O)-(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]?Xc($[0]):null,$[1]?Xc($[1]):null]:Xc($),k=($,R,G)=>$.find(O=>+O.hours===On(R)&&O.minutes==="*"?!0:+O.minutes===zn(R)&&+O.hours===On(R))&&G,v=($,R,G)=>{const[O,x]=$,[V,Z]=R;return!k(O,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(O=>k(t.disabledTimes,O,$)):$},T=($,R)=>{const G=Array.isArray(R)?[ps(R[0]),R[1]?ps(R[1]):void 0]:ps(R),O=!t.disabledTimes(G);return $&&O},S=($,R)=>t.disabledTimes?Array.isArray(t.disabledTimes)?M(R,$):T(R,$):R,D=$=>{let R=!0;if(!$||y())return!0;const G=!r.value.minDate&&!r.value.maxDate?C($):$;return(t.maxTime||r.value.maxDate)&&(R=cf(t.maxTime,r.value.maxDate,"max",xt(G),R)),(t.minTime||r.value.minDate)&&(R=cf(t.minTime,r.value.minDate,"min",xt(G),R)),S($,R)},E=$=>{if(!t.monthPicker)return!0;let R=!0;const G=q(Dn($));if(r.value.minDate&&r.value.maxDate){const O=q(Dn(r.value.minDate)),x=q(Dn(r.value.maxDate));return ht(G,O)&&st(G,x)||Se(G,O)||Se(G,x)}if(r.value.minDate){const O=q(Dn(r.value.minDate));R=ht(G,O)||Se(G,O)}if(r.value.maxDate){const O=q(Dn(r.value.maxDate));R=st(G,O)||Se(G,O)}return R},I=o.computed(()=>$=>!t.enableTimePicker||t.ignoreTimeValidation?!0:D($)),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:D,isTimeValid:I,isMonthValid:j}},xa=()=>{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}},G7=(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}},Ma={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={...Ma,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}},K7={key:1,class:"dp__input_wrap"},X7=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-label","aria-disabled","aria-invalid"],Q7={key:2,class:"dp__clear_icon"},J7=o.defineComponent({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...Ma},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}=Je(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 y7(x,i.value.format??h(),V??of({},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)},D=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&&qc(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&&qc(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")},O=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",K7,[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:D,onEnter:E,onTab:I,onClear:G,onBlur:R,onKeypress:O,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:D,onKeydown:[o.withKeys(E,["enter"]),o.withKeys(I,["tab"]),O],onBlur:R,onFocus:j,onKeypress:O,onPaste:T},null,42,X7)),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",Q7,[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(Uh),{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)])}}}),ey=["title"],ty=["disabled"],ny=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}=Je(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([bt(p),bt(_)],"actionRow"),M(),window.addEventListener("resize",M)}),o.onUnmounted(()=>{window.removeEventListener("resize",M)});const M=()=>{y.value=!1,setTimeout(()=>{var O,x;const V=(O=k.value)==null?void 0:O.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),D=()=>{const O=i.value;return r.timePicker||r.monthPicker,O(xt(r.internalModelValue))},E=()=>{const O=r.internalModelValue;return a.value.count>0?`${I(O[0])} - ${I(O[1])}`:[I(O[0]),I(O[1])]},I=O=>lf(O,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(O=>`${I(O)}`):r.modelAuto?`${I(r.internalModelValue[0])}`:`${I(r.internalModelValue[0])} -`:I(r.internalModelValue):D()),$=()=>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(O,x)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"actionRowRef",ref:v,class:"dp__action_row"},[O.$slots["action-row"]?o.renderSlot(O.$slots,"action-row",o.normalizeProps(o.mergeProps({key:0},{internalModelValue:O.internalModelValue,disabled:S.value,selectDate:()=>O.$emit("select-date"),closePicker:()=>O.$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)},[O.$slots["action-preview"]&&y.value?o.renderSlot(O.$slots,"action-preview",{key:0,value:O.internalModelValue}):o.createCommentVNode("",!0),!O.$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,ey)):o.createCommentVNode("",!0),o.createElementVNode("div",{ref_key:"actionBtnContainer",ref:k,class:"dp__action_buttons","data-dp-element":"action-row"},[O.$slots["action-buttons"]?o.renderSlot(O.$slots,"action-buttons",{key:0,value:O.internalModelValue}):o.createCommentVNode("",!0),O.$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=>O.$emit("close-picker")),onKeydown:[x[1]||(x[1]=o.withKeys(V=>O.$emit("close-picker"),["enter"])),x[2]||(x[2]=o.withKeys(V=>O.$emit("close-picker"),["space"]))]},o.toDisplayString(O.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=>O.$emit("select-now")),onKeydown:[x[4]||(x[4]=o.withKeys(V=>O.$emit("select-now"),["enter"])),x[5]||(x[5]=o.withKeys(V=>O.$emit("select-now"),["space"]))]},o.toDisplayString(O.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(O.selectText),41,ty)):o.createCommentVNode("",!0)],64))],512)],64))],512))}}),ry=["onKeydown"],sy={class:"dp__selection_grid_header"},iy=["aria-selected","aria-disabled","onClick","onKeydown","onMouseover"],oy=["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}=Je(l),{hideNavigationButtons:h}=xa(),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=bt(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),D=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=bt(m),N=bt(g),b=bt(y),w=bt(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()},O=(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(xt(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=g7(l.menuWrapRef??null,"action-row");if(U){const P=Jh(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",sy,[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=>O(be,B,w,H),role:"gridcell",class:o.normalizeClass(D.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,iy))),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,oy)),[[o.vShow,!o.unref(h)(U.hideNavigation,U.type)]]):o.createCommentVNode("",!0)],46,ry)}}}),Sa=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))}}),ay=["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,ay))}}),ly={class:"dp--year-mode-picker"},cy=["aria-label"],pf=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}=xa(),{defaultedConfig:a,defaultedMultiCalendars:l,defaultedAriaLabels:c,defaultedTransitions:d}=Je(r),{showTransition:u,transitionName:h}=Ji(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",ly,[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(Fc),{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,cy),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(Rc),{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"])])}}}),id=(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]},od=(t,e,n)=>{let r=t.value?t.value.slice():[];return r.length===2&&r[1]!==null&&(r=[]),r.length?st(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},va=(t,e,n,r)=>{t&&(t[0]&&t[1]&&n&&e("auto-apply"),t[0]&&!t[1]&&r&&n&&e("auto-apply"))},gf=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))},_f=(t,e,n,r)=>Array.isArray(e.value)&&(e.value.length===2||e.value.length===1&&r.value.partialRange)?r.value.fixedStart&&(ht(t,e.value[0])||Se(t,e.value[0]))?[e.value[0],t]:r.value.fixedEnd&&(st(t,e.value[1])||Se(t,e.value[1]))?[t,e.value[1]]:(n("invalid-fixed-range",t),e.value):[],yf=({multiCalendars:t,highlight:e,propDates:n,calendars:r,modelValue:s,props:i,filters:a,year:l,month:c,emit:d})=>{const u=o.computed(()=>Yc(i.yearRange,i.locale,i.reverseYears)),h=o.ref([!1]),f=o.computed(()=>(T,S)=>{const D=We(Dn(new Date),{month:c.value(T),year:l.value(T)});return af(D,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(vc(S,1))}}},g=T=>{if(!T)return m();const S=We(q(),r.value[T]);return r.value[0].year=ye(Zh(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 D;const E=l.value(T)===S.value,I=Xi(S.value,ii(n.value.minDate),ii(n.value.maxDate))||((D=a.value.years)==null?void 0:D.includes(l.value(T))),j=Qc(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 D=S?l.value(T)+1:l.value(T)-1;y(D,T)}},M=(T,S=!1,D)=>{S||d("reset-flow"),D!==void 0?h.value[T]=D: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}},dy=(t,e)=>{const{defaultedMultiCalendars:n,defaultedAriaLabels:r,defaultedTransitions:s,defaultedConfig:i,defaultedRange:a,defaultedHighlight:l,propDates:c,defaultedTz:d,defaultedFilters:u,defaultedMultiDates:h}=Je(t),{modelValue:f,year:m,month:g,calendars:p}=eo(t,e),_=o.computed(()=>Gh(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:D,isDisabled:E}=yf({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(Dn(q()),b,m.value(w));return ba(f.value,y.value,be)&&!H}return!1}return!1},O=o.computed(()=>b=>si(_.value,w=>{var B;const H=$(b,w.value),be=Xi(w.value,nf(m.value(b),c.value.minDate),rf(m.value(b),c.value.maxDate))||M7(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=df(l.value,w.value,m.value(b));return{active:H,disabled:be,isBetween:Ie,highlighted:A}})),x=(b,w)=>lr(Dn(q()),b,m.value(w)),V=(b,w)=>{const B=f.value?f.value:Dn(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=_f(B,f,e,a):f.value?C(B,f.value)&&(f.value=od(f,x(b,w),e)):f.value=[x(b,w)],va(f.value,e,t.autoApply,t.modelAuto)},ee=(b,w)=>{id(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:O,groupedYears:v,year:m,isDisabled:E,defaultedMultiCalendars:n,defaultedAriaLabels:r,defaultedTransitions:s,defaultedConfig:i,showYearPicker:M,modelValue:f,presetDate:(b,w)=>{gf({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:D,getModelMonthYear:j}},uy=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=qt(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}=dy(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,D)=>(o.openBlock(),o.createBlock(Sa,{"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(pf,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"]))}}),hy=(t,e)=>{const{modelValue:n}=eo(t,e),r=o.ref(null),{defaultedHighlight:s,defaultedMultiDates:i,defaultedFilters:a,defaultedRange:l,propDates:c}=Je(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)?ba(n.value,r.value,m(g)):!1,f=o.computed(()=>si(Yc(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=Qc(s.value,g.value);return{active:p,disabled:_,isBetween:y,highlighted:C}})),m=g=>jn(Dn(new Date),g);return{groupedYears:f,modelValue:n,focusYear:d,setHoverValue:g=>{r.value=jn(Dn(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(Ut(q()),g))):n.value=[jn(Ut(q()),g)],e("auto-apply",!0);if(l.value.enabled)return n.value=od(n,m(g),e),va(n.value,e,t.autoApply,t.modelAuto);n.value=m(g),e("auto-apply")}}},fy=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}=hy(s,r),{defaultedConfig:u}=Je(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"]))]))}}),my={key:0,class:"dp__time_input"},py=["aria-label","onKeydown","onClick"],gy=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),_y=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),yy=["aria-label","disabled","onKeydown","onClick"],wy=["aria-label","onKeydown","onClick"],by=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),ky=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),Cy={key:0},xy=["aria-label","onKeydown"],My=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}=Je(s),{transitionName:f,showTransition:m}=Ji(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=>O(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)),D=o.computed(()=>A=>!ee(+s[A]-+s[`${A}Increment`],A)||T(A,!1)),E=(A,z)=>wh(We(q(),A),z),I=(A,z)=>l7(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]}}),O=(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)||O(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(Uc(s.minTime)):null,L=s.maxTime?C(Uc(s.maxTime)):null,K=C(Uc(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"?On: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",u7(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",my,[(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},[gy,_y],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(Hc),{key:1}))],64))],42,py),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,yy),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:D.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},[by,ky],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(zc),{key:1}))],64))],42,wy)],64))],2)}),128)),A.is24?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",Cy,[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,xy))])),(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(Ic)),{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))]))}}}),Sy={class:"dp--tp-wrap"},vy=["aria-label","tabindex"],Ty=["tabindex"],Oy=["aria-label"],wf=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}=Je(s),{transitionName:m,showTransition:g}=Ji(c),{hideNavigationButtons:p}=xa(),_=o.ref(null),y=o.ref(null),C=o.ref([]),k=o.ref(null);o.onMounted(()=>{r("mount"),!s.timePicker&&s.arrowNavigation?i([bt(_.value)],"time"):a(!0,s.timePicker)});const v=o.computed(()=>f.value.enabled&&s.modelAuto?Kh(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}),D=(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=qt(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)},O=()=>{if(k.value&&!u.value.enabled&&!s.noOverlayFocus){const x=Jh(k.value);x&&x.focus({preventScroll:!0})}};return e({toggleTimePicker:D}),(x,V)=>{var Z;return o.openBlock(),o.createElementBlock("div",Sy,[!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=>D(!0),["enter"])),V[1]||(V[1]=o.withKeys(ee=>D(!0),["space"]))],onClick:V[2]||(V[2]=ee=>D(!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(Ic),{key:1}))],42,vy)),[[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(My,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:O,onOverlayClosed:O,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=>D(!1),["enter"])),V[5]||(V[5]=o.withKeys(U=>D(!1),["space"]))],onClick:V[6]||(V[6]=U=>D(!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,Oy)),[[o.vShow,!o.unref(p)(x.hideNavigation,"time")]]):o.createCommentVNode("",!0)],2)],14,Ty)):o.createCommentVNode("",!0)]}),_:3},8,["name","css"])])}}}),bf=(t,e,n,r)=>{const{defaultedRange:s}=Je(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()):Ac(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=D=>n.value?Nr(n.value[D],M.hours[D],M.minutes[D],M.seconds[D]):null,S=D=>Bc(n.value[D],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),D=T.filter(E=>+E.hours===S);return((M=D[0])==null?void 0:M.minutes)==="*"?{hours:[S],minutes:void 0,seconds:void 0}:{hours:[],minutes:(D==null?void 0:D.map(E=>+E.minutes))??[],seconds:(D==null?void 0:D.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}},Dy=(t,e)=>{const{modelValue:n,time:r}=eo(t,e),{defaultedStartTime:s,defaultedRange:i}=Je(t),{updateTimeValues:a,getSetDateTime:l,setTime:c,assignStartTime:d,disabledTimesConfig:u,validateTime:h}=bf(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}},Ey=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=qt(i,"timePicker"),{time:l,modelValue:c,disabledTimesConfig:d,updateTime:u,validateTime:h}=Dy(s,r);return e({getSidebarProps:()=>({modelValue:c,time:l,updateTime:u})}),(f,m)=>(o.openBlock(),o.createBlock(Sa,{"multi-calendars":0,stretch:""},{default:o.withCtx(()=>[o.createVNode(wf,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}))}}),$y={class:"dp__month_year_row"},Py=["aria-label","onClick","onKeydown"],Ly=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}=Je(s),{transitionName:f,showTransition:m}=Ji(i),{buildMatrix:g}=Ar(),{handleMonthYearChange:p,isDisabled:_,updateMonthYear:y}=W7(s,r),{showLeftIcon:C,showRightIcon:k}=xa(),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?O(!0):x(!0)}}),D=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?O: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,nf(s.year,h.value.minDate),rf(s.year,h.value.maxDate))||c.value.months.includes(P.value),w=df(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=Qc(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")},O=(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]=bt(P),g(T.value,"monthYear"))},ee=o.computed(()=>{var P,N;return[{type:En.month,index:1,toggle:O,modelValue:D.value,updateModelValue:b=>D.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:ef(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:O,toggleYearPicker:x,handleMonthYearChange:p}),(P,N)=>{var b,w,B;return o.openBlock(),o.createElementBlock("div",$y,[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(Fc),{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,Py),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(Hc),{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(zc):o.unref(Rc)),{key:1}))]),_:3},8,["disabled","aria-label"])):o.createCommentVNode("",!0)],64))])}}}),Vy=["aria-label"],Ny={class:"dp__calendar_header",role:"row"},By={key:0,class:"dp__calendar_header_item",role:"gridcell"},Ay=["aria-label"],Fy=o.createElementVNode("div",{class:"dp__calendar_header_separator"},null,-1),Ry=["aria-label"],Iy={key:0,role:"gridcell",class:"dp__calendar_item dp__week_num"},Hy={class:"dp__cell_inner"},zy=["id","aria-selected","aria-disabled","aria-label","onClick","onKeydown","onMouseenter","onMouseleave","onMousedown"],Yy=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}=Je(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):d7(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 D=z=>z?s.vertical?"vNext":"next":s.vertical?"vPrevious":"previous",E=(z,ue)=>{if(s.transitions){const L=Ut(lr(q(),s.month,s.year));y.value=ht(Ut(lr(q(),z,ue)),L)?a.value[D(!0)]:a.value[D(!1)],_.value=!1,o.nextTick(()=>{_.value=!0})}},I=o.computed(()=>({[s.calendarClassName]:!!s.calendarClassName})),j=o.computed(()=>z=>{const ue=h7(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),O=z=>Hn(z,"yyyy-MM-dd"),x=async(z,ue,L)=>{const K=bt(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:At,width:Tt}=k.value[0].getBoundingClientRect();At<0&&(ae={left:"0"},te=0,v.value.left=`${de/2}px`),window.innerWidth<At+Tt&&(ae={right:"0"},te=0,v.value.left=`${Tt-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"?Ec(z.value,{weekStartsOn:+s.weekStart}):u.value.type==="iso"?Oc(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",Ny,[z.weekNumbers?(o.openBlock(),o.createElementBlock("div",By,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,Ay)}),128))]),Fy,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",Iy,[o.createElementVNode("div",Hy,o.toDisplayString(H(de.days)),1)])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(de.days,(ae,te)=>{var At,Tt,$r;return o.openBlock(),o.createElementBlock("div",{id:O(ae.value),ref_for:!0,ref:Ct=>b(Ct,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":(Tt=(At=o.unref(c))==null?void 0:At.day)==null?void 0:Tt.call(At,ae),tabindex:"0",onClick:o.withModifiers(Ct=>be(Ct,ae),["prevent"]),onKeydown:[o.withKeys(Ct=>z.$emit("select-date",ae),["enter"]),o.withKeys(Ct=>z.$emit("handle-space",ae),["space"])],onMouseenter:Ct=>V(ae,ge,te),onMouseleave:Ct=>Z(ae),onMousedown:Ct=>A(ae),onMouseup:ue[0]||(ue[0]=Ct=>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,(Ct,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:Ct,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(Ct.color?{backgroundColor:Ct.color}:{})},null,4),o.createElementVNode("div",null,o.toDisplayString(Ct.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,zy)}),128))]))),128))],40,Ry)):o.createCommentVNode("",!0)]}),_:3},8,["name","css"])],10,Vy)],2)}}}),kf=t=>Array.isArray(t),Wy=(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}=Je(t),{validateMonthYearInRange:p,isDisabled:_,isDateRangeAllowed:y,checkMinMaxRange:C}=Rr(t),{updateTimeValues:k,getSetDateTime:v,setTime:M,assignStartTime:T,validateTime:S,disabledTimesConfig:D}=bf(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,J,ce)=>{var we,X;l.value[F]||(l.value[F]={month:0,year:0}),l.value[F].month=Qh(J)?(we=l.value[F])==null?void 0:we.month:J,l.value[F].year=Qh(ce)?(X=l.value[F])==null?void 0:X.year:ce},$=()=>{t.autoApply&&e("select-date")};o.watch(a,(F,J)=>{JSON.stringify(F)!==JSON.stringify(J)&&O()},{deep:!0}),o.onMounted(()=>{t.shadow||(a.value||(H(),u.value&&T(u.value)),O(!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")},O=(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,J=!1)=>{if((!d.value.count||!d.value.static||J)&&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=wh(we,{months:1});l.value[ce]={month:Ce(X),year:ye(X)}}},Z=(F,J)=>{V(F),M("hours",On(F)),M("minutes",zn(F)),M("seconds",ei(F)),d.value.count&&J&&B()},ee=F=>{if(d.value.count){if(d.value.solo)return 0;const J=Ce(F[0]),ce=Ce(F[1]);return Math.abs(ce-J)<d.value.count?0:1}return 1},U=(F,J)=>{F[1]&&h.value.showLastInRange?V(F[ee(F)],J):V(F[0],J);const ce=(we,X)=>[we(F[0]),F[1]?we(F[1]):c[X][1]];M("hours",ce(On,"hours")),M("minutes",ce(zn,"minutes")),M("seconds",ce(ei,"seconds"))},P=(F,J)=>{if((h.value.enabled||t.weekPicker)&&!g.value.enabled)return U(F,J);if(g.value.enabled&&J){const ce=F[F.length-1];return Z(ce,J)}},N=F=>{const J=a.value;P(J,F),d.value.count&&d.value.solo&&B()},b=(F,J)=>{const ce=We(q(),{month:E.value(J),year:I.value(J)}),we=F<0?Tn(ce,1):ni(ce,1);p(Ce(we),ye(we),F<0,t.preventMinMaxNavigation)&&(j(J,Ce(we),ye(we)),e("update-month-year",{instance:J,month:Ce(we),year:ye(we)}),d.value.count&&!d.value.solo&&w(J),n())},w=F=>{for(let J=F-1;J>=0;J--){const ce=ni(We(q(),{month:E.value(J+1),year:I.value(J+1)}),1);j(J,Ce(ce),ye(ce))}for(let J=F+1;J<=d.value.count-1;J++){const ce=Tn(We(q(),{month:E.value(J-1),year:I.value(J-1)}),1);j(J,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))),[J,ce]=[Ce(a.value[0]),ye(a.value[0])],[we,X]=[Ce(a.value[1]),ye(a.value[1])];(J!==we||J===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,J)=>{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,J))}},Ie=(F,J,ce=!1)=>{t.monthChangeOnArrows&&t.vertical===ce&&A(F,J)},A=(F,J)=>{b(F==="right"?-1:1,J)},z=F=>{if(m.value.markers)return wa(F.value,m.value.markers)},ue=(F,J)=>{switch(t.sixWeeks===!0?"append":t.sixWeeks){case"prepend":return[!0,!1];case"center":return[F==0,!0];case"fair":return[F==0||J>F,!0];case"append":return[!1,!1];default:return[!1,!1]}},L=(F,J,ce,we)=>{if(t.sixWeeks&&F.length<6){const X=6-F.length,he=(J.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],ph=K(vn(ds.value,-7),Ce(J));F.unshift({days:ph})}else{const ds=F[F.length-1],ph=ds.days[ds.days.length-1],NH=K(vn(ph.value,1),Ce(J));F.push({days:NH})}}return F},K=(F,J)=>{const ce=q(F),we=[];for(let X=0;X<7;X++){const he=vn(ce,X),fe=Ce(he)!==J;we.push({text:t.hideOffsetDates&&fe?"":he.getDate(),value:he,current:!fe,classData:{}})}return we},de=(F,J)=>{const ce=[],we=new Date(J,F),X=new Date(J,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(Ut(ds.value),Ut(X)))){const ds=vn(or,7);Pr(ds)}};return Pr(fe),L(ce,we,X,he)},ge=F=>{const J=Nr(q(F.value),c.hours,c.minutes,Ks());e("date-update",J),g.value.enabled?id(J,a,g.value.limit):a.value=J,r(),o.nextTick().then(()=>{G()})},ae=F=>h.value.noDisabledRange?sf(s.value[0],F).some(J=>_(J)):!1,te=()=>{s.value=a.value?a.value.slice():[],s.value.length===2&&!(h.value.fixedStart||h.value.fixedEnd)&&(s.value=[])},At=(F,J)=>{const ce=[q(F.value),vn(q(F.value),+h.value.autoRange)];y(ce)?(J&&Tt(F.value),s.value=ce):e("invalid-date",F.value)},Tt=F=>{const J=Ce(q(F)),ce=ye(q(F));if(j(0,J,ce),d.value.count>0)for(let we=1;we<d.value.count;we++){const X=b7(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=_f(q(F.value),a,e,h)},Ct=(F,J)=>{if(te(),h.value.autoRange)return At(F,J);if(h.value.fixedStart||h.value.fixedEnd)return $r(F);s.value[0]?C(q(F.value),a.value)&&!ae(F.value)?st(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,ma=F=>{s.value[F]=Nr(s.value[F],c.hours[F],c.minutes[F],Ks(F!==1))},pa=()=>{var F,J;s.value[0]&&s.value[1]&&+((F=s.value)==null?void 0:F[0])>+((J=s.value)==null?void 0:J[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]?ma(0):(ma(0),ma(1),r()),pa(),a.value=s.value.slice(),va(s.value,e,t.autoApply,t.modelAuto))},dh=(F,J=!1)=>{if(_(F.value)||!F.current&&t.hideOffsetDates)return e("invalid-date",F.value);if(!h.value.enabled)return ge(F);kf(c.hours)&&kf(c.minutes)&&!g.value.enabled&&(Ct(F,J),Sn())},uh=(F,J)=>{var ce;j(F,J.month,J.year),d.value.count&&!d.value.solo&&w(F),e("update-month-year",{instance:F,month:J.month,year:J.year}),n(d.value.solo?F:void 0);const we=(ce=t.flow)!=null&&ce.length?t.flow[t.flowStep]:void 0;!J.fromNav&&(we===Zn.month||we===Zn.year)&&r()},xc=(F,J)=>{gf({value:F,modelValue:a,range:h.value.enabled,timezone:J?void 0:f.value.timezone}),$(),t.multiCalendars&&o.nextTick().then(()=>O(!0))},hh=()=>{h.value.enabled?a.value&&Array.isArray(a.value)&&a.value[0]?a.value=st(q(),a.value[0])?[q(),a.value[0]]:[a.value[0],q()]:a.value=[q()]:a.value=q(),$()},fh=()=>{if(Array.isArray(a.value))if(g.value.enabled){const F=mh();a.value[a.value.length-1]=v(F)}else a.value=a.value.map((F,J)=>F&&v(F,J));else a.value=v(a.value);e("time-update")},mh=()=>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:D,validateTime:S,getCalendarDays:de,getMarker:z,handleScroll:be,handleSwipe:A,handleArrow:Ie,selectDate:dh,updateMonthYear:uh,presetDate:xc,selectCurrentDate:hh,updateTime:(F,J=!0,ce=!1)=>{k(F,J,ce,fh)}}},jy={key:0},Zy=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}=Wy(s,r,ee,U),T=o.useSlots(),{setHoverDate:S,getDayClassData:D,clearHoverDate:E}=q7(c,s),{defaultedMultiCalendars:I}=Je(s),j=o.ref([]),$=o.ref([]),R=o.ref(null),G=qt(T,"calendar"),O=qt(T,"monthYear"),x=qt(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=D(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(Sa,{"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(Ly,o.mergeProps({key:0,ref:H=>{H&&(j.value[B]=H)},months:o.unref(Gh)(N.formatLocale,N.locale,N.monthNameFormat),years:o.unref(Yc)(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(O),(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(Yy,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",jy,[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(wf,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))}}),Uy=(t,e)=>{const n=o.ref(),{defaultedMultiCalendars:r,defaultedConfig:s,defaultedHighlight:i,defaultedRange:a,propDates:l,defaultedFilters:c,defaultedMultiDates:d}=Je(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}=yf({modelValue:u,multiCalendars:r,highlight:i,calendars:m,propDates:l,month:f,year:h,filters:c,props:t,emit:e}),T=(O,x)=>[O,x].map(V=>Hn(V,"MMMM",{locale:t.formatLocale})).join("-"),S=o.computed(()=>O=>u.value?Array.isArray(u.value)?u.value.some(x=>zh(O,x)):zh(u.value,O):!1),D=O=>{if(a.value.enabled){if(Array.isArray(u.value)){const x=Se(O,u.value[0])||Se(O,u.value[1]);return ba(u.value,n.value,O)&&!x}return!1}return!1},E=(O,x)=>O.quarter===vh(x)&&O.year===ye(x),I=O=>typeof i.value=="function"?i.value({quarter:vh(O),year:ye(O)}):!!i.value.quarters.find(x=>E(x,O)),j=o.computed(()=>O=>{const x=We(new Date,{year:h.value(O)});return _4({start:Oh(x),end:y4(x)}).map(V=>{const Z=fs(V),ee=Dh(V),U=g(V),P=D(Z),N=I(Z);return{text:T(Z,ee),value:Z,active:S.value(Z),highlighted:N,disabled:U,isBetween:P}})}),$=O=>{id(O,u,d.value.limit),e("auto-apply",!0)},R=O=>{u.value=od(u,O,e),va(u.value,e,t.autoApply,t.modelAuto)},G=O=>{u.value=O,e("auto-apply")};return{defaultedConfig:s,defaultedMultiCalendars:r,groupedYears:_,year:h,isDisabled:C,quarters:j,showYearPicker:y,modelValue:u,setHoverDate:O=>{n.value=O},selectYear:p,selectQuarter:(O,x,V)=>{if(!V)return m.value[x].month=Ce(Dh(O)),d.value.enabled?$(O):a.value.enabled?R(O):G(O)},toggleYearPicker:k,handleYearSelect:v,handleYear:M}},qy={class:"dp--quarter-items"},Gy=["disabled","onClick","onMouseover"],Ky=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=qt(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}=Uy(s,r);return e({getSidebarProps:()=>({modelValue:m,year:u,selectQuarter:_,handleYearSelect:C,handleYear:k})}),(v,M)=>(o.openBlock(),o.createBlock(Sa,{"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(pf,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,D)=>({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",qy,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(f)(T),(S,D)=>(o.openBlock(),o.createElementBlock("div",{key:D},[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,Gy)]))),128))])],4)]),_:3},8,["multi-calendars","collapse"]))}}),Xy=["id","aria-label"],Qy={key:0,class:"dp--menu-load-container"},Jy=o.createElementVNode("span",{class:"dp--menu-loader"},null,-1),e8=[Jy],t8={key:0,class:"dp__sidebar_left"},n8=["onClick","onKeydown"],r8={key:2,class:"dp__sidebar_right"},s8={key:3,class:"dp__action_extra"},Cf=o.defineComponent({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...Ma,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:D.value,collapse:s.collapse,noOverlayFocus:s.noOverlayFocus,menuWrapRef:i.value}}),{setMenuFocused:l,setShiftKey:c,control:d}=uf(),u=o.useSlots(),{defaultedTextInput:h,defaultedInline:f,defaultedConfig:m}=Je(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=bt(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=bt(_);L&&(p.value=L.getBoundingClientRect().width)},{arrowRight:v,arrowLeft:M,arrowDown:T,arrowUp:S}=Ar(),{flowStep:D,updateFlowStep:E,childMount:I,resetFlow:j}=G7(s,r,C),$=o.computed(()=>s.monthPicker?uy:s.yearPicker?fy:s.timePicker?Ey:s.quarterPicker?Ky:Zy),R=()=>{const L=bt(i);L&&L.focus({preventScroll:!0})},G=o.computed(()=>{var L;return((L=C.value)==null?void 0:L.getSidebarProps())||{}}),O=()=>{s.openOnTop&&r("recalculate-position")},x=qt(u,"action"),V=o.computed(()=>s.monthPicker||s.yearPicker?qt(u,"monthYear"):s.timePicker?qt(u,"timePicker"):qt(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",Qy,e8)):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",t8,[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,At)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:At},[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(Tt=>z(te.value,te.noTz),["prevent"]),onKeydown:[o.withKeys(o.withModifiers(Tt=>z(te.value,te.noTz),["prevent"]),["enter"]),o.withKeys(o.withModifiers(Tt=>z(te.value,te.noTz),["prevent"]),["space"])]},o.toDisplayString(te.label),47,n8))],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(D),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:O,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,At)=>({name:te,fn:o.withCtx(Tt=>[o.renderSlot(L.$slots,te,o.normalizeProps(o.guardReactiveProps({...Tt})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),L.$slots["right-sidebar"]?(o.openBlock(),o.createElementBlock("div",r8,[o.renderSlot(L.$slots,"right-sidebar",o.normalizeProps(o.guardReactiveProps(G.value)))])):o.createCommentVNode("",!0),L.$slots["action-extra"]?(o.openBlock(),o.createElementBlock("div",s8,[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(ny,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,At)=>({name:te,fn:o.withCtx(Tt=>[o.renderSlot(L.$slots,te,o.normalizeProps(o.guardReactiveProps({...Tt})))])}))]),1040,["menu-mount","calendar-width"])):o.createCommentVNode("",!0)],42,Xy)}}}),i8=typeof window<"u"?window:void 0,ad=()=>{},o8=t=>o.getCurrentScope()?(o.onScopeDispose(t),!0):!1,a8=(t,e,n,r)=>{if(!t)return ad;let s=ad;const i=o.watch(()=>o.unref(t),l=>{s(),l&&(l.addEventListener(e,n,r),s=()=>{l.removeEventListener(e,n,r),s=ad})},{immediate:!0,flush:"post"}),a=()=>{i(),s()};return o8(a),a},l8=(t,e,n,r={})=>{const{window:s=i8,event:i="pointerdown"}=r;return s?a8(s,i,a=>{const l=bt(t),c=bt(e);!l||!c||l===a.target||a.composedPath().includes(l)||a.composedPath().includes(c)||n(a)},{passive:!0}):void 0},c8=o.defineComponent({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...Ma},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}=uf(),{clearArrowNav:k}=Ar(),{validateDate:v,isValidTime:M}=Rr(s),{defaultedTransitions:T,defaultedTextInput:S,defaultedInline:D,defaultedConfig:E,defaultedRange:I,defaultedMultiDates:j}=Je(s),{menuTransition:$,showTransition:R}=Ji(T);o.onMounted(()=>{w(s.modelValue),o.nextTick().then(()=>{if(!D.value.enabled){const X=U(m.value);X==null||X.addEventListener("scroll",K),window==null||window.addEventListener("resize",de)}}),D.value.enabled&&(a.value=!0),window==null||window.addEventListener("keyup",ge),window==null||window.addEventListener("keydown",ae)}),o.onUnmounted(()=>{if(!D.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=qt(i,"all",s.presetDates),O=qt(i,"input");o.watch([l,c],()=>{w(l.value)},{deep:!0});const{openOnTop:x,menuStyle:V,xCorrect:Z,setMenuPosition:ee,getScrollableParent:U,shadowRender:P}=j7({menuRef:d,menuRefInner:u,inputRef:h,pickerWrapperRef:m,inline:D,emit:r,props:s,slots:i}),{inputValue:N,internalModelValue:b,parseExternalModelValue:w,emitModelValue:B,formatInputValue:H,checkBeforeEmit:be}=Y7(r,s,f),Ie=o.computed(()=>({dp__main:!0,dp__theme_dark:s.dark,dp__theme_light:!s.dark,dp__flex_display:D.value.enabled,"dp--flex-display-collapsed":_.value,dp__flex_display_with_input:D.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||D.value.enabled})),ue=o.computed(()=>({class:"dp__outer_menu_wrap"})),L=o.computed(()=>D.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"&&!D.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(Cf,s),ee(!1),a.value=!0,a.value&&r("open"),a.value||pa(),w(s.modelValue))},At=()=>{var X;N.value="",pa(),(X=h.value)==null||X.setParsedDate(null),r("update:model-value",null),r("update:model-timezone-value",null),r("cleared"),E.value.closeOnClearValue&&Sn()},Tt=()=>{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()&&Tt()?(B(),Sn()):r("invalid-select",b.value)},Ct=X=>{Ks(),B(),E.value.closeOnAutoApply&&!X&&Sn()},Ks=()=>{h.value&&S.value.enabled&&h.value.setParsedDate(b.value)},ma=(X=!1)=>{s.autoApply&&M(b.value)&&Tt()&&(I.value.enabled&&Array.isArray(b.value)?(I.value.partialRange||b.value.length===2)&&Ct(X):Ct(X))},pa=()=>{S.value.enabled||(b.value=null)},Sn=()=>{D.value.enabled||(a.value&&(a.value=!1,Z.value=!1,y(!1),C(!1),k(),r("closed"),N.value&&w(l.value)),pa(),r("blur"))},dh=(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")))},uh=()=>{s.autoApply&&M(b.value)&&B(),Ks()},xc=()=>a.value?Sn():te(),hh=X=>{b.value=X},fh=()=>{S.value.enabled&&(f.value=!0,H()),r("focus")},mh=()=>{if(S.value.enabled&&(f.value=!1,w(s.modelValue),g.value)){const X=p7(m.value,p.value);X==null||X.focus()}r("blur")},F=X=>{u.value&&u.value.updateMonthYear(0,{month:Xh(X.month),year:Xh(X.year)})},J=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 l8(d,h,()=>we(Tt)),e({closeMenu:Sn,selectDate:$r,clearValue:At,openMenu:te,onScroll:K,formatInputValue:H,updateInternalModelValue:hh,setMonthYear:F,parseModel:J,switchView:ce,toggleMenu:xc}),(X,he)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"pickerWrapperRef",ref:m,class:o.normalizeClass(Ie.value),"data-datepicker-instance":""},[o.createVNode(J7,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:At,onOpen:te,onSetInputDate:dh,onSetEmptyDate:o.unref(B),onSelectDate:$r,onToggle:xc,onClose:Sn,onFocus:fh,onBlur:mh,onRealBlur:he[1]||(he[1]=fe=>f.value=!1)}),o.createSlots({_:2},[o.renderList(o.unref(O),(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(D).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(D).enabled},style:o.unref(D).enabled?void 0:o.unref(V)}),[o.createVNode(Cf,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:ma,onTimeUpdate:uh,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))}}),ld=(()=>{const t=c8;return t.install=e=>{e.component("Vue3DatePicker",t)},t})();Object.entries(Object.freeze(Object.defineProperty({__proto__:null,default:ld},Symbol.toStringTag,{value:"Module"}))).forEach(([t,e])=>{t!=="default"&&(ld[t]=e)});const d8={class:"scope-datepicker__wrapper"},u8={key:0,class:"scope-datepicker__label"},h8={class:"scope-datepicker__container"},f8={class:"scope-datepicker__icon-wrapper"},m8={__name:"Calendar",props:o.mergeModels({invalid:Boolean,range:Boolean,width:String,multiCalendars:Boolean|Object,inline:Boolean,fullWidth:Boolean,label:String,size:{type:String,default:"md"},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",d8,[t.label?(o.openBlock(),o.createElementBlock("div",u8,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),o.createElementVNode("div",h8,[o.createVNode(o.unref(ld),{style:o.normalizeStyle({width:t.width}),class:o.normalizeClass(["scope-datepicker",`-${t.size}`,{"-invalid":t.invalid,"-full-width":t.fullWidth,"-range":t.range}]),modelValue:r.value,"onUpdate:modelValue":c[0]||(c[0]=d=>r.value=d),"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","multi-calendars","range","placeholder","inline"]),o.createElementVNode("div",f8,[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"]))])])]))}},p8=De(m8,[["__scopeId","data-v-48d10321"]]),g8=["onClick"],_8=De({__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,g8))),128))],4))}},[["__scopeId","data-v-5082bcef"]]),y8=["disabled","onInput","onKeydown"],w8={key:0,class:"scope-number-input__error-message"},b8=De({__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,y8))),128))],2),t.isInvalid&&t.errorMessage?(o.openBlock(),o.createElementBlock("div",w8,o.toDisplayString(t.errorMessage),1)):o.createCommentVNode("",!0)],512))}},[["__scopeId","data-v-6ba29b49"]]),k8={class:"scope-navigation-tab__icon-wrapper"},C8={key:0},x8=De({__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",k8,[o.createVNode(Le,{icon:t.icon,class:"scope-navigation-tab__icon"},null,8,["icon"])]),t.isFull?(o.openBlock(),o.createElementBlock("span",C8,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 xf(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 Gt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},li={duration:.5,overwrite:!1,delay:0},cd,Et,Ke,dn=1e8,je=1/dn,dd=Math.PI*2,M8=dd/4,S8=0,Mf=Math.sqrt,v8=Math.cos,T8=Math.sin,Mt=function(e){return typeof e=="string"},it=function(e){return typeof e=="function"},ur=function(e){return typeof e=="number"},ud=function(e){return typeof e>"u"},Un=function(e){return typeof e=="object"},Ft=function(e){return e!==!1},hd=function(){return typeof window<"u"},Ta=function(e){return it(e)||Mt(e)},Sf=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},$t=Array.isArray,fd=/(?:-?\.?\d|\.)+/gi,vf=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ci=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,md=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Tf=/[+-]=-?[.\d]+/,Of=/[^,'"\[\]\s]+/gi,O8=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,et,qn,pd,gd,Kt={},Oa={},Df,Ef=function(e){return(Oa=ws(e,Kt))&&zt},_d=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)},$f=function(e,n){return e&&(Kt[e]=n)&&Oa&&(Oa[e]=n)||Kt},so=function(){return 0},D8={suppressEvents:!0,isStart:!0,kill:!1},Da={suppressEvents:!0,kill:!1},E8={suppressEvents:!0},yd={},Ir=[],wd={},Pf,Xt={},bd={},Lf=30,Ea=[],kd="",Cd=function(e){var n=e[0],r,s;if(Un(n)||it(n)||(e=[e]),!(r=(n._gsap||{}).harness)){for(s=Ea.length;s--&&!Ea[s].targetTest(n););r=Ea[s]}for(s=e.length;s--;)e[s]&&(e[s]._gsap||(e[s]._gsap=new l0(e[s],r)))||e.splice(s,1);return e},ys=function(e){return e._gsap||Cd(fn(e))[0]._gsap},Vf=function(e,n,r){return(r=e[n])&&it(r)?e[n]():ud(r)&&e.getAttribute&&e.getAttribute(n)||r},Rt=function(e,n){return(e=e.split(",")).forEach(n)||e},mt=function(e){return Math.round(e*1e5)/1e5||0},St=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},$8=function(e,n){for(var r=n.length,s=0;e.indexOf(n[s])<0&&++s<r;);return s<r},$a=function(){var e=Ir.length,n=Ir.slice(0),r,s;for(wd={},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)},Nf=function(e,n,r,s){Ir.length&&!Et&&$a(),e.render(n,r,s||Et&&n<0&&(e._initted||e._startAt)),Ir.length&&!Et&&$a()},Bf=function(e){var n=parseFloat(e);return(n||n===0)&&(e+"").match(Of).length<2?n:Mt(e)?e.trim():e},Af=function(e){return e},un=function(e,n){for(var r in n)r in e||(e[r]=n[r]);return e},P8=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},Ff=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},Pa=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||et,r=e.keyframes?P8($t(e.keyframes)):un;if(Ft(e.inherit))for(;n;)r(e,n.vars.defaults),n=n.parent||n._dp;return e},L8=function(e,n){for(var r=e.length,s=r===n.length;s&&r--&&e[r]===n[r];);return r<0},Rf=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},La=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},zr=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},V8=function(e){for(var n=e.parent;n&&n.parent;)n._dirty=1,n.totalDuration(),n=n.parent;return e},xd=function(e,n,r,s){return e._startAt&&(Et?e._startAt.revert(Da):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(n,!0,s))},N8=function t(e){return!e||e._ts&&t(e.parent)},If=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},Va=function(e,n){return(e-n._start)*n._ts+(n._ts>=0?0:n._dirty?n.totalDuration():n._tDur)},Na=function(e){return e._end=St(e._start+(e._tDur/Math.abs(e._ts||e._rts||je)||0))},Ba=function(e,n){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=St(r._time-(e._ts>0?n/e._ts:((e._dirty?e.totalDuration():e._tDur)-n)/-e._ts)),Na(e),r._dirty||bs(r,e)),e},zf=function(e,n){var r;if((n._time||!n._dur&&n._initted||n._start<e._time&&(n._dur||!n.add))&&(r=Va(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&&zr(n),n._start=St((ur(r)?r:r||e!==et?hn(e,r,n):e._time)+n._delay),n._end=St(n._start+(n.totalDuration()/Math.abs(n.timeScale())||0)),Rf(e,n,"_first","_last",e._sort?"_start":0),Md(n)||(e._recent=n),s||zf(e,n),e._ts<0&&Ba(e,e._tTime),e},Hf=function(e,n){return(Kt.ScrollTrigger||_d("scrollTrigger",n))&&Kt.ScrollTrigger.create(n,e)},Yf=function(e,n,r,s,i){if(Ld(e,n,i),!e._initted)return 1;if(!r&&e._pt&&!Et&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Pf!==Jt.frame)return Ir.push(e),e._lazy=[i,s],1},B8=function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))},Md=function(e){var n=e.data;return n==="isFromStart"||n==="isStart"},A8=function(e,n,r,s){var i=e.ratio,a=n<0||!n&&(!e._start&&B8(e)&&!(!e._initted&&Md(e))||(e._ts<0||e._dp._ts<0)&&!Md(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||Et||s||e._zTime===je||!n&&e._zTime){if(!e._initted&&Yf(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&&xd(e,n,r,!0),e._onUpdate&&!r&&Qt(e,"onUpdate"),c&&e._repeat&&!r&&e.parent&&Qt(e,"onRepeat"),(n>=e._tDur||n<0)&&e.ratio===a&&(a&&zr(e,1),!r&&!Et&&(Qt(e,a?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=n)},F8=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=St(n)||0,l=e._tTime/e._tDur;return l&&!s&&(e._time*=a/e._dur),e._dur=a,e._tDur=i?i<0?1e10:St(a*(i+1)+e._rDelay*i):a,l>0&&!s&&Ba(e,e._tTime=e._tDur*l),e.parent&&Na(e),r||bs(e.parent,e),e},Wf=function(e){return e instanceof Nt?bs(e):hi(e,e._dur)},R8={_start:0,endTime:so,totalDuration:so},hn=function t(e,n,r){var s=e.labels,i=e._recent||R8,a=e.duration()>=dn?i.endTime(!1):e._dur,l,c,d;return Mt(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*($t(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=Ft(c.vars.inherit)&&c.parent;a.immediateRender=Ft(l.immediateRender),e<2?a.runBackwards=1:a.startAt=n[i-1]}return new yt(n[0],a,n[i+1])},Hr=function(e,n){return e||e===0?n(e):n},ao=function(e,n,r){return r<e?e:r>n?n:r},Pt=function(e,n){return!Mt(e)||!(n=O8.exec(e))?"":n[1]},I8=function(e,n,r){return Hr(r,function(s){return ao(e,n,s)})},Sd=[].slice,jf=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 Mt(s)&&!n||jf(s,1)?(i=r).push.apply(i,fn(s)):r.push(s)})||r},fn=function(e,n,r){return Ke&&!n&&Ke.selector?Ke.selector(e):Mt(e)&&!r&&(pd||!mi())?Sd.call((n||gd).querySelectorAll(e),0):$t(e)?z8(e,r):jf(e)?Sd.call(e,0):e?[e]:[]},vd=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")||gd.createElement("div"):e)}},Zf=function(e){return e.sort(function(){return .5-Math.random()})},Uf=function(e){if(it(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 Mt(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,D,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,D=dn,T=0;T<p;T++)k=T%E-y,v=C-(T/E|0),_[T]=M=d?Math.abs(d==="y"?v:k):Mf(k*k+v*v),M>S&&(S=M),M<D&&(D=M);s==="random"&&Zf(_),_.max=S-D,_.min=D,_.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=Pt(n.amount||n.each)||0,r=r&&p<0?i0(r):r}return p=(_[f]-_.min)/_.max||0,St(_.b+(r?r(p):p)*_.v)+_.u}},Td=function(e){var n=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var s=St(Math.round(parseFloat(r)/e)*e*n);return(s-s%1)/n+(ur(r)?0:Pt(r))}},qf=function(e,n){var r=$t(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=Td(e.increment)),Hr(n,r?it(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+Pt(a)}:Td(e))},Gf=function(e,n,r,s){return Hr($t(e)?!n:r===!0?!!(r=0):!s,function(){return $t(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})},H8=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)}},Y8=function(e,n){return function(r){return e(parseFloat(r))+(n||Pt(r))}},W8=function(e,n,r){return Xf(e,n,0,1,r)},Kf=function(e,n,r){return Hr(r,function(s){return e[~~n(s)]})},j8=function t(e,n,r){var s=n-e;return $t(e)?Kf(e,t(0,e.length),n):Hr(r,function(i){return(s+(i-e)%s)%s+e})},Z8=function t(e,n,r){var s=n-e,i=s*2;return $t(e)?Kf(e,t(0,e.length-1),n):Hr(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?Of:fd),r+=e.substr(n,s-n)+Gf(l?i:+i[0],l?0:+i[1],+i[2]||1e-5),n=a+1;return r+e.substr(n,e.length-n)},Xf=function(e,n,r,s,i){var a=n-e,l=s-r;return Hr(i,function(c){return r+((c-e)/a*l||0)})},U8=function t(e,n,r,s){var i=isNaN(e+n)?0:function(m){return(1-m)*e+m*n};if(!i){var a=Mt(e),l={},c,d,u,h,f;if(r===!0&&(s=1)&&(r=null),a)e={p:e},n={p:n};else if($t(e)&&!$t(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($t(e)?[]:{},e));if(!u){for(c in n)$d.call(l,e,c,"get",n[c]);i=function(g){return Bd(g,l)||(a?e.p:e)}}}return Hr(r,i)},Qf=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},Qt=function(e,n,r){var s=e.vars,i=s[n],a=Ke,l=e._ctx,c,d,u;if(i)return c=s[n+"Params"],d=s.callbackScope||e,r&&Ir.length&&$a(),l&&(Ke=l),u=c?i.apply(d,c):i.call(d),Ke=a,u},co=function(e){return zr(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Et),e.progress()<1&&Qt(e,"onInterrupt"),e},fi,Jf=[],e0=function(e){if(e)if(e=!e.name&&e.default||e,hd()||e.headless){var n=e.name,r=it(e),s=n&&!r&&e.init?function(){this._props=[]}:e,i={init:so,render:Bd,add:$d,kill:cw,modifier:lw,rawVars:0},a={targetTest:0,get:0,getSetter:Nd,aliases:{},register:0};if(mi(),e!==s){if(Xt[n])return;un(s,un(Pa(e,i),a)),ws(s.prototype,ws(i,Pa(e,a))),Xt[s.prop=n]=s,e.targetTest&&(Ea.push(s),yd[n]=1),n=(n==="css"?"CSS":n.charAt(0).toUpperCase()+n.substr(1))+"Plugin"}$f(n,s),e.register&&e.register(zt,s,It)}else Jf.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]},Od=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},t0=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(fd),!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]=Od(c+1/3,i,a),s[1]=Od(c,i,a),s[2]=Od(c-1/3,i,a);else if(~e.indexOf("="))return s=e.match(vf),r&&s.length<4&&(s[3]=1),s}else s=e.match(fd)||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},n0=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},r0=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=t0(f,n,1))&&a+(n?f[0]+","+f[1]+"%,"+f[2]+"%,"+f[3]:f.join(","))+")"}),r&&(u=n0(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")}(),q8=/hsl[a]?\(/,s0=function(e){var n=e.join(" "),r;if(Yr.lastIndex=0,Yr.test(n))return r=q8.test(n),e[1]=r0(e[1],r),e[0]=r0(e[0],r,n0(e[1])),!0},ho,Jt=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(){Df&&(!pd&&hd()&&(qn=pd=window,gd=qn.document||{},Kt.gsap=zt,(qn.gsapVersions||(qn.gsapVersions=[])).push(zt.version),Ef(Oa||qn.GreenSockGlobals||!qn.gsap&&qn||{}),Jf.forEach(e0)),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&&Jt.wake()},xe={},G8=/^[\d.\-M][\d.\-,\s]/,K8=/["']/g,X8=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(K8,"").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)},J8=function(e){var n=(e+"").split("("),r=xe[n[0]];return r&&n.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[X8(n[1])]:Q8(e).split(",").map(Bf)):xe._CE&&G8.test(e)?xe._CE("",e):r},i0=function(e){return function(n){return 1-e(1-n)}},o0=function t(e,n){for(var r=e._first,s;r;)r instanceof Nt?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&&(it(e)?e:xe[e]||J8(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 Rt(e,function(l){xe[l]=Kt[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},a0=function(e){return function(n){return n<.5?(1-e(1-n*2))/2:.5+e((n-.5)*2)/2}},Dd=function t(e,n,r){var s=n>=1?n:1,i=(r||(e?.3:.45))/(n<1?n:1),a=i/dd*(Math.asin(1/s)||0),l=function(u){return u===1?1:s*Math.pow(2,-10*u)*T8((u-a)*i)+1},c=e==="out"?l:e==="in"?function(d){return 1-l(1-d)}:a0(l);return i=dd/i,c.config=function(d,u){return t(e,d,u)},c},Ed=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)}:a0(r);return s.config=function(i){return t(e,i)},s};Rt("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",Dd("in"),Dd("out"),Dd()),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-(Mf(1-t*t)-1)}),Cs("Sine",function(t){return t===1?1:-v8(t*M8)+1}),Cs("Back",Ed("in"),Ed("out"),Ed()),xe.SteppedEase=xe.steps=Kt.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"],Rt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return kd+=t+","+t+"Params,"});var l0=function(e,n){this.id=S8++,e._gsap=this,this.target=e,this.harness=n,this.get=n?n.get:Vf,this.set=n?n.getSetter:Nd},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,Ke&&(this._ctx=Ke,Ke.data.push(this)),ho||Jt.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(Ba(this,r),!i._dp||i.parent||zf(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),Nf(this,r,s)),this},e.time=function(r,s){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+If(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)+If(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?Va(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),Na(this),V8(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+(Ft(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?Va(s.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=E8);var s=Et;return Et=r,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),Et=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,Wf(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var s=this._time;return this._rDelay=r,Wf(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),Ft(s))},e.restart=function(r,s){return this.play().totalTime(r?-this._delay:0,Ft(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=it(r)?r:Af,l=function(){var d=s.then;s.then=null,it(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 Nt=function(t){xf(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=Ft(r.sortChildren),et&&Gn(r.parent||et,dr(i),s),r.reversed&&i.reverse(),r.paused&&i.paused(!0),r.scrollTrigger&&Hf(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 yt(s,i,hn(this,a),1),this},n.call=function(s,i,a){return Gn(this,yt.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 yt(s,a,hn(this,c)),this},n.staggerFrom=function(s,i,a,l,c,d,u){return a.runBackwards=1,io(a).immediateRender=Ft(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=Ft(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:St(s),h=this._zTime<0!=s<0&&(this._initted||!d),f,m,g,p,_,y,C,k,v,M,T,S;if(this!==et&&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=St(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 D=T&&M&1,E=D===(T&&p&1);if(p<M&&(D=!D),l=D?0:u%d?d:u,this._lock=1,this.render(l||(S?0:St(p*_)),i,!d)._lock=0,this._tTime=u,!i&&this.parent&&Qt(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=D?d:-1e-4,this.render(l,!0),this.vars.repeatRefresh&&!S&&this.invalidate()),this._lock=0,!this._ts&&!y)return this;o0(this,S)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(C=F8(this,St(l),St(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&&(Qt(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||Et&&(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,Na(this),this.render(s,i,a);this._onUpdate&&!i&&Qt(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)&&zr(this,1),!i&&!(s<0&&!l)&&(u||l||!c)&&(Qt(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($t(s))return s.forEach(function(l){return a.add(l,i)}),this;if(Mt(s))return this.addLabel(s,i);if(it(s))s=yt.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 yt?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 Mt(s)?this.removeLabel(s):it(s)?this.killTweensOf(s):(La(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=St(Jt.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=yt.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"&&zr(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 yt?$8(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=yt.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),Qf(this,hn(this,s))},n.previousLabel=function(s){return s===void 0&&(s=this._time),Qf(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===et&&a._time>i?a._time:i,1,1),a._dirty=0}return a._tDur},e.updateRoot=function(s){if(et._ts&&(Nf(et,Va(s,et)),Pf=Jt.frame),Jt.frame>=Lf){Lf+=Gt.autoSleep||120;var i=et._first;if((!i||!i._ts)&&Gt.autoSleep&&Jt._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||Jt.sleep()}}},e}(fo);un(Nt.prototype,{_lock:0,_hasPause:0,_forcing:0});var ew=function(e,n,r,s,i,a,l){var c=new It(this._pt,e,n,0,1,m0,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(md)||[];h=md.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=md.lastIndex);return c.c=d<s.length?s.substring(d,s.length):"",c.fp=l,(Tf.test(s)||y)&&(c.e=0),this._pt=c,c},$d=function(e,n,r,s,i,a,l,c,d,u){it(s)&&(s=s(i||0,e,a));var h=e[n],f=r!=="get"?r:it(h)?d?e[n.indexOf("set")||!it(e["get"+n.substr(3)])?n:"get"+n.substr(3)](d):e[n]():h,m=it(h)?d?iw:h0:Vd,g;if(Mt(s)&&(~s.indexOf("random(")&&(s=lo(s)),s.charAt(1)==="="&&(g=di(f,s)+(Pt(f)||0),(g||g===0)&&(s=g))),!u||f!==s||Pd)return!isNaN(f*s)&&s!==""?(g=new It(this._pt,e,n,+f||0,s-(f||0),typeof h=="boolean"?aw:f0,0,m),d&&(g.fp=d),l&&g.modifier(l,this,e),this._pt=g):(!h&&!(n in e)&&_d(n,s),ew.call(this,e,n,f,s,m,c||Gt.stringFilter,d))},tw=function(e,n,r,s,i){if(it(e)&&(e=mo(e,i,n,r,s)),!Un(e)||e.style&&e.nodeType||$t(e)||Sf(e))return Mt(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},c0=function(e,n,r,s,i,a){var l,c,d,u;if(Xt[e]&&(l=new Xt[e]).init(i,l.rawVars?n[e]:tw(n[e],s,i,a,r),r,s,a)!==!1&&(r._pt=c=new It(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,Pd,Ld=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"&&!cd,v=e.timeline,M,T,S,D,E,I,j,$,R,G,O,x,V;if(v&&(!f||!i)&&(i="none"),e._ease=ks(i,li.ease),e._yEase=h?i0(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=Pa(s,yd),p&&(p._zTime<0&&p.progress(1),n<0&&u&&l&&!m?p.render(-1,!0):p.revert(u&&g?Da:D8),p._lazy=0),a){if(zr(e._startAt=yt.set(_,un({data:"isStart",overwrite:!1,parent:y,immediateRender:!0,lazy:!p&&Ft(c),startAt:null,delay:0,onUpdate:d&&function(){return Qt(e,"onUpdate")},stagger:0},a))),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Et||!l&&!m)&&e._startAt.revert(Da),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&&Ft(c),immediateRender:l,stagger:0,parent:y},M),x&&(S[$.prop]=x),zr(e._startAt=yt.set(_,S)),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Et?e._startAt.revert(Da):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&&Ft(c)||c&&!g,T=0;T<_.length;T++){if(E=_[T],j=E._gsap||Cd(_)[T]._gsap,e._ptLookup[T]=G={},wd[j.id]&&Ir.length&&$a(),O=C===_?T:C.indexOf(E),$&&(R=new $).init(E,x||M,e,O,C)!==!1&&(e._pt=D=new It(e._pt,E,R.name,0,1,R.render,R,0,R.priority),R._props.forEach(function(Z){G[Z]=D}),R.priority&&(I=1)),!$||x)for(S in M)Xt[S]&&(R=c0(S,M,e,O,E,C))?R.priority&&(I=1):G[S]=D=$d.call(e,E,S,"get",M[S],O,C,0,s.stringFilter);e._op&&e._op[T]&&e.kill(E,e._op[T]),k&&e._pt&&(Wr=e,et.killTweensOf(E,G,e.globalTime(n)),V=!e.parent,Wr=0),e._pt&&c&&(wd[j.id]=1)}I&&p0(e),e._onInit&&e._onInit(e)}e._onUpdate=d,e._initted=(!e._op||e._pt)&&!V,f&&n<=0&&v.render(dn,!0,!0)},nw=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 Pd=1,e.vars[n]="+=0",Ld(e,l),Pd=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=mt(r)+Pt(h.e)),h.b&&(h.b=u.s+Pt(h.b))},rw=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},sw=function(e,n,r,s){var i=n.ease||s||"power1.inOut",a,l;if($t(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 it(e)?e.call(n,r,s,i):Mt(e)&&~e.indexOf("random(")?lo(e):e},d0=kd+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",u0={};Rt(d0+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return u0[t]=1});var yt=function(t){xf(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||et,k=($t(r)||Sf(r)?ur(r[0]):"length"in s)?[r]:fn(r),v,M,T,S,D,E,I,j;if(l._targets=k.length?Cd(k):ro("GSAP target "+r+" not found. https://gsap.com",!Gt.nullTargetWarn)||[],l._ptLookup=[],l._overwrite=m,g||f||Ta(d)||Ta(u)){if(s=l.vars,v=l.timeline=new Nt({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||Ta(d)||Ta(u)){if(S=k.length,I=f&&Uf(f),Un(f))for(D in f)~d0.indexOf(D)&&(j||(j={}),j[D]=f[D]);for(M=0;M<S;M++)T=Pa(s,u0),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,O;if($t(g))g.forEach(function(x){return v.to(k,x,">")}),v.duration();else{T={};for(D in g)D==="ease"||D==="easeEach"||sw(D,g[D],T,g.easeEach);for(D in T)for(R=T[D].sort(function(x,V){return x.t-V.t}),$=0,M=0;M<R.length;M++)G=R[M],O={ease:G.e,duration:(G.t-(M?R[M-1].t:0))/100*d},O[D]=G.v,v.to(k,O,$),$+=O.duration;v.duration()<d&&v.to({},{duration:d-v.duration()})}}d||l.duration(d=v.duration())}else l.timeline=0;return m===!0&&!cd&&(Wr=dr(l),et.killTweensOf(k),Wr=0),Gn(C,dr(l),i),s.reversed&&l.reverse(),s.paused&&l.paused(!0),(h||!d&&!g&&l._start===St(C._time)&&Ft(h)&&N8(dr(l))&&C.data!=="nested")&&(l._tTime=-je,l.render(Math.max(0,-u)||0)),_&&Hf(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)A8(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=St(h%p),h===c?(g=this._repeat,f=d):(g=~~(h/p),g&&g===St(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&&o0(k,y),this.vars.repeatRefresh&&!y&&!this._lock&&this._time!==p&&this._initted&&(this._lock=a=1,this.render(St(p*g),!0).invalidate()._lock=0))}if(!this._initted){if(Yf(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&&(Qt(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&&xd(this,s,i,a),Qt(this,"onUpdate")),this._repeat&&g!==_&&this.vars.onRepeat&&!i&&this.parent&&Qt(this,"onRepeat"),(h===this._tDur||!h)&&this._tTime===h&&(u&&!this._onUpdate&&xd(this,s,!0,!0),(s||!d)&&(h===this._tDur&&this._ts>0||!h&&this._ts<0)&&zr(this,1),!i&&!(u&&!l)&&(h||l||y)&&(Qt(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||Jt.wake(),this._ts||this.play();var d=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||Ld(this,d),u=this._ease(d/this._dur),nw(this,s,i,a,l,u,d,c)?this.resetTo(s,i,a,l,1):(Ba(this,0),this.parent||Rf(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")&&L8(l,c))return i==="all"&&(this._pt=0),co(this);for(h=this._op=this._op||[],i!=="all"&&(Mt(i)&&(p={},Rt(i,function(C){return p[C]=1}),i=p),i=rw(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)&&La(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 et.killTweensOf(s,i,a)},e}(fo);un(yt.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Rt("staggerTo,staggerFrom,staggerFromTo",function(t){yt[t]=function(){var e=new Nt,n=Sd.call(arguments,0);return n.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,n)}});var Vd=function(e,n,r){return e[n]=r},h0=function(e,n,r){return e[n](r)},iw=function(e,n,r,s){return e[n](s.fp,r)},ow=function(e,n,r){return e.setAttribute(n,r)},Nd=function(e,n){return it(e[n])?h0:ud(e[n])&&e.setAttribute?ow:Vd},f0=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e6)/1e6,n)},aw=function(e,n){return n.set(n.t,n.p,!!(n.s+n.c*e),n)},m0=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)},Bd=function(e,n){for(var r=n._pt;r;)r.r(e,r.d),r=r._next},lw=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},cw=function(e){for(var n=this._pt,r,s;n;)s=n._next,n.p===e&&!n.op||n.op===e?La(this,n,"_pt"):n.dep||(r=1),n=s;return!r},dw=function(e,n,r,s){s.mSet(e,n,s.m.call(s.tween,r,s.mt),s)},p0=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},It=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||f0,this.d=c||this,this.set=d||Vd,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=dw,this.m=r,this.mt=i,this.tween=s},t}();Rt(kd+"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 yd[t]=1}),Kt.TweenMax=Kt.TweenLite=yt,Kt.TimelineLite=Kt.TimelineMax=Nt,et=new Nt({sortChildren:!1,defaults:li,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Gt.stringFilter=s0;var xs=[],Aa={},uw=[],g0=0,hw=0,Ad=function(e){return(Aa[e]||uw).map(function(n){return n()})},Fd=function(){var e=Date.now(),n=[];e-g0>2&&(Ad("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))}),Ad("matchMediaRevert"),n.forEach(function(r){return r.onMatch(r,function(s){return r.add(null,s)})}),g0=e,Ad("matchMedia"))},_0=function(){function t(n,r){this.selector=r&&vd(r),this.data=[],this._r=[],this.isReverted=!1,this.id=hw++,n&&this.add(n)}var e=t.prototype;return e.add=function(r,s,i){it(r)&&(i=s,s=r,r=it);var a=this,l=function(){var d=Ke,u=a.selector,h;return d&&d!==a&&d.data.push(a),i&&(a.selector=vd(i)),Ke=a,h=s.apply(a,arguments),it(h)&&a._r.push(h),Ke=d,a.selector=u,a.isReverted=!1,h};return a.last=l,r===it?l(a,function(c){return a.add(null,c)}):r?a[r]=l:l},e.ignore=function(r){var s=Ke;Ke=null,r(this),Ke=s},e.getTweens=function(){var r=[];return this.data.forEach(function(s){return s instanceof t?r.push.apply(r,s.getTweens()):s instanceof yt&&!(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 Nt?d.data!=="nested"&&(d.scrollTrigger&&d.scrollTrigger.revert(),d.kill()):!(d instanceof yt)&&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}(),fw=function(){function t(n){this.contexts=[],this.scope=n,Ke&&Ke.data.push(this)}var e=t.prototype;return e.add=function(r,s,i){Un(r)||(r={matches:r});var a=new _0(0,i||this.scope),l=a.conditions={},c,d,u;Ke&&!a.selector&&(a.selector=Ke.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(Fd):c.addEventListener("change",Fd)));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}(),Fa={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 e0(s)})},timeline:function(e){return new Nt(e)},getTweensOf:function(e,n){return et.getTweensOf(e,n)},getProperty:function(e,n,r,s){Mt(e)&&(e=fn(e)[0]);var i=ys(e||{}).get,a=r?Af:Bf;return r==="native"&&(r=""),e&&(n?a((Xt[n]&&Xt[n].get||i)(e,n,r,s)):function(l,c,d){return a((Xt[l]&&Xt[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 zt.quickSetter(u,n,r)}),i=s.length;return function(u){for(var h=i;h--;)s[h](u)}}e=e[0]||{};var a=Xt[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&&Bd(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=zt.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 et.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=ks(e.ease,li.ease)),Ff(li,e||{})},config:function(e){return Ff(Gt,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&&!Xt[l]&&!Kt[l]&&ro(n+" effect requires "+l+" plugin.")}),bd[n]=function(l,c,d){return r(fn(l),un(c||{},i),d)},a&&(Nt.prototype[n]=function(l,c,d){return this.add(bd[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 et.getById(e)},exportRoot:function(e,n){e===void 0&&(e={});var r=new Nt(e),s,i;for(r.smoothChildTiming=Ft(e.smoothChildTiming),et.remove(r),r._dp=0,r._time=r._tTime=et._time,s=et._first;s;)i=s._next,(n||!(!s._dur&&s instanceof yt&&s.vars.onComplete===s._targets[0]))&&Gn(r,s,s._start-s._delay),s=i;return Gn(et,r,0),r},context:function(e,n){return e?new _0(e,n):Ke},matchMedia:function(e){return new fw(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()})||Fd()},addEventListener:function(e,n){var r=Aa[e]||(Aa[e]=[]);~r.indexOf(n)||r.push(n)},removeEventListener:function(e,n){var r=Aa[e],s=r&&r.indexOf(n);s>=0&&r.splice(s,1)},utils:{wrap:j8,wrapYoyo:Z8,distribute:Uf,random:Gf,snap:qf,normalize:W8,getUnit:Pt,clamp:I8,splitColor:t0,toArray:fn,selector:vd,mapRange:Xf,pipe:H8,unitize:Y8,interpolate:U8,shuffle:Zf},install:Ef,effects:bd,ticker:Jt,updateRoot:Nt.updateRoot,plugins:Xt,globalTimeline:et,core:{PropTween:It,globals:$f,Tween:yt,Timeline:Nt,Animation:fo,getCache:ys,_removeLinkedListItem:La,reverting:function(){return Et},context:function(e){return e&&Ke&&(Ke.data.push(e),e._ctx=Ke),Ke},suppressOverwrites:function(e){return cd=e}}};Rt("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return Fa[t]=yt[t]}),Jt.add(Nt.updateRoot),fi=Fa.to({},{duration:0});var mw=function(e,n){for(var r=e._pt;r&&r.p!==n&&r.op!==n&&r.fp!==n;)r=r._next;return r},pw=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=mw(a,s)),a&&a.modifier&&a.modifier(n[s],e,r[i],s))},Rd=function(e,n){return{name:e,rawVars:1,init:function(s,i,a){a._onInit=function(l){var c,d;if(Mt(i)&&(c={},Rt(i,function(u){return c[u]=1}),i=c),n){c={};for(d in i)c[d]=n(i[d]);i=c}pw(l,i)}}}},zt=Fa.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;)Et?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)}},Rd("roundProps",Td),Rd("modifiers"),Rd("snap",qf))||Fa;yt.version=Nt.version=zt.version="3.12.5",Df=1,hd()&&mi(),xe.Power0,xe.Power1,xe.Power2,xe.Power3,xe.Power4;var gw=xe.Linear;xe.Quad,xe.Cubic,xe.Quart,xe.Quint,xe.Strong,xe.Elastic,xe.Back,xe.SteppedEase,xe.Bounce;var Id=xe.Sine;xe.Expo,xe.Circ;/*!
|
|
9
|
+
*/var Gt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},li={duration:.5,overwrite:!1,delay:0},cd,Et,Ke,dn=1e8,je=1/dn,dd=Math.PI*2,M8=dd/4,S8=0,Mf=Math.sqrt,v8=Math.cos,T8=Math.sin,Mt=function(e){return typeof e=="string"},it=function(e){return typeof e=="function"},ur=function(e){return typeof e=="number"},ud=function(e){return typeof e>"u"},Un=function(e){return typeof e=="object"},Ft=function(e){return e!==!1},hd=function(){return typeof window<"u"},Ta=function(e){return it(e)||Mt(e)},Sf=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},$t=Array.isArray,fd=/(?:-?\.?\d|\.)+/gi,vf=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ci=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,md=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Tf=/[+-]=-?[.\d]+/,Of=/[^,'"\[\]\s]+/gi,O8=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,et,qn,pd,gd,Kt={},Oa={},Df,Ef=function(e){return(Oa=ws(e,Kt))&&Ht},_d=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)},$f=function(e,n){return e&&(Kt[e]=n)&&Oa&&(Oa[e]=n)||Kt},so=function(){return 0},D8={suppressEvents:!0,isStart:!0,kill:!1},Da={suppressEvents:!0,kill:!1},E8={suppressEvents:!0},yd={},Ir=[],wd={},Pf,Xt={},bd={},Lf=30,Ea=[],kd="",Cd=function(e){var n=e[0],r,s;if(Un(n)||it(n)||(e=[e]),!(r=(n._gsap||{}).harness)){for(s=Ea.length;s--&&!Ea[s].targetTest(n););r=Ea[s]}for(s=e.length;s--;)e[s]&&(e[s]._gsap||(e[s]._gsap=new l0(e[s],r)))||e.splice(s,1);return e},ys=function(e){return e._gsap||Cd(fn(e))[0]._gsap},Vf=function(e,n,r){return(r=e[n])&&it(r)?e[n]():ud(r)&&e.getAttribute&&e.getAttribute(n)||r},Rt=function(e,n){return(e=e.split(",")).forEach(n)||e},mt=function(e){return Math.round(e*1e5)/1e5||0},St=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},$8=function(e,n){for(var r=n.length,s=0;e.indexOf(n[s])<0&&++s<r;);return s<r},$a=function(){var e=Ir.length,n=Ir.slice(0),r,s;for(wd={},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)},Nf=function(e,n,r,s){Ir.length&&!Et&&$a(),e.render(n,r,s||Et&&n<0&&(e._initted||e._startAt)),Ir.length&&!Et&&$a()},Bf=function(e){var n=parseFloat(e);return(n||n===0)&&(e+"").match(Of).length<2?n:Mt(e)?e.trim():e},Af=function(e){return e},un=function(e,n){for(var r in n)r in e||(e[r]=n[r]);return e},P8=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},Ff=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},Pa=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||et,r=e.keyframes?P8($t(e.keyframes)):un;if(Ft(e.inherit))for(;n;)r(e,n.vars.defaults),n=n.parent||n._dp;return e},L8=function(e,n){for(var r=e.length,s=r===n.length;s&&r--&&e[r]===n[r];);return r<0},Rf=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},La=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},V8=function(e){for(var n=e.parent;n&&n.parent;)n._dirty=1,n.totalDuration(),n=n.parent;return e},xd=function(e,n,r,s){return e._startAt&&(Et?e._startAt.revert(Da):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(n,!0,s))},N8=function t(e){return!e||e._ts&&t(e.parent)},If=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},Va=function(e,n){return(e-n._start)*n._ts+(n._ts>=0?0:n._dirty?n.totalDuration():n._tDur)},Na=function(e){return e._end=St(e._start+(e._tDur/Math.abs(e._ts||e._rts||je)||0))},Ba=function(e,n){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=St(r._time-(e._ts>0?n/e._ts:((e._dirty?e.totalDuration():e._tDur)-n)/-e._ts)),Na(e),r._dirty||bs(r,e)),e},Hf=function(e,n){var r;if((n._time||!n._dur&&n._initted||n._start<e._time&&(n._dur||!n.add))&&(r=Va(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=St((ur(r)?r:r||e!==et?hn(e,r,n):e._time)+n._delay),n._end=St(n._start+(n.totalDuration()/Math.abs(n.timeScale())||0)),Rf(e,n,"_first","_last",e._sort?"_start":0),Md(n)||(e._recent=n),s||Hf(e,n),e._ts<0&&Ba(e,e._tTime),e},zf=function(e,n){return(Kt.ScrollTrigger||_d("scrollTrigger",n))&&Kt.ScrollTrigger.create(n,e)},Yf=function(e,n,r,s,i){if(Ld(e,n,i),!e._initted)return 1;if(!r&&e._pt&&!Et&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Pf!==Jt.frame)return Ir.push(e),e._lazy=[i,s],1},B8=function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))},Md=function(e){var n=e.data;return n==="isFromStart"||n==="isStart"},A8=function(e,n,r,s){var i=e.ratio,a=n<0||!n&&(!e._start&&B8(e)&&!(!e._initted&&Md(e))||(e._ts<0||e._dp._ts<0)&&!Md(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||Et||s||e._zTime===je||!n&&e._zTime){if(!e._initted&&Yf(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&&xd(e,n,r,!0),e._onUpdate&&!r&&Qt(e,"onUpdate"),c&&e._repeat&&!r&&e.parent&&Qt(e,"onRepeat"),(n>=e._tDur||n<0)&&e.ratio===a&&(a&&Hr(e,1),!r&&!Et&&(Qt(e,a?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=n)},F8=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=St(n)||0,l=e._tTime/e._tDur;return l&&!s&&(e._time*=a/e._dur),e._dur=a,e._tDur=i?i<0?1e10:St(a*(i+1)+e._rDelay*i):a,l>0&&!s&&Ba(e,e._tTime=e._tDur*l),e.parent&&Na(e),r||bs(e.parent,e),e},Wf=function(e){return e instanceof Nt?bs(e):hi(e,e._dur)},R8={_start:0,endTime:so,totalDuration:so},hn=function t(e,n,r){var s=e.labels,i=e._recent||R8,a=e.duration()>=dn?i.endTime(!1):e._dur,l,c,d;return Mt(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*($t(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=Ft(c.vars.inherit)&&c.parent;a.immediateRender=Ft(l.immediateRender),e<2?a.runBackwards=1:a.startAt=n[i-1]}return new yt(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},Pt=function(e,n){return!Mt(e)||!(n=O8.exec(e))?"":n[1]},I8=function(e,n,r){return zr(r,function(s){return ao(e,n,s)})},Sd=[].slice,jf=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},H8=function(e,n,r){return r===void 0&&(r=[]),e.forEach(function(s){var i;return Mt(s)&&!n||jf(s,1)?(i=r).push.apply(i,fn(s)):r.push(s)})||r},fn=function(e,n,r){return Ke&&!n&&Ke.selector?Ke.selector(e):Mt(e)&&!r&&(pd||!mi())?Sd.call((n||gd).querySelectorAll(e),0):$t(e)?H8(e,r):jf(e)?Sd.call(e,0):e?[e]:[]},vd=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")||gd.createElement("div"):e)}},Zf=function(e){return e.sort(function(){return .5-Math.random()})},Uf=function(e){if(it(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 Mt(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,D,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,D=dn,T=0;T<p;T++)k=T%E-y,v=C-(T/E|0),_[T]=M=d?Math.abs(d==="y"?v:k):Mf(k*k+v*v),M>S&&(S=M),M<D&&(D=M);s==="random"&&Zf(_),_.max=S-D,_.min=D,_.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=Pt(n.amount||n.each)||0,r=r&&p<0?i0(r):r}return p=(_[f]-_.min)/_.max||0,St(_.b+(r?r(p):p)*_.v)+_.u}},Td=function(e){var n=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var s=St(Math.round(parseFloat(r)/e)*e*n);return(s-s%1)/n+(ur(r)?0:Pt(r))}},qf=function(e,n){var r=$t(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=Td(e.increment)),zr(n,r?it(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+Pt(a)}:Td(e))},Gf=function(e,n,r,s){return zr($t(e)?!n:r===!0?!!(r=0):!s,function(){return $t(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})},z8=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)}},Y8=function(e,n){return function(r){return e(parseFloat(r))+(n||Pt(r))}},W8=function(e,n,r){return Xf(e,n,0,1,r)},Kf=function(e,n,r){return zr(r,function(s){return e[~~n(s)]})},j8=function t(e,n,r){var s=n-e;return $t(e)?Kf(e,t(0,e.length),n):zr(r,function(i){return(s+(i-e)%s)%s+e})},Z8=function t(e,n,r){var s=n-e,i=s*2;return $t(e)?Kf(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?Of:fd),r+=e.substr(n,s-n)+Gf(l?i:+i[0],l?0:+i[1],+i[2]||1e-5),n=a+1;return r+e.substr(n,e.length-n)},Xf=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)})},U8=function t(e,n,r,s){var i=isNaN(e+n)?0:function(m){return(1-m)*e+m*n};if(!i){var a=Mt(e),l={},c,d,u,h,f;if(r===!0&&(s=1)&&(r=null),a)e={p:e},n={p:n};else if($t(e)&&!$t(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($t(e)?[]:{},e));if(!u){for(c in n)$d.call(l,e,c,"get",n[c]);i=function(g){return Bd(g,l)||(a?e.p:e)}}}return zr(r,i)},Qf=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},Qt=function(e,n,r){var s=e.vars,i=s[n],a=Ke,l=e._ctx,c,d,u;if(i)return c=s[n+"Params"],d=s.callbackScope||e,r&&Ir.length&&$a(),l&&(Ke=l),u=c?i.apply(d,c):i.call(d),Ke=a,u},co=function(e){return Hr(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Et),e.progress()<1&&Qt(e,"onInterrupt"),e},fi,Jf=[],e0=function(e){if(e)if(e=!e.name&&e.default||e,hd()||e.headless){var n=e.name,r=it(e),s=n&&!r&&e.init?function(){this._props=[]}:e,i={init:so,render:Bd,add:$d,kill:cw,modifier:lw,rawVars:0},a={targetTest:0,get:0,getSetter:Nd,aliases:{},register:0};if(mi(),e!==s){if(Xt[n])return;un(s,un(Pa(e,i),a)),ws(s.prototype,ws(i,Pa(e,a))),Xt[s.prop=n]=s,e.targetTest&&(Ea.push(s),yd[n]=1),n=(n==="css"?"CSS":n.charAt(0).toUpperCase()+n.substr(1))+"Plugin"}$f(n,s),e.register&&e.register(Ht,s,It)}else Jf.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]},Od=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},t0=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(fd),!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]=Od(c+1/3,i,a),s[1]=Od(c,i,a),s[2]=Od(c-1/3,i,a);else if(~e.indexOf("="))return s=e.match(vf),r&&s.length<4&&(s[3]=1),s}else s=e.match(fd)||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},n0=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},r0=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=t0(f,n,1))&&a+(n?f[0]+","+f[1]+"%,"+f[2]+"%,"+f[3]:f.join(","))+")"}),r&&(u=n0(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")}(),q8=/hsl[a]?\(/,s0=function(e){var n=e.join(" "),r;if(Yr.lastIndex=0,Yr.test(n))return r=q8.test(n),e[1]=r0(e[1],r),e[0]=r0(e[0],r,n0(e[1])),!0},ho,Jt=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(){Df&&(!pd&&hd()&&(qn=pd=window,gd=qn.document||{},Kt.gsap=Ht,(qn.gsapVersions||(qn.gsapVersions=[])).push(Ht.version),Ef(Oa||qn.GreenSockGlobals||!qn.gsap&&qn||{}),Jf.forEach(e0)),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&&Jt.wake()},xe={},G8=/^[\d.\-M][\d.\-,\s]/,K8=/["']/g,X8=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(K8,"").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)},J8=function(e){var n=(e+"").split("("),r=xe[n[0]];return r&&n.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[X8(n[1])]:Q8(e).split(",").map(Bf)):xe._CE&&G8.test(e)?xe._CE("",e):r},i0=function(e){return function(n){return 1-e(1-n)}},o0=function t(e,n){for(var r=e._first,s;r;)r instanceof Nt?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&&(it(e)?e:xe[e]||J8(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 Rt(e,function(l){xe[l]=Kt[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},a0=function(e){return function(n){return n<.5?(1-e(1-n*2))/2:.5+e((n-.5)*2)/2}},Dd=function t(e,n,r){var s=n>=1?n:1,i=(r||(e?.3:.45))/(n<1?n:1),a=i/dd*(Math.asin(1/s)||0),l=function(u){return u===1?1:s*Math.pow(2,-10*u)*T8((u-a)*i)+1},c=e==="out"?l:e==="in"?function(d){return 1-l(1-d)}:a0(l);return i=dd/i,c.config=function(d,u){return t(e,d,u)},c},Ed=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)}:a0(r);return s.config=function(i){return t(e,i)},s};Rt("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",Dd("in"),Dd("out"),Dd()),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-(Mf(1-t*t)-1)}),Cs("Sine",function(t){return t===1?1:-v8(t*M8)+1}),Cs("Back",Ed("in"),Ed("out"),Ed()),xe.SteppedEase=xe.steps=Kt.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"],Rt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return kd+=t+","+t+"Params,"});var l0=function(e,n){this.id=S8++,e._gsap=this,this.target=e,this.harness=n,this.get=n?n.get:Vf,this.set=n?n.getSetter:Nd},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,Ke&&(this._ctx=Ke,Ke.data.push(this)),ho||Jt.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(Ba(this,r),!i._dp||i.parent||Hf(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),Nf(this,r,s)),this},e.time=function(r,s){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+If(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)+If(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?Va(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),Na(this),V8(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+(Ft(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?Va(s.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=E8);var s=Et;return Et=r,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),Et=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,Wf(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var s=this._time;return this._rDelay=r,Wf(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),Ft(s))},e.restart=function(r,s){return this.play().totalTime(r?-this._delay:0,Ft(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=it(r)?r:Af,l=function(){var d=s.then;s.then=null,it(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 Nt=function(t){xf(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=Ft(r.sortChildren),et&&Gn(r.parent||et,dr(i),s),r.reversed&&i.reverse(),r.paused&&i.paused(!0),r.scrollTrigger&&zf(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 yt(s,i,hn(this,a),1),this},n.call=function(s,i,a){return Gn(this,yt.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 yt(s,a,hn(this,c)),this},n.staggerFrom=function(s,i,a,l,c,d,u){return a.runBackwards=1,io(a).immediateRender=Ft(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=Ft(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:St(s),h=this._zTime<0!=s<0&&(this._initted||!d),f,m,g,p,_,y,C,k,v,M,T,S;if(this!==et&&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=St(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 D=T&&M&1,E=D===(T&&p&1);if(p<M&&(D=!D),l=D?0:u%d?d:u,this._lock=1,this.render(l||(S?0:St(p*_)),i,!d)._lock=0,this._tTime=u,!i&&this.parent&&Qt(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=D?d:-1e-4,this.render(l,!0),this.vars.repeatRefresh&&!S&&this.invalidate()),this._lock=0,!this._ts&&!y)return this;o0(this,S)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(C=F8(this,St(l),St(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&&(Qt(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||Et&&(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,Na(this),this.render(s,i,a);this._onUpdate&&!i&&Qt(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)&&(Qt(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($t(s))return s.forEach(function(l){return a.add(l,i)}),this;if(Mt(s))return this.addLabel(s,i);if(it(s))s=yt.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 yt?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 Mt(s)?this.removeLabel(s):it(s)?this.killTweensOf(s):(La(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=St(Jt.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=yt.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 yt?$8(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=yt.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),Qf(this,hn(this,s))},n.previousLabel=function(s){return s===void 0&&(s=this._time),Qf(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===et&&a._time>i?a._time:i,1,1),a._dirty=0}return a._tDur},e.updateRoot=function(s){if(et._ts&&(Nf(et,Va(s,et)),Pf=Jt.frame),Jt.frame>=Lf){Lf+=Gt.autoSleep||120;var i=et._first;if((!i||!i._ts)&&Gt.autoSleep&&Jt._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||Jt.sleep()}}},e}(fo);un(Nt.prototype,{_lock:0,_hasPause:0,_forcing:0});var ew=function(e,n,r,s,i,a,l){var c=new It(this._pt,e,n,0,1,m0,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(md)||[];h=md.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=md.lastIndex);return c.c=d<s.length?s.substring(d,s.length):"",c.fp=l,(Tf.test(s)||y)&&(c.e=0),this._pt=c,c},$d=function(e,n,r,s,i,a,l,c,d,u){it(s)&&(s=s(i||0,e,a));var h=e[n],f=r!=="get"?r:it(h)?d?e[n.indexOf("set")||!it(e["get"+n.substr(3)])?n:"get"+n.substr(3)](d):e[n]():h,m=it(h)?d?iw:h0:Vd,g;if(Mt(s)&&(~s.indexOf("random(")&&(s=lo(s)),s.charAt(1)==="="&&(g=di(f,s)+(Pt(f)||0),(g||g===0)&&(s=g))),!u||f!==s||Pd)return!isNaN(f*s)&&s!==""?(g=new It(this._pt,e,n,+f||0,s-(f||0),typeof h=="boolean"?aw:f0,0,m),d&&(g.fp=d),l&&g.modifier(l,this,e),this._pt=g):(!h&&!(n in e)&&_d(n,s),ew.call(this,e,n,f,s,m,c||Gt.stringFilter,d))},tw=function(e,n,r,s,i){if(it(e)&&(e=mo(e,i,n,r,s)),!Un(e)||e.style&&e.nodeType||$t(e)||Sf(e))return Mt(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},c0=function(e,n,r,s,i,a){var l,c,d,u;if(Xt[e]&&(l=new Xt[e]).init(i,l.rawVars?n[e]:tw(n[e],s,i,a,r),r,s,a)!==!1&&(r._pt=c=new It(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,Pd,Ld=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"&&!cd,v=e.timeline,M,T,S,D,E,I,j,$,R,G,O,x,V;if(v&&(!f||!i)&&(i="none"),e._ease=ks(i,li.ease),e._yEase=h?i0(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=Pa(s,yd),p&&(p._zTime<0&&p.progress(1),n<0&&u&&l&&!m?p.render(-1,!0):p.revert(u&&g?Da:D8),p._lazy=0),a){if(Hr(e._startAt=yt.set(_,un({data:"isStart",overwrite:!1,parent:y,immediateRender:!0,lazy:!p&&Ft(c),startAt:null,delay:0,onUpdate:d&&function(){return Qt(e,"onUpdate")},stagger:0},a))),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Et||!l&&!m)&&e._startAt.revert(Da),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&&Ft(c),immediateRender:l,stagger:0,parent:y},M),x&&(S[$.prop]=x),Hr(e._startAt=yt.set(_,S)),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Et?e._startAt.revert(Da):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&&Ft(c)||c&&!g,T=0;T<_.length;T++){if(E=_[T],j=E._gsap||Cd(_)[T]._gsap,e._ptLookup[T]=G={},wd[j.id]&&Ir.length&&$a(),O=C===_?T:C.indexOf(E),$&&(R=new $).init(E,x||M,e,O,C)!==!1&&(e._pt=D=new It(e._pt,E,R.name,0,1,R.render,R,0,R.priority),R._props.forEach(function(Z){G[Z]=D}),R.priority&&(I=1)),!$||x)for(S in M)Xt[S]&&(R=c0(S,M,e,O,E,C))?R.priority&&(I=1):G[S]=D=$d.call(e,E,S,"get",M[S],O,C,0,s.stringFilter);e._op&&e._op[T]&&e.kill(E,e._op[T]),k&&e._pt&&(Wr=e,et.killTweensOf(E,G,e.globalTime(n)),V=!e.parent,Wr=0),e._pt&&c&&(wd[j.id]=1)}I&&p0(e),e._onInit&&e._onInit(e)}e._onUpdate=d,e._initted=(!e._op||e._pt)&&!V,f&&n<=0&&v.render(dn,!0,!0)},nw=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 Pd=1,e.vars[n]="+=0",Ld(e,l),Pd=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=mt(r)+Pt(h.e)),h.b&&(h.b=u.s+Pt(h.b))},rw=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},sw=function(e,n,r,s){var i=n.ease||s||"power1.inOut",a,l;if($t(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 it(e)?e.call(n,r,s,i):Mt(e)&&~e.indexOf("random(")?lo(e):e},d0=kd+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",u0={};Rt(d0+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return u0[t]=1});var yt=function(t){xf(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||et,k=($t(r)||Sf(r)?ur(r[0]):"length"in s)?[r]:fn(r),v,M,T,S,D,E,I,j;if(l._targets=k.length?Cd(k):ro("GSAP target "+r+" not found. https://gsap.com",!Gt.nullTargetWarn)||[],l._ptLookup=[],l._overwrite=m,g||f||Ta(d)||Ta(u)){if(s=l.vars,v=l.timeline=new Nt({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||Ta(d)||Ta(u)){if(S=k.length,I=f&&Uf(f),Un(f))for(D in f)~d0.indexOf(D)&&(j||(j={}),j[D]=f[D]);for(M=0;M<S;M++)T=Pa(s,u0),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,O;if($t(g))g.forEach(function(x){return v.to(k,x,">")}),v.duration();else{T={};for(D in g)D==="ease"||D==="easeEach"||sw(D,g[D],T,g.easeEach);for(D in T)for(R=T[D].sort(function(x,V){return x.t-V.t}),$=0,M=0;M<R.length;M++)G=R[M],O={ease:G.e,duration:(G.t-(M?R[M-1].t:0))/100*d},O[D]=G.v,v.to(k,O,$),$+=O.duration;v.duration()<d&&v.to({},{duration:d-v.duration()})}}d||l.duration(d=v.duration())}else l.timeline=0;return m===!0&&!cd&&(Wr=dr(l),et.killTweensOf(k),Wr=0),Gn(C,dr(l),i),s.reversed&&l.reverse(),s.paused&&l.paused(!0),(h||!d&&!g&&l._start===St(C._time)&&Ft(h)&&N8(dr(l))&&C.data!=="nested")&&(l._tTime=-je,l.render(Math.max(0,-u)||0)),_&&zf(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)A8(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=St(h%p),h===c?(g=this._repeat,f=d):(g=~~(h/p),g&&g===St(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&&o0(k,y),this.vars.repeatRefresh&&!y&&!this._lock&&this._time!==p&&this._initted&&(this._lock=a=1,this.render(St(p*g),!0).invalidate()._lock=0))}if(!this._initted){if(Yf(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&&(Qt(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&&xd(this,s,i,a),Qt(this,"onUpdate")),this._repeat&&g!==_&&this.vars.onRepeat&&!i&&this.parent&&Qt(this,"onRepeat"),(h===this._tDur||!h)&&this._tTime===h&&(u&&!this._onUpdate&&xd(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)&&(Qt(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||Jt.wake(),this._ts||this.play();var d=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||Ld(this,d),u=this._ease(d/this._dur),nw(this,s,i,a,l,u,d,c)?this.resetTo(s,i,a,l,1):(Ba(this,0),this.parent||Rf(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")&&L8(l,c))return i==="all"&&(this._pt=0),co(this);for(h=this._op=this._op||[],i!=="all"&&(Mt(i)&&(p={},Rt(i,function(C){return p[C]=1}),i=p),i=rw(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)&&La(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 et.killTweensOf(s,i,a)},e}(fo);un(yt.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Rt("staggerTo,staggerFrom,staggerFromTo",function(t){yt[t]=function(){var e=new Nt,n=Sd.call(arguments,0);return n.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,n)}});var Vd=function(e,n,r){return e[n]=r},h0=function(e,n,r){return e[n](r)},iw=function(e,n,r,s){return e[n](s.fp,r)},ow=function(e,n,r){return e.setAttribute(n,r)},Nd=function(e,n){return it(e[n])?h0:ud(e[n])&&e.setAttribute?ow:Vd},f0=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e6)/1e6,n)},aw=function(e,n){return n.set(n.t,n.p,!!(n.s+n.c*e),n)},m0=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)},Bd=function(e,n){for(var r=n._pt;r;)r.r(e,r.d),r=r._next},lw=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},cw=function(e){for(var n=this._pt,r,s;n;)s=n._next,n.p===e&&!n.op||n.op===e?La(this,n,"_pt"):n.dep||(r=1),n=s;return!r},dw=function(e,n,r,s){s.mSet(e,n,s.m.call(s.tween,r,s.mt),s)},p0=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},It=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||f0,this.d=c||this,this.set=d||Vd,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=dw,this.m=r,this.mt=i,this.tween=s},t}();Rt(kd+"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 yd[t]=1}),Kt.TweenMax=Kt.TweenLite=yt,Kt.TimelineLite=Kt.TimelineMax=Nt,et=new Nt({sortChildren:!1,defaults:li,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Gt.stringFilter=s0;var xs=[],Aa={},uw=[],g0=0,hw=0,Ad=function(e){return(Aa[e]||uw).map(function(n){return n()})},Fd=function(){var e=Date.now(),n=[];e-g0>2&&(Ad("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))}),Ad("matchMediaRevert"),n.forEach(function(r){return r.onMatch(r,function(s){return r.add(null,s)})}),g0=e,Ad("matchMedia"))},_0=function(){function t(n,r){this.selector=r&&vd(r),this.data=[],this._r=[],this.isReverted=!1,this.id=hw++,n&&this.add(n)}var e=t.prototype;return e.add=function(r,s,i){it(r)&&(i=s,s=r,r=it);var a=this,l=function(){var d=Ke,u=a.selector,h;return d&&d!==a&&d.data.push(a),i&&(a.selector=vd(i)),Ke=a,h=s.apply(a,arguments),it(h)&&a._r.push(h),Ke=d,a.selector=u,a.isReverted=!1,h};return a.last=l,r===it?l(a,function(c){return a.add(null,c)}):r?a[r]=l:l},e.ignore=function(r){var s=Ke;Ke=null,r(this),Ke=s},e.getTweens=function(){var r=[];return this.data.forEach(function(s){return s instanceof t?r.push.apply(r,s.getTweens()):s instanceof yt&&!(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 Nt?d.data!=="nested"&&(d.scrollTrigger&&d.scrollTrigger.revert(),d.kill()):!(d instanceof yt)&&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}(),fw=function(){function t(n){this.contexts=[],this.scope=n,Ke&&Ke.data.push(this)}var e=t.prototype;return e.add=function(r,s,i){Un(r)||(r={matches:r});var a=new _0(0,i||this.scope),l=a.conditions={},c,d,u;Ke&&!a.selector&&(a.selector=Ke.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(Fd):c.addEventListener("change",Fd)));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}(),Fa={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 e0(s)})},timeline:function(e){return new Nt(e)},getTweensOf:function(e,n){return et.getTweensOf(e,n)},getProperty:function(e,n,r,s){Mt(e)&&(e=fn(e)[0]);var i=ys(e||{}).get,a=r?Af:Bf;return r==="native"&&(r=""),e&&(n?a((Xt[n]&&Xt[n].get||i)(e,n,r,s)):function(l,c,d){return a((Xt[l]&&Xt[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 Ht.quickSetter(u,n,r)}),i=s.length;return function(u){for(var h=i;h--;)s[h](u)}}e=e[0]||{};var a=Xt[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&&Bd(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=Ht.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 et.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=ks(e.ease,li.ease)),Ff(li,e||{})},config:function(e){return Ff(Gt,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&&!Xt[l]&&!Kt[l]&&ro(n+" effect requires "+l+" plugin.")}),bd[n]=function(l,c,d){return r(fn(l),un(c||{},i),d)},a&&(Nt.prototype[n]=function(l,c,d){return this.add(bd[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 et.getById(e)},exportRoot:function(e,n){e===void 0&&(e={});var r=new Nt(e),s,i;for(r.smoothChildTiming=Ft(e.smoothChildTiming),et.remove(r),r._dp=0,r._time=r._tTime=et._time,s=et._first;s;)i=s._next,(n||!(!s._dur&&s instanceof yt&&s.vars.onComplete===s._targets[0]))&&Gn(r,s,s._start-s._delay),s=i;return Gn(et,r,0),r},context:function(e,n){return e?new _0(e,n):Ke},matchMedia:function(e){return new fw(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()})||Fd()},addEventListener:function(e,n){var r=Aa[e]||(Aa[e]=[]);~r.indexOf(n)||r.push(n)},removeEventListener:function(e,n){var r=Aa[e],s=r&&r.indexOf(n);s>=0&&r.splice(s,1)},utils:{wrap:j8,wrapYoyo:Z8,distribute:Uf,random:Gf,snap:qf,normalize:W8,getUnit:Pt,clamp:I8,splitColor:t0,toArray:fn,selector:vd,mapRange:Xf,pipe:z8,unitize:Y8,interpolate:U8,shuffle:Zf},install:Ef,effects:bd,ticker:Jt,updateRoot:Nt.updateRoot,plugins:Xt,globalTimeline:et,core:{PropTween:It,globals:$f,Tween:yt,Timeline:Nt,Animation:fo,getCache:ys,_removeLinkedListItem:La,reverting:function(){return Et},context:function(e){return e&&Ke&&(Ke.data.push(e),e._ctx=Ke),Ke},suppressOverwrites:function(e){return cd=e}}};Rt("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return Fa[t]=yt[t]}),Jt.add(Nt.updateRoot),fi=Fa.to({},{duration:0});var mw=function(e,n){for(var r=e._pt;r&&r.p!==n&&r.op!==n&&r.fp!==n;)r=r._next;return r},pw=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=mw(a,s)),a&&a.modifier&&a.modifier(n[s],e,r[i],s))},Rd=function(e,n){return{name:e,rawVars:1,init:function(s,i,a){a._onInit=function(l){var c,d;if(Mt(i)&&(c={},Rt(i,function(u){return c[u]=1}),i=c),n){c={};for(d in i)c[d]=n(i[d]);i=c}pw(l,i)}}}},Ht=Fa.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;)Et?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)}},Rd("roundProps",Td),Rd("modifiers"),Rd("snap",qf))||Fa;yt.version=Nt.version=Ht.version="3.12.5",Df=1,hd()&&mi(),xe.Power0,xe.Power1,xe.Power2,xe.Power3,xe.Power4;var gw=xe.Linear;xe.Quad,xe.Cubic,xe.Quart,xe.Quint,xe.Strong,xe.Elastic,xe.Back,xe.SteppedEase,xe.Bounce;var Id=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 y0,jr,pi,zd,Ms,w0,Hd,_w=function(){return typeof window<"u"},hr={},Ss=180/Math.PI,gi=Math.PI/180,_i=Math.atan2,b0=1e8,Yd=/([A-Z])/g,yw=/(left|right|width|margin|padding|x)/i,ww=/[\s,\(]\S/,Kn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Wd=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},bw=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)},kw=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)},Cw=function(e,n){var r=n.s+n.c*e;n.set(n.t,n.p,~~(r+(r<0?-.5:.5))+n.u,n)},k0=function(e,n){return n.set(n.t,n.p,e?n.e:n.b,n)},C0=function(e,n){return n.set(n.t,n.p,e!==1?n.b:n.e,n)},xw=function(e,n,r){return e.style[n]=r},Mw=function(e,n,r){return e.style.setProperty(n,r)},Sw=function(e,n,r){return e._gsap[n]=r},vw=function(e,n,r){return e._gsap.scaleX=e._gsap.scaleY=r},Tw=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)},tt="transform",Ht=tt+"Origin",Dw=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===Ht&&(this.tfm.zOrigin=a.zOrigin);else return Kn.transform.split(",").forEach(function(l){return t.call(r,l,n)});if(this.props.indexOf(tt)>=0)return;a.svg&&(this.svgo=s.getAttribute("data-svg-origin"),this.props.push(Ht,n,"")),e=tt}(i||n)&&this.props.push(e,n,i[e])},x0=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Ew=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(Yd,"-$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=Hd(),(!i||!i.isStart)&&!r[tt]&&(x0(r),s.zOrigin&&r[Ht]&&(r[Ht]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},M0=function(e,n){var r={target:e,props:[],revert:Ew,save:Dw};return e._gsap||zt.core.getCache(e),n&&n.split(",").forEach(function(s){return r.save(s)}),r},S0,jd=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(Yd,"-$1").toLowerCase())||s.getPropertyValue(n)||!r&&t(e,yi(n)||n,1)||""},v0="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--&&!(v0[a]+e in i););return a<0?null:(a===3?"ms":a>=0?v0[a]:"")+e},Zd=function(){_w()&&window.document&&(y0=window,jr=y0.document,pi=jr.documentElement,Ms=jd("div")||{style:{}},jd("div"),tt=yi(tt),Ht=tt+"Origin",Ms.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",S0=!!yi("perspective"),Hd=zt.core.reverting,zd=1)},Ud=function t(e){var n=jd("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},T0=function(e,n){for(var r=n.length;r--;)if(e.hasAttribute(n[r]))return e.getAttribute(n[r])},O0=function(e){var n;try{n=e.getBBox()}catch{n=Ud.call(e,!0)}return n&&(n.width||n.height)||e.getBBox===Ud||(n=Ud.call(e,!0)),n&&!n.width&&!n.x&&!n.y?{x:+T0(e,["x","cx","x1"])||0,y:+T0(e,["y","cy","y1"])||0,width:0,height:0}:n},D0=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&O0(e))},vs=function(e,n){if(n){var r=e.style,s;n in hr&&n!==Ht&&(n=tt),r.removeProperty?(s=n.substr(0,2),(s==="ms"||n.substr(0,6)==="webkit")&&(n="-"+n),r.removeProperty(s==="--"?n:n.replace(Yd,"-$1").toLowerCase())):r.removeAttribute(n)}},Zr=function(e,n,r,s,i,a){var l=new It(e._pt,n,r,0,1,a?C0:k0);return e._pt=l,l.b=s,l.e=i,e._props.push(r),l},E0={deg:1,rad:1,turn:1},$w={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=yw.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||E0[s]||E0[a])return i;if(a!=="px"&&!f&&(i=t(e,n,r,"px")),y=e.getCTM&&D0(e),(m||a==="%")&&(hr[n]||~n.indexOf("adius")))return g=y?e.getBBox()[c?"width":"height"]:e[u],mt(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===Jt.time&&!_.uncache)return mt(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==="%")&&!$w[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=Jt.time,_.width=p[u]),mt(f?g*i/h:g&&i?h/g*i:0)},fr=function(e,n,r,s){var i;return zd||Zd(),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:Ia(Xn(e,Ht))+" "+i.zOrigin+"px"):(i=e.style[n],(!i||i==="auto"||s||~(i+"").indexOf("calc("))&&(i=Ra[n]&&Ra[n](e,n,r)||Xn(e,n)||Vf(e,n)||(n==="opacity"?1:0))),r&&!~(i+"").trim().indexOf(" ")?Ur(e,n,i,r)+r:i},Pw=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 It(this._pt,e.style,n,0,1,m0),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],s0(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||Gt.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"?C0:k0;return Tf.test(s)&&(l.e=0),this._pt=l,l},$0={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Lw=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]=$0[r]||r,n[1]=$0[s]||s,n.join(" ")},Vw=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"?Ht:tt),vs(r,l);c&&(vs(r,tt),a&&(a.svg&&r.removeAttribute("transform"),go(r,1),a.uncache=1,x0(s)))}},Ra={clearProps:function(e,n,r,s,i){if(i.data!=="isFromStart"){var a=e._pt=new It(e._pt,n,r,0,0,Vw);return a.u=s,a.pr=-10,a.tween=i,e._props.push(r),1}}},po=[1,0,0,1,0,0],P0={},L0=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},V0=function(e){var n=Xn(e,tt);return L0(n)?po:n.substr(7).match(vf).map(mt)},qd=function(e,n){var r=e._gsap||ys(e),s=e.style,i=V0(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=V0(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)},Gd=function(e,n,r,s,i,a){var l=e._gsap,c=i||qd(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,D,E;r?c!==po&&(S=m*_-g*p)&&(D=v*(_/S)+M*(-p/S)+(p*C-_*y)/S,E=v*(-g/S)+M*(m/S)-(m*C-g*y)/S,v=D,M=E):(T=O0(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[Ht]="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 l0(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,Ht)||"0",u,h,f,m,g,p,_,y,C,k,v,M,T,S,D,E,I,j,$,R,G,O,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&&D0(e)),c.translate&&((c.translate!=="none"||c.scale!=="none"||c.rotate!=="none")&&(s[tt]=(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[tt]!=="none"?c[tt]:"")),s.scale=s.rotate=s.translate="none"),S=qd(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"),Gd(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=O=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],D=_i(B,N),_=D*Ss,D&&(E=Math.cos(-D),I=Math.sin(-D),V=O*E+U*I,Z=x*E+P*I,ee=B*E+N*I,U=O*-I+U*E,P=x*-I+P*E,N=B*-I+N*E,w=b*-I+w*E,O=V,x=Z,B=ee),D=_i(-R,N),y=D*Ss,D&&(E=Math.cos(-D),I=Math.sin(-D),V=j*E-U*I,Z=$*E-P*I,ee=R*E-N*I,w=G*I+w*E,j=V,$=Z,R=ee),D=_i($,j),p=D*Ss,D&&(E=Math.cos(D),I=Math.sin(D),V=j*E+$*I,Z=O*E+x*I,$=$*E-j*I,x=x*E-O*I,j=V,O=Z),_&&Math.abs(_)+Math.abs(p)>359.9&&(_=p=0,y=180-y),m=mt(Math.sqrt(j*j+$*$+R*R)),g=mt(Math.sqrt(x*x+B*B)),D=_i(O,x),C=Math.abs(D)>2e-4?D*Ss:0,v=w?1/(w<0?-w:w):0),r.svg&&(V=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!L0(Xn(e,tt)),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=mt(m),r.scaleY=mt(g),r.rotation=mt(p)+l,r.rotationX=mt(_)+l,r.rotationY=mt(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[Ht]=Ia(d)),r.xOffset=r.yOffset=0,r.force3D=Gt.force3D,r.renderTransform=r.svg?Bw:S0?N0:Nw,r.uncache=0,r},Ia=function(e){return(e=e.split(" "))[0]+" "+e[1]},Kd=function(e,n,r){var s=Pt(n);return mt(parseFloat(n)+parseFloat(Ur(e,"x",r+"px",s)))+s},Nw=function(e,n){n.z="0px",n.rotationY=n.rotationX="0deg",n.force3D=0,N0(e,n)},Ts="0deg",_o="0px",Os=") ",N0=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),D=Math.cos(T),E;T=parseFloat(h)*gi,E=Math.cos(T),a=Kd(C,a,S*E*-k),l=Kd(C,l,-Math.sin(T)*-k),c=Kd(C,c,D*E*-k+k)}_!==_o&&(v+="perspective("+_+Os),(s||i)&&(v+="translate("+s+"%, "+i+"%) "),(M||a!==_o||l!==_o||c!==_o)&&(v+=c!==_o||M?"translate3d("+a+", "+l+", "+c+") ":"translate("+a+", "+l+Os),d!==Ts&&(v+="rotate("+d+Os),u!==Ts&&(v+="rotateY("+u+Os),h!==Ts&&(v+="rotateX("+h+Os),(f!==Ts||m!==Ts)&&(v+="skew("+f+", "+m+Os),(g!==1||p!==1)&&(v+="scale("+g+", "+p+Os),C.style[tt]=v||"translate(0, 0)"},Bw=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,D,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,D=Math.cos(c-d)*f,d&&(u*=gi,E=Math.tan(d-u),E=Math.sqrt(1+E*E),S*=E,D*=E,u&&(E=Math.tan(u),E=Math.sqrt(1+E*E),M*=E,T*=E)),M=mt(M),T=mt(T),S=mt(S),D=mt(D)):(M=h,D=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=mt(k+g-(g*M+p*S)+_),v=mt(v+p-(g*T+p*D)+y)),(s||i)&&(E=m.getBBox(),k=mt(k+s/100*E.width),v=mt(v+i/100*E.height)),E="matrix("+M+","+T+","+S+","+D+","+k+","+v+")",m.setAttribute("transform",E),C&&(m.style[tt]=E)},Aw=function(e,n,r,s,i){var a=360,l=Mt(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*b0)%a-~~(d/a)*a:h==="ccw"&&d>0&&(d=(d-a*b0)%a-~~(d/a)*a)),e._pt=f=new It(e._pt,n,r,s,d,bw),f.e=u,f.u="deg",e._props.push(r),f},B0=function(e,n){for(var r in n)e[r]=n[r];return e},Fw=function(e,n,r){var s=B0({},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[tt]=n,l=go(r,1),vs(r,tt),r.setAttribute("transform",d)):(d=getComputedStyle(r)[tt],a[tt]=n,l=go(r,1),a[tt]=d);for(c in hr)d=s[c],u=l[c],d!==u&&i.indexOf(c)<0&&(m=Pt(d),g=Pt(u),h=m!==g?Ur(r,c,d,g):parseFloat(d),f=parseFloat(u),e._pt=new It(e._pt,l,c,h,f-h,Wd),e._pt.u=g||0,e._props.push(c));B0(l,s)};Rt("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});Ra[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 A0={name:"css",register:Zd,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,D;zd||Zd(),this.styles=this.styles||M0(e),D=this.styles.props,this.tween=r;for(p in n)if(p!=="autoRound"&&(u=n[p],!(Xt[p]&&c0(p,n,r,s,e,i)))){if(m=typeof u,g=Ra[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)||(_=Pt(d),y=Pt(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),D.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],Mt(d)&&~d.indexOf("random(")&&(d=lo(d)),Pt(d+"")||d==="auto"||(d+=Gt.units[p]||Pt(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),D.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 It(this._pt,l,tt,0,1,M.renderTransform,M,0,-1),v.dep=1),p==="scale")this._pt=new It(this._pt,M,"scaleY",M.scaleY,(C?di(M.scaleY,C+h):h)-M.scaleY||0,Wd),this._pt.u=0,a.push("scaleY",p),p+="X";else if(p==="transformOrigin"){D.push(Ht,0,l[Ht]),u=Lw(u),M.svg?Gd(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,Ia(d),Ia(u)));continue}else if(p==="svgOrigin"){Gd(e,u,1,T,0,this);continue}else if(p in P0){Aw(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"){Fw(this,u,e);continue}}else p in l||(p=yi(p)||p);if(k||(h||h===0)&&(f||f===0)&&!ww.test(u)&&p in l)_=(d+"").substr((f+"").length),h||(h=0),y=Pt(u)||(p in Gt.units?Gt.units[p]:_),_!==y&&(f=Ur(e,p,d,y)),this._pt=new It(this._pt,k?M:l,p,f,(C?di(f,C+h):h)-f,!k&&(y==="px"||p==="zIndex")&&n.autoRound!==!1?Cw:Wd),this._pt.u=y||0,_!==y&&y!=="%"&&(this._pt.b=d,this._pt.r=kw);else if(p in l)Pw.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"){_d(p,u);continue}k||(p in l?D.push(p,0,l[p]):D.push(p,1,d||e[p])),a.push(p)}}S&&p0(this)},render:function(e,n){if(n.tween._time||!Hd())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!==Ht&&(e._gsap.x||fr(e,"x"))?r&&w0===r?n==="scale"?vw:Sw:(w0=r||{})&&(n==="scale"?Tw:Ow):e.style&&!ud(e.style[n])?xw:~n.indexOf("-")?Mw:Nd(e,n)},core:{_removeProperty:vs,_getMatrix:qd}};zt.utils.checkPrefix=yi,zt.core.getStyleSaver=M0,function(t,e,n,r){var s=Rt(t+","+e+","+n,function(i){hr[i]=1});Rt(e,function(i){Gt.units[i]="deg",P0[i]=1}),Kn[s[13]]=t+","+e,Rt(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"),Rt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){Gt.units[t]="px"}),zt.registerPlugin(A0);var qr=zt.registerPlugin(A0)||zt;qr.core.Tween;const Rw={__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:gw.easeNone,repeat:-1,delay:-5}),qr.to(u,c(5)+1,{x:"+=70",repeat:-1,yoyo:!0,ease:Id.easeInOut}),qr.to(u,c(5)+1,{scaleX:.2,rotation:c(360),repeat:-1,yoyo:!0,ease:Id.easeInOut}),qr.to(u,c(1)+.5,{opacity:0,repeat:-1,yoyo:!0,ease:Id.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))}},Iw={class:"toast__content"},F0=Oe(o.defineComponent({__name:"Toast",props:{type:{type:String,default:"success"},textOnClose:{type:String},message:{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(()=>e.type==="success"?"check-circle-fill":"circle-close"),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",Iw,[o.createElementVNode("div",{class:o.normalizeClass(["toast__icon-wrapper",i.value])},[o.createVNode(Le,{icon:s.value},null,8,["icon"])],2),o.withDirectives(o.createElementVNode("div",{class:"toast__text"},o.toDisplayString(t.message),513),[[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-cddb489d"]]),zw={key:0,class:"scope-textarea__label"},Hw={key:1,class:"scope-textarea__prompt"},Yw=["disabled","placeholder","veeBind","maxlength"],Ww={key:2,class:"scope-textarea__error"},jw=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",zw,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),t.prompt?(o.openBlock(),o.createElementBlock("div",Hw,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,Yw),[[o.vModelText,r.value]]),t.invalid?(o.openBlock(),o.createElementBlock("div",Ww,o.toDisplayString(t.errorMessage),1)):o.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-f065d142"]]),R0=t=>(o.pushScopeId("data-v-5f33d447"),t=t(),o.popScopeId(),t),Zw={class:"scope-dropzone__container"},Uw={key:0,class:"scope-dropzone__label"},qw={key:1,class:"scope-dropzone__prompt"},Gw={class:"scope-dropzone__content"},Kw=R0(()=>o.createElementVNode("div",{class:"scope-dropzone__prompt"},"Drag & Drop your files here",-1)),Xw=R0(()=>o.createElementVNode("div",{class:"scope-dropzone__or"},"OR",-1)),Qw={key:2,class:"scope-dropzone__files"},Jw={class:"scope-dropzone__file"},eb={class:"scope-dropzone__file__img-wrapper"},tb=["src"],nb={class:"scope-dropzone__file__options"},rb={class:"scope-dropzone__file__name"},sb=Oe({__name:"Dropzone",props:o.mergeModels({fullWidth:Boolean,label:String,limit:{type:Number,default:5},lengthError:String,prompt:String},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const{error:e}=ch(),n=t,r=o.useModel(t,"modelValue"),s=o.ref(null);o.ref(null);const i=o.ref(!1),a=o.ref([]),l=()=>{s.value.click()},c=f=>{if(f.dataTransfer.files.length){s.value.files=f.dataTransfer.files;for(var m=0,g=f.dataTransfer.files.length;m<g;m++)r.value.items.length<5&&(r.value.items.add(f.dataTransfer.files[m]),h(f.dataTransfer.files[m]))}i.value=!1},d=f=>{r.value.items.length<5?(r.value.items.add(f.target.files[0]),h(f.target.files[0])):e(n.lengthError)},u=f=>{let m=new DataTransfer;a.value.forEach((g,p)=>{let _=r.value.items[p].getAsFile();p!==f&&m.items.add(_)}),r.value=m,a.value.splice(f,1)},h=f=>{const m=URL.createObjectURL(f);a.value.push({name:f.name,url:m})};return o.onMounted(()=>{r.value?r.value.items.forEach((f,m)=>{let g=r.value.items[m].getAsFile();const p=URL.createObjectURL(g);a.value.push({name:f.name,url:p})}):r.value=new DataTransfer}),(f,m)=>(o.openBlock(),o.createElementBlock("div",Zw,[t.label?(o.openBlock(),o.createElementBlock("div",Uw,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),t.prompt?(o.openBlock(),o.createElementBlock("div",qw,o.toDisplayString(t.prompt),1)):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["scope-dropzone",{"-over":i.value,"-full-width":t.fullWidth}]),onDragover:m[0]||(m[0]=o.withModifiers(g=>i.value=!0,["prevent"])),onDragend:m[1]||(m[1]=g=>i.value=!1),onDragleave:m[2]||(m[2]=g=>i.value=!1),onDrop:o.withModifiers(c,["prevent"])},[o.createElementVNode("div",Gw,[o.createVNode(o.unref(Le),{icon:"file-bend"}),Kw,Xw,o.createVNode(o.unref(ga),{onClick:l,"cta-text":"Browse files",size:"sm",view:"secondary-blue",width:"157px"})]),o.createElementVNode("input",{ref_key:"input",ref:s,type:"file",name:"myFile",class:"scope-dropzone__input",onChange:d},null,544)],34),a.value.length?(o.openBlock(),o.createElementBlock("div",Qw,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.value,(g,p)=>(o.openBlock(),o.createElementBlock("div",Jw,[o.createElementVNode("div",eb,[o.createElementVNode("img",{class:"scope-dropzone__file__img",src:g.url},null,8,tb),o.createElementVNode("div",nb,[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:_=>u(p)},null,8,["onClick"])])]),o.createElementVNode("div",rb,o.toDisplayString(g.name),1)]))),256))])):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-5f33d447"]]),I0=t=>(o.pushScopeId("data-v-cd05e8e4"),t=t(),o.popScopeId(),t),ib={class:"sidebar-popup-container"},ob={class:"sidebar-popup__profile-info"},ab=["src"],lb={key:1,class:"sidebar-popup__profile-info__letter"},cb={class:"sidebar-popup__profile-info__wrapper"},db={class:"sidebar-popup__profile-info__name"},ub={class:"sidebar-popup__profile-info__e-mail"},hb=I0(()=>o.createElementVNode("div",{class:"sidebar-popup__divider"},null,-1)),fb={class:"sidebar-popup__tabs"},mb=["onClick"],pb={class:"sidebar-popup__tab__icon-wrapper"},gb={class:"sidebar-popup__tab__name"},_b=I0(()=>o.createElementVNode("div",{class:"sidebar-popup__divider"},null,-1)),yb={class:"sidebar-popup__actions-buttons"},wb=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",ib,[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",ob,[t.user.image?(o.openBlock(),o.createElementBlock("img",{key:0,src:t.user.image,class:"sidebar-popup__profile-info__photo"},null,8,ab)):(o.openBlock(),o.createElementBlock("div",lb,o.toDisplayString(l.value),1)),o.createElementVNode("div",cb,[o.createElementVNode("div",db,o.toDisplayString(t.user.name),1),o.createElementVNode("div",ub,o.toDisplayString(t.user.email),1)])]),hb,o.createElementVNode("div",fb,[(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",pb,[o.createVNode(Le,{icon:g.name.split(" ").join("_")},null,8,["icon"])]),o.createElementVNode("div",gb,o.toDisplayString(g.name),1)],10,mb))),256))]),_b,o.createElementVNode("div",yb,[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"]]),bb={class:"scope-tooltip"},mn=Oe({__name:"Tooltip",props:{alternative:Boolean},setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("div",bb,[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}])},[o.renderSlot(e.$slots,"default",{},void 0,!0)],2)]))}},[["__scopeId","data-v-4c8f32d0"]]),kb={class:"no-more"},Cb={class:"no-more__icon-wrapper"},xb={class:"__text-wrapper"},Mb={class:"no-more__title"},Sb={class:"no-more__subtitle"},Xd=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",kb,[o.createElementVNode("div",Cb,[o.createVNode(o.unref(Le),{icon:t.icon},null,8,["icon"])]),o.createElementVNode("div",xb,[o.createElementVNode("div",Mb,o.toDisplayString(t.title),1),o.createElementVNode("div",Sb,o.toDisplayString(t.subtitle),1)])]))}},[["__scopeId","data-v-2d206905"]]),z0=t=>(o.pushScopeId("data-v-2042001e"),t=t(),o.popScopeId(),t),vb={class:"long-short"},Tb=z0(()=>o.createElementVNode("span",null,"L",-1)),Ob={class:"long-short__item__text"},Db=z0(()=>o.createElementVNode("span",null,"S",-1)),Eb={class:"long-short__item__text"},H0=Oe({__name:"LongShort",props:{long:{type:Number,default:0},short:{type:Number,default:0}},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",vb,[o.createElementVNode("div",{class:"long-short__item -long",style:o.normalizeStyle(`width: ${n.value}%`)},[Tb,o.createElementVNode("div",Ob,o.toDisplayString(o.unref(Ot)(t.long/(t.long+t.short)*100,1))+"%",1)],4),o.createElementVNode("div",{class:"long-short__item -short",style:o.normalizeStyle(`width: ${100-n.value}%`)},[Db,o.createElementVNode("div",Eb,o.toDisplayString(o.unref(Ot)(t.short/(t.long+t.short)*100,1))+"%",1)],4)]))}},[["__scopeId","data-v-2042001e"]]);/*!
|
|
17
|
+
*/var y0,jr,pi,Hd,Ms,w0,zd,_w=function(){return typeof window<"u"},hr={},Ss=180/Math.PI,gi=Math.PI/180,_i=Math.atan2,b0=1e8,Yd=/([A-Z])/g,yw=/(left|right|width|margin|padding|x)/i,ww=/[\s,\(]\S/,Kn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Wd=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},bw=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)},kw=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)},Cw=function(e,n){var r=n.s+n.c*e;n.set(n.t,n.p,~~(r+(r<0?-.5:.5))+n.u,n)},k0=function(e,n){return n.set(n.t,n.p,e?n.e:n.b,n)},C0=function(e,n){return n.set(n.t,n.p,e!==1?n.b:n.e,n)},xw=function(e,n,r){return e.style[n]=r},Mw=function(e,n,r){return e.style.setProperty(n,r)},Sw=function(e,n,r){return e._gsap[n]=r},vw=function(e,n,r){return e._gsap.scaleX=e._gsap.scaleY=r},Tw=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)},tt="transform",zt=tt+"Origin",Dw=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===zt&&(this.tfm.zOrigin=a.zOrigin);else return Kn.transform.split(",").forEach(function(l){return t.call(r,l,n)});if(this.props.indexOf(tt)>=0)return;a.svg&&(this.svgo=s.getAttribute("data-svg-origin"),this.props.push(zt,n,"")),e=tt}(i||n)&&this.props.push(e,n,i[e])},x0=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Ew=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(Yd,"-$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=zd(),(!i||!i.isStart)&&!r[tt]&&(x0(r),s.zOrigin&&r[zt]&&(r[zt]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},M0=function(e,n){var r={target:e,props:[],revert:Ew,save:Dw};return e._gsap||Ht.core.getCache(e),n&&n.split(",").forEach(function(s){return r.save(s)}),r},S0,jd=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(Yd,"-$1").toLowerCase())||s.getPropertyValue(n)||!r&&t(e,yi(n)||n,1)||""},v0="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--&&!(v0[a]+e in i););return a<0?null:(a===3?"ms":a>=0?v0[a]:"")+e},Zd=function(){_w()&&window.document&&(y0=window,jr=y0.document,pi=jr.documentElement,Ms=jd("div")||{style:{}},jd("div"),tt=yi(tt),zt=tt+"Origin",Ms.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",S0=!!yi("perspective"),zd=Ht.core.reverting,Hd=1)},Ud=function t(e){var n=jd("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},T0=function(e,n){for(var r=n.length;r--;)if(e.hasAttribute(n[r]))return e.getAttribute(n[r])},O0=function(e){var n;try{n=e.getBBox()}catch{n=Ud.call(e,!0)}return n&&(n.width||n.height)||e.getBBox===Ud||(n=Ud.call(e,!0)),n&&!n.width&&!n.x&&!n.y?{x:+T0(e,["x","cx","x1"])||0,y:+T0(e,["y","cy","y1"])||0,width:0,height:0}:n},D0=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&O0(e))},vs=function(e,n){if(n){var r=e.style,s;n in hr&&n!==zt&&(n=tt),r.removeProperty?(s=n.substr(0,2),(s==="ms"||n.substr(0,6)==="webkit")&&(n="-"+n),r.removeProperty(s==="--"?n:n.replace(Yd,"-$1").toLowerCase())):r.removeAttribute(n)}},Zr=function(e,n,r,s,i,a){var l=new It(e._pt,n,r,0,1,a?C0:k0);return e._pt=l,l.b=s,l.e=i,e._props.push(r),l},E0={deg:1,rad:1,turn:1},$w={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=yw.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||E0[s]||E0[a])return i;if(a!=="px"&&!f&&(i=t(e,n,r,"px")),y=e.getCTM&&D0(e),(m||a==="%")&&(hr[n]||~n.indexOf("adius")))return g=y?e.getBBox()[c?"width":"height"]:e[u],mt(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===Jt.time&&!_.uncache)return mt(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==="%")&&!$w[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=Jt.time,_.width=p[u]),mt(f?g*i/h:g&&i?h/g*i:0)},fr=function(e,n,r,s){var i;return Hd||Zd(),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:Ia(Xn(e,zt))+" "+i.zOrigin+"px"):(i=e.style[n],(!i||i==="auto"||s||~(i+"").indexOf("calc("))&&(i=Ra[n]&&Ra[n](e,n,r)||Xn(e,n)||Vf(e,n)||(n==="opacity"?1:0))),r&&!~(i+"").trim().indexOf(" ")?Ur(e,n,i,r)+r:i},Pw=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 It(this._pt,e.style,n,0,1,m0),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],s0(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||Gt.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"?C0:k0;return Tf.test(s)&&(l.e=0),this._pt=l,l},$0={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Lw=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]=$0[r]||r,n[1]=$0[s]||s,n.join(" ")},Vw=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"?zt:tt),vs(r,l);c&&(vs(r,tt),a&&(a.svg&&r.removeAttribute("transform"),go(r,1),a.uncache=1,x0(s)))}},Ra={clearProps:function(e,n,r,s,i){if(i.data!=="isFromStart"){var a=e._pt=new It(e._pt,n,r,0,0,Vw);return a.u=s,a.pr=-10,a.tween=i,e._props.push(r),1}}},po=[1,0,0,1,0,0],P0={},L0=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},V0=function(e){var n=Xn(e,tt);return L0(n)?po:n.substr(7).match(vf).map(mt)},qd=function(e,n){var r=e._gsap||ys(e),s=e.style,i=V0(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=V0(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)},Gd=function(e,n,r,s,i,a){var l=e._gsap,c=i||qd(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,D,E;r?c!==po&&(S=m*_-g*p)&&(D=v*(_/S)+M*(-p/S)+(p*C-_*y)/S,E=v*(-g/S)+M*(m/S)-(m*C-g*y)/S,v=D,M=E):(T=O0(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[zt]="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 l0(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,zt)||"0",u,h,f,m,g,p,_,y,C,k,v,M,T,S,D,E,I,j,$,R,G,O,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&&D0(e)),c.translate&&((c.translate!=="none"||c.scale!=="none"||c.rotate!=="none")&&(s[tt]=(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[tt]!=="none"?c[tt]:"")),s.scale=s.rotate=s.translate="none"),S=qd(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"),Gd(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=O=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],D=_i(B,N),_=D*Ss,D&&(E=Math.cos(-D),I=Math.sin(-D),V=O*E+U*I,Z=x*E+P*I,ee=B*E+N*I,U=O*-I+U*E,P=x*-I+P*E,N=B*-I+N*E,w=b*-I+w*E,O=V,x=Z,B=ee),D=_i(-R,N),y=D*Ss,D&&(E=Math.cos(-D),I=Math.sin(-D),V=j*E-U*I,Z=$*E-P*I,ee=R*E-N*I,w=G*I+w*E,j=V,$=Z,R=ee),D=_i($,j),p=D*Ss,D&&(E=Math.cos(D),I=Math.sin(D),V=j*E+$*I,Z=O*E+x*I,$=$*E-j*I,x=x*E-O*I,j=V,O=Z),_&&Math.abs(_)+Math.abs(p)>359.9&&(_=p=0,y=180-y),m=mt(Math.sqrt(j*j+$*$+R*R)),g=mt(Math.sqrt(x*x+B*B)),D=_i(O,x),C=Math.abs(D)>2e-4?D*Ss:0,v=w?1/(w<0?-w:w):0),r.svg&&(V=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!L0(Xn(e,tt)),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=mt(m),r.scaleY=mt(g),r.rotation=mt(p)+l,r.rotationX=mt(_)+l,r.rotationY=mt(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[zt]=Ia(d)),r.xOffset=r.yOffset=0,r.force3D=Gt.force3D,r.renderTransform=r.svg?Bw:S0?N0:Nw,r.uncache=0,r},Ia=function(e){return(e=e.split(" "))[0]+" "+e[1]},Kd=function(e,n,r){var s=Pt(n);return mt(parseFloat(n)+parseFloat(Ur(e,"x",r+"px",s)))+s},Nw=function(e,n){n.z="0px",n.rotationY=n.rotationX="0deg",n.force3D=0,N0(e,n)},Ts="0deg",_o="0px",Os=") ",N0=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),D=Math.cos(T),E;T=parseFloat(h)*gi,E=Math.cos(T),a=Kd(C,a,S*E*-k),l=Kd(C,l,-Math.sin(T)*-k),c=Kd(C,c,D*E*-k+k)}_!==_o&&(v+="perspective("+_+Os),(s||i)&&(v+="translate("+s+"%, "+i+"%) "),(M||a!==_o||l!==_o||c!==_o)&&(v+=c!==_o||M?"translate3d("+a+", "+l+", "+c+") ":"translate("+a+", "+l+Os),d!==Ts&&(v+="rotate("+d+Os),u!==Ts&&(v+="rotateY("+u+Os),h!==Ts&&(v+="rotateX("+h+Os),(f!==Ts||m!==Ts)&&(v+="skew("+f+", "+m+Os),(g!==1||p!==1)&&(v+="scale("+g+", "+p+Os),C.style[tt]=v||"translate(0, 0)"},Bw=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,D,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,D=Math.cos(c-d)*f,d&&(u*=gi,E=Math.tan(d-u),E=Math.sqrt(1+E*E),S*=E,D*=E,u&&(E=Math.tan(u),E=Math.sqrt(1+E*E),M*=E,T*=E)),M=mt(M),T=mt(T),S=mt(S),D=mt(D)):(M=h,D=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=mt(k+g-(g*M+p*S)+_),v=mt(v+p-(g*T+p*D)+y)),(s||i)&&(E=m.getBBox(),k=mt(k+s/100*E.width),v=mt(v+i/100*E.height)),E="matrix("+M+","+T+","+S+","+D+","+k+","+v+")",m.setAttribute("transform",E),C&&(m.style[tt]=E)},Aw=function(e,n,r,s,i){var a=360,l=Mt(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*b0)%a-~~(d/a)*a:h==="ccw"&&d>0&&(d=(d-a*b0)%a-~~(d/a)*a)),e._pt=f=new It(e._pt,n,r,s,d,bw),f.e=u,f.u="deg",e._props.push(r),f},B0=function(e,n){for(var r in n)e[r]=n[r];return e},Fw=function(e,n,r){var s=B0({},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[tt]=n,l=go(r,1),vs(r,tt),r.setAttribute("transform",d)):(d=getComputedStyle(r)[tt],a[tt]=n,l=go(r,1),a[tt]=d);for(c in hr)d=s[c],u=l[c],d!==u&&i.indexOf(c)<0&&(m=Pt(d),g=Pt(u),h=m!==g?Ur(r,c,d,g):parseFloat(d),f=parseFloat(u),e._pt=new It(e._pt,l,c,h,f-h,Wd),e._pt.u=g||0,e._props.push(c));B0(l,s)};Rt("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});Ra[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 A0={name:"css",register:Zd,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,D;Hd||Zd(),this.styles=this.styles||M0(e),D=this.styles.props,this.tween=r;for(p in n)if(p!=="autoRound"&&(u=n[p],!(Xt[p]&&c0(p,n,r,s,e,i)))){if(m=typeof u,g=Ra[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)||(_=Pt(d),y=Pt(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),D.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],Mt(d)&&~d.indexOf("random(")&&(d=lo(d)),Pt(d+"")||d==="auto"||(d+=Gt.units[p]||Pt(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),D.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 It(this._pt,l,tt,0,1,M.renderTransform,M,0,-1),v.dep=1),p==="scale")this._pt=new It(this._pt,M,"scaleY",M.scaleY,(C?di(M.scaleY,C+h):h)-M.scaleY||0,Wd),this._pt.u=0,a.push("scaleY",p),p+="X";else if(p==="transformOrigin"){D.push(zt,0,l[zt]),u=Lw(u),M.svg?Gd(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,Ia(d),Ia(u)));continue}else if(p==="svgOrigin"){Gd(e,u,1,T,0,this);continue}else if(p in P0){Aw(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"){Fw(this,u,e);continue}}else p in l||(p=yi(p)||p);if(k||(h||h===0)&&(f||f===0)&&!ww.test(u)&&p in l)_=(d+"").substr((f+"").length),h||(h=0),y=Pt(u)||(p in Gt.units?Gt.units[p]:_),_!==y&&(f=Ur(e,p,d,y)),this._pt=new It(this._pt,k?M:l,p,f,(C?di(f,C+h):h)-f,!k&&(y==="px"||p==="zIndex")&&n.autoRound!==!1?Cw:Wd),this._pt.u=y||0,_!==y&&y!=="%"&&(this._pt.b=d,this._pt.r=kw);else if(p in l)Pw.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"){_d(p,u);continue}k||(p in l?D.push(p,0,l[p]):D.push(p,1,d||e[p])),a.push(p)}}S&&p0(this)},render:function(e,n){if(n.tween._time||!zd())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!==zt&&(e._gsap.x||fr(e,"x"))?r&&w0===r?n==="scale"?vw:Sw:(w0=r||{})&&(n==="scale"?Tw:Ow):e.style&&!ud(e.style[n])?xw:~n.indexOf("-")?Mw:Nd(e,n)},core:{_removeProperty:vs,_getMatrix:qd}};Ht.utils.checkPrefix=yi,Ht.core.getStyleSaver=M0,function(t,e,n,r){var s=Rt(t+","+e+","+n,function(i){hr[i]=1});Rt(e,function(i){Gt.units[i]="deg",P0[i]=1}),Kn[s[13]]=t+","+e,Rt(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"),Rt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){Gt.units[t]="px"}),Ht.registerPlugin(A0);var qr=Ht.registerPlugin(A0)||Ht;qr.core.Tween;const Rw={__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:gw.easeNone,repeat:-1,delay:-5}),qr.to(u,c(5)+1,{x:"+=70",repeat:-1,yoyo:!0,ease:Id.easeInOut}),qr.to(u,c(5)+1,{scaleX:.2,rotation:c(360),repeat:-1,yoyo:!0,ease:Id.easeInOut}),qr.to(u,c(1)+.5,{opacity:0,repeat:-1,yoyo:!0,ease:Id.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))}},Iw={class:"toast__content"},F0=De(o.defineComponent({__name:"Toast",props:{type:{type:String,default:"success"},textOnClose:{type:String},message:{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(()=>e.type==="success"?"check-circle-fill":"circle-close"),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",Iw,[o.createElementVNode("div",{class:o.normalizeClass(["toast__icon-wrapper",i.value])},[o.createVNode(Le,{icon:s.value},null,8,["icon"])],2),o.withDirectives(o.createElementVNode("div",{class:"toast__text"},o.toDisplayString(t.message),513),[[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-cddb489d"]]),Hw={key:0,class:"scope-textarea__label"},zw={key:1,class:"scope-textarea__prompt"},Yw=["disabled","placeholder","veeBind","maxlength"],Ww={key:2,class:"scope-textarea__error"},jw=De({__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",Hw,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,Yw),[[o.vModelText,r.value]]),t.invalid?(o.openBlock(),o.createElementBlock("div",Ww,o.toDisplayString(t.errorMessage),1)):o.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-f065d142"]]),R0=t=>(o.pushScopeId("data-v-5f33d447"),t=t(),o.popScopeId(),t),Zw={class:"scope-dropzone__container"},Uw={key:0,class:"scope-dropzone__label"},qw={key:1,class:"scope-dropzone__prompt"},Gw={class:"scope-dropzone__content"},Kw=R0(()=>o.createElementVNode("div",{class:"scope-dropzone__prompt"},"Drag & Drop your files here",-1)),Xw=R0(()=>o.createElementVNode("div",{class:"scope-dropzone__or"},"OR",-1)),Qw={key:2,class:"scope-dropzone__files"},Jw={class:"scope-dropzone__file"},eb={class:"scope-dropzone__file__img-wrapper"},tb=["src"],nb={class:"scope-dropzone__file__options"},rb={class:"scope-dropzone__file__name"},sb=De({__name:"Dropzone",props:o.mergeModels({fullWidth:Boolean,label:String,limit:{type:Number,default:5},lengthError:String,prompt:String},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const{error:e}=ch(),n=t,r=o.useModel(t,"modelValue"),s=o.ref(null);o.ref(null);const i=o.ref(!1),a=o.ref([]),l=()=>{s.value.click()},c=f=>{if(f.dataTransfer.files.length){s.value.files=f.dataTransfer.files;for(var m=0,g=f.dataTransfer.files.length;m<g;m++)r.value.items.length<5&&(r.value.items.add(f.dataTransfer.files[m]),h(f.dataTransfer.files[m]))}i.value=!1},d=f=>{r.value.items.length<5?(r.value.items.add(f.target.files[0]),h(f.target.files[0])):e(n.lengthError)},u=f=>{let m=new DataTransfer;a.value.forEach((g,p)=>{let _=r.value.items[p].getAsFile();p!==f&&m.items.add(_)}),r.value=m,a.value.splice(f,1)},h=f=>{const m=URL.createObjectURL(f);a.value.push({name:f.name,url:m})};return o.onMounted(()=>{r.value?r.value.items.forEach((f,m)=>{let g=r.value.items[m].getAsFile();const p=URL.createObjectURL(g);a.value.push({name:f.name,url:p})}):r.value=new DataTransfer}),(f,m)=>(o.openBlock(),o.createElementBlock("div",Zw,[t.label?(o.openBlock(),o.createElementBlock("div",Uw,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),t.prompt?(o.openBlock(),o.createElementBlock("div",qw,o.toDisplayString(t.prompt),1)):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["scope-dropzone",{"-over":i.value,"-full-width":t.fullWidth}]),onDragover:m[0]||(m[0]=o.withModifiers(g=>i.value=!0,["prevent"])),onDragend:m[1]||(m[1]=g=>i.value=!1),onDragleave:m[2]||(m[2]=g=>i.value=!1),onDrop:o.withModifiers(c,["prevent"])},[o.createElementVNode("div",Gw,[o.createVNode(o.unref(Le),{icon:"file-bend"}),Kw,Xw,o.createVNode(o.unref(ga),{onClick:l,"cta-text":"Browse files",size:"sm",view:"secondary-blue",width:"157px"})]),o.createElementVNode("input",{ref_key:"input",ref:s,type:"file",name:"myFile",class:"scope-dropzone__input",onChange:d},null,544)],34),a.value.length?(o.openBlock(),o.createElementBlock("div",Qw,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.value,(g,p)=>(o.openBlock(),o.createElementBlock("div",Jw,[o.createElementVNode("div",eb,[o.createElementVNode("img",{class:"scope-dropzone__file__img",src:g.url},null,8,tb),o.createElementVNode("div",nb,[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:_=>u(p)},null,8,["onClick"])])]),o.createElementVNode("div",rb,o.toDisplayString(g.name),1)]))),256))])):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-5f33d447"]]),I0=t=>(o.pushScopeId("data-v-cd05e8e4"),t=t(),o.popScopeId(),t),ib={class:"sidebar-popup-container"},ob={class:"sidebar-popup__profile-info"},ab=["src"],lb={key:1,class:"sidebar-popup__profile-info__letter"},cb={class:"sidebar-popup__profile-info__wrapper"},db={class:"sidebar-popup__profile-info__name"},ub={class:"sidebar-popup__profile-info__e-mail"},hb=I0(()=>o.createElementVNode("div",{class:"sidebar-popup__divider"},null,-1)),fb={class:"sidebar-popup__tabs"},mb=["onClick"],pb={class:"sidebar-popup__tab__icon-wrapper"},gb={class:"sidebar-popup__tab__name"},_b=I0(()=>o.createElementVNode("div",{class:"sidebar-popup__divider"},null,-1)),yb={class:"sidebar-popup__actions-buttons"},wb=De({__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",ib,[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",ob,[t.user.image?(o.openBlock(),o.createElementBlock("img",{key:0,src:t.user.image,class:"sidebar-popup__profile-info__photo"},null,8,ab)):(o.openBlock(),o.createElementBlock("div",lb,o.toDisplayString(l.value),1)),o.createElementVNode("div",cb,[o.createElementVNode("div",db,o.toDisplayString(t.user.name),1),o.createElementVNode("div",ub,o.toDisplayString(t.user.email),1)])]),hb,o.createElementVNode("div",fb,[(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",pb,[o.createVNode(Le,{icon:g.name.split(" ").join("_")},null,8,["icon"])]),o.createElementVNode("div",gb,o.toDisplayString(g.name),1)],10,mb))),256))]),_b,o.createElementVNode("div",yb,[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"]]),bb={class:"scope-tooltip"},mn=De({__name:"Tooltip",props:{alternative:Boolean},setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("div",bb,[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}])},[o.renderSlot(e.$slots,"default",{},void 0,!0)],2)]))}},[["__scopeId","data-v-4c8f32d0"]]),kb={class:"no-more"},Cb={class:"no-more__icon-wrapper"},xb={class:"__text-wrapper"},Mb={class:"no-more__title"},Sb={class:"no-more__subtitle"},Xd=De({__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",kb,[o.createElementVNode("div",Cb,[o.createVNode(o.unref(Le),{icon:t.icon},null,8,["icon"])]),o.createElementVNode("div",xb,[o.createElementVNode("div",Mb,o.toDisplayString(t.title),1),o.createElementVNode("div",Sb,o.toDisplayString(t.subtitle),1)])]))}},[["__scopeId","data-v-2d206905"]]),H0=t=>(o.pushScopeId("data-v-ea085d6b"),t=t(),o.popScopeId(),t),vb={class:"long-short"},Tb=H0(()=>o.createElementVNode("span",null,"L",-1)),Ob={class:"long-short__item__text"},Db=H0(()=>o.createElementVNode("span",null,"S",-1)),Eb={class:"long-short__item__text"},z0=De({__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",vb,[o.createElementVNode("div",{class:"long-short__item -long",style:o.normalizeStyle(`width: ${n.value}%`)},[Tb,o.createElementVNode("div",Ob,o.toDisplayString(o.unref(Me)(t.isHidden,o.unref(Ot)(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}%`)},[Db,o.createElementVNode("div",Eb,o.toDisplayString(o.unref(Me)(t.isHidden,o.unref(Ot)(t.short/(t.long+t.short)*100,1),{repeat:3}))+"% ",1)],4)]))}},[["__scopeId","data-v-ea085d6b"]]);/*!
|
|
18
18
|
* @kurkle/color v0.3.2
|
|
19
19
|
* https://github.com/kurkle/color#readme
|
|
20
20
|
* (c) 2023 Jukka Kurkela
|
|
21
21
|
* Released under the MIT License
|
|
22
|
-
*/function yo(t){return t+.5|0}const Gr=(t,e,n)=>Math.max(Math.min(t,n),e);function wo(t){return Gr(yo(t*2.55),0,255)}function Kr(t){return Gr(yo(t*255),0,255)}function mr(t){return Gr(yo(t/2.55)/100,0,1)}function Y0(t){return Gr(yo(t*100),0,100)}const pn={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},Qd=[..."0123456789ABCDEF"],$b=t=>Qd[t&15],Pb=t=>Qd[(t&240)>>4]+Qd[t&15],
|
|
22
|
+
*/function yo(t){return t+.5|0}const Gr=(t,e,n)=>Math.max(Math.min(t,n),e);function wo(t){return Gr(yo(t*2.55),0,255)}function Kr(t){return Gr(yo(t*255),0,255)}function mr(t){return Gr(yo(t/2.55)/100,0,1)}function Y0(t){return Gr(yo(t*100),0,100)}const pn={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},Qd=[..."0123456789ABCDEF"],$b=t=>Qd[t&15],Pb=t=>Qd[(t&240)>>4]+Qd[t&15],Ha=t=>(t&240)>>4===(t&15),Lb=t=>Ha(t.r)&&Ha(t.g)&&Ha(t.b)&&Ha(t.a);function Vb(t){var e=t.length,n;return t[0]==="#"&&(e===4||e===5?n={r:255&pn[t[1]]*17,g:255&pn[t[2]]*17,b:255&pn[t[3]]*17,a:e===5?pn[t[4]]*17:255}:(e===7||e===9)&&(n={r:pn[t[1]]<<4|pn[t[2]],g:pn[t[3]]<<4|pn[t[4]],b:pn[t[5]]<<4|pn[t[6]],a:e===9?pn[t[7]]<<4|pn[t[8]]:255})),n}const Nb=(t,e)=>t<255?e(t):"";function Bb(t){var e=Lb(t)?$b:Pb;return t?"#"+e(t.r)+e(t.g)+e(t.b)+Nb(t.a,e):void 0}const Ab=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function W0(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 Fb(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 Rb(t,e,n){const r=W0(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 Ib(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 Jd(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=Ib(n,r,s,u,i),c=c*60+.5),[c|0,d||0,l]}function eu(t,e,n,r){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,r)).map(Kr)}function tu(t,e,n){return eu(W0,t,e,n)}function Hb(t,e,n){return eu(Rb,t,e,n)}function zb(t,e,n){return eu(Fb,t,e,n)}function j0(t){return(t%360+360)%360}function Yb(t){const e=Ab.exec(t);let n=255,r;if(!e)return;e[5]!==r&&(n=e[6]?wo(+e[5]):Kr(+e[5]));const s=j0(+e[2]),i=+e[3]/100,a=+e[4]/100;return e[1]==="hwb"?r=Hb(s,i,a):e[1]==="hsv"?r=zb(s,i,a):r=tu(s,i,a),{r:r[0],g:r[1],b:r[2],a:n}}function Wb(t,e){var n=Jd(t);n[0]=j0(n[0]+e),n=tu(n),t.r=n[0],t.g=n[1],t.b=n[2]}function jb(t){if(!t)return;const e=Jd(t),n=e[0],r=Y0(e[1]),s=Y0(e[2]);return t.a<255?`hsla(${n}, ${r}%, ${s}%, ${mr(t.a)})`:`hsl(${n}, ${r}%, ${s}%)`}const Z0={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"},U0={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 Zb(){const t={},e=Object.keys(U0),n=Object.keys(Z0);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,Z0[i]);i=parseInt(U0[a],16),t[l]=[i>>16&255,i>>8&255,i&255]}return t}let za;function Ub(t){za||(za=Zb(),za.transparent=[0,0,0,0]);const e=za[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}const qb=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function Gb(t){const e=qb.exec(t);let n=255,r,s,i;if(e){if(e[7]!==r){const a=+e[7];n=e[8]?wo(a):Gr(a*255,0,255)}return r=+e[1],s=+e[3],i=+e[5],r=255&(e[2]?wo(r):Gr(r,0,255)),s=255&(e[4]?wo(s):Gr(s,0,255)),i=255&(e[6]?wo(i):Gr(i,0,255)),{r,g:s,b:i,a:n}}}function Kb(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${mr(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const nu=t=>t<=.0031308?t*12.92:Math.pow(t,1/2.4)*1.055-.055,wi=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function Xb(t,e,n){const r=wi(mr(t.r)),s=wi(mr(t.g)),i=wi(mr(t.b));return{r:Kr(nu(r+n*(wi(mr(e.r))-r))),g:Kr(nu(s+n*(wi(mr(e.g))-s))),b:Kr(nu(i+n*(wi(mr(e.b))-i))),a:t.a+n*(e.a-t.a)}}function Ya(t,e,n){if(t){let r=Jd(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,e===0?360:1)),r=tu(r),t.r=r[0],t.g=r[1],t.b=r[2]}}function q0(t,e){return t&&Object.assign(e||{},t)}function G0(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=Kr(t[3]))):(e=q0(t,{r:0,g:0,b:0,a:1}),e.a=Kr(e.a)),e}function Qb(t){return t.charAt(0)==="r"?Gb(t):Yb(t)}class bo{constructor(e){if(e instanceof bo)return e;const n=typeof e;let r;n==="object"?r=G0(e):n==="string"&&(r=Vb(e)||Ub(e)||Qb(e)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var e=q0(this._rgb);return e&&(e.a=mr(e.a)),e}set rgb(e){this._rgb=G0(e)}rgbString(){return this._valid?Kb(this._rgb):void 0}hexString(){return this._valid?Bb(this._rgb):void 0}hslString(){return this._valid?jb(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=Xb(this._rgb,e._rgb,n)),this}clone(){return new bo(this.rgb)}alpha(e){return this._rgb.a=Kr(e),this}clearer(e){const n=this._rgb;return n.a*=1-e,this}greyscale(){const e=this._rgb,n=yo(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 Ya(this._rgb,2,e),this}darken(e){return Ya(this._rgb,2,-e),this}saturate(e){return Ya(this._rgb,1,e),this}desaturate(e){return Ya(this._rgb,1,-e),this}rotate(e){return Wb(this._rgb,e),this}}/*!
|
|
23
23
|
* Chart.js v4.4.2
|
|
24
24
|
* https://www.chartjs.org
|
|
25
25
|
* (c) 2024 Chart.js Contributors
|
|
26
26
|
* Released under the MIT License
|
|
27
|
-
*/function pr(){}const Jb=(()=>{let t=0;return()=>t++})();function Ue(t){return t===null||typeof t>"u"}function nt(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 Se(t){return t!==null&&Object.prototype.toString.call(t)==="[object Object]"}function ot(t){return(typeof t=="number"||t instanceof Number)&&isFinite(+t)}function en(t,e){return ot(t)?t:e}function Fe(t,e){return typeof t>"u"?e:t}const ek=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100*e:+t;function at(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(nt(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(Se(t))for(a=Object.keys(t),i=a.length,s=0;s<i;s++)e.call(n,t[a[s]],a[s])}function Wa(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 ja(t){if(nt(t))return t.map(ja);if(Se(t)){const e=Object.create(null),n=Object.keys(t),r=n.length;let s=0;for(;s<r;++s)e[n[s]]=ja(t[n[s]]);return e}return t}function K0(t){return["__proto__","prototype","constructor"].indexOf(t)===-1}function tk(t,e,n,r){if(!K0(t))return;const s=e[t],i=n[t];Se(s)&&Se(i)?ko(s,i,r):e[t]=ja(i)}function ko(t,e,n){const r=nt(e)?e:[e],s=r.length;if(!Se(t))return t;n=n||{};const i=n.merger||tk;let a;for(let l=0;l<s;++l){if(a=r[l],!Se(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 Co(t,e){return ko(t,e,{merger:nk})}function nk(t,e,n){if(!K0(t))return;const r=e[t],s=n[t];Se(r)&&Se(s)?Co(r,s):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=ja(s))}const X0={"":t=>t,x:t=>t.x,y:t=>t.y};function rk(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 sk(t){const e=rk(t);return n=>{for(const r of e){if(r==="")break;n=n&&n[r]}return n}}function Za(t,e){return(X0[e]||(X0[e]=sk(e)))(t)}function ru(t){return t.charAt(0).toUpperCase()+t.slice(1)}const Ua=t=>typeof t<"u",Xr=t=>typeof t=="function",Q0=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function ik(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}const vt=Math.PI,tn=2*vt,ok=tn+vt,qa=Number.POSITIVE_INFINITY,ak=vt/180,nn=vt/2,Ds=vt/4,J0=vt*2/3,Qr=Math.log10,bi=Math.sign;function xo(t,e,n){return Math.abs(t-e)<n}function em(t){const e=Math.round(t);t=xo(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 lk(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 Mo(t){return!isNaN(parseFloat(t))&&isFinite(t)}function ck(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}function tm(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 Jr(t){return t*(vt/180)}function su(t){return t*(180/vt)}function nm(t){if(!ot(t))return;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n++;return n}function dk(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*vt&&(i+=tn),{angle:i,distance:s}}function iu(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function uk(t,e){return(t-e+ok)%tn-vt}function rn(t){return(t%tn+tn)%tn}function rm(t,e,n,r){const s=rn(t),i=rn(e),a=rn(n),l=rn(i-s),c=rn(a-s),d=rn(s-i),u=rn(s-a);return s===i||s===a||r&&i===a||l>c&&d<u}function gn(t,e,n){return Math.max(e,Math.min(n,t))}function hk(t){return gn(t,-32768,32767)}function sm(t,e,n,r=1e-6){return t>=Math.min(e,n)-r&&t<=Math.max(e,n)+r}function ou(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)=>ou(t,n,r?s=>{const i=t[s][e];return i<n||i===n&&t[s+1][e]===n}:s=>t[s][e]<n),fk=(t,e,n)=>ou(t,n,r=>t[r][e]>=n);function mk(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 pk(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"+ru(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 om(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 gk(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const am=function(){return typeof window>"u"?function(t){return t()}:window.requestAnimationFrame}();function lm(t,e){let n=[],r=!1;return function(...s){n=s,r||(r=!0,am.call(window,()=>{r=!1,t.apply(e,n)}))}}function _k(t,e){let n;return function(...r){return e?(clearTimeout(n),n=setTimeout(t,e,r)):t.apply(this,r),e}}const yk=t=>t==="start"?"left":t==="end"?"right":"center",cm=(t,e,n)=>t==="start"?e:t==="end"?n:(e+n)/2;function wk(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=gn(Math.min(Es(l,c,d).lo,n?r:Es(e,c,a.getPixelForValue(d)).lo),0,r-1)),f?i=gn(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 bk(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 Ga=t=>t===0||t===1,dm=(t,e,n)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*tn/n)),um=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*tn/n)+1,So={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*nn)+1,easeOutSine:t=>Math.sin(t*nn),easeInOutSine:t=>-.5*(Math.cos(vt*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=>Ga(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=>Ga(t)?t:dm(t,.075,.3),easeOutElastic:t=>Ga(t)?t:um(t,.075,.3),easeInOutElastic(t){return Ga(t)?t:t<.5?.5*dm(t*2,.1125,.45):.5+.5*um(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-So.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?So.easeInBounce(t*2)*.5:So.easeOutBounce(t*2-1)*.5+.5};function au(t){if(t&&typeof t=="object"){const e=t.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function hm(t){return au(t)?t:new bo(t)}function lu(t){return au(t)?t:new bo(t).saturate(.5).darken(.1).hexString()}const kk=["x","y","borderWidth","radius","tension"],Ck=["color","borderColor","backgroundColor"];function xk(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:Ck},numbers:{type:"number",properties:kk}}),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 Mk(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const fm=new Map;function Sk(t,e){e=e||{};const n=t+JSON.stringify(e);let r=fm.get(n);return r||(r=new Intl.NumberFormat(t,e),fm.set(n,r)),r}function cu(t,e,n){return Sk(e,n).format(t)}const mm={values(t){return nt(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=vk(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),cu(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?mm.numeric.call(this,t,e,n):""}};function vk(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 Ka={formatters:mm};function Tk(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:Ka.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),du=Object.create(null);function vo(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 uu(t,e,n){return typeof e=="string"?ko(vo(t,e),n):ko(vo(t,""),e)}class Ok{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)=>lu(s.backgroundColor),this.hoverBorderColor=(r,s)=>lu(s.borderColor),this.hoverColor=(r,s)=>lu(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 uu(this,e,n)}get(e){return vo(this,e)}describe(e,n){return uu(du,e,n)}override(e,n){return uu($s,e,n)}route(e,n,r,s){const i=vo(this,e),a=vo(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 Se(c)?Object.assign({},d,c):Fe(c,d)},set(c){this[l]=c}}})}apply(e){e.forEach(n=>n(this))}}var pt=new Ok({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[xk,Mk,Tk]);function Dk(t){return!t||Ue(t.size)||Ue(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function Xa(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 Ek(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&&!nt(h))a=Xa(t,s,i,a,h);else if(nt(h))for(d=0,u=h.length;d<u;d++)f=h[d],f!=null&&!nt(f)&&(a=Xa(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 pm(t,e){e=e||t.getContext("2d"),e.save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()}function hu(t,e,n,r){$k(t,e,n,r,null)}function $k(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)*ak;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,tn):t.arc(n,r,p,0,tn),t.closePath();break;case"triangle":u=s?s/2:p,t.moveTo(n+Math.sin(_)*u,r-Math.cos(_)*p),_+=J0,t.lineTo(n+Math.sin(_)*u,r-Math.cos(_)*p),_+=J0,t.lineTo(n+Math.sin(_)*u,r-Math.cos(_)*p),t.closePath();break;case"rectRounded":d=p*.516,c=p-d,a=Math.cos(_+Ds)*c,h=Math.cos(_+Ds)*(s?s/2-d:c),l=Math.sin(_+Ds)*c,f=Math.sin(_+Ds)*(s?s/2-d:c),t.arc(n-h,r-l,d,_-vt,_-nn),t.arc(n+f,r-a,d,_-nn,_),t.arc(n+h,r+l,d,_,_+nn),t.arc(n-f,r+a,d,_+nn,_+vt),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}_+=Ds;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":_+=Ds;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),_+=Ds,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 gr(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 fu(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function mu(t){t.restore()}function Pk(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 Lk(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 Vk(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 Nk(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 Bk(t,e){const n=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=n}function Qa(t,e,n,r,s,i={}){const a=nt(e)?e:[e],l=i.strokeWidth>0&&i.strokeColor!=="";let c,d;for(t.save(),t.font=s.string,Vk(t,i),c=0;c<a.length;++c)d=a[c],i.backdrop&&Bk(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),Nk(t,n,r,d,i),r+=Number(s.lineHeight);t.restore()}function pu(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*vt,vt,!0),t.lineTo(n,r+i-a.bottomLeft),t.arc(n+a.bottomLeft,r+i-a.bottomLeft,a.bottomLeft,vt,nn,!0),t.lineTo(n+s-a.bottomRight,r+i),t.arc(n+s-a.bottomRight,r+i-a.bottomRight,a.bottomRight,nn,0,!0),t.lineTo(n+s,r+a.topRight),t.arc(n+s-a.topRight,r+a.topRight,a.topRight,0,-nn,!0),t.lineTo(n+a.topLeft,r)}const Ak=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,Fk=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function Rk(t,e){const n=(""+t).match(Ak);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 Ik=t=>+t||0;function gm(t,e){const n={},r=Se(e),s=r?Object.keys(e):e,i=Se(t)?r?a=>Fe(t[a],t[e[a]]):a=>t[a]:()=>t;for(const a of s)n[a]=Ik(i(a));return n}function zk(t){return gm(t,{top:"y",right:"x",bottom:"y",left:"x"})}function To(t){return gm(t,["topLeft","topRight","bottomLeft","bottomRight"])}function _n(t){const e=zk(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function sn(t,e){t=t||{},e=e||pt.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(Fk)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const s={family:Fe(t.family,e.family),lineHeight:Rk(Fe(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:Fe(t.weight,e.weight),string:""};return s.string=Dk(s),s}function Ja(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&&nt(l)&&(l=l[n%l.length],s=!1),l!==void 0))return r&&!s&&(r.cacheable=!1),l}function Hk(t,e,n){const{min:r,max:s}=t,i=ek(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 es(t,e){return Object.assign(Object.create(t),e)}function gu(t,e=[""],n,r,s=()=>t[0]){const i=n||t;typeof r>"u"&&(r=km("_fallback",t));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:i,_fallback:r,_getTarget:s,override:l=>gu([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 ym(l,c,()=>Kk(c,e,t,l))},getOwnPropertyDescriptor(l,c){return Reflect.getOwnPropertyDescriptor(l._scopes[0],c)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(l,c){return Cm(l).includes(c)},ownKeys(l){return Cm(l)},set(l,c,d){const u=l._storage||(l._storage=s());return l[c]=u[c]=d,delete l._keys,!0}})}function ki(t,e,n,r){const s={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:_m(t,r),setContext:i=>ki(t,i,n,r),override:i=>ki(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 ym(i,a,()=>Wk(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 _m(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:Xr(n)?n:()=>n,isIndexable:Xr(r)?r:()=>r}}const Yk=(t,e)=>t?t+ru(e):e,_u=(t,e)=>Se(e)&&t!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function ym(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const r=n();return t[e]=r,r}function Wk(t,e,n){const{_proxy:r,_context:s,_subProxy:i,_descriptors:a}=t;let l=r[e];return Xr(l)&&a.isScriptable(e)&&(l=jk(e,l,t,n)),nt(l)&&l.length&&(l=Zk(e,l,t,a.isIndexable)),_u(e,l)&&(l=ki(l,s,i&&i[e],a)),l}function jk(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),_u(t,c)&&(c=yu(s._scopes,s,t,c)),c}function Zk(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(Se(e[0])){const c=e,d=s._scopes.filter(u=>u!==c);e=[];for(const u of c){const h=yu(d,s,t,u);e.push(ki(h,i,a&&a[t],l))}}return e}function wm(t,e,n){return Xr(t)?t(e,n):t}const Uk=(t,e)=>t===!0?e:typeof t=="string"?Za(e,t):void 0;function qk(t,e,n,r,s){for(const i of e){const a=Uk(n,i);if(a){t.add(a);const l=wm(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 yu(t,e,n,r){const s=e._rootScopes,i=wm(e._fallback,n,r),a=[...t,...s],l=new Set;l.add(r);let c=bm(l,a,n,i||n,r);return c===null||typeof i<"u"&&i!==n&&(c=bm(l,a,i,c,r),c===null)?!1:gu(Array.from(l),[""],s,i,()=>Gk(e,n,r))}function bm(t,e,n,r,s){for(;n;)n=qk(t,e,n,r,s);return n}function Gk(t,e,n){const r=t._getTarget();e in r||(r[e]={});const s=r[e];return nt(s)&&Se(n)?n:s||{}}function Kk(t,e,n,r){let s;for(const i of e)if(s=km(Yk(i,t),n),typeof s<"u")return _u(t,s)?yu(n,r,t,s):s}function km(t,e){for(const n of e){if(!n)continue;const r=n[t];if(typeof r<"u")return r}}function Cm(t){let e=t._keys;return e||(e=t._keys=Xk(t._scopes)),e}function Xk(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 Qk=Number.EPSILON||1e-14,Ci=(t,e)=>e<t.length&&!t[e].skip&&t[e],xm=t=>t==="x"?"y":"x";function Jk(t,e,n,r){const s=t.skip?e:t,i=e,a=n.skip?e:n,l=iu(i,s),c=iu(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 eC(t,e,n){const r=t.length;let s,i,a,l,c,d=Ci(t,0);for(let u=0;u<r-1;++u)if(c=d,d=Ci(t,u+1),!(!c||!d)){if(xo(e[u],0,Qk)){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 tC(t,e,n="x"){const r=xm(n),s=t.length;let i,a,l,c=Ci(t,0);for(let d=0;d<s;++d){if(a=l,l=c,c=Ci(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 nC(t,e="x"){const n=xm(e),r=t.length,s=Array(r).fill(0),i=Array(r);let a,l,c,d=Ci(t,0);for(a=0;a<r;++a)if(l=c,c=d,d=Ci(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?bi(s[a-1])!==bi(s[a])?0:(s[a-1]+s[a])/2:s[a-1]:s[a]}eC(t,s,i),tC(t,i,e)}function el(t,e,n){return Math.max(Math.min(t,n),e)}function rC(t,e){let n,r,s,i,a,l=gr(t[0],e);for(n=0,r=t.length;n<r;++n)a=i,i=l,l=n<r-1&&gr(t[n+1],e),i&&(s=t[n],a&&(s.cp1x=el(s.cp1x,e.left,e.right),s.cp1y=el(s.cp1y,e.top,e.bottom)),l&&(s.cp2x=el(s.cp2x,e.left,e.right),s.cp2y=el(s.cp2y,e.top,e.bottom)))}function sC(t,e,n,r,s){let i,a,l,c;if(e.spanGaps&&(t=t.filter(d=>!d.skip)),e.cubicInterpolationMode==="monotone")nC(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=Jk(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&&rC(t,n)}function wu(){return typeof window<"u"&&typeof document<"u"}function bu(t){let e=t.parentNode;return e&&e.toString()==="[object ShadowRoot]"&&(e=e.host),e}function tl(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 nl=t=>t.ownerDocument.defaultView.getComputedStyle(t,null);function iC(t,e){return nl(t).getPropertyValue(e)}const oC=["top","right","bottom","left"];function Ls(t,e,n){const r={};n=n?"-"+n:"";for(let s=0;s<4;s++){const i=oC[s];r[i]=parseFloat(t[e+"-"+i+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const aC=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function lC(t,e){const n=t.touches,r=n&&n.length?n[0]:t,{offsetX:s,offsetY:i}=r;let a=!1,l,c;if(aC(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=nl(n),i=s.boxSizing==="border-box",a=Ls(s,"padding"),l=Ls(s,"border","width"),{x:c,y:d,box:u}=lC(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 cC(t,e,n){let r,s;if(e===void 0||n===void 0){const i=bu(t);if(!i)e=t.clientWidth,n=t.clientHeight;else{const a=i.getBoundingClientRect(),l=nl(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=tl(l.maxWidth,i,"clientWidth"),s=tl(l.maxHeight,i,"clientHeight")}}return{width:e,height:n,maxWidth:r||qa,maxHeight:s||qa}}const rl=t=>Math.round(t*10)/10;function dC(t,e,n,r){const s=nl(t),i=Ls(s,"margin"),a=tl(s.maxWidth,t,"clientWidth")||qa,l=tl(s.maxHeight,t,"clientHeight")||qa,c=cC(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=rl(Math.min(d,a,c.maxWidth)),u=rl(Math.min(u,l,c.maxHeight)),d&&!u&&(u=rl(d/2)),(e!==void 0||n!==void 0)&&r&&c.height&&u>c.height&&(u=c.height,d=rl(Math.floor(u*r))),{width:d,height:u}}function Mm(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 uC=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};wu()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch{}return t}();function Sm(t,e){const n=iC(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 hC(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 fC(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 mC=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}}},pC=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function ku(t,e,n){return t?mC(e,n):pC()}function gC(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 _C(t,e){e!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function vm(t){return t==="angle"?{between:rm,compare:uk,normalize:rn}:{between:sm,compare:(e,n)=>e-n,normalize:e=>e}}function Tm({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 yC(t,e,n){const{property:r,start:s,end:i}=n,{between:a,normalize:l}=vm(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 Om(t,e,n){if(!n)return[t];const{property:r,start:s,end:i}=n,a=e.length,{compare:l,between:c,normalize:d}=vm(r),{start:u,end:h,loop:f,style:m}=yC(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 D=u,E=u;D<=h;++D)C=e[D%a],!C.skip&&(y=d(C[r]),y!==k&&(p=c(y,s,i),_===null&&T()&&(_=l(y,s)===0?D:E),_!==null&&S()&&(g.push(Tm({start:_,end:D,loop:f,count:a,style:m})),_=null),E=D,k=y));return _!==null&&g.push(Tm({start:_,end:h,loop:f,count:a,style:m})),g}function Dm(t,e){const n=[],r=t.segments;for(let s=0;s<r.length;s++){const i=Om(r[s],t.points,e);i.length&&n.push(...i)}return n}function wC(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 bC(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 kC(t,e){const n=t.points,r=t.options.spanGaps,s=n.length;if(!s)return[];const i=!!t._loop,{start:a,end:l}=wC(n,s,i,r);if(r===!0)return Em(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 Em(t,bC(n,a,c,d),n,e)}function Em(t,e,n,r){return!r||!r.setContext||!n?e:CC(t,e,n,r)}function CC(t,e,n,r){const s=t._chart.getContext(),i=$m(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];_=$m(r.setContext(es(s,{type:"segment",p0:p,p1:y,p0DataIndex:(f-1)%c,p1DataIndex:f%c,datasetIndex:a}))),xC(_,u)&&m(h,f-1,g.loop,u),p=y,u=_}h<f-1&&m(h,f-1,g.loop,u)}return d}function $m(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function xC(t,e){if(!e)return!1;const n=[],r=function(s,i){return au(i)?(n.includes(i)||n.push(i),n.indexOf(i)):i};return JSON.stringify(t,r)!==JSON.stringify(e,r)}/*!
|
|
27
|
+
*/function pr(){}const Jb=(()=>{let t=0;return()=>t++})();function Ue(t){return t===null||typeof t>"u"}function nt(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 ve(t){return t!==null&&Object.prototype.toString.call(t)==="[object Object]"}function ot(t){return(typeof t=="number"||t instanceof Number)&&isFinite(+t)}function en(t,e){return ot(t)?t:e}function Fe(t,e){return typeof t>"u"?e:t}const ek=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100*e:+t;function at(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(nt(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(ve(t))for(a=Object.keys(t),i=a.length,s=0;s<i;s++)e.call(n,t[a[s]],a[s])}function Wa(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 ja(t){if(nt(t))return t.map(ja);if(ve(t)){const e=Object.create(null),n=Object.keys(t),r=n.length;let s=0;for(;s<r;++s)e[n[s]]=ja(t[n[s]]);return e}return t}function K0(t){return["__proto__","prototype","constructor"].indexOf(t)===-1}function tk(t,e,n,r){if(!K0(t))return;const s=e[t],i=n[t];ve(s)&&ve(i)?ko(s,i,r):e[t]=ja(i)}function ko(t,e,n){const r=nt(e)?e:[e],s=r.length;if(!ve(t))return t;n=n||{};const i=n.merger||tk;let a;for(let l=0;l<s;++l){if(a=r[l],!ve(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 Co(t,e){return ko(t,e,{merger:nk})}function nk(t,e,n){if(!K0(t))return;const r=e[t],s=n[t];ve(r)&&ve(s)?Co(r,s):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=ja(s))}const X0={"":t=>t,x:t=>t.x,y:t=>t.y};function rk(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 sk(t){const e=rk(t);return n=>{for(const r of e){if(r==="")break;n=n&&n[r]}return n}}function Za(t,e){return(X0[e]||(X0[e]=sk(e)))(t)}function ru(t){return t.charAt(0).toUpperCase()+t.slice(1)}const Ua=t=>typeof t<"u",Xr=t=>typeof t=="function",Q0=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function ik(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}const vt=Math.PI,tn=2*vt,ok=tn+vt,qa=Number.POSITIVE_INFINITY,ak=vt/180,nn=vt/2,Ds=vt/4,J0=vt*2/3,Qr=Math.log10,bi=Math.sign;function xo(t,e,n){return Math.abs(t-e)<n}function em(t){const e=Math.round(t);t=xo(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 lk(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 Mo(t){return!isNaN(parseFloat(t))&&isFinite(t)}function ck(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}function tm(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 Jr(t){return t*(vt/180)}function su(t){return t*(180/vt)}function nm(t){if(!ot(t))return;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n++;return n}function dk(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*vt&&(i+=tn),{angle:i,distance:s}}function iu(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function uk(t,e){return(t-e+ok)%tn-vt}function rn(t){return(t%tn+tn)%tn}function rm(t,e,n,r){const s=rn(t),i=rn(e),a=rn(n),l=rn(i-s),c=rn(a-s),d=rn(s-i),u=rn(s-a);return s===i||s===a||r&&i===a||l>c&&d<u}function gn(t,e,n){return Math.max(e,Math.min(n,t))}function hk(t){return gn(t,-32768,32767)}function sm(t,e,n,r=1e-6){return t>=Math.min(e,n)-r&&t<=Math.max(e,n)+r}function ou(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)=>ou(t,n,r?s=>{const i=t[s][e];return i<n||i===n&&t[s+1][e]===n}:s=>t[s][e]<n),fk=(t,e,n)=>ou(t,n,r=>t[r][e]>=n);function mk(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 pk(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"+ru(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 om(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 gk(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const am=function(){return typeof window>"u"?function(t){return t()}:window.requestAnimationFrame}();function lm(t,e){let n=[],r=!1;return function(...s){n=s,r||(r=!0,am.call(window,()=>{r=!1,t.apply(e,n)}))}}function _k(t,e){let n;return function(...r){return e?(clearTimeout(n),n=setTimeout(t,e,r)):t.apply(this,r),e}}const yk=t=>t==="start"?"left":t==="end"?"right":"center",cm=(t,e,n)=>t==="start"?e:t==="end"?n:(e+n)/2;function wk(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=gn(Math.min(Es(l,c,d).lo,n?r:Es(e,c,a.getPixelForValue(d)).lo),0,r-1)),f?i=gn(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 bk(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 Ga=t=>t===0||t===1,dm=(t,e,n)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*tn/n)),um=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*tn/n)+1,So={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*nn)+1,easeOutSine:t=>Math.sin(t*nn),easeInOutSine:t=>-.5*(Math.cos(vt*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=>Ga(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=>Ga(t)?t:dm(t,.075,.3),easeOutElastic:t=>Ga(t)?t:um(t,.075,.3),easeInOutElastic(t){return Ga(t)?t:t<.5?.5*dm(t*2,.1125,.45):.5+.5*um(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-So.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?So.easeInBounce(t*2)*.5:So.easeOutBounce(t*2-1)*.5+.5};function au(t){if(t&&typeof t=="object"){const e=t.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function hm(t){return au(t)?t:new bo(t)}function lu(t){return au(t)?t:new bo(t).saturate(.5).darken(.1).hexString()}const kk=["x","y","borderWidth","radius","tension"],Ck=["color","borderColor","backgroundColor"];function xk(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:Ck},numbers:{type:"number",properties:kk}}),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 Mk(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const fm=new Map;function Sk(t,e){e=e||{};const n=t+JSON.stringify(e);let r=fm.get(n);return r||(r=new Intl.NumberFormat(t,e),fm.set(n,r)),r}function cu(t,e,n){return Sk(e,n).format(t)}const mm={values(t){return nt(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=vk(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),cu(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?mm.numeric.call(this,t,e,n):""}};function vk(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 Ka={formatters:mm};function Tk(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:Ka.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),du=Object.create(null);function vo(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 uu(t,e,n){return typeof e=="string"?ko(vo(t,e),n):ko(vo(t,""),e)}class Ok{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)=>lu(s.backgroundColor),this.hoverBorderColor=(r,s)=>lu(s.borderColor),this.hoverColor=(r,s)=>lu(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 uu(this,e,n)}get(e){return vo(this,e)}describe(e,n){return uu(du,e,n)}override(e,n){return uu($s,e,n)}route(e,n,r,s){const i=vo(this,e),a=vo(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 ve(c)?Object.assign({},d,c):Fe(c,d)},set(c){this[l]=c}}})}apply(e){e.forEach(n=>n(this))}}var pt=new Ok({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[xk,Mk,Tk]);function Dk(t){return!t||Ue(t.size)||Ue(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function Xa(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 Ek(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&&!nt(h))a=Xa(t,s,i,a,h);else if(nt(h))for(d=0,u=h.length;d<u;d++)f=h[d],f!=null&&!nt(f)&&(a=Xa(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 pm(t,e){e=e||t.getContext("2d"),e.save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()}function hu(t,e,n,r){$k(t,e,n,r,null)}function $k(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)*ak;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,tn):t.arc(n,r,p,0,tn),t.closePath();break;case"triangle":u=s?s/2:p,t.moveTo(n+Math.sin(_)*u,r-Math.cos(_)*p),_+=J0,t.lineTo(n+Math.sin(_)*u,r-Math.cos(_)*p),_+=J0,t.lineTo(n+Math.sin(_)*u,r-Math.cos(_)*p),t.closePath();break;case"rectRounded":d=p*.516,c=p-d,a=Math.cos(_+Ds)*c,h=Math.cos(_+Ds)*(s?s/2-d:c),l=Math.sin(_+Ds)*c,f=Math.sin(_+Ds)*(s?s/2-d:c),t.arc(n-h,r-l,d,_-vt,_-nn),t.arc(n+f,r-a,d,_-nn,_),t.arc(n+h,r+l,d,_,_+nn),t.arc(n-f,r+a,d,_+nn,_+vt),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}_+=Ds;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":_+=Ds;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),_+=Ds,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 gr(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 fu(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function mu(t){t.restore()}function Pk(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 Lk(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 Vk(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 Nk(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 Bk(t,e){const n=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=n}function Qa(t,e,n,r,s,i={}){const a=nt(e)?e:[e],l=i.strokeWidth>0&&i.strokeColor!=="";let c,d;for(t.save(),t.font=s.string,Vk(t,i),c=0;c<a.length;++c)d=a[c],i.backdrop&&Bk(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),Nk(t,n,r,d,i),r+=Number(s.lineHeight);t.restore()}function pu(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*vt,vt,!0),t.lineTo(n,r+i-a.bottomLeft),t.arc(n+a.bottomLeft,r+i-a.bottomLeft,a.bottomLeft,vt,nn,!0),t.lineTo(n+s-a.bottomRight,r+i),t.arc(n+s-a.bottomRight,r+i-a.bottomRight,a.bottomRight,nn,0,!0),t.lineTo(n+s,r+a.topRight),t.arc(n+s-a.topRight,r+a.topRight,a.topRight,0,-nn,!0),t.lineTo(n+a.topLeft,r)}const Ak=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,Fk=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function Rk(t,e){const n=(""+t).match(Ak);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 Ik=t=>+t||0;function gm(t,e){const n={},r=ve(e),s=r?Object.keys(e):e,i=ve(t)?r?a=>Fe(t[a],t[e[a]]):a=>t[a]:()=>t;for(const a of s)n[a]=Ik(i(a));return n}function Hk(t){return gm(t,{top:"y",right:"x",bottom:"y",left:"x"})}function To(t){return gm(t,["topLeft","topRight","bottomLeft","bottomRight"])}function _n(t){const e=Hk(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function sn(t,e){t=t||{},e=e||pt.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(Fk)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const s={family:Fe(t.family,e.family),lineHeight:Rk(Fe(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:Fe(t.weight,e.weight),string:""};return s.string=Dk(s),s}function Ja(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&&nt(l)&&(l=l[n%l.length],s=!1),l!==void 0))return r&&!s&&(r.cacheable=!1),l}function zk(t,e,n){const{min:r,max:s}=t,i=ek(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 es(t,e){return Object.assign(Object.create(t),e)}function gu(t,e=[""],n,r,s=()=>t[0]){const i=n||t;typeof r>"u"&&(r=km("_fallback",t));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:i,_fallback:r,_getTarget:s,override:l=>gu([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 ym(l,c,()=>Kk(c,e,t,l))},getOwnPropertyDescriptor(l,c){return Reflect.getOwnPropertyDescriptor(l._scopes[0],c)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(l,c){return Cm(l).includes(c)},ownKeys(l){return Cm(l)},set(l,c,d){const u=l._storage||(l._storage=s());return l[c]=u[c]=d,delete l._keys,!0}})}function ki(t,e,n,r){const s={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:_m(t,r),setContext:i=>ki(t,i,n,r),override:i=>ki(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 ym(i,a,()=>Wk(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 _m(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:Xr(n)?n:()=>n,isIndexable:Xr(r)?r:()=>r}}const Yk=(t,e)=>t?t+ru(e):e,_u=(t,e)=>ve(e)&&t!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function ym(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const r=n();return t[e]=r,r}function Wk(t,e,n){const{_proxy:r,_context:s,_subProxy:i,_descriptors:a}=t;let l=r[e];return Xr(l)&&a.isScriptable(e)&&(l=jk(e,l,t,n)),nt(l)&&l.length&&(l=Zk(e,l,t,a.isIndexable)),_u(e,l)&&(l=ki(l,s,i&&i[e],a)),l}function jk(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),_u(t,c)&&(c=yu(s._scopes,s,t,c)),c}function Zk(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(ve(e[0])){const c=e,d=s._scopes.filter(u=>u!==c);e=[];for(const u of c){const h=yu(d,s,t,u);e.push(ki(h,i,a&&a[t],l))}}return e}function wm(t,e,n){return Xr(t)?t(e,n):t}const Uk=(t,e)=>t===!0?e:typeof t=="string"?Za(e,t):void 0;function qk(t,e,n,r,s){for(const i of e){const a=Uk(n,i);if(a){t.add(a);const l=wm(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 yu(t,e,n,r){const s=e._rootScopes,i=wm(e._fallback,n,r),a=[...t,...s],l=new Set;l.add(r);let c=bm(l,a,n,i||n,r);return c===null||typeof i<"u"&&i!==n&&(c=bm(l,a,i,c,r),c===null)?!1:gu(Array.from(l),[""],s,i,()=>Gk(e,n,r))}function bm(t,e,n,r,s){for(;n;)n=qk(t,e,n,r,s);return n}function Gk(t,e,n){const r=t._getTarget();e in r||(r[e]={});const s=r[e];return nt(s)&&ve(n)?n:s||{}}function Kk(t,e,n,r){let s;for(const i of e)if(s=km(Yk(i,t),n),typeof s<"u")return _u(t,s)?yu(n,r,t,s):s}function km(t,e){for(const n of e){if(!n)continue;const r=n[t];if(typeof r<"u")return r}}function Cm(t){let e=t._keys;return e||(e=t._keys=Xk(t._scopes)),e}function Xk(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 Qk=Number.EPSILON||1e-14,Ci=(t,e)=>e<t.length&&!t[e].skip&&t[e],xm=t=>t==="x"?"y":"x";function Jk(t,e,n,r){const s=t.skip?e:t,i=e,a=n.skip?e:n,l=iu(i,s),c=iu(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 eC(t,e,n){const r=t.length;let s,i,a,l,c,d=Ci(t,0);for(let u=0;u<r-1;++u)if(c=d,d=Ci(t,u+1),!(!c||!d)){if(xo(e[u],0,Qk)){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 tC(t,e,n="x"){const r=xm(n),s=t.length;let i,a,l,c=Ci(t,0);for(let d=0;d<s;++d){if(a=l,l=c,c=Ci(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 nC(t,e="x"){const n=xm(e),r=t.length,s=Array(r).fill(0),i=Array(r);let a,l,c,d=Ci(t,0);for(a=0;a<r;++a)if(l=c,c=d,d=Ci(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?bi(s[a-1])!==bi(s[a])?0:(s[a-1]+s[a])/2:s[a-1]:s[a]}eC(t,s,i),tC(t,i,e)}function el(t,e,n){return Math.max(Math.min(t,n),e)}function rC(t,e){let n,r,s,i,a,l=gr(t[0],e);for(n=0,r=t.length;n<r;++n)a=i,i=l,l=n<r-1&&gr(t[n+1],e),i&&(s=t[n],a&&(s.cp1x=el(s.cp1x,e.left,e.right),s.cp1y=el(s.cp1y,e.top,e.bottom)),l&&(s.cp2x=el(s.cp2x,e.left,e.right),s.cp2y=el(s.cp2y,e.top,e.bottom)))}function sC(t,e,n,r,s){let i,a,l,c;if(e.spanGaps&&(t=t.filter(d=>!d.skip)),e.cubicInterpolationMode==="monotone")nC(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=Jk(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&&rC(t,n)}function wu(){return typeof window<"u"&&typeof document<"u"}function bu(t){let e=t.parentNode;return e&&e.toString()==="[object ShadowRoot]"&&(e=e.host),e}function tl(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 nl=t=>t.ownerDocument.defaultView.getComputedStyle(t,null);function iC(t,e){return nl(t).getPropertyValue(e)}const oC=["top","right","bottom","left"];function Ls(t,e,n){const r={};n=n?"-"+n:"";for(let s=0;s<4;s++){const i=oC[s];r[i]=parseFloat(t[e+"-"+i+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const aC=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function lC(t,e){const n=t.touches,r=n&&n.length?n[0]:t,{offsetX:s,offsetY:i}=r;let a=!1,l,c;if(aC(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=nl(n),i=s.boxSizing==="border-box",a=Ls(s,"padding"),l=Ls(s,"border","width"),{x:c,y:d,box:u}=lC(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 cC(t,e,n){let r,s;if(e===void 0||n===void 0){const i=bu(t);if(!i)e=t.clientWidth,n=t.clientHeight;else{const a=i.getBoundingClientRect(),l=nl(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=tl(l.maxWidth,i,"clientWidth"),s=tl(l.maxHeight,i,"clientHeight")}}return{width:e,height:n,maxWidth:r||qa,maxHeight:s||qa}}const rl=t=>Math.round(t*10)/10;function dC(t,e,n,r){const s=nl(t),i=Ls(s,"margin"),a=tl(s.maxWidth,t,"clientWidth")||qa,l=tl(s.maxHeight,t,"clientHeight")||qa,c=cC(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=rl(Math.min(d,a,c.maxWidth)),u=rl(Math.min(u,l,c.maxHeight)),d&&!u&&(u=rl(d/2)),(e!==void 0||n!==void 0)&&r&&c.height&&u>c.height&&(u=c.height,d=rl(Math.floor(u*r))),{width:d,height:u}}function Mm(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 uC=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};wu()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch{}return t}();function Sm(t,e){const n=iC(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 hC(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 fC(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 mC=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}}},pC=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function ku(t,e,n){return t?mC(e,n):pC()}function gC(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 _C(t,e){e!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function vm(t){return t==="angle"?{between:rm,compare:uk,normalize:rn}:{between:sm,compare:(e,n)=>e-n,normalize:e=>e}}function Tm({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 yC(t,e,n){const{property:r,start:s,end:i}=n,{between:a,normalize:l}=vm(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 Om(t,e,n){if(!n)return[t];const{property:r,start:s,end:i}=n,a=e.length,{compare:l,between:c,normalize:d}=vm(r),{start:u,end:h,loop:f,style:m}=yC(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 D=u,E=u;D<=h;++D)C=e[D%a],!C.skip&&(y=d(C[r]),y!==k&&(p=c(y,s,i),_===null&&T()&&(_=l(y,s)===0?D:E),_!==null&&S()&&(g.push(Tm({start:_,end:D,loop:f,count:a,style:m})),_=null),E=D,k=y));return _!==null&&g.push(Tm({start:_,end:h,loop:f,count:a,style:m})),g}function Dm(t,e){const n=[],r=t.segments;for(let s=0;s<r.length;s++){const i=Om(r[s],t.points,e);i.length&&n.push(...i)}return n}function wC(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 bC(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 kC(t,e){const n=t.points,r=t.options.spanGaps,s=n.length;if(!s)return[];const i=!!t._loop,{start:a,end:l}=wC(n,s,i,r);if(r===!0)return Em(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 Em(t,bC(n,a,c,d),n,e)}function Em(t,e,n,r){return!r||!r.setContext||!n?e:CC(t,e,n,r)}function CC(t,e,n,r){const s=t._chart.getContext(),i=$m(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];_=$m(r.setContext(es(s,{type:"segment",p0:p,p1:y,p0DataIndex:(f-1)%c,p1DataIndex:f%c,datasetIndex:a}))),xC(_,u)&&m(h,f-1,g.loop,u),p=y,u=_}h<f-1&&m(h,f-1,g.loop,u)}return d}function $m(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function xC(t,e){if(!e)return!1;const n=[],r=function(s,i){return au(i)?(n.includes(i)||n.push(i),n.indexOf(i)):i};return JSON.stringify(t,r)!==JSON.stringify(e,r)}/*!
|
|
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
|
-
*/class MC{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=am.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 _r=new MC;const Pm="transparent",SC={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const r=hm(t||Pm),s=r.valid&&hm(e||Pm);return s&&s.valid?s.mix(r,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class vC{constructor(e,n,r,s){const i=n[r];s=Ja([e.to,s,i,e.from]);const a=Ja([e.from,i,s]);this._active=!0,this._fn=e.fn||SC[e.type||typeof a],this._easing=So[e.easing]||So.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=Ja([e.to,n,s,e.from]),this._from=Ja([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 Lm{constructor(e,n){this._chart=e,this._properties=new Map,this.configure(n)}configure(e){if(!Se(e))return;const n=Object.keys(pt.animation),r=this._properties;Object.getOwnPropertyNames(e).forEach(s=>{const i=e[s];if(!Se(i))return;const a={};for(const l of n)a[l]=i[l];(nt(i.properties)&&i.properties||[s]).forEach(l=>{(l===s||!r.has(l))&&r.set(l,a)})})}_animateOptions(e,n){const r=n.options,s=OC(e,r);if(!s)return[];const i=this._createAnimations(s,r);return r.$shared&&TC(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 vC(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 _r.add(this._chart,r),!0}}function TC(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 OC(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 Vm(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 DC(t,e,n){if(n===!1)return!1;const r=Vm(t,n),s=Vm(e,n);return{top:s.end,right:r.end,bottom:s.start,left:r.start}}function EC(t){let e,n,r,s;return Se(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 Nm(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 Bm(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],ot(d)&&(i||e===0||bi(e)===bi(d))&&(e+=d)}return e}}function $C(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 Am(t,e){const n=t&&t.options.stacked;return n||n===void 0&&e.stack!==void 0}function PC(t,e,n){return`${t.id}.${e.id}.${n.stack||n.type}`}function LC(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 VC(t,e,n){const r=t[e]||(t[e]={});return r[n]||(r[n]={})}function Fm(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 Rm(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=PC(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]=VC(s,u,p),f[l]=_,f._top=Fm(f,a,!0,r.type),f._bottom=Fm(f,a,!1,r.type);const C=f._visualValues||(f._visualValues={});C[l]=_}}function Cu(t,e){const n=t.scales;return Object.keys(n).filter(r=>n[r].axis===e).shift()}function NC(t,e){return es(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function BC(t,e,n){return es(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}function Oo(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 xu=t=>t==="reset"||t==="none",Im=(t,e)=>e?t:Object.assign({},t),AC=(t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:Nm(n,!0),values:null};class Do{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=Am(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&&Oo(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,Cu(e,"x")),a=n.yAxisID=Fe(r.yAxisID,Cu(e,"y")),l=n.rAxisID=Fe(r.rAxisID,Cu(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&&om(this._data,this),e._stacked&&Oo(e)}_dataCheck(){const e=this.getDataset(),n=e.data||(e.data=[]),r=this._data;if(Se(n))this._data=$C(n);else if(r!==n){if(r){om(r,this);const s=this._cachedMeta;Oo(s),s._parsed=[]}n&&Object.isExtensible(n)&&pk(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=Am(n.vScale,n),n.stack!==r.stack&&(s=!0,Oo(n),n.stack=r.stack),this._resyncElements(e),(s||i!==n._stacked)&&Rm(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{nt(s[e])?f=this.parseArrayData(r,s,e,n):Se(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&&Rm(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(Za(m,l),f),y:a.parse(Za(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:Nm(s,!0),values:n._stacks[e.axis]._visualValues};return Bm(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=Bm(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=AC(n,r,this.chart),d={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:u,max:h}=LC(l);let f,m;function g(){m=s[f];const p=m[l.axis];return!ot(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],ot(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=EC(Fe(this.options.clip,DC(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=BC(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=NC(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&&Ua(r);if(l)return Im(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(pt.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(Im(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 Lm(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||xu(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){xu(s)?Object.assign(e,r):this._resolveAnimations(n,s).update(e,r)}updateSharedOptions(e,n,r){e&&!xu(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&&Oo(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(Do,"defaults",{}),W(Do,"datasetElementType",null),W(Do,"dataElementType",null);class sl extends Do{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}=wk(n,s,a);this._drawStart=l,this._drawCount=c,bk(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,_=Mo(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 D=this.getParsed(M),E=Ue(D[m]),I=S[f]=a.getPixelForValue(D[f],M),j=S[m]=i||E?l.getBasePixel():l.getPixelForValue(c?this.applyStack(l,D,c):D[m],M);S.skip=isNaN(I)||isNaN(j)||E,S.stop=M>0&&Math.abs(D[f]-v[f])>_,p&&(S.parsed=D,S.raw=d.data[M]),h&&(S.options=u||this.resolveDataElementOptions(M,T.active?"active":s)),y||this.updateElement(T,M,S,s),v=D}}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(sl,"id","line"),W(sl,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),W(sl,"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 Mu{constructor(e){W(this,"options");this.options=e||{}}static override(e){Object.assign(Mu.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 FC={_date:Mu};function RC(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?fk: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 Eo(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}=RC(i[l],e,a,s);for(let m=h;m<=f;++m){const g=u[m];g.skip||r(g,d,m)}}}function IC(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 Su(t,e,n,r,s){const i=[];return!s&&!t.isPointInArea(e)||Eo(t,n,e,function(l,c,d){!s&&!gr(l,t.chartArea,0)||l.inRange(e.x,e.y,r)&&i.push({element:l,datasetIndex:c,index:d})},!0),i}function zC(t,e,n,r){let s=[];function i(a,l,c){const{startAngle:d,endAngle:u}=a.getProps(["startAngle","endAngle"],r),{angle:h}=dk(a,{x:e.x,y:e.y});rm(h,d,u)&&s.push({element:a,datasetIndex:l,index:c})}return Eo(t,n,e,i),s}function HC(t,e,n,r,s,i){let a=[];const l=IC(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 Eo(t,n,e,d),a}function vu(t,e,n,r,s,i){return!i&&!t.isPointInArea(e)?[]:n==="r"&&!r?zC(t,e,n,s):HC(t,e,n,r,s,i)}function zm(t,e,n,r,s){const i=[],a=n==="x"?"inXRange":"inYRange";let l=!1;return Eo(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 YC={evaluateInteractionItems:Eo,modes:{index(t,e,n,r){const s=Vs(e,t),i=n.axis||"x",a=n.includeInvisible||!1,l=n.intersect?Su(t,s,i,r,a):vu(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?Su(t,s,i,r,a):vu(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 Su(t,s,i,r,a)},nearest(t,e,n,r){const s=Vs(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;return vu(t,s,i,n.intersect,r,a)},x(t,e,n,r){const s=Vs(e,t);return zm(t,s,"x",n.intersect,r)},y(t,e,n,r){const s=Vs(e,t);return zm(t,s,"y",n.intersect,r)}}};const Hm=["left","top","right","bottom"];function $o(t,e){return t.filter(n=>n.pos===e)}function Ym(t,e){return t.filter(n=>Hm.indexOf(n.pos)===-1&&n.box.axis===e)}function Po(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 WC(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 jC(t){const e={};for(const n of t){const{stack:r,pos:s,stackWeight:i}=n;if(!r||!Hm.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 ZC(t,e){const n=jC(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 UC(t){const e=WC(t),n=Po(e.filter(d=>d.box.fullSize),!0),r=Po($o(e,"left"),!0),s=Po($o(e,"right")),i=Po($o(e,"top"),!0),a=Po($o(e,"bottom")),l=Ym(e,"x"),c=Ym(e,"y");return{fullSize:n,leftAndTop:r.concat(i),rightAndBottom:s.concat(c).concat(a).concat(l),chartArea:$o(e,"chartArea"),vertical:r.concat(s).concat(c),horizontal:i.concat(a).concat(l)}}function Wm(t,e,n,r){return Math.max(t[n],e[n])+Math.max(t[r],e[r])}function jm(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 qC(t,e,n,r){const{pos:s,box:i}=n,a=t.maxPadding;if(!Se(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&&jm(a,i.getPadding());const l=Math.max(0,e.outerWidth-Wm(a,t,"left","right")),c=Math.max(0,e.outerHeight-Wm(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 GC(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 KC(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 Lo(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,KC(l.horizontal,e));const{same:h,other:f}=qC(e,n,l,r);d|=h&&s.length,u=u||f,c.fullSize||s.push(l)}return d&&Lo(s,e,n,r)||u}function il(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 Zm(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;Ua(d.start)&&(a=d.start),c.fullSize?il(c,s.left,a,n.outerWidth-s.right-s.left,f):il(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;Ua(d.start)&&(i=d.start),c.fullSize?il(c,i,s.top,f,n.outerHeight-s.bottom-s.top):il(c,i,e.top+d.placed,f,h),d.start=i,d.placed+=h,i=c.right}}e.x=i,e.y=a}var ol={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=_n(t.options.layout.padding),i=Math.max(e-s.width,0),a=Math.max(n-s.height,0),l=UC(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);jm(f,_n(r));const m=Object.assign({maxPadding:f,w:i,h:a,x:s.left,y:s.top},s),g=ZC(c.concat(d),h);Lo(l.fullSize,m,h,g),Lo(c,m,h,g),Lo(d,m,h,g)&&Lo(c,m,h,g),GC(m),Zm(l.leftAndTop,m,h,g),m.x+=m.w,m.y+=m.h,Zm(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 Um{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 XC extends Um{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const al="$chartjs",QC={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},qm=t=>t===null||t==="";function JC(t,e){const n=t.style,r=t.getAttribute("height"),s=t.getAttribute("width");if(t[al]={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",qm(s)){const i=Sm(t,"width");i!==void 0&&(t.width=i)}if(qm(r))if(t.style.height==="")t.height=t.width/(e||2);else{const i=Sm(t,"height");i!==void 0&&(t.height=i)}return t}const Gm=uC?{passive:!0}:!1;function ex(t,e,n){t&&t.addEventListener(e,n,Gm)}function tx(t,e,n){t&&t.canvas&&t.canvas.removeEventListener(e,n,Gm)}function nx(t,e){const n=QC[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 ll(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function rx(t,e,n){const r=t.canvas,s=new MutationObserver(i=>{let a=!1;for(const l of i)a=a||ll(l.addedNodes,r),a=a&&!ll(l.removedNodes,r);a&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}function sx(t,e,n){const r=t.canvas,s=new MutationObserver(i=>{let a=!1;for(const l of i)a=a||ll(l.removedNodes,r),a=a&&!ll(l.addedNodes,r);a&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}const Vo=new Map;let Km=0;function Xm(){const t=window.devicePixelRatio;t!==Km&&(Km=t,Vo.forEach((e,n)=>{n.currentDevicePixelRatio!==t&&e()}))}function ix(t,e){Vo.size||window.addEventListener("resize",Xm),Vo.set(t,e)}function ox(t){Vo.delete(t),Vo.size||window.removeEventListener("resize",Xm)}function ax(t,e,n){const r=t.canvas,s=r&&bu(r);if(!s)return;const i=lm((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),ix(t,i),a}function Tu(t,e,n){n&&n.disconnect(),e==="resize"&&ox(t)}function lx(t,e,n){const r=t.canvas,s=lm(i=>{t.ctx!==null&&n(nx(i,t))},t);return ex(r,e,s),s}class cx extends Um{acquireContext(e,n){const r=e&&e.getContext&&e.getContext("2d");return r&&r.canvas===e?(JC(e,n),r):null}releaseContext(e){const n=e.canvas;if(!n[al])return!1;const r=n[al].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[al],!0}addEventListener(e,n,r){this.removeEventListener(e,n);const s=e.$proxies||(e.$proxies={}),a={attach:rx,detach:sx,resize:ax}[n]||lx;s[n]=a(e,n,r)}removeEventListener(e,n){const r=e.$proxies||(e.$proxies={}),s=r[n];if(!s)return;({attach:Tu,detach:Tu,resize:Tu}[n]||tx)(e,n,s),r[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,n,r,s){return dC(e,n,r,s)}isAttached(e){const n=bu(e);return!!(n&&n.isConnected)}}function dx(t){return!wu()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?XC:cx}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 Mo(this.x)&&Mo(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 ux(t,e){const n=t.options.ticks,r=hx(t),s=Math.min(n.maxTicksLimit||r,r),i=n.major.enabled?mx(e):[],a=i.length,l=i[0],c=i[a-1],d=[];if(a>s)return px(e,d,i,a/s),d;const u=fx(i,e,s);if(a>0){let h,f;const m=a>1?Math.round((c-l)/(a-1)):null;for(cl(e,d,u,Ue(m)?0:l-m,l),h=0,f=a-1;h<f;h++)cl(e,d,u,i[h],i[h+1]);return cl(e,d,u,c,Ue(m)?e.length:c+m),d}return cl(e,d,u),d}function hx(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 fx(t,e,n){const r=gx(t),s=e.length/n;if(!r)return Math.max(s,1);const i=lk(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 mx(t){const e=[];let n,r;for(n=0,r=t.length;n<r;n++)t[n].major&&e.push(n);return e}function px(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 cl(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 gx(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 _x=t=>t==="left"?"right":t==="right"?"left":t,Qm=(t,e,n)=>e==="top"||e==="left"?t[e]+n:t[e]-n,Jm=(t,e)=>Math.min(e||t,t);function ep(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 yx(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 wx(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 No(t){return t.drawTicks?t.tickLength:0}function tp(t,e){if(!t.display)return 0;const n=sn(t.font,e),r=_n(t.padding);return(nt(t.text)?t.text.length:1)*n.lineHeight+r.height}function bx(t,e){return es(t,{scale:e,type:"scale"})}function kx(t,e,n){return es(t,{tick:n,index:e,type:"tick"})}function Cx(t,e,n){let r=yk(t);return(n&&e!=="right"||!n&&e==="right")&&(r=_x(r)),r}function xx(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=cm(r,i,l),Se(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=Qm(t,n,e);f=l-i}else{if(Se(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=Qm(t,n,e);g=cm(r,a,s),h=n==="left"?-nn:nn}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=en(e,Number.POSITIVE_INFINITY),n=en(n,Number.NEGATIVE_INFINITY),r=en(r,Number.POSITIVE_INFINITY),s=en(s,Number.NEGATIVE_INFINITY),{min:en(e,r),max:en(n,s),minDefined:ot(e),maxDefined:ot(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:en(n,en(r,n)),max:en(r,en(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(){at(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=Hk(this,i,s),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const c=l<this.ticks.length;this._convertTicksToLabels(c?ep(this.ticks,l):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||a.source==="auto")&&(this.ticks=ux(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(){at(this.options.afterUpdate,[this])}beforeSetDimensions(){at(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(){at(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),at(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){at(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=at(n.callback,[i.value,r,e],this)}afterTickToLabelConversion(){at(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){at(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,n=e.ticks,r=Jm(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=gn(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-No(e.grid)-n.padding-tp(e.title,this.chart.options.font),d=Math.sqrt(h*h+f*f),a=su(Math.min(Math.asin(gn((u.highest.height+6)/l,-1,1)),Math.asin(gn(c/d,-1,1))-Math.asin(gn(f/d,-1,1)))),a=Math.max(s,Math.min(i,a))),this.labelRotation=a}afterCalculateLabelRotation(){at(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){at(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=tp(s,n.options.font);if(l?(e.width=this.maxWidth,e.height=No(i)+c):(e.height=this.maxHeight,e.width=No(i)+c),r.display&&this.ticks.length){const{first:d,last:u,widest:h,highest:f}=this._getLabelSizes(),m=r.padding*2,g=Jr(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(){at(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=ep(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/Jm(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)&&!nt(g))k=Xa(s,y.data,y.gc,k,g),v=C;else if(nt(g))for(f=0,m=g.length;f<m;++f)M=g[f],!Ue(M)&&!nt(M)&&(k=Xa(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)}wx(i,n);const T=a.indexOf(d),S=l.indexOf(u),D=E=>({width:a[E]||0,height:l[E]||0});return{first:D(0),last:D(n-1),widest:D(T),highest:D(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 hk(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=kx(this.getContext(),e,r))}return this.$context||(this.$context=bx(this.chart.getContext(),this))}_tickSize(){const e=this.options.ticks,n=Jr(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=No(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,D,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,D=C-_,I=y(e.left)+_,$=e.right;else if(a==="right")C=y(this.left),I=e.left,$=y(e.right)-_,T=C+_,D=this.left+f;else if(n==="x"){if(a==="center")C=y((e.top+e.bottom)/2+.5);else if(Se(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(Se(a)){const x=Object.keys(a)[0],V=a[x];C=y(this.chart.scales[x].getPixelForValue(V))}T=C-_,D=T-f,I=e.left,$=e.right}const G=Fe(s.ticks.maxTicksLimit,h),O=Math.max(1,Math.ceil(h/G));for(k=0;k<h;k+=O){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||[],z=V.tickBorderDashOffset;v=yx(this,k,c),v!==void 0&&(M=Ps(r,v,ee),d?T=D=I=$=M:S=E=j=R=M,m.push({tx1:T,ty1:S,tx2:D,ty2:E,x1:I,y1:j,x2:$,y2:R,width:ee,color:U,borderDash:P,borderDashOffset:N,tickWidth:b,tickColor:w,tickBorderDash:B,tickBorderDashOffset:z}))}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=No(r.grid),m=f+u,g=h?-u:m,p=-Jr(this.labelRotation),_=[];let y,C,k,v,M,T,S,D,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 O=this._getYAxisLabelAlignment(f);S=O.textAlign,M=O.x}else if(s==="right"){const O=this._getYAxisLabelAlignment(f);S=O.textAlign,M=O.x}else if(n==="x"){if(s==="center")T=(e.top+e.bottom)/2+m;else if(Se(s)){const O=Object.keys(s)[0],x=s[O];T=this.chart.scales[O].getPixelForValue(x)+m}S=this._getXAxisLabelAlignment()}else if(n==="y"){if(s==="center")M=(e.left+e.right)/2-m;else if(Se(s)){const O=Object.keys(s)[0],x=s[O];M=this.chart.scales[O].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 O=i.setContext(this.getContext(y));D=this.getPixelForTick(y)+i.labelOffset,E=this._resolveTickFontOptions(y),I=E.lineHeight,j=nt(v)?v.length:1;const x=j/2,V=O.color,Z=O.textStrokeColor,ee=O.textStrokeWidth;let U=S;a?(M=D,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&&!O.showLabelBackdrop&&(M+=I/2*Math.sin(p))):(T=D,$=(1-j)*I/2);let P;if(O.showLabelBackdrop){const N=_n(O.backdropPadding),b=G.heights[y],w=G.widths[y];let B=$-N.top,z=0-N.left;switch(R){case"middle":B-=b/2;break;case"bottom":B-=b;break}switch(S){case"center":z-=w/2;break;case"right":z-=w;break;case"inner":y===C-1?z-=w:y>0&&(z-=w/2);break}P={left:z,top:B,width:w+N.width,height:b+N.height,color:O.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(-Jr(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&&fu(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;Qa(r,d,0,u,c,l)}s&&mu(r)}drawTitle(){const{ctx:e,options:{position:n,title:r,reverse:s}}=this;if(!r.display)return;const i=sn(r.font),a=_n(r.padding),l=r.align;let c=i.lineHeight/2;n==="bottom"||n==="center"||Se(n)?(c+=a.bottom,nt(r.text)&&(c+=i.lineHeight*(r.text.length-1))):c+=a.top;const{titleX:d,titleY:u,maxWidth:h,rotation:f}=xx(this,c,n,l);Qa(e,r.text,0,0,i,{color:r.color,maxWidth:h,rotation:f,textAlign:Cx(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 sn(n.font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class dl{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;vx(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,Mx(e,a,r),this.override&&pt.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 pt[s]&&(delete pt[s][r],this.override&&delete $s[r])}}function Mx(t,e,n){const r=ko(Object.create(null),[n?pt.get(n):{},pt.get(e),t.defaults]);pt.set(e,r),t.defaultRoutes&&Sx(e,t.defaultRoutes),t.descriptors&&pt.describe(e,t.descriptors)}function Sx(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(".");pt.route(i,s,c,l)})}function vx(t){return"id"in t&&"defaults"in t}class Tx{constructor(){this.controllers=new dl(Do,"datasets",!0),this.elements=new dl(As,"elements"),this.plugins=new dl(Object,"plugins"),this.scales=new dl(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=ru(e);at(r["before"+s],[],r),n[e](r),at(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 Qn=new Tx;class Ox{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(at(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=Dx(r);return s===!1&&!n?[]:$x(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 Dx(t){const e={},n=[],r=Object.keys(Qn.plugins.items);for(let i=0;i<r.length;i++)n.push(Qn.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 Ex(t,e){return!e&&t===!1?null:t===!0?{}:t}function $x(t,{plugins:e,localIds:n},r,s){const i=[],a=t.getContext();for(const l of e){const c=l.id,d=Ex(r[c],s);d!==null&&i.push({plugin:l,options:Px(t.config,{plugin:l,local:n[c]},d,a)})}return i}function Px(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 Ou(t,e){const n=pt.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||n.indexAxis||"x"}function Lx(t,e){let n=t;return t==="_index_"?n=e:t==="_value_"&&(n=e==="x"?"y":"x"),n}function Vx(t,e){return t===e?"_index_":"_value_"}function np(t){if(t==="x"||t==="y"||t==="r")return t}function Nx(t){if(t==="top"||t==="bottom")return"x";if(t==="left"||t==="right")return"y"}function Du(t,...e){if(np(t))return t;for(const n of e){const r=n.axis||Nx(n.position)||t.length>1&&np(t[0].toLowerCase());if(r)return r}throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function rp(t,e,n){if(n[e+"AxisID"]===t)return{axis:e}}function Bx(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 rp(t,"x",n[0])||rp(t,"y",n[0])}return{}}function Ax(t,e){const n=$s[t.type]||{scales:{}},r=e.scales||{},s=Ou(t.type,e),i=Object.create(null);return Object.keys(r).forEach(a=>{const l=r[a];if(!Se(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=Du(a,l,Bx(a,t),pt.scales[l.type]),d=Vx(c,s),u=n.scales||{};i[a]=Co(Object.create(null),[{axis:c},l,u[c],u[d]])}),t.data.datasets.forEach(a=>{const l=a.type||t.type,c=a.indexAxis||Ou(l,e),u=($s[l]||{}).scales||{};Object.keys(u).forEach(h=>{const f=Lx(h,c),m=a[f+"AxisID"]||f;i[m]=i[m]||Object.create(null),Co(i[m],[{axis:f},r[m],u[h]])})}),Object.keys(i).forEach(a=>{const l=i[a];Co(l,[pt.scales[l.type],pt.scale])}),i}function sp(t){const e=t.options||(t.options={});e.plugins=Fe(e.plugins,{}),e.scales=Ax(t,e)}function ip(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function Fx(t){return t=t||{},t.data=ip(t.data),sp(t),t}const op=new Map,ap=new Set;function ul(t,e){let n=op.get(t);return n||(n=e(),op.set(t,n),ap.add(n)),n}const Bo=(t,e,n)=>{const r=Za(e,n);r!==void 0&&t.add(r)};class Rx{constructor(e){this._config=Fx(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(),sp(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return ul(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,n){return ul(`${e}.transition.${n}`,()=>[[`datasets.${e}.transitions.${n}`,`transitions.${n}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,n){return ul(`${e}-${n}`,()=>[[`datasets.${e}.elements.${n}`,`datasets.${e}`,`elements.${n}`,""]])}pluginScopeKeys(e){const n=e.id,r=this.type;return ul(`${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=>Bo(c,e,h))),u.forEach(h=>Bo(c,s,h)),u.forEach(h=>Bo(c,$s[i]||{},h)),u.forEach(h=>Bo(c,pt,h)),u.forEach(h=>Bo(c,du,h))});const d=Array.from(c);return d.length===0&&d.push(Object.create(null)),ap.has(n)&&a.set(n,d),d}chartOptionScopes(){const{options:e,type:n}=this;return[e,$s[n]||{},pt.datasets[n]||{},{type:n},pt,du]}resolveNamedOptions(e,n,r,s=[""]){const i={$shared:!0},{resolver:a,subPrefixes:l}=lp(this._resolverCache,e,s);let c=a;if(zx(a,n)){i.$shared=!1,r=Xr(r)?r():r;const d=this.createResolver(e,r,l);c=ki(a,r,d)}for(const d of n)i[d]=c[d];return i}createResolver(e,n,r=[""],s){const{resolver:i}=lp(this._resolverCache,e,r);return Se(n)?ki(i,n,void 0,s):i}}function lp(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:gu(e,n),subPrefixes:n.filter(l=>!l.toLowerCase().includes("hover"))},r.set(s,i)),i}const Ix=t=>Se(t)&&Object.getOwnPropertyNames(t).some(e=>Xr(t[e]));function zx(t,e){const{isScriptable:n,isIndexable:r}=_m(t);for(const s of e){const i=n(s),a=r(s),l=(a||i)&&t[s];if(i&&(Xr(l)||Ix(l))||a&&nt(l))return!0}return!1}var Hx="4.4.2";const Yx=["top","bottom","left","right","chartArea"];function cp(t,e){return t==="top"||t==="bottom"||Yx.indexOf(t)===-1&&e==="x"}function dp(t,e){return function(n,r){return n[t]===r[t]?n[e]-r[e]:n[t]-r[t]}}function up(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),at(n&&n.onComplete,[t],e)}function Wx(t){const e=t.chart,n=e.options.animation;at(n&&n.onProgress,[t],e)}function hp(t){return wu()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const hl={},fp=t=>{const e=hp(t);return Object.values(hl).filter(n=>n.canvas===e).pop()};function jx(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 Zx(t,e,n,r){return!n||t.type==="mouseout"?null:r?e:t}function fl(t,e,n){return t.options.clip?t[n]:e[n]}function Ux(t,e){const{xScale:n,yScale:r}=t;return n&&r?{left:fl(n,e,"left"),right:fl(n,e,"right"),top:fl(r,e,"top"),bottom:fl(r,e,"bottom")}:e}let Ao=(cs=class{static register(...e){Qn.add(...e),mp()}static unregister(...e){Qn.remove(...e),mp()}constructor(e,n){const r=this.config=new Rx(n),s=hp(e),i=fp(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||dx(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=Jb(),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 Ox,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=_k(h=>this.update(h),a.resizeDelay||0),this._dataChanges=[],hl[this.id]=this,!l||!c){console.error("Failed to create chart: can't acquire context from the given item");return}_r.listen(this,"complete",up),_r.listen(this,"progress",Wx),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 Qn}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():Mm(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return pm(this.canvas,this.ctx),this}stop(){return _r.stop(this),this}resize(e,n){_r.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,Mm(this,l,!0)&&(this.notifyPlugins("resize",{size:a}),at(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=Du(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=Du(c,l),u=Fe(l.type,a.dtype);(l.position===void 0||cp(l.position,d)!==cp(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=Qn.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=>{ol.configure(this,a,a.options),ol.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(dp("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||Ou(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=Qn.getController(l),{datasetElementType:d,dataElementType:u}=pt.datasets[l];Object.assign(c,{dataElementType:Qn.getElement(u),datasetElementType:d&&Qn.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(dp("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=>{ol.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,n=new Set(Object.keys(this._listeners)),r=new Set(e.events);(!Q0(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;jx(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(!Q0(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;ol.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,Xr(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&&(_r.has(this)?this.attached&&!_r.running(this)&&_r.start(this):(this.draw(),up({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=Ux(e,this.chartArea),a={meta:e,index:e.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",a)!==!1&&(s&&fu(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&&mu(n),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(e){return gr(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,n,r,s){const i=YC.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=es(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);Ua(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(),_r.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(),pm(e,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete hl[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}});!Wa(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=ik(e),d=Zx(e,this._lastEvent,r,c);r&&(this._lastEvent=null,at(i.onHover,[e,l,this],this),c&&at(i.onClick,[e,l,this],this));const u=!Wa(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",pt),W(cs,"instances",hl),W(cs,"overrides",$s),W(cs,"registry",Qn),W(cs,"version",Hx),W(cs,"getChart",fp),cs);function mp(){return Re(Ao.instances,t=>t._plugins.invalidate())}function pp(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 qx(t,e,n){t.lineTo(n.x,n.y)}function Gx(t){return t.stepped?Pk:t.tension||t.cubicInterpolationMode==="monotone"?Lk:qx}function gp(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 Kx(t,e,n,r){const{points:s,options:i}=e,{count:a,start:l,loop:c,ilen:d}=gp(s,n,r),u=Gx(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 Xx(t,e,n,r){const s=e.points,{count:i,start:a,ilen:l}=gp(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 Eu(t){const e=t.options,n=e.borderDash&&e.borderDash.length;return!t._decimated&&!t._loop&&!e.tension&&e.cubicInterpolationMode!=="monotone"&&!e.stepped&&!n?Xx:Kx}function Qx(t){return t.stepped?hC:t.tension||t.cubicInterpolationMode==="monotone"?fC:Ns}function Jx(t,e,n,r){let s=e._path;s||(s=e._path=new Path2D,e.path(s,n,r)&&s.closePath()),pp(t,e.options),t.stroke(s)}function eM(t,e,n,r){const{segments:s,options:i}=e,a=Eu(e);for(const l of s)pp(t,i,l.style),t.beginPath(),a(t,e,l,{start:n,end:n+r-1})&&t.closePath(),t.stroke()}const tM=typeof Path2D=="function";function nM(t,e,n,r){tM&&!e.options.segment?Jx(t,e,n,r):eM(t,e,n,r)}class yr 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;sC(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=kC(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=Dm(this,{property:n,start:s,end:s});if(!a.length)return;const l=[],c=Qx(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 Eu(this)(e,this,n,r)}path(e,n,r){const s=this.segments,i=Eu(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(),nM(e,this,r,s),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}W(yr,"id","line"),W(yr,"defaults",{borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0}),W(yr,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"}),W(yr,"descriptors",{_scriptable:!0,_indexable:e=>e!=="borderDash"&&e!=="fill"});function _p(t,e,n,r){const s=t.options,{[n]:i}=t.getProps([n],r);return Math.abs(e-i)<s.radius+s.hitRadius}class Fo 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 _p(this,n,"x",r)}inYRange(n,r){return _p(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||!gr(this,r,this.size(s)/2)||(n.strokeStyle=s.borderColor,n.lineWidth=s.borderWidth,n.fillStyle=s.backgroundColor,hu(n,s,this.x,this.y))}getRange(){const n=this.options||{};return n.radius+n.hitRadius}}W(Fo,"id","point"),W(Fo,"defaults",{borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0}),W(Fo,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});function rM(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=Pu(c,d,s);const u=$u(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=Dm(e,u);for(const f of h){const m=$u(n,i[f.start],i[f.end],f.loop),g=Om(l,s,m);for(const p of g)a.push({source:p,target:f,start:{[n]:yp(u,m,"start",Math.max)},end:{[n]:yp(u,m,"end",Math.min)}})}}return a}function $u(t,e,n,r){if(r)return;let s=e[t],i=n[t];return t==="angle"&&(s=rn(s),i=rn(i)),{property:t,start:s,end:i}}function sM(t,e){const{x:n=null,y:r=null}=t||{},s=e.points,i=[];return e.segments.forEach(({start:a,end:l})=>{l=Pu(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 Pu(t,e,n){for(;e>t;e--){const r=n[e];if(!isNaN(r.x)&&!isNaN(r.y))break}return e}function yp(t,e,n,r){return t&&e?r(t[n],e[n]):t?t[n]:e?e[n]:0}function wp(t,e){let n=[],r=!1;return nt(t)?(r=!0,n=t):n=sM(t,e),n.length?new yr({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function bp(t){return t&&t.fill!==!1}function iM(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(!ot(s))return s;if(a=t[s],!a)return!1;if(a.visible)return s;i.push(s),s=a.fill}return!1}function oM(t,e,n){const r=dM(t);if(Se(r))return isNaN(r.value)?!1:r;let s=parseFloat(r);return ot(s)&&Math.floor(s)===s?aM(r[0],e,s,n):["origin","start","end","stack","shape"].indexOf(r)>=0&&r}function aM(t,e,n,r){return(t==="-"||t==="+")&&(n=e+n),n===e||n<0||n>=r?!1:n}function lM(t,e){let n=null;return t==="start"?n=e.bottom:t==="end"?n=e.top:Se(t)?n=e.getPixelForValue(t.value):e.getBasePixel&&(n=e.getBasePixel()),n}function cM(t,e,n){let r;return t==="start"?r=n:t==="end"?r=e.options.reverse?e.min:e.max:Se(t)?r=t.value:r=e.getBaseValue(),r}function dM(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 uM(t){const{scale:e,index:n,line:r}=t,s=[],i=r.segments,a=r.points,l=hM(e,n);l.push(wp({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++)fM(s,a[u],l)}return new yr({points:s,options:{}})}function hM(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 fM(t,e,n){const r=[];for(let s=0;s<n.length;s++){const i=n[s],{first:a,last:l,point:c}=mM(i,e,"x");if(!(!c||a&&l)){if(a)r.unshift(c);else if(t.push(c),!l)break}}t.push(...r)}function mM(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(sm(s,h,f)){l=s===h,c=s===f;break}}return{first:l,last:c,point:r}}class kp{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:tn},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 pM(t){const{chart:e,fill:n,line:r}=t;if(ot(n))return gM(e,n);if(n==="stack")return uM(t);if(n==="shape")return!0;const s=_M(t);return s instanceof kp?s:wp(s,r)}function gM(t,e){const n=t.getDatasetMeta(e);return n&&t.isDatasetVisible(e)?n.dataset:null}function _M(t){return(t.scale||{}).getPointPositionForValue?wM(t):yM(t)}function yM(t){const{scale:e={},fill:n}=t,r=lM(n,e);if(ot(r)){const s=e.isHorizontal();return{x:s?r:null,y:s?null:r}}return null}function wM(t){const{scale:e,fill:n}=t,r=e.options,s=e.getLabels().length,i=r.reverse?e.max:e.min,a=cM(n,e,i),l=[];if(r.grid.circular){const c=e.getPointPositionForValue(0,i);return new kp({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 Lu(t,e,n){const r=pM(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&&(fu(t,n),bM(t,{line:s,target:r,above:u,below:h,area:n,scale:i,axis:a}),mu(t))}function bM(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&&(Cp(t,r,a.top),xp(t,{line:n,target:r,color:s,scale:l,property:c}),t.restore(),t.save(),Cp(t,r,a.bottom)),xp(t,{line:n,target:r,color:i,scale:l,property:c}),t.restore()}function Cp(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[Pu(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 xp(t,e){const{line:n,target:r,property:s,color:i,scale:a}=e,l=rM(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,kM(t,a,m&&$u(s,u,h)),t.beginPath();const g=!!n.pathSegment(t,c);let p;if(m){g?t.closePath():Mp(t,r,h,s);const _=!!r.pathSegment(t,d,{move:g,reverse:!0});p=g&&_,p||Mp(t,r,u,s)}t.closePath(),t.fill(p?"evenodd":"nonzero"),t.restore()}}function kM(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 Mp(t,e,n,r){const s=e.interpolate(n,r);s&&t.lineTo(s.x,s.y)}var Sp={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 yr&&(c={visible:t.isDatasetVisible(a),index:a,fill:oM(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=iM(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&&Lu(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;bp(i)&&Lu(t.ctx,i,t.chartArea)}},beforeDatasetDraw(t,e,n){const r=e.meta.$filler;!bp(r)||n.drawTime!=="beforeDatasetDraw"||Lu(t.ctx,r,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const Ro={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=iu(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 Jn(t,e){return e&&(nt(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function wr(t){return(typeof t=="string"||t instanceof String)&&t.indexOf(`
|
|
32
|
+
*/class MC{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=am.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 _r=new MC;const Pm="transparent",SC={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const r=hm(t||Pm),s=r.valid&&hm(e||Pm);return s&&s.valid?s.mix(r,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class vC{constructor(e,n,r,s){const i=n[r];s=Ja([e.to,s,i,e.from]);const a=Ja([e.from,i,s]);this._active=!0,this._fn=e.fn||SC[e.type||typeof a],this._easing=So[e.easing]||So.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=Ja([e.to,n,s,e.from]),this._from=Ja([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 Lm{constructor(e,n){this._chart=e,this._properties=new Map,this.configure(n)}configure(e){if(!ve(e))return;const n=Object.keys(pt.animation),r=this._properties;Object.getOwnPropertyNames(e).forEach(s=>{const i=e[s];if(!ve(i))return;const a={};for(const l of n)a[l]=i[l];(nt(i.properties)&&i.properties||[s]).forEach(l=>{(l===s||!r.has(l))&&r.set(l,a)})})}_animateOptions(e,n){const r=n.options,s=OC(e,r);if(!s)return[];const i=this._createAnimations(s,r);return r.$shared&&TC(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 vC(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 _r.add(this._chart,r),!0}}function TC(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 OC(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 Vm(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 DC(t,e,n){if(n===!1)return!1;const r=Vm(t,n),s=Vm(e,n);return{top:s.end,right:r.end,bottom:s.start,left:r.start}}function EC(t){let e,n,r,s;return ve(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 Nm(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 Bm(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],ot(d)&&(i||e===0||bi(e)===bi(d))&&(e+=d)}return e}}function $C(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 Am(t,e){const n=t&&t.options.stacked;return n||n===void 0&&e.stack!==void 0}function PC(t,e,n){return`${t.id}.${e.id}.${n.stack||n.type}`}function LC(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 VC(t,e,n){const r=t[e]||(t[e]={});return r[n]||(r[n]={})}function Fm(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 Rm(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=PC(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]=VC(s,u,p),f[l]=_,f._top=Fm(f,a,!0,r.type),f._bottom=Fm(f,a,!1,r.type);const C=f._visualValues||(f._visualValues={});C[l]=_}}function Cu(t,e){const n=t.scales;return Object.keys(n).filter(r=>n[r].axis===e).shift()}function NC(t,e){return es(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function BC(t,e,n){return es(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}function Oo(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 xu=t=>t==="reset"||t==="none",Im=(t,e)=>e?t:Object.assign({},t),AC=(t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:Nm(n,!0),values:null};class Do{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=Am(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&&Oo(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,Cu(e,"x")),a=n.yAxisID=Fe(r.yAxisID,Cu(e,"y")),l=n.rAxisID=Fe(r.rAxisID,Cu(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&&om(this._data,this),e._stacked&&Oo(e)}_dataCheck(){const e=this.getDataset(),n=e.data||(e.data=[]),r=this._data;if(ve(n))this._data=$C(n);else if(r!==n){if(r){om(r,this);const s=this._cachedMeta;Oo(s),s._parsed=[]}n&&Object.isExtensible(n)&&pk(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=Am(n.vScale,n),n.stack!==r.stack&&(s=!0,Oo(n),n.stack=r.stack),this._resyncElements(e),(s||i!==n._stacked)&&Rm(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{nt(s[e])?f=this.parseArrayData(r,s,e,n):ve(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&&Rm(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(Za(m,l),f),y:a.parse(Za(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:Nm(s,!0),values:n._stacks[e.axis]._visualValues};return Bm(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=Bm(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=AC(n,r,this.chart),d={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:u,max:h}=LC(l);let f,m;function g(){m=s[f];const p=m[l.axis];return!ot(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],ot(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=EC(Fe(this.options.clip,DC(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=BC(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=NC(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&&Ua(r);if(l)return Im(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(pt.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(Im(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 Lm(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||xu(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){xu(s)?Object.assign(e,r):this._resolveAnimations(n,s).update(e,r)}updateSharedOptions(e,n,r){e&&!xu(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&&Oo(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(Do,"defaults",{}),W(Do,"datasetElementType",null),W(Do,"dataElementType",null);class sl extends Do{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}=wk(n,s,a);this._drawStart=l,this._drawCount=c,bk(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,_=Mo(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 D=this.getParsed(M),E=Ue(D[m]),I=S[f]=a.getPixelForValue(D[f],M),j=S[m]=i||E?l.getBasePixel():l.getPixelForValue(c?this.applyStack(l,D,c):D[m],M);S.skip=isNaN(I)||isNaN(j)||E,S.stop=M>0&&Math.abs(D[f]-v[f])>_,p&&(S.parsed=D,S.raw=d.data[M]),h&&(S.options=u||this.resolveDataElementOptions(M,T.active?"active":s)),y||this.updateElement(T,M,S,s),v=D}}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(sl,"id","line"),W(sl,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),W(sl,"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 Mu{constructor(e){W(this,"options");this.options=e||{}}static override(e){Object.assign(Mu.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 FC={_date:Mu};function RC(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?fk: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 Eo(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}=RC(i[l],e,a,s);for(let m=h;m<=f;++m){const g=u[m];g.skip||r(g,d,m)}}}function IC(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 Su(t,e,n,r,s){const i=[];return!s&&!t.isPointInArea(e)||Eo(t,n,e,function(l,c,d){!s&&!gr(l,t.chartArea,0)||l.inRange(e.x,e.y,r)&&i.push({element:l,datasetIndex:c,index:d})},!0),i}function HC(t,e,n,r){let s=[];function i(a,l,c){const{startAngle:d,endAngle:u}=a.getProps(["startAngle","endAngle"],r),{angle:h}=dk(a,{x:e.x,y:e.y});rm(h,d,u)&&s.push({element:a,datasetIndex:l,index:c})}return Eo(t,n,e,i),s}function zC(t,e,n,r,s,i){let a=[];const l=IC(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 Eo(t,n,e,d),a}function vu(t,e,n,r,s,i){return!i&&!t.isPointInArea(e)?[]:n==="r"&&!r?HC(t,e,n,s):zC(t,e,n,r,s,i)}function Hm(t,e,n,r,s){const i=[],a=n==="x"?"inXRange":"inYRange";let l=!1;return Eo(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 YC={evaluateInteractionItems:Eo,modes:{index(t,e,n,r){const s=Vs(e,t),i=n.axis||"x",a=n.includeInvisible||!1,l=n.intersect?Su(t,s,i,r,a):vu(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?Su(t,s,i,r,a):vu(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 Su(t,s,i,r,a)},nearest(t,e,n,r){const s=Vs(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;return vu(t,s,i,n.intersect,r,a)},x(t,e,n,r){const s=Vs(e,t);return Hm(t,s,"x",n.intersect,r)},y(t,e,n,r){const s=Vs(e,t);return Hm(t,s,"y",n.intersect,r)}}};const zm=["left","top","right","bottom"];function $o(t,e){return t.filter(n=>n.pos===e)}function Ym(t,e){return t.filter(n=>zm.indexOf(n.pos)===-1&&n.box.axis===e)}function Po(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 WC(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 jC(t){const e={};for(const n of t){const{stack:r,pos:s,stackWeight:i}=n;if(!r||!zm.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 ZC(t,e){const n=jC(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 UC(t){const e=WC(t),n=Po(e.filter(d=>d.box.fullSize),!0),r=Po($o(e,"left"),!0),s=Po($o(e,"right")),i=Po($o(e,"top"),!0),a=Po($o(e,"bottom")),l=Ym(e,"x"),c=Ym(e,"y");return{fullSize:n,leftAndTop:r.concat(i),rightAndBottom:s.concat(c).concat(a).concat(l),chartArea:$o(e,"chartArea"),vertical:r.concat(s).concat(c),horizontal:i.concat(a).concat(l)}}function Wm(t,e,n,r){return Math.max(t[n],e[n])+Math.max(t[r],e[r])}function jm(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 qC(t,e,n,r){const{pos:s,box:i}=n,a=t.maxPadding;if(!ve(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&&jm(a,i.getPadding());const l=Math.max(0,e.outerWidth-Wm(a,t,"left","right")),c=Math.max(0,e.outerHeight-Wm(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 GC(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 KC(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 Lo(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,KC(l.horizontal,e));const{same:h,other:f}=qC(e,n,l,r);d|=h&&s.length,u=u||f,c.fullSize||s.push(l)}return d&&Lo(s,e,n,r)||u}function il(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 Zm(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;Ua(d.start)&&(a=d.start),c.fullSize?il(c,s.left,a,n.outerWidth-s.right-s.left,f):il(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;Ua(d.start)&&(i=d.start),c.fullSize?il(c,i,s.top,f,n.outerHeight-s.bottom-s.top):il(c,i,e.top+d.placed,f,h),d.start=i,d.placed+=h,i=c.right}}e.x=i,e.y=a}var ol={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=_n(t.options.layout.padding),i=Math.max(e-s.width,0),a=Math.max(n-s.height,0),l=UC(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);jm(f,_n(r));const m=Object.assign({maxPadding:f,w:i,h:a,x:s.left,y:s.top},s),g=ZC(c.concat(d),h);Lo(l.fullSize,m,h,g),Lo(c,m,h,g),Lo(d,m,h,g)&&Lo(c,m,h,g),GC(m),Zm(l.leftAndTop,m,h,g),m.x+=m.w,m.y+=m.h,Zm(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 Um{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 XC extends Um{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const al="$chartjs",QC={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},qm=t=>t===null||t==="";function JC(t,e){const n=t.style,r=t.getAttribute("height"),s=t.getAttribute("width");if(t[al]={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",qm(s)){const i=Sm(t,"width");i!==void 0&&(t.width=i)}if(qm(r))if(t.style.height==="")t.height=t.width/(e||2);else{const i=Sm(t,"height");i!==void 0&&(t.height=i)}return t}const Gm=uC?{passive:!0}:!1;function ex(t,e,n){t&&t.addEventListener(e,n,Gm)}function tx(t,e,n){t&&t.canvas&&t.canvas.removeEventListener(e,n,Gm)}function nx(t,e){const n=QC[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 ll(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function rx(t,e,n){const r=t.canvas,s=new MutationObserver(i=>{let a=!1;for(const l of i)a=a||ll(l.addedNodes,r),a=a&&!ll(l.removedNodes,r);a&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}function sx(t,e,n){const r=t.canvas,s=new MutationObserver(i=>{let a=!1;for(const l of i)a=a||ll(l.removedNodes,r),a=a&&!ll(l.addedNodes,r);a&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}const Vo=new Map;let Km=0;function Xm(){const t=window.devicePixelRatio;t!==Km&&(Km=t,Vo.forEach((e,n)=>{n.currentDevicePixelRatio!==t&&e()}))}function ix(t,e){Vo.size||window.addEventListener("resize",Xm),Vo.set(t,e)}function ox(t){Vo.delete(t),Vo.size||window.removeEventListener("resize",Xm)}function ax(t,e,n){const r=t.canvas,s=r&&bu(r);if(!s)return;const i=lm((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),ix(t,i),a}function Tu(t,e,n){n&&n.disconnect(),e==="resize"&&ox(t)}function lx(t,e,n){const r=t.canvas,s=lm(i=>{t.ctx!==null&&n(nx(i,t))},t);return ex(r,e,s),s}class cx extends Um{acquireContext(e,n){const r=e&&e.getContext&&e.getContext("2d");return r&&r.canvas===e?(JC(e,n),r):null}releaseContext(e){const n=e.canvas;if(!n[al])return!1;const r=n[al].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[al],!0}addEventListener(e,n,r){this.removeEventListener(e,n);const s=e.$proxies||(e.$proxies={}),a={attach:rx,detach:sx,resize:ax}[n]||lx;s[n]=a(e,n,r)}removeEventListener(e,n){const r=e.$proxies||(e.$proxies={}),s=r[n];if(!s)return;({attach:Tu,detach:Tu,resize:Tu}[n]||tx)(e,n,s),r[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,n,r,s){return dC(e,n,r,s)}isAttached(e){const n=bu(e);return!!(n&&n.isConnected)}}function dx(t){return!wu()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?XC:cx}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 Mo(this.x)&&Mo(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 ux(t,e){const n=t.options.ticks,r=hx(t),s=Math.min(n.maxTicksLimit||r,r),i=n.major.enabled?mx(e):[],a=i.length,l=i[0],c=i[a-1],d=[];if(a>s)return px(e,d,i,a/s),d;const u=fx(i,e,s);if(a>0){let h,f;const m=a>1?Math.round((c-l)/(a-1)):null;for(cl(e,d,u,Ue(m)?0:l-m,l),h=0,f=a-1;h<f;h++)cl(e,d,u,i[h],i[h+1]);return cl(e,d,u,c,Ue(m)?e.length:c+m),d}return cl(e,d,u),d}function hx(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 fx(t,e,n){const r=gx(t),s=e.length/n;if(!r)return Math.max(s,1);const i=lk(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 mx(t){const e=[];let n,r;for(n=0,r=t.length;n<r;n++)t[n].major&&e.push(n);return e}function px(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 cl(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 gx(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 _x=t=>t==="left"?"right":t==="right"?"left":t,Qm=(t,e,n)=>e==="top"||e==="left"?t[e]+n:t[e]-n,Jm=(t,e)=>Math.min(e||t,t);function ep(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 yx(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 wx(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 No(t){return t.drawTicks?t.tickLength:0}function tp(t,e){if(!t.display)return 0;const n=sn(t.font,e),r=_n(t.padding);return(nt(t.text)?t.text.length:1)*n.lineHeight+r.height}function bx(t,e){return es(t,{scale:e,type:"scale"})}function kx(t,e,n){return es(t,{tick:n,index:e,type:"tick"})}function Cx(t,e,n){let r=yk(t);return(n&&e!=="right"||!n&&e==="right")&&(r=_x(r)),r}function xx(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=cm(r,i,l),ve(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=Qm(t,n,e);f=l-i}else{if(ve(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=Qm(t,n,e);g=cm(r,a,s),h=n==="left"?-nn:nn}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=en(e,Number.POSITIVE_INFINITY),n=en(n,Number.NEGATIVE_INFINITY),r=en(r,Number.POSITIVE_INFINITY),s=en(s,Number.NEGATIVE_INFINITY),{min:en(e,r),max:en(n,s),minDefined:ot(e),maxDefined:ot(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:en(n,en(r,n)),max:en(r,en(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(){at(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=zk(this,i,s),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const c=l<this.ticks.length;this._convertTicksToLabels(c?ep(this.ticks,l):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||a.source==="auto")&&(this.ticks=ux(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(){at(this.options.afterUpdate,[this])}beforeSetDimensions(){at(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(){at(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),at(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){at(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=at(n.callback,[i.value,r,e],this)}afterTickToLabelConversion(){at(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){at(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,n=e.ticks,r=Jm(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=gn(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-No(e.grid)-n.padding-tp(e.title,this.chart.options.font),d=Math.sqrt(h*h+f*f),a=su(Math.min(Math.asin(gn((u.highest.height+6)/l,-1,1)),Math.asin(gn(c/d,-1,1))-Math.asin(gn(f/d,-1,1)))),a=Math.max(s,Math.min(i,a))),this.labelRotation=a}afterCalculateLabelRotation(){at(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){at(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=tp(s,n.options.font);if(l?(e.width=this.maxWidth,e.height=No(i)+c):(e.height=this.maxHeight,e.width=No(i)+c),r.display&&this.ticks.length){const{first:d,last:u,widest:h,highest:f}=this._getLabelSizes(),m=r.padding*2,g=Jr(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(){at(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=ep(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/Jm(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)&&!nt(g))k=Xa(s,y.data,y.gc,k,g),v=C;else if(nt(g))for(f=0,m=g.length;f<m;++f)M=g[f],!Ue(M)&&!nt(M)&&(k=Xa(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)}wx(i,n);const T=a.indexOf(d),S=l.indexOf(u),D=E=>({width:a[E]||0,height:l[E]||0});return{first:D(0),last:D(n-1),widest:D(T),highest:D(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 hk(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=kx(this.getContext(),e,r))}return this.$context||(this.$context=bx(this.chart.getContext(),this))}_tickSize(){const e=this.options.ticks,n=Jr(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=No(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,D,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,D=C-_,I=y(e.left)+_,$=e.right;else if(a==="right")C=y(this.left),I=e.left,$=y(e.right)-_,T=C+_,D=this.left+f;else if(n==="x"){if(a==="center")C=y((e.top+e.bottom)/2+.5);else if(ve(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(ve(a)){const x=Object.keys(a)[0],V=a[x];C=y(this.chart.scales[x].getPixelForValue(V))}T=C-_,D=T-f,I=e.left,$=e.right}const G=Fe(s.ticks.maxTicksLimit,h),O=Math.max(1,Math.ceil(h/G));for(k=0;k<h;k+=O){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=yx(this,k,c),v!==void 0&&(M=Ps(r,v,ee),d?T=D=I=$=M:S=E=j=R=M,m.push({tx1:T,ty1:S,tx2:D,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=No(r.grid),m=f+u,g=h?-u:m,p=-Jr(this.labelRotation),_=[];let y,C,k,v,M,T,S,D,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 O=this._getYAxisLabelAlignment(f);S=O.textAlign,M=O.x}else if(s==="right"){const O=this._getYAxisLabelAlignment(f);S=O.textAlign,M=O.x}else if(n==="x"){if(s==="center")T=(e.top+e.bottom)/2+m;else if(ve(s)){const O=Object.keys(s)[0],x=s[O];T=this.chart.scales[O].getPixelForValue(x)+m}S=this._getXAxisLabelAlignment()}else if(n==="y"){if(s==="center")M=(e.left+e.right)/2-m;else if(ve(s)){const O=Object.keys(s)[0],x=s[O];M=this.chart.scales[O].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 O=i.setContext(this.getContext(y));D=this.getPixelForTick(y)+i.labelOffset,E=this._resolveTickFontOptions(y),I=E.lineHeight,j=nt(v)?v.length:1;const x=j/2,V=O.color,Z=O.textStrokeColor,ee=O.textStrokeWidth;let U=S;a?(M=D,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&&!O.showLabelBackdrop&&(M+=I/2*Math.sin(p))):(T=D,$=(1-j)*I/2);let P;if(O.showLabelBackdrop){const N=_n(O.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:O.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(-Jr(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&&fu(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;Qa(r,d,0,u,c,l)}s&&mu(r)}drawTitle(){const{ctx:e,options:{position:n,title:r,reverse:s}}=this;if(!r.display)return;const i=sn(r.font),a=_n(r.padding),l=r.align;let c=i.lineHeight/2;n==="bottom"||n==="center"||ve(n)?(c+=a.bottom,nt(r.text)&&(c+=i.lineHeight*(r.text.length-1))):c+=a.top;const{titleX:d,titleY:u,maxWidth:h,rotation:f}=xx(this,c,n,l);Qa(e,r.text,0,0,i,{color:r.color,maxWidth:h,rotation:f,textAlign:Cx(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 sn(n.font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class dl{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;vx(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,Mx(e,a,r),this.override&&pt.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 pt[s]&&(delete pt[s][r],this.override&&delete $s[r])}}function Mx(t,e,n){const r=ko(Object.create(null),[n?pt.get(n):{},pt.get(e),t.defaults]);pt.set(e,r),t.defaultRoutes&&Sx(e,t.defaultRoutes),t.descriptors&&pt.describe(e,t.descriptors)}function Sx(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(".");pt.route(i,s,c,l)})}function vx(t){return"id"in t&&"defaults"in t}class Tx{constructor(){this.controllers=new dl(Do,"datasets",!0),this.elements=new dl(As,"elements"),this.plugins=new dl(Object,"plugins"),this.scales=new dl(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=ru(e);at(r["before"+s],[],r),n[e](r),at(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 Qn=new Tx;class Ox{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(at(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=Dx(r);return s===!1&&!n?[]:$x(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 Dx(t){const e={},n=[],r=Object.keys(Qn.plugins.items);for(let i=0;i<r.length;i++)n.push(Qn.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 Ex(t,e){return!e&&t===!1?null:t===!0?{}:t}function $x(t,{plugins:e,localIds:n},r,s){const i=[],a=t.getContext();for(const l of e){const c=l.id,d=Ex(r[c],s);d!==null&&i.push({plugin:l,options:Px(t.config,{plugin:l,local:n[c]},d,a)})}return i}function Px(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 Ou(t,e){const n=pt.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||n.indexAxis||"x"}function Lx(t,e){let n=t;return t==="_index_"?n=e:t==="_value_"&&(n=e==="x"?"y":"x"),n}function Vx(t,e){return t===e?"_index_":"_value_"}function np(t){if(t==="x"||t==="y"||t==="r")return t}function Nx(t){if(t==="top"||t==="bottom")return"x";if(t==="left"||t==="right")return"y"}function Du(t,...e){if(np(t))return t;for(const n of e){const r=n.axis||Nx(n.position)||t.length>1&&np(t[0].toLowerCase());if(r)return r}throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function rp(t,e,n){if(n[e+"AxisID"]===t)return{axis:e}}function Bx(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 rp(t,"x",n[0])||rp(t,"y",n[0])}return{}}function Ax(t,e){const n=$s[t.type]||{scales:{}},r=e.scales||{},s=Ou(t.type,e),i=Object.create(null);return Object.keys(r).forEach(a=>{const l=r[a];if(!ve(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=Du(a,l,Bx(a,t),pt.scales[l.type]),d=Vx(c,s),u=n.scales||{};i[a]=Co(Object.create(null),[{axis:c},l,u[c],u[d]])}),t.data.datasets.forEach(a=>{const l=a.type||t.type,c=a.indexAxis||Ou(l,e),u=($s[l]||{}).scales||{};Object.keys(u).forEach(h=>{const f=Lx(h,c),m=a[f+"AxisID"]||f;i[m]=i[m]||Object.create(null),Co(i[m],[{axis:f},r[m],u[h]])})}),Object.keys(i).forEach(a=>{const l=i[a];Co(l,[pt.scales[l.type],pt.scale])}),i}function sp(t){const e=t.options||(t.options={});e.plugins=Fe(e.plugins,{}),e.scales=Ax(t,e)}function ip(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function Fx(t){return t=t||{},t.data=ip(t.data),sp(t),t}const op=new Map,ap=new Set;function ul(t,e){let n=op.get(t);return n||(n=e(),op.set(t,n),ap.add(n)),n}const Bo=(t,e,n)=>{const r=Za(e,n);r!==void 0&&t.add(r)};class Rx{constructor(e){this._config=Fx(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(),sp(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return ul(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,n){return ul(`${e}.transition.${n}`,()=>[[`datasets.${e}.transitions.${n}`,`transitions.${n}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,n){return ul(`${e}-${n}`,()=>[[`datasets.${e}.elements.${n}`,`datasets.${e}`,`elements.${n}`,""]])}pluginScopeKeys(e){const n=e.id,r=this.type;return ul(`${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=>Bo(c,e,h))),u.forEach(h=>Bo(c,s,h)),u.forEach(h=>Bo(c,$s[i]||{},h)),u.forEach(h=>Bo(c,pt,h)),u.forEach(h=>Bo(c,du,h))});const d=Array.from(c);return d.length===0&&d.push(Object.create(null)),ap.has(n)&&a.set(n,d),d}chartOptionScopes(){const{options:e,type:n}=this;return[e,$s[n]||{},pt.datasets[n]||{},{type:n},pt,du]}resolveNamedOptions(e,n,r,s=[""]){const i={$shared:!0},{resolver:a,subPrefixes:l}=lp(this._resolverCache,e,s);let c=a;if(Hx(a,n)){i.$shared=!1,r=Xr(r)?r():r;const d=this.createResolver(e,r,l);c=ki(a,r,d)}for(const d of n)i[d]=c[d];return i}createResolver(e,n,r=[""],s){const{resolver:i}=lp(this._resolverCache,e,r);return ve(n)?ki(i,n,void 0,s):i}}function lp(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:gu(e,n),subPrefixes:n.filter(l=>!l.toLowerCase().includes("hover"))},r.set(s,i)),i}const Ix=t=>ve(t)&&Object.getOwnPropertyNames(t).some(e=>Xr(t[e]));function Hx(t,e){const{isScriptable:n,isIndexable:r}=_m(t);for(const s of e){const i=n(s),a=r(s),l=(a||i)&&t[s];if(i&&(Xr(l)||Ix(l))||a&&nt(l))return!0}return!1}var zx="4.4.2";const Yx=["top","bottom","left","right","chartArea"];function cp(t,e){return t==="top"||t==="bottom"||Yx.indexOf(t)===-1&&e==="x"}function dp(t,e){return function(n,r){return n[t]===r[t]?n[e]-r[e]:n[t]-r[t]}}function up(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),at(n&&n.onComplete,[t],e)}function Wx(t){const e=t.chart,n=e.options.animation;at(n&&n.onProgress,[t],e)}function hp(t){return wu()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const hl={},fp=t=>{const e=hp(t);return Object.values(hl).filter(n=>n.canvas===e).pop()};function jx(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 Zx(t,e,n,r){return!n||t.type==="mouseout"?null:r?e:t}function fl(t,e,n){return t.options.clip?t[n]:e[n]}function Ux(t,e){const{xScale:n,yScale:r}=t;return n&&r?{left:fl(n,e,"left"),right:fl(n,e,"right"),top:fl(r,e,"top"),bottom:fl(r,e,"bottom")}:e}let Ao=(cs=class{static register(...e){Qn.add(...e),mp()}static unregister(...e){Qn.remove(...e),mp()}constructor(e,n){const r=this.config=new Rx(n),s=hp(e),i=fp(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||dx(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=Jb(),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 Ox,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=_k(h=>this.update(h),a.resizeDelay||0),this._dataChanges=[],hl[this.id]=this,!l||!c){console.error("Failed to create chart: can't acquire context from the given item");return}_r.listen(this,"complete",up),_r.listen(this,"progress",Wx),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 Qn}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():Mm(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return pm(this.canvas,this.ctx),this}stop(){return _r.stop(this),this}resize(e,n){_r.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,Mm(this,l,!0)&&(this.notifyPlugins("resize",{size:a}),at(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=Du(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=Du(c,l),u=Fe(l.type,a.dtype);(l.position===void 0||cp(l.position,d)!==cp(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=Qn.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=>{ol.configure(this,a,a.options),ol.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(dp("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||Ou(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=Qn.getController(l),{datasetElementType:d,dataElementType:u}=pt.datasets[l];Object.assign(c,{dataElementType:Qn.getElement(u),datasetElementType:d&&Qn.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(dp("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=>{ol.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,n=new Set(Object.keys(this._listeners)),r=new Set(e.events);(!Q0(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;jx(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(!Q0(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;ol.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,Xr(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&&(_r.has(this)?this.attached&&!_r.running(this)&&_r.start(this):(this.draw(),up({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=Ux(e,this.chartArea),a={meta:e,index:e.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",a)!==!1&&(s&&fu(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&&mu(n),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(e){return gr(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,n,r,s){const i=YC.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=es(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);Ua(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(),_r.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(),pm(e,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete hl[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}});!Wa(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=ik(e),d=Zx(e,this._lastEvent,r,c);r&&(this._lastEvent=null,at(i.onHover,[e,l,this],this),c&&at(i.onClick,[e,l,this],this));const u=!Wa(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",pt),W(cs,"instances",hl),W(cs,"overrides",$s),W(cs,"registry",Qn),W(cs,"version",zx),W(cs,"getChart",fp),cs);function mp(){return Re(Ao.instances,t=>t._plugins.invalidate())}function pp(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 qx(t,e,n){t.lineTo(n.x,n.y)}function Gx(t){return t.stepped?Pk:t.tension||t.cubicInterpolationMode==="monotone"?Lk:qx}function gp(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 Kx(t,e,n,r){const{points:s,options:i}=e,{count:a,start:l,loop:c,ilen:d}=gp(s,n,r),u=Gx(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 Xx(t,e,n,r){const s=e.points,{count:i,start:a,ilen:l}=gp(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 Eu(t){const e=t.options,n=e.borderDash&&e.borderDash.length;return!t._decimated&&!t._loop&&!e.tension&&e.cubicInterpolationMode!=="monotone"&&!e.stepped&&!n?Xx:Kx}function Qx(t){return t.stepped?hC:t.tension||t.cubicInterpolationMode==="monotone"?fC:Ns}function Jx(t,e,n,r){let s=e._path;s||(s=e._path=new Path2D,e.path(s,n,r)&&s.closePath()),pp(t,e.options),t.stroke(s)}function eM(t,e,n,r){const{segments:s,options:i}=e,a=Eu(e);for(const l of s)pp(t,i,l.style),t.beginPath(),a(t,e,l,{start:n,end:n+r-1})&&t.closePath(),t.stroke()}const tM=typeof Path2D=="function";function nM(t,e,n,r){tM&&!e.options.segment?Jx(t,e,n,r):eM(t,e,n,r)}class yr 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;sC(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=kC(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=Dm(this,{property:n,start:s,end:s});if(!a.length)return;const l=[],c=Qx(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 Eu(this)(e,this,n,r)}path(e,n,r){const s=this.segments,i=Eu(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(),nM(e,this,r,s),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}W(yr,"id","line"),W(yr,"defaults",{borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0}),W(yr,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"}),W(yr,"descriptors",{_scriptable:!0,_indexable:e=>e!=="borderDash"&&e!=="fill"});function _p(t,e,n,r){const s=t.options,{[n]:i}=t.getProps([n],r);return Math.abs(e-i)<s.radius+s.hitRadius}class Fo 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 _p(this,n,"x",r)}inYRange(n,r){return _p(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||!gr(this,r,this.size(s)/2)||(n.strokeStyle=s.borderColor,n.lineWidth=s.borderWidth,n.fillStyle=s.backgroundColor,hu(n,s,this.x,this.y))}getRange(){const n=this.options||{};return n.radius+n.hitRadius}}W(Fo,"id","point"),W(Fo,"defaults",{borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0}),W(Fo,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});function rM(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=Pu(c,d,s);const u=$u(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=Dm(e,u);for(const f of h){const m=$u(n,i[f.start],i[f.end],f.loop),g=Om(l,s,m);for(const p of g)a.push({source:p,target:f,start:{[n]:yp(u,m,"start",Math.max)},end:{[n]:yp(u,m,"end",Math.min)}})}}return a}function $u(t,e,n,r){if(r)return;let s=e[t],i=n[t];return t==="angle"&&(s=rn(s),i=rn(i)),{property:t,start:s,end:i}}function sM(t,e){const{x:n=null,y:r=null}=t||{},s=e.points,i=[];return e.segments.forEach(({start:a,end:l})=>{l=Pu(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 Pu(t,e,n){for(;e>t;e--){const r=n[e];if(!isNaN(r.x)&&!isNaN(r.y))break}return e}function yp(t,e,n,r){return t&&e?r(t[n],e[n]):t?t[n]:e?e[n]:0}function wp(t,e){let n=[],r=!1;return nt(t)?(r=!0,n=t):n=sM(t,e),n.length?new yr({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function bp(t){return t&&t.fill!==!1}function iM(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(!ot(s))return s;if(a=t[s],!a)return!1;if(a.visible)return s;i.push(s),s=a.fill}return!1}function oM(t,e,n){const r=dM(t);if(ve(r))return isNaN(r.value)?!1:r;let s=parseFloat(r);return ot(s)&&Math.floor(s)===s?aM(r[0],e,s,n):["origin","start","end","stack","shape"].indexOf(r)>=0&&r}function aM(t,e,n,r){return(t==="-"||t==="+")&&(n=e+n),n===e||n<0||n>=r?!1:n}function lM(t,e){let n=null;return t==="start"?n=e.bottom:t==="end"?n=e.top:ve(t)?n=e.getPixelForValue(t.value):e.getBasePixel&&(n=e.getBasePixel()),n}function cM(t,e,n){let r;return t==="start"?r=n:t==="end"?r=e.options.reverse?e.min:e.max:ve(t)?r=t.value:r=e.getBaseValue(),r}function dM(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 uM(t){const{scale:e,index:n,line:r}=t,s=[],i=r.segments,a=r.points,l=hM(e,n);l.push(wp({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++)fM(s,a[u],l)}return new yr({points:s,options:{}})}function hM(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 fM(t,e,n){const r=[];for(let s=0;s<n.length;s++){const i=n[s],{first:a,last:l,point:c}=mM(i,e,"x");if(!(!c||a&&l)){if(a)r.unshift(c);else if(t.push(c),!l)break}}t.push(...r)}function mM(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(sm(s,h,f)){l=s===h,c=s===f;break}}return{first:l,last:c,point:r}}class kp{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:tn},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 pM(t){const{chart:e,fill:n,line:r}=t;if(ot(n))return gM(e,n);if(n==="stack")return uM(t);if(n==="shape")return!0;const s=_M(t);return s instanceof kp?s:wp(s,r)}function gM(t,e){const n=t.getDatasetMeta(e);return n&&t.isDatasetVisible(e)?n.dataset:null}function _M(t){return(t.scale||{}).getPointPositionForValue?wM(t):yM(t)}function yM(t){const{scale:e={},fill:n}=t,r=lM(n,e);if(ot(r)){const s=e.isHorizontal();return{x:s?r:null,y:s?null:r}}return null}function wM(t){const{scale:e,fill:n}=t,r=e.options,s=e.getLabels().length,i=r.reverse?e.max:e.min,a=cM(n,e,i),l=[];if(r.grid.circular){const c=e.getPointPositionForValue(0,i);return new kp({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 Lu(t,e,n){const r=pM(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&&(fu(t,n),bM(t,{line:s,target:r,above:u,below:h,area:n,scale:i,axis:a}),mu(t))}function bM(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&&(Cp(t,r,a.top),xp(t,{line:n,target:r,color:s,scale:l,property:c}),t.restore(),t.save(),Cp(t,r,a.bottom)),xp(t,{line:n,target:r,color:i,scale:l,property:c}),t.restore()}function Cp(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[Pu(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 xp(t,e){const{line:n,target:r,property:s,color:i,scale:a}=e,l=rM(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,kM(t,a,m&&$u(s,u,h)),t.beginPath();const g=!!n.pathSegment(t,c);let p;if(m){g?t.closePath():Mp(t,r,h,s);const _=!!r.pathSegment(t,d,{move:g,reverse:!0});p=g&&_,p||Mp(t,r,u,s)}t.closePath(),t.fill(p?"evenodd":"nonzero"),t.restore()}}function kM(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 Mp(t,e,n,r){const s=e.interpolate(n,r);s&&t.lineTo(s.x,s.y)}var Sp={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 yr&&(c={visible:t.isDatasetVisible(a),index:a,fill:oM(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=iM(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&&Lu(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;bp(i)&&Lu(t.ctx,i,t.chartArea)}},beforeDatasetDraw(t,e,n){const r=e.meta.$filler;!bp(r)||n.drawTime!=="beforeDatasetDraw"||Lu(t.ctx,r,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const Ro={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=iu(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 Jn(t,e){return e&&(nt(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function wr(t){return(typeof t=="string"||t instanceof String)&&t.indexOf(`
|
|
33
33
|
`)>-1?t.split(`
|
|
34
|
-
`):t}function CM(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 vp(t,e){const n=t.chart.ctx,{body:r,footer:s,title:i}=t,{boxWidth:a,boxHeight:l}=e,c=sn(e.bodyFont),d=sn(e.titleFont),u=sn(e.footerFont),h=i.length,f=s.length,m=r.length,g=_n(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 xM(t,e){const{y:n,height:r}=e;return n<r/2?"top":n>t.height-r/2?"bottom":"center"}function MM(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 SM(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"),MM(d,t,e,n)&&(d="center"),d}function Tp(t,e,n){const r=n.yAlign||e.yAlign||xM(t,n);return{xAlign:n.xAlign||e.xAlign||SM(t,e,n,r),yAlign:r}}function vM(t,e){let{x:n,width:r}=t;return e==="right"?n-=r:e==="center"&&(n-=r/2),n}function TM(t,e,n){let{y:r,height:s}=t;return e==="top"?r+=n:e==="bottom"?r-=s+n:r-=s/2,r}function Op(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}=To(a);let g=vM(e,l);const p=TM(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:gn(g,0,r.width-e.width),y:gn(p,0,r.height-e.height)}}function ml(t,e,n){const r=_n(n.padding);return e==="center"?t.x+t.width/2:e==="right"?t.x+t.width-r.right:t.x+r.left}function Dp(t){return Jn([],wr(t))}function OM(t,e,n){return es(t,{tooltip:e,tooltipItems:n,type:"tooltip"})}function Ep(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}const $p={beforeTitle:pr,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:pr,beforeBody:pr,beforeLabel:pr,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:pr,afterBody:pr,beforeFooter:pr,footer:pr,afterFooter:pr};function Yt(t,e,n,r){const s=t[e].call(n,r);return typeof s>"u"?$p[e].call(n,r):s}class Vu 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 Lm(this.chart,s);return s._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=OM(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,n){const{callbacks:r}=n,s=Yt(r,"beforeTitle",this,e),i=Yt(r,"title",this,e),a=Yt(r,"afterTitle",this,e);let l=[];return l=Jn(l,wr(s)),l=Jn(l,wr(i)),l=Jn(l,wr(a)),l}getBeforeBody(e,n){return Dp(Yt(n.callbacks,"beforeBody",this,e))}getBody(e,n){const{callbacks:r}=n,s=[];return Re(e,i=>{const a={before:[],lines:[],after:[]},l=Ep(r,i);Jn(a.before,wr(Yt(l,"beforeLabel",this,i))),Jn(a.lines,Yt(l,"label",this,i)),Jn(a.after,wr(Yt(l,"afterLabel",this,i))),s.push(a)}),s}getAfterBody(e,n){return Dp(Yt(n.callbacks,"afterBody",this,e))}getFooter(e,n){const{callbacks:r}=n,s=Yt(r,"beforeFooter",this,e),i=Yt(r,"footer",this,e),a=Yt(r,"afterFooter",this,e);let l=[];return l=Jn(l,wr(s)),l=Jn(l,wr(i)),l=Jn(l,wr(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(CM(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=Ep(e.callbacks,u);s.push(Yt(h,"labelColor",this,u)),i.push(Yt(h,"labelPointStyle",this,u)),a.push(Yt(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=Ro[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=vp(this,r),d=Object.assign({},l,c),u=Tp(this.chart,r,d),h=Op(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}=To(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=ku(r.rtl,this.x,this.width);for(e.x=ml(this,r.titleAlign,r),n.textAlign=d.textAlign(r.titleAlign),n.textBaseline="middle",a=sn(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=sn(i.bodyFont),h=ml(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,hu(e,p,_,y),e.strokeStyle=a.borderColor,e.fillStyle=a.backgroundColor,hu(e,p,_,y)}else{e.lineWidth=Se(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=To(a.borderRadius);Object.values(y).some(C=>C!==0)?(e.beginPath(),e.fillStyle=i.multiKeyBackground,pu(e,{x:p,y:g,w:d,h:c,radius:y}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),pu(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=sn(r.bodyFont);let f=h.lineHeight,m=0;const g=ku(r.rtl,this.x,this.width),p=function(D){n.fillText(D,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=ml(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=ku(r.rtl,this.x,this.width);for(e.x=ml(this,r.footerAlign,r),e.y+=r.footerMarginTop,n.textAlign=c.textAlign(r.footerAlign),n.textBaseline="middle",a=sn(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}=To(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=Ro[e.position].call(this,this._active,this._eventPosition);if(!a)return;const l=this._size=vp(this,e),c=Object.assign({},a,this._size),d=Tp(n,e,c),u=Op(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=_n(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),gC(e,n.textDirection),i.y+=a.top,this.drawTitle(i,e,n),this.drawBody(i,e,n),this.drawFooter(i,e,n),_C(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=!Wa(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||!Wa(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=Ro[i.position].call(this,e,n);return a!==!1&&(r!==a.x||s!==a.y)}}W(Vu,"positioners",Ro);var DM={id:"tooltip",_element:Vu,positioners:Ro,afterInit(t,e,n){n&&(t.tooltip=new Vu({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:$p},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 EM=(t,e,n,r)=>(typeof e=="string"?(n=t.push(e)-1,r.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function $M(t,e,n,r){const s=t.indexOf(e);if(s===-1)return EM(t,e,n,r);const i=t.lastIndexOf(e);return s!==i?n:s}const PM=(t,e)=>t===null?null:gn(Math.round(t),0,e);function Pp(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}class pl 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:$M(r,e,Fe(n,e),this._addedLabels),PM(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 Pp.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(pl,"id","category"),W(pl,"defaults",{ticks:{callback:Pp}});function LM(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=em((_-p)/g/m)*m,T,S,D,E;if(M<1e-14&&!y&&!C)return[{value:p},{value:_}];E=Math.ceil(_/M)-Math.floor(p/M),E>g&&(M=em(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,D=Math.ceil(_/M)*M):(S=p,D=_),y&&C&&i&&ck((l-a)/i,M/1e3)?(E=Math.round(Math.min((l-a)/M,u)),M=(l-a)/E,S=a,D=l):k?(S=y?a:S,D=C?l:D,E=d-1,M=(D-S)/E):(E=(D-S)/M,xo(E,Math.round(E),M/1e3)?E=Math.round(E):E=Math.ceil(E));const I=Math.max(nm(M),nm(S));T=Math.pow(10,Ue(c)?I:c),S=Math.round(S*T)/T,D=Math.round(D*T)/T;let j=0;for(y&&(f&&S!==a?(n.push({value:a}),S<a&&j++,xo(Math.round((S+j*M)*T)/T,a,Lp(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&&D!==l?n.length&&xo(n[n.length-1].value,l,Lp(l,v,t))?n[n.length-1].value=l:n.push({value:l}):(!C||D===l)&&n.push({value:D}),n}function Lp(t,e,{horizontal:n,minRotation:r}){const s=Jr(r),i=(n?Math.sin(s):Math.cos(s))||.001,a=.75*e*(""+t).length;return Math.min(e/i,a)}class gl 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=bi(s),d=bi(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=LM(s,i);return e.bounds==="ticks"&&tm(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 cu(e,this.chart.options.locale,this.options.ticks.format)}}class _l extends gl{determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=ot(e)?e:0,this.max=ot(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),n=e?this.width:this.height,r=Jr(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(_l,"id","linear"),W(_l,"defaults",{ticks:{callback:Ka.formatters.numeric}});const Io=t=>Math.floor(Qr(t)),Rs=(t,e)=>Math.pow(10,Io(t)+e);function Vp(t){return t/Math.pow(10,Io(t))===1}function Np(t,e,n){const r=Math.pow(10,n),s=Math.floor(t/r);return Math.ceil(e/r)-s}function VM(t,e){const n=e-t;let r=Io(n);for(;Np(t,e,r)>10;)r++;for(;Np(t,e,r)<10;)r--;return Math.min(r,Io(t))}function NM(t,{min:e,max:n}){e=en(t.min,e);const r=[],s=Io(e);let i=VM(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=en(t.min,Math.round((c+u+h*Math.pow(10,i))*a)/a);for(;f<n;)r.push({value:f,major:Vp(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=en(t.max,f);return r.push({value:m,major:Vp(m),significand:h}),r}class Bp 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=gl.prototype.parse.apply(this,[e,n]);if(r===0){this._zero=!0;return}return ot(r)&&r>0?r:null}determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=ot(e)?Math.max(0,e):null,this.max=ot(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!ot(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=NM(n,this);return e.bounds==="ticks"&&tm(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":cu(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(Bp,"id","logarithmic"),W(Bp,"defaults",{ticks:{callback:Ka.formatters.logarithmic,major:{enabled:!0}}});function Nu(t){const e=t.ticks;if(e.display&&t.display){const n=_n(e.backdropPadding);return Fe(e.font&&e.font.size,pt.font.size)+n.height}return 0}function BM(t,e,n){return n=nt(n)?n:[n],{w:Ek(t,e.string,n),h:n.length*e.lineHeight}}function Ap(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 AM(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?vt/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=sn(d.font),f=BM(t.ctx,h,t._pointLabels[c]);r[c]=f;const m=rn(t.getIndexAngle(c)+l),g=Math.round(su(m)),p=Ap(g,u.x,f.w,0,180),_=Ap(g,u.y,f.h,90,270);FM(n,e,m,p,_)}t.setCenterPoint(e.l-n.l,n.r-e.r,e.t-n.t,n.b-e.b),t._pointLabelItems=zM(t,r,s)}function FM(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 RM(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(su(rn(c.angle+nn))),u=WM(c.y,l.h,d),h=HM(d),f=YM(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 IM(t,e){if(!e)return!0;const{left:n,top:r,right:s,bottom:i}=t;return!(gr({x:n,y:r},e)||gr({x:n,y:i},e)||gr({x:s,y:r},e)||gr({x:s,y:i},e))}function zM(t,e,n){const r=[],s=t._pointLabels.length,i=t.options,{centerPointLabels:a,display:l}=i.pointLabels,c={extra:Nu(i)/2,additionalAngle:a?vt/s:0};let d;for(let u=0;u<s;u++){c.padding=n[u],c.size=e[u];const h=RM(t,u,c);r.push(h),l==="auto"&&(h.visible=IM(h,d),h.visible&&(d=h))}return r}function HM(t){return t===0||t===180?"center":t<180?"left":"right"}function YM(t,e,n){return n==="right"?t-=e:n==="center"&&(t-=e/2),t}function WM(t,e,n){return n===90||n===270?t-=e/2:(n>270||n<90)&&(t-=e),t}function jM(t,e,n){const{left:r,top:s,right:i,bottom:a}=n,{backdropColor:l}=e;if(!Ue(l)){const c=To(e.borderRadius),d=_n(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(),pu(t,{x:u,y:h,w:f,h:m,radius:c}),t.fill()):t.fillRect(u,h,f,m)}}function ZM(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));jM(n,a,i);const l=sn(a.font),{x:c,y:d,textAlign:u}=i;Qa(n,t._pointLabels[s],c,d+l.lineHeight/2,l,{color:a.color,textAlign:u,textBaseline:"middle"})}}function Fp(t,e,n,r){const{ctx:s}=t;if(n)s.arc(t.xCenter,t.yCenter,e,0,tn);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 UM(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(),Fp(t,n,a,r),i.closePath(),i.stroke(),i.restore())}function qM(t,e,n){return es(t,{label:n,index:e,type:"pointLabel"})}class yl extends gl{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=_n(Nu(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=ot(e)&&!isNaN(e)?e:0,this.max=ot(n)&&!isNaN(n)?n:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/Nu(this.options))}generateTickLabels(e){gl.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map((n,r)=>{const s=at(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?AM(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=tn/(this._pointLabels.length||1),r=this.options.startAngle||0;return rn(e*n+Jr(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 qM(this.getContext(),e,r)}}getPointPosition(e,n,r=0){const s=this.getIndexAngle(e)-nn+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(),Fp(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&&ZM(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);UM(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=sn(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=_n(d.backdropPadding);e.fillRect(-a/2-h.left,-i-u.size/2-h.top,a+h.width,u.size+h.height)}Qa(e,l.label,0,-i,u,{color:d.color,strokeColor:d.textStrokeColor,strokeWidth:d.textStrokeWidth})}),e.restore()}drawTitle(){}}W(yl,"id","radialLinear"),W(yl,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Ka.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(e){return e},padding:5,centerPointLabels:!1}}),W(yl,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),W(yl,"descriptors",{angleLines:{_fallback:"grid"}});const wl={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}},Wt=Object.keys(wl);function Rp(t,e){return t-e}function Ip(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)),ot(a)||(a=typeof r=="string"?n.parse(a,r):n.parse(a)),a===null?null:(s&&(a=s==="week"&&(Mo(i)||i===!0)?n.startOf(a,"isoWeek",i):n.startOf(a,s)),+a)}function zp(t,e,n,r){const s=Wt.length;for(let i=Wt.indexOf(t);i<s-1;++i){const a=wl[Wt[i]],l=a.steps?a.steps:Number.MAX_SAFE_INTEGER;if(a.common&&Math.ceil((n-e)/(l*a.size))<=r)return Wt[i]}return Wt[s-1]}function GM(t,e,n,r,s){for(let i=Wt.length-1;i>=Wt.indexOf(n);i--){const a=Wt[i];if(wl[a].common&&t._adapter.diff(s,r,a)>=e-1)return a}return Wt[n?Wt.indexOf(n):0]}function KM(t){for(let e=Wt.indexOf(t)+1,n=Wt.length;e<n;++e)if(wl[Wt[e]].common)return Wt[e]}function Hp(t,e,n){if(!n)t[e]=!0;else if(n.length){const{lo:r,hi:s}=ou(n,e),i=n[r]>=e?n[r]:n[s];t[i]=!0}}function XM(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 Yp(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:XM(t,r,s,n)}class bl 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 FC._date(e.adapters.date);s.init(n),Co(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:Ip(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=ot(s)&&!isNaN(s)?s:+n.startOf(Date.now(),r),i=ot(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=mk(s,i,a);return this._unit=n.unit||(r.autoSkip?zp(n.minUnit,this.min,this.max,this._getLabelCapacity(i)):GM(this,l.length,n.minUnit,this.min,this.max)),this._majorUnit=!r.major.enabled||this._unit==="year"?void 0:KM(this._unit),this.initOffsets(s),e.reverse&&l.reverse(),Yp(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=gn(n,0,a),r=gn(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||zp(i.minUnit,n,r,this._getLabelCapacity(n)),l=Fe(s.ticks.stepSize,1),c=a==="week"?i.isoWeekday:!1,d=Mo(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++)Hp(u,f,g);return(f===r||s.bounds==="ticks"||m===1)&&Hp(u,f,g),Object.keys(u).sort(Rp).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 at(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=Jr(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,Yp(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(Ip(this,s[n]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return gk(e.sort(Rp))}}W(bl,"id","time"),W(bl,"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 kl(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 Wp extends bl{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=kl(n,this.min),this._tableRange=kl(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(kl(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const n=this._offsets,r=this.getDecimalForPixel(e)/n.factor-n.end;return kl(this._table,r*this._tableRange+this._minPos,!0)}}W(Wp,"id","timeseries"),W(Wp,"defaults",bl.defaults);const jp={data:{type:Object,required:!0},options:{type:Object,default:()=>({})},plugins:{type:Array,default:()=>[]},datasetIdKey:{type:String,default:"label"},updateMode:{type:String,default:void 0}},QM={type:{type:String,required:!0},destroyDelay:{type:Number,default:0},...jp,...{ariaLabel:{type:String},ariaDescribedby:{type:String}}},JM=o.version[0]==="2"?(t,e)=>Object.assign(t,{attrs:e}):(t,e)=>Object.assign(t,e);function xi(t){return o.isProxy(t)?o.toRaw(t):t}function eS(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t;return o.isProxy(e)?new Proxy(t,{}):t}function tS(t,e){const n=t.options;n&&e&&Object.assign(n,e)}function Zp(t,e){t.labels=e}function Up(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 nS(t,e){const n={labels:[],datasets:[]};return Zp(n,t.labels),Up(n,t.datasets,e),n}const rS=o.defineComponent({props:QM,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=nS(u,m),p=eS(g,u);i.value=new Ao(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=xi(h),C=xi(m);y&&y!==C&&(tS(p,y),_=!0)}if(f){const y=xi(f.labels),C=xi(g.labels),k=xi(f.datasets),v=xi(g.datasets);y!==C&&(Zp(p.config.data,y),_=!0),k&&k!==v&&(Up(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 sS(t,e){return Ao.register(e),o.defineComponent({props:jp,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(rS,JM({ref:a},{type:t,...n}))}})}const qp=sS("line",sl),iS={class:"chart-container"},Bu={__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){Ao.register(pl,_l,Fo,yr,DM,Sp);const e=t;let n=o.reactive({isEmpty:!0});const r=u=>{const h=new Set,f=[];let m=[];switch(e.dataType){case"balanceChartData":m=u.length!==0?u.map(p=>(h.add(p.date),Ot(p.balance,2))):[0,0];break;case"performanceChartData":m=u.length!==0?u.map(p=>(h.add(p.date),Ot(p.pnl_to_deposit,2))):[0,0];break}f.push({data:m});const g=Array.from(h);return g.length===1?(g.push(...g),f.forEach(p=>{p.data.push(...p.data)}),n.isEmpty=!1):g.length===0?(n.isEmpty=!0,g.push(0,0)):n.isEmpty=!1,{labels:g,datasets:f}},s=o.computed(()=>r(e.data)),i=u=>{const f=u.chart.ctx.createLinearGradient(0,0,0,e.gradient.height);return f.addColorStop(0,e.gradient.startColor),f.addColorStop(1,e.gradient.endColor),f},a=(u,h)=>{let f=document.querySelector(`#${u}-${e.dataType}`);return f||(f=document.createElement("div"),f.classList.add(u),f.setAttribute("id",`${u}-${e.dataType}`),h.canvas.parentNode.appendChild(f)),f},l=u=>{if(!n.isEmpty){const{chart:h,tooltip:f}=u,m=a("chart-tooltip",h);if(f.opacity===0){m.style.opacity="0";return}if(f.body){const v=f.title||[],M=f.body.map(S=>S.lines),T=document.createElement("div");for(T.classList.add("chart-tooltip-middle"),T.innerHTML=`<div class="chart-tooltip-content">
|
|
35
|
-
${e.dataType==="balanceChartData"?`$${
|
|
36
|
-
<span> | ${lh(v[0])}, ${h6(v[0])}</span></div>`;m.firstChild;)m.firstChild.remove();m.appendChild(T)}const{offsetLeft:g,offsetTop:p,clientWidth:_}=h.canvas;let y=g+f.caretX;const C=p+f.caretY,k=m.clientWidth;y+k>_&&(y-=k),m.style.opacity="1",m.style.left=y+"px",m.style.top=C+"px"}},c=u=>{const{chart:h}=u,f=a("chart-line",h),m=h.chartArea;h.canvas.addEventListener("mousemove",function(g){const p=h.canvas.getBoundingClientRect(),_=g.clientX-p.left,y=g.clientY-p.top;_>=m.left&&_<=m.right&&y>=m.top&&y<=m.bottom?(f.style.left=_+"px",f.style.top=m.top+"px",f.style.height=m.bottom-m.top+"px",f.style.display="flex"):f.style.display="none"}),h.canvas.addEventListener("mouseout",function(){f.style.display="none"})},d=o.computed(()=>({responsive:!0,maintainAspectRatio:!1,animation:{duration:1500},scales:{x:{ticks:{display:!n.isEmpty,callback:function(u){return lh(this.getLabelForValue(u)).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:!n.isEmpty,callback:function(u){return e.ticksCallback(u)},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:l},legend:!1},elements:{line:{backgroundColor:u=>i(u),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:c}));return(u,h)=>(o.openBlock(),o.createElementBlock("div",iS,[o.createVNode(o.unref(qp),{data:s.value,options:d.value},null,8,["data","options"])]))}},Au={__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){Ao.register(pl,_l,Fo,yr,Sp);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(qp),{data:r.value,options:i.value},null,8,["data","options"]))}},oS=t=>(o.pushScopeId("data-v-671184a1"),t=t(),o.popScopeId(),t),aS={class:"account-balance-widget"},lS={class:"account-balance-widget__top"},cS={class:"account-balance-widget__title-wrapper"},dS=oS(()=>o.createElementVNode("div",{class:"account-balance-widget__title"},"Account Balance",-1)),uS=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=>s>=1e3||s<=-1e3?Pe(r.isMask,Ot(s/1e3,2)+"k",{repeat:3}):Ot(s,2),r=t;return(s,i)=>(o.openBlock(),o.createElementBlock("div",aS,[o.createElementVNode("div",lS,[o.createElementVNode("div",cS,[dS,o.createVNode(o.unref(mn),{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(Bu),{data:t.balanceChartData,"data-type":"balanceChartData","ticks-callback":n,isMask:t.isMask},null,8,["data","isMask"])]))}},[["__scopeId","data-v-671184a1"]]),Gp=t=>(o.pushScopeId("data-v-d57099e1"),t=t(),o.popScopeId(),t),hS={class:"balance-widget"},fS={class:"balance-part"},mS={class:"balance-part__top"},pS={class:"balance-part__title-wrapper"},gS=Gp(()=>o.createElementVNode("div",{class:"balance-part__title"},"Balance",-1)),_S={class:"balance-part__content"},yS={class:"balance-part__content__wrapper"},wS={class:"balance-part__content__count"},bS={class:"balance-part__content__bitcoin"},kS={key:0,class:"devider"},CS={key:1,class:"personal-target-part"},xS={class:"personal-target-part__top"},MS={class:"personal-target-part__title-wrapper"},SS=Gp(()=>o.createElementVNode("div",{class:"personal-target-part__title"},"Personal target",-1)),vS={class:"personal-target-part__content"},TS={class:"personal-target-part__content__current"},OS={class:"personal-target-part__content__from"},DS=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",hS,[o.createElementVNode("div",fS,[o.createElementVNode("div",mS,[o.createElementVNode("div",pS,[gS,o.createVNode(o.unref(mn),{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",_S,[o.createElementVNode("div",yS,[o.createElementVNode("div",wS,o.toDisplayString(o.unref(Pe)(t.isMaskBalance,o.unref(cn)(t.USDT),{prefix:"$"})),1),t.delta?(o.openBlock(),o.createBlock(o.unref(Zl),{key:0,"is-hidden":t.isMaskBalance,percentage:"",delta:t.delta},null,8,["is-hidden","delta"])):o.createCommentVNode("",!0)]),o.createElementVNode("div",bS,"= "+o.toDisplayString(o.unref(Pe)(t.isMaskBalance,t.BTC))+" BTC",1)]),t.isShare?(o.openBlock(),o.createBlock(o.unref(Au),{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(Au),{key:1,class:"balance-part__chart",data:t.balanceChartData},null,8,["data"]))]),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",kS)),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",CS,[o.createElementVNode("div",xS,[o.createElementVNode("div",MS,[SS,o.createVNode(o.unref(mn),{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",vS,[o.createElementVNode("div",TS,o.toDisplayString(o.unref(Pe)(t.isMaskPersonalTarget,o.unref(cn)(t.currentProfit,{isPercentage:t.isPercentage,isFixed:!0}),{prefix:"$",repeat:5})),1),o.createElementVNode("div",OS,"/ "+o.toDisplayString(o.unref(Pe)(t.isMaskPersonalTarget,o.unref(cn)(t.profit,{isPercentage:t.isPercentage,isFixed:!0}))),1)]),o.createVNode(o.unref(s3),{"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"]]),Cl=t=>(o.pushScopeId("data-v-a942e977"),t=t(),o.popScopeId(),t),ES={class:"calendar-widget"},$S={class:"calendar-widget__calendar"},PS={class:"calendar-widget__top"},LS={class:"calendar-widget__title-wrapper"},VS=Cl(()=>o.createElementVNode("div",{class:"calendar-widget__title"},"Calendar",-1)),NS={class:"stat-calendar"},BS={class:"stat-calendar__week-days"},AS={key:0,class:"stat-calendar__row-wrapper"},FS={class:"stat-calendar__row"},RS=["onClick"],IS=Cl(()=>o.createElementVNode("div",{class:"calendar-widget__divider"},null,-1)),zS={key:0,class:"calendar-widget__day"},HS={class:"calendar-widget__day__title"},YS={class:"calendar-widget__day__content"},WS={class:"calendar-widget__point"},jS={class:"calendar-widget__point__title"},ZS=Cl(()=>o.createElementVNode("div",{class:"calendar-widget__point__line"},null,-1)),US={class:"calendar-widget__day__trades"},qS={class:"calendar-widget__point"},GS={class:"calendar-widget__point__title"},KS=Cl(()=>o.createElementVNode("div",{class:"calendar-widget__point__line"},null,-1)),XS=Oe({__name:"CalendarWidget",props:{rows:Array,dailyStatData:Object,currentDate:Date,calendarPointsTop:Array,calendarPointsBottom:Array,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=l=>{r.value=l.year,s.value=l.month,i("chooseMonth",l)};return o.nextTick(()=>{const l=new Date;r.value=l.getFullYear(),s.value=l.getMonth()}),(l,c)=>{var d,u;return o.openBlock(),o.createElementBlock("div",ES,[o.createElementVNode("div",$S,[o.createElementVNode("div",PS,[o.createElementVNode("div",LS,[VS,o.createVNode(o.unref(mn),{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(r3),{key:0,"current-date":t.currentDate,onOnChange:a,year:r.value,"onUpdate:year":c[0]||(c[0]=h=>r.value=h),month:s.value,"onUpdate:month":c[1]||(c[1]=h=>s.value=h)},null,8,["current-date","year","month"])):o.createCommentVNode("",!0)]),o.createElementVNode("div",NS,[o.createElementVNode("div",BS,[(o.openBlock(),o.createElementBlock(o.Fragment,null,o.renderList(n,(h,f)=>o.createElementVNode("div",{class:o.normalizeClass(["stat-calendar__week-day",{"-current":t.isCurrentDay(f)}])},o.toDisplayString(h),3)),64))]),t.rows?(o.openBlock(),o.createElementBlock("div",AS,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.rows,h=>(o.openBlock(),o.createElementBlock("div",FS,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(h,f=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["stat-calendar__day",{"-empty":!f.date,"-current":t.isCurrentDate(f.date),"-positive":f.win,"-negative":f.win===!1}]),onClick:m=>i("setNewDate",f.date)},o.toDisplayString(f.date?f.date:""),11,RS))),256))]))),256))])):o.createCommentVNode("",!0)])]),IS,t.dailyStatData&&!t.dailyStatData.isNull?(o.openBlock(),o.createElementBlock("div",zS,[o.createElementVNode("div",HS,o.toDisplayString(t.currentDate.getDate()+" "+t.currentDate.toLocaleString("en-us",{month:"long"})),1),o.createElementVNode("div",YS,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.calendarPointsTop,h=>(o.openBlock(),o.createElementBlock("div",WS,[o.createElementVNode("div",jS,o.toDisplayString(h.title),1),ZS,o.createElementVNode("div",{class:o.normalizeClass(["calendar-widget__point__value",h.class?h.class:""])},o.toDisplayString(h.value),3)]))),256)),o.createVNode(o.unref(H0),{long:(d=t.dailyStatData)==null?void 0:d.long_count,short:(u=t.dailyStatData)==null?void 0:u.short_count},null,8,["long","short"]),o.createElementVNode("div",US,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.calendarPointsBottom,h=>(o.openBlock(),o.createElementBlock("div",qS,[o.createElementVNode("div",GS,o.toDisplayString(h.title),1),KS,o.createVNode(o.unref(Zl),{"is-positive":h.isPositive,"is-negative":h.isNegative,delta:h.value},null,8,["is-positive","is-negative","delta"])]))),256))])])])):(o.openBlock(),o.createBlock(o.unref(Xd),{key:1,class:"-empty"}))])}}},[["__scopeId","data-v-a942e977"]]),Fu=t=>(o.pushScopeId("data-v-2287ffee"),t=t(),o.popScopeId(),t),QS={class:"commission-widget"},JS={class:"commission-widget__content"},ev={class:"commission-widget__top"},tv={class:"commission-widget__title-wrapper"},nv=Fu(()=>o.createElementVNode("div",{class:"commission-widget__title"},"Commissions and Fees",-1)),rv={class:"commission-widget__info"},sv={class:"commission-widget__total-wrapper"},iv=Fu(()=>o.createElementVNode("div",{class:"commission-widget__total-wrapper__title"},"Total",-1)),ov={class:"commission-widget__total-wrapper__total"},av={class:"commission-widget__total-wrapper__value"},lv={class:"commission-widget__points"},cv={class:"commission-widget__point"},dv={class:"commission-widget__point__title"},uv=Fu(()=>o.createElementVNode("div",{class:"commission-widget__point__line"},null,-1)),hv=Oe({__name:"CommissionsFeesWidget",props:{commission:Number,commissionPoints: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",QS,[o.createElementVNode("div",JS,[o.createElementVNode("div",ev,[o.createElementVNode("div",tv,[nv,o.createVNode(o.unref(mn),{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":i[0]||(i[0]=a=>n.value=a),onOnChange:i[1]||(i[1]=a=>r("onChange",n.value))},null,8,["modelValue"])]),o.createElementVNode("div",rv,[o.createElementVNode("div",sv,[iv,o.createElementVNode("div",ov,[o.createElementVNode("div",av," $"+o.toDisplayString(o.unref(Pe)(t.isMask,o.unref(Ot)(t.commission))),1)])]),o.createElementVNode("div",lv,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.commissionPoints,(a,l)=>(o.openBlock(),o.createElementBlock("div",cv,[o.createElementVNode("div",dv,o.toDisplayString(a.title),1),uv,o.createElementVNode("div",{class:o.normalizeClass(["commission-widget__point__value",a.class?a.class:""])},o.toDisplayString(o.unref(Pe)(t.isMask,a.value)),3)]))),256))])])])]))}},[["__scopeId","data-v-2287ffee"]]),fv=t=>(o.pushScopeId("data-v-7187c939"),t=t(),o.popScopeId(),t),mv={class:"performance-widget"},pv={class:"performance-widget__top"},gv={class:"performance-widget__title-wrapper"},_v=fv(()=>o.createElementVNode("div",{class:"performance-widget__title"},"Performance (cumulative)",-1)),yv=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=>Pe(n.isMask,Ot(s,2)+"%",{repeat:3});return(s,i)=>(o.openBlock(),o.createElementBlock("div",mv,[o.createElementVNode("div",pv,[o.createElementVNode("div",gv,[_v,o.createVNode(o.unref(mn),{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(Bu),{data:t.performanceChartData,"data-type":"performanceChartData","ticks-callback":r,isMask:t.isMask},null,8,["data","isMask"])]))}},[["__scopeId","data-v-7187c939"]]),Ru=t=>(o.pushScopeId("data-v-5fe955be"),t=t(),o.popScopeId(),t),wv={class:"return-widget"},bv={class:"return-widget__content"},kv={class:"return-widget__top"},Cv={class:"return-widget__title-wrapper"},xv=Ru(()=>o.createElementVNode("div",{class:"return-widget__title"},"Return",-1)),Mv={class:"return-widget__info"},Sv={class:"return-widget__total-wrapper"},vv=Ru(()=>o.createElementVNode("div",{class:"return-widget__total-wrapper__title"},"Total",-1)),Tv={class:"return-widget__total-wrapper__total"},Ov={class:"return-widget__points"},Dv={class:"return-widget__point"},Ev={class:"return-widget__point__title"},$v=Ru(()=>o.createElementVNode("div",{class:"return-widget__point__line"},null,-1)),Pv=["innerHTML"],Lv=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 ${Pe(s.isMask,Ot(s.profitFactor,2),{repeat:5})}. <br /> You earn ${Pe(s.isMask,cn(s.profitFactor),{repeat:5,prefix:"$"})} on every ${Pe(s.isMask,"$1",{repeat:5,prefix:"$"})} loss.`:`Your profit factor is ${Pe(s.isMask,Ot(s.profitFactor,2),{repeat:5})}. <br/> You loss ${Pe(s.isMask,cn(Math.abs(s.profitFactor)),{repeat:5,prefix:"$"})} on every ${Pe(s.isMask,"$1",{repeat:5,prefix:"$"})} earn. `);return(u,h)=>(o.openBlock(),o.createElementBlock("div",wv,[o.createElementVNode("div",bv,[o.createElementVNode("div",kv,[o.createElementVNode("div",Cv,[xv,o.createVNode(o.unref(mn),{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",Mv,[o.createElementVNode("div",Sv,[vv,o.createElementVNode("div",Tv,[o.createElementVNode("div",{class:o.normalizeClass(["return-widget__total-wrapper__value",{"-positive":a.value,"-negative":l.value}])},o.toDisplayString(o.unref(Pe)(t.isMask,o.unref(cn)(t.returnPeriod,{isPlus:!0,isFixed:!0}),{repeat:6})),3),s.changeRate?(o.openBlock(),o.createBlock(o.unref(Zl),{key:0,percentage:"",isHidden:t.isMask,delta:s.changeRate},null,8,["isHidden","delta"])):o.createCommentVNode("",!0)])]),o.createElementVNode("div",Ov,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,f=>(o.openBlock(),o.createElementBlock("div",Dv,[o.createElementVNode("div",Ev,o.toDisplayString(f.title),1),$v,o.createElementVNode("div",{class:o.normalizeClass(["return-widget__point__value",f.class?f.class:""])},o.toDisplayString(o.unref(Pe)(t.isMask,o.unref(cn)(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,Pv)],2)):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-5fe955be"]]),Kp=t=>(o.pushScopeId("data-v-6c19a241"),t=t(),o.popScopeId(),t),Vv={class:"top-positions-widget"},Nv={class:"top-positions-widget__top"},Bv={class:"top-positions-widget__title-wrapper"},Av=Kp(()=>o.createElementVNode("div",{class:"top-positions-widget__title"},"Top-3 Positions",-1)),Fv={key:0,class:"top-positions-widget__returns"},Rv={class:"top-positions-widget__return"},Iv={class:"top-positions-widget__return__left"},zv=Kp(()=>o.createElementVNode("div",{class:"top-positions-widget__return__line"},null,-1)),Hv={class:"top-positions-widget__return__pair"},Yv={class:"top-positions-widget__return__right"},Wv={class:"top-positions-widget__return__pnl"},jv=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",Vv,[o.createElementVNode("div",Nv,[o.createElementVNode("div",Bv,[Av,o.createVNode(o.unref(mn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("Helps you find the top 3 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",Fv,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.topPositions,a=>(o.openBlock(),o.createElementBlock("div",Rv,[o.createElementVNode("div",Iv,[zv,o.createElementVNode("div",Hv,o.toDisplayString(o.unref(f6)(a.pair)),1)]),o.createElementVNode("div",Yv,[o.createElementVNode("div",Wv,o.toDisplayString(o.unref(Pe)(t.isMask,o.unref(cn)(a.pnl,{isFixed:!0,isPlus:!0}))),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(Pe)(t.isMask,o.unref(cn)(a.roi,{isPercentage:!0,isFixed:!0}))),1)],2)])]))),256))])):(o.openBlock(),o.createBlock(o.unref(Xd),{key:1,title:"No more pair",subtitle:"No data available for the specified period",icon:"coins-add"}))]))}},[["__scopeId","data-v-6c19a241"]]),Iu=t=>(o.pushScopeId("data-v-7e308847"),t=t(),o.popScopeId(),t),Zv={class:"trade-widget"},Uv={class:"trade-widget__content"},qv={class:"trade-widget__top"},Gv={class:"trade-widget__title-wrapper"},Kv=Iu(()=>o.createElementVNode("div",{class:"trade-widget__title"},"Trades Performance",-1)),Xv={class:"trade-widget__info"},Qv={class:"trade-widget__total-wrapper"},Jv=Iu(()=>o.createElementVNode("div",{class:"trade-widget__total-wrapper__title"},"Total",-1)),eT={class:"trade-widget__total-wrapper__total"},tT={class:"trade-widget__total-wrapper__value"},nT={class:"trade-widget__points"},rT={class:"trade-widget__point"},sT={class:"trade-widget__point__title"},iT=Iu(()=>o.createElementVNode("div",{class:"trade-widget__point__line"},null,-1)),oT=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",Zv,[o.createElementVNode("div",Uv,[o.createElementVNode("div",qv,[o.createElementVNode("div",Gv,[Kv,o.createVNode(o.unref(mn),{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",Xv,[o.createElementVNode("div",Qv,[Jv,o.createElementVNode("div",eT,[o.createElementVNode("div",tT,o.toDisplayString(o.unref(Pe)(t.isMask,t.totalTrades)),1)])]),o.createElementVNode("div",nT,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.tradePoints,a=>(o.openBlock(),o.createElementBlock("div",rT,[o.createElementVNode("div",sT,o.toDisplayString(a.title),1),iT,o.createElementVNode("div",{class:o.normalizeClass(["trade-widget__point__value",a.class?a.class:""])},o.toDisplayString(o.unref(Pe)(t.isMask,a.value)),3)]))),256))])])])]))}},[["__scopeId","data-v-7e308847"]]),zu=t=>(o.pushScopeId("data-v-7ee4ff51"),t=t(),o.popScopeId(),t),aT={class:"winrate-widget"},lT={class:"winrate-widget__winrate"},cT={class:"winrate-widget__title-wrapper"},dT=zu(()=>o.createElementVNode("div",{class:"winrate-widget__title"},"Winrate",-1)),uT={class:"winrate-widget__chart"},hT={class:"winrate-widget__data"},fT={class:"winrate-widget__data_value"},mT=zu(()=>o.createElementVNode("div",{class:"winrate-widget__data_title"},"Winrate",-1)),pT={class:"winrate-widget__average-rr"},gT={class:"winrate-widget__title-wrapper"},_T=zu(()=>o.createElementVNode("div",{class:"winrate-widget__title"},"Average RR",-1)),yT=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",aT,[o.createElementVNode("div",lT,[o.createElementVNode("div",cT,[dT,o.createVNode(o.unref(mn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("Displays the percentage of your successful positions. ")]),_:1})]),o.createElementVNode("div",uT,[o.renderSlot(e.$slots,"roundSlider",{},void 0,!0),o.createElementVNode("div",hT,[o.createElementVNode("div",fT,o.toDisplayString(o.unref(Pe)(t.isMask,o.unref(Ot)(t.winrate,2)))+"%",1),mT])])]),o.createElementVNode("div",pT,[o.createElementVNode("div",gT,[_T,o.createVNode(o.unref(mn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("Risk Reward, defines the ratio of potential profit to loss you can get. ")]),_:1})]),o.createVNode(o.unref(Xp),{avg:t.averageRR,min:t.minRR,max:t.maxRR,isMask:t.isMask},null,8,["avg","min","max","isMask"])])]))}},[["__scopeId","data-v-7ee4ff51"]]),wT=t=>(o.pushScopeId("data-v-cee623fc"),t=t(),o.popScopeId(),t),bT={class:"average-rr-line-container"},kT={class:"average-rr-line"},CT={key:0,class:"average-rr-line__progress"},xT=[wT(()=>o.createElementVNode("div",{class:"average-rr-line__dot"},null,-1))],MT={class:"coefficients"},ST={class:"coefficients__value -min"},vT={class:"coefficients__value -avg"},TT={class:"coefficients__value -max"},Xp=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",bT,[o.createElementVNode("div",kT,[t.avg&&t.max?(o.openBlock(),o.createElementBlock("div",CT,xT)):o.createCommentVNode("",!0)]),o.createElementVNode("div",MT,[o.createElementVNode("div",ST,o.toDisplayString(o.unref(Pe)(t.isMask,t.min)),1),o.createElementVNode("div",vT,o.toDisplayString(o.unref(Pe)(t.isMask,o.unref(Ot)(t.avg))),1),o.createElementVNode("div",TT,o.toDisplayString(o.unref(Pe)(t.isMask,o.unref(Ot)(t.max))),1)])]))}},[["__scopeId","data-v-cee623fc"]]);function Qp(t){return o.getCurrentScope()?(o.onScopeDispose(t),!0):!1}function zo(t){return typeof t=="function"?t():o.unref(t)}const Jp=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const OT=Object.prototype.toString,DT=t=>OT.call(t)==="[object Object]",Ho=()=>{},Hu=ET();function ET(){var t,e;return Jp&&((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 e2={mounted:"mounted",updated:"updated",unmounted:"unmounted"};function $T(...t){if(t.length!==1)return o.toRef(...t);const e=t[0];return typeof e=="function"?o.readonly(o.customRef(()=>({get:e,set:Ho}))):o.ref(e)}function Yo(t){var e;const n=zo(t);return(e=n==null?void 0:n.$el)!=null?e:n}const t2=Jp?window:void 0;function xl(...t){let e,n,r,s;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,r,s]=t,e=t2):[e,n,r,s]=t,!e)return Ho;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(()=>[Yo(e),zo(s)],([u,h])=>{if(a(),!u)return;const f=DT(h)?{...h}:h;i.push(...n.flatMap(m=>r.map(g=>l(u,m,g,f))))},{immediate:!0,flush:"post"}),d=()=>{c(),a()};return Qp(d),d}let n2=!1;function r2(t,e,n={}){const{window:r=t2,ignore:s=[],capture:i=!0,detectIframe:a=!1}=n;if(!r)return Ho;Hu&&!n2&&(n2=!0,Array.from(r.document.body.children).forEach(f=>f.addEventListener("click",Ho)),r.document.documentElement.addEventListener("click",Ho));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=Yo(m);return g&&(f.target===g||f.composedPath().includes(g))}}),u=[xl(r,"click",f=>{const m=Yo(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}),xl(r,"pointerdown",f=>{const m=Yo(t);l=!c(f)&&!!(m&&!f.composedPath().includes(m))},{passive:!0}),a&&xl(r,"blur",f=>{setTimeout(()=>{var m;const g=Yo(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 s2={[e2.mounted](t,e){const n=!e.modifiers.bubble;if(typeof e.value=="function")t.__onClickOutside_stop=r2(t,e.value,{capture:n});else{const[r,s]=e.value;t.__onClickOutside_stop=r2(t,r,Object.assign({capture:n},s))}},[e2.unmounted](t){t.__onClickOutside_stop()}};function Yu(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 PT(t){const e=t||window.event,n=e.target;return i2(n)?!1:e.touches.length>1?!0:(e.preventDefault&&e.preventDefault(),!1)}const Ml=new WeakMap;function LT(t,e=!1){const n=o.ref(e);let r=null;o.watch($T(t),a=>{const l=Yu(zo(a));if(l){const c=l;Ml.get(c)||Ml.set(c,c.style.overflow),n.value&&(c.style.overflow="hidden")}},{immediate:!0});const s=()=>{const a=Yu(zo(t));!a||n.value||(Hu&&(r=xl(a,"touchmove",l=>{PT(l)},{passive:!1})),a.style.overflow="hidden",n.value=!0)},i=()=>{var a;const l=Yu(zo(t));!l||!n.value||(Hu&&(r==null||r()),l.style.overflow=(a=Ml.get(l))!=null?a:"",Ml.delete(l),n.value=!1)};return Qp(i),o.computed({get(){return n.value},set(a){a?s():i()}})}function VT(){let t=!1;const e=o.ref(!1);return(n,r)=>{if(e.value=r.value,t)return;t=!0;const s=LT(n,r.value);o.watch(e,i=>s.value=i)}}VT();//! moment.js
|
|
34
|
+
`):t}function CM(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 vp(t,e){const n=t.chart.ctx,{body:r,footer:s,title:i}=t,{boxWidth:a,boxHeight:l}=e,c=sn(e.bodyFont),d=sn(e.titleFont),u=sn(e.footerFont),h=i.length,f=s.length,m=r.length,g=_n(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 xM(t,e){const{y:n,height:r}=e;return n<r/2?"top":n>t.height-r/2?"bottom":"center"}function MM(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 SM(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"),MM(d,t,e,n)&&(d="center"),d}function Tp(t,e,n){const r=n.yAlign||e.yAlign||xM(t,n);return{xAlign:n.xAlign||e.xAlign||SM(t,e,n,r),yAlign:r}}function vM(t,e){let{x:n,width:r}=t;return e==="right"?n-=r:e==="center"&&(n-=r/2),n}function TM(t,e,n){let{y:r,height:s}=t;return e==="top"?r+=n:e==="bottom"?r-=s+n:r-=s/2,r}function Op(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}=To(a);let g=vM(e,l);const p=TM(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:gn(g,0,r.width-e.width),y:gn(p,0,r.height-e.height)}}function ml(t,e,n){const r=_n(n.padding);return e==="center"?t.x+t.width/2:e==="right"?t.x+t.width-r.right:t.x+r.left}function Dp(t){return Jn([],wr(t))}function OM(t,e,n){return es(t,{tooltip:e,tooltipItems:n,type:"tooltip"})}function Ep(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}const $p={beforeTitle:pr,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:pr,beforeBody:pr,beforeLabel:pr,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:pr,afterBody:pr,beforeFooter:pr,footer:pr,afterFooter:pr};function Yt(t,e,n,r){const s=t[e].call(n,r);return typeof s>"u"?$p[e].call(n,r):s}class Vu 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 Lm(this.chart,s);return s._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=OM(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,n){const{callbacks:r}=n,s=Yt(r,"beforeTitle",this,e),i=Yt(r,"title",this,e),a=Yt(r,"afterTitle",this,e);let l=[];return l=Jn(l,wr(s)),l=Jn(l,wr(i)),l=Jn(l,wr(a)),l}getBeforeBody(e,n){return Dp(Yt(n.callbacks,"beforeBody",this,e))}getBody(e,n){const{callbacks:r}=n,s=[];return Re(e,i=>{const a={before:[],lines:[],after:[]},l=Ep(r,i);Jn(a.before,wr(Yt(l,"beforeLabel",this,i))),Jn(a.lines,Yt(l,"label",this,i)),Jn(a.after,wr(Yt(l,"afterLabel",this,i))),s.push(a)}),s}getAfterBody(e,n){return Dp(Yt(n.callbacks,"afterBody",this,e))}getFooter(e,n){const{callbacks:r}=n,s=Yt(r,"beforeFooter",this,e),i=Yt(r,"footer",this,e),a=Yt(r,"afterFooter",this,e);let l=[];return l=Jn(l,wr(s)),l=Jn(l,wr(i)),l=Jn(l,wr(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(CM(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=Ep(e.callbacks,u);s.push(Yt(h,"labelColor",this,u)),i.push(Yt(h,"labelPointStyle",this,u)),a.push(Yt(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=Ro[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=vp(this,r),d=Object.assign({},l,c),u=Tp(this.chart,r,d),h=Op(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}=To(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=ku(r.rtl,this.x,this.width);for(e.x=ml(this,r.titleAlign,r),n.textAlign=d.textAlign(r.titleAlign),n.textBaseline="middle",a=sn(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=sn(i.bodyFont),h=ml(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,hu(e,p,_,y),e.strokeStyle=a.borderColor,e.fillStyle=a.backgroundColor,hu(e,p,_,y)}else{e.lineWidth=ve(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=To(a.borderRadius);Object.values(y).some(C=>C!==0)?(e.beginPath(),e.fillStyle=i.multiKeyBackground,pu(e,{x:p,y:g,w:d,h:c,radius:y}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),pu(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=sn(r.bodyFont);let f=h.lineHeight,m=0;const g=ku(r.rtl,this.x,this.width),p=function(D){n.fillText(D,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=ml(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=ku(r.rtl,this.x,this.width);for(e.x=ml(this,r.footerAlign,r),e.y+=r.footerMarginTop,n.textAlign=c.textAlign(r.footerAlign),n.textBaseline="middle",a=sn(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}=To(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=Ro[e.position].call(this,this._active,this._eventPosition);if(!a)return;const l=this._size=vp(this,e),c=Object.assign({},a,this._size),d=Tp(n,e,c),u=Op(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=_n(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),gC(e,n.textDirection),i.y+=a.top,this.drawTitle(i,e,n),this.drawBody(i,e,n),this.drawFooter(i,e,n),_C(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=!Wa(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||!Wa(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=Ro[i.position].call(this,e,n);return a!==!1&&(r!==a.x||s!==a.y)}}W(Vu,"positioners",Ro);var DM={id:"tooltip",_element:Vu,positioners:Ro,afterInit(t,e,n){n&&(t.tooltip=new Vu({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:$p},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 EM=(t,e,n,r)=>(typeof e=="string"?(n=t.push(e)-1,r.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function $M(t,e,n,r){const s=t.indexOf(e);if(s===-1)return EM(t,e,n,r);const i=t.lastIndexOf(e);return s!==i?n:s}const PM=(t,e)=>t===null?null:gn(Math.round(t),0,e);function Pp(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}class pl 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:$M(r,e,Fe(n,e),this._addedLabels),PM(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 Pp.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(pl,"id","category"),W(pl,"defaults",{ticks:{callback:Pp}});function LM(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=em((_-p)/g/m)*m,T,S,D,E;if(M<1e-14&&!y&&!C)return[{value:p},{value:_}];E=Math.ceil(_/M)-Math.floor(p/M),E>g&&(M=em(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,D=Math.ceil(_/M)*M):(S=p,D=_),y&&C&&i&&ck((l-a)/i,M/1e3)?(E=Math.round(Math.min((l-a)/M,u)),M=(l-a)/E,S=a,D=l):k?(S=y?a:S,D=C?l:D,E=d-1,M=(D-S)/E):(E=(D-S)/M,xo(E,Math.round(E),M/1e3)?E=Math.round(E):E=Math.ceil(E));const I=Math.max(nm(M),nm(S));T=Math.pow(10,Ue(c)?I:c),S=Math.round(S*T)/T,D=Math.round(D*T)/T;let j=0;for(y&&(f&&S!==a?(n.push({value:a}),S<a&&j++,xo(Math.round((S+j*M)*T)/T,a,Lp(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&&D!==l?n.length&&xo(n[n.length-1].value,l,Lp(l,v,t))?n[n.length-1].value=l:n.push({value:l}):(!C||D===l)&&n.push({value:D}),n}function Lp(t,e,{horizontal:n,minRotation:r}){const s=Jr(r),i=(n?Math.sin(s):Math.cos(s))||.001,a=.75*e*(""+t).length;return Math.min(e/i,a)}class gl 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=bi(s),d=bi(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=LM(s,i);return e.bounds==="ticks"&&tm(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 cu(e,this.chart.options.locale,this.options.ticks.format)}}class _l extends gl{determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=ot(e)?e:0,this.max=ot(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),n=e?this.width:this.height,r=Jr(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(_l,"id","linear"),W(_l,"defaults",{ticks:{callback:Ka.formatters.numeric}});const Io=t=>Math.floor(Qr(t)),Rs=(t,e)=>Math.pow(10,Io(t)+e);function Vp(t){return t/Math.pow(10,Io(t))===1}function Np(t,e,n){const r=Math.pow(10,n),s=Math.floor(t/r);return Math.ceil(e/r)-s}function VM(t,e){const n=e-t;let r=Io(n);for(;Np(t,e,r)>10;)r++;for(;Np(t,e,r)<10;)r--;return Math.min(r,Io(t))}function NM(t,{min:e,max:n}){e=en(t.min,e);const r=[],s=Io(e);let i=VM(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=en(t.min,Math.round((c+u+h*Math.pow(10,i))*a)/a);for(;f<n;)r.push({value:f,major:Vp(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=en(t.max,f);return r.push({value:m,major:Vp(m),significand:h}),r}class Bp 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=gl.prototype.parse.apply(this,[e,n]);if(r===0){this._zero=!0;return}return ot(r)&&r>0?r:null}determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=ot(e)?Math.max(0,e):null,this.max=ot(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!ot(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=NM(n,this);return e.bounds==="ticks"&&tm(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":cu(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(Bp,"id","logarithmic"),W(Bp,"defaults",{ticks:{callback:Ka.formatters.logarithmic,major:{enabled:!0}}});function Nu(t){const e=t.ticks;if(e.display&&t.display){const n=_n(e.backdropPadding);return Fe(e.font&&e.font.size,pt.font.size)+n.height}return 0}function BM(t,e,n){return n=nt(n)?n:[n],{w:Ek(t,e.string,n),h:n.length*e.lineHeight}}function Ap(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 AM(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?vt/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=sn(d.font),f=BM(t.ctx,h,t._pointLabels[c]);r[c]=f;const m=rn(t.getIndexAngle(c)+l),g=Math.round(su(m)),p=Ap(g,u.x,f.w,0,180),_=Ap(g,u.y,f.h,90,270);FM(n,e,m,p,_)}t.setCenterPoint(e.l-n.l,n.r-e.r,e.t-n.t,n.b-e.b),t._pointLabelItems=HM(t,r,s)}function FM(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 RM(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(su(rn(c.angle+nn))),u=WM(c.y,l.h,d),h=zM(d),f=YM(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 IM(t,e){if(!e)return!0;const{left:n,top:r,right:s,bottom:i}=t;return!(gr({x:n,y:r},e)||gr({x:n,y:i},e)||gr({x:s,y:r},e)||gr({x:s,y:i},e))}function HM(t,e,n){const r=[],s=t._pointLabels.length,i=t.options,{centerPointLabels:a,display:l}=i.pointLabels,c={extra:Nu(i)/2,additionalAngle:a?vt/s:0};let d;for(let u=0;u<s;u++){c.padding=n[u],c.size=e[u];const h=RM(t,u,c);r.push(h),l==="auto"&&(h.visible=IM(h,d),h.visible&&(d=h))}return r}function zM(t){return t===0||t===180?"center":t<180?"left":"right"}function YM(t,e,n){return n==="right"?t-=e:n==="center"&&(t-=e/2),t}function WM(t,e,n){return n===90||n===270?t-=e/2:(n>270||n<90)&&(t-=e),t}function jM(t,e,n){const{left:r,top:s,right:i,bottom:a}=n,{backdropColor:l}=e;if(!Ue(l)){const c=To(e.borderRadius),d=_n(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(),pu(t,{x:u,y:h,w:f,h:m,radius:c}),t.fill()):t.fillRect(u,h,f,m)}}function ZM(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));jM(n,a,i);const l=sn(a.font),{x:c,y:d,textAlign:u}=i;Qa(n,t._pointLabels[s],c,d+l.lineHeight/2,l,{color:a.color,textAlign:u,textBaseline:"middle"})}}function Fp(t,e,n,r){const{ctx:s}=t;if(n)s.arc(t.xCenter,t.yCenter,e,0,tn);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 UM(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(),Fp(t,n,a,r),i.closePath(),i.stroke(),i.restore())}function qM(t,e,n){return es(t,{label:n,index:e,type:"pointLabel"})}class yl extends gl{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=_n(Nu(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=ot(e)&&!isNaN(e)?e:0,this.max=ot(n)&&!isNaN(n)?n:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/Nu(this.options))}generateTickLabels(e){gl.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map((n,r)=>{const s=at(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?AM(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=tn/(this._pointLabels.length||1),r=this.options.startAngle||0;return rn(e*n+Jr(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 qM(this.getContext(),e,r)}}getPointPosition(e,n,r=0){const s=this.getIndexAngle(e)-nn+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(),Fp(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&&ZM(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);UM(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=sn(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=_n(d.backdropPadding);e.fillRect(-a/2-h.left,-i-u.size/2-h.top,a+h.width,u.size+h.height)}Qa(e,l.label,0,-i,u,{color:d.color,strokeColor:d.textStrokeColor,strokeWidth:d.textStrokeWidth})}),e.restore()}drawTitle(){}}W(yl,"id","radialLinear"),W(yl,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Ka.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(e){return e},padding:5,centerPointLabels:!1}}),W(yl,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),W(yl,"descriptors",{angleLines:{_fallback:"grid"}});const wl={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}},Wt=Object.keys(wl);function Rp(t,e){return t-e}function Ip(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)),ot(a)||(a=typeof r=="string"?n.parse(a,r):n.parse(a)),a===null?null:(s&&(a=s==="week"&&(Mo(i)||i===!0)?n.startOf(a,"isoWeek",i):n.startOf(a,s)),+a)}function Hp(t,e,n,r){const s=Wt.length;for(let i=Wt.indexOf(t);i<s-1;++i){const a=wl[Wt[i]],l=a.steps?a.steps:Number.MAX_SAFE_INTEGER;if(a.common&&Math.ceil((n-e)/(l*a.size))<=r)return Wt[i]}return Wt[s-1]}function GM(t,e,n,r,s){for(let i=Wt.length-1;i>=Wt.indexOf(n);i--){const a=Wt[i];if(wl[a].common&&t._adapter.diff(s,r,a)>=e-1)return a}return Wt[n?Wt.indexOf(n):0]}function KM(t){for(let e=Wt.indexOf(t)+1,n=Wt.length;e<n;++e)if(wl[Wt[e]].common)return Wt[e]}function zp(t,e,n){if(!n)t[e]=!0;else if(n.length){const{lo:r,hi:s}=ou(n,e),i=n[r]>=e?n[r]:n[s];t[i]=!0}}function XM(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 Yp(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:XM(t,r,s,n)}class bl 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 FC._date(e.adapters.date);s.init(n),Co(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:Ip(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=ot(s)&&!isNaN(s)?s:+n.startOf(Date.now(),r),i=ot(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=mk(s,i,a);return this._unit=n.unit||(r.autoSkip?Hp(n.minUnit,this.min,this.max,this._getLabelCapacity(i)):GM(this,l.length,n.minUnit,this.min,this.max)),this._majorUnit=!r.major.enabled||this._unit==="year"?void 0:KM(this._unit),this.initOffsets(s),e.reverse&&l.reverse(),Yp(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=gn(n,0,a),r=gn(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||Hp(i.minUnit,n,r,this._getLabelCapacity(n)),l=Fe(s.ticks.stepSize,1),c=a==="week"?i.isoWeekday:!1,d=Mo(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++)zp(u,f,g);return(f===r||s.bounds==="ticks"||m===1)&&zp(u,f,g),Object.keys(u).sort(Rp).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 at(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=Jr(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,Yp(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(Ip(this,s[n]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return gk(e.sort(Rp))}}W(bl,"id","time"),W(bl,"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 kl(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 Wp extends bl{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=kl(n,this.min),this._tableRange=kl(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(kl(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const n=this._offsets,r=this.getDecimalForPixel(e)/n.factor-n.end;return kl(this._table,r*this._tableRange+this._minPos,!0)}}W(Wp,"id","timeseries"),W(Wp,"defaults",bl.defaults);const jp={data:{type:Object,required:!0},options:{type:Object,default:()=>({})},plugins:{type:Array,default:()=>[]},datasetIdKey:{type:String,default:"label"},updateMode:{type:String,default:void 0}},QM={type:{type:String,required:!0},destroyDelay:{type:Number,default:0},...jp,...{ariaLabel:{type:String},ariaDescribedby:{type:String}}},JM=o.version[0]==="2"?(t,e)=>Object.assign(t,{attrs:e}):(t,e)=>Object.assign(t,e);function xi(t){return o.isProxy(t)?o.toRaw(t):t}function eS(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t;return o.isProxy(e)?new Proxy(t,{}):t}function tS(t,e){const n=t.options;n&&e&&Object.assign(n,e)}function Zp(t,e){t.labels=e}function Up(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 nS(t,e){const n={labels:[],datasets:[]};return Zp(n,t.labels),Up(n,t.datasets,e),n}const rS=o.defineComponent({props:QM,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=nS(u,m),p=eS(g,u);i.value=new Ao(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=xi(h),C=xi(m);y&&y!==C&&(tS(p,y),_=!0)}if(f){const y=xi(f.labels),C=xi(g.labels),k=xi(f.datasets),v=xi(g.datasets);y!==C&&(Zp(p.config.data,y),_=!0),k&&k!==v&&(Up(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 sS(t,e){return Ao.register(e),o.defineComponent({props:jp,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(rS,JM({ref:a},{type:t,...n}))}})}const qp=sS("line",sl),iS={class:"chart-container"},Bu={__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){Ao.register(pl,_l,Fo,yr,DM,Sp);const e=t;let n=o.reactive({isEmpty:!0});const r=u=>{const h=new Set,f=[];let m=[];switch(e.dataType){case"balanceChartData":m=u.length!==0?u.map(p=>(h.add(p.date),Ot(p.balance,2))):[0,0];break;case"performanceChartData":m=u.length!==0?u.map(p=>(h.add(p.date),Ot(p.pnl_to_deposit,2))):[0,0];break}f.push({data:m});const g=Array.from(h);return g.length===1?(g.push(...g),f.forEach(p=>{p.data.push(...p.data)}),n.isEmpty=!1):g.length===0?(n.isEmpty=!0,g.push(0,0)):n.isEmpty=!1,{labels:g,datasets:f}},s=o.computed(()=>r(e.data)),i=u=>{const f=u.chart.ctx.createLinearGradient(0,0,0,e.gradient.height);return f.addColorStop(0,e.gradient.startColor),f.addColorStop(1,e.gradient.endColor),f},a=(u,h)=>{let f=document.querySelector(`#${u}-${e.dataType}`);return f||(f=document.createElement("div"),f.classList.add(u),f.setAttribute("id",`${u}-${e.dataType}`),h.canvas.parentNode.appendChild(f)),f},l=u=>{if(!n.isEmpty){const{chart:h,tooltip:f}=u,m=a("chart-tooltip",h);if(f.opacity===0){m.style.opacity="0";return}if(f.body){const v=f.title||[],M=f.body.map(S=>S.lines),T=document.createElement("div");for(T.classList.add("chart-tooltip-middle"),T.innerHTML=`<div class="chart-tooltip-content">
|
|
35
|
+
${e.dataType==="balanceChartData"?`$${Me(e.isMask,ah(M[0]),{repeat:6})}`:`${Me(e.isMask,ah(M[0]),{repeat:3})}%`}
|
|
36
|
+
<span> | ${lh(v[0])}, ${h6(v[0])}</span></div>`;m.firstChild;)m.firstChild.remove();m.appendChild(T)}const{offsetLeft:g,offsetTop:p,clientWidth:_}=h.canvas;let y=g+f.caretX;const C=p+f.caretY,k=m.clientWidth;y+k>_&&(y-=k),m.style.opacity="1",m.style.left=y+"px",m.style.top=C+"px"}},c=u=>{const{chart:h}=u,f=a("chart-line",h),m=h.chartArea;h.canvas.addEventListener("mousemove",function(g){const p=h.canvas.getBoundingClientRect(),_=g.clientX-p.left,y=g.clientY-p.top;_>=m.left&&_<=m.right&&y>=m.top&&y<=m.bottom?(f.style.left=_+"px",f.style.top=m.top+"px",f.style.height=m.bottom-m.top+"px",f.style.display="flex"):f.style.display="none"}),h.canvas.addEventListener("mouseout",function(){f.style.display="none"})},d=o.computed(()=>({responsive:!0,maintainAspectRatio:!1,animation:{duration:1500},scales:{x:{ticks:{display:!n.isEmpty,callback:function(u){return lh(this.getLabelForValue(u)).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:!n.isEmpty,callback:function(u){return e.ticksCallback(u)},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:l},legend:!1},elements:{line:{backgroundColor:u=>i(u),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:c}));return(u,h)=>(o.openBlock(),o.createElementBlock("div",iS,[o.createVNode(o.unref(qp),{data:s.value,options:d.value},null,8,["data","options"])]))}},Au={__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){Ao.register(pl,_l,Fo,yr,Sp);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(qp),{data:r.value,options:i.value},null,8,["data","options"]))}},oS=t=>(o.pushScopeId("data-v-671184a1"),t=t(),o.popScopeId(),t),aS={class:"account-balance-widget"},lS={class:"account-balance-widget__top"},cS={class:"account-balance-widget__title-wrapper"},dS=oS(()=>o.createElementVNode("div",{class:"account-balance-widget__title"},"Account Balance",-1)),uS=De({__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=>s>=1e3||s<=-1e3?Me(r.isMask,Ot(s/1e3,2)+"k",{repeat:3}):Ot(s,2),r=t;return(s,i)=>(o.openBlock(),o.createElementBlock("div",aS,[o.createElementVNode("div",lS,[o.createElementVNode("div",cS,[dS,o.createVNode(o.unref(mn),{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(Bu),{data:t.balanceChartData,"data-type":"balanceChartData","ticks-callback":n,isMask:t.isMask},null,8,["data","isMask"])]))}},[["__scopeId","data-v-671184a1"]]),Gp=t=>(o.pushScopeId("data-v-d57099e1"),t=t(),o.popScopeId(),t),hS={class:"balance-widget"},fS={class:"balance-part"},mS={class:"balance-part__top"},pS={class:"balance-part__title-wrapper"},gS=Gp(()=>o.createElementVNode("div",{class:"balance-part__title"},"Balance",-1)),_S={class:"balance-part__content"},yS={class:"balance-part__content__wrapper"},wS={class:"balance-part__content__count"},bS={class:"balance-part__content__bitcoin"},kS={key:0,class:"devider"},CS={key:1,class:"personal-target-part"},xS={class:"personal-target-part__top"},MS={class:"personal-target-part__title-wrapper"},SS=Gp(()=>o.createElementVNode("div",{class:"personal-target-part__title"},"Personal target",-1)),vS={class:"personal-target-part__content"},TS={class:"personal-target-part__content__current"},OS={class:"personal-target-part__content__from"},DS=De({__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",hS,[o.createElementVNode("div",fS,[o.createElementVNode("div",mS,[o.createElementVNode("div",pS,[gS,o.createVNode(o.unref(mn),{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",_S,[o.createElementVNode("div",yS,[o.createElementVNode("div",wS,o.toDisplayString(o.unref(Me)(t.isMaskBalance,o.unref(cn)(t.USDT),{prefix:"$"})),1),t.delta?(o.openBlock(),o.createBlock(o.unref(Zl),{key:0,"is-hidden":t.isMaskBalance,percentage:"",delta:t.delta},null,8,["is-hidden","delta"])):o.createCommentVNode("",!0)]),o.createElementVNode("div",bS,"= "+o.toDisplayString(o.unref(Me)(t.isMaskBalance,t.BTC))+" BTC",1)]),t.isShare?(o.openBlock(),o.createBlock(o.unref(Au),{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(Au),{key:1,class:"balance-part__chart",data:t.balanceChartData},null,8,["data"]))]),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",kS)),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",CS,[o.createElementVNode("div",xS,[o.createElementVNode("div",MS,[SS,o.createVNode(o.unref(mn),{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",vS,[o.createElementVNode("div",TS,o.toDisplayString(o.unref(Me)(t.isMaskPersonalTarget,o.unref(cn)(t.currentProfit,{isPercentage:t.isPercentage,isFixed:!0}),{prefix:"$",repeat:5})),1),o.createElementVNode("div",OS,"/ "+o.toDisplayString(o.unref(Me)(t.isMaskPersonalTarget,o.unref(cn)(t.profit,{isPercentage:t.isPercentage,isFixed:!0}))),1)]),o.createVNode(o.unref(s3),{"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"]]),Cl=t=>(o.pushScopeId("data-v-dd62ea18"),t=t(),o.popScopeId(),t),ES={class:"calendar-widget"},$S={class:"calendar-widget__calendar"},PS={class:"calendar-widget__top"},LS={class:"calendar-widget__title-wrapper"},VS=Cl(()=>o.createElementVNode("div",{class:"calendar-widget__title"},"Calendar",-1)),NS={class:"stat-calendar"},BS={class:"stat-calendar__week-days"},AS={key:0,class:"stat-calendar__row-wrapper"},FS={class:"stat-calendar__row"},RS=["onClick"],IS=Cl(()=>o.createElementVNode("div",{class:"calendar-widget__divider"},null,-1)),HS={key:0,class:"calendar-widget__day"},zS={class:"calendar-widget__day__title"},YS={class:"calendar-widget__day__content"},WS={class:"calendar-widget__point"},jS={class:"calendar-widget__point__title"},ZS=Cl(()=>o.createElementVNode("div",{class:"calendar-widget__point__line"},null,-1)),US={class:"calendar-widget__day__trades"},qS={class:"calendar-widget__point"},GS={class:"calendar-widget__point__title"},KS=Cl(()=>o.createElementVNode("div",{class:"calendar-widget__point__line"},null,-1)),XS=De({__name:"CalendarWidget",props:{rows:Array,dailyStatData:Object,currentDate:Date,calendarPointsTop:Array,calendarPointsBottom:Array,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=l=>{r.value=l.year,s.value=l.month,i("chooseMonth",l)};return o.nextTick(()=>{const l=new Date;r.value=l.getFullYear(),s.value=l.getMonth()}),(l,c)=>{var d,u;return o.openBlock(),o.createElementBlock("div",ES,[o.createElementVNode("div",$S,[o.createElementVNode("div",PS,[o.createElementVNode("div",LS,[VS,o.createVNode(o.unref(mn),{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(r3),{key:0,"current-date":t.currentDate,onOnChange:a,year:r.value,"onUpdate:year":c[0]||(c[0]=h=>r.value=h),month:s.value,"onUpdate:month":c[1]||(c[1]=h=>s.value=h)},null,8,["current-date","year","month"])):o.createCommentVNode("",!0)]),o.createElementVNode("div",NS,[o.createElementVNode("div",BS,[(o.openBlock(),o.createElementBlock(o.Fragment,null,o.renderList(n,(h,f)=>o.createElementVNode("div",{class:o.normalizeClass(["stat-calendar__week-day",{"-current":t.isCurrentDay(f)}])},o.toDisplayString(h),3)),64))]),t.rows?(o.openBlock(),o.createElementBlock("div",AS,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.rows,h=>(o.openBlock(),o.createElementBlock("div",FS,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(h,f=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["stat-calendar__day",{"-empty":!f.date,"-current":t.isCurrentDate(f.date),"-positive":f.win,"-negative":f.win===!1}]),onClick:m=>i("setNewDate",f.date)},o.toDisplayString(f.date?f.date:""),11,RS))),256))]))),256))])):o.createCommentVNode("",!0)])]),IS,t.dailyStatData&&!t.dailyStatData.isNull?(o.openBlock(),o.createElementBlock("div",HS,[o.createElementVNode("div",zS,o.toDisplayString(t.currentDate.getDate()+" "+t.currentDate.toLocaleString("en-us",{month:"long"})),1),o.createElementVNode("div",YS,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.calendarPointsTop,h=>(o.openBlock(),o.createElementBlock("div",WS,[o.createElementVNode("div",jS,o.toDisplayString(h.title),1),ZS,o.createElementVNode("div",{class:o.normalizeClass(["calendar-widget__point__value",h.class?h.class:""])},o.toDisplayString(o.unref(Me)(t.isMask,h.value,{repeat:5})),3)]))),256)),o.createVNode(o.unref(z0),{isHidden:t.isMask,long:(d=t.dailyStatData)==null?void 0:d.long_count,short:(u=t.dailyStatData)==null?void 0:u.short_count},null,8,["isHidden","long","short"]),o.createElementVNode("div",US,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.calendarPointsBottom,h=>(o.openBlock(),o.createElementBlock("div",qS,[o.createElementVNode("div",GS,o.toDisplayString(h.title),1),KS,o.createVNode(o.unref(Zl),{isHidden:t.isMask,"is-positive":h.isPositive,"is-negative":h.isNegative,delta:h.value},null,8,["isHidden","is-positive","is-negative","delta"])]))),256))])])])):(o.openBlock(),o.createBlock(o.unref(Xd),{key:1,class:"-empty"}))])}}},[["__scopeId","data-v-dd62ea18"]]),Fu=t=>(o.pushScopeId("data-v-6a6e7d66"),t=t(),o.popScopeId(),t),QS={class:"commission-widget"},JS={class:"commission-widget__content"},ev={class:"commission-widget__top"},tv={class:"commission-widget__title-wrapper"},nv=Fu(()=>o.createElementVNode("div",{class:"commission-widget__title"},"Commissions and Fees",-1)),rv={class:"commission-widget__info"},sv={class:"commission-widget__total-wrapper"},iv=Fu(()=>o.createElementVNode("div",{class:"commission-widget__total-wrapper__title"},"Total",-1)),ov={class:"commission-widget__total-wrapper__total"},av={class:"commission-widget__total-wrapper__value"},lv={class:"commission-widget__points"},cv={class:"commission-widget__point"},dv={class:"commission-widget__point__title"},uv=Fu(()=>o.createElementVNode("div",{class:"commission-widget__point__line"},null,-1)),hv=De({__name:"CommissionsFeesWidget",props:{commission:Number,commissionPoints: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",QS,[o.createElementVNode("div",JS,[o.createElementVNode("div",ev,[o.createElementVNode("div",tv,[nv,o.createVNode(o.unref(mn),{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":i[0]||(i[0]=a=>n.value=a),onOnChange:i[1]||(i[1]=a=>r("onChange",n.value))},null,8,["modelValue"])]),o.createElementVNode("div",rv,[o.createElementVNode("div",sv,[iv,o.createElementVNode("div",ov,[o.createElementVNode("div",av," $"+o.toDisplayString(o.unref(Me)(t.isMask,o.unref(Ot)(t.commission),{repeat:5})),1)])]),o.createElementVNode("div",lv,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.commissionPoints,(a,l)=>(o.openBlock(),o.createElementBlock("div",cv,[o.createElementVNode("div",dv,o.toDisplayString(a.title),1),uv,o.createElementVNode("div",{class:o.normalizeClass(["commission-widget__point__value",a.class?a.class:""])},o.toDisplayString(o.unref(Me)(t.isMask,a.value,{repeat:5})),3)]))),256))])])])]))}},[["__scopeId","data-v-6a6e7d66"]]),fv=t=>(o.pushScopeId("data-v-7187c939"),t=t(),o.popScopeId(),t),mv={class:"performance-widget"},pv={class:"performance-widget__top"},gv={class:"performance-widget__title-wrapper"},_v=fv(()=>o.createElementVNode("div",{class:"performance-widget__title"},"Performance (cumulative)",-1)),yv=De({__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,Ot(s,2)+"%",{repeat:3});return(s,i)=>(o.openBlock(),o.createElementBlock("div",mv,[o.createElementVNode("div",pv,[o.createElementVNode("div",gv,[_v,o.createVNode(o.unref(mn),{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(Bu),{data:t.performanceChartData,"data-type":"performanceChartData","ticks-callback":r,isMask:t.isMask},null,8,["data","isMask"])]))}},[["__scopeId","data-v-7187c939"]]),Ru=t=>(o.pushScopeId("data-v-d32abbf2"),t=t(),o.popScopeId(),t),wv={class:"return-widget"},bv={class:"return-widget__content"},kv={class:"return-widget__top"},Cv={class:"return-widget__title-wrapper"},xv=Ru(()=>o.createElementVNode("div",{class:"return-widget__title"},"Return",-1)),Mv={class:"return-widget__info"},Sv={class:"return-widget__total-wrapper"},vv=Ru(()=>o.createElementVNode("div",{class:"return-widget__total-wrapper__title"},"Total",-1)),Tv={class:"return-widget__total-wrapper__total"},Ov={class:"return-widget__points"},Dv={class:"return-widget__point"},Ev={class:"return-widget__point__title"},$v=Ru(()=>o.createElementVNode("div",{class:"return-widget__point__line"},null,-1)),Pv=["innerHTML"],Lv=De({__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,Ot(s.profitFactor,2),{repeat:5})}. <br /> You earn ${Me(s.isMask,cn(s.profitFactor),{repeat:5,prefix:"$"})} on every ${Me(s.isMask,"$1",{repeat:5,prefix:"$"})} loss.`:`Your profit factor is ${Me(s.isMask,Ot(s.profitFactor,2),{repeat:5})}. <br/> You loss ${Me(s.isMask,cn(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",wv,[o.createElementVNode("div",bv,[o.createElementVNode("div",kv,[o.createElementVNode("div",Cv,[xv,o.createVNode(o.unref(mn),{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",Mv,[o.createElementVNode("div",Sv,[vv,o.createElementVNode("div",Tv,[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(cn)(t.returnPeriod,{isPlus:!0,isFixed:!0}),{repeat:5})),3),s.changeRate?(o.openBlock(),o.createBlock(o.unref(Zl),{key:0,percentage:"",isHidden:t.isMask,delta:s.changeRate},null,8,["isHidden","delta"])):o.createCommentVNode("",!0)])]),o.createElementVNode("div",Ov,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,f=>(o.openBlock(),o.createElementBlock("div",Dv,[o.createElementVNode("div",Ev,o.toDisplayString(f.title),1),$v,o.createElementVNode("div",{class:o.normalizeClass(["return-widget__point__value",f.class?f.class:""])},o.toDisplayString(o.unref(Me)(t.isMask,o.unref(cn)(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,Pv)],2)):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-d32abbf2"]]),Kp=t=>(o.pushScopeId("data-v-9232fe43"),t=t(),o.popScopeId(),t),Vv={class:"top-positions-widget"},Nv={class:"top-positions-widget__top"},Bv={class:"top-positions-widget__title-wrapper"},Av=Kp(()=>o.createElementVNode("div",{class:"top-positions-widget__title"},"Top-3 Positions",-1)),Fv={key:0,class:"top-positions-widget__returns"},Rv={class:"top-positions-widget__return"},Iv={class:"top-positions-widget__return__left"},Hv=Kp(()=>o.createElementVNode("div",{class:"top-positions-widget__return__line"},null,-1)),zv={class:"top-positions-widget__return__pair"},Yv={class:"top-positions-widget__return__right"},Wv={class:"top-positions-widget__return__pnl"},jv=De({__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",Vv,[o.createElementVNode("div",Nv,[o.createElementVNode("div",Bv,[Av,o.createVNode(o.unref(mn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("Helps you find the top 3 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",Fv,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.topPositions,a=>(o.openBlock(),o.createElementBlock("div",Rv,[o.createElementVNode("div",Iv,[Hv,o.createElementVNode("div",zv,o.toDisplayString(o.unref(f6)(a.pair)),1)]),o.createElementVNode("div",Yv,[o.createElementVNode("div",Wv,o.toDisplayString(o.unref(Me)(t.isMask,o.unref(cn)(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(cn)(a.roi,{isPercentage:!0,isFixed:!0},{repeat:2}))),1)],2)])]))),256))])):(o.openBlock(),o.createBlock(o.unref(Xd),{key:1,title:"No more pair",subtitle:"No data available for the specified period",icon:"coins-add"}))]))}},[["__scopeId","data-v-9232fe43"]]),Iu=t=>(o.pushScopeId("data-v-139cca32"),t=t(),o.popScopeId(),t),Zv={class:"trade-widget"},Uv={class:"trade-widget__content"},qv={class:"trade-widget__top"},Gv={class:"trade-widget__title-wrapper"},Kv=Iu(()=>o.createElementVNode("div",{class:"trade-widget__title"},"Trades Performance",-1)),Xv={class:"trade-widget__info"},Qv={class:"trade-widget__total-wrapper"},Jv=Iu(()=>o.createElementVNode("div",{class:"trade-widget__total-wrapper__title"},"Total",-1)),eT={class:"trade-widget__total-wrapper__total"},tT={class:"trade-widget__total-wrapper__value"},nT={class:"trade-widget__points"},rT={class:"trade-widget__point"},sT={class:"trade-widget__point__title"},iT=Iu(()=>o.createElementVNode("div",{class:"trade-widget__point__line"},null,-1)),oT=De({__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",Zv,[o.createElementVNode("div",Uv,[o.createElementVNode("div",qv,[o.createElementVNode("div",Gv,[Kv,o.createVNode(o.unref(mn),{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",Xv,[o.createElementVNode("div",Qv,[Jv,o.createElementVNode("div",eT,[o.createElementVNode("div",tT,o.toDisplayString(o.unref(Me)(t.isMask,t.totalTrades,{repeat:5})),1)])]),o.createElementVNode("div",nT,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.tradePoints,a=>(o.openBlock(),o.createElementBlock("div",rT,[o.createElementVNode("div",sT,o.toDisplayString(a.title),1),iT,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"]]),Hu=t=>(o.pushScopeId("data-v-7ee4ff51"),t=t(),o.popScopeId(),t),aT={class:"winrate-widget"},lT={class:"winrate-widget__winrate"},cT={class:"winrate-widget__title-wrapper"},dT=Hu(()=>o.createElementVNode("div",{class:"winrate-widget__title"},"Winrate",-1)),uT={class:"winrate-widget__chart"},hT={class:"winrate-widget__data"},fT={class:"winrate-widget__data_value"},mT=Hu(()=>o.createElementVNode("div",{class:"winrate-widget__data_title"},"Winrate",-1)),pT={class:"winrate-widget__average-rr"},gT={class:"winrate-widget__title-wrapper"},_T=Hu(()=>o.createElementVNode("div",{class:"winrate-widget__title"},"Average RR",-1)),yT=De({__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",aT,[o.createElementVNode("div",lT,[o.createElementVNode("div",cT,[dT,o.createVNode(o.unref(mn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("Displays the percentage of your successful positions. ")]),_:1})]),o.createElementVNode("div",uT,[o.renderSlot(e.$slots,"roundSlider",{},void 0,!0),o.createElementVNode("div",hT,[o.createElementVNode("div",fT,o.toDisplayString(o.unref(Me)(t.isMask,o.unref(Ot)(t.winrate,2)))+"%",1),mT])])]),o.createElementVNode("div",pT,[o.createElementVNode("div",gT,[_T,o.createVNode(o.unref(mn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("Risk Reward, defines the ratio of potential profit to loss you can get. ")]),_:1})]),o.createVNode(o.unref(Xp),{avg:t.averageRR,min:t.minRR,max:t.maxRR,isMask:t.isMask},null,8,["avg","min","max","isMask"])])]))}},[["__scopeId","data-v-7ee4ff51"]]),wT=t=>(o.pushScopeId("data-v-e6d713b2"),t=t(),o.popScopeId(),t),bT={class:"average-rr-line-container"},kT={class:"average-rr-line"},CT={key:0,class:"average-rr-line__progress"},xT=[wT(()=>o.createElementVNode("div",{class:"average-rr-line__dot"},null,-1))],MT={class:"coefficients"},ST={class:"coefficients__value -min"},vT={class:"coefficients__value -avg"},TT={class:"coefficients__value -max"},Xp=De({__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",bT,[o.createElementVNode("div",kT,[t.avg&&t.max?(o.openBlock(),o.createElementBlock("div",CT,xT)):o.createCommentVNode("",!0)]),o.createElementVNode("div",MT,[o.createElementVNode("div",ST,o.toDisplayString(o.unref(Me)(t.isMask,t.min,{repeat:3})),1),o.createElementVNode("div",vT,o.toDisplayString(o.unref(Me)(t.isMask,o.unref(Ot)(t.avg))),1),o.createElementVNode("div",TT,o.toDisplayString(o.unref(Me)(t.isMask,o.unref(Ot)(t.max),{repeat:3})),1)])]))}},[["__scopeId","data-v-e6d713b2"]]);function Qp(t){return o.getCurrentScope()?(o.onScopeDispose(t),!0):!1}function Ho(t){return typeof t=="function"?t():o.unref(t)}const Jp=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const OT=Object.prototype.toString,DT=t=>OT.call(t)==="[object Object]",zo=()=>{},zu=ET();function ET(){var t,e;return Jp&&((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 e2={mounted:"mounted",updated:"updated",unmounted:"unmounted"};function $T(...t){if(t.length!==1)return o.toRef(...t);const e=t[0];return typeof e=="function"?o.readonly(o.customRef(()=>({get:e,set:zo}))):o.ref(e)}function Yo(t){var e;const n=Ho(t);return(e=n==null?void 0:n.$el)!=null?e:n}const t2=Jp?window:void 0;function xl(...t){let e,n,r,s;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,r,s]=t,e=t2):[e,n,r,s]=t,!e)return zo;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(()=>[Yo(e),Ho(s)],([u,h])=>{if(a(),!u)return;const f=DT(h)?{...h}:h;i.push(...n.flatMap(m=>r.map(g=>l(u,m,g,f))))},{immediate:!0,flush:"post"}),d=()=>{c(),a()};return Qp(d),d}let n2=!1;function r2(t,e,n={}){const{window:r=t2,ignore:s=[],capture:i=!0,detectIframe:a=!1}=n;if(!r)return zo;zu&&!n2&&(n2=!0,Array.from(r.document.body.children).forEach(f=>f.addEventListener("click",zo)),r.document.documentElement.addEventListener("click",zo));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=Yo(m);return g&&(f.target===g||f.composedPath().includes(g))}}),u=[xl(r,"click",f=>{const m=Yo(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}),xl(r,"pointerdown",f=>{const m=Yo(t);l=!c(f)&&!!(m&&!f.composedPath().includes(m))},{passive:!0}),a&&xl(r,"blur",f=>{setTimeout(()=>{var m;const g=Yo(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 s2={[e2.mounted](t,e){const n=!e.modifiers.bubble;if(typeof e.value=="function")t.__onClickOutside_stop=r2(t,e.value,{capture:n});else{const[r,s]=e.value;t.__onClickOutside_stop=r2(t,r,Object.assign({capture:n},s))}},[e2.unmounted](t){t.__onClickOutside_stop()}};function Yu(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 PT(t){const e=t||window.event,n=e.target;return i2(n)?!1:e.touches.length>1?!0:(e.preventDefault&&e.preventDefault(),!1)}const Ml=new WeakMap;function LT(t,e=!1){const n=o.ref(e);let r=null;o.watch($T(t),a=>{const l=Yu(Ho(a));if(l){const c=l;Ml.get(c)||Ml.set(c,c.style.overflow),n.value&&(c.style.overflow="hidden")}},{immediate:!0});const s=()=>{const a=Yu(Ho(t));!a||n.value||(zu&&(r=xl(a,"touchmove",l=>{PT(l)},{passive:!1})),a.style.overflow="hidden",n.value=!0)},i=()=>{var a;const l=Yu(Ho(t));!l||!n.value||(zu&&(r==null||r()),l.style.overflow=(a=Ml.get(l))!=null?a:"",Ml.delete(l),n.value=!1)};return Qp(i),o.computed({get(){return n.value},set(a){a?s():i()}})}function VT(){let t=!1;const e=o.ref(!1);return(n,r)=>{if(e.value=r.value,t)return;t=!0;const s=LT(n,r.value);o.watch(e,i=>s.value=i)}}VT();//! moment.js
|
|
37
37
|
//! version : 2.30.1
|
|
38
38
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
39
39
|
//! license : MIT
|
|
40
40
|
//! momentjs.com
|
|
41
|
-
var o2;function re(){return o2.apply(null,arguments)}function NT(t){o2=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
|
|
42
|
-
[`+i+"] ";for(a in arguments[0])
|
|
41
|
+
var o2;function re(){return o2.apply(null,arguments)}function NT(t){o2=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 Wu(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 jt(t){return t===void 0}function br(t){return typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]"}function Wo(t){return t instanceof Date||Object.prototype.toString.call(t)==="[object Date]"}function a2(t,e){var n=[],r,s=t.length;for(r=0;r<s;++r)n.push(e(t[r],r));return n}function ts(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 er(t,e,n,r){return V2(t,e,n,r,!0).utc()}function BT(){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=BT()),t._pf}var ju;Array.prototype.some?ju=Array.prototype.some:ju=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 Zu(t){var e=null,n=!1,r=t._d&&!isNaN(t._d.getTime());if(r&&(e=_e(t),n=ju.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 Sl(t){var e=er(NaN);return t!=null?ts(_e(e),t):_e(e).userInvalidated=!0,e}var l2=re.momentProperties=[],Uu=!1;function qu(t,e){var n,r,s,i=l2.length;if(jt(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),jt(e._i)||(t._i=e._i),jt(e._f)||(t._f=e._f),jt(e._l)||(t._l=e._l),jt(e._strict)||(t._strict=e._strict),jt(e._tzm)||(t._tzm=e._tzm),jt(e._isUTC)||(t._isUTC=e._isUTC),jt(e._offset)||(t._offset=e._offset),jt(e._pf)||(t._pf=_e(e)),jt(e._locale)||(t._locale=e._locale),i>0)for(n=0;n<i;n++)r=l2[n],s=e[r],jt(s)||(t[r]=s);return t}function jo(t){qu(this,t),this._d=new Date(t._d!=null?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Uu===!1&&(Uu=!0,re.updateOffset(this),Uu=!1)}function Ln(t){return t instanceof jo||t!=null&&t._isAMomentObject!=null}function c2(t){re.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+t)}function yn(t,e){var n=!0;return ts(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+=`
|
|
42
|
+
[`+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)}c2(t+`
|
|
43
43
|
Arguments: `+Array.prototype.slice.call(r).join("")+`
|
|
44
|
-
`+new Error().stack),n=!1}return e.apply(this,arguments)},e)}var d2={};function u2(t,e){re.deprecationHandler!=null&&re.deprecationHandler(t,e),d2[t]||(c2(e),d2[t]=!0)}re.suppressDeprecationWarnings=!1,re.deprecationHandler=null;function tr(t){return typeof Function<"u"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function AT(t){var e,n;for(n in t)Ee(t,n)&&(e=t[n],tr(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 Gu(t,e){var n=ts({},t),r;for(r in e)Ee(e,r)&&(Is(t[r])&&Is(e[r])?(n[r]={},ts(n[r],t[r]),ts(n[r],e[r])):e[r]!=null?n[r]=e[r]:delete n[r]);for(r in t)Ee(t,r)&&!Ee(e,r)&&Is(t[r])&&(n[r]=ts({},n[r]));return n}function Ku(t){t!=null&&this.set(t)}var Xu;Object.keys?Xu=Object.keys:Xu=function(t){var e,n=[];for(e in t)Ee(t,e)&&n.push(e);return n};var FT={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function RT(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return tr(r)?r.call(e,n):r}function nr(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 Qu=/(\[[^\[]*\])|(\\)?([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,vl=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ju={},Mi={};function oe(t,e,n,r){var s=r;typeof r=="string"&&(s=function(){return this[r]()}),t&&(Mi[t]=s),e&&(Mi[e[0]]=function(){return nr(s.apply(this,arguments),e[1],e[2])}),n&&(Mi[n]=function(){return this.localeData().ordinal(s.apply(this,arguments),t)})}function IT(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function zT(t){var e=t.match(Qu),n,r;for(n=0,r=e.length;n<r;n++)Mi[e[n]]?e[n]=Mi[e[n]]:e[n]=IT(e[n]);return function(s){var i="",a;for(a=0;a<r;a++)i+=tr(e[a])?e[a].call(s,t):e[a];return i}}function Tl(t,e){return t.isValid()?(e=h2(e,t.localeData()),Ju[e]=Ju[e]||zT(e),Ju[e](t)):t.localeData().invalidDate()}function h2(t,e){var n=5;function r(s){return e.longDateFormat(s)||s}for(vl.lastIndex=0;n>=0&&vl.test(t);)t=t.replace(vl,r),vl.lastIndex=0,n-=1;return t}var HT={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 YT(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(Qu).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[t])}var WT="Invalid date";function jT(){return this._invalidDate}var ZT="%d",UT=/\d{1,2}/;function qT(t){return this._ordinal.replace("%d",t)}var GT={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 KT(t,e,n,r){var s=this._relativeTime[n];return tr(s)?s(t,e,n,r):s.replace(/%d/i,t)}function XT(t,e){var n=this._relativeTime[t>0?"future":"past"];return tr(n)?n(e):n.replace(/%s/i,e)}var f2={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 wn(t){return typeof t=="string"?f2[t]||f2[t.toLowerCase()]:void 0}function e1(t){var e={},n,r;for(r in t)Ee(t,r)&&(n=wn(r),n&&(e[n]=t[r]));return e}var QT={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 JT(t){var e=[],n;for(n in t)Ee(t,n)&&e.push({unit:n,priority:QT[n]});return e.sort(function(r,s){return r.priority-s.priority}),e}var m2=/\d/,on=/\d\d/,p2=/\d{3}/,t1=/\d{4}/,Ol=/[+-]?\d{6}/,qe=/\d\d?/,g2=/\d\d\d\d?/,_2=/\d\d\d\d\d\d?/,Dl=/\d{1,3}/,n1=/\d{1,4}/,El=/[+-]?\d{1,6}/,Si=/\d+/,$l=/[+-]?\d+/,eO=/Z|[+-]\d\d:?\d\d/gi,Pl=/Z|[+-]\d\d(?::?\d\d)?/gi,tO=/[+-]?\d+(\.\d{1,3})?/,Zo=/[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,vi=/^[1-9]\d?/,r1=/^([1-9]\d|\d)/,Ll;Ll={};function ie(t,e,n){Ll[t]=tr(e)?e:function(r,s){return r&&n?n:e}}function nO(t,e){return Ee(Ll,t)?Ll[t](e._strict,e._locale):new RegExp(rO(t))}function rO(t){return kr(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,n,r,s,i){return n||r||s||i}))}function kr(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function bn(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=bn(e)),n}var s1={};function ze(t,e){var n,r=e,s;for(typeof t=="string"&&(t=[t]),br(e)&&(r=function(i,a){a[e]=ke(i)}),s=t.length,n=0;n<s;n++)s1[t[n]]=r}function Uo(t,e){ze(t,function(n,r,s,i){s._w=s._w||{},e(n,s._w,s,i)})}function sO(t,e,n){e!=null&&Ee(s1,t)&&s1[t](e,n._a,n,t)}function Vl(t){return t%4===0&&t%100!==0||t%400===0}var Lt=0,Cr=1,rr=2,kt=3,Vn=4,xr=5,zs=6,iO=7,oO=8;oe("Y",0,0,function(){var t=this.year();return t<=9999?nr(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",$l),ie("YY",qe,on),ie("YYYY",n1,t1),ie("YYYYY",El,Ol),ie("YYYYYY",El,Ol),ze(["YYYYY","YYYYYY"],Lt),ze("YYYY",function(t,e){e[Lt]=t.length===2?re.parseTwoDigitYear(t):ke(t)}),ze("YY",function(t,e){e[Lt]=re.parseTwoDigitYear(t)}),ze("Y",function(t,e){e[Lt]=parseInt(t,10)});function qo(t){return Vl(t)?366:365}re.parseTwoDigitYear=function(t){return ke(t)+(ke(t)>68?1900:2e3)};var y2=Ti("FullYear",!0);function aO(){return Vl(this.year())}function Ti(t,e){return function(n){return n!=null?(w2(this,t,n),re.updateOffset(this,e),this):Go(this,t)}}function Go(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 w2(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&&!Vl(i)?28:l,s?r.setUTCFullYear(i,a,l):r.setFullYear(i,a,l)}}function lO(t){return t=wn(t),tr(this[t])?this[t]():this}function cO(t,e){if(typeof t=="object"){t=e1(t);var n=JT(t),r,s=n.length;for(r=0;r<s;r++)this[n[r].unit](t[n[r].unit])}else if(t=wn(t),tr(this[t]))return this[t](e);return this}function dO(t,e){return(t%e+e)%e}var gt;Array.prototype.indexOf?gt=Array.prototype.indexOf:gt=function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};function i1(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=dO(e,12);return t+=(e-n)/12,n===1?Vl(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,vi),ie("MM",qe,on),ie("MMM",function(t,e){return e.monthsShortRegex(t)}),ie("MMMM",function(t,e){return e.monthsRegex(t)}),ze(["M","MM"],function(t,e){e[Cr]=ke(t)-1}),ze(["MMM","MMMM"],function(t,e,n,r){var s=n._locale.monthsParse(t,r,n._strict);s!=null?e[Cr]=s:_e(n).invalidMonth=t});var uO="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),b2="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),k2=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,hO=Zo,fO=Zo;function mO(t,e){return t?Pn(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||k2).test(e)?"format":"standalone"][t.month()]:Pn(this._months)?this._months:this._months.standalone}function pO(t,e){return t?Pn(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[k2.test(e)?"format":"standalone"][t.month()]:Pn(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function gO(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=er([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?e==="MMM"?(s=gt.call(this._shortMonthsParse,a),s!==-1?s:null):(s=gt.call(this._longMonthsParse,a),s!==-1?s:null):e==="MMM"?(s=gt.call(this._shortMonthsParse,a),s!==-1?s:(s=gt.call(this._longMonthsParse,a),s!==-1?s:null)):(s=gt.call(this._longMonthsParse,a),s!==-1?s:(s=gt.call(this._shortMonthsParse,a),s!==-1?s:null))}function _O(t,e,n){var r,s,i;if(this._monthsParseExact)return gO.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(s=er([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 C2(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),!br(e))return t}var n=e,r=t.date();return r=r<29?r:Math.min(r,i1(t.year(),n)),t._isUTC?t._d.setUTCMonth(n,r):t._d.setMonth(n,r),t}function x2(t){return t!=null?(C2(this,t),re.updateOffset(this,!0),this):Go(this,"Month")}function yO(){return i1(this.year(),this.month())}function wO(t){return this._monthsParseExact?(Ee(this,"_monthsRegex")||M2.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(Ee(this,"_monthsShortRegex")||(this._monthsShortRegex=hO),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function bO(t){return this._monthsParseExact?(Ee(this,"_monthsRegex")||M2.call(this),t?this._monthsStrictRegex:this._monthsRegex):(Ee(this,"_monthsRegex")||(this._monthsRegex=fO),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function M2(){function t(c,d){return d.length-c.length}var e=[],n=[],r=[],s,i,a,l;for(s=0;s<12;s++)i=er([2e3,s]),a=kr(this.monthsShort(i,"")),l=kr(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 kO(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 Ko(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 Nl(t,e,n){var r=7+e-n,s=(7+Ko(t,0,r).getUTCDay()-e)%7;return-s+r-1}function S2(t,e,n,r,s){var i=(7+n-r)%7,a=Nl(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 Xo(t,e,n){var r=Nl(t.year(),e,n),s=Math.floor((t.dayOfYear()-r-1)/7)+1,i,a;return s<1?(a=t.year()-1,i=s+Mr(a,e,n)):s>Mr(t.year(),e,n)?(i=s-Mr(t.year(),e,n),a=t.year()+1):(a=t.year(),i=s),{week:i,year:a}}function Mr(t,e,n){var r=Nl(t,e,n),s=Nl(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,vi),ie("ww",qe,on),ie("W",qe,vi),ie("WW",qe,on),Uo(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=ke(t)});function CO(t){return Xo(t,this._week.dow,this._week.doy).week}var xO={dow:0,doy:6};function MO(){return this._week.dow}function SO(){return this._week.doy}function vO(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function TO(t){var e=Xo(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)}),Uo(["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}),Uo(["d","e","E"],function(t,e,n,r){e[r]=ke(t)});function OO(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function DO(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function o1(t,e){return t.slice(e,7).concat(t.slice(0,e))}var EO="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),v2="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),$O="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),PO=Zo,LO=Zo,VO=Zo;function NO(t,e){var n=Pn(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?o1(n,this._week.dow):t?n[t.day()]:n}function BO(t){return t===!0?o1(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function AO(t){return t===!0?o1(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function FO(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=er([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=gt.call(this._weekdaysParse,a),s!==-1?s:null):e==="ddd"?(s=gt.call(this._shortWeekdaysParse,a),s!==-1?s:null):(s=gt.call(this._minWeekdaysParse,a),s!==-1?s:null):e==="dddd"?(s=gt.call(this._weekdaysParse,a),s!==-1||(s=gt.call(this._shortWeekdaysParse,a),s!==-1)?s:(s=gt.call(this._minWeekdaysParse,a),s!==-1?s:null)):e==="ddd"?(s=gt.call(this._shortWeekdaysParse,a),s!==-1||(s=gt.call(this._weekdaysParse,a),s!==-1)?s:(s=gt.call(this._minWeekdaysParse,a),s!==-1?s:null)):(s=gt.call(this._minWeekdaysParse,a),s!==-1||(s=gt.call(this._weekdaysParse,a),s!==-1)?s:(s=gt.call(this._shortWeekdaysParse,a),s!==-1?s:null))}function RO(t,e,n){var r,s,i;if(this._weekdaysParseExact)return FO.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(s=er([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 IO(t){if(!this.isValid())return t!=null?this:NaN;var e=Go(this,"Day");return t!=null?(t=OO(t,this.localeData()),this.add(t-e,"d")):e}function zO(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 HO(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=DO(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function YO(t){return this._weekdaysParseExact?(Ee(this,"_weekdaysRegex")||a1.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(Ee(this,"_weekdaysRegex")||(this._weekdaysRegex=PO),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function WO(t){return this._weekdaysParseExact?(Ee(this,"_weekdaysRegex")||a1.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Ee(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=LO),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function jO(t){return this._weekdaysParseExact?(Ee(this,"_weekdaysRegex")||a1.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Ee(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=VO),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function a1(){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=er([2e3,1]).day(i),l=kr(this.weekdaysMin(a,"")),c=kr(this.weekdaysShort(a,"")),d=kr(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 l1(){return this.hours()%12||12}function ZO(){return this.hours()||24}oe("H",["HH",2],0,"hour"),oe("h",["hh",2],0,l1),oe("k",["kk",2],0,ZO),oe("hmm",0,0,function(){return""+l1.apply(this)+nr(this.minutes(),2)}),oe("hmmss",0,0,function(){return""+l1.apply(this)+nr(this.minutes(),2)+nr(this.seconds(),2)}),oe("Hmm",0,0,function(){return""+this.hours()+nr(this.minutes(),2)}),oe("Hmmss",0,0,function(){return""+this.hours()+nr(this.minutes(),2)+nr(this.seconds(),2)});function T2(t,e){oe(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}T2("a",!0),T2("A",!1);function O2(t,e){return e._meridiemParse}ie("a",O2),ie("A",O2),ie("H",qe,r1),ie("h",qe,vi),ie("k",qe,vi),ie("HH",qe,on),ie("hh",qe,on),ie("kk",qe,on),ie("hmm",g2),ie("hmmss",_2),ie("Hmm",g2),ie("Hmmss",_2),ze(["H","HH"],kt),ze(["k","kk"],function(t,e,n){var r=ke(t);e[kt]=r===24?0:r}),ze(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),ze(["h","hh"],function(t,e,n){e[kt]=ke(t),_e(n).bigHour=!0}),ze("hmm",function(t,e,n){var r=t.length-2;e[kt]=ke(t.substr(0,r)),e[Vn]=ke(t.substr(r)),_e(n).bigHour=!0}),ze("hmmss",function(t,e,n){var r=t.length-4,s=t.length-2;e[kt]=ke(t.substr(0,r)),e[Vn]=ke(t.substr(r,2)),e[xr]=ke(t.substr(s)),_e(n).bigHour=!0}),ze("Hmm",function(t,e,n){var r=t.length-2;e[kt]=ke(t.substr(0,r)),e[Vn]=ke(t.substr(r))}),ze("Hmmss",function(t,e,n){var r=t.length-4,s=t.length-2;e[kt]=ke(t.substr(0,r)),e[Vn]=ke(t.substr(r,2)),e[xr]=ke(t.substr(s))});function UO(t){return(t+"").toLowerCase().charAt(0)==="p"}var qO=/[ap]\.?m?\.?/i,GO=Ti("Hours",!0);function KO(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}var D2={calendar:FT,longDateFormat:HT,invalidDate:WT,ordinal:ZT,dayOfMonthOrdinalParse:UT,relativeTime:GT,months:uO,monthsShort:b2,week:xO,weekdays:EO,weekdaysMin:$O,weekdaysShort:v2,meridiemParse:qO},Xe={},Qo={},Jo;function XO(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 E2(t){return t&&t.toLowerCase().replace("_","-")}function QO(t){for(var e=0,n,r,s,i;e<t.length;){for(i=E2(t[e]).split("-"),n=i.length,r=E2(t[e+1]),r=r?r.split("-"):null;n>0;){if(s=Bl(i.slice(0,n).join("-")),s)return s;if(r&&r.length>=n&&XO(i,r)>=n-1)break;n--}e++}return Jo}function JO(t){return!!(t&&t.match("^[^/\\\\]*$"))}function Bl(t){var e=null,n;if(Xe[t]===void 0&&typeof module<"u"&&module&&module.exports&&JO(t))try{e=Jo._abbr,n=require,n("./locale/"+t),ns(e)}catch{Xe[t]=null}return Xe[t]}function ns(t,e){var n;return t&&(jt(e)?n=Sr(t):n=c1(t,e),n?Jo=n:typeof console<"u"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Jo._abbr}function c1(t,e){if(e!==null){var n,r=D2;if(e.abbr=t,Xe[t]!=null)u2("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=Xe[t]._config;else if(e.parentLocale!=null)if(Xe[e.parentLocale]!=null)r=Xe[e.parentLocale]._config;else if(n=Bl(e.parentLocale),n!=null)r=n._config;else return Qo[e.parentLocale]||(Qo[e.parentLocale]=[]),Qo[e.parentLocale].push({name:t,config:e}),null;return Xe[t]=new Ku(Gu(r,e)),Qo[t]&&Qo[t].forEach(function(s){c1(s.name,s.config)}),ns(t),Xe[t]}else return delete Xe[t],null}function eD(t,e){if(e!=null){var n,r,s=D2;Xe[t]!=null&&Xe[t].parentLocale!=null?Xe[t].set(Gu(Xe[t]._config,e)):(r=Bl(t),r!=null&&(s=r._config),e=Gu(s,e),r==null&&(e.abbr=t),n=new Ku(e),n.parentLocale=Xe[t],Xe[t]=n),ns(t)}else Xe[t]!=null&&(Xe[t].parentLocale!=null?(Xe[t]=Xe[t].parentLocale,t===ns()&&ns(t)):Xe[t]!=null&&delete Xe[t]);return Xe[t]}function Sr(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Jo;if(!Pn(t)){if(e=Bl(t),e)return e;t=[t]}return QO(t)}function tD(){return Xu(Xe)}function d1(t){var e,n=t._a;return n&&_e(t).overflow===-2&&(e=n[Cr]<0||n[Cr]>11?Cr:n[rr]<1||n[rr]>i1(n[Lt],n[Cr])?rr:n[kt]<0||n[kt]>24||n[kt]===24&&(n[Vn]!==0||n[xr]!==0||n[zs]!==0)?kt:n[Vn]<0||n[Vn]>59?Vn:n[xr]<0||n[xr]>59?xr:n[zs]<0||n[zs]>999?zs:-1,_e(t)._overflowDayOfYear&&(e<Lt||e>rr)&&(e=rr),_e(t)._overflowWeeks&&e===-1&&(e=iO),_e(t)._overflowWeekday&&e===-1&&(e=oO),_e(t).overflow=e),t}var nD=/^\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)?)?$/,rD=/^\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)?)?$/,sD=/Z|[+-]\d\d(?::?\d\d)?/,Al=[["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]],u1=[["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/]],iD=/^\/?Date\((-?\d+)/i,oD=/^(?:(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}))$/,aD={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 $2(t){var e,n,r=t._i,s=nD.exec(r)||rD.exec(r),i,a,l,c,d=Al.length,u=u1.length;if(s){for(_e(t).iso=!0,e=0,n=d;e<n;e++)if(Al[e][1].exec(s[1])){a=Al[e][0],i=Al[e][2]!==!1;break}if(a==null){t._isValid=!1;return}if(s[3]){for(e=0,n=u;e<n;e++)if(u1[e][1].exec(s[3])){l=(s[2]||" ")+u1[e][0];break}if(l==null){t._isValid=!1;return}}if(!i&&l!=null){t._isValid=!1;return}if(s[4])if(sD.exec(s[4]))c="Z";else{t._isValid=!1;return}t._f=a+(l||"")+(c||""),f1(t)}else t._isValid=!1}function lD(t,e,n,r,s,i){var a=[cD(t),b2.indexOf(e),parseInt(n,10),parseInt(r,10),parseInt(s,10)];return i&&a.push(parseInt(i,10)),a}function cD(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function dD(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function uD(t,e,n){if(t){var r=v2.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 hD(t,e,n){if(t)return aD[t];if(e)return 0;var r=parseInt(n,10),s=r%100,i=(r-s)/100;return i*60+s}function P2(t){var e=oD.exec(dD(t._i)),n;if(e){if(n=lD(e[4],e[3],e[2],e[5],e[6],e[7]),!uD(e[1],n,t))return;t._a=n,t._tzm=hD(e[8],e[9],e[10]),t._d=Ko.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),_e(t).rfc2822=!0}else t._isValid=!1}function fD(t){var e=iD.exec(t._i);if(e!==null){t._d=new Date(+e[1]);return}if($2(t),t._isValid===!1)delete t._isValid;else return;if(P2(t),t._isValid===!1)delete t._isValid;else return;t._strict?t._isValid=!1:re.createFromInputFallback(t)}re.createFromInputFallback=yn("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 Oi(t,e,n){return t??e??n}function mD(t){var e=new Date(re.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function h1(t){var e,n,r=[],s,i,a;if(!t._d){for(s=mD(t),t._w&&t._a[rr]==null&&t._a[Cr]==null&&pD(t),t._dayOfYear!=null&&(a=Oi(t._a[Lt],s[Lt]),(t._dayOfYear>qo(a)||t._dayOfYear===0)&&(_e(t)._overflowDayOfYear=!0),n=Ko(a,0,t._dayOfYear),t._a[Cr]=n.getUTCMonth(),t._a[rr]=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[kt]===24&&t._a[Vn]===0&&t._a[xr]===0&&t._a[zs]===0&&(t._nextDay=!0,t._a[kt]=0),t._d=(t._useUTC?Ko:kO).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[kt]=24),t._w&&typeof t._w.d<"u"&&t._w.d!==i&&(_e(t).weekdayMismatch=!0)}}function pD(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=Oi(e.GG,t._a[Lt],Xo(Ge(),1,4).year),r=Oi(e.W,1),s=Oi(e.E,1),(s<1||s>7)&&(c=!0)):(i=t._locale._week.dow,a=t._locale._week.doy,d=Xo(Ge(),i,a),n=Oi(e.gg,t._a[Lt],d.year),r=Oi(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>Mr(n,i,a)?_e(t)._overflowWeeks=!0:c!=null?_e(t)._overflowWeekday=!0:(l=S2(n,r,s,i,a),t._a[Lt]=l.year,t._dayOfYear=l.dayOfYear)}re.ISO_8601=function(){},re.RFC_2822=function(){};function f1(t){if(t._f===re.ISO_8601){$2(t);return}if(t._f===re.RFC_2822){P2(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=h2(t._f,t._locale).match(Qu)||[],u=s.length,n=0;n<u;n++)i=s[n],r=(e.match(nO(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),Mi[i]?(r?_e(t).empty=!1:_e(t).unusedTokens.push(i),sO(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[kt]<=12&&_e(t).bigHour===!0&&t._a[kt]>0&&(_e(t).bigHour=void 0),_e(t).parsedDateParts=t._a.slice(0),_e(t).meridiem=t._meridiem,t._a[kt]=gD(t._locale,t._a[kt],t._meridiem),d=_e(t).era,d!==null&&(t._a[Lt]=t._locale.erasConvertYear(d,t._a[Lt])),h1(t),d1(t)}function gD(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 _D(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=qu({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[s],f1(e),Zu(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));ts(t,n||e)}function yD(t){if(!t._d){var e=e1(t._i),n=e.day===void 0?e.date:e.day;t._a=a2([e.year,e.month,n,e.hour,e.minute,e.second,e.millisecond],function(r){return r&&parseInt(r,10)}),h1(t)}}function wD(t){var e=new jo(d1(L2(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function L2(t){var e=t._i,n=t._f;return t._locale=t._locale||Sr(t._l),e===null||n===void 0&&e===""?Sl({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),Ln(e)?new jo(d1(e)):(Wo(e)?t._d=e:Pn(n)?_D(t):n?f1(t):bD(t),Zu(t)||(t._d=null),t))}function bD(t){var e=t._i;jt(e)?t._d=new Date(re.now()):Wo(e)?t._d=new Date(e.valueOf()):typeof e=="string"?fD(t):Pn(e)?(t._a=a2(e.slice(0),function(n){return parseInt(n,10)}),h1(t)):Is(e)?yD(t):br(e)?t._d=new Date(e):re.createFromInputFallback(t)}function V2(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)&&Wu(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,wD(i)}function Ge(t,e,n,r){return V2(t,e,n,r,!1)}var kD=yn("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:Sl()}),CD=yn("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:Sl()});function N2(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 xD(){var t=[].slice.call(arguments,0);return N2("isBefore",t)}function MD(){var t=[].slice.call(arguments,0);return N2("isAfter",t)}var SD=function(){return Date.now?Date.now():+new Date},ea=["year","quarter","month","week","day","hour","minute","second","millisecond"];function vD(t){var e,n=!1,r,s=ea.length;for(e in t)if(Ee(t,e)&&!(gt.call(ea,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(r=0;r<s;++r)if(t[ea[r]]){if(n)return!1;parseFloat(t[ea[r]])!==ke(t[ea[r]])&&(n=!0)}return!0}function TD(){return this._isValid}function OD(){return Nn(NaN)}function Fl(t){var e=e1(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=vD(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=Sr(),this._bubble()}function Rl(t){return t instanceof Fl}function m1(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function DD(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 B2(t,e){oe(t,0,0,function(){var n=this.utcOffset(),r="+";return n<0&&(n=-n,r="-"),r+nr(~~(n/60),2)+e+nr(~~n%60,2)})}B2("Z",":"),B2("ZZ",""),ie("Z",Pl),ie("ZZ",Pl),ze(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=p1(Pl,t)});var ED=/([\+\-]|\d\d)/gi;function p1(t,e){var n=(e||"").match(t),r,s,i;return n===null?null:(r=n[n.length-1]||[],s=(r+"").match(ED)||["-",0,0],i=+(s[1]*60)+ke(s[2]),i===0?0:s[0]==="+"?i:-i)}function g1(t,e){var n,r;return e._isUTC?(n=e.clone(),r=(Ln(t)||Wo(t)?t.valueOf():Ge(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),re.updateOffset(n,!1),n):Ge(t).local()}function _1(t){return-Math.round(t._d.getTimezoneOffset())}re.updateOffset=function(){};function $D(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=p1(Pl,t),t===null)return this}else Math.abs(t)<16&&!n&&(t=t*60);return!this._isUTC&&e&&(s=_1(this)),this._offset=t,this._isUTC=!0,s!=null&&this.add(s,"m"),r!==t&&(!e||this._changeInProgress?I2(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:_1(this)}function PD(t,e){return t!=null?(typeof t!="string"&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function LD(t){return this.utcOffset(0,t)}function VD(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(_1(this),"m")),this}function ND(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=p1(eO,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function BD(t){return this.isValid()?(t=t?Ge(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function AD(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function FD(){if(!jt(this._isDSTShifted))return this._isDSTShifted;var t={},e;return qu(t,this),t=L2(t),t._a?(e=t._isUTC?er(t._a):Ge(t._a),this._isDSTShifted=this.isValid()&&DD(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function RD(){return this.isValid()?!this._isUTC:!1}function ID(){return this.isValid()?this._isUTC:!1}function A2(){return this.isValid()?this._isUTC&&this._offset===0:!1}var zD=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,HD=/^(-|\+)?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 Rl(t)?n={ms:t._milliseconds,d:t._days,M:t._months}:br(t)||!isNaN(+t)?(n={},e?n[e]=+t:n.milliseconds=+t):(r=zD.exec(t))?(s=r[1]==="-"?-1:1,n={y:0,d:ke(r[rr])*s,h:ke(r[kt])*s,m:ke(r[Vn])*s,s:ke(r[xr])*s,ms:ke(m1(r[zs]*1e3))*s}):(r=HD.exec(t))?(s=r[1]==="-"?-1:1,n={y:Hs(r[2],s),M:Hs(r[3],s),w:Hs(r[4],s),d:Hs(r[5],s),h:Hs(r[6],s),m:Hs(r[7],s),s:Hs(r[8],s)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(a=YD(Ge(n.from),Ge(n.to)),n={},n.ms=a.milliseconds,n.M=a.months),i=new Fl(n),Rl(t)&&Ee(t,"_locale")&&(i._locale=t._locale),Rl(t)&&Ee(t,"_isValid")&&(i._isValid=t._isValid),i}Nn.fn=Fl.prototype,Nn.invalid=OD;function Hs(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function F2(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 YD(t,e){var n;return t.isValid()&&e.isValid()?(e=g1(e,t),t.isBefore(e)?n=F2(t,e):(n=F2(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function R2(t,e){return function(n,r){var s,i;return r!==null&&!isNaN(+r)&&(u2(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),I2(this,s,t),this}}function I2(t,e,n,r){var s=e._milliseconds,i=m1(e._days),a=m1(e._months);t.isValid()&&(r=r??!0,a&&C2(t,Go(t,"Month")+a*n),i&&w2(t,"Date",Go(t,"Date")+i*n),s&&t._d.setTime(t._d.valueOf()+s*n),r&&re.updateOffset(t,i||a))}var WD=R2(1,"add"),jD=R2(-1,"subtract");function z2(t){return typeof t=="string"||t instanceof String}function ZD(t){return Ln(t)||Wo(t)||z2(t)||br(t)||qD(t)||UD(t)||t===null||t===void 0}function UD(t){var e=Is(t)&&!Wu(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||Ee(t,i);return e&&n}function qD(t){var e=Pn(t),n=!1;return e&&(n=t.filter(function(r){return!br(r)&&z2(t)}).length===0),e&&n}function GD(t){var e=Is(t)&&!Wu(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||Ee(t,i);return e&&n}function KD(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 XD(t,e){arguments.length===1&&(arguments[0]?ZD(arguments[0])?(t=arguments[0],e=void 0):GD(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||Ge(),r=g1(n,this).startOf("day"),s=re.calendarFormat(this,r)||"sameElse",i=e&&(tr(e[s])?e[s].call(this,n):e[s]);return this.format(i||this.localeData().calendar(s,this,Ge(n)))}function QD(){return new jo(this)}function JD(t,e){var n=Ln(t)?t:Ge(t);return this.isValid()&&n.isValid()?(e=wn(e)||"millisecond",e==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf()):!1}function eE(t,e){var n=Ln(t)?t:Ge(t);return this.isValid()&&n.isValid()?(e=wn(e)||"millisecond",e==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf()):!1}function tE(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 nE(t,e){var n=Ln(t)?t:Ge(t),r;return this.isValid()&&n.isValid()?(e=wn(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 rE(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function sE(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function iE(t,e,n){var r,s,i;if(!this.isValid())return NaN;if(r=g1(t,this),!r.isValid())return NaN;switch(s=(r.utcOffset()-this.utcOffset())*6e4,e=wn(e),e){case"year":i=Il(this,r)/12;break;case"month":i=Il(this,r);break;case"quarter":i=Il(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:bn(i)}function Il(t,e){if(t.date()<e.date())return-Il(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 oE(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function aE(t){if(!this.isValid())return null;var e=t!==!0,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?Tl(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):tr(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Tl(n,"Z")):Tl(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function lE(){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 cE(t){t||(t=this.isUtc()?re.defaultFormatUtc:re.defaultFormat);var e=Tl(this,t);return this.localeData().postformat(e)}function dE(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 uE(t){return this.from(Ge(),t)}function hE(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 fE(t){return this.to(Ge(),t)}function H2(t){var e;return t===void 0?this._locale._abbr:(e=Sr(t),e!=null&&(this._locale=e),this)}var Y2=yn("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 W2(){return this._locale}var zl=1e3,Di=60*zl,Hl=60*Di,j2=(365*400+97)*24*Hl;function Ei(t,e){return(t%e+e)%e}function Z2(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-j2:new Date(t,e,n).valueOf()}function U2(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-j2:Date.UTC(t,e,n)}function mE(t){var e,n;if(t=wn(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?U2:Z2,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-=Ei(e+(this._isUTC?0:this.utcOffset()*Di),Hl);break;case"minute":e=this._d.valueOf(),e-=Ei(e,Di);break;case"second":e=this._d.valueOf(),e-=Ei(e,zl);break}return this._d.setTime(e),re.updateOffset(this,!0),this}function pE(t){var e,n;if(t=wn(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?U2:Z2,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+=Hl-Ei(e+(this._isUTC?0:this.utcOffset()*Di),Hl)-1;break;case"minute":e=this._d.valueOf(),e+=Di-Ei(e,Di)-1;break;case"second":e=this._d.valueOf(),e+=zl-Ei(e,zl)-1;break}return this._d.setTime(e),re.updateOffset(this,!0),this}function gE(){return this._d.valueOf()-(this._offset||0)*6e4}function _E(){return Math.floor(this.valueOf()/1e3)}function yE(){return new Date(this.valueOf())}function wE(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function bE(){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 kE(){return this.isValid()?this.toISOString():null}function CE(){return Zu(this)}function xE(){return ts({},_e(this))}function ME(){return _e(this).overflow}function SE(){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",y1),ie("NN",y1),ie("NNN",y1),ie("NNNN",BE),ie("NNNNN",AE),ze(["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",Si),ie("yy",Si),ie("yyy",Si),ie("yyyy",Si),ie("yo",FE),ze(["y","yy","yyy","yyyy"],Lt),ze(["yo"],function(t,e,n,r){var s;n._locale._eraYearOrdinalRegex&&(s=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[Lt]=n._locale.eraYearOrdinalParse(t,s):e[Lt]=parseInt(t,10)});function vE(t,e){var n,r,s,i=this._eras||Sr("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 TE(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 OE(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 DE(){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 EE(){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 $E(){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 PE(){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 LE(t){return Ee(this,"_erasNameRegex")||w1.call(this),t?this._erasNameRegex:this._erasRegex}function VE(t){return Ee(this,"_erasAbbrRegex")||w1.call(this),t?this._erasAbbrRegex:this._erasRegex}function NE(t){return Ee(this,"_erasNarrowRegex")||w1.call(this),t?this._erasNarrowRegex:this._erasRegex}function y1(t,e){return e.erasAbbrRegex(t)}function BE(t,e){return e.erasNameRegex(t)}function AE(t,e){return e.erasNarrowRegex(t)}function FE(t,e){return e._eraYearOrdinalRegex||Si}function w1(){var t=[],e=[],n=[],r=[],s,i,a,l,c,d=this.eras();for(s=0,i=d.length;s<i;++s)a=kr(d[s].name),l=kr(d[s].abbr),c=kr(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 Yl(t,e){oe(0,[t,t.length],0,e)}Yl("gggg","weekYear"),Yl("ggggg","weekYear"),Yl("GGGG","isoWeekYear"),Yl("GGGGG","isoWeekYear"),ie("G",$l),ie("g",$l),ie("GG",qe,on),ie("gg",qe,on),ie("GGGG",n1,t1),ie("gggg",n1,t1),ie("GGGGG",El,Ol),ie("ggggg",El,Ol),Uo(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=ke(t)}),Uo(["gg","GG"],function(t,e,n,r){e[r]=re.parseTwoDigitYear(t)});function RE(t){return q2.call(this,t,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function IE(t){return q2.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function zE(){return Mr(this.year(),1,4)}function HE(){return Mr(this.isoWeekYear(),1,4)}function YE(){var t=this.localeData()._week;return Mr(this.year(),t.dow,t.doy)}function WE(){var t=this.localeData()._week;return Mr(this.weekYear(),t.dow,t.doy)}function q2(t,e,n,r,s){var i;return t==null?Xo(this,r,s).year:(i=Mr(t,r,s),e>i&&(e=i),jE.call(this,t,e,n,r,s))}function jE(t,e,n,r,s){var i=S2(t,e,n,r,s),a=Ko(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",m2),ze("Q",function(t,e){e[Cr]=(ke(t)-1)*3});function ZE(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,vi),ie("DD",qe,on),ie("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),ze(["D","DD"],rr),ze("Do",function(t,e){e[rr]=ke(t.match(qe)[0])});var G2=Ti("Date",!0);oe("DDD",["DDDD",3],"DDDo","dayOfYear"),ie("DDD",Dl),ie("DDDD",p2),ze(["DDD","DDDD"],function(t,e,n){n._dayOfYear=ke(t)});function UE(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,r1),ie("mm",qe,on),ze(["m","mm"],Vn);var qE=Ti("Minutes",!1);oe("s",["ss",2],0,"second"),ie("s",qe,r1),ie("ss",qe,on),ze(["s","ss"],xr);var GE=Ti("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",Dl,m2),ie("SS",Dl,on),ie("SSS",Dl,p2);var rs,K2;for(rs="SSSS";rs.length<=9;rs+="S")ie(rs,Si);function KE(t,e){e[zs]=ke(("0."+t)*1e3)}for(rs="S";rs.length<=9;rs+="S")ze(rs,KE);K2=Ti("Milliseconds",!1),oe("z",0,0,"zoneAbbr"),oe("zz",0,0,"zoneName");function XE(){return this._isUTC?"UTC":""}function QE(){return this._isUTC?"Coordinated Universal Time":""}var Q=jo.prototype;Q.add=WD,Q.calendar=XD,Q.clone=QD,Q.diff=iE,Q.endOf=pE,Q.format=cE,Q.from=dE,Q.fromNow=uE,Q.to=hE,Q.toNow=fE,Q.get=lO,Q.invalidAt=ME,Q.isAfter=JD,Q.isBefore=eE,Q.isBetween=tE,Q.isSame=nE,Q.isSameOrAfter=rE,Q.isSameOrBefore=sE,Q.isValid=CE,Q.lang=Y2,Q.locale=H2,Q.localeData=W2,Q.max=CD,Q.min=kD,Q.parsingFlags=xE,Q.set=cO,Q.startOf=mE,Q.subtract=jD,Q.toArray=wE,Q.toObject=bE,Q.toDate=yE,Q.toISOString=aE,Q.inspect=lE,typeof Symbol<"u"&&Symbol.for!=null&&(Q[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Q.toJSON=kE,Q.toString=oE,Q.unix=_E,Q.valueOf=gE,Q.creationData=SE,Q.eraName=DE,Q.eraNarrow=EE,Q.eraAbbr=$E,Q.eraYear=PE,Q.year=y2,Q.isLeapYear=aO,Q.weekYear=RE,Q.isoWeekYear=IE,Q.quarter=Q.quarters=ZE,Q.month=x2,Q.daysInMonth=yO,Q.week=Q.weeks=vO,Q.isoWeek=Q.isoWeeks=TO,Q.weeksInYear=YE,Q.weeksInWeekYear=WE,Q.isoWeeksInYear=zE,Q.isoWeeksInISOWeekYear=HE,Q.date=G2,Q.day=Q.days=IO,Q.weekday=zO,Q.isoWeekday=HO,Q.dayOfYear=UE,Q.hour=Q.hours=GO,Q.minute=Q.minutes=qE,Q.second=Q.seconds=GE,Q.millisecond=Q.milliseconds=K2,Q.utcOffset=$D,Q.utc=LD,Q.local=VD,Q.parseZone=ND,Q.hasAlignedHourOffset=BD,Q.isDST=AD,Q.isLocal=RD,Q.isUtcOffset=ID,Q.isUtc=A2,Q.isUTC=A2,Q.zoneAbbr=XE,Q.zoneName=QE,Q.dates=yn("dates accessor is deprecated. Use date instead.",G2),Q.months=yn("months accessor is deprecated. Use month instead",x2),Q.years=yn("years accessor is deprecated. Use year instead",y2),Q.zone=yn("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",PD),Q.isDSTShifted=yn("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",FD);function JE(t){return Ge(t*1e3)}function e$(){return Ge.apply(null,arguments).parseZone()}function X2(t){return t}var $e=Ku.prototype;$e.calendar=RT,$e.longDateFormat=YT,$e.invalidDate=jT,$e.ordinal=qT,$e.preparse=X2,$e.postformat=X2,$e.relativeTime=KT,$e.pastFuture=XT,$e.set=AT,$e.eras=vE,$e.erasParse=TE,$e.erasConvertYear=OE,$e.erasAbbrRegex=VE,$e.erasNameRegex=LE,$e.erasNarrowRegex=NE,$e.months=mO,$e.monthsShort=pO,$e.monthsParse=_O,$e.monthsRegex=bO,$e.monthsShortRegex=wO,$e.week=CO,$e.firstDayOfYear=SO,$e.firstDayOfWeek=MO,$e.weekdays=NO,$e.weekdaysMin=AO,$e.weekdaysShort=BO,$e.weekdaysParse=RO,$e.weekdaysRegex=YO,$e.weekdaysShortRegex=WO,$e.weekdaysMinRegex=jO,$e.isPM=UO,$e.meridiem=KO;function Wl(t,e,n,r){var s=Sr(),i=er().set(r,e);return s[n](i,t)}function Q2(t,e,n){if(br(t)&&(e=t,t=void 0),t=t||"",e!=null)return Wl(t,e,n,"month");var r,s=[];for(r=0;r<12;r++)s[r]=Wl(t,r,n,"month");return s}function b1(t,e,n,r){typeof t=="boolean"?(br(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,br(e)&&(n=e,e=void 0),e=e||"");var s=Sr(),i=t?s._week.dow:0,a,l=[];if(n!=null)return Wl(e,(n+i)%7,r,"day");for(a=0;a<7;a++)l[a]=Wl(e,(a+i)%7,r,"day");return l}function t$(t,e){return Q2(t,e,"months")}function n$(t,e){return Q2(t,e,"monthsShort")}function r$(t,e,n){return b1(t,e,n,"weekdays")}function s$(t,e,n){return b1(t,e,n,"weekdaysShort")}function i$(t,e,n){return b1(t,e,n,"weekdaysMin")}ns("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=yn("moment.lang is deprecated. Use moment.locale instead.",ns),re.langData=yn("moment.langData is deprecated. Use moment.localeData instead.",Sr);var vr=Math.abs;function o$(){var t=this._data;return this._milliseconds=vr(this._milliseconds),this._days=vr(this._days),this._months=vr(this._months),t.milliseconds=vr(t.milliseconds),t.seconds=vr(t.seconds),t.minutes=vr(t.minutes),t.hours=vr(t.hours),t.months=vr(t.months),t.years=vr(t.years),this}function J2(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 a$(t,e){return J2(this,t,e,1)}function l$(t,e){return J2(this,t,e,-1)}function e3(t){return t<0?Math.floor(t):Math.ceil(t)}function c$(){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+=e3(k1(n)+e)*864e5,e=0,n=0),r.milliseconds=t%1e3,s=bn(t/1e3),r.seconds=s%60,i=bn(s/60),r.minutes=i%60,a=bn(i/60),r.hours=a%24,e+=bn(a/24),c=bn(t3(e)),n+=c,e-=e3(k1(c)),l=bn(n/12),n%=12,r.days=e,r.months=n,r.years=l,this}function t3(t){return t*4800/146097}function k1(t){return t*146097/4800}function d$(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if(t=wn(t),t==="month"||t==="quarter"||t==="year")switch(e=this._days+r/864e5,n=this._months+t3(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(k1(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 Tr(t){return function(){return this.as(t)}}var n3=Tr("ms"),u$=Tr("s"),h$=Tr("m"),f$=Tr("h"),m$=Tr("d"),p$=Tr("w"),g$=Tr("M"),_$=Tr("Q"),y$=Tr("y"),w$=n3;function b$(){return Nn(this)}function k$(t){return t=wn(t),this.isValid()?this[t+"s"]():NaN}function Ys(t){return function(){return this.isValid()?this._data[t]:NaN}}var C$=Ys("milliseconds"),x$=Ys("seconds"),M$=Ys("minutes"),S$=Ys("hours"),v$=Ys("days"),T$=Ys("months"),O$=Ys("years");function D$(){return bn(this.days()/7)}var Or=Math.round,$i={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function E$(t,e,n,r,s){return s.relativeTime(e||1,!!n,t,r)}function $$(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,E$.apply(null,f)}function P$(t){return t===void 0?Or:typeof t=="function"?(Or=t,!0):!1}function L$(t,e){return $i[t]===void 0?!1:e===void 0?$i[t]:($i[t]=e,t==="s"&&($i.ss=e-1),!0)}function V$(t,e){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=$i,s,i;return typeof t=="object"&&(e=t,t=!1),typeof t=="boolean"&&(n=t),typeof e=="object"&&(r=Object.assign({},$i,e),e.s!=null&&e.ss==null&&(r.ss=e.s-1)),s=this.localeData(),i=$$(this,!n,r,s),n&&(i=s.pastFuture(+this,i)),s.postformat(i)}var C1=Math.abs;function Pi(t){return(t>0)-(t<0)||+t}function jl(){if(!this.isValid())return this.localeData().invalidDate();var t=C1(this._milliseconds)/1e3,e=C1(this._days),n=C1(this._months),r,s,i,a,l=this.asSeconds(),c,d,u,h;return l?(r=bn(t/60),s=bn(r/60),t%=60,r%=60,i=bn(n/12),n%=12,a=t?t.toFixed(3).replace(/\.?0+$/,""):"",c=l<0?"-":"",d=Pi(this._months)!==Pi(l)?"-":"",u=Pi(this._days)!==Pi(l)?"-":"",h=Pi(this._milliseconds)!==Pi(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 ve=Fl.prototype;ve.isValid=TD,ve.abs=o$,ve.add=a$,ve.subtract=l$,ve.as=d$,ve.asMilliseconds=n3,ve.asSeconds=u$,ve.asMinutes=h$,ve.asHours=f$,ve.asDays=m$,ve.asWeeks=p$,ve.asMonths=g$,ve.asQuarters=_$,ve.asYears=y$,ve.valueOf=w$,ve._bubble=c$,ve.clone=b$,ve.get=k$,ve.milliseconds=C$,ve.seconds=x$,ve.minutes=M$,ve.hours=S$,ve.days=v$,ve.weeks=D$,ve.months=T$,ve.years=O$,ve.humanize=V$,ve.toISOString=jl,ve.toString=jl,ve.toJSON=jl,ve.locale=H2,ve.localeData=W2,ve.toIsoString=yn("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",jl),ve.lang=Y2,oe("X",0,0,"unix"),oe("x",0,0,"valueOf"),ie("x",$l),ie("X",tO),ze("X",function(t,e,n){n._d=new Date(parseFloat(t)*1e3)}),ze("x",function(t,e,n){n._d=new Date(ke(t))});//! moment.js
|
|
45
|
-
re.version="2.30.1",NT(Ge),re.fn=Q,re.min=xD,re.max=MD,re.now=SD,re.utc=er,re.unix=JE,re.months=t$,re.isDate=Wo,re.locale=ns,re.invalid=Sl,re.duration=Nn,re.isMoment=Ln,re.weekdays=r$,re.parseZone=e$,re.localeData=Sr,re.isDuration=Rl,re.monthsShort=n$,re.weekdaysMin=i$,re.defineLocale=c1,re.updateLocale=eD,re.locales=tD,re.weekdaysShort=s$,re.normalizeUnits=wn,re.relativeTimeRounding=P$,re.relativeTimeThreshold=L$,re.calendarFormat=KD,re.prototype=Q,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 N$={class:"calendar-dropdown"},B$={class:"calendar-dropdown__outer__left"},A$={class:"calendar-dropdown__outer__current"},F$={key:0,class:"calendar-dropdown__inner"},R$={class:"calendar-dropdown__year-switcher"},I$={class:"calendar-dropdown__year-switcher__year"},z$={class:"calendar-dropdown__months"},H$={class:"calendar-dropdown__month-container"},Y$=["onClick"],r3=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",N$,[o.createElementVNode("div",{class:o.normalizeClass(["calendar-dropdown__outer",{"-active":l.value}]),onClick:o.withModifiers(c,["prevent","stop"])},[o.createElementVNode("div",B$,[o.createVNode(o.unref(Le),{icon:"calendar"}),o.createElementVNode("span",A$,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",F$,[o.createElementVNode("div",R$,[o.createVNode(o.unref(ga),{size:"lg",view:"secondary",icon:"chevron-left",onClick:m[0]||(m[0]=g=>s.value--)}),o.createElementVNode("div",I$,o.toDisplayString(s.value),1),o.createVNode(o.unref(ga),{size:"lg",view:"secondary",icon:"chevron-right",onClick:m[1]||(m[1]=g=>s.value++)})]),o.createElementVNode("div",z$,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(a),(g,p)=>(o.openBlock(),o.createElementBlock("div",H$,[o.createElementVNode("div",{class:o.normalizeClass(["calendar-dropdown__month",{"-active":d(p),"-past":u(p)}]),onClick:_=>h(p)},o.toDisplayString(g),11,Y$)]))),256))])])),[[o.unref(s2),c,void 0,{bubble:!0}]]):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-4a9eb9ec"]]),W$={class:"period-dropdown"},j$={class:"period-dropdown__outer__left"},Z$={class:"period-dropdown__outer__current"},U$={key:0,class:"period-dropdown__inner"},q$=["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",W$,[o.createElementVNode("div",{class:o.normalizeClass(["period-dropdown__outer",{"-active":i.value}]),onClick:o.withModifiers(a,["prevent","stop"])},[o.createElementVNode("div",j$,[o.createVNode(o.unref(Le),{icon:"clock"}),o.createElementVNode("span",Z$,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",U$,[(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,q$)),64))])),[[o.unref(s2),a,void 0,{bubble:!0}]]):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-9fb265ca"]]),G$={class:"progress-line-container"},K$={class:"progress-line"},X$={class:"progress-line__part"},Q$={class:"progress-digits"},J$={class:"progress-digits__value"},eP={class:"progress-digits__value"},tP={class:"progress-digits__value"},s3=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?Ot(e.currentProfit/e.profit*100):e.currentProfit<0?Ot(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",G$,[o.createElementVNode("div",{class:"progress-badge",style:o.normalizeStyle({left:i.value})},o.toDisplayString(o.unref(Pe)(t.isHidden,`${n.value}% finished`,{repeat:6})),5),o.createElementVNode("div",K$,[(o.openBlock(),o.createElementBlock(o.Fragment,null,o.renderList(9,c=>o.createElementVNode("div",X$,[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",Q$,[o.createElementVNode("div",J$,o.toDisplayString(o.unref(Pe)(t.isHidden,`-${o.unref(cn)(t.drawdown,{isPercentage:t.isPercentage,isFixed:!0})}`,{repeat:6})),1),o.createElementVNode("div",eP,o.toDisplayString(o.unref(Pe)(t.isHidden,o.unref(cn)(0,{isPercentage:t.isPercentage,isFixed:!0}),{repeat:3})),1),o.createElementVNode("div",tP,o.toDisplayString(o.unref(Pe)(t.isHidden,`+${o.unref(cn)(t.profit,{isPercentage:t.isPercentage,isFixed:!0})}`,{repeat:6})),1)])]))}},[["__scopeId","data-v-e13b9e44"]]),nP={class:"widget-chips__text"},Zl=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",nP,o.toDisplayString(o.unref(Pe)(t.isHidden,Math.abs(e.delta)+(e.percentage?"%":""))),1)],2))}},[["__scopeId","data-v-394e7016"]]);/*! js-cookie v3.0.5 | MIT */function Ul(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 rP={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 x1(t,e){function n(s,i,a){if(!(typeof document>"u")){a=Ul({},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,"",Ul({},i,{expires:-1}))},withAttributes:function(s){return x1(this.converter,Ul({},this.attributes,s))},withConverter:function(s){return x1(Ul({},this.converter,s),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var Li=x1(rP,{path:"/"});class an{static setItem(e,n,r=Date.now()+31449600){Li.set(e,n,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io",expires:new Date(r*1e3),secure:!0,sameSite:"strict"})}static getItem(e){return Li.get(e)}static removeItem(e){Li.remove(e,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io"})}static clear(){const e=Object.keys(Li.get());for(const n of e)Li.remove(n,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io"})}static getAll(){return Li.get()}}function i3(t,e){return function(){return t.apply(e,arguments)}}const{toString:sP}=Object.prototype,{getPrototypeOf:M1}=Object,ql=(t=>e=>{const n=sP.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),sr=t=>(t=t.toLowerCase(),e=>ql(e)===t),Gl=t=>e=>typeof e===t,{isArray:Vi}=Array,ta=Gl("undefined");function iP(t){return t!==null&&!ta(t)&&t.constructor!==null&&!ta(t.constructor)&&kn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const o3=sr("ArrayBuffer");function oP(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&o3(t.buffer),e}const aP=Gl("string"),kn=Gl("function"),a3=Gl("number"),Kl=t=>t!==null&&typeof t=="object",lP=t=>t===!0||t===!1,Xl=t=>{if(ql(t)!=="object")return!1;const e=M1(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},cP=sr("Date"),dP=sr("File"),uP=sr("Blob"),hP=sr("FileList"),fP=t=>Kl(t)&&kn(t.pipe),mP=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||kn(t.append)&&((e=ql(t))==="formdata"||e==="object"&&kn(t.toString)&&t.toString()==="[object FormData]"))},pP=sr("URLSearchParams"),gP=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function na(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,s;if(typeof t!="object"&&(t=[t]),Vi(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 l3(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 c3=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,d3=t=>!ta(t)&&t!==c3;function S1(){const{caseless:t}=d3(this)&&this||{},e={},n=(r,s)=>{const i=t&&l3(e,s)||s;Xl(e[i])&&Xl(r)?e[i]=S1(e[i],r):Xl(r)?e[i]=S1({},r):Vi(r)?e[i]=r.slice():e[i]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&na(arguments[r],n);return e}const _P=(t,e,n,{allOwnKeys:r}={})=>(na(e,(s,i)=>{n&&kn(s)?t[i]=i3(s,n):t[i]=s},{allOwnKeys:r}),t),yP=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),wP=(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)},bP=(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&&M1(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},kP=(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},CP=t=>{if(!t)return null;if(Vi(t))return t;let e=t.length;if(!a3(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},xP=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&M1(Uint8Array)),MP=(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])}},SP=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},vP=sr("HTMLFormElement"),TP=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),u3=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),OP=sr("RegExp"),h3=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};na(n,(s,i)=>{let a;(a=e(s,i,t))!==!1&&(r[i]=a||s)}),Object.defineProperties(t,r)},DP=t=>{h3(t,(e,n)=>{if(kn(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(kn(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+"'")})}})},EP=(t,e)=>{const n={},r=s=>{s.forEach(i=>{n[i]=!0})};return Vi(t)?r(t):r(String(t).split(e)),n},$P=()=>{},PP=(t,e)=>(t=+t,Number.isFinite(t)?t:e),v1="abcdefghijklmnopqrstuvwxyz",f3="0123456789",m3={DIGIT:f3,ALPHA:v1,ALPHA_DIGIT:v1+v1.toUpperCase()+f3},LP=(t=16,e=m3.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n};function VP(t){return!!(t&&kn(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const NP=t=>{const e=new Array(10),n=(r,s)=>{if(Kl(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[s]=r;const i=Vi(r)?[]:{};return na(r,(a,l)=>{const c=n(a,s+1);!ta(c)&&(i[l]=c)}),e[s]=void 0,i}}return r};return n(t,0)},BP=sr("AsyncFunction"),Y={isArray:Vi,isArrayBuffer:o3,isBuffer:iP,isFormData:mP,isArrayBufferView:oP,isString:aP,isNumber:a3,isBoolean:lP,isObject:Kl,isPlainObject:Xl,isUndefined:ta,isDate:cP,isFile:dP,isBlob:uP,isRegExp:OP,isFunction:kn,isStream:fP,isURLSearchParams:pP,isTypedArray:xP,isFileList:hP,forEach:na,merge:S1,extend:_P,trim:gP,stripBOM:yP,inherits:wP,toFlatObject:bP,kindOf:ql,kindOfTest:sr,endsWith:kP,toArray:CP,forEachEntry:MP,matchAll:SP,isHTMLForm:vP,hasOwnProperty:u3,hasOwnProp:u3,reduceDescriptors:h3,freezeMethods:DP,toObjectSet:EP,toCamelCase:TP,noop:$P,toFiniteNumber:PP,findKey:l3,global:c3,isContextDefined:d3,ALPHABET:m3,generateString:LP,isSpecCompliantForm:VP,toJSONObject:NP,isAsyncFn:BP,isThenable:t=>t&&(Kl(t)||kn(t))&&kn(t.then)&&kn(t.catch)};function Te(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(Te,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 p3=Te.prototype,g3={};["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=>{g3[t]={value:t}}),Object.defineProperties(Te,g3),Object.defineProperty(p3,"isAxiosError",{value:!0}),Te.from=(t,e,n,r,s,i)=>{const a=Object.create(p3);return Y.toFlatObject(t,a,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),Te.call(a,t.message,e,n,r,s),a.cause=t,a.name=t.name,i&&Object.assign(a,i),a};const AP=null;function T1(t){return Y.isPlainObject(t)||Y.isArray(t)}function _3(t){return Y.endsWith(t,"[]")?t.slice(0,-2):t}function y3(t,e,n){return t?t.concat(e).map(function(s,i){return s=_3(s),!n&&i?"["+s+"]":s}).join(n?".":""):e}function FP(t){return Y.isArray(t)&&!t.some(T1)}const RP=Y.toFlatObject(Y,{},null,function(e){return/^is[A-Z]/.test(e)});function Ql(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 Te("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)&&FP(g)||(Y.isFileList(g)||Y.endsWith(p,"[]"))&&(y=Y.toArray(g)))return p=_3(p),y.forEach(function(k,v){!(Y.isUndefined(k)||k===null)&&e.append(a===!0?y3([p],v,i):a===null?p:p+"[]",d(k))}),!1}return T1(g)?!0:(e.append(y3(_,p,i),d(g)),!1)}const h=[],f=Object.assign(RP,{defaultVisitor:u,convertValue:d,isVisitable:T1});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 w3(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function O1(t,e){this._pairs=[],t&&Ql(t,this,e)}const b3=O1.prototype;b3.append=function(e,n){this._pairs.push([e,n])},b3.toString=function(e){const n=e?function(r){return e.call(this,r,w3)}:w3;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function IP(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function k3(t,e,n){if(!e)return t;const r=n&&n.encode||IP,s=n&&n.serialize;let i;if(s?i=s(e,n):i=Y.isURLSearchParams(e)?e.toString():new O1(e,n).toString(r),i){const a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}class C3{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 x3={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},zP={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:O1,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},M3=typeof window<"u"&&typeof document<"u",HP=(t=>M3&&["ReactNative","NativeScript","NS"].indexOf(t)<0)(typeof navigator<"u"&&navigator.product),YP=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",ir={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:M3,hasStandardBrowserEnv:HP,hasStandardBrowserWebWorkerEnv:YP},Symbol.toStringTag,{value:"Module"})),...zP};function WP(t,e){return Ql(t,new ir.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,i){return ir.isNode&&Y.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}function jP(t){return Y.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function ZP(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 S3(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]=ZP(s[a])),!l)}if(Y.isFormData(t)&&Y.isFunction(t.entries)){const n={};return Y.forEachEntry(t,(r,s)=>{e(jP(r),s,n,0)}),n}return null}function UP(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 D1={transitional:x3,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(S3(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 WP(e,this.formSerializer).toString();if((l=Y.isFileList(e))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Ql(l?{"files[]":e}:e,c&&new c,this.formSerializer)}}return i||s?(n.setContentType("application/json",!1),UP(e)):e}],transformResponse:[function(e){const n=this.transitional||D1.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"?Te.from(l,Te.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:ir.classes.FormData,Blob:ir.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=>{D1.headers[t]={}});const E1=D1,qP=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"]),GP=t=>{const e={};let n,r,s;return t&&t.split(`
|
|
44
|
+
`+new Error().stack),n=!1}return e.apply(this,arguments)},e)}var d2={};function u2(t,e){re.deprecationHandler!=null&&re.deprecationHandler(t,e),d2[t]||(c2(e),d2[t]=!0)}re.suppressDeprecationWarnings=!1,re.deprecationHandler=null;function tr(t){return typeof Function<"u"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function AT(t){var e,n;for(n in t)$e(t,n)&&(e=t[n],tr(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 Gu(t,e){var n=ts({},t),r;for(r in e)$e(e,r)&&(Is(t[r])&&Is(e[r])?(n[r]={},ts(n[r],t[r]),ts(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]=ts({},n[r]));return n}function Ku(t){t!=null&&this.set(t)}var Xu;Object.keys?Xu=Object.keys:Xu=function(t){var e,n=[];for(e in t)$e(t,e)&&n.push(e);return n};var FT={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function RT(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return tr(r)?r.call(e,n):r}function nr(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 Qu=/(\[[^\[]*\])|(\\)?([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,vl=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ju={},Mi={};function oe(t,e,n,r){var s=r;typeof r=="string"&&(s=function(){return this[r]()}),t&&(Mi[t]=s),e&&(Mi[e[0]]=function(){return nr(s.apply(this,arguments),e[1],e[2])}),n&&(Mi[n]=function(){return this.localeData().ordinal(s.apply(this,arguments),t)})}function IT(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function HT(t){var e=t.match(Qu),n,r;for(n=0,r=e.length;n<r;n++)Mi[e[n]]?e[n]=Mi[e[n]]:e[n]=IT(e[n]);return function(s){var i="",a;for(a=0;a<r;a++)i+=tr(e[a])?e[a].call(s,t):e[a];return i}}function Tl(t,e){return t.isValid()?(e=h2(e,t.localeData()),Ju[e]=Ju[e]||HT(e),Ju[e](t)):t.localeData().invalidDate()}function h2(t,e){var n=5;function r(s){return e.longDateFormat(s)||s}for(vl.lastIndex=0;n>=0&&vl.test(t);)t=t.replace(vl,r),vl.lastIndex=0,n-=1;return t}var zT={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 YT(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(Qu).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[t])}var WT="Invalid date";function jT(){return this._invalidDate}var ZT="%d",UT=/\d{1,2}/;function qT(t){return this._ordinal.replace("%d",t)}var GT={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 KT(t,e,n,r){var s=this._relativeTime[n];return tr(s)?s(t,e,n,r):s.replace(/%d/i,t)}function XT(t,e){var n=this._relativeTime[t>0?"future":"past"];return tr(n)?n(e):n.replace(/%s/i,e)}var f2={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 wn(t){return typeof t=="string"?f2[t]||f2[t.toLowerCase()]:void 0}function e1(t){var e={},n,r;for(r in t)$e(t,r)&&(n=wn(r),n&&(e[n]=t[r]));return e}var QT={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 JT(t){var e=[],n;for(n in t)$e(t,n)&&e.push({unit:n,priority:QT[n]});return e.sort(function(r,s){return r.priority-s.priority}),e}var m2=/\d/,on=/\d\d/,p2=/\d{3}/,t1=/\d{4}/,Ol=/[+-]?\d{6}/,qe=/\d\d?/,g2=/\d\d\d\d?/,_2=/\d\d\d\d\d\d?/,Dl=/\d{1,3}/,n1=/\d{1,4}/,El=/[+-]?\d{1,6}/,Si=/\d+/,$l=/[+-]?\d+/,eO=/Z|[+-]\d\d:?\d\d/gi,Pl=/Z|[+-]\d\d(?::?\d\d)?/gi,tO=/[+-]?\d+(\.\d{1,3})?/,Zo=/[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,vi=/^[1-9]\d?/,r1=/^([1-9]\d|\d)/,Ll;Ll={};function ie(t,e,n){Ll[t]=tr(e)?e:function(r,s){return r&&n?n:e}}function nO(t,e){return $e(Ll,t)?Ll[t](e._strict,e._locale):new RegExp(rO(t))}function rO(t){return kr(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,n,r,s,i){return n||r||s||i}))}function kr(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function bn(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=bn(e)),n}var s1={};function He(t,e){var n,r=e,s;for(typeof t=="string"&&(t=[t]),br(e)&&(r=function(i,a){a[e]=ke(i)}),s=t.length,n=0;n<s;n++)s1[t[n]]=r}function Uo(t,e){He(t,function(n,r,s,i){s._w=s._w||{},e(n,s._w,s,i)})}function sO(t,e,n){e!=null&&$e(s1,t)&&s1[t](e,n._a,n,t)}function Vl(t){return t%4===0&&t%100!==0||t%400===0}var Lt=0,Cr=1,rr=2,kt=3,Vn=4,xr=5,Hs=6,iO=7,oO=8;oe("Y",0,0,function(){var t=this.year();return t<=9999?nr(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",$l),ie("YY",qe,on),ie("YYYY",n1,t1),ie("YYYYY",El,Ol),ie("YYYYYY",El,Ol),He(["YYYYY","YYYYYY"],Lt),He("YYYY",function(t,e){e[Lt]=t.length===2?re.parseTwoDigitYear(t):ke(t)}),He("YY",function(t,e){e[Lt]=re.parseTwoDigitYear(t)}),He("Y",function(t,e){e[Lt]=parseInt(t,10)});function qo(t){return Vl(t)?366:365}re.parseTwoDigitYear=function(t){return ke(t)+(ke(t)>68?1900:2e3)};var y2=Ti("FullYear",!0);function aO(){return Vl(this.year())}function Ti(t,e){return function(n){return n!=null?(w2(this,t,n),re.updateOffset(this,e),this):Go(this,t)}}function Go(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 w2(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&&!Vl(i)?28:l,s?r.setUTCFullYear(i,a,l):r.setFullYear(i,a,l)}}function lO(t){return t=wn(t),tr(this[t])?this[t]():this}function cO(t,e){if(typeof t=="object"){t=e1(t);var n=JT(t),r,s=n.length;for(r=0;r<s;r++)this[n[r].unit](t[n[r].unit])}else if(t=wn(t),tr(this[t]))return this[t](e);return this}function dO(t,e){return(t%e+e)%e}var gt;Array.prototype.indexOf?gt=Array.prototype.indexOf:gt=function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};function i1(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=dO(e,12);return t+=(e-n)/12,n===1?Vl(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,vi),ie("MM",qe,on),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[Cr]=ke(t)-1}),He(["MMM","MMMM"],function(t,e,n,r){var s=n._locale.monthsParse(t,r,n._strict);s!=null?e[Cr]=s:_e(n).invalidMonth=t});var uO="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),b2="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),k2=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,hO=Zo,fO=Zo;function mO(t,e){return t?Pn(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||k2).test(e)?"format":"standalone"][t.month()]:Pn(this._months)?this._months:this._months.standalone}function pO(t,e){return t?Pn(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[k2.test(e)?"format":"standalone"][t.month()]:Pn(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function gO(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=er([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?e==="MMM"?(s=gt.call(this._shortMonthsParse,a),s!==-1?s:null):(s=gt.call(this._longMonthsParse,a),s!==-1?s:null):e==="MMM"?(s=gt.call(this._shortMonthsParse,a),s!==-1?s:(s=gt.call(this._longMonthsParse,a),s!==-1?s:null)):(s=gt.call(this._longMonthsParse,a),s!==-1?s:(s=gt.call(this._shortMonthsParse,a),s!==-1?s:null))}function _O(t,e,n){var r,s,i;if(this._monthsParseExact)return gO.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(s=er([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 C2(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),!br(e))return t}var n=e,r=t.date();return r=r<29?r:Math.min(r,i1(t.year(),n)),t._isUTC?t._d.setUTCMonth(n,r):t._d.setMonth(n,r),t}function x2(t){return t!=null?(C2(this,t),re.updateOffset(this,!0),this):Go(this,"Month")}function yO(){return i1(this.year(),this.month())}function wO(t){return this._monthsParseExact?($e(this,"_monthsRegex")||M2.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):($e(this,"_monthsShortRegex")||(this._monthsShortRegex=hO),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function bO(t){return this._monthsParseExact?($e(this,"_monthsRegex")||M2.call(this),t?this._monthsStrictRegex:this._monthsRegex):($e(this,"_monthsRegex")||(this._monthsRegex=fO),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function M2(){function t(c,d){return d.length-c.length}var e=[],n=[],r=[],s,i,a,l;for(s=0;s<12;s++)i=er([2e3,s]),a=kr(this.monthsShort(i,"")),l=kr(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 kO(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 Ko(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 Nl(t,e,n){var r=7+e-n,s=(7+Ko(t,0,r).getUTCDay()-e)%7;return-s+r-1}function S2(t,e,n,r,s){var i=(7+n-r)%7,a=Nl(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 Xo(t,e,n){var r=Nl(t.year(),e,n),s=Math.floor((t.dayOfYear()-r-1)/7)+1,i,a;return s<1?(a=t.year()-1,i=s+Mr(a,e,n)):s>Mr(t.year(),e,n)?(i=s-Mr(t.year(),e,n),a=t.year()+1):(a=t.year(),i=s),{week:i,year:a}}function Mr(t,e,n){var r=Nl(t,e,n),s=Nl(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,vi),ie("ww",qe,on),ie("W",qe,vi),ie("WW",qe,on),Uo(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=ke(t)});function CO(t){return Xo(t,this._week.dow,this._week.doy).week}var xO={dow:0,doy:6};function MO(){return this._week.dow}function SO(){return this._week.doy}function vO(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function TO(t){var e=Xo(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)}),Uo(["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}),Uo(["d","e","E"],function(t,e,n,r){e[r]=ke(t)});function OO(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function DO(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function o1(t,e){return t.slice(e,7).concat(t.slice(0,e))}var EO="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),v2="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),$O="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),PO=Zo,LO=Zo,VO=Zo;function NO(t,e){var n=Pn(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?o1(n,this._week.dow):t?n[t.day()]:n}function BO(t){return t===!0?o1(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function AO(t){return t===!0?o1(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function FO(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=er([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=gt.call(this._weekdaysParse,a),s!==-1?s:null):e==="ddd"?(s=gt.call(this._shortWeekdaysParse,a),s!==-1?s:null):(s=gt.call(this._minWeekdaysParse,a),s!==-1?s:null):e==="dddd"?(s=gt.call(this._weekdaysParse,a),s!==-1||(s=gt.call(this._shortWeekdaysParse,a),s!==-1)?s:(s=gt.call(this._minWeekdaysParse,a),s!==-1?s:null)):e==="ddd"?(s=gt.call(this._shortWeekdaysParse,a),s!==-1||(s=gt.call(this._weekdaysParse,a),s!==-1)?s:(s=gt.call(this._minWeekdaysParse,a),s!==-1?s:null)):(s=gt.call(this._minWeekdaysParse,a),s!==-1||(s=gt.call(this._weekdaysParse,a),s!==-1)?s:(s=gt.call(this._shortWeekdaysParse,a),s!==-1?s:null))}function RO(t,e,n){var r,s,i;if(this._weekdaysParseExact)return FO.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(s=er([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 IO(t){if(!this.isValid())return t!=null?this:NaN;var e=Go(this,"Day");return t!=null?(t=OO(t,this.localeData()),this.add(t-e,"d")):e}function HO(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 zO(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=DO(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function YO(t){return this._weekdaysParseExact?($e(this,"_weekdaysRegex")||a1.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):($e(this,"_weekdaysRegex")||(this._weekdaysRegex=PO),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function WO(t){return this._weekdaysParseExact?($e(this,"_weekdaysRegex")||a1.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):($e(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=LO),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function jO(t){return this._weekdaysParseExact?($e(this,"_weekdaysRegex")||a1.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):($e(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=VO),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function a1(){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=er([2e3,1]).day(i),l=kr(this.weekdaysMin(a,"")),c=kr(this.weekdaysShort(a,"")),d=kr(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 l1(){return this.hours()%12||12}function ZO(){return this.hours()||24}oe("H",["HH",2],0,"hour"),oe("h",["hh",2],0,l1),oe("k",["kk",2],0,ZO),oe("hmm",0,0,function(){return""+l1.apply(this)+nr(this.minutes(),2)}),oe("hmmss",0,0,function(){return""+l1.apply(this)+nr(this.minutes(),2)+nr(this.seconds(),2)}),oe("Hmm",0,0,function(){return""+this.hours()+nr(this.minutes(),2)}),oe("Hmmss",0,0,function(){return""+this.hours()+nr(this.minutes(),2)+nr(this.seconds(),2)});function T2(t,e){oe(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}T2("a",!0),T2("A",!1);function O2(t,e){return e._meridiemParse}ie("a",O2),ie("A",O2),ie("H",qe,r1),ie("h",qe,vi),ie("k",qe,vi),ie("HH",qe,on),ie("hh",qe,on),ie("kk",qe,on),ie("hmm",g2),ie("hmmss",_2),ie("Hmm",g2),ie("Hmmss",_2),He(["H","HH"],kt),He(["k","kk"],function(t,e,n){var r=ke(t);e[kt]=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[kt]=ke(t),_e(n).bigHour=!0}),He("hmm",function(t,e,n){var r=t.length-2;e[kt]=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[kt]=ke(t.substr(0,r)),e[Vn]=ke(t.substr(r,2)),e[xr]=ke(t.substr(s)),_e(n).bigHour=!0}),He("Hmm",function(t,e,n){var r=t.length-2;e[kt]=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[kt]=ke(t.substr(0,r)),e[Vn]=ke(t.substr(r,2)),e[xr]=ke(t.substr(s))});function UO(t){return(t+"").toLowerCase().charAt(0)==="p"}var qO=/[ap]\.?m?\.?/i,GO=Ti("Hours",!0);function KO(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}var D2={calendar:FT,longDateFormat:zT,invalidDate:WT,ordinal:ZT,dayOfMonthOrdinalParse:UT,relativeTime:GT,months:uO,monthsShort:b2,week:xO,weekdays:EO,weekdaysMin:$O,weekdaysShort:v2,meridiemParse:qO},Xe={},Qo={},Jo;function XO(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 E2(t){return t&&t.toLowerCase().replace("_","-")}function QO(t){for(var e=0,n,r,s,i;e<t.length;){for(i=E2(t[e]).split("-"),n=i.length,r=E2(t[e+1]),r=r?r.split("-"):null;n>0;){if(s=Bl(i.slice(0,n).join("-")),s)return s;if(r&&r.length>=n&&XO(i,r)>=n-1)break;n--}e++}return Jo}function JO(t){return!!(t&&t.match("^[^/\\\\]*$"))}function Bl(t){var e=null,n;if(Xe[t]===void 0&&typeof module<"u"&&module&&module.exports&&JO(t))try{e=Jo._abbr,n=require,n("./locale/"+t),ns(e)}catch{Xe[t]=null}return Xe[t]}function ns(t,e){var n;return t&&(jt(e)?n=Sr(t):n=c1(t,e),n?Jo=n:typeof console<"u"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Jo._abbr}function c1(t,e){if(e!==null){var n,r=D2;if(e.abbr=t,Xe[t]!=null)u2("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=Xe[t]._config;else if(e.parentLocale!=null)if(Xe[e.parentLocale]!=null)r=Xe[e.parentLocale]._config;else if(n=Bl(e.parentLocale),n!=null)r=n._config;else return Qo[e.parentLocale]||(Qo[e.parentLocale]=[]),Qo[e.parentLocale].push({name:t,config:e}),null;return Xe[t]=new Ku(Gu(r,e)),Qo[t]&&Qo[t].forEach(function(s){c1(s.name,s.config)}),ns(t),Xe[t]}else return delete Xe[t],null}function eD(t,e){if(e!=null){var n,r,s=D2;Xe[t]!=null&&Xe[t].parentLocale!=null?Xe[t].set(Gu(Xe[t]._config,e)):(r=Bl(t),r!=null&&(s=r._config),e=Gu(s,e),r==null&&(e.abbr=t),n=new Ku(e),n.parentLocale=Xe[t],Xe[t]=n),ns(t)}else Xe[t]!=null&&(Xe[t].parentLocale!=null?(Xe[t]=Xe[t].parentLocale,t===ns()&&ns(t)):Xe[t]!=null&&delete Xe[t]);return Xe[t]}function Sr(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Jo;if(!Pn(t)){if(e=Bl(t),e)return e;t=[t]}return QO(t)}function tD(){return Xu(Xe)}function d1(t){var e,n=t._a;return n&&_e(t).overflow===-2&&(e=n[Cr]<0||n[Cr]>11?Cr:n[rr]<1||n[rr]>i1(n[Lt],n[Cr])?rr:n[kt]<0||n[kt]>24||n[kt]===24&&(n[Vn]!==0||n[xr]!==0||n[Hs]!==0)?kt:n[Vn]<0||n[Vn]>59?Vn:n[xr]<0||n[xr]>59?xr:n[Hs]<0||n[Hs]>999?Hs:-1,_e(t)._overflowDayOfYear&&(e<Lt||e>rr)&&(e=rr),_e(t)._overflowWeeks&&e===-1&&(e=iO),_e(t)._overflowWeekday&&e===-1&&(e=oO),_e(t).overflow=e),t}var nD=/^\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)?)?$/,rD=/^\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)?)?$/,sD=/Z|[+-]\d\d(?::?\d\d)?/,Al=[["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]],u1=[["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/]],iD=/^\/?Date\((-?\d+)/i,oD=/^(?:(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}))$/,aD={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 $2(t){var e,n,r=t._i,s=nD.exec(r)||rD.exec(r),i,a,l,c,d=Al.length,u=u1.length;if(s){for(_e(t).iso=!0,e=0,n=d;e<n;e++)if(Al[e][1].exec(s[1])){a=Al[e][0],i=Al[e][2]!==!1;break}if(a==null){t._isValid=!1;return}if(s[3]){for(e=0,n=u;e<n;e++)if(u1[e][1].exec(s[3])){l=(s[2]||" ")+u1[e][0];break}if(l==null){t._isValid=!1;return}}if(!i&&l!=null){t._isValid=!1;return}if(s[4])if(sD.exec(s[4]))c="Z";else{t._isValid=!1;return}t._f=a+(l||"")+(c||""),f1(t)}else t._isValid=!1}function lD(t,e,n,r,s,i){var a=[cD(t),b2.indexOf(e),parseInt(n,10),parseInt(r,10),parseInt(s,10)];return i&&a.push(parseInt(i,10)),a}function cD(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function dD(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function uD(t,e,n){if(t){var r=v2.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 hD(t,e,n){if(t)return aD[t];if(e)return 0;var r=parseInt(n,10),s=r%100,i=(r-s)/100;return i*60+s}function P2(t){var e=oD.exec(dD(t._i)),n;if(e){if(n=lD(e[4],e[3],e[2],e[5],e[6],e[7]),!uD(e[1],n,t))return;t._a=n,t._tzm=hD(e[8],e[9],e[10]),t._d=Ko.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),_e(t).rfc2822=!0}else t._isValid=!1}function fD(t){var e=iD.exec(t._i);if(e!==null){t._d=new Date(+e[1]);return}if($2(t),t._isValid===!1)delete t._isValid;else return;if(P2(t),t._isValid===!1)delete t._isValid;else return;t._strict?t._isValid=!1:re.createFromInputFallback(t)}re.createFromInputFallback=yn("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 Oi(t,e,n){return t??e??n}function mD(t){var e=new Date(re.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function h1(t){var e,n,r=[],s,i,a;if(!t._d){for(s=mD(t),t._w&&t._a[rr]==null&&t._a[Cr]==null&&pD(t),t._dayOfYear!=null&&(a=Oi(t._a[Lt],s[Lt]),(t._dayOfYear>qo(a)||t._dayOfYear===0)&&(_e(t)._overflowDayOfYear=!0),n=Ko(a,0,t._dayOfYear),t._a[Cr]=n.getUTCMonth(),t._a[rr]=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[kt]===24&&t._a[Vn]===0&&t._a[xr]===0&&t._a[Hs]===0&&(t._nextDay=!0,t._a[kt]=0),t._d=(t._useUTC?Ko:kO).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[kt]=24),t._w&&typeof t._w.d<"u"&&t._w.d!==i&&(_e(t).weekdayMismatch=!0)}}function pD(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=Oi(e.GG,t._a[Lt],Xo(Ge(),1,4).year),r=Oi(e.W,1),s=Oi(e.E,1),(s<1||s>7)&&(c=!0)):(i=t._locale._week.dow,a=t._locale._week.doy,d=Xo(Ge(),i,a),n=Oi(e.gg,t._a[Lt],d.year),r=Oi(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>Mr(n,i,a)?_e(t)._overflowWeeks=!0:c!=null?_e(t)._overflowWeekday=!0:(l=S2(n,r,s,i,a),t._a[Lt]=l.year,t._dayOfYear=l.dayOfYear)}re.ISO_8601=function(){},re.RFC_2822=function(){};function f1(t){if(t._f===re.ISO_8601){$2(t);return}if(t._f===re.RFC_2822){P2(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=h2(t._f,t._locale).match(Qu)||[],u=s.length,n=0;n<u;n++)i=s[n],r=(e.match(nO(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),Mi[i]?(r?_e(t).empty=!1:_e(t).unusedTokens.push(i),sO(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[kt]<=12&&_e(t).bigHour===!0&&t._a[kt]>0&&(_e(t).bigHour=void 0),_e(t).parsedDateParts=t._a.slice(0),_e(t).meridiem=t._meridiem,t._a[kt]=gD(t._locale,t._a[kt],t._meridiem),d=_e(t).era,d!==null&&(t._a[Lt]=t._locale.erasConvertYear(d,t._a[Lt])),h1(t),d1(t)}function gD(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 _D(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=qu({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[s],f1(e),Zu(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));ts(t,n||e)}function yD(t){if(!t._d){var e=e1(t._i),n=e.day===void 0?e.date:e.day;t._a=a2([e.year,e.month,n,e.hour,e.minute,e.second,e.millisecond],function(r){return r&&parseInt(r,10)}),h1(t)}}function wD(t){var e=new jo(d1(L2(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function L2(t){var e=t._i,n=t._f;return t._locale=t._locale||Sr(t._l),e===null||n===void 0&&e===""?Sl({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),Ln(e)?new jo(d1(e)):(Wo(e)?t._d=e:Pn(n)?_D(t):n?f1(t):bD(t),Zu(t)||(t._d=null),t))}function bD(t){var e=t._i;jt(e)?t._d=new Date(re.now()):Wo(e)?t._d=new Date(e.valueOf()):typeof e=="string"?fD(t):Pn(e)?(t._a=a2(e.slice(0),function(n){return parseInt(n,10)}),h1(t)):Is(e)?yD(t):br(e)?t._d=new Date(e):re.createFromInputFallback(t)}function V2(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)&&Wu(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,wD(i)}function Ge(t,e,n,r){return V2(t,e,n,r,!1)}var kD=yn("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:Sl()}),CD=yn("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:Sl()});function N2(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 xD(){var t=[].slice.call(arguments,0);return N2("isBefore",t)}function MD(){var t=[].slice.call(arguments,0);return N2("isAfter",t)}var SD=function(){return Date.now?Date.now():+new Date},ea=["year","quarter","month","week","day","hour","minute","second","millisecond"];function vD(t){var e,n=!1,r,s=ea.length;for(e in t)if($e(t,e)&&!(gt.call(ea,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(r=0;r<s;++r)if(t[ea[r]]){if(n)return!1;parseFloat(t[ea[r]])!==ke(t[ea[r]])&&(n=!0)}return!0}function TD(){return this._isValid}function OD(){return Nn(NaN)}function Fl(t){var e=e1(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=vD(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=Sr(),this._bubble()}function Rl(t){return t instanceof Fl}function m1(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function DD(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 B2(t,e){oe(t,0,0,function(){var n=this.utcOffset(),r="+";return n<0&&(n=-n,r="-"),r+nr(~~(n/60),2)+e+nr(~~n%60,2)})}B2("Z",":"),B2("ZZ",""),ie("Z",Pl),ie("ZZ",Pl),He(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=p1(Pl,t)});var ED=/([\+\-]|\d\d)/gi;function p1(t,e){var n=(e||"").match(t),r,s,i;return n===null?null:(r=n[n.length-1]||[],s=(r+"").match(ED)||["-",0,0],i=+(s[1]*60)+ke(s[2]),i===0?0:s[0]==="+"?i:-i)}function g1(t,e){var n,r;return e._isUTC?(n=e.clone(),r=(Ln(t)||Wo(t)?t.valueOf():Ge(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),re.updateOffset(n,!1),n):Ge(t).local()}function _1(t){return-Math.round(t._d.getTimezoneOffset())}re.updateOffset=function(){};function $D(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=p1(Pl,t),t===null)return this}else Math.abs(t)<16&&!n&&(t=t*60);return!this._isUTC&&e&&(s=_1(this)),this._offset=t,this._isUTC=!0,s!=null&&this.add(s,"m"),r!==t&&(!e||this._changeInProgress?I2(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:_1(this)}function PD(t,e){return t!=null?(typeof t!="string"&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function LD(t){return this.utcOffset(0,t)}function VD(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(_1(this),"m")),this}function ND(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=p1(eO,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function BD(t){return this.isValid()?(t=t?Ge(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function AD(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function FD(){if(!jt(this._isDSTShifted))return this._isDSTShifted;var t={},e;return qu(t,this),t=L2(t),t._a?(e=t._isUTC?er(t._a):Ge(t._a),this._isDSTShifted=this.isValid()&&DD(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function RD(){return this.isValid()?!this._isUTC:!1}function ID(){return this.isValid()?this._isUTC:!1}function A2(){return this.isValid()?this._isUTC&&this._offset===0:!1}var HD=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,zD=/^(-|\+)?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 Rl(t)?n={ms:t._milliseconds,d:t._days,M:t._months}:br(t)||!isNaN(+t)?(n={},e?n[e]=+t:n.milliseconds=+t):(r=HD.exec(t))?(s=r[1]==="-"?-1:1,n={y:0,d:ke(r[rr])*s,h:ke(r[kt])*s,m:ke(r[Vn])*s,s:ke(r[xr])*s,ms:ke(m1(r[Hs]*1e3))*s}):(r=zD.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=YD(Ge(n.from),Ge(n.to)),n={},n.ms=a.milliseconds,n.M=a.months),i=new Fl(n),Rl(t)&&$e(t,"_locale")&&(i._locale=t._locale),Rl(t)&&$e(t,"_isValid")&&(i._isValid=t._isValid),i}Nn.fn=Fl.prototype,Nn.invalid=OD;function zs(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function F2(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 YD(t,e){var n;return t.isValid()&&e.isValid()?(e=g1(e,t),t.isBefore(e)?n=F2(t,e):(n=F2(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function R2(t,e){return function(n,r){var s,i;return r!==null&&!isNaN(+r)&&(u2(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),I2(this,s,t),this}}function I2(t,e,n,r){var s=e._milliseconds,i=m1(e._days),a=m1(e._months);t.isValid()&&(r=r??!0,a&&C2(t,Go(t,"Month")+a*n),i&&w2(t,"Date",Go(t,"Date")+i*n),s&&t._d.setTime(t._d.valueOf()+s*n),r&&re.updateOffset(t,i||a))}var WD=R2(1,"add"),jD=R2(-1,"subtract");function H2(t){return typeof t=="string"||t instanceof String}function ZD(t){return Ln(t)||Wo(t)||H2(t)||br(t)||qD(t)||UD(t)||t===null||t===void 0}function UD(t){var e=Is(t)&&!Wu(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 qD(t){var e=Pn(t),n=!1;return e&&(n=t.filter(function(r){return!br(r)&&H2(t)}).length===0),e&&n}function GD(t){var e=Is(t)&&!Wu(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 KD(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 XD(t,e){arguments.length===1&&(arguments[0]?ZD(arguments[0])?(t=arguments[0],e=void 0):GD(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||Ge(),r=g1(n,this).startOf("day"),s=re.calendarFormat(this,r)||"sameElse",i=e&&(tr(e[s])?e[s].call(this,n):e[s]);return this.format(i||this.localeData().calendar(s,this,Ge(n)))}function QD(){return new jo(this)}function JD(t,e){var n=Ln(t)?t:Ge(t);return this.isValid()&&n.isValid()?(e=wn(e)||"millisecond",e==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf()):!1}function eE(t,e){var n=Ln(t)?t:Ge(t);return this.isValid()&&n.isValid()?(e=wn(e)||"millisecond",e==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf()):!1}function tE(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 nE(t,e){var n=Ln(t)?t:Ge(t),r;return this.isValid()&&n.isValid()?(e=wn(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 rE(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function sE(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function iE(t,e,n){var r,s,i;if(!this.isValid())return NaN;if(r=g1(t,this),!r.isValid())return NaN;switch(s=(r.utcOffset()-this.utcOffset())*6e4,e=wn(e),e){case"year":i=Il(this,r)/12;break;case"month":i=Il(this,r);break;case"quarter":i=Il(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:bn(i)}function Il(t,e){if(t.date()<e.date())return-Il(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 oE(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function aE(t){if(!this.isValid())return null;var e=t!==!0,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?Tl(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):tr(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Tl(n,"Z")):Tl(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function lE(){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 cE(t){t||(t=this.isUtc()?re.defaultFormatUtc:re.defaultFormat);var e=Tl(this,t);return this.localeData().postformat(e)}function dE(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 uE(t){return this.from(Ge(),t)}function hE(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 fE(t){return this.to(Ge(),t)}function z2(t){var e;return t===void 0?this._locale._abbr:(e=Sr(t),e!=null&&(this._locale=e),this)}var Y2=yn("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 W2(){return this._locale}var Hl=1e3,Di=60*Hl,zl=60*Di,j2=(365*400+97)*24*zl;function Ei(t,e){return(t%e+e)%e}function Z2(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-j2:new Date(t,e,n).valueOf()}function U2(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-j2:Date.UTC(t,e,n)}function mE(t){var e,n;if(t=wn(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?U2:Z2,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-=Ei(e+(this._isUTC?0:this.utcOffset()*Di),zl);break;case"minute":e=this._d.valueOf(),e-=Ei(e,Di);break;case"second":e=this._d.valueOf(),e-=Ei(e,Hl);break}return this._d.setTime(e),re.updateOffset(this,!0),this}function pE(t){var e,n;if(t=wn(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?U2:Z2,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+=zl-Ei(e+(this._isUTC?0:this.utcOffset()*Di),zl)-1;break;case"minute":e=this._d.valueOf(),e+=Di-Ei(e,Di)-1;break;case"second":e=this._d.valueOf(),e+=Hl-Ei(e,Hl)-1;break}return this._d.setTime(e),re.updateOffset(this,!0),this}function gE(){return this._d.valueOf()-(this._offset||0)*6e4}function _E(){return Math.floor(this.valueOf()/1e3)}function yE(){return new Date(this.valueOf())}function wE(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function bE(){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 kE(){return this.isValid()?this.toISOString():null}function CE(){return Zu(this)}function xE(){return ts({},_e(this))}function ME(){return _e(this).overflow}function SE(){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",y1),ie("NN",y1),ie("NNN",y1),ie("NNNN",BE),ie("NNNNN",AE),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",Si),ie("yy",Si),ie("yyy",Si),ie("yyyy",Si),ie("yo",FE),He(["y","yy","yyy","yyyy"],Lt),He(["yo"],function(t,e,n,r){var s;n._locale._eraYearOrdinalRegex&&(s=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[Lt]=n._locale.eraYearOrdinalParse(t,s):e[Lt]=parseInt(t,10)});function vE(t,e){var n,r,s,i=this._eras||Sr("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 TE(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 OE(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 DE(){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 EE(){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 $E(){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 PE(){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 LE(t){return $e(this,"_erasNameRegex")||w1.call(this),t?this._erasNameRegex:this._erasRegex}function VE(t){return $e(this,"_erasAbbrRegex")||w1.call(this),t?this._erasAbbrRegex:this._erasRegex}function NE(t){return $e(this,"_erasNarrowRegex")||w1.call(this),t?this._erasNarrowRegex:this._erasRegex}function y1(t,e){return e.erasAbbrRegex(t)}function BE(t,e){return e.erasNameRegex(t)}function AE(t,e){return e.erasNarrowRegex(t)}function FE(t,e){return e._eraYearOrdinalRegex||Si}function w1(){var t=[],e=[],n=[],r=[],s,i,a,l,c,d=this.eras();for(s=0,i=d.length;s<i;++s)a=kr(d[s].name),l=kr(d[s].abbr),c=kr(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 Yl(t,e){oe(0,[t,t.length],0,e)}Yl("gggg","weekYear"),Yl("ggggg","weekYear"),Yl("GGGG","isoWeekYear"),Yl("GGGGG","isoWeekYear"),ie("G",$l),ie("g",$l),ie("GG",qe,on),ie("gg",qe,on),ie("GGGG",n1,t1),ie("gggg",n1,t1),ie("GGGGG",El,Ol),ie("ggggg",El,Ol),Uo(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=ke(t)}),Uo(["gg","GG"],function(t,e,n,r){e[r]=re.parseTwoDigitYear(t)});function RE(t){return q2.call(this,t,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function IE(t){return q2.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function HE(){return Mr(this.year(),1,4)}function zE(){return Mr(this.isoWeekYear(),1,4)}function YE(){var t=this.localeData()._week;return Mr(this.year(),t.dow,t.doy)}function WE(){var t=this.localeData()._week;return Mr(this.weekYear(),t.dow,t.doy)}function q2(t,e,n,r,s){var i;return t==null?Xo(this,r,s).year:(i=Mr(t,r,s),e>i&&(e=i),jE.call(this,t,e,n,r,s))}function jE(t,e,n,r,s){var i=S2(t,e,n,r,s),a=Ko(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",m2),He("Q",function(t,e){e[Cr]=(ke(t)-1)*3});function ZE(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,vi),ie("DD",qe,on),ie("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),He(["D","DD"],rr),He("Do",function(t,e){e[rr]=ke(t.match(qe)[0])});var G2=Ti("Date",!0);oe("DDD",["DDDD",3],"DDDo","dayOfYear"),ie("DDD",Dl),ie("DDDD",p2),He(["DDD","DDDD"],function(t,e,n){n._dayOfYear=ke(t)});function UE(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,r1),ie("mm",qe,on),He(["m","mm"],Vn);var qE=Ti("Minutes",!1);oe("s",["ss",2],0,"second"),ie("s",qe,r1),ie("ss",qe,on),He(["s","ss"],xr);var GE=Ti("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",Dl,m2),ie("SS",Dl,on),ie("SSS",Dl,p2);var rs,K2;for(rs="SSSS";rs.length<=9;rs+="S")ie(rs,Si);function KE(t,e){e[Hs]=ke(("0."+t)*1e3)}for(rs="S";rs.length<=9;rs+="S")He(rs,KE);K2=Ti("Milliseconds",!1),oe("z",0,0,"zoneAbbr"),oe("zz",0,0,"zoneName");function XE(){return this._isUTC?"UTC":""}function QE(){return this._isUTC?"Coordinated Universal Time":""}var Q=jo.prototype;Q.add=WD,Q.calendar=XD,Q.clone=QD,Q.diff=iE,Q.endOf=pE,Q.format=cE,Q.from=dE,Q.fromNow=uE,Q.to=hE,Q.toNow=fE,Q.get=lO,Q.invalidAt=ME,Q.isAfter=JD,Q.isBefore=eE,Q.isBetween=tE,Q.isSame=nE,Q.isSameOrAfter=rE,Q.isSameOrBefore=sE,Q.isValid=CE,Q.lang=Y2,Q.locale=z2,Q.localeData=W2,Q.max=CD,Q.min=kD,Q.parsingFlags=xE,Q.set=cO,Q.startOf=mE,Q.subtract=jD,Q.toArray=wE,Q.toObject=bE,Q.toDate=yE,Q.toISOString=aE,Q.inspect=lE,typeof Symbol<"u"&&Symbol.for!=null&&(Q[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Q.toJSON=kE,Q.toString=oE,Q.unix=_E,Q.valueOf=gE,Q.creationData=SE,Q.eraName=DE,Q.eraNarrow=EE,Q.eraAbbr=$E,Q.eraYear=PE,Q.year=y2,Q.isLeapYear=aO,Q.weekYear=RE,Q.isoWeekYear=IE,Q.quarter=Q.quarters=ZE,Q.month=x2,Q.daysInMonth=yO,Q.week=Q.weeks=vO,Q.isoWeek=Q.isoWeeks=TO,Q.weeksInYear=YE,Q.weeksInWeekYear=WE,Q.isoWeeksInYear=HE,Q.isoWeeksInISOWeekYear=zE,Q.date=G2,Q.day=Q.days=IO,Q.weekday=HO,Q.isoWeekday=zO,Q.dayOfYear=UE,Q.hour=Q.hours=GO,Q.minute=Q.minutes=qE,Q.second=Q.seconds=GE,Q.millisecond=Q.milliseconds=K2,Q.utcOffset=$D,Q.utc=LD,Q.local=VD,Q.parseZone=ND,Q.hasAlignedHourOffset=BD,Q.isDST=AD,Q.isLocal=RD,Q.isUtcOffset=ID,Q.isUtc=A2,Q.isUTC=A2,Q.zoneAbbr=XE,Q.zoneName=QE,Q.dates=yn("dates accessor is deprecated. Use date instead.",G2),Q.months=yn("months accessor is deprecated. Use month instead",x2),Q.years=yn("years accessor is deprecated. Use year instead",y2),Q.zone=yn("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",PD),Q.isDSTShifted=yn("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",FD);function JE(t){return Ge(t*1e3)}function e$(){return Ge.apply(null,arguments).parseZone()}function X2(t){return t}var Pe=Ku.prototype;Pe.calendar=RT,Pe.longDateFormat=YT,Pe.invalidDate=jT,Pe.ordinal=qT,Pe.preparse=X2,Pe.postformat=X2,Pe.relativeTime=KT,Pe.pastFuture=XT,Pe.set=AT,Pe.eras=vE,Pe.erasParse=TE,Pe.erasConvertYear=OE,Pe.erasAbbrRegex=VE,Pe.erasNameRegex=LE,Pe.erasNarrowRegex=NE,Pe.months=mO,Pe.monthsShort=pO,Pe.monthsParse=_O,Pe.monthsRegex=bO,Pe.monthsShortRegex=wO,Pe.week=CO,Pe.firstDayOfYear=SO,Pe.firstDayOfWeek=MO,Pe.weekdays=NO,Pe.weekdaysMin=AO,Pe.weekdaysShort=BO,Pe.weekdaysParse=RO,Pe.weekdaysRegex=YO,Pe.weekdaysShortRegex=WO,Pe.weekdaysMinRegex=jO,Pe.isPM=UO,Pe.meridiem=KO;function Wl(t,e,n,r){var s=Sr(),i=er().set(r,e);return s[n](i,t)}function Q2(t,e,n){if(br(t)&&(e=t,t=void 0),t=t||"",e!=null)return Wl(t,e,n,"month");var r,s=[];for(r=0;r<12;r++)s[r]=Wl(t,r,n,"month");return s}function b1(t,e,n,r){typeof t=="boolean"?(br(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,br(e)&&(n=e,e=void 0),e=e||"");var s=Sr(),i=t?s._week.dow:0,a,l=[];if(n!=null)return Wl(e,(n+i)%7,r,"day");for(a=0;a<7;a++)l[a]=Wl(e,(a+i)%7,r,"day");return l}function t$(t,e){return Q2(t,e,"months")}function n$(t,e){return Q2(t,e,"monthsShort")}function r$(t,e,n){return b1(t,e,n,"weekdays")}function s$(t,e,n){return b1(t,e,n,"weekdaysShort")}function i$(t,e,n){return b1(t,e,n,"weekdaysMin")}ns("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=yn("moment.lang is deprecated. Use moment.locale instead.",ns),re.langData=yn("moment.langData is deprecated. Use moment.localeData instead.",Sr);var vr=Math.abs;function o$(){var t=this._data;return this._milliseconds=vr(this._milliseconds),this._days=vr(this._days),this._months=vr(this._months),t.milliseconds=vr(t.milliseconds),t.seconds=vr(t.seconds),t.minutes=vr(t.minutes),t.hours=vr(t.hours),t.months=vr(t.months),t.years=vr(t.years),this}function J2(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 a$(t,e){return J2(this,t,e,1)}function l$(t,e){return J2(this,t,e,-1)}function e3(t){return t<0?Math.floor(t):Math.ceil(t)}function c$(){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+=e3(k1(n)+e)*864e5,e=0,n=0),r.milliseconds=t%1e3,s=bn(t/1e3),r.seconds=s%60,i=bn(s/60),r.minutes=i%60,a=bn(i/60),r.hours=a%24,e+=bn(a/24),c=bn(t3(e)),n+=c,e-=e3(k1(c)),l=bn(n/12),n%=12,r.days=e,r.months=n,r.years=l,this}function t3(t){return t*4800/146097}function k1(t){return t*146097/4800}function d$(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if(t=wn(t),t==="month"||t==="quarter"||t==="year")switch(e=this._days+r/864e5,n=this._months+t3(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(k1(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 Tr(t){return function(){return this.as(t)}}var n3=Tr("ms"),u$=Tr("s"),h$=Tr("m"),f$=Tr("h"),m$=Tr("d"),p$=Tr("w"),g$=Tr("M"),_$=Tr("Q"),y$=Tr("y"),w$=n3;function b$(){return Nn(this)}function k$(t){return t=wn(t),this.isValid()?this[t+"s"]():NaN}function Ys(t){return function(){return this.isValid()?this._data[t]:NaN}}var C$=Ys("milliseconds"),x$=Ys("seconds"),M$=Ys("minutes"),S$=Ys("hours"),v$=Ys("days"),T$=Ys("months"),O$=Ys("years");function D$(){return bn(this.days()/7)}var Or=Math.round,$i={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function E$(t,e,n,r,s){return s.relativeTime(e||1,!!n,t,r)}function $$(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,E$.apply(null,f)}function P$(t){return t===void 0?Or:typeof t=="function"?(Or=t,!0):!1}function L$(t,e){return $i[t]===void 0?!1:e===void 0?$i[t]:($i[t]=e,t==="s"&&($i.ss=e-1),!0)}function V$(t,e){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=$i,s,i;return typeof t=="object"&&(e=t,t=!1),typeof t=="boolean"&&(n=t),typeof e=="object"&&(r=Object.assign({},$i,e),e.s!=null&&e.ss==null&&(r.ss=e.s-1)),s=this.localeData(),i=$$(this,!n,r,s),n&&(i=s.pastFuture(+this,i)),s.postformat(i)}var C1=Math.abs;function Pi(t){return(t>0)-(t<0)||+t}function jl(){if(!this.isValid())return this.localeData().invalidDate();var t=C1(this._milliseconds)/1e3,e=C1(this._days),n=C1(this._months),r,s,i,a,l=this.asSeconds(),c,d,u,h;return l?(r=bn(t/60),s=bn(r/60),t%=60,r%=60,i=bn(n/12),n%=12,a=t?t.toFixed(3).replace(/\.?0+$/,""):"",c=l<0?"-":"",d=Pi(this._months)!==Pi(l)?"-":"",u=Pi(this._days)!==Pi(l)?"-":"",h=Pi(this._milliseconds)!==Pi(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 Te=Fl.prototype;Te.isValid=TD,Te.abs=o$,Te.add=a$,Te.subtract=l$,Te.as=d$,Te.asMilliseconds=n3,Te.asSeconds=u$,Te.asMinutes=h$,Te.asHours=f$,Te.asDays=m$,Te.asWeeks=p$,Te.asMonths=g$,Te.asQuarters=_$,Te.asYears=y$,Te.valueOf=w$,Te._bubble=c$,Te.clone=b$,Te.get=k$,Te.milliseconds=C$,Te.seconds=x$,Te.minutes=M$,Te.hours=S$,Te.days=v$,Te.weeks=D$,Te.months=T$,Te.years=O$,Te.humanize=V$,Te.toISOString=jl,Te.toString=jl,Te.toJSON=jl,Te.locale=z2,Te.localeData=W2,Te.toIsoString=yn("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",jl),Te.lang=Y2,oe("X",0,0,"unix"),oe("x",0,0,"valueOf"),ie("x",$l),ie("X",tO),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
|
|
45
|
+
re.version="2.30.1",NT(Ge),re.fn=Q,re.min=xD,re.max=MD,re.now=SD,re.utc=er,re.unix=JE,re.months=t$,re.isDate=Wo,re.locale=ns,re.invalid=Sl,re.duration=Nn,re.isMoment=Ln,re.weekdays=r$,re.parseZone=e$,re.localeData=Sr,re.isDuration=Rl,re.monthsShort=n$,re.weekdaysMin=i$,re.defineLocale=c1,re.updateLocale=eD,re.locales=tD,re.weekdaysShort=s$,re.normalizeUnits=wn,re.relativeTimeRounding=P$,re.relativeTimeThreshold=L$,re.calendarFormat=KD,re.prototype=Q,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 N$={class:"calendar-dropdown"},B$={class:"calendar-dropdown__outer__left"},A$={class:"calendar-dropdown__outer__current"},F$={key:0,class:"calendar-dropdown__inner"},R$={class:"calendar-dropdown__year-switcher"},I$={class:"calendar-dropdown__year-switcher__year"},H$={class:"calendar-dropdown__months"},z$={class:"calendar-dropdown__month-container"},Y$=["onClick"],r3=De({__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",N$,[o.createElementVNode("div",{class:o.normalizeClass(["calendar-dropdown__outer",{"-active":l.value}]),onClick:o.withModifiers(c,["prevent","stop"])},[o.createElementVNode("div",B$,[o.createVNode(o.unref(Le),{icon:"calendar"}),o.createElementVNode("span",A$,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",F$,[o.createElementVNode("div",R$,[o.createVNode(o.unref(ga),{size:"lg",view:"secondary",icon:"chevron-left",onClick:m[0]||(m[0]=g=>s.value--)}),o.createElementVNode("div",I$,o.toDisplayString(s.value),1),o.createVNode(o.unref(ga),{size:"lg",view:"secondary",icon:"chevron-right",onClick:m[1]||(m[1]=g=>s.value++)})]),o.createElementVNode("div",H$,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(a),(g,p)=>(o.openBlock(),o.createElementBlock("div",z$,[o.createElementVNode("div",{class:o.normalizeClass(["calendar-dropdown__month",{"-active":d(p),"-past":u(p)}]),onClick:_=>h(p)},o.toDisplayString(g),11,Y$)]))),256))])])),[[o.unref(s2),c,void 0,{bubble:!0}]]):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-4a9eb9ec"]]),W$={class:"period-dropdown"},j$={class:"period-dropdown__outer__left"},Z$={class:"period-dropdown__outer__current"},U$={key:0,class:"period-dropdown__inner"},q$=["onClick"],Ws=De({__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",W$,[o.createElementVNode("div",{class:o.normalizeClass(["period-dropdown__outer",{"-active":i.value}]),onClick:o.withModifiers(a,["prevent","stop"])},[o.createElementVNode("div",j$,[o.createVNode(o.unref(Le),{icon:"clock"}),o.createElementVNode("span",Z$,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",U$,[(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,q$)),64))])),[[o.unref(s2),a,void 0,{bubble:!0}]]):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-9fb265ca"]]),G$={class:"progress-line-container"},K$={class:"progress-line"},X$={class:"progress-line__part"},Q$={class:"progress-digits"},J$={class:"progress-digits__value"},eP={class:"progress-digits__value"},tP={class:"progress-digits__value"},s3=De({__name:"ProgressLine",props:{drawdown:Number,profit:Number,currentProfit:Number,isPercentage:Boolean,isHidden:Boolean},setup(t){const e=t,n=o.computed(()=>e.currentProfit>0?Ot(e.currentProfit/e.profit*100):e.currentProfit<0?Ot(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",G$,[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",K$,[(o.openBlock(),o.createElementBlock(o.Fragment,null,o.renderList(9,c=>o.createElementVNode("div",X$,[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",Q$,[o.createElementVNode("div",J$,o.toDisplayString(o.unref(Me)(t.isHidden,`-${o.unref(cn)(t.drawdown,{isPercentage:t.isPercentage,isFixed:!0})}`,{repeat:6})),1),o.createElementVNode("div",eP,o.toDisplayString(o.unref(Me)(t.isHidden,o.unref(cn)(0,{isPercentage:t.isPercentage,isFixed:!0}),{repeat:3})),1),o.createElementVNode("div",tP,o.toDisplayString(o.unref(Me)(t.isHidden,`+${o.unref(cn)(t.profit,{isPercentage:t.isPercentage,isFixed:!0})}`,{repeat:6})),1)])]))}},[["__scopeId","data-v-e13b9e44"]]),nP={class:"widget-chips__text"},Zl=De({__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",nP,o.toDisplayString(o.unref(Me)(t.isHidden,Math.abs(e.delta)+(e.percentage?"%":""))),1)],2))}},[["__scopeId","data-v-394e7016"]]);/*! js-cookie v3.0.5 | MIT */function Ul(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 rP={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 x1(t,e){function n(s,i,a){if(!(typeof document>"u")){a=Ul({},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,"",Ul({},i,{expires:-1}))},withAttributes:function(s){return x1(this.converter,Ul({},this.attributes,s))},withConverter:function(s){return x1(Ul({},this.converter,s),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var Li=x1(rP,{path:"/"});class an{static setItem(e,n,r=Date.now()+31449600){Li.set(e,n,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io",expires:new Date(r*1e3),secure:!0,sameSite:"strict"})}static getItem(e){return Li.get(e)}static removeItem(e){Li.remove(e,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io"})}static clear(){const e=Object.keys(Li.get());for(const n of e)Li.remove(n,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io"})}static getAll(){return Li.get()}}function i3(t,e){return function(){return t.apply(e,arguments)}}const{toString:sP}=Object.prototype,{getPrototypeOf:M1}=Object,ql=(t=>e=>{const n=sP.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),sr=t=>(t=t.toLowerCase(),e=>ql(e)===t),Gl=t=>e=>typeof e===t,{isArray:Vi}=Array,ta=Gl("undefined");function iP(t){return t!==null&&!ta(t)&&t.constructor!==null&&!ta(t.constructor)&&kn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const o3=sr("ArrayBuffer");function oP(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&o3(t.buffer),e}const aP=Gl("string"),kn=Gl("function"),a3=Gl("number"),Kl=t=>t!==null&&typeof t=="object",lP=t=>t===!0||t===!1,Xl=t=>{if(ql(t)!=="object")return!1;const e=M1(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},cP=sr("Date"),dP=sr("File"),uP=sr("Blob"),hP=sr("FileList"),fP=t=>Kl(t)&&kn(t.pipe),mP=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||kn(t.append)&&((e=ql(t))==="formdata"||e==="object"&&kn(t.toString)&&t.toString()==="[object FormData]"))},pP=sr("URLSearchParams"),gP=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function na(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,s;if(typeof t!="object"&&(t=[t]),Vi(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 l3(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 c3=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,d3=t=>!ta(t)&&t!==c3;function S1(){const{caseless:t}=d3(this)&&this||{},e={},n=(r,s)=>{const i=t&&l3(e,s)||s;Xl(e[i])&&Xl(r)?e[i]=S1(e[i],r):Xl(r)?e[i]=S1({},r):Vi(r)?e[i]=r.slice():e[i]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&na(arguments[r],n);return e}const _P=(t,e,n,{allOwnKeys:r}={})=>(na(e,(s,i)=>{n&&kn(s)?t[i]=i3(s,n):t[i]=s},{allOwnKeys:r}),t),yP=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),wP=(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)},bP=(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&&M1(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},kP=(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},CP=t=>{if(!t)return null;if(Vi(t))return t;let e=t.length;if(!a3(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},xP=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&M1(Uint8Array)),MP=(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])}},SP=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},vP=sr("HTMLFormElement"),TP=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),u3=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),OP=sr("RegExp"),h3=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};na(n,(s,i)=>{let a;(a=e(s,i,t))!==!1&&(r[i]=a||s)}),Object.defineProperties(t,r)},DP=t=>{h3(t,(e,n)=>{if(kn(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(kn(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+"'")})}})},EP=(t,e)=>{const n={},r=s=>{s.forEach(i=>{n[i]=!0})};return Vi(t)?r(t):r(String(t).split(e)),n},$P=()=>{},PP=(t,e)=>(t=+t,Number.isFinite(t)?t:e),v1="abcdefghijklmnopqrstuvwxyz",f3="0123456789",m3={DIGIT:f3,ALPHA:v1,ALPHA_DIGIT:v1+v1.toUpperCase()+f3},LP=(t=16,e=m3.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n};function VP(t){return!!(t&&kn(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const NP=t=>{const e=new Array(10),n=(r,s)=>{if(Kl(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[s]=r;const i=Vi(r)?[]:{};return na(r,(a,l)=>{const c=n(a,s+1);!ta(c)&&(i[l]=c)}),e[s]=void 0,i}}return r};return n(t,0)},BP=sr("AsyncFunction"),Y={isArray:Vi,isArrayBuffer:o3,isBuffer:iP,isFormData:mP,isArrayBufferView:oP,isString:aP,isNumber:a3,isBoolean:lP,isObject:Kl,isPlainObject:Xl,isUndefined:ta,isDate:cP,isFile:dP,isBlob:uP,isRegExp:OP,isFunction:kn,isStream:fP,isURLSearchParams:pP,isTypedArray:xP,isFileList:hP,forEach:na,merge:S1,extend:_P,trim:gP,stripBOM:yP,inherits:wP,toFlatObject:bP,kindOf:ql,kindOfTest:sr,endsWith:kP,toArray:CP,forEachEntry:MP,matchAll:SP,isHTMLForm:vP,hasOwnProperty:u3,hasOwnProp:u3,reduceDescriptors:h3,freezeMethods:DP,toObjectSet:EP,toCamelCase:TP,noop:$P,toFiniteNumber:PP,findKey:l3,global:c3,isContextDefined:d3,ALPHABET:m3,generateString:LP,isSpecCompliantForm:VP,toJSONObject:NP,isAsyncFn:BP,isThenable:t=>t&&(Kl(t)||kn(t))&&kn(t.then)&&kn(t.catch)};function Oe(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(Oe,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 p3=Oe.prototype,g3={};["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=>{g3[t]={value:t}}),Object.defineProperties(Oe,g3),Object.defineProperty(p3,"isAxiosError",{value:!0}),Oe.from=(t,e,n,r,s,i)=>{const a=Object.create(p3);return Y.toFlatObject(t,a,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),Oe.call(a,t.message,e,n,r,s),a.cause=t,a.name=t.name,i&&Object.assign(a,i),a};const AP=null;function T1(t){return Y.isPlainObject(t)||Y.isArray(t)}function _3(t){return Y.endsWith(t,"[]")?t.slice(0,-2):t}function y3(t,e,n){return t?t.concat(e).map(function(s,i){return s=_3(s),!n&&i?"["+s+"]":s}).join(n?".":""):e}function FP(t){return Y.isArray(t)&&!t.some(T1)}const RP=Y.toFlatObject(Y,{},null,function(e){return/^is[A-Z]/.test(e)});function Ql(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 Oe("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)&&FP(g)||(Y.isFileList(g)||Y.endsWith(p,"[]"))&&(y=Y.toArray(g)))return p=_3(p),y.forEach(function(k,v){!(Y.isUndefined(k)||k===null)&&e.append(a===!0?y3([p],v,i):a===null?p:p+"[]",d(k))}),!1}return T1(g)?!0:(e.append(y3(_,p,i),d(g)),!1)}const h=[],f=Object.assign(RP,{defaultVisitor:u,convertValue:d,isVisitable:T1});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 w3(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function O1(t,e){this._pairs=[],t&&Ql(t,this,e)}const b3=O1.prototype;b3.append=function(e,n){this._pairs.push([e,n])},b3.toString=function(e){const n=e?function(r){return e.call(this,r,w3)}:w3;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function IP(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function k3(t,e,n){if(!e)return t;const r=n&&n.encode||IP,s=n&&n.serialize;let i;if(s?i=s(e,n):i=Y.isURLSearchParams(e)?e.toString():new O1(e,n).toString(r),i){const a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}class C3{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 x3={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},HP={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:O1,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},M3=typeof window<"u"&&typeof document<"u",zP=(t=>M3&&["ReactNative","NativeScript","NS"].indexOf(t)<0)(typeof navigator<"u"&&navigator.product),YP=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",ir={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:M3,hasStandardBrowserEnv:zP,hasStandardBrowserWebWorkerEnv:YP},Symbol.toStringTag,{value:"Module"})),...HP};function WP(t,e){return Ql(t,new ir.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,i){return ir.isNode&&Y.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}function jP(t){return Y.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function ZP(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 S3(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]=ZP(s[a])),!l)}if(Y.isFormData(t)&&Y.isFunction(t.entries)){const n={};return Y.forEachEntry(t,(r,s)=>{e(jP(r),s,n,0)}),n}return null}function UP(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 D1={transitional:x3,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(S3(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 WP(e,this.formSerializer).toString();if((l=Y.isFileList(e))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Ql(l?{"files[]":e}:e,c&&new c,this.formSerializer)}}return i||s?(n.setContentType("application/json",!1),UP(e)):e}],transformResponse:[function(e){const n=this.transitional||D1.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"?Oe.from(l,Oe.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:ir.classes.FormData,Blob:ir.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=>{D1.headers[t]={}});const E1=D1,qP=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"]),GP=t=>{const e={};let n,r,s;return t&&t.split(`
|
|
46
46
|
`).forEach(function(a){s=a.indexOf(":"),n=a.substring(0,s).trim().toLowerCase(),r=a.substring(s+1).trim(),!(!n||e[n]&&qP[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},v3=Symbol("internals");function ra(t){return t&&String(t).trim().toLowerCase()}function Jl(t){return t===!1||t==null?t:Y.isArray(t)?t.map(Jl):String(t)}function KP(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 XP=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function $1(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 QP(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function JP(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 ec{constructor(e){e&&this.set(e)}set(e,n,r){const s=this;function i(l,c,d){const u=ra(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]=Jl(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())&&!XP(e)?a(GP(e),n):e!=null&&i(n,e,r),this}get(e,n){if(e=ra(e),e){const r=Y.findKey(this,e);if(r){const s=this[r];if(!n)return s;if(n===!0)return KP(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=ra(e),e){const r=Y.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||$1(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let s=!1;function i(a){if(a=ra(a),a){const l=Y.findKey(r,a);l&&(!n||$1(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||$1(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]=Jl(s),delete n[i];return}const l=e?QP(i):String(i).trim();l!==i&&delete n[i],n[l]=Jl(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(`
|
|
47
|
-
`)}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[v3]=this[v3]={accessors:{}}).accessors,s=this.prototype;function i(a){const l=ra(a);r[l]||(JP(s,a),r[l]=!0)}return Y.isArray(e)?e.forEach(i):i(e),this}}ec.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Y.reduceDescriptors(ec.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}}),Y.freezeMethods(ec);const Dr=ec;function P1(t,e){const n=this||E1,r=e||n,s=Dr.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 T3(t){return!!(t&&t.__CANCEL__)}function sa(t,e,n){
|
|
47
|
+
`)}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[v3]=this[v3]={accessors:{}}).accessors,s=this.prototype;function i(a){const l=ra(a);r[l]||(JP(s,a),r[l]=!0)}return Y.isArray(e)?e.forEach(i):i(e),this}}ec.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Y.reduceDescriptors(ec.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}}),Y.freezeMethods(ec);const Dr=ec;function P1(t,e){const n=this||E1,r=e||n,s=Dr.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 T3(t){return!!(t&&t.__CANCEL__)}function sa(t,e,n){Oe.call(this,t??"canceled",Oe.ERR_CANCELED,e,n),this.name="CanceledError"}Y.inherits(sa,Oe,{__CANCEL__:!0});function eL(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new Oe("Request failed with status code "+n.status,[Oe.ERR_BAD_REQUEST,Oe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const tL=ir.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 nL(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function rL(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function O3(t,e){return t&&!nL(e)?rL(t,e):e}const sL=ir.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 iL(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function oL(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 D3(t,e){let n=0;const r=oL(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 L1={http:AP,xhr:typeof XMLHttpRequest<"u"&&function(t){return new Promise(function(n,r){let s=t.data;const i=Dr.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(ir.hasStandardBrowserEnv||ir.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=O3(t.baseURL,t.url);h.open(t.method.toUpperCase(),k3(f,t.params,t.paramsSerializer),!0),h.timeout=t.timeout;function m(){if(!h)return;const p=Dr.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};eL(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 Oe("Request aborted",Oe.ECONNABORTED,t,h)),h=null)},h.onerror=function(){r(new Oe("Network Error",Oe.ERR_NETWORK,t,h)),h=null},h.ontimeout=function(){let _=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const y=t.transitional||x3;t.timeoutErrorMessage&&(_=t.timeoutErrorMessage),r(new Oe(_,y.clarifyTimeoutError?Oe.ETIMEDOUT:Oe.ECONNABORTED,t,h)),h=null},ir.hasStandardBrowserEnv&&(l&&Y.isFunction(l)&&(l=l(t)),l||l!==!1&&sL(f))){const p=t.xsrfHeaderName&&t.xsrfCookieName&&tL.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",D3(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&h.upload&&h.upload.addEventListener("progress",D3(t.onUploadProgress)),(t.cancelToken||t.signal)&&(c=p=>{h&&(r(!p||p.type?new sa(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=iL(f);if(g&&ir.protocols.indexOf(g)===-1){r(new Oe("Unsupported protocol "+g+":",Oe.ERR_BAD_REQUEST,t));return}h.send(s||null)})}};Y.forEach(L1,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const E3=t=>`- ${t}`,aL=t=>Y.isFunction(t)||t===null||t===!1,$3={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,!aL(n)&&(r=L1[(a=String(n)).toLowerCase()],r===void 0))throw new Oe(`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 :
|
|
48
48
|
`+i.map(E3).join(`
|
|
49
|
-
`):" "+E3(i[0]):"as no adapter specified";throw new
|
|
50
|
-
`+i):r.stack=i}throw r}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Ni(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:i}=n;r!==void 0&&B1.assertOptions(r,{silentJSONParsing:ss.transitional(ss.boolean),forcedJSONParsing:ss.transitional(ss.boolean),clarifyTimeoutError:ss.transitional(ss.boolean)},!1),s!=null&&(Y.isFunction(s)?n.paramsSerializer={serialize:s}:B1.assertOptions(s,{encode:ss.function,serialize:ss.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=Dr.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=[P3.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=P3.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=Ni(this.defaults,e);const n=O3(e.baseURL,e.url);return k3(n,e.params,e.paramsSerializer)}}Y.forEach(["delete","get","head","options"],function(e){tc.prototype[e]=function(n,r){return this.request(Ni(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(Ni(l||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}tc.prototype[e]=n(),tc.prototype[e+"Form"]=n(!0)});const nc=tc;class A1{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 sa(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 A1(function(s){e=s}),cancel:e}}}const cL=A1;function dL(t){return function(n){return t.apply(null,n)}}function uL(t){return Y.isObject(t)&&t.isAxiosError===!0}const F1={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(F1).forEach(([t,e])=>{F1[e]=t});const hL=F1;function B3(t){const e=new nc(t),n=i3(nc.prototype.request,e);return Y.extend(n,nc.prototype,e,{allOwnKeys:!0}),Y.extend(n,e,null,{allOwnKeys:!0}),n.create=function(s){return B3(Ni(t,s))},n}const lt=B3(E1);lt.Axios=nc,lt.CanceledError=sa,lt.CancelToken=cL,lt.isCancel=T3,lt.VERSION=V3,lt.toFormData=Ql,lt.AxiosError=Te,lt.Cancel=lt.CanceledError,lt.all=function(e){return Promise.all(e)},lt.spread=dL,lt.isAxiosError=uL,lt.mergeConfig=Ni,lt.AxiosHeaders=Dr,lt.formToJSON=t=>S3(Y.isHTMLForm(t)?new FormData(t):t),lt.getAdapter=$3.getAdapter,lt.HttpStatusCode=hL,lt.default=lt;const rc=lt.create({baseURL:"https://api.scope360.io/"}),fL=async()=>{try{const t=an.getItem("refresh_token");if(!t)throw new Error("No refresh token available");const e=await lt.post("https://api.scope360.io/refresh",{},{headers:{Authorization:"Bearer "+t}}),{access_token:n,access_expired:r,refresh_expired:s,refresh_token:i}=e.data;return an.setItem("access_token",n,r),an.setItem("refresh_token",i,s),n}catch(t){if(console.error("Error refreshing access token:",t),an.removeItem("access_token"),an.removeItem("refresh_token"),an.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}},mL=t=>an.getItem("isOAuth")?t:"Bearer "+t;rc.interceptors.request.use(async t=>{const e=an.getItem("access_token");return t.headers={Accept:"application/json"},an.getItem("access_token")&&(t.headers.Authorization=mL(e)),t},t=>{Promise.reject(t)}),rc.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 fL();return lt.defaults.headers.common.Authorization="Bearer "+n,rc(e)}else return Promise.reject(t)}catch{if(an.removeItem("access_token"),an.removeItem("refresh_token"),an.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 pL={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 gL extends js{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class _L extends js{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class yL extends js{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class Bi extends js{}class A3 extends js{constructor(e){super(`Invalid unit ${e}`)}}class Zt extends js{}class is extends js{constructor(){super("Zone is an abstract class")}}const ne="numeric",Bn="short",ln="long",sc={year:ne,month:ne,day:ne},F3={year:ne,month:Bn,day:ne},wL={year:ne,month:Bn,day:ne,weekday:Bn},R3={year:ne,month:ln,day:ne},I3={year:ne,month:ln,day:ne,weekday:ln},z3={hour:ne,minute:ne},H3={hour:ne,minute:ne,second:ne},Y3={hour:ne,minute:ne,second:ne,timeZoneName:Bn},W3={hour:ne,minute:ne,second:ne,timeZoneName:ln},j3={hour:ne,minute:ne,hourCycle:"h23"},Z3={hour:ne,minute:ne,second:ne,hourCycle:"h23"},U3={hour:ne,minute:ne,second:ne,hourCycle:"h23",timeZoneName:Bn},q3={hour:ne,minute:ne,second:ne,hourCycle:"h23",timeZoneName:ln},G3={year:ne,month:ne,day:ne,hour:ne,minute:ne},K3={year:ne,month:ne,day:ne,hour:ne,minute:ne,second:ne},X3={year:ne,month:Bn,day:ne,hour:ne,minute:ne},Q3={year:ne,month:Bn,day:ne,hour:ne,minute:ne,second:ne},bL={year:ne,month:Bn,day:ne,weekday:Bn,hour:ne,minute:ne},J3={year:ne,month:ln,day:ne,hour:ne,minute:ne,timeZoneName:Bn},eg={year:ne,month:ln,day:ne,hour:ne,minute:ne,second:ne,timeZoneName:Bn},tg={year:ne,month:ln,day:ne,weekday:ln,hour:ne,minute:ne,timeZoneName:ln},ng={year:ne,month:ln,day:ne,weekday:ln,hour:ne,minute:ne,second:ne,timeZoneName:ln};class ia{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 R1=null;class ic extends ia{static get instance(){return R1===null&&(R1=new ic),R1}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:n,locale:r}){return vg(e,n,r)}formatOffset(e,n){return ca(this.offset(e),n)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}}let oc={};function kL(t){return oc[t]||(oc[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"})),oc[t]}const CL={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function xL(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 ML(t,e){const n=t.formatToParts(e),r=[];for(let s=0;s<n.length;s++){const{type:i,value:a}=n[s],l=CL[i];i==="era"?r[l]=a:me(l)||(r[l]=parseInt(a,10))}return r}let ac={};class Er extends ia{static create(e){return ac[e]||(ac[e]=new Er(e)),ac[e]}static resetCache(){ac={},oc={}}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 vg(e,n,r,this.name)}formatOffset(e,n){return ca(this.offset(e),n)}offset(e){const n=new Date(e);if(isNaN(n))return NaN;const r=kL(this.name);let[s,i,a,l,c,d,u]=r.formatToParts?ML(r,n):xL(r,n);l==="BC"&&(s=-Math.abs(s)+1);const f=hc({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 rg={};function SL(t,e={}){const n=JSON.stringify([t,e]);let r=rg[n];return r||(r=new Intl.ListFormat(t,e),rg[n]=r),r}let I1={};function z1(t,e={}){const n=JSON.stringify([t,e]);let r=I1[n];return r||(r=new Intl.DateTimeFormat(t,e),I1[n]=r),r}let H1={};function vL(t,e={}){const n=JSON.stringify([t,e]);let r=H1[n];return r||(r=new Intl.NumberFormat(t,e),H1[n]=r),r}let Y1={};function TL(t,e={}){const{base:n,...r}=e,s=JSON.stringify([t,r]);let i=Y1[s];return i||(i=new Intl.RelativeTimeFormat(t,e),Y1[s]=i),i}let oa=null;function OL(){return oa||(oa=new Intl.DateTimeFormat().resolvedOptions().locale,oa)}let sg={};function DL(t){let e=sg[t];if(!e){const n=new Intl.Locale(t);e="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,sg[t]=e}return e}function EL(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=z1(t).resolvedOptions(),s=t}catch{const c=t.substring(0,n);r=z1(c).resolvedOptions(),s=c}const{numberingSystem:i,calendar:a}=r;return[s,i,a]}}function $L(t,e,n){return(n||e)&&(t.includes("-u-")||(t+="-u"),n&&(t+=`-ca-${n}`),e&&(t+=`-nu-${e}`)),t}function PL(t){const e=[];for(let n=1;n<=12;n++){const r=pe.utc(2009,n,1);e.push(t(r))}return e}function LL(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 lc(t,e,n,r){const s=t.listingMode();return s==="error"?null:s==="en"?n(e):r(e)}function VL(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 NL{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=vL(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):K1(e,3);return wt(n,this.padTo)}}}class BL{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=z1(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 AL{constructor(e,n,r){this.opts={style:"long",...r},!n&&Cg()&&(this.rtf=TL(e,r))}format(e,n){return this.rtf?this.rtf.format(e,n):rV(n,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,n){return this.rtf?this.rtf.formatToParts(e,n):[]}}const FL={firstDay:1,minimalDays:4,weekend:[6,7]};class He{static fromOpts(e){return He.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,n,r,s,i=!1){const a=e||_t.defaultLocale,l=a||(i?"en-US":OL()),c=n||_t.defaultNumberingSystem,d=r||_t.defaultOutputCalendar,u=q1(s)||_t.defaultWeekSettings;return new He(l,c,d,u,a)}static resetCache(){oa=null,I1={},H1={},Y1={}}static fromObject({locale:e,numberingSystem:n,outputCalendar:r,weekSettings:s}={}){return He.create(e,n,r,s)}constructor(e,n,r,s,i){const[a,l,c]=EL(e);this.locale=a,this.numberingSystem=n||l||null,this.outputCalendar=r||c||null,this.weekSettings=s,this.intl=$L(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=VL(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:He.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,q1(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 lc(this,e,Dg,()=>{const r=n?{month:e,day:"numeric"}:{month:e},s=n?"format":"standalone";return this.monthsCache[s][e]||(this.monthsCache[s][e]=PL(i=>this.extract(i,r,"month"))),this.monthsCache[s][e]})}weekdays(e,n=!1){return lc(this,e,Pg,()=>{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]=LL(i=>this.extract(i,r,"weekday"))),this.weekdaysCache[s][e]})}meridiems(){return lc(this,void 0,()=>Lg,()=>{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 lc(this,e,Vg,()=>{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 NL(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,n={}){return new BL(e,this.intl,n)}relFormatter(e={}){return new AL(this.intl,this.isEnglish(),e)}listFormatter(e={}){return SL(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:xg()?DL(this.locale):FL}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 W1=null;class Bt extends ia{static get utcInstance(){return W1===null&&(W1=new Bt(0)),W1}static instance(e){return e===0?Bt.utcInstance:new Bt(e)}static parseSpecifier(e){if(e){const n=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new Bt(fc(n[1],n[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${ca(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${ca(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,n){return ca(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 RL extends ia{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 ia)return t;if(HL(t)){const n=t.toLowerCase();return n==="default"?e:n==="local"||n==="system"?ic.instance:n==="utc"||n==="gmt"?Bt.utcInstance:Bt.parseSpecifier(n)||Er.create(t)}else return Zs(t)?Bt.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new RL(t)}let ig=()=>Date.now(),og="system",ag=null,lg=null,cg=null,dg=60,ug,hg=null;class _t{static get now(){return ig}static set now(e){ig=e}static set defaultZone(e){og=e}static get defaultZone(){return os(og,ic.instance)}static get defaultLocale(){return ag}static set defaultLocale(e){ag=e}static get defaultNumberingSystem(){return lg}static set defaultNumberingSystem(e){lg=e}static get defaultOutputCalendar(){return cg}static set defaultOutputCalendar(e){cg=e}static get defaultWeekSettings(){return hg}static set defaultWeekSettings(e){hg=q1(e)}static get twoDigitCutoffYear(){return dg}static set twoDigitCutoffYear(e){dg=e%100}static get throwOnInvalid(){return ug}static set throwOnInvalid(e){ug=e}static resetCaches(){He.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 fg=[0,31,59,90,120,151,181,212,243,273,304,334],mg=[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 j1(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 pg(t,e,n){return n+(aa(t)?mg:fg)[e-1]}function gg(t,e){const n=aa(t)?mg:fg,r=n.findIndex(i=>i<e),s=e-n[r];return{month:r+1,day:s}}function Z1(t,e){return(t-e+7)%7+1}function cc(t,e=4,n=1){const{year:r,month:s,day:i}=t,a=pg(r,s,i),l=Z1(j1(r,s,i),n);let c=Math.floor((a-l+14-e)/7),d;return c<1?(d=r-1,c=la(d,e,n)):c>la(r,e,n)?(d=r+1,c=1):d=r,{weekYear:d,weekNumber:c,weekday:l,...pc(t)}}function _g(t,e=4,n=1){const{weekYear:r,weekNumber:s,weekday:i}=t,a=Z1(j1(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}=gg(d,c);return{year:d,month:u,day:h,...pc(t)}}function U1(t){const{year:e,month:n,day:r}=t,s=pg(e,n,r);return{year:e,ordinal:s,...pc(t)}}function yg(t){const{year:e,ordinal:n}=t,{month:r,day:s}=gg(e,n);return{year:e,month:r,day:s,...pc(t)}}function wg(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 IL(t,e=4,n=1){const r=dc(t.weekYear),s=xn(t.weekNumber,1,la(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 zL(t){const e=dc(t.year),n=xn(t.ordinal,1,Fi(t.year));return e?n?!1:Cn("ordinal",t.ordinal):Cn("year",t.year)}function bg(t){const e=dc(t.year),n=xn(t.month,1,12),r=xn(t.day,1,uc(t.year,t.month));return e?n?r?!1:Cn("day",t.day):Cn("month",t.month):Cn("year",t.year)}function kg(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 dc(t){return typeof t=="number"&&t%1===0}function HL(t){return typeof t=="string"}function YL(t){return Object.prototype.toString.call(t)==="[object Date]"}function Cg(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function xg(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function WL(t){return Array.isArray(t)?t:[t]}function Mg(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 jL(t,e){return e.reduce((n,r)=>(n[r]=t[r],n),{})}function Ai(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function q1(t){if(t==null)return null;if(typeof t!="object")throw new Zt("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 Zt("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function xn(t,e,n){return dc(t)&&t>=e&&t<=n}function ZL(t,e){return t-e*Math.floor(t/e)}function wt(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 G1(t){if(!(me(t)||t===null||t==="")){const e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function K1(t,e,n=!1){const r=10**e;return(n?Math.trunc:Math.round)(t*r)/r}function aa(t){return t%4===0&&(t%100!==0||t%400===0)}function Fi(t){return aa(t)?366:365}function uc(t,e){const n=ZL(e-1,12)+1,r=t+(e-n)/12;return n===2?aa(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function hc(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 Sg(t,e,n){return-Z1(j1(t,1,e),n)+e-1}function la(t,e=4,n=1){const r=Sg(t,e,n),s=Sg(t+1,e,n);return(Fi(t)-r+s)/7}function X1(t){return t>99?t:t>_t.twoDigitCutoffYear?1900+t:2e3+t}function vg(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 fc(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 Tg(t){const e=Number(t);if(typeof t=="boolean"||t===""||Number.isNaN(e))throw new Zt(`Invalid unit value ${t}`);return e}function mc(t,e){const n={};for(const r in t)if(Ai(t,r)){const s=t[r];if(s==null)continue;n[e(r)]=Tg(s)}return n}function ca(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}${wt(n,2)}:${wt(r,2)}`;case"narrow":return`${s}${n}${r>0?`:${r}`:""}`;case"techie":return`${s}${wt(n,2)}${wt(r,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function pc(t){return jL(t,["hour","minute","second","millisecond"])}const UL=["January","February","March","April","May","June","July","August","September","October","November","December"],Og=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],qL=["J","F","M","A","M","J","J","A","S","O","N","D"];function Dg(t){switch(t){case"narrow":return[...qL];case"short":return[...Og];case"long":return[...UL];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 Eg=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],$g=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],GL=["M","T","W","T","F","S","S"];function Pg(t){switch(t){case"narrow":return[...GL];case"short":return[...$g];case"long":return[...Eg];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Lg=["AM","PM"],KL=["Before Christ","Anno Domini"],XL=["BC","AD"],QL=["B","A"];function Vg(t){switch(t){case"narrow":return[...QL];case"short":return[...XL];case"long":return[...KL];default:return null}}function JL(t){return Lg[t.hour<12?0:1]}function eV(t,e){return Pg(e)[t.weekday-1]}function tV(t,e){return Dg(e)[t.month-1]}function nV(t,e){return Vg(e)[t.year<0?0:1]}function rV(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 Ng(t,e){let n="";for(const r of t)r.literal?n+=r.val:n+=e(r.val);return n}const sV={D:sc,DD:F3,DDD:R3,DDDD:I3,t:z3,tt:H3,ttt:Y3,tttt:W3,T:j3,TT:Z3,TTT:U3,TTTT:q3,f:G3,ff:X3,fff:J3,ffff:tg,F:K3,FF:Q3,FFF:eg,FFFF:ng};class Vt{static create(e,n={}){return new Vt(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 sV[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 wt(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?JL(e):i({hour:"numeric",hourCycle:"h12"},"dayperiod"),c=(m,g)=>r?tV(e,m):i(g?{month:m}:{month:m,day:"numeric"},"month"),d=(m,g)=>r?eV(e,m):i(g?{weekday:m}:{weekday:m,month:"long",day:"numeric"},"weekday"),u=m=>{const g=Vt.macroTokenToFormatOpts(m);return g?this.formatWithSystemDefault(e,g):m},h=m=>r?nV(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 Ng(Vt.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=Vt.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 Ng(i,s(l))}}const Bg=/[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 zi(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 Ag(...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 Fg=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,iV=`(?:${Fg.source}?(?:\\[(${Bg.source})\\])?)?`,Q1=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Rg=RegExp(`${Q1.source}${iV}`),J1=RegExp(`(?:T${Rg.source})?`),oV=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,aV=/(\d{4})-?W(\d\d)(?:-?(\d))?/,lV=/(\d{4})-?(\d{3})/,cV=Ag("weekYear","weekNumber","weekDay"),dV=Ag("year","ordinal"),uV=/(\d{4})-(\d\d)-(\d\d)/,Ig=RegExp(`${Q1.source} ?(?:${Fg.source}|(${Bg.source}))?`),hV=RegExp(`(?: ${Ig.source})?`);function Hi(t,e,n){const r=t[e];return me(r)?n:as(r)}function fV(t,e){return[{year:Hi(t,e),month:Hi(t,e+1,1),day:Hi(t,e+2,1)},null,e+3]}function Yi(t,e){return[{hours:Hi(t,e,0),minutes:Hi(t,e+1,0),seconds:Hi(t,e+2,0),milliseconds:G1(t[e+3])},null,e+4]}function da(t,e){const n=!t[e]&&!t[e+1],r=fc(t[e+1],t[e+2]),s=n?null:Bt.instance(r);return[{},s,e+3]}function ua(t,e){const n=t[e]?Er.create(t[e]):null;return[{},n,e+1]}const mV=RegExp(`^T?${Q1.source}$`),pV=/^-?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 gV(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(G1(d),h)}]}const _V={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 eh(t,e,n,r,s,i,a){const l={year:e.length===2?X1(as(e)):as(e),month:Og.indexOf(n)+1,day:as(r),hour:as(s),minute:as(i)};return a&&(l.second=as(a)),t&&(l.weekday=t.length>3?Eg.indexOf(t)+1:$g.indexOf(t)+1),l}const yV=/^(?:(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 wV(t){const[,e,n,r,s,i,a,l,c,d,u,h]=t,f=eh(e,s,r,n,i,a,l);let m;return c?m=_V[c]:d?m=0:m=fc(u,h),[f,new Bt(m)]}function bV(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const kV=/^(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$/,CV=/^(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$/,xV=/^(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 zg(t){const[,e,n,r,s,i,a,l]=t;return[eh(e,s,r,n,i,a,l),Bt.utcInstance]}function MV(t){const[,e,n,r,s,i,a,l]=t;return[eh(e,l,n,r,s,i,a),Bt.utcInstance]}const SV=Ri(oV,J1),vV=Ri(aV,J1),TV=Ri(lV,J1),OV=Ri(Rg),Hg=Ii(fV,Yi,da,ua),DV=Ii(cV,Yi,da,ua),EV=Ii(dV,Yi,da,ua),$V=Ii(Yi,da,ua);function PV(t){return zi(t,[SV,Hg],[vV,DV],[TV,EV],[OV,$V])}function LV(t){return zi(bV(t),[yV,wV])}function VV(t){return zi(t,[kV,zg],[CV,zg],[xV,MV])}function NV(t){return zi(t,[pV,gV])}const BV=Ii(Yi);function AV(t){return zi(t,[mV,BV])}const FV=Ri(uV,hV),RV=Ri(Ig),IV=Ii(Yi,da,ua);function zV(t){return zi(t,[FV,Hg],[RV,IV])}const Yg="Invalid Duration",Wg={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}},HV={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},...Wg},Mn=146097/400,Wi=146097/4800,YV={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},...Wg},qs=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],WV=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 De(r)}function jg(t,e){let n=e.milliseconds??0;for(const r of WV.slice(1))e[r]&&(n+=e[r]*t[r].milliseconds);return n}function Zg(t,e){const n=jg(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 jV(t){const e={};for(const[n,r]of Object.entries(t))r!==0&&(e[n]=r);return e}class De{constructor(e){const n=e.conversionAccuracy==="longterm"||!1;let r=n?YV:HV;e.matrix&&(r=e.matrix),this.values=e.values,this.loc=e.loc||He.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(e,n){return De.fromObject({milliseconds:e},n)}static fromObject(e,n={}){if(e==null||typeof e!="object")throw new Zt(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new De({values:mc(e,De.normalizeUnit),loc:He.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(e){if(Zs(e))return De.fromMillis(e);if(De.isDuration(e))return e;if(typeof e=="object")return De.fromObject(e);throw new Zt(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,n){const[r]=NV(e);return r?De.fromObject(r,n):De.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,n){const[r]=AV(e);return r?De.fromObject(r,n):De.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,n=null){if(!e)throw new Zt("need to specify a reason the Duration is invalid");const r=e instanceof An?e:new An(e,n);if(_t.throwOnInvalid)throw new yL(r);return new De({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 A3(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?Vt.create(this.loc,r).formatDurationFromString(this,e):Yg}toHuman(e={}){if(!this.isValid)return Yg;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+=K1(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?jg(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const n=De.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=De.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]=Tg(e(this.values[r],r));return ls(this,{values:n},!0)}get(e){return this[De.normalizeUnit(e)]}set(e){if(!this.isValid)return this;const n={...this.values,...mc(e,De.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 Zg(this.matrix,e),ls(this,{values:e},!0)}rescale(){if(!this.isValid)return this;const e=jV(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=>De.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 Zg(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 ZV(t,e){return!t||!t.isValid?ct.invalid("missing or invalid start"):!e||!e.isValid?ct.invalid("missing or invalid end"):e<t?ct.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 ct{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 Zt("need to specify a reason the Interval is invalid");const r=e instanceof An?e:new An(e,n);if(_t.throwOnInvalid)throw new _L(r);return new ct({invalid:r})}static fromDateTimes(e,n){const r=fa(e),s=fa(n),i=ZV(r,s);return i??new ct({start:r,end:s})}static after(e,n){const r=De.fromDurationLike(n),s=fa(e);return ct.fromDateTimes(s,s.plus(r))}static before(e,n){const r=De.fromDurationLike(n),s=fa(e);return ct.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 ct.fromDateTimes(i,l);if(a){const d=De.fromISO(s,n);if(d.isValid)return ct.after(i,d)}else if(c){const d=De.fromISO(r,n);if(d.isValid)return ct.before(l,d)}}return ct.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?ct.fromDateTimes(e||this.s,n||this.e):this}splitAt(...e){if(!this.isValid)return[];const n=e.map(fa).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(ct.fromDateTimes(s,l)),s=l,i+=1}return r}splitBy(e){const n=De.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(ct.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:ct.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 ct.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(ct.fromDateTimes(n,c.time)),n=null);return ct.merge(s)}difference(...e){return ct.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=sc,n={}){return this.isValid?Vt.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):De.invalid(this.invalidReason)}mapEndpoints(e){return ct.fromDateTimes(e(this.s),e(this.e))}}class gc{static hasDST(e=_t.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,_t.defaultZone)}static getStartOfWeek({locale:e=null,locObj:n=null}={}){return(n||He.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:n=null}={}){return(n||He.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:n=null}={}){return(n||He.create(e)).getWeekendDays().slice()}static months(e="long",{locale:n=null,numberingSystem:r=null,locObj:s=null,outputCalendar:i="gregory"}={}){return(s||He.create(n,r,i)).months(e)}static monthsFormat(e="long",{locale:n=null,numberingSystem:r=null,locObj:s=null,outputCalendar:i="gregory"}={}){return(s||He.create(n,r,i)).months(e,!0)}static weekdays(e="long",{locale:n=null,numberingSystem:r=null,locObj:s=null}={}){return(s||He.create(n,r,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:n=null,numberingSystem:r=null,locObj:s=null}={}){return(s||He.create(n,r,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return He.create(e).meridiems()}static eras(e="short",{locale:n=null}={}){return He.create(n,null,"gregory").eras(e)}static features(){return{relative:Cg(),localeWeek:xg()}}}function Ug(t,e){const n=s=>s.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(e)-n(t);return Math.floor(De.fromMillis(r).as("days"))}function UV(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=Ug(c,d);return(u-u%7)/7}],["days",Ug]],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 qV(t,e,n,r){let[s,i,a,l]=UV(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=De.fromObject(i,r);return d.length>0?De.fromMillis(c,r).shiftTo(...d).plus(u):u}const th={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},qg={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]},GV=th.hanidec.replace(/[\[|\]]/g,"").split("");function KV(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(th.hanidec)!==-1)e+=GV.indexOf(t[n]);else for(const s in qg){const[i,a]=qg[s];r>=i&&r<=a&&(e+=r-i)}}return parseInt(e,10)}else return e}function Fn({numberingSystem:t},e=""){return new RegExp(`${th[t||"latn"]}${e}`)}const XV="missing Intl.DateTimeFormat.formatToParts support";function Be(t,e=n=>n){return{regex:t,deser:([n])=>e(KV(n))}}const Gg="[ ]",Kg=new RegExp(Gg,"g");function QV(t){return t.replace(/\./g,"\\.?").replace(Kg,Gg)}function Xg(t){return t.replace(/\./g,"").replace(Kg," ").toLowerCase()}function Rn(t,e){return t===null?null:{regex:RegExp(t.map(QV).join("|")),deser:([n])=>t.findIndex(r=>Xg(n)===Xg(r))+e}}function Qg(t,e){return{regex:t,deser:([,n,r])=>fc(n,r),groups:e}}function _c(t){return{regex:t,deser:([e])=>e}}function JV(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function eN(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(JV(_.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,X1);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 _c(u);case"uu":return _c(l);case"uuu":return Be(n);case"a":return Rn(e.meridiems(),0);case"kkkk":return Be(i);case"kk":return Be(h,X1);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 Qg(new RegExp(`([+-]${l.source})(?::(${r.source}))?`),2);case"ZZZ":return Qg(new RegExp(`([+-]${l.source})(${r.source})?`),2);case"z":return _c(/[a-z_+-/]{1,256}?/i);case" ":return _c(/[^\S\n\r]/);default:return m(_)}})(t)||{invalidReason:XV};return p.token=t,p}const tN={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 nN(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=tN[a];if(typeof l=="object"&&(l=l[i]),l)return{literal:!1,val:l}}function rN(t){return[`^${t.map(n=>n.regex).reduce((n,r)=>`${n}(${r.source})`,"")}$`,t]}function sN(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 iN(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 Bt(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=G1(t.u)),[Object.keys(t).reduce((i,a)=>{const l=e(a);return l&&(i[l]=t[a]),i},{}),n,r]}let nh=null;function oN(){return nh||(nh=pe.fromMillis(1555555555555)),nh}function aN(t,e){if(t.literal)return t;const n=Vt.macroTokenToFormatOpts(t.val),r=t6(n,e);return r==null||r.includes(void 0)?t:r}function Jg(t,e){return Array.prototype.concat(...t.map(n=>aN(n,e)))}function e6(t,e,n){const r=Jg(Vt.parseFormat(n),t),s=r.map(a=>eN(a,t)),i=s.find(a=>a.invalidReason);if(i)return{input:e,tokens:r,invalidReason:i.invalidReason};{const[a,l]=rN(s),c=RegExp(a,"i"),[d,u]=sN(e,c,l),[h,f,m]=u?iN(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 lN(t,e,n){const{result:r,zone:s,specificOffset:i,invalidReason:a}=e6(t,e,n);return[r,s,i,a]}function t6(t,e){if(!t)return null;const r=Vt.create(e,t).dtFormatter(oN()),s=r.formatToParts(),i=r.resolvedOptions();return s.map(a=>nN(a,t,i))}const rh="Invalid DateTime",n6=864e13;function yc(t){return new An("unsupported zone",`the zone "${t.name}" is not supported`)}function sh(t){return t.weekData===null&&(t.weekData=cc(t.c)),t.weekData}function ih(t){return t.localWeekData===null&&(t.localWeekData=cc(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 r6(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 wc(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 bc(t,e,n){return r6(hc(t),e,n)}function s6(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,uc(r,s))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},a=De.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=hc(i);let[c,d]=r6(l,n,t.zone);return a!==0&&(c+=a,d=t.zone.offset(c)),{ts:c,o:d}}function ha(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 kc(t,e,n=!0){return t.isValid?Vt.create(He.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function oh(t,e){const n=t.c.year>9999||t.c.year<0;let r="";return n&&t.c.year>=0&&(r+="+"),r+=wt(t.c.year,n?6:4),e?(r+="-",r+=wt(t.c.month),r+="-",r+=wt(t.c.day)):(r+=wt(t.c.month),r+=wt(t.c.day)),r}function i6(t,e,n,r,s,i){let a=wt(t.c.hour);return e?(a+=":",a+=wt(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!n)&&(a+=":")):a+=wt(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!n)&&(a+=wt(t.c.second),(t.c.millisecond!==0||!r)&&(a+=".",a+=wt(t.c.millisecond,3))),s&&(t.isOffsetFixed&&t.offset===0&&!i?a+="Z":t.o<0?(a+="-",a+=wt(Math.trunc(-t.o/60)),a+=":",a+=wt(Math.trunc(-t.o%60))):(a+="+",a+=wt(Math.trunc(t.o/60)),a+=":",a+=wt(Math.trunc(t.o%60)))),i&&(a+="["+t.zone.ianaName+"]"),a}const o6={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},cN={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},dN={ordinal:1,hour:0,minute:0,second:0,millisecond:0},a6=["year","month","day","hour","minute","second","millisecond"],uN=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],hN=["year","ordinal","hour","minute","second","millisecond"];function fN(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 A3(t);return e}function l6(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return fN(t)}}function c6(t,e){const n=os(e.zone,_t.defaultZone),r=He.fromObject(e),s=_t.now();let i,a;if(me(t.year))i=s;else{for(const d of a6)me(t[d])&&(t[d]=o6[d]);const l=bg(t)||kg(t);if(l)return pe.invalid(l);const c=n.offset(s);[i,a]=bc(t,c,n)}return new pe({ts:i,zone:n,loc:r,o:a})}function d6(t,e,n){const r=me(n.round)?!0:n.round,s=(a,l)=>(a=K1(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 u6(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||_t.defaultZone;let r=e.invalid||(Number.isNaN(e.ts)?new An("invalid input"):null)||(n.isValid?null:yc(n));this.ts=me(e.ts)?_t.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=wc(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||He.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]=u6(arguments),[r,s,i,a,l,c,d]=n;return c6({year:r,month:s,day:i,hour:a,minute:l,second:c,millisecond:d},e)}static utc(){const[e,n]=u6(arguments),[r,s,i,a,l,c,d]=n;return e.zone=Bt.utcInstance,c6({year:r,month:s,day:i,hour:a,minute:l,second:c,millisecond:d},e)}static fromJSDate(e,n={}){const r=YL(e)?e.valueOf():NaN;if(Number.isNaN(r))return pe.invalid("invalid input");const s=os(n.zone,_t.defaultZone);return s.isValid?new pe({ts:r,zone:s,loc:He.fromObject(n)}):pe.invalid(yc(s))}static fromMillis(e,n={}){if(Zs(e))return e<-n6||e>n6?pe.invalid("Timestamp out of range"):new pe({ts:e,zone:os(n.zone,_t.defaultZone),loc:He.fromObject(n)});throw new Zt(`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,_t.defaultZone),loc:He.fromObject(n)});throw new Zt("fromSeconds requires a numerical input")}static fromObject(e,n={}){e=e||{};const r=os(n.zone,_t.defaultZone);if(!r.isValid)return pe.invalid(yc(r));const s=He.fromObject(n),i=mc(e,l6),{minDaysInFirstWeek:a,startOfWeek:l}=wg(i,s),c=_t.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=wc(c,d);p?(_=uN,y=cN,C=cc(C,a,l)):u?(_=hN,y=dN,C=U1(C)):(_=a6,y=o6);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?IL(i,a,l):u?zL(i):bg(i),M=v||kg(i);if(M)return pe.invalid(M);const T=p?_g(i,a,l):u?yg(i):i,[S,D]=bc(T,d,r),E=new pe({ts:S,zone:r,o:D,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]=PV(e);return ha(r,s,n,"ISO 8601",e)}static fromRFC2822(e,n={}){const[r,s]=LV(e);return ha(r,s,n,"RFC 2822",e)}static fromHTTP(e,n={}){const[r,s]=VV(e);return ha(r,s,n,"HTTP",n)}static fromFormat(e,n,r={}){if(me(e)||me(n))throw new Zt("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:i=null}=r,a=He.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0}),[l,c,d,u]=lN(a,e,n);return u?pe.invalid(u):ha(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]=zV(e);return ha(r,s,n,"SQL",e)}static invalid(e,n=null){if(!e)throw new Zt("need to specify a reason the DateTime is invalid");const r=e instanceof An?e:new An(e,n);if(_t.throwOnInvalid)throw new gL(r);return new pe({invalid:r})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,n={}){const r=t6(e,He.fromObject(n));return r?r.map(s=>s?s.val:null).join(""):null}static expandFormat(e,n={}){return Jg(Vt.parseFormat(e),He.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?sh(this).weekYear:NaN}get weekNumber(){return this.isValid?sh(this).weekNumber:NaN}get weekday(){return this.isValid?sh(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?ih(this).weekday:NaN}get localWeekNumber(){return this.isValid?ih(this).weekNumber:NaN}get localWeekYear(){return this.isValid?ih(this).weekYear:NaN}get ordinal(){return this.isValid?U1(this.c).ordinal:NaN}get monthShort(){return this.isValid?gc.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?gc.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?gc.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?gc.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=hc(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=wc(c,a),h=wc(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 aa(this.year)}get daysInMonth(){return uc(this.year,this.month)}get daysInYear(){return this.isValid?Fi(this.year):NaN}get weeksInWeekYear(){return this.isValid?la(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?la(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:n,numberingSystem:r,calendar:s}=Vt.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:n,numberingSystem:r,outputCalendar:s}}toUTC(e=0,n={}){return this.setZone(Bt.instance(e),n)}toLocal(){return this.setZone(_t.defaultZone)}setZone(e,{keepLocalTime:n=!1,keepCalendarTime:r=!1}={}){if(e=os(e,_t.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]=bc(a,i,e)}return Gs(this,{ts:s,zone:e})}else return pe.invalid(yc(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=mc(e,l6),{minDaysInFirstWeek:r,startOfWeek:s}=wg(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=_g({...cc(this.c,r,s),...n},r,s):me(n.ordinal)?(h={...this.toObject(),...n},me(n.day)&&(h.day=Math.min(uc(h.year,h.month),h.day))):h=yg({...U1(this.c),...n});const[f,m]=bc(h,this.o,this.zone);return Gs(this,{ts:f,o:m})}plus(e){if(!this.isValid)return this;const n=De.fromDurationLike(e);return Gs(this,s6(this,n))}minus(e){if(!this.isValid)return this;const n=De.fromDurationLike(e).negate();return Gs(this,s6(this,n))}startOf(e,{useLocaleWeeks:n=!1}={}){if(!this.isValid)return this;const r={},s=De.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?Vt.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,e):rh}toLocaleString(e=sc,n={}){return this.isValid?Vt.create(this.loc.clone(n),e).formatDateTime(this):rh}toLocaleParts(e={}){return this.isValid?Vt.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=oh(this,a);return l+="T",l+=i6(this,a,n,r,s,i),l}toISODate({format:e="extended"}={}){return this.isValid?oh(this,e==="extended"):null}toISOWeekDate(){return kc(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":"")+i6(this,a==="extended",n,e,r,i):null}toRFC2822(){return kc(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return kc(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?oh(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")),kc(this,s,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():rh}[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 De.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...r},i=WL(n).map(De.normalizeUnit),a=e.valueOf()>this.valueOf(),l=a?this:e,c=a?e:this,d=qV(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?ct.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),d6(n,this.plus(r),{...e,numeric:"always",units:s,unit:i})}toRelativeCalendar(e={}){return this.isValid?d6(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 Zt("min requires all arguments be DateTimes");return Mg(e,n=>n.valueOf(),Math.min)}static max(...e){if(!e.every(pe.isDateTime))throw new Zt("max requires all arguments be DateTimes");return Mg(e,n=>n.valueOf(),Math.max)}static fromFormatExplain(e,n,r={}){const{locale:s=null,numberingSystem:i=null}=r,a=He.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0});return e6(a,e,n)}static fromStringExplain(e,n,r={}){return pe.fromFormatExplain(e,n,r)}static get DATE_SHORT(){return sc}static get DATE_MED(){return F3}static get DATE_MED_WITH_WEEKDAY(){return wL}static get DATE_FULL(){return R3}static get DATE_HUGE(){return I3}static get TIME_SIMPLE(){return z3}static get TIME_WITH_SECONDS(){return H3}static get TIME_WITH_SHORT_OFFSET(){return Y3}static get TIME_WITH_LONG_OFFSET(){return W3}static get TIME_24_SIMPLE(){return j3}static get TIME_24_WITH_SECONDS(){return Z3}static get TIME_24_WITH_SHORT_OFFSET(){return U3}static get TIME_24_WITH_LONG_OFFSET(){return q3}static get DATETIME_SHORT(){return G3}static get DATETIME_SHORT_WITH_SECONDS(){return K3}static get DATETIME_MED(){return X3}static get DATETIME_MED_WITH_SECONDS(){return Q3}static get DATETIME_MED_WITH_WEEKDAY(){return bL}static get DATETIME_FULL(){return J3}static get DATETIME_FULL_WITH_SECONDS(){return eg}static get DATETIME_HUGE(){return tg}static get DATETIME_HUGE_WITH_SECONDS(){return ng}}function fa(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 Zt(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function Ot(t,e=2){return isNaN(+t)?0:Math.floor(+t*10**e)/10**e}function ah(t){let e=t.toString().split(".");return e[0]=e[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),e.join(".")}function Pe(t,e,n={}){const{repeat:r=4,mask:s="*",prefix:i="",suffix:a=""}=n;return t?i+s.repeat(r)+a:e}function mN(t){return t.reduce((e,n,r)=>r===0?`key=${encodeURIComponent(n.id)}`:e+`&key=${encodeURIComponent(n.id)}`,"")}function pN(t){return new Date(t).getFullYear()}function gN(t){return pe.fromISO(t,{setZone:!0}).toFormat("dd LLLL, y, TT")}function h6(t){return pe.fromISO(t,{setZone:!0}).toFormat("dd/LL/y")}function _N(t){return["January","February","March","April","May","June","July","August","September","October","November","December"][new Date(t).getMonth()]}function yN(t){return new Date(t).getDate()}function lh(t){return pe.fromISO(t,{setZone:!0}).toFormat("cccc")}function wN(t){const e=new Date(t),r=new Date-e;return Math.floor(r/(1e3*3600*24))}const cn=(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=Ot(r)),e.isPercentage?`${n}${r}%`:`${n}$${r}`};function bN(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 f6(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 kN=(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},CN={type:"info",textOnClose:"Dismiss",duration:5e3,hideOnRouteChange:!0},Cc=t=>{if(!(t!=null&&t.message))return;const e={...CN,...t},n=kN(F0,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}},xN=(t,e)=>Cc({...e,message:t,type:"success"}),MN=(t,e)=>Cc({...e,message:t,type:"error"}),SN=(t,e)=>Cc({...e,message:t,type:"info"}),ch=()=>({open:Cc,success:xN,error:MN,info:SN}),vN={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},TN=[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 m6(t,e){return o.openBlock(),o.createElementBlock("svg",vN,[...TN])}const ON=Object.freeze(Object.defineProperty({__proto__:null,default:{render:m6},render:m6},Symbol.toStringTag,{value:"Module"})),DN={width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},EN=[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 p6(t,e){return o.openBlock(),o.createElementBlock("svg",DN,[...EN])}const $N=Object.freeze(Object.defineProperty({__proto__:null,default:{render:p6},render:p6},Symbol.toStringTag,{value:"Module"})),PN={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},LN=[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 g6(t,e){return o.openBlock(),o.createElementBlock("svg",PN,[...LN])}const VN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:g6},render:g6},Symbol.toStringTag,{value:"Module"})),NN={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},BN=[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 _6(t,e){return o.openBlock(),o.createElementBlock("svg",NN,[...BN])}const AN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:_6},render:_6},Symbol.toStringTag,{value:"Module"})),FN={xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 30 30",fill:"none"},RN=[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 y6(t,e){return o.openBlock(),o.createElementBlock("svg",FN,[...RN])}const IN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:y6},render:y6},Symbol.toStringTag,{value:"Module"})),zN={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},HN=[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 w6(t,e){return o.openBlock(),o.createElementBlock("svg",zN,[...HN])}const YN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:w6},render:w6},Symbol.toStringTag,{value:"Module"})),WN={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},jN=[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 b6(t,e){return o.openBlock(),o.createElementBlock("svg",WN,[...jN])}const ZN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:b6},render:b6},Symbol.toStringTag,{value:"Module"})),UN={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},qN=[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 k6(t,e){return o.openBlock(),o.createElementBlock("svg",UN,[...qN])}const GN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:k6},render:k6},Symbol.toStringTag,{value:"Module"})),KN={width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},XN=[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 C6(t,e){return o.openBlock(),o.createElementBlock("svg",KN,[...XN])}const QN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:C6},render:C6},Symbol.toStringTag,{value:"Module"})),JN={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},eB=[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 x6(t,e){return o.openBlock(),o.createElementBlock("svg",JN,[...eB])}const tB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:x6},render:x6},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:"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 M6(t,e){return o.openBlock(),o.createElementBlock("svg",nB,[...rB])}const sB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:M6},render:M6},Symbol.toStringTag,{value:"Module"})),iB={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10",fill:"none"},oB=[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 S6(t,e){return o.openBlock(),o.createElementBlock("svg",iB,[...oB])}const aB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:S6},render:S6},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:"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 v6(t,e){return o.openBlock(),o.createElementBlock("svg",lB,[...cB])}const dB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:v6},render:v6},Symbol.toStringTag,{value:"Module"})),uB={width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},hB=[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 T6(t,e){return o.openBlock(),o.createElementBlock("svg",uB,[...hB])}const fB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:T6},render:T6},Symbol.toStringTag,{value:"Module"})),mB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},pB=[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 O6(t,e){return o.openBlock(),o.createElementBlock("svg",mB,[...pB])}const gB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:O6},render:O6},Symbol.toStringTag,{value:"Module"})),_B={width:"18",height:"12",viewBox:"0 0 18 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},yB=[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 D6(t,e){return o.openBlock(),o.createElementBlock("svg",_B,[...yB])}const wB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:D6},render:D6},Symbol.toStringTag,{value:"Module"})),bB={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},kB=[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 E6(t,e){return o.openBlock(),o.createElementBlock("svg",bB,[...kB])}const CB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:E6},render:E6},Symbol.toStringTag,{value:"Module"})),xB={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},MB=[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 $6(t,e){return o.openBlock(),o.createElementBlock("svg",xB,[...MB])}const SB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:$6},render:$6},Symbol.toStringTag,{value:"Module"})),vB={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},TB=[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 P6(t,e){return o.openBlock(),o.createElementBlock("svg",vB,[...TB])}const OB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:P6},render:P6},Symbol.toStringTag,{value:"Module"})),DB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},EB=[o.createElementVNode("path",{d:"M16.6667 7.5L10.0001 14.1667L3.33337 7.5",stroke:"#1C2026","stroke-linecap":"square"},null,-1)];function L6(t,e){return o.openBlock(),o.createElementBlock("svg",DB,[...EB])}const $B=Object.freeze(Object.defineProperty({__proto__:null,default:{render:L6},render:L6},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:"M11.6663 13.3333L8.33301 10L11.6663 6.66666",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function V6(t,e){return o.openBlock(),o.createElementBlock("svg",PB,[...LB])}const VB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:V6},render:V6},Symbol.toStringTag,{value:"Module"})),NB={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},BB=[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 N6(t,e){return o.openBlock(),o.createElementBlock("svg",NB,[...BB])}const AB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:N6},render:N6},Symbol.toStringTag,{value:"Module"})),FB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},RB=[o.createElementVNode("path",{d:"M8.33301 13.3333L11.6663 10L8.33301 6.66666",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function B6(t,e){return o.openBlock(),o.createElementBlock("svg",FB,[...RB])}const IB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:B6},render:B6},Symbol.toStringTag,{value:"Module"})),zB={width:"6",height:"9",viewBox:"0 0 6 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},HB=[o.createElementVNode("path",{id:"Vector",d:"M1 0.5L5 4.5L1 8.5",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function A6(t,e){return o.openBlock(),o.createElementBlock("svg",zB,[...HB])}const YB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:A6},render:A6},Symbol.toStringTag,{value:"Module"})),WB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},jB=[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 F6(t,e){return o.openBlock(),o.createElementBlock("svg",WB,[...jB])}const ZB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:F6},render:F6},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.66699 8.33337L10.0003 11.6667L13.3337 8.33337",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function R6(t,e){return o.openBlock(),o.createElementBlock("svg",UB,[...qB])}const GB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:R6},render:R6},Symbol.toStringTag,{value:"Module"})),KB={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},XB=[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 I6(t,e){return o.openBlock(),o.createElementBlock("svg",KB,[...XB])}const QB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:I6},render:I6},Symbol.toStringTag,{value:"Module"})),JB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},eA=[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 z6(t,e){return o.openBlock(),o.createElementBlock("svg",JB,[...eA])}const tA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:z6},render:z6},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 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 H6(t,e){return o.openBlock(),o.createElementBlock("svg",nA,[...rA])}const sA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:H6},render:H6},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:"M3.75 3.75L16.25 16.25M16.25 3.75L3.75 16.25",stroke:"#1C2026","stroke-linecap":"square"},null,-1)];function Y6(t,e){return o.openBlock(),o.createElementBlock("svg",iA,[...oA])}const aA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Y6},render:Y6},Symbol.toStringTag,{value:"Module"})),lA={width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},cA=[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 W6(t,e){return o.openBlock(),o.createElementBlock("svg",lA,[...cA])}const dA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:W6},render:W6},Symbol.toStringTag,{value:"Module"})),uA={xmlns:"http://www.w3.org/2000/svg",width:"21",height:"20",viewBox:"0 0 21 20",fill:"none"},hA=[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 j6(t,e){return o.openBlock(),o.createElementBlock("svg",uA,[...hA])}const fA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:j6},render:j6},Symbol.toStringTag,{value:"Module"})),mA={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},pA=[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 Z6(t,e){return o.openBlock(),o.createElementBlock("svg",mA,[...pA])}const gA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Z6},render:Z6},Symbol.toStringTag,{value:"Module"})),_A={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"21",viewBox:"0 0 20 21",fill:"none"},yA=[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 U6(t,e){return o.openBlock(),o.createElementBlock("svg",_A,[...yA])}const wA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:U6},render:U6},Symbol.toStringTag,{value:"Module"})),bA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},kA=[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 q6(t,e){return o.openBlock(),o.createElementBlock("svg",bA,[...kA])}const CA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:q6},render:q6},Symbol.toStringTag,{value:"Module"})),xA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"21",viewBox:"0 0 20 21",fill:"none"},MA=[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 G6(t,e){return o.openBlock(),o.createElementBlock("svg",xA,[...MA])}const SA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:G6},render:G6},Symbol.toStringTag,{value:"Module"})),vA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},TA=[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 K6(t,e){return o.openBlock(),o.createElementBlock("svg",vA,[...TA])}const OA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:K6},render:K6},Symbol.toStringTag,{value:"Module"})),DA={width:"34",height:"31",viewBox:"0 0 34 31",fill:"none",xmlns:"http://www.w3.org/2000/svg"},EA=[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 X6(t,e){return o.openBlock(),o.createElementBlock("svg",DA,[...EA])}const $A=Object.freeze(Object.defineProperty({__proto__:null,default:{render:X6},render:X6},Symbol.toStringTag,{value:"Module"})),PA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},LA=[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 Q6(t,e){return o.openBlock(),o.createElementBlock("svg",PA,[...LA])}const VA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Q6},render:Q6},Symbol.toStringTag,{value:"Module"})),NA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},BA=[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 J6(t,e){return o.openBlock(),o.createElementBlock("svg",NA,[...BA])}const AA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:J6},render:J6},Symbol.toStringTag,{value:"Module"})),FA={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},RA=[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 e_(t,e){return o.openBlock(),o.createElementBlock("svg",FA,[...RA])}const IA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:e_},render:e_},Symbol.toStringTag,{value:"Module"})),zA={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},HA=[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 t_(t,e){return o.openBlock(),o.createElementBlock("svg",zA,[...HA])}const YA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:t_},render:t_},Symbol.toStringTag,{value:"Module"})),WA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},jA=[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 n_(t,e){return o.openBlock(),o.createElementBlock("svg",WA,[...jA])}const ZA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:n_},render:n_},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("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 r_(t,e){return o.openBlock(),o.createElementBlock("svg",UA,[...qA])}const GA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:r_},render:r_},Symbol.toStringTag,{value:"Module"})),KA={width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},XA=[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 s_(t,e){return o.openBlock(),o.createElementBlock("svg",KA,[...XA])}const QA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:s_},render:s_},Symbol.toStringTag,{value:"Module"})),JA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},eF=[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 i_(t,e){return o.openBlock(),o.createElementBlock("svg",JA,[...eF])}const tF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:i_},render:i_},Symbol.toStringTag,{value:"Module"})),nF={width:"19",height:"16",viewBox:"0 0 19 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},rF=[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 o_(t,e){return o.openBlock(),o.createElementBlock("svg",nF,[...rF])}const sF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:o_},render:o_},Symbol.toStringTag,{value:"Module"})),iF={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},oF=[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 a_(t,e){return o.openBlock(),o.createElementBlock("svg",iF,[...oF])}const aF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:a_},render:a_},Symbol.toStringTag,{value:"Module"})),lF={width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},cF=[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 l_(t,e){return o.openBlock(),o.createElementBlock("svg",lF,[...cF])}const dF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:l_},render:l_},Symbol.toStringTag,{value:"Module"})),uF={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},hF=[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 c_(t,e){return o.openBlock(),o.createElementBlock("svg",uF,[...hF])}const fF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:c_},render:c_},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 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 d_(t,e){return o.openBlock(),o.createElementBlock("svg",mF,[...pF])}const gF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:d_},render:d_},Symbol.toStringTag,{value:"Module"})),_F={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},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:"#F2F2F2"},null,-1)];function u_(t,e){return o.openBlock(),o.createElementBlock("svg",_F,[...yF])}const wF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:u_},render:u_},Symbol.toStringTag,{value:"Module"})),bF={width:"24",height:"23",viewBox:"0 0 24 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},kF=[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 h_(t,e){return o.openBlock(),o.createElementBlock("svg",bF,[...kF])}const CF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:h_},render:h_},Symbol.toStringTag,{value:"Module"})),xF={width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},MF=[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 f_(t,e){return o.openBlock(),o.createElementBlock("svg",xF,[...MF])}const SF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:f_},render:f_},Symbol.toStringTag,{value:"Module"})),vF={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},TF=[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 m_(t,e){return o.openBlock(),o.createElementBlock("svg",vF,[...TF])}const OF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:m_},render:m_},Symbol.toStringTag,{value:"Module"})),DF={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},EF=[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 p_(t,e){return o.openBlock(),o.createElementBlock("svg",DF,[...EF])}const $F=Object.freeze(Object.defineProperty({__proto__:null,default:{render:p_},render:p_},Symbol.toStringTag,{value:"Module"})),PF={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},LF=[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 g_(t,e){return o.openBlock(),o.createElementBlock("svg",PF,[...LF])}const VF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:g_},render:g_},Symbol.toStringTag,{value:"Module"})),NF={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},BF=[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 __(t,e){return o.openBlock(),o.createElementBlock("svg",NF,[...BF])}const AF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:__},render:__},Symbol.toStringTag,{value:"Module"})),FF={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},RF=[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 y_(t,e){return o.openBlock(),o.createElementBlock("svg",FF,[...RF])}const IF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:y_},render:y_},Symbol.toStringTag,{value:"Module"})),zF={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"21",viewBox:"0 0 20 21",fill:"none"},HF=[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 w_(t,e){return o.openBlock(),o.createElementBlock("svg",zF,[...HF])}const YF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:w_},render:w_},Symbol.toStringTag,{value:"Module"})),WF={width:"126",height:"21",viewBox:"0 0 126 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},jF=[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 b_(t,e){return o.openBlock(),o.createElementBlock("svg",WF,[...jF])}const ZF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:b_},render:b_},Symbol.toStringTag,{value:"Module"})),UF={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},qF=[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 k_(t,e){return o.openBlock(),o.createElementBlock("svg",UF,[...qF])}const GF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:k_},render:k_},Symbol.toStringTag,{value:"Module"})),KF={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},XF=[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 C_(t,e){return o.openBlock(),o.createElementBlock("svg",KF,[...XF])}const QF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:C_},render:C_},Symbol.toStringTag,{value:"Module"})),JF={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},eR=[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 x_(t,e){return o.openBlock(),o.createElementBlock("svg",JF,[...eR])}const tR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:x_},render:x_},Symbol.toStringTag,{value:"Module"})),nR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},rR=[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 M_(t,e){return o.openBlock(),o.createElementBlock("svg",nR,[...rR])}const sR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:M_},render:M_},Symbol.toStringTag,{value:"Module"})),iR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},oR=[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 S_(t,e){return o.openBlock(),o.createElementBlock("svg",iR,[...oR])}const aR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:S_},render:S_},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.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 v_(t,e){return o.openBlock(),o.createElementBlock("svg",lR,[...cR])}const dR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:v_},render:v_},Symbol.toStringTag,{value:"Module"})),uR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},hR=[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 T_(t,e){return o.openBlock(),o.createElementBlock("svg",uR,[...hR])}const fR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:T_},render:T_},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-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 O_(t,e){return o.openBlock(),o.createElementBlock("svg",mR,[...pR])}const gR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:O_},render:O_},Symbol.toStringTag,{value:"Module"})),_R={width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},yR=[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 D_(t,e){return o.openBlock(),o.createElementBlock("svg",_R,[...yR])}const wR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:D_},render:D_},Symbol.toStringTag,{value:"Module"})),bR={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},kR=[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 E_(t,e){return o.openBlock(),o.createElementBlock("svg",bR,[...kR])}const CR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:E_},render:E_},Symbol.toStringTag,{value:"Module"})),xR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},MR=[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 $_(t,e){return o.openBlock(),o.createElementBlock("svg",xR,[...MR])}const SR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:$_},render:$_},Symbol.toStringTag,{value:"Module"})),vR={width:"23",height:"23",viewBox:"0 0 23 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},TR=[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 P_(t,e){return o.openBlock(),o.createElementBlock("svg",vR,[...TR])}const OR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:P_},render:P_},Symbol.toStringTag,{value:"Module"})),DR={width:"21",height:"21",viewBox:"0 0 21 21",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",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 L_(t,e){return o.openBlock(),o.createElementBlock("svg",DR,[...ER])}const $R=Object.freeze(Object.defineProperty({__proto__:null,default:{render:L_},render:L_},Symbol.toStringTag,{value:"Module"})),PR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},LR=[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 V_(t,e){return o.openBlock(),o.createElementBlock("svg",PR,[...LR])}const VR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:V_},render:V_},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 2.33594H8.00004M13.6667 2.33594H8.00004M8.00004 2.33594V13.6693",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function N_(t,e){return o.openBlock(),o.createElementBlock("svg",NR,[...BR])}const AR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:N_},render:N_},Symbol.toStringTag,{value:"Module"})),FR={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},RR=[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 B_(t,e){return o.openBlock(),o.createElementBlock("svg",FR,[...RR])}const IR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:B_},render:B_},Symbol.toStringTag,{value:"Module"})),zR={xmlns:"http://www.w3.org/2000/svg",style:{width:"100%",height:"100%"},viewBox:"0 0 16 16",fill:"none"},HR=[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 A_(t,e){return o.openBlock(),o.createElementBlock("svg",zR,[...HR])}const YR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:A_},render:A_},Symbol.toStringTag,{value:"Module"})),WR={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},jR=[o.createElementVNode("circle",{cx:"10",cy:"10",r:"7.5",stroke:"#D1D4D6"},null,-1)];function F_(t,e){return o.openBlock(),o.createElementBlock("svg",WR,[...jR])}const ZR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:F_},render:F_},Symbol.toStringTag,{value:"Module"})),UR={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qR=[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 R_(t,e){return o.openBlock(),o.createElementBlock("svg",UR,[...qR])}const GR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:R_},render:R_},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:"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 I_(t,e){return o.openBlock(),o.createElementBlock("svg",KR,[...XR])}const QR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:I_},render:I_},Symbol.toStringTag,{value:"Module"})),JR={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:"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 z_(t,e){return o.openBlock(),o.createElementBlock("svg",JR,[...eI])}const tI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:z_},render:z_},Symbol.toStringTag,{value:"Module"})),nI={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},rI=[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 H_(t,e){return o.openBlock(),o.createElementBlock("svg",nI,[...rI])}const sI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:H_},render:H_},Symbol.toStringTag,{value:"Module"})),iI={width:"126",height:"21",viewBox:"0 0 126 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},oI=[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 Y_(t,e){return o.openBlock(),o.createElementBlock("svg",iI,[...oI])}const aI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Y_},render:Y_},Symbol.toStringTag,{value:"Module"})),lI={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},cI=[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 W_(t,e){return o.openBlock(),o.createElementBlock("svg",lI,[...cI])}const dI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:W_},render:W_},Symbol.toStringTag,{value:"Module"})),uI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},hI=[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 j_(t,e){return o.openBlock(),o.createElementBlock("svg",uI,[...hI])}const fI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:j_},render:j_},Symbol.toStringTag,{value:"Module"})),mI={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},pI=[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 Z_(t,e){return o.openBlock(),o.createElementBlock("svg",mI,[...pI])}const gI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Z_},render:Z_},Symbol.toStringTag,{value:"Module"})),_I={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},yI=[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 U_(t,e){return o.openBlock(),o.createElementBlock("svg",_I,[...yI])}const wI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:U_},render:U_},Symbol.toStringTag,{value:"Module"})),bI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},kI=[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 q_(t,e){return o.openBlock(),o.createElementBlock("svg",bI,[...kI])}const CI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:q_},render:q_},Symbol.toStringTag,{value:"Module"})),xI={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},MI=[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 G_(t,e){return o.openBlock(),o.createElementBlock("svg",xI,[...MI])}const SI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:G_},render:G_},Symbol.toStringTag,{value:"Module"})),vI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},TI=[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 K_(t,e){return o.openBlock(),o.createElementBlock("svg",vI,[...TI])}const OI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:K_},render:K_},Symbol.toStringTag,{value:"Module"})),DI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},EI=[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 X_(t,e){return o.openBlock(),o.createElementBlock("svg",DI,[...EI])}const $I=Object.freeze(Object.defineProperty({__proto__:null,default:{render:X_},render:X_},Symbol.toStringTag,{value:"Module"})),PI={width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},LI=[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 Q_(t,e){return o.openBlock(),o.createElementBlock("svg",PI,[...LI])}const VI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Q_},render:Q_},Symbol.toStringTag,{value:"Module"})),NI={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},BI=[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 J_(t,e){return o.openBlock(),o.createElementBlock("svg",NI,[...BI])}const AI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:J_},render:J_},Symbol.toStringTag,{value:"Module"})),FI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},RI=[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 e5(t,e){return o.openBlock(),o.createElementBlock("svg",FI,[...RI])}const II=Object.freeze(Object.defineProperty({__proto__:null,default:{render:e5},render:e5},Symbol.toStringTag,{value:"Module"})),zI={xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",preserveAspectRatio:"none"},HI=[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 t5(t,e){return o.openBlock(),o.createElementBlock("svg",zI,[...HI])}const YI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:t5},render:t5},Symbol.toStringTag,{value:"Module"})),WI={width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},jI=[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 n5(t,e){return o.openBlock(),o.createElementBlock("svg",WI,[...jI])}const ZI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:n5},render:n5},Symbol.toStringTag,{value:"Module"})),UI={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"21",viewBox:"0 0 20 21",fill:"none"},qI=[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 r5(t,e){return o.openBlock(),o.createElementBlock("svg",UI,[...qI])}const GI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:r5},render:r5},Symbol.toStringTag,{value:"Module"})),KI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},XI=[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 s5(t,e){return o.openBlock(),o.createElementBlock("svg",KI,[...XI])}const QI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:s5},render:s5},Symbol.toStringTag,{value:"Module"})),JI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},ez=[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 i5(t,e){return o.openBlock(),o.createElementBlock("svg",JI,[...ez])}const tz=Object.freeze(Object.defineProperty({__proto__:null,default:{render:i5},render:i5},Symbol.toStringTag,{value:"Module"})),nz={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},rz=[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 o5(t,e){return o.openBlock(),o.createElementBlock("svg",nz,[...rz])}const sz=Object.freeze(Object.defineProperty({__proto__:null,default:{render:o5},render:o5},Symbol.toStringTag,{value:"Module"})),iz={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},oz=[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 a5(t,e){return o.openBlock(),o.createElementBlock("svg",iz,[...oz])}const az=Object.freeze(Object.defineProperty({__proto__:null,default:{render:a5},render:a5},Symbol.toStringTag,{value:"Module"})),lz={width:"18",height:"14",viewBox:"0 0 18 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},cz=[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 l5(t,e){return o.openBlock(),o.createElementBlock("svg",lz,[...cz])}const dz=Object.freeze(Object.defineProperty({__proto__:null,default:{render:l5},render:l5},Symbol.toStringTag,{value:"Module"})),uz={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},hz=[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 c5(t,e){return o.openBlock(),o.createElementBlock("svg",uz,[...hz])}const fz=Object.freeze(Object.defineProperty({__proto__:null,default:{render:c5},render:c5},Symbol.toStringTag,{value:"Module"})),mz={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},pz=[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 d5(t,e){return o.openBlock(),o.createElementBlock("svg",mz,[...pz])}const gz=Object.freeze(Object.defineProperty({__proto__:null,default:{render:d5},render:d5},Symbol.toStringTag,{value:"Module"})),_z={width:"29",height:"34",viewBox:"0 0 29 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"},yz=[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 u5(t,e){return o.openBlock(),o.createElementBlock("svg",_z,[...yz])}const wz=Object.freeze(Object.defineProperty({__proto__:null,default:{render:u5},render:u5},Symbol.toStringTag,{value:"Module"})),bz={width:"31",height:"32",viewBox:"0 0 31 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},kz=[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 h5(t,e){return o.openBlock(),o.createElementBlock("svg",bz,[...kz])}const Cz=Object.freeze(Object.defineProperty({__proto__:null,default:{render:h5},render:h5},Symbol.toStringTag,{value:"Module"})),xz={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},Mz=[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 f5(t,e){return o.openBlock(),o.createElementBlock("svg",xz,[...Mz])}const Sz=Object.freeze(Object.defineProperty({__proto__:null,default:{render:f5},render:f5},Symbol.toStringTag,{value:"Module"})),vz={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Tz=[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 m5(t,e){return o.openBlock(),o.createElementBlock("svg",vz,[...Tz])}const Oz=Object.freeze(Object.defineProperty({__proto__:null,default:{render:m5},render:m5},Symbol.toStringTag,{value:"Module"})),Dz={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},Ez=[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 p5(t,e){return o.openBlock(),o.createElementBlock("svg",Dz,[...Ez])}const $z=Object.freeze(Object.defineProperty({__proto__:null,default:{render:p5},render:p5},Symbol.toStringTag,{value:"Module"})),Pz={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"},Lz=[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 g5(t,e){return o.openBlock(),o.createElementBlock("svg",Pz,[...Lz])}const Vz=Object.freeze(Object.defineProperty({__proto__:null,default:{render:g5},render:g5},Symbol.toStringTag,{value:"Module"}));se.AccountBalanceWidget=uS,se.AverageRRLine=Xp,se.BalanceWidget=DS,se.Button=ga,se.Calendar=p8,se.CalendarDropdown=r3,se.CalendarWidget=XS,se.CheckBox=n4,se.CommissionsFeesWidget=hv,se.Confetti=Rw,se.CookieManager=an,se.Dropdown=B5,se.Dropzone=sb,se.Icon=Le,se.Input=H5,se.LineChart=Bu,se.LongShort=H0,se.Menu=i4,se.NavigationTab=x8,se.NoMore=Xd,se.NumberInput=b8,se.PerformanceWidget=yv,se.PeriodDropdown=Ws,se.ProgressLine=s3,se.Radio=U5,se.ReturnWidget=Lv,se.Selector=_8,se.SidebarPopup=wb,se.SimpleLineChart=Au,se.Switcher=l4,se.Textarea=jw,se.Toast=F0,se.Toggle=Q5,se.Tooltip=mn,se.TopPositionsWidget=jv,se.TradePerformanceWidget=oT,se.WidgetChips=Zl,se.WinrateWidget=yT,se.addSlashToPair=f6,se.calculateTimeDifference=bN,se.firebaseConfig=pL,se.formatDate=h6,se.getDate=yN,se.getDay=lh,se.getDaysDifference=wN,se.getFullYear=pN,se.getMonth=_N,se.maskData=Pe,se.numFormat=ah,se.scopeInstance=rc,se.toBaseDate=gN,se.toFix=Ot,se.transformKeysToQuery=mN,se.useToast=ch,se.withSign=cn,Object.defineProperty(se,Symbol.toStringTag,{value:"Module"})});
|
|
49
|
+
`):" "+E3(i[0]):"as no adapter specified";throw new Oe("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:L1};function V1(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new sa(null,t)}function P3(t){return V1(t),t.headers=Dr.from(t.headers),t.data=P1.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),$3.getAdapter(t.adapter||E1.adapter)(t).then(function(r){return V1(t),r.data=P1.call(t,t.transformResponse,r),r.headers=Dr.from(r.headers),r},function(r){return T3(r)||(V1(t),r&&r.response&&(r.response.data=P1.call(t,t.transformResponse,r.response),r.response.headers=Dr.from(r.response.headers))),Promise.reject(r)})}const L3=t=>t instanceof Dr?{...t}:t;function Ni(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(L3(d),L3(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 V3="1.6.8",N1={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{N1[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const N3={};N1.transitional=function(e,n,r){function s(i,a){return"[Axios v"+V3+"] Transitional option '"+i+"'"+a+(r?". "+r:"")}return(i,a,l)=>{if(e===!1)throw new Oe(s(a," has been removed"+(n?" in "+n:"")),Oe.ERR_DEPRECATED);return n&&!N3[a]&&(N3[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 lL(t,e,n){if(typeof t!="object")throw new Oe("options must be an object",Oe.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 Oe("option "+i+" must be "+c,Oe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Oe("Unknown option "+i,Oe.ERR_BAD_OPTION)}}const B1={assertOptions:lL,validators:N1},ss=B1.validators;class tc{constructor(e){this.defaults=e,this.interceptors={request:new C3,response:new C3}}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+=`
|
|
50
|
+
`+i):r.stack=i}throw r}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Ni(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:i}=n;r!==void 0&&B1.assertOptions(r,{silentJSONParsing:ss.transitional(ss.boolean),forcedJSONParsing:ss.transitional(ss.boolean),clarifyTimeoutError:ss.transitional(ss.boolean)},!1),s!=null&&(Y.isFunction(s)?n.paramsSerializer={serialize:s}:B1.assertOptions(s,{encode:ss.function,serialize:ss.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=Dr.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=[P3.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=P3.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=Ni(this.defaults,e);const n=O3(e.baseURL,e.url);return k3(n,e.params,e.paramsSerializer)}}Y.forEach(["delete","get","head","options"],function(e){tc.prototype[e]=function(n,r){return this.request(Ni(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(Ni(l||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}tc.prototype[e]=n(),tc.prototype[e+"Form"]=n(!0)});const nc=tc;class A1{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 sa(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 A1(function(s){e=s}),cancel:e}}}const cL=A1;function dL(t){return function(n){return t.apply(null,n)}}function uL(t){return Y.isObject(t)&&t.isAxiosError===!0}const F1={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(F1).forEach(([t,e])=>{F1[e]=t});const hL=F1;function B3(t){const e=new nc(t),n=i3(nc.prototype.request,e);return Y.extend(n,nc.prototype,e,{allOwnKeys:!0}),Y.extend(n,e,null,{allOwnKeys:!0}),n.create=function(s){return B3(Ni(t,s))},n}const lt=B3(E1);lt.Axios=nc,lt.CanceledError=sa,lt.CancelToken=cL,lt.isCancel=T3,lt.VERSION=V3,lt.toFormData=Ql,lt.AxiosError=Oe,lt.Cancel=lt.CanceledError,lt.all=function(e){return Promise.all(e)},lt.spread=dL,lt.isAxiosError=uL,lt.mergeConfig=Ni,lt.AxiosHeaders=Dr,lt.formToJSON=t=>S3(Y.isHTMLForm(t)?new FormData(t):t),lt.getAdapter=$3.getAdapter,lt.HttpStatusCode=hL,lt.default=lt;const rc=lt.create({baseURL:"https://api.scope360.io/"}),fL=async()=>{try{const t=an.getItem("refresh_token");if(!t)throw new Error("No refresh token available");const e=await lt.post("https://api.scope360.io/refresh",{},{headers:{Authorization:"Bearer "+t}}),{access_token:n,access_expired:r,refresh_expired:s,refresh_token:i}=e.data;return an.setItem("access_token",n,r),an.setItem("refresh_token",i,s),n}catch(t){if(console.error("Error refreshing access token:",t),an.removeItem("access_token"),an.removeItem("refresh_token"),an.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}},mL=t=>an.getItem("isOAuth")?t:"Bearer "+t;rc.interceptors.request.use(async t=>{const e=an.getItem("access_token");return t.headers={Accept:"application/json"},an.getItem("access_token")&&(t.headers.Authorization=mL(e)),t},t=>{Promise.reject(t)}),rc.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 fL();return lt.defaults.headers.common.Authorization="Bearer "+n,rc(e)}else return Promise.reject(t)}catch{if(an.removeItem("access_token"),an.removeItem("refresh_token"),an.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 pL={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 gL extends js{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class _L extends js{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class yL extends js{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class Bi extends js{}class A3 extends js{constructor(e){super(`Invalid unit ${e}`)}}class Zt extends js{}class is extends js{constructor(){super("Zone is an abstract class")}}const ne="numeric",Bn="short",ln="long",sc={year:ne,month:ne,day:ne},F3={year:ne,month:Bn,day:ne},wL={year:ne,month:Bn,day:ne,weekday:Bn},R3={year:ne,month:ln,day:ne},I3={year:ne,month:ln,day:ne,weekday:ln},H3={hour:ne,minute:ne},z3={hour:ne,minute:ne,second:ne},Y3={hour:ne,minute:ne,second:ne,timeZoneName:Bn},W3={hour:ne,minute:ne,second:ne,timeZoneName:ln},j3={hour:ne,minute:ne,hourCycle:"h23"},Z3={hour:ne,minute:ne,second:ne,hourCycle:"h23"},U3={hour:ne,minute:ne,second:ne,hourCycle:"h23",timeZoneName:Bn},q3={hour:ne,minute:ne,second:ne,hourCycle:"h23",timeZoneName:ln},G3={year:ne,month:ne,day:ne,hour:ne,minute:ne},K3={year:ne,month:ne,day:ne,hour:ne,minute:ne,second:ne},X3={year:ne,month:Bn,day:ne,hour:ne,minute:ne},Q3={year:ne,month:Bn,day:ne,hour:ne,minute:ne,second:ne},bL={year:ne,month:Bn,day:ne,weekday:Bn,hour:ne,minute:ne},J3={year:ne,month:ln,day:ne,hour:ne,minute:ne,timeZoneName:Bn},eg={year:ne,month:ln,day:ne,hour:ne,minute:ne,second:ne,timeZoneName:Bn},tg={year:ne,month:ln,day:ne,weekday:ln,hour:ne,minute:ne,timeZoneName:ln},ng={year:ne,month:ln,day:ne,weekday:ln,hour:ne,minute:ne,second:ne,timeZoneName:ln};class ia{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 R1=null;class ic extends ia{static get instance(){return R1===null&&(R1=new ic),R1}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:n,locale:r}){return vg(e,n,r)}formatOffset(e,n){return ca(this.offset(e),n)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}}let oc={};function kL(t){return oc[t]||(oc[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"})),oc[t]}const CL={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function xL(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 ML(t,e){const n=t.formatToParts(e),r=[];for(let s=0;s<n.length;s++){const{type:i,value:a}=n[s],l=CL[i];i==="era"?r[l]=a:me(l)||(r[l]=parseInt(a,10))}return r}let ac={};class Er extends ia{static create(e){return ac[e]||(ac[e]=new Er(e)),ac[e]}static resetCache(){ac={},oc={}}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 vg(e,n,r,this.name)}formatOffset(e,n){return ca(this.offset(e),n)}offset(e){const n=new Date(e);if(isNaN(n))return NaN;const r=kL(this.name);let[s,i,a,l,c,d,u]=r.formatToParts?ML(r,n):xL(r,n);l==="BC"&&(s=-Math.abs(s)+1);const f=hc({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 rg={};function SL(t,e={}){const n=JSON.stringify([t,e]);let r=rg[n];return r||(r=new Intl.ListFormat(t,e),rg[n]=r),r}let I1={};function H1(t,e={}){const n=JSON.stringify([t,e]);let r=I1[n];return r||(r=new Intl.DateTimeFormat(t,e),I1[n]=r),r}let z1={};function vL(t,e={}){const n=JSON.stringify([t,e]);let r=z1[n];return r||(r=new Intl.NumberFormat(t,e),z1[n]=r),r}let Y1={};function TL(t,e={}){const{base:n,...r}=e,s=JSON.stringify([t,r]);let i=Y1[s];return i||(i=new Intl.RelativeTimeFormat(t,e),Y1[s]=i),i}let oa=null;function OL(){return oa||(oa=new Intl.DateTimeFormat().resolvedOptions().locale,oa)}let sg={};function DL(t){let e=sg[t];if(!e){const n=new Intl.Locale(t);e="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,sg[t]=e}return e}function EL(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=H1(t).resolvedOptions(),s=t}catch{const c=t.substring(0,n);r=H1(c).resolvedOptions(),s=c}const{numberingSystem:i,calendar:a}=r;return[s,i,a]}}function $L(t,e,n){return(n||e)&&(t.includes("-u-")||(t+="-u"),n&&(t+=`-ca-${n}`),e&&(t+=`-nu-${e}`)),t}function PL(t){const e=[];for(let n=1;n<=12;n++){const r=pe.utc(2009,n,1);e.push(t(r))}return e}function LL(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 lc(t,e,n,r){const s=t.listingMode();return s==="error"?null:s==="en"?n(e):r(e)}function VL(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 NL{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=vL(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):K1(e,3);return wt(n,this.padTo)}}}class BL{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=H1(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 AL{constructor(e,n,r){this.opts={style:"long",...r},!n&&Cg()&&(this.rtf=TL(e,r))}format(e,n){return this.rtf?this.rtf.format(e,n):rV(n,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,n){return this.rtf?this.rtf.formatToParts(e,n):[]}}const FL={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||_t.defaultLocale,l=a||(i?"en-US":OL()),c=n||_t.defaultNumberingSystem,d=r||_t.defaultOutputCalendar,u=q1(s)||_t.defaultWeekSettings;return new ze(l,c,d,u,a)}static resetCache(){oa=null,I1={},z1={},Y1={}}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]=EL(e);this.locale=a,this.numberingSystem=n||l||null,this.outputCalendar=r||c||null,this.weekSettings=s,this.intl=$L(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=VL(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,q1(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 lc(this,e,Dg,()=>{const r=n?{month:e,day:"numeric"}:{month:e},s=n?"format":"standalone";return this.monthsCache[s][e]||(this.monthsCache[s][e]=PL(i=>this.extract(i,r,"month"))),this.monthsCache[s][e]})}weekdays(e,n=!1){return lc(this,e,Pg,()=>{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]=LL(i=>this.extract(i,r,"weekday"))),this.weekdaysCache[s][e]})}meridiems(){return lc(this,void 0,()=>Lg,()=>{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 lc(this,e,Vg,()=>{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 NL(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,n={}){return new BL(e,this.intl,n)}relFormatter(e={}){return new AL(this.intl,this.isEnglish(),e)}listFormatter(e={}){return SL(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:xg()?DL(this.locale):FL}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 W1=null;class Bt extends ia{static get utcInstance(){return W1===null&&(W1=new Bt(0)),W1}static instance(e){return e===0?Bt.utcInstance:new Bt(e)}static parseSpecifier(e){if(e){const n=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new Bt(fc(n[1],n[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${ca(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${ca(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,n){return ca(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 RL extends ia{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 ia)return t;if(zL(t)){const n=t.toLowerCase();return n==="default"?e:n==="local"||n==="system"?ic.instance:n==="utc"||n==="gmt"?Bt.utcInstance:Bt.parseSpecifier(n)||Er.create(t)}else return Zs(t)?Bt.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new RL(t)}let ig=()=>Date.now(),og="system",ag=null,lg=null,cg=null,dg=60,ug,hg=null;class _t{static get now(){return ig}static set now(e){ig=e}static set defaultZone(e){og=e}static get defaultZone(){return os(og,ic.instance)}static get defaultLocale(){return ag}static set defaultLocale(e){ag=e}static get defaultNumberingSystem(){return lg}static set defaultNumberingSystem(e){lg=e}static get defaultOutputCalendar(){return cg}static set defaultOutputCalendar(e){cg=e}static get defaultWeekSettings(){return hg}static set defaultWeekSettings(e){hg=q1(e)}static get twoDigitCutoffYear(){return dg}static set twoDigitCutoffYear(e){dg=e%100}static get throwOnInvalid(){return ug}static set throwOnInvalid(e){ug=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 fg=[0,31,59,90,120,151,181,212,243,273,304,334],mg=[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 j1(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 pg(t,e,n){return n+(aa(t)?mg:fg)[e-1]}function gg(t,e){const n=aa(t)?mg:fg,r=n.findIndex(i=>i<e),s=e-n[r];return{month:r+1,day:s}}function Z1(t,e){return(t-e+7)%7+1}function cc(t,e=4,n=1){const{year:r,month:s,day:i}=t,a=pg(r,s,i),l=Z1(j1(r,s,i),n);let c=Math.floor((a-l+14-e)/7),d;return c<1?(d=r-1,c=la(d,e,n)):c>la(r,e,n)?(d=r+1,c=1):d=r,{weekYear:d,weekNumber:c,weekday:l,...pc(t)}}function _g(t,e=4,n=1){const{weekYear:r,weekNumber:s,weekday:i}=t,a=Z1(j1(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}=gg(d,c);return{year:d,month:u,day:h,...pc(t)}}function U1(t){const{year:e,month:n,day:r}=t,s=pg(e,n,r);return{year:e,ordinal:s,...pc(t)}}function yg(t){const{year:e,ordinal:n}=t,{month:r,day:s}=gg(e,n);return{year:e,month:r,day:s,...pc(t)}}function wg(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 IL(t,e=4,n=1){const r=dc(t.weekYear),s=xn(t.weekNumber,1,la(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 HL(t){const e=dc(t.year),n=xn(t.ordinal,1,Fi(t.year));return e?n?!1:Cn("ordinal",t.ordinal):Cn("year",t.year)}function bg(t){const e=dc(t.year),n=xn(t.month,1,12),r=xn(t.day,1,uc(t.year,t.month));return e?n?r?!1:Cn("day",t.day):Cn("month",t.month):Cn("year",t.year)}function kg(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 dc(t){return typeof t=="number"&&t%1===0}function zL(t){return typeof t=="string"}function YL(t){return Object.prototype.toString.call(t)==="[object Date]"}function Cg(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function xg(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function WL(t){return Array.isArray(t)?t:[t]}function Mg(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 jL(t,e){return e.reduce((n,r)=>(n[r]=t[r],n),{})}function Ai(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function q1(t){if(t==null)return null;if(typeof t!="object")throw new Zt("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 Zt("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function xn(t,e,n){return dc(t)&&t>=e&&t<=n}function ZL(t,e){return t-e*Math.floor(t/e)}function wt(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 G1(t){if(!(me(t)||t===null||t==="")){const e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function K1(t,e,n=!1){const r=10**e;return(n?Math.trunc:Math.round)(t*r)/r}function aa(t){return t%4===0&&(t%100!==0||t%400===0)}function Fi(t){return aa(t)?366:365}function uc(t,e){const n=ZL(e-1,12)+1,r=t+(e-n)/12;return n===2?aa(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function hc(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 Sg(t,e,n){return-Z1(j1(t,1,e),n)+e-1}function la(t,e=4,n=1){const r=Sg(t,e,n),s=Sg(t+1,e,n);return(Fi(t)-r+s)/7}function X1(t){return t>99?t:t>_t.twoDigitCutoffYear?1900+t:2e3+t}function vg(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 fc(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 Tg(t){const e=Number(t);if(typeof t=="boolean"||t===""||Number.isNaN(e))throw new Zt(`Invalid unit value ${t}`);return e}function mc(t,e){const n={};for(const r in t)if(Ai(t,r)){const s=t[r];if(s==null)continue;n[e(r)]=Tg(s)}return n}function ca(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}${wt(n,2)}:${wt(r,2)}`;case"narrow":return`${s}${n}${r>0?`:${r}`:""}`;case"techie":return`${s}${wt(n,2)}${wt(r,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function pc(t){return jL(t,["hour","minute","second","millisecond"])}const UL=["January","February","March","April","May","June","July","August","September","October","November","December"],Og=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],qL=["J","F","M","A","M","J","J","A","S","O","N","D"];function Dg(t){switch(t){case"narrow":return[...qL];case"short":return[...Og];case"long":return[...UL];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 Eg=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],$g=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],GL=["M","T","W","T","F","S","S"];function Pg(t){switch(t){case"narrow":return[...GL];case"short":return[...$g];case"long":return[...Eg];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Lg=["AM","PM"],KL=["Before Christ","Anno Domini"],XL=["BC","AD"],QL=["B","A"];function Vg(t){switch(t){case"narrow":return[...QL];case"short":return[...XL];case"long":return[...KL];default:return null}}function JL(t){return Lg[t.hour<12?0:1]}function eV(t,e){return Pg(e)[t.weekday-1]}function tV(t,e){return Dg(e)[t.month-1]}function nV(t,e){return Vg(e)[t.year<0?0:1]}function rV(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 Ng(t,e){let n="";for(const r of t)r.literal?n+=r.val:n+=e(r.val);return n}const sV={D:sc,DD:F3,DDD:R3,DDDD:I3,t:H3,tt:z3,ttt:Y3,tttt:W3,T:j3,TT:Z3,TTT:U3,TTTT:q3,f:G3,ff:X3,fff:J3,ffff:tg,F:K3,FF:Q3,FFF:eg,FFFF:ng};class Vt{static create(e,n={}){return new Vt(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 sV[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 wt(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?JL(e):i({hour:"numeric",hourCycle:"h12"},"dayperiod"),c=(m,g)=>r?tV(e,m):i(g?{month:m}:{month:m,day:"numeric"},"month"),d=(m,g)=>r?eV(e,m):i(g?{weekday:m}:{weekday:m,month:"long",day:"numeric"},"weekday"),u=m=>{const g=Vt.macroTokenToFormatOpts(m);return g?this.formatWithSystemDefault(e,g):m},h=m=>r?nV(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 Ng(Vt.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=Vt.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 Ng(i,s(l))}}const Bg=/[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 Ag(...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 Fg=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,iV=`(?:${Fg.source}?(?:\\[(${Bg.source})\\])?)?`,Q1=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Rg=RegExp(`${Q1.source}${iV}`),J1=RegExp(`(?:T${Rg.source})?`),oV=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,aV=/(\d{4})-?W(\d\d)(?:-?(\d))?/,lV=/(\d{4})-?(\d{3})/,cV=Ag("weekYear","weekNumber","weekDay"),dV=Ag("year","ordinal"),uV=/(\d{4})-(\d\d)-(\d\d)/,Ig=RegExp(`${Q1.source} ?(?:${Fg.source}|(${Bg.source}))?`),hV=RegExp(`(?: ${Ig.source})?`);function zi(t,e,n){const r=t[e];return me(r)?n:as(r)}function fV(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:G1(t[e+3])},null,e+4]}function da(t,e){const n=!t[e]&&!t[e+1],r=fc(t[e+1],t[e+2]),s=n?null:Bt.instance(r);return[{},s,e+3]}function ua(t,e){const n=t[e]?Er.create(t[e]):null;return[{},n,e+1]}const mV=RegExp(`^T?${Q1.source}$`),pV=/^-?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 gV(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(G1(d),h)}]}const _V={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 eh(t,e,n,r,s,i,a){const l={year:e.length===2?X1(as(e)):as(e),month:Og.indexOf(n)+1,day:as(r),hour:as(s),minute:as(i)};return a&&(l.second=as(a)),t&&(l.weekday=t.length>3?Eg.indexOf(t)+1:$g.indexOf(t)+1),l}const yV=/^(?:(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 wV(t){const[,e,n,r,s,i,a,l,c,d,u,h]=t,f=eh(e,s,r,n,i,a,l);let m;return c?m=_V[c]:d?m=0:m=fc(u,h),[f,new Bt(m)]}function bV(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const kV=/^(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$/,CV=/^(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$/,xV=/^(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 Hg(t){const[,e,n,r,s,i,a,l]=t;return[eh(e,s,r,n,i,a,l),Bt.utcInstance]}function MV(t){const[,e,n,r,s,i,a,l]=t;return[eh(e,l,n,r,s,i,a),Bt.utcInstance]}const SV=Ri(oV,J1),vV=Ri(aV,J1),TV=Ri(lV,J1),OV=Ri(Rg),zg=Ii(fV,Yi,da,ua),DV=Ii(cV,Yi,da,ua),EV=Ii(dV,Yi,da,ua),$V=Ii(Yi,da,ua);function PV(t){return Hi(t,[SV,zg],[vV,DV],[TV,EV],[OV,$V])}function LV(t){return Hi(bV(t),[yV,wV])}function VV(t){return Hi(t,[kV,Hg],[CV,Hg],[xV,MV])}function NV(t){return Hi(t,[pV,gV])}const BV=Ii(Yi);function AV(t){return Hi(t,[mV,BV])}const FV=Ri(uV,hV),RV=Ri(Ig),IV=Ii(Yi,da,ua);function HV(t){return Hi(t,[FV,zg],[RV,IV])}const Yg="Invalid Duration",Wg={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},...Wg},Mn=146097/400,Wi=146097/4800,YV={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},...Wg},qs=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],WV=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 jg(t,e){let n=e.milliseconds??0;for(const r of WV.slice(1))e[r]&&(n+=e[r]*t[r].milliseconds);return n}function Zg(t,e){const n=jg(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 jV(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?YV: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 Zt(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new Ee({values:mc(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 Zt(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,n){const[r]=NV(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]=AV(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 Zt("need to specify a reason the Duration is invalid");const r=e instanceof An?e:new An(e,n);if(_t.throwOnInvalid)throw new yL(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 A3(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?Vt.create(this.loc,r).formatDurationFromString(this,e):Yg}toHuman(e={}){if(!this.isValid)return Yg;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+=K1(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?jg(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]=Tg(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,...mc(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 Zg(this.matrix,e),ls(this,{values:e},!0)}rescale(){if(!this.isValid)return this;const e=jV(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 Zg(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 ZV(t,e){return!t||!t.isValid?ct.invalid("missing or invalid start"):!e||!e.isValid?ct.invalid("missing or invalid end"):e<t?ct.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 ct{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 Zt("need to specify a reason the Interval is invalid");const r=e instanceof An?e:new An(e,n);if(_t.throwOnInvalid)throw new _L(r);return new ct({invalid:r})}static fromDateTimes(e,n){const r=fa(e),s=fa(n),i=ZV(r,s);return i??new ct({start:r,end:s})}static after(e,n){const r=Ee.fromDurationLike(n),s=fa(e);return ct.fromDateTimes(s,s.plus(r))}static before(e,n){const r=Ee.fromDurationLike(n),s=fa(e);return ct.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 ct.fromDateTimes(i,l);if(a){const d=Ee.fromISO(s,n);if(d.isValid)return ct.after(i,d)}else if(c){const d=Ee.fromISO(r,n);if(d.isValid)return ct.before(l,d)}}return ct.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?ct.fromDateTimes(e||this.s,n||this.e):this}splitAt(...e){if(!this.isValid)return[];const n=e.map(fa).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(ct.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(ct.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:ct.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 ct.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(ct.fromDateTimes(n,c.time)),n=null);return ct.merge(s)}difference(...e){return ct.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=sc,n={}){return this.isValid?Vt.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 ct.fromDateTimes(e(this.s),e(this.e))}}class gc{static hasDST(e=_t.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,_t.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:Cg(),localeWeek:xg()}}}function Ug(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 UV(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=Ug(c,d);return(u-u%7)/7}],["days",Ug]],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 qV(t,e,n,r){let[s,i,a,l]=UV(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 th={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},qg={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]},GV=th.hanidec.replace(/[\[|\]]/g,"").split("");function KV(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(th.hanidec)!==-1)e+=GV.indexOf(t[n]);else for(const s in qg){const[i,a]=qg[s];r>=i&&r<=a&&(e+=r-i)}}return parseInt(e,10)}else return e}function Fn({numberingSystem:t},e=""){return new RegExp(`${th[t||"latn"]}${e}`)}const XV="missing Intl.DateTimeFormat.formatToParts support";function Be(t,e=n=>n){return{regex:t,deser:([n])=>e(KV(n))}}const Gg="[ ]",Kg=new RegExp(Gg,"g");function QV(t){return t.replace(/\./g,"\\.?").replace(Kg,Gg)}function Xg(t){return t.replace(/\./g,"").replace(Kg," ").toLowerCase()}function Rn(t,e){return t===null?null:{regex:RegExp(t.map(QV).join("|")),deser:([n])=>t.findIndex(r=>Xg(n)===Xg(r))+e}}function Qg(t,e){return{regex:t,deser:([,n,r])=>fc(n,r),groups:e}}function _c(t){return{regex:t,deser:([e])=>e}}function JV(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function eN(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(JV(_.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,X1);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 _c(u);case"uu":return _c(l);case"uuu":return Be(n);case"a":return Rn(e.meridiems(),0);case"kkkk":return Be(i);case"kk":return Be(h,X1);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 Qg(new RegExp(`([+-]${l.source})(?::(${r.source}))?`),2);case"ZZZ":return Qg(new RegExp(`([+-]${l.source})(${r.source})?`),2);case"z":return _c(/[a-z_+-/]{1,256}?/i);case" ":return _c(/[^\S\n\r]/);default:return m(_)}})(t)||{invalidReason:XV};return p.token=t,p}const tN={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 nN(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=tN[a];if(typeof l=="object"&&(l=l[i]),l)return{literal:!1,val:l}}function rN(t){return[`^${t.map(n=>n.regex).reduce((n,r)=>`${n}(${r.source})`,"")}$`,t]}function sN(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 iN(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 Bt(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=G1(t.u)),[Object.keys(t).reduce((i,a)=>{const l=e(a);return l&&(i[l]=t[a]),i},{}),n,r]}let nh=null;function oN(){return nh||(nh=pe.fromMillis(1555555555555)),nh}function aN(t,e){if(t.literal)return t;const n=Vt.macroTokenToFormatOpts(t.val),r=t6(n,e);return r==null||r.includes(void 0)?t:r}function Jg(t,e){return Array.prototype.concat(...t.map(n=>aN(n,e)))}function e6(t,e,n){const r=Jg(Vt.parseFormat(n),t),s=r.map(a=>eN(a,t)),i=s.find(a=>a.invalidReason);if(i)return{input:e,tokens:r,invalidReason:i.invalidReason};{const[a,l]=rN(s),c=RegExp(a,"i"),[d,u]=sN(e,c,l),[h,f,m]=u?iN(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 lN(t,e,n){const{result:r,zone:s,specificOffset:i,invalidReason:a}=e6(t,e,n);return[r,s,i,a]}function t6(t,e){if(!t)return null;const r=Vt.create(e,t).dtFormatter(oN()),s=r.formatToParts(),i=r.resolvedOptions();return s.map(a=>nN(a,t,i))}const rh="Invalid DateTime",n6=864e13;function yc(t){return new An("unsupported zone",`the zone "${t.name}" is not supported`)}function sh(t){return t.weekData===null&&(t.weekData=cc(t.c)),t.weekData}function ih(t){return t.localWeekData===null&&(t.localWeekData=cc(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 r6(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 wc(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 bc(t,e,n){return r6(hc(t),e,n)}function s6(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,uc(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=hc(i);let[c,d]=r6(l,n,t.zone);return a!==0&&(c+=a,d=t.zone.offset(c)),{ts:c,o:d}}function ha(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 kc(t,e,n=!0){return t.isValid?Vt.create(ze.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function oh(t,e){const n=t.c.year>9999||t.c.year<0;let r="";return n&&t.c.year>=0&&(r+="+"),r+=wt(t.c.year,n?6:4),e?(r+="-",r+=wt(t.c.month),r+="-",r+=wt(t.c.day)):(r+=wt(t.c.month),r+=wt(t.c.day)),r}function i6(t,e,n,r,s,i){let a=wt(t.c.hour);return e?(a+=":",a+=wt(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!n)&&(a+=":")):a+=wt(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!n)&&(a+=wt(t.c.second),(t.c.millisecond!==0||!r)&&(a+=".",a+=wt(t.c.millisecond,3))),s&&(t.isOffsetFixed&&t.offset===0&&!i?a+="Z":t.o<0?(a+="-",a+=wt(Math.trunc(-t.o/60)),a+=":",a+=wt(Math.trunc(-t.o%60))):(a+="+",a+=wt(Math.trunc(t.o/60)),a+=":",a+=wt(Math.trunc(t.o%60)))),i&&(a+="["+t.zone.ianaName+"]"),a}const o6={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},cN={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},dN={ordinal:1,hour:0,minute:0,second:0,millisecond:0},a6=["year","month","day","hour","minute","second","millisecond"],uN=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],hN=["year","ordinal","hour","minute","second","millisecond"];function fN(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 A3(t);return e}function l6(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return fN(t)}}function c6(t,e){const n=os(e.zone,_t.defaultZone),r=ze.fromObject(e),s=_t.now();let i,a;if(me(t.year))i=s;else{for(const d of a6)me(t[d])&&(t[d]=o6[d]);const l=bg(t)||kg(t);if(l)return pe.invalid(l);const c=n.offset(s);[i,a]=bc(t,c,n)}return new pe({ts:i,zone:n,loc:r,o:a})}function d6(t,e,n){const r=me(n.round)?!0:n.round,s=(a,l)=>(a=K1(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 u6(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||_t.defaultZone;let r=e.invalid||(Number.isNaN(e.ts)?new An("invalid input"):null)||(n.isValid?null:yc(n));this.ts=me(e.ts)?_t.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=wc(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]=u6(arguments),[r,s,i,a,l,c,d]=n;return c6({year:r,month:s,day:i,hour:a,minute:l,second:c,millisecond:d},e)}static utc(){const[e,n]=u6(arguments),[r,s,i,a,l,c,d]=n;return e.zone=Bt.utcInstance,c6({year:r,month:s,day:i,hour:a,minute:l,second:c,millisecond:d},e)}static fromJSDate(e,n={}){const r=YL(e)?e.valueOf():NaN;if(Number.isNaN(r))return pe.invalid("invalid input");const s=os(n.zone,_t.defaultZone);return s.isValid?new pe({ts:r,zone:s,loc:ze.fromObject(n)}):pe.invalid(yc(s))}static fromMillis(e,n={}){if(Zs(e))return e<-n6||e>n6?pe.invalid("Timestamp out of range"):new pe({ts:e,zone:os(n.zone,_t.defaultZone),loc:ze.fromObject(n)});throw new Zt(`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,_t.defaultZone),loc:ze.fromObject(n)});throw new Zt("fromSeconds requires a numerical input")}static fromObject(e,n={}){e=e||{};const r=os(n.zone,_t.defaultZone);if(!r.isValid)return pe.invalid(yc(r));const s=ze.fromObject(n),i=mc(e,l6),{minDaysInFirstWeek:a,startOfWeek:l}=wg(i,s),c=_t.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=wc(c,d);p?(_=uN,y=cN,C=cc(C,a,l)):u?(_=hN,y=dN,C=U1(C)):(_=a6,y=o6);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?IL(i,a,l):u?HL(i):bg(i),M=v||kg(i);if(M)return pe.invalid(M);const T=p?_g(i,a,l):u?yg(i):i,[S,D]=bc(T,d,r),E=new pe({ts:S,zone:r,o:D,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]=PV(e);return ha(r,s,n,"ISO 8601",e)}static fromRFC2822(e,n={}){const[r,s]=LV(e);return ha(r,s,n,"RFC 2822",e)}static fromHTTP(e,n={}){const[r,s]=VV(e);return ha(r,s,n,"HTTP",n)}static fromFormat(e,n,r={}){if(me(e)||me(n))throw new Zt("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]=lN(a,e,n);return u?pe.invalid(u):ha(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]=HV(e);return ha(r,s,n,"SQL",e)}static invalid(e,n=null){if(!e)throw new Zt("need to specify a reason the DateTime is invalid");const r=e instanceof An?e:new An(e,n);if(_t.throwOnInvalid)throw new gL(r);return new pe({invalid:r})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,n={}){const r=t6(e,ze.fromObject(n));return r?r.map(s=>s?s.val:null).join(""):null}static expandFormat(e,n={}){return Jg(Vt.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?sh(this).weekYear:NaN}get weekNumber(){return this.isValid?sh(this).weekNumber:NaN}get weekday(){return this.isValid?sh(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?ih(this).weekday:NaN}get localWeekNumber(){return this.isValid?ih(this).weekNumber:NaN}get localWeekYear(){return this.isValid?ih(this).weekYear:NaN}get ordinal(){return this.isValid?U1(this.c).ordinal:NaN}get monthShort(){return this.isValid?gc.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?gc.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?gc.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?gc.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=hc(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=wc(c,a),h=wc(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 aa(this.year)}get daysInMonth(){return uc(this.year,this.month)}get daysInYear(){return this.isValid?Fi(this.year):NaN}get weeksInWeekYear(){return this.isValid?la(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?la(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:n,numberingSystem:r,calendar:s}=Vt.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:n,numberingSystem:r,outputCalendar:s}}toUTC(e=0,n={}){return this.setZone(Bt.instance(e),n)}toLocal(){return this.setZone(_t.defaultZone)}setZone(e,{keepLocalTime:n=!1,keepCalendarTime:r=!1}={}){if(e=os(e,_t.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]=bc(a,i,e)}return Gs(this,{ts:s,zone:e})}else return pe.invalid(yc(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=mc(e,l6),{minDaysInFirstWeek:r,startOfWeek:s}=wg(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=_g({...cc(this.c,r,s),...n},r,s):me(n.ordinal)?(h={...this.toObject(),...n},me(n.day)&&(h.day=Math.min(uc(h.year,h.month),h.day))):h=yg({...U1(this.c),...n});const[f,m]=bc(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,s6(this,n))}minus(e){if(!this.isValid)return this;const n=Ee.fromDurationLike(e).negate();return Gs(this,s6(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?Vt.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,e):rh}toLocaleString(e=sc,n={}){return this.isValid?Vt.create(this.loc.clone(n),e).formatDateTime(this):rh}toLocaleParts(e={}){return this.isValid?Vt.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=oh(this,a);return l+="T",l+=i6(this,a,n,r,s,i),l}toISODate({format:e="extended"}={}){return this.isValid?oh(this,e==="extended"):null}toISOWeekDate(){return kc(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":"")+i6(this,a==="extended",n,e,r,i):null}toRFC2822(){return kc(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return kc(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?oh(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")),kc(this,s,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():rh}[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=WL(n).map(Ee.normalizeUnit),a=e.valueOf()>this.valueOf(),l=a?this:e,c=a?e:this,d=qV(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?ct.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),d6(n,this.plus(r),{...e,numeric:"always",units:s,unit:i})}toRelativeCalendar(e={}){return this.isValid?d6(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 Zt("min requires all arguments be DateTimes");return Mg(e,n=>n.valueOf(),Math.min)}static max(...e){if(!e.every(pe.isDateTime))throw new Zt("max requires all arguments be DateTimes");return Mg(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 e6(a,e,n)}static fromStringExplain(e,n,r={}){return pe.fromFormatExplain(e,n,r)}static get DATE_SHORT(){return sc}static get DATE_MED(){return F3}static get DATE_MED_WITH_WEEKDAY(){return wL}static get DATE_FULL(){return R3}static get DATE_HUGE(){return I3}static get TIME_SIMPLE(){return H3}static get TIME_WITH_SECONDS(){return z3}static get TIME_WITH_SHORT_OFFSET(){return Y3}static get TIME_WITH_LONG_OFFSET(){return W3}static get TIME_24_SIMPLE(){return j3}static get TIME_24_WITH_SECONDS(){return Z3}static get TIME_24_WITH_SHORT_OFFSET(){return U3}static get TIME_24_WITH_LONG_OFFSET(){return q3}static get DATETIME_SHORT(){return G3}static get DATETIME_SHORT_WITH_SECONDS(){return K3}static get DATETIME_MED(){return X3}static get DATETIME_MED_WITH_SECONDS(){return Q3}static get DATETIME_MED_WITH_WEEKDAY(){return bL}static get DATETIME_FULL(){return J3}static get DATETIME_FULL_WITH_SECONDS(){return eg}static get DATETIME_HUGE(){return tg}static get DATETIME_HUGE_WITH_SECONDS(){return ng}}function fa(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 Zt(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function Ot(t,e=2){return isNaN(+t)?0:Math.floor(+t*10**e)/10**e}function ah(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;return t?i+s.repeat(r)+a:e}function mN(t){return t.reduce((e,n,r)=>r===0?`key=${encodeURIComponent(n.id)}`:e+`&key=${encodeURIComponent(n.id)}`,"")}function pN(t){return new Date(t).getFullYear()}function gN(t){return pe.fromISO(t,{setZone:!0}).toFormat("dd LLLL, y, TT")}function h6(t){return pe.fromISO(t,{setZone:!0}).toFormat("dd/LL/y")}function _N(t){return["January","February","March","April","May","June","July","August","September","October","November","December"][new Date(t).getMonth()]}function yN(t){return new Date(t).getDate()}function lh(t){return pe.fromISO(t,{setZone:!0}).toFormat("cccc")}function wN(t){const e=new Date(t),r=new Date-e;return Math.floor(r/(1e3*3600*24))}const cn=(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=Ot(r)),e.isPercentage?`${n}${r}%`:`${n}$${r}`};function bN(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 f6(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 kN=(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},CN={type:"info",textOnClose:"Dismiss",duration:5e3,hideOnRouteChange:!0},Cc=t=>{if(!(t!=null&&t.message))return;const e={...CN,...t},n=kN(F0,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}},xN=(t,e)=>Cc({...e,message:t,type:"success"}),MN=(t,e)=>Cc({...e,message:t,type:"error"}),SN=(t,e)=>Cc({...e,message:t,type:"info"}),ch=()=>({open:Cc,success:xN,error:MN,info:SN}),vN={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},TN=[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 m6(t,e){return o.openBlock(),o.createElementBlock("svg",vN,[...TN])}const ON=Object.freeze(Object.defineProperty({__proto__:null,default:{render:m6},render:m6},Symbol.toStringTag,{value:"Module"})),DN={width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},EN=[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 p6(t,e){return o.openBlock(),o.createElementBlock("svg",DN,[...EN])}const $N=Object.freeze(Object.defineProperty({__proto__:null,default:{render:p6},render:p6},Symbol.toStringTag,{value:"Module"})),PN={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},LN=[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 g6(t,e){return o.openBlock(),o.createElementBlock("svg",PN,[...LN])}const VN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:g6},render:g6},Symbol.toStringTag,{value:"Module"})),NN={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},BN=[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 _6(t,e){return o.openBlock(),o.createElementBlock("svg",NN,[...BN])}const AN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:_6},render:_6},Symbol.toStringTag,{value:"Module"})),FN={xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 30 30",fill:"none"},RN=[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 y6(t,e){return o.openBlock(),o.createElementBlock("svg",FN,[...RN])}const IN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:y6},render:y6},Symbol.toStringTag,{value:"Module"})),HN={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 w6(t,e){return o.openBlock(),o.createElementBlock("svg",HN,[...zN])}const YN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:w6},render:w6},Symbol.toStringTag,{value:"Module"})),WN={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},jN=[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 b6(t,e){return o.openBlock(),o.createElementBlock("svg",WN,[...jN])}const ZN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:b6},render:b6},Symbol.toStringTag,{value:"Module"})),UN={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},qN=[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 k6(t,e){return o.openBlock(),o.createElementBlock("svg",UN,[...qN])}const GN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:k6},render:k6},Symbol.toStringTag,{value:"Module"})),KN={width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},XN=[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 C6(t,e){return o.openBlock(),o.createElementBlock("svg",KN,[...XN])}const QN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:C6},render:C6},Symbol.toStringTag,{value:"Module"})),JN={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},eB=[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 x6(t,e){return o.openBlock(),o.createElementBlock("svg",JN,[...eB])}const tB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:x6},render:x6},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:"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 M6(t,e){return o.openBlock(),o.createElementBlock("svg",nB,[...rB])}const sB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:M6},render:M6},Symbol.toStringTag,{value:"Module"})),iB={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10",fill:"none"},oB=[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 S6(t,e){return o.openBlock(),o.createElementBlock("svg",iB,[...oB])}const aB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:S6},render:S6},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:"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 v6(t,e){return o.openBlock(),o.createElementBlock("svg",lB,[...cB])}const dB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:v6},render:v6},Symbol.toStringTag,{value:"Module"})),uB={width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},hB=[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 T6(t,e){return o.openBlock(),o.createElementBlock("svg",uB,[...hB])}const fB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:T6},render:T6},Symbol.toStringTag,{value:"Module"})),mB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},pB=[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 O6(t,e){return o.openBlock(),o.createElementBlock("svg",mB,[...pB])}const gB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:O6},render:O6},Symbol.toStringTag,{value:"Module"})),_B={width:"18",height:"12",viewBox:"0 0 18 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},yB=[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 D6(t,e){return o.openBlock(),o.createElementBlock("svg",_B,[...yB])}const wB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:D6},render:D6},Symbol.toStringTag,{value:"Module"})),bB={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},kB=[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 E6(t,e){return o.openBlock(),o.createElementBlock("svg",bB,[...kB])}const CB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:E6},render:E6},Symbol.toStringTag,{value:"Module"})),xB={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},MB=[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 $6(t,e){return o.openBlock(),o.createElementBlock("svg",xB,[...MB])}const SB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:$6},render:$6},Symbol.toStringTag,{value:"Module"})),vB={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},TB=[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 P6(t,e){return o.openBlock(),o.createElementBlock("svg",vB,[...TB])}const OB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:P6},render:P6},Symbol.toStringTag,{value:"Module"})),DB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},EB=[o.createElementVNode("path",{d:"M16.6667 7.5L10.0001 14.1667L3.33337 7.5",stroke:"#1C2026","stroke-linecap":"square"},null,-1)];function L6(t,e){return o.openBlock(),o.createElementBlock("svg",DB,[...EB])}const $B=Object.freeze(Object.defineProperty({__proto__:null,default:{render:L6},render:L6},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:"M11.6663 13.3333L8.33301 10L11.6663 6.66666",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function V6(t,e){return o.openBlock(),o.createElementBlock("svg",PB,[...LB])}const VB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:V6},render:V6},Symbol.toStringTag,{value:"Module"})),NB={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},BB=[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 N6(t,e){return o.openBlock(),o.createElementBlock("svg",NB,[...BB])}const AB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:N6},render:N6},Symbol.toStringTag,{value:"Module"})),FB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},RB=[o.createElementVNode("path",{d:"M8.33301 13.3333L11.6663 10L8.33301 6.66666",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function B6(t,e){return o.openBlock(),o.createElementBlock("svg",FB,[...RB])}const IB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:B6},render:B6},Symbol.toStringTag,{value:"Module"})),HB={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 A6(t,e){return o.openBlock(),o.createElementBlock("svg",HB,[...zB])}const YB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:A6},render:A6},Symbol.toStringTag,{value:"Module"})),WB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},jB=[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 F6(t,e){return o.openBlock(),o.createElementBlock("svg",WB,[...jB])}const ZB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:F6},render:F6},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.66699 8.33337L10.0003 11.6667L13.3337 8.33337",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function R6(t,e){return o.openBlock(),o.createElementBlock("svg",UB,[...qB])}const GB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:R6},render:R6},Symbol.toStringTag,{value:"Module"})),KB={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},XB=[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 I6(t,e){return o.openBlock(),o.createElementBlock("svg",KB,[...XB])}const QB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:I6},render:I6},Symbol.toStringTag,{value:"Module"})),JB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},eA=[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 H6(t,e){return o.openBlock(),o.createElementBlock("svg",JB,[...eA])}const tA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:H6},render:H6},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 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 z6(t,e){return o.openBlock(),o.createElementBlock("svg",nA,[...rA])}const sA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:z6},render:z6},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:"M3.75 3.75L16.25 16.25M16.25 3.75L3.75 16.25",stroke:"#1C2026","stroke-linecap":"square"},null,-1)];function Y6(t,e){return o.openBlock(),o.createElementBlock("svg",iA,[...oA])}const aA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Y6},render:Y6},Symbol.toStringTag,{value:"Module"})),lA={width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},cA=[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 W6(t,e){return o.openBlock(),o.createElementBlock("svg",lA,[...cA])}const dA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:W6},render:W6},Symbol.toStringTag,{value:"Module"})),uA={xmlns:"http://www.w3.org/2000/svg",width:"21",height:"20",viewBox:"0 0 21 20",fill:"none"},hA=[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 j6(t,e){return o.openBlock(),o.createElementBlock("svg",uA,[...hA])}const fA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:j6},render:j6},Symbol.toStringTag,{value:"Module"})),mA={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},pA=[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 Z6(t,e){return o.openBlock(),o.createElementBlock("svg",mA,[...pA])}const gA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Z6},render:Z6},Symbol.toStringTag,{value:"Module"})),_A={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"21",viewBox:"0 0 20 21",fill:"none"},yA=[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 U6(t,e){return o.openBlock(),o.createElementBlock("svg",_A,[...yA])}const wA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:U6},render:U6},Symbol.toStringTag,{value:"Module"})),bA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},kA=[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 q6(t,e){return o.openBlock(),o.createElementBlock("svg",bA,[...kA])}const CA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:q6},render:q6},Symbol.toStringTag,{value:"Module"})),xA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"21",viewBox:"0 0 20 21",fill:"none"},MA=[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 G6(t,e){return o.openBlock(),o.createElementBlock("svg",xA,[...MA])}const SA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:G6},render:G6},Symbol.toStringTag,{value:"Module"})),vA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},TA=[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 K6(t,e){return o.openBlock(),o.createElementBlock("svg",vA,[...TA])}const OA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:K6},render:K6},Symbol.toStringTag,{value:"Module"})),DA={width:"34",height:"31",viewBox:"0 0 34 31",fill:"none",xmlns:"http://www.w3.org/2000/svg"},EA=[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 X6(t,e){return o.openBlock(),o.createElementBlock("svg",DA,[...EA])}const $A=Object.freeze(Object.defineProperty({__proto__:null,default:{render:X6},render:X6},Symbol.toStringTag,{value:"Module"})),PA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},LA=[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 Q6(t,e){return o.openBlock(),o.createElementBlock("svg",PA,[...LA])}const VA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Q6},render:Q6},Symbol.toStringTag,{value:"Module"})),NA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},BA=[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 J6(t,e){return o.openBlock(),o.createElementBlock("svg",NA,[...BA])}const AA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:J6},render:J6},Symbol.toStringTag,{value:"Module"})),FA={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},RA=[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 e_(t,e){return o.openBlock(),o.createElementBlock("svg",FA,[...RA])}const IA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:e_},render:e_},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:"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 t_(t,e){return o.openBlock(),o.createElementBlock("svg",HA,[...zA])}const YA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:t_},render:t_},Symbol.toStringTag,{value:"Module"})),WA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},jA=[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 n_(t,e){return o.openBlock(),o.createElementBlock("svg",WA,[...jA])}const ZA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:n_},render:n_},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("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 r_(t,e){return o.openBlock(),o.createElementBlock("svg",UA,[...qA])}const GA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:r_},render:r_},Symbol.toStringTag,{value:"Module"})),KA={width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},XA=[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 s_(t,e){return o.openBlock(),o.createElementBlock("svg",KA,[...XA])}const QA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:s_},render:s_},Symbol.toStringTag,{value:"Module"})),JA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},eF=[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 i_(t,e){return o.openBlock(),o.createElementBlock("svg",JA,[...eF])}const tF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:i_},render:i_},Symbol.toStringTag,{value:"Module"})),nF={width:"19",height:"16",viewBox:"0 0 19 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},rF=[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 o_(t,e){return o.openBlock(),o.createElementBlock("svg",nF,[...rF])}const sF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:o_},render:o_},Symbol.toStringTag,{value:"Module"})),iF={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},oF=[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 a_(t,e){return o.openBlock(),o.createElementBlock("svg",iF,[...oF])}const aF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:a_},render:a_},Symbol.toStringTag,{value:"Module"})),lF={width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},cF=[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 l_(t,e){return o.openBlock(),o.createElementBlock("svg",lF,[...cF])}const dF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:l_},render:l_},Symbol.toStringTag,{value:"Module"})),uF={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},hF=[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 c_(t,e){return o.openBlock(),o.createElementBlock("svg",uF,[...hF])}const fF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:c_},render:c_},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 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 d_(t,e){return o.openBlock(),o.createElementBlock("svg",mF,[...pF])}const gF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:d_},render:d_},Symbol.toStringTag,{value:"Module"})),_F={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},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:"#F2F2F2"},null,-1)];function u_(t,e){return o.openBlock(),o.createElementBlock("svg",_F,[...yF])}const wF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:u_},render:u_},Symbol.toStringTag,{value:"Module"})),bF={width:"24",height:"23",viewBox:"0 0 24 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},kF=[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 h_(t,e){return o.openBlock(),o.createElementBlock("svg",bF,[...kF])}const CF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:h_},render:h_},Symbol.toStringTag,{value:"Module"})),xF={width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},MF=[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 f_(t,e){return o.openBlock(),o.createElementBlock("svg",xF,[...MF])}const SF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:f_},render:f_},Symbol.toStringTag,{value:"Module"})),vF={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},TF=[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 m_(t,e){return o.openBlock(),o.createElementBlock("svg",vF,[...TF])}const OF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:m_},render:m_},Symbol.toStringTag,{value:"Module"})),DF={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},EF=[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 p_(t,e){return o.openBlock(),o.createElementBlock("svg",DF,[...EF])}const $F=Object.freeze(Object.defineProperty({__proto__:null,default:{render:p_},render:p_},Symbol.toStringTag,{value:"Module"})),PF={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},LF=[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 g_(t,e){return o.openBlock(),o.createElementBlock("svg",PF,[...LF])}const VF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:g_},render:g_},Symbol.toStringTag,{value:"Module"})),NF={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},BF=[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 __(t,e){return o.openBlock(),o.createElementBlock("svg",NF,[...BF])}const AF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:__},render:__},Symbol.toStringTag,{value:"Module"})),FF={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},RF=[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 y_(t,e){return o.openBlock(),o.createElementBlock("svg",FF,[...RF])}const IF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:y_},render:y_},Symbol.toStringTag,{value:"Module"})),HF={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 w_(t,e){return o.openBlock(),o.createElementBlock("svg",HF,[...zF])}const YF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:w_},render:w_},Symbol.toStringTag,{value:"Module"})),WF={width:"126",height:"21",viewBox:"0 0 126 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},jF=[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 b_(t,e){return o.openBlock(),o.createElementBlock("svg",WF,[...jF])}const ZF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:b_},render:b_},Symbol.toStringTag,{value:"Module"})),UF={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},qF=[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 k_(t,e){return o.openBlock(),o.createElementBlock("svg",UF,[...qF])}const GF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:k_},render:k_},Symbol.toStringTag,{value:"Module"})),KF={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},XF=[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 C_(t,e){return o.openBlock(),o.createElementBlock("svg",KF,[...XF])}const QF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:C_},render:C_},Symbol.toStringTag,{value:"Module"})),JF={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},eR=[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 x_(t,e){return o.openBlock(),o.createElementBlock("svg",JF,[...eR])}const tR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:x_},render:x_},Symbol.toStringTag,{value:"Module"})),nR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},rR=[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 M_(t,e){return o.openBlock(),o.createElementBlock("svg",nR,[...rR])}const sR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:M_},render:M_},Symbol.toStringTag,{value:"Module"})),iR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},oR=[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 S_(t,e){return o.openBlock(),o.createElementBlock("svg",iR,[...oR])}const aR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:S_},render:S_},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.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 v_(t,e){return o.openBlock(),o.createElementBlock("svg",lR,[...cR])}const dR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:v_},render:v_},Symbol.toStringTag,{value:"Module"})),uR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},hR=[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 T_(t,e){return o.openBlock(),o.createElementBlock("svg",uR,[...hR])}const fR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:T_},render:T_},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-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 O_(t,e){return o.openBlock(),o.createElementBlock("svg",mR,[...pR])}const gR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:O_},render:O_},Symbol.toStringTag,{value:"Module"})),_R={width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},yR=[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 D_(t,e){return o.openBlock(),o.createElementBlock("svg",_R,[...yR])}const wR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:D_},render:D_},Symbol.toStringTag,{value:"Module"})),bR={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},kR=[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 E_(t,e){return o.openBlock(),o.createElementBlock("svg",bR,[...kR])}const CR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:E_},render:E_},Symbol.toStringTag,{value:"Module"})),xR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},MR=[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 $_(t,e){return o.openBlock(),o.createElementBlock("svg",xR,[...MR])}const SR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:$_},render:$_},Symbol.toStringTag,{value:"Module"})),vR={width:"23",height:"23",viewBox:"0 0 23 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},TR=[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 P_(t,e){return o.openBlock(),o.createElementBlock("svg",vR,[...TR])}const OR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:P_},render:P_},Symbol.toStringTag,{value:"Module"})),DR={width:"21",height:"21",viewBox:"0 0 21 21",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",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 L_(t,e){return o.openBlock(),o.createElementBlock("svg",DR,[...ER])}const $R=Object.freeze(Object.defineProperty({__proto__:null,default:{render:L_},render:L_},Symbol.toStringTag,{value:"Module"})),PR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},LR=[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 V_(t,e){return o.openBlock(),o.createElementBlock("svg",PR,[...LR])}const VR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:V_},render:V_},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 2.33594H8.00004M13.6667 2.33594H8.00004M8.00004 2.33594V13.6693",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function N_(t,e){return o.openBlock(),o.createElementBlock("svg",NR,[...BR])}const AR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:N_},render:N_},Symbol.toStringTag,{value:"Module"})),FR={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},RR=[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 B_(t,e){return o.openBlock(),o.createElementBlock("svg",FR,[...RR])}const IR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:B_},render:B_},Symbol.toStringTag,{value:"Module"})),HR={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 A_(t,e){return o.openBlock(),o.createElementBlock("svg",HR,[...zR])}const YR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:A_},render:A_},Symbol.toStringTag,{value:"Module"})),WR={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},jR=[o.createElementVNode("circle",{cx:"10",cy:"10",r:"7.5",stroke:"#D1D4D6"},null,-1)];function F_(t,e){return o.openBlock(),o.createElementBlock("svg",WR,[...jR])}const ZR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:F_},render:F_},Symbol.toStringTag,{value:"Module"})),UR={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qR=[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 R_(t,e){return o.openBlock(),o.createElementBlock("svg",UR,[...qR])}const GR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:R_},render:R_},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:"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 I_(t,e){return o.openBlock(),o.createElementBlock("svg",KR,[...XR])}const QR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:I_},render:I_},Symbol.toStringTag,{value:"Module"})),JR={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:"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 H_(t,e){return o.openBlock(),o.createElementBlock("svg",JR,[...eI])}const tI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:H_},render:H_},Symbol.toStringTag,{value:"Module"})),nI={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},rI=[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 z_(t,e){return o.openBlock(),o.createElementBlock("svg",nI,[...rI])}const sI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:z_},render:z_},Symbol.toStringTag,{value:"Module"})),iI={width:"126",height:"21",viewBox:"0 0 126 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},oI=[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 Y_(t,e){return o.openBlock(),o.createElementBlock("svg",iI,[...oI])}const aI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Y_},render:Y_},Symbol.toStringTag,{value:"Module"})),lI={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},cI=[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 W_(t,e){return o.openBlock(),o.createElementBlock("svg",lI,[...cI])}const dI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:W_},render:W_},Symbol.toStringTag,{value:"Module"})),uI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},hI=[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 j_(t,e){return o.openBlock(),o.createElementBlock("svg",uI,[...hI])}const fI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:j_},render:j_},Symbol.toStringTag,{value:"Module"})),mI={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},pI=[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 Z_(t,e){return o.openBlock(),o.createElementBlock("svg",mI,[...pI])}const gI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Z_},render:Z_},Symbol.toStringTag,{value:"Module"})),_I={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},yI=[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 U_(t,e){return o.openBlock(),o.createElementBlock("svg",_I,[...yI])}const wI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:U_},render:U_},Symbol.toStringTag,{value:"Module"})),bI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},kI=[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 q_(t,e){return o.openBlock(),o.createElementBlock("svg",bI,[...kI])}const CI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:q_},render:q_},Symbol.toStringTag,{value:"Module"})),xI={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},MI=[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 G_(t,e){return o.openBlock(),o.createElementBlock("svg",xI,[...MI])}const SI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:G_},render:G_},Symbol.toStringTag,{value:"Module"})),vI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},TI=[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 K_(t,e){return o.openBlock(),o.createElementBlock("svg",vI,[...TI])}const OI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:K_},render:K_},Symbol.toStringTag,{value:"Module"})),DI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},EI=[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 X_(t,e){return o.openBlock(),o.createElementBlock("svg",DI,[...EI])}const $I=Object.freeze(Object.defineProperty({__proto__:null,default:{render:X_},render:X_},Symbol.toStringTag,{value:"Module"})),PI={width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},LI=[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 Q_(t,e){return o.openBlock(),o.createElementBlock("svg",PI,[...LI])}const VI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Q_},render:Q_},Symbol.toStringTag,{value:"Module"})),NI={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},BI=[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 J_(t,e){return o.openBlock(),o.createElementBlock("svg",NI,[...BI])}const AI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:J_},render:J_},Symbol.toStringTag,{value:"Module"})),FI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},RI=[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 e5(t,e){return o.openBlock(),o.createElementBlock("svg",FI,[...RI])}const II=Object.freeze(Object.defineProperty({__proto__:null,default:{render:e5},render:e5},Symbol.toStringTag,{value:"Module"})),HI={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 t5(t,e){return o.openBlock(),o.createElementBlock("svg",HI,[...zI])}const YI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:t5},render:t5},Symbol.toStringTag,{value:"Module"})),WI={width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},jI=[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 n5(t,e){return o.openBlock(),o.createElementBlock("svg",WI,[...jI])}const ZI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:n5},render:n5},Symbol.toStringTag,{value:"Module"})),UI={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"21",viewBox:"0 0 20 21",fill:"none"},qI=[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 r5(t,e){return o.openBlock(),o.createElementBlock("svg",UI,[...qI])}const GI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:r5},render:r5},Symbol.toStringTag,{value:"Module"})),KI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},XI=[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 s5(t,e){return o.openBlock(),o.createElementBlock("svg",KI,[...XI])}const QI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:s5},render:s5},Symbol.toStringTag,{value:"Module"})),JI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},eH=[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 i5(t,e){return o.openBlock(),o.createElementBlock("svg",JI,[...eH])}const tH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:i5},render:i5},Symbol.toStringTag,{value:"Module"})),nH={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},rH=[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 o5(t,e){return o.openBlock(),o.createElementBlock("svg",nH,[...rH])}const sH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:o5},render:o5},Symbol.toStringTag,{value:"Module"})),iH={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},oH=[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 a5(t,e){return o.openBlock(),o.createElementBlock("svg",iH,[...oH])}const aH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:a5},render:a5},Symbol.toStringTag,{value:"Module"})),lH={width:"18",height:"14",viewBox:"0 0 18 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},cH=[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 l5(t,e){return o.openBlock(),o.createElementBlock("svg",lH,[...cH])}const dH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:l5},render:l5},Symbol.toStringTag,{value:"Module"})),uH={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},hH=[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 c5(t,e){return o.openBlock(),o.createElementBlock("svg",uH,[...hH])}const fH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:c5},render:c5},Symbol.toStringTag,{value:"Module"})),mH={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},pH=[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 d5(t,e){return o.openBlock(),o.createElementBlock("svg",mH,[...pH])}const gH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:d5},render:d5},Symbol.toStringTag,{value:"Module"})),_H={width:"29",height:"34",viewBox:"0 0 29 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"},yH=[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 u5(t,e){return o.openBlock(),o.createElementBlock("svg",_H,[...yH])}const wH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:u5},render:u5},Symbol.toStringTag,{value:"Module"})),bH={width:"31",height:"32",viewBox:"0 0 31 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},kH=[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 h5(t,e){return o.openBlock(),o.createElementBlock("svg",bH,[...kH])}const CH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:h5},render:h5},Symbol.toStringTag,{value:"Module"})),xH={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},MH=[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 f5(t,e){return o.openBlock(),o.createElementBlock("svg",xH,[...MH])}const SH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:f5},render:f5},Symbol.toStringTag,{value:"Module"})),vH={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},TH=[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 m5(t,e){return o.openBlock(),o.createElementBlock("svg",vH,[...TH])}const OH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:m5},render:m5},Symbol.toStringTag,{value:"Module"})),DH={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},EH=[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 p5(t,e){return o.openBlock(),o.createElementBlock("svg",DH,[...EH])}const $H=Object.freeze(Object.defineProperty({__proto__:null,default:{render:p5},render:p5},Symbol.toStringTag,{value:"Module"})),PH={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"},LH=[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 g5(t,e){return o.openBlock(),o.createElementBlock("svg",PH,[...LH])}const VH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:g5},render:g5},Symbol.toStringTag,{value:"Module"}));se.AccountBalanceWidget=uS,se.AverageRRLine=Xp,se.BalanceWidget=DS,se.Button=ga,se.Calendar=p8,se.CalendarDropdown=r3,se.CalendarWidget=XS,se.CheckBox=n4,se.CommissionsFeesWidget=hv,se.Confetti=Rw,se.CookieManager=an,se.Dropdown=B5,se.Dropzone=sb,se.Icon=Le,se.Input=z5,se.LineChart=Bu,se.LongShort=z0,se.Menu=i4,se.NavigationTab=x8,se.NoMore=Xd,se.NumberInput=b8,se.PerformanceWidget=yv,se.PeriodDropdown=Ws,se.ProgressLine=s3,se.Radio=U5,se.ReturnWidget=Lv,se.Selector=_8,se.SidebarPopup=wb,se.SimpleLineChart=Au,se.Switcher=l4,se.Textarea=jw,se.Toast=F0,se.Toggle=Q5,se.Tooltip=mn,se.TopPositionsWidget=jv,se.TradePerformanceWidget=oT,se.WidgetChips=Zl,se.WinrateWidget=yT,se.addSlashToPair=f6,se.calculateTimeDifference=bN,se.firebaseConfig=pL,se.formatDate=h6,se.getDate=yN,se.getDay=lh,se.getDaysDifference=wN,se.getFullYear=pN,se.getMonth=_N,se.maskData=Me,se.numFormat=ah,se.scopeInstance=rc,se.toBaseDate=gN,se.toFix=Ot,se.transformKeysToQuery=mN,se.useToast=ch,se.withSign=cn,Object.defineProperty(se,Symbol.toStringTag,{value:"Module"})});
|
|
51
51
|
//# sourceMappingURL=scope360-core.umd.cjs.map
|