scope360-core 0.0.99 → 0.0.100
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 +23025 -7478
- package/dist/scope360-core.js.map +1 -1
- package/dist/scope360-core.umd.cjs +54 -8
- package/dist/scope360-core.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +7 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(_e,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],o):(_e=typeof globalThis<"u"?globalThis:_e||self,o(_e.Scope360Core={},_e.Vue))})(this,function(_e,o){"use strict";var U8=Object.defineProperty;var W8=(_e,o,mn)=>o in _e?U8(_e,o,{enumerable:!0,configurable:!0,writable:!0,value:mn}):_e[o]=mn;var ee=(_e,o,mn)=>(W8(_e,typeof o!="symbol"?o+"":o,mn),mn);const mn=(t,e)=>{const n=t[e];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((r,a)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(a.bind(null,new Error("Unknown variable dynamic import: "+e)))})},Qe={__name:"Icon",props:{icon:String},setup(t){const e=t;let n=o.defineAsyncComponent(()=>mn(Object.assign({"../assets/icons/account.svg":()=>Promise.resolve().then(()=>p9),"../assets/icons/apple.svg":()=>Promise.resolve().then(()=>g9),"../assets/icons/arrow-down-right.svg":()=>Promise.resolve().then(()=>C9),"../assets/icons/arrow-down.svg":()=>Promise.resolve().then(()=>v9),"../assets/icons/arrow-right.svg":()=>Promise.resolve().then(()=>S9),"../assets/icons/arrow-rotating.svg":()=>Promise.resolve().then(()=>B9),"../assets/icons/arrow-up-right.svg":()=>Promise.resolve().then(()=>P9),"../assets/icons/arrow-up.svg":()=>Promise.resolve().then(()=>D9),"../assets/icons/binance-circle.svg":()=>Promise.resolve().then(()=>R9),"../assets/icons/binance.svg":()=>Promise.resolve().then(()=>z9),"../assets/icons/book-guide.svg":()=>Promise.resolve().then(()=>Y9),"../assets/icons/bxs-down-arrow.svg":()=>Promise.resolve().then(()=>U9),"../assets/icons/bxs-up-arrow.svg":()=>Promise.resolve().then(()=>K9),"../assets/icons/bxs_up-arrow.svg":()=>Promise.resolve().then(()=>J9),"../assets/icons/calendar.svg":()=>Promise.resolve().then(()=>n4),"../assets/icons/charts.svg":()=>Promise.resolve().then(()=>a4),"../assets/icons/check-circle-fill.svg":()=>Promise.resolve().then(()=>l4),"../assets/icons/checked.svg":()=>Promise.resolve().then(()=>u4),"../assets/icons/chevron-down-small.svg":()=>Promise.resolve().then(()=>p4),"../assets/icons/chevron-left-small.svg":()=>Promise.resolve().then(()=>g4),"../assets/icons/chevron-left.svg":()=>Promise.resolve().then(()=>C4),"../assets/icons/chevron-right-small.svg":()=>Promise.resolve().then(()=>v4),"../assets/icons/chevron-right.svg":()=>Promise.resolve().then(()=>S4),"../assets/icons/chevron-top-small.svg":()=>Promise.resolve().then(()=>B4),"../assets/icons/chevron.svg":()=>Promise.resolve().then(()=>P4),"../assets/icons/circle-close.svg":()=>Promise.resolve().then(()=>D4),"../assets/icons/circle-plus.svg":()=>Promise.resolve().then(()=>R4),"../assets/icons/clock.svg":()=>Promise.resolve().then(()=>z4),"../assets/icons/close-popup.svg":()=>Promise.resolve().then(()=>Y4),"../assets/icons/close.svg":()=>Promise.resolve().then(()=>U4),"../assets/icons/coins-add.svg":()=>Promise.resolve().then(()=>K4),"../assets/icons/cookie.svg":()=>Promise.resolve().then(()=>J4),"../assets/icons/copy.svg":()=>Promise.resolve().then(()=>n7),"../assets/icons/cross.svg":()=>Promise.resolve().then(()=>a7),"../assets/icons/danger.svg":()=>Promise.resolve().then(()=>l7),"../assets/icons/date-range-light.svg":()=>Promise.resolve().then(()=>u7),"../assets/icons/download.svg":()=>Promise.resolve().then(()=>p7),"../assets/icons/edit-small.svg":()=>Promise.resolve().then(()=>g7),"../assets/icons/eye-slash.svg":()=>Promise.resolve().then(()=>C7),"../assets/icons/eye.svg":()=>Promise.resolve().then(()=>v7),"../assets/icons/filter.svg":()=>Promise.resolve().then(()=>S7),"../assets/icons/folder-add.svg":()=>Promise.resolve().then(()=>B7),"../assets/icons/folder-open.svg":()=>Promise.resolve().then(()=>P7),"../assets/icons/futures.svg":()=>Promise.resolve().then(()=>D7),"../assets/icons/getting-started-1.svg":()=>Promise.resolve().then(()=>R7),"../assets/icons/getting-started-2.svg":()=>Promise.resolve().then(()=>z7),"../assets/icons/getting-started-3.svg":()=>Promise.resolve().then(()=>Y7),"../assets/icons/getting-started.svg":()=>Promise.resolve().then(()=>U7),"../assets/icons/google-authenticator.svg":()=>Promise.resolve().then(()=>K7),"../assets/icons/google.svg":()=>Promise.resolve().then(()=>J7),"../assets/icons/hide.svg":()=>Promise.resolve().then(()=>nf),"../assets/icons/home.svg":()=>Promise.resolve().then(()=>af),"../assets/icons/info.svg":()=>Promise.resolve().then(()=>cf),"../assets/icons/layout-column.svg":()=>Promise.resolve().then(()=>hf),"../assets/icons/logo-with-text.svg":()=>Promise.resolve().then(()=>mf),"../assets/icons/mistake.svg":()=>Promise.resolve().then(()=>yf),"../assets/icons/modal-cross.svg":()=>Promise.resolve().then(()=>bf),"../assets/icons/move_light.svg":()=>Promise.resolve().then(()=>xf),"../assets/icons/notification_bell.svg":()=>Promise.resolve().then(()=>$f),"../assets/icons/open-date.svg":()=>Promise.resolve().then(()=>Tf),"../assets/icons/pair.svg":()=>Promise.resolve().then(()=>Vf),"../assets/icons/pie-chart-light.svg":()=>Promise.resolve().then(()=>Nf),"../assets/icons/pie-chart.svg":()=>Promise.resolve().then(()=>Ff),"../assets/icons/plus.svg":()=>Promise.resolve().then(()=>jf),"../assets/icons/pop-up_opener.svg":()=>Promise.resolve().then(()=>Zf),"../assets/icons/portfolio-alt.svg":()=>Promise.resolve().then(()=>Wf),"../assets/icons/portfolio-success.svg":()=>Promise.resolve().then(()=>Xf),"../assets/icons/portfolio.svg":()=>Promise.resolve().then(()=>ep),"../assets/icons/position-criteria.svg":()=>Promise.resolve().then(()=>rp),"../assets/icons/position-type.svg":()=>Promise.resolve().then(()=>ip),"../assets/icons/progress-box-checked.svg":()=>Promise.resolve().then(()=>cp),"../assets/icons/progress-box.svg":()=>Promise.resolve().then(()=>hp),"../assets/icons/progress_0.svg":()=>Promise.resolve().then(()=>mp),"../assets/icons/progress_1.svg":()=>Promise.resolve().then(()=>yp),"../assets/icons/progress_2.svg":()=>Promise.resolve().then(()=>bp),"../assets/icons/progress_3.svg":()=>Promise.resolve().then(()=>xp),"../assets/icons/qr.svg":()=>Promise.resolve().then(()=>$p),"../assets/icons/scope-futures-logo.svg":()=>Promise.resolve().then(()=>Tp),"../assets/icons/search-grey.svg":()=>Promise.resolve().then(()=>Vp),"../assets/icons/search.svg":()=>Promise.resolve().then(()=>Np),"../assets/icons/session.svg":()=>Promise.resolve().then(()=>Fp),"../assets/icons/settings-gear-2.svg":()=>Promise.resolve().then(()=>jp),"../assets/icons/settings.svg":()=>Promise.resolve().then(()=>Zp),"../assets/icons/setup.svg":()=>Promise.resolve().then(()=>Wp),"../assets/icons/share.svg":()=>Promise.resolve().then(()=>Xp),"../assets/icons/side.svg":()=>Promise.resolve().then(()=>e8),"../assets/icons/sort.svg":()=>Promise.resolve().then(()=>r8),"../assets/icons/spot.svg":()=>Promise.resolve().then(()=>i8),"../assets/icons/star.svg":()=>Promise.resolve().then(()=>c8),"../assets/icons/status.svg":()=>Promise.resolve().then(()=>h8),"../assets/icons/success.svg":()=>Promise.resolve().then(()=>m8),"../assets/icons/switch.svg":()=>Promise.resolve().then(()=>y8),"../assets/icons/three-dots.svg":()=>Promise.resolve().then(()=>b8),"../assets/icons/tip.svg":()=>Promise.resolve().then(()=>x8),"../assets/icons/trading_terminal.svg":()=>Promise.resolve().then(()=>$8),"../assets/icons/trending.svg":()=>Promise.resolve().then(()=>T8),"../assets/icons/vimeo_play_1.svg":()=>Promise.resolve().then(()=>V8),"../assets/icons/vimeo_play_2.svg":()=>Promise.resolve().then(()=>N8),"../assets/icons/waterfall-light.svg":()=>Promise.resolve().then(()=>F8),"../assets/icons/weekday.svg":()=>Promise.resolve().then(()=>j8),"../assets/icons/x.svg":()=>Promise.resolve().then(()=>Z8)}),`../assets/icons/${e.icon}.svg`));return(r,a)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(n)),{name:t.icon},null,8,["name"]))}},Je=(t,e)=>{const n=t.__vccOpts||t;for(const[r,a]of e)n[r]=a;return n},dd=["disabled"],ud={key:1},hd=Je({__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,a)=>(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(Qe,{key:0,icon:t.icon},null,8,["icon"])):o.createCommentVNode("",!0),t.ctaText?(o.openBlock(),o.createElementBlock("span",ud,o.toDisplayString(t.ctaText),1)):o.createCommentVNode("",!0)],14,dd))}},[["__scopeId","data-v-ffc148b3"]]);function Co(t){return t===0?!1:Array.isArray(t)&&t.length===0?!0:!t}function fd(t){return(...e)=>!t(...e)}function pd(t,e){return t===void 0&&(t="undefined"),t===null&&(t="null"),t===!1&&(t="false"),t.toString().toLowerCase().indexOf(e.trim())!==-1}function mi(t,e,n,r){return e?t.filter(a=>pd(r(a,n),e)).sort((a,i)=>r(a,n).length-r(i,n).length):t}function md(t){return t.filter(e=>!e.$isLabel)}function bo(t,e){return n=>n.reduce((r,a)=>a[t]&&a[t].length?(r.push({$groupLabel:a[e],$isLabel:!0}),r.concat(a[t])):r,[])}function _d(t,e,n,r,a){return i=>i.map(s=>{if(!s[n])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];const l=mi(s[n],t,e,a);return l.length?{[r]:s[r],[n]:l}:[]})}const _i=(...t)=>e=>t.reduce((n,r)=>r(n),e);var gd={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 Co(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):mi(n,e,this.label,this.customLabel):n=this.groupValues?bo(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(fd(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 _i(_d(e,n,this.groupValues,this.groupLabel,this.customLabel),bo(this.groupValues,this.groupLabel))(t)},flatAndStrip(t){return _i(bo(this.groupValues,this.groupLabel),md)(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(Co(t))return"";if(t.isTag)return t.label;if(t.$isLabel)return t.$groupLabel;const e=this.customLabel(t,this.label);return Co(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))}}},yd={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}}},gi={name:"vue-multiselect",mixins:[gd,yd],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 wd={ref:"tags",class:"multiselect__tags"},Cd={class:"multiselect__tags-wrap"},bd={class:"multiselect__spinner"},kd={key:0},vd={class:"multiselect__option"},xd={class:"multiselect__option"},Md=o.createTextVNode("No elements found. Consider changing the search query."),Sd={class:"multiselect__option"},$d=o.createTextVNode("List is empty.");function Ld(t,e,n,r,a,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]=s=>t.activate()),onBlur:e[15]||(e[15]=s=>t.searchable?!1:t.deactivate()),onKeydown:[e[16]||(e[16]=o.withKeys(o.withModifiers(s=>t.pointerForward(),["self","prevent"]),["down"])),e[17]||(e[17]=o.withKeys(o.withModifiers(s=>t.pointerBackward(),["self","prevent"]),["up"]))],onKeypress:e[18]||(e[18]=o.withKeys(o.withModifiers(s=>t.addPointerElement(s),["stop","self"]),["enter","tab"])),onKeyup:e[19]||(e[19]=o.withKeys(s=>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(s=>t.toggle(),["prevent","stop"])),class:"multiselect__select"},null,32)]),o.renderSlot(t.$slots,"clear",{search:t.search}),o.createVNode("div",wd,[o.renderSlot(t.$slots,"selection",{search:t.search,remove:t.removeElement,values:i.visibleValues,isOpen:t.isOpen},()=>[o.withDirectives(o.createVNode("div",Cd,[(o.openBlock(!0),o.createBlock(o.Fragment,null,o.renderList(i.visibleValues,(s,l)=>o.renderSlot(t.$slots,"tag",{option:s,search:t.search,remove:t.removeElement},()=>[(o.openBlock(),o.createBlock("span",{class:"multiselect__tag",key:l},[o.createVNode("span",{textContent:o.toDisplayString(t.getOptionLabel(s))},null,8,["textContent"]),o.createVNode("i",{tabindex:"1",onKeypress:o.withKeys(o.withModifiers(c=>t.removeElement(s),["prevent"]),["enter"]),onMousedown:o.withModifiers(c=>t.removeElement(s),["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",bd,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]=s=>t.updateSearch(s.target.value)),onFocus:e[3]||(e[3]=o.withModifiers(s=>t.activate(),["prevent"])),onBlur:e[4]||(e[4]=o.withModifiers(s=>t.deactivate(),["prevent"])),onKeyup:e[5]||(e[5]=o.withKeys(s=>t.deactivate(),["esc"])),onKeydown:[e[6]||(e[6]=o.withKeys(o.withModifiers(s=>t.pointerForward(),["prevent"]),["down"])),e[7]||(e[7]=o.withKeys(o.withModifiers(s=>t.pointerBackward(),["prevent"]),["up"])),e[9]||(e[9]=o.withKeys(o.withModifiers(s=>t.removeLastElement(),["stop"]),["delete"]))],onKeypress:e[8]||(e[8]=o.withKeys(o.withModifiers(s=>t.addPointerElement(s),["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((...s)=>t.toggle&&t.toggle(...s),["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((...s)=>t.toggle&&t.toggle(...s),["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]=(...s)=>t.activate&&t.activate(...s)),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",kd,[o.createVNode("span",vd,[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,(s,l)=>(o.openBlock(),o.createBlock("li",{class:"multiselect__element",key:l,id:t.id+"-"+l,role:s&&(s.$isLabel||s.$isDisabled)?null:"option"},[s&&(s.$isLabel||s.$isDisabled)?o.createCommentVNode("v-if",!0):(o.openBlock(),o.createBlock("span",{key:0,class:[t.optionHighlight(l,s),"multiselect__option"],onClick:o.withModifiers(c=>t.select(s),["stop"]),onMouseenter:o.withModifiers(c=>t.pointerSet(l),["self"]),"data-select":s&&s.isTag?t.tagPlaceholder:i.selectLabelText,"data-selected":i.selectedLabelText,"data-deselect":i.deselectLabelText},[o.renderSlot(t.$slots,"option",{option:s,search:t.search,index:l},()=>[o.createVNode("span",null,o.toDisplayString(t.getOptionLabel(s)),1)])],42,["onClick","onMouseenter","data-select","data-selected","data-deselect"])),s&&(s.$isLabel||s.$isDisabled)?(o.openBlock(),o.createBlock("span",{key:1,"data-select":t.groupSelect&&i.selectGroupLabelText,"data-deselect":t.groupSelect&&i.deselectGroupLabelText,class:[t.groupHighlight(l,s),"multiselect__option"],onMouseenter:o.withModifiers(c=>t.groupSelect&&t.pointerSet(l),["self"]),onMousedown:o.withModifiers(c=>t.selectGroup(s),["prevent"])},[o.renderSlot(t.$slots,"option",{option:s,search:t.search,index:l},()=>[o.createVNode("span",null,o.toDisplayString(t.getOptionLabel(s)),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",xd,[o.renderSlot(t.$slots,"noResult",{search:t.search},()=>[Md])])],512),[[o.vShow,n.showNoResults&&t.filteredOptions.length===0&&t.search&&!n.loading]]),o.withDirectives(o.createVNode("li",null,[o.createVNode("span",Sd,[o.renderSlot(t.$slots,"noOptions",{},()=>[$d])])],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"])}gi.render=Ld;const Bd={key:0,class:"scope-multiselect-label"},Td=Je({__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),a=o.computed(()=>r.value&&r.value.isOpen),i=o.computed(()=>!!(c.value&&c.value.length)),s=o.computed(()=>e.options.every(u=>typeof u=="object"&&u!==null)),l=o.computed(()=>s.value?e.options.map(u=>u.name):e.options),c=o.useModel(t,"modelValue",{get(u){return typeof u=="object"?u.name:u},set(u){return s.value?e.options.find(d=>d.name===u):u}});return(u,d)=>(o.openBlock(),o.createElementBlock("div",{class:"scope-multiselect-container",style:o.normalizeStyle(n.value)},[t.label?(o.openBlock(),o.createElementBlock("div",Bd,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),o.createVNode(o.unref(gi),{ref_key:"multiselect",ref:r,class:o.normalizeClass(["scope-multiselect",`-${t.size}`,{"-with-search":t.searchable,"-invalid":t.invalid}]),modelValue:c.value,"onUpdate:modelValue":d[0]||(d[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(Qe,{key:0,icon:"search",class:o.normalizeClass(["search-item",i.value?"-is-not-empty":"-is-empty"])},null,8,["class"])):o.createCommentVNode("",!0),o.createVNode(Qe,{icon:"chevron",class:o.normalizeClass(["select-item",i.value?"-is-not-empty":"-is-empty",{"-opened":a.value}])},null,8,["class"])],2)],4))}},[["__scopeId","data-v-687ab011"]]),Ed={key:0,class:"scope-input__label"},Pd={key:0,class:"scope-input__sign"},Vd=["disabled","placeholder","maxlength","pattern","type"],Od={key:1,class:"scope-input__error"},Dd=Je({__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},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["input","enter"],["update:modelValue"]),setup(t,{emit:e}){const{error:n}=_1(),r=e,a=o.useModel(t,"modelValue"),i=t,s=o.computed(()=>i.width?{width:i.width}:null),l=o.ref(!1),c=u=>{navigator.clipboard.writeText(u).then(()=>{l.value=!0;const d=setTimeout(()=>{l.value=!1,clearTimeout(d)},3e3)}).catch(d=>{n(d)})};return(u,d)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["scope-input",{"-have-icon":t.icon,"-full-width":t.fullWidth,"-clear-button":t.haveClearButton||t.haveCopyButton}])},[t.label?(o.openBlock(),o.createElementBlock("div",Ed,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["scope-input__container",`-${t.size}`])},[t.sideSign?(o.openBlock(),o.createElementBlock("div",Pd,o.toDisplayString(t.sideSign),1)):o.createCommentVNode("",!0),o.withDirectives(o.createElementVNode("input",{disabled:t.disabled,class:o.normalizeClass([`-${t.size}`,{"-invalid":t.invalid,"-side-sign":!!t.sideSign}]),"onUpdate:modelValue":d[0]||(d[0]=h=>a.value=h),style:o.normalizeStyle(s.value),placeholder:t.placeholder,onInput:d[1]||(d[1]=h=>r("input")),onKeyup:d[2]||(d[2]=o.withKeys(h=>r("enter"),["enter"])),maxlength:t.maxLength,pattern:t.pattern,type:t.type},null,46,Vd),[[o.vModelDynamic,a.value]])],2),o.createElementVNode("div",{class:o.normalizeClass(["scope-input__icon-wrapper",`-${t.size}`,{"-only-search":t.haveClearButton||t.haveCopyButton&&!t.icon,"-with-label":!!t.label}])},[t.icon?(o.openBlock(),o.createBlock(o.unref(Qe),{key:0,icon:t.icon,class:"scope-input__icon"},null,8,["icon"])):o.createCommentVNode("",!0),t.haveClearButton?(o.openBlock(),o.createBlock(o.unref(Qe),{key:1,class:"scope-input__clear",icon:"cross",onClick:d[3]||(d[3]=h=>a.value="")})):o.createCommentVNode("",!0),t.haveCopyButton&&!l.value?(o.openBlock(),o.createBlock(o.unref(Qe),{key:2,class:"scope-input__clear",icon:"copy",onClick:d[4]||(d[4]=h=>c(a.value))})):o.createCommentVNode("",!0),t.haveCopyButton&&l.value?(o.openBlock(),o.createBlock(o.unref(Qe),{key:3,class:"scope-input__clear",icon:"checked"})):o.createCommentVNode("",!0)],2),t.invalid?(o.openBlock(),o.createElementBlock("div",Od,o.toDisplayString(t.errorMessage),1)):o.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-78225f82"]]),Nd={class:"scope-radio-label"},Ad=["value","checked"],Rd={class:"scope-text"},Fd={__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.ref(null),a=()=>{e.value=n.value},i=o.computed(()=>e.value);return o.onMounted(()=>{a()}),(s,l)=>(o.openBlock(),o.createElementBlock("label",Nd,[o.createElementVNode("input",{name:"radio",type:"radio",ref_key:"radio",ref:r,value:t.value,class:"scope-radio-input",checked:i.value,onClick:a},null,8,Ad),o.createElementVNode("span",{class:o.normalizeClass(["scope-radio",{"-checked":i.value}])},null,2),o.createElementVNode("span",Rd,o.toDisplayString(t.label),1)]))}},Hd=Je(Fd,[["__scopeId","data-v-a6d4ba91"]]),zd=t=>(o.pushScopeId("data-v-7e155a89"),t=t(),o.popScopeId(),t),jd={class:"scope-toggle-wrapper"},Id=["checked","name"],Yd=zd(()=>o.createElementVNode("div",{class:"scope-toggle-wrapper__indicator"},null,-1)),Zd=Je({__name:"Toggle",props:o.mergeModels({name:String},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=o.useModel(t,"modelValue"),n=()=>{e.value=!e.value};return(r,a)=>(o.openBlock(),o.createElementBlock("div",jd,[o.createElementVNode("input",{type:"checkbox",class:"scope-toggle-wrapper__checkbox",checked:e.value,name:t.name,onChange:n},null,40,Id),Yd]))}},[["__scopeId","data-v-7e155a89"]]),qd={class:"scope-checkbox-container"},Ud=["id"],Wd=["for"],Gd=Je({__name:"CheckBox",props:o.mergeModels({label:String,name:{type:String,default:()=>Math.random().toString()}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=o.useModel(t,"modelValue");return(n,r)=>(o.openBlock(),o.createElementBlock("ul",qd,[o.createElementVNode("li",null,[o.withDirectives(o.createElementVNode("input",{"onUpdate:modelValue":r[0]||(r[0]=a=>e.value=a),class:"scope-checkbox",id:t.name,type:"checkbox"},null,8,Ud),[[o.vModelCheckbox,e.value]]),o.createElementVNode("label",{for:t.name},o.toDisplayString(t.label),9,Wd)])]))}},[["__scopeId","data-v-16dedb1c"]]),Kd={class:"scope-menu-tabs"},Xd=["onClick"],Qd=Je({__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,a)=>(o.openBlock(),o.createElementBlock("div",Kd,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.tabs,(i,s)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["scope-menu-tab",{"-active":e.value==i.id}]),onClick:l=>n(i.id),key:s},o.toDisplayString(i.name),11,Xd))),128))]))}},[["__scopeId","data-v-30014e05"]]),Jd={class:"scope-switcher"},e2={class:"scope-switcher__current-item"},t2=Je({__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)),a=o.computed(()=>n.value.id===e.items[0].id),i=o.computed(()=>n.value.id===e.items.at(-1).id),s=()=>{n.value=e.items[r.value-1]},l=()=>{n.value=e.items[r.value+1]};return(c,u)=>(o.openBlock(),o.createElementBlock("div",Jd,[o.createVNode(Qe,{icon:"chevron-left-small",class:o.normalizeClass(["scope-switcher__left",{"-first-item":a.value}]),onClick:s},null,8,["class"]),o.createElementVNode("div",e2,o.toDisplayString(n.value.name),1),o.createVNode(Qe,{icon:"chevron-right-small",class:o.normalizeClass(["scope-switcher__right",{"-last-item":i.value}]),onClick:l},null,8,["class"])]))}},[["__scopeId","data-v-4a290f88"]]);function ne(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 ge(t,e){return t instanceof Date?new t.constructor(e):new Date(e)}function wt(t,e){const n=ne(t);return isNaN(e)?ge(t,NaN):(e&&n.setDate(n.getDate()+e),n)}function Ct(t,e){const n=ne(t);if(isNaN(e))return ge(t,NaN);if(!e)return n;const r=n.getDate(),a=ge(t,n.getTime());a.setMonth(n.getMonth()+e+1,0);const i=a.getDate();return r>=i?a:(n.setFullYear(a.getFullYear(),a.getMonth(),r),n)}function yi(t,e){const{years:n=0,months:r=0,weeks:a=0,days:i=0,hours:s=0,minutes:l=0,seconds:c=0}=e,u=ne(t),d=r||n?Ct(u,r+n*12):u,h=i||a?wt(d,i+a*7):d,p=l+s*60,m=(c+p*60)*1e3;return ge(t,h.getTime()+m)}function n2(t,e){const n=+ne(t);return ge(t,n+e)}const wi=6048e5,r2=864e5,o2=6e4,Ci=36e5,a2=1e3;function i2(t,e){return n2(t,e*Ci)}let s2={};function _n(){return s2}function Mt(t,e){var l,c,u,d;const n=_n(),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??((d=(u=n.locale)==null?void 0:u.options)==null?void 0:d.weekStartsOn)??0,a=ne(t),i=a.getDay(),s=(i<r?7:0)+i-r;return a.setDate(a.getDate()-s),a.setHours(0,0,0,0),a}function Dn(t){return Mt(t,{weekStartsOn:1})}function bi(t){const e=ne(t),n=e.getFullYear(),r=ge(t,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const a=Dn(r),i=ge(t,0);i.setFullYear(n,0,4),i.setHours(0,0,0,0);const s=Dn(i);return e.getTime()>=a.getTime()?n+1:e.getTime()>=s.getTime()?n:n-1}function ki(t){const e=ne(t);return e.setHours(0,0,0,0),e}function Nr(t){const e=ne(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 vi(t,e){const n=ki(t),r=ki(e),a=+n-Nr(n),i=+r-Nr(r);return Math.round((a-i)/r2)}function l2(t){const e=bi(t),n=ge(t,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),Dn(n)}function c2(t,e){const n=e*3;return Ct(t,n)}function ko(t,e){return Ct(t,e*12)}function xi(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function ar(t){if(!xi(t)&&typeof t!="number")return!1;const e=ne(t);return!isNaN(Number(e))}function Mi(t){const e=ne(t);return Math.trunc(e.getMonth()/3)+1}function Si(t,e){const n=ne(t.start),r=ne(t.end);let a=+n>+r;const i=a?+n:+r,s=a?r:n;s.setHours(0,0,0,0);let l=(e==null?void 0:e.step)??1;if(!l)return[];l<0&&(l=-l,a=!a);const c=[];for(;+s<=i;)c.push(ne(s)),s.setDate(s.getDate()+l),s.setHours(0,0,0,0);return a?c.reverse():c}function gn(t){const e=ne(t),n=e.getMonth(),r=n-n%3;return e.setMonth(r,1),e.setHours(0,0,0,0),e}function d2(t,e){const n=ne(t.start),r=ne(t.end);let a=+n>+r;const i=a?+gn(n):+gn(r);let s=gn(a?r:n),l=(e==null?void 0:e.step)??1;if(!l)return[];l<0&&(l=-l,a=!a);const c=[];for(;+s<=i;)c.push(ne(s)),s=c2(s,l);return a?c.reverse():c}function u2(t){const e=ne(t),n=e.getFullYear();return e.setFullYear(n+1,0,0),e.setHours(23,59,59,999),e}function $i(t){const e=ne(t),n=ge(t,0);return n.setFullYear(e.getFullYear(),0,1),n.setHours(0,0,0,0),n}function h2(t,e){var l,c,u,d;const n=_n(),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??((d=(u=n.locale)==null?void 0:u.options)==null?void 0:d.weekStartsOn)??0,a=ne(t),i=a.getDay(),s=(i<r?-7:0)+6-(i-r);return a.setDate(a.getDate()+s),a.setHours(23,59,59,999),a}function Li(t){const e=ne(t),n=e.getMonth(),r=n-n%3+3;return e.setMonth(r,0),e.setHours(23,59,59,999),e}const f2={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"}},p2=(t,e,n)=>{let r;const a=f2[t];return typeof a=="string"?r=a:e===1?r=a.one:r=a.other.replace("{{count}}",e.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function vo(t){return(e={})=>{const n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}const m2={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},_2={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},g2={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},y2={date:vo({formats:m2,defaultWidth:"full"}),time:vo({formats:_2,defaultWidth:"full"}),dateTime:vo({formats:g2,defaultWidth:"full"})},w2={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},C2=(t,e,n,r)=>w2[t];function ir(t){return(e,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let a;if(r==="formatting"&&t.formattingValues){const s=t.defaultFormattingWidth||t.defaultWidth,l=n!=null&&n.width?String(n.width):s;a=t.formattingValues[l]||t.formattingValues[s]}else{const s=t.defaultWidth,l=n!=null&&n.width?String(n.width):t.defaultWidth;a=t.values[l]||t.values[s]}const i=t.argumentCallback?t.argumentCallback(e):e;return a[i]}}const b2={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},k2={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},v2={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"]},x2={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"]},M2={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"}},S2={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"}},$2={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:ir({values:b2,defaultWidth:"wide"}),quarter:ir({values:k2,defaultWidth:"wide",argumentCallback:t=>t-1}),month:ir({values:v2,defaultWidth:"wide"}),day:ir({values:x2,defaultWidth:"wide"}),dayPeriod:ir({values:M2,defaultWidth:"wide",formattingValues:S2,defaultFormattingWidth:"wide"})};function sr(t){return(e,n={})=>{const r=n.width,a=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],i=e.match(a);if(!i)return null;const s=i[0],l=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],c=Array.isArray(l)?B2(l,h=>h.test(s)):L2(l,h=>h.test(s));let u;u=t.valueCallback?t.valueCallback(c):c,u=n.valueCallback?n.valueCallback(u):u;const d=e.slice(s.length);return{value:u,rest:d}}}function L2(t,e){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n}function B2(t,e){for(let n=0;n<t.length;n++)if(e(t[n]))return n}function T2(t){return(e,n={})=>{const r=e.match(t.matchPattern);if(!r)return null;const a=r[0],i=e.match(t.parsePattern);if(!i)return null;let s=t.valueCallback?t.valueCallback(i[0]):i[0];s=n.valueCallback?n.valueCallback(s):s;const l=e.slice(a.length);return{value:s,rest:l}}}const E2=/^(\d+)(th|st|nd|rd)?/i,P2=/\d+/i,V2={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},O2={any:[/^b/i,/^(a|c)/i]},D2={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},N2={any:[/1/i,/2/i,/3/i,/4/i]},A2={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},R2={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]},F2={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},H2={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]},z2={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},j2={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}},I2={ordinalNumber:T2({matchPattern:E2,parsePattern:P2,valueCallback:t=>parseInt(t,10)}),era:sr({matchPatterns:V2,defaultMatchWidth:"wide",parsePatterns:O2,defaultParseWidth:"any"}),quarter:sr({matchPatterns:D2,defaultMatchWidth:"wide",parsePatterns:N2,defaultParseWidth:"any",valueCallback:t=>t+1}),month:sr({matchPatterns:A2,defaultMatchWidth:"wide",parsePatterns:R2,defaultParseWidth:"any"}),day:sr({matchPatterns:F2,defaultMatchWidth:"wide",parsePatterns:H2,defaultParseWidth:"any"}),dayPeriod:sr({matchPatterns:z2,defaultMatchWidth:"any",parsePatterns:j2,defaultParseWidth:"any"})},Bi={code:"en-US",formatDistance:p2,formatLong:y2,formatRelative:C2,localize:$2,match:I2,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Y2(t){const e=ne(t);return vi(e,$i(e))+1}function xo(t){const e=ne(t),n=+Dn(e)-+l2(e);return Math.round(n/wi)+1}function Mo(t,e){var d,h,p,_;const n=ne(t),r=n.getFullYear(),a=_n(),i=(e==null?void 0:e.firstWeekContainsDate)??((h=(d=e==null?void 0:e.locale)==null?void 0:d.options)==null?void 0:h.firstWeekContainsDate)??a.firstWeekContainsDate??((_=(p=a.locale)==null?void 0:p.options)==null?void 0:_.firstWeekContainsDate)??1,s=ge(t,0);s.setFullYear(r+1,0,i),s.setHours(0,0,0,0);const l=Mt(s,e),c=ge(t,0);c.setFullYear(r,0,i),c.setHours(0,0,0,0);const u=Mt(c,e);return n.getTime()>=l.getTime()?r+1:n.getTime()>=u.getTime()?r:r-1}function Z2(t,e){var l,c,u,d;const n=_n(),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??((d=(u=n.locale)==null?void 0:u.options)==null?void 0:d.firstWeekContainsDate)??1,a=Mo(t,e),i=ge(t,0);return i.setFullYear(a,0,r),i.setHours(0,0,0,0),Mt(i,e)}function So(t,e){const n=ne(t),r=+Mt(n,e)-+Z2(n,e);return Math.round(r/wi)+1}function we(t,e){const n=t<0?"-":"",r=Math.abs(t).toString().padStart(e,"0");return n+r}const Kt={y(t,e){const n=t.getFullYear(),r=n>0?n:1-n;return we(e==="yy"?r%100:r,e.length)},M(t,e){const n=t.getMonth();return e==="M"?String(n+1):we(n+1,2)},d(t,e){return we(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 we(t.getHours()%12||12,e.length)},H(t,e){return we(t.getHours(),e.length)},m(t,e){return we(t.getMinutes(),e.length)},s(t,e){return we(t.getSeconds(),e.length)},S(t,e){const n=e.length,r=t.getMilliseconds(),a=Math.trunc(r*Math.pow(10,n-3));return we(a,e.length)}},Nn={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Ti={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(),a=r>0?r:1-r;return n.ordinalNumber(a,{unit:"year"})}return Kt.y(t,e)},Y:function(t,e,n,r){const a=Mo(t,r),i=a>0?a:1-a;if(e==="YY"){const s=i%100;return we(s,2)}return e==="Yo"?n.ordinalNumber(i,{unit:"year"}):we(i,e.length)},R:function(t,e){const n=bi(t);return we(n,e.length)},u:function(t,e){const n=t.getFullYear();return we(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 we(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 we(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 Kt.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 we(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 a=So(t,r);return e==="wo"?n.ordinalNumber(a,{unit:"week"}):we(a,e.length)},I:function(t,e,n){const r=xo(t);return e==="Io"?n.ordinalNumber(r,{unit:"week"}):we(r,e.length)},d:function(t,e,n){return e==="do"?n.ordinalNumber(t.getDate(),{unit:"date"}):Kt.d(t,e)},D:function(t,e,n){const r=Y2(t);return e==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):we(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 a=t.getDay(),i=(a-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(i);case"ee":return we(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});case"eeee":default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){const a=t.getDay(),i=(a-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(i);case"cc":return we(i,e.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});case"cccc":default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(t,e,n){const r=t.getDay(),a=r===0?7:r;switch(e){case"i":return String(a);case"ii":return we(a,e.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){const a=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(t,e,n){const r=t.getHours();let a;switch(r===12?a=Nn.noon:r===0?a=Nn.midnight:a=r/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(t,e,n){const r=t.getHours();let a;switch(r>=17?a=Nn.evening:r>=12?a=Nn.afternoon:r>=4?a=Nn.morning:a=Nn.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(a,{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 Kt.h(t,e)},H:function(t,e,n){return e==="Ho"?n.ordinalNumber(t.getHours(),{unit:"hour"}):Kt.H(t,e)},K:function(t,e,n){const r=t.getHours()%12;return e==="Ko"?n.ordinalNumber(r,{unit:"hour"}):we(r,e.length)},k:function(t,e,n){let r=t.getHours();return r===0&&(r=24),e==="ko"?n.ordinalNumber(r,{unit:"hour"}):we(r,e.length)},m:function(t,e,n){return e==="mo"?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):Kt.m(t,e)},s:function(t,e,n){return e==="so"?n.ordinalNumber(t.getSeconds(),{unit:"second"}):Kt.s(t,e)},S:function(t,e){return Kt.S(t,e)},X:function(t,e,n){const r=t.getTimezoneOffset();if(r===0)return"Z";switch(e){case"X":return Pi(r);case"XXXX":case"XX":return yn(r);case"XXXXX":case"XXX":default:return yn(r,":")}},x:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"x":return Pi(r);case"xxxx":case"xx":return yn(r);case"xxxxx":case"xxx":default:return yn(r,":")}},O:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+Ei(r,":");case"OOOO":default:return"GMT"+yn(r,":")}},z:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+Ei(r,":");case"zzzz":default:return"GMT"+yn(r,":")}},t:function(t,e,n){const r=Math.trunc(t.getTime()/1e3);return we(r,e.length)},T:function(t,e,n){const r=t.getTime();return we(r,e.length)}};function Ei(t,e=""){const n=t>0?"-":"+",r=Math.abs(t),a=Math.trunc(r/60),i=r%60;return i===0?n+String(a):n+String(a)+e+we(i,2)}function Pi(t,e){return t%60===0?(t>0?"-":"+")+we(Math.abs(t)/60,2):yn(t,e)}function yn(t,e=""){const n=t>0?"-":"+",r=Math.abs(t),a=we(Math.trunc(r/60),2),i=we(r%60,2);return n+a+e+i}const Vi=(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"})}},Oi=(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"})}},$o={p:Oi,P:(t,e)=>{const n=t.match(/(P+)(p+)?/)||[],r=n[1],a=n[2];if(!a)return Vi(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}}",Vi(r,e)).replace("{{time}}",Oi(a,e))}},q2=/^D+$/,U2=/^Y+$/,W2=["D","DD","YY","YYYY"];function Di(t){return q2.test(t)}function Ni(t){return U2.test(t)}function Lo(t,e,n){const r=G2(t,e,n);if(console.warn(r),W2.includes(t))throw new RangeError(r)}function G2(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 K2=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,X2=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Q2=/^'([^]*?)'?$/,J2=/''/g,e0=/[a-zA-Z]/;function St(t,e,n){var d,h,p,_,m,f,b,S;const r=_n(),a=(n==null?void 0:n.locale)??r.locale??Bi,i=(n==null?void 0:n.firstWeekContainsDate)??((h=(d=n==null?void 0:n.locale)==null?void 0:d.options)==null?void 0:h.firstWeekContainsDate)??r.firstWeekContainsDate??((_=(p=r.locale)==null?void 0:p.options)==null?void 0:_.firstWeekContainsDate)??1,s=(n==null?void 0:n.weekStartsOn)??((f=(m=n==null?void 0:n.locale)==null?void 0:m.options)==null?void 0:f.weekStartsOn)??r.weekStartsOn??((S=(b=r.locale)==null?void 0:b.options)==null?void 0:S.weekStartsOn)??0,l=ne(t);if(!ar(l))throw new RangeError("Invalid time value");let c=e.match(X2).map(M=>{const C=M[0];if(C==="p"||C==="P"){const x=$o[C];return x(M,a.formatLong)}return M}).join("").match(K2).map(M=>{if(M==="''")return{isToken:!1,value:"'"};const C=M[0];if(C==="'")return{isToken:!1,value:t0(M)};if(Ti[C])return{isToken:!0,value:M};if(C.match(e0))throw new RangeError("Format string contains an unescaped latin alphabet character `"+C+"`");return{isToken:!1,value:M}});a.localize.preprocessor&&(c=a.localize.preprocessor(l,c));const u={firstWeekContainsDate:i,weekStartsOn:s,locale:a};return c.map(M=>{if(!M.isToken)return M.value;const C=M.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&Ni(C)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&Di(C))&&Lo(C,e,String(t));const x=Ti[C[0]];return x(l,C,a.localize,u)}).join("")}function t0(t){const e=t.match(Q2);return e?e[1].replace(J2,"'"):t}function n0(t){return ne(t).getDay()}function r0(t){const e=ne(t),n=e.getFullYear(),r=e.getMonth(),a=ge(t,0);return a.setFullYear(n,r+1,0),a.setHours(0,0,0,0),a.getDate()}function o0(){return Object.assign({},_n())}function bt(t){return ne(t).getHours()}function a0(t){let n=ne(t).getDay();return n===0&&(n=7),n}function $t(t){return ne(t).getMinutes()}function he(t){return ne(t).getMonth()}function An(t){return ne(t).getSeconds()}function ce(t){return ne(t).getFullYear()}function lr(t,e){const n=ne(t),r=ne(e);return n.getTime()>r.getTime()}function cr(t,e){const n=ne(t),r=ne(e);return+n<+r}function Rn(t,e){const n=ne(t),r=ne(e);return+n==+r}function i0(t,e){const n=e instanceof Date?ge(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 s0=10;class Ai{constructor(){ee(this,"subPriority",0)}validate(e,n){return!0}}class l0 extends Ai{constructor(e,n,r,a,i){super(),this.value=e,this.validateValue=n,this.setValue=r,this.priority=a,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 c0 extends Ai{constructor(){super(...arguments);ee(this,"priority",s0);ee(this,"subPriority",-1)}set(n,r){return r.timestampIsSet?n:ge(n,i0(n,Date))}}class ye{run(e,n,r,a){const i=this.parse(e,n,r,a);return i?{setter:new l0(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(e,n,r){return!0}}class d0 extends ye{constructor(){super(...arguments);ee(this,"priority",140);ee(this,"incompatibleTokens",["R","u","t","T"])}parse(n,r,a){switch(r){case"G":case"GG":case"GGG":return a.era(n,{width:"abbreviated"})||a.era(n,{width:"narrow"});case"GGGGG":return a.era(n,{width:"narrow"});case"GGGG":default:return a.era(n,{width:"wide"})||a.era(n,{width:"abbreviated"})||a.era(n,{width:"narrow"})}}set(n,r,a){return r.era=a,n.setFullYear(a,0,1),n.setHours(0,0,0,0),n}}const Oe={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}/},Lt={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 De(t,e){return t&&{value:e(t.value),rest:t.rest}}function Se(t,e){const n=e.match(t);return n?{value:parseInt(n[0],10),rest:e.slice(n[0].length)}:null}function Bt(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,a=n[2]?parseInt(n[2],10):0,i=n[3]?parseInt(n[3],10):0,s=n[5]?parseInt(n[5],10):0;return{value:r*(a*Ci+i*o2+s*a2),rest:e.slice(n[0].length)}}function Ri(t){return Se(Oe.anyDigitsSigned,t)}function Te(t,e){switch(t){case 1:return Se(Oe.singleDigit,e);case 2:return Se(Oe.twoDigits,e);case 3:return Se(Oe.threeDigits,e);case 4:return Se(Oe.fourDigits,e);default:return Se(new RegExp("^\\d{1,"+t+"}"),e)}}function Ar(t,e){switch(t){case 1:return Se(Oe.singleDigitSigned,e);case 2:return Se(Oe.twoDigitsSigned,e);case 3:return Se(Oe.threeDigitsSigned,e);case 4:return Se(Oe.fourDigitsSigned,e);default:return Se(new RegExp("^-?\\d{1,"+t+"}"),e)}}function Bo(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 Fi(t,e){const n=e>0,r=n?e:1-e;let a;if(r<=50)a=t||100;else{const i=r+50,s=Math.trunc(i/100)*100,l=t>=i%100;a=t+s-(l?100:0)}return n?a:1-a}function Hi(t){return t%400===0||t%4===0&&t%100!==0}class u0 extends ye{constructor(){super(...arguments);ee(this,"priority",130);ee(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(n,r,a){const i=s=>({year:s,isTwoDigitYear:r==="yy"});switch(r){case"y":return De(Te(4,n),i);case"yo":return De(a.ordinalNumber(n,{unit:"year"}),i);default:return De(Te(r.length,n),i)}}validate(n,r){return r.isTwoDigitYear||r.year>0}set(n,r,a){const i=n.getFullYear();if(a.isTwoDigitYear){const l=Fi(a.year,i);return n.setFullYear(l,0,1),n.setHours(0,0,0,0),n}const s=!("era"in r)||r.era===1?a.year:1-a.year;return n.setFullYear(s,0,1),n.setHours(0,0,0,0),n}}class h0 extends ye{constructor(){super(...arguments);ee(this,"priority",130);ee(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(n,r,a){const i=s=>({year:s,isTwoDigitYear:r==="YY"});switch(r){case"Y":return De(Te(4,n),i);case"Yo":return De(a.ordinalNumber(n,{unit:"year"}),i);default:return De(Te(r.length,n),i)}}validate(n,r){return r.isTwoDigitYear||r.year>0}set(n,r,a,i){const s=Mo(n,i);if(a.isTwoDigitYear){const c=Fi(a.year,s);return n.setFullYear(c,0,i.firstWeekContainsDate),n.setHours(0,0,0,0),Mt(n,i)}const l=!("era"in r)||r.era===1?a.year:1-a.year;return n.setFullYear(l,0,i.firstWeekContainsDate),n.setHours(0,0,0,0),Mt(n,i)}}class f0 extends ye{constructor(){super(...arguments);ee(this,"priority",130);ee(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(n,r){return Ar(r==="R"?4:r.length,n)}set(n,r,a){const i=ge(n,0);return i.setFullYear(a,0,4),i.setHours(0,0,0,0),Dn(i)}}class p0 extends ye{constructor(){super(...arguments);ee(this,"priority",130);ee(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(n,r){return Ar(r==="u"?4:r.length,n)}set(n,r,a){return n.setFullYear(a,0,1),n.setHours(0,0,0,0),n}}class m0 extends ye{constructor(){super(...arguments);ee(this,"priority",120);ee(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(n,r,a){switch(r){case"Q":case"QQ":return Te(r.length,n);case"Qo":return a.ordinalNumber(n,{unit:"quarter"});case"QQQ":return a.quarter(n,{width:"abbreviated",context:"formatting"})||a.quarter(n,{width:"narrow",context:"formatting"});case"QQQQQ":return a.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(n,{width:"wide",context:"formatting"})||a.quarter(n,{width:"abbreviated",context:"formatting"})||a.quarter(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=1&&r<=4}set(n,r,a){return n.setMonth((a-1)*3,1),n.setHours(0,0,0,0),n}}class _0 extends ye{constructor(){super(...arguments);ee(this,"priority",120);ee(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(n,r,a){switch(r){case"q":case"qq":return Te(r.length,n);case"qo":return a.ordinalNumber(n,{unit:"quarter"});case"qqq":return a.quarter(n,{width:"abbreviated",context:"standalone"})||a.quarter(n,{width:"narrow",context:"standalone"});case"qqqqq":return a.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(n,{width:"wide",context:"standalone"})||a.quarter(n,{width:"abbreviated",context:"standalone"})||a.quarter(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=1&&r<=4}set(n,r,a){return n.setMonth((a-1)*3,1),n.setHours(0,0,0,0),n}}class g0 extends ye{constructor(){super(...arguments);ee(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);ee(this,"priority",110)}parse(n,r,a){const i=s=>s-1;switch(r){case"M":return De(Se(Oe.month,n),i);case"MM":return De(Te(2,n),i);case"Mo":return De(a.ordinalNumber(n,{unit:"month"}),i);case"MMM":return a.month(n,{width:"abbreviated",context:"formatting"})||a.month(n,{width:"narrow",context:"formatting"});case"MMMMM":return a.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(n,{width:"wide",context:"formatting"})||a.month(n,{width:"abbreviated",context:"formatting"})||a.month(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=11}set(n,r,a){return n.setMonth(a,1),n.setHours(0,0,0,0),n}}class y0 extends ye{constructor(){super(...arguments);ee(this,"priority",110);ee(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(n,r,a){const i=s=>s-1;switch(r){case"L":return De(Se(Oe.month,n),i);case"LL":return De(Te(2,n),i);case"Lo":return De(a.ordinalNumber(n,{unit:"month"}),i);case"LLL":return a.month(n,{width:"abbreviated",context:"standalone"})||a.month(n,{width:"narrow",context:"standalone"});case"LLLLL":return a.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(n,{width:"wide",context:"standalone"})||a.month(n,{width:"abbreviated",context:"standalone"})||a.month(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=0&&r<=11}set(n,r,a){return n.setMonth(a,1),n.setHours(0,0,0,0),n}}function w0(t,e,n){const r=ne(t),a=So(r,n)-e;return r.setDate(r.getDate()-a*7),r}class C0 extends ye{constructor(){super(...arguments);ee(this,"priority",100);ee(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(n,r,a){switch(r){case"w":return Se(Oe.week,n);case"wo":return a.ordinalNumber(n,{unit:"week"});default:return Te(r.length,n)}}validate(n,r){return r>=1&&r<=53}set(n,r,a,i){return Mt(w0(n,a,i),i)}}function b0(t,e){const n=ne(t),r=xo(n)-e;return n.setDate(n.getDate()-r*7),n}class k0 extends ye{constructor(){super(...arguments);ee(this,"priority",100);ee(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(n,r,a){switch(r){case"I":return Se(Oe.week,n);case"Io":return a.ordinalNumber(n,{unit:"week"});default:return Te(r.length,n)}}validate(n,r){return r>=1&&r<=53}set(n,r,a){return Dn(b0(n,a))}}const v0=[31,28,31,30,31,30,31,31,30,31,30,31],x0=[31,29,31,30,31,30,31,31,30,31,30,31];class M0 extends ye{constructor(){super(...arguments);ee(this,"priority",90);ee(this,"subPriority",1);ee(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(n,r,a){switch(r){case"d":return Se(Oe.date,n);case"do":return a.ordinalNumber(n,{unit:"date"});default:return Te(r.length,n)}}validate(n,r){const a=n.getFullYear(),i=Hi(a),s=n.getMonth();return i?r>=1&&r<=x0[s]:r>=1&&r<=v0[s]}set(n,r,a){return n.setDate(a),n.setHours(0,0,0,0),n}}class S0 extends ye{constructor(){super(...arguments);ee(this,"priority",90);ee(this,"subpriority",1);ee(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(n,r,a){switch(r){case"D":case"DD":return Se(Oe.dayOfYear,n);case"Do":return a.ordinalNumber(n,{unit:"date"});default:return Te(r.length,n)}}validate(n,r){const a=n.getFullYear();return Hi(a)?r>=1&&r<=366:r>=1&&r<=365}set(n,r,a){return n.setMonth(0,a),n.setHours(0,0,0,0),n}}function To(t,e,n){var h,p,_,m;const r=_n(),a=(n==null?void 0:n.weekStartsOn)??((p=(h=n==null?void 0:n.locale)==null?void 0:h.options)==null?void 0:p.weekStartsOn)??r.weekStartsOn??((m=(_=r.locale)==null?void 0:_.options)==null?void 0:m.weekStartsOn)??0,i=ne(t),s=i.getDay(),c=(e%7+7)%7,u=7-a,d=e<0||e>6?e-(s+u)%7:(c+u)%7-(s+u)%7;return wt(i,d)}class $0 extends ye{constructor(){super(...arguments);ee(this,"priority",90);ee(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(n,r,a){switch(r){case"E":case"EE":case"EEE":return a.day(n,{width:"abbreviated",context:"formatting"})||a.day(n,{width:"short",context:"formatting"})||a.day(n,{width:"narrow",context:"formatting"});case"EEEEE":return a.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(n,{width:"short",context:"formatting"})||a.day(n,{width:"narrow",context:"formatting"});case"EEEE":default:return a.day(n,{width:"wide",context:"formatting"})||a.day(n,{width:"abbreviated",context:"formatting"})||a.day(n,{width:"short",context:"formatting"})||a.day(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=6}set(n,r,a,i){return n=To(n,a,i),n.setHours(0,0,0,0),n}}class L0 extends ye{constructor(){super(...arguments);ee(this,"priority",90);ee(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(n,r,a,i){const s=l=>{const c=Math.floor((l-1)/7)*7;return(l+i.weekStartsOn+6)%7+c};switch(r){case"e":case"ee":return De(Te(r.length,n),s);case"eo":return De(a.ordinalNumber(n,{unit:"day"}),s);case"eee":return a.day(n,{width:"abbreviated",context:"formatting"})||a.day(n,{width:"short",context:"formatting"})||a.day(n,{width:"narrow",context:"formatting"});case"eeeee":return a.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(n,{width:"short",context:"formatting"})||a.day(n,{width:"narrow",context:"formatting"});case"eeee":default:return a.day(n,{width:"wide",context:"formatting"})||a.day(n,{width:"abbreviated",context:"formatting"})||a.day(n,{width:"short",context:"formatting"})||a.day(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=6}set(n,r,a,i){return n=To(n,a,i),n.setHours(0,0,0,0),n}}class B0 extends ye{constructor(){super(...arguments);ee(this,"priority",90);ee(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(n,r,a,i){const s=l=>{const c=Math.floor((l-1)/7)*7;return(l+i.weekStartsOn+6)%7+c};switch(r){case"c":case"cc":return De(Te(r.length,n),s);case"co":return De(a.ordinalNumber(n,{unit:"day"}),s);case"ccc":return a.day(n,{width:"abbreviated",context:"standalone"})||a.day(n,{width:"short",context:"standalone"})||a.day(n,{width:"narrow",context:"standalone"});case"ccccc":return a.day(n,{width:"narrow",context:"standalone"});case"cccccc":return a.day(n,{width:"short",context:"standalone"})||a.day(n,{width:"narrow",context:"standalone"});case"cccc":default:return a.day(n,{width:"wide",context:"standalone"})||a.day(n,{width:"abbreviated",context:"standalone"})||a.day(n,{width:"short",context:"standalone"})||a.day(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=0&&r<=6}set(n,r,a,i){return n=To(n,a,i),n.setHours(0,0,0,0),n}}function T0(t,e){const n=ne(t),r=a0(n),a=e-r;return wt(n,a)}class E0 extends ye{constructor(){super(...arguments);ee(this,"priority",90);ee(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(n,r,a){const i=s=>s===0?7:s;switch(r){case"i":case"ii":return Te(r.length,n);case"io":return a.ordinalNumber(n,{unit:"day"});case"iii":return De(a.day(n,{width:"abbreviated",context:"formatting"})||a.day(n,{width:"short",context:"formatting"})||a.day(n,{width:"narrow",context:"formatting"}),i);case"iiiii":return De(a.day(n,{width:"narrow",context:"formatting"}),i);case"iiiiii":return De(a.day(n,{width:"short",context:"formatting"})||a.day(n,{width:"narrow",context:"formatting"}),i);case"iiii":default:return De(a.day(n,{width:"wide",context:"formatting"})||a.day(n,{width:"abbreviated",context:"formatting"})||a.day(n,{width:"short",context:"formatting"})||a.day(n,{width:"narrow",context:"formatting"}),i)}}validate(n,r){return r>=1&&r<=7}set(n,r,a){return n=T0(n,a),n.setHours(0,0,0,0),n}}class P0 extends ye{constructor(){super(...arguments);ee(this,"priority",80);ee(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(n,r,a){switch(r){case"a":case"aa":case"aaa":return a.dayPeriod(n,{width:"abbreviated",context:"formatting"})||a.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaaa":return a.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(n,{width:"wide",context:"formatting"})||a.dayPeriod(n,{width:"abbreviated",context:"formatting"})||a.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,a){return n.setHours(Bo(a),0,0,0),n}}class V0 extends ye{constructor(){super(...arguments);ee(this,"priority",80);ee(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(n,r,a){switch(r){case"b":case"bb":case"bbb":return a.dayPeriod(n,{width:"abbreviated",context:"formatting"})||a.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbbb":return a.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(n,{width:"wide",context:"formatting"})||a.dayPeriod(n,{width:"abbreviated",context:"formatting"})||a.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,a){return n.setHours(Bo(a),0,0,0),n}}class O0 extends ye{constructor(){super(...arguments);ee(this,"priority",80);ee(this,"incompatibleTokens",["a","b","t","T"])}parse(n,r,a){switch(r){case"B":case"BB":case"BBB":return a.dayPeriod(n,{width:"abbreviated",context:"formatting"})||a.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBBB":return a.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(n,{width:"wide",context:"formatting"})||a.dayPeriod(n,{width:"abbreviated",context:"formatting"})||a.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,a){return n.setHours(Bo(a),0,0,0),n}}class D0 extends ye{constructor(){super(...arguments);ee(this,"priority",70);ee(this,"incompatibleTokens",["H","K","k","t","T"])}parse(n,r,a){switch(r){case"h":return Se(Oe.hour12h,n);case"ho":return a.ordinalNumber(n,{unit:"hour"});default:return Te(r.length,n)}}validate(n,r){return r>=1&&r<=12}set(n,r,a){const i=n.getHours()>=12;return i&&a<12?n.setHours(a+12,0,0,0):!i&&a===12?n.setHours(0,0,0,0):n.setHours(a,0,0,0),n}}class N0 extends ye{constructor(){super(...arguments);ee(this,"priority",70);ee(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(n,r,a){switch(r){case"H":return Se(Oe.hour23h,n);case"Ho":return a.ordinalNumber(n,{unit:"hour"});default:return Te(r.length,n)}}validate(n,r){return r>=0&&r<=23}set(n,r,a){return n.setHours(a,0,0,0),n}}class A0 extends ye{constructor(){super(...arguments);ee(this,"priority",70);ee(this,"incompatibleTokens",["h","H","k","t","T"])}parse(n,r,a){switch(r){case"K":return Se(Oe.hour11h,n);case"Ko":return a.ordinalNumber(n,{unit:"hour"});default:return Te(r.length,n)}}validate(n,r){return r>=0&&r<=11}set(n,r,a){return n.getHours()>=12&&a<12?n.setHours(a+12,0,0,0):n.setHours(a,0,0,0),n}}class R0 extends ye{constructor(){super(...arguments);ee(this,"priority",70);ee(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(n,r,a){switch(r){case"k":return Se(Oe.hour24h,n);case"ko":return a.ordinalNumber(n,{unit:"hour"});default:return Te(r.length,n)}}validate(n,r){return r>=1&&r<=24}set(n,r,a){const i=a<=24?a%24:a;return n.setHours(i,0,0,0),n}}class F0 extends ye{constructor(){super(...arguments);ee(this,"priority",60);ee(this,"incompatibleTokens",["t","T"])}parse(n,r,a){switch(r){case"m":return Se(Oe.minute,n);case"mo":return a.ordinalNumber(n,{unit:"minute"});default:return Te(r.length,n)}}validate(n,r){return r>=0&&r<=59}set(n,r,a){return n.setMinutes(a,0,0),n}}class H0 extends ye{constructor(){super(...arguments);ee(this,"priority",50);ee(this,"incompatibleTokens",["t","T"])}parse(n,r,a){switch(r){case"s":return Se(Oe.second,n);case"so":return a.ordinalNumber(n,{unit:"second"});default:return Te(r.length,n)}}validate(n,r){return r>=0&&r<=59}set(n,r,a){return n.setSeconds(a,0),n}}class z0 extends ye{constructor(){super(...arguments);ee(this,"priority",30);ee(this,"incompatibleTokens",["t","T"])}parse(n,r){const a=i=>Math.trunc(i*Math.pow(10,-r.length+3));return De(Te(r.length,n),a)}set(n,r,a){return n.setMilliseconds(a),n}}class j0 extends ye{constructor(){super(...arguments);ee(this,"priority",10);ee(this,"incompatibleTokens",["t","T","x"])}parse(n,r){switch(r){case"X":return Bt(Lt.basicOptionalMinutes,n);case"XX":return Bt(Lt.basic,n);case"XXXX":return Bt(Lt.basicOptionalSeconds,n);case"XXXXX":return Bt(Lt.extendedOptionalSeconds,n);case"XXX":default:return Bt(Lt.extended,n)}}set(n,r,a){return r.timestampIsSet?n:ge(n,n.getTime()-Nr(n)-a)}}class I0 extends ye{constructor(){super(...arguments);ee(this,"priority",10);ee(this,"incompatibleTokens",["t","T","X"])}parse(n,r){switch(r){case"x":return Bt(Lt.basicOptionalMinutes,n);case"xx":return Bt(Lt.basic,n);case"xxxx":return Bt(Lt.basicOptionalSeconds,n);case"xxxxx":return Bt(Lt.extendedOptionalSeconds,n);case"xxx":default:return Bt(Lt.extended,n)}}set(n,r,a){return r.timestampIsSet?n:ge(n,n.getTime()-Nr(n)-a)}}class Y0 extends ye{constructor(){super(...arguments);ee(this,"priority",40);ee(this,"incompatibleTokens","*")}parse(n){return Ri(n)}set(n,r,a){return[ge(n,a*1e3),{timestampIsSet:!0}]}}class Z0 extends ye{constructor(){super(...arguments);ee(this,"priority",20);ee(this,"incompatibleTokens","*")}parse(n){return Ri(n)}set(n,r,a){return[ge(n,a),{timestampIsSet:!0}]}}const q0={G:new d0,y:new u0,Y:new h0,R:new f0,u:new p0,Q:new m0,q:new _0,M:new g0,L:new y0,w:new C0,I:new k0,d:new M0,D:new S0,E:new $0,e:new L0,c:new B0,i:new E0,a:new P0,b:new V0,B:new O0,h:new D0,H:new N0,K:new A0,k:new R0,m:new F0,s:new H0,S:new z0,X:new j0,x:new I0,t:new Y0,T:new Z0},U0=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,W0=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,G0=/^'([^]*?)'?$/,K0=/''/g,X0=/\S/,Q0=/[a-zA-Z]/;function Eo(t,e,n,r){var f,b,S,M,C,x,$,L;const a=o0(),i=(r==null?void 0:r.locale)??a.locale??Bi,s=(r==null?void 0:r.firstWeekContainsDate)??((b=(f=r==null?void 0:r.locale)==null?void 0:f.options)==null?void 0:b.firstWeekContainsDate)??a.firstWeekContainsDate??((M=(S=a.locale)==null?void 0:S.options)==null?void 0:M.firstWeekContainsDate)??1,l=(r==null?void 0:r.weekStartsOn)??((x=(C=r==null?void 0:r.locale)==null?void 0:C.options)==null?void 0:x.weekStartsOn)??a.weekStartsOn??((L=($=a.locale)==null?void 0:$.options)==null?void 0:L.weekStartsOn)??0;if(e==="")return t===""?ne(n):ge(n,NaN);const c={firstWeekContainsDate:s,weekStartsOn:l,locale:i},u=[new c0],d=e.match(W0).map(k=>{const B=k[0];if(B in $o){const T=$o[B];return T(k,i.formatLong)}return k}).join("").match(U0),h=[];for(let k of d){!(r!=null&&r.useAdditionalWeekYearTokens)&&Ni(k)&&Lo(k,e,t),!(r!=null&&r.useAdditionalDayOfYearTokens)&&Di(k)&&Lo(k,e,t);const B=k[0],T=q0[B];if(T){const{incompatibleTokens:I}=T;if(Array.isArray(I)){const V=h.find(F=>I.includes(F.token)||F.token===B);if(V)throw new RangeError(`The format string mustn't contain \`${V.fullToken}\` and \`${k}\` at the same time`)}else if(T.incompatibleTokens==="*"&&h.length>0)throw new RangeError(`The format string mustn't contain \`${k}\` and any other token at the same time`);h.push({token:B,fullToken:k});const X=T.run(t,k,i.match,c);if(!X)return ge(n,NaN);u.push(X.setter),t=X.rest}else{if(B.match(Q0))throw new RangeError("Format string contains an unescaped latin alphabet character `"+B+"`");if(k==="''"?k="'":B==="'"&&(k=J0(k)),t.indexOf(k)===0)t=t.slice(k.length);else return ge(n,NaN)}}if(t.length>0&&X0.test(t))return ge(n,NaN);const p=u.map(k=>k.priority).sort((k,B)=>B-k).filter((k,B,T)=>T.indexOf(k)===B).map(k=>u.filter(B=>B.priority===k).sort((B,T)=>T.subPriority-B.subPriority)).map(k=>k[0]);let _=ne(n);if(isNaN(_.getTime()))return ge(n,NaN);const m={};for(const k of p){if(!k.validate(_,c))return ge(n,NaN);const B=k.set(_,m,c);Array.isArray(B)?(_=B[0],Object.assign(m,B[1])):_=B}return ge(n,_)}function J0(t){return t.match(G0)[1].replace(K0,"'")}function zi(t,e){const n=gn(t),r=gn(e);return+n==+r}function e3(t,e){return wt(t,-e)}function ji(t,e){const n=ne(t),r=n.getFullYear(),a=n.getDate(),i=ge(t,0);i.setFullYear(r,e,15),i.setHours(0,0,0,0);const s=r0(i);return n.setMonth(e,Math.min(a,s)),n}function ke(t,e){let n=ne(t);return isNaN(+n)?ge(t,NaN):(e.year!=null&&n.setFullYear(e.year),e.month!=null&&(n=ji(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 Ii(t,e){const n=ne(t);return n.setHours(e),n}function Po(t,e){const n=ne(t);return n.setMilliseconds(e),n}function Yi(t,e){const n=ne(t);return n.setMinutes(e),n}function Vo(t,e){const n=ne(t);return n.setSeconds(e),n}function Tt(t,e){const n=ne(t);return isNaN(+n)?ge(t,NaN):(n.setFullYear(e),n)}function Fn(t,e){return Ct(t,-e)}function t3(t,e){const{years:n=0,months:r=0,weeks:a=0,days:i=0,hours:s=0,minutes:l=0,seconds:c=0}=e,u=Fn(t,r+n*12),d=e3(u,i+a*7),h=l+s*60,_=(c+h*60)*1e3;return ge(t,d.getTime()-_)}function Zi(t,e){return ko(t,-e)}function Hn(){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"})])}Hn.compatConfig={MODE:3};function qi(){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"})])}qi.compatConfig={MODE:3};function Oo(){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"})])}Oo.compatConfig={MODE:3};function Do(){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"})])}Do.compatConfig={MODE:3};function No(){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"})])}No.compatConfig={MODE:3};function Ao(){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"})])}Ao.compatConfig={MODE:3};function Ro(){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"})])}Ro.compatConfig={MODE:3};function Ui(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 n3(t){return e=>St(new Date(`2017-01-0${e}T00:00:00+00:00`),"EEEEEE",{locale:t})}const r3=(t,e,n)=>{const r=[1,2,3,4,5,6,7];let a;if(t!==null)try{a=r.map(n3(t))}catch{a=r.map(Ui(e))}else a=r.map(Ui(e));const i=a.slice(0,n),s=a.slice(n+1,a.length);return[a[n]].concat(...s).concat(...i)},Fo=(t,e,n)=>{const r=[];for(let a=+t[0];a<=+t[1];a++)r.push({value:+a,text:Ji(a,e)});return n?r.reverse():r},Wi=(t,e,n)=>{const r=[1,2,3,4,5,6,7,8,9,10,11,12].map(i=>{const s=i<10?`0${i}`:i;return new Date(`2017-${s}-01T00:00:00+00:00`)});if(t!==null)try{const i=n==="long"?"MMMM":"MMM";return r.map((s,l)=>{const c=St(s,i,{locale:t});return{text:c.charAt(0).toUpperCase()+c.substring(1),value:l}})}catch{}const a=new Intl.DateTimeFormat(e,{month:n,timeZone:"UTC"});return r.map((i,s)=>{const l=a.format(i);return{text:l.charAt(0).toUpperCase()+l.substring(1),value:s}})},o3=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],He=t=>{const e=o.unref(t);return e!=null&&e.$el?e==null?void 0:e.$el:e},a3=t=>({type:"dot",...t??{}}),Gi=t=>Array.isArray(t)?!!t[0]&&!!t[1]:!1,Ho={prop:t=>`"${t}" prop must be enabled!`,dateArr:t=>`You need to use array as "model-value" binding in order to support "${t}"`},je=t=>t,Ki=t=>t===0?t:!t||isNaN(+t)?null:+t,Xi=t=>t===null,Qi=t=>{if(t)return[...t.querySelectorAll("input, button, select, textarea, a[href]")][0]},i3=t=>{const e=[],n=r=>r.filter(a=>a);for(let r=0;r<t.length;r+=3){const a=[t[r],t[r+1],t[r+2]];e.push(n(a))}return e},dr=(t,e,n)=>{const r=n!=null,a=e!=null;if(!r&&!a)return!1;const i=+n,s=+e;return r&&a?+t>i||+t<s:r?+t>i:a?+t<s:!1},zn=(t,e)=>i3(t).map(n=>n.map(r=>{const{active:a,disabled:i,isBetween:s,highlighted:l}=e(r);return{...r,active:a,disabled:i,className:{dp__overlay_cell_active:a,dp__overlay_cell:!a,dp__overlay_cell_disabled:i,dp__overlay_cell_pad:!0,dp__overlay_cell_active_disabled:i&&a,dp__cell_in_between:s,"dp--highlighted":l}}})),Xt=(t,e,n=!1)=>{t&&e.allowStopPropagation&&(n&&t.stopImmediatePropagation(),t.stopPropagation())},s3=()=>["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 l3(t,e){let n=[...document.querySelectorAll(s3())];n=n.filter(a=>!t.contains(a)||a.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 c3=(t,e)=>t==null?void 0:t.querySelector(`[data-dp-element="${e}"]`),Ji=(t,e)=>new Intl.NumberFormat(e,{useGrouping:!1,style:"decimal"}).format(t),zo=t=>St(t,"dd-MM-yyyy"),jo=t=>Array.isArray(t),Rr=(t,e)=>e.get(zo(t)),d3=(t,e)=>t?e?e instanceof Map?!!Rr(t,e):e(Y(t)):!1:!0,es=(t,e,n,r,a,i)=>{const s=Eo(t,e.slice(0,t.length),new Date,{locale:i});return ar(s)&&xi(s)?r||a?s:ke(s,{hours:+n.hours,minutes:+(n==null?void 0:n.minutes),seconds:+(n==null?void 0:n.seconds),milliseconds:0}):null},u3=(t,e,n,r,a,i)=>{const s=Array.isArray(n)?n[0]:n;if(typeof e=="string")return es(t,e,s,r,a,i);if(Array.isArray(e)){let l=null;for(const c of e)if(l=es(t,c,s,r,a,i),l)break;return l}return typeof e=="function"?e(t):null},Y=t=>t?new Date(t):new Date,h3=(t,e,n)=>{if(e){const a=(t.getMonth()+1).toString().padStart(2,"0"),i=t.getDate().toString().padStart(2,"0"),s=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()}-${a}-${i}T${s}:${l}:${c}.000Z`}const r=Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds());return new Date(r).toISOString()},at=t=>{let e=Y(JSON.parse(JSON.stringify(t)));return e=Ii(e,0),e=Yi(e,0),e=Vo(e,0),e=Po(e,0),e},Qt=(t,e,n,r)=>{let a=t?Y(t):Y();return(e||e===0)&&(a=Ii(a,+e)),(n||n===0)&&(a=Yi(a,+n)),(r||r===0)&&(a=Vo(a,+r)),Po(a,0)},Ee=(t,e)=>!t||!e?!1:cr(at(t),at(e)),pe=(t,e)=>!t||!e?!1:Rn(at(t),at(e)),Ne=(t,e)=>!t||!e?!1:lr(at(t),at(e)),Fr=(t,e,n)=>t!=null&&t[0]&&t!=null&&t[1]?Ne(n,t[0])&&Ee(n,t[1]):t!=null&&t[0]&&e?Ne(n,t[0])&&Ee(n,e)||Ee(n,t[0])&&Ne(n,e):!1,kt=t=>{const e=ke(new Date(t),{date:1});return at(e)},Io=(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},wn=t=>({hours:bt(t),minutes:$t(t),seconds:An(t)}),ts=(t,e)=>{if(e){const n=ce(Y(e));if(n>t)return 12;if(n===t)return he(Y(e))}},ns=(t,e)=>{if(e){const n=ce(Y(e));return n<t?-1:n===t?he(Y(e)):void 0}},jn=t=>{if(t)return ce(Y(t))},rs=(t,e)=>{const n=Ne(t,e)?e:t,r=Ne(e,t)?e:t;return Si({start:n,end:r})},f3=t=>{const e=Ct(t,1);return{month:he(e),year:ce(e)}},Ht=(t,e)=>{const n=Mt(t,{weekStartsOn:+e}),r=h2(t,{weekStartsOn:+e});return[n,r]},os=(t,e)=>{const n={hours:bt(Y()),minutes:$t(Y()),seconds:e?An(Y()):0};return Object.assign(n,t)},Jt=(t,e,n)=>[ke(Y(t),{date:1}),ke(Y(),{month:e,year:n,date:1})],zt=(t,e,n)=>{let r=t?Y(t):Y();return(e||e===0)&&(r=ji(r,e)),n&&(r=Tt(r,n)),r},as=(t,e,n,r,a)=>{if(!r||a&&!e||!a&&!n)return!1;const i=a?Ct(t,1):Fn(t,1),s=[he(i),ce(i)];return a?!m3(...s,e):!p3(...s,n)},p3=(t,e,n)=>Ee(...Jt(n,t,e))||pe(...Jt(n,t,e)),m3=(t,e,n)=>Ne(...Jt(n,t,e))||pe(...Jt(n,t,e)),is=(t,e,n,r,a,i,s)=>{if(typeof e=="function"&&!s)return e(t);const l=n?{locale:n}:void 0;return Array.isArray(t)?`${St(t[0],i,l)}${a&&!t[1]?"":r}${t[1]?St(t[1],i,l):""}`:St(t,i,l)},In=t=>{if(t)return null;throw new Error(Ho.prop("partial-range"))},Hr=(t,e)=>{if(e)return t();throw new Error(Ho.prop("range"))},Yo=t=>Array.isArray(t)?ar(t[0])&&(t[1]?ar(t[1]):!0):t?ar(t):!1,_3=(t,e)=>ke(e??Y(),{hours:+t.hours||0,minutes:+t.minutes||0,seconds:+t.seconds||0}),Zo=(t,e,n,r)=>{if(!t)return!0;if(r){const a=n==="max"?cr(t,e):lr(t,e),i={seconds:0,milliseconds:0};return a||Rn(ke(t,i),ke(e,i))}return n==="max"?t.getTime()<=e.getTime():t.getTime()>=e.getTime()},qo=(t,e,n)=>t?_3(t,e):Y(n??e),ss=(t,e,n,r,a)=>{if(Array.isArray(r)){const s=qo(t,r[0],e),l=qo(t,r[1],e);return Zo(r[0],s,n,!!e)&&Zo(r[1],l,n,!!e)&&a}const i=qo(t,r,e);return Zo(r,i,n,!!e)&&a},Uo=t=>ke(Y(),wn(t)),g3=(t,e)=>t instanceof Map?Array.from(t.values()).filter(n=>ce(Y(n))===e).map(n=>he(n)):[],ls=(t,e,n)=>typeof t=="function"?t({month:e,year:n}):!!t.months.find(r=>r.month===e&&r.year===n),Wo=(t,e)=>typeof t=="function"?t(e):t.years.includes(e),ur=o.reactive({menuFocused:!1,shiftKeyInMenu:!1}),cs=()=>{const t=n=>{ur.menuFocused=n},e=n=>{ur.shiftKeyInMenu!==n&&(ur.shiftKeyInMenu=n)};return{control:o.computed(()=>({shiftKeyInMenu:ur.shiftKeyInMenu,menuFocused:ur.menuFocused})),setMenuFocused:t,setShiftKey:e}},xe=o.reactive({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),Go=o.ref(null),zr=o.ref(!1),Ko=o.ref(!1),Xo=o.ref(!1),Qo=o.ref(!1),qe=o.ref(0),Ae=o.ref(0),en=()=>{const t=o.computed(()=>zr.value?[...xe.selectionGrid,xe.actionRow].filter(h=>h.length):Ko.value?[...xe.timePicker[0],...xe.timePicker[1],Qo.value?[]:[Go.value],xe.actionRow].filter(h=>h.length):Xo.value?[...xe.monthPicker,xe.actionRow]:[xe.monthYear,...xe.calendar,xe.time,xe.actionRow].filter(h=>h.length)),e=h=>{qe.value=h?qe.value+1:qe.value-1;let p=null;t.value[Ae.value]&&(p=t.value[Ae.value][qe.value]),!p&&t.value[Ae.value+(h?1:-1)]?(Ae.value=Ae.value+(h?1:-1),qe.value=h?0:t.value[Ae.value].length-1):p||(qe.value=h?qe.value-1:qe.value+1)},n=h=>{Ae.value===0&&!h||Ae.value===t.value.length&&h||(Ae.value=h?Ae.value+1:Ae.value-1,t.value[Ae.value]?t.value[Ae.value]&&!t.value[Ae.value][qe.value]&&qe.value!==0&&(qe.value=t.value[Ae.value].length-1):Ae.value=h?Ae.value-1:Ae.value+1)},r=h=>{let p=null;t.value[Ae.value]&&(p=t.value[Ae.value][qe.value]),p?p.focus({preventScroll:!zr.value}):qe.value=h?qe.value-1:qe.value+1},a=()=>{e(!0),r(!0)},i=()=>{e(!1),r(!1)},s=()=>{n(!1),r(!0)},l=()=>{n(!0),r(!0)},c=(h,p)=>{xe[p]=h},u=(h,p)=>{xe[p]=h},d=()=>{qe.value=0,Ae.value=0};return{buildMatrix:c,buildMultiLevelMatrix:u,setTimePickerBackRef:h=>{Go.value=h},setSelectionGrid:h=>{zr.value=h,d(),h||(xe.selectionGrid=[])},setTimePicker:(h,p=!1)=>{Ko.value=h,Qo.value=p,d(),h||(xe.timePicker[0]=[],xe.timePicker[1]=[])},setTimePickerElements:(h,p=0)=>{xe.timePicker[p]=h},arrowRight:a,arrowLeft:i,arrowUp:s,arrowDown:l,clearArrowNav:()=>{xe.monthYear=[],xe.calendar=[],xe.time=[],xe.actionRow=[],xe.selectionGrid=[],xe.timePicker[0]=[],xe.timePicker[1]=[],zr.value=!1,Ko.value=!1,Qo.value=!1,Xo.value=!1,d(),Go.value=null},setMonthPicker:h=>{Xo.value=h,d()},refSets:xe}},jt=(t,e)=>e?new Date(t.toLocaleString("en-US",{timeZone:e})):new Date(t),ds=(t,e)=>Jo(t,e)||Y(),y3=(t,e)=>e.dateInTz?jt(new Date(t),e.dateInTz):Y(t),Jo=(t,e)=>{if(!t)return null;if(!e)return Y(t);const n=Y(t);return e.exactMatch?y3(t,e):jt(n,e.timezone)},w3=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})),a=r.getTimezoneOffset()/60;return(+n-+r)/(1e3*60*60)-a},us=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??{}}),C3=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??{}}),hs=t=>t?typeof t=="boolean"?t?2:0:+t>=2?+t:2:0,b3=t=>{const e=typeof t=="object"&&t,n={static:!0,solo:!1};if(!t)return{...n,count:hs(!1)};const r=e?t:{},a=e?r.count??!0:t,i=hs(a);return Object.assign(n,r,{count:i})},k3=(t,e,n)=>t||(typeof n=="string"?n:e),v3=t=>typeof t=="boolean"?t?us({}):!1:us(t),x3=t=>{const e={enterSubmit:!0,tabSubmit:!0,openMenu:!0,selectOnFocus:!1,rangeSeparator:" - "};return typeof t=="object"?{...e,...t??{},enabled:!0}:{...e,enabled:t}},M3=t=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...t??{}}),S3=t=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...t??{}}),$3=t=>{const e={input:!1};return typeof t=="object"?{...e,...t??{},enabled:!0}:{enabled:t,...e}},L3=t=>({allowStopPropagation:!0,closeOnScroll:!1,modeHeight:255,allowPreventDefault:!1,closeOnClearValue:!0,closeOnAutoApply:!0,noSwipe:!1,keepActionRow:!1,onClickOutside:void 0,tabOutClosesMenu:!0,...t??{}}),B3=t=>{const e={dates:Array.isArray(t)?t.map(n=>Y(n)):[],years:[],months:[],quarters:[],weeks:[],weekdays:[],options:{highlightDisabled:!1}};return typeof t=="function"?t:{...e,...t??{}}},T3=t=>typeof t=="object"?{type:(t==null?void 0:t.type)??"local",hideOnOffsetDates:(t==null?void 0:t.hideOnOffsetDates)??!1}:{type:t,hideOnOffsetDates:!1},E3=(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},P3=(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},ea=(t,e)=>new Map(t.map(n=>{const r=ds(n,e);return[zo(r),r]})),V3=(t,e)=>t.length?new Map(t.map(n=>{const r=ds(n.date,e);return[zo(r),n]})):null,O3=(t,e,n,r,a,i,s)=>({minDate:Jo(t,s),maxDate:Jo(e,s),disabledDates:jo(n)?ea(n,s):n,allowedDates:jo(r)?ea(r,s):null,highlight:typeof a=="object"&&jo(a==null?void 0:a.dates)?ea(a.dates,s):a,markers:V3(i,s)}),D3=(t,e)=>typeof t=="boolean"?{enabled:t,dragSelect:!0,limit:+e}:{enabled:!!t,limit:t.limit?+t.limit:null,dragSelect:t.dragSelect??!0},$e=t=>{const e=()=>{const $=t.enableSeconds?":ss":"";return t.is24?`HH:mm${$}`:`hh:mm${$} aa`},n=()=>{var $;return t.format?t.format:t.monthPicker?"MM/yyyy":t.timePicker?e():t.weekPicker?`${(($=b.value)==null?void 0:$.type)==="iso"?"RR":"ww"}-yyyy`:t.yearPicker?"yyyy":t.quarterPicker?"QQQ/yyyy":t.enableTimePicker?`MM/dd/yyyy, ${e()}`:"MM/dd/yyyy"},r=$=>os($,t.enableSeconds),a=()=>x.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(()=>b3(t.multiCalendars)),s=o.computed(()=>a()),l=o.computed(()=>C3(t.ariaLabels)),c=o.computed(()=>M3(t.filters)),u=o.computed(()=>v3(t.transitions)),d=o.computed(()=>S3(t.actionRow)),h=o.computed(()=>k3(t.previewFormat,t.format,n())),p=o.computed(()=>x3(t.textInput)),_=o.computed(()=>$3(t.inline)),m=o.computed(()=>L3(t.config)),f=o.computed(()=>B3(t.highlight)),b=o.computed(()=>T3(t.weekNumbers)),S=o.computed(()=>P3(t.timezone,t.emitTimezone)),M=o.computed(()=>D3(t.multiDates,t.multiDatesLimit)),C=o.computed(()=>O3(t.minDate,t.maxDate,t.disabledDates,t.allowedDates,f.value,t.markers,S.value)),x=o.computed(()=>E3(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:u,defaultedMultiCalendars:i,defaultedStartTime:s,defaultedAriaLabels:l,defaultedFilters:c,defaultedActionRow:d,defaultedPreviewFormat:h,defaultedTextInput:p,defaultedInline:_,defaultedConfig:m,defaultedHighlight:f,defaultedWeekNumbers:b,defaultedRange:x,propDates:C,defaultedTz:S,defaultedMultiDates:M,getDefaultPattern:n,getDefaultStartTime:a}},N3=(t,e,n)=>{const r=o.ref(),{defaultedTextInput:a,defaultedRange:i,defaultedTz:s,defaultedMultiDates:l,getDefaultPattern:c}=$e(e),u=o.ref(""),d=o.toRef(e,"format");o.watch(r,()=>{t("internal-model-change",r.value)},{deep:!0}),o.watch(d,()=>{N()});const h=g=>s.value.timezone&&s.value.convertModel?jt(g,s.value.timezone):g,p=g=>{if(s.value.timezone&&s.value.convertModel){const R=w3(s.value.timezone);return i2(g,R)}return g},_=(g,R,z=!1)=>is(g,e.format,e.formatLocale,a.value.rangeSeparator,e.modelAuto,R??c(),z),m=g=>g?e.modelType?J(g):{hours:bt(g),minutes:$t(g),seconds:e.enableSeconds?An(g):0}:null,f=g=>e.modelType?J(g):{month:he(g),year:ce(g)},b=g=>Array.isArray(g)?l.value.enabled?g.map(R=>S(R,Tt(Y(),R))):Hr(()=>[Tt(Y(),g[0]),g[1]?Tt(Y(),g[1]):In(i.value.partialRange)],i.value.enabled):Tt(Y(),+g),S=(g,R)=>(typeof g=="string"||typeof g=="number")&&e.modelType?Z(g):R,M=g=>Array.isArray(g)?[S(g[0],Qt(null,+g[0].hours,+g[0].minutes,g[0].seconds)),S(g[1],Qt(null,+g[1].hours,+g[1].minutes,g[1].seconds))]:S(g,Qt(null,g.hours,g.minutes,g.seconds)),C=g=>{const R=ke(Y(),{date:1});return Array.isArray(g)?l.value.enabled?g.map(z=>S(z,zt(R,+z.month,+z.year))):Hr(()=>[S(g[0],zt(R,+g[0].month,+g[0].year)),S(g[1],g[1]?zt(R,+g[1].month,+g[1].year):In(i.value.partialRange))],i.value.enabled):S(g,zt(R,+g.month,+g.year))},x=g=>{if(Array.isArray(g))return g.map(R=>Z(R));throw new Error(Ho.dateArr("multi-dates"))},$=g=>{if(Array.isArray(g)&&i.value.enabled){const R=g[0],z=g[1];return[Y(Array.isArray(R)?R[0]:null),Y(Array.isArray(z)?z[0]:null)]}return Y(g[0])},L=g=>e.modelAuto?Array.isArray(g)?[Z(g[0]),Z(g[1])]:e.autoApply?[Z(g)]:[Z(g),null]:Array.isArray(g)?Hr(()=>g[1]?[Z(g[0]),g[1]?Z(g[1]):In(i.value.partialRange)]:[Z(g[0])],i.value.enabled):Z(g),k=()=>{Array.isArray(r.value)&&i.value.enabled&&r.value.length===1&&r.value.push(In(i.value.partialRange))},B=()=>{const g=r.value;return[J(g[0]),g[1]?J(g[1]):In(i.value.partialRange)]},T=()=>r.value[1]?B():J(je(r.value[0])),I=()=>(r.value||[]).map(g=>J(g)),X=()=>(k(),e.modelAuto?T():l.value.enabled?I():Array.isArray(r.value)?Hr(()=>B(),i.value.enabled):J(je(r.value))),V=g=>!g||Array.isArray(g)&&!g.length?null:e.timePicker?M(je(g)):e.monthPicker?C(je(g)):e.yearPicker?b(je(g)):l.value.enabled?x(je(g)):e.weekPicker?$(je(g)):L(je(g)),F=g=>{const R=V(g);Yo(je(R))?(r.value=je(R),N()):(r.value=null,u.value="")},G=()=>{const g=R=>St(R,a.value.format);return`${g(r.value[0])} ${a.value.rangeSeparator} ${r.value[1]?g(r.value[1]):""}`},v=()=>n.value&&r.value?Array.isArray(r.value)?G():St(r.value,a.value.format):_(r.value),w=()=>r.value?l.value.enabled?r.value.map(g=>_(g)).join("; "):a.value.enabled&&typeof a.value.format=="string"?v():_(r.value):"",N=()=>{!e.format||typeof e.format=="string"||a.value.enabled&&typeof a.value.format=="string"?u.value=w():u.value=e.format(r.value)},Z=g=>{if(e.utc){const R=new Date(g);return e.utc==="preserve"?new Date(R.getTime()+R.getTimezoneOffset()*6e4):R}return e.modelType?e.modelType==="date"||e.modelType==="timestamp"?h(new Date(g)):e.modelType==="format"&&(typeof e.format=="string"||!e.format)?h(Eo(g,c(),new Date)):h(Eo(g,e.modelType,new Date)):h(new Date(g))},J=g=>g?e.utc?h3(g,e.utc==="preserve",e.enableSeconds):e.modelType?e.modelType==="timestamp"?+p(g):e.modelType==="format"&&(typeof e.format=="string"||!e.format)?_(p(g)):_(p(g),e.modelType,!0):p(g):"",U=(g,R=!1)=>{if(t("update:model-value",g),s.value.emitTimezone&&R){const z=Array.isArray(g)?g.map(ue=>jt(je(ue),s.value.emitTimezone)):jt(je(g),s.value.emitTimezone);t("update:model-timezone-value",z)}},P=g=>Array.isArray(r.value)?l.value.enabled?r.value.map(R=>g(R)):[g(r.value[0]),r.value[1]?g(r.value[1]):In(i.value.partialRange)]:g(je(r.value)),A=()=>{if(Array.isArray(r.value)){const g=Ht(r.value[0],e.weekStart),R=r.value[1]?Ht(r.value[1],e.weekStart):[];return[g.map(z=>Y(z)),R.map(z=>Y(z))]}return Ht(r.value,e.weekStart).map(g=>Y(g))},y=g=>U(je(P(g)));return{inputValue:u,internalModelValue:r,checkBeforeEmit:()=>r.value?i.value.enabled?i.value.partialRange?r.value.length>=1:r.value.length===2:!!r.value:!1,parseExternalModelValue:F,formatInputValue:N,emitModelValue:()=>(N(),e.monthPicker?y(f):e.timePicker?y(m):e.yearPicker?y(ce):e.weekPicker?t("update:model-value",A()):U(X(),!0))}},A3=(t,e)=>{const{defaultedFilters:n,propDates:r}=$e(t),{validateMonthYearInRange:a}=nn(t),i=(d,h)=>{let p=d;return n.value.months.includes(he(p))?(p=h?Ct(d,1):Fn(d,1),i(p,h)):p},s=(d,h)=>{let p=d;return n.value.years.includes(ce(p))?(p=h?ko(d,1):Zi(d,1),s(p,h)):p},l=(d,h=!1)=>{const p=ke(Y(),{month:t.month,year:t.year});let _=d?Ct(p,1):Fn(p,1);t.disableYearSelect&&(_=Tt(_,t.year));let m=he(_),f=ce(_);n.value.months.includes(m)&&(_=i(_,d),m=he(_),f=ce(_)),n.value.years.includes(f)&&(_=s(_,d),f=ce(_)),a(m,f,d,t.preventMinMaxNavigation)&&c(m,f,h)},c=(d,h,p)=>{e("update-month-year",{month:d,year:h,fromNav:p})},u=o.computed(()=>d=>as(ke(Y(),{month:t.month,year:t.year}),r.value.maxDate,r.value.minDate,t.preventMinMaxNavigation,d));return{handleMonthYearChange:l,isDisabled:u,updateMonthYear:c}};var Yn=(t=>(t.center="center",t.left="left",t.right="right",t))(Yn||{}),vt=(t=>(t.month="month",t.year="year",t))(vt||{}),Cn=(t=>(t.top="top",t.bottom="bottom",t))(Cn||{}),bn=(t=>(t.header="header",t.calendar="calendar",t.timePicker="timePicker",t))(bn||{}),Et=(t=>(t.month="month",t.year="year",t.calendar="calendar",t.time="time",t.minutes="minutes",t.hours="hours",t.seconds="seconds",t))(Et||{});const R3=({menuRef:t,menuRefInner:e,inputRef:n,pickerWrapperRef:r,inline:a,emit:i,props:s,slots:l})=>{const c=o.ref({}),u=o.ref(!1),d=o.ref({top:"0",left:"0"}),h=o.ref(!1),p=o.toRef(s,"teleportCenter");o.watch(p,()=>{d.value=JSON.parse(JSON.stringify({})),x()});const _=v=>{if(s.teleport){const w=v.getBoundingClientRect();return{left:w.left+window.scrollX,top:w.top+window.scrollY}}return{top:0,left:0}},m=(v,w)=>{d.value.left=`${v+w-c.value.width}px`},f=v=>{d.value.left=`${v}px`},b=(v,w)=>{s.position===Yn.left&&f(v),s.position===Yn.right&&m(v,w),s.position===Yn.center&&(d.value.left=`${v+w/2-c.value.width/2}px`)},S=v=>{const{width:w,height:N}=v.getBoundingClientRect(),{top:Z,left:J}=s.altPosition?s.altPosition(v):_(v);return{top:+Z,left:+J,width:w,height:N}},M=()=>{d.value.left="50%",d.value.top="50%",d.value.transform="translate(-50%, -50%)",d.value.position="fixed",delete d.value.opacity},C=()=>{const v=He(n),{top:w,left:N,transform:Z}=s.altPosition(v);d.value={top:`${w}px`,left:`${N}px`,transform:Z??""}},x=(v=!0)=>{var w;if(!a.value.enabled){if(p.value)return M();if(s.altPosition!==null)return C();if(v){const N=s.teleport?(w=e.value)==null?void 0:w.$el:t.value;N&&(c.value=N.getBoundingClientRect()),i("recalculate-position")}return X()}},$=({inputEl:v,left:w,width:N})=>{window.screen.width>768&&!u.value&&b(w,N),B(v)},L=v=>{const{top:w,left:N,height:Z,width:J}=S(v);d.value.top=`${Z+w+ +s.offset}px`,h.value=!1,u.value||(d.value.left=`${N+J/2-c.value.width/2}px`),$({inputEl:v,left:N,width:J})},k=v=>{const{top:w,left:N,width:Z}=S(v);d.value.top=`${w-+s.offset-c.value.height}px`,h.value=!0,$({inputEl:v,left:N,width:Z})},B=v=>{if(s.autoPosition){const{left:w,width:N}=S(v),{left:Z,right:J}=c.value;if(!u.value){if(Math.abs(Z)!==Math.abs(J)){if(Z<=0)return u.value=!0,f(w);if(J>=document.documentElement.clientWidth)return u.value=!0,m(w,N)}return b(w,N)}}},T=()=>{const v=He(n);if(v){const{height:w}=c.value,{top:N,height:Z}=v.getBoundingClientRect(),J=window.innerHeight-N-Z,U=N;return w<=J?Cn.bottom:w>J&&w<=U?Cn.top:J>=U?Cn.bottom:Cn.top}return Cn.bottom},I=v=>T()===Cn.bottom?L(v):k(v),X=()=>{const v=He(n);if(v)return s.autoPosition?I(v):L(v)},V=function(v){if(v){const w=v.scrollHeight>v.clientHeight,N=window.getComputedStyle(v).overflowY.indexOf("hidden")!==-1;return w&&!N}return!0},F=function(v){return!v||v===document.body||v.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:V(v)?v:F(v.parentNode)},G=v=>{if(v)switch(s.position){case Yn.left:return{left:0,transform:"translateX(0)"};case Yn.right:return{left:`${v.width}px`,transform:"translateX(-100%)"};default:return{left:`${v.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:h,menuStyle:d,xCorrect:u,setMenuPosition:x,getScrollableParent:F,shadowRender:(v,w)=>{var N,Z,J;const U=document.createElement("div"),P=(N=He(n))==null?void 0:N.getBoundingClientRect();U.setAttribute("id","dp--temp-container");const A=(Z=r.value)!=null&&Z.clientWidth?r.value:document.body;A.append(U);const y=G(P),g=o.h(v,{...w,shadow:!0,style:{opacity:0,position:"absolute",...y}},Object.fromEntries(Object.keys(l).filter(R=>["right-sidebar","left-sidebar"].includes(R)).map(R=>[R,l[R]])));o.render(g,U),c.value=(J=g.el)==null?void 0:J.getBoundingClientRect(),o.render(null,U),A.removeChild(U)}}},tn=[{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"]}],F3=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],H3={all:()=>tn,monthYear:()=>tn.filter(t=>t.use.includes("month-year")),input:()=>F3,timePicker:()=>tn.filter(t=>t.use.includes("time")),action:()=>tn.filter(t=>t.use.includes("action")),calendar:()=>tn.filter(t=>t.use.includes("calendar")),menu:()=>tn.filter(t=>t.use.includes("menu")),shared:()=>tn.filter(t=>t.use.includes("shared")),yearMode:()=>tn.filter(t=>t.use.includes("year-mode"))},it=(t,e,n)=>{const r=[];return H3[e]().forEach(a=>{t[a.name]&&r.push(a.name)}),n!=null&&n.length&&n.forEach(a=>{a.slot&&r.push(a.slot)}),r},hr=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}},fr=(t,e)=>{const{defaultedRange:n,defaultedTz:r}=$e(t),a=Y(jt(Y(),r.value.timezone)),i=o.ref([{month:he(a),year:ce(a)}]),s=o.reactive({hours:n.value.enabled?[bt(a),bt(a)]:bt(a),minutes:n.value.enabled?[$t(a),$t(a)]:$t(a),seconds:n.value.enabled?[0,0]:0}),l=o.computed({get:()=>t.internalModelValue,set:d=>{!t.readonly&&!t.disabled&&e("update:internal-model-value",d)}}),c=o.computed(()=>d=>i.value[d]?i.value[d].month:0),u=o.computed(()=>d=>i.value[d]?i.value[d].year:0);return{calendars:i,time:s,modelValue:l,month:c,year:u}},z3=(t,e)=>{const{defaultedMultiCalendars:n,defaultedMultiDates:r,defaultedHighlight:a,defaultedTz:i,propDates:s,defaultedRange:l}=$e(e),{isDisabled:c}=nn(e),u=o.ref(null),d=o.ref(jt(new Date,i.value.timezone)),h=y=>{!y.current&&e.hideOffsetDates||(u.value=y.value)},p=()=>{u.value=null},_=y=>Array.isArray(t.value)&&l.value.enabled&&t.value[0]&&u.value?y?Ne(u.value,t.value[0]):Ee(u.value,t.value[0]):!0,m=(y,g)=>{const R=()=>t.value?g?t.value[0]||null:t.value[1]:null,z=t.value&&Array.isArray(t.value)?R():null;return pe(Y(y.value),z)},f=y=>{const g=Array.isArray(t.value)?t.value[0]:null;return y?!Ee(u.value??null,g):!0},b=(y,g=!0)=>(l.value.enabled||e.weekPicker)&&Array.isArray(t.value)&&t.value.length===2?e.hideOffsetDates&&!y.current?!1:pe(Y(y.value),t.value[g?0:1]):l.value.enabled?m(y,g)&&f(g)||pe(y.value,Array.isArray(t.value)?t.value[0]:null)&&_(g):!1,S=(y,g,R)=>Array.isArray(t.value)&&t.value[0]&&t.value.length===1?y?!1:R?Ne(t.value[0],g.value):Ee(t.value[0],g.value):!1,M=y=>!t.value||e.hideOffsetDates&&!y.current?!1:l.value.enabled?e.modelAuto&&Array.isArray(t.value)?pe(y.value,t.value[0]?t.value[0]:d.value):!1:r.value.enabled&&Array.isArray(t.value)?t.value.some(g=>pe(g,y.value)):pe(y.value,t.value?t.value:d.value),C=y=>{if(l.value.autoRange||e.weekPicker){if(u.value){if(e.hideOffsetDates&&!y.current)return!1;const g=wt(u.value,+l.value.autoRange),R=Ht(Y(u.value),e.weekStart);return e.weekPicker?pe(R[1],Y(y.value)):pe(g,Y(y.value))}return!1}return!1},x=y=>{if(l.value.autoRange||e.weekPicker){if(u.value){const g=wt(u.value,+l.value.autoRange);if(e.hideOffsetDates&&!y.current)return!1;const R=Ht(Y(u.value),e.weekStart);return e.weekPicker?Ne(y.value,R[0])&&Ee(y.value,R[1]):Ne(y.value,u.value)&&Ee(y.value,g)}return!1}return!1},$=y=>{if(l.value.autoRange||e.weekPicker){if(u.value){if(e.hideOffsetDates&&!y.current)return!1;const g=Ht(Y(u.value),e.weekStart);return e.weekPicker?pe(g[0],y.value):pe(u.value,y.value)}return!1}return!1},L=y=>Fr(t.value,u.value,y.value),k=()=>e.modelAuto&&Array.isArray(e.internalModelValue)?!!e.internalModelValue[0]:!1,B=()=>e.modelAuto?Gi(e.internalModelValue):!0,T=y=>{if(e.weekPicker)return!1;const g=l.value.enabled?!b(y)&&!b(y,!1):!0;return!c(y.value)&&!M(y)&&!(!y.current&&e.hideOffsetDates)&&g},I=y=>l.value.enabled?e.modelAuto?k()&&M(y):!1:M(y),X=y=>a.value?d3(y.value,s.value.highlight):!1,V=y=>{const g=c(y.value);return g&&(typeof a.value=="function"?!a.value(y.value,g):!a.value.options.highlightDisabled)},F=y=>{var g;return typeof a.value=="function"?a.value(y.value):(g=a.value.weekdays)==null?void 0:g.includes(y.value.getDay())},G=y=>(l.value.enabled||e.weekPicker)&&(!(n.value.count>0)||y.current)&&B()&&!(!y.current&&e.hideOffsetDates)&&!M(y)?L(y):!1,v=y=>{const{isRangeStart:g,isRangeEnd:R}=J(y),z=l.value.enabled?g||R:!1;return{dp__cell_offset:!y.current,dp__pointer:!e.disabled&&!(!y.current&&e.hideOffsetDates)&&!c(y.value),dp__cell_disabled:c(y.value),dp__cell_highlight:!V(y)&&(X(y)||F(y))&&!I(y)&&!z&&!$(y)&&!(G(y)&&e.weekPicker)&&!R,dp__cell_highlight_active:!V(y)&&(X(y)||F(y))&&I(y),dp__today:!e.noToday&&pe(y.value,d.value)&&y.current,"dp--past":Ee(y.value,d.value),"dp--future":Ne(y.value,d.value)}},w=y=>({dp__active_date:I(y),dp__date_hover:T(y)}),N=y=>{if(t.value&&!Array.isArray(t.value)){const g=Ht(t.value,e.weekStart);return{...P(y),dp__range_start:pe(g[0],y.value),dp__range_end:pe(g[1],y.value),dp__range_between_week:Ne(y.value,g[0])&&Ee(y.value,g[1])}}return{...P(y)}},Z=y=>{if(t.value&&Array.isArray(t.value)){const g=Ht(t.value[0],e.weekStart),R=t.value[1]?Ht(t.value[1],e.weekStart):[];return{...P(y),dp__range_start:pe(g[0],y.value)||pe(R[0],y.value),dp__range_end:pe(g[1],y.value)||pe(R[1],y.value),dp__range_between_week:Ne(y.value,g[0])&&Ee(y.value,g[1])||Ne(y.value,R[0])&&Ee(y.value,R[1]),dp__range_between:Ne(y.value,g[1])&&Ee(y.value,R[0])}}return{...P(y)}},J=y=>{const g=n.value.count>0?y.current&&b(y)&&B():b(y)&&B(),R=n.value.count>0?y.current&&b(y,!1)&&B():b(y,!1)&&B();return{isRangeStart:g,isRangeEnd:R}},U=y=>{const{isRangeStart:g,isRangeEnd:R}=J(y);return{dp__range_start:g,dp__range_end:R,dp__range_between:G(y),dp__date_hover:T(y),dp__date_hover_start:S(T(y),y,!0),dp__date_hover_end:S(T(y),y,!1)}},P=y=>({...U(y),dp__cell_auto_range:x(y),dp__cell_auto_range_start:$(y),dp__cell_auto_range_end:C(y)}),A=y=>l.value.enabled?l.value.autoRange?P(y):e.modelAuto?{...w(y),...U(y)}:e.weekPicker?Z(y):U(y):e.weekPicker?N(y):w(y);return{setHoverDate:h,clearHoverDate:p,getDayClassData:y=>e.hideOffsetDates&&!y.current?{}:{...v(y),...A(y),[e.dayClass?e.dayClass(y.value):""]:!0,[e.calendarCellClassName]:!!e.calendarCellClassName}}},nn=t=>{const{defaultedFilters:e,defaultedRange:n,propDates:r,defaultedMultiDates:a}=$e(t),i=V=>r.value.disabledDates?typeof r.value.disabledDates=="function"?r.value.disabledDates(Y(V)):!!Rr(V,r.value.disabledDates):!1,s=V=>{const F=r.value.maxDate?Ne(V,r.value.maxDate):!1,G=r.value.minDate?Ee(V,r.value.minDate):!1,v=i(V),w=e.value.months.map(P=>+P).includes(he(V)),N=t.disabledWeekDays.length?t.disabledWeekDays.some(P=>+P===n0(V)):!1,Z=h(V),J=ce(V),U=J<+t.yearRange[0]||J>+t.yearRange[1];return!(F||G||v||w||U||N||Z)},l=(V,F)=>Ee(...Jt(r.value.minDate,V,F))||pe(...Jt(r.value.minDate,V,F)),c=(V,F)=>Ne(...Jt(r.value.maxDate,V,F))||pe(...Jt(r.value.maxDate,V,F)),u=(V,F,G)=>{let v=!1;return r.value.maxDate&&G&&c(V,F)&&(v=!0),r.value.minDate&&!G&&l(V,F)&&(v=!0),v},d=(V,F,G,v)=>{let w=!1;return v?r.value.minDate&&r.value.maxDate?w=u(V,F,G):(r.value.minDate&&l(V,F)||r.value.maxDate&&c(V,F))&&(w=!0):w=!0,w},h=V=>Array.isArray(r.value.allowedDates)&&!r.value.allowedDates.length?!0:r.value.allowedDates?!Rr(V,r.value.allowedDates):!1,p=V=>!s(V),_=V=>n.value.noDisabledRange?!Si({start:V[0],end:V[1]}).some(F=>p(F)):!0,m=V=>{if(V){const F=ce(V);return F>=+t.yearRange[0]&&F<=t.yearRange[1]}return!0},f=(V,F)=>!!(Array.isArray(V)&&V[F]&&(n.value.maxRange||n.value.minRange)&&m(V[F])),b=(V,F,G=0)=>{if(f(F,G)&&m(V)){const v=vi(V,F[G]),w=rs(F[G],V),N=w.length===1?0:w.filter(J=>p(J)).length,Z=Math.abs(v)-(n.value.minMaxRawRange?0:N);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},S=()=>!t.enableTimePicker||t.monthPicker||t.yearPicker||t.ignoreTimeValidation,M=V=>Array.isArray(V)?[V[0]?Uo(V[0]):null,V[1]?Uo(V[1]):null]:Uo(V),C=(V,F,G)=>V.find(v=>+v.hours===bt(F)&&v.minutes==="*"?!0:+v.minutes===$t(F)&&+v.hours===bt(F))&&G,x=(V,F,G)=>{const[v,w]=V,[N,Z]=F;return!C(v,N,G)&&!C(w,Z,G)&&G},$=(V,F)=>{const G=Array.isArray(F)?F:[F];return Array.isArray(t.disabledTimes)?Array.isArray(t.disabledTimes[0])?x(t.disabledTimes,G,V):!G.some(v=>C(t.disabledTimes,v,V)):V},L=(V,F)=>{const G=Array.isArray(F)?[wn(F[0]),F[1]?wn(F[1]):void 0]:wn(F),v=!t.disabledTimes(G);return V&&v},k=(V,F)=>t.disabledTimes?Array.isArray(t.disabledTimes)?$(F,V):L(F,V):F,B=V=>{let F=!0;if(!V||S())return!0;const G=!r.value.minDate&&!r.value.maxDate?M(V):V;return(t.maxTime||r.value.maxDate)&&(F=ss(t.maxTime,r.value.maxDate,"max",je(G),F)),(t.minTime||r.value.minDate)&&(F=ss(t.minTime,r.value.minDate,"min",je(G),F)),k(V,F)},T=V=>{if(!t.monthPicker)return!0;let F=!0;const G=Y(kt(V));if(r.value.minDate&&r.value.maxDate){const v=Y(kt(r.value.minDate)),w=Y(kt(r.value.maxDate));return Ne(G,v)&&Ee(G,w)||pe(G,v)||pe(G,w)}if(r.value.minDate){const v=Y(kt(r.value.minDate));F=Ne(G,v)||pe(G,v)}if(r.value.maxDate){const v=Y(kt(r.value.maxDate));F=Ee(G,v)||pe(G,v)}return F},I=o.computed(()=>V=>!t.enableTimePicker||t.ignoreTimeValidation?!0:B(V)),X=o.computed(()=>V=>t.monthPicker?Array.isArray(V)&&(n.value.enabled||a.value.enabled)?!V.filter(F=>!T(F)).length:T(V):!0);return{isDisabled:p,validateDate:s,validateMonthYearInRange:d,isDateRangeAllowed:_,checkMinMaxRange:b,isValidTime:B,isTimeValid:I,isMonthValid:X}},jr=()=>{const t=o.computed(()=>(r,a)=>r==null?void 0:r.includes(a)),e=o.computed(()=>(r,a)=>r.count?r.solo?!0:a===0:!0),n=o.computed(()=>(r,a)=>r.count?r.solo?!0:a===r.count-1:!0);return{hideNavigationButtons:t,showLeftIcon:e,showRightIcon:n}},j3=(t,e,n)=>{const r=o.ref(0),a=o.reactive({[bn.timePicker]:!t.enableTimePicker||t.timePicker||t.monthPicker,[bn.calendar]:!1,[bn.header]:!1}),i=o.computed(()=>t.monthPicker),s=h=>{var p;if((p=t.flow)!=null&&p.length){if(!h&&i.value)return d();a[h]=!0,Object.keys(a).filter(_=>!a[_]).length||d()}},l=()=>{var h;(h=t.flow)!=null&&h.length&&r.value!==-1&&(r.value+=1,e("flow-step",r.value),d())},c=()=>{r.value=-1},u=(h,p,..._)=>{var m,f;t.flow[r.value]===h&&n.value&&((f=(m=n.value)[p])==null||f.call(m,..._))},d=()=>{u(Et.month,"toggleMonthPicker",!0),u(Et.year,"toggleYearPicker",!0),u(Et.calendar,"toggleTimePicker",!1,!0),u(Et.time,"toggleTimePicker",!0,!0);const h=t.flow[r.value];(h===Et.hours||h===Et.minutes||h===Et.seconds)&&u(h,"toggleTimePicker",!0,!0,h)};return{childMount:s,updateFlowStep:l,resetFlow:c,flowStep:r}},Ir={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}},xt={...Ir,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}},I3={key:1,class:"dp__input_wrap"},Y3=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-label","aria-disabled","aria-invalid"],Z3={key:2,class:"dp__clear_icon"},q3=o.defineComponent({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...Ir},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,a=t,{defaultedTextInput:i,defaultedAriaLabels:s,defaultedInline:l,defaultedConfig:c,defaultedRange:u,defaultedMultiDates:d,getDefaultPattern:h,getDefaultStartTime:p}=$e(a),{checkMinMaxRange:_}=nn(a),m=o.ref(),f=o.ref(null),b=o.ref(!1),S=o.ref(!1),M=o.computed(()=>({dp__pointer:!a.disabled&&!a.readonly&&!i.value.enabled,dp__disabled:a.disabled,dp__input_readonly:!i.value.enabled,dp__input:!0,dp__input_icon_pad:!a.hideInputIcon,dp__input_valid:!!a.state,dp__input_invalid:a.state===!1,dp__input_focus:b.value||a.isMenuOpen,dp__input_reg:!i.value.enabled,[a.inputClassName]:!!a.inputClassName})),C=()=>{r("set-input-date",null),a.autoApply&&(r("set-empty-date"),m.value=null)},x=w=>{const N=p();return u3(w,i.value.format??h(),N??os({},a.enableSeconds),a.inputValue,S.value,a.formatLocale)},$=w=>{const{rangeSeparator:N}=i.value,[Z,J]=w.split(`${N}`);if(Z){const U=x(Z.trim()),P=J?x(J.trim()):null,A=U&&P?[U,P]:[U];_(P,A,0)&&(m.value=U?A:null)}},L=()=>{S.value=!0},k=w=>{if(u.value.enabled)$(w);else if(d.value.enabled){const N=w.split(";");m.value=N.map(Z=>x(Z.trim())).filter(Z=>Z)}else m.value=x(w)},B=w=>{var N;const Z=typeof w=="string"?w:(N=w.target)==null?void 0:N.value;Z!==""?(i.value.openMenu&&!a.isMenuOpen&&r("open"),k(Z),r("set-input-date",m.value)):C(),S.value=!1,r("update:input-value",Z)},T=w=>{i.value.enabled?(k(w.target.value),i.value.enterSubmit&&Yo(m.value)&&a.inputValue!==""?(r("set-input-date",m.value,!0),m.value=null):i.value.enterSubmit&&a.inputValue===""&&(m.value=null,r("clear"))):V(w)},I=w=>{i.value.enabled&&i.value.tabSubmit&&k(w.target.value),i.value.tabSubmit&&Yo(m.value)&&a.inputValue!==""?(r("set-input-date",m.value,!0,!0),m.value=null):i.value.tabSubmit&&a.inputValue===""&&(m.value=null,r("clear",!0))},X=()=>{b.value=!0,r("focus"),o.nextTick().then(()=>{var w;i.value.enabled&&i.value.selectOnFocus&&((w=f.value)==null||w.select())})},V=w=>{w.preventDefault(),Xt(w,c.value,!0),i.value.enabled&&i.value.openMenu&&!l.value.input&&!a.isMenuOpen?r("open"):i.value.enabled||r("toggle")},F=()=>{r("real-blur"),b.value=!1,(!a.isMenuOpen||l.value.enabled&&l.value.input)&&r("blur"),a.autoApply&&i.value.enabled&&m.value&&!a.isMenuOpen&&(r("set-input-date",m.value),r("select-date"),m.value=null)},G=w=>{Xt(w,c.value,!0),r("clear")},v=w=>{if(!i.value.enabled){if(w.code==="Tab")return;w.preventDefault()}};return e({focusInput:()=>{var w;(w=f.value)==null||w.focus({preventScroll:!0})},setParsedDate:w=>{m.value=w}}),(w,N)=>{var Z;return o.openBlock(),o.createElementBlock("div",{onClick:V},[w.$slots.trigger&&!w.$slots["dp-input"]&&!o.unref(l).enabled?o.renderSlot(w.$slots,"trigger",{key:0}):o.createCommentVNode("",!0),!w.$slots.trigger&&(!o.unref(l).enabled||o.unref(l).input)?(o.openBlock(),o.createElementBlock("div",I3,[w.$slots["dp-input"]&&!w.$slots.trigger&&(!o.unref(l).enabled||o.unref(l).enabled&&o.unref(l).input)?o.renderSlot(w.$slots,"dp-input",{key:0,value:t.inputValue,isMenuOpen:t.isMenuOpen,onInput:B,onEnter:T,onTab:I,onClear:G,onBlur:F,onKeypress:v,onPaste:L,openMenu:()=>w.$emit("open"),closeMenu:()=>w.$emit("close"),toggleMenu:()=>w.$emit("toggle")}):o.createCommentVNode("",!0),w.$slots["dp-input"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("input",{key:1,id:w.uid?`dp-input-${w.uid}`:void 0,ref_key:"inputRef",ref:f,name:w.name,class:o.normalizeClass(M.value),inputmode:o.unref(i).enabled?"text":"none",placeholder:w.placeholder,disabled:w.disabled,readonly:w.readonly,required:w.required,value:t.inputValue,autocomplete:w.autocomplete,"aria-label":(Z=o.unref(s))==null?void 0:Z.input,"aria-disabled":w.disabled||void 0,"aria-invalid":w.state===!1?!0:void 0,onInput:B,onKeydown:[o.withKeys(T,["enter"]),o.withKeys(I,["tab"]),v],onBlur:F,onFocus:X,onKeypress:v,onPaste:L},null,42,Y3)),o.createElementVNode("div",{onClick:N[2]||(N[2]=J=>r("toggle"))},[w.$slots["input-icon"]&&!w.hideInputIcon?(o.openBlock(),o.createElementBlock("span",{key:0,class:"dp__input_icon",onClick:N[0]||(N[0]=J=>r("toggle"))},[o.renderSlot(w.$slots,"input-icon")])):o.createCommentVNode("",!0),!w.$slots["input-icon"]&&!w.hideInputIcon&&!w.$slots["dp-input"]?(o.openBlock(),o.createBlock(o.unref(Hn),{key:1,class:"dp__input_icon dp__input_icons",onClick:N[1]||(N[1]=J=>r("toggle"))})):o.createCommentVNode("",!0)]),w.$slots["clear-icon"]&&t.inputValue&&w.clearable&&!w.disabled&&!w.readonly?(o.openBlock(),o.createElementBlock("span",Z3,[o.renderSlot(w.$slots,"clear-icon",{clear:G})])):o.createCommentVNode("",!0),w.clearable&&!w.$slots["clear-icon"]&&t.inputValue&&!w.disabled&&!w.readonly?(o.openBlock(),o.createBlock(o.unref(qi),{key:3,class:"dp__clear_icon dp__input_icons",onClick:N[3]||(N[3]=o.withModifiers(J=>G(J),["prevent"]))})):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)])}}}),U3=["title"],W3=["disabled"],G3=o.defineComponent({compatConfig:{MODE:3},__name:"ActionRow",props:{menuMount:{type:Boolean,default:!1},calendarWidth:{type:Number,default:0},...xt},emits:["close-picker","select-date","select-now","invalid-select"],setup(t,{emit:e}){const n=e,r=t,{defaultedActionRow:a,defaultedPreviewFormat:i,defaultedMultiCalendars:s,defaultedTextInput:l,defaultedInline:c,defaultedRange:u,defaultedMultiDates:d,getDefaultPattern:h}=$e(r),{isTimeValid:p,isMonthValid:_}=nn(r),{buildMatrix:m}=en(),f=o.ref(null),b=o.ref(null),S=o.ref(!1),M=o.ref({}),C=o.ref(null),x=o.ref(null);o.onMounted(()=>{r.arrowNavigation&&m([He(f),He(b)],"actionRow"),$(),window.addEventListener("resize",$)}),o.onUnmounted(()=>{window.removeEventListener("resize",$)});const $=()=>{S.value=!1,setTimeout(()=>{var v,w;const N=(v=C.value)==null?void 0:v.getBoundingClientRect(),Z=(w=x.value)==null?void 0:w.getBoundingClientRect();N&&Z&&(M.value.maxWidth=`${Z.width-N.width-20}px`),S.value=!0},0)},L=o.computed(()=>u.value.enabled&&!u.value.partialRange&&r.internalModelValue?r.internalModelValue.length===2:!0),k=o.computed(()=>!p.value(r.internalModelValue)||!_.value(r.internalModelValue)||!L.value),B=()=>{const v=i.value;return r.timePicker||r.monthPicker,v(je(r.internalModelValue))},T=()=>{const v=r.internalModelValue;return s.value.count>0?`${I(v[0])} - ${I(v[1])}`:[I(v[0]),I(v[1])]},I=v=>is(v,i.value,r.formatLocale,l.value.rangeSeparator,r.modelAuto,h()),X=o.computed(()=>!r.internalModelValue||!r.menuMount?"":typeof i.value=="string"?Array.isArray(r.internalModelValue)?r.internalModelValue.length===2&&r.internalModelValue[1]?T():d.value.enabled?r.internalModelValue.map(v=>`${I(v)}`):r.modelAuto?`${I(r.internalModelValue[0])}`:`${I(r.internalModelValue[0])} -`:I(r.internalModelValue):B()),V=()=>d.value.enabled?"; ":" - ",F=o.computed(()=>Array.isArray(X.value)?X.value.join(V()):X.value),G=()=>{p.value(r.internalModelValue)&&_.value(r.internalModelValue)&&L.value?n("select-date"):n("invalid-select")};return(v,w)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"actionRowRef",ref:x,class:"dp__action_row"},[v.$slots["action-row"]?o.renderSlot(v.$slots,"action-row",o.normalizeProps(o.mergeProps({key:0},{internalModelValue:v.internalModelValue,disabled:k.value,selectDate:()=>v.$emit("select-date"),closePicker:()=>v.$emit("close-picker")}))):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.unref(a).showPreview?(o.openBlock(),o.createElementBlock("div",{key:0,class:"dp__selection_preview",title:F.value,style:o.normalizeStyle(M.value)},[v.$slots["action-preview"]&&S.value?o.renderSlot(v.$slots,"action-preview",{key:0,value:v.internalModelValue}):o.createCommentVNode("",!0),!v.$slots["action-preview"]&&S.value?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(F.value),1)],64)):o.createCommentVNode("",!0)],12,U3)):o.createCommentVNode("",!0),o.createElementVNode("div",{ref_key:"actionBtnContainer",ref:C,class:"dp__action_buttons","data-dp-element":"action-row"},[v.$slots["action-buttons"]?o.renderSlot(v.$slots,"action-buttons",{key:0,value:v.internalModelValue}):o.createCommentVNode("",!0),v.$slots["action-buttons"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[!o.unref(c).enabled&&o.unref(a).showCancel?(o.openBlock(),o.createElementBlock("button",{key:0,ref_key:"cancelButtonRef",ref:f,type:"button",class:"dp__action_button dp__action_cancel",onClick:w[0]||(w[0]=N=>v.$emit("close-picker")),onKeydown:[w[1]||(w[1]=o.withKeys(N=>v.$emit("close-picker"),["enter"])),w[2]||(w[2]=o.withKeys(N=>v.$emit("close-picker"),["space"]))]},o.toDisplayString(v.cancelText),545)):o.createCommentVNode("",!0),o.unref(a).showNow?(o.openBlock(),o.createElementBlock("button",{key:1,type:"button",class:"dp__action_button dp__action_cancel",onClick:w[3]||(w[3]=N=>v.$emit("select-now")),onKeydown:[w[4]||(w[4]=o.withKeys(N=>v.$emit("select-now"),["enter"])),w[5]||(w[5]=o.withKeys(N=>v.$emit("select-now"),["space"]))]},o.toDisplayString(v.nowButtonLabel),33)):o.createCommentVNode("",!0),o.unref(a).showSelect?(o.openBlock(),o.createElementBlock("button",{key:2,ref_key:"selectButtonRef",ref:b,type:"button",class:"dp__action_button dp__action_select",disabled:k.value,onKeydown:[o.withKeys(G,["enter"]),o.withKeys(G,["space"])],onClick:G},o.toDisplayString(v.selectText),41,W3)):o.createCommentVNode("",!0)],64))],512)],64))],512))}}),K3=["onKeydown"],X3={class:"dp__selection_grid_header"},Q3=["aria-selected","aria-disabled","onClick","onKeydown","onMouseover"],J3=["aria-label"],pr=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:a,setMonthPicker:i}=en(),s=n,l=t,{defaultedAriaLabels:c,defaultedTextInput:u,defaultedConfig:d}=$e(l),{hideNavigationButtons:h}=jr(),p=o.ref(!1),_=o.ref(null),m=o.ref(null),f=o.ref([]),b=o.ref(),S=o.ref(null),M=o.ref(0),C=o.ref(null);o.onBeforeUpdate(()=>{_.value=null}),o.onMounted(()=>{o.nextTick().then(()=>X()),l.noOverlayFocus||$(),x(!0)}),o.onUnmounted(()=>x(!1));const x=U=>{var P;l.arrowNavigation&&((P=l.headerRefs)!=null&&P.length?i(U):r(U))},$=()=>{var U;const P=He(m);P&&(u.value.enabled||(_.value?(U=_.value)==null||U.focus({preventScroll:!0}):P.focus({preventScroll:!0})),p.value=P.clientHeight<P.scrollHeight)},L=o.computed(()=>({dp__overlay:!0,"dp--overlay-absolute":!l.useRelative,"dp--overlay-relative":l.useRelative})),k=o.computed(()=>l.useRelative?{height:`${l.height}px`,width:"260px"}:void 0),B=o.computed(()=>({dp__overlay_col:!0})),T=o.computed(()=>({dp__btn:!0,dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:p.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,()=>X(!1),{deep:!0});const X=(U=!0)=>{o.nextTick().then(()=>{const P=He(_),A=He(m),y=He(S),g=He(C),R=y?y.getBoundingClientRect().height:0;A&&(A.getBoundingClientRect().height?M.value=A.getBoundingClientRect().height-R:M.value=d.value.modeHeight-R),P&&g&&U&&(g.scrollTop=P.offsetTop-g.offsetTop-(M.value/2-P.getBoundingClientRect().height)-R)})},V=U=>{U.disabled||s("selected",U.value)},F=()=>{s("toggle"),s("reset-flow")},G=()=>{l.escClose&&F()},v=(U,P,A,y)=>{U&&((P.active||P.value===l.focusValue)&&(_.value=U),l.arrowNavigation&&(Array.isArray(f.value[A])?f.value[A][y]=U:f.value[A]=[U],w()))},w=()=>{var U,P;const A=(U=l.headerRefs)!=null&&U.length?[l.headerRefs].concat(f.value):f.value.concat([l.skipButtonRef?[]:[S.value]]);a(je(A),(P=l.headerRefs)!=null&&P.length?"monthPicker":"selectionGrid")},N=U=>{l.arrowNavigation||Xt(U,d.value,!0)},Z=U=>{b.value=U,s("hover-value",U)},J=()=>{if(F(),!l.isLast){const U=c3(l.menuWrapRef??null,"action-row");if(U){const P=Qi(U);P==null||P.focus()}}};return e({focusGrid:$}),(U,P)=>{var A;return o.openBlock(),o.createElementBlock("div",{ref_key:"gridWrapRef",ref:m,class:o.normalizeClass(L.value),style:o.normalizeStyle(k.value),role:"dialog",tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(G,["prevent"]),["esc"]),P[0]||(P[0]=o.withKeys(o.withModifiers(y=>N(y),["prevent"]),["left"])),P[1]||(P[1]=o.withKeys(o.withModifiers(y=>N(y),["prevent"]),["up"])),P[2]||(P[2]=o.withKeys(o.withModifiers(y=>N(y),["prevent"]),["down"])),P[3]||(P[3]=o.withKeys(o.withModifiers(y=>N(y),["prevent"]),["right"]))]},[o.createElementVNode("div",{ref_key:"containerRef",ref:C,class:o.normalizeClass(I.value),role:"grid",style:o.normalizeStyle({height:`${M.value}px`})},[o.createElementVNode("div",X3,[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,(y,g)=>(o.openBlock(),o.createElementBlock("div",{key:g,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(y,(R,z)=>(o.openBlock(),o.createElementBlock("div",{key:R.value,ref_for:!0,ref:ue=>v(ue,R,g,z),role:"gridcell",class:o.normalizeClass(B.value),"aria-selected":R.active||void 0,"aria-disabled":R.disabled||void 0,tabindex:"0",onClick:ue=>V(R),onKeydown:[o.withKeys(o.withModifiers(ue=>V(R),["prevent"]),["enter"]),o.withKeys(o.withModifiers(ue=>V(R),["prevent"]),["space"])],onMouseover:ue=>Z(R.value)},[o.createElementVNode("div",{class:o.normalizeClass(R.className)},[U.$slots.item?o.renderSlot(U.$slots,"item",{key:0,item:R}):o.createCommentVNode("",!0),U.$slots.item?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(R.text),1)],64))],2)],42,Q3))),128))],2))),128))],6),U.$slots["button-icon"]?o.withDirectives((o.openBlock(),o.createElementBlock("button",{key:0,ref_key:"toggleButton",ref:S,type:"button","aria-label":(A=o.unref(c))==null?void 0:A.toggleOverlay,class:o.normalizeClass(T.value),tabindex:"0",onClick:F,onKeydown:[o.withKeys(F,["enter"]),o.withKeys(J,["tab"])]},[o.renderSlot(U.$slots,"button-icon")],42,J3)),[[o.vShow,!o.unref(h)(U.hideNavigation,U.type)]]):o.createCommentVNode("",!0)],46,K3)}}}),Yr=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(a,i)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass({dp__menu_inner:!a.stretch,"dp--menu--inner-stretched":a.stretch,dp__flex_display:a.multiCalendars>0,"dp--flex-display-collapsed":a.collapse})},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.value,(s,l)=>(o.openBlock(),o.createElementBlock("div",{key:s,class:o.normalizeClass(r.value)},[o.renderSlot(a.$slots,"default",{instance:s,index:l})],2))),128))],2))}}),eu=["aria-label","aria-disabled"],mr=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)),(a,i)=>(o.openBlock(),o.createElementBlock("button",{ref_key:"elRef",ref:r,type:"button",class:"dp__btn dp--arrow-btn-nav",tabindex:"0","aria-label":a.ariaLabel,"aria-disabled":a.disabled||void 0,onClick:i[0]||(i[0]=s=>a.$emit("activate")),onKeydown:[i[1]||(i[1]=o.withKeys(o.withModifiers(s=>a.$emit("activate"),["prevent"]),["enter"])),i[2]||(i[2]=o.withKeys(o.withModifiers(s=>a.$emit("activate"),["prevent"]),["space"]))]},[o.createElementVNode("span",{class:o.normalizeClass(["dp__inner_nav",{dp__inner_nav_disabled:a.disabled}])},[o.renderSlot(a.$slots,"default")],2)],40,eu))}}),tu={class:"dp--year-mode-picker"},nu=["aria-label"],fs=o.defineComponent({__name:"YearModePicker",props:{...xt,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:a,showLeftIcon:i}=jr(),{defaultedConfig:s,defaultedMultiCalendars:l,defaultedAriaLabels:c,defaultedTransitions:u}=$e(r),{showTransition:d,transitionName:h}=hr(u),p=(f=!1,b)=>{n("toggle-year-picker",{flow:f,show:b})},_=f=>{n("year-select",f)},m=(f=!1)=>{n("handle-year",f)};return(f,b)=>{var S,M,C;return o.openBlock(),o.createElementBlock("div",tu,[o.unref(i)(o.unref(l),t.instance)?(o.openBlock(),o.createBlock(mr,{key:0,ref:"mpPrevIconRef","aria-label":(S=o.unref(c))==null?void 0:S.prevYear,disabled:t.isDisabled(!1),onActivate:b[0]||(b[0]=x=>m(!1))},{default:o.withCtx(()=>[f.$slots["arrow-left"]?o.renderSlot(f.$slots,"arrow-left",{key:0}):o.createCommentVNode("",!0),f.$slots["arrow-left"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Oo),{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":(M=o.unref(c))==null?void 0:M.openYearsOverlay,onClick:b[1]||(b[1]=()=>p(!1)),onKeydown:b[2]||(b[2]=o.withKeys(()=>p(!1),["enter"]))},[f.$slots.year?o.renderSlot(f.$slots,"year",{key:0,year:t.year}):o.createCommentVNode("",!0),f.$slots.year?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(t.year),1)],64))],40,nu),o.unref(a)(o.unref(l),t.instance)?(o.openBlock(),o.createBlock(mr,{key:1,ref:"mpNextIconRef","aria-label":(C=o.unref(c))==null?void 0:C.nextYear,disabled:t.isDisabled(!0),onActivate:b[3]||(b[3]=x=>m(!0))},{default:o.withCtx(()=>[f.$slots["arrow-right"]?o.renderSlot(f.$slots,"arrow-right",{key:0}):o.createCommentVNode("",!0),f.$slots["arrow-right"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Do),{key:1}))]),_:3},8,["aria-label","disabled"])):o.createCommentVNode("",!0),o.createVNode(o.Transition,{name:o.unref(h)(t.showYearPicker),css:o.unref(d)},{default:o.withCtx(()=>[t.showYearPicker?(o.openBlock(),o.createBlock(pr,{key:0,items:t.items,"text-input":f.textInput,"esc-close":f.escClose,config:f.config,"is-last":f.autoApply&&!o.unref(s).keepActionRow,"hide-navigation":f.hideNavigation,"aria-labels":f.ariaLabels,type:"year",onToggle:p,onSelected:b[4]||(b[4]=x=>_(x))},o.createSlots({"button-icon":o.withCtx(()=>[f.$slots["calendar-icon"]?o.renderSlot(f.$slots,"calendar-icon",{key:0}):o.createCommentVNode("",!0),f.$slots["calendar-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Hn),{key:1}))]),_:2},[f.$slots["year-overlay-value"]?{name:"item",fn:o.withCtx(({item:x})=>[o.renderSlot(f.$slots,"year-overlay-value",{text:x.text,value:x.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"])])}}}),ta=(t,e,n)=>{if(e.value&&Array.isArray(e.value))if(e.value.some(r=>pe(t,r))){const r=e.value.filter(a=>!pe(a,t));e.value=r.length?r:null}else(n&&+n>e.value.length||!n)&&e.value.push(t);else e.value=[t]},na=(t,e,n)=>{let r=t.value?t.value.slice():[];return r.length===2&&r[1]!==null&&(r=[]),r.length?Ee(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},Zr=(t,e,n,r)=>{t&&(t[0]&&t[1]&&n&&e("auto-apply"),t[0]&&!t[1]&&r&&n&&e("auto-apply"))},ps=t=>{Array.isArray(t.value)&&t.value.length<=2&&t.range?t.modelValue.value=t.value.map(e=>jt(Y(e),t.timezone)):Array.isArray(t.value)||(t.modelValue.value=jt(Y(t.value),t.timezone))},ms=(t,e,n,r)=>Array.isArray(e.value)&&(e.value.length===2||e.value.length===1&&r.value.partialRange)?r.value.fixedStart&&(Ne(t,e.value[0])||pe(t,e.value[0]))?[e.value[0],t]:r.value.fixedEnd&&(Ee(t,e.value[1])||pe(t,e.value[1]))?[t,e.value[1]]:(n("invalid-fixed-range",t),e.value):[],_s=({multiCalendars:t,highlight:e,propDates:n,calendars:r,modelValue:a,props:i,filters:s,year:l,month:c,emit:u})=>{const d=o.computed(()=>Fo(i.yearRange,i.locale,i.reverseYears)),h=o.ref([!1]),p=o.computed(()=>(L,k)=>{const B=ke(kt(new Date),{month:c.value(L),year:l.value(L)});return as(B,n.value.maxDate,n.value.minDate,i.preventMinMaxNavigation,k)}),_=()=>{for(let L=0;L<t.value.count;L++)if(L===0)r.value[L]=r.value[0];else{const k=ke(Y(),r.value[L-1]);r.value[L]={month:he(k),year:ce(ko(k,1))}}},m=L=>{if(!L)return _();const k=ke(Y(),r.value[L]);return r.value[0].year=ce(Zi(k,t.value.count-1)),_()},f=L=>i.focusStartDate?L[0]:L[1]?L[1]:L[0],b=()=>{if(a.value){const L=Array.isArray(a.value)?f(a.value):a.value;r.value[0]={month:he(L),year:ce(L)}}};o.onMounted(()=>{b(),t.value.count&&_()});const S=(L,k)=>{r.value[k].year=L,t.value.count&&!t.value.solo&&m(k)},M=o.computed(()=>L=>zn(d.value,k=>{var B;const T=l.value(L)===k.value,I=dr(k.value,jn(n.value.minDate),jn(n.value.maxDate))||((B=s.value.years)==null?void 0:B.includes(l.value(L))),X=Wo(e.value,k.value);return{active:T,disabled:I,highlighted:X}})),C=(L,k)=>{S(L,k),$(k)},x=(L,k=!1)=>{if(!p.value(L,k)){const B=k?l.value(L)+1:l.value(L)-1;S(B,L)}},$=(L,k=!1,B)=>{k||u("reset-flow"),B!==void 0?h.value[L]=B:h.value[L]=!h.value[L],h.value||u("overlay-closed")};return{isDisabled:p,groupedYears:M,showYearPicker:h,selectYear:S,toggleYearPicker:$,handleYearSelect:C,handleYear:x}},ru=(t,e)=>{const{defaultedMultiCalendars:n,defaultedAriaLabels:r,defaultedTransitions:a,defaultedConfig:i,defaultedRange:s,defaultedHighlight:l,propDates:c,defaultedTz:u,defaultedFilters:d,defaultedMultiDates:h}=$e(t),{modelValue:p,year:_,month:m,calendars:f}=fr(t,e),b=o.computed(()=>Wi(t.formatLocale,t.locale,t.monthNameFormat)),S=o.ref(null),{checkMinMaxRange:M}=nn(t),{selectYear:C,groupedYears:x,showYearPicker:$,toggleYearPicker:L,handleYearSelect:k,handleYear:B,isDisabled:T}=_s({modelValue:p,multiCalendars:n,highlight:l,calendars:f,year:_,propDates:c,month:m,filters:d,props:t,emit:e});o.onMounted(()=>{t.startDate&&(p.value&&t.focusStartDate||!p.value)&&C(ce(Y(t.startDate)),0)});const I=y=>y?{month:he(y),year:ce(y)}:{month:null,year:null},X=()=>p.value?Array.isArray(p.value)?p.value.map(y=>I(y)):I(p.value):I(),V=(y,g)=>{const R=f.value[y],z=X();return Array.isArray(z)?z.some(ue=>ue.year===(R==null?void 0:R.year)&&ue.month===g):(R==null?void 0:R.year)===z.year&&g===z.month},F=(y,g,R)=>{var z,ue;const Ce=X();return Array.isArray(Ce)?_.value(g)===((z=Ce[R])==null?void 0:z.year)&&y===((ue=Ce[R])==null?void 0:ue.month):!1},G=(y,g)=>{if(s.value.enabled){const R=X();if(Array.isArray(p.value)&&Array.isArray(R)){const z=F(y,g,0)||F(y,g,1),ue=zt(kt(Y()),y,_.value(g));return Fr(p.value,S.value,ue)&&!z}return!1}return!1},v=o.computed(()=>y=>zn(b.value,g=>{var R;const z=V(y,g.value),ue=dr(g.value,ts(_.value(y),c.value.minDate),ns(_.value(y),c.value.maxDate))||g3(c.value.disabledDates,_.value(y)).includes(g.value)||((R=d.value.months)==null?void 0:R.includes(g.value)),Ce=G(g.value,y),O=ls(l.value,g.value,_.value(y));return{active:z,disabled:ue,isBetween:Ce,highlighted:O}})),w=(y,g)=>zt(kt(Y()),y,_.value(g)),N=(y,g)=>{const R=p.value?p.value:kt(new Date);p.value=zt(R,y,_.value(g)),e("auto-apply"),e("update-flow-step")},Z=(y,g)=>{const R=w(y,g);s.value.fixedEnd||s.value.fixedStart?p.value=ms(R,p,e,s):p.value?M(R,p.value)&&(p.value=na(p,w(y,g),e)):p.value=[w(y,g)],Zr(p.value,e,t.autoApply,t.modelAuto)},J=(y,g)=>{ta(w(y,g),p,h.value.limit),e("auto-apply",!0)},U=(y,g)=>(f.value[g].month=y,A(g,f.value[g].year,y),h.value.enabled?J(y,g):s.value.enabled?Z(y,g):N(y,g)),P=(y,g)=>{C(y,g),A(g,y,null)},A=(y,g,R)=>{let z=R;if(!z&&z!==0){const ue=X();z=Array.isArray(ue)?ue[y].month:ue.month}e("update-month-year",{instance:y,year:g,month:z})};return{groupedMonths:v,groupedYears:x,year:_,isDisabled:T,defaultedMultiCalendars:n,defaultedAriaLabels:r,defaultedTransitions:a,defaultedConfig:i,showYearPicker:$,modelValue:p,presetDate:(y,g)=>{ps({value:y,modelValue:p,range:s.value.enabled,timezone:g?void 0:u.value.timezone}),e("auto-apply")},setHoverDate:(y,g)=>{S.value=w(y,g)},selectMonth:U,selectYear:P,toggleYearPicker:L,handleYearSelect:k,handleYear:B,getModelMonthYear:X}},ou=o.defineComponent({compatConfig:{MODE:3},__name:"MonthPicker",props:{...xt},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,a=o.useSlots(),i=it(a,"yearMode"),s=t;o.onMounted(()=>{s.shadow||r("mount",null)});const{groupedMonths:l,groupedYears:c,year:u,isDisabled:d,defaultedMultiCalendars:h,defaultedConfig:p,showYearPicker:_,modelValue:m,presetDate:f,setHoverDate:b,selectMonth:S,selectYear:M,toggleYearPicker:C,handleYearSelect:x,handleYear:$,getModelMonthYear:L}=ru(s,r);return e({getSidebarProps:()=>({modelValue:m,year:u,getModelMonthYear:L,selectMonth:S,selectYear:M,handleYear:$}),presetDate:f,toggleYearPicker:k=>C(0,k)}),(k,B)=>(o.openBlock(),o.createBlock(Yr,{"multi-calendars":o.unref(h).count,collapse:k.collapse,stretch:""},{default:o.withCtx(({instance:T})=>[k.$slots["month-year"]?o.renderSlot(k.$slots,"month-year",o.normalizeProps(o.mergeProps({key:0},{year:o.unref(u),months:o.unref(l)(T),years:o.unref(c)(T),selectMonth:o.unref(S),selectYear:o.unref(M),instance:T}))):(o.openBlock(),o.createBlock(pr,{key:1,items:o.unref(l)(T),"arrow-navigation":k.arrowNavigation,"is-last":k.autoApply&&!o.unref(p).keepActionRow,"esc-close":k.escClose,height:o.unref(p).modeHeight,config:k.config,"no-overlay-focus":!!(k.noOverlayFocus||k.textInput),"use-relative":"",type:"month",onSelected:I=>o.unref(S)(I,T),onHoverValue:I=>o.unref(b)(I,T)},{header:o.withCtx(()=>[o.createVNode(fs,o.mergeProps(k.$props,{items:o.unref(c)(T),instance:T,"show-year-picker":o.unref(_)[T],year:o.unref(u)(T),"is-disabled":I=>o.unref(d)(T,I),onHandleYear:I=>o.unref($)(T,I),onYearSelect:I=>o.unref(x)(I,T),onToggleYearPicker:I=>o.unref(C)(T,I==null?void 0:I.flow,I==null?void 0:I.show)}),o.createSlots({_:2},[o.renderList(o.unref(i),(I,X)=>({name:I,fn:o.withCtx(V=>[o.renderSlot(k.$slots,I,o.normalizeProps(o.guardReactiveProps(V)))])}))]),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"]))}}),au=(t,e)=>{const{modelValue:n}=fr(t,e),r=o.ref(null),{defaultedHighlight:a,defaultedMultiDates:i,defaultedFilters:s,defaultedRange:l,propDates:c}=$e(t),u=o.ref();o.onMounted(()=>{t.startDate&&(n.value&&t.focusStartDate||!n.value)&&(u.value=ce(Y(t.startDate)))});const d=m=>Array.isArray(n.value)?n.value.some(f=>ce(f)===m):n.value?ce(n.value)===m:!1,h=m=>l.value.enabled&&Array.isArray(n.value)?Fr(n.value,r.value,_(m)):!1,p=o.computed(()=>zn(Fo(t.yearRange,t.locale,t.reverseYears),m=>{const f=d(m.value),b=dr(m.value,jn(c.value.minDate),jn(c.value.maxDate))||s.value.years.includes(m.value),S=h(m.value)&&!f,M=Wo(a.value,m.value);return{active:f,disabled:b,isBetween:S,highlighted:M}})),_=m=>Tt(kt(new Date),m);return{groupedYears:p,modelValue:n,focusYear:u,setHoverValue:m=>{r.value=Tt(kt(new Date),m)},selectYear:m=>{var f;if(e("update-month-year",{instance:0,year:m}),i.value.enabled)return n.value?Array.isArray(n.value)&&(((f=n.value)==null?void 0:f.map(b=>ce(b))).includes(m)?n.value=n.value.filter(b=>ce(b)!==m):n.value.push(Tt(at(Y()),m))):n.value=[Tt(at(Y()),m)],e("auto-apply",!0);if(l.value.enabled)return n.value=na(n,_(m),e),Zr(n.value,e,t.autoApply,t.modelAuto);n.value=_(m),e("auto-apply")}}},iu=o.defineComponent({compatConfig:{MODE:3},__name:"YearPicker",props:{...xt},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,a=t,{groupedYears:i,modelValue:s,focusYear:l,selectYear:c,setHoverValue:u}=au(a,r),{defaultedConfig:d}=$e(a);return e({getSidebarProps:()=>({modelValue:s,selectYear:c})}),(h,p)=>(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(pr,{key:1,items:o.unref(i),"is-last":h.autoApply&&!o.unref(d).keepActionRow,height:o.unref(d).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(u)},o.createSlots({_:2},[h.$slots["year-overlay-value"]?{name:"item",fn:o.withCtx(({item:_})=>[o.renderSlot(h.$slots,"year-overlay-value",{text:_.text,value:_.value})]),key:"0"}:void 0]),1032,["items","is-last","height","config","no-overlay-focus","focus-value","onSelected","onHoverValue"]))]))}}),su={key:0,class:"dp__time_input"},lu=["aria-label","onKeydown","onClick"],cu=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),du=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),uu=["aria-label","disabled","onKeydown","onClick"],hu=["aria-label","onKeydown","onClick"],fu=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),pu=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),mu={key:0},_u=["aria-label","onKeydown"],gu=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},...xt},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,a=t,{setTimePickerElements:i,setTimePickerBackRef:s}=en(),{defaultedAriaLabels:l,defaultedTransitions:c,defaultedFilters:u,defaultedConfig:d,defaultedRange:h}=$e(a),{transitionName:p,showTransition:_}=hr(c),m=o.reactive({hours:!1,minutes:!1,seconds:!1}),f=o.ref("AM"),b=o.ref(null),S=o.ref([]);o.onMounted(()=>{r("mounted")});const M=O=>ke(new Date,{hours:O.hours,minutes:O.minutes,seconds:a.enableSeconds?O.seconds:0,milliseconds:0}),C=o.computed(()=>O=>v(O,a[O])||$(O,a[O])),x=o.computed(()=>({hours:a.hours,minutes:a.minutes,seconds:a.seconds})),$=(O,H)=>h.value.enabled&&!h.value.disableTimeRangeValidation?!a.validateTime(O,H):!1,L=(O,H)=>{if(h.value.enabled&&!h.value.disableTimeRangeValidation){const ae=H?+a[`${O}Increment`]:-+a[`${O}Increment`],E=a[O]+ae;return!a.validateTime(O,E)}return!1},k=o.computed(()=>O=>!J(+a[O]+ +a[`${O}Increment`],O)||L(O,!0)),B=o.computed(()=>O=>!J(+a[O]-+a[`${O}Increment`],O)||L(O,!1)),T=(O,H)=>yi(ke(Y(),O),H),I=(O,H)=>t3(ke(Y(),O),H),X=o.computed(()=>({dp__time_col:!0,dp__time_col_block:!a.timePickerInline,dp__time_col_reg_block:!a.enableSeconds&&a.is24&&!a.timePickerInline,dp__time_col_reg_inline:!a.enableSeconds&&a.is24&&a.timePickerInline,dp__time_col_reg_with_button:!a.enableSeconds&&!a.is24,dp__time_col_sec:a.enableSeconds&&a.is24,dp__time_col_sec_with_button:a.enableSeconds&&!a.is24})),V=o.computed(()=>{const O=[{type:"hours"},{type:"",separator:!0},{type:"minutes"}];return a.enableSeconds?O.concat([{type:"",separator:!0},{type:"seconds"}]):O}),F=o.computed(()=>V.value.filter(O=>!O.separator)),G=o.computed(()=>O=>{if(O==="hours"){const H=g(+a.hours);return{text:H<10?`0${H}`:`${H}`,value:H}}return{text:a[O]<10?`0${a[O]}`:`${a[O]}`,value:a[O]}}),v=(O,H)=>{var ae;if(!a.disabledTimesConfig)return!1;const E=a.disabledTimesConfig(a.order,O==="hours"?H:void 0);return E[O]?!!((ae=E[O])!=null&&ae.includes(H)):!0},w=O=>{const H=a.is24?24:12,ae=O==="hours"?H:60,E=+a[`${O}GridIncrement`],q=O==="hours"&&!a.is24?E:0,oe=[];for(let le=q;le<ae;le+=E)oe.push({value:le,text:le<10?`0${le}`:`${le}`});return O==="hours"&&!a.is24&&oe.push({value:0,text:"12"}),zn(oe,le=>({active:!1,disabled:u.value.times[O].includes(le.value)||!J(le.value,O)||v(O,le.value)||$(O,le.value)}))},N=O=>O>=0?O:59,Z=O=>O>=0?O:23,J=(O,H)=>{const ae=a.minTime?M(Io(a.minTime)):null,E=a.maxTime?M(Io(a.maxTime)):null,q=M(Io(x.value,H,H==="minutes"||H==="seconds"?N(O):Z(O)));return ae&&E?(cr(q,E)||Rn(q,E))&&(lr(q,ae)||Rn(q,ae)):ae?lr(q,ae)||Rn(q,ae):E?cr(q,E)||Rn(q,E):!0},U=O=>a[`no${O[0].toUpperCase()+O.slice(1)}Overlay`],P=O=>{U(O)||(m[O]=!m[O],m[O]||r("overlay-closed"))},A=O=>O==="hours"?bt:O==="minutes"?$t:An,y=(O,H=!0)=>{const ae=H?T:I,E=H?+a[`${O}Increment`]:-+a[`${O}Increment`];J(+a[O]+E,O)&&r(`update:${O}`,A(O)(ae({[O]:+a[O]},{[O]:+a[`${O}Increment`]})))},g=O=>a.is24?O:(O>=12?f.value="PM":f.value="AM",o3(O)),R=()=>{f.value==="PM"?(f.value="AM",r("update:hours",a.hours-12)):(f.value="PM",r("update:hours",a.hours+12)),r("am-pm-change",f.value)},z=O=>{m[O]=!0},ue=(O,H,ae)=>{if(O&&a.arrowNavigation){Array.isArray(S.value[H])?S.value[H][ae]=O:S.value[H]=[O];const E=S.value.reduce((q,oe)=>oe.map((le,te)=>[...q[te]||[],oe[te]]),[]);s(a.closeTimePickerBtn),b.value&&(E[1]=E[1].concat(b.value)),i(E,a.order)}},Ce=(O,H)=>(P(O),O==="hours"&&!a.is24?r(`update:${O}`,f.value==="PM"?H+12:H):r(`update:${O}`,H));return e({openChildCmp:z}),(O,H)=>{var ae;return O.disabled?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",su,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(V.value,(E,q)=>{var oe,le,te;return o.openBlock(),o.createElementBlock("div",{key:q,class:o.normalizeClass(X.value)},[E.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:Q=>ue(Q,q,0),type:"button",class:o.normalizeClass({dp__btn:!0,dp__inc_dec_button:!O.timePickerInline,dp__inc_dec_button_inline:O.timePickerInline,dp__tp_inline_btn_top:O.timePickerInline,dp__inc_dec_button_disabled:k.value(E.type)}),"aria-label":(oe=o.unref(l))==null?void 0:oe.incrementValue(E.type),tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(Q=>y(E.type),["prevent"]),["enter"]),o.withKeys(o.withModifiers(Q=>y(E.type),["prevent"]),["space"])],onClick:Q=>y(E.type)},[a.timePickerInline?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[cu,du],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[O.$slots["arrow-up"]?o.renderSlot(O.$slots,"arrow-up",{key:0}):o.createCommentVNode("",!0),O.$slots["arrow-up"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Ao),{key:1}))],64))],42,lu),o.createElementVNode("button",{ref_for:!0,ref:Q=>ue(Q,q,1),type:"button","aria-label":(le=o.unref(l))==null?void 0:le.openTpOverlay(E.type),class:o.normalizeClass({dp__time_display:!0,dp__time_display_block:!O.timePickerInline,dp__time_display_inline:O.timePickerInline,"dp--time-invalid":C.value(E.type),"dp--time-overlay-btn":!C.value(E.type)}),disabled:U(E.type),tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(Q=>P(E.type),["prevent"]),["enter"]),o.withKeys(o.withModifiers(Q=>P(E.type),["prevent"]),["space"])],onClick:Q=>P(E.type)},[O.$slots[E.type]?o.renderSlot(O.$slots,E.type,{key:0,text:G.value(E.type).text,value:G.value(E.type).value}):o.createCommentVNode("",!0),O.$slots[E.type]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(G.value(E.type).text),1)],64))],42,uu),o.createElementVNode("button",{ref_for:!0,ref:Q=>ue(Q,q,2),type:"button",class:o.normalizeClass({dp__btn:!0,dp__inc_dec_button:!O.timePickerInline,dp__inc_dec_button_inline:O.timePickerInline,dp__tp_inline_btn_bottom:O.timePickerInline,dp__inc_dec_button_disabled:B.value(E.type)}),"aria-label":(te=o.unref(l))==null?void 0:te.decrementValue(E.type),tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(Q=>y(E.type,!1),["prevent"]),["enter"]),o.withKeys(o.withModifiers(Q=>y(E.type,!1),["prevent"]),["space"])],onClick:Q=>y(E.type,!1)},[a.timePickerInline?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[fu,pu],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[O.$slots["arrow-down"]?o.renderSlot(O.$slots,"arrow-down",{key:0}):o.createCommentVNode("",!0),O.$slots["arrow-down"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Ro),{key:1}))],64))],42,hu)],64))],2)}),128)),O.is24?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",mu,[O.$slots["am-pm-button"]?o.renderSlot(O.$slots,"am-pm-button",{key:0,toggle:R,value:f.value}):o.createCommentVNode("",!0),O.$slots["am-pm-button"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("button",{key:1,ref_key:"amPmButton",ref:b,type:"button",class:"dp__pm_am_button",role:"button","aria-label":(ae=o.unref(l))==null?void 0:ae.amPmButton,tabindex:"0",onClick:R,onKeydown:[o.withKeys(o.withModifiers(R,["prevent"]),["enter"]),o.withKeys(o.withModifiers(R,["prevent"]),["space"])]},o.toDisplayString(f.value),41,_u))])),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(F.value,(E,q)=>(o.openBlock(),o.createBlock(o.Transition,{key:q,name:o.unref(p)(m[E.type]),css:o.unref(_)},{default:o.withCtx(()=>[m[E.type]?(o.openBlock(),o.createBlock(pr,{key:0,items:w(E.type),"is-last":O.autoApply&&!o.unref(d).keepActionRow,"esc-close":O.escClose,type:E.type,"text-input":O.textInput,config:O.config,"arrow-navigation":O.arrowNavigation,"aria-labels":O.ariaLabels,onSelected:oe=>Ce(E.type,oe),onToggle:oe=>P(E.type),onResetFlow:H[0]||(H[0]=oe=>O.$emit("reset-flow"))},o.createSlots({"button-icon":o.withCtx(()=>[O.$slots["clock-icon"]?o.renderSlot(O.$slots,"clock-icon",{key:0}):o.createCommentVNode("",!0),O.$slots["clock-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(O.timePickerInline?o.unref(Hn):o.unref(No)),{key:1}))]),_:2},[O.$slots[`${E.type}-overlay-value`]?{name:"item",fn:o.withCtx(({item:oe})=>[o.renderSlot(O.$slots,`${E.type}-overlay-value`,{text:oe.text,value:oe.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))]))}}}),yu={class:"dp--tp-wrap"},wu=["aria-label","tabindex"],Cu=["tabindex"],bu=["aria-label"],gs=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},...xt},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,a=t,{buildMatrix:i,setTimePicker:s}=en(),l=o.useSlots(),{defaultedTransitions:c,defaultedAriaLabels:u,defaultedTextInput:d,defaultedConfig:h,defaultedRange:p}=$e(a),{transitionName:_,showTransition:m}=hr(c),{hideNavigationButtons:f}=jr(),b=o.ref(null),S=o.ref(null),M=o.ref([]),C=o.ref(null);o.onMounted(()=>{r("mount"),!a.timePicker&&a.arrowNavigation?i([He(b.value)],"time"):s(!0,a.timePicker)});const x=o.computed(()=>p.value.enabled&&a.modelAuto?Gi(a.internalModelValue):!0),$=o.ref(!1),L=w=>({hours:Array.isArray(a.hours)?a.hours[w]:a.hours,minutes:Array.isArray(a.minutes)?a.minutes[w]:a.minutes,seconds:Array.isArray(a.seconds)?a.seconds[w]:a.seconds}),k=o.computed(()=>{const w=[];if(p.value.enabled)for(let N=0;N<2;N++)w.push(L(N));else w.push(L(0));return w}),B=(w,N=!1,Z="")=>{N||r("reset-flow"),$.value=w,r(w?"overlay-opened":"overlay-closed"),a.arrowNavigation&&s(w),o.nextTick(()=>{Z!==""&&M.value[0]&&M.value[0].openChildCmp(Z)})},T=o.computed(()=>({dp__btn:!0,dp__button:!0,dp__button_bottom:a.autoApply&&!h.value.keepActionRow})),I=it(l,"timePicker"),X=(w,N,Z)=>p.value.enabled?N===0?[w,k.value[1][Z]]:[k.value[0][Z],w]:w,V=w=>{r("update:hours",w)},F=w=>{r("update:minutes",w)},G=w=>{r("update:seconds",w)},v=()=>{if(C.value&&!d.value.enabled&&!a.noOverlayFocus){const w=Qi(C.value);w&&w.focus({preventScroll:!0})}};return e({toggleTimePicker:B}),(w,N)=>{var Z;return o.openBlock(),o.createElementBlock("div",yu,[!w.timePicker&&!w.timePickerInline?o.withDirectives((o.openBlock(),o.createElementBlock("button",{key:0,ref_key:"openTimePickerBtn",ref:b,type:"button",class:o.normalizeClass(T.value),"aria-label":(Z=o.unref(u))==null?void 0:Z.openTimePicker,tabindex:w.noOverlayFocus?void 0:0,onKeydown:[N[0]||(N[0]=o.withKeys(J=>B(!0),["enter"])),N[1]||(N[1]=o.withKeys(J=>B(!0),["space"]))],onClick:N[2]||(N[2]=J=>B(!0))},[w.$slots["clock-icon"]?o.renderSlot(w.$slots,"clock-icon",{key:0}):o.createCommentVNode("",!0),w.$slots["clock-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(No),{key:1}))],42,wu)),[[o.vShow,!o.unref(f)(w.hideNavigation,"time")]]):o.createCommentVNode("",!0),o.createVNode(o.Transition,{name:o.unref(_)($.value),css:o.unref(m)&&!w.timePickerInline},{default:o.withCtx(()=>{var J;return[$.value||w.timePicker||w.timePickerInline?(o.openBlock(),o.createElementBlock("div",{key:0,ref_key:"overlayRef",ref:C,class:o.normalizeClass({dp__overlay:!w.timePickerInline,"dp--overlay-absolute":!a.timePicker&&!w.timePickerInline,"dp--overlay-relative":a.timePicker}),style:o.normalizeStyle(w.timePicker?{height:`${o.unref(h).modeHeight}px`}:void 0),tabindex:w.timePickerInline?void 0:0},[o.createElementVNode("div",{class:o.normalizeClass(w.timePickerInline?"dp__time_picker_inline_container":"dp__overlay_container dp__container_flex dp__time_picker_overlay_container"),style:{display:"flex"}},[w.$slots["time-picker-overlay"]?o.renderSlot(w.$slots,"time-picker-overlay",{key:0,hours:t.hours,minutes:t.minutes,seconds:t.seconds,setHours:V,setMinutes:F,setSeconds:G}):o.createCommentVNode("",!0),w.$slots["time-picker-overlay"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",{key:1,class:o.normalizeClass(w.timePickerInline?"dp__flex":"dp__overlay_row dp__flex_row")},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(k.value,(U,P)=>o.withDirectives((o.openBlock(),o.createBlock(gu,o.mergeProps({key:P},{...w.$props,order:P,hours:U.hours,minutes:U.minutes,seconds:U.seconds,closeTimePickerBtn:S.value,disabledTimesConfig:t.disabledTimesConfig,disabled:P===0?w.fixedStart:w.fixedEnd},{ref_for:!0,ref_key:"timeInputRefs",ref:M,"validate-time":(A,y)=>t.validateTime(A,X(y,P,A)),"onUpdate:hours":A=>V(X(A,P,"hours")),"onUpdate:minutes":A=>F(X(A,P,"minutes")),"onUpdate:seconds":A=>G(X(A,P,"seconds")),onMounted:v,onOverlayClosed:v,onAmPmChange:N[3]||(N[3]=A=>w.$emit("am-pm-change",A))}),o.createSlots({_:2},[o.renderList(o.unref(I),(A,y)=>({name:A,fn:o.withCtx(g=>[o.renderSlot(w.$slots,A,o.normalizeProps(o.guardReactiveProps(g)))])}))]),1040,["validate-time","onUpdate:hours","onUpdate:minutes","onUpdate:seconds"])),[[o.vShow,P===0?!0:x.value]])),128))],2)),!w.timePicker&&!w.timePickerInline?o.withDirectives((o.openBlock(),o.createElementBlock("button",{key:2,ref_key:"closeTimePickerBtn",ref:S,type:"button",class:o.normalizeClass(T.value),"aria-label":(J=o.unref(u))==null?void 0:J.closeTimePicker,tabindex:"0",onKeydown:[N[4]||(N[4]=o.withKeys(U=>B(!1),["enter"])),N[5]||(N[5]=o.withKeys(U=>B(!1),["space"]))],onClick:N[6]||(N[6]=U=>B(!1))},[w.$slots["calendar-icon"]?o.renderSlot(w.$slots,"calendar-icon",{key:0}):o.createCommentVNode("",!0),w.$slots["calendar-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Hn),{key:1}))],42,bu)),[[o.vShow,!o.unref(f)(w.hideNavigation,"time")]]):o.createCommentVNode("",!0)],2)],14,Cu)):o.createCommentVNode("",!0)]}),_:3},8,["name","css"])])}}}),ys=(t,e,n,r)=>{const{defaultedRange:a}=$e(t),i=(C,x)=>Array.isArray(e[C])?e[C][x]:e[C],s=C=>t.enableSeconds?Array.isArray(e.seconds)?e.seconds[C]:e.seconds:0,l=(C,x)=>C?x!==void 0?Qt(C,i("hours",x),i("minutes",x),s(x)):Qt(C,e.hours,e.minutes,s()):Vo(Y(),s(x)),c=(C,x)=>{e[C]=x},u=o.computed(()=>t.modelAuto&&a.value.enabled?Array.isArray(n.value)?n.value.length>1:!1:a.value.enabled),d=(C,x)=>{const $=Object.fromEntries(Object.keys(e).map(L=>L===C?[L,x]:[L,e[L]].slice()));if(u.value&&!a.value.disableTimeRangeValidation){const L=B=>n.value?Qt(n.value[B],$.hours[B],$.minutes[B],$.seconds[B]):null,k=B=>Po(n.value[B],0);return!(pe(L(0),L(1))&&(lr(L(0),k(1))||cr(L(1),k(0))))}return!0},h=(C,x)=>{d(C,x)&&(c(C,x),r&&r())},p=C=>{h("hours",C)},_=C=>{h("minutes",C)},m=C=>{h("seconds",C)},f=(C,x,$,L)=>{x&&p(C),!x&&!$&&_(C),$&&m(C),n.value&&L(n.value)},b=C=>{if(C){const x=Array.isArray(C),$=x?[+C[0].hours,+C[1].hours]:+C.hours,L=x?[+C[0].minutes,+C[1].minutes]:+C.minutes,k=x?[+C[0].seconds,+C[1].seconds]:+C.seconds;c("hours",$),c("minutes",L),t.enableSeconds&&c("seconds",k)}},S=(C,x)=>{const $={hours:Array.isArray(e.hours)?e.hours[C]:e.hours,disabledArr:[]};return(x||x===0)&&($.hours=x),Array.isArray(t.disabledTimes)&&($.disabledArr=a.value.enabled&&Array.isArray(t.disabledTimes[C])?t.disabledTimes[C]:t.disabledTimes),$},M=o.computed(()=>(C,x)=>{var $;if(Array.isArray(t.disabledTimes)){const{disabledArr:L,hours:k}=S(C,x),B=L.filter(T=>+T.hours===k);return(($=B[0])==null?void 0:$.minutes)==="*"?{hours:[k],minutes:void 0,seconds:void 0}:{hours:[],minutes:(B==null?void 0:B.map(T=>+T.minutes))??[],seconds:(B==null?void 0:B.map(T=>T.seconds?+T.seconds:void 0))??[]}}return{hours:[],minutes:[],seconds:[]}});return{setTime:c,updateHours:p,updateMinutes:_,updateSeconds:m,getSetDateTime:l,updateTimeValues:f,getSecondsValue:s,assignStartTime:b,validateTime:d,disabledTimesConfig:M}},ku=(t,e)=>{const{modelValue:n,time:r}=fr(t,e),{defaultedStartTime:a,defaultedRange:i}=$e(t),{updateTimeValues:s,getSetDateTime:l,setTime:c,assignStartTime:u,disabledTimesConfig:d,validateTime:h}=ys(t,r,n),p=C=>{const{hours:x,minutes:$,seconds:L}=C;return{hours:+x,minutes:+$,seconds:L?+L:0}},_=()=>{if(t.startTime){if(Array.isArray(t.startTime)){const x=p(t.startTime[0]),$=p(t.startTime[1]);return[ke(Y(),x),ke(Y(),$)]}const C=p(t.startTime);return ke(Y(),C)}return i.value.enabled?[null,null]:null},m=()=>{if(i.value.enabled){const[C,x]=_();n.value=[l(C,0),l(x,1)]}else n.value=l(_())},f=C=>Array.isArray(C)?[wn(Y(C[0])),wn(Y(C[1]))]:[wn(C??Y())],b=(C,x,$)=>{c("hours",C),c("minutes",x),c("seconds",t.enableSeconds?$:0)},S=()=>{const[C,x]=f(n.value);return i.value.enabled?b([C.hours,x.hours],[C.minutes,x.minutes],[C.seconds,x.seconds]):b(C.hours,C.minutes,C.seconds)};o.onMounted(()=>{if(!t.shadow)return u(a.value),n.value?S():m()});const M=()=>{Array.isArray(n.value)?n.value=n.value.map((C,x)=>C&&l(C,x)):n.value=l(n.value),e("time-update")};return{modelValue:n,time:r,disabledTimesConfig:d,updateTime:(C,x=!0,$=!1)=>{s(C,x,$,M)},validateTime:h}},vu=o.defineComponent({compatConfig:{MODE:3},__name:"TimePickerSolo",props:{...xt},emits:["update:internal-model-value","time-update","am-pm-change"],setup(t,{expose:e,emit:n}){const r=n,a=t,i=o.useSlots(),s=it(i,"timePicker"),{time:l,modelValue:c,disabledTimesConfig:u,updateTime:d,validateTime:h}=ku(a,r);return e({getSidebarProps:()=>({modelValue:c,time:l,updateTime:d})}),(p,_)=>(o.openBlock(),o.createBlock(Yr,{"multi-calendars":0,stretch:""},{default:o.withCtx(()=>[o.createVNode(gs,o.mergeProps(p.$props,{hours:o.unref(l).hours,minutes:o.unref(l).minutes,seconds:o.unref(l).seconds,"internal-model-value":p.internalModelValue,"disabled-times-config":o.unref(u),"validate-time":o.unref(h),"onUpdate:hours":_[0]||(_[0]=m=>o.unref(d)(m)),"onUpdate:minutes":_[1]||(_[1]=m=>o.unref(d)(m,!1)),"onUpdate:seconds":_[2]||(_[2]=m=>o.unref(d)(m,!1,!0)),onAmPmChange:_[3]||(_[3]=m=>p.$emit("am-pm-change",m))}),o.createSlots({_:2},[o.renderList(o.unref(s),(m,f)=>({name:m,fn:o.withCtx(b=>[o.renderSlot(p.$slots,m,o.normalizeProps(o.guardReactiveProps(b)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"])]),_:3}))}}),xu={class:"dp__month_year_row"},Mu=["aria-label","onClick","onKeydown"],Su=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:()=>[]},...xt},emits:["update-month-year","mount","reset-flow","overlay-closed"],setup(t,{expose:e,emit:n}){const r=n,a=t,{defaultedTransitions:i,defaultedAriaLabels:s,defaultedMultiCalendars:l,defaultedFilters:c,defaultedConfig:u,defaultedHighlight:d,propDates:h}=$e(a),{transitionName:p,showTransition:_}=hr(i),{buildMatrix:m}=en(),{handleMonthYearChange:f,isDisabled:b,updateMonthYear:S}=A3(a,r),{showLeftIcon:M,showRightIcon:C}=jr(),x=o.ref(!1),$=o.ref(!1),L=o.ref([null,null,null,null]);o.onMounted(()=>{r("mount")});const k=P=>({get:()=>a[P],set:A=>{const y=P===vt.month?vt.year:vt.month;r("update-month-year",{[P]:A,[y]:a[y]}),P===vt.month?v(!0):w(!0)}}),B=o.computed(k(vt.month)),T=o.computed(k(vt.year)),I=o.computed(()=>P=>({month:a.month,year:a.year,items:P===vt.month?a.months:a.years,instance:a.instance,updateMonthYear:S,toggle:P===vt.month?v:w})),X=o.computed(()=>a.months.find(A=>A.value===a.month)||{text:"",value:0}),V=o.computed(()=>zn(a.months,P=>{const A=a.month===P.value,y=dr(P.value,ts(a.year,h.value.minDate),ns(a.year,h.value.maxDate))||c.value.months.includes(P.value),g=ls(d.value,P.value,a.year);return{active:A,disabled:y,highlighted:g}})),F=o.computed(()=>zn(a.years,P=>{const A=a.year===P.value,y=dr(P.value,jn(h.value.minDate),jn(h.value.maxDate))||c.value.years.includes(P.value),g=Wo(d.value,P.value);return{active:A,disabled:y,highlighted:g}})),G=(P,A)=>{A!==void 0?P.value=A:P.value=!P.value,P.value||r("overlay-closed")},v=(P=!1,A)=>{N(P),G(x,A)},w=(P=!1,A)=>{N(P),G($,A)},N=P=>{P||r("reset-flow")},Z=(P,A)=>{a.arrowNavigation&&(L.value[A]=He(P),m(L.value,"monthYear"))},J=o.computed(()=>{var P,A;return[{type:vt.month,index:1,toggle:v,modelValue:B.value,updateModelValue:y=>B.value=y,text:X.value.text,showSelectionGrid:x.value,items:V.value,ariaLabel:(P=s.value)==null?void 0:P.openMonthsOverlay},{type:vt.year,index:2,toggle:w,modelValue:T.value,updateModelValue:y=>T.value=y,text:Ji(a.year,a.locale),showSelectionGrid:$.value,items:F.value,ariaLabel:(A=s.value)==null?void 0:A.openYearsOverlay}]}),U=o.computed(()=>a.disableYearSelect?[J.value[0]]:a.yearFirst?[...J.value].reverse():J.value);return e({toggleMonthPicker:v,toggleYearPicker:w,handleMonthYearChange:f}),(P,A)=>{var y,g,R;return o.openBlock(),o.createElementBlock("div",xu,[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(S),handleMonthYearChange:o.unref(f),instance:t.instance}))):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.unref(M)(o.unref(l),t.instance)&&!P.vertical?(o.openBlock(),o.createBlock(mr,{key:0,"aria-label":(y=o.unref(s))==null?void 0:y.prevMonth,disabled:o.unref(b)(!1),onActivate:A[0]||(A[0]=z=>o.unref(f)(!1,!0)),onSetRef:A[1]||(A[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(Oo),{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,ue)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:z.type},[o.createElementVNode("button",{ref_for:!0,ref:Ce=>Z(Ce,ue+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:a[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,Mu),o.createVNode(o.Transition,{name:o.unref(p)(z.showSelectionGrid),css:o.unref(_)},{default:o.withCtx(()=>[z.showSelectionGrid?(o.openBlock(),o.createBlock(pr,{key:0,items:z.items,"arrow-navigation":P.arrowNavigation,"hide-navigation":P.hideNavigation,"is-last":P.autoApply&&!o.unref(u).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(Hn),{key:1}))]),_:2},[P.$slots[`${z.type}-overlay-value`]?{name:"item",fn:o.withCtx(({item:Ce})=>[o.renderSlot(P.$slots,`${z.type}-overlay-value`,{text:Ce.text,value:Ce.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(M)(o.unref(l),t.instance)&&P.vertical?(o.openBlock(),o.createBlock(mr,{key:1,"aria-label":(g=o.unref(s))==null?void 0:g.prevMonth,disabled:o.unref(b)(!1),onActivate:A[2]||(A[2]=z=>o.unref(f)(!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(Ao),{key:1}))]),_:3},8,["aria-label","disabled"])):o.createCommentVNode("",!0),o.unref(C)(o.unref(l),t.instance)?(o.openBlock(),o.createBlock(mr,{key:2,ref:"rightIcon",disabled:o.unref(b)(!0),"aria-label":(R=o.unref(s))==null?void 0:R.nextMonth,onActivate:A[3]||(A[3]=z=>o.unref(f)(!0,!0)),onSetRef:A[4]||(A[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(Ro):o.unref(Do)),{key:1}))]),_:3},8,["disabled","aria-label"])):o.createCommentVNode("",!0)],64))])}}}),$u=["aria-label"],Lu={class:"dp__calendar_header",role:"row"},Bu={key:0,class:"dp__calendar_header_item",role:"gridcell"},Tu=["aria-label"],Eu=o.createElementVNode("div",{class:"dp__calendar_header_separator"},null,-1),Pu=["aria-label"],Vu={key:0,role:"gridcell",class:"dp__calendar_item dp__week_num"},Ou={class:"dp__cell_inner"},Du=["id","aria-selected","aria-disabled","aria-label","onClick","onKeydown","onMouseenter","onMouseleave","onMousedown"],Nu=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},...xt},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,a=t,{buildMultiLevelMatrix:i}=en(),{defaultedTransitions:s,defaultedConfig:l,defaultedAriaLabels:c,defaultedMultiCalendars:u,defaultedWeekNumbers:d,defaultedMultiDates:h}=$e(a),p=o.ref(null),_=o.ref({bottom:"",left:"",transform:""}),m=o.ref([]),f=o.ref(null),b=o.ref(!0),S=o.ref(""),M=o.ref({startX:0,endX:0,startY:0,endY:0}),C=o.ref([]),x=o.ref({left:"50%"}),$=o.ref(!1),L=o.computed(()=>a.calendar?a.calendar(a.mappedDates):a.mappedDates),k=o.computed(()=>a.dayNames?Array.isArray(a.dayNames)?a.dayNames:a.dayNames(a.locale,+a.weekStart):r3(a.formatLocale,a.locale,+a.weekStart));o.onMounted(()=>{r("mount",{cmp:"calendar",refs:m}),l.value.noSwipe||f.value&&(f.value.addEventListener("touchstart",J,{passive:!1}),f.value.addEventListener("touchend",U,{passive:!1}),f.value.addEventListener("touchmove",P,{passive:!1})),a.monthChangeOnScroll&&f.value&&f.value.addEventListener("wheel",g,{passive:!1})});const B=H=>H?a.vertical?"vNext":"next":a.vertical?"vPrevious":"previous",T=(H,ae)=>{if(a.transitions){const E=at(zt(Y(),a.month,a.year));S.value=Ne(at(zt(Y(),H,ae)),E)?s.value[B(!0)]:s.value[B(!1)],b.value=!1,o.nextTick(()=>{b.value=!0})}},I=o.computed(()=>({[a.calendarClassName]:!!a.calendarClassName})),X=o.computed(()=>H=>{const ae=a3(H);return{dp__marker_dot:ae.type==="dot",dp__marker_line:ae.type==="line"}}),V=o.computed(()=>H=>pe(H,p.value)),F=o.computed(()=>({dp__calendar:!0,dp__calendar_next:u.value.count>0&&a.instance!==0})),G=o.computed(()=>H=>a.hideOffsetDates?H.current:!0),v=H=>St(H,"yyyy-MM-dd"),w=async(H,ae,E)=>{const q=He(m.value[ae][E]);if(q){const{width:oe,height:le}=q.getBoundingClientRect();p.value=H.value;let te={left:`${oe/2}px`},Q=-50;if(await o.nextTick(),C.value[0]){const{left:Xe,width:Ze}=C.value[0].getBoundingClientRect();Xe<0&&(te={left:"0"},Q=0,x.value.left=`${oe/2}px`),window.innerWidth<Xe+Ze&&(te={right:"0"},Q=0,x.value.left=`${Ze-oe/2}px`)}_.value={bottom:`${le}px`,...te,transform:`translateX(${Q}%)`},r("tooltip-open",H.marker)}},N=async(H,ae,E)=>{var q,oe;if($.value&&h.value.enabled&&h.value.dragSelect)return r("select-date",H);r("set-hover-date",H),(oe=(q=H.marker)==null?void 0:q.tooltip)!=null&&oe.length&&await w(H,ae,E)},Z=H=>{p.value&&(p.value=null,_.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),r("tooltip-close",H.marker))},J=H=>{M.value.startX=H.changedTouches[0].screenX,M.value.startY=H.changedTouches[0].screenY},U=H=>{M.value.endX=H.changedTouches[0].screenX,M.value.endY=H.changedTouches[0].screenY,A()},P=H=>{a.vertical&&!a.inline&&H.preventDefault()},A=()=>{const H=a.vertical?"Y":"X";Math.abs(M.value[`start${H}`]-M.value[`end${H}`])>10&&r("handle-swipe",M.value[`start${H}`]>M.value[`end${H}`]?"right":"left")},y=(H,ae,E)=>{H&&(Array.isArray(m.value[ae])?m.value[ae][E]=H:m.value[ae]=[H]),a.arrowNavigation&&i(m.value,"calendar")},g=H=>{a.monthChangeOnScroll&&(H.preventDefault(),r("handle-scroll",H))},R=H=>d.value.type==="local"?So(H.value,{weekStartsOn:+a.weekStart}):d.value.type==="iso"?xo(H.value):typeof d.value.type=="function"?d.value.type(H.value):"",z=H=>{const ae=H[0];return d.value.hideOnOffsetDates?H.some(E=>E.current)?R(ae):"":R(ae)},ue=(H,ae)=>{h.value.enabled||(Xt(H,l.value),r("select-date",ae))},Ce=H=>{Xt(H,l.value)},O=H=>{h.value.enabled&&h.value.dragSelect?($.value=!0,r("select-date",H)):h.value.enabled&&r("select-date",H)};return e({triggerTransition:T}),(H,ae)=>{var E;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(F.value)},[o.createElementVNode("div",{ref_key:"calendarWrapRef",ref:f,role:"grid",class:o.normalizeClass(I.value),"aria-label":(E=o.unref(c))==null?void 0:E.calendarWrap},[o.createElementVNode("div",Lu,[H.weekNumbers?(o.openBlock(),o.createElementBlock("div",Bu,o.toDisplayString(H.weekNumName),1)):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(k.value,(q,oe)=>{var le,te;return o.openBlock(),o.createElementBlock("div",{key:oe,class:"dp__calendar_header_item",role:"gridcell","aria-label":(te=(le=o.unref(c))==null?void 0:le.weekDay)==null?void 0:te.call(le,oe)},[H.$slots["calendar-header"]?o.renderSlot(H.$slots,"calendar-header",{key:0,day:q,index:oe}):o.createCommentVNode("",!0),H.$slots["calendar-header"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(q),1)],64))],8,Tu)}),128))]),Eu,o.createVNode(o.Transition,{name:S.value,css:!!H.transitions},{default:o.withCtx(()=>{var q;return[b.value?(o.openBlock(),o.createElementBlock("div",{key:0,class:"dp__calendar",role:"rowgroup","aria-label":((q=o.unref(c))==null?void 0:q.calendarDays)||void 0,onMouseleave:ae[1]||(ae[1]=oe=>$.value=!1)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(L.value,(oe,le)=>(o.openBlock(),o.createElementBlock("div",{key:le,class:"dp__calendar_row",role:"row"},[H.weekNumbers?(o.openBlock(),o.createElementBlock("div",Vu,[o.createElementVNode("div",Ou,o.toDisplayString(z(oe.days)),1)])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(oe.days,(te,Q)=>{var Xe,Ze,Wt;return o.openBlock(),o.createElementBlock("div",{id:v(te.value),ref_for:!0,ref:ze=>y(ze,le,Q),key:Q+le,role:"gridcell",class:"dp__calendar_item","aria-selected":(te.classData.dp__active_date||te.classData.dp__range_start||te.classData.dp__range_start)??void 0,"aria-disabled":te.classData.dp__cell_disabled||void 0,"aria-label":(Ze=(Xe=o.unref(c))==null?void 0:Xe.day)==null?void 0:Ze.call(Xe,te),tabindex:"0",onClick:o.withModifiers(ze=>ue(ze,te),["prevent"]),onKeydown:[o.withKeys(ze=>H.$emit("select-date",te),["enter"]),o.withKeys(ze=>H.$emit("handle-space",te),["space"])],onMouseenter:ze=>N(te,le,Q),onMouseleave:ze=>Z(te),onMousedown:ze=>O(te),onMouseup:ae[0]||(ae[0]=ze=>$.value=!1)},[o.createElementVNode("div",{class:o.normalizeClass(["dp__cell_inner",te.classData])},[H.$slots.day&&G.value(te)?o.renderSlot(H.$slots,"day",{key:0,day:+te.text,date:te.value}):o.createCommentVNode("",!0),H.$slots.day?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(te.text),1)],64)),te.marker&&G.value(te)?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[H.$slots.marker?o.renderSlot(H.$slots,"marker",{key:0,marker:te.marker,day:+te.text,date:te.value}):(o.openBlock(),o.createElementBlock("div",{key:1,class:o.normalizeClass(X.value(te.marker)),style:o.normalizeStyle(te.marker.color?{backgroundColor:te.marker.color}:{})},null,6))],64)):o.createCommentVNode("",!0),V.value(te.value)?(o.openBlock(),o.createElementBlock("div",{key:3,ref_for:!0,ref_key:"activeTooltip",ref:C,class:"dp__marker_tooltip",style:o.normalizeStyle(_.value)},[(Wt=te.marker)!=null&&Wt.tooltip?(o.openBlock(),o.createElementBlock("div",{key:0,class:"dp__tooltip_content",onClick:Ce},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(te.marker.tooltip,(ze,Vn)=>(o.openBlock(),o.createElementBlock("div",{key:Vn,class:"dp__tooltip_text"},[H.$slots["marker-tooltip"]?o.renderSlot(H.$slots,"marker-tooltip",{key:0,tooltip:ze,day:te.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(ze.color?{backgroundColor:ze.color}:{})},null,4),o.createElementVNode("div",null,o.toDisplayString(ze.text),1)],64))]))),128)),o.createElementVNode("div",{class:"dp__arrow_bottom_tp",style:o.normalizeStyle(x.value)},null,4)])):o.createCommentVNode("",!0)],4)):o.createCommentVNode("",!0)],2)],40,Du)}),128))]))),128))],40,Pu)):o.createCommentVNode("",!0)]}),_:3},8,["name","css"])],10,$u)],2)}}}),ws=t=>Array.isArray(t),Au=(t,e,n,r)=>{const a=o.ref([]),i=o.ref(new Date),{modelValue:s,calendars:l,time:c}=fr(t,e),{defaultedMultiCalendars:u,defaultedStartTime:d,defaultedRange:h,defaultedTz:p,propDates:_,defaultedMultiDates:m}=$e(t),{validateMonthYearInRange:f,isDisabled:b,isDateRangeAllowed:S,checkMinMaxRange:M}=nn(t),{updateTimeValues:C,getSetDateTime:x,setTime:$,assignStartTime:L,validateTime:k,disabledTimesConfig:B}=ys(t,c,s,r),T=o.computed(()=>D=>l.value[D]?l.value[D].month:0),I=o.computed(()=>D=>l.value[D]?l.value[D].year:0),X=(D,K,re)=>{var de,W;l.value[D]||(l.value[D]={month:0,year:0}),l.value[D].month=Xi(K)?(de=l.value[D])==null?void 0:de.month:K,l.value[D].year=Xi(re)?(W=l.value[D])==null?void 0:W.year:re},V=()=>{t.autoApply&&e("select-date")};o.watch(s,(D,K)=>{JSON.stringify(D)!==JSON.stringify(K)&&v()},{deep:!0}),o.onMounted(()=>{t.shadow||(s.value||(z(),d.value&&L(d.value)),v(!0),t.focusStartDate&&t.startDate&&z())});const F=o.computed(()=>{var D;return(D=t.flow)!=null&&D.length&&!t.partialFlow?t.flowStep===t.flow.length:!0}),G=()=>{t.autoApply&&F.value&&e("auto-apply")},v=(D=!1)=>{if(s.value)return Array.isArray(s.value)?(a.value=s.value,A(D)):Z(s.value,D);if(u.value.count&&D&&!t.startDate)return N(Y(),D)},w=()=>Array.isArray(s.value)&&h.value.enabled?he(s.value[0])===he(s.value[1]??s.value[0]):!1,N=(D,K=!1)=>{if((!u.value.count||!u.value.static||K)&&X(0,he(D),ce(D)),u.value.count&&(!u.value.solo||!s.value||w()))for(let re=1;re<u.value.count;re++){const de=ke(Y(),{month:T.value(re-1),year:I.value(re-1)}),W=yi(de,{months:1});l.value[re]={month:he(W),year:ce(W)}}},Z=(D,K)=>{N(D),$("hours",bt(D)),$("minutes",$t(D)),$("seconds",An(D)),u.value.count&&K&&R()},J=D=>{if(u.value.count){if(u.value.solo)return 0;const K=he(D[0]),re=he(D[1]);return Math.abs(re-K)<u.value.count?0:1}return 1},U=(D,K)=>{D[1]&&h.value.showLastInRange?N(D[J(D)],K):N(D[0],K);const re=(de,W)=>[de(D[0]),D[1]?de(D[1]):c[W][1]];$("hours",re(bt,"hours")),$("minutes",re($t,"minutes")),$("seconds",re(An,"seconds"))},P=(D,K)=>{if((h.value.enabled||t.weekPicker)&&!m.value.enabled)return U(D,K);if(m.value.enabled&&K){const re=D[D.length-1];return Z(re,K)}},A=D=>{const K=s.value;P(K,D),u.value.count&&u.value.solo&&R()},y=(D,K)=>{const re=ke(Y(),{month:T.value(K),year:I.value(K)}),de=D<0?Ct(re,1):Fn(re,1);f(he(de),ce(de),D<0,t.preventMinMaxNavigation)&&(X(K,he(de),ce(de)),e("update-month-year",{instance:K,month:he(de),year:ce(de)}),u.value.count&&!u.value.solo&&g(K),n())},g=D=>{for(let K=D-1;K>=0;K--){const re=Fn(ke(Y(),{month:T.value(K+1),year:I.value(K+1)}),1);X(K,he(re),ce(re))}for(let K=D+1;K<=u.value.count-1;K++){const re=Ct(ke(Y(),{month:T.value(K-1),year:I.value(K-1)}),1);X(K,he(re),ce(re))}},R=()=>{if(Array.isArray(s.value)&&s.value.length===2){const D=Y(Y(s.value[1]?s.value[1]:Ct(s.value[0],1))),[K,re]=[he(s.value[0]),ce(s.value[0])],[de,W]=[he(s.value[1]),ce(s.value[1])];(K!==de||K===de&&re!==W)&&u.value.solo&&X(1,he(D),ce(D))}else s.value&&!Array.isArray(s.value)&&(X(0,he(s.value),ce(s.value)),N(Y()))},z=()=>{t.startDate&&(X(0,he(Y(t.startDate)),ce(Y(t.startDate))),u.value.count&&g(0))},ue=(D,K)=>{if(t.monthChangeOnScroll){const re=new Date().getTime()-i.value.getTime(),de=Math.abs(D.deltaY);let W=500;de>1&&(W=100),de>100&&(W=0),re>W&&(i.value=new Date,y(t.monthChangeOnScroll!=="inverse"?-D.deltaY:D.deltaY,K))}},Ce=(D,K,re=!1)=>{t.monthChangeOnArrows&&t.vertical===re&&O(D,K)},O=(D,K)=>{y(D==="right"?-1:1,K)},H=D=>{if(_.value.markers)return Rr(D.value,_.value.markers)},ae=(D,K)=>{switch(t.sixWeeks===!0?"append":t.sixWeeks){case"prepend":return[!0,!1];case"center":return[D==0,!0];case"fair":return[D==0||K>D,!0];case"append":return[!1,!1];default:return[!1,!1]}},E=(D,K,re,de)=>{if(t.sixWeeks&&D.length<6){const W=6-D.length,ie=(K.getDay()+7-de)%7,se=6-(re.getDay()+7-de)%7,[Gt,Ft]=ae(ie,se);for(let On=1;On<=W;On++)if(Ft?!!(On%2)==Gt:Gt){const pn=D[0].days[0],pi=q(wt(pn.value,-7),he(K));D.unshift({days:pi})}else{const pn=D[D.length-1],pi=pn.days[pn.days.length-1],q8=q(wt(pi.value,1),he(K));D.push({days:q8})}}return D},q=(D,K)=>{const re=Y(D),de=[];for(let W=0;W<7;W++){const ie=wt(re,W),se=he(ie)!==K;de.push({text:t.hideOffsetDates&&se?"":ie.getDate(),value:ie,current:!se,classData:{}})}return de},oe=(D,K)=>{const re=[],de=new Date(K,D),W=new Date(K,D+1,0),ie=t.weekStart,se=Mt(de,{weekStartsOn:ie}),Gt=Ft=>{const On=q(Ft,D);if(re.push({days:On}),!re[re.length-1].days.some(pn=>pe(at(pn.value),at(W)))){const pn=wt(Ft,7);Gt(pn)}};return Gt(se),E(re,de,W,ie)},le=D=>{const K=Qt(Y(D.value),c.hours,c.minutes,Vn());e("date-update",K),m.value.enabled?ta(K,s,m.value.limit):s.value=K,r(),o.nextTick().then(()=>{G()})},te=D=>h.value.noDisabledRange?rs(a.value[0],D).some(K=>b(K)):!1,Q=()=>{a.value=s.value?s.value.slice():[],a.value.length===2&&!(h.value.fixedStart||h.value.fixedEnd)&&(a.value=[])},Xe=(D,K)=>{const re=[Y(D.value),wt(Y(D.value),+h.value.autoRange)];S(re)?(K&&Ze(D.value),a.value=re):e("invalid-date",D.value)},Ze=D=>{const K=he(Y(D)),re=ce(Y(D));if(X(0,K,re),u.value.count>0)for(let de=1;de<u.value.count;de++){const W=f3(ke(Y(D),{year:T.value(de-1),month:I.value(de-1)}));X(de,W.month,W.year)}},Wt=D=>{if(te(D.value)||!M(D.value,s.value,h.value.fixedStart?0:1))return e("invalid-date",D.value);a.value=ms(Y(D.value),s,e,h)},ze=(D,K)=>{if(Q(),h.value.autoRange)return Xe(D,K);if(h.value.fixedStart||h.value.fixedEnd)return Wt(D);a.value[0]?M(Y(D.value),s.value)&&!te(D.value)?Ee(Y(D.value),Y(a.value[0]))?(a.value.unshift(Y(D.value)),e("range-end",a.value[0])):(a.value[1]=Y(D.value),e("range-end",a.value[1])):(t.autoApply&&e("auto-apply-invalid",D.value),e("invalid-date",D.value)):(a.value[0]=Y(D.value),e("range-start",a.value[0]))},Vn=(D=!0)=>t.enableSeconds?Array.isArray(c.seconds)?D?c.seconds[0]:c.seconds[1]:c.seconds:0,Or=D=>{a.value[D]=Qt(a.value[D],c.hours[D],c.minutes[D],Vn(D!==1))},Dr=()=>{var D,K;a.value[0]&&a.value[1]&&+((D=a.value)==null?void 0:D[0])>+((K=a.value)==null?void 0:K[1])&&(a.value.reverse(),e("range-start",a.value[0]),e("range-end",a.value[1]))},yt=()=>{a.value.length&&(a.value[0]&&!a.value[1]?Or(0):(Or(0),Or(1),r()),Dr(),s.value=a.value.slice(),Zr(a.value,e,t.autoApply,t.modelAuto))},ci=(D,K=!1)=>{if(b(D.value)||!D.current&&t.hideOffsetDates)return e("invalid-date",D.value);if(!h.value.enabled)return le(D);ws(c.hours)&&ws(c.minutes)&&!m.value.enabled&&(ze(D,K),yt())},di=(D,K)=>{var re;X(D,K.month,K.year),u.value.count&&!u.value.solo&&g(D),e("update-month-year",{instance:D,month:K.month,year:K.year}),n(u.value.solo?D:void 0);const de=(re=t.flow)!=null&&re.length?t.flow[t.flowStep]:void 0;!K.fromNav&&(de===Et.month||de===Et.year)&&r()},wo=(D,K)=>{ps({value:D,modelValue:s,range:h.value.enabled,timezone:K?void 0:p.value.timezone}),V(),t.multiCalendars&&o.nextTick().then(()=>v(!0))},ui=()=>{h.value.enabled?s.value&&Array.isArray(s.value)&&s.value[0]?s.value=Ee(Y(),s.value[0])?[Y(),s.value[0]]:[s.value[0],Y()]:s.value=[Y()]:s.value=Y(),V()},hi=()=>{if(Array.isArray(s.value))if(m.value.enabled){const D=fi();s.value[s.value.length-1]=x(D)}else s.value=s.value.map((D,K)=>D&&x(D,K));else s.value=x(s.value);e("time-update")},fi=()=>Array.isArray(s.value)&&s.value.length?s.value[s.value.length-1]:null;return{calendars:l,modelValue:s,month:T,year:I,time:c,disabledTimesConfig:B,validateTime:k,getCalendarDays:oe,getMarker:H,handleScroll:ue,handleSwipe:O,handleArrow:Ce,selectDate:ci,updateMonthYear:di,presetDate:wo,selectCurrentDate:ui,updateTime:(D,K=!0,re=!1)=>{C(D,K,re,hi)}}},Ru={key:0},Fu=o.defineComponent({__name:"DatePicker",props:{...xt},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,a=t,{calendars:i,month:s,year:l,modelValue:c,time:u,disabledTimesConfig:d,validateTime:h,getCalendarDays:p,getMarker:_,handleArrow:m,handleScroll:f,handleSwipe:b,selectDate:S,updateMonthYear:M,presetDate:C,selectCurrentDate:x,updateTime:$}=Au(a,r,J,U),L=o.useSlots(),{setHoverDate:k,getDayClassData:B,clearHoverDate:T}=z3(c,a),{defaultedMultiCalendars:I}=$e(a),X=o.ref([]),V=o.ref([]),F=o.ref(null),G=it(L,"calendar"),v=it(L,"monthYear"),w=it(L,"timePicker"),N=A=>{a.shadow||r("mount",A)};o.watch(i,()=>{a.shadow||setTimeout(()=>{r("recalculate-position")},0)},{deep:!0});const Z=o.computed(()=>A=>p(s.value(A),l.value(A)).map(y=>({...y,days:y.days.map(g=>(g.marker=_(g),g.classData=B(g),g))})));function J(A){var y;A||A===0?(y=V.value[A])==null||y.triggerTransition(s.value(A),l.value(A)):V.value.forEach((g,R)=>g.triggerTransition(s.value(R),l.value(R)))}function U(){r("update-flow-step")}const P=(A,y=!1)=>{S(A,y),a.spaceConfirm&&r("select-date")};return e({clearHoverDate:T,presetDate:C,selectCurrentDate:x,toggleMonthPicker:(A,y,g=0)=>{var R;(R=X.value[g])==null||R.toggleMonthPicker(A,y)},toggleYearPicker:(A,y,g=0)=>{var R;(R=X.value[g])==null||R.toggleYearPicker(A,y)},toggleTimePicker:(A,y,g)=>{var R;(R=F.value)==null||R.toggleTimePicker(A,y,g)},handleArrow:m,updateMonthYear:M,getSidebarProps:()=>({modelValue:c,month:s,year:l,time:u,updateTime:$,updateMonthYear:M,selectDate:S,presetDate:C})}),(A,y)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createVNode(Yr,{"multi-calendars":o.unref(I).count,collapse:A.collapse},{default:o.withCtx(({instance:g,index:R})=>[A.disableMonthYearSelect?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(Su,o.mergeProps({key:0,ref:z=>{z&&(X.value[R]=z)},months:o.unref(Wi)(A.formatLocale,A.locale,A.monthNameFormat),years:o.unref(Fo)(A.yearRange,A.locale,A.reverseYears),month:o.unref(s)(g),year:o.unref(l)(g),instance:g},A.$props,{onMount:y[0]||(y[0]=z=>N(o.unref(bn).header)),onResetFlow:y[1]||(y[1]=z=>A.$emit("reset-flow")),onUpdateMonthYear:z=>o.unref(M)(g,z),onOverlayClosed:y[2]||(y[2]=z=>A.$emit("focus-menu"))}),o.createSlots({_:2},[o.renderList(o.unref(v),(z,ue)=>({name:z,fn:o.withCtx(Ce=>[o.renderSlot(A.$slots,z,o.normalizeProps(o.guardReactiveProps(Ce)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),o.createVNode(Nu,o.mergeProps({ref:z=>{z&&(V.value[R]=z)},"mapped-dates":Z.value(g),month:o.unref(s)(g),year:o.unref(l)(g),instance:g},A.$props,{onSelectDate:z=>o.unref(S)(z,g!==1),onHandleSpace:z=>P(z,g!==1),onSetHoverDate:y[3]||(y[3]=z=>o.unref(k)(z)),onHandleScroll:z=>o.unref(f)(z,g),onHandleSwipe:z=>o.unref(b)(z,g),onMount:y[4]||(y[4]=z=>N(o.unref(bn).calendar)),onResetFlow:y[5]||(y[5]=z=>A.$emit("reset-flow")),onTooltipOpen:y[6]||(y[6]=z=>A.$emit("tooltip-open",z)),onTooltipClose:y[7]||(y[7]=z=>A.$emit("tooltip-close",z))}),o.createSlots({_:2},[o.renderList(o.unref(G),(z,ue)=>({name:z,fn:o.withCtx(Ce=>[o.renderSlot(A.$slots,z,o.normalizeProps(o.guardReactiveProps({...Ce})))])}))]),1040,["mapped-dates","month","year","instance","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])]),_:3},8,["multi-calendars","collapse"]),A.enableTimePicker?(o.openBlock(),o.createElementBlock("div",Ru,[A.$slots["time-picker"]?o.renderSlot(A.$slots,"time-picker",o.normalizeProps(o.mergeProps({key:0},{time:o.unref(u),updateTime:o.unref($)}))):(o.openBlock(),o.createBlock(gs,o.mergeProps({key:1,ref_key:"timePickerRef",ref:F},A.$props,{hours:o.unref(u).hours,minutes:o.unref(u).minutes,seconds:o.unref(u).seconds,"internal-model-value":A.internalModelValue,"disabled-times-config":o.unref(d),"validate-time":o.unref(h),onMount:y[8]||(y[8]=g=>N(o.unref(bn).timePicker)),"onUpdate:hours":y[9]||(y[9]=g=>o.unref($)(g)),"onUpdate:minutes":y[10]||(y[10]=g=>o.unref($)(g,!1)),"onUpdate:seconds":y[11]||(y[11]=g=>o.unref($)(g,!1,!0)),onResetFlow:y[12]||(y[12]=g=>A.$emit("reset-flow")),onOverlayClosed:y[13]||(y[13]=g=>A.$emit("time-picker-close")),onOverlayOpened:y[14]||(y[14]=g=>A.$emit("time-picker-open",g)),onAmPmChange:y[15]||(y[15]=g=>A.$emit("am-pm-change",g))}),o.createSlots({_:2},[o.renderList(o.unref(w),(g,R)=>({name:g,fn:o.withCtx(z=>[o.renderSlot(A.$slots,g,o.normalizeProps(o.guardReactiveProps(z)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):o.createCommentVNode("",!0)],64))}}),Hu=(t,e)=>{const n=o.ref(),{defaultedMultiCalendars:r,defaultedConfig:a,defaultedHighlight:i,defaultedRange:s,propDates:l,defaultedFilters:c,defaultedMultiDates:u}=$e(t),{modelValue:d,year:h,month:p,calendars:_}=fr(t,e),{isDisabled:m}=nn(t),{selectYear:f,groupedYears:b,showYearPicker:S,isDisabled:M,toggleYearPicker:C,handleYearSelect:x,handleYear:$}=_s({modelValue:d,multiCalendars:r,highlight:i,calendars:_,propDates:l,month:p,year:h,filters:c,props:t,emit:e}),L=(v,w)=>[v,w].map(N=>St(N,"MMMM",{locale:t.formatLocale})).join("-"),k=o.computed(()=>v=>d.value?Array.isArray(d.value)?d.value.some(w=>zi(v,w)):zi(d.value,v):!1),B=v=>{if(s.value.enabled){if(Array.isArray(d.value)){const w=pe(v,d.value[0])||pe(v,d.value[1]);return Fr(d.value,n.value,v)&&!w}return!1}return!1},T=(v,w)=>v.quarter===Mi(w)&&v.year===ce(w),I=v=>typeof i.value=="function"?i.value({quarter:Mi(v),year:ce(v)}):!!i.value.quarters.find(w=>T(w,v)),X=o.computed(()=>v=>{const w=ke(new Date,{year:h.value(v)});return d2({start:$i(w),end:u2(w)}).map(N=>{const Z=gn(N),J=Li(N),U=m(N),P=B(Z),A=I(Z);return{text:L(Z,J),value:Z,active:k.value(Z),highlighted:A,disabled:U,isBetween:P}})}),V=v=>{ta(v,d,u.value.limit),e("auto-apply",!0)},F=v=>{d.value=na(d,v,e),Zr(d.value,e,t.autoApply,t.modelAuto)},G=v=>{d.value=v,e("auto-apply")};return{defaultedConfig:a,defaultedMultiCalendars:r,groupedYears:b,year:h,isDisabled:M,quarters:X,showYearPicker:S,modelValue:d,setHoverDate:v=>{n.value=v},selectYear:f,selectQuarter:(v,w,N)=>{if(!N)return _.value[w].month=he(Li(v)),u.value.enabled?V(v):s.value.enabled?F(v):G(v)},toggleYearPicker:C,handleYearSelect:x,handleYear:$}},zu={class:"dp--quarter-items"},ju=["disabled","onClick","onMouseover"],Iu=o.defineComponent({compatConfig:{MODE:3},__name:"QuarterPicker",props:{...xt},emits:["update:internal-model-value","reset-flow","overlay-closed","auto-apply","range-start","range-end"],setup(t,{expose:e,emit:n}){const r=n,a=t,i=o.useSlots(),s=it(i,"yearMode"),{defaultedMultiCalendars:l,defaultedConfig:c,groupedYears:u,year:d,isDisabled:h,quarters:p,modelValue:_,showYearPicker:m,setHoverDate:f,selectQuarter:b,toggleYearPicker:S,handleYearSelect:M,handleYear:C}=Hu(a,r);return e({getSidebarProps:()=>({modelValue:_,year:d,selectQuarter:b,handleYearSelect:M,handleYear:C})}),(x,$)=>(o.openBlock(),o.createBlock(Yr,{"multi-calendars":o.unref(l).count,collapse:x.collapse,stretch:""},{default:o.withCtx(({instance:L})=>[o.createElementVNode("div",{class:"dp-quarter-picker-wrap",style:o.normalizeStyle({minHeight:`${o.unref(c).modeHeight}px`})},[o.createElementVNode("div",null,[o.createVNode(fs,o.mergeProps(x.$props,{items:o.unref(u)(L),instance:L,"show-year-picker":o.unref(m)[L],year:o.unref(d)(L),"is-disabled":k=>o.unref(h)(L,k),onHandleYear:k=>o.unref(C)(L,k),onYearSelect:k=>o.unref(M)(k,L),onToggleYearPicker:k=>o.unref(S)(L,k==null?void 0:k.flow,k==null?void 0:k.show)}),o.createSlots({_:2},[o.renderList(o.unref(s),(k,B)=>({name:k,fn:o.withCtx(T=>[o.renderSlot(x.$slots,k,o.normalizeProps(o.guardReactiveProps(T)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),o.createElementVNode("div",zu,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(p)(L),(k,B)=>(o.openBlock(),o.createElementBlock("div",{key:B},[o.createElementVNode("button",{type:"button",class:o.normalizeClass(["dp--qr-btn",{"dp--qr-btn-active":k.active,"dp--qr-btn-between":k.isBetween,"dp--qr-btn-disabled":k.disabled,"dp--highlighted":k.highlighted}]),disabled:k.disabled,onClick:T=>o.unref(b)(k.value,L,k.disabled),onMouseover:T=>o.unref(f)(k.value)},[x.$slots.quarter?o.renderSlot(x.$slots,"quarter",{key:0,value:k.value,text:k.text}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(k.text),1)],64))],42,ju)]))),128))])],4)]),_:3},8,["multi-calendars","collapse"]))}}),Yu=["id","aria-label"],Zu={key:0,class:"dp--menu-load-container"},qu=o.createElementVNode("span",{class:"dp--menu-loader"},null,-1),Uu=[qu],Wu={key:0,class:"dp__sidebar_left"},Gu=["onClick","onKeydown"],Ku={key:2,class:"dp__sidebar_right"},Xu={key:3,class:"dp__action_extra"},Cs=o.defineComponent({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...Ir,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,a=t,i=o.ref(null),s=o.computed(()=>{const{openOnTop:E,...q}=a;return{...q,flowStep:B.value,collapse:a.collapse,noOverlayFocus:a.noOverlayFocus,menuWrapRef:i.value}}),{setMenuFocused:l,setShiftKey:c,control:u}=cs(),d=o.useSlots(),{defaultedTextInput:h,defaultedInline:p,defaultedConfig:_}=$e(a),m=o.ref(null),f=o.ref(0),b=o.ref(null),S=o.ref(!1),M=o.ref(null);o.onMounted(()=>{if(!a.shadow){S.value=!0,C(),window.addEventListener("resize",C);const E=He(i);if(E&&!h.value.enabled&&!p.value.enabled&&(l(!0),F()),E){const q=oe=>{_.value.allowPreventDefault&&oe.preventDefault(),Xt(oe,_.value,!0)};E.addEventListener("pointerdown",q),E.addEventListener("mousedown",q)}}}),o.onUnmounted(()=>{window.removeEventListener("resize",C)});const C=()=>{const E=He(b);E&&(f.value=E.getBoundingClientRect().width)},{arrowRight:x,arrowLeft:$,arrowDown:L,arrowUp:k}=en(),{flowStep:B,updateFlowStep:T,childMount:I,resetFlow:X}=j3(a,r,M),V=o.computed(()=>a.monthPicker?ou:a.yearPicker?iu:a.timePicker?vu:a.quarterPicker?Iu:Fu),F=()=>{const E=He(i);E&&E.focus({preventScroll:!0})},G=o.computed(()=>{var E;return((E=M.value)==null?void 0:E.getSidebarProps())||{}}),v=()=>{a.openOnTop&&r("recalculate-position")},w=it(d,"action"),N=o.computed(()=>a.monthPicker||a.yearPicker?it(d,"monthYear"):a.timePicker?it(d,"timePicker"):it(d,"shared")),Z=o.computed(()=>a.openOnTop?"dp__arrow_bottom":"dp__arrow_top"),J=o.computed(()=>({dp__menu_disabled:a.disabled,dp__menu_readonly:a.readonly,"dp-menu-loading":a.loading})),U=o.computed(()=>({dp__menu:!0,dp__menu_index:!p.value.enabled,dp__relative:p.value.enabled,[a.menuClassName]:!!a.menuClassName})),P=E=>{Xt(E,_.value,!0)},A=()=>{a.escClose&&r("close-picker")},y=E=>{if(a.arrowNavigation){if(E==="up")return k();if(E==="down")return L();if(E==="left")return $();if(E==="right")return x()}else E==="left"||E==="up"?Ce("handleArrow","left",0,E==="up"):Ce("handleArrow","right",0,E==="down")},g=E=>{c(E.shiftKey),!a.disableMonthYearSelect&&E.code==="Tab"&&E.target.classList.contains("dp__menu")&&u.value.shiftKeyInMenu&&(E.preventDefault(),Xt(E,_.value,!0),r("close-picker"))},R=()=>{F(),r("time-picker-close")},z=E=>{var q,oe,le;(q=M.value)==null||q.toggleTimePicker(!1,!1),(oe=M.value)==null||oe.toggleMonthPicker(!1,!1,E),(le=M.value)==null||le.toggleYearPicker(!1,!1,E)},ue=(E,q=0)=>{var oe,le,te;return E==="month"?(oe=M.value)==null?void 0:oe.toggleMonthPicker(!1,!0,q):E==="year"?(le=M.value)==null?void 0:le.toggleYearPicker(!1,!0,q):E==="time"?(te=M.value)==null?void 0:te.toggleTimePicker(!0,!1):z(q)},Ce=(E,...q)=>{var oe,le;(oe=M.value)!=null&&oe[E]&&((le=M.value)==null||le[E](...q))},O=()=>{Ce("selectCurrentDate")},H=(E,q)=>{Ce("presetDate",E,q)},ae=()=>{Ce("clearHoverDate")};return e({updateMonthYear:(E,q)=>{Ce("updateMonthYear",E,q)},switchView:ue}),(E,q)=>{var oe,le,te;return o.openBlock(),o.createElementBlock("div",{id:E.uid?`dp-menu-${E.uid}`:void 0,ref_key:"dpMenuRef",ref:i,tabindex:"0",role:"dialog","aria-label":(oe=E.ariaLabels)==null?void 0:oe.menu,class:o.normalizeClass(U.value),onMouseleave:ae,onClick:P,onKeydown:[o.withKeys(A,["esc"]),q[18]||(q[18]=o.withKeys(o.withModifiers(Q=>y("left"),["prevent"]),["left"])),q[19]||(q[19]=o.withKeys(o.withModifiers(Q=>y("up"),["prevent"]),["up"])),q[20]||(q[20]=o.withKeys(o.withModifiers(Q=>y("down"),["prevent"]),["down"])),q[21]||(q[21]=o.withKeys(o.withModifiers(Q=>y("right"),["prevent"]),["right"])),g]},[(E.disabled||E.readonly)&&o.unref(p).enabled||E.loading?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(J.value)},[E.loading?(o.openBlock(),o.createElementBlock("div",Zu,Uu)):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0),!o.unref(p).enabled&&!E.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:b,class:o.normalizeClass({dp__menu_content_wrapper:((le=E.presetDates)==null?void 0:le.length)||!!E.$slots["left-sidebar"]||!!E.$slots["right-sidebar"],"dp--menu-content-wrapper-collapsed":t.collapse&&((te=E.presetDates)==null?void 0:te.length)||!!E.$slots["left-sidebar"]||!!E.$slots["right-sidebar"]}),style:o.normalizeStyle({"--dp-menu-width":`${f.value}px`})},[E.$slots["left-sidebar"]?(o.openBlock(),o.createElementBlock("div",Wu,[o.renderSlot(E.$slots,"left-sidebar",o.normalizeProps(o.guardReactiveProps(G.value)))])):o.createCommentVNode("",!0),E.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(E.presetDates,(Q,Xe)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:Xe},[Q.slot?o.renderSlot(E.$slots,Q.slot,{key:0,presetDate:H,label:Q.label,value:Q.value}):(o.openBlock(),o.createElementBlock("button",{key:1,type:"button",style:o.normalizeStyle(Q.style||{}),class:o.normalizeClass(["dp__btn dp--preset-range",{"dp--preset-range-collapsed":t.collapse}]),onClick:o.withModifiers(Ze=>H(Q.value,Q.noTz),["prevent"]),onKeydown:[o.withKeys(o.withModifiers(Ze=>H(Q.value,Q.noTz),["prevent"]),["enter"]),o.withKeys(o.withModifiers(Ze=>H(Q.value,Q.noTz),["prevent"]),["space"])]},o.toDisplayString(Q.label),47,Gu))],64))),128))],2)):o.createCommentVNode("",!0),o.createElementVNode("div",{ref_key:"calendarWrapperRef",ref:m,class:"dp__instance_calendar",role:"document"},[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(V.value),o.mergeProps({ref_key:"dynCmpRef",ref:M},s.value,{"flow-step":o.unref(B),onMount:o.unref(I),onUpdateFlowStep:o.unref(T),onResetFlow:o.unref(X),onFocusMenu:F,onSelectDate:q[0]||(q[0]=Q=>E.$emit("select-date")),onDateUpdate:q[1]||(q[1]=Q=>E.$emit("date-update",Q)),onTooltipOpen:q[2]||(q[2]=Q=>E.$emit("tooltip-open",Q)),onTooltipClose:q[3]||(q[3]=Q=>E.$emit("tooltip-close",Q)),onAutoApply:q[4]||(q[4]=Q=>E.$emit("auto-apply",Q)),onRangeStart:q[5]||(q[5]=Q=>E.$emit("range-start",Q)),onRangeEnd:q[6]||(q[6]=Q=>E.$emit("range-end",Q)),onInvalidFixedRange:q[7]||(q[7]=Q=>E.$emit("invalid-fixed-range",Q)),onTimeUpdate:q[8]||(q[8]=Q=>E.$emit("time-update")),onAmPmChange:q[9]||(q[9]=Q=>E.$emit("am-pm-change",Q)),onTimePickerOpen:q[10]||(q[10]=Q=>E.$emit("time-picker-open",Q)),onTimePickerClose:R,onRecalculatePosition:v,onUpdateMonthYear:q[11]||(q[11]=Q=>E.$emit("update-month-year",Q)),onAutoApplyInvalid:q[12]||(q[12]=Q=>E.$emit("auto-apply-invalid",Q)),onInvalidDate:q[13]||(q[13]=Q=>E.$emit("invalid-date",Q)),"onUpdate:internalModelValue":q[14]||(q[14]=Q=>E.$emit("update:internal-model-value",Q))}),o.createSlots({_:2},[o.renderList(N.value,(Q,Xe)=>({name:Q,fn:o.withCtx(Ze=>[o.renderSlot(E.$slots,Q,o.normalizeProps(o.guardReactiveProps({...Ze})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),E.$slots["right-sidebar"]?(o.openBlock(),o.createElementBlock("div",Ku,[o.renderSlot(E.$slots,"right-sidebar",o.normalizeProps(o.guardReactiveProps(G.value)))])):o.createCommentVNode("",!0),E.$slots["action-extra"]?(o.openBlock(),o.createElementBlock("div",Xu,[E.$slots["action-extra"]?o.renderSlot(E.$slots,"action-extra",{key:0,selectCurrentDate:O}):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)],6),!E.autoApply||o.unref(_).keepActionRow?(o.openBlock(),o.createBlock(G3,o.mergeProps({key:2,"menu-mount":S.value},s.value,{"calendar-width":f.value,onClosePicker:q[15]||(q[15]=Q=>E.$emit("close-picker")),onSelectDate:q[16]||(q[16]=Q=>E.$emit("select-date")),onInvalidSelect:q[17]||(q[17]=Q=>E.$emit("invalid-select")),onSelectNow:O}),o.createSlots({_:2},[o.renderList(o.unref(w),(Q,Xe)=>({name:Q,fn:o.withCtx(Ze=>[o.renderSlot(E.$slots,Q,o.normalizeProps(o.guardReactiveProps({...Ze})))])}))]),1040,["menu-mount","calendar-width"])):o.createCommentVNode("",!0)],42,Yu)}}}),Qu=typeof window<"u"?window:void 0,ra=()=>{},Ju=t=>o.getCurrentScope()?(o.onScopeDispose(t),!0):!1,e6=(t,e,n,r)=>{if(!t)return ra;let a=ra;const i=o.watch(()=>o.unref(t),l=>{a(),l&&(l.addEventListener(e,n,r),a=()=>{l.removeEventListener(e,n,r),a=ra})},{immediate:!0,flush:"post"}),s=()=>{i(),a()};return Ju(s),s},t6=(t,e,n,r={})=>{const{window:a=Qu,event:i="pointerdown"}=r;return a?e6(a,i,s=>{const l=He(t),c=He(e);!l||!c||l===s.target||s.composedPath().includes(l)||s.composedPath().includes(c)||n(s)},{passive:!0}):void 0},n6=o.defineComponent({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...Ir},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,a=t,i=o.useSlots(),s=o.ref(!1),l=o.toRef(a,"modelValue"),c=o.toRef(a,"timezone"),u=o.ref(null),d=o.ref(null),h=o.ref(null),p=o.ref(!1),_=o.ref(null),m=o.ref(!1),f=o.ref(!1),b=o.ref(!1),{setMenuFocused:S,setShiftKey:M}=cs(),{clearArrowNav:C}=en(),{validateDate:x,isValidTime:$}=nn(a),{defaultedTransitions:L,defaultedTextInput:k,defaultedInline:B,defaultedConfig:T,defaultedRange:I,defaultedMultiDates:X}=$e(a),{menuTransition:V,showTransition:F}=hr(L);o.onMounted(()=>{g(a.modelValue),o.nextTick().then(()=>{if(!B.value.enabled){const W=U(_.value);W==null||W.addEventListener("scroll",q),window==null||window.addEventListener("resize",oe)}}),B.value.enabled&&(s.value=!0),window==null||window.addEventListener("keyup",le),window==null||window.addEventListener("keydown",te)}),o.onUnmounted(()=>{if(!B.value.enabled){const W=U(_.value);W==null||W.removeEventListener("scroll",q),window==null||window.removeEventListener("resize",oe)}window==null||window.removeEventListener("keyup",le),window==null||window.removeEventListener("keydown",te)});const G=it(i,"all",a.presetDates),v=it(i,"input");o.watch([l,c],()=>{g(l.value)},{deep:!0});const{openOnTop:w,menuStyle:N,xCorrect:Z,setMenuPosition:J,getScrollableParent:U,shadowRender:P}=R3({menuRef:u,menuRefInner:d,inputRef:h,pickerWrapperRef:_,inline:B,emit:r,props:a,slots:i}),{inputValue:A,internalModelValue:y,parseExternalModelValue:g,emitModelValue:R,formatInputValue:z,checkBeforeEmit:ue}=N3(r,a,p),Ce=o.computed(()=>({dp__main:!0,dp__theme_dark:a.dark,dp__theme_light:!a.dark,dp__flex_display:B.value.enabled,"dp--flex-display-collapsed":b.value,dp__flex_display_with_input:B.value.input})),O=o.computed(()=>a.dark?"dp__theme_dark":"dp__theme_light"),H=o.computed(()=>({to:typeof a.teleport=="boolean"?"body":a.teleport,disabled:!a.teleport||B.value.enabled})),ae=o.computed(()=>({class:"dp__outer_menu_wrap"})),E=o.computed(()=>B.value.enabled&&(a.timePicker||a.monthPicker||a.yearPicker||a.quarterPicker)),q=()=>{s.value&&(T.value.closeOnScroll?yt():J())},oe=()=>{var W;s.value&&J();const ie=(W=d.value)==null?void 0:W.$el.getBoundingClientRect().width;b.value=document.body.offsetWidth<=ie},le=W=>{W.key==="Tab"&&!B.value.enabled&&!a.teleport&&T.value.tabOutClosesMenu&&(_.value.contains(document.activeElement)||yt()),f.value=W.shiftKey},te=W=>{f.value=W.shiftKey},Q=()=>{!a.disabled&&!a.readonly&&(P(Cs,a),J(!1),s.value=!0,s.value&&r("open"),s.value||Dr(),g(a.modelValue))},Xe=()=>{var W;A.value="",Dr(),(W=h.value)==null||W.setParsedDate(null),r("update:model-value",null),r("update:model-timezone-value",null),r("cleared"),T.value.closeOnClearValue&&yt()},Ze=()=>{const W=y.value;return!W||!Array.isArray(W)&&x(W)?!0:Array.isArray(W)?X.value.enabled||W.length===2&&x(W[0])&&x(W[1])?!0:I.value.partialRange&&!a.timePicker?x(W[0]):!1:!1},Wt=()=>{ue()&&Ze()?(R(),yt()):r("invalid-select",y.value)},ze=W=>{Vn(),R(),T.value.closeOnAutoApply&&!W&&yt()},Vn=()=>{h.value&&k.value.enabled&&h.value.setParsedDate(y.value)},Or=(W=!1)=>{a.autoApply&&$(y.value)&&Ze()&&(I.value.enabled&&Array.isArray(y.value)?(I.value.partialRange||y.value.length===2)&&ze(W):ze(W))},Dr=()=>{k.value.enabled||(y.value=null)},yt=()=>{B.value.enabled||(s.value&&(s.value=!1,Z.value=!1,S(!1),M(!1),C(),r("closed"),A.value&&g(l.value)),Dr(),r("blur"))},ci=(W,ie,se=!1)=>{if(!W){y.value=null;return}const Gt=Array.isArray(W)?!W.some(On=>!x(On)):x(W),Ft=$(W);Gt&&Ft&&(y.value=W,ie&&(m.value=se,Wt(),r("text-submit")))},di=()=>{a.autoApply&&$(y.value)&&R(),Vn()},wo=()=>s.value?yt():Q(),ui=W=>{y.value=W},hi=()=>{k.value.enabled&&(p.value=!0,z()),r("focus")},fi=()=>{if(k.value.enabled&&(p.value=!1,g(a.modelValue),m.value)){const W=l3(_.value,f.value);W==null||W.focus()}r("blur")},D=W=>{d.value&&d.value.updateMonthYear(0,{month:Ki(W.month),year:Ki(W.year)})},K=W=>{g(W??a.modelValue)},re=(W,ie)=>{var se;(se=d.value)==null||se.switchView(W,ie)},de=W=>T.value.onClickOutside?T.value.onClickOutside(W):yt();return t6(u,h,()=>de(Ze)),e({closeMenu:yt,selectDate:Wt,clearValue:Xe,openMenu:Q,onScroll:q,formatInputValue:z,updateInternalModelValue:ui,setMonthYear:D,parseModel:K,switchView:re,toggleMenu:wo}),(W,ie)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"pickerWrapperRef",ref:_,class:o.normalizeClass(Ce.value),"data-datepicker-instance":""},[o.createVNode(q3,o.mergeProps({ref_key:"inputRef",ref:h,"input-value":o.unref(A),"onUpdate:inputValue":ie[0]||(ie[0]=se=>o.isRef(A)?A.value=se:null),"is-menu-open":s.value},W.$props,{onClear:Xe,onOpen:Q,onSetInputDate:ci,onSetEmptyDate:o.unref(R),onSelectDate:Wt,onToggle:wo,onClose:yt,onFocus:hi,onBlur:fi,onRealBlur:ie[1]||(ie[1]=se=>p.value=!1)}),o.createSlots({_:2},[o.renderList(o.unref(v),(se,Gt)=>({name:se,fn:o.withCtx(Ft=>[o.renderSlot(W.$slots,se,o.normalizeProps(o.guardReactiveProps(Ft)))])}))]),1040,["input-value","is-menu-open","onSetEmptyDate"]),(o.openBlock(),o.createBlock(o.resolveDynamicComponent(W.teleport?o.Teleport:"div"),o.normalizeProps(o.guardReactiveProps(H.value)),{default:o.withCtx(()=>[o.createVNode(o.Transition,{name:o.unref(V)(o.unref(w)),css:o.unref(F)&&!o.unref(B).enabled},{default:o.withCtx(()=>[s.value?(o.openBlock(),o.createElementBlock("div",o.mergeProps({key:0,ref_key:"dpWrapMenuRef",ref:u},ae.value,{class:{"dp--menu-wrapper":!o.unref(B).enabled},style:o.unref(B).enabled?void 0:o.unref(N)}),[o.createVNode(Cs,o.mergeProps({ref_key:"dpMenuRef",ref:d},W.$props,{"internal-model-value":o.unref(y),"onUpdate:internalModelValue":ie[2]||(ie[2]=se=>o.isRef(y)?y.value=se:null),class:{[O.value]:!0,"dp--menu-wrapper":W.teleport},"open-on-top":o.unref(w),"no-overlay-focus":E.value,collapse:b.value,onClosePicker:yt,onSelectDate:Wt,onAutoApply:Or,onTimeUpdate:di,onFlowStep:ie[3]||(ie[3]=se=>W.$emit("flow-step",se)),onUpdateMonthYear:ie[4]||(ie[4]=se=>W.$emit("update-month-year",se)),onInvalidSelect:ie[5]||(ie[5]=se=>W.$emit("invalid-select",o.unref(y))),onAutoApplyInvalid:ie[6]||(ie[6]=se=>W.$emit("invalid-select",se)),onInvalidFixedRange:ie[7]||(ie[7]=se=>W.$emit("invalid-fixed-range",se)),onRecalculatePosition:o.unref(J),onTooltipOpen:ie[8]||(ie[8]=se=>W.$emit("tooltip-open",se)),onTooltipClose:ie[9]||(ie[9]=se=>W.$emit("tooltip-close",se)),onTimePickerOpen:ie[10]||(ie[10]=se=>W.$emit("time-picker-open",se)),onTimePickerClose:ie[11]||(ie[11]=se=>W.$emit("time-picker-close",se)),onAmPmChange:ie[12]||(ie[12]=se=>W.$emit("am-pm-change",se)),onRangeStart:ie[13]||(ie[13]=se=>W.$emit("range-start",se)),onRangeEnd:ie[14]||(ie[14]=se=>W.$emit("range-end",se)),onDateUpdate:ie[15]||(ie[15]=se=>W.$emit("date-update",se)),onInvalidDate:ie[16]||(ie[16]=se=>W.$emit("invalid-date",se))}),o.createSlots({_:2},[o.renderList(o.unref(G),(se,Gt)=>({name:se,fn:o.withCtx(Ft=>[o.renderSlot(W.$slots,se,o.normalizeProps(o.guardReactiveProps({...Ft})))])}))]),1040,["internal-model-value","class","open-on-top","no-overlay-focus","collapse","onRecalculatePosition"])],16)):o.createCommentVNode("",!0)]),_:3},8,["name","css"])]),_:3},16))],2))}}),oa=(()=>{const t=n6;return t.install=e=>{e.component("Vue3DatePicker",t)},t})();Object.entries(Object.freeze(Object.defineProperty({__proto__:null,default:oa},Symbol.toStringTag,{value:"Module"}))).forEach(([t,e])=>{t!=="default"&&(oa[t]=e)});const r6={class:"scope-datepicker__wrapper"},o6={key:0,class:"scope-datepicker__label"},a6={__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:["update:modelValue"],setup(t){const e=o.useModel(t,"modelValue");return(n,r)=>(o.openBlock(),o.createElementBlock("div",r6,[t.label?(o.openBlock(),o.createElementBlock("div",o6,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),o.createVNode(o.unref(oa),{style:o.normalizeStyle({width:t.width}),class:o.normalizeClass(["scope-datepicker",`-${t.size}`,{"-invalid":t.invalid,"-full-width":t.fullWidth,"-range":t.range}]),modelValue:e.value,"onUpdate:modelValue":r[0]||(r[0]=a=>e.value=a),"auto-apply":"","month-name-format":"long","multi-calendars":t.multiCalendars,"enable-time-picker":!1,range:t.range,placeholder:t.placeholder,inline:t.inline},null,8,["style","class","modelValue","multi-calendars","range","placeholder","inline"])]))}},i6=Je(a6,[["__scopeId","data-v-0081bf59"]]),s6=["onClick"],l6=Je({__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),a=i=>{e.value=i};return(i,s)=>(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:u=>a(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,s6))),128))],4))}},[["__scopeId","data-v-5082bcef"]]),c6={class:"scope-number-input__fieldset","data-number-code-form":""},d6=["disabled","onInput","onKeydown"],u6={key:0,class:"scope-number-input__error-message"},h6=Je({__name:"NumberInput",props:o.mergeModels({necessaryLength:{type:Number,default:6},disabled:Boolean,isInvalid:Boolean,errorMessage:String},{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 a=({target:s},l)=>{if(r.value[l]=s.value,!s.value.length){s.value=null;return}if(s.value.length>1){const d=s.value.split("");d.forEach((h,p)=>{const _=l+p;_>=e.necessaryLength||(n.value.querySelectorAll("[data-number-code-input]")[_].value=h,r.value[_]=h)}),l+=d.length-2}const u=l+1;u<e.necessaryLength&&n.value.querySelectorAll("[data-number-code-input]")[u].focus()},i=(s,l)=>{const{code:c,target:u}=s,d=l-1,h=l+1,p=d>=0,_=h<=e.necessaryLength-1;switch(c){case"ArrowLeft":case"ArrowUp":p&&n.value.querySelectorAll("[data-number-code-input]")[d].focus(),s.preventDefault();break;case"ArrowRight":case"ArrowDown":_&&n.value.querySelectorAll("[data-number-code-input]")[h].focus(),s.preventDefault();break;case"Backspace":if(!u.value.length&&p){const m=n.value.querySelectorAll("[data-number-code-input]")[d];r.value[d]=null,m.value=null,m.focus()}break}};return(s,l)=>(o.openBlock(),o.createElementBlock("form",{class:"scope-number-input__form",ref_key:"numberCodeForm",ref:n},[o.createElementVNode("fieldset",c6,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.necessaryLength,(c,u)=>(o.openBlock(),o.createElementBlock("input",{type:"number",disabled:t.disabled,maxlength:"1",key:u,class:o.normalizeClass(["scope-number-input",{"-invalid":t.isInvalid}]),min:"0",max:"9","data-number-code-input":"",onInput:d=>a(d,u),onKeydown:d=>i(d,u),required:""},null,42,d6))),128))]),t.isInvalid&&t.errorMessage?(o.openBlock(),o.createElementBlock("div",u6,o.toDisplayString(t.errorMessage),1)):o.createCommentVNode("",!0)],512))}},[["__scopeId","data-v-7474e888"]]),f6={class:"scope-navigation-tab__icon-wrapper"},p6={key:0},m6=Je({__name:"NavigationTab",props:{icon:String,tabName:String,selected:Boolean,isFull:Boolean,page:String},emits:["openPage"],setup(t,{emit:e}){const n=e,r=a=>{n("openPage",a)};return(a,i)=>(o.openBlock(),o.createElementBlock("button",{class:o.normalizeClass(["scope-navigation-tab",{"-selected":t.selected}]),onClick:i[0]||(i[0]=s=>r(t.page))},[o.createElementVNode("div",f6,[o.createVNode(Qe,{icon:t.icon,class:"scope-navigation-tab__icon"},null,8,["icon"])]),t.isFull?(o.openBlock(),o.createElementBlock("span",p6,o.toDisplayString(t.tabName),1)):o.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-5e3c38cb"]]);function It(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bs(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}/*!
|
|
1
|
+
(function(Te,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],o):(Te=typeof globalThis<"u"?globalThis:Te||self,o(Te.Scope360Core={},Te.Vue))})(this,function(Te,o){"use strict";var wR=Object.defineProperty;var CR=(Te,o,Zi)=>o in Te?wR(Te,o,{enumerable:!0,configurable:!0,writable:!0,value:Zi}):Te[o]=Zi;var le=(Te,o,Zi)=>(CR(Te,typeof o!="symbol"?o+"":o,Zi),Zi);var Yi;const Zi=(t,e)=>{const n=t[e];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((r,i)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(i.bind(null,new Error("Unknown variable dynamic import: "+e)))})},gt={__name:"Icon",props:{icon:String},setup(t){const e=t;let n=o.defineAsyncComponent(()=>Zi(Object.assign({"../assets/icons/account.svg":()=>Promise.resolve().then(()=>nL),"../assets/icons/apple.svg":()=>Promise.resolve().then(()=>sL),"../assets/icons/arrow-down-right.svg":()=>Promise.resolve().then(()=>lL),"../assets/icons/arrow-down.svg":()=>Promise.resolve().then(()=>uL),"../assets/icons/arrow-right.svg":()=>Promise.resolve().then(()=>pL),"../assets/icons/arrow-rotating.svg":()=>Promise.resolve().then(()=>_L),"../assets/icons/arrow-up-right.svg":()=>Promise.resolve().then(()=>wL),"../assets/icons/arrow-up.svg":()=>Promise.resolve().then(()=>vL),"../assets/icons/binance-circle.svg":()=>Promise.resolve().then(()=>ML),"../assets/icons/binance.svg":()=>Promise.resolve().then(()=>PL),"../assets/icons/book-guide.svg":()=>Promise.resolve().then(()=>LL),"../assets/icons/bxs-down-arrow.svg":()=>Promise.resolve().then(()=>NL),"../assets/icons/bxs-up-arrow.svg":()=>Promise.resolve().then(()=>RL),"../assets/icons/bxs_up-arrow.svg":()=>Promise.resolve().then(()=>HL),"../assets/icons/calendar.svg":()=>Promise.resolve().then(()=>YL),"../assets/icons/charts.svg":()=>Promise.resolve().then(()=>UL),"../assets/icons/check-circle-fill.svg":()=>Promise.resolve().then(()=>KL),"../assets/icons/checked.svg":()=>Promise.resolve().then(()=>JL),"../assets/icons/chevron-down-small.svg":()=>Promise.resolve().then(()=>n$),"../assets/icons/chevron-left-small.svg":()=>Promise.resolve().then(()=>s$),"../assets/icons/chevron-left.svg":()=>Promise.resolve().then(()=>l$),"../assets/icons/chevron-right-small.svg":()=>Promise.resolve().then(()=>u$),"../assets/icons/chevron-right.svg":()=>Promise.resolve().then(()=>p$),"../assets/icons/chevron-top-small.svg":()=>Promise.resolve().then(()=>_$),"../assets/icons/chevron.svg":()=>Promise.resolve().then(()=>w$),"../assets/icons/circle-close.svg":()=>Promise.resolve().then(()=>v$),"../assets/icons/circle-plus.svg":()=>Promise.resolve().then(()=>M$),"../assets/icons/clock.svg":()=>Promise.resolve().then(()=>P$),"../assets/icons/close-popup.svg":()=>Promise.resolve().then(()=>L$),"../assets/icons/close.svg":()=>Promise.resolve().then(()=>N$),"../assets/icons/coins-add.svg":()=>Promise.resolve().then(()=>R$),"../assets/icons/cookie.svg":()=>Promise.resolve().then(()=>H$),"../assets/icons/copy.svg":()=>Promise.resolve().then(()=>Y$),"../assets/icons/cross.svg":()=>Promise.resolve().then(()=>U$),"../assets/icons/danger.svg":()=>Promise.resolve().then(()=>K$),"../assets/icons/date-range-light.svg":()=>Promise.resolve().then(()=>J$),"../assets/icons/download.svg":()=>Promise.resolve().then(()=>nV),"../assets/icons/edit-small.svg":()=>Promise.resolve().then(()=>sV),"../assets/icons/eye-slash.svg":()=>Promise.resolve().then(()=>lV),"../assets/icons/eye.svg":()=>Promise.resolve().then(()=>uV),"../assets/icons/filter.svg":()=>Promise.resolve().then(()=>pV),"../assets/icons/folder-add.svg":()=>Promise.resolve().then(()=>_V),"../assets/icons/folder-open.svg":()=>Promise.resolve().then(()=>wV),"../assets/icons/futures.svg":()=>Promise.resolve().then(()=>vV),"../assets/icons/getting-started-1.svg":()=>Promise.resolve().then(()=>MV),"../assets/icons/getting-started-2.svg":()=>Promise.resolve().then(()=>PV),"../assets/icons/getting-started-3.svg":()=>Promise.resolve().then(()=>LV),"../assets/icons/getting-started.svg":()=>Promise.resolve().then(()=>NV),"../assets/icons/google-authenticator.svg":()=>Promise.resolve().then(()=>RV),"../assets/icons/google.svg":()=>Promise.resolve().then(()=>HV),"../assets/icons/hide.svg":()=>Promise.resolve().then(()=>YV),"../assets/icons/home.svg":()=>Promise.resolve().then(()=>UV),"../assets/icons/info.svg":()=>Promise.resolve().then(()=>KV),"../assets/icons/layout-column.svg":()=>Promise.resolve().then(()=>JV),"../assets/icons/logo-with-text.svg":()=>Promise.resolve().then(()=>nN),"../assets/icons/mistake.svg":()=>Promise.resolve().then(()=>sN),"../assets/icons/modal-cross.svg":()=>Promise.resolve().then(()=>lN),"../assets/icons/move_light.svg":()=>Promise.resolve().then(()=>uN),"../assets/icons/notification_bell.svg":()=>Promise.resolve().then(()=>pN),"../assets/icons/open-date.svg":()=>Promise.resolve().then(()=>_N),"../assets/icons/pair.svg":()=>Promise.resolve().then(()=>wN),"../assets/icons/pie-chart-light.svg":()=>Promise.resolve().then(()=>vN),"../assets/icons/pie-chart.svg":()=>Promise.resolve().then(()=>MN),"../assets/icons/plus.svg":()=>Promise.resolve().then(()=>PN),"../assets/icons/pop-up_opener.svg":()=>Promise.resolve().then(()=>LN),"../assets/icons/portfolio-alt.svg":()=>Promise.resolve().then(()=>NN),"../assets/icons/portfolio-success.svg":()=>Promise.resolve().then(()=>RN),"../assets/icons/portfolio.svg":()=>Promise.resolve().then(()=>HN),"../assets/icons/position-criteria.svg":()=>Promise.resolve().then(()=>YN),"../assets/icons/position-type.svg":()=>Promise.resolve().then(()=>UN),"../assets/icons/progress-box-checked.svg":()=>Promise.resolve().then(()=>KN),"../assets/icons/progress-box.svg":()=>Promise.resolve().then(()=>JN),"../assets/icons/progress_0.svg":()=>Promise.resolve().then(()=>nB),"../assets/icons/progress_1.svg":()=>Promise.resolve().then(()=>sB),"../assets/icons/progress_2.svg":()=>Promise.resolve().then(()=>lB),"../assets/icons/progress_3.svg":()=>Promise.resolve().then(()=>uB),"../assets/icons/qr.svg":()=>Promise.resolve().then(()=>pB),"../assets/icons/scope-futures-logo.svg":()=>Promise.resolve().then(()=>_B),"../assets/icons/search-grey.svg":()=>Promise.resolve().then(()=>wB),"../assets/icons/search.svg":()=>Promise.resolve().then(()=>vB),"../assets/icons/session.svg":()=>Promise.resolve().then(()=>MB),"../assets/icons/settings-gear-2.svg":()=>Promise.resolve().then(()=>PB),"../assets/icons/settings.svg":()=>Promise.resolve().then(()=>LB),"../assets/icons/setup.svg":()=>Promise.resolve().then(()=>NB),"../assets/icons/share.svg":()=>Promise.resolve().then(()=>RB),"../assets/icons/side.svg":()=>Promise.resolve().then(()=>HB),"../assets/icons/sort.svg":()=>Promise.resolve().then(()=>YB),"../assets/icons/spot.svg":()=>Promise.resolve().then(()=>UB),"../assets/icons/star.svg":()=>Promise.resolve().then(()=>KB),"../assets/icons/status.svg":()=>Promise.resolve().then(()=>JB),"../assets/icons/success.svg":()=>Promise.resolve().then(()=>nA),"../assets/icons/switch.svg":()=>Promise.resolve().then(()=>sA),"../assets/icons/three-dots.svg":()=>Promise.resolve().then(()=>lA),"../assets/icons/tip.svg":()=>Promise.resolve().then(()=>uA),"../assets/icons/trading_terminal.svg":()=>Promise.resolve().then(()=>pA),"../assets/icons/trending.svg":()=>Promise.resolve().then(()=>_A),"../assets/icons/vimeo_play_1.svg":()=>Promise.resolve().then(()=>wA),"../assets/icons/vimeo_play_2.svg":()=>Promise.resolve().then(()=>vA),"../assets/icons/waterfall-light.svg":()=>Promise.resolve().then(()=>MA),"../assets/icons/weekday.svg":()=>Promise.resolve().then(()=>PA),"../assets/icons/x.svg":()=>Promise.resolve().then(()=>LA)}),`../assets/icons/${e.icon}.svg`));return(r,i)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(n)),{name:t.icon},null,8,["name"]))}},st=(t,e)=>{const n=t.__vccOpts||t;for(const[r,i]of e)n[r]=i;return n},u6=["disabled"],h6={key:1},zc=st({__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,i)=>(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(gt,{key:0,icon:t.icon},null,8,["icon"])):o.createCommentVNode("",!0),t.ctaText?(o.openBlock(),o.createElementBlock("span",h6,o.toDisplayString(t.ctaText),1)):o.createCommentVNode("",!0)],14,u6))}},[["__scopeId","data-v-ffc148b3"]]);function jc(t){return t===0?!1:Array.isArray(t)&&t.length===0?!0:!t}function f6(t){return(...e)=>!t(...e)}function p6(t,e){return t===void 0&&(t="undefined"),t===null&&(t="null"),t===!1&&(t="false"),t.toString().toLowerCase().indexOf(e.trim())!==-1}function S1(t,e,n,r){return e?t.filter(i=>p6(r(i,n),e)).sort((i,s)=>r(i,n).length-r(s,n).length):t}function m6(t){return t.filter(e=>!e.$isLabel)}function Yc(t,e){return n=>n.reduce((r,i)=>i[t]&&i[t].length?(r.push({$groupLabel:i[e],$isLabel:!0}),r.concat(i[t])):r,[])}function g6(t,e,n,r,i){return s=>s.map(a=>{if(!a[n])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];const l=S1(a[n],t,e,i);return l.length?{[r]:a[r],[n]:l}:[]})}const M1=(...t)=>e=>t.reduce((n,r)=>r(n),e);var _6={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 jc(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):S1(n,e,this.label,this.customLabel):n=this.groupValues?Yc(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(f6(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 M1(g6(e,n,this.groupValues,this.groupLabel,this.customLabel),Yc(this.groupValues,this.groupLabel))(t)},flatAndStrip(t){return M1(Yc(this.groupValues,this.groupLabel),m6)(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(jc(t))return"";if(t.isTag)return t.label;if(t.$isLabel)return t.$groupLabel;const e=this.customLabel(t,this.label);return jc(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))}}},y6={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}}},T1={name:"vue-multiselect",mixins:[_6,y6],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 b6={ref:"tags",class:"multiselect__tags"},w6={class:"multiselect__tags-wrap"},C6={class:"multiselect__spinner"},k6={key:0},v6={class:"multiselect__option"},x6={class:"multiselect__option"},S6=o.createTextVNode("No elements found. Consider changing the search query."),M6={class:"multiselect__option"},T6=o.createTextVNode("List is empty.");function D6(t,e,n,r,i,s){return o.openBlock(),o.createBlock("div",{tabindex:t.searchable?-1:n.tabindex,class:[{"multiselect--active":t.isOpen,"multiselect--disabled":n.disabled,"multiselect--above":s.isAbove,"multiselect--has-options-group":s.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",b6,[o.renderSlot(t.$slots,"selection",{search:t.search,remove:t.removeElement,values:s.visibleValues,isOpen:t.isOpen},()=>[o.withDirectives(o.createVNode("div",w6,[(o.openBlock(!0),o.createBlock(o.Fragment,null,o.renderList(s.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,s.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",C6,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:s.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),s.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:s.singleValue},()=>[o.createTextVNode(o.toDisplayString(t.currentOptionLabel),1)])],32)):o.createCommentVNode("v-if",!0),s.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:s.contentStyle,role:"listbox",id:"listbox-"+t.id},[o.renderSlot(t.$slots,"beforeList"),t.multiple&&t.max===t.internalValue.length?(o.openBlock(),o.createBlock("li",k6,[o.createVNode("span",v6,[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:s.selectLabelText,"data-selected":s.selectedLabelText,"data-deselect":s.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&&s.selectGroupLabelText,"data-deselect":t.groupSelect&&s.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",x6,[o.renderSlot(t.$slots,"noResult",{search:t.search},()=>[S6])])],512),[[o.vShow,n.showNoResults&&t.filteredOptions.length===0&&t.search&&!n.loading]]),o.withDirectives(o.createVNode("li",null,[o.createVNode("span",M6,[o.renderSlot(t.$slots,"noOptions",{},()=>[T6])])],512),[[o.vShow,n.showNoOptions&&(t.options.length===0||s.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"])}T1.render=D6;const P6={key:0,class:"scope-multiselect-label"},O6=st({__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),i=o.computed(()=>r.value&&r.value.isOpen),s=o.computed(()=>!!(c.value&&c.value.length)),a=o.computed(()=>e.options.every(u=>typeof u=="object"&&u!==null)),l=o.computed(()=>a.value?e.options.map(u=>u.name):e.options),c=o.useModel(t,"modelValue",{get(u){return typeof u=="object"?u.name:u},set(u){return a.value?e.options.find(h=>h.name===u):u}});return(u,h)=>(o.openBlock(),o.createElementBlock("div",{class:"scope-multiselect-container",style:o.normalizeStyle(n.value)},[t.label?(o.openBlock(),o.createElementBlock("div",P6,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),o.createVNode(o.unref(T1),{ref_key:"multiselect",ref:r,class:o.normalizeClass(["scope-multiselect",`-${t.size}`,{"-with-search":t.searchable,"-invalid":t.invalid}]),modelValue:c.value,"onUpdate:modelValue":h[0]||(h[0]=p=>c.value=p),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(gt,{key:0,icon:"search",class:o.normalizeClass(["search-item",s.value?"-is-not-empty":"-is-empty"])},null,8,["class"])):o.createCommentVNode("",!0),o.createVNode(gt,{icon:"chevron",class:o.normalizeClass(["select-item",s.value?"-is-not-empty":"-is-empty",{"-opened":i.value}])},null,8,["class"])],2)],4))}},[["__scopeId","data-v-687ab011"]]),E6={key:0,class:"scope-input__label"},L6={key:0,class:"scope-input__sign"},$6=["disabled","placeholder","maxlength","pattern","type"],V6={key:1,class:"scope-input__error"},N6=st({__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},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["input","enter"],["update:modelValue"]),setup(t,{emit:e}){const{error:n}=j3(),r=e,i=o.useModel(t,"modelValue"),s=t,a=o.computed(()=>s.width?{width:s.width}:null),l=o.ref(!1),c=u=>{navigator.clipboard.writeText(u).then(()=>{l.value=!0;const h=setTimeout(()=>{l.value=!1,clearTimeout(h)},3e3)}).catch(h=>{n(h)})};return(u,h)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["scope-input",{"-have-icon":t.icon,"-full-width":t.fullWidth,"-clear-button":t.haveClearButton||t.haveCopyButton}])},[t.label?(o.openBlock(),o.createElementBlock("div",E6,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["scope-input__container",`-${t.size}`])},[t.sideSign?(o.openBlock(),o.createElementBlock("div",L6,o.toDisplayString(t.sideSign),1)):o.createCommentVNode("",!0),o.withDirectives(o.createElementVNode("input",{disabled:t.disabled,class:o.normalizeClass([`-${t.size}`,{"-invalid":t.invalid,"-side-sign":!!t.sideSign}]),"onUpdate:modelValue":h[0]||(h[0]=p=>i.value=p),style:o.normalizeStyle(a.value),placeholder:t.placeholder,onInput:h[1]||(h[1]=p=>r("input")),onKeyup:h[2]||(h[2]=o.withKeys(p=>r("enter"),["enter"])),maxlength:t.maxLength,pattern:t.pattern,type:t.type},null,46,$6),[[o.vModelDynamic,i.value]])],2),o.createElementVNode("div",{class:o.normalizeClass(["scope-input__icon-wrapper",`-${t.size}`,{"-only-search":t.haveClearButton||t.haveCopyButton&&!t.icon,"-with-label":!!t.label}])},[t.icon?(o.openBlock(),o.createBlock(o.unref(gt),{key:0,icon:t.icon,class:"scope-input__icon"},null,8,["icon"])):o.createCommentVNode("",!0),t.haveClearButton?(o.openBlock(),o.createBlock(o.unref(gt),{key:1,class:"scope-input__clear",icon:"cross",onClick:h[3]||(h[3]=p=>i.value="")})):o.createCommentVNode("",!0),t.haveCopyButton&&!l.value?(o.openBlock(),o.createBlock(o.unref(gt),{key:2,class:"scope-input__clear",icon:"copy",onClick:h[4]||(h[4]=p=>c(i.value))})):o.createCommentVNode("",!0),t.haveCopyButton&&l.value?(o.openBlock(),o.createBlock(o.unref(gt),{key:3,class:"scope-input__clear",icon:"checked"})):o.createCommentVNode("",!0)],2),t.invalid?(o.openBlock(),o.createElementBlock("div",V6,o.toDisplayString(t.errorMessage),1)):o.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-78225f82"]]),B6={class:"scope-radio-label"},A6=["value","checked"],R6={class:"scope-text"},F6={__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.ref(null),i=()=>{e.value=n.value},s=o.computed(()=>e.value);return o.onMounted(()=>{i()}),(a,l)=>(o.openBlock(),o.createElementBlock("label",B6,[o.createElementVNode("input",{name:"radio",type:"radio",ref_key:"radio",ref:r,value:t.value,class:"scope-radio-input",checked:s.value,onClick:i},null,8,A6),o.createElementVNode("span",{class:o.normalizeClass(["scope-radio",{"-checked":s.value}])},null,2),o.createElementVNode("span",R6,o.toDisplayString(t.label),1)]))}},I6=st(F6,[["__scopeId","data-v-a6d4ba91"]]),H6=t=>(o.pushScopeId("data-v-7e155a89"),t=t(),o.popScopeId(),t),z6={class:"scope-toggle-wrapper"},j6=["checked","name"],Y6=H6(()=>o.createElementVNode("div",{class:"scope-toggle-wrapper__indicator"},null,-1)),W6=st({__name:"Toggle",props:o.mergeModels({name:String},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=o.useModel(t,"modelValue"),n=()=>{e.value=!e.value};return(r,i)=>(o.openBlock(),o.createElementBlock("div",z6,[o.createElementVNode("input",{type:"checkbox",class:"scope-toggle-wrapper__checkbox",checked:e.value,name:t.name,onChange:n},null,40,j6),Y6]))}},[["__scopeId","data-v-7e155a89"]]),q6={class:"scope-checkbox-container"},U6=["id"],Z6=["for"],G6=st({__name:"CheckBox",props:o.mergeModels({label:String,name:{type:String,default:()=>Math.random().toString()}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=o.useModel(t,"modelValue");return(n,r)=>(o.openBlock(),o.createElementBlock("ul",q6,[o.createElementVNode("li",null,[o.withDirectives(o.createElementVNode("input",{"onUpdate:modelValue":r[0]||(r[0]=i=>e.value=i),class:"scope-checkbox",id:t.name,type:"checkbox"},null,8,U6),[[o.vModelCheckbox,e.value]]),o.createElementVNode("label",{for:t.name},o.toDisplayString(t.label),9,Z6)])]))}},[["__scopeId","data-v-16dedb1c"]]),K6={class:"scope-menu-tabs"},X6=["onClick"],Q6=st({__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,i)=>(o.openBlock(),o.createElementBlock("div",K6,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.tabs,(s,a)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["scope-menu-tab",{"-active":e.value==s.id}]),onClick:l=>n(s.id),key:a},o.toDisplayString(s.name),11,X6))),128))]))}},[["__scopeId","data-v-30014e05"]]),J6={class:"scope-switcher"},e5={class:"scope-switcher__current-item"},t5=st({__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)),i=o.computed(()=>n.value.id===e.items[0].id),s=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,u)=>(o.openBlock(),o.createElementBlock("div",J6,[o.createVNode(gt,{icon:"chevron-left-small",class:o.normalizeClass(["scope-switcher__left",{"-first-item":i.value}]),onClick:a},null,8,["class"]),o.createElementVNode("div",e5,o.toDisplayString(n.value.name),1),o.createVNode(gt,{icon:"chevron-right-small",class:o.normalizeClass(["scope-switcher__right",{"-last-item":s.value}]),onClick:l},null,8,["class"])]))}},[["__scopeId","data-v-4a290f88"]]);function Ve(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 lt(t,e){return t instanceof Date?new t.constructor(e):new Date(e)}function or(t,e){const n=Ve(t);return isNaN(e)?lt(t,NaN):(e&&n.setDate(n.getDate()+e),n)}function ar(t,e){const n=Ve(t);if(isNaN(e))return lt(t,NaN);if(!e)return n;const r=n.getDate(),i=lt(t,n.getTime());i.setMonth(n.getMonth()+e+1,0);const s=i.getDate();return r>=s?i:(n.setFullYear(i.getFullYear(),i.getMonth(),r),n)}function D1(t,e){const{years:n=0,months:r=0,weeks:i=0,days:s=0,hours:a=0,minutes:l=0,seconds:c=0}=e,u=Ve(t),h=r||n?ar(u,r+n*12):u,p=s||i?or(h,s+i*7):h,g=l+a*60,C=(c+g*60)*1e3;return lt(t,p.getTime()+C)}function n5(t,e){const n=+Ve(t);return lt(t,n+e)}const P1=6048e5,r5=864e5,i5=6e4,O1=36e5,s5=1e3;function o5(t,e){return n5(t,e*O1)}let a5={};function Gi(){return a5}function Cr(t,e){var l,c,u,h;const n=Gi(),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??((h=(u=n.locale)==null?void 0:u.options)==null?void 0:h.weekStartsOn)??0,i=Ve(t),s=i.getDay(),a=(s<r?7:0)+s-r;return i.setDate(i.getDate()-a),i.setHours(0,0,0,0),i}function Ls(t){return Cr(t,{weekStartsOn:1})}function E1(t){const e=Ve(t),n=e.getFullYear(),r=lt(t,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const i=Ls(r),s=lt(t,0);s.setFullYear(n,0,4),s.setHours(0,0,0,0);const a=Ls(s);return e.getTime()>=i.getTime()?n+1:e.getTime()>=a.getTime()?n:n-1}function L1(t){const e=Ve(t);return e.setHours(0,0,0,0),e}function Wa(t){const e=Ve(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 $1(t,e){const n=L1(t),r=L1(e),i=+n-Wa(n),s=+r-Wa(r);return Math.round((i-s)/r5)}function l5(t){const e=E1(t),n=lt(t,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),Ls(n)}function c5(t,e){const n=e*3;return ar(t,n)}function Wc(t,e){return ar(t,e*12)}function V1(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function To(t){if(!V1(t)&&typeof t!="number")return!1;const e=Ve(t);return!isNaN(Number(e))}function N1(t){const e=Ve(t);return Math.trunc(e.getMonth()/3)+1}function B1(t,e){const n=Ve(t.start),r=Ve(t.end);let i=+n>+r;const s=i?+n:+r,a=i?r:n;a.setHours(0,0,0,0);let l=(e==null?void 0:e.step)??1;if(!l)return[];l<0&&(l=-l,i=!i);const c=[];for(;+a<=s;)c.push(Ve(a)),a.setDate(a.getDate()+l),a.setHours(0,0,0,0);return i?c.reverse():c}function Ki(t){const e=Ve(t),n=e.getMonth(),r=n-n%3;return e.setMonth(r,1),e.setHours(0,0,0,0),e}function d5(t,e){const n=Ve(t.start),r=Ve(t.end);let i=+n>+r;const s=i?+Ki(n):+Ki(r);let a=Ki(i?r:n),l=(e==null?void 0:e.step)??1;if(!l)return[];l<0&&(l=-l,i=!i);const c=[];for(;+a<=s;)c.push(Ve(a)),a=c5(a,l);return i?c.reverse():c}function u5(t){const e=Ve(t),n=e.getFullYear();return e.setFullYear(n+1,0,0),e.setHours(23,59,59,999),e}function A1(t){const e=Ve(t),n=lt(t,0);return n.setFullYear(e.getFullYear(),0,1),n.setHours(0,0,0,0),n}function h5(t,e){var l,c,u,h;const n=Gi(),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??((h=(u=n.locale)==null?void 0:u.options)==null?void 0:h.weekStartsOn)??0,i=Ve(t),s=i.getDay(),a=(s<r?-7:0)+6-(s-r);return i.setDate(i.getDate()+a),i.setHours(23,59,59,999),i}function R1(t){const e=Ve(t),n=e.getMonth(),r=n-n%3+3;return e.setMonth(r,0),e.setHours(23,59,59,999),e}const f5={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"}},p5=(t,e,n)=>{let r;const i=f5[t];return typeof i=="string"?r=i:e===1?r=i.one:r=i.other.replace("{{count}}",e.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function qc(t){return(e={})=>{const n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}const m5={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},g5={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},_5={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},y5={date:qc({formats:m5,defaultWidth:"full"}),time:qc({formats:g5,defaultWidth:"full"}),dateTime:qc({formats:_5,defaultWidth:"full"})},b5={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},w5=(t,e,n,r)=>b5[t];function Do(t){return(e,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let i;if(r==="formatting"&&t.formattingValues){const a=t.defaultFormattingWidth||t.defaultWidth,l=n!=null&&n.width?String(n.width):a;i=t.formattingValues[l]||t.formattingValues[a]}else{const a=t.defaultWidth,l=n!=null&&n.width?String(n.width):t.defaultWidth;i=t.values[l]||t.values[a]}const s=t.argumentCallback?t.argumentCallback(e):e;return i[s]}}const C5={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},k5={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},v5={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"]},x5={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"]},S5={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"}},M5={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"}},T5={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:Do({values:C5,defaultWidth:"wide"}),quarter:Do({values:k5,defaultWidth:"wide",argumentCallback:t=>t-1}),month:Do({values:v5,defaultWidth:"wide"}),day:Do({values:x5,defaultWidth:"wide"}),dayPeriod:Do({values:S5,defaultWidth:"wide",formattingValues:M5,defaultFormattingWidth:"wide"})};function Po(t){return(e,n={})=>{const r=n.width,i=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],s=e.match(i);if(!s)return null;const a=s[0],l=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],c=Array.isArray(l)?P5(l,p=>p.test(a)):D5(l,p=>p.test(a));let u;u=t.valueCallback?t.valueCallback(c):c,u=n.valueCallback?n.valueCallback(u):u;const h=e.slice(a.length);return{value:u,rest:h}}}function D5(t,e){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n}function P5(t,e){for(let n=0;n<t.length;n++)if(e(t[n]))return n}function O5(t){return(e,n={})=>{const r=e.match(t.matchPattern);if(!r)return null;const i=r[0],s=e.match(t.parsePattern);if(!s)return null;let a=t.valueCallback?t.valueCallback(s[0]):s[0];a=n.valueCallback?n.valueCallback(a):a;const l=e.slice(i.length);return{value:a,rest:l}}}const E5=/^(\d+)(th|st|nd|rd)?/i,L5=/\d+/i,$5={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},V5={any:[/^b/i,/^(a|c)/i]},N5={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},B5={any:[/1/i,/2/i,/3/i,/4/i]},A5={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},R5={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]},F5={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},I5={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]},H5={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},z5={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}},j5={ordinalNumber:O5({matchPattern:E5,parsePattern:L5,valueCallback:t=>parseInt(t,10)}),era:Po({matchPatterns:$5,defaultMatchWidth:"wide",parsePatterns:V5,defaultParseWidth:"any"}),quarter:Po({matchPatterns:N5,defaultMatchWidth:"wide",parsePatterns:B5,defaultParseWidth:"any",valueCallback:t=>t+1}),month:Po({matchPatterns:A5,defaultMatchWidth:"wide",parsePatterns:R5,defaultParseWidth:"any"}),day:Po({matchPatterns:F5,defaultMatchWidth:"wide",parsePatterns:I5,defaultParseWidth:"any"}),dayPeriod:Po({matchPatterns:H5,defaultMatchWidth:"any",parsePatterns:z5,defaultParseWidth:"any"})},F1={code:"en-US",formatDistance:p5,formatLong:y5,formatRelative:w5,localize:T5,match:j5,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Y5(t){const e=Ve(t);return $1(e,A1(e))+1}function Uc(t){const e=Ve(t),n=+Ls(e)-+l5(e);return Math.round(n/P1)+1}function Zc(t,e){var h,p,g,w;const n=Ve(t),r=n.getFullYear(),i=Gi(),s=(e==null?void 0:e.firstWeekContainsDate)??((p=(h=e==null?void 0:e.locale)==null?void 0:h.options)==null?void 0:p.firstWeekContainsDate)??i.firstWeekContainsDate??((w=(g=i.locale)==null?void 0:g.options)==null?void 0:w.firstWeekContainsDate)??1,a=lt(t,0);a.setFullYear(r+1,0,s),a.setHours(0,0,0,0);const l=Cr(a,e),c=lt(t,0);c.setFullYear(r,0,s),c.setHours(0,0,0,0);const u=Cr(c,e);return n.getTime()>=l.getTime()?r+1:n.getTime()>=u.getTime()?r:r-1}function W5(t,e){var l,c,u,h;const n=Gi(),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??((h=(u=n.locale)==null?void 0:u.options)==null?void 0:h.firstWeekContainsDate)??1,i=Zc(t,e),s=lt(t,0);return s.setFullYear(i,0,r),s.setHours(0,0,0,0),Cr(s,e)}function Gc(t,e){const n=Ve(t),r=+Cr(n,e)-+W5(n,e);return Math.round(r/P1)+1}function ut(t,e){const n=t<0?"-":"",r=Math.abs(t).toString().padStart(e,"0");return n+r}const yi={y(t,e){const n=t.getFullYear(),r=n>0?n:1-n;return ut(e==="yy"?r%100:r,e.length)},M(t,e){const n=t.getMonth();return e==="M"?String(n+1):ut(n+1,2)},d(t,e){return ut(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 ut(t.getHours()%12||12,e.length)},H(t,e){return ut(t.getHours(),e.length)},m(t,e){return ut(t.getMinutes(),e.length)},s(t,e){return ut(t.getSeconds(),e.length)},S(t,e){const n=e.length,r=t.getMilliseconds(),i=Math.trunc(r*Math.pow(10,n-3));return ut(i,e.length)}},$s={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},I1={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(),i=r>0?r:1-r;return n.ordinalNumber(i,{unit:"year"})}return yi.y(t,e)},Y:function(t,e,n,r){const i=Zc(t,r),s=i>0?i:1-i;if(e==="YY"){const a=s%100;return ut(a,2)}return e==="Yo"?n.ordinalNumber(s,{unit:"year"}):ut(s,e.length)},R:function(t,e){const n=E1(t);return ut(n,e.length)},u:function(t,e){const n=t.getFullYear();return ut(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 ut(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 ut(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 yi.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 ut(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 i=Gc(t,r);return e==="wo"?n.ordinalNumber(i,{unit:"week"}):ut(i,e.length)},I:function(t,e,n){const r=Uc(t);return e==="Io"?n.ordinalNumber(r,{unit:"week"}):ut(r,e.length)},d:function(t,e,n){return e==="do"?n.ordinalNumber(t.getDate(),{unit:"date"}):yi.d(t,e)},D:function(t,e,n){const r=Y5(t);return e==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):ut(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 i=t.getDay(),s=(i-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(s);case"ee":return ut(s,2);case"eo":return n.ordinalNumber(s,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});case"eeee":default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){const i=t.getDay(),s=(i-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(s);case"cc":return ut(s,e.length);case"co":return n.ordinalNumber(s,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(t,e,n){const r=t.getDay(),i=r===0?7:r;switch(e){case"i":return String(i);case"ii":return ut(i,e.length);case"io":return n.ordinalNumber(i,{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 i=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(t,e,n){const r=t.getHours();let i;switch(r===12?i=$s.noon:r===0?i=$s.midnight:i=r/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(t,e,n){const r=t.getHours();let i;switch(r>=17?i=$s.evening:r>=12?i=$s.afternoon:r>=4?i=$s.morning:i=$s.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(i,{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 yi.h(t,e)},H:function(t,e,n){return e==="Ho"?n.ordinalNumber(t.getHours(),{unit:"hour"}):yi.H(t,e)},K:function(t,e,n){const r=t.getHours()%12;return e==="Ko"?n.ordinalNumber(r,{unit:"hour"}):ut(r,e.length)},k:function(t,e,n){let r=t.getHours();return r===0&&(r=24),e==="ko"?n.ordinalNumber(r,{unit:"hour"}):ut(r,e.length)},m:function(t,e,n){return e==="mo"?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):yi.m(t,e)},s:function(t,e,n){return e==="so"?n.ordinalNumber(t.getSeconds(),{unit:"second"}):yi.s(t,e)},S:function(t,e){return yi.S(t,e)},X:function(t,e,n){const r=t.getTimezoneOffset();if(r===0)return"Z";switch(e){case"X":return z1(r);case"XXXX":case"XX":return Xi(r);case"XXXXX":case"XXX":default:return Xi(r,":")}},x:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"x":return z1(r);case"xxxx":case"xx":return Xi(r);case"xxxxx":case"xxx":default:return Xi(r,":")}},O:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+H1(r,":");case"OOOO":default:return"GMT"+Xi(r,":")}},z:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+H1(r,":");case"zzzz":default:return"GMT"+Xi(r,":")}},t:function(t,e,n){const r=Math.trunc(t.getTime()/1e3);return ut(r,e.length)},T:function(t,e,n){const r=t.getTime();return ut(r,e.length)}};function H1(t,e=""){const n=t>0?"-":"+",r=Math.abs(t),i=Math.trunc(r/60),s=r%60;return s===0?n+String(i):n+String(i)+e+ut(s,2)}function z1(t,e){return t%60===0?(t>0?"-":"+")+ut(Math.abs(t)/60,2):Xi(t,e)}function Xi(t,e=""){const n=t>0?"-":"+",r=Math.abs(t),i=ut(Math.trunc(r/60),2),s=ut(r%60,2);return n+i+e+s}const j1=(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"})}},Y1=(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"})}},Kc={p:Y1,P:(t,e)=>{const n=t.match(/(P+)(p+)?/)||[],r=n[1],i=n[2];if(!i)return j1(t,e);let s;switch(r){case"P":s=e.dateTime({width:"short"});break;case"PP":s=e.dateTime({width:"medium"});break;case"PPP":s=e.dateTime({width:"long"});break;case"PPPP":default:s=e.dateTime({width:"full"});break}return s.replace("{{date}}",j1(r,e)).replace("{{time}}",Y1(i,e))}},q5=/^D+$/,U5=/^Y+$/,Z5=["D","DD","YY","YYYY"];function W1(t){return q5.test(t)}function q1(t){return U5.test(t)}function Xc(t,e,n){const r=G5(t,e,n);if(console.warn(r),Z5.includes(t))throw new RangeError(r)}function G5(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 K5=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,X5=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Q5=/^'([^]*?)'?$/,J5=/''/g,e4=/[a-zA-Z]/;function kr(t,e,n){var h,p,g,w,C,b,x,M;const r=Gi(),i=(n==null?void 0:n.locale)??r.locale??F1,s=(n==null?void 0:n.firstWeekContainsDate)??((p=(h=n==null?void 0:n.locale)==null?void 0:h.options)==null?void 0:p.firstWeekContainsDate)??r.firstWeekContainsDate??((w=(g=r.locale)==null?void 0:g.options)==null?void 0:w.firstWeekContainsDate)??1,a=(n==null?void 0:n.weekStartsOn)??((b=(C=n==null?void 0:n.locale)==null?void 0:C.options)==null?void 0:b.weekStartsOn)??r.weekStartsOn??((M=(x=r.locale)==null?void 0:x.options)==null?void 0:M.weekStartsOn)??0,l=Ve(t);if(!To(l))throw new RangeError("Invalid time value");let c=e.match(X5).map(L=>{const P=L[0];if(P==="p"||P==="P"){const $=Kc[P];return $(L,i.formatLong)}return L}).join("").match(K5).map(L=>{if(L==="''")return{isToken:!1,value:"'"};const P=L[0];if(P==="'")return{isToken:!1,value:t4(L)};if(I1[P])return{isToken:!0,value:L};if(P.match(e4))throw new RangeError("Format string contains an unescaped latin alphabet character `"+P+"`");return{isToken:!1,value:L}});i.localize.preprocessor&&(c=i.localize.preprocessor(l,c));const u={firstWeekContainsDate:s,weekStartsOn:a,locale:i};return c.map(L=>{if(!L.isToken)return L.value;const P=L.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&q1(P)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&W1(P))&&Xc(P,e,String(t));const $=I1[P[0]];return $(l,P,i.localize,u)}).join("")}function t4(t){const e=t.match(Q5);return e?e[1].replace(J5,"'"):t}function n4(t){return Ve(t).getDay()}function r4(t){const e=Ve(t),n=e.getFullYear(),r=e.getMonth(),i=lt(t,0);return i.setFullYear(n,r+1,0),i.setHours(0,0,0,0),i.getDate()}function i4(){return Object.assign({},Gi())}function lr(t){return Ve(t).getHours()}function s4(t){let n=Ve(t).getDay();return n===0&&(n=7),n}function vr(t){return Ve(t).getMinutes()}function Xe(t){return Ve(t).getMonth()}function Vs(t){return Ve(t).getSeconds()}function Ye(t){return Ve(t).getFullYear()}function Oo(t,e){const n=Ve(t),r=Ve(e);return n.getTime()>r.getTime()}function Eo(t,e){const n=Ve(t),r=Ve(e);return+n<+r}function Ns(t,e){const n=Ve(t),r=Ve(e);return+n==+r}function o4(t,e){const n=e instanceof Date?lt(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 a4=10;class U1{constructor(){le(this,"subPriority",0)}validate(e,n){return!0}}class l4 extends U1{constructor(e,n,r,i,s){super(),this.value=e,this.validateValue=n,this.setValue=r,this.priority=i,s&&(this.subPriority=s)}validate(e,n){return this.validateValue(e,this.value,n)}set(e,n,r){return this.setValue(e,n,this.value,r)}}class c4 extends U1{constructor(){super(...arguments);le(this,"priority",a4);le(this,"subPriority",-1)}set(n,r){return r.timestampIsSet?n:lt(n,o4(n,Date))}}class ct{run(e,n,r,i){const s=this.parse(e,n,r,i);return s?{setter:new l4(s.value,this.validate,this.set,this.priority,this.subPriority),rest:s.rest}:null}validate(e,n,r){return!0}}class d4 extends ct{constructor(){super(...arguments);le(this,"priority",140);le(this,"incompatibleTokens",["R","u","t","T"])}parse(n,r,i){switch(r){case"G":case"GG":case"GGG":return i.era(n,{width:"abbreviated"})||i.era(n,{width:"narrow"});case"GGGGG":return i.era(n,{width:"narrow"});case"GGGG":default:return i.era(n,{width:"wide"})||i.era(n,{width:"abbreviated"})||i.era(n,{width:"narrow"})}}set(n,r,i){return r.era=i,n.setFullYear(i,0,1),n.setHours(0,0,0,0),n}}const It={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}/},xr={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Ht(t,e){return t&&{value:e(t.value),rest:t.rest}}function Dt(t,e){const n=e.match(t);return n?{value:parseInt(n[0],10),rest:e.slice(n[0].length)}:null}function Sr(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,i=n[2]?parseInt(n[2],10):0,s=n[3]?parseInt(n[3],10):0,a=n[5]?parseInt(n[5],10):0;return{value:r*(i*O1+s*i5+a*s5),rest:e.slice(n[0].length)}}function Z1(t){return Dt(It.anyDigitsSigned,t)}function $t(t,e){switch(t){case 1:return Dt(It.singleDigit,e);case 2:return Dt(It.twoDigits,e);case 3:return Dt(It.threeDigits,e);case 4:return Dt(It.fourDigits,e);default:return Dt(new RegExp("^\\d{1,"+t+"}"),e)}}function qa(t,e){switch(t){case 1:return Dt(It.singleDigitSigned,e);case 2:return Dt(It.twoDigitsSigned,e);case 3:return Dt(It.threeDigitsSigned,e);case 4:return Dt(It.fourDigitsSigned,e);default:return Dt(new RegExp("^-?\\d{1,"+t+"}"),e)}}function Qc(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 G1(t,e){const n=e>0,r=n?e:1-e;let i;if(r<=50)i=t||100;else{const s=r+50,a=Math.trunc(s/100)*100,l=t>=s%100;i=t+a-(l?100:0)}return n?i:1-i}function K1(t){return t%400===0||t%4===0&&t%100!==0}class u4 extends ct{constructor(){super(...arguments);le(this,"priority",130);le(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(n,r,i){const s=a=>({year:a,isTwoDigitYear:r==="yy"});switch(r){case"y":return Ht($t(4,n),s);case"yo":return Ht(i.ordinalNumber(n,{unit:"year"}),s);default:return Ht($t(r.length,n),s)}}validate(n,r){return r.isTwoDigitYear||r.year>0}set(n,r,i){const s=n.getFullYear();if(i.isTwoDigitYear){const l=G1(i.year,s);return n.setFullYear(l,0,1),n.setHours(0,0,0,0),n}const a=!("era"in r)||r.era===1?i.year:1-i.year;return n.setFullYear(a,0,1),n.setHours(0,0,0,0),n}}class h4 extends ct{constructor(){super(...arguments);le(this,"priority",130);le(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(n,r,i){const s=a=>({year:a,isTwoDigitYear:r==="YY"});switch(r){case"Y":return Ht($t(4,n),s);case"Yo":return Ht(i.ordinalNumber(n,{unit:"year"}),s);default:return Ht($t(r.length,n),s)}}validate(n,r){return r.isTwoDigitYear||r.year>0}set(n,r,i,s){const a=Zc(n,s);if(i.isTwoDigitYear){const c=G1(i.year,a);return n.setFullYear(c,0,s.firstWeekContainsDate),n.setHours(0,0,0,0),Cr(n,s)}const l=!("era"in r)||r.era===1?i.year:1-i.year;return n.setFullYear(l,0,s.firstWeekContainsDate),n.setHours(0,0,0,0),Cr(n,s)}}class f4 extends ct{constructor(){super(...arguments);le(this,"priority",130);le(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(n,r){return qa(r==="R"?4:r.length,n)}set(n,r,i){const s=lt(n,0);return s.setFullYear(i,0,4),s.setHours(0,0,0,0),Ls(s)}}class p4 extends ct{constructor(){super(...arguments);le(this,"priority",130);le(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(n,r){return qa(r==="u"?4:r.length,n)}set(n,r,i){return n.setFullYear(i,0,1),n.setHours(0,0,0,0),n}}class m4 extends ct{constructor(){super(...arguments);le(this,"priority",120);le(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(n,r,i){switch(r){case"Q":case"QQ":return $t(r.length,n);case"Qo":return i.ordinalNumber(n,{unit:"quarter"});case"QQQ":return i.quarter(n,{width:"abbreviated",context:"formatting"})||i.quarter(n,{width:"narrow",context:"formatting"});case"QQQQQ":return i.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return i.quarter(n,{width:"wide",context:"formatting"})||i.quarter(n,{width:"abbreviated",context:"formatting"})||i.quarter(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=1&&r<=4}set(n,r,i){return n.setMonth((i-1)*3,1),n.setHours(0,0,0,0),n}}class g4 extends ct{constructor(){super(...arguments);le(this,"priority",120);le(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(n,r,i){switch(r){case"q":case"qq":return $t(r.length,n);case"qo":return i.ordinalNumber(n,{unit:"quarter"});case"qqq":return i.quarter(n,{width:"abbreviated",context:"standalone"})||i.quarter(n,{width:"narrow",context:"standalone"});case"qqqqq":return i.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return i.quarter(n,{width:"wide",context:"standalone"})||i.quarter(n,{width:"abbreviated",context:"standalone"})||i.quarter(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=1&&r<=4}set(n,r,i){return n.setMonth((i-1)*3,1),n.setHours(0,0,0,0),n}}class _4 extends ct{constructor(){super(...arguments);le(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);le(this,"priority",110)}parse(n,r,i){const s=a=>a-1;switch(r){case"M":return Ht(Dt(It.month,n),s);case"MM":return Ht($t(2,n),s);case"Mo":return Ht(i.ordinalNumber(n,{unit:"month"}),s);case"MMM":return i.month(n,{width:"abbreviated",context:"formatting"})||i.month(n,{width:"narrow",context:"formatting"});case"MMMMM":return i.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return i.month(n,{width:"wide",context:"formatting"})||i.month(n,{width:"abbreviated",context:"formatting"})||i.month(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=11}set(n,r,i){return n.setMonth(i,1),n.setHours(0,0,0,0),n}}class y4 extends ct{constructor(){super(...arguments);le(this,"priority",110);le(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(n,r,i){const s=a=>a-1;switch(r){case"L":return Ht(Dt(It.month,n),s);case"LL":return Ht($t(2,n),s);case"Lo":return Ht(i.ordinalNumber(n,{unit:"month"}),s);case"LLL":return i.month(n,{width:"abbreviated",context:"standalone"})||i.month(n,{width:"narrow",context:"standalone"});case"LLLLL":return i.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return i.month(n,{width:"wide",context:"standalone"})||i.month(n,{width:"abbreviated",context:"standalone"})||i.month(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=0&&r<=11}set(n,r,i){return n.setMonth(i,1),n.setHours(0,0,0,0),n}}function b4(t,e,n){const r=Ve(t),i=Gc(r,n)-e;return r.setDate(r.getDate()-i*7),r}class w4 extends ct{constructor(){super(...arguments);le(this,"priority",100);le(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(n,r,i){switch(r){case"w":return Dt(It.week,n);case"wo":return i.ordinalNumber(n,{unit:"week"});default:return $t(r.length,n)}}validate(n,r){return r>=1&&r<=53}set(n,r,i,s){return Cr(b4(n,i,s),s)}}function C4(t,e){const n=Ve(t),r=Uc(n)-e;return n.setDate(n.getDate()-r*7),n}class k4 extends ct{constructor(){super(...arguments);le(this,"priority",100);le(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(n,r,i){switch(r){case"I":return Dt(It.week,n);case"Io":return i.ordinalNumber(n,{unit:"week"});default:return $t(r.length,n)}}validate(n,r){return r>=1&&r<=53}set(n,r,i){return Ls(C4(n,i))}}const v4=[31,28,31,30,31,30,31,31,30,31,30,31],x4=[31,29,31,30,31,30,31,31,30,31,30,31];class S4 extends ct{constructor(){super(...arguments);le(this,"priority",90);le(this,"subPriority",1);le(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(n,r,i){switch(r){case"d":return Dt(It.date,n);case"do":return i.ordinalNumber(n,{unit:"date"});default:return $t(r.length,n)}}validate(n,r){const i=n.getFullYear(),s=K1(i),a=n.getMonth();return s?r>=1&&r<=x4[a]:r>=1&&r<=v4[a]}set(n,r,i){return n.setDate(i),n.setHours(0,0,0,0),n}}class M4 extends ct{constructor(){super(...arguments);le(this,"priority",90);le(this,"subpriority",1);le(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(n,r,i){switch(r){case"D":case"DD":return Dt(It.dayOfYear,n);case"Do":return i.ordinalNumber(n,{unit:"date"});default:return $t(r.length,n)}}validate(n,r){const i=n.getFullYear();return K1(i)?r>=1&&r<=366:r>=1&&r<=365}set(n,r,i){return n.setMonth(0,i),n.setHours(0,0,0,0),n}}function Jc(t,e,n){var p,g,w,C;const r=Gi(),i=(n==null?void 0:n.weekStartsOn)??((g=(p=n==null?void 0:n.locale)==null?void 0:p.options)==null?void 0:g.weekStartsOn)??r.weekStartsOn??((C=(w=r.locale)==null?void 0:w.options)==null?void 0:C.weekStartsOn)??0,s=Ve(t),a=s.getDay(),c=(e%7+7)%7,u=7-i,h=e<0||e>6?e-(a+u)%7:(c+u)%7-(a+u)%7;return or(s,h)}class T4 extends ct{constructor(){super(...arguments);le(this,"priority",90);le(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(n,r,i){switch(r){case"E":case"EE":case"EEE":return i.day(n,{width:"abbreviated",context:"formatting"})||i.day(n,{width:"short",context:"formatting"})||i.day(n,{width:"narrow",context:"formatting"});case"EEEEE":return i.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(n,{width:"short",context:"formatting"})||i.day(n,{width:"narrow",context:"formatting"});case"EEEE":default:return i.day(n,{width:"wide",context:"formatting"})||i.day(n,{width:"abbreviated",context:"formatting"})||i.day(n,{width:"short",context:"formatting"})||i.day(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=6}set(n,r,i,s){return n=Jc(n,i,s),n.setHours(0,0,0,0),n}}class D4 extends ct{constructor(){super(...arguments);le(this,"priority",90);le(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(n,r,i,s){const a=l=>{const c=Math.floor((l-1)/7)*7;return(l+s.weekStartsOn+6)%7+c};switch(r){case"e":case"ee":return Ht($t(r.length,n),a);case"eo":return Ht(i.ordinalNumber(n,{unit:"day"}),a);case"eee":return i.day(n,{width:"abbreviated",context:"formatting"})||i.day(n,{width:"short",context:"formatting"})||i.day(n,{width:"narrow",context:"formatting"});case"eeeee":return i.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(n,{width:"short",context:"formatting"})||i.day(n,{width:"narrow",context:"formatting"});case"eeee":default:return i.day(n,{width:"wide",context:"formatting"})||i.day(n,{width:"abbreviated",context:"formatting"})||i.day(n,{width:"short",context:"formatting"})||i.day(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=6}set(n,r,i,s){return n=Jc(n,i,s),n.setHours(0,0,0,0),n}}class P4 extends ct{constructor(){super(...arguments);le(this,"priority",90);le(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(n,r,i,s){const a=l=>{const c=Math.floor((l-1)/7)*7;return(l+s.weekStartsOn+6)%7+c};switch(r){case"c":case"cc":return Ht($t(r.length,n),a);case"co":return Ht(i.ordinalNumber(n,{unit:"day"}),a);case"ccc":return i.day(n,{width:"abbreviated",context:"standalone"})||i.day(n,{width:"short",context:"standalone"})||i.day(n,{width:"narrow",context:"standalone"});case"ccccc":return i.day(n,{width:"narrow",context:"standalone"});case"cccccc":return i.day(n,{width:"short",context:"standalone"})||i.day(n,{width:"narrow",context:"standalone"});case"cccc":default:return i.day(n,{width:"wide",context:"standalone"})||i.day(n,{width:"abbreviated",context:"standalone"})||i.day(n,{width:"short",context:"standalone"})||i.day(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=0&&r<=6}set(n,r,i,s){return n=Jc(n,i,s),n.setHours(0,0,0,0),n}}function O4(t,e){const n=Ve(t),r=s4(n),i=e-r;return or(n,i)}class E4 extends ct{constructor(){super(...arguments);le(this,"priority",90);le(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(n,r,i){const s=a=>a===0?7:a;switch(r){case"i":case"ii":return $t(r.length,n);case"io":return i.ordinalNumber(n,{unit:"day"});case"iii":return Ht(i.day(n,{width:"abbreviated",context:"formatting"})||i.day(n,{width:"short",context:"formatting"})||i.day(n,{width:"narrow",context:"formatting"}),s);case"iiiii":return Ht(i.day(n,{width:"narrow",context:"formatting"}),s);case"iiiiii":return Ht(i.day(n,{width:"short",context:"formatting"})||i.day(n,{width:"narrow",context:"formatting"}),s);case"iiii":default:return Ht(i.day(n,{width:"wide",context:"formatting"})||i.day(n,{width:"abbreviated",context:"formatting"})||i.day(n,{width:"short",context:"formatting"})||i.day(n,{width:"narrow",context:"formatting"}),s)}}validate(n,r){return r>=1&&r<=7}set(n,r,i){return n=O4(n,i),n.setHours(0,0,0,0),n}}class L4 extends ct{constructor(){super(...arguments);le(this,"priority",80);le(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(n,r,i){switch(r){case"a":case"aa":case"aaa":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"})||i.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaaa":return i.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return i.dayPeriod(n,{width:"wide",context:"formatting"})||i.dayPeriod(n,{width:"abbreviated",context:"formatting"})||i.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,i){return n.setHours(Qc(i),0,0,0),n}}class $4 extends ct{constructor(){super(...arguments);le(this,"priority",80);le(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(n,r,i){switch(r){case"b":case"bb":case"bbb":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"})||i.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbbb":return i.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return i.dayPeriod(n,{width:"wide",context:"formatting"})||i.dayPeriod(n,{width:"abbreviated",context:"formatting"})||i.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,i){return n.setHours(Qc(i),0,0,0),n}}class V4 extends ct{constructor(){super(...arguments);le(this,"priority",80);le(this,"incompatibleTokens",["a","b","t","T"])}parse(n,r,i){switch(r){case"B":case"BB":case"BBB":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"})||i.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBBB":return i.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return i.dayPeriod(n,{width:"wide",context:"formatting"})||i.dayPeriod(n,{width:"abbreviated",context:"formatting"})||i.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,i){return n.setHours(Qc(i),0,0,0),n}}class N4 extends ct{constructor(){super(...arguments);le(this,"priority",70);le(this,"incompatibleTokens",["H","K","k","t","T"])}parse(n,r,i){switch(r){case"h":return Dt(It.hour12h,n);case"ho":return i.ordinalNumber(n,{unit:"hour"});default:return $t(r.length,n)}}validate(n,r){return r>=1&&r<=12}set(n,r,i){const s=n.getHours()>=12;return s&&i<12?n.setHours(i+12,0,0,0):!s&&i===12?n.setHours(0,0,0,0):n.setHours(i,0,0,0),n}}class B4 extends ct{constructor(){super(...arguments);le(this,"priority",70);le(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(n,r,i){switch(r){case"H":return Dt(It.hour23h,n);case"Ho":return i.ordinalNumber(n,{unit:"hour"});default:return $t(r.length,n)}}validate(n,r){return r>=0&&r<=23}set(n,r,i){return n.setHours(i,0,0,0),n}}class A4 extends ct{constructor(){super(...arguments);le(this,"priority",70);le(this,"incompatibleTokens",["h","H","k","t","T"])}parse(n,r,i){switch(r){case"K":return Dt(It.hour11h,n);case"Ko":return i.ordinalNumber(n,{unit:"hour"});default:return $t(r.length,n)}}validate(n,r){return r>=0&&r<=11}set(n,r,i){return n.getHours()>=12&&i<12?n.setHours(i+12,0,0,0):n.setHours(i,0,0,0),n}}class R4 extends ct{constructor(){super(...arguments);le(this,"priority",70);le(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(n,r,i){switch(r){case"k":return Dt(It.hour24h,n);case"ko":return i.ordinalNumber(n,{unit:"hour"});default:return $t(r.length,n)}}validate(n,r){return r>=1&&r<=24}set(n,r,i){const s=i<=24?i%24:i;return n.setHours(s,0,0,0),n}}class F4 extends ct{constructor(){super(...arguments);le(this,"priority",60);le(this,"incompatibleTokens",["t","T"])}parse(n,r,i){switch(r){case"m":return Dt(It.minute,n);case"mo":return i.ordinalNumber(n,{unit:"minute"});default:return $t(r.length,n)}}validate(n,r){return r>=0&&r<=59}set(n,r,i){return n.setMinutes(i,0,0),n}}class I4 extends ct{constructor(){super(...arguments);le(this,"priority",50);le(this,"incompatibleTokens",["t","T"])}parse(n,r,i){switch(r){case"s":return Dt(It.second,n);case"so":return i.ordinalNumber(n,{unit:"second"});default:return $t(r.length,n)}}validate(n,r){return r>=0&&r<=59}set(n,r,i){return n.setSeconds(i,0),n}}class H4 extends ct{constructor(){super(...arguments);le(this,"priority",30);le(this,"incompatibleTokens",["t","T"])}parse(n,r){const i=s=>Math.trunc(s*Math.pow(10,-r.length+3));return Ht($t(r.length,n),i)}set(n,r,i){return n.setMilliseconds(i),n}}class z4 extends ct{constructor(){super(...arguments);le(this,"priority",10);le(this,"incompatibleTokens",["t","T","x"])}parse(n,r){switch(r){case"X":return Sr(xr.basicOptionalMinutes,n);case"XX":return Sr(xr.basic,n);case"XXXX":return Sr(xr.basicOptionalSeconds,n);case"XXXXX":return Sr(xr.extendedOptionalSeconds,n);case"XXX":default:return Sr(xr.extended,n)}}set(n,r,i){return r.timestampIsSet?n:lt(n,n.getTime()-Wa(n)-i)}}class j4 extends ct{constructor(){super(...arguments);le(this,"priority",10);le(this,"incompatibleTokens",["t","T","X"])}parse(n,r){switch(r){case"x":return Sr(xr.basicOptionalMinutes,n);case"xx":return Sr(xr.basic,n);case"xxxx":return Sr(xr.basicOptionalSeconds,n);case"xxxxx":return Sr(xr.extendedOptionalSeconds,n);case"xxx":default:return Sr(xr.extended,n)}}set(n,r,i){return r.timestampIsSet?n:lt(n,n.getTime()-Wa(n)-i)}}class Y4 extends ct{constructor(){super(...arguments);le(this,"priority",40);le(this,"incompatibleTokens","*")}parse(n){return Z1(n)}set(n,r,i){return[lt(n,i*1e3),{timestampIsSet:!0}]}}class W4 extends ct{constructor(){super(...arguments);le(this,"priority",20);le(this,"incompatibleTokens","*")}parse(n){return Z1(n)}set(n,r,i){return[lt(n,i),{timestampIsSet:!0}]}}const q4={G:new d4,y:new u4,Y:new h4,R:new f4,u:new p4,Q:new m4,q:new g4,M:new _4,L:new y4,w:new w4,I:new k4,d:new S4,D:new M4,E:new T4,e:new D4,c:new P4,i:new E4,a:new L4,b:new $4,B:new V4,h:new N4,H:new B4,K:new A4,k:new R4,m:new F4,s:new I4,S:new H4,X:new z4,x:new j4,t:new Y4,T:new W4},U4=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Z4=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,G4=/^'([^]*?)'?$/,K4=/''/g,X4=/\S/,Q4=/[a-zA-Z]/;function ed(t,e,n,r){var b,x,M,L,P,$,V,F;const i=i4(),s=(r==null?void 0:r.locale)??i.locale??F1,a=(r==null?void 0:r.firstWeekContainsDate)??((x=(b=r==null?void 0:r.locale)==null?void 0:b.options)==null?void 0:x.firstWeekContainsDate)??i.firstWeekContainsDate??((L=(M=i.locale)==null?void 0:M.options)==null?void 0:L.firstWeekContainsDate)??1,l=(r==null?void 0:r.weekStartsOn)??(($=(P=r==null?void 0:r.locale)==null?void 0:P.options)==null?void 0:$.weekStartsOn)??i.weekStartsOn??((F=(V=i.locale)==null?void 0:V.options)==null?void 0:F.weekStartsOn)??0;if(e==="")return t===""?Ve(n):lt(n,NaN);const c={firstWeekContainsDate:a,weekStartsOn:l,locale:s},u=[new c4],h=e.match(Z4).map(m=>{const R=m[0];if(R in Kc){const B=Kc[R];return B(m,s.formatLong)}return m}).join("").match(U4),p=[];for(let m of h){!(r!=null&&r.useAdditionalWeekYearTokens)&&q1(m)&&Xc(m,e,t),!(r!=null&&r.useAdditionalDayOfYearTokens)&&W1(m)&&Xc(m,e,t);const R=m[0],B=q4[R];if(B){const{incompatibleTokens:ne}=B;if(Array.isArray(ne)){const W=p.find(j=>ne.includes(j.token)||j.token===R);if(W)throw new RangeError(`The format string mustn't contain \`${W.fullToken}\` and \`${m}\` at the same time`)}else if(B.incompatibleTokens==="*"&&p.length>0)throw new RangeError(`The format string mustn't contain \`${m}\` and any other token at the same time`);p.push({token:R,fullToken:m});const ce=B.run(t,m,s.match,c);if(!ce)return lt(n,NaN);u.push(ce.setter),t=ce.rest}else{if(R.match(Q4))throw new RangeError("Format string contains an unescaped latin alphabet character `"+R+"`");if(m==="''"?m="'":R==="'"&&(m=J4(m)),t.indexOf(m)===0)t=t.slice(m.length);else return lt(n,NaN)}}if(t.length>0&&X4.test(t))return lt(n,NaN);const g=u.map(m=>m.priority).sort((m,R)=>R-m).filter((m,R,B)=>B.indexOf(m)===R).map(m=>u.filter(R=>R.priority===m).sort((R,B)=>B.subPriority-R.subPriority)).map(m=>m[0]);let w=Ve(n);if(isNaN(w.getTime()))return lt(n,NaN);const C={};for(const m of g){if(!m.validate(w,c))return lt(n,NaN);const R=m.set(w,C,c);Array.isArray(R)?(w=R[0],Object.assign(C,R[1])):w=R}return lt(n,w)}function J4(t){return t.match(G4)[1].replace(K4,"'")}function X1(t,e){const n=Ki(t),r=Ki(e);return+n==+r}function e9(t,e){return or(t,-e)}function Q1(t,e){const n=Ve(t),r=n.getFullYear(),i=n.getDate(),s=lt(t,0);s.setFullYear(r,e,15),s.setHours(0,0,0,0);const a=r4(s);return n.setMonth(e,Math.min(i,a)),n}function yt(t,e){let n=Ve(t);return isNaN(+n)?lt(t,NaN):(e.year!=null&&n.setFullYear(e.year),e.month!=null&&(n=Q1(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 J1(t,e){const n=Ve(t);return n.setHours(e),n}function td(t,e){const n=Ve(t);return n.setMilliseconds(e),n}function ef(t,e){const n=Ve(t);return n.setMinutes(e),n}function nd(t,e){const n=Ve(t);return n.setSeconds(e),n}function Mr(t,e){const n=Ve(t);return isNaN(+n)?lt(t,NaN):(n.setFullYear(e),n)}function Bs(t,e){return ar(t,-e)}function t9(t,e){const{years:n=0,months:r=0,weeks:i=0,days:s=0,hours:a=0,minutes:l=0,seconds:c=0}=e,u=Bs(t,r+n*12),h=e9(u,s+i*7),p=l+a*60,w=(c+p*60)*1e3;return lt(t,h.getTime()-w)}function tf(t,e){return Wc(t,-e)}function As(){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"})])}As.compatConfig={MODE:3};function nf(){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"})])}nf.compatConfig={MODE:3};function rd(){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"})])}rd.compatConfig={MODE:3};function id(){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"})])}id.compatConfig={MODE:3};function sd(){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"})])}sd.compatConfig={MODE:3};function od(){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"})])}od.compatConfig={MODE:3};function ad(){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"})])}ad.compatConfig={MODE:3};function rf(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 n9(t){return e=>kr(new Date(`2017-01-0${e}T00:00:00+00:00`),"EEEEEE",{locale:t})}const r9=(t,e,n)=>{const r=[1,2,3,4,5,6,7];let i;if(t!==null)try{i=r.map(n9(t))}catch{i=r.map(rf(e))}else i=r.map(rf(e));const s=i.slice(0,n),a=i.slice(n+1,i.length);return[i[n]].concat(...a).concat(...s)},ld=(t,e,n)=>{const r=[];for(let i=+t[0];i<=+t[1];i++)r.push({value:+i,text:df(i,e)});return n?r.reverse():r},sf=(t,e,n)=>{const r=[1,2,3,4,5,6,7,8,9,10,11,12].map(s=>{const a=s<10?`0${s}`:s;return new Date(`2017-${a}-01T00:00:00+00:00`)});if(t!==null)try{const s=n==="long"?"MMMM":"MMM";return r.map((a,l)=>{const c=kr(a,s,{locale:t});return{text:c.charAt(0).toUpperCase()+c.substring(1),value:l}})}catch{}const i=new Intl.DateTimeFormat(e,{month:n,timeZone:"UTC"});return r.map((s,a)=>{const l=i.format(s);return{text:l.charAt(0).toUpperCase()+l.substring(1),value:a}})},i9=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],Kt=t=>{const e=o.unref(t);return e!=null&&e.$el?e==null?void 0:e.$el:e},s9=t=>({type:"dot",...t??{}}),of=t=>Array.isArray(t)?!!t[0]&&!!t[1]:!1,cd={prop:t=>`"${t}" prop must be enabled!`,dateArr:t=>`You need to use array as "model-value" binding in order to support "${t}"`},Jt=t=>t,af=t=>t===0?t:!t||isNaN(+t)?null:+t,lf=t=>t===null,cf=t=>{if(t)return[...t.querySelectorAll("input, button, select, textarea, a[href]")][0]},o9=t=>{const e=[],n=r=>r.filter(i=>i);for(let r=0;r<t.length;r+=3){const i=[t[r],t[r+1],t[r+2]];e.push(n(i))}return e},Lo=(t,e,n)=>{const r=n!=null,i=e!=null;if(!r&&!i)return!1;const s=+n,a=+e;return r&&i?+t>s||+t<a:r?+t>s:i?+t<a:!1},Rs=(t,e)=>o9(t).map(n=>n.map(r=>{const{active:i,disabled:s,isBetween:a,highlighted:l}=e(r);return{...r,active:i,disabled:s,className:{dp__overlay_cell_active:i,dp__overlay_cell:!i,dp__overlay_cell_disabled:s,dp__overlay_cell_pad:!0,dp__overlay_cell_active_disabled:s&&i,dp__cell_in_between:a,"dp--highlighted":l}}})),bi=(t,e,n=!1)=>{t&&e.allowStopPropagation&&(n&&t.stopImmediatePropagation(),t.stopPropagation())},a9=()=>["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 l9(t,e){let n=[...document.querySelectorAll(a9())];n=n.filter(i=>!t.contains(i)||i.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 c9=(t,e)=>t==null?void 0:t.querySelector(`[data-dp-element="${e}"]`),df=(t,e)=>new Intl.NumberFormat(e,{useGrouping:!1,style:"decimal"}).format(t),dd=t=>kr(t,"dd-MM-yyyy"),ud=t=>Array.isArray(t),Ua=(t,e)=>e.get(dd(t)),d9=(t,e)=>t?e?e instanceof Map?!!Ua(t,e):e(pe(t)):!1:!0,uf=(t,e,n,r,i,s)=>{const a=ed(t,e.slice(0,t.length),new Date,{locale:s});return To(a)&&V1(a)?r||i?a:yt(a,{hours:+n.hours,minutes:+(n==null?void 0:n.minutes),seconds:+(n==null?void 0:n.seconds),milliseconds:0}):null},u9=(t,e,n,r,i,s)=>{const a=Array.isArray(n)?n[0]:n;if(typeof e=="string")return uf(t,e,a,r,i,s);if(Array.isArray(e)){let l=null;for(const c of e)if(l=uf(t,c,a,r,i,s),l)break;return l}return typeof e=="function"?e(t):null},pe=t=>t?new Date(t):new Date,h9=(t,e,n)=>{if(e){const i=(t.getMonth()+1).toString().padStart(2,"0"),s=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()}-${i}-${s}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()},Pn=t=>{let e=pe(JSON.parse(JSON.stringify(t)));return e=J1(e,0),e=ef(e,0),e=nd(e,0),e=td(e,0),e},wi=(t,e,n,r)=>{let i=t?pe(t):pe();return(e||e===0)&&(i=J1(i,+e)),(n||n===0)&&(i=ef(i,+n)),(r||r===0)&&(i=nd(i,+r)),td(i,0)},Vt=(t,e)=>!t||!e?!1:Eo(Pn(t),Pn(e)),Je=(t,e)=>!t||!e?!1:Ns(Pn(t),Pn(e)),zt=(t,e)=>!t||!e?!1:Oo(Pn(t),Pn(e)),Za=(t,e,n)=>t!=null&&t[0]&&t!=null&&t[1]?zt(n,t[0])&&Vt(n,t[1]):t!=null&&t[0]&&e?zt(n,t[0])&&Vt(n,e)||Vt(n,t[0])&&zt(n,e):!1,cr=t=>{const e=yt(new Date(t),{date:1});return Pn(e)},hd=(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},Qi=t=>({hours:lr(t),minutes:vr(t),seconds:Vs(t)}),hf=(t,e)=>{if(e){const n=Ye(pe(e));if(n>t)return 12;if(n===t)return Xe(pe(e))}},ff=(t,e)=>{if(e){const n=Ye(pe(e));return n<t?-1:n===t?Xe(pe(e)):void 0}},Fs=t=>{if(t)return Ye(pe(t))},pf=(t,e)=>{const n=zt(t,e)?e:t,r=zt(e,t)?e:t;return B1({start:n,end:r})},f9=t=>{const e=ar(t,1);return{month:Xe(e),year:Ye(e)}},Ur=(t,e)=>{const n=Cr(t,{weekStartsOn:+e}),r=h5(t,{weekStartsOn:+e});return[n,r]},mf=(t,e)=>{const n={hours:lr(pe()),minutes:vr(pe()),seconds:e?Vs(pe()):0};return Object.assign(n,t)},Ci=(t,e,n)=>[yt(pe(t),{date:1}),yt(pe(),{month:e,year:n,date:1})],Zr=(t,e,n)=>{let r=t?pe(t):pe();return(e||e===0)&&(r=Q1(r,e)),n&&(r=Mr(r,n)),r},gf=(t,e,n,r,i)=>{if(!r||i&&!e||!i&&!n)return!1;const s=i?ar(t,1):Bs(t,1),a=[Xe(s),Ye(s)];return i?!m9(...a,e):!p9(...a,n)},p9=(t,e,n)=>Vt(...Ci(n,t,e))||Je(...Ci(n,t,e)),m9=(t,e,n)=>zt(...Ci(n,t,e))||Je(...Ci(n,t,e)),_f=(t,e,n,r,i,s,a)=>{if(typeof e=="function"&&!a)return e(t);const l=n?{locale:n}:void 0;return Array.isArray(t)?`${kr(t[0],s,l)}${i&&!t[1]?"":r}${t[1]?kr(t[1],s,l):""}`:kr(t,s,l)},Is=t=>{if(t)return null;throw new Error(cd.prop("partial-range"))},Ga=(t,e)=>{if(e)return t();throw new Error(cd.prop("range"))},fd=t=>Array.isArray(t)?To(t[0])&&(t[1]?To(t[1]):!0):t?To(t):!1,g9=(t,e)=>yt(e??pe(),{hours:+t.hours||0,minutes:+t.minutes||0,seconds:+t.seconds||0}),pd=(t,e,n,r)=>{if(!t)return!0;if(r){const i=n==="max"?Eo(t,e):Oo(t,e),s={seconds:0,milliseconds:0};return i||Ns(yt(t,s),yt(e,s))}return n==="max"?t.getTime()<=e.getTime():t.getTime()>=e.getTime()},md=(t,e,n)=>t?g9(t,e):pe(n??e),yf=(t,e,n,r,i)=>{if(Array.isArray(r)){const a=md(t,r[0],e),l=md(t,r[1],e);return pd(r[0],a,n,!!e)&&pd(r[1],l,n,!!e)&&i}const s=md(t,r,e);return pd(r,s,n,!!e)&&i},gd=t=>yt(pe(),Qi(t)),_9=(t,e)=>t instanceof Map?Array.from(t.values()).filter(n=>Ye(pe(n))===e).map(n=>Xe(n)):[],bf=(t,e,n)=>typeof t=="function"?t({month:e,year:n}):!!t.months.find(r=>r.month===e&&r.year===n),_d=(t,e)=>typeof t=="function"?t(e):t.years.includes(e),$o=o.reactive({menuFocused:!1,shiftKeyInMenu:!1}),wf=()=>{const t=n=>{$o.menuFocused=n},e=n=>{$o.shiftKeyInMenu!==n&&($o.shiftKeyInMenu=n)};return{control:o.computed(()=>({shiftKeyInMenu:$o.shiftKeyInMenu,menuFocused:$o.menuFocused})),setMenuFocused:t,setShiftKey:e}},Ct=o.reactive({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),yd=o.ref(null),Ka=o.ref(!1),bd=o.ref(!1),wd=o.ref(!1),Cd=o.ref(!1),an=o.ref(0),jt=o.ref(0),ki=()=>{const t=o.computed(()=>Ka.value?[...Ct.selectionGrid,Ct.actionRow].filter(p=>p.length):bd.value?[...Ct.timePicker[0],...Ct.timePicker[1],Cd.value?[]:[yd.value],Ct.actionRow].filter(p=>p.length):wd.value?[...Ct.monthPicker,Ct.actionRow]:[Ct.monthYear,...Ct.calendar,Ct.time,Ct.actionRow].filter(p=>p.length)),e=p=>{an.value=p?an.value+1:an.value-1;let g=null;t.value[jt.value]&&(g=t.value[jt.value][an.value]),!g&&t.value[jt.value+(p?1:-1)]?(jt.value=jt.value+(p?1:-1),an.value=p?0:t.value[jt.value].length-1):g||(an.value=p?an.value-1:an.value+1)},n=p=>{jt.value===0&&!p||jt.value===t.value.length&&p||(jt.value=p?jt.value+1:jt.value-1,t.value[jt.value]?t.value[jt.value]&&!t.value[jt.value][an.value]&&an.value!==0&&(an.value=t.value[jt.value].length-1):jt.value=p?jt.value-1:jt.value+1)},r=p=>{let g=null;t.value[jt.value]&&(g=t.value[jt.value][an.value]),g?g.focus({preventScroll:!Ka.value}):an.value=p?an.value-1:an.value+1},i=()=>{e(!0),r(!0)},s=()=>{e(!1),r(!1)},a=()=>{n(!1),r(!0)},l=()=>{n(!0),r(!0)},c=(p,g)=>{Ct[g]=p},u=(p,g)=>{Ct[g]=p},h=()=>{an.value=0,jt.value=0};return{buildMatrix:c,buildMultiLevelMatrix:u,setTimePickerBackRef:p=>{yd.value=p},setSelectionGrid:p=>{Ka.value=p,h(),p||(Ct.selectionGrid=[])},setTimePicker:(p,g=!1)=>{bd.value=p,Cd.value=g,h(),p||(Ct.timePicker[0]=[],Ct.timePicker[1]=[])},setTimePickerElements:(p,g=0)=>{Ct.timePicker[g]=p},arrowRight:i,arrowLeft:s,arrowUp:a,arrowDown:l,clearArrowNav:()=>{Ct.monthYear=[],Ct.calendar=[],Ct.time=[],Ct.actionRow=[],Ct.selectionGrid=[],Ct.timePicker[0]=[],Ct.timePicker[1]=[],Ka.value=!1,bd.value=!1,Cd.value=!1,wd.value=!1,h(),yd.value=null},setMonthPicker:p=>{wd.value=p,h()},refSets:Ct}},Gr=(t,e)=>e?new Date(t.toLocaleString("en-US",{timeZone:e})):new Date(t),Cf=(t,e)=>kd(t,e)||pe(),y9=(t,e)=>e.dateInTz?Gr(new Date(t),e.dateInTz):pe(t),kd=(t,e)=>{if(!t)return null;if(!e)return pe(t);const n=pe(t);return e.exactMatch?y9(t,e):Gr(n,e.timezone)},b9=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})),i=r.getTimezoneOffset()/60;return(+n-+r)/(1e3*60*60)-i},kf=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??{}}),w9=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??{}}),vf=t=>t?typeof t=="boolean"?t?2:0:+t>=2?+t:2:0,C9=t=>{const e=typeof t=="object"&&t,n={static:!0,solo:!1};if(!t)return{...n,count:vf(!1)};const r=e?t:{},i=e?r.count??!0:t,s=vf(i);return Object.assign(n,r,{count:s})},k9=(t,e,n)=>t||(typeof n=="string"?n:e),v9=t=>typeof t=="boolean"?t?kf({}):!1:kf(t),x9=t=>{const e={enterSubmit:!0,tabSubmit:!0,openMenu:!0,selectOnFocus:!1,rangeSeparator:" - "};return typeof t=="object"?{...e,...t??{},enabled:!0}:{...e,enabled:t}},S9=t=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...t??{}}),M9=t=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...t??{}}),T9=t=>{const e={input:!1};return typeof t=="object"?{...e,...t??{},enabled:!0}:{enabled:t,...e}},D9=t=>({allowStopPropagation:!0,closeOnScroll:!1,modeHeight:255,allowPreventDefault:!1,closeOnClearValue:!0,closeOnAutoApply:!0,noSwipe:!1,keepActionRow:!1,onClickOutside:void 0,tabOutClosesMenu:!0,...t??{}}),P9=t=>{const e={dates:Array.isArray(t)?t.map(n=>pe(n)):[],years:[],months:[],quarters:[],weeks:[],weekdays:[],options:{highlightDisabled:!1}};return typeof t=="function"?t:{...e,...t??{}}},O9=t=>typeof t=="object"?{type:(t==null?void 0:t.type)??"local",hideOnOffsetDates:(t==null?void 0:t.hideOnOffsetDates)??!1}:{type:t,hideOnOffsetDates:!1},E9=(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},L9=(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},vd=(t,e)=>new Map(t.map(n=>{const r=Cf(n,e);return[dd(r),r]})),$9=(t,e)=>t.length?new Map(t.map(n=>{const r=Cf(n.date,e);return[dd(r),n]})):null,V9=(t,e,n,r,i,s,a)=>({minDate:kd(t,a),maxDate:kd(e,a),disabledDates:ud(n)?vd(n,a):n,allowedDates:ud(r)?vd(r,a):null,highlight:typeof i=="object"&&ud(i==null?void 0:i.dates)?vd(i.dates,a):i,markers:$9(s,a)}),N9=(t,e)=>typeof t=="boolean"?{enabled:t,dragSelect:!0,limit:+e}:{enabled:!!t,limit:t.limit?+t.limit:null,dragSelect:t.dragSelect??!0},Pt=t=>{const e=()=>{const V=t.enableSeconds?":ss":"";return t.is24?`HH:mm${V}`:`hh:mm${V} aa`},n=()=>{var V;return t.format?t.format:t.monthPicker?"MM/yyyy":t.timePicker?e():t.weekPicker?`${((V=x.value)==null?void 0:V.type)==="iso"?"RR":"ww"}-yyyy`:t.yearPicker?"yyyy":t.quarterPicker?"QQQ/yyyy":t.enableTimePicker?`MM/dd/yyyy, ${e()}`:"MM/dd/yyyy"},r=V=>mf(V,t.enableSeconds),i=()=>$.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,s=o.computed(()=>C9(t.multiCalendars)),a=o.computed(()=>i()),l=o.computed(()=>w9(t.ariaLabels)),c=o.computed(()=>S9(t.filters)),u=o.computed(()=>v9(t.transitions)),h=o.computed(()=>M9(t.actionRow)),p=o.computed(()=>k9(t.previewFormat,t.format,n())),g=o.computed(()=>x9(t.textInput)),w=o.computed(()=>T9(t.inline)),C=o.computed(()=>D9(t.config)),b=o.computed(()=>P9(t.highlight)),x=o.computed(()=>O9(t.weekNumbers)),M=o.computed(()=>L9(t.timezone,t.emitTimezone)),L=o.computed(()=>N9(t.multiDates,t.multiDatesLimit)),P=o.computed(()=>V9(t.minDate,t.maxDate,t.disabledDates,t.allowedDates,b.value,t.markers,M.value)),$=o.computed(()=>E9(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:u,defaultedMultiCalendars:s,defaultedStartTime:a,defaultedAriaLabels:l,defaultedFilters:c,defaultedActionRow:h,defaultedPreviewFormat:p,defaultedTextInput:g,defaultedInline:w,defaultedConfig:C,defaultedHighlight:b,defaultedWeekNumbers:x,defaultedRange:$,propDates:P,defaultedTz:M,defaultedMultiDates:L,getDefaultPattern:n,getDefaultStartTime:i}},B9=(t,e,n)=>{const r=o.ref(),{defaultedTextInput:i,defaultedRange:s,defaultedTz:a,defaultedMultiDates:l,getDefaultPattern:c}=Pt(e),u=o.ref(""),h=o.toRef(e,"format");o.watch(r,()=>{t("internal-model-change",r.value)},{deep:!0}),o.watch(h,()=>{U()});const p=T=>a.value.timezone&&a.value.convertModel?Gr(T,a.value.timezone):T,g=T=>{if(a.value.timezone&&a.value.convertModel){const J=b9(a.value.timezone);return o5(T,J)}return T},w=(T,J,ie=!1)=>_f(T,e.format,e.formatLocale,i.value.rangeSeparator,e.modelAuto,J??c(),ie),C=T=>T?e.modelType?be(T):{hours:lr(T),minutes:vr(T),seconds:e.enableSeconds?Vs(T):0}:null,b=T=>e.modelType?be(T):{month:Xe(T),year:Ye(T)},x=T=>Array.isArray(T)?l.value.enabled?T.map(J=>M(J,Mr(pe(),J))):Ga(()=>[Mr(pe(),T[0]),T[1]?Mr(pe(),T[1]):Is(s.value.partialRange)],s.value.enabled):Mr(pe(),+T),M=(T,J)=>(typeof T=="string"||typeof T=="number")&&e.modelType?de(T):J,L=T=>Array.isArray(T)?[M(T[0],wi(null,+T[0].hours,+T[0].minutes,T[0].seconds)),M(T[1],wi(null,+T[1].hours,+T[1].minutes,T[1].seconds))]:M(T,wi(null,T.hours,T.minutes,T.seconds)),P=T=>{const J=yt(pe(),{date:1});return Array.isArray(T)?l.value.enabled?T.map(ie=>M(ie,Zr(J,+ie.month,+ie.year))):Ga(()=>[M(T[0],Zr(J,+T[0].month,+T[0].year)),M(T[1],T[1]?Zr(J,+T[1].month,+T[1].year):Is(s.value.partialRange))],s.value.enabled):M(T,Zr(J,+T.month,+T.year))},$=T=>{if(Array.isArray(T))return T.map(J=>de(J));throw new Error(cd.dateArr("multi-dates"))},V=T=>{if(Array.isArray(T)&&s.value.enabled){const J=T[0],ie=T[1];return[pe(Array.isArray(J)?J[0]:null),pe(Array.isArray(ie)?ie[0]:null)]}return pe(T[0])},F=T=>e.modelAuto?Array.isArray(T)?[de(T[0]),de(T[1])]:e.autoApply?[de(T)]:[de(T),null]:Array.isArray(T)?Ga(()=>T[1]?[de(T[0]),T[1]?de(T[1]):Is(s.value.partialRange)]:[de(T[0])],s.value.enabled):de(T),m=()=>{Array.isArray(r.value)&&s.value.enabled&&r.value.length===1&&r.value.push(Is(s.value.partialRange))},R=()=>{const T=r.value;return[be(T[0]),T[1]?be(T[1]):Is(s.value.partialRange)]},B=()=>r.value[1]?R():be(Jt(r.value[0])),ne=()=>(r.value||[]).map(T=>be(T)),ce=()=>(m(),e.modelAuto?B():l.value.enabled?ne():Array.isArray(r.value)?Ga(()=>R(),s.value.enabled):be(Jt(r.value))),W=T=>!T||Array.isArray(T)&&!T.length?null:e.timePicker?L(Jt(T)):e.monthPicker?P(Jt(T)):e.yearPicker?x(Jt(T)):l.value.enabled?$(Jt(T)):e.weekPicker?V(Jt(T)):F(Jt(T)),j=T=>{const J=W(T);fd(Jt(J))?(r.value=Jt(J),U()):(r.value=null,u.value="")},ue=()=>{const T=J=>kr(J,i.value.format);return`${T(r.value[0])} ${i.value.rangeSeparator} ${r.value[1]?T(r.value[1]):""}`},A=()=>n.value&&r.value?Array.isArray(r.value)?ue():kr(r.value,i.value.format):w(r.value),O=()=>r.value?l.value.enabled?r.value.map(T=>w(T)).join("; "):i.value.enabled&&typeof i.value.format=="string"?A():w(r.value):"",U=()=>{!e.format||typeof e.format=="string"||i.value.enabled&&typeof i.value.format=="string"?u.value=O():u.value=e.format(r.value)},de=T=>{if(e.utc){const J=new Date(T);return e.utc==="preserve"?new Date(J.getTime()+J.getTimezoneOffset()*6e4):J}return e.modelType?e.modelType==="date"||e.modelType==="timestamp"?p(new Date(T)):e.modelType==="format"&&(typeof e.format=="string"||!e.format)?p(ed(T,c(),new Date)):p(ed(T,e.modelType,new Date)):p(new Date(T))},be=T=>T?e.utc?h9(T,e.utc==="preserve",e.enableSeconds):e.modelType?e.modelType==="timestamp"?+g(T):e.modelType==="format"&&(typeof e.format=="string"||!e.format)?w(g(T)):w(g(T),e.modelType,!0):g(T):"",he=(T,J=!1)=>{if(t("update:model-value",T),a.value.emitTimezone&&J){const ie=Array.isArray(T)?T.map(qe=>Gr(Jt(qe),a.value.emitTimezone)):Gr(Jt(T),a.value.emitTimezone);t("update:model-timezone-value",ie)}},q=T=>Array.isArray(r.value)?l.value.enabled?r.value.map(J=>T(J)):[T(r.value[0]),r.value[1]?T(r.value[1]):Is(s.value.partialRange)]:T(Jt(r.value)),X=()=>{if(Array.isArray(r.value)){const T=Ur(r.value[0],e.weekStart),J=r.value[1]?Ur(r.value[1],e.weekStart):[];return[T.map(ie=>pe(ie)),J.map(ie=>pe(ie))]}return Ur(r.value,e.weekStart).map(T=>pe(T))},D=T=>he(Jt(q(T)));return{inputValue:u,internalModelValue:r,checkBeforeEmit:()=>r.value?s.value.enabled?s.value.partialRange?r.value.length>=1:r.value.length===2:!!r.value:!1,parseExternalModelValue:j,formatInputValue:U,emitModelValue:()=>(U(),e.monthPicker?D(b):e.timePicker?D(C):e.yearPicker?D(Ye):e.weekPicker?t("update:model-value",X()):he(ce(),!0))}},A9=(t,e)=>{const{defaultedFilters:n,propDates:r}=Pt(t),{validateMonthYearInRange:i}=xi(t),s=(h,p)=>{let g=h;return n.value.months.includes(Xe(g))?(g=p?ar(h,1):Bs(h,1),s(g,p)):g},a=(h,p)=>{let g=h;return n.value.years.includes(Ye(g))?(g=p?Wc(h,1):tf(h,1),a(g,p)):g},l=(h,p=!1)=>{const g=yt(pe(),{month:t.month,year:t.year});let w=h?ar(g,1):Bs(g,1);t.disableYearSelect&&(w=Mr(w,t.year));let C=Xe(w),b=Ye(w);n.value.months.includes(C)&&(w=s(w,h),C=Xe(w),b=Ye(w)),n.value.years.includes(b)&&(w=a(w,h),b=Ye(w)),i(C,b,h,t.preventMinMaxNavigation)&&c(C,b,p)},c=(h,p,g)=>{e("update-month-year",{month:h,year:p,fromNav:g})},u=o.computed(()=>h=>gf(yt(pe(),{month:t.month,year:t.year}),r.value.maxDate,r.value.minDate,t.preventMinMaxNavigation,h));return{handleMonthYearChange:l,isDisabled:u,updateMonthYear:c}};var Hs=(t=>(t.center="center",t.left="left",t.right="right",t))(Hs||{}),dr=(t=>(t.month="month",t.year="year",t))(dr||{}),Ji=(t=>(t.top="top",t.bottom="bottom",t))(Ji||{}),es=(t=>(t.header="header",t.calendar="calendar",t.timePicker="timePicker",t))(es||{}),Tr=(t=>(t.month="month",t.year="year",t.calendar="calendar",t.time="time",t.minutes="minutes",t.hours="hours",t.seconds="seconds",t))(Tr||{});const R9=({menuRef:t,menuRefInner:e,inputRef:n,pickerWrapperRef:r,inline:i,emit:s,props:a,slots:l})=>{const c=o.ref({}),u=o.ref(!1),h=o.ref({top:"0",left:"0"}),p=o.ref(!1),g=o.toRef(a,"teleportCenter");o.watch(g,()=>{h.value=JSON.parse(JSON.stringify({})),$()});const w=A=>{if(a.teleport){const O=A.getBoundingClientRect();return{left:O.left+window.scrollX,top:O.top+window.scrollY}}return{top:0,left:0}},C=(A,O)=>{h.value.left=`${A+O-c.value.width}px`},b=A=>{h.value.left=`${A}px`},x=(A,O)=>{a.position===Hs.left&&b(A),a.position===Hs.right&&C(A,O),a.position===Hs.center&&(h.value.left=`${A+O/2-c.value.width/2}px`)},M=A=>{const{width:O,height:U}=A.getBoundingClientRect(),{top:de,left:be}=a.altPosition?a.altPosition(A):w(A);return{top:+de,left:+be,width:O,height:U}},L=()=>{h.value.left="50%",h.value.top="50%",h.value.transform="translate(-50%, -50%)",h.value.position="fixed",delete h.value.opacity},P=()=>{const A=Kt(n),{top:O,left:U,transform:de}=a.altPosition(A);h.value={top:`${O}px`,left:`${U}px`,transform:de??""}},$=(A=!0)=>{var O;if(!i.value.enabled){if(g.value)return L();if(a.altPosition!==null)return P();if(A){const U=a.teleport?(O=e.value)==null?void 0:O.$el:t.value;U&&(c.value=U.getBoundingClientRect()),s("recalculate-position")}return ce()}},V=({inputEl:A,left:O,width:U})=>{window.screen.width>768&&!u.value&&x(O,U),R(A)},F=A=>{const{top:O,left:U,height:de,width:be}=M(A);h.value.top=`${de+O+ +a.offset}px`,p.value=!1,u.value||(h.value.left=`${U+be/2-c.value.width/2}px`),V({inputEl:A,left:U,width:be})},m=A=>{const{top:O,left:U,width:de}=M(A);h.value.top=`${O-+a.offset-c.value.height}px`,p.value=!0,V({inputEl:A,left:U,width:de})},R=A=>{if(a.autoPosition){const{left:O,width:U}=M(A),{left:de,right:be}=c.value;if(!u.value){if(Math.abs(de)!==Math.abs(be)){if(de<=0)return u.value=!0,b(O);if(be>=document.documentElement.clientWidth)return u.value=!0,C(O,U)}return x(O,U)}}},B=()=>{const A=Kt(n);if(A){const{height:O}=c.value,{top:U,height:de}=A.getBoundingClientRect(),be=window.innerHeight-U-de,he=U;return O<=be?Ji.bottom:O>be&&O<=he?Ji.top:be>=he?Ji.bottom:Ji.top}return Ji.bottom},ne=A=>B()===Ji.bottom?F(A):m(A),ce=()=>{const A=Kt(n);if(A)return a.autoPosition?ne(A):F(A)},W=function(A){if(A){const O=A.scrollHeight>A.clientHeight,U=window.getComputedStyle(A).overflowY.indexOf("hidden")!==-1;return O&&!U}return!0},j=function(A){return!A||A===document.body||A.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:W(A)?A:j(A.parentNode)},ue=A=>{if(A)switch(a.position){case Hs.left:return{left:0,transform:"translateX(0)"};case Hs.right:return{left:`${A.width}px`,transform:"translateX(-100%)"};default:return{left:`${A.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:p,menuStyle:h,xCorrect:u,setMenuPosition:$,getScrollableParent:j,shadowRender:(A,O)=>{var U,de,be;const he=document.createElement("div"),q=(U=Kt(n))==null?void 0:U.getBoundingClientRect();he.setAttribute("id","dp--temp-container");const X=(de=r.value)!=null&&de.clientWidth?r.value:document.body;X.append(he);const D=ue(q),T=o.h(A,{...O,shadow:!0,style:{opacity:0,position:"absolute",...D}},Object.fromEntries(Object.keys(l).filter(J=>["right-sidebar","left-sidebar"].includes(J)).map(J=>[J,l[J]])));o.render(T,he),c.value=(be=T.el)==null?void 0:be.getBoundingClientRect(),o.render(null,he),X.removeChild(he)}}},vi=[{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"]}],F9=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],I9={all:()=>vi,monthYear:()=>vi.filter(t=>t.use.includes("month-year")),input:()=>F9,timePicker:()=>vi.filter(t=>t.use.includes("time")),action:()=>vi.filter(t=>t.use.includes("action")),calendar:()=>vi.filter(t=>t.use.includes("calendar")),menu:()=>vi.filter(t=>t.use.includes("menu")),shared:()=>vi.filter(t=>t.use.includes("shared")),yearMode:()=>vi.filter(t=>t.use.includes("year-mode"))},On=(t,e,n)=>{const r=[];return I9[e]().forEach(i=>{t[i.name]&&r.push(i.name)}),n!=null&&n.length&&n.forEach(i=>{i.slot&&r.push(i.slot)}),r},Vo=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}},No=(t,e)=>{const{defaultedRange:n,defaultedTz:r}=Pt(t),i=pe(Gr(pe(),r.value.timezone)),s=o.ref([{month:Xe(i),year:Ye(i)}]),a=o.reactive({hours:n.value.enabled?[lr(i),lr(i)]:lr(i),minutes:n.value.enabled?[vr(i),vr(i)]:vr(i),seconds:n.value.enabled?[0,0]:0}),l=o.computed({get:()=>t.internalModelValue,set:h=>{!t.readonly&&!t.disabled&&e("update:internal-model-value",h)}}),c=o.computed(()=>h=>s.value[h]?s.value[h].month:0),u=o.computed(()=>h=>s.value[h]?s.value[h].year:0);return{calendars:s,time:a,modelValue:l,month:c,year:u}},H9=(t,e)=>{const{defaultedMultiCalendars:n,defaultedMultiDates:r,defaultedHighlight:i,defaultedTz:s,propDates:a,defaultedRange:l}=Pt(e),{isDisabled:c}=xi(e),u=o.ref(null),h=o.ref(Gr(new Date,s.value.timezone)),p=D=>{!D.current&&e.hideOffsetDates||(u.value=D.value)},g=()=>{u.value=null},w=D=>Array.isArray(t.value)&&l.value.enabled&&t.value[0]&&u.value?D?zt(u.value,t.value[0]):Vt(u.value,t.value[0]):!0,C=(D,T)=>{const J=()=>t.value?T?t.value[0]||null:t.value[1]:null,ie=t.value&&Array.isArray(t.value)?J():null;return Je(pe(D.value),ie)},b=D=>{const T=Array.isArray(t.value)?t.value[0]:null;return D?!Vt(u.value??null,T):!0},x=(D,T=!0)=>(l.value.enabled||e.weekPicker)&&Array.isArray(t.value)&&t.value.length===2?e.hideOffsetDates&&!D.current?!1:Je(pe(D.value),t.value[T?0:1]):l.value.enabled?C(D,T)&&b(T)||Je(D.value,Array.isArray(t.value)?t.value[0]:null)&&w(T):!1,M=(D,T,J)=>Array.isArray(t.value)&&t.value[0]&&t.value.length===1?D?!1:J?zt(t.value[0],T.value):Vt(t.value[0],T.value):!1,L=D=>!t.value||e.hideOffsetDates&&!D.current?!1:l.value.enabled?e.modelAuto&&Array.isArray(t.value)?Je(D.value,t.value[0]?t.value[0]:h.value):!1:r.value.enabled&&Array.isArray(t.value)?t.value.some(T=>Je(T,D.value)):Je(D.value,t.value?t.value:h.value),P=D=>{if(l.value.autoRange||e.weekPicker){if(u.value){if(e.hideOffsetDates&&!D.current)return!1;const T=or(u.value,+l.value.autoRange),J=Ur(pe(u.value),e.weekStart);return e.weekPicker?Je(J[1],pe(D.value)):Je(T,pe(D.value))}return!1}return!1},$=D=>{if(l.value.autoRange||e.weekPicker){if(u.value){const T=or(u.value,+l.value.autoRange);if(e.hideOffsetDates&&!D.current)return!1;const J=Ur(pe(u.value),e.weekStart);return e.weekPicker?zt(D.value,J[0])&&Vt(D.value,J[1]):zt(D.value,u.value)&&Vt(D.value,T)}return!1}return!1},V=D=>{if(l.value.autoRange||e.weekPicker){if(u.value){if(e.hideOffsetDates&&!D.current)return!1;const T=Ur(pe(u.value),e.weekStart);return e.weekPicker?Je(T[0],D.value):Je(u.value,D.value)}return!1}return!1},F=D=>Za(t.value,u.value,D.value),m=()=>e.modelAuto&&Array.isArray(e.internalModelValue)?!!e.internalModelValue[0]:!1,R=()=>e.modelAuto?of(e.internalModelValue):!0,B=D=>{if(e.weekPicker)return!1;const T=l.value.enabled?!x(D)&&!x(D,!1):!0;return!c(D.value)&&!L(D)&&!(!D.current&&e.hideOffsetDates)&&T},ne=D=>l.value.enabled?e.modelAuto?m()&&L(D):!1:L(D),ce=D=>i.value?d9(D.value,a.value.highlight):!1,W=D=>{const T=c(D.value);return T&&(typeof i.value=="function"?!i.value(D.value,T):!i.value.options.highlightDisabled)},j=D=>{var T;return typeof i.value=="function"?i.value(D.value):(T=i.value.weekdays)==null?void 0:T.includes(D.value.getDay())},ue=D=>(l.value.enabled||e.weekPicker)&&(!(n.value.count>0)||D.current)&&R()&&!(!D.current&&e.hideOffsetDates)&&!L(D)?F(D):!1,A=D=>{const{isRangeStart:T,isRangeEnd:J}=be(D),ie=l.value.enabled?T||J:!1;return{dp__cell_offset:!D.current,dp__pointer:!e.disabled&&!(!D.current&&e.hideOffsetDates)&&!c(D.value),dp__cell_disabled:c(D.value),dp__cell_highlight:!W(D)&&(ce(D)||j(D))&&!ne(D)&&!ie&&!V(D)&&!(ue(D)&&e.weekPicker)&&!J,dp__cell_highlight_active:!W(D)&&(ce(D)||j(D))&&ne(D),dp__today:!e.noToday&&Je(D.value,h.value)&&D.current,"dp--past":Vt(D.value,h.value),"dp--future":zt(D.value,h.value)}},O=D=>({dp__active_date:ne(D),dp__date_hover:B(D)}),U=D=>{if(t.value&&!Array.isArray(t.value)){const T=Ur(t.value,e.weekStart);return{...q(D),dp__range_start:Je(T[0],D.value),dp__range_end:Je(T[1],D.value),dp__range_between_week:zt(D.value,T[0])&&Vt(D.value,T[1])}}return{...q(D)}},de=D=>{if(t.value&&Array.isArray(t.value)){const T=Ur(t.value[0],e.weekStart),J=t.value[1]?Ur(t.value[1],e.weekStart):[];return{...q(D),dp__range_start:Je(T[0],D.value)||Je(J[0],D.value),dp__range_end:Je(T[1],D.value)||Je(J[1],D.value),dp__range_between_week:zt(D.value,T[0])&&Vt(D.value,T[1])||zt(D.value,J[0])&&Vt(D.value,J[1]),dp__range_between:zt(D.value,T[1])&&Vt(D.value,J[0])}}return{...q(D)}},be=D=>{const T=n.value.count>0?D.current&&x(D)&&R():x(D)&&R(),J=n.value.count>0?D.current&&x(D,!1)&&R():x(D,!1)&&R();return{isRangeStart:T,isRangeEnd:J}},he=D=>{const{isRangeStart:T,isRangeEnd:J}=be(D);return{dp__range_start:T,dp__range_end:J,dp__range_between:ue(D),dp__date_hover:B(D),dp__date_hover_start:M(B(D),D,!0),dp__date_hover_end:M(B(D),D,!1)}},q=D=>({...he(D),dp__cell_auto_range:$(D),dp__cell_auto_range_start:V(D),dp__cell_auto_range_end:P(D)}),X=D=>l.value.enabled?l.value.autoRange?q(D):e.modelAuto?{...O(D),...he(D)}:e.weekPicker?de(D):he(D):e.weekPicker?U(D):O(D);return{setHoverDate:p,clearHoverDate:g,getDayClassData:D=>e.hideOffsetDates&&!D.current?{}:{...A(D),...X(D),[e.dayClass?e.dayClass(D.value):""]:!0,[e.calendarCellClassName]:!!e.calendarCellClassName}}},xi=t=>{const{defaultedFilters:e,defaultedRange:n,propDates:r,defaultedMultiDates:i}=Pt(t),s=W=>r.value.disabledDates?typeof r.value.disabledDates=="function"?r.value.disabledDates(pe(W)):!!Ua(W,r.value.disabledDates):!1,a=W=>{const j=r.value.maxDate?zt(W,r.value.maxDate):!1,ue=r.value.minDate?Vt(W,r.value.minDate):!1,A=s(W),O=e.value.months.map(q=>+q).includes(Xe(W)),U=t.disabledWeekDays.length?t.disabledWeekDays.some(q=>+q===n4(W)):!1,de=p(W),be=Ye(W),he=be<+t.yearRange[0]||be>+t.yearRange[1];return!(j||ue||A||O||he||U||de)},l=(W,j)=>Vt(...Ci(r.value.minDate,W,j))||Je(...Ci(r.value.minDate,W,j)),c=(W,j)=>zt(...Ci(r.value.maxDate,W,j))||Je(...Ci(r.value.maxDate,W,j)),u=(W,j,ue)=>{let A=!1;return r.value.maxDate&&ue&&c(W,j)&&(A=!0),r.value.minDate&&!ue&&l(W,j)&&(A=!0),A},h=(W,j,ue,A)=>{let O=!1;return A?r.value.minDate&&r.value.maxDate?O=u(W,j,ue):(r.value.minDate&&l(W,j)||r.value.maxDate&&c(W,j))&&(O=!0):O=!0,O},p=W=>Array.isArray(r.value.allowedDates)&&!r.value.allowedDates.length?!0:r.value.allowedDates?!Ua(W,r.value.allowedDates):!1,g=W=>!a(W),w=W=>n.value.noDisabledRange?!B1({start:W[0],end:W[1]}).some(j=>g(j)):!0,C=W=>{if(W){const j=Ye(W);return j>=+t.yearRange[0]&&j<=t.yearRange[1]}return!0},b=(W,j)=>!!(Array.isArray(W)&&W[j]&&(n.value.maxRange||n.value.minRange)&&C(W[j])),x=(W,j,ue=0)=>{if(b(j,ue)&&C(W)){const A=$1(W,j[ue]),O=pf(j[ue],W),U=O.length===1?0:O.filter(be=>g(be)).length,de=Math.abs(A)-(n.value.minMaxRawRange?0:U);if(n.value.minRange&&n.value.maxRange)return de>=+n.value.minRange&&de<=+n.value.maxRange;if(n.value.minRange)return de>=+n.value.minRange;if(n.value.maxRange)return de<=+n.value.maxRange}return!0},M=()=>!t.enableTimePicker||t.monthPicker||t.yearPicker||t.ignoreTimeValidation,L=W=>Array.isArray(W)?[W[0]?gd(W[0]):null,W[1]?gd(W[1]):null]:gd(W),P=(W,j,ue)=>W.find(A=>+A.hours===lr(j)&&A.minutes==="*"?!0:+A.minutes===vr(j)&&+A.hours===lr(j))&&ue,$=(W,j,ue)=>{const[A,O]=W,[U,de]=j;return!P(A,U,ue)&&!P(O,de,ue)&&ue},V=(W,j)=>{const ue=Array.isArray(j)?j:[j];return Array.isArray(t.disabledTimes)?Array.isArray(t.disabledTimes[0])?$(t.disabledTimes,ue,W):!ue.some(A=>P(t.disabledTimes,A,W)):W},F=(W,j)=>{const ue=Array.isArray(j)?[Qi(j[0]),j[1]?Qi(j[1]):void 0]:Qi(j),A=!t.disabledTimes(ue);return W&&A},m=(W,j)=>t.disabledTimes?Array.isArray(t.disabledTimes)?V(j,W):F(j,W):j,R=W=>{let j=!0;if(!W||M())return!0;const ue=!r.value.minDate&&!r.value.maxDate?L(W):W;return(t.maxTime||r.value.maxDate)&&(j=yf(t.maxTime,r.value.maxDate,"max",Jt(ue),j)),(t.minTime||r.value.minDate)&&(j=yf(t.minTime,r.value.minDate,"min",Jt(ue),j)),m(W,j)},B=W=>{if(!t.monthPicker)return!0;let j=!0;const ue=pe(cr(W));if(r.value.minDate&&r.value.maxDate){const A=pe(cr(r.value.minDate)),O=pe(cr(r.value.maxDate));return zt(ue,A)&&Vt(ue,O)||Je(ue,A)||Je(ue,O)}if(r.value.minDate){const A=pe(cr(r.value.minDate));j=zt(ue,A)||Je(ue,A)}if(r.value.maxDate){const A=pe(cr(r.value.maxDate));j=Vt(ue,A)||Je(ue,A)}return j},ne=o.computed(()=>W=>!t.enableTimePicker||t.ignoreTimeValidation?!0:R(W)),ce=o.computed(()=>W=>t.monthPicker?Array.isArray(W)&&(n.value.enabled||i.value.enabled)?!W.filter(j=>!B(j)).length:B(W):!0);return{isDisabled:g,validateDate:a,validateMonthYearInRange:h,isDateRangeAllowed:w,checkMinMaxRange:x,isValidTime:R,isTimeValid:ne,isMonthValid:ce}},Xa=()=>{const t=o.computed(()=>(r,i)=>r==null?void 0:r.includes(i)),e=o.computed(()=>(r,i)=>r.count?r.solo?!0:i===0:!0),n=o.computed(()=>(r,i)=>r.count?r.solo?!0:i===r.count-1:!0);return{hideNavigationButtons:t,showLeftIcon:e,showRightIcon:n}},z9=(t,e,n)=>{const r=o.ref(0),i=o.reactive({[es.timePicker]:!t.enableTimePicker||t.timePicker||t.monthPicker,[es.calendar]:!1,[es.header]:!1}),s=o.computed(()=>t.monthPicker),a=p=>{var g;if((g=t.flow)!=null&&g.length){if(!p&&s.value)return h();i[p]=!0,Object.keys(i).filter(w=>!i[w]).length||h()}},l=()=>{var p;(p=t.flow)!=null&&p.length&&r.value!==-1&&(r.value+=1,e("flow-step",r.value),h())},c=()=>{r.value=-1},u=(p,g,...w)=>{var C,b;t.flow[r.value]===p&&n.value&&((b=(C=n.value)[g])==null||b.call(C,...w))},h=()=>{u(Tr.month,"toggleMonthPicker",!0),u(Tr.year,"toggleYearPicker",!0),u(Tr.calendar,"toggleTimePicker",!1,!0),u(Tr.time,"toggleTimePicker",!0,!0);const p=t.flow[r.value];(p===Tr.hours||p===Tr.minutes||p===Tr.seconds)&&u(p,"toggleTimePicker",!0,!0,p)};return{childMount:a,updateFlowStep:l,resetFlow:c,flowStep:r}},Qa={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}},ur={...Qa,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}},j9={key:1,class:"dp__input_wrap"},Y9=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-label","aria-disabled","aria-invalid"],W9={key:2,class:"dp__clear_icon"},q9=o.defineComponent({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...Qa},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,i=t,{defaultedTextInput:s,defaultedAriaLabels:a,defaultedInline:l,defaultedConfig:c,defaultedRange:u,defaultedMultiDates:h,getDefaultPattern:p,getDefaultStartTime:g}=Pt(i),{checkMinMaxRange:w}=xi(i),C=o.ref(),b=o.ref(null),x=o.ref(!1),M=o.ref(!1),L=o.computed(()=>({dp__pointer:!i.disabled&&!i.readonly&&!s.value.enabled,dp__disabled:i.disabled,dp__input_readonly:!s.value.enabled,dp__input:!0,dp__input_icon_pad:!i.hideInputIcon,dp__input_valid:!!i.state,dp__input_invalid:i.state===!1,dp__input_focus:x.value||i.isMenuOpen,dp__input_reg:!s.value.enabled,[i.inputClassName]:!!i.inputClassName})),P=()=>{r("set-input-date",null),i.autoApply&&(r("set-empty-date"),C.value=null)},$=O=>{const U=g();return u9(O,s.value.format??p(),U??mf({},i.enableSeconds),i.inputValue,M.value,i.formatLocale)},V=O=>{const{rangeSeparator:U}=s.value,[de,be]=O.split(`${U}`);if(de){const he=$(de.trim()),q=be?$(be.trim()):null,X=he&&q?[he,q]:[he];w(q,X,0)&&(C.value=he?X:null)}},F=()=>{M.value=!0},m=O=>{if(u.value.enabled)V(O);else if(h.value.enabled){const U=O.split(";");C.value=U.map(de=>$(de.trim())).filter(de=>de)}else C.value=$(O)},R=O=>{var U;const de=typeof O=="string"?O:(U=O.target)==null?void 0:U.value;de!==""?(s.value.openMenu&&!i.isMenuOpen&&r("open"),m(de),r("set-input-date",C.value)):P(),M.value=!1,r("update:input-value",de)},B=O=>{s.value.enabled?(m(O.target.value),s.value.enterSubmit&&fd(C.value)&&i.inputValue!==""?(r("set-input-date",C.value,!0),C.value=null):s.value.enterSubmit&&i.inputValue===""&&(C.value=null,r("clear"))):W(O)},ne=O=>{s.value.enabled&&s.value.tabSubmit&&m(O.target.value),s.value.tabSubmit&&fd(C.value)&&i.inputValue!==""?(r("set-input-date",C.value,!0,!0),C.value=null):s.value.tabSubmit&&i.inputValue===""&&(C.value=null,r("clear",!0))},ce=()=>{x.value=!0,r("focus"),o.nextTick().then(()=>{var O;s.value.enabled&&s.value.selectOnFocus&&((O=b.value)==null||O.select())})},W=O=>{O.preventDefault(),bi(O,c.value,!0),s.value.enabled&&s.value.openMenu&&!l.value.input&&!i.isMenuOpen?r("open"):s.value.enabled||r("toggle")},j=()=>{r("real-blur"),x.value=!1,(!i.isMenuOpen||l.value.enabled&&l.value.input)&&r("blur"),i.autoApply&&s.value.enabled&&C.value&&!i.isMenuOpen&&(r("set-input-date",C.value),r("select-date"),C.value=null)},ue=O=>{bi(O,c.value,!0),r("clear")},A=O=>{if(!s.value.enabled){if(O.code==="Tab")return;O.preventDefault()}};return e({focusInput:()=>{var O;(O=b.value)==null||O.focus({preventScroll:!0})},setParsedDate:O=>{C.value=O}}),(O,U)=>{var de;return o.openBlock(),o.createElementBlock("div",{onClick:W},[O.$slots.trigger&&!O.$slots["dp-input"]&&!o.unref(l).enabled?o.renderSlot(O.$slots,"trigger",{key:0}):o.createCommentVNode("",!0),!O.$slots.trigger&&(!o.unref(l).enabled||o.unref(l).input)?(o.openBlock(),o.createElementBlock("div",j9,[O.$slots["dp-input"]&&!O.$slots.trigger&&(!o.unref(l).enabled||o.unref(l).enabled&&o.unref(l).input)?o.renderSlot(O.$slots,"dp-input",{key:0,value:t.inputValue,isMenuOpen:t.isMenuOpen,onInput:R,onEnter:B,onTab:ne,onClear:ue,onBlur:j,onKeypress:A,onPaste:F,openMenu:()=>O.$emit("open"),closeMenu:()=>O.$emit("close"),toggleMenu:()=>O.$emit("toggle")}):o.createCommentVNode("",!0),O.$slots["dp-input"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("input",{key:1,id:O.uid?`dp-input-${O.uid}`:void 0,ref_key:"inputRef",ref:b,name:O.name,class:o.normalizeClass(L.value),inputmode:o.unref(s).enabled?"text":"none",placeholder:O.placeholder,disabled:O.disabled,readonly:O.readonly,required:O.required,value:t.inputValue,autocomplete:O.autocomplete,"aria-label":(de=o.unref(a))==null?void 0:de.input,"aria-disabled":O.disabled||void 0,"aria-invalid":O.state===!1?!0:void 0,onInput:R,onKeydown:[o.withKeys(B,["enter"]),o.withKeys(ne,["tab"]),A],onBlur:j,onFocus:ce,onKeypress:A,onPaste:F},null,42,Y9)),o.createElementVNode("div",{onClick:U[2]||(U[2]=be=>r("toggle"))},[O.$slots["input-icon"]&&!O.hideInputIcon?(o.openBlock(),o.createElementBlock("span",{key:0,class:"dp__input_icon",onClick:U[0]||(U[0]=be=>r("toggle"))},[o.renderSlot(O.$slots,"input-icon")])):o.createCommentVNode("",!0),!O.$slots["input-icon"]&&!O.hideInputIcon&&!O.$slots["dp-input"]?(o.openBlock(),o.createBlock(o.unref(As),{key:1,class:"dp__input_icon dp__input_icons",onClick:U[1]||(U[1]=be=>r("toggle"))})):o.createCommentVNode("",!0)]),O.$slots["clear-icon"]&&t.inputValue&&O.clearable&&!O.disabled&&!O.readonly?(o.openBlock(),o.createElementBlock("span",W9,[o.renderSlot(O.$slots,"clear-icon",{clear:ue})])):o.createCommentVNode("",!0),O.clearable&&!O.$slots["clear-icon"]&&t.inputValue&&!O.disabled&&!O.readonly?(o.openBlock(),o.createBlock(o.unref(nf),{key:3,class:"dp__clear_icon dp__input_icons",onClick:U[3]||(U[3]=o.withModifiers(be=>ue(be),["prevent"]))})):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)])}}}),U9=["title"],Z9=["disabled"],G9=o.defineComponent({compatConfig:{MODE:3},__name:"ActionRow",props:{menuMount:{type:Boolean,default:!1},calendarWidth:{type:Number,default:0},...ur},emits:["close-picker","select-date","select-now","invalid-select"],setup(t,{emit:e}){const n=e,r=t,{defaultedActionRow:i,defaultedPreviewFormat:s,defaultedMultiCalendars:a,defaultedTextInput:l,defaultedInline:c,defaultedRange:u,defaultedMultiDates:h,getDefaultPattern:p}=Pt(r),{isTimeValid:g,isMonthValid:w}=xi(r),{buildMatrix:C}=ki(),b=o.ref(null),x=o.ref(null),M=o.ref(!1),L=o.ref({}),P=o.ref(null),$=o.ref(null);o.onMounted(()=>{r.arrowNavigation&&C([Kt(b),Kt(x)],"actionRow"),V(),window.addEventListener("resize",V)}),o.onUnmounted(()=>{window.removeEventListener("resize",V)});const V=()=>{M.value=!1,setTimeout(()=>{var A,O;const U=(A=P.value)==null?void 0:A.getBoundingClientRect(),de=(O=$.value)==null?void 0:O.getBoundingClientRect();U&&de&&(L.value.maxWidth=`${de.width-U.width-20}px`),M.value=!0},0)},F=o.computed(()=>u.value.enabled&&!u.value.partialRange&&r.internalModelValue?r.internalModelValue.length===2:!0),m=o.computed(()=>!g.value(r.internalModelValue)||!w.value(r.internalModelValue)||!F.value),R=()=>{const A=s.value;return r.timePicker||r.monthPicker,A(Jt(r.internalModelValue))},B=()=>{const A=r.internalModelValue;return a.value.count>0?`${ne(A[0])} - ${ne(A[1])}`:[ne(A[0]),ne(A[1])]},ne=A=>_f(A,s.value,r.formatLocale,l.value.rangeSeparator,r.modelAuto,p()),ce=o.computed(()=>!r.internalModelValue||!r.menuMount?"":typeof s.value=="string"?Array.isArray(r.internalModelValue)?r.internalModelValue.length===2&&r.internalModelValue[1]?B():h.value.enabled?r.internalModelValue.map(A=>`${ne(A)}`):r.modelAuto?`${ne(r.internalModelValue[0])}`:`${ne(r.internalModelValue[0])} -`:ne(r.internalModelValue):R()),W=()=>h.value.enabled?"; ":" - ",j=o.computed(()=>Array.isArray(ce.value)?ce.value.join(W()):ce.value),ue=()=>{g.value(r.internalModelValue)&&w.value(r.internalModelValue)&&F.value?n("select-date"):n("invalid-select")};return(A,O)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"actionRowRef",ref:$,class:"dp__action_row"},[A.$slots["action-row"]?o.renderSlot(A.$slots,"action-row",o.normalizeProps(o.mergeProps({key:0},{internalModelValue:A.internalModelValue,disabled:m.value,selectDate:()=>A.$emit("select-date"),closePicker:()=>A.$emit("close-picker")}))):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.unref(i).showPreview?(o.openBlock(),o.createElementBlock("div",{key:0,class:"dp__selection_preview",title:j.value,style:o.normalizeStyle(L.value)},[A.$slots["action-preview"]&&M.value?o.renderSlot(A.$slots,"action-preview",{key:0,value:A.internalModelValue}):o.createCommentVNode("",!0),!A.$slots["action-preview"]&&M.value?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(j.value),1)],64)):o.createCommentVNode("",!0)],12,U9)):o.createCommentVNode("",!0),o.createElementVNode("div",{ref_key:"actionBtnContainer",ref:P,class:"dp__action_buttons","data-dp-element":"action-row"},[A.$slots["action-buttons"]?o.renderSlot(A.$slots,"action-buttons",{key:0,value:A.internalModelValue}):o.createCommentVNode("",!0),A.$slots["action-buttons"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[!o.unref(c).enabled&&o.unref(i).showCancel?(o.openBlock(),o.createElementBlock("button",{key:0,ref_key:"cancelButtonRef",ref:b,type:"button",class:"dp__action_button dp__action_cancel",onClick:O[0]||(O[0]=U=>A.$emit("close-picker")),onKeydown:[O[1]||(O[1]=o.withKeys(U=>A.$emit("close-picker"),["enter"])),O[2]||(O[2]=o.withKeys(U=>A.$emit("close-picker"),["space"]))]},o.toDisplayString(A.cancelText),545)):o.createCommentVNode("",!0),o.unref(i).showNow?(o.openBlock(),o.createElementBlock("button",{key:1,type:"button",class:"dp__action_button dp__action_cancel",onClick:O[3]||(O[3]=U=>A.$emit("select-now")),onKeydown:[O[4]||(O[4]=o.withKeys(U=>A.$emit("select-now"),["enter"])),O[5]||(O[5]=o.withKeys(U=>A.$emit("select-now"),["space"]))]},o.toDisplayString(A.nowButtonLabel),33)):o.createCommentVNode("",!0),o.unref(i).showSelect?(o.openBlock(),o.createElementBlock("button",{key:2,ref_key:"selectButtonRef",ref:x,type:"button",class:"dp__action_button dp__action_select",disabled:m.value,onKeydown:[o.withKeys(ue,["enter"]),o.withKeys(ue,["space"])],onClick:ue},o.toDisplayString(A.selectText),41,Z9)):o.createCommentVNode("",!0)],64))],512)],64))],512))}}),K9=["onKeydown"],X9={class:"dp__selection_grid_header"},Q9=["aria-selected","aria-disabled","onClick","onKeydown","onMouseover"],J9=["aria-label"],Bo=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:i,setMonthPicker:s}=ki(),a=n,l=t,{defaultedAriaLabels:c,defaultedTextInput:u,defaultedConfig:h}=Pt(l),{hideNavigationButtons:p}=Xa(),g=o.ref(!1),w=o.ref(null),C=o.ref(null),b=o.ref([]),x=o.ref(),M=o.ref(null),L=o.ref(0),P=o.ref(null);o.onBeforeUpdate(()=>{w.value=null}),o.onMounted(()=>{o.nextTick().then(()=>ce()),l.noOverlayFocus||V(),$(!0)}),o.onUnmounted(()=>$(!1));const $=he=>{var q;l.arrowNavigation&&((q=l.headerRefs)!=null&&q.length?s(he):r(he))},V=()=>{var he;const q=Kt(C);q&&(u.value.enabled||(w.value?(he=w.value)==null||he.focus({preventScroll:!0}):q.focus({preventScroll:!0})),g.value=q.clientHeight<q.scrollHeight)},F=o.computed(()=>({dp__overlay:!0,"dp--overlay-absolute":!l.useRelative,"dp--overlay-relative":l.useRelative})),m=o.computed(()=>l.useRelative?{height:`${l.height}px`,width:"260px"}:void 0),R=o.computed(()=>({dp__overlay_col:!0})),B=o.computed(()=>({dp__btn:!0,dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:g.value,dp__button_bottom:l.isLast})),ne=o.computed(()=>{var he,q;return{dp__overlay_container:!0,dp__container_flex:((he=l.items)==null?void 0:he.length)<=6,dp__container_block:((q=l.items)==null?void 0:q.length)>6}});o.watch(()=>l.items,()=>ce(!1),{deep:!0});const ce=(he=!0)=>{o.nextTick().then(()=>{const q=Kt(w),X=Kt(C),D=Kt(M),T=Kt(P),J=D?D.getBoundingClientRect().height:0;X&&(X.getBoundingClientRect().height?L.value=X.getBoundingClientRect().height-J:L.value=h.value.modeHeight-J),q&&T&&he&&(T.scrollTop=q.offsetTop-T.offsetTop-(L.value/2-q.getBoundingClientRect().height)-J)})},W=he=>{he.disabled||a("selected",he.value)},j=()=>{a("toggle"),a("reset-flow")},ue=()=>{l.escClose&&j()},A=(he,q,X,D)=>{he&&((q.active||q.value===l.focusValue)&&(w.value=he),l.arrowNavigation&&(Array.isArray(b.value[X])?b.value[X][D]=he:b.value[X]=[he],O()))},O=()=>{var he,q;const X=(he=l.headerRefs)!=null&&he.length?[l.headerRefs].concat(b.value):b.value.concat([l.skipButtonRef?[]:[M.value]]);i(Jt(X),(q=l.headerRefs)!=null&&q.length?"monthPicker":"selectionGrid")},U=he=>{l.arrowNavigation||bi(he,h.value,!0)},de=he=>{x.value=he,a("hover-value",he)},be=()=>{if(j(),!l.isLast){const he=c9(l.menuWrapRef??null,"action-row");if(he){const q=cf(he);q==null||q.focus()}}};return e({focusGrid:V}),(he,q)=>{var X;return o.openBlock(),o.createElementBlock("div",{ref_key:"gridWrapRef",ref:C,class:o.normalizeClass(F.value),style:o.normalizeStyle(m.value),role:"dialog",tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(ue,["prevent"]),["esc"]),q[0]||(q[0]=o.withKeys(o.withModifiers(D=>U(D),["prevent"]),["left"])),q[1]||(q[1]=o.withKeys(o.withModifiers(D=>U(D),["prevent"]),["up"])),q[2]||(q[2]=o.withKeys(o.withModifiers(D=>U(D),["prevent"]),["down"])),q[3]||(q[3]=o.withKeys(o.withModifiers(D=>U(D),["prevent"]),["right"]))]},[o.createElementVNode("div",{ref_key:"containerRef",ref:P,class:o.normalizeClass(ne.value),role:"grid",style:o.normalizeStyle({height:`${L.value}px`})},[o.createElementVNode("div",X9,[o.renderSlot(he.$slots,"header")]),he.$slots.overlay?o.renderSlot(he.$slots,"overlay",{key:0}):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(he.items,(D,T)=>(o.openBlock(),o.createElementBlock("div",{key:T,class:o.normalizeClass(["dp__overlay_row",{dp__flex_row:he.items.length>=3}]),role:"row"},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(D,(J,ie)=>(o.openBlock(),o.createElementBlock("div",{key:J.value,ref_for:!0,ref:qe=>A(qe,J,T,ie),role:"gridcell",class:o.normalizeClass(R.value),"aria-selected":J.active||void 0,"aria-disabled":J.disabled||void 0,tabindex:"0",onClick:qe=>W(J),onKeydown:[o.withKeys(o.withModifiers(qe=>W(J),["prevent"]),["enter"]),o.withKeys(o.withModifiers(qe=>W(J),["prevent"]),["space"])],onMouseover:qe=>de(J.value)},[o.createElementVNode("div",{class:o.normalizeClass(J.className)},[he.$slots.item?o.renderSlot(he.$slots,"item",{key:0,item:J}):o.createCommentVNode("",!0),he.$slots.item?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(J.text),1)],64))],2)],42,Q9))),128))],2))),128))],6),he.$slots["button-icon"]?o.withDirectives((o.openBlock(),o.createElementBlock("button",{key:0,ref_key:"toggleButton",ref:M,type:"button","aria-label":(X=o.unref(c))==null?void 0:X.toggleOverlay,class:o.normalizeClass(B.value),tabindex:"0",onClick:j,onKeydown:[o.withKeys(j,["enter"]),o.withKeys(be,["tab"])]},[o.renderSlot(he.$slots,"button-icon")],42,J9)),[[o.vShow,!o.unref(p)(he.hideNavigation,he.type)]]):o.createCommentVNode("",!0)],46,K9)}}}),Ja=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(i,s)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass({dp__menu_inner:!i.stretch,"dp--menu--inner-stretched":i.stretch,dp__flex_display:i.multiCalendars>0,"dp--flex-display-collapsed":i.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(i.$slots,"default",{instance:a,index:l})],2))),128))],2))}}),e7=["aria-label","aria-disabled"],Ao=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)),(i,s)=>(o.openBlock(),o.createElementBlock("button",{ref_key:"elRef",ref:r,type:"button",class:"dp__btn dp--arrow-btn-nav",tabindex:"0","aria-label":i.ariaLabel,"aria-disabled":i.disabled||void 0,onClick:s[0]||(s[0]=a=>i.$emit("activate")),onKeydown:[s[1]||(s[1]=o.withKeys(o.withModifiers(a=>i.$emit("activate"),["prevent"]),["enter"])),s[2]||(s[2]=o.withKeys(o.withModifiers(a=>i.$emit("activate"),["prevent"]),["space"]))]},[o.createElementVNode("span",{class:o.normalizeClass(["dp__inner_nav",{dp__inner_nav_disabled:i.disabled}])},[o.renderSlot(i.$slots,"default")],2)],40,e7))}}),t7={class:"dp--year-mode-picker"},n7=["aria-label"],xf=o.defineComponent({__name:"YearModePicker",props:{...ur,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:i,showLeftIcon:s}=Xa(),{defaultedConfig:a,defaultedMultiCalendars:l,defaultedAriaLabels:c,defaultedTransitions:u}=Pt(r),{showTransition:h,transitionName:p}=Vo(u),g=(b=!1,x)=>{n("toggle-year-picker",{flow:b,show:x})},w=b=>{n("year-select",b)},C=(b=!1)=>{n("handle-year",b)};return(b,x)=>{var M,L,P;return o.openBlock(),o.createElementBlock("div",t7,[o.unref(s)(o.unref(l),t.instance)?(o.openBlock(),o.createBlock(Ao,{key:0,ref:"mpPrevIconRef","aria-label":(M=o.unref(c))==null?void 0:M.prevYear,disabled:t.isDisabled(!1),onActivate:x[0]||(x[0]=$=>C(!1))},{default:o.withCtx(()=>[b.$slots["arrow-left"]?o.renderSlot(b.$slots,"arrow-left",{key:0}):o.createCommentVNode("",!0),b.$slots["arrow-left"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(rd),{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":(L=o.unref(c))==null?void 0:L.openYearsOverlay,onClick:x[1]||(x[1]=()=>g(!1)),onKeydown:x[2]||(x[2]=o.withKeys(()=>g(!1),["enter"]))},[b.$slots.year?o.renderSlot(b.$slots,"year",{key:0,year:t.year}):o.createCommentVNode("",!0),b.$slots.year?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(t.year),1)],64))],40,n7),o.unref(i)(o.unref(l),t.instance)?(o.openBlock(),o.createBlock(Ao,{key:1,ref:"mpNextIconRef","aria-label":(P=o.unref(c))==null?void 0:P.nextYear,disabled:t.isDisabled(!0),onActivate:x[3]||(x[3]=$=>C(!0))},{default:o.withCtx(()=>[b.$slots["arrow-right"]?o.renderSlot(b.$slots,"arrow-right",{key:0}):o.createCommentVNode("",!0),b.$slots["arrow-right"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(id),{key:1}))]),_:3},8,["aria-label","disabled"])):o.createCommentVNode("",!0),o.createVNode(o.Transition,{name:o.unref(p)(t.showYearPicker),css:o.unref(h)},{default:o.withCtx(()=>[t.showYearPicker?(o.openBlock(),o.createBlock(Bo,{key:0,items:t.items,"text-input":b.textInput,"esc-close":b.escClose,config:b.config,"is-last":b.autoApply&&!o.unref(a).keepActionRow,"hide-navigation":b.hideNavigation,"aria-labels":b.ariaLabels,type:"year",onToggle:g,onSelected:x[4]||(x[4]=$=>w($))},o.createSlots({"button-icon":o.withCtx(()=>[b.$slots["calendar-icon"]?o.renderSlot(b.$slots,"calendar-icon",{key:0}):o.createCommentVNode("",!0),b.$slots["calendar-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(As),{key:1}))]),_:2},[b.$slots["year-overlay-value"]?{name:"item",fn:o.withCtx(({item:$})=>[o.renderSlot(b.$slots,"year-overlay-value",{text:$.text,value:$.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"])])}}}),xd=(t,e,n)=>{if(e.value&&Array.isArray(e.value))if(e.value.some(r=>Je(t,r))){const r=e.value.filter(i=>!Je(i,t));e.value=r.length?r:null}else(n&&+n>e.value.length||!n)&&e.value.push(t);else e.value=[t]},Sd=(t,e,n)=>{let r=t.value?t.value.slice():[];return r.length===2&&r[1]!==null&&(r=[]),r.length?Vt(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},el=(t,e,n,r)=>{t&&(t[0]&&t[1]&&n&&e("auto-apply"),t[0]&&!t[1]&&r&&n&&e("auto-apply"))},Sf=t=>{Array.isArray(t.value)&&t.value.length<=2&&t.range?t.modelValue.value=t.value.map(e=>Gr(pe(e),t.timezone)):Array.isArray(t.value)||(t.modelValue.value=Gr(pe(t.value),t.timezone))},Mf=(t,e,n,r)=>Array.isArray(e.value)&&(e.value.length===2||e.value.length===1&&r.value.partialRange)?r.value.fixedStart&&(zt(t,e.value[0])||Je(t,e.value[0]))?[e.value[0],t]:r.value.fixedEnd&&(Vt(t,e.value[1])||Je(t,e.value[1]))?[t,e.value[1]]:(n("invalid-fixed-range",t),e.value):[],Tf=({multiCalendars:t,highlight:e,propDates:n,calendars:r,modelValue:i,props:s,filters:a,year:l,month:c,emit:u})=>{const h=o.computed(()=>ld(s.yearRange,s.locale,s.reverseYears)),p=o.ref([!1]),g=o.computed(()=>(F,m)=>{const R=yt(cr(new Date),{month:c.value(F),year:l.value(F)});return gf(R,n.value.maxDate,n.value.minDate,s.preventMinMaxNavigation,m)}),w=()=>{for(let F=0;F<t.value.count;F++)if(F===0)r.value[F]=r.value[0];else{const m=yt(pe(),r.value[F-1]);r.value[F]={month:Xe(m),year:Ye(Wc(m,1))}}},C=F=>{if(!F)return w();const m=yt(pe(),r.value[F]);return r.value[0].year=Ye(tf(m,t.value.count-1)),w()},b=F=>s.focusStartDate?F[0]:F[1]?F[1]:F[0],x=()=>{if(i.value){const F=Array.isArray(i.value)?b(i.value):i.value;r.value[0]={month:Xe(F),year:Ye(F)}}};o.onMounted(()=>{x(),t.value.count&&w()});const M=(F,m)=>{r.value[m].year=F,t.value.count&&!t.value.solo&&C(m)},L=o.computed(()=>F=>Rs(h.value,m=>{var R;const B=l.value(F)===m.value,ne=Lo(m.value,Fs(n.value.minDate),Fs(n.value.maxDate))||((R=a.value.years)==null?void 0:R.includes(l.value(F))),ce=_d(e.value,m.value);return{active:B,disabled:ne,highlighted:ce}})),P=(F,m)=>{M(F,m),V(m)},$=(F,m=!1)=>{if(!g.value(F,m)){const R=m?l.value(F)+1:l.value(F)-1;M(R,F)}},V=(F,m=!1,R)=>{m||u("reset-flow"),R!==void 0?p.value[F]=R:p.value[F]=!p.value[F],p.value||u("overlay-closed")};return{isDisabled:g,groupedYears:L,showYearPicker:p,selectYear:M,toggleYearPicker:V,handleYearSelect:P,handleYear:$}},r7=(t,e)=>{const{defaultedMultiCalendars:n,defaultedAriaLabels:r,defaultedTransitions:i,defaultedConfig:s,defaultedRange:a,defaultedHighlight:l,propDates:c,defaultedTz:u,defaultedFilters:h,defaultedMultiDates:p}=Pt(t),{modelValue:g,year:w,month:C,calendars:b}=No(t,e),x=o.computed(()=>sf(t.formatLocale,t.locale,t.monthNameFormat)),M=o.ref(null),{checkMinMaxRange:L}=xi(t),{selectYear:P,groupedYears:$,showYearPicker:V,toggleYearPicker:F,handleYearSelect:m,handleYear:R,isDisabled:B}=Tf({modelValue:g,multiCalendars:n,highlight:l,calendars:b,year:w,propDates:c,month:C,filters:h,props:t,emit:e});o.onMounted(()=>{t.startDate&&(g.value&&t.focusStartDate||!g.value)&&P(Ye(pe(t.startDate)),0)});const ne=D=>D?{month:Xe(D),year:Ye(D)}:{month:null,year:null},ce=()=>g.value?Array.isArray(g.value)?g.value.map(D=>ne(D)):ne(g.value):ne(),W=(D,T)=>{const J=b.value[D],ie=ce();return Array.isArray(ie)?ie.some(qe=>qe.year===(J==null?void 0:J.year)&&qe.month===T):(J==null?void 0:J.year)===ie.year&&T===ie.month},j=(D,T,J)=>{var ie,qe;const dt=ce();return Array.isArray(dt)?w.value(T)===((ie=dt[J])==null?void 0:ie.year)&&D===((qe=dt[J])==null?void 0:qe.month):!1},ue=(D,T)=>{if(a.value.enabled){const J=ce();if(Array.isArray(g.value)&&Array.isArray(J)){const ie=j(D,T,0)||j(D,T,1),qe=Zr(cr(pe()),D,w.value(T));return Za(g.value,M.value,qe)&&!ie}return!1}return!1},A=o.computed(()=>D=>Rs(x.value,T=>{var J;const ie=W(D,T.value),qe=Lo(T.value,hf(w.value(D),c.value.minDate),ff(w.value(D),c.value.maxDate))||_9(c.value.disabledDates,w.value(D)).includes(T.value)||((J=h.value.months)==null?void 0:J.includes(T.value)),dt=ue(T.value,D),Q=bf(l.value,T.value,w.value(D));return{active:ie,disabled:qe,isBetween:dt,highlighted:Q}})),O=(D,T)=>Zr(cr(pe()),D,w.value(T)),U=(D,T)=>{const J=g.value?g.value:cr(new Date);g.value=Zr(J,D,w.value(T)),e("auto-apply"),e("update-flow-step")},de=(D,T)=>{const J=O(D,T);a.value.fixedEnd||a.value.fixedStart?g.value=Mf(J,g,e,a):g.value?L(J,g.value)&&(g.value=Sd(g,O(D,T),e)):g.value=[O(D,T)],el(g.value,e,t.autoApply,t.modelAuto)},be=(D,T)=>{xd(O(D,T),g,p.value.limit),e("auto-apply",!0)},he=(D,T)=>(b.value[T].month=D,X(T,b.value[T].year,D),p.value.enabled?be(D,T):a.value.enabled?de(D,T):U(D,T)),q=(D,T)=>{P(D,T),X(T,D,null)},X=(D,T,J)=>{let ie=J;if(!ie&&ie!==0){const qe=ce();ie=Array.isArray(qe)?qe[D].month:qe.month}e("update-month-year",{instance:D,year:T,month:ie})};return{groupedMonths:A,groupedYears:$,year:w,isDisabled:B,defaultedMultiCalendars:n,defaultedAriaLabels:r,defaultedTransitions:i,defaultedConfig:s,showYearPicker:V,modelValue:g,presetDate:(D,T)=>{Sf({value:D,modelValue:g,range:a.value.enabled,timezone:T?void 0:u.value.timezone}),e("auto-apply")},setHoverDate:(D,T)=>{M.value=O(D,T)},selectMonth:he,selectYear:q,toggleYearPicker:F,handleYearSelect:m,handleYear:R,getModelMonthYear:ce}},i7=o.defineComponent({compatConfig:{MODE:3},__name:"MonthPicker",props:{...ur},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,i=o.useSlots(),s=On(i,"yearMode"),a=t;o.onMounted(()=>{a.shadow||r("mount",null)});const{groupedMonths:l,groupedYears:c,year:u,isDisabled:h,defaultedMultiCalendars:p,defaultedConfig:g,showYearPicker:w,modelValue:C,presetDate:b,setHoverDate:x,selectMonth:M,selectYear:L,toggleYearPicker:P,handleYearSelect:$,handleYear:V,getModelMonthYear:F}=r7(a,r);return e({getSidebarProps:()=>({modelValue:C,year:u,getModelMonthYear:F,selectMonth:M,selectYear:L,handleYear:V}),presetDate:b,toggleYearPicker:m=>P(0,m)}),(m,R)=>(o.openBlock(),o.createBlock(Ja,{"multi-calendars":o.unref(p).count,collapse:m.collapse,stretch:""},{default:o.withCtx(({instance:B})=>[m.$slots["month-year"]?o.renderSlot(m.$slots,"month-year",o.normalizeProps(o.mergeProps({key:0},{year:o.unref(u),months:o.unref(l)(B),years:o.unref(c)(B),selectMonth:o.unref(M),selectYear:o.unref(L),instance:B}))):(o.openBlock(),o.createBlock(Bo,{key:1,items:o.unref(l)(B),"arrow-navigation":m.arrowNavigation,"is-last":m.autoApply&&!o.unref(g).keepActionRow,"esc-close":m.escClose,height:o.unref(g).modeHeight,config:m.config,"no-overlay-focus":!!(m.noOverlayFocus||m.textInput),"use-relative":"",type:"month",onSelected:ne=>o.unref(M)(ne,B),onHoverValue:ne=>o.unref(x)(ne,B)},{header:o.withCtx(()=>[o.createVNode(xf,o.mergeProps(m.$props,{items:o.unref(c)(B),instance:B,"show-year-picker":o.unref(w)[B],year:o.unref(u)(B),"is-disabled":ne=>o.unref(h)(B,ne),onHandleYear:ne=>o.unref(V)(B,ne),onYearSelect:ne=>o.unref($)(ne,B),onToggleYearPicker:ne=>o.unref(P)(B,ne==null?void 0:ne.flow,ne==null?void 0:ne.show)}),o.createSlots({_:2},[o.renderList(o.unref(s),(ne,ce)=>({name:ne,fn:o.withCtx(W=>[o.renderSlot(m.$slots,ne,o.normalizeProps(o.guardReactiveProps(W)))])}))]),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"]))}}),s7=(t,e)=>{const{modelValue:n}=No(t,e),r=o.ref(null),{defaultedHighlight:i,defaultedMultiDates:s,defaultedFilters:a,defaultedRange:l,propDates:c}=Pt(t),u=o.ref();o.onMounted(()=>{t.startDate&&(n.value&&t.focusStartDate||!n.value)&&(u.value=Ye(pe(t.startDate)))});const h=C=>Array.isArray(n.value)?n.value.some(b=>Ye(b)===C):n.value?Ye(n.value)===C:!1,p=C=>l.value.enabled&&Array.isArray(n.value)?Za(n.value,r.value,w(C)):!1,g=o.computed(()=>Rs(ld(t.yearRange,t.locale,t.reverseYears),C=>{const b=h(C.value),x=Lo(C.value,Fs(c.value.minDate),Fs(c.value.maxDate))||a.value.years.includes(C.value),M=p(C.value)&&!b,L=_d(i.value,C.value);return{active:b,disabled:x,isBetween:M,highlighted:L}})),w=C=>Mr(cr(new Date),C);return{groupedYears:g,modelValue:n,focusYear:u,setHoverValue:C=>{r.value=Mr(cr(new Date),C)},selectYear:C=>{var b;if(e("update-month-year",{instance:0,year:C}),s.value.enabled)return n.value?Array.isArray(n.value)&&(((b=n.value)==null?void 0:b.map(x=>Ye(x))).includes(C)?n.value=n.value.filter(x=>Ye(x)!==C):n.value.push(Mr(Pn(pe()),C))):n.value=[Mr(Pn(pe()),C)],e("auto-apply",!0);if(l.value.enabled)return n.value=Sd(n,w(C),e),el(n.value,e,t.autoApply,t.modelAuto);n.value=w(C),e("auto-apply")}}},o7=o.defineComponent({compatConfig:{MODE:3},__name:"YearPicker",props:{...ur},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,i=t,{groupedYears:s,modelValue:a,focusYear:l,selectYear:c,setHoverValue:u}=s7(i,r),{defaultedConfig:h}=Pt(i);return e({getSidebarProps:()=>({modelValue:a,selectYear:c})}),(p,g)=>(o.openBlock(),o.createElementBlock("div",null,[p.$slots["month-year"]?o.renderSlot(p.$slots,"month-year",o.normalizeProps(o.mergeProps({key:0},{years:o.unref(s),selectYear:o.unref(c)}))):(o.openBlock(),o.createBlock(Bo,{key:1,items:o.unref(s),"is-last":p.autoApply&&!o.unref(h).keepActionRow,height:o.unref(h).modeHeight,config:p.config,"no-overlay-focus":!!(p.noOverlayFocus||p.textInput),"focus-value":o.unref(l),type:"year","use-relative":"",onSelected:o.unref(c),onHoverValue:o.unref(u)},o.createSlots({_:2},[p.$slots["year-overlay-value"]?{name:"item",fn:o.withCtx(({item:w})=>[o.renderSlot(p.$slots,"year-overlay-value",{text:w.text,value:w.value})]),key:"0"}:void 0]),1032,["items","is-last","height","config","no-overlay-focus","focus-value","onSelected","onHoverValue"]))]))}}),a7={key:0,class:"dp__time_input"},l7=["aria-label","onKeydown","onClick"],c7=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),d7=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),u7=["aria-label","disabled","onKeydown","onClick"],h7=["aria-label","onKeydown","onClick"],f7=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),p7=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),m7={key:0},g7=["aria-label","onKeydown"],_7=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},...ur},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,i=t,{setTimePickerElements:s,setTimePickerBackRef:a}=ki(),{defaultedAriaLabels:l,defaultedTransitions:c,defaultedFilters:u,defaultedConfig:h,defaultedRange:p}=Pt(i),{transitionName:g,showTransition:w}=Vo(c),C=o.reactive({hours:!1,minutes:!1,seconds:!1}),b=o.ref("AM"),x=o.ref(null),M=o.ref([]);o.onMounted(()=>{r("mounted")});const L=Q=>yt(new Date,{hours:Q.hours,minutes:Q.minutes,seconds:i.enableSeconds?Q.seconds:0,milliseconds:0}),P=o.computed(()=>Q=>A(Q,i[Q])||V(Q,i[Q])),$=o.computed(()=>({hours:i.hours,minutes:i.minutes,seconds:i.seconds})),V=(Q,re)=>p.value.enabled&&!p.value.disableTimeRangeValidation?!i.validateTime(Q,re):!1,F=(Q,re)=>{if(p.value.enabled&&!p.value.disableTimeRangeValidation){const Ae=re?+i[`${Q}Increment`]:-+i[`${Q}Increment`],Y=i[Q]+Ae;return!i.validateTime(Q,Y)}return!1},m=o.computed(()=>Q=>!be(+i[Q]+ +i[`${Q}Increment`],Q)||F(Q,!0)),R=o.computed(()=>Q=>!be(+i[Q]-+i[`${Q}Increment`],Q)||F(Q,!1)),B=(Q,re)=>D1(yt(pe(),Q),re),ne=(Q,re)=>t9(yt(pe(),Q),re),ce=o.computed(()=>({dp__time_col:!0,dp__time_col_block:!i.timePickerInline,dp__time_col_reg_block:!i.enableSeconds&&i.is24&&!i.timePickerInline,dp__time_col_reg_inline:!i.enableSeconds&&i.is24&&i.timePickerInline,dp__time_col_reg_with_button:!i.enableSeconds&&!i.is24,dp__time_col_sec:i.enableSeconds&&i.is24,dp__time_col_sec_with_button:i.enableSeconds&&!i.is24})),W=o.computed(()=>{const Q=[{type:"hours"},{type:"",separator:!0},{type:"minutes"}];return i.enableSeconds?Q.concat([{type:"",separator:!0},{type:"seconds"}]):Q}),j=o.computed(()=>W.value.filter(Q=>!Q.separator)),ue=o.computed(()=>Q=>{if(Q==="hours"){const re=T(+i.hours);return{text:re<10?`0${re}`:`${re}`,value:re}}return{text:i[Q]<10?`0${i[Q]}`:`${i[Q]}`,value:i[Q]}}),A=(Q,re)=>{var Ae;if(!i.disabledTimesConfig)return!1;const Y=i.disabledTimesConfig(i.order,Q==="hours"?re:void 0);return Y[Q]?!!((Ae=Y[Q])!=null&&Ae.includes(re)):!0},O=Q=>{const re=i.is24?24:12,Ae=Q==="hours"?re:60,Y=+i[`${Q}GridIncrement`],fe=Q==="hours"&&!i.is24?Y:0,Le=[];for(let He=fe;He<Ae;He+=Y)Le.push({value:He,text:He<10?`0${He}`:`${He}`});return Q==="hours"&&!i.is24&&Le.push({value:0,text:"12"}),Rs(Le,He=>({active:!1,disabled:u.value.times[Q].includes(He.value)||!be(He.value,Q)||A(Q,He.value)||V(Q,He.value)}))},U=Q=>Q>=0?Q:59,de=Q=>Q>=0?Q:23,be=(Q,re)=>{const Ae=i.minTime?L(hd(i.minTime)):null,Y=i.maxTime?L(hd(i.maxTime)):null,fe=L(hd($.value,re,re==="minutes"||re==="seconds"?U(Q):de(Q)));return Ae&&Y?(Eo(fe,Y)||Ns(fe,Y))&&(Oo(fe,Ae)||Ns(fe,Ae)):Ae?Oo(fe,Ae)||Ns(fe,Ae):Y?Eo(fe,Y)||Ns(fe,Y):!0},he=Q=>i[`no${Q[0].toUpperCase()+Q.slice(1)}Overlay`],q=Q=>{he(Q)||(C[Q]=!C[Q],C[Q]||r("overlay-closed"))},X=Q=>Q==="hours"?lr:Q==="minutes"?vr:Vs,D=(Q,re=!0)=>{const Ae=re?B:ne,Y=re?+i[`${Q}Increment`]:-+i[`${Q}Increment`];be(+i[Q]+Y,Q)&&r(`update:${Q}`,X(Q)(Ae({[Q]:+i[Q]},{[Q]:+i[`${Q}Increment`]})))},T=Q=>i.is24?Q:(Q>=12?b.value="PM":b.value="AM",i9(Q)),J=()=>{b.value==="PM"?(b.value="AM",r("update:hours",i.hours-12)):(b.value="PM",r("update:hours",i.hours+12)),r("am-pm-change",b.value)},ie=Q=>{C[Q]=!0},qe=(Q,re,Ae)=>{if(Q&&i.arrowNavigation){Array.isArray(M.value[re])?M.value[re][Ae]=Q:M.value[re]=[Q];const Y=M.value.reduce((fe,Le)=>Le.map((He,Oe)=>[...fe[Oe]||[],Le[Oe]]),[]);a(i.closeTimePickerBtn),x.value&&(Y[1]=Y[1].concat(x.value)),s(Y,i.order)}},dt=(Q,re)=>(q(Q),Q==="hours"&&!i.is24?r(`update:${Q}`,b.value==="PM"?re+12:re):r(`update:${Q}`,re));return e({openChildCmp:ie}),(Q,re)=>{var Ae;return Q.disabled?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",a7,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(W.value,(Y,fe)=>{var Le,He,Oe;return o.openBlock(),o.createElementBlock("div",{key:fe,class:o.normalizeClass(ce.value)},[Y.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:we=>qe(we,fe,0),type:"button",class:o.normalizeClass({dp__btn:!0,dp__inc_dec_button:!Q.timePickerInline,dp__inc_dec_button_inline:Q.timePickerInline,dp__tp_inline_btn_top:Q.timePickerInline,dp__inc_dec_button_disabled:m.value(Y.type)}),"aria-label":(Le=o.unref(l))==null?void 0:Le.incrementValue(Y.type),tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(we=>D(Y.type),["prevent"]),["enter"]),o.withKeys(o.withModifiers(we=>D(Y.type),["prevent"]),["space"])],onClick:we=>D(Y.type)},[i.timePickerInline?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[c7,d7],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[Q.$slots["arrow-up"]?o.renderSlot(Q.$slots,"arrow-up",{key:0}):o.createCommentVNode("",!0),Q.$slots["arrow-up"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(od),{key:1}))],64))],42,l7),o.createElementVNode("button",{ref_for:!0,ref:we=>qe(we,fe,1),type:"button","aria-label":(He=o.unref(l))==null?void 0:He.openTpOverlay(Y.type),class:o.normalizeClass({dp__time_display:!0,dp__time_display_block:!Q.timePickerInline,dp__time_display_inline:Q.timePickerInline,"dp--time-invalid":P.value(Y.type),"dp--time-overlay-btn":!P.value(Y.type)}),disabled:he(Y.type),tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(we=>q(Y.type),["prevent"]),["enter"]),o.withKeys(o.withModifiers(we=>q(Y.type),["prevent"]),["space"])],onClick:we=>q(Y.type)},[Q.$slots[Y.type]?o.renderSlot(Q.$slots,Y.type,{key:0,text:ue.value(Y.type).text,value:ue.value(Y.type).value}):o.createCommentVNode("",!0),Q.$slots[Y.type]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(ue.value(Y.type).text),1)],64))],42,u7),o.createElementVNode("button",{ref_for:!0,ref:we=>qe(we,fe,2),type:"button",class:o.normalizeClass({dp__btn:!0,dp__inc_dec_button:!Q.timePickerInline,dp__inc_dec_button_inline:Q.timePickerInline,dp__tp_inline_btn_bottom:Q.timePickerInline,dp__inc_dec_button_disabled:R.value(Y.type)}),"aria-label":(Oe=o.unref(l))==null?void 0:Oe.decrementValue(Y.type),tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(we=>D(Y.type,!1),["prevent"]),["enter"]),o.withKeys(o.withModifiers(we=>D(Y.type,!1),["prevent"]),["space"])],onClick:we=>D(Y.type,!1)},[i.timePickerInline?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[f7,p7],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[Q.$slots["arrow-down"]?o.renderSlot(Q.$slots,"arrow-down",{key:0}):o.createCommentVNode("",!0),Q.$slots["arrow-down"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(ad),{key:1}))],64))],42,h7)],64))],2)}),128)),Q.is24?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",m7,[Q.$slots["am-pm-button"]?o.renderSlot(Q.$slots,"am-pm-button",{key:0,toggle:J,value:b.value}):o.createCommentVNode("",!0),Q.$slots["am-pm-button"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("button",{key:1,ref_key:"amPmButton",ref:x,type:"button",class:"dp__pm_am_button",role:"button","aria-label":(Ae=o.unref(l))==null?void 0:Ae.amPmButton,tabindex:"0",onClick:J,onKeydown:[o.withKeys(o.withModifiers(J,["prevent"]),["enter"]),o.withKeys(o.withModifiers(J,["prevent"]),["space"])]},o.toDisplayString(b.value),41,g7))])),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(j.value,(Y,fe)=>(o.openBlock(),o.createBlock(o.Transition,{key:fe,name:o.unref(g)(C[Y.type]),css:o.unref(w)},{default:o.withCtx(()=>[C[Y.type]?(o.openBlock(),o.createBlock(Bo,{key:0,items:O(Y.type),"is-last":Q.autoApply&&!o.unref(h).keepActionRow,"esc-close":Q.escClose,type:Y.type,"text-input":Q.textInput,config:Q.config,"arrow-navigation":Q.arrowNavigation,"aria-labels":Q.ariaLabels,onSelected:Le=>dt(Y.type,Le),onToggle:Le=>q(Y.type),onResetFlow:re[0]||(re[0]=Le=>Q.$emit("reset-flow"))},o.createSlots({"button-icon":o.withCtx(()=>[Q.$slots["clock-icon"]?o.renderSlot(Q.$slots,"clock-icon",{key:0}):o.createCommentVNode("",!0),Q.$slots["clock-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(Q.timePickerInline?o.unref(As):o.unref(sd)),{key:1}))]),_:2},[Q.$slots[`${Y.type}-overlay-value`]?{name:"item",fn:o.withCtx(({item:Le})=>[o.renderSlot(Q.$slots,`${Y.type}-overlay-value`,{text:Le.text,value:Le.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))]))}}}),y7={class:"dp--tp-wrap"},b7=["aria-label","tabindex"],w7=["tabindex"],C7=["aria-label"],Df=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},...ur},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,i=t,{buildMatrix:s,setTimePicker:a}=ki(),l=o.useSlots(),{defaultedTransitions:c,defaultedAriaLabels:u,defaultedTextInput:h,defaultedConfig:p,defaultedRange:g}=Pt(i),{transitionName:w,showTransition:C}=Vo(c),{hideNavigationButtons:b}=Xa(),x=o.ref(null),M=o.ref(null),L=o.ref([]),P=o.ref(null);o.onMounted(()=>{r("mount"),!i.timePicker&&i.arrowNavigation?s([Kt(x.value)],"time"):a(!0,i.timePicker)});const $=o.computed(()=>g.value.enabled&&i.modelAuto?of(i.internalModelValue):!0),V=o.ref(!1),F=O=>({hours:Array.isArray(i.hours)?i.hours[O]:i.hours,minutes:Array.isArray(i.minutes)?i.minutes[O]:i.minutes,seconds:Array.isArray(i.seconds)?i.seconds[O]:i.seconds}),m=o.computed(()=>{const O=[];if(g.value.enabled)for(let U=0;U<2;U++)O.push(F(U));else O.push(F(0));return O}),R=(O,U=!1,de="")=>{U||r("reset-flow"),V.value=O,r(O?"overlay-opened":"overlay-closed"),i.arrowNavigation&&a(O),o.nextTick(()=>{de!==""&&L.value[0]&&L.value[0].openChildCmp(de)})},B=o.computed(()=>({dp__btn:!0,dp__button:!0,dp__button_bottom:i.autoApply&&!p.value.keepActionRow})),ne=On(l,"timePicker"),ce=(O,U,de)=>g.value.enabled?U===0?[O,m.value[1][de]]:[m.value[0][de],O]:O,W=O=>{r("update:hours",O)},j=O=>{r("update:minutes",O)},ue=O=>{r("update:seconds",O)},A=()=>{if(P.value&&!h.value.enabled&&!i.noOverlayFocus){const O=cf(P.value);O&&O.focus({preventScroll:!0})}};return e({toggleTimePicker:R}),(O,U)=>{var de;return o.openBlock(),o.createElementBlock("div",y7,[!O.timePicker&&!O.timePickerInline?o.withDirectives((o.openBlock(),o.createElementBlock("button",{key:0,ref_key:"openTimePickerBtn",ref:x,type:"button",class:o.normalizeClass(B.value),"aria-label":(de=o.unref(u))==null?void 0:de.openTimePicker,tabindex:O.noOverlayFocus?void 0:0,onKeydown:[U[0]||(U[0]=o.withKeys(be=>R(!0),["enter"])),U[1]||(U[1]=o.withKeys(be=>R(!0),["space"]))],onClick:U[2]||(U[2]=be=>R(!0))},[O.$slots["clock-icon"]?o.renderSlot(O.$slots,"clock-icon",{key:0}):o.createCommentVNode("",!0),O.$slots["clock-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(sd),{key:1}))],42,b7)),[[o.vShow,!o.unref(b)(O.hideNavigation,"time")]]):o.createCommentVNode("",!0),o.createVNode(o.Transition,{name:o.unref(w)(V.value),css:o.unref(C)&&!O.timePickerInline},{default:o.withCtx(()=>{var be;return[V.value||O.timePicker||O.timePickerInline?(o.openBlock(),o.createElementBlock("div",{key:0,ref_key:"overlayRef",ref:P,class:o.normalizeClass({dp__overlay:!O.timePickerInline,"dp--overlay-absolute":!i.timePicker&&!O.timePickerInline,"dp--overlay-relative":i.timePicker}),style:o.normalizeStyle(O.timePicker?{height:`${o.unref(p).modeHeight}px`}:void 0),tabindex:O.timePickerInline?void 0:0},[o.createElementVNode("div",{class:o.normalizeClass(O.timePickerInline?"dp__time_picker_inline_container":"dp__overlay_container dp__container_flex dp__time_picker_overlay_container"),style:{display:"flex"}},[O.$slots["time-picker-overlay"]?o.renderSlot(O.$slots,"time-picker-overlay",{key:0,hours:t.hours,minutes:t.minutes,seconds:t.seconds,setHours:W,setMinutes:j,setSeconds:ue}):o.createCommentVNode("",!0),O.$slots["time-picker-overlay"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",{key:1,class:o.normalizeClass(O.timePickerInline?"dp__flex":"dp__overlay_row dp__flex_row")},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(m.value,(he,q)=>o.withDirectives((o.openBlock(),o.createBlock(_7,o.mergeProps({key:q},{...O.$props,order:q,hours:he.hours,minutes:he.minutes,seconds:he.seconds,closeTimePickerBtn:M.value,disabledTimesConfig:t.disabledTimesConfig,disabled:q===0?O.fixedStart:O.fixedEnd},{ref_for:!0,ref_key:"timeInputRefs",ref:L,"validate-time":(X,D)=>t.validateTime(X,ce(D,q,X)),"onUpdate:hours":X=>W(ce(X,q,"hours")),"onUpdate:minutes":X=>j(ce(X,q,"minutes")),"onUpdate:seconds":X=>ue(ce(X,q,"seconds")),onMounted:A,onOverlayClosed:A,onAmPmChange:U[3]||(U[3]=X=>O.$emit("am-pm-change",X))}),o.createSlots({_:2},[o.renderList(o.unref(ne),(X,D)=>({name:X,fn:o.withCtx(T=>[o.renderSlot(O.$slots,X,o.normalizeProps(o.guardReactiveProps(T)))])}))]),1040,["validate-time","onUpdate:hours","onUpdate:minutes","onUpdate:seconds"])),[[o.vShow,q===0?!0:$.value]])),128))],2)),!O.timePicker&&!O.timePickerInline?o.withDirectives((o.openBlock(),o.createElementBlock("button",{key:2,ref_key:"closeTimePickerBtn",ref:M,type:"button",class:o.normalizeClass(B.value),"aria-label":(be=o.unref(u))==null?void 0:be.closeTimePicker,tabindex:"0",onKeydown:[U[4]||(U[4]=o.withKeys(he=>R(!1),["enter"])),U[5]||(U[5]=o.withKeys(he=>R(!1),["space"]))],onClick:U[6]||(U[6]=he=>R(!1))},[O.$slots["calendar-icon"]?o.renderSlot(O.$slots,"calendar-icon",{key:0}):o.createCommentVNode("",!0),O.$slots["calendar-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(As),{key:1}))],42,C7)),[[o.vShow,!o.unref(b)(O.hideNavigation,"time")]]):o.createCommentVNode("",!0)],2)],14,w7)):o.createCommentVNode("",!0)]}),_:3},8,["name","css"])])}}}),Pf=(t,e,n,r)=>{const{defaultedRange:i}=Pt(t),s=(P,$)=>Array.isArray(e[P])?e[P][$]:e[P],a=P=>t.enableSeconds?Array.isArray(e.seconds)?e.seconds[P]:e.seconds:0,l=(P,$)=>P?$!==void 0?wi(P,s("hours",$),s("minutes",$),a($)):wi(P,e.hours,e.minutes,a()):nd(pe(),a($)),c=(P,$)=>{e[P]=$},u=o.computed(()=>t.modelAuto&&i.value.enabled?Array.isArray(n.value)?n.value.length>1:!1:i.value.enabled),h=(P,$)=>{const V=Object.fromEntries(Object.keys(e).map(F=>F===P?[F,$]:[F,e[F]].slice()));if(u.value&&!i.value.disableTimeRangeValidation){const F=R=>n.value?wi(n.value[R],V.hours[R],V.minutes[R],V.seconds[R]):null,m=R=>td(n.value[R],0);return!(Je(F(0),F(1))&&(Oo(F(0),m(1))||Eo(F(1),m(0))))}return!0},p=(P,$)=>{h(P,$)&&(c(P,$),r&&r())},g=P=>{p("hours",P)},w=P=>{p("minutes",P)},C=P=>{p("seconds",P)},b=(P,$,V,F)=>{$&&g(P),!$&&!V&&w(P),V&&C(P),n.value&&F(n.value)},x=P=>{if(P){const $=Array.isArray(P),V=$?[+P[0].hours,+P[1].hours]:+P.hours,F=$?[+P[0].minutes,+P[1].minutes]:+P.minutes,m=$?[+P[0].seconds,+P[1].seconds]:+P.seconds;c("hours",V),c("minutes",F),t.enableSeconds&&c("seconds",m)}},M=(P,$)=>{const V={hours:Array.isArray(e.hours)?e.hours[P]:e.hours,disabledArr:[]};return($||$===0)&&(V.hours=$),Array.isArray(t.disabledTimes)&&(V.disabledArr=i.value.enabled&&Array.isArray(t.disabledTimes[P])?t.disabledTimes[P]:t.disabledTimes),V},L=o.computed(()=>(P,$)=>{var V;if(Array.isArray(t.disabledTimes)){const{disabledArr:F,hours:m}=M(P,$),R=F.filter(B=>+B.hours===m);return((V=R[0])==null?void 0:V.minutes)==="*"?{hours:[m],minutes:void 0,seconds:void 0}:{hours:[],minutes:(R==null?void 0:R.map(B=>+B.minutes))??[],seconds:(R==null?void 0:R.map(B=>B.seconds?+B.seconds:void 0))??[]}}return{hours:[],minutes:[],seconds:[]}});return{setTime:c,updateHours:g,updateMinutes:w,updateSeconds:C,getSetDateTime:l,updateTimeValues:b,getSecondsValue:a,assignStartTime:x,validateTime:h,disabledTimesConfig:L}},k7=(t,e)=>{const{modelValue:n,time:r}=No(t,e),{defaultedStartTime:i,defaultedRange:s}=Pt(t),{updateTimeValues:a,getSetDateTime:l,setTime:c,assignStartTime:u,disabledTimesConfig:h,validateTime:p}=Pf(t,r,n),g=P=>{const{hours:$,minutes:V,seconds:F}=P;return{hours:+$,minutes:+V,seconds:F?+F:0}},w=()=>{if(t.startTime){if(Array.isArray(t.startTime)){const $=g(t.startTime[0]),V=g(t.startTime[1]);return[yt(pe(),$),yt(pe(),V)]}const P=g(t.startTime);return yt(pe(),P)}return s.value.enabled?[null,null]:null},C=()=>{if(s.value.enabled){const[P,$]=w();n.value=[l(P,0),l($,1)]}else n.value=l(w())},b=P=>Array.isArray(P)?[Qi(pe(P[0])),Qi(pe(P[1]))]:[Qi(P??pe())],x=(P,$,V)=>{c("hours",P),c("minutes",$),c("seconds",t.enableSeconds?V:0)},M=()=>{const[P,$]=b(n.value);return s.value.enabled?x([P.hours,$.hours],[P.minutes,$.minutes],[P.seconds,$.seconds]):x(P.hours,P.minutes,P.seconds)};o.onMounted(()=>{if(!t.shadow)return u(i.value),n.value?M():C()});const L=()=>{Array.isArray(n.value)?n.value=n.value.map((P,$)=>P&&l(P,$)):n.value=l(n.value),e("time-update")};return{modelValue:n,time:r,disabledTimesConfig:h,updateTime:(P,$=!0,V=!1)=>{a(P,$,V,L)},validateTime:p}},v7=o.defineComponent({compatConfig:{MODE:3},__name:"TimePickerSolo",props:{...ur},emits:["update:internal-model-value","time-update","am-pm-change"],setup(t,{expose:e,emit:n}){const r=n,i=t,s=o.useSlots(),a=On(s,"timePicker"),{time:l,modelValue:c,disabledTimesConfig:u,updateTime:h,validateTime:p}=k7(i,r);return e({getSidebarProps:()=>({modelValue:c,time:l,updateTime:h})}),(g,w)=>(o.openBlock(),o.createBlock(Ja,{"multi-calendars":0,stretch:""},{default:o.withCtx(()=>[o.createVNode(Df,o.mergeProps(g.$props,{hours:o.unref(l).hours,minutes:o.unref(l).minutes,seconds:o.unref(l).seconds,"internal-model-value":g.internalModelValue,"disabled-times-config":o.unref(u),"validate-time":o.unref(p),"onUpdate:hours":w[0]||(w[0]=C=>o.unref(h)(C)),"onUpdate:minutes":w[1]||(w[1]=C=>o.unref(h)(C,!1)),"onUpdate:seconds":w[2]||(w[2]=C=>o.unref(h)(C,!1,!0)),onAmPmChange:w[3]||(w[3]=C=>g.$emit("am-pm-change",C))}),o.createSlots({_:2},[o.renderList(o.unref(a),(C,b)=>({name:C,fn:o.withCtx(x=>[o.renderSlot(g.$slots,C,o.normalizeProps(o.guardReactiveProps(x)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"])]),_:3}))}}),x7={class:"dp__month_year_row"},S7=["aria-label","onClick","onKeydown"],M7=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:()=>[]},...ur},emits:["update-month-year","mount","reset-flow","overlay-closed"],setup(t,{expose:e,emit:n}){const r=n,i=t,{defaultedTransitions:s,defaultedAriaLabels:a,defaultedMultiCalendars:l,defaultedFilters:c,defaultedConfig:u,defaultedHighlight:h,propDates:p}=Pt(i),{transitionName:g,showTransition:w}=Vo(s),{buildMatrix:C}=ki(),{handleMonthYearChange:b,isDisabled:x,updateMonthYear:M}=A9(i,r),{showLeftIcon:L,showRightIcon:P}=Xa(),$=o.ref(!1),V=o.ref(!1),F=o.ref([null,null,null,null]);o.onMounted(()=>{r("mount")});const m=q=>({get:()=>i[q],set:X=>{const D=q===dr.month?dr.year:dr.month;r("update-month-year",{[q]:X,[D]:i[D]}),q===dr.month?A(!0):O(!0)}}),R=o.computed(m(dr.month)),B=o.computed(m(dr.year)),ne=o.computed(()=>q=>({month:i.month,year:i.year,items:q===dr.month?i.months:i.years,instance:i.instance,updateMonthYear:M,toggle:q===dr.month?A:O})),ce=o.computed(()=>i.months.find(X=>X.value===i.month)||{text:"",value:0}),W=o.computed(()=>Rs(i.months,q=>{const X=i.month===q.value,D=Lo(q.value,hf(i.year,p.value.minDate),ff(i.year,p.value.maxDate))||c.value.months.includes(q.value),T=bf(h.value,q.value,i.year);return{active:X,disabled:D,highlighted:T}})),j=o.computed(()=>Rs(i.years,q=>{const X=i.year===q.value,D=Lo(q.value,Fs(p.value.minDate),Fs(p.value.maxDate))||c.value.years.includes(q.value),T=_d(h.value,q.value);return{active:X,disabled:D,highlighted:T}})),ue=(q,X)=>{X!==void 0?q.value=X:q.value=!q.value,q.value||r("overlay-closed")},A=(q=!1,X)=>{U(q),ue($,X)},O=(q=!1,X)=>{U(q),ue(V,X)},U=q=>{q||r("reset-flow")},de=(q,X)=>{i.arrowNavigation&&(F.value[X]=Kt(q),C(F.value,"monthYear"))},be=o.computed(()=>{var q,X;return[{type:dr.month,index:1,toggle:A,modelValue:R.value,updateModelValue:D=>R.value=D,text:ce.value.text,showSelectionGrid:$.value,items:W.value,ariaLabel:(q=a.value)==null?void 0:q.openMonthsOverlay},{type:dr.year,index:2,toggle:O,modelValue:B.value,updateModelValue:D=>B.value=D,text:df(i.year,i.locale),showSelectionGrid:V.value,items:j.value,ariaLabel:(X=a.value)==null?void 0:X.openYearsOverlay}]}),he=o.computed(()=>i.disableYearSelect?[be.value[0]]:i.yearFirst?[...be.value].reverse():be.value);return e({toggleMonthPicker:A,toggleYearPicker:O,handleMonthYearChange:b}),(q,X)=>{var D,T,J;return o.openBlock(),o.createElementBlock("div",x7,[q.$slots["month-year"]?o.renderSlot(q.$slots,"month-year",o.normalizeProps(o.mergeProps({key:0},{month:t.month,year:t.year,months:t.months,years:t.years,updateMonthYear:o.unref(M),handleMonthYearChange:o.unref(b),instance:t.instance}))):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.unref(L)(o.unref(l),t.instance)&&!q.vertical?(o.openBlock(),o.createBlock(Ao,{key:0,"aria-label":(D=o.unref(a))==null?void 0:D.prevMonth,disabled:o.unref(x)(!1),onActivate:X[0]||(X[0]=ie=>o.unref(b)(!1,!0)),onSetRef:X[1]||(X[1]=ie=>de(ie,0))},{default:o.withCtx(()=>[q.$slots["arrow-left"]?o.renderSlot(q.$slots,"arrow-left",{key:0}):o.createCommentVNode("",!0),q.$slots["arrow-left"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(rd),{key:1}))]),_:3},8,["aria-label","disabled"])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["dp__month_year_wrap",{dp__year_disable_select:q.disableYearSelect}])},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(he.value,(ie,qe)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:ie.type},[o.createElementVNode("button",{ref_for:!0,ref:dt=>de(dt,qe+1),type:"button",class:"dp__btn dp__month_year_select",tabindex:"0","aria-label":ie.ariaLabel,onClick:ie.toggle,onKeydown:[o.withKeys(o.withModifiers(ie.toggle,["prevent"]),["enter"]),o.withKeys(o.withModifiers(ie.toggle,["prevent"]),["space"])]},[q.$slots[ie.type]?o.renderSlot(q.$slots,ie.type,{key:0,text:ie.text,value:i[ie.type]}):o.createCommentVNode("",!0),q.$slots[ie.type]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(ie.text),1)],64))],40,S7),o.createVNode(o.Transition,{name:o.unref(g)(ie.showSelectionGrid),css:o.unref(w)},{default:o.withCtx(()=>[ie.showSelectionGrid?(o.openBlock(),o.createBlock(Bo,{key:0,items:ie.items,"arrow-navigation":q.arrowNavigation,"hide-navigation":q.hideNavigation,"is-last":q.autoApply&&!o.unref(u).keepActionRow,"skip-button-ref":!1,config:q.config,type:ie.type,"header-refs":[],"esc-close":q.escClose,"menu-wrap-ref":q.menuWrapRef,"text-input":q.textInput,"aria-labels":q.ariaLabels,onSelected:ie.updateModelValue,onToggle:ie.toggle},o.createSlots({"button-icon":o.withCtx(()=>[q.$slots["calendar-icon"]?o.renderSlot(q.$slots,"calendar-icon",{key:0}):o.createCommentVNode("",!0),q.$slots["calendar-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(As),{key:1}))]),_:2},[q.$slots[`${ie.type}-overlay-value`]?{name:"item",fn:o.withCtx(({item:dt})=>[o.renderSlot(q.$slots,`${ie.type}-overlay-value`,{text:dt.text,value:dt.value})]),key:"0"}:void 0,q.$slots[`${ie.type}-overlay`]?{name:"overlay",fn:o.withCtx(()=>[o.renderSlot(q.$slots,`${ie.type}-overlay`,o.normalizeProps(o.guardReactiveProps(ne.value(ie.type))))]),key:"1"}:void 0,q.$slots[`${ie.type}-overlay-header`]?{name:"header",fn:o.withCtx(()=>[o.renderSlot(q.$slots,`${ie.type}-overlay-header`,{toggle:ie.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(L)(o.unref(l),t.instance)&&q.vertical?(o.openBlock(),o.createBlock(Ao,{key:1,"aria-label":(T=o.unref(a))==null?void 0:T.prevMonth,disabled:o.unref(x)(!1),onActivate:X[2]||(X[2]=ie=>o.unref(b)(!1,!0))},{default:o.withCtx(()=>[q.$slots["arrow-up"]?o.renderSlot(q.$slots,"arrow-up",{key:0}):o.createCommentVNode("",!0),q.$slots["arrow-up"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(od),{key:1}))]),_:3},8,["aria-label","disabled"])):o.createCommentVNode("",!0),o.unref(P)(o.unref(l),t.instance)?(o.openBlock(),o.createBlock(Ao,{key:2,ref:"rightIcon",disabled:o.unref(x)(!0),"aria-label":(J=o.unref(a))==null?void 0:J.nextMonth,onActivate:X[3]||(X[3]=ie=>o.unref(b)(!0,!0)),onSetRef:X[4]||(X[4]=ie=>de(ie,q.disableYearSelect?2:3))},{default:o.withCtx(()=>[q.$slots[q.vertical?"arrow-down":"arrow-right"]?o.renderSlot(q.$slots,q.vertical?"arrow-down":"arrow-right",{key:0}):o.createCommentVNode("",!0),q.$slots[q.vertical?"arrow-down":"arrow-right"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(q.vertical?o.unref(ad):o.unref(id)),{key:1}))]),_:3},8,["disabled","aria-label"])):o.createCommentVNode("",!0)],64))])}}}),T7=["aria-label"],D7={class:"dp__calendar_header",role:"row"},P7={key:0,class:"dp__calendar_header_item",role:"gridcell"},O7=["aria-label"],E7=o.createElementVNode("div",{class:"dp__calendar_header_separator"},null,-1),L7=["aria-label"],$7={key:0,role:"gridcell",class:"dp__calendar_item dp__week_num"},V7={class:"dp__cell_inner"},N7=["id","aria-selected","aria-disabled","aria-label","onClick","onKeydown","onMouseenter","onMouseleave","onMousedown"],B7=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},...ur},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,i=t,{buildMultiLevelMatrix:s}=ki(),{defaultedTransitions:a,defaultedConfig:l,defaultedAriaLabels:c,defaultedMultiCalendars:u,defaultedWeekNumbers:h,defaultedMultiDates:p}=Pt(i),g=o.ref(null),w=o.ref({bottom:"",left:"",transform:""}),C=o.ref([]),b=o.ref(null),x=o.ref(!0),M=o.ref(""),L=o.ref({startX:0,endX:0,startY:0,endY:0}),P=o.ref([]),$=o.ref({left:"50%"}),V=o.ref(!1),F=o.computed(()=>i.calendar?i.calendar(i.mappedDates):i.mappedDates),m=o.computed(()=>i.dayNames?Array.isArray(i.dayNames)?i.dayNames:i.dayNames(i.locale,+i.weekStart):r9(i.formatLocale,i.locale,+i.weekStart));o.onMounted(()=>{r("mount",{cmp:"calendar",refs:C}),l.value.noSwipe||b.value&&(b.value.addEventListener("touchstart",be,{passive:!1}),b.value.addEventListener("touchend",he,{passive:!1}),b.value.addEventListener("touchmove",q,{passive:!1})),i.monthChangeOnScroll&&b.value&&b.value.addEventListener("wheel",T,{passive:!1})});const R=re=>re?i.vertical?"vNext":"next":i.vertical?"vPrevious":"previous",B=(re,Ae)=>{if(i.transitions){const Y=Pn(Zr(pe(),i.month,i.year));M.value=zt(Pn(Zr(pe(),re,Ae)),Y)?a.value[R(!0)]:a.value[R(!1)],x.value=!1,o.nextTick(()=>{x.value=!0})}},ne=o.computed(()=>({[i.calendarClassName]:!!i.calendarClassName})),ce=o.computed(()=>re=>{const Ae=s9(re);return{dp__marker_dot:Ae.type==="dot",dp__marker_line:Ae.type==="line"}}),W=o.computed(()=>re=>Je(re,g.value)),j=o.computed(()=>({dp__calendar:!0,dp__calendar_next:u.value.count>0&&i.instance!==0})),ue=o.computed(()=>re=>i.hideOffsetDates?re.current:!0),A=re=>kr(re,"yyyy-MM-dd"),O=async(re,Ae,Y)=>{const fe=Kt(C.value[Ae][Y]);if(fe){const{width:Le,height:He}=fe.getBoundingClientRect();g.value=re.value;let Oe={left:`${Le/2}px`},we=-50;if(await o.nextTick(),P.value[0]){const{left:St,width:Gt}=P.value[0].getBoundingClientRect();St<0&&(Oe={left:"0"},we=0,$.value.left=`${Le/2}px`),window.innerWidth<St+Gt&&(Oe={right:"0"},we=0,$.value.left=`${Gt-Le/2}px`)}w.value={bottom:`${He}px`,...Oe,transform:`translateX(${we}%)`},r("tooltip-open",re.marker)}},U=async(re,Ae,Y)=>{var fe,Le;if(V.value&&p.value.enabled&&p.value.dragSelect)return r("select-date",re);r("set-hover-date",re),(Le=(fe=re.marker)==null?void 0:fe.tooltip)!=null&&Le.length&&await O(re,Ae,Y)},de=re=>{g.value&&(g.value=null,w.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),r("tooltip-close",re.marker))},be=re=>{L.value.startX=re.changedTouches[0].screenX,L.value.startY=re.changedTouches[0].screenY},he=re=>{L.value.endX=re.changedTouches[0].screenX,L.value.endY=re.changedTouches[0].screenY,X()},q=re=>{i.vertical&&!i.inline&&re.preventDefault()},X=()=>{const re=i.vertical?"Y":"X";Math.abs(L.value[`start${re}`]-L.value[`end${re}`])>10&&r("handle-swipe",L.value[`start${re}`]>L.value[`end${re}`]?"right":"left")},D=(re,Ae,Y)=>{re&&(Array.isArray(C.value[Ae])?C.value[Ae][Y]=re:C.value[Ae]=[re]),i.arrowNavigation&&s(C.value,"calendar")},T=re=>{i.monthChangeOnScroll&&(re.preventDefault(),r("handle-scroll",re))},J=re=>h.value.type==="local"?Gc(re.value,{weekStartsOn:+i.weekStart}):h.value.type==="iso"?Uc(re.value):typeof h.value.type=="function"?h.value.type(re.value):"",ie=re=>{const Ae=re[0];return h.value.hideOnOffsetDates?re.some(Y=>Y.current)?J(Ae):"":J(Ae)},qe=(re,Ae)=>{p.value.enabled||(bi(re,l.value),r("select-date",Ae))},dt=re=>{bi(re,l.value)},Q=re=>{p.value.enabled&&p.value.dragSelect?(V.value=!0,r("select-date",re)):p.value.enabled&&r("select-date",re)};return e({triggerTransition:B}),(re,Ae)=>{var Y;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(j.value)},[o.createElementVNode("div",{ref_key:"calendarWrapRef",ref:b,role:"grid",class:o.normalizeClass(ne.value),"aria-label":(Y=o.unref(c))==null?void 0:Y.calendarWrap},[o.createElementVNode("div",D7,[re.weekNumbers?(o.openBlock(),o.createElementBlock("div",P7,o.toDisplayString(re.weekNumName),1)):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(m.value,(fe,Le)=>{var He,Oe;return o.openBlock(),o.createElementBlock("div",{key:Le,class:"dp__calendar_header_item",role:"gridcell","aria-label":(Oe=(He=o.unref(c))==null?void 0:He.weekDay)==null?void 0:Oe.call(He,Le)},[re.$slots["calendar-header"]?o.renderSlot(re.$slots,"calendar-header",{key:0,day:fe,index:Le}):o.createCommentVNode("",!0),re.$slots["calendar-header"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(fe),1)],64))],8,O7)}),128))]),E7,o.createVNode(o.Transition,{name:M.value,css:!!re.transitions},{default:o.withCtx(()=>{var fe;return[x.value?(o.openBlock(),o.createElementBlock("div",{key:0,class:"dp__calendar",role:"rowgroup","aria-label":((fe=o.unref(c))==null?void 0:fe.calendarDays)||void 0,onMouseleave:Ae[1]||(Ae[1]=Le=>V.value=!1)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(F.value,(Le,He)=>(o.openBlock(),o.createElementBlock("div",{key:He,class:"dp__calendar_row",role:"row"},[re.weekNumbers?(o.openBlock(),o.createElementBlock("div",$7,[o.createElementVNode("div",V7,o.toDisplayString(ie(Le.days)),1)])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(Le.days,(Oe,we)=>{var St,Gt,gr;return o.openBlock(),o.createElementBlock("div",{id:A(Oe.value),ref_for:!0,ref:Ut=>D(Ut,He,we),key:we+He,role:"gridcell",class:"dp__calendar_item","aria-selected":(Oe.classData.dp__active_date||Oe.classData.dp__range_start||Oe.classData.dp__range_start)??void 0,"aria-disabled":Oe.classData.dp__cell_disabled||void 0,"aria-label":(Gt=(St=o.unref(c))==null?void 0:St.day)==null?void 0:Gt.call(St,Oe),tabindex:"0",onClick:o.withModifiers(Ut=>qe(Ut,Oe),["prevent"]),onKeydown:[o.withKeys(Ut=>re.$emit("select-date",Oe),["enter"]),o.withKeys(Ut=>re.$emit("handle-space",Oe),["space"])],onMouseenter:Ut=>U(Oe,He,we),onMouseleave:Ut=>de(Oe),onMousedown:Ut=>Q(Oe),onMouseup:Ae[0]||(Ae[0]=Ut=>V.value=!1)},[o.createElementVNode("div",{class:o.normalizeClass(["dp__cell_inner",Oe.classData])},[re.$slots.day&&ue.value(Oe)?o.renderSlot(re.$slots,"day",{key:0,day:+Oe.text,date:Oe.value}):o.createCommentVNode("",!0),re.$slots.day?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(Oe.text),1)],64)),Oe.marker&&ue.value(Oe)?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[re.$slots.marker?o.renderSlot(re.$slots,"marker",{key:0,marker:Oe.marker,day:+Oe.text,date:Oe.value}):(o.openBlock(),o.createElementBlock("div",{key:1,class:o.normalizeClass(ce.value(Oe.marker)),style:o.normalizeStyle(Oe.marker.color?{backgroundColor:Oe.marker.color}:{})},null,6))],64)):o.createCommentVNode("",!0),W.value(Oe.value)?(o.openBlock(),o.createElementBlock("div",{key:3,ref_for:!0,ref_key:"activeTooltip",ref:P,class:"dp__marker_tooltip",style:o.normalizeStyle(w.value)},[(gr=Oe.marker)!=null&&gr.tooltip?(o.openBlock(),o.createElementBlock("div",{key:0,class:"dp__tooltip_content",onClick:dt},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(Oe.marker.tooltip,(Ut,rn)=>(o.openBlock(),o.createElementBlock("div",{key:rn,class:"dp__tooltip_text"},[re.$slots["marker-tooltip"]?o.renderSlot(re.$slots,"marker-tooltip",{key:0,tooltip:Ut,day:Oe.value}):o.createCommentVNode("",!0),re.$slots["marker-tooltip"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("div",{class:"dp__tooltip_mark",style:o.normalizeStyle(Ut.color?{backgroundColor:Ut.color}:{})},null,4),o.createElementVNode("div",null,o.toDisplayString(Ut.text),1)],64))]))),128)),o.createElementVNode("div",{class:"dp__arrow_bottom_tp",style:o.normalizeStyle($.value)},null,4)])):o.createCommentVNode("",!0)],4)):o.createCommentVNode("",!0)],2)],40,N7)}),128))]))),128))],40,L7)):o.createCommentVNode("",!0)]}),_:3},8,["name","css"])],10,T7)],2)}}}),Of=t=>Array.isArray(t),A7=(t,e,n,r)=>{const i=o.ref([]),s=o.ref(new Date),{modelValue:a,calendars:l,time:c}=No(t,e),{defaultedMultiCalendars:u,defaultedStartTime:h,defaultedRange:p,defaultedTz:g,propDates:w,defaultedMultiDates:C}=Pt(t),{validateMonthYearInRange:b,isDisabled:x,isDateRangeAllowed:M,checkMinMaxRange:L}=xi(t),{updateTimeValues:P,getSetDateTime:$,setTime:V,assignStartTime:F,validateTime:m,disabledTimesConfig:R}=Pf(t,c,a,r),B=o.computed(()=>G=>l.value[G]?l.value[G].month:0),ne=o.computed(()=>G=>l.value[G]?l.value[G].year:0),ce=(G,ge,De)=>{var Fe,me;l.value[G]||(l.value[G]={month:0,year:0}),l.value[G].month=lf(ge)?(Fe=l.value[G])==null?void 0:Fe.month:ge,l.value[G].year=lf(De)?(me=l.value[G])==null?void 0:me.year:De},W=()=>{t.autoApply&&e("select-date")};o.watch(a,(G,ge)=>{JSON.stringify(G)!==JSON.stringify(ge)&&A()},{deep:!0}),o.onMounted(()=>{t.shadow||(a.value||(ie(),h.value&&F(h.value)),A(!0),t.focusStartDate&&t.startDate&&ie())});const j=o.computed(()=>{var G;return(G=t.flow)!=null&&G.length&&!t.partialFlow?t.flowStep===t.flow.length:!0}),ue=()=>{t.autoApply&&j.value&&e("auto-apply")},A=(G=!1)=>{if(a.value)return Array.isArray(a.value)?(i.value=a.value,X(G)):de(a.value,G);if(u.value.count&&G&&!t.startDate)return U(pe(),G)},O=()=>Array.isArray(a.value)&&p.value.enabled?Xe(a.value[0])===Xe(a.value[1]??a.value[0]):!1,U=(G,ge=!1)=>{if((!u.value.count||!u.value.static||ge)&&ce(0,Xe(G),Ye(G)),u.value.count&&(!u.value.solo||!a.value||O()))for(let De=1;De<u.value.count;De++){const Fe=yt(pe(),{month:B.value(De-1),year:ne.value(De-1)}),me=D1(Fe,{months:1});l.value[De]={month:Xe(me),year:Ye(me)}}},de=(G,ge)=>{U(G),V("hours",lr(G)),V("minutes",vr(G)),V("seconds",Vs(G)),u.value.count&&ge&&J()},be=G=>{if(u.value.count){if(u.value.solo)return 0;const ge=Xe(G[0]),De=Xe(G[1]);return Math.abs(De-ge)<u.value.count?0:1}return 1},he=(G,ge)=>{G[1]&&p.value.showLastInRange?U(G[be(G)],ge):U(G[0],ge);const De=(Fe,me)=>[Fe(G[0]),G[1]?Fe(G[1]):c[me][1]];V("hours",De(lr,"hours")),V("minutes",De(vr,"minutes")),V("seconds",De(Vs,"seconds"))},q=(G,ge)=>{if((p.value.enabled||t.weekPicker)&&!C.value.enabled)return he(G,ge);if(C.value.enabled&&ge){const De=G[G.length-1];return de(De,ge)}},X=G=>{const ge=a.value;q(ge,G),u.value.count&&u.value.solo&&J()},D=(G,ge)=>{const De=yt(pe(),{month:B.value(ge),year:ne.value(ge)}),Fe=G<0?ar(De,1):Bs(De,1);b(Xe(Fe),Ye(Fe),G<0,t.preventMinMaxNavigation)&&(ce(ge,Xe(Fe),Ye(Fe)),e("update-month-year",{instance:ge,month:Xe(Fe),year:Ye(Fe)}),u.value.count&&!u.value.solo&&T(ge),n())},T=G=>{for(let ge=G-1;ge>=0;ge--){const De=Bs(yt(pe(),{month:B.value(ge+1),year:ne.value(ge+1)}),1);ce(ge,Xe(De),Ye(De))}for(let ge=G+1;ge<=u.value.count-1;ge++){const De=ar(yt(pe(),{month:B.value(ge-1),year:ne.value(ge-1)}),1);ce(ge,Xe(De),Ye(De))}},J=()=>{if(Array.isArray(a.value)&&a.value.length===2){const G=pe(pe(a.value[1]?a.value[1]:ar(a.value[0],1))),[ge,De]=[Xe(a.value[0]),Ye(a.value[0])],[Fe,me]=[Xe(a.value[1]),Ye(a.value[1])];(ge!==Fe||ge===Fe&&De!==me)&&u.value.solo&&ce(1,Xe(G),Ye(G))}else a.value&&!Array.isArray(a.value)&&(ce(0,Xe(a.value),Ye(a.value)),U(pe()))},ie=()=>{t.startDate&&(ce(0,Xe(pe(t.startDate)),Ye(pe(t.startDate))),u.value.count&&T(0))},qe=(G,ge)=>{if(t.monthChangeOnScroll){const De=new Date().getTime()-s.value.getTime(),Fe=Math.abs(G.deltaY);let me=500;Fe>1&&(me=100),Fe>100&&(me=0),De>me&&(s.value=new Date,D(t.monthChangeOnScroll!=="inverse"?-G.deltaY:G.deltaY,ge))}},dt=(G,ge,De=!1)=>{t.monthChangeOnArrows&&t.vertical===De&&Q(G,ge)},Q=(G,ge)=>{D(G==="right"?-1:1,ge)},re=G=>{if(w.value.markers)return Ua(G.value,w.value.markers)},Ae=(G,ge)=>{switch(t.sixWeeks===!0?"append":t.sixWeeks){case"prepend":return[!0,!1];case"center":return[G==0,!0];case"fair":return[G==0||ge>G,!0];case"append":return[!1,!1];default:return[!1,!1]}},Y=(G,ge,De,Fe)=>{if(t.sixWeeks&&G.length<6){const me=6-G.length,$e=(ge.getDay()+7-Fe)%7,Ne=6-(De.getDay()+7-Fe)%7,[tr,nr]=Ae($e,Ne);for(let xn=1;xn<=me;xn++)if(nr?!!(xn%2)==tr:tr){const Sn=G[0].days[0],wo=fe(or(Sn.value,-7),Xe(ge));G.unshift({days:wo})}else{const Sn=G[G.length-1],wo=Sn.days[Sn.days.length-1],$c=fe(or(wo.value,1),Xe(ge));G.push({days:$c})}}return G},fe=(G,ge)=>{const De=pe(G),Fe=[];for(let me=0;me<7;me++){const $e=or(De,me),Ne=Xe($e)!==ge;Fe.push({text:t.hideOffsetDates&&Ne?"":$e.getDate(),value:$e,current:!Ne,classData:{}})}return Fe},Le=(G,ge)=>{const De=[],Fe=new Date(ge,G),me=new Date(ge,G+1,0),$e=t.weekStart,Ne=Cr(Fe,{weekStartsOn:$e}),tr=nr=>{const xn=fe(nr,G);if(De.push({days:xn}),!De[De.length-1].days.some(Sn=>Je(Pn(Sn.value),Pn(me)))){const Sn=or(nr,7);tr(Sn)}};return tr(Ne),Y(De,Fe,me,$e)},He=G=>{const ge=wi(pe(G.value),c.hours,c.minutes,rn());e("date-update",ge),C.value.enabled?xd(ge,a,C.value.limit):a.value=ge,r(),o.nextTick().then(()=>{ue()})},Oe=G=>p.value.noDisabledRange?pf(i.value[0],G).some(ge=>x(ge)):!1,we=()=>{i.value=a.value?a.value.slice():[],i.value.length===2&&!(p.value.fixedStart||p.value.fixedEnd)&&(i.value=[])},St=(G,ge)=>{const De=[pe(G.value),or(pe(G.value),+p.value.autoRange)];M(De)?(ge&&Gt(G.value),i.value=De):e("invalid-date",G.value)},Gt=G=>{const ge=Xe(pe(G)),De=Ye(pe(G));if(ce(0,ge,De),u.value.count>0)for(let Fe=1;Fe<u.value.count;Fe++){const me=f9(yt(pe(G),{year:B.value(Fe-1),month:ne.value(Fe-1)}));ce(Fe,me.month,me.year)}},gr=G=>{if(Oe(G.value)||!L(G.value,a.value,p.value.fixedStart?0:1))return e("invalid-date",G.value);i.value=Mf(pe(G.value),a,e,p)},Ut=(G,ge)=>{if(we(),p.value.autoRange)return St(G,ge);if(p.value.fixedStart||p.value.fixedEnd)return gr(G);i.value[0]?L(pe(G.value),a.value)&&!Oe(G.value)?Vt(pe(G.value),pe(i.value[0]))?(i.value.unshift(pe(G.value)),e("range-end",i.value[0])):(i.value[1]=pe(G.value),e("range-end",i.value[1])):(t.autoApply&&e("auto-apply-invalid",G.value),e("invalid-date",G.value)):(i.value[0]=pe(G.value),e("range-start",i.value[0]))},rn=(G=!0)=>t.enableSeconds?Array.isArray(c.seconds)?G?c.seconds[0]:c.seconds[1]:c.seconds:0,_r=G=>{i.value[G]=wi(i.value[G],c.hours[G],c.minutes[G],rn(G!==1))},yr=()=>{var G,ge;i.value[0]&&i.value[1]&&+((G=i.value)==null?void 0:G[0])>+((ge=i.value)==null?void 0:ge[1])&&(i.value.reverse(),e("range-start",i.value[0]),e("range-end",i.value[1]))},Se=()=>{i.value.length&&(i.value[0]&&!i.value[1]?_r(0):(_r(0),_r(1),r()),yr(),a.value=i.value.slice(),el(i.value,e,t.autoApply,t.modelAuto))},sn=(G,ge=!1)=>{if(x(G.value)||!G.current&&t.hideOffsetDates)return e("invalid-date",G.value);if(!p.value.enabled)return He(G);Of(c.hours)&&Of(c.minutes)&&!C.value.enabled&&(Ut(G,ge),Se())},Ba=(G,ge)=>{var De;ce(G,ge.month,ge.year),u.value.count&&!u.value.solo&&T(G),e("update-month-year",{instance:G,month:ge.month,year:ge.year}),n(u.value.solo?G:void 0);const Fe=(De=t.flow)!=null&&De.length?t.flow[t.flowStep]:void 0;!ge.fromNav&&(Fe===Tr.month||Fe===Tr.year)&&r()},_o=(G,ge)=>{Sf({value:G,modelValue:a,range:p.value.enabled,timezone:ge?void 0:g.value.timezone}),W(),t.multiCalendars&&o.nextTick().then(()=>A(!0))},Aa=()=>{p.value.enabled?a.value&&Array.isArray(a.value)&&a.value[0]?a.value=Vt(pe(),a.value[0])?[pe(),a.value[0]]:[a.value[0],pe()]:a.value=[pe()]:a.value=pe(),W()},yo=()=>{if(Array.isArray(a.value))if(C.value.enabled){const G=bo();a.value[a.value.length-1]=$(G)}else a.value=a.value.map((G,ge)=>G&&$(G,ge));else a.value=$(a.value);e("time-update")},bo=()=>Array.isArray(a.value)&&a.value.length?a.value[a.value.length-1]:null;return{calendars:l,modelValue:a,month:B,year:ne,time:c,disabledTimesConfig:R,validateTime:m,getCalendarDays:Le,getMarker:re,handleScroll:qe,handleSwipe:Q,handleArrow:dt,selectDate:sn,updateMonthYear:Ba,presetDate:_o,selectCurrentDate:Aa,updateTime:(G,ge=!0,De=!1)=>{P(G,ge,De,yo)}}},R7={key:0},F7=o.defineComponent({__name:"DatePicker",props:{...ur},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,i=t,{calendars:s,month:a,year:l,modelValue:c,time:u,disabledTimesConfig:h,validateTime:p,getCalendarDays:g,getMarker:w,handleArrow:C,handleScroll:b,handleSwipe:x,selectDate:M,updateMonthYear:L,presetDate:P,selectCurrentDate:$,updateTime:V}=A7(i,r,be,he),F=o.useSlots(),{setHoverDate:m,getDayClassData:R,clearHoverDate:B}=H9(c,i),{defaultedMultiCalendars:ne}=Pt(i),ce=o.ref([]),W=o.ref([]),j=o.ref(null),ue=On(F,"calendar"),A=On(F,"monthYear"),O=On(F,"timePicker"),U=X=>{i.shadow||r("mount",X)};o.watch(s,()=>{i.shadow||setTimeout(()=>{r("recalculate-position")},0)},{deep:!0});const de=o.computed(()=>X=>g(a.value(X),l.value(X)).map(D=>({...D,days:D.days.map(T=>(T.marker=w(T),T.classData=R(T),T))})));function be(X){var D;X||X===0?(D=W.value[X])==null||D.triggerTransition(a.value(X),l.value(X)):W.value.forEach((T,J)=>T.triggerTransition(a.value(J),l.value(J)))}function he(){r("update-flow-step")}const q=(X,D=!1)=>{M(X,D),i.spaceConfirm&&r("select-date")};return e({clearHoverDate:B,presetDate:P,selectCurrentDate:$,toggleMonthPicker:(X,D,T=0)=>{var J;(J=ce.value[T])==null||J.toggleMonthPicker(X,D)},toggleYearPicker:(X,D,T=0)=>{var J;(J=ce.value[T])==null||J.toggleYearPicker(X,D)},toggleTimePicker:(X,D,T)=>{var J;(J=j.value)==null||J.toggleTimePicker(X,D,T)},handleArrow:C,updateMonthYear:L,getSidebarProps:()=>({modelValue:c,month:a,year:l,time:u,updateTime:V,updateMonthYear:L,selectDate:M,presetDate:P})}),(X,D)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createVNode(Ja,{"multi-calendars":o.unref(ne).count,collapse:X.collapse},{default:o.withCtx(({instance:T,index:J})=>[X.disableMonthYearSelect?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(M7,o.mergeProps({key:0,ref:ie=>{ie&&(ce.value[J]=ie)},months:o.unref(sf)(X.formatLocale,X.locale,X.monthNameFormat),years:o.unref(ld)(X.yearRange,X.locale,X.reverseYears),month:o.unref(a)(T),year:o.unref(l)(T),instance:T},X.$props,{onMount:D[0]||(D[0]=ie=>U(o.unref(es).header)),onResetFlow:D[1]||(D[1]=ie=>X.$emit("reset-flow")),onUpdateMonthYear:ie=>o.unref(L)(T,ie),onOverlayClosed:D[2]||(D[2]=ie=>X.$emit("focus-menu"))}),o.createSlots({_:2},[o.renderList(o.unref(A),(ie,qe)=>({name:ie,fn:o.withCtx(dt=>[o.renderSlot(X.$slots,ie,o.normalizeProps(o.guardReactiveProps(dt)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),o.createVNode(B7,o.mergeProps({ref:ie=>{ie&&(W.value[J]=ie)},"mapped-dates":de.value(T),month:o.unref(a)(T),year:o.unref(l)(T),instance:T},X.$props,{onSelectDate:ie=>o.unref(M)(ie,T!==1),onHandleSpace:ie=>q(ie,T!==1),onSetHoverDate:D[3]||(D[3]=ie=>o.unref(m)(ie)),onHandleScroll:ie=>o.unref(b)(ie,T),onHandleSwipe:ie=>o.unref(x)(ie,T),onMount:D[4]||(D[4]=ie=>U(o.unref(es).calendar)),onResetFlow:D[5]||(D[5]=ie=>X.$emit("reset-flow")),onTooltipOpen:D[6]||(D[6]=ie=>X.$emit("tooltip-open",ie)),onTooltipClose:D[7]||(D[7]=ie=>X.$emit("tooltip-close",ie))}),o.createSlots({_:2},[o.renderList(o.unref(ue),(ie,qe)=>({name:ie,fn:o.withCtx(dt=>[o.renderSlot(X.$slots,ie,o.normalizeProps(o.guardReactiveProps({...dt})))])}))]),1040,["mapped-dates","month","year","instance","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])]),_:3},8,["multi-calendars","collapse"]),X.enableTimePicker?(o.openBlock(),o.createElementBlock("div",R7,[X.$slots["time-picker"]?o.renderSlot(X.$slots,"time-picker",o.normalizeProps(o.mergeProps({key:0},{time:o.unref(u),updateTime:o.unref(V)}))):(o.openBlock(),o.createBlock(Df,o.mergeProps({key:1,ref_key:"timePickerRef",ref:j},X.$props,{hours:o.unref(u).hours,minutes:o.unref(u).minutes,seconds:o.unref(u).seconds,"internal-model-value":X.internalModelValue,"disabled-times-config":o.unref(h),"validate-time":o.unref(p),onMount:D[8]||(D[8]=T=>U(o.unref(es).timePicker)),"onUpdate:hours":D[9]||(D[9]=T=>o.unref(V)(T)),"onUpdate:minutes":D[10]||(D[10]=T=>o.unref(V)(T,!1)),"onUpdate:seconds":D[11]||(D[11]=T=>o.unref(V)(T,!1,!0)),onResetFlow:D[12]||(D[12]=T=>X.$emit("reset-flow")),onOverlayClosed:D[13]||(D[13]=T=>X.$emit("time-picker-close")),onOverlayOpened:D[14]||(D[14]=T=>X.$emit("time-picker-open",T)),onAmPmChange:D[15]||(D[15]=T=>X.$emit("am-pm-change",T))}),o.createSlots({_:2},[o.renderList(o.unref(O),(T,J)=>({name:T,fn:o.withCtx(ie=>[o.renderSlot(X.$slots,T,o.normalizeProps(o.guardReactiveProps(ie)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):o.createCommentVNode("",!0)],64))}}),I7=(t,e)=>{const n=o.ref(),{defaultedMultiCalendars:r,defaultedConfig:i,defaultedHighlight:s,defaultedRange:a,propDates:l,defaultedFilters:c,defaultedMultiDates:u}=Pt(t),{modelValue:h,year:p,month:g,calendars:w}=No(t,e),{isDisabled:C}=xi(t),{selectYear:b,groupedYears:x,showYearPicker:M,isDisabled:L,toggleYearPicker:P,handleYearSelect:$,handleYear:V}=Tf({modelValue:h,multiCalendars:r,highlight:s,calendars:w,propDates:l,month:g,year:p,filters:c,props:t,emit:e}),F=(A,O)=>[A,O].map(U=>kr(U,"MMMM",{locale:t.formatLocale})).join("-"),m=o.computed(()=>A=>h.value?Array.isArray(h.value)?h.value.some(O=>X1(A,O)):X1(h.value,A):!1),R=A=>{if(a.value.enabled){if(Array.isArray(h.value)){const O=Je(A,h.value[0])||Je(A,h.value[1]);return Za(h.value,n.value,A)&&!O}return!1}return!1},B=(A,O)=>A.quarter===N1(O)&&A.year===Ye(O),ne=A=>typeof s.value=="function"?s.value({quarter:N1(A),year:Ye(A)}):!!s.value.quarters.find(O=>B(O,A)),ce=o.computed(()=>A=>{const O=yt(new Date,{year:p.value(A)});return d5({start:A1(O),end:u5(O)}).map(U=>{const de=Ki(U),be=R1(U),he=C(U),q=R(de),X=ne(de);return{text:F(de,be),value:de,active:m.value(de),highlighted:X,disabled:he,isBetween:q}})}),W=A=>{xd(A,h,u.value.limit),e("auto-apply",!0)},j=A=>{h.value=Sd(h,A,e),el(h.value,e,t.autoApply,t.modelAuto)},ue=A=>{h.value=A,e("auto-apply")};return{defaultedConfig:i,defaultedMultiCalendars:r,groupedYears:x,year:p,isDisabled:L,quarters:ce,showYearPicker:M,modelValue:h,setHoverDate:A=>{n.value=A},selectYear:b,selectQuarter:(A,O,U)=>{if(!U)return w.value[O].month=Xe(R1(A)),u.value.enabled?W(A):a.value.enabled?j(A):ue(A)},toggleYearPicker:P,handleYearSelect:$,handleYear:V}},H7={class:"dp--quarter-items"},z7=["disabled","onClick","onMouseover"],j7=o.defineComponent({compatConfig:{MODE:3},__name:"QuarterPicker",props:{...ur},emits:["update:internal-model-value","reset-flow","overlay-closed","auto-apply","range-start","range-end"],setup(t,{expose:e,emit:n}){const r=n,i=t,s=o.useSlots(),a=On(s,"yearMode"),{defaultedMultiCalendars:l,defaultedConfig:c,groupedYears:u,year:h,isDisabled:p,quarters:g,modelValue:w,showYearPicker:C,setHoverDate:b,selectQuarter:x,toggleYearPicker:M,handleYearSelect:L,handleYear:P}=I7(i,r);return e({getSidebarProps:()=>({modelValue:w,year:h,selectQuarter:x,handleYearSelect:L,handleYear:P})}),($,V)=>(o.openBlock(),o.createBlock(Ja,{"multi-calendars":o.unref(l).count,collapse:$.collapse,stretch:""},{default:o.withCtx(({instance:F})=>[o.createElementVNode("div",{class:"dp-quarter-picker-wrap",style:o.normalizeStyle({minHeight:`${o.unref(c).modeHeight}px`})},[o.createElementVNode("div",null,[o.createVNode(xf,o.mergeProps($.$props,{items:o.unref(u)(F),instance:F,"show-year-picker":o.unref(C)[F],year:o.unref(h)(F),"is-disabled":m=>o.unref(p)(F,m),onHandleYear:m=>o.unref(P)(F,m),onYearSelect:m=>o.unref(L)(m,F),onToggleYearPicker:m=>o.unref(M)(F,m==null?void 0:m.flow,m==null?void 0:m.show)}),o.createSlots({_:2},[o.renderList(o.unref(a),(m,R)=>({name:m,fn:o.withCtx(B=>[o.renderSlot($.$slots,m,o.normalizeProps(o.guardReactiveProps(B)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),o.createElementVNode("div",H7,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(g)(F),(m,R)=>(o.openBlock(),o.createElementBlock("div",{key:R},[o.createElementVNode("button",{type:"button",class:o.normalizeClass(["dp--qr-btn",{"dp--qr-btn-active":m.active,"dp--qr-btn-between":m.isBetween,"dp--qr-btn-disabled":m.disabled,"dp--highlighted":m.highlighted}]),disabled:m.disabled,onClick:B=>o.unref(x)(m.value,F,m.disabled),onMouseover:B=>o.unref(b)(m.value)},[$.$slots.quarter?o.renderSlot($.$slots,"quarter",{key:0,value:m.value,text:m.text}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(m.text),1)],64))],42,z7)]))),128))])],4)]),_:3},8,["multi-calendars","collapse"]))}}),Y7=["id","aria-label"],W7={key:0,class:"dp--menu-load-container"},q7=o.createElementVNode("span",{class:"dp--menu-loader"},null,-1),U7=[q7],Z7={key:0,class:"dp__sidebar_left"},G7=["onClick","onKeydown"],K7={key:2,class:"dp__sidebar_right"},X7={key:3,class:"dp__action_extra"},Ef=o.defineComponent({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...Qa,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,i=t,s=o.ref(null),a=o.computed(()=>{const{openOnTop:Y,...fe}=i;return{...fe,flowStep:R.value,collapse:i.collapse,noOverlayFocus:i.noOverlayFocus,menuWrapRef:s.value}}),{setMenuFocused:l,setShiftKey:c,control:u}=wf(),h=o.useSlots(),{defaultedTextInput:p,defaultedInline:g,defaultedConfig:w}=Pt(i),C=o.ref(null),b=o.ref(0),x=o.ref(null),M=o.ref(!1),L=o.ref(null);o.onMounted(()=>{if(!i.shadow){M.value=!0,P(),window.addEventListener("resize",P);const Y=Kt(s);if(Y&&!p.value.enabled&&!g.value.enabled&&(l(!0),j()),Y){const fe=Le=>{w.value.allowPreventDefault&&Le.preventDefault(),bi(Le,w.value,!0)};Y.addEventListener("pointerdown",fe),Y.addEventListener("mousedown",fe)}}}),o.onUnmounted(()=>{window.removeEventListener("resize",P)});const P=()=>{const Y=Kt(x);Y&&(b.value=Y.getBoundingClientRect().width)},{arrowRight:$,arrowLeft:V,arrowDown:F,arrowUp:m}=ki(),{flowStep:R,updateFlowStep:B,childMount:ne,resetFlow:ce}=z9(i,r,L),W=o.computed(()=>i.monthPicker?i7:i.yearPicker?o7:i.timePicker?v7:i.quarterPicker?j7:F7),j=()=>{const Y=Kt(s);Y&&Y.focus({preventScroll:!0})},ue=o.computed(()=>{var Y;return((Y=L.value)==null?void 0:Y.getSidebarProps())||{}}),A=()=>{i.openOnTop&&r("recalculate-position")},O=On(h,"action"),U=o.computed(()=>i.monthPicker||i.yearPicker?On(h,"monthYear"):i.timePicker?On(h,"timePicker"):On(h,"shared")),de=o.computed(()=>i.openOnTop?"dp__arrow_bottom":"dp__arrow_top"),be=o.computed(()=>({dp__menu_disabled:i.disabled,dp__menu_readonly:i.readonly,"dp-menu-loading":i.loading})),he=o.computed(()=>({dp__menu:!0,dp__menu_index:!g.value.enabled,dp__relative:g.value.enabled,[i.menuClassName]:!!i.menuClassName})),q=Y=>{bi(Y,w.value,!0)},X=()=>{i.escClose&&r("close-picker")},D=Y=>{if(i.arrowNavigation){if(Y==="up")return m();if(Y==="down")return F();if(Y==="left")return V();if(Y==="right")return $()}else Y==="left"||Y==="up"?dt("handleArrow","left",0,Y==="up"):dt("handleArrow","right",0,Y==="down")},T=Y=>{c(Y.shiftKey),!i.disableMonthYearSelect&&Y.code==="Tab"&&Y.target.classList.contains("dp__menu")&&u.value.shiftKeyInMenu&&(Y.preventDefault(),bi(Y,w.value,!0),r("close-picker"))},J=()=>{j(),r("time-picker-close")},ie=Y=>{var fe,Le,He;(fe=L.value)==null||fe.toggleTimePicker(!1,!1),(Le=L.value)==null||Le.toggleMonthPicker(!1,!1,Y),(He=L.value)==null||He.toggleYearPicker(!1,!1,Y)},qe=(Y,fe=0)=>{var Le,He,Oe;return Y==="month"?(Le=L.value)==null?void 0:Le.toggleMonthPicker(!1,!0,fe):Y==="year"?(He=L.value)==null?void 0:He.toggleYearPicker(!1,!0,fe):Y==="time"?(Oe=L.value)==null?void 0:Oe.toggleTimePicker(!0,!1):ie(fe)},dt=(Y,...fe)=>{var Le,He;(Le=L.value)!=null&&Le[Y]&&((He=L.value)==null||He[Y](...fe))},Q=()=>{dt("selectCurrentDate")},re=(Y,fe)=>{dt("presetDate",Y,fe)},Ae=()=>{dt("clearHoverDate")};return e({updateMonthYear:(Y,fe)=>{dt("updateMonthYear",Y,fe)},switchView:qe}),(Y,fe)=>{var Le,He,Oe;return o.openBlock(),o.createElementBlock("div",{id:Y.uid?`dp-menu-${Y.uid}`:void 0,ref_key:"dpMenuRef",ref:s,tabindex:"0",role:"dialog","aria-label":(Le=Y.ariaLabels)==null?void 0:Le.menu,class:o.normalizeClass(he.value),onMouseleave:Ae,onClick:q,onKeydown:[o.withKeys(X,["esc"]),fe[18]||(fe[18]=o.withKeys(o.withModifiers(we=>D("left"),["prevent"]),["left"])),fe[19]||(fe[19]=o.withKeys(o.withModifiers(we=>D("up"),["prevent"]),["up"])),fe[20]||(fe[20]=o.withKeys(o.withModifiers(we=>D("down"),["prevent"]),["down"])),fe[21]||(fe[21]=o.withKeys(o.withModifiers(we=>D("right"),["prevent"]),["right"])),T]},[(Y.disabled||Y.readonly)&&o.unref(g).enabled||Y.loading?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(be.value)},[Y.loading?(o.openBlock(),o.createElementBlock("div",W7,U7)):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0),!o.unref(g).enabled&&!Y.teleportCenter?(o.openBlock(),o.createElementBlock("div",{key:1,class:o.normalizeClass(de.value)},null,2)):o.createCommentVNode("",!0),o.createElementVNode("div",{ref_key:"innerMenuRef",ref:x,class:o.normalizeClass({dp__menu_content_wrapper:((He=Y.presetDates)==null?void 0:He.length)||!!Y.$slots["left-sidebar"]||!!Y.$slots["right-sidebar"],"dp--menu-content-wrapper-collapsed":t.collapse&&((Oe=Y.presetDates)==null?void 0:Oe.length)||!!Y.$slots["left-sidebar"]||!!Y.$slots["right-sidebar"]}),style:o.normalizeStyle({"--dp-menu-width":`${b.value}px`})},[Y.$slots["left-sidebar"]?(o.openBlock(),o.createElementBlock("div",Z7,[o.renderSlot(Y.$slots,"left-sidebar",o.normalizeProps(o.guardReactiveProps(ue.value)))])):o.createCommentVNode("",!0),Y.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(Y.presetDates,(we,St)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:St},[we.slot?o.renderSlot(Y.$slots,we.slot,{key:0,presetDate:re,label:we.label,value:we.value}):(o.openBlock(),o.createElementBlock("button",{key:1,type:"button",style:o.normalizeStyle(we.style||{}),class:o.normalizeClass(["dp__btn dp--preset-range",{"dp--preset-range-collapsed":t.collapse}]),onClick:o.withModifiers(Gt=>re(we.value,we.noTz),["prevent"]),onKeydown:[o.withKeys(o.withModifiers(Gt=>re(we.value,we.noTz),["prevent"]),["enter"]),o.withKeys(o.withModifiers(Gt=>re(we.value,we.noTz),["prevent"]),["space"])]},o.toDisplayString(we.label),47,G7))],64))),128))],2)):o.createCommentVNode("",!0),o.createElementVNode("div",{ref_key:"calendarWrapperRef",ref:C,class:"dp__instance_calendar",role:"document"},[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(W.value),o.mergeProps({ref_key:"dynCmpRef",ref:L},a.value,{"flow-step":o.unref(R),onMount:o.unref(ne),onUpdateFlowStep:o.unref(B),onResetFlow:o.unref(ce),onFocusMenu:j,onSelectDate:fe[0]||(fe[0]=we=>Y.$emit("select-date")),onDateUpdate:fe[1]||(fe[1]=we=>Y.$emit("date-update",we)),onTooltipOpen:fe[2]||(fe[2]=we=>Y.$emit("tooltip-open",we)),onTooltipClose:fe[3]||(fe[3]=we=>Y.$emit("tooltip-close",we)),onAutoApply:fe[4]||(fe[4]=we=>Y.$emit("auto-apply",we)),onRangeStart:fe[5]||(fe[5]=we=>Y.$emit("range-start",we)),onRangeEnd:fe[6]||(fe[6]=we=>Y.$emit("range-end",we)),onInvalidFixedRange:fe[7]||(fe[7]=we=>Y.$emit("invalid-fixed-range",we)),onTimeUpdate:fe[8]||(fe[8]=we=>Y.$emit("time-update")),onAmPmChange:fe[9]||(fe[9]=we=>Y.$emit("am-pm-change",we)),onTimePickerOpen:fe[10]||(fe[10]=we=>Y.$emit("time-picker-open",we)),onTimePickerClose:J,onRecalculatePosition:A,onUpdateMonthYear:fe[11]||(fe[11]=we=>Y.$emit("update-month-year",we)),onAutoApplyInvalid:fe[12]||(fe[12]=we=>Y.$emit("auto-apply-invalid",we)),onInvalidDate:fe[13]||(fe[13]=we=>Y.$emit("invalid-date",we)),"onUpdate:internalModelValue":fe[14]||(fe[14]=we=>Y.$emit("update:internal-model-value",we))}),o.createSlots({_:2},[o.renderList(U.value,(we,St)=>({name:we,fn:o.withCtx(Gt=>[o.renderSlot(Y.$slots,we,o.normalizeProps(o.guardReactiveProps({...Gt})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),Y.$slots["right-sidebar"]?(o.openBlock(),o.createElementBlock("div",K7,[o.renderSlot(Y.$slots,"right-sidebar",o.normalizeProps(o.guardReactiveProps(ue.value)))])):o.createCommentVNode("",!0),Y.$slots["action-extra"]?(o.openBlock(),o.createElementBlock("div",X7,[Y.$slots["action-extra"]?o.renderSlot(Y.$slots,"action-extra",{key:0,selectCurrentDate:Q}):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)],6),!Y.autoApply||o.unref(w).keepActionRow?(o.openBlock(),o.createBlock(G9,o.mergeProps({key:2,"menu-mount":M.value},a.value,{"calendar-width":b.value,onClosePicker:fe[15]||(fe[15]=we=>Y.$emit("close-picker")),onSelectDate:fe[16]||(fe[16]=we=>Y.$emit("select-date")),onInvalidSelect:fe[17]||(fe[17]=we=>Y.$emit("invalid-select")),onSelectNow:Q}),o.createSlots({_:2},[o.renderList(o.unref(O),(we,St)=>({name:we,fn:o.withCtx(Gt=>[o.renderSlot(Y.$slots,we,o.normalizeProps(o.guardReactiveProps({...Gt})))])}))]),1040,["menu-mount","calendar-width"])):o.createCommentVNode("",!0)],42,Y7)}}}),Q7=typeof window<"u"?window:void 0,Md=()=>{},J7=t=>o.getCurrentScope()?(o.onScopeDispose(t),!0):!1,ey=(t,e,n,r)=>{if(!t)return Md;let i=Md;const s=o.watch(()=>o.unref(t),l=>{i(),l&&(l.addEventListener(e,n,r),i=()=>{l.removeEventListener(e,n,r),i=Md})},{immediate:!0,flush:"post"}),a=()=>{s(),i()};return J7(a),a},ty=(t,e,n,r={})=>{const{window:i=Q7,event:s="pointerdown"}=r;return i?ey(i,s,a=>{const l=Kt(t),c=Kt(e);!l||!c||l===a.target||a.composedPath().includes(l)||a.composedPath().includes(c)||n(a)},{passive:!0}):void 0},ny=o.defineComponent({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...Qa},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,i=t,s=o.useSlots(),a=o.ref(!1),l=o.toRef(i,"modelValue"),c=o.toRef(i,"timezone"),u=o.ref(null),h=o.ref(null),p=o.ref(null),g=o.ref(!1),w=o.ref(null),C=o.ref(!1),b=o.ref(!1),x=o.ref(!1),{setMenuFocused:M,setShiftKey:L}=wf(),{clearArrowNav:P}=ki(),{validateDate:$,isValidTime:V}=xi(i),{defaultedTransitions:F,defaultedTextInput:m,defaultedInline:R,defaultedConfig:B,defaultedRange:ne,defaultedMultiDates:ce}=Pt(i),{menuTransition:W,showTransition:j}=Vo(F);o.onMounted(()=>{T(i.modelValue),o.nextTick().then(()=>{if(!R.value.enabled){const me=he(w.value);me==null||me.addEventListener("scroll",fe),window==null||window.addEventListener("resize",Le)}}),R.value.enabled&&(a.value=!0),window==null||window.addEventListener("keyup",He),window==null||window.addEventListener("keydown",Oe)}),o.onUnmounted(()=>{if(!R.value.enabled){const me=he(w.value);me==null||me.removeEventListener("scroll",fe),window==null||window.removeEventListener("resize",Le)}window==null||window.removeEventListener("keyup",He),window==null||window.removeEventListener("keydown",Oe)});const ue=On(s,"all",i.presetDates),A=On(s,"input");o.watch([l,c],()=>{T(l.value)},{deep:!0});const{openOnTop:O,menuStyle:U,xCorrect:de,setMenuPosition:be,getScrollableParent:he,shadowRender:q}=R9({menuRef:u,menuRefInner:h,inputRef:p,pickerWrapperRef:w,inline:R,emit:r,props:i,slots:s}),{inputValue:X,internalModelValue:D,parseExternalModelValue:T,emitModelValue:J,formatInputValue:ie,checkBeforeEmit:qe}=B9(r,i,g),dt=o.computed(()=>({dp__main:!0,dp__theme_dark:i.dark,dp__theme_light:!i.dark,dp__flex_display:R.value.enabled,"dp--flex-display-collapsed":x.value,dp__flex_display_with_input:R.value.input})),Q=o.computed(()=>i.dark?"dp__theme_dark":"dp__theme_light"),re=o.computed(()=>({to:typeof i.teleport=="boolean"?"body":i.teleport,disabled:!i.teleport||R.value.enabled})),Ae=o.computed(()=>({class:"dp__outer_menu_wrap"})),Y=o.computed(()=>R.value.enabled&&(i.timePicker||i.monthPicker||i.yearPicker||i.quarterPicker)),fe=()=>{a.value&&(B.value.closeOnScroll?Se():be())},Le=()=>{var me;a.value&&be();const $e=(me=h.value)==null?void 0:me.$el.getBoundingClientRect().width;x.value=document.body.offsetWidth<=$e},He=me=>{me.key==="Tab"&&!R.value.enabled&&!i.teleport&&B.value.tabOutClosesMenu&&(w.value.contains(document.activeElement)||Se()),b.value=me.shiftKey},Oe=me=>{b.value=me.shiftKey},we=()=>{!i.disabled&&!i.readonly&&(q(Ef,i),be(!1),a.value=!0,a.value&&r("open"),a.value||yr(),T(i.modelValue))},St=()=>{var me;X.value="",yr(),(me=p.value)==null||me.setParsedDate(null),r("update:model-value",null),r("update:model-timezone-value",null),r("cleared"),B.value.closeOnClearValue&&Se()},Gt=()=>{const me=D.value;return!me||!Array.isArray(me)&&$(me)?!0:Array.isArray(me)?ce.value.enabled||me.length===2&&$(me[0])&&$(me[1])?!0:ne.value.partialRange&&!i.timePicker?$(me[0]):!1:!1},gr=()=>{qe()&&Gt()?(J(),Se()):r("invalid-select",D.value)},Ut=me=>{rn(),J(),B.value.closeOnAutoApply&&!me&&Se()},rn=()=>{p.value&&m.value.enabled&&p.value.setParsedDate(D.value)},_r=(me=!1)=>{i.autoApply&&V(D.value)&&Gt()&&(ne.value.enabled&&Array.isArray(D.value)?(ne.value.partialRange||D.value.length===2)&&Ut(me):Ut(me))},yr=()=>{m.value.enabled||(D.value=null)},Se=()=>{R.value.enabled||(a.value&&(a.value=!1,de.value=!1,M(!1),L(!1),P(),r("closed"),X.value&&T(l.value)),yr(),r("blur"))},sn=(me,$e,Ne=!1)=>{if(!me){D.value=null;return}const tr=Array.isArray(me)?!me.some(xn=>!$(xn)):$(me),nr=V(me);tr&&nr&&(D.value=me,$e&&(C.value=Ne,gr(),r("text-submit")))},Ba=()=>{i.autoApply&&V(D.value)&&J(),rn()},_o=()=>a.value?Se():we(),Aa=me=>{D.value=me},yo=()=>{m.value.enabled&&(g.value=!0,ie()),r("focus")},bo=()=>{if(m.value.enabled&&(g.value=!1,T(i.modelValue),C.value)){const me=l9(w.value,b.value);me==null||me.focus()}r("blur")},G=me=>{h.value&&h.value.updateMonthYear(0,{month:af(me.month),year:af(me.year)})},ge=me=>{T(me??i.modelValue)},De=(me,$e)=>{var Ne;(Ne=h.value)==null||Ne.switchView(me,$e)},Fe=me=>B.value.onClickOutside?B.value.onClickOutside(me):Se();return ty(u,p,()=>Fe(Gt)),e({closeMenu:Se,selectDate:gr,clearValue:St,openMenu:we,onScroll:fe,formatInputValue:ie,updateInternalModelValue:Aa,setMonthYear:G,parseModel:ge,switchView:De,toggleMenu:_o}),(me,$e)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"pickerWrapperRef",ref:w,class:o.normalizeClass(dt.value),"data-datepicker-instance":""},[o.createVNode(q9,o.mergeProps({ref_key:"inputRef",ref:p,"input-value":o.unref(X),"onUpdate:inputValue":$e[0]||($e[0]=Ne=>o.isRef(X)?X.value=Ne:null),"is-menu-open":a.value},me.$props,{onClear:St,onOpen:we,onSetInputDate:sn,onSetEmptyDate:o.unref(J),onSelectDate:gr,onToggle:_o,onClose:Se,onFocus:yo,onBlur:bo,onRealBlur:$e[1]||($e[1]=Ne=>g.value=!1)}),o.createSlots({_:2},[o.renderList(o.unref(A),(Ne,tr)=>({name:Ne,fn:o.withCtx(nr=>[o.renderSlot(me.$slots,Ne,o.normalizeProps(o.guardReactiveProps(nr)))])}))]),1040,["input-value","is-menu-open","onSetEmptyDate"]),(o.openBlock(),o.createBlock(o.resolveDynamicComponent(me.teleport?o.Teleport:"div"),o.normalizeProps(o.guardReactiveProps(re.value)),{default:o.withCtx(()=>[o.createVNode(o.Transition,{name:o.unref(W)(o.unref(O)),css:o.unref(j)&&!o.unref(R).enabled},{default:o.withCtx(()=>[a.value?(o.openBlock(),o.createElementBlock("div",o.mergeProps({key:0,ref_key:"dpWrapMenuRef",ref:u},Ae.value,{class:{"dp--menu-wrapper":!o.unref(R).enabled},style:o.unref(R).enabled?void 0:o.unref(U)}),[o.createVNode(Ef,o.mergeProps({ref_key:"dpMenuRef",ref:h},me.$props,{"internal-model-value":o.unref(D),"onUpdate:internalModelValue":$e[2]||($e[2]=Ne=>o.isRef(D)?D.value=Ne:null),class:{[Q.value]:!0,"dp--menu-wrapper":me.teleport},"open-on-top":o.unref(O),"no-overlay-focus":Y.value,collapse:x.value,onClosePicker:Se,onSelectDate:gr,onAutoApply:_r,onTimeUpdate:Ba,onFlowStep:$e[3]||($e[3]=Ne=>me.$emit("flow-step",Ne)),onUpdateMonthYear:$e[4]||($e[4]=Ne=>me.$emit("update-month-year",Ne)),onInvalidSelect:$e[5]||($e[5]=Ne=>me.$emit("invalid-select",o.unref(D))),onAutoApplyInvalid:$e[6]||($e[6]=Ne=>me.$emit("invalid-select",Ne)),onInvalidFixedRange:$e[7]||($e[7]=Ne=>me.$emit("invalid-fixed-range",Ne)),onRecalculatePosition:o.unref(be),onTooltipOpen:$e[8]||($e[8]=Ne=>me.$emit("tooltip-open",Ne)),onTooltipClose:$e[9]||($e[9]=Ne=>me.$emit("tooltip-close",Ne)),onTimePickerOpen:$e[10]||($e[10]=Ne=>me.$emit("time-picker-open",Ne)),onTimePickerClose:$e[11]||($e[11]=Ne=>me.$emit("time-picker-close",Ne)),onAmPmChange:$e[12]||($e[12]=Ne=>me.$emit("am-pm-change",Ne)),onRangeStart:$e[13]||($e[13]=Ne=>me.$emit("range-start",Ne)),onRangeEnd:$e[14]||($e[14]=Ne=>me.$emit("range-end",Ne)),onDateUpdate:$e[15]||($e[15]=Ne=>me.$emit("date-update",Ne)),onInvalidDate:$e[16]||($e[16]=Ne=>me.$emit("invalid-date",Ne))}),o.createSlots({_:2},[o.renderList(o.unref(ue),(Ne,tr)=>({name:Ne,fn:o.withCtx(nr=>[o.renderSlot(me.$slots,Ne,o.normalizeProps(o.guardReactiveProps({...nr})))])}))]),1040,["internal-model-value","class","open-on-top","no-overlay-focus","collapse","onRecalculatePosition"])],16)):o.createCommentVNode("",!0)]),_:3},8,["name","css"])]),_:3},16))],2))}}),Td=(()=>{const t=ny;return t.install=e=>{e.component("Vue3DatePicker",t)},t})();Object.entries(Object.freeze(Object.defineProperty({__proto__:null,default:Td},Symbol.toStringTag,{value:"Module"}))).forEach(([t,e])=>{t!=="default"&&(Td[t]=e)});const ry={class:"scope-datepicker__wrapper"},iy={key:0,class:"scope-datepicker__label"},sy={__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:["update:modelValue"],setup(t){const e=o.useModel(t,"modelValue");return(n,r)=>(o.openBlock(),o.createElementBlock("div",ry,[t.label?(o.openBlock(),o.createElementBlock("div",iy,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),o.createVNode(o.unref(Td),{style:o.normalizeStyle({width:t.width}),class:o.normalizeClass(["scope-datepicker",`-${t.size}`,{"-invalid":t.invalid,"-full-width":t.fullWidth,"-range":t.range}]),modelValue:e.value,"onUpdate:modelValue":r[0]||(r[0]=i=>e.value=i),"auto-apply":"","month-name-format":"long","multi-calendars":t.multiCalendars,"enable-time-picker":!1,range:t.range,placeholder:t.placeholder,inline:t.inline},null,8,["style","class","modelValue","multi-calendars","range","placeholder","inline"])]))}},oy=st(sy,[["__scopeId","data-v-0081bf59"]]),ay=["onClick"],ly=st({__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),i=s=>{e.value=s};return(s,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:u=>i(l),class:o.normalizeClass(["scope-selector__option",{"-selected":typeof l=="object"?l.name===e.value.name:l===s.name}])},o.toDisplayString(typeof l=="object"?l.name:l),11,ay))),128))],4))}},[["__scopeId","data-v-5082bcef"]]),cy={class:"scope-number-input__fieldset","data-number-code-form":""},dy=["disabled","onInput","onKeydown"],uy={key:0,class:"scope-number-input__error-message"},hy=st({__name:"NumberInput",props:o.mergeModels({necessaryLength:{type:Number,default:6},disabled:Boolean,isInvalid:Boolean,errorMessage:String},{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 i=({target:a},l)=>{if(r.value[l]=a.value,!a.value.length){a.value=null;return}if(a.value.length>1){const h=a.value.split("");h.forEach((p,g)=>{const w=l+g;w>=e.necessaryLength||(n.value.querySelectorAll("[data-number-code-input]")[w].value=p,r.value[w]=p)}),l+=h.length-2}const u=l+1;u<e.necessaryLength&&n.value.querySelectorAll("[data-number-code-input]")[u].focus()},s=(a,l)=>{const{code:c,target:u}=a,h=l-1,p=l+1,g=h>=0,w=p<=e.necessaryLength-1;switch(c){case"ArrowLeft":case"ArrowUp":g&&n.value.querySelectorAll("[data-number-code-input]")[h].focus(),a.preventDefault();break;case"ArrowRight":case"ArrowDown":w&&n.value.querySelectorAll("[data-number-code-input]")[p].focus(),a.preventDefault();break;case"Backspace":if(!u.value.length&&g){const C=n.value.querySelectorAll("[data-number-code-input]")[h];r.value[h]=null,C.value=null,C.focus()}break}};return(a,l)=>(o.openBlock(),o.createElementBlock("form",{class:"scope-number-input__form",ref_key:"numberCodeForm",ref:n},[o.createElementVNode("fieldset",cy,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.necessaryLength,(c,u)=>(o.openBlock(),o.createElementBlock("input",{type:"number",disabled:t.disabled,maxlength:"1",key:u,class:o.normalizeClass(["scope-number-input",{"-invalid":t.isInvalid}]),min:"0",max:"9","data-number-code-input":"",onInput:h=>i(h,u),onKeydown:h=>s(h,u),required:""},null,42,dy))),128))]),t.isInvalid&&t.errorMessage?(o.openBlock(),o.createElementBlock("div",uy,o.toDisplayString(t.errorMessage),1)):o.createCommentVNode("",!0)],512))}},[["__scopeId","data-v-7474e888"]]),fy={class:"scope-navigation-tab__icon-wrapper"},py={key:0},my=st({__name:"NavigationTab",props:{icon:String,tabName:String,selected:Boolean,isFull:Boolean,page:String},emits:["openPage"],setup(t,{emit:e}){const n=e,r=i=>{n("openPage",i)};return(i,s)=>(o.openBlock(),o.createElementBlock("button",{class:o.normalizeClass(["scope-navigation-tab",{"-selected":t.selected}]),onClick:s[0]||(s[0]=a=>r(t.page))},[o.createElementVNode("div",fy,[o.createVNode(gt,{icon:t.icon,class:"scope-navigation-tab__icon"},null,8,["icon"])]),t.isFull?(o.openBlock(),o.createElementBlock("span",py,o.toDisplayString(t.tabName),1)):o.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-5e3c38cb"]]);function Kr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Lf(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 st={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Zn={duration:.5,overwrite:!1,delay:0},aa,Ue,Me,ft=1e8,ve=1/ft,ia=Math.PI*2,_6=ia/4,g6=0,ks=Math.sqrt,y6=Math.cos,w6=Math.sin,Ie=function(e){return typeof e=="string"},Pe=function(e){return typeof e=="function"},Yt=function(e){return typeof e=="number"},sa=function(e){return typeof e>"u"},Pt=function(e){return typeof e=="object"},et=function(e){return e!==!1},la=function(){return typeof window<"u"},qr=function(e){return Pe(e)||Ie(e)},vs=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},We=Array.isArray,ca=/(?:-?\.?\d|\.)+/gi,xs=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,qn=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,da=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Ms=/[+-]=-?[.\d]+/,Ss=/[^,'"\[\]\s]+/gi,C6=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Le,Vt,ua,ha,lt={},Ur={},$s,Ls=function(e){return(Ur=vn(e,lt))&&rt},fa=function(e,n){return console.warn("Invalid property",e,"set to",n,"Missing plugin? gsap.registerPlugin()")},_r=function(e,n){return!n&&console.warn(e)},Bs=function(e,n){return e&&(lt[e]=n)&&Ur&&(Ur[e]=n)||lt},gr=function(){return 0},b6={suppressEvents:!0,isStart:!0,kill:!1},Wr={suppressEvents:!0,kill:!1},k6={suppressEvents:!0},pa={},rn=[],ma={},Ts,ct={},_a={},Es=30,Gr=[],ga="",ya=function(e){var n=e[0],r,a;if(Pt(n)||Pe(n)||(e=[e]),!(r=(n._gsap||{}).harness)){for(a=Gr.length;a--&&!Gr[a].targetTest(n););r=Gr[a]}for(a=e.length;a--;)e[a]&&(e[a]._gsap||(e[a]._gsap=new il(e[a],r)))||e.splice(a,1);return e},kn=function(e){return e._gsap||ya(_t(e))[0]._gsap},Ps=function(e,n,r){return(r=e[n])&&Pe(r)?e[n]():sa(r)&&e.getAttribute&&e.getAttribute(n)||r},tt=function(e,n){return(e=e.split(",")).forEach(n)||e},Re=function(e){return Math.round(e*1e5)/1e5||0},Ye=function(e){return Math.round(e*1e7)/1e7||0},Un=function(e,n){var r=n.charAt(0),a=parseFloat(n.substr(2));return e=parseFloat(e),r==="+"?e+a:r==="-"?e-a:r==="*"?e*a:e/a},v6=function(e,n){for(var r=n.length,a=0;e.indexOf(n[a])<0&&++a<r;);return a<r},Kr=function(){var e=rn.length,n=rn.slice(0),r,a;for(ma={},rn.length=0,r=0;r<e;r++)a=n[r],a&&a._lazy&&(a.render(a._lazy[0],a._lazy[1],!0)._lazy=0)},Vs=function(e,n,r,a){rn.length&&!Ue&&Kr(),e.render(n,r,a||Ue&&n<0&&(e._initted||e._startAt)),rn.length&&!Ue&&Kr()},Os=function(e){var n=parseFloat(e);return(n||n===0)&&(e+"").match(Ss).length<2?n:Ie(e)?e.trim():e},Ds=function(e){return e},pt=function(e,n){for(var r in n)r in e||(e[r]=n[r]);return e},x6=function(e){return function(n,r){for(var a in r)a in n||a==="duration"&&e||a==="ease"||(n[a]=r[a])}},vn=function(e,n){for(var r in n)e[r]=n[r];return e},Ns=function t(e,n){for(var r in n)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=Pt(n[r])?t(e[r]||(e[r]={}),n[r]):n[r]);return e},Xr=function(e,n){var r={},a;for(a in e)a in n||(r[a]=e[a]);return r},yr=function(e){var n=e.parent||Le,r=e.keyframes?x6(We(e.keyframes)):pt;if(et(e.inherit))for(;n;)r(e,n.vars.defaults),n=n.parent||n._dp;return e},M6=function(e,n){for(var r=e.length,a=r===n.length;a&&r--&&e[r]===n[r];);return r<0},As=function(e,n,r,a,i){r===void 0&&(r="_first"),a===void 0&&(a="_last");var s=e[a],l;if(i)for(l=n[i];s&&s[i]>l;)s=s._prev;return s?(n._next=s._next,s._next=n):(n._next=e[r],e[r]=n),n._next?n._next._prev=n:e[a]=n,n._prev=s,n.parent=n._dp=e,n},Qr=function(e,n,r,a){r===void 0&&(r="_first"),a===void 0&&(a="_last");var i=n._prev,s=n._next;i?i._next=s:e[r]===n&&(e[r]=s),s?s._prev=i:e[a]===n&&(e[a]=i),n._next=n._prev=n.parent=null},on=function(e,n){e.parent&&(!n||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},xn=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},S6=function(e){for(var n=e.parent;n&&n.parent;)n._dirty=1,n.totalDuration(),n=n.parent;return e},wa=function(e,n,r,a){return e._startAt&&(Ue?e._startAt.revert(Wr):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(n,!0,a))},$6=function t(e){return!e||e._ts&&t(e.parent)},Rs=function(e){return e._repeat?Wn(e._tTime,e=e.duration()+e._rDelay)*e:0},Wn=function(e,n){var r=Math.floor(e/=n);return e&&r===e?r-1:r},Jr=function(e,n){return(e-n._start)*n._ts+(n._ts>=0?0:n._dirty?n.totalDuration():n._tDur)},eo=function(e){return e._end=Ye(e._start+(e._tDur/Math.abs(e._ts||e._rts||ve)||0))},to=function(e,n){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=Ye(r._time-(e._ts>0?n/e._ts:((e._dirty?e.totalDuration():e._tDur)-n)/-e._ts)),eo(e),r._dirty||xn(r,e)),e},Fs=function(e,n){var r;if((n._time||!n._dur&&n._initted||n._start<e._time&&(n._dur||!n.add))&&(r=Jr(e.rawTime(),n),(!n._dur||Cr(0,n.totalDuration(),r)-n._tTime>ve)&&n.render(r,!0)),xn(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=-ve}},Ot=function(e,n,r,a){return n.parent&&on(n),n._start=Ye((Yt(r)?r:r||e!==Le?mt(e,r,n):e._time)+n._delay),n._end=Ye(n._start+(n.totalDuration()/Math.abs(n.timeScale())||0)),As(e,n,"_first","_last",e._sort?"_start":0),Ca(n)||(e._recent=n),a||Fs(e,n),e._ts<0&&to(e,e._tTime),e},Hs=function(e,n){return(lt.ScrollTrigger||fa("scrollTrigger",n))&<.ScrollTrigger.create(n,e)},zs=function(e,n,r,a,i){if(Ba(e,n,i),!e._initted)return 1;if(!r&&e._pt&&!Ue&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Ts!==ut.frame)return rn.push(e),e._lazy=[i,a],1},L6=function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))},Ca=function(e){var n=e.data;return n==="isFromStart"||n==="isStart"},B6=function(e,n,r,a){var i=e.ratio,s=n<0||!n&&(!e._start&&L6(e)&&!(!e._initted&&Ca(e))||(e._ts<0||e._dp._ts<0)&&!Ca(e))?0:1,l=e._rDelay,c=0,u,d,h;if(l&&e._repeat&&(c=Cr(0,e._tDur,n),d=Wn(c,l),e._yoyo&&d&1&&(s=1-s),d!==Wn(e._tTime,l)&&(i=1-s,e.vars.repeatRefresh&&e._initted&&e.invalidate())),s!==i||Ue||a||e._zTime===ve||!n&&e._zTime){if(!e._initted&&zs(e,n,a,r,c))return;for(h=e._zTime,e._zTime=n||(r?ve:0),r||(r=n&&!h),e.ratio=s,e._from&&(s=1-s),e._time=0,e._tTime=c,u=e._pt;u;)u.r(s,u.d),u=u._next;n<0&&wa(e,n,r,!0),e._onUpdate&&!r&&dt(e,"onUpdate"),c&&e._repeat&&!r&&e.parent&&dt(e,"onRepeat"),(n>=e._tDur||n<0)&&e.ratio===s&&(s&&on(e,1),!r&&!Ue&&(dt(e,s?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=n)},T6=function(e,n,r){var a;if(r>n)for(a=e._first;a&&a._start<=r;){if(a.data==="isPause"&&a._start>n)return a;a=a._next}else for(a=e._last;a&&a._start>=r;){if(a.data==="isPause"&&a._start<n)return a;a=a._prev}},Gn=function(e,n,r,a){var i=e._repeat,s=Ye(n)||0,l=e._tTime/e._tDur;return l&&!a&&(e._time*=s/e._dur),e._dur=s,e._tDur=i?i<0?1e10:Ye(s*(i+1)+e._rDelay*i):s,l>0&&!a&&to(e,e._tTime=e._tDur*l),e.parent&&eo(e),r||xn(e.parent,e),e},js=function(e){return e instanceof Ke?xn(e):Gn(e,e._dur)},E6={_start:0,endTime:gr,totalDuration:gr},mt=function t(e,n,r){var a=e.labels,i=e._recent||E6,s=e.duration()>=ft?i.endTime(!1):e._dur,l,c,u;return Ie(n)&&(isNaN(n)||n in a)?(c=n.charAt(0),u=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)*(u?(l<0?i:r).totalDuration()/100:1)):l<0?(n in a||(a[n]=s),a[n]):(c=parseFloat(n.charAt(l-1)+n.substr(l+1)),u&&r&&(c=c/100*(We(r)?r[0]:r).totalDuration()),l>1?t(e,n.substr(0,l-1),r)+c:s+c)):n==null?s:+n},wr=function(e,n,r){var a=Yt(n[1]),i=(a?2:1)+(e<2?0:1),s=n[i],l,c;if(a&&(s.duration=n[1]),s.parent=r,e){for(l=s,c=r;c&&!("immediateRender"in l);)l=c.vars.defaults||{},c=et(c.vars.inherit)&&c.parent;s.immediateRender=et(l.immediateRender),e<2?s.runBackwards=1:s.startAt=n[i-1]}return new Fe(n[0],s,n[i+1])},an=function(e,n){return e||e===0?n(e):n},Cr=function(e,n,r){return r<e?e:r>n?n:r},Ge=function(e,n){return!Ie(e)||!(n=C6.exec(e))?"":n[1]},P6=function(e,n,r){return an(r,function(a){return Cr(e,n,a)})},ba=[].slice,Is=function(e,n){return e&&Pt(e)&&"length"in e&&(!n&&!e.length||e.length-1 in e&&Pt(e[0]))&&!e.nodeType&&e!==Vt},V6=function(e,n,r){return r===void 0&&(r=[]),e.forEach(function(a){var i;return Ie(a)&&!n||Is(a,1)?(i=r).push.apply(i,_t(a)):r.push(a)})||r},_t=function(e,n,r){return Me&&!n&&Me.selector?Me.selector(e):Ie(e)&&!r&&(ua||!Xn())?ba.call((n||ha).querySelectorAll(e),0):We(e)?V6(e,r):Is(e)?ba.call(e,0):e?[e]:[]},ka=function(e){return e=_t(e)[0]||_r("Invalid scope")||{},function(n){var r=e.current||e.nativeElement||e;return _t(n,r.querySelectorAll?r:r===e?_r("Invalid scope")||ha.createElement("div"):e)}},Ys=function(e){return e.sort(function(){return .5-Math.random()})},Zs=function(e){if(Pe(e))return e;var n=Pt(e)?e:{each:e},r=Mn(n.ease),a=n.from||0,i=parseFloat(n.base)||0,s={},l=a>0&&a<1,c=isNaN(a)||l,u=n.axis,d=a,h=a;return Ie(a)?d=h={center:.5,edges:.5,end:1}[a]||0:!l&&c&&(d=a[0],h=a[1]),function(p,_,m){var f=(m||n).length,b=s[f],S,M,C,x,$,L,k,B,T;if(!b){if(T=n.grid==="auto"?0:(n.grid||[1,ft])[1],!T){for(k=-ft;k<(k=m[T++].getBoundingClientRect().left)&&T<f;);T<f&&T--}for(b=s[f]=[],S=c?Math.min(T,f)*d-.5:a%T,M=T===ft?0:c?f*h/T-.5:a/T|0,k=0,B=ft,L=0;L<f;L++)C=L%T-S,x=M-(L/T|0),b[L]=$=u?Math.abs(u==="y"?x:C):ks(C*C+x*x),$>k&&(k=$),$<B&&(B=$);a==="random"&&Ys(b),b.max=k-B,b.min=B,b.v=f=(parseFloat(n.amount)||parseFloat(n.each)*(T>f?f-1:u?u==="y"?f/T:T:Math.max(T,f/T))||0)*(a==="edges"?-1:1),b.b=f<0?i-f:i,b.u=Ge(n.amount||n.each)||0,r=r&&f<0?rl(r):r}return f=(b[p]-b.min)/b.max||0,Ye(b.b+(r?r(f):f)*b.v)+b.u}},va=function(e){var n=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var a=Ye(Math.round(parseFloat(r)/e)*e*n);return(a-a%1)/n+(Yt(r)?0:Ge(r))}},qs=function(e,n){var r=We(e),a,i;return!r&&Pt(e)&&(a=r=e.radius||ft,e.values?(e=_t(e.values),(i=!Yt(e[0]))&&(a*=a)):e=va(e.increment)),an(n,r?Pe(e)?function(s){return i=e(s),Math.abs(i-s)<=a?i:s}:function(s){for(var l=parseFloat(i?s.x:s),c=parseFloat(i?s.y:0),u=ft,d=0,h=e.length,p,_;h--;)i?(p=e[h].x-l,_=e[h].y-c,p=p*p+_*_):p=Math.abs(e[h]-l),p<u&&(u=p,d=h);return d=!a||u<=a?e[d]:s,i||d===s||Yt(s)?d:d+Ge(s)}:va(e))},Us=function(e,n,r,a){return an(We(e)?!n:r===!0?!!(r=0):!a,function(){return We(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(a=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(n-e+r*.99))/r)*r*a)/a})},O6=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return function(a){return n.reduce(function(i,s){return s(i)},a)}},D6=function(e,n){return function(r){return e(parseFloat(r))+(n||Ge(r))}},N6=function(e,n,r){return Gs(e,n,0,1,r)},Ws=function(e,n,r){return an(r,function(a){return e[~~n(a)]})},A6=function t(e,n,r){var a=n-e;return We(e)?Ws(e,t(0,e.length),n):an(r,function(i){return(a+(i-e)%a)%a+e})},R6=function t(e,n,r){var a=n-e,i=a*2;return We(e)?Ws(e,t(0,e.length-1),n):an(r,function(s){return s=(i+(s-e)%i)%i||0,e+(s>a?i-s:s)})},br=function(e){for(var n=0,r="",a,i,s,l;~(a=e.indexOf("random(",n));)s=e.indexOf(")",a),l=e.charAt(a+7)==="[",i=e.substr(a+7,s-a-7).match(l?Ss:ca),r+=e.substr(n,a-n)+Us(l?i:+i[0],l?0:+i[1],+i[2]||1e-5),n=s+1;return r+e.substr(n,e.length-n)},Gs=function(e,n,r,a,i){var s=n-e,l=a-r;return an(i,function(c){return r+((c-e)/s*l||0)})},F6=function t(e,n,r,a){var i=isNaN(e+n)?0:function(_){return(1-_)*e+_*n};if(!i){var s=Ie(e),l={},c,u,d,h,p;if(r===!0&&(a=1)&&(r=null),s)e={p:e},n={p:n};else if(We(e)&&!We(n)){for(d=[],h=e.length,p=h-2,u=1;u<h;u++)d.push(t(e[u-1],e[u]));h--,i=function(m){m*=h;var f=Math.min(p,~~m);return d[f](m-f)},r=n}else a||(e=vn(We(e)?[]:{},e));if(!d){for(c in n)$a.call(l,e,c,"get",n[c]);i=function(m){return Pa(m,l)||(s?e.p:e)}}}return an(r,i)},Ks=function(e,n,r){var a=e.labels,i=ft,s,l,c;for(s in a)l=a[s]-n,l<0==!!r&&l&&i>(l=Math.abs(l))&&(c=s,i=l);return c},dt=function(e,n,r){var a=e.vars,i=a[n],s=Me,l=e._ctx,c,u,d;if(i)return c=a[n+"Params"],u=a.callbackScope||e,r&&rn.length&&Kr(),l&&(Me=l),d=c?i.apply(u,c):i.call(u),Me=s,d},kr=function(e){return on(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Ue),e.progress()<1&&dt(e,"onInterrupt"),e},Kn,Xs=[],Qs=function(e){if(e)if(e=!e.name&&e.default||e,la()||e.headless){var n=e.name,r=Pe(e),a=n&&!r&&e.init?function(){this._props=[]}:e,i={init:gr,render:Pa,add:$a,kill:th,modifier:eh,rawVars:0},s={targetTest:0,get:0,getSetter:Ea,aliases:{},register:0};if(Xn(),e!==a){if(ct[n])return;pt(a,pt(Xr(e,i),s)),vn(a.prototype,vn(i,Xr(e,s))),ct[a.prop=n]=a,e.targetTest&&(Gr.push(a),pa[n]=1),n=(n==="css"?"CSS":n.charAt(0).toUpperCase()+n.substr(1))+"Plugin"}Bs(n,a),e.register&&e.register(rt,a,nt)}else Xs.push(e)},be=255,vr={aqua:[0,be,be],lime:[0,be,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,be],navy:[0,0,128],white:[be,be,be],olive:[128,128,0],yellow:[be,be,0],orange:[be,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[be,0,0],pink:[be,192,203],cyan:[0,be,be],transparent:[be,be,be,0]},xa=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)*be+.5|0},Js=function(e,n,r){var a=e?Yt(e)?[e>>16,e>>8&be,e&be]:0:vr.black,i,s,l,c,u,d,h,p,_,m;if(!a){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),vr[e])a=vr[e];else if(e.charAt(0)==="#"){if(e.length<6&&(i=e.charAt(1),s=e.charAt(2),l=e.charAt(3),e="#"+i+i+s+s+l+l+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return a=parseInt(e.substr(1,6),16),[a>>16,a>>8&be,a&be,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),a=[e>>16,e>>8&be,e&be]}else if(e.substr(0,3)==="hsl"){if(a=m=e.match(ca),!n)c=+a[0]%360/360,u=+a[1]/100,d=+a[2]/100,s=d<=.5?d*(u+1):d+u-d*u,i=d*2-s,a.length>3&&(a[3]*=1),a[0]=xa(c+1/3,i,s),a[1]=xa(c,i,s),a[2]=xa(c-1/3,i,s);else if(~e.indexOf("="))return a=e.match(xs),r&&a.length<4&&(a[3]=1),a}else a=e.match(ca)||vr.transparent;a=a.map(Number)}return n&&!m&&(i=a[0]/be,s=a[1]/be,l=a[2]/be,h=Math.max(i,s,l),p=Math.min(i,s,l),d=(h+p)/2,h===p?c=u=0:(_=h-p,u=d>.5?_/(2-h-p):_/(h+p),c=h===i?(s-l)/_+(s<l?6:0):h===s?(l-i)/_+2:(i-s)/_+4,c*=60),a[0]=~~(c+.5),a[1]=~~(u*100+.5),a[2]=~~(d*100+.5)),r&&a.length<4&&(a[3]=1),a},el=function(e){var n=[],r=[],a=-1;return e.split(sn).forEach(function(i){var s=i.match(qn)||[];n.push.apply(n,s),r.push(a+=s.length+1)}),n.c=r,n},tl=function(e,n,r){var a="",i=(e+a).match(sn),s=n?"hsla(":"rgba(",l=0,c,u,d,h;if(!i)return e;if(i=i.map(function(p){return(p=Js(p,n,1))&&s+(n?p[0]+","+p[1]+"%,"+p[2]+"%,"+p[3]:p.join(","))+")"}),r&&(d=el(e),c=r.c,c.join(a)!==d.c.join(a)))for(u=e.replace(sn,"1").split(qn),h=u.length-1;l<h;l++)a+=u[l]+(~c.indexOf(l)?i.shift()||s+"0,0,0,0)":(d.length?d:i.length?i:r).shift());if(!u)for(u=e.split(sn),h=u.length-1;l<h;l++)a+=u[l]+i[l];return a+u[h]},sn=function(){var t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in vr)t+="|"+e+"\\b";return new RegExp(t+")","gi")}(),H6=/hsl[a]?\(/,nl=function(e){var n=e.join(" "),r;if(sn.lastIndex=0,sn.test(n))return r=H6.test(n),e[1]=tl(e[1],r),e[0]=tl(e[0],r,el(e[1])),!0},xr,ut=function(){var t=Date.now,e=500,n=33,r=t(),a=r,i=1e3/240,s=i,l=[],c,u,d,h,p,_,m=function f(b){var S=t()-a,M=b===!0,C,x,$,L;if((S>e||S<0)&&(r+=S-n),a+=S,$=a-r,C=$-s,(C>0||M)&&(L=++h.frame,p=$-h.time*1e3,h.time=$=$/1e3,s+=C+(C>=i?4:i-C),x=1),M||(c=u(f)),x)for(_=0;_<l.length;_++)l[_]($,p,L,b)};return h={time:0,frame:0,tick:function(){m(!0)},deltaRatio:function(b){return p/(1e3/(b||60))},wake:function(){$s&&(!ua&&la()&&(Vt=ua=window,ha=Vt.document||{},lt.gsap=rt,(Vt.gsapVersions||(Vt.gsapVersions=[])).push(rt.version),Ls(Ur||Vt.GreenSockGlobals||!Vt.gsap&&Vt||{}),Xs.forEach(Qs)),d=typeof requestAnimationFrame<"u"&&requestAnimationFrame,c&&h.sleep(),u=d||function(b){return setTimeout(b,s-h.time*1e3+1|0)},xr=1,m(2))},sleep:function(){(d?cancelAnimationFrame:clearTimeout)(c),xr=0,u=gr},lagSmoothing:function(b,S){e=b||1/0,n=Math.min(S||33,e)},fps:function(b){i=1e3/(b||240),s=h.time*1e3+i},add:function(b,S,M){var C=S?function(x,$,L,k){b(x,$,L,k),h.remove(C)}:b;return h.remove(b),l[M?"unshift":"push"](C),Xn(),C},remove:function(b,S){~(S=l.indexOf(b))&&l.splice(S,1)&&_>=S&&_--},_listeners:l},h}(),Xn=function(){return!xr&&ut.wake()},fe={},z6=/^[\d.\-M][\d.\-,\s]/,j6=/["']/g,I6=function(e){for(var n={},r=e.substr(1,e.length-3).split(":"),a=r[0],i=1,s=r.length,l,c,u;i<s;i++)c=r[i],l=i!==s-1?c.lastIndexOf(","):c.length,u=c.substr(0,l),n[a]=isNaN(u)?u.replace(j6,"").trim():+u,a=c.substr(l+1).trim();return n},Y6=function(e){var n=e.indexOf("(")+1,r=e.indexOf(")"),a=e.indexOf("(",n);return e.substring(n,~a&&a<r?e.indexOf(")",r+1):r)},Z6=function(e){var n=(e+"").split("("),r=fe[n[0]];return r&&n.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[I6(n[1])]:Y6(e).split(",").map(Os)):fe._CE&&z6.test(e)?fe._CE("",e):r},rl=function(e){return function(n){return 1-e(1-n)}},ol=function t(e,n){for(var r=e._first,a;r;)r instanceof Ke?t(r,n):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==n&&(r.timeline?t(r.timeline,n):(a=r._ease,r._ease=r._yEase,r._yEase=a,r._yoyo=n)),r=r._next},Mn=function(e,n){return e&&(Pe(e)?e:fe[e]||Z6(e))||n},Sn=function(e,n,r,a){r===void 0&&(r=function(c){return 1-n(1-c)}),a===void 0&&(a=function(c){return c<.5?n(c*2)/2:1-n((1-c)*2)/2});var i={easeIn:n,easeOut:r,easeInOut:a},s;return tt(e,function(l){fe[l]=lt[l]=i,fe[s=l.toLowerCase()]=r;for(var c in i)fe[s+(c==="easeIn"?".in":c==="easeOut"?".out":".inOut")]=fe[l+"."+c]=i[c]}),i},al=function(e){return function(n){return n<.5?(1-e(1-n*2))/2:.5+e((n-.5)*2)/2}},Ma=function t(e,n,r){var a=n>=1?n:1,i=(r||(e?.3:.45))/(n<1?n:1),s=i/ia*(Math.asin(1/a)||0),l=function(d){return d===1?1:a*Math.pow(2,-10*d)*w6((d-s)*i)+1},c=e==="out"?l:e==="in"?function(u){return 1-l(1-u)}:al(l);return i=ia/i,c.config=function(u,d){return t(e,u,d)},c},Sa=function t(e,n){n===void 0&&(n=1.70158);var r=function(s){return s?--s*s*((n+1)*s+n)+1:0},a=e==="out"?r:e==="in"?function(i){return 1-r(1-i)}:al(r);return a.config=function(i){return t(e,i)},a};tt("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var n=e<5?e+1:e;Sn(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})}),fe.Linear.easeNone=fe.none=fe.Linear.easeIn,Sn("Elastic",Ma("in"),Ma("out"),Ma()),function(t,e){var n=1/e,r=2*n,a=2.5*n,i=function(l){return l<n?t*l*l:l<r?t*Math.pow(l-1.5/e,2)+.75:l<a?t*(l-=2.25/e)*l+.9375:t*Math.pow(l-2.625/e,2)+.984375};Sn("Bounce",function(s){return 1-i(1-s)},i)}(7.5625,2.75),Sn("Expo",function(t){return t?Math.pow(2,10*(t-1)):0}),Sn("Circ",function(t){return-(ks(1-t*t)-1)}),Sn("Sine",function(t){return t===1?1:-y6(t*_6)+1}),Sn("Back",Sa("in"),Sa("out"),Sa()),fe.SteppedEase=fe.steps=lt.SteppedEase={config:function(e,n){e===void 0&&(e=1);var r=1/e,a=e+(n?0:1),i=n?1:0,s=1-ve;return function(l){return((a*Cr(0,s,l)|0)+i)*r}}},Zn.ease=fe["quad.out"],tt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return ga+=t+","+t+"Params,"});var il=function(e,n){this.id=g6++,e._gsap=this,this.target=e,this.harness=n,this.get=n?n.get:Ps,this.set=n?n.getSetter:Ea},Mr=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,Gn(this,+n.duration,1,1),this.data=n.data,Me&&(this._ctx=Me,Me.data.push(this)),xr||ut.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,Gn(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,a){if(Xn(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(to(this,r),!i._dp||i.parent||Fs(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)&&Ot(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!a||this._initted&&Math.abs(this._zTime)===ve||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),Vs(this,r,a)),this},e.time=function(r,a){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+Rs(this))%(this._dur+this._rDelay)||(r?this._dur:0),a):this._time},e.totalProgress=function(r,a){return arguments.length?this.totalTime(this.totalDuration()*r,a):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},e.progress=function(r,a){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+Rs(this),a):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,a){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*i,a):this._repeat?Wn(this._tTime,i)+1:1},e.timeScale=function(r,a){if(!arguments.length)return this._rts===-ve?0:this._rts;if(this._rts===r)return this;var i=this.parent&&this._ts?Jr(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-ve?0:this._rts,this.totalTime(Cr(-Math.abs(this._delay),this._tDur,i),a!==!1),eo(this),S6(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):(Xn(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==ve&&(this._tTime-=ve)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=r;var a=this.parent||this._dp;return a&&(a._sort||!this.parent)&&Ot(a,this,r-this._delay),this}return this._start},e.endTime=function(r){return this._start+(et(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var a=this.parent||this._dp;return a?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Jr(a.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=k6);var a=Ue;return Ue=r,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),Ue=a,this},e.globalTime=function(r){for(var a=this,i=arguments.length?r:a.rawTime();a;)i=a._start+i/(Math.abs(a._ts)||1),a=a._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,js(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var a=this._time;return this._rDelay=r,js(this),a?this.time(a):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,a){return this.totalTime(mt(this,r),et(a))},e.restart=function(r,a){return this.play().totalTime(r?-this._delay:0,et(a))},e.play=function(r,a){return r!=null&&this.seek(r,a),this.reversed(!1).paused(!1)},e.reverse=function(r,a){return r!=null&&this.seek(r||this.totalDuration(),a),this.reversed(!0).paused(!1)},e.pause=function(r,a){return r!=null&&this.seek(r,a),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?-ve:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-ve,this},e.isActive=function(){var r=this.parent||this._dp,a=this._start,i;return!!(!r||this._ts&&this._initted&&r.isActive()&&(i=r.rawTime(!0))>=a&&i<this.endTime(!0)-ve)},e.eventCallback=function(r,a,i){var s=this.vars;return arguments.length>1?(a?(s[r]=a,i&&(s[r+"Params"]=i),r==="onUpdate"&&(this._onUpdate=a)):delete s[r],this):s[r]},e.then=function(r){var a=this;return new Promise(function(i){var s=Pe(r)?r:Ds,l=function(){var u=a.then;a.then=null,Pe(s)&&(s=s(a))&&(s.then||s===a)&&(a.then=u),i(s),a.then=u};a._initted&&a.totalProgress()===1&&a._ts>=0||!a._tTime&&a._ts<0?l():a._prom=l})},e.kill=function(){kr(this)},t}();pt(Mr.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:-ve,_prom:0,_ps:!1,_rts:1});var Ke=function(t){bs(e,t);function e(r,a){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=et(r.sortChildren),Le&&Ot(r.parent||Le,It(i),a),r.reversed&&i.reverse(),r.paused&&i.paused(!0),r.scrollTrigger&&Hs(It(i),r.scrollTrigger),i}var n=e.prototype;return n.to=function(a,i,s){return wr(0,arguments,this),this},n.from=function(a,i,s){return wr(1,arguments,this),this},n.fromTo=function(a,i,s,l){return wr(2,arguments,this),this},n.set=function(a,i,s){return i.duration=0,i.parent=this,yr(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new Fe(a,i,mt(this,s),1),this},n.call=function(a,i,s){return Ot(this,Fe.delayedCall(0,a,i),s)},n.staggerTo=function(a,i,s,l,c,u,d){return s.duration=i,s.stagger=s.stagger||l,s.onComplete=u,s.onCompleteParams=d,s.parent=this,new Fe(a,s,mt(this,c)),this},n.staggerFrom=function(a,i,s,l,c,u,d){return s.runBackwards=1,yr(s).immediateRender=et(s.immediateRender),this.staggerTo(a,i,s,l,c,u,d)},n.staggerFromTo=function(a,i,s,l,c,u,d,h){return l.startAt=s,yr(l).immediateRender=et(l.immediateRender),this.staggerTo(a,i,l,c,u,d,h)},n.render=function(a,i,s){var l=this._time,c=this._dirty?this.totalDuration():this._tDur,u=this._dur,d=a<=0?0:Ye(a),h=this._zTime<0!=a<0&&(this._initted||!u),p,_,m,f,b,S,M,C,x,$,L,k;if(this!==Le&&d>c&&a>=0&&(d=c),d!==this._tTime||s||h){if(l!==this._time&&u&&(d+=this._time-l,a+=this._time-l),p=d,x=this._start,C=this._ts,S=!C,h&&(u||(l=this._zTime),(a||!i)&&(this._zTime=a)),this._repeat){if(L=this._yoyo,b=u+this._rDelay,this._repeat<-1&&a<0)return this.totalTime(b*100+a,i,s);if(p=Ye(d%b),d===c?(f=this._repeat,p=u):(f=~~(d/b),f&&f===d/b&&(p=u,f--),p>u&&(p=u)),$=Wn(this._tTime,b),!l&&this._tTime&&$!==f&&this._tTime-$*b-this._dur<=0&&($=f),L&&f&1&&(p=u-p,k=1),f!==$&&!this._lock){var B=L&&$&1,T=B===(L&&f&1);if(f<$&&(B=!B),l=B?0:d%u?u:d,this._lock=1,this.render(l||(k?0:Ye(f*b)),i,!u)._lock=0,this._tTime=d,!i&&this.parent&&dt(this,"onRepeat"),this.vars.repeatRefresh&&!k&&(this.invalidate()._lock=1),l&&l!==this._time||S!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(u=this._dur,c=this._tDur,T&&(this._lock=2,l=B?u:-1e-4,this.render(l,!0),this.vars.repeatRefresh&&!k&&this.invalidate()),this._lock=0,!this._ts&&!S)return this;ol(this,k)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(M=T6(this,Ye(l),Ye(p)),M&&(d-=p-(p=M._start))),this._tTime=d,this._time=p,this._act=!C,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=a,l=0),!l&&p&&!i&&!f&&(dt(this,"onStart"),this._tTime!==d))return this;if(p>=l&&a>=0)for(_=this._first;_;){if(m=_._next,(_._act||p>=_._start)&&_._ts&&M!==_){if(_.parent!==this)return this.render(a,i,s);if(_.render(_._ts>0?(p-_._start)*_._ts:(_._dirty?_.totalDuration():_._tDur)+(p-_._start)*_._ts,i,s),p!==this._time||!this._ts&&!S){M=0,m&&(d+=this._zTime=-ve);break}}_=m}else{_=this._last;for(var I=a<0?a:p;_;){if(m=_._prev,(_._act||I<=_._end)&&_._ts&&M!==_){if(_.parent!==this)return this.render(a,i,s);if(_.render(_._ts>0?(I-_._start)*_._ts:(_._dirty?_.totalDuration():_._tDur)+(I-_._start)*_._ts,i,s||Ue&&(_._initted||_._startAt)),p!==this._time||!this._ts&&!S){M=0,m&&(d+=this._zTime=I?-ve:ve);break}}_=m}}if(M&&!i&&(this.pause(),M.render(p>=l?0:-ve)._zTime=p>=l?1:-1,this._ts))return this._start=x,eo(this),this.render(a,i,s);this._onUpdate&&!i&&dt(this,"onUpdate",!0),(d===c&&this._tTime>=this.totalDuration()||!d&&l)&&(x===this._start||Math.abs(C)!==Math.abs(this._ts))&&(this._lock||((a||!u)&&(d===c&&this._ts>0||!d&&this._ts<0)&&on(this,1),!i&&!(a<0&&!l)&&(d||l||!c)&&(dt(this,d===c&&a>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(d<c&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(a,i){var s=this;if(Yt(i)||(i=mt(this,i,a)),!(a instanceof Mr)){if(We(a))return a.forEach(function(l){return s.add(l,i)}),this;if(Ie(a))return this.addLabel(a,i);if(Pe(a))a=Fe.delayedCall(0,a);else return this}return this!==a?Ot(this,a,i):this},n.getChildren=function(a,i,s,l){a===void 0&&(a=!0),i===void 0&&(i=!0),s===void 0&&(s=!0),l===void 0&&(l=-ft);for(var c=[],u=this._first;u;)u._start>=l&&(u instanceof Fe?i&&c.push(u):(s&&c.push(u),a&&c.push.apply(c,u.getChildren(!0,i,s)))),u=u._next;return c},n.getById=function(a){for(var i=this.getChildren(1,1,1),s=i.length;s--;)if(i[s].vars.id===a)return i[s]},n.remove=function(a){return Ie(a)?this.removeLabel(a):Pe(a)?this.killTweensOf(a):(Qr(this,a),a===this._recent&&(this._recent=this._last),xn(this))},n.totalTime=function(a,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Ye(ut.time-(this._ts>0?a/this._ts:(this.totalDuration()-a)/-this._ts))),t.prototype.totalTime.call(this,a,i),this._forcing=0,this):this._tTime},n.addLabel=function(a,i){return this.labels[a]=mt(this,i),this},n.removeLabel=function(a){return delete this.labels[a],this},n.addPause=function(a,i,s){var l=Fe.delayedCall(0,i||gr,s);return l.data="isPause",this._hasPause=1,Ot(this,l,mt(this,a))},n.removePause=function(a){var i=this._first;for(a=mt(this,a);i;)i._start===a&&i.data==="isPause"&&on(i),i=i._next},n.killTweensOf=function(a,i,s){for(var l=this.getTweensOf(a,s),c=l.length;c--;)ln!==l[c]&&l[c].kill(a,i);return this},n.getTweensOf=function(a,i){for(var s=[],l=_t(a),c=this._first,u=Yt(i),d;c;)c instanceof Fe?v6(c._targets,l)&&(u?(!ln||c._initted&&c._ts)&&c.globalTime(0)<=i&&c.globalTime(c.totalDuration())>i:!i||c.isActive())&&s.push(c):(d=c.getTweensOf(l,i)).length&&s.push.apply(s,d),c=c._next;return s},n.tweenTo=function(a,i){i=i||{};var s=this,l=mt(s,a),c=i,u=c.startAt,d=c.onStart,h=c.onStartParams,p=c.immediateRender,_,m=Fe.to(s,pt({ease:i.ease||"none",lazy:!1,immediateRender:!1,time:l,overwrite:"auto",duration:i.duration||Math.abs((l-(u&&"time"in u?u.time:s._time))/s.timeScale())||ve,onStart:function(){if(s.pause(),!_){var b=i.duration||Math.abs((l-(u&&"time"in u?u.time:s._time))/s.timeScale());m._dur!==b&&Gn(m,b,0,1).render(m._time,!0,!0),_=1}d&&d.apply(m,h||[])}},i));return p?m.render(0):m},n.tweenFromTo=function(a,i,s){return this.tweenTo(i,pt({startAt:{time:mt(this,a)}},s))},n.recent=function(){return this._recent},n.nextLabel=function(a){return a===void 0&&(a=this._time),Ks(this,mt(this,a))},n.previousLabel=function(a){return a===void 0&&(a=this._time),Ks(this,mt(this,a),1)},n.currentLabel=function(a){return arguments.length?this.seek(a,!0):this.previousLabel(this._time+ve)},n.shiftChildren=function(a,i,s){s===void 0&&(s=0);for(var l=this._first,c=this.labels,u;l;)l._start>=s&&(l._start+=a,l._end+=a),l=l._next;if(i)for(u in c)c[u]>=s&&(c[u]+=a);return xn(this)},n.invalidate=function(a){var i=this._first;for(this._lock=0;i;)i.invalidate(a),i=i._next;return t.prototype.invalidate.call(this,a)},n.clear=function(a){a===void 0&&(a=!0);for(var i=this._first,s;i;)s=i._next,this.remove(i),i=s;return this._dp&&(this._time=this._tTime=this._pTime=0),a&&(this.labels={}),xn(this)},n.totalDuration=function(a){var i=0,s=this,l=s._last,c=ft,u,d,h;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-a:a));if(s._dirty){for(h=s.parent;l;)u=l._prev,l._dirty&&l.totalDuration(),d=l._start,d>c&&s._sort&&l._ts&&!s._lock?(s._lock=1,Ot(s,l,d-l._delay,1)._lock=0):c=d,d<0&&l._ts&&(i-=d,(!h&&!s._dp||h&&h.smoothChildTiming)&&(s._start+=d/s._ts,s._time-=d,s._tTime-=d),s.shiftChildren(-d,!1,-1/0),c=0),l._end>i&&l._ts&&(i=l._end),l=u;Gn(s,s===Le&&s._time>i?s._time:i,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(a){if(Le._ts&&(Vs(Le,Jr(a,Le)),Ts=ut.frame),ut.frame>=Es){Es+=st.autoSleep||120;var i=Le._first;if((!i||!i._ts)&&st.autoSleep&&ut._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||ut.sleep()}}},e}(Mr);pt(Ke.prototype,{_lock:0,_hasPause:0,_forcing:0});var q6=function(e,n,r,a,i,s,l){var c=new nt(this._pt,e,n,0,1,hl,null,i),u=0,d=0,h,p,_,m,f,b,S,M;for(c.b=r,c.e=a,r+="",a+="",(S=~a.indexOf("random("))&&(a=br(a)),s&&(M=[r,a],s(M,e,n),r=M[0],a=M[1]),p=r.match(da)||[];h=da.exec(a);)m=h[0],f=a.substring(u,h.index),_?_=(_+1)%5:f.substr(-5)==="rgba("&&(_=1),m!==p[d++]&&(b=parseFloat(p[d-1])||0,c._pt={_next:c._pt,p:f||d===1?f:",",s:b,c:m.charAt(1)==="="?Un(b,m)-b:parseFloat(m)-b,m:_&&_<4?Math.round:0},u=da.lastIndex);return c.c=u<a.length?a.substring(u,a.length):"",c.fp=l,(Ms.test(a)||S)&&(c.e=0),this._pt=c,c},$a=function(e,n,r,a,i,s,l,c,u,d){Pe(a)&&(a=a(i||0,e,s));var h=e[n],p=r!=="get"?r:Pe(h)?u?e[n.indexOf("set")||!Pe(e["get"+n.substr(3)])?n:"get"+n.substr(3)](u):e[n]():h,_=Pe(h)?u?X6:dl:Ta,m;if(Ie(a)&&(~a.indexOf("random(")&&(a=br(a)),a.charAt(1)==="="&&(m=Un(p,a)+(Ge(p)||0),(m||m===0)&&(a=m))),!d||p!==a||La)return!isNaN(p*a)&&a!==""?(m=new nt(this._pt,e,n,+p||0,a-(p||0),typeof h=="boolean"?J6:ul,0,_),u&&(m.fp=u),l&&m.modifier(l,this,e),this._pt=m):(!h&&!(n in e)&&fa(n,a),q6.call(this,e,n,p,a,_,c||st.stringFilter,u))},U6=function(e,n,r,a,i){if(Pe(e)&&(e=Sr(e,i,n,r,a)),!Pt(e)||e.style&&e.nodeType||We(e)||vs(e))return Ie(e)?Sr(e,i,n,r,a):e;var s={},l;for(l in e)s[l]=Sr(e[l],i,n,r,a);return s},sl=function(e,n,r,a,i,s){var l,c,u,d;if(ct[e]&&(l=new ct[e]).init(i,l.rawVars?n[e]:U6(n[e],a,i,s,r),r,a,s)!==!1&&(r._pt=c=new nt(r._pt,i,e,0,1,l.render,l,0,l.priority),r!==Kn))for(u=r._ptLookup[r._targets.indexOf(i)],d=l._props.length;d--;)u[l._props[d]]=c;return l},ln,La,Ba=function t(e,n,r){var a=e.vars,i=a.ease,s=a.startAt,l=a.immediateRender,c=a.lazy,u=a.onUpdate,d=a.runBackwards,h=a.yoyoEase,p=a.keyframes,_=a.autoRevert,m=e._dur,f=e._startAt,b=e._targets,S=e.parent,M=S&&S.data==="nested"?S.vars.targets:b,C=e._overwrite==="auto"&&!aa,x=e.timeline,$,L,k,B,T,I,X,V,F,G,v,w,N;if(x&&(!p||!i)&&(i="none"),e._ease=Mn(i,Zn.ease),e._yEase=h?rl(Mn(h===!0?i:h,Zn.ease)):0,h&&e._yoyo&&!e._repeat&&(h=e._yEase,e._yEase=e._ease,e._ease=h),e._from=!x&&!!a.runBackwards,!x||p&&!a.stagger){if(V=b[0]?kn(b[0]).harness:0,w=V&&a[V.prop],$=Xr(a,pa),f&&(f._zTime<0&&f.progress(1),n<0&&d&&l&&!_?f.render(-1,!0):f.revert(d&&m?Wr:b6),f._lazy=0),s){if(on(e._startAt=Fe.set(b,pt({data:"isStart",overwrite:!1,parent:S,immediateRender:!0,lazy:!f&&et(c),startAt:null,delay:0,onUpdate:u&&function(){return dt(e,"onUpdate")},stagger:0},s))),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Ue||!l&&!_)&&e._startAt.revert(Wr),l&&m&&n<=0&&r<=0){n&&(e._zTime=n);return}}else if(d&&m&&!f){if(n&&(l=!1),k=pt({overwrite:!1,data:"isFromStart",lazy:l&&!f&&et(c),immediateRender:l,stagger:0,parent:S},$),w&&(k[V.prop]=w),on(e._startAt=Fe.set(b,k)),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Ue?e._startAt.revert(Wr):e._startAt.render(-1,!0)),e._zTime=n,!l)t(e._startAt,ve,ve);else if(!n)return}for(e._pt=e._ptCache=0,c=m&&et(c)||c&&!m,L=0;L<b.length;L++){if(T=b[L],X=T._gsap||ya(b)[L]._gsap,e._ptLookup[L]=G={},ma[X.id]&&rn.length&&Kr(),v=M===b?L:M.indexOf(T),V&&(F=new V).init(T,w||$,e,v,M)!==!1&&(e._pt=B=new nt(e._pt,T,F.name,0,1,F.render,F,0,F.priority),F._props.forEach(function(Z){G[Z]=B}),F.priority&&(I=1)),!V||w)for(k in $)ct[k]&&(F=sl(k,$,e,v,T,M))?F.priority&&(I=1):G[k]=B=$a.call(e,T,k,"get",$[k],v,M,0,a.stringFilter);e._op&&e._op[L]&&e.kill(T,e._op[L]),C&&e._pt&&(ln=e,Le.killTweensOf(T,G,e.globalTime(n)),N=!e.parent,ln=0),e._pt&&c&&(ma[X.id]=1)}I&&fl(e),e._onInit&&e._onInit(e)}e._onUpdate=u,e._initted=(!e._op||e._pt)&&!N,p&&n<=0&&x.render(ft,!0,!0)},W6=function(e,n,r,a,i,s,l,c){var u=(e._pt&&e._ptCache||(e._ptCache={}))[n],d,h,p,_;if(!u)for(u=e._ptCache[n]=[],p=e._ptLookup,_=e._targets.length;_--;){if(d=p[_][n],d&&d.d&&d.d._pt)for(d=d.d._pt;d&&d.p!==n&&d.fp!==n;)d=d._next;if(!d)return La=1,e.vars[n]="+=0",Ba(e,l),La=0,c?_r(n+" not eligible for reset"):1;u.push(d)}for(_=u.length;_--;)h=u[_],d=h._pt||h,d.s=(a||a===0)&&!i?a:d.s+(a||0)+s*d.c,d.c=r-d.s,h.e&&(h.e=Re(r)+Ge(h.e)),h.b&&(h.b=d.s+Ge(h.b))},G6=function(e,n){var r=e[0]?kn(e[0]).harness:0,a=r&&r.aliases,i,s,l,c;if(!a)return n;i=vn({},n);for(s in a)if(s in i)for(c=a[s].split(","),l=c.length;l--;)i[c[l]]=i[s];return i},K6=function(e,n,r,a){var i=n.ease||a||"power1.inOut",s,l;if(We(n))l=r[e]||(r[e]=[]),n.forEach(function(c,u){return l.push({t:u/(n.length-1)*100,v:c,e:i})});else for(s in n)l=r[s]||(r[s]=[]),s==="ease"||l.push({t:parseFloat(e),v:n[s],e:i})},Sr=function(e,n,r,a,i){return Pe(e)?e.call(n,r,a,i):Ie(e)&&~e.indexOf("random(")?br(e):e},ll=ga+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",cl={};tt(ll+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return cl[t]=1});var Fe=function(t){bs(e,t);function e(r,a,i,s){var l;typeof a=="number"&&(i.duration=a,a=i,i=null),l=t.call(this,s?a:yr(a))||this;var c=l.vars,u=c.duration,d=c.delay,h=c.immediateRender,p=c.stagger,_=c.overwrite,m=c.keyframes,f=c.defaults,b=c.scrollTrigger,S=c.yoyoEase,M=a.parent||Le,C=(We(r)||vs(r)?Yt(r[0]):"length"in a)?[r]:_t(r),x,$,L,k,B,T,I,X;if(l._targets=C.length?ya(C):_r("GSAP target "+r+" not found. https://gsap.com",!st.nullTargetWarn)||[],l._ptLookup=[],l._overwrite=_,m||p||qr(u)||qr(d)){if(a=l.vars,x=l.timeline=new Ke({data:"nested",defaults:f||{},targets:M&&M.data==="nested"?M.vars.targets:C}),x.kill(),x.parent=x._dp=It(l),x._start=0,p||qr(u)||qr(d)){if(k=C.length,I=p&&Zs(p),Pt(p))for(B in p)~ll.indexOf(B)&&(X||(X={}),X[B]=p[B]);for($=0;$<k;$++)L=Xr(a,cl),L.stagger=0,S&&(L.yoyoEase=S),X&&vn(L,X),T=C[$],L.duration=+Sr(u,It(l),$,T,C),L.delay=(+Sr(d,It(l),$,T,C)||0)-l._delay,!p&&k===1&&L.delay&&(l._delay=d=L.delay,l._start+=d,L.delay=0),x.to(T,L,I?I($,T,C):0),x._ease=fe.none;x.duration()?u=d=0:l.timeline=0}else if(m){yr(pt(x.vars.defaults,{ease:"none"})),x._ease=Mn(m.ease||a.ease||"none");var V=0,F,G,v;if(We(m))m.forEach(function(w){return x.to(C,w,">")}),x.duration();else{L={};for(B in m)B==="ease"||B==="easeEach"||K6(B,m[B],L,m.easeEach);for(B in L)for(F=L[B].sort(function(w,N){return w.t-N.t}),V=0,$=0;$<F.length;$++)G=F[$],v={ease:G.e,duration:(G.t-($?F[$-1].t:0))/100*u},v[B]=G.v,x.to(C,v,V),V+=v.duration;x.duration()<u&&x.to({},{duration:u-x.duration()})}}u||l.duration(u=x.duration())}else l.timeline=0;return _===!0&&!aa&&(ln=It(l),Le.killTweensOf(C),ln=0),Ot(M,It(l),i),a.reversed&&l.reverse(),a.paused&&l.paused(!0),(h||!u&&!m&&l._start===Ye(M._time)&&et(h)&&$6(It(l))&&M.data!=="nested")&&(l._tTime=-ve,l.render(Math.max(0,-d)||0)),b&&Hs(It(l),b),l}var n=e.prototype;return n.render=function(a,i,s){var l=this._time,c=this._tDur,u=this._dur,d=a<0,h=a>c-ve&&!d?c:a<ve?0:a,p,_,m,f,b,S,M,C,x;if(!u)B6(this,a,i,s);else if(h!==this._tTime||!a||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==d){if(p=h,C=this.timeline,this._repeat){if(f=u+this._rDelay,this._repeat<-1&&d)return this.totalTime(f*100+a,i,s);if(p=Ye(h%f),h===c?(m=this._repeat,p=u):(m=~~(h/f),m&&m===Ye(h/f)&&(p=u,m--),p>u&&(p=u)),S=this._yoyo&&m&1,S&&(x=this._yEase,p=u-p),b=Wn(this._tTime,f),p===l&&!s&&this._initted&&m===b)return this._tTime=h,this;m!==b&&(C&&this._yEase&&ol(C,S),this.vars.repeatRefresh&&!S&&!this._lock&&this._time!==f&&this._initted&&(this._lock=s=1,this.render(Ye(f*m),!0).invalidate()._lock=0))}if(!this._initted){if(zs(this,d?a:p,s,i,h))return this._tTime=0,this;if(l!==this._time&&!(s&&this.vars.repeatRefresh&&m!==b))return this;if(u!==this._dur)return this.render(a,i,s)}if(this._tTime=h,this._time=p,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=M=(x||this._ease)(p/u),this._from&&(this.ratio=M=1-M),p&&!l&&!i&&!m&&(dt(this,"onStart"),this._tTime!==h))return this;for(_=this._pt;_;)_.r(M,_.d),_=_._next;C&&C.render(a<0?a:C._dur*C._ease(p/this._dur),i,s)||this._startAt&&(this._zTime=a),this._onUpdate&&!i&&(d&&wa(this,a,i,s),dt(this,"onUpdate")),this._repeat&&m!==b&&this.vars.onRepeat&&!i&&this.parent&&dt(this,"onRepeat"),(h===this._tDur||!h)&&this._tTime===h&&(d&&!this._onUpdate&&wa(this,a,!0,!0),(a||!u)&&(h===this._tDur&&this._ts>0||!h&&this._ts<0)&&on(this,1),!i&&!(d&&!l)&&(h||l||S)&&(dt(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(a){return(!a||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(a),t.prototype.invalidate.call(this,a)},n.resetTo=function(a,i,s,l,c){xr||ut.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),d;return this._initted||Ba(this,u),d=this._ease(u/this._dur),W6(this,a,i,s,l,d,u,c)?this.resetTo(a,i,s,l,1):(to(this,0),this.parent||As(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(a,i){if(i===void 0&&(i="all"),!a&&(!i||i==="all"))return this._lazy=this._pt=0,this.parent?kr(this):this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(a,i,ln&&ln.vars.overwrite!==!0)._first||kr(this),this.parent&&s!==this.timeline.totalDuration()&&Gn(this,this._dur*this.timeline._tDur/s,0,1),this}var l=this._targets,c=a?_t(a):l,u=this._ptLookup,d=this._pt,h,p,_,m,f,b,S;if((!i||i==="all")&&M6(l,c))return i==="all"&&(this._pt=0),kr(this);for(h=this._op=this._op||[],i!=="all"&&(Ie(i)&&(f={},tt(i,function(M){return f[M]=1}),i=f),i=G6(l,i)),S=l.length;S--;)if(~c.indexOf(l[S])){p=u[S],i==="all"?(h[S]=i,m=p,_={}):(_=h[S]=h[S]||{},m=i);for(f in m)b=p&&p[f],b&&((!("kill"in b.d)||b.d.kill(f)===!0)&&Qr(this,b,"_pt"),delete p[f]),_!=="all"&&(_[f]=1)}return this._initted&&!this._pt&&d&&kr(this),this},e.to=function(a,i){return new e(a,i,arguments[2])},e.from=function(a,i){return wr(1,arguments)},e.delayedCall=function(a,i,s,l){return new e(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:a,onComplete:i,onReverseComplete:i,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:l})},e.fromTo=function(a,i,s){return wr(2,arguments)},e.set=function(a,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new e(a,i)},e.killTweensOf=function(a,i,s){return Le.killTweensOf(a,i,s)},e}(Mr);pt(Fe.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),tt("staggerTo,staggerFrom,staggerFromTo",function(t){Fe[t]=function(){var e=new Ke,n=ba.call(arguments,0);return n.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,n)}});var Ta=function(e,n,r){return e[n]=r},dl=function(e,n,r){return e[n](r)},X6=function(e,n,r,a){return e[n](a.fp,r)},Q6=function(e,n,r){return e.setAttribute(n,r)},Ea=function(e,n){return Pe(e[n])?dl:sa(e[n])&&e.setAttribute?Q6:Ta},ul=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e6)/1e6,n)},J6=function(e,n){return n.set(n.t,n.p,!!(n.s+n.c*e),n)},hl=function(e,n){var r=n._pt,a="";if(!e&&n.b)a=n.b;else if(e===1&&n.e)a=n.e;else{for(;r;)a=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+a,r=r._next;a+=n.c}n.set(n.t,n.p,a,n)},Pa=function(e,n){for(var r=n._pt;r;)r.r(e,r.d),r=r._next},eh=function(e,n,r,a){for(var i=this._pt,s;i;)s=i._next,i.p===a&&i.modifier(e,n,r),i=s},th=function(e){for(var n=this._pt,r,a;n;)a=n._next,n.p===e&&!n.op||n.op===e?Qr(this,n,"_pt"):n.dep||(r=1),n=a;return!r},nh=function(e,n,r,a){a.mSet(e,n,a.m.call(a.tween,r,a.mt),a)},fl=function(e){for(var n=e._pt,r,a,i,s;n;){for(r=n._next,a=i;a&&a.pr>n.pr;)a=a._next;(n._prev=a?a._prev:s)?n._prev._next=n:i=n,(n._next=a)?a._prev=n:s=n,n=r}e._pt=i},nt=function(){function t(n,r,a,i,s,l,c,u,d){this.t=r,this.s=i,this.c=s,this.p=a,this.r=l||ul,this.d=c||this,this.set=u||Ta,this.pr=d||0,this._next=n,n&&(n._prev=this)}var e=t.prototype;return e.modifier=function(r,a,i){this.mSet=this.mSet||this.set,this.set=nh,this.m=r,this.mt=i,this.tween=a},t}();tt(ga+"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 pa[t]=1}),lt.TweenMax=lt.TweenLite=Fe,lt.TimelineLite=lt.TimelineMax=Ke,Le=new Ke({sortChildren:!1,defaults:Zn,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),st.stringFilter=nl;var $n=[],no={},rh=[],pl=0,oh=0,Va=function(e){return(no[e]||rh).map(function(n){return n()})},Oa=function(){var e=Date.now(),n=[];e-pl>2&&(Va("matchMediaInit"),$n.forEach(function(r){var a=r.queries,i=r.conditions,s,l,c,u;for(l in a)s=Vt.matchMedia(a[l]).matches,s&&(c=1),s!==i[l]&&(i[l]=s,u=1);u&&(r.revert(),c&&n.push(r))}),Va("matchMediaRevert"),n.forEach(function(r){return r.onMatch(r,function(a){return r.add(null,a)})}),pl=e,Va("matchMedia"))},ml=function(){function t(n,r){this.selector=r&&ka(r),this.data=[],this._r=[],this.isReverted=!1,this.id=oh++,n&&this.add(n)}var e=t.prototype;return e.add=function(r,a,i){Pe(r)&&(i=a,a=r,r=Pe);var s=this,l=function(){var u=Me,d=s.selector,h;return u&&u!==s&&u.data.push(s),i&&(s.selector=ka(i)),Me=s,h=a.apply(s,arguments),Pe(h)&&s._r.push(h),Me=u,s.selector=d,s.isReverted=!1,h};return s.last=l,r===Pe?l(s,function(c){return s.add(null,c)}):r?s[r]=l:l},e.ignore=function(r){var a=Me;Me=null,r(this),Me=a},e.getTweens=function(){var r=[];return this.data.forEach(function(a){return a instanceof t?r.push.apply(r,a.getTweens()):a instanceof Fe&&!(a.parent&&a.parent.data==="nested")&&r.push(a)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,a){var i=this;if(r?function(){for(var l=i.getTweens(),c=i.data.length,u;c--;)u=i.data[c],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(d){return l.splice(l.indexOf(d),1)}));for(l.map(function(d){return{g:d._dur||d._delay||d._sat&&!d._sat.vars.immediateRender?d.globalTime(0):-1/0,t:d}}).sort(function(d,h){return h.g-d.g||-1/0}).forEach(function(d){return d.t.revert(r)}),c=i.data.length;c--;)u=i.data[c],u instanceof Ke?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof Fe)&&u.revert&&u.revert(r);i._r.forEach(function(d){return d(r,i)}),i.isReverted=!0}():this.data.forEach(function(l){return l.kill&&l.kill()}),this.clear(),a)for(var s=$n.length;s--;)$n[s].id===this.id&&$n.splice(s,1)},e.revert=function(r){this.kill(r||{})},t}(),ah=function(){function t(n){this.contexts=[],this.scope=n,Me&&Me.data.push(this)}var e=t.prototype;return e.add=function(r,a,i){Pt(r)||(r={matches:r});var s=new ml(0,i||this.scope),l=s.conditions={},c,u,d;Me&&!s.selector&&(s.selector=Me.selector),this.contexts.push(s),a=s.add("onMatch",a),s.queries=r;for(u in r)u==="all"?d=1:(c=Vt.matchMedia(r[u]),c&&($n.indexOf(s)<0&&$n.push(s),(l[u]=c.matches)&&(d=1),c.addListener?c.addListener(Oa):c.addEventListener("change",Oa)));return d&&a(s,function(h){return s.add(null,h)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(a){return a.kill(r,!0)})},t}(),ro={registerPlugin:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];n.forEach(function(a){return Qs(a)})},timeline:function(e){return new Ke(e)},getTweensOf:function(e,n){return Le.getTweensOf(e,n)},getProperty:function(e,n,r,a){Ie(e)&&(e=_t(e)[0]);var i=kn(e||{}).get,s=r?Ds:Os;return r==="native"&&(r=""),e&&(n?s((ct[n]&&ct[n].get||i)(e,n,r,a)):function(l,c,u){return s((ct[l]&&ct[l].get||i)(e,l,c,u))})},quickSetter:function(e,n,r){if(e=_t(e),e.length>1){var a=e.map(function(d){return rt.quickSetter(d,n,r)}),i=a.length;return function(d){for(var h=i;h--;)a[h](d)}}e=e[0]||{};var s=ct[n],l=kn(e),c=l.harness&&(l.harness.aliases||{})[n]||n,u=s?function(d){var h=new s;Kn._pt=0,h.init(e,r?d+r:d,Kn,0,[e]),h.render(1,h),Kn._pt&&Pa(1,Kn)}:l.set(e,c);return s?u:function(d){return u(e,c,r?d+r:d,l,1)}},quickTo:function(e,n,r){var a,i=rt.to(e,vn((a={},a[n]="+=0.1",a.paused=!0,a),r||{})),s=function(c,u,d){return i.resetTo(n,c,u,d)};return s.tween=i,s},isTweening:function(e){return Le.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Mn(e.ease,Zn.ease)),Ns(Zn,e||{})},config:function(e){return Ns(st,e||{})},registerEffect:function(e){var n=e.name,r=e.effect,a=e.plugins,i=e.defaults,s=e.extendTimeline;(a||"").split(",").forEach(function(l){return l&&!ct[l]&&!lt[l]&&_r(n+" effect requires "+l+" plugin.")}),_a[n]=function(l,c,u){return r(_t(l),pt(c||{},i),u)},s&&(Ke.prototype[n]=function(l,c,u){return this.add(_a[n](l,Pt(c)?c:(u=c)&&{},this),u)})},registerEase:function(e,n){fe[e]=Mn(n)},parseEase:function(e,n){return arguments.length?Mn(e,n):fe},getById:function(e){return Le.getById(e)},exportRoot:function(e,n){e===void 0&&(e={});var r=new Ke(e),a,i;for(r.smoothChildTiming=et(e.smoothChildTiming),Le.remove(r),r._dp=0,r._time=r._tTime=Le._time,a=Le._first;a;)i=a._next,(n||!(!a._dur&&a instanceof Fe&&a.vars.onComplete===a._targets[0]))&&Ot(r,a,a._start-a._delay),a=i;return Ot(Le,r,0),r},context:function(e,n){return e?new ml(e,n):Me},matchMedia:function(e){return new ah(e)},matchMediaRefresh:function(){return $n.forEach(function(e){var n=e.conditions,r,a;for(a in n)n[a]&&(n[a]=!1,r=1);r&&e.revert()})||Oa()},addEventListener:function(e,n){var r=no[e]||(no[e]=[]);~r.indexOf(n)||r.push(n)},removeEventListener:function(e,n){var r=no[e],a=r&&r.indexOf(n);a>=0&&r.splice(a,1)},utils:{wrap:A6,wrapYoyo:R6,distribute:Zs,random:Us,snap:qs,normalize:N6,getUnit:Ge,clamp:P6,splitColor:Js,toArray:_t,selector:ka,mapRange:Gs,pipe:O6,unitize:D6,interpolate:F6,shuffle:Ys},install:Ls,effects:_a,ticker:ut,updateRoot:Ke.updateRoot,plugins:ct,globalTimeline:Le,core:{PropTween:nt,globals:Bs,Tween:Fe,Timeline:Ke,Animation:Mr,getCache:kn,_removeLinkedListItem:Qr,reverting:function(){return Ue},context:function(e){return e&&Me&&(Me.data.push(e),e._ctx=Me),Me},suppressOverwrites:function(e){return aa=e}}};tt("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return ro[t]=Fe[t]}),ut.add(Ke.updateRoot),Kn=ro.to({},{duration:0});var ih=function(e,n){for(var r=e._pt;r&&r.p!==n&&r.op!==n&&r.fp!==n;)r=r._next;return r},sh=function(e,n){var r=e._targets,a,i,s;for(a in n)for(i=r.length;i--;)s=e._ptLookup[i][a],s&&(s=s.d)&&(s._pt&&(s=ih(s,a)),s&&s.modifier&&s.modifier(n[a],e,r[i],a))},Da=function(e,n){return{name:e,rawVars:1,init:function(a,i,s){s._onInit=function(l){var c,u;if(Ie(i)&&(c={},tt(i,function(d){return c[d]=1}),i=c),n){c={};for(u in i)c[u]=n(i[u]);i=c}sh(l,i)}}}},rt=ro.registerPlugin({name:"attr",init:function(e,n,r,a,i){var s,l,c;this.tween=r;for(s in n)c=e.getAttribute(s)||"",l=this.add(e,"setAttribute",(c||0)+"",n[s],a,i,0,0,s),l.op=s,l.b=c,this._props.push(s)},render:function(e,n){for(var r=n._pt;r;)Ue?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)}},Da("roundProps",va),Da("modifiers"),Da("snap",qs))||ro;Fe.version=Ke.version=rt.version="3.12.5",$s=1,la()&&Xn(),fe.Power0,fe.Power1,fe.Power2,fe.Power3,fe.Power4;var lh=fe.Linear;fe.Quad,fe.Cubic,fe.Quart,fe.Quint,fe.Strong,fe.Elastic,fe.Back,fe.SteppedEase,fe.Bounce;var Na=fe.Sine;fe.Expo,fe.Circ;/*!
|
|
9
|
+
*/var En={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},zs={duration:.5,overwrite:!1,delay:0},Dd,ln,Mt,jn=1e8,bt=1/jn,Pd=Math.PI*2,gy=Pd/4,_y=0,$f=Math.sqrt,yy=Math.cos,by=Math.sin,en=function(e){return typeof e=="string"},Nt=function(e){return typeof e=="function"},Xr=function(e){return typeof e=="number"},Od=function(e){return typeof e>"u"},Dr=function(e){return typeof e=="object"},gn=function(e){return e!==!1},Ed=function(){return typeof window<"u"},tl=function(e){return Nt(e)||en(e)},Vf=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},cn=Array.isArray,Ld=/(?:-?\.?\d|\.)+/gi,Nf=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,js=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,$d=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Bf=/[+-]=-?[.\d]+/,Af=/[^,'"\[\]\s]+/gi,wy=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Ot,Pr,Vd,Nd,Ln={},nl={},Rf,Ff=function(e){return(nl=ns(e,Ln))&&bn},Bd=function(e,n){return console.warn("Invalid property",e,"set to",n,"Missing plugin? gsap.registerPlugin()")},Ro=function(e,n){return!n&&console.warn(e)},If=function(e,n){return e&&(Ln[e]=n)&&nl&&(nl[e]=n)||Ln},Fo=function(){return 0},Cy={suppressEvents:!0,isStart:!0,kill:!1},rl={suppressEvents:!0,kill:!1},ky={suppressEvents:!0},Ad={},Si=[],Rd={},Hf,$n={},Fd={},zf=30,il=[],Id="",Hd=function(e){var n=e[0],r,i;if(Dr(n)||Nt(n)||(e=[e]),!(r=(n._gsap||{}).harness)){for(i=il.length;i--&&!il[i].targetTest(n););r=il[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new _0(e[i],r)))||e.splice(i,1);return e},ts=function(e){return e._gsap||Hd(qn(e))[0]._gsap},jf=function(e,n,r){return(r=e[n])&&Nt(r)?e[n]():Od(r)&&e.getAttribute&&e.getAttribute(n)||r},_n=function(e,n){return(e=e.split(",")).forEach(n)||e},Yt=function(e){return Math.round(e*1e5)/1e5||0},tn=function(e){return Math.round(e*1e7)/1e7||0},Ys=function(e,n){var r=n.charAt(0),i=parseFloat(n.substr(2));return e=parseFloat(e),r==="+"?e+i:r==="-"?e-i:r==="*"?e*i:e/i},vy=function(e,n){for(var r=n.length,i=0;e.indexOf(n[i])<0&&++i<r;);return i<r},sl=function(){var e=Si.length,n=Si.slice(0),r,i;for(Rd={},Si.length=0,r=0;r<e;r++)i=n[r],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},Yf=function(e,n,r,i){Si.length&&!ln&&sl(),e.render(n,r,i||ln&&n<0&&(e._initted||e._startAt)),Si.length&&!ln&&sl()},Wf=function(e){var n=parseFloat(e);return(n||n===0)&&(e+"").match(Af).length<2?n:en(e)?e.trim():e},qf=function(e){return e},Yn=function(e,n){for(var r in n)r in e||(e[r]=n[r]);return e},xy=function(e){return function(n,r){for(var i in r)i in n||i==="duration"&&e||i==="ease"||(n[i]=r[i])}},ns=function(e,n){for(var r in n)e[r]=n[r];return e},Uf=function t(e,n){for(var r in n)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=Dr(n[r])?t(e[r]||(e[r]={}),n[r]):n[r]);return e},ol=function(e,n){var r={},i;for(i in e)i in n||(r[i]=e[i]);return r},Io=function(e){var n=e.parent||Ot,r=e.keyframes?xy(cn(e.keyframes)):Yn;if(gn(e.inherit))for(;n;)r(e,n.vars.defaults),n=n.parent||n._dp;return e},Sy=function(e,n){for(var r=e.length,i=r===n.length;i&&r--&&e[r]===n[r];);return r<0},Zf=function(e,n,r,i,s){r===void 0&&(r="_first"),i===void 0&&(i="_last");var a=e[i],l;if(s)for(l=n[s];a&&a[s]>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[i]=n,n._prev=a,n.parent=n._dp=e,n},al=function(e,n,r,i){r===void 0&&(r="_first"),i===void 0&&(i="_last");var s=n._prev,a=n._next;s?s._next=a:e[r]===n&&(e[r]=a),a?a._prev=s:e[i]===n&&(e[i]=s),n._next=n._prev=n.parent=null},Mi=function(e,n){e.parent&&(!n||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},rs=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},My=function(e){for(var n=e.parent;n&&n.parent;)n._dirty=1,n.totalDuration(),n=n.parent;return e},zd=function(e,n,r,i){return e._startAt&&(ln?e._startAt.revert(rl):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(n,!0,i))},Ty=function t(e){return!e||e._ts&&t(e.parent)},Gf=function(e){return e._repeat?Ws(e._tTime,e=e.duration()+e._rDelay)*e:0},Ws=function(e,n){var r=Math.floor(e/=n);return e&&r===e?r-1:r},ll=function(e,n){return(e-n._start)*n._ts+(n._ts>=0?0:n._dirty?n.totalDuration():n._tDur)},cl=function(e){return e._end=tn(e._start+(e._tDur/Math.abs(e._ts||e._rts||bt)||0))},dl=function(e,n){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=tn(r._time-(e._ts>0?n/e._ts:((e._dirty?e.totalDuration():e._tDur)-n)/-e._ts)),cl(e),r._dirty||rs(r,e)),e},Kf=function(e,n){var r;if((n._time||!n._dur&&n._initted||n._start<e._time&&(n._dur||!n.add))&&(r=ll(e.rawTime(),n),(!n._dur||zo(0,n.totalDuration(),r)-n._tTime>bt)&&n.render(r,!0)),rs(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=-bt}},Or=function(e,n,r,i){return n.parent&&Mi(n),n._start=tn((Xr(r)?r:r||e!==Ot?Wn(e,r,n):e._time)+n._delay),n._end=tn(n._start+(n.totalDuration()/Math.abs(n.timeScale())||0)),Zf(e,n,"_first","_last",e._sort?"_start":0),jd(n)||(e._recent=n),i||Kf(e,n),e._ts<0&&dl(e,e._tTime),e},Xf=function(e,n){return(Ln.ScrollTrigger||Bd("scrollTrigger",n))&&Ln.ScrollTrigger.create(n,e)},Qf=function(e,n,r,i,s){if(Qd(e,n,s),!e._initted)return 1;if(!r&&e._pt&&!ln&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Hf!==Nn.frame)return Si.push(e),e._lazy=[s,i],1},Dy=function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))},jd=function(e){var n=e.data;return n==="isFromStart"||n==="isStart"},Py=function(e,n,r,i){var s=e.ratio,a=n<0||!n&&(!e._start&&Dy(e)&&!(!e._initted&&jd(e))||(e._ts<0||e._dp._ts<0)&&!jd(e))?0:1,l=e._rDelay,c=0,u,h,p;if(l&&e._repeat&&(c=zo(0,e._tDur,n),h=Ws(c,l),e._yoyo&&h&1&&(a=1-a),h!==Ws(e._tTime,l)&&(s=1-a,e.vars.repeatRefresh&&e._initted&&e.invalidate())),a!==s||ln||i||e._zTime===bt||!n&&e._zTime){if(!e._initted&&Qf(e,n,i,r,c))return;for(p=e._zTime,e._zTime=n||(r?bt:0),r||(r=n&&!p),e.ratio=a,e._from&&(a=1-a),e._time=0,e._tTime=c,u=e._pt;u;)u.r(a,u.d),u=u._next;n<0&&zd(e,n,r,!0),e._onUpdate&&!r&&Vn(e,"onUpdate"),c&&e._repeat&&!r&&e.parent&&Vn(e,"onRepeat"),(n>=e._tDur||n<0)&&e.ratio===a&&(a&&Mi(e,1),!r&&!ln&&(Vn(e,a?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=n)},Oy=function(e,n,r){var i;if(r>n)for(i=e._first;i&&i._start<=r;){if(i.data==="isPause"&&i._start>n)return i;i=i._next}else for(i=e._last;i&&i._start>=r;){if(i.data==="isPause"&&i._start<n)return i;i=i._prev}},qs=function(e,n,r,i){var s=e._repeat,a=tn(n)||0,l=e._tTime/e._tDur;return l&&!i&&(e._time*=a/e._dur),e._dur=a,e._tDur=s?s<0?1e10:tn(a*(s+1)+e._rDelay*s):a,l>0&&!i&&dl(e,e._tTime=e._tDur*l),e.parent&&cl(e),r||rs(e.parent,e),e},Jf=function(e){return e instanceof fn?rs(e):qs(e,e._dur)},Ey={_start:0,endTime:Fo,totalDuration:Fo},Wn=function t(e,n,r){var i=e.labels,s=e._recent||Ey,a=e.duration()>=jn?s.endTime(!1):e._dur,l,c,u;return en(n)&&(isNaN(n)||n in i)?(c=n.charAt(0),u=n.substr(-1)==="%",l=n.indexOf("="),c==="<"||c===">"?(l>=0&&(n=n.replace(/=/,"")),(c==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(n.substr(1))||0)*(u?(l<0?s:r).totalDuration()/100:1)):l<0?(n in i||(i[n]=a),i[n]):(c=parseFloat(n.charAt(l-1)+n.substr(l+1)),u&&r&&(c=c/100*(cn(r)?r[0]:r).totalDuration()),l>1?t(e,n.substr(0,l-1),r)+c:a+c)):n==null?a:+n},Ho=function(e,n,r){var i=Xr(n[1]),s=(i?2:1)+(e<2?0:1),a=n[s],l,c;if(i&&(a.duration=n[1]),a.parent=r,e){for(l=a,c=r;c&&!("immediateRender"in l);)l=c.vars.defaults||{},c=gn(c.vars.inherit)&&c.parent;a.immediateRender=gn(l.immediateRender),e<2?a.runBackwards=1:a.startAt=n[s-1]}return new Zt(n[0],a,n[s+1])},Ti=function(e,n){return e||e===0?n(e):n},zo=function(e,n,r){return r<e?e:r>n?n:r},dn=function(e,n){return!en(e)||!(n=wy.exec(e))?"":n[1]},Ly=function(e,n,r){return Ti(r,function(i){return zo(e,n,i)})},Yd=[].slice,e0=function(e,n){return e&&Dr(e)&&"length"in e&&(!n&&!e.length||e.length-1 in e&&Dr(e[0]))&&!e.nodeType&&e!==Pr},$y=function(e,n,r){return r===void 0&&(r=[]),e.forEach(function(i){var s;return en(i)&&!n||e0(i,1)?(s=r).push.apply(s,qn(i)):r.push(i)})||r},qn=function(e,n,r){return Mt&&!n&&Mt.selector?Mt.selector(e):en(e)&&!r&&(Vd||!Zs())?Yd.call((n||Nd).querySelectorAll(e),0):cn(e)?$y(e,r):e0(e)?Yd.call(e,0):e?[e]:[]},Wd=function(e){return e=qn(e)[0]||Ro("Invalid scope")||{},function(n){var r=e.current||e.nativeElement||e;return qn(n,r.querySelectorAll?r:r===e?Ro("Invalid scope")||Nd.createElement("div"):e)}},t0=function(e){return e.sort(function(){return .5-Math.random()})},n0=function(e){if(Nt(e))return e;var n=Dr(e)?e:{each:e},r=is(n.ease),i=n.from||0,s=parseFloat(n.base)||0,a={},l=i>0&&i<1,c=isNaN(i)||l,u=n.axis,h=i,p=i;return en(i)?h=p={center:.5,edges:.5,end:1}[i]||0:!l&&c&&(h=i[0],p=i[1]),function(g,w,C){var b=(C||n).length,x=a[b],M,L,P,$,V,F,m,R,B;if(!x){if(B=n.grid==="auto"?0:(n.grid||[1,jn])[1],!B){for(m=-jn;m<(m=C[B++].getBoundingClientRect().left)&&B<b;);B<b&&B--}for(x=a[b]=[],M=c?Math.min(B,b)*h-.5:i%B,L=B===jn?0:c?b*p/B-.5:i/B|0,m=0,R=jn,F=0;F<b;F++)P=F%B-M,$=L-(F/B|0),x[F]=V=u?Math.abs(u==="y"?$:P):$f(P*P+$*$),V>m&&(m=V),V<R&&(R=V);i==="random"&&t0(x),x.max=m-R,x.min=R,x.v=b=(parseFloat(n.amount)||parseFloat(n.each)*(B>b?b-1:u?u==="y"?b/B:B:Math.max(B,b/B))||0)*(i==="edges"?-1:1),x.b=b<0?s-b:s,x.u=dn(n.amount||n.each)||0,r=r&&b<0?p0(r):r}return b=(x[g]-x.min)/x.max||0,tn(x.b+(r?r(b):b)*x.v)+x.u}},qd=function(e){var n=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var i=tn(Math.round(parseFloat(r)/e)*e*n);return(i-i%1)/n+(Xr(r)?0:dn(r))}},r0=function(e,n){var r=cn(e),i,s;return!r&&Dr(e)&&(i=r=e.radius||jn,e.values?(e=qn(e.values),(s=!Xr(e[0]))&&(i*=i)):e=qd(e.increment)),Ti(n,r?Nt(e)?function(a){return s=e(a),Math.abs(s-a)<=i?s:a}:function(a){for(var l=parseFloat(s?a.x:a),c=parseFloat(s?a.y:0),u=jn,h=0,p=e.length,g,w;p--;)s?(g=e[p].x-l,w=e[p].y-c,g=g*g+w*w):g=Math.abs(e[p]-l),g<u&&(u=g,h=p);return h=!i||u<=i?e[h]:a,s||h===a||Xr(a)?h:h+dn(a)}:qd(e))},i0=function(e,n,r,i){return Ti(cn(e)?!n:r===!0?!!(r=0):!i,function(){return cn(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(n-e+r*.99))/r)*r*i)/i})},Vy=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return function(i){return n.reduce(function(s,a){return a(s)},i)}},Ny=function(e,n){return function(r){return e(parseFloat(r))+(n||dn(r))}},By=function(e,n,r){return o0(e,n,0,1,r)},s0=function(e,n,r){return Ti(r,function(i){return e[~~n(i)]})},Ay=function t(e,n,r){var i=n-e;return cn(e)?s0(e,t(0,e.length),n):Ti(r,function(s){return(i+(s-e)%i)%i+e})},Ry=function t(e,n,r){var i=n-e,s=i*2;return cn(e)?s0(e,t(0,e.length-1),n):Ti(r,function(a){return a=(s+(a-e)%s)%s||0,e+(a>i?s-a:a)})},jo=function(e){for(var n=0,r="",i,s,a,l;~(i=e.indexOf("random(",n));)a=e.indexOf(")",i),l=e.charAt(i+7)==="[",s=e.substr(i+7,a-i-7).match(l?Af:Ld),r+=e.substr(n,i-n)+i0(l?s:+s[0],l?0:+s[1],+s[2]||1e-5),n=a+1;return r+e.substr(n,e.length-n)},o0=function(e,n,r,i,s){var a=n-e,l=i-r;return Ti(s,function(c){return r+((c-e)/a*l||0)})},Fy=function t(e,n,r,i){var s=isNaN(e+n)?0:function(w){return(1-w)*e+w*n};if(!s){var a=en(e),l={},c,u,h,p,g;if(r===!0&&(i=1)&&(r=null),a)e={p:e},n={p:n};else if(cn(e)&&!cn(n)){for(h=[],p=e.length,g=p-2,u=1;u<p;u++)h.push(t(e[u-1],e[u]));p--,s=function(C){C*=p;var b=Math.min(g,~~C);return h[b](C-b)},r=n}else i||(e=ns(cn(e)?[]:{},e));if(!h){for(c in n)Kd.call(l,e,c,"get",n[c]);s=function(C){return tu(C,l)||(a?e.p:e)}}}return Ti(r,s)},a0=function(e,n,r){var i=e.labels,s=jn,a,l,c;for(a in i)l=i[a]-n,l<0==!!r&&l&&s>(l=Math.abs(l))&&(c=a,s=l);return c},Vn=function(e,n,r){var i=e.vars,s=i[n],a=Mt,l=e._ctx,c,u,h;if(s)return c=i[n+"Params"],u=i.callbackScope||e,r&&Si.length&&sl(),l&&(Mt=l),h=c?s.apply(u,c):s.call(u),Mt=a,h},Yo=function(e){return Mi(e),e.scrollTrigger&&e.scrollTrigger.kill(!!ln),e.progress()<1&&Vn(e,"onInterrupt"),e},Us,l0=[],c0=function(e){if(e)if(e=!e.name&&e.default||e,Ed()||e.headless){var n=e.name,r=Nt(e),i=n&&!r&&e.init?function(){this._props=[]}:e,s={init:Fo,render:tu,add:Kd,kill:t8,modifier:e8,rawVars:0},a={targetTest:0,get:0,getSetter:eu,aliases:{},register:0};if(Zs(),e!==i){if($n[n])return;Yn(i,Yn(ol(e,s),a)),ns(i.prototype,ns(s,ol(e,a))),$n[i.prop=n]=i,e.targetTest&&(il.push(i),Ad[n]=1),n=(n==="css"?"CSS":n.charAt(0).toUpperCase()+n.substr(1))+"Plugin"}If(n,i),e.register&&e.register(bn,i,yn)}else l0.push(e)},_t=255,Wo={aqua:[0,_t,_t],lime:[0,_t,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,_t],navy:[0,0,128],white:[_t,_t,_t],olive:[128,128,0],yellow:[_t,_t,0],orange:[_t,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[_t,0,0],pink:[_t,192,203],cyan:[0,_t,_t],transparent:[_t,_t,_t,0]},Ud=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)*_t+.5|0},d0=function(e,n,r){var i=e?Xr(e)?[e>>16,e>>8&_t,e&_t]:0:Wo.black,s,a,l,c,u,h,p,g,w,C;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Wo[e])i=Wo[e];else if(e.charAt(0)==="#"){if(e.length<6&&(s=e.charAt(1),a=e.charAt(2),l=e.charAt(3),e="#"+s+s+a+a+l+l+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&_t,i&_t,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&_t,e&_t]}else if(e.substr(0,3)==="hsl"){if(i=C=e.match(Ld),!n)c=+i[0]%360/360,u=+i[1]/100,h=+i[2]/100,a=h<=.5?h*(u+1):h+u-h*u,s=h*2-a,i.length>3&&(i[3]*=1),i[0]=Ud(c+1/3,s,a),i[1]=Ud(c,s,a),i[2]=Ud(c-1/3,s,a);else if(~e.indexOf("="))return i=e.match(Nf),r&&i.length<4&&(i[3]=1),i}else i=e.match(Ld)||Wo.transparent;i=i.map(Number)}return n&&!C&&(s=i[0]/_t,a=i[1]/_t,l=i[2]/_t,p=Math.max(s,a,l),g=Math.min(s,a,l),h=(p+g)/2,p===g?c=u=0:(w=p-g,u=h>.5?w/(2-p-g):w/(p+g),c=p===s?(a-l)/w+(a<l?6:0):p===a?(l-s)/w+2:(s-a)/w+4,c*=60),i[0]=~~(c+.5),i[1]=~~(u*100+.5),i[2]=~~(h*100+.5)),r&&i.length<4&&(i[3]=1),i},u0=function(e){var n=[],r=[],i=-1;return e.split(Di).forEach(function(s){var a=s.match(js)||[];n.push.apply(n,a),r.push(i+=a.length+1)}),n.c=r,n},h0=function(e,n,r){var i="",s=(e+i).match(Di),a=n?"hsla(":"rgba(",l=0,c,u,h,p;if(!s)return e;if(s=s.map(function(g){return(g=d0(g,n,1))&&a+(n?g[0]+","+g[1]+"%,"+g[2]+"%,"+g[3]:g.join(","))+")"}),r&&(h=u0(e),c=r.c,c.join(i)!==h.c.join(i)))for(u=e.replace(Di,"1").split(js),p=u.length-1;l<p;l++)i+=u[l]+(~c.indexOf(l)?s.shift()||a+"0,0,0,0)":(h.length?h:s.length?s:r).shift());if(!u)for(u=e.split(Di),p=u.length-1;l<p;l++)i+=u[l]+s[l];return i+u[p]},Di=function(){var t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in Wo)t+="|"+e+"\\b";return new RegExp(t+")","gi")}(),Iy=/hsl[a]?\(/,f0=function(e){var n=e.join(" "),r;if(Di.lastIndex=0,Di.test(n))return r=Iy.test(n),e[1]=h0(e[1],r),e[0]=h0(e[0],r,u0(e[1])),!0},qo,Nn=function(){var t=Date.now,e=500,n=33,r=t(),i=r,s=1e3/240,a=s,l=[],c,u,h,p,g,w,C=function b(x){var M=t()-i,L=x===!0,P,$,V,F;if((M>e||M<0)&&(r+=M-n),i+=M,V=i-r,P=V-a,(P>0||L)&&(F=++p.frame,g=V-p.time*1e3,p.time=V=V/1e3,a+=P+(P>=s?4:s-P),$=1),L||(c=u(b)),$)for(w=0;w<l.length;w++)l[w](V,g,F,x)};return p={time:0,frame:0,tick:function(){C(!0)},deltaRatio:function(x){return g/(1e3/(x||60))},wake:function(){Rf&&(!Vd&&Ed()&&(Pr=Vd=window,Nd=Pr.document||{},Ln.gsap=bn,(Pr.gsapVersions||(Pr.gsapVersions=[])).push(bn.version),Ff(nl||Pr.GreenSockGlobals||!Pr.gsap&&Pr||{}),l0.forEach(c0)),h=typeof requestAnimationFrame<"u"&&requestAnimationFrame,c&&p.sleep(),u=h||function(x){return setTimeout(x,a-p.time*1e3+1|0)},qo=1,C(2))},sleep:function(){(h?cancelAnimationFrame:clearTimeout)(c),qo=0,u=Fo},lagSmoothing:function(x,M){e=x||1/0,n=Math.min(M||33,e)},fps:function(x){s=1e3/(x||240),a=p.time*1e3+s},add:function(x,M,L){var P=M?function($,V,F,m){x($,V,F,m),p.remove(P)}:x;return p.remove(x),l[L?"unshift":"push"](P),Zs(),P},remove:function(x,M){~(M=l.indexOf(x))&&l.splice(M,1)&&w>=M&&w--},_listeners:l},p}(),Zs=function(){return!qo&&Nn.wake()},Qe={},Hy=/^[\d.\-M][\d.\-,\s]/,zy=/["']/g,jy=function(e){for(var n={},r=e.substr(1,e.length-3).split(":"),i=r[0],s=1,a=r.length,l,c,u;s<a;s++)c=r[s],l=s!==a-1?c.lastIndexOf(","):c.length,u=c.substr(0,l),n[i]=isNaN(u)?u.replace(zy,"").trim():+u,i=c.substr(l+1).trim();return n},Yy=function(e){var n=e.indexOf("(")+1,r=e.indexOf(")"),i=e.indexOf("(",n);return e.substring(n,~i&&i<r?e.indexOf(")",r+1):r)},Wy=function(e){var n=(e+"").split("("),r=Qe[n[0]];return r&&n.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[jy(n[1])]:Yy(e).split(",").map(Wf)):Qe._CE&&Hy.test(e)?Qe._CE("",e):r},p0=function(e){return function(n){return 1-e(1-n)}},m0=function t(e,n){for(var r=e._first,i;r;)r instanceof fn?t(r,n):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==n&&(r.timeline?t(r.timeline,n):(i=r._ease,r._ease=r._yEase,r._yEase=i,r._yoyo=n)),r=r._next},is=function(e,n){return e&&(Nt(e)?e:Qe[e]||Wy(e))||n},ss=function(e,n,r,i){r===void 0&&(r=function(c){return 1-n(1-c)}),i===void 0&&(i=function(c){return c<.5?n(c*2)/2:1-n((1-c)*2)/2});var s={easeIn:n,easeOut:r,easeInOut:i},a;return _n(e,function(l){Qe[l]=Ln[l]=s,Qe[a=l.toLowerCase()]=r;for(var c in s)Qe[a+(c==="easeIn"?".in":c==="easeOut"?".out":".inOut")]=Qe[l+"."+c]=s[c]}),s},g0=function(e){return function(n){return n<.5?(1-e(1-n*2))/2:.5+e((n-.5)*2)/2}},Zd=function t(e,n,r){var i=n>=1?n:1,s=(r||(e?.3:.45))/(n<1?n:1),a=s/Pd*(Math.asin(1/i)||0),l=function(h){return h===1?1:i*Math.pow(2,-10*h)*by((h-a)*s)+1},c=e==="out"?l:e==="in"?function(u){return 1-l(1-u)}:g0(l);return s=Pd/s,c.config=function(u,h){return t(e,u,h)},c},Gd=function t(e,n){n===void 0&&(n=1.70158);var r=function(a){return a?--a*a*((n+1)*a+n)+1:0},i=e==="out"?r:e==="in"?function(s){return 1-r(1-s)}:g0(r);return i.config=function(s){return t(e,s)},i};_n("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var n=e<5?e+1:e;ss(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})}),Qe.Linear.easeNone=Qe.none=Qe.Linear.easeIn,ss("Elastic",Zd("in"),Zd("out"),Zd()),function(t,e){var n=1/e,r=2*n,i=2.5*n,s=function(l){return l<n?t*l*l:l<r?t*Math.pow(l-1.5/e,2)+.75:l<i?t*(l-=2.25/e)*l+.9375:t*Math.pow(l-2.625/e,2)+.984375};ss("Bounce",function(a){return 1-s(1-a)},s)}(7.5625,2.75),ss("Expo",function(t){return t?Math.pow(2,10*(t-1)):0}),ss("Circ",function(t){return-($f(1-t*t)-1)}),ss("Sine",function(t){return t===1?1:-yy(t*gy)+1}),ss("Back",Gd("in"),Gd("out"),Gd()),Qe.SteppedEase=Qe.steps=Ln.SteppedEase={config:function(e,n){e===void 0&&(e=1);var r=1/e,i=e+(n?0:1),s=n?1:0,a=1-bt;return function(l){return((i*zo(0,a,l)|0)+s)*r}}},zs.ease=Qe["quad.out"],_n("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return Id+=t+","+t+"Params,"});var _0=function(e,n){this.id=_y++,e._gsap=this,this.target=e,this.harness=n,this.get=n?n.get:jf,this.set=n?n.getSetter:eu},Uo=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,qs(this,+n.duration,1,1),this.data=n.data,Mt&&(this._ctx=Mt,Mt.data.push(this)),qo||Nn.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,qs(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,i){if(Zs(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(dl(this,r),!s._dp||s.parent||Kf(s,this);s&&s.parent;)s.parent._time!==s._start+(s._ts>=0?s._tTime/s._ts:(s.totalDuration()-s._tTime)/-s._ts)&&s.totalTime(s._tTime,!0),s=s.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&Or(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===bt||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),Yf(this,r,i)),this},e.time=function(r,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+Gf(this))%(this._dur+this._rDelay)||(r?this._dur:0),i):this._time},e.totalProgress=function(r,i){return arguments.length?this.totalTime(this.totalDuration()*r,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},e.progress=function(r,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+Gf(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,i){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*s,i):this._repeat?Ws(this._tTime,s)+1:1},e.timeScale=function(r,i){if(!arguments.length)return this._rts===-bt?0:this._rts;if(this._rts===r)return this;var s=this.parent&&this._ts?ll(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-bt?0:this._rts,this.totalTime(zo(-Math.abs(this._delay),this._tDur,s),i!==!1),cl(this),My(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):(Zs(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==bt&&(this._tTime-=bt)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=r;var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&Or(i,this,r-this._delay),this}return this._start},e.endTime=function(r){return this._start+(gn(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var i=this.parent||this._dp;return i?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?ll(i.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=ky);var i=ln;return ln=r,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),ln=i,this},e.globalTime=function(r){for(var i=this,s=arguments.length?r:i.rawTime();i;)s=i._start+s/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(r):s},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,Jf(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var i=this._time;return this._rDelay=r,Jf(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,i){return this.totalTime(Wn(this,r),gn(i))},e.restart=function(r,i){return this.play().totalTime(r?-this._delay:0,gn(i))},e.play=function(r,i){return r!=null&&this.seek(r,i),this.reversed(!1).paused(!1)},e.reverse=function(r,i){return r!=null&&this.seek(r||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(r,i){return r!=null&&this.seek(r,i),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?-bt:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-bt,this},e.isActive=function(){var r=this.parent||this._dp,i=this._start,s;return!!(!r||this._ts&&this._initted&&r.isActive()&&(s=r.rawTime(!0))>=i&&s<this.endTime(!0)-bt)},e.eventCallback=function(r,i,s){var a=this.vars;return arguments.length>1?(i?(a[r]=i,s&&(a[r+"Params"]=s),r==="onUpdate"&&(this._onUpdate=i)):delete a[r],this):a[r]},e.then=function(r){var i=this;return new Promise(function(s){var a=Nt(r)?r:qf,l=function(){var u=i.then;i.then=null,Nt(a)&&(a=a(i))&&(a.then||a===i)&&(i.then=u),s(a),i.then=u};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?l():i._prom=l})},e.kill=function(){Yo(this)},t}();Yn(Uo.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:-bt,_prom:0,_ps:!1,_rts:1});var fn=function(t){Lf(e,t);function e(r,i){var s;return r===void 0&&(r={}),s=t.call(this,r)||this,s.labels={},s.smoothChildTiming=!!r.smoothChildTiming,s.autoRemoveChildren=!!r.autoRemoveChildren,s._sort=gn(r.sortChildren),Ot&&Or(r.parent||Ot,Kr(s),i),r.reversed&&s.reverse(),r.paused&&s.paused(!0),r.scrollTrigger&&Xf(Kr(s),r.scrollTrigger),s}var n=e.prototype;return n.to=function(i,s,a){return Ho(0,arguments,this),this},n.from=function(i,s,a){return Ho(1,arguments,this),this},n.fromTo=function(i,s,a,l){return Ho(2,arguments,this),this},n.set=function(i,s,a){return s.duration=0,s.parent=this,Io(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new Zt(i,s,Wn(this,a),1),this},n.call=function(i,s,a){return Or(this,Zt.delayedCall(0,i,s),a)},n.staggerTo=function(i,s,a,l,c,u,h){return a.duration=s,a.stagger=a.stagger||l,a.onComplete=u,a.onCompleteParams=h,a.parent=this,new Zt(i,a,Wn(this,c)),this},n.staggerFrom=function(i,s,a,l,c,u,h){return a.runBackwards=1,Io(a).immediateRender=gn(a.immediateRender),this.staggerTo(i,s,a,l,c,u,h)},n.staggerFromTo=function(i,s,a,l,c,u,h,p){return l.startAt=a,Io(l).immediateRender=gn(l.immediateRender),this.staggerTo(i,s,l,c,u,h,p)},n.render=function(i,s,a){var l=this._time,c=this._dirty?this.totalDuration():this._tDur,u=this._dur,h=i<=0?0:tn(i),p=this._zTime<0!=i<0&&(this._initted||!u),g,w,C,b,x,M,L,P,$,V,F,m;if(this!==Ot&&h>c&&i>=0&&(h=c),h!==this._tTime||a||p){if(l!==this._time&&u&&(h+=this._time-l,i+=this._time-l),g=h,$=this._start,P=this._ts,M=!P,p&&(u||(l=this._zTime),(i||!s)&&(this._zTime=i)),this._repeat){if(F=this._yoyo,x=u+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(x*100+i,s,a);if(g=tn(h%x),h===c?(b=this._repeat,g=u):(b=~~(h/x),b&&b===h/x&&(g=u,b--),g>u&&(g=u)),V=Ws(this._tTime,x),!l&&this._tTime&&V!==b&&this._tTime-V*x-this._dur<=0&&(V=b),F&&b&1&&(g=u-g,m=1),b!==V&&!this._lock){var R=F&&V&1,B=R===(F&&b&1);if(b<V&&(R=!R),l=R?0:h%u?u:h,this._lock=1,this.render(l||(m?0:tn(b*x)),s,!u)._lock=0,this._tTime=h,!s&&this.parent&&Vn(this,"onRepeat"),this.vars.repeatRefresh&&!m&&(this.invalidate()._lock=1),l&&l!==this._time||M!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(u=this._dur,c=this._tDur,B&&(this._lock=2,l=R?u:-1e-4,this.render(l,!0),this.vars.repeatRefresh&&!m&&this.invalidate()),this._lock=0,!this._ts&&!M)return this;m0(this,m)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(L=Oy(this,tn(l),tn(g)),L&&(h-=g-(g=L._start))),this._tTime=h,this._time=g,this._act=!P,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,l=0),!l&&g&&!s&&!b&&(Vn(this,"onStart"),this._tTime!==h))return this;if(g>=l&&i>=0)for(w=this._first;w;){if(C=w._next,(w._act||g>=w._start)&&w._ts&&L!==w){if(w.parent!==this)return this.render(i,s,a);if(w.render(w._ts>0?(g-w._start)*w._ts:(w._dirty?w.totalDuration():w._tDur)+(g-w._start)*w._ts,s,a),g!==this._time||!this._ts&&!M){L=0,C&&(h+=this._zTime=-bt);break}}w=C}else{w=this._last;for(var ne=i<0?i:g;w;){if(C=w._prev,(w._act||ne<=w._end)&&w._ts&&L!==w){if(w.parent!==this)return this.render(i,s,a);if(w.render(w._ts>0?(ne-w._start)*w._ts:(w._dirty?w.totalDuration():w._tDur)+(ne-w._start)*w._ts,s,a||ln&&(w._initted||w._startAt)),g!==this._time||!this._ts&&!M){L=0,C&&(h+=this._zTime=ne?-bt:bt);break}}w=C}}if(L&&!s&&(this.pause(),L.render(g>=l?0:-bt)._zTime=g>=l?1:-1,this._ts))return this._start=$,cl(this),this.render(i,s,a);this._onUpdate&&!s&&Vn(this,"onUpdate",!0),(h===c&&this._tTime>=this.totalDuration()||!h&&l)&&($===this._start||Math.abs(P)!==Math.abs(this._ts))&&(this._lock||((i||!u)&&(h===c&&this._ts>0||!h&&this._ts<0)&&Mi(this,1),!s&&!(i<0&&!l)&&(h||l||!c)&&(Vn(this,h===c&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(h<c&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(i,s){var a=this;if(Xr(s)||(s=Wn(this,s,i)),!(i instanceof Uo)){if(cn(i))return i.forEach(function(l){return a.add(l,s)}),this;if(en(i))return this.addLabel(i,s);if(Nt(i))i=Zt.delayedCall(0,i);else return this}return this!==i?Or(this,i,s):this},n.getChildren=function(i,s,a,l){i===void 0&&(i=!0),s===void 0&&(s=!0),a===void 0&&(a=!0),l===void 0&&(l=-jn);for(var c=[],u=this._first;u;)u._start>=l&&(u instanceof Zt?s&&c.push(u):(a&&c.push(u),i&&c.push.apply(c,u.getChildren(!0,s,a)))),u=u._next;return c},n.getById=function(i){for(var s=this.getChildren(1,1,1),a=s.length;a--;)if(s[a].vars.id===i)return s[a]},n.remove=function(i){return en(i)?this.removeLabel(i):Nt(i)?this.killTweensOf(i):(al(this,i),i===this._recent&&(this._recent=this._last),rs(this))},n.totalTime=function(i,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=tn(Nn.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),t.prototype.totalTime.call(this,i,s),this._forcing=0,this):this._tTime},n.addLabel=function(i,s){return this.labels[i]=Wn(this,s),this},n.removeLabel=function(i){return delete this.labels[i],this},n.addPause=function(i,s,a){var l=Zt.delayedCall(0,s||Fo,a);return l.data="isPause",this._hasPause=1,Or(this,l,Wn(this,i))},n.removePause=function(i){var s=this._first;for(i=Wn(this,i);s;)s._start===i&&s.data==="isPause"&&Mi(s),s=s._next},n.killTweensOf=function(i,s,a){for(var l=this.getTweensOf(i,a),c=l.length;c--;)Pi!==l[c]&&l[c].kill(i,s);return this},n.getTweensOf=function(i,s){for(var a=[],l=qn(i),c=this._first,u=Xr(s),h;c;)c instanceof Zt?vy(c._targets,l)&&(u?(!Pi||c._initted&&c._ts)&&c.globalTime(0)<=s&&c.globalTime(c.totalDuration())>s:!s||c.isActive())&&a.push(c):(h=c.getTweensOf(l,s)).length&&a.push.apply(a,h),c=c._next;return a},n.tweenTo=function(i,s){s=s||{};var a=this,l=Wn(a,i),c=s,u=c.startAt,h=c.onStart,p=c.onStartParams,g=c.immediateRender,w,C=Zt.to(a,Yn({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:l,overwrite:"auto",duration:s.duration||Math.abs((l-(u&&"time"in u?u.time:a._time))/a.timeScale())||bt,onStart:function(){if(a.pause(),!w){var x=s.duration||Math.abs((l-(u&&"time"in u?u.time:a._time))/a.timeScale());C._dur!==x&&qs(C,x,0,1).render(C._time,!0,!0),w=1}h&&h.apply(C,p||[])}},s));return g?C.render(0):C},n.tweenFromTo=function(i,s,a){return this.tweenTo(s,Yn({startAt:{time:Wn(this,i)}},a))},n.recent=function(){return this._recent},n.nextLabel=function(i){return i===void 0&&(i=this._time),a0(this,Wn(this,i))},n.previousLabel=function(i){return i===void 0&&(i=this._time),a0(this,Wn(this,i),1)},n.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+bt)},n.shiftChildren=function(i,s,a){a===void 0&&(a=0);for(var l=this._first,c=this.labels,u;l;)l._start>=a&&(l._start+=i,l._end+=i),l=l._next;if(s)for(u in c)c[u]>=a&&(c[u]+=i);return rs(this)},n.invalidate=function(i){var s=this._first;for(this._lock=0;s;)s.invalidate(i),s=s._next;return t.prototype.invalidate.call(this,i)},n.clear=function(i){i===void 0&&(i=!0);for(var s=this._first,a;s;)a=s._next,this.remove(s),s=a;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),rs(this)},n.totalDuration=function(i){var s=0,a=this,l=a._last,c=jn,u,h,p;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-i:i));if(a._dirty){for(p=a.parent;l;)u=l._prev,l._dirty&&l.totalDuration(),h=l._start,h>c&&a._sort&&l._ts&&!a._lock?(a._lock=1,Or(a,l,h-l._delay,1)._lock=0):c=h,h<0&&l._ts&&(s-=h,(!p&&!a._dp||p&&p.smoothChildTiming)&&(a._start+=h/a._ts,a._time-=h,a._tTime-=h),a.shiftChildren(-h,!1,-1/0),c=0),l._end>s&&l._ts&&(s=l._end),l=u;qs(a,a===Ot&&a._time>s?a._time:s,1,1),a._dirty=0}return a._tDur},e.updateRoot=function(i){if(Ot._ts&&(Yf(Ot,ll(i,Ot)),Hf=Nn.frame),Nn.frame>=zf){zf+=En.autoSleep||120;var s=Ot._first;if((!s||!s._ts)&&En.autoSleep&&Nn._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||Nn.sleep()}}},e}(Uo);Yn(fn.prototype,{_lock:0,_hasPause:0,_forcing:0});var qy=function(e,n,r,i,s,a,l){var c=new yn(this._pt,e,n,0,1,v0,null,s),u=0,h=0,p,g,w,C,b,x,M,L;for(c.b=r,c.e=i,r+="",i+="",(M=~i.indexOf("random("))&&(i=jo(i)),a&&(L=[r,i],a(L,e,n),r=L[0],i=L[1]),g=r.match($d)||[];p=$d.exec(i);)C=p[0],b=i.substring(u,p.index),w?w=(w+1)%5:b.substr(-5)==="rgba("&&(w=1),C!==g[h++]&&(x=parseFloat(g[h-1])||0,c._pt={_next:c._pt,p:b||h===1?b:",",s:x,c:C.charAt(1)==="="?Ys(x,C)-x:parseFloat(C)-x,m:w&&w<4?Math.round:0},u=$d.lastIndex);return c.c=u<i.length?i.substring(u,i.length):"",c.fp=l,(Bf.test(i)||M)&&(c.e=0),this._pt=c,c},Kd=function(e,n,r,i,s,a,l,c,u,h){Nt(i)&&(i=i(s||0,e,a));var p=e[n],g=r!=="get"?r:Nt(p)?u?e[n.indexOf("set")||!Nt(e["get"+n.substr(3)])?n:"get"+n.substr(3)](u):e[n]():p,w=Nt(p)?u?Xy:C0:Jd,C;if(en(i)&&(~i.indexOf("random(")&&(i=jo(i)),i.charAt(1)==="="&&(C=Ys(g,i)+(dn(g)||0),(C||C===0)&&(i=C))),!h||g!==i||Xd)return!isNaN(g*i)&&i!==""?(C=new yn(this._pt,e,n,+g||0,i-(g||0),typeof p=="boolean"?Jy:k0,0,w),u&&(C.fp=u),l&&C.modifier(l,this,e),this._pt=C):(!p&&!(n in e)&&Bd(n,i),qy.call(this,e,n,g,i,w,c||En.stringFilter,u))},Uy=function(e,n,r,i,s){if(Nt(e)&&(e=Zo(e,s,n,r,i)),!Dr(e)||e.style&&e.nodeType||cn(e)||Vf(e))return en(e)?Zo(e,s,n,r,i):e;var a={},l;for(l in e)a[l]=Zo(e[l],s,n,r,i);return a},y0=function(e,n,r,i,s,a){var l,c,u,h;if($n[e]&&(l=new $n[e]).init(s,l.rawVars?n[e]:Uy(n[e],i,s,a,r),r,i,a)!==!1&&(r._pt=c=new yn(r._pt,s,e,0,1,l.render,l,0,l.priority),r!==Us))for(u=r._ptLookup[r._targets.indexOf(s)],h=l._props.length;h--;)u[l._props[h]]=c;return l},Pi,Xd,Qd=function t(e,n,r){var i=e.vars,s=i.ease,a=i.startAt,l=i.immediateRender,c=i.lazy,u=i.onUpdate,h=i.runBackwards,p=i.yoyoEase,g=i.keyframes,w=i.autoRevert,C=e._dur,b=e._startAt,x=e._targets,M=e.parent,L=M&&M.data==="nested"?M.vars.targets:x,P=e._overwrite==="auto"&&!Dd,$=e.timeline,V,F,m,R,B,ne,ce,W,j,ue,A,O,U;if($&&(!g||!s)&&(s="none"),e._ease=is(s,zs.ease),e._yEase=p?p0(is(p===!0?s:p,zs.ease)):0,p&&e._yoyo&&!e._repeat&&(p=e._yEase,e._yEase=e._ease,e._ease=p),e._from=!$&&!!i.runBackwards,!$||g&&!i.stagger){if(W=x[0]?ts(x[0]).harness:0,O=W&&i[W.prop],V=ol(i,Ad),b&&(b._zTime<0&&b.progress(1),n<0&&h&&l&&!w?b.render(-1,!0):b.revert(h&&C?rl:Cy),b._lazy=0),a){if(Mi(e._startAt=Zt.set(x,Yn({data:"isStart",overwrite:!1,parent:M,immediateRender:!0,lazy:!b&&gn(c),startAt:null,delay:0,onUpdate:u&&function(){return Vn(e,"onUpdate")},stagger:0},a))),e._startAt._dp=0,e._startAt._sat=e,n<0&&(ln||!l&&!w)&&e._startAt.revert(rl),l&&C&&n<=0&&r<=0){n&&(e._zTime=n);return}}else if(h&&C&&!b){if(n&&(l=!1),m=Yn({overwrite:!1,data:"isFromStart",lazy:l&&!b&&gn(c),immediateRender:l,stagger:0,parent:M},V),O&&(m[W.prop]=O),Mi(e._startAt=Zt.set(x,m)),e._startAt._dp=0,e._startAt._sat=e,n<0&&(ln?e._startAt.revert(rl):e._startAt.render(-1,!0)),e._zTime=n,!l)t(e._startAt,bt,bt);else if(!n)return}for(e._pt=e._ptCache=0,c=C&&gn(c)||c&&!C,F=0;F<x.length;F++){if(B=x[F],ce=B._gsap||Hd(x)[F]._gsap,e._ptLookup[F]=ue={},Rd[ce.id]&&Si.length&&sl(),A=L===x?F:L.indexOf(B),W&&(j=new W).init(B,O||V,e,A,L)!==!1&&(e._pt=R=new yn(e._pt,B,j.name,0,1,j.render,j,0,j.priority),j._props.forEach(function(de){ue[de]=R}),j.priority&&(ne=1)),!W||O)for(m in V)$n[m]&&(j=y0(m,V,e,A,B,L))?j.priority&&(ne=1):ue[m]=R=Kd.call(e,B,m,"get",V[m],A,L,0,i.stringFilter);e._op&&e._op[F]&&e.kill(B,e._op[F]),P&&e._pt&&(Pi=e,Ot.killTweensOf(B,ue,e.globalTime(n)),U=!e.parent,Pi=0),e._pt&&c&&(Rd[ce.id]=1)}ne&&x0(e),e._onInit&&e._onInit(e)}e._onUpdate=u,e._initted=(!e._op||e._pt)&&!U,g&&n<=0&&$.render(jn,!0,!0)},Zy=function(e,n,r,i,s,a,l,c){var u=(e._pt&&e._ptCache||(e._ptCache={}))[n],h,p,g,w;if(!u)for(u=e._ptCache[n]=[],g=e._ptLookup,w=e._targets.length;w--;){if(h=g[w][n],h&&h.d&&h.d._pt)for(h=h.d._pt;h&&h.p!==n&&h.fp!==n;)h=h._next;if(!h)return Xd=1,e.vars[n]="+=0",Qd(e,l),Xd=0,c?Ro(n+" not eligible for reset"):1;u.push(h)}for(w=u.length;w--;)p=u[w],h=p._pt||p,h.s=(i||i===0)&&!s?i:h.s+(i||0)+a*h.c,h.c=r-h.s,p.e&&(p.e=Yt(r)+dn(p.e)),p.b&&(p.b=h.s+dn(p.b))},Gy=function(e,n){var r=e[0]?ts(e[0]).harness:0,i=r&&r.aliases,s,a,l,c;if(!i)return n;s=ns({},n);for(a in i)if(a in s)for(c=i[a].split(","),l=c.length;l--;)s[c[l]]=s[a];return s},Ky=function(e,n,r,i){var s=n.ease||i||"power1.inOut",a,l;if(cn(n))l=r[e]||(r[e]=[]),n.forEach(function(c,u){return l.push({t:u/(n.length-1)*100,v:c,e:s})});else for(a in n)l=r[a]||(r[a]=[]),a==="ease"||l.push({t:parseFloat(e),v:n[a],e:s})},Zo=function(e,n,r,i,s){return Nt(e)?e.call(n,r,i,s):en(e)&&~e.indexOf("random(")?jo(e):e},b0=Id+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",w0={};_n(b0+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return w0[t]=1});var Zt=function(t){Lf(e,t);function e(r,i,s,a){var l;typeof i=="number"&&(s.duration=i,i=s,s=null),l=t.call(this,a?i:Io(i))||this;var c=l.vars,u=c.duration,h=c.delay,p=c.immediateRender,g=c.stagger,w=c.overwrite,C=c.keyframes,b=c.defaults,x=c.scrollTrigger,M=c.yoyoEase,L=i.parent||Ot,P=(cn(r)||Vf(r)?Xr(r[0]):"length"in i)?[r]:qn(r),$,V,F,m,R,B,ne,ce;if(l._targets=P.length?Hd(P):Ro("GSAP target "+r+" not found. https://gsap.com",!En.nullTargetWarn)||[],l._ptLookup=[],l._overwrite=w,C||g||tl(u)||tl(h)){if(i=l.vars,$=l.timeline=new fn({data:"nested",defaults:b||{},targets:L&&L.data==="nested"?L.vars.targets:P}),$.kill(),$.parent=$._dp=Kr(l),$._start=0,g||tl(u)||tl(h)){if(m=P.length,ne=g&&n0(g),Dr(g))for(R in g)~b0.indexOf(R)&&(ce||(ce={}),ce[R]=g[R]);for(V=0;V<m;V++)F=ol(i,w0),F.stagger=0,M&&(F.yoyoEase=M),ce&&ns(F,ce),B=P[V],F.duration=+Zo(u,Kr(l),V,B,P),F.delay=(+Zo(h,Kr(l),V,B,P)||0)-l._delay,!g&&m===1&&F.delay&&(l._delay=h=F.delay,l._start+=h,F.delay=0),$.to(B,F,ne?ne(V,B,P):0),$._ease=Qe.none;$.duration()?u=h=0:l.timeline=0}else if(C){Io(Yn($.vars.defaults,{ease:"none"})),$._ease=is(C.ease||i.ease||"none");var W=0,j,ue,A;if(cn(C))C.forEach(function(O){return $.to(P,O,">")}),$.duration();else{F={};for(R in C)R==="ease"||R==="easeEach"||Ky(R,C[R],F,C.easeEach);for(R in F)for(j=F[R].sort(function(O,U){return O.t-U.t}),W=0,V=0;V<j.length;V++)ue=j[V],A={ease:ue.e,duration:(ue.t-(V?j[V-1].t:0))/100*u},A[R]=ue.v,$.to(P,A,W),W+=A.duration;$.duration()<u&&$.to({},{duration:u-$.duration()})}}u||l.duration(u=$.duration())}else l.timeline=0;return w===!0&&!Dd&&(Pi=Kr(l),Ot.killTweensOf(P),Pi=0),Or(L,Kr(l),s),i.reversed&&l.reverse(),i.paused&&l.paused(!0),(p||!u&&!C&&l._start===tn(L._time)&&gn(p)&&Ty(Kr(l))&&L.data!=="nested")&&(l._tTime=-bt,l.render(Math.max(0,-h)||0)),x&&Xf(Kr(l),x),l}var n=e.prototype;return n.render=function(i,s,a){var l=this._time,c=this._tDur,u=this._dur,h=i<0,p=i>c-bt&&!h?c:i<bt?0:i,g,w,C,b,x,M,L,P,$;if(!u)Py(this,i,s,a);else if(p!==this._tTime||!i||a||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==h){if(g=p,P=this.timeline,this._repeat){if(b=u+this._rDelay,this._repeat<-1&&h)return this.totalTime(b*100+i,s,a);if(g=tn(p%b),p===c?(C=this._repeat,g=u):(C=~~(p/b),C&&C===tn(p/b)&&(g=u,C--),g>u&&(g=u)),M=this._yoyo&&C&1,M&&($=this._yEase,g=u-g),x=Ws(this._tTime,b),g===l&&!a&&this._initted&&C===x)return this._tTime=p,this;C!==x&&(P&&this._yEase&&m0(P,M),this.vars.repeatRefresh&&!M&&!this._lock&&this._time!==b&&this._initted&&(this._lock=a=1,this.render(tn(b*C),!0).invalidate()._lock=0))}if(!this._initted){if(Qf(this,h?i:g,a,s,p))return this._tTime=0,this;if(l!==this._time&&!(a&&this.vars.repeatRefresh&&C!==x))return this;if(u!==this._dur)return this.render(i,s,a)}if(this._tTime=p,this._time=g,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=L=($||this._ease)(g/u),this._from&&(this.ratio=L=1-L),g&&!l&&!s&&!C&&(Vn(this,"onStart"),this._tTime!==p))return this;for(w=this._pt;w;)w.r(L,w.d),w=w._next;P&&P.render(i<0?i:P._dur*P._ease(g/this._dur),s,a)||this._startAt&&(this._zTime=i),this._onUpdate&&!s&&(h&&zd(this,i,s,a),Vn(this,"onUpdate")),this._repeat&&C!==x&&this.vars.onRepeat&&!s&&this.parent&&Vn(this,"onRepeat"),(p===this._tDur||!p)&&this._tTime===p&&(h&&!this._onUpdate&&zd(this,i,!0,!0),(i||!u)&&(p===this._tDur&&this._ts>0||!p&&this._ts<0)&&Mi(this,1),!s&&!(h&&!l)&&(p||l||M)&&(Vn(this,p===c?"onComplete":"onReverseComplete",!0),this._prom&&!(p<c&&this.timeScale()>0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),t.prototype.invalidate.call(this,i)},n.resetTo=function(i,s,a,l,c){qo||Nn.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),h;return this._initted||Qd(this,u),h=this._ease(u/this._dur),Zy(this,i,s,a,l,h,u,c)?this.resetTo(i,s,a,l,1):(dl(this,0),this.parent||Zf(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(i,s){if(s===void 0&&(s="all"),!i&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?Yo(this):this;if(this.timeline){var a=this.timeline.totalDuration();return this.timeline.killTweensOf(i,s,Pi&&Pi.vars.overwrite!==!0)._first||Yo(this),this.parent&&a!==this.timeline.totalDuration()&&qs(this,this._dur*this.timeline._tDur/a,0,1),this}var l=this._targets,c=i?qn(i):l,u=this._ptLookup,h=this._pt,p,g,w,C,b,x,M;if((!s||s==="all")&&Sy(l,c))return s==="all"&&(this._pt=0),Yo(this);for(p=this._op=this._op||[],s!=="all"&&(en(s)&&(b={},_n(s,function(L){return b[L]=1}),s=b),s=Gy(l,s)),M=l.length;M--;)if(~c.indexOf(l[M])){g=u[M],s==="all"?(p[M]=s,C=g,w={}):(w=p[M]=p[M]||{},C=s);for(b in C)x=g&&g[b],x&&((!("kill"in x.d)||x.d.kill(b)===!0)&&al(this,x,"_pt"),delete g[b]),w!=="all"&&(w[b]=1)}return this._initted&&!this._pt&&h&&Yo(this),this},e.to=function(i,s){return new e(i,s,arguments[2])},e.from=function(i,s){return Ho(1,arguments)},e.delayedCall=function(i,s,a,l){return new e(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:s,onReverseComplete:s,onCompleteParams:a,onReverseCompleteParams:a,callbackScope:l})},e.fromTo=function(i,s,a){return Ho(2,arguments)},e.set=function(i,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new e(i,s)},e.killTweensOf=function(i,s,a){return Ot.killTweensOf(i,s,a)},e}(Uo);Yn(Zt.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),_n("staggerTo,staggerFrom,staggerFromTo",function(t){Zt[t]=function(){var e=new fn,n=Yd.call(arguments,0);return n.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,n)}});var Jd=function(e,n,r){return e[n]=r},C0=function(e,n,r){return e[n](r)},Xy=function(e,n,r,i){return e[n](i.fp,r)},Qy=function(e,n,r){return e.setAttribute(n,r)},eu=function(e,n){return Nt(e[n])?C0:Od(e[n])&&e.setAttribute?Qy:Jd},k0=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e6)/1e6,n)},Jy=function(e,n){return n.set(n.t,n.p,!!(n.s+n.c*e),n)},v0=function(e,n){var r=n._pt,i="";if(!e&&n.b)i=n.b;else if(e===1&&n.e)i=n.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+i,r=r._next;i+=n.c}n.set(n.t,n.p,i,n)},tu=function(e,n){for(var r=n._pt;r;)r.r(e,r.d),r=r._next},e8=function(e,n,r,i){for(var s=this._pt,a;s;)a=s._next,s.p===i&&s.modifier(e,n,r),s=a},t8=function(e){for(var n=this._pt,r,i;n;)i=n._next,n.p===e&&!n.op||n.op===e?al(this,n,"_pt"):n.dep||(r=1),n=i;return!r},n8=function(e,n,r,i){i.mSet(e,n,i.m.call(i.tween,r,i.mt),i)},x0=function(e){for(var n=e._pt,r,i,s,a;n;){for(r=n._next,i=s;i&&i.pr>n.pr;)i=i._next;(n._prev=i?i._prev:a)?n._prev._next=n:s=n,(n._next=i)?i._prev=n:a=n,n=r}e._pt=s},yn=function(){function t(n,r,i,s,a,l,c,u,h){this.t=r,this.s=s,this.c=a,this.p=i,this.r=l||k0,this.d=c||this,this.set=u||Jd,this.pr=h||0,this._next=n,n&&(n._prev=this)}var e=t.prototype;return e.modifier=function(r,i,s){this.mSet=this.mSet||this.set,this.set=n8,this.m=r,this.mt=s,this.tween=i},t}();_n(Id+"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 Ad[t]=1}),Ln.TweenMax=Ln.TweenLite=Zt,Ln.TimelineLite=Ln.TimelineMax=fn,Ot=new fn({sortChildren:!1,defaults:zs,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),En.stringFilter=f0;var os=[],ul={},r8=[],S0=0,i8=0,nu=function(e){return(ul[e]||r8).map(function(n){return n()})},ru=function(){var e=Date.now(),n=[];e-S0>2&&(nu("matchMediaInit"),os.forEach(function(r){var i=r.queries,s=r.conditions,a,l,c,u;for(l in i)a=Pr.matchMedia(i[l]).matches,a&&(c=1),a!==s[l]&&(s[l]=a,u=1);u&&(r.revert(),c&&n.push(r))}),nu("matchMediaRevert"),n.forEach(function(r){return r.onMatch(r,function(i){return r.add(null,i)})}),S0=e,nu("matchMedia"))},M0=function(){function t(n,r){this.selector=r&&Wd(r),this.data=[],this._r=[],this.isReverted=!1,this.id=i8++,n&&this.add(n)}var e=t.prototype;return e.add=function(r,i,s){Nt(r)&&(s=i,i=r,r=Nt);var a=this,l=function(){var u=Mt,h=a.selector,p;return u&&u!==a&&u.data.push(a),s&&(a.selector=Wd(s)),Mt=a,p=i.apply(a,arguments),Nt(p)&&a._r.push(p),Mt=u,a.selector=h,a.isReverted=!1,p};return a.last=l,r===Nt?l(a,function(c){return a.add(null,c)}):r?a[r]=l:l},e.ignore=function(r){var i=Mt;Mt=null,r(this),Mt=i},e.getTweens=function(){var r=[];return this.data.forEach(function(i){return i instanceof t?r.push.apply(r,i.getTweens()):i instanceof Zt&&!(i.parent&&i.parent.data==="nested")&&r.push(i)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,i){var s=this;if(r?function(){for(var l=s.getTweens(),c=s.data.length,u;c--;)u=s.data[c],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(h){return l.splice(l.indexOf(h),1)}));for(l.map(function(h){return{g:h._dur||h._delay||h._sat&&!h._sat.vars.immediateRender?h.globalTime(0):-1/0,t:h}}).sort(function(h,p){return p.g-h.g||-1/0}).forEach(function(h){return h.t.revert(r)}),c=s.data.length;c--;)u=s.data[c],u instanceof fn?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof Zt)&&u.revert&&u.revert(r);s._r.forEach(function(h){return h(r,s)}),s.isReverted=!0}():this.data.forEach(function(l){return l.kill&&l.kill()}),this.clear(),i)for(var a=os.length;a--;)os[a].id===this.id&&os.splice(a,1)},e.revert=function(r){this.kill(r||{})},t}(),s8=function(){function t(n){this.contexts=[],this.scope=n,Mt&&Mt.data.push(this)}var e=t.prototype;return e.add=function(r,i,s){Dr(r)||(r={matches:r});var a=new M0(0,s||this.scope),l=a.conditions={},c,u,h;Mt&&!a.selector&&(a.selector=Mt.selector),this.contexts.push(a),i=a.add("onMatch",i),a.queries=r;for(u in r)u==="all"?h=1:(c=Pr.matchMedia(r[u]),c&&(os.indexOf(a)<0&&os.push(a),(l[u]=c.matches)&&(h=1),c.addListener?c.addListener(ru):c.addEventListener("change",ru)));return h&&i(a,function(p){return a.add(null,p)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(i){return i.kill(r,!0)})},t}(),hl={registerPlugin:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];n.forEach(function(i){return c0(i)})},timeline:function(e){return new fn(e)},getTweensOf:function(e,n){return Ot.getTweensOf(e,n)},getProperty:function(e,n,r,i){en(e)&&(e=qn(e)[0]);var s=ts(e||{}).get,a=r?qf:Wf;return r==="native"&&(r=""),e&&(n?a(($n[n]&&$n[n].get||s)(e,n,r,i)):function(l,c,u){return a(($n[l]&&$n[l].get||s)(e,l,c,u))})},quickSetter:function(e,n,r){if(e=qn(e),e.length>1){var i=e.map(function(h){return bn.quickSetter(h,n,r)}),s=i.length;return function(h){for(var p=s;p--;)i[p](h)}}e=e[0]||{};var a=$n[n],l=ts(e),c=l.harness&&(l.harness.aliases||{})[n]||n,u=a?function(h){var p=new a;Us._pt=0,p.init(e,r?h+r:h,Us,0,[e]),p.render(1,p),Us._pt&&tu(1,Us)}:l.set(e,c);return a?u:function(h){return u(e,c,r?h+r:h,l,1)}},quickTo:function(e,n,r){var i,s=bn.to(e,ns((i={},i[n]="+=0.1",i.paused=!0,i),r||{})),a=function(c,u,h){return s.resetTo(n,c,u,h)};return a.tween=s,a},isTweening:function(e){return Ot.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=is(e.ease,zs.ease)),Uf(zs,e||{})},config:function(e){return Uf(En,e||{})},registerEffect:function(e){var n=e.name,r=e.effect,i=e.plugins,s=e.defaults,a=e.extendTimeline;(i||"").split(",").forEach(function(l){return l&&!$n[l]&&!Ln[l]&&Ro(n+" effect requires "+l+" plugin.")}),Fd[n]=function(l,c,u){return r(qn(l),Yn(c||{},s),u)},a&&(fn.prototype[n]=function(l,c,u){return this.add(Fd[n](l,Dr(c)?c:(u=c)&&{},this),u)})},registerEase:function(e,n){Qe[e]=is(n)},parseEase:function(e,n){return arguments.length?is(e,n):Qe},getById:function(e){return Ot.getById(e)},exportRoot:function(e,n){e===void 0&&(e={});var r=new fn(e),i,s;for(r.smoothChildTiming=gn(e.smoothChildTiming),Ot.remove(r),r._dp=0,r._time=r._tTime=Ot._time,i=Ot._first;i;)s=i._next,(n||!(!i._dur&&i instanceof Zt&&i.vars.onComplete===i._targets[0]))&&Or(r,i,i._start-i._delay),i=s;return Or(Ot,r,0),r},context:function(e,n){return e?new M0(e,n):Mt},matchMedia:function(e){return new s8(e)},matchMediaRefresh:function(){return os.forEach(function(e){var n=e.conditions,r,i;for(i in n)n[i]&&(n[i]=!1,r=1);r&&e.revert()})||ru()},addEventListener:function(e,n){var r=ul[e]||(ul[e]=[]);~r.indexOf(n)||r.push(n)},removeEventListener:function(e,n){var r=ul[e],i=r&&r.indexOf(n);i>=0&&r.splice(i,1)},utils:{wrap:Ay,wrapYoyo:Ry,distribute:n0,random:i0,snap:r0,normalize:By,getUnit:dn,clamp:Ly,splitColor:d0,toArray:qn,selector:Wd,mapRange:o0,pipe:Vy,unitize:Ny,interpolate:Fy,shuffle:t0},install:Ff,effects:Fd,ticker:Nn,updateRoot:fn.updateRoot,plugins:$n,globalTimeline:Ot,core:{PropTween:yn,globals:If,Tween:Zt,Timeline:fn,Animation:Uo,getCache:ts,_removeLinkedListItem:al,reverting:function(){return ln},context:function(e){return e&&Mt&&(Mt.data.push(e),e._ctx=Mt),Mt},suppressOverwrites:function(e){return Dd=e}}};_n("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return hl[t]=Zt[t]}),Nn.add(fn.updateRoot),Us=hl.to({},{duration:0});var o8=function(e,n){for(var r=e._pt;r&&r.p!==n&&r.op!==n&&r.fp!==n;)r=r._next;return r},a8=function(e,n){var r=e._targets,i,s,a;for(i in n)for(s=r.length;s--;)a=e._ptLookup[s][i],a&&(a=a.d)&&(a._pt&&(a=o8(a,i)),a&&a.modifier&&a.modifier(n[i],e,r[s],i))},iu=function(e,n){return{name:e,rawVars:1,init:function(i,s,a){a._onInit=function(l){var c,u;if(en(s)&&(c={},_n(s,function(h){return c[h]=1}),s=c),n){c={};for(u in s)c[u]=n(s[u]);s=c}a8(l,s)}}}},bn=hl.registerPlugin({name:"attr",init:function(e,n,r,i,s){var a,l,c;this.tween=r;for(a in n)c=e.getAttribute(a)||"",l=this.add(e,"setAttribute",(c||0)+"",n[a],i,s,0,0,a),l.op=a,l.b=c,this._props.push(a)},render:function(e,n){for(var r=n._pt;r;)ln?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)}},iu("roundProps",qd),iu("modifiers"),iu("snap",r0))||hl;Zt.version=fn.version=bn.version="3.12.5",Rf=1,Ed()&&Zs(),Qe.Power0,Qe.Power1,Qe.Power2,Qe.Power3,Qe.Power4;var l8=Qe.Linear;Qe.Quad,Qe.Cubic,Qe.Quart,Qe.Quint,Qe.Strong,Qe.Elastic,Qe.Back,Qe.SteppedEase,Qe.Bounce;var su=Qe.Sine;Qe.Expo,Qe.Circ;/*!
|
|
10
10
|
* CSSPlugin 3.12.5
|
|
11
11
|
* https://gsap.com
|
|
12
12
|
*
|
|
@@ -14,10 +14,56 @@
|
|
|
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 _l,cn,Qn,Aa,Ln,gl,Ra,ch=function(){return typeof window<"u"},Zt={},Bn=180/Math.PI,Jn=Math.PI/180,er=Math.atan2,yl=1e8,Fa=/([A-Z])/g,dh=/(left|right|width|margin|padding|x)/i,uh=/[\s,\(]\S/,Dt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Ha=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},hh=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)},fh=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)},ph=function(e,n){var r=n.s+n.c*e;n.set(n.t,n.p,~~(r+(r<0?-.5:.5))+n.u,n)},wl=function(e,n){return n.set(n.t,n.p,e?n.e:n.b,n)},Cl=function(e,n){return n.set(n.t,n.p,e!==1?n.b:n.e,n)},mh=function(e,n,r){return e.style[n]=r},_h=function(e,n,r){return e.style.setProperty(n,r)},gh=function(e,n,r){return e._gsap[n]=r},yh=function(e,n,r){return e._gsap.scaleX=e._gsap.scaleY=r},wh=function(e,n,r,a,i){var s=e._gsap;s.scaleX=s.scaleY=r,s.renderTransform(i,s)},Ch=function(e,n,r,a,i){var s=e._gsap;s[n]=r,s.renderTransform(i,s)},Be="transform",ot=Be+"Origin",bh=function t(e,n){var r=this,a=this.target,i=a.style,s=a._gsap;if(e in Zt&&i){if(this.tfm=this.tfm||{},e!=="transform")e=Dt[e]||e,~e.indexOf(",")?e.split(",").forEach(function(l){return r.tfm[l]=qt(a,l)}):this.tfm[e]=s.x?s[e]:qt(a,e),e===ot&&(this.tfm.zOrigin=s.zOrigin);else return Dt.transform.split(",").forEach(function(l){return t.call(r,l,n)});if(this.props.indexOf(Be)>=0)return;s.svg&&(this.svgo=a.getAttribute("data-svg-origin"),this.props.push(ot,n,"")),e=Be}(i||n)&&this.props.push(e,n,i[e])},bl=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},kh=function(){var e=this.props,n=this.target,r=n.style,a=n._gsap,i,s;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(Fa,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)a[s]=this.tfm[s];a.svg&&(a.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),i=Ra(),(!i||!i.isStart)&&!r[Be]&&(bl(r),a.zOrigin&&r[ot]&&(r[ot]+=" "+a.zOrigin+"px",a.zOrigin=0,a.renderTransform()),a.uncache=1)}},kl=function(e,n){var r={target:e,props:[],revert:kh,save:bh};return e._gsap||rt.core.getCache(e),n&&n.split(",").forEach(function(a){return r.save(a)}),r},vl,za=function(e,n){var r=cn.createElementNS?cn.createElementNS((n||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):cn.createElement(e);return r&&r.style?r:cn.createElement(e)},Nt=function t(e,n,r){var a=getComputedStyle(e);return a[n]||a.getPropertyValue(n.replace(Fa,"-$1").toLowerCase())||a.getPropertyValue(n)||!r&&t(e,tr(n)||n,1)||""},xl="O,Moz,ms,Ms,Webkit".split(","),tr=function(e,n,r){var a=n||Ln,i=a.style,s=5;if(e in i&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);s--&&!(xl[s]+e in i););return s<0?null:(s===3?"ms":s>=0?xl[s]:"")+e},ja=function(){ch()&&window.document&&(_l=window,cn=_l.document,Qn=cn.documentElement,Ln=za("div")||{style:{}},za("div"),Be=tr(Be),ot=Be+"Origin",Ln.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",vl=!!tr("perspective"),Ra=rt.core.reverting,Aa=1)},Ia=function t(e){var n=za("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,a=this.nextSibling,i=this.style.cssText,s;if(Qn.appendChild(n),n.appendChild(this),this.style.display="block",e)try{s=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch{}else this._gsapBBox&&(s=this._gsapBBox());return r&&(a?r.insertBefore(this,a):r.appendChild(this)),Qn.removeChild(n),this.style.cssText=i,s},Ml=function(e,n){for(var r=n.length;r--;)if(e.hasAttribute(n[r]))return e.getAttribute(n[r])},Sl=function(e){var n;try{n=e.getBBox()}catch{n=Ia.call(e,!0)}return n&&(n.width||n.height)||e.getBBox===Ia||(n=Ia.call(e,!0)),n&&!n.width&&!n.x&&!n.y?{x:+Ml(e,["x","cx","x1"])||0,y:+Ml(e,["y","cy","y1"])||0,width:0,height:0}:n},$l=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Sl(e))},Tn=function(e,n){if(n){var r=e.style,a;n in Zt&&n!==ot&&(n=Be),r.removeProperty?(a=n.substr(0,2),(a==="ms"||n.substr(0,6)==="webkit")&&(n="-"+n),r.removeProperty(a==="--"?n:n.replace(Fa,"-$1").toLowerCase())):r.removeAttribute(n)}},dn=function(e,n,r,a,i,s){var l=new nt(e._pt,n,r,0,1,s?Cl:wl);return e._pt=l,l.b=a,l.e=i,e._props.push(r),l},Ll={deg:1,rad:1,turn:1},vh={grid:1,flex:1},un=function t(e,n,r,a){var i=parseFloat(r)||0,s=(r+"").trim().substr((i+"").length)||"px",l=Ln.style,c=dh.test(n),u=e.tagName.toLowerCase()==="svg",d=(u?"client":"offset")+(c?"Width":"Height"),h=100,p=a==="px",_=a==="%",m,f,b,S;if(a===s||!i||Ll[a]||Ll[s])return i;if(s!=="px"&&!p&&(i=t(e,n,r,"px")),S=e.getCTM&&$l(e),(_||s==="%")&&(Zt[n]||~n.indexOf("adius")))return m=S?e.getBBox()[c?"width":"height"]:e[d],Re(_?i/m*h:i/100*m);if(l[c?"width":"height"]=h+(p?s:a),f=~n.indexOf("adius")||a==="em"&&e.appendChild&&!u?e:e.parentNode,S&&(f=(e.ownerSVGElement||{}).parentNode),(!f||f===cn||!f.appendChild)&&(f=cn.body),b=f._gsap,b&&_&&b.width&&c&&b.time===ut.time&&!b.uncache)return Re(i/b.width*h);if(_&&(n==="height"||n==="width")){var M=e.style[n];e.style[n]=h+a,m=e[d],M?e.style[n]=M:Tn(e,n)}else(_||s==="%")&&!vh[Nt(f,"display")]&&(l.position=Nt(e,"position")),f===e&&(l.position="static"),f.appendChild(Ln),m=Ln[d],f.removeChild(Ln),l.position="absolute";return c&&_&&(b=kn(f),b.time=ut.time,b.width=f[d]),Re(p?m*i/h:m&&i?h/m*i:0)},qt=function(e,n,r,a){var i;return Aa||ja(),n in Dt&&n!=="transform"&&(n=Dt[n],~n.indexOf(",")&&(n=n.split(",")[0])),Zt[n]&&n!=="transform"?(i=Lr(e,a),i=n!=="transformOrigin"?i[n]:i.svg?i.origin:ao(Nt(e,ot))+" "+i.zOrigin+"px"):(i=e.style[n],(!i||i==="auto"||a||~(i+"").indexOf("calc("))&&(i=oo[n]&&oo[n](e,n,r)||Nt(e,n)||Ps(e,n)||(n==="opacity"?1:0))),r&&!~(i+"").trim().indexOf(" ")?un(e,n,i,r)+r:i},xh=function(e,n,r,a){if(!r||r==="none"){var i=tr(n,e,1),s=i&&Nt(e,i,1);s&&s!==r?(n=i,r=s):n==="borderColor"&&(r=Nt(e,"borderTopColor"))}var l=new nt(this._pt,e.style,n,0,1,hl),c=0,u=0,d,h,p,_,m,f,b,S,M,C,x,$;if(l.b=r,l.e=a,r+="",a+="",a==="auto"&&(f=e.style[n],e.style[n]=a,a=Nt(e,n)||a,f?e.style[n]=f:Tn(e,n)),d=[r,a],nl(d),r=d[0],a=d[1],p=r.match(qn)||[],$=a.match(qn)||[],$.length){for(;h=qn.exec(a);)b=h[0],M=a.substring(c,h.index),m?m=(m+1)%5:(M.substr(-5)==="rgba("||M.substr(-5)==="hsla(")&&(m=1),b!==(f=p[u++]||"")&&(_=parseFloat(f)||0,x=f.substr((_+"").length),b.charAt(1)==="="&&(b=Un(_,b)+x),S=parseFloat(b),C=b.substr((S+"").length),c=qn.lastIndex-C.length,C||(C=C||st.units[n]||x,c===a.length&&(a+=C,l.e+=C)),x!==C&&(_=un(e,n,f,C)||0),l._pt={_next:l._pt,p:M||u===1?M:",",s:_,c:S-_,m:m&&m<4||n==="zIndex"?Math.round:0});l.c=c<a.length?a.substring(c,a.length):""}else l.r=n==="display"&&a==="none"?Cl:wl;return Ms.test(a)&&(l.e=0),this._pt=l,l},Bl={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Mh=function(e){var n=e.split(" "),r=n[0],a=n[1]||"50%";return(r==="top"||r==="bottom"||a==="left"||a==="right")&&(e=r,r=a,a=e),n[0]=Bl[r]||r,n[1]=Bl[a]||a,n.join(" ")},Sh=function(e,n){if(n.tween&&n.tween._time===n.tween._dur){var r=n.t,a=r.style,i=n.u,s=r._gsap,l,c,u;if(i==="all"||i===!0)a.cssText="",c=1;else for(i=i.split(","),u=i.length;--u>-1;)l=i[u],Zt[l]&&(c=1,l=l==="transformOrigin"?ot:Be),Tn(r,l);c&&(Tn(r,Be),s&&(s.svg&&r.removeAttribute("transform"),Lr(r,1),s.uncache=1,bl(a)))}},oo={clearProps:function(e,n,r,a,i){if(i.data!=="isFromStart"){var s=e._pt=new nt(e._pt,n,r,0,0,Sh);return s.u=a,s.pr=-10,s.tween=i,e._props.push(r),1}}},$r=[1,0,0,1,0,0],Tl={},El=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},Pl=function(e){var n=Nt(e,Be);return El(n)?$r:n.substr(7).match(xs).map(Re)},Ya=function(e,n){var r=e._gsap||kn(e),a=e.style,i=Pl(e),s,l,c,u;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"?$r:i):(i===$r&&!e.offsetParent&&e!==Qn&&!r.svg&&(c=a.display,a.display="block",s=e.parentNode,(!s||!e.offsetParent)&&(u=1,l=e.nextElementSibling,Qn.appendChild(e)),i=Pl(e),c?a.display=c:Tn(e,"display"),u&&(l?s.insertBefore(e,l):s?s.appendChild(e):Qn.removeChild(e))),n&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},Za=function(e,n,r,a,i,s){var l=e._gsap,c=i||Ya(e,!0),u=l.xOrigin||0,d=l.yOrigin||0,h=l.xOffset||0,p=l.yOffset||0,_=c[0],m=c[1],f=c[2],b=c[3],S=c[4],M=c[5],C=n.split(" "),x=parseFloat(C[0])||0,$=parseFloat(C[1])||0,L,k,B,T;r?c!==$r&&(k=_*b-m*f)&&(B=x*(b/k)+$*(-f/k)+(f*M-b*S)/k,T=x*(-m/k)+$*(_/k)-(_*M-m*S)/k,x=B,$=T):(L=Sl(e),x=L.x+(~C[0].indexOf("%")?x/100*L.width:x),$=L.y+(~(C[1]||C[0]).indexOf("%")?$/100*L.height:$)),a||a!==!1&&l.smooth?(S=x-u,M=$-d,l.xOffset=h+(S*_+M*f)-S,l.yOffset=p+(S*m+M*b)-M):l.xOffset=l.yOffset=0,l.xOrigin=x,l.yOrigin=$,l.smooth=!!a,l.origin=n,l.originIsAbsolute=!!r,e.style[ot]="0px 0px",s&&(dn(s,l,"xOrigin",u,x),dn(s,l,"yOrigin",d,$),dn(s,l,"xOffset",h,l.xOffset),dn(s,l,"yOffset",p,l.yOffset)),e.setAttribute("data-svg-origin",x+" "+$)},Lr=function(e,n){var r=e._gsap||new il(e);if("x"in r&&!n&&!r.uncache)return r;var a=e.style,i=r.scaleX<0,s="px",l="deg",c=getComputedStyle(e),u=Nt(e,ot)||"0",d,h,p,_,m,f,b,S,M,C,x,$,L,k,B,T,I,X,V,F,G,v,w,N,Z,J,U,P,A,y,g,R;return d=h=p=f=b=S=M=C=x=0,_=m=1,r.svg=!!(e.getCTM&&$l(e)),c.translate&&((c.translate!=="none"||c.scale!=="none"||c.rotate!=="none")&&(a[Be]=(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[Be]!=="none"?c[Be]:"")),a.scale=a.rotate=a.translate="none"),k=Ya(e,r.svg),r.svg&&(r.uncache?(Z=e.getBBox(),u=r.xOrigin-Z.x+"px "+(r.yOrigin-Z.y)+"px",N=""):N=!n&&e.getAttribute("data-svg-origin"),Za(e,N||u,!!N||r.originIsAbsolute,r.smooth!==!1,k)),$=r.xOrigin||0,L=r.yOrigin||0,k!==$r&&(X=k[0],V=k[1],F=k[2],G=k[3],d=v=k[4],h=w=k[5],k.length===6?(_=Math.sqrt(X*X+V*V),m=Math.sqrt(G*G+F*F),f=X||V?er(V,X)*Bn:0,M=F||G?er(F,G)*Bn+f:0,M&&(m*=Math.abs(Math.cos(M*Jn))),r.svg&&(d-=$-($*X+L*F),h-=L-($*V+L*G))):(R=k[6],y=k[7],U=k[8],P=k[9],A=k[10],g=k[11],d=k[12],h=k[13],p=k[14],B=er(R,A),b=B*Bn,B&&(T=Math.cos(-B),I=Math.sin(-B),N=v*T+U*I,Z=w*T+P*I,J=R*T+A*I,U=v*-I+U*T,P=w*-I+P*T,A=R*-I+A*T,g=y*-I+g*T,v=N,w=Z,R=J),B=er(-F,A),S=B*Bn,B&&(T=Math.cos(-B),I=Math.sin(-B),N=X*T-U*I,Z=V*T-P*I,J=F*T-A*I,g=G*I+g*T,X=N,V=Z,F=J),B=er(V,X),f=B*Bn,B&&(T=Math.cos(B),I=Math.sin(B),N=X*T+V*I,Z=v*T+w*I,V=V*T-X*I,w=w*T-v*I,X=N,v=Z),b&&Math.abs(b)+Math.abs(f)>359.9&&(b=f=0,S=180-S),_=Re(Math.sqrt(X*X+V*V+F*F)),m=Re(Math.sqrt(w*w+R*R)),B=er(v,w),M=Math.abs(B)>2e-4?B*Bn:0,x=g?1/(g<0?-g:g):0),r.svg&&(N=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!El(Nt(e,Be)),N&&e.setAttribute("transform",N))),Math.abs(M)>90&&Math.abs(M)<270&&(i?(_*=-1,M+=f<=0?180:-180,f+=f<=0?180:-180):(m*=-1,M+=M<=0?180:-180)),n=n||r.uncache,r.x=d-((r.xPercent=d&&(!n&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-d)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+s,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)+s,r.z=p+s,r.scaleX=Re(_),r.scaleY=Re(m),r.rotation=Re(f)+l,r.rotationX=Re(b)+l,r.rotationY=Re(S)+l,r.skewX=M+l,r.skewY=C+l,r.transformPerspective=x+s,(r.zOrigin=parseFloat(u.split(" ")[2])||!n&&r.zOrigin||0)&&(a[ot]=ao(u)),r.xOffset=r.yOffset=0,r.force3D=st.force3D,r.renderTransform=r.svg?Lh:vl?Vl:$h,r.uncache=0,r},ao=function(e){return(e=e.split(" "))[0]+" "+e[1]},qa=function(e,n,r){var a=Ge(n);return Re(parseFloat(n)+parseFloat(un(e,"x",r+"px",a)))+a},$h=function(e,n){n.z="0px",n.rotationY=n.rotationX="0deg",n.force3D=0,Vl(e,n)},En="0deg",Br="0px",Pn=") ",Vl=function(e,n){var r=n||this,a=r.xPercent,i=r.yPercent,s=r.x,l=r.y,c=r.z,u=r.rotation,d=r.rotationY,h=r.rotationX,p=r.skewX,_=r.skewY,m=r.scaleX,f=r.scaleY,b=r.transformPerspective,S=r.force3D,M=r.target,C=r.zOrigin,x="",$=S==="auto"&&e&&e!==1||S===!0;if(C&&(h!==En||d!==En)){var L=parseFloat(d)*Jn,k=Math.sin(L),B=Math.cos(L),T;L=parseFloat(h)*Jn,T=Math.cos(L),s=qa(M,s,k*T*-C),l=qa(M,l,-Math.sin(L)*-C),c=qa(M,c,B*T*-C+C)}b!==Br&&(x+="perspective("+b+Pn),(a||i)&&(x+="translate("+a+"%, "+i+"%) "),($||s!==Br||l!==Br||c!==Br)&&(x+=c!==Br||$?"translate3d("+s+", "+l+", "+c+") ":"translate("+s+", "+l+Pn),u!==En&&(x+="rotate("+u+Pn),d!==En&&(x+="rotateY("+d+Pn),h!==En&&(x+="rotateX("+h+Pn),(p!==En||_!==En)&&(x+="skew("+p+", "+_+Pn),(m!==1||f!==1)&&(x+="scale("+m+", "+f+Pn),M.style[Be]=x||"translate(0, 0)"},Lh=function(e,n){var r=n||this,a=r.xPercent,i=r.yPercent,s=r.x,l=r.y,c=r.rotation,u=r.skewX,d=r.skewY,h=r.scaleX,p=r.scaleY,_=r.target,m=r.xOrigin,f=r.yOrigin,b=r.xOffset,S=r.yOffset,M=r.forceCSS,C=parseFloat(s),x=parseFloat(l),$,L,k,B,T;c=parseFloat(c),u=parseFloat(u),d=parseFloat(d),d&&(d=parseFloat(d),u+=d,c+=d),c||u?(c*=Jn,u*=Jn,$=Math.cos(c)*h,L=Math.sin(c)*h,k=Math.sin(c-u)*-p,B=Math.cos(c-u)*p,u&&(d*=Jn,T=Math.tan(u-d),T=Math.sqrt(1+T*T),k*=T,B*=T,d&&(T=Math.tan(d),T=Math.sqrt(1+T*T),$*=T,L*=T)),$=Re($),L=Re(L),k=Re(k),B=Re(B)):($=h,B=p,L=k=0),(C&&!~(s+"").indexOf("px")||x&&!~(l+"").indexOf("px"))&&(C=un(_,"x",s,"px"),x=un(_,"y",l,"px")),(m||f||b||S)&&(C=Re(C+m-(m*$+f*k)+b),x=Re(x+f-(m*L+f*B)+S)),(a||i)&&(T=_.getBBox(),C=Re(C+a/100*T.width),x=Re(x+i/100*T.height)),T="matrix("+$+","+L+","+k+","+B+","+C+","+x+")",_.setAttribute("transform",T),M&&(_.style[Be]=T)},Bh=function(e,n,r,a,i){var s=360,l=Ie(i),c=parseFloat(i)*(l&&~i.indexOf("rad")?Bn:1),u=c-a,d=a+u+"deg",h,p;return l&&(h=i.split("_")[1],h==="short"&&(u%=s,u!==u%(s/2)&&(u+=u<0?s:-s)),h==="cw"&&u<0?u=(u+s*yl)%s-~~(u/s)*s:h==="ccw"&&u>0&&(u=(u-s*yl)%s-~~(u/s)*s)),e._pt=p=new nt(e._pt,n,r,a,u,hh),p.e=d,p.u="deg",e._props.push(r),p},Ol=function(e,n){for(var r in n)e[r]=n[r];return e},Th=function(e,n,r){var a=Ol({},r._gsap),i="perspective,force3D,transformOrigin,svgOrigin",s=r.style,l,c,u,d,h,p,_,m;a.svg?(u=r.getAttribute("transform"),r.setAttribute("transform",""),s[Be]=n,l=Lr(r,1),Tn(r,Be),r.setAttribute("transform",u)):(u=getComputedStyle(r)[Be],s[Be]=n,l=Lr(r,1),s[Be]=u);for(c in Zt)u=a[c],d=l[c],u!==d&&i.indexOf(c)<0&&(_=Ge(u),m=Ge(d),h=_!==m?un(r,c,u,m):parseFloat(u),p=parseFloat(d),e._pt=new nt(e._pt,l,c,h,p-h,Ha),e._pt.u=m||0,e._props.push(c));Ol(l,a)};tt("padding,margin,Width,Radius",function(t,e){var n="Top",r="Right",a="Bottom",i="Left",s=(e<3?[n,r,a,i]:[n+i,n+r,a+r,a+i]).map(function(l){return e<2?t+l:"border"+l+t});oo[e>1?"border"+t:t]=function(l,c,u,d,h){var p,_;if(arguments.length<4)return p=s.map(function(m){return qt(l,m,u)}),_=p.join(" "),_.split(p[0]).length===5?p[0]:_;p=(d+"").split(" "),_={},s.forEach(function(m,f){return _[m]=p[f]=p[f]||p[(f-1)/2|0]}),l.init(c,_,h)}});var Dl={name:"css",register:ja,targetTest:function(e){return e.style&&e.nodeType},init:function(e,n,r,a,i){var s=this._props,l=e.style,c=r.vars.startAt,u,d,h,p,_,m,f,b,S,M,C,x,$,L,k,B;Aa||ja(),this.styles=this.styles||kl(e),B=this.styles.props,this.tween=r;for(f in n)if(f!=="autoRound"&&(d=n[f],!(ct[f]&&sl(f,n,r,a,e,i)))){if(_=typeof d,m=oo[f],_==="function"&&(d=d.call(r,a,e,i),_=typeof d),_==="string"&&~d.indexOf("random(")&&(d=br(d)),m)m(this,e,f,d,r)&&(k=1);else if(f.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(f)+"").trim(),d+="",sn.lastIndex=0,sn.test(u)||(b=Ge(u),S=Ge(d)),S?b!==S&&(u=un(e,f,u,S)+S):b&&(d+=b),this.add(l,"setProperty",u,d,a,i,0,0,f),s.push(f),B.push(f,0,l[f]);else if(_!=="undefined"){if(c&&f in c?(u=typeof c[f]=="function"?c[f].call(r,a,e,i):c[f],Ie(u)&&~u.indexOf("random(")&&(u=br(u)),Ge(u+"")||u==="auto"||(u+=st.units[f]||Ge(qt(e,f))||""),(u+"").charAt(1)==="="&&(u=qt(e,f))):u=qt(e,f),p=parseFloat(u),M=_==="string"&&d.charAt(1)==="="&&d.substr(0,2),M&&(d=d.substr(2)),h=parseFloat(d),f in Dt&&(f==="autoAlpha"&&(p===1&&qt(e,"visibility")==="hidden"&&h&&(p=0),B.push("visibility",0,l.visibility),dn(this,l,"visibility",p?"inherit":"hidden",h?"inherit":"hidden",!h)),f!=="scale"&&f!=="transform"&&(f=Dt[f],~f.indexOf(",")&&(f=f.split(",")[0]))),C=f in Zt,C){if(this.styles.save(f),x||($=e._gsap,$.renderTransform&&!n.parseTransform||Lr(e,n.parseTransform),L=n.smoothOrigin!==!1&&$.smooth,x=this._pt=new nt(this._pt,l,Be,0,1,$.renderTransform,$,0,-1),x.dep=1),f==="scale")this._pt=new nt(this._pt,$,"scaleY",$.scaleY,(M?Un($.scaleY,M+h):h)-$.scaleY||0,Ha),this._pt.u=0,s.push("scaleY",f),f+="X";else if(f==="transformOrigin"){B.push(ot,0,l[ot]),d=Mh(d),$.svg?Za(e,d,0,L,0,this):(S=parseFloat(d.split(" ")[2])||0,S!==$.zOrigin&&dn(this,$,"zOrigin",$.zOrigin,S),dn(this,l,f,ao(u),ao(d)));continue}else if(f==="svgOrigin"){Za(e,d,1,L,0,this);continue}else if(f in Tl){Bh(this,$,f,p,M?Un(p,M+d):d);continue}else if(f==="smoothOrigin"){dn(this,$,"smooth",$.smooth,d);continue}else if(f==="force3D"){$[f]=d;continue}else if(f==="transform"){Th(this,d,e);continue}}else f in l||(f=tr(f)||f);if(C||(h||h===0)&&(p||p===0)&&!uh.test(d)&&f in l)b=(u+"").substr((p+"").length),h||(h=0),S=Ge(d)||(f in st.units?st.units[f]:b),b!==S&&(p=un(e,f,u,S)),this._pt=new nt(this._pt,C?$:l,f,p,(M?Un(p,M+h):h)-p,!C&&(S==="px"||f==="zIndex")&&n.autoRound!==!1?ph:Ha),this._pt.u=S||0,b!==S&&S!=="%"&&(this._pt.b=u,this._pt.r=fh);else if(f in l)xh.call(this,e,f,u,M?M+d:d);else if(f in e)this.add(e,f,u||e[f],M?M+d:d,a,i);else if(f!=="parseTransform"){fa(f,d);continue}C||(f in l?B.push(f,0,l[f]):B.push(f,1,u||e[f])),s.push(f)}}k&&fl(this)},render:function(e,n){if(n.tween._time||!Ra())for(var r=n._pt;r;)r.r(e,r.d),r=r._next;else n.styles.revert()},get:qt,aliases:Dt,getSetter:function(e,n,r){var a=Dt[n];return a&&a.indexOf(",")<0&&(n=a),n in Zt&&n!==ot&&(e._gsap.x||qt(e,"x"))?r&&gl===r?n==="scale"?yh:gh:(gl=r||{})&&(n==="scale"?wh:Ch):e.style&&!sa(e.style[n])?mh:~n.indexOf("-")?_h:Ea(e,n)},core:{_removeProperty:Tn,_getMatrix:Ya}};rt.utils.checkPrefix=tr,rt.core.getStyleSaver=kl,function(t,e,n,r){var a=tt(t+","+e+","+n,function(i){Zt[i]=1});tt(e,function(i){st.units[i]="deg",Tl[i]=1}),Dt[a[13]]=t+","+e,tt(r,function(i){var s=i.split(":");Dt[s[1]]=a[s[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"),tt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){st.units[t]="px"}),rt.registerPlugin(Dl);var hn=rt.registerPlugin(Dl)||rt;hn.core.Tween;const Eh={__name:"Confetti",setup(t){function e(r){let a=100,i=r.offsetWidth,s=r.offsetHeight;for(let d=0;d<a;d++){let h=document.createElement("div");h.classList.add("dot"),r.append(h),hn.set(h,{x:c(i),y:u(-100,100),opacity:1,scale:c(.5)+.5,backgroundColor:"hsl("+u(170,360)+",50%,50%)"}),l(h)}function l(d){hn.set(r,{display:"block"}),hn.to(r,{autoAlpha:1,duration:2,delay:1}),hn.to(d,c(5)+4,{y:s,ease:lh.easeNone,repeat:-1,delay:-5}),hn.to(d,c(5)+1,{x:"+=70",repeat:-1,yoyo:!0,ease:Na.easeInOut}),hn.to(d,c(5)+1,{scaleX:.2,rotation:c(360),repeat:-1,yoyo:!0,ease:Na.easeInOut}),hn.to(d,c(1)+.5,{opacity:0,repeat:-1,yoyo:!0,ease:Na.easeInOut})}function c(d){return Math.random()*d}function u(d,h){return d+Math.floor(Math.random()*(h-d))}}const n=o.ref(null);return o.onMounted(()=>{n.value&&e(n.value)}),(r,a)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"confetti",ref:n,class:"confetti"},null,512))}},Ph={class:"toast__content"},Nl=Je(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 s,l,c,u;(s=e.action)!=null&&s.label?(l=e.action)==null||l.callback():(u=(c=n.value)==null?void 0:c.parentElement)==null||u.remove()},a=o.computed(()=>e.type==="success"?"check-circle-fill":"circle-close"),i=o.computed(()=>e.type==="success"?"-success":e.type==="info"?"-info":"-error");return(s,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",Ph,[o.createElementVNode("div",{class:o.normalizeClass(["toast__icon-wrapper",i.value])},[o.createVNode(Qe,{icon:a.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"]]),Al=t=>(o.pushScopeId("data-v-c6866516"),t=t(),o.popScopeId(),t),Vh={class:"sidebar-popup-container"},Oh={class:"sidebar-popup__profile-info"},Dh=["src"],Nh={key:1,class:"sidebar-popup__profile-info__letter"},Ah={class:"sidebar-popup__profile-info__wrapper"},Rh={class:"sidebar-popup__profile-info__name"},Fh={class:"sidebar-popup__profile-info__e-mail"},Hh=Al(()=>o.createElementVNode("div",{class:"sidebar-popup__divider"},null,-1)),zh={class:"sidebar-popup__tabs"},jh=["onClick"],Ih={class:"sidebar-popup__tab__icon-wrapper"},Yh={class:"sidebar-popup__tab__name"},Zh=Al(()=>o.createElementVNode("div",{class:"sidebar-popup__divider"},null,-1)),qh={class:"sidebar-popup__actions-buttons"},Uh=Je({__name:"SidebarPopup",props:{activeSection:String,user:Object},emits:["logout"],setup(t,{emit:e}){const n=t,r=e,a=o.ref(!1),i=o.ref(null),s=o.reactive([{name:"charts",isActive:!0},{name:"futures",isActive:!1},{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 p=window.location.hostname==="localhost"?"http://localhost:8080":"https://scope360.io";window.open(`${p}/settings/profile`,"_self")}},u=p=>{p.isActive&&window.open(`https://${p.name}.scope360.io/`)},d=()=>{a.value=!a.value},h=p=>{i.value&&!i.value.contains(p.target)&&d()};return o.onMounted(()=>{document.addEventListener("click",h)}),o.onUnmounted(()=>{document.removeEventListener("click",h)}),(p,_)=>(o.openBlock(),o.createElementBlock("div",Vh,[o.createElementVNode("div",{class:o.normalizeClass(["sidebar-popup-container__icon-wrapper",{"-is-active":a.value}]),onClick:o.withModifiers(d,["stop"]),name:"popup-icon-wrapper"},[o.createVNode(Qe,{icon:"pop-up_opener"})],2),a.value?(o.openBlock(),o.createElementBlock("div",{key:0,class:"sidebar-popup",ref_key:"popupRef",ref:i},[o.createElementVNode("div",Oh,[t.user.image?(o.openBlock(),o.createElementBlock("img",{key:0,src:t.user.image,class:"sidebar-popup__profile-info__photo"},null,8,Dh)):(o.openBlock(),o.createElementBlock("div",Nh,o.toDisplayString(l.value),1)),o.createElementVNode("div",Ah,[o.createElementVNode("div",Rh,o.toDisplayString(t.user.name),1),o.createElementVNode("div",Fh,o.toDisplayString(t.user.email),1)])]),Hh,o.createElementVNode("div",zh,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(s,m=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["sidebar-popup__tab",{"-is-active":m.name===t.activeSection},{"-is-disable":!m.isActive}]),onClick:f=>u(m)},[o.createElementVNode("div",Ih,[o.createVNode(Qe,{icon:m.name.split(" ").join("_")},null,8,["icon"])]),o.createElementVNode("div",Yh,o.toDisplayString(m.name),1)],10,jh))),256))]),Zh,o.createElementVNode("div",qh,[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:_[0]||(_[0]=m=>r("logout"))},"Log out")])],512)):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-c6866516"]]);/*! js-cookie v3.0.5 | MIT */function io(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 Wh={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 Ua(t,e){function n(a,i,s){if(!(typeof document>"u")){s=io({},e,s),typeof s.expires=="number"&&(s.expires=new Date(Date.now()+s.expires*864e5)),s.expires&&(s.expires=s.expires.toUTCString()),a=encodeURIComponent(a).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var l="";for(var c in s)s[c]&&(l+="; "+c,s[c]!==!0&&(l+="="+s[c].split(";")[0]));return document.cookie=a+"="+t.write(i,a)+l}}function r(a){if(!(typeof document>"u"||arguments.length&&!a)){for(var i=document.cookie?document.cookie.split("; "):[],s={},l=0;l<i.length;l++){var c=i[l].split("="),u=c.slice(1).join("=");try{var d=decodeURIComponent(c[0]);if(s[d]=t.read(u,d),a===d)break}catch{}}return a?s[a]:s}}return Object.create({set:n,get:r,remove:function(a,i){n(a,"",io({},i,{expires:-1}))},withAttributes:function(a){return Ua(this.converter,io({},this.attributes,a))},withConverter:function(a){return Ua(io({},this.converter,a),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var nr=Ua(Wh,{path:"/"});class ht{static setItem(e,n,r=Date.now()+31449600){nr.set(e,n,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io",expires:new Date(r*1e3),secure:!0,sameSite:"strict"})}static getItem(e){return nr.get(e)}static removeItem(e){nr.remove(e,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io"})}static clear(){const e=Object.keys(nr.get());for(const n of e)nr.remove(n,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io"})}static getAll(){return nr.get()}}function Rl(t,e){return function(){return t.apply(e,arguments)}}const{toString:Gh}=Object.prototype,{getPrototypeOf:Wa}=Object,so=(t=>e=>{const n=Gh.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),At=t=>(t=t.toLowerCase(),e=>so(e)===t),lo=t=>e=>typeof e===t,{isArray:rr}=Array,Tr=lo("undefined");function Kh(t){return t!==null&&!Tr(t)&&t.constructor!==null&&!Tr(t.constructor)&>(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Fl=At("ArrayBuffer");function Xh(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Fl(t.buffer),e}const Qh=lo("string"),gt=lo("function"),Hl=lo("number"),co=t=>t!==null&&typeof t=="object",Jh=t=>t===!0||t===!1,uo=t=>{if(so(t)!=="object")return!1;const e=Wa(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},e5=At("Date"),t5=At("File"),n5=At("Blob"),r5=At("FileList"),o5=t=>co(t)&>(t.pipe),a5=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||gt(t.append)&&((e=so(t))==="formdata"||e==="object"&>(t.toString)&&t.toString()==="[object FormData]"))},i5=At("URLSearchParams"),s5=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Er(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,a;if(typeof t!="object"&&(t=[t]),rr(t))for(r=0,a=t.length;r<a;r++)e.call(null,t[r],r,t);else{const i=n?Object.getOwnPropertyNames(t):Object.keys(t),s=i.length;let l;for(r=0;r<s;r++)l=i[r],e.call(null,t[l],l,t)}}function zl(t,e){e=e.toLowerCase();const n=Object.keys(t);let r=n.length,a;for(;r-- >0;)if(a=n[r],e===a.toLowerCase())return a;return null}const jl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Il=t=>!Tr(t)&&t!==jl;function Ga(){const{caseless:t}=Il(this)&&this||{},e={},n=(r,a)=>{const i=t&&zl(e,a)||a;uo(e[i])&&uo(r)?e[i]=Ga(e[i],r):uo(r)?e[i]=Ga({},r):rr(r)?e[i]=r.slice():e[i]=r};for(let r=0,a=arguments.length;r<a;r++)arguments[r]&&Er(arguments[r],n);return e}const l5=(t,e,n,{allOwnKeys:r}={})=>(Er(e,(a,i)=>{n&>(a)?t[i]=Rl(a,n):t[i]=a},{allOwnKeys:r}),t),c5=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),d5=(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)},u5=(t,e,n,r)=>{let a,i,s;const l={};if(e=e||{},t==null)return e;do{for(a=Object.getOwnPropertyNames(t),i=a.length;i-- >0;)s=a[i],(!r||r(s,t,e))&&!l[s]&&(e[s]=t[s],l[s]=!0);t=n!==!1&&Wa(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},h5=(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},f5=t=>{if(!t)return null;if(rr(t))return t;let e=t.length;if(!Hl(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},p5=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Wa(Uint8Array)),m5=(t,e)=>{const r=(t&&t[Symbol.iterator]).call(t);let a;for(;(a=r.next())&&!a.done;){const i=a.value;e.call(t,i[0],i[1])}},_5=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},g5=At("HTMLFormElement"),y5=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,a){return r.toUpperCase()+a}),Yl=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),w5=At("RegExp"),Zl=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};Er(n,(a,i)=>{let s;(s=e(a,i,t))!==!1&&(r[i]=s||a)}),Object.defineProperties(t,r)},C5=t=>{Zl(t,(e,n)=>{if(gt(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(gt(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+"'")})}})},b5=(t,e)=>{const n={},r=a=>{a.forEach(i=>{n[i]=!0})};return rr(t)?r(t):r(String(t).split(e)),n},k5=()=>{},v5=(t,e)=>(t=+t,Number.isFinite(t)?t:e),Ka="abcdefghijklmnopqrstuvwxyz",ql="0123456789",Ul={DIGIT:ql,ALPHA:Ka,ALPHA_DIGIT:Ka+Ka.toUpperCase()+ql},x5=(t=16,e=Ul.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n};function M5(t){return!!(t&>(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const S5=t=>{const e=new Array(10),n=(r,a)=>{if(co(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[a]=r;const i=rr(r)?[]:{};return Er(r,(s,l)=>{const c=n(s,a+1);!Tr(c)&&(i[l]=c)}),e[a]=void 0,i}}return r};return n(t,0)},$5=At("AsyncFunction"),j={isArray:rr,isArrayBuffer:Fl,isBuffer:Kh,isFormData:a5,isArrayBufferView:Xh,isString:Qh,isNumber:Hl,isBoolean:Jh,isObject:co,isPlainObject:uo,isUndefined:Tr,isDate:e5,isFile:t5,isBlob:n5,isRegExp:w5,isFunction:gt,isStream:o5,isURLSearchParams:i5,isTypedArray:p5,isFileList:r5,forEach:Er,merge:Ga,extend:l5,trim:s5,stripBOM:c5,inherits:d5,toFlatObject:u5,kindOf:so,kindOfTest:At,endsWith:h5,toArray:f5,forEachEntry:m5,matchAll:_5,isHTMLForm:g5,hasOwnProperty:Yl,hasOwnProp:Yl,reduceDescriptors:Zl,freezeMethods:C5,toObjectSet:b5,toCamelCase:y5,noop:k5,toFiniteNumber:v5,findKey:zl,global:jl,isContextDefined:Il,ALPHABET:Ul,generateString:x5,isSpecCompliantForm:M5,toJSONObject:S5,isAsyncFn:$5,isThenable:t=>t&&(co(t)||gt(t))&>(t.then)&>(t.catch)};function me(t,e,n,r,a){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),a&&(this.response=a)}j.inherits(me,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:j.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Wl=me.prototype,Gl={};["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=>{Gl[t]={value:t}}),Object.defineProperties(me,Gl),Object.defineProperty(Wl,"isAxiosError",{value:!0}),me.from=(t,e,n,r,a,i)=>{const s=Object.create(Wl);return j.toFlatObject(t,s,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),me.call(s,t.message,e,n,r,a),s.cause=t,s.name=t.name,i&&Object.assign(s,i),s};const L5=null;function Xa(t){return j.isPlainObject(t)||j.isArray(t)}function Kl(t){return j.endsWith(t,"[]")?t.slice(0,-2):t}function Xl(t,e,n){return t?t.concat(e).map(function(a,i){return a=Kl(a),!n&&i?"["+a+"]":a}).join(n?".":""):e}function B5(t){return j.isArray(t)&&!t.some(Xa)}const T5=j.toFlatObject(j,{},null,function(e){return/^is[A-Z]/.test(e)});function ho(t,e,n){if(!j.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=j.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(f,b){return!j.isUndefined(b[f])});const r=n.metaTokens,a=n.visitor||d,i=n.dots,s=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&j.isSpecCompliantForm(e);if(!j.isFunction(a))throw new TypeError("visitor must be a function");function u(m){if(m===null)return"";if(j.isDate(m))return m.toISOString();if(!c&&j.isBlob(m))throw new me("Blob is not supported. Use a Buffer instead.");return j.isArrayBuffer(m)||j.isTypedArray(m)?c&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function d(m,f,b){let S=m;if(m&&!b&&typeof m=="object"){if(j.endsWith(f,"{}"))f=r?f:f.slice(0,-2),m=JSON.stringify(m);else if(j.isArray(m)&&B5(m)||(j.isFileList(m)||j.endsWith(f,"[]"))&&(S=j.toArray(m)))return f=Kl(f),S.forEach(function(C,x){!(j.isUndefined(C)||C===null)&&e.append(s===!0?Xl([f],x,i):s===null?f:f+"[]",u(C))}),!1}return Xa(m)?!0:(e.append(Xl(b,f,i),u(m)),!1)}const h=[],p=Object.assign(T5,{defaultVisitor:d,convertValue:u,isVisitable:Xa});function _(m,f){if(!j.isUndefined(m)){if(h.indexOf(m)!==-1)throw Error("Circular reference detected in "+f.join("."));h.push(m),j.forEach(m,function(S,M){(!(j.isUndefined(S)||S===null)&&a.call(e,S,j.isString(M)?M.trim():M,f,p))===!0&&_(S,f?f.concat(M):[M])}),h.pop()}}if(!j.isObject(t))throw new TypeError("data must be an object");return _(t),e}function Ql(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function Qa(t,e){this._pairs=[],t&&ho(t,this,e)}const Jl=Qa.prototype;Jl.append=function(e,n){this._pairs.push([e,n])},Jl.toString=function(e){const n=e?function(r){return e.call(this,r,Ql)}:Ql;return this._pairs.map(function(a){return n(a[0])+"="+n(a[1])},"").join("&")};function E5(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function e1(t,e,n){if(!e)return t;const r=n&&n.encode||E5,a=n&&n.serialize;let i;if(a?i=a(e,n):i=j.isURLSearchParams(e)?e.toString():new Qa(e,n).toString(r),i){const s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}class t1{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){j.forEach(this.handlers,function(r){r!==null&&e(r)})}}const n1={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},P5={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Qa,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},r1=typeof window<"u"&&typeof document<"u",V5=(t=>r1&&["ReactNative","NativeScript","NS"].indexOf(t)<0)(typeof navigator<"u"&&navigator.product),O5=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Rt={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:r1,hasStandardBrowserEnv:V5,hasStandardBrowserWebWorkerEnv:O5},Symbol.toStringTag,{value:"Module"})),...P5};function D5(t,e){return ho(t,new Rt.classes.URLSearchParams,Object.assign({visitor:function(n,r,a,i){return Rt.isNode&&j.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}function N5(t){return j.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function A5(t){const e={},n=Object.keys(t);let r;const a=n.length;let i;for(r=0;r<a;r++)i=n[r],e[i]=t[i];return e}function o1(t){function e(n,r,a,i){let s=n[i++];if(s==="__proto__")return!0;const l=Number.isFinite(+s),c=i>=n.length;return s=!s&&j.isArray(a)?a.length:s,c?(j.hasOwnProp(a,s)?a[s]=[a[s],r]:a[s]=r,!l):((!a[s]||!j.isObject(a[s]))&&(a[s]=[]),e(n,r,a[s],i)&&j.isArray(a[s])&&(a[s]=A5(a[s])),!l)}if(j.isFormData(t)&&j.isFunction(t.entries)){const n={};return j.forEachEntry(t,(r,a)=>{e(N5(r),a,n,0)}),n}return null}function R5(t,e,n){if(j.isString(t))try{return(e||JSON.parse)(t),j.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}const Ja={transitional:n1,adapter:["xhr","http"],transformRequest:[function(e,n){const r=n.getContentType()||"",a=r.indexOf("application/json")>-1,i=j.isObject(e);if(i&&j.isHTMLForm(e)&&(e=new FormData(e)),j.isFormData(e))return a?JSON.stringify(o1(e)):e;if(j.isArrayBuffer(e)||j.isBuffer(e)||j.isStream(e)||j.isFile(e)||j.isBlob(e))return e;if(j.isArrayBufferView(e))return e.buffer;if(j.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 D5(e,this.formSerializer).toString();if((l=j.isFileList(e))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return ho(l?{"files[]":e}:e,c&&new c,this.formSerializer)}}return i||a?(n.setContentType("application/json",!1),R5(e)):e}],transformResponse:[function(e){const n=this.transitional||Ja.transitional,r=n&&n.forcedJSONParsing,a=this.responseType==="json";if(e&&j.isString(e)&&(r&&!this.responseType||a)){const s=!(n&&n.silentJSONParsing)&&a;try{return JSON.parse(e)}catch(l){if(s)throw l.name==="SyntaxError"?me.from(l,me.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:Rt.classes.FormData,Blob:Rt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};j.forEach(["delete","get","head","post","put","patch"],t=>{Ja.headers[t]={}});const ei=Ja,F5=j.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"]),H5=t=>{const e={};let n,r,a;return t&&t.split(`
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
`+i):r.stack=i}throw r}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=or(this.defaults,n);const{transitional:r,paramsSerializer:a,headers:i}=n;r!==void 0&&ii.assertOptions(r,{silentJSONParsing:fn.transitional(fn.boolean),forcedJSONParsing:fn.transitional(fn.boolean),clarifyTimeoutError:fn.transitional(fn.boolean)},!1),a!=null&&(j.isFunction(a)?n.paramsSerializer={serialize:a}:ii.assertOptions(a,{encode:fn.function,serialize:fn.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=i&&j.merge(i.common,i[n.method]);i&&j.forEach(["delete","get","head","post","put","patch","common"],m=>{delete i[m]}),n.headers=Ut.concat(s,i);const l=[];let c=!0;this.interceptors.request.forEach(function(f){typeof f.runWhen=="function"&&f.runWhen(n)===!1||(c=c&&f.synchronous,l.unshift(f.fulfilled,f.rejected))});const u=[];this.interceptors.response.forEach(function(f){u.push(f.fulfilled,f.rejected)});let d,h=0,p;if(!c){const m=[u1.bind(this),void 0];for(m.unshift.apply(m,l),m.push.apply(m,u),p=m.length,d=Promise.resolve(n);h<p;)d=d.then(m[h++],m[h++]);return d}p=l.length;let _=n;for(h=0;h<p;){const m=l[h++],f=l[h++];try{_=m(_)}catch(b){f.call(this,b);break}}try{d=u1.call(this,_)}catch(m){return Promise.reject(m)}for(h=0,p=u.length;h<p;)d=d.then(u[h++],u[h++]);return d}getUri(e){e=or(this.defaults,e);const n=s1(e.baseURL,e.url);return e1(n,e.params,e.paramsSerializer)}}j.forEach(["delete","get","head","options"],function(e){mo.prototype[e]=function(n,r){return this.request(or(r||{},{method:e,url:n,data:(r||{}).data}))}}),j.forEach(["post","put","patch"],function(e){function n(r){return function(i,s,l){return this.request(or(l||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}mo.prototype[e]=n(),mo.prototype[e+"Form"]=n(!0)});const _o=mo;class si{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(a=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](a);r._listeners=null}),this.promise.then=a=>{let i;const s=new Promise(l=>{r.subscribe(l),i=l}).then(a);return s.cancel=function(){r.unsubscribe(i)},s},e(function(i,s,l){r.reason||(r.reason=new Vr(i,s,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 si(function(a){e=a}),cancel:e}}}const e9=si;function t9(t){return function(n){return t.apply(null,n)}}function n9(t){return j.isObject(t)&&t.isAxiosError===!0}const li={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(li).forEach(([t,e])=>{li[e]=t});const r9=li;function m1(t){const e=new _o(t),n=Rl(_o.prototype.request,e);return j.extend(n,_o.prototype,e,{allOwnKeys:!0}),j.extend(n,e,null,{allOwnKeys:!0}),n.create=function(a){return m1(or(t,a))},n}const Ve=m1(ei);Ve.Axios=_o,Ve.CanceledError=Vr,Ve.CancelToken=e9,Ve.isCancel=i1,Ve.VERSION=f1,Ve.toFormData=ho,Ve.AxiosError=me,Ve.Cancel=Ve.CanceledError,Ve.all=function(e){return Promise.all(e)},Ve.spread=t9,Ve.isAxiosError=n9,Ve.mergeConfig=or,Ve.AxiosHeaders=Ut,Ve.formToJSON=t=>o1(j.isHTMLForm(t)?new FormData(t):t),Ve.getAdapter=d1.getAdapter,Ve.HttpStatusCode=r9,Ve.default=Ve;const go=Ve.create({baseURL:"https://api.scope360.io/"}),o9=async()=>{try{const t=ht.getItem("refresh_token");if(!t)throw new Error("No refresh token available");const e=await Ve.post("https://api.scope360.io/refresh",{},{headers:{Authorization:"Bearer "+t}}),{access_token:n,access_expired:r,refresh_expired:a,refresh_token:i}=e.data;return ht.setItem("access_token",n,r),ht.setItem("refresh_token",i,a),n}catch(t){if(console.error("Error refreshing access token:",t),ht.removeItem("access_token"),ht.removeItem("refresh_token"),ht.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}},a9=t=>ht.getItem("isOAuth")?t:"Bearer "+t;go.interceptors.request.use(async t=>{const e=ht.getItem("access_token");return t.headers={Accept:"application/json"},ht.getItem("access_token")&&(t.headers.Authorization=a9(e)),t},t=>{Promise.reject(t)}),go.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 o9();return Ve.defaults.headers.common.Authorization="Bearer "+n,go(e)}else return Promise.reject(t)}catch{if(ht.removeItem("access_token"),ht.removeItem("refresh_token"),ht.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 i9={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"},s9=(t,e,n,r={},a)=>{const i=o.h(t,e,r),s=document.createElement("div");return s.setAttribute("id",a||""),n.appendChild(s),o.render(i,s),i.component},l9={type:"info",textOnClose:"Dismiss",duration:5e3,hideOnRouteChange:!0},yo=t=>{if(!(t!=null&&t.message))return;const e={...l9,...t},n=s9(Nl,e,document.body,void 0,"toast"),r=()=>{var a,i,s;(s=(i=(a=n==null?void 0:n.refs)==null?void 0:a.toast)==null?void 0:i.parentElement)==null||s.remove()};if(setTimeout(r,e.duration),e!=null&&e.hideOnRouteChange){const a=o.watch(()=>window.location.href,()=>{r(),a()})}return{dismiss:r}},c9=(t,e)=>yo({...e,message:t,type:"success"}),d9=(t,e)=>yo({...e,message:t,type:"error"}),u9=(t,e)=>yo({...e,message:t,type:"info"}),_1=()=>({open:yo,success:c9,error:d9,info:u9}),h9={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},f9=[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:"#7F7F83","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:"#7F7F83","stroke-linejoin":"round"},null,-1)];function g1(t,e){return o.openBlock(),o.createElementBlock("svg",h9,[...f9])}const p9=Object.freeze(Object.defineProperty({__proto__:null,default:{render:g1},render:g1},Symbol.toStringTag,{value:"Module"})),m9={width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_9=[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 y1(t,e){return o.openBlock(),o.createElementBlock("svg",m9,[..._9])}const g9=Object.freeze(Object.defineProperty({__proto__:null,default:{render:y1},render:y1},Symbol.toStringTag,{value:"Module"})),y9={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w9=[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 w1(t,e){return o.openBlock(),o.createElementBlock("svg",y9,[...w9])}const C9=Object.freeze(Object.defineProperty({__proto__:null,default:{render:w1},render:w1},Symbol.toStringTag,{value:"Module"})),b9={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},k9=[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 C1(t,e){return o.openBlock(),o.createElementBlock("svg",b9,[...k9])}const v9=Object.freeze(Object.defineProperty({__proto__:null,default:{render:C1},render:C1},Symbol.toStringTag,{value:"Module"})),x9={xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 30 30",fill:"none"},M9=[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 b1(t,e){return o.openBlock(),o.createElementBlock("svg",x9,[...M9])}const S9=Object.freeze(Object.defineProperty({__proto__:null,default:{render:b1},render:b1},Symbol.toStringTag,{value:"Module"})),$9={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L9=[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 k1(t,e){return o.openBlock(),o.createElementBlock("svg",$9,[...L9])}const B9=Object.freeze(Object.defineProperty({__proto__:null,default:{render:k1},render:k1},Symbol.toStringTag,{value:"Module"})),T9={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E9=[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 v1(t,e){return o.openBlock(),o.createElementBlock("svg",T9,[...E9])}const P9=Object.freeze(Object.defineProperty({__proto__:null,default:{render:v1},render:v1},Symbol.toStringTag,{value:"Module"})),V9={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},O9=[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 x1(t,e){return o.openBlock(),o.createElementBlock("svg",V9,[...O9])}const D9=Object.freeze(Object.defineProperty({__proto__:null,default:{render:x1},render:x1},Symbol.toStringTag,{value:"Module"})),N9={width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},A9=[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 M1(t,e){return o.openBlock(),o.createElementBlock("svg",N9,[...A9])}const R9=Object.freeze(Object.defineProperty({__proto__:null,default:{render:M1},render:M1},Symbol.toStringTag,{value:"Module"})),F9={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},H9=[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 S1(t,e){return o.openBlock(),o.createElementBlock("svg",F9,[...H9])}const z9=Object.freeze(Object.defineProperty({__proto__:null,default:{render:S1},render:S1},Symbol.toStringTag,{value:"Module"})),j9={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},I9=[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 $1(t,e){return o.openBlock(),o.createElementBlock("svg",j9,[...I9])}const Y9=Object.freeze(Object.defineProperty({__proto__:null,default:{render:$1},render:$1},Symbol.toStringTag,{value:"Module"})),Z9={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10",fill:"none"},q9=[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:"#56B683"},null,-1)];function L1(t,e){return o.openBlock(),o.createElementBlock("svg",Z9,[...q9])}const U9=Object.freeze(Object.defineProperty({__proto__:null,default:{render:L1},render:L1},Symbol.toStringTag,{value:"Module"})),W9={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10",fill:"none"},G9=[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:"#F18169"},null,-1)];function B1(t,e){return o.openBlock(),o.createElementBlock("svg",W9,[...G9])}const K9=Object.freeze(Object.defineProperty({__proto__:null,default:{render:B1},render:B1},Symbol.toStringTag,{value:"Module"})),X9={width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Q9=[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 T1(t,e){return o.openBlock(),o.createElementBlock("svg",X9,[...Q9])}const J9=Object.freeze(Object.defineProperty({__proto__:null,default:{render:T1},render:T1},Symbol.toStringTag,{value:"Module"})),e4={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},t4=[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 E1(t,e){return o.openBlock(),o.createElementBlock("svg",e4,[...t4])}const n4=Object.freeze(Object.defineProperty({__proto__:null,default:{render:E1},render:E1},Symbol.toStringTag,{value:"Module"})),r4={width:"18",height:"12",viewBox:"0 0 18 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o4=[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 P1(t,e){return o.openBlock(),o.createElementBlock("svg",r4,[...o4])}const a4=Object.freeze(Object.defineProperty({__proto__:null,default:{render:P1},render:P1},Symbol.toStringTag,{value:"Module"})),i4={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s4=[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 V1(t,e){return o.openBlock(),o.createElementBlock("svg",i4,[...s4])}const l4=Object.freeze(Object.defineProperty({__proto__:null,default:{render:V1},render:V1},Symbol.toStringTag,{value:"Module"})),c4={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d4=[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 O1(t,e){return o.openBlock(),o.createElementBlock("svg",c4,[...d4])}const u4=Object.freeze(Object.defineProperty({__proto__:null,default:{render:O1},render:O1},Symbol.toStringTag,{value:"Module"})),h4={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},f4=[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 D1(t,e){return o.openBlock(),o.createElementBlock("svg",h4,[...f4])}const p4=Object.freeze(Object.defineProperty({__proto__:null,default:{render:D1},render:D1},Symbol.toStringTag,{value:"Module"})),m4={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},_4=[o.createElementVNode("path",{d:"M11.6663 13.3333L8.33301 10L11.6663 6.66666",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function N1(t,e){return o.openBlock(),o.createElementBlock("svg",m4,[..._4])}const g4=Object.freeze(Object.defineProperty({__proto__:null,default:{render:N1},render:N1},Symbol.toStringTag,{value:"Module"})),y4={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w4=[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 A1(t,e){return o.openBlock(),o.createElementBlock("svg",y4,[...w4])}const C4=Object.freeze(Object.defineProperty({__proto__:null,default:{render:A1},render:A1},Symbol.toStringTag,{value:"Module"})),b4={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},k4=[o.createElementVNode("path",{d:"M8.33301 13.3333L11.6663 10L8.33301 6.66666",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function R1(t,e){return o.openBlock(),o.createElementBlock("svg",b4,[...k4])}const v4=Object.freeze(Object.defineProperty({__proto__:null,default:{render:R1},render:R1},Symbol.toStringTag,{value:"Module"})),x4={width:"6",height:"9",viewBox:"0 0 6 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},M4=[o.createElementVNode("path",{id:"Vector",d:"M1 0.5L5 4.5L1 8.5",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function F1(t,e){return o.openBlock(),o.createElementBlock("svg",x4,[...M4])}const S4=Object.freeze(Object.defineProperty({__proto__:null,default:{render:F1},render:F1},Symbol.toStringTag,{value:"Module"})),$4={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},L4=[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 H1(t,e){return o.openBlock(),o.createElementBlock("svg",$4,[...L4])}const B4=Object.freeze(Object.defineProperty({__proto__:null,default:{render:H1},render:H1},Symbol.toStringTag,{value:"Module"})),T4={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},E4=[o.createElementVNode("path",{d:"M6.66699 8.33337L10.0003 11.6667L13.3337 8.33337",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function z1(t,e){return o.openBlock(),o.createElementBlock("svg",T4,[...E4])}const P4=Object.freeze(Object.defineProperty({__proto__:null,default:{render:z1},render:z1},Symbol.toStringTag,{value:"Module"})),V4={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},O4=[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 j1(t,e){return o.openBlock(),o.createElementBlock("svg",V4,[...O4])}const D4=Object.freeze(Object.defineProperty({__proto__:null,default:{render:j1},render:j1},Symbol.toStringTag,{value:"Module"})),N4={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},A4=[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 I1(t,e){return o.openBlock(),o.createElementBlock("svg",N4,[...A4])}const R4=Object.freeze(Object.defineProperty({__proto__:null,default:{render:I1},render:I1},Symbol.toStringTag,{value:"Module"})),F4={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},H4=[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 Y1(t,e){return o.openBlock(),o.createElementBlock("svg",F4,[...H4])}const z4=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Y1},render:Y1},Symbol.toStringTag,{value:"Module"})),j4={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},I4=[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 Z1(t,e){return o.openBlock(),o.createElementBlock("svg",j4,[...I4])}const Y4=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Z1},render:Z1},Symbol.toStringTag,{value:"Module"})),Z4={width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},q4=[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:"#8E8E93","stroke-width":"2","stroke-linecap":"round"})],-1)];function q1(t,e){return o.openBlock(),o.createElementBlock("svg",Z4,[...q4])}const U4=Object.freeze(Object.defineProperty({__proto__:null,default:{render:q1},render:q1},Symbol.toStringTag,{value:"Module"})),W4={xmlns:"http://www.w3.org/2000/svg",width:"21",height:"20",viewBox:"0 0 21 20",fill:"none"},G4=[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 U1(t,e){return o.openBlock(),o.createElementBlock("svg",W4,[...G4])}const K4=Object.freeze(Object.defineProperty({__proto__:null,default:{render:U1},render:U1},Symbol.toStringTag,{value:"Module"})),X4={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Q4=[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 W1(t,e){return o.openBlock(),o.createElementBlock("svg",X4,[...Q4])}const J4=Object.freeze(Object.defineProperty({__proto__:null,default:{render:W1},render:W1},Symbol.toStringTag,{value:"Module"})),e7={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"21",viewBox:"0 0 20 21",fill:"none"},t7=[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 G1(t,e){return o.openBlock(),o.createElementBlock("svg",e7,[...t7])}const n7=Object.freeze(Object.defineProperty({__proto__:null,default:{render:G1},render:G1},Symbol.toStringTag,{value:"Module"})),r7={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},o7=[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 K1(t,e){return o.openBlock(),o.createElementBlock("svg",r7,[...o7])}const a7=Object.freeze(Object.defineProperty({__proto__:null,default:{render:K1},render:K1},Symbol.toStringTag,{value:"Module"})),i7={width:"34",height:"31",viewBox:"0 0 34 31",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s7=[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 X1(t,e){return o.openBlock(),o.createElementBlock("svg",i7,[...s7])}const l7=Object.freeze(Object.defineProperty({__proto__:null,default:{render:X1},render:X1},Symbol.toStringTag,{value:"Module"})),c7={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d7=[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 Q1(t,e){return o.openBlock(),o.createElementBlock("svg",c7,[...d7])}const u7=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Q1},render:Q1},Symbol.toStringTag,{value:"Module"})),h7={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},f7=[o.createElementVNode("path",{d:"M17.0834 12.0846V17.0846H2.91669V12.0846M10 2.91797V12.5013M7.08335 10.0013L10 12.918L12.9167 10.0013",stroke:"#8E8E93","stroke-linecap":"square"},null,-1)];function J1(t,e){return o.openBlock(),o.createElementBlock("svg",h7,[...f7])}const p7=Object.freeze(Object.defineProperty({__proto__:null,default:{render:J1},render:J1},Symbol.toStringTag,{value:"Module"})),m7={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},_7=[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 ec(t,e){return o.openBlock(),o.createElementBlock("svg",m7,[..._7])}const g7=Object.freeze(Object.defineProperty({__proto__:null,default:{render:ec},render:ec},Symbol.toStringTag,{value:"Module"})),y7={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w7=[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 tc(t,e){return o.openBlock(),o.createElementBlock("svg",y7,[...w7])}const C7=Object.freeze(Object.defineProperty({__proto__:null,default:{render:tc},render:tc},Symbol.toStringTag,{value:"Module"})),b7={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},k7=[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 nc(t,e){return o.openBlock(),o.createElementBlock("svg",b7,[...k7])}const v7=Object.freeze(Object.defineProperty({__proto__:null,default:{render:nc},render:nc},Symbol.toStringTag,{value:"Module"})),x7={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},M7=[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 rc(t,e){return o.openBlock(),o.createElementBlock("svg",x7,[...M7])}const S7=Object.freeze(Object.defineProperty({__proto__:null,default:{render:rc},render:rc},Symbol.toStringTag,{value:"Module"})),$7={width:"19",height:"16",viewBox:"0 0 19 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L7=[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 oc(t,e){return o.openBlock(),o.createElementBlock("svg",$7,[...L7])}const B7=Object.freeze(Object.defineProperty({__proto__:null,default:{render:oc},render:oc},Symbol.toStringTag,{value:"Module"})),T7={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E7=[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 ac(t,e){return o.openBlock(),o.createElementBlock("svg",T7,[...E7])}const P7=Object.freeze(Object.defineProperty({__proto__:null,default:{render:ac},render:ac},Symbol.toStringTag,{value:"Module"})),V7={width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},O7=[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 ic(t,e){return o.openBlock(),o.createElementBlock("svg",V7,[...O7])}const D7=Object.freeze(Object.defineProperty({__proto__:null,default:{render:ic},render:ic},Symbol.toStringTag,{value:"Module"})),N7={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},A7=[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 0C11.7357 0 13.4433 0.452768 14.9526 1.31368C16.462 2.1746 17.7209 3.41395 18.6055 4.90958C19.49 6.40522 19.9695 8.10553 19.9968 9.84293C20.0241 11.5803 19.5982 13.2949 18.7611 14.8175L16.5703 13.6132C17.1982 12.4711 17.5176 11.1852 17.4971 9.88219C17.4767 8.57914 17.117 7.30392 16.4536 6.18219C15.7902 5.06046 14.846 4.13095 13.714 3.48526C12.582 2.83958 11.3013 2.5 9.99805 2.5V0Z",fill:"#007AFF"},null,-1)];function sc(t,e){return o.openBlock(),o.createElementBlock("svg",N7,[...A7])}const R7=Object.freeze(Object.defineProperty({__proto__:null,default:{render:sc},render:sc},Symbol.toStringTag,{value:"Module"})),F7={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},H7=[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 0C11.7357 0 13.4433 0.452768 14.9526 1.31368C16.462 2.1746 17.7209 3.41395 18.6055 4.90958C19.49 6.40522 19.9695 8.10553 19.9968 9.84293C20.0241 11.5803 19.5982 13.2949 18.7611 14.8175C17.924 16.3402 16.7046 17.6185 15.223 18.5264C13.7415 19.4343 12.0489 19.9405 10.3122 19.9951C8.5754 20.0496 6.85439 19.6507 5.31875 18.8377C3.78311 18.0246 2.48583 16.8254 1.55477 15.3583L3.66559 14.0187C4.36388 15.119 5.33684 16.0184 6.48857 16.6282C7.64031 17.2381 8.93106 17.5372 10.2336 17.4963C11.5362 17.4554 12.8056 17.0757 13.9168 16.3948C15.028 15.7139 15.9425 14.7552 16.5703 13.6132C17.1982 12.4711 17.5176 11.1852 17.4971 9.88219C17.4767 8.57914 17.117 7.30392 16.4536 6.18219C15.7902 5.06046 14.846 4.13095 13.714 3.48526C12.582 2.83958 11.3013 2.5 9.99805 2.5V0Z",fill:"#007AFF"},null,-1)];function lc(t,e){return o.openBlock(),o.createElementBlock("svg",F7,[...H7])}const z7=Object.freeze(Object.defineProperty({__proto__:null,default:{render:lc},render:lc},Symbol.toStringTag,{value:"Module"})),j7={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},I7=[o.createElementVNode("g",{id:"Frame"},[o.createElementVNode("path",{id:"Ellipse",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:"currentColor"})],-1)];function cc(t,e){return o.openBlock(),o.createElementBlock("svg",j7,[...I7])}const Y7=Object.freeze(Object.defineProperty({__proto__:null,default:{render:cc},render:cc},Symbol.toStringTag,{value:"Module"})),Z7={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},q7=[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 dc(t,e){return o.openBlock(),o.createElementBlock("svg",Z7,[...q7])}const U7=Object.freeze(Object.defineProperty({__proto__:null,default:{render:dc},render:dc},Symbol.toStringTag,{value:"Module"})),W7={width:"24",height:"23",viewBox:"0 0 24 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},G7=[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 uc(t,e){return o.openBlock(),o.createElementBlock("svg",W7,[...G7])}const K7=Object.freeze(Object.defineProperty({__proto__:null,default:{render:uc},render:uc},Symbol.toStringTag,{value:"Module"})),X7={width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Q7=[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 hc(t,e){return o.openBlock(),o.createElementBlock("svg",X7,[...Q7])}const J7=Object.freeze(Object.defineProperty({__proto__:null,default:{render:hc},render:hc},Symbol.toStringTag,{value:"Module"})),ef={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},tf=[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 fc(t,e){return o.openBlock(),o.createElementBlock("svg",ef,[...tf])}const nf=Object.freeze(Object.defineProperty({__proto__:null,default:{render:fc},render:fc},Symbol.toStringTag,{value:"Module"})),rf={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},of=[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 pc(t,e){return o.openBlock(),o.createElementBlock("svg",rf,[...of])}const af=Object.freeze(Object.defineProperty({__proto__:null,default:{render:pc},render:pc},Symbol.toStringTag,{value:"Module"})),sf={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},lf=[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 mc(t,e){return o.openBlock(),o.createElementBlock("svg",sf,[...lf])}const cf=Object.freeze(Object.defineProperty({__proto__:null,default:{render:mc},render:mc},Symbol.toStringTag,{value:"Module"})),df={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},uf=[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 _c(t,e){return o.openBlock(),o.createElementBlock("svg",df,[...uf])}const hf=Object.freeze(Object.defineProperty({__proto__:null,default:{render:_c},render:_c},Symbol.toStringTag,{value:"Module"})),ff={width:"126",height:"21",viewBox:"0 0 126 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},pf=[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 gc(t,e){return o.openBlock(),o.createElementBlock("svg",ff,[...pf])}const mf=Object.freeze(Object.defineProperty({__proto__:null,default:{render:gc},render:gc},Symbol.toStringTag,{value:"Module"})),_f={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},gf=[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:"#7F7F83","stroke-linecap":"round"},null,-1)];function yc(t,e){return o.openBlock(),o.createElementBlock("svg",_f,[...gf])}const yf=Object.freeze(Object.defineProperty({__proto__:null,default:{render:yc},render:yc},Symbol.toStringTag,{value:"Module"})),wf={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Cf=[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 wc(t,e){return o.openBlock(),o.createElementBlock("svg",wf,[...Cf])}const bf=Object.freeze(Object.defineProperty({__proto__:null,default:{render:wc},render:wc},Symbol.toStringTag,{value:"Module"})),kf={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},vf=[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 Cc(t,e){return o.openBlock(),o.createElementBlock("svg",kf,[...vf])}const xf=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Cc},render:Cc},Symbol.toStringTag,{value:"Module"})),Mf={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Sf=[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 bc(t,e){return o.openBlock(),o.createElementBlock("svg",Mf,[...Sf])}const $f=Object.freeze(Object.defineProperty({__proto__:null,default:{render:bc},render:bc},Symbol.toStringTag,{value:"Module"})),Lf={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},Bf=[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:"#7F7F83","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function kc(t,e){return o.openBlock(),o.createElementBlock("svg",Lf,[...Bf])}const Tf=Object.freeze(Object.defineProperty({__proto__:null,default:{render:kc},render:kc},Symbol.toStringTag,{value:"Module"})),Ef={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},Pf=[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:"#7F7F83","stroke-linecap":"square"},null,-1)];function vc(t,e){return o.openBlock(),o.createElementBlock("svg",Ef,[...Pf])}const Vf=Object.freeze(Object.defineProperty({__proto__:null,default:{render:vc},render:vc},Symbol.toStringTag,{value:"Module"})),Of={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Df=[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 xc(t,e){return o.openBlock(),o.createElementBlock("svg",Of,[...Df])}const Nf=Object.freeze(Object.defineProperty({__proto__:null,default:{render:xc},render:xc},Symbol.toStringTag,{value:"Module"})),Af={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Rf=[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 Mc(t,e){return o.openBlock(),o.createElementBlock("svg",Af,[...Rf])}const Ff=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Mc},render:Mc},Symbol.toStringTag,{value:"Module"})),Hf={width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},zf=[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 Sc(t,e){return o.openBlock(),o.createElementBlock("svg",Hf,[...zf])}const jf=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Sc},render:Sc},Symbol.toStringTag,{value:"Module"})),If={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Yf=[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 $c(t,e){return o.openBlock(),o.createElementBlock("svg",If,[...Yf])}const Zf=Object.freeze(Object.defineProperty({__proto__:null,default:{render:$c},render:$c},Symbol.toStringTag,{value:"Module"})),qf={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Uf=[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 Lc(t,e){return o.openBlock(),o.createElementBlock("svg",qf,[...Uf])}const Wf=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Lc},render:Lc},Symbol.toStringTag,{value:"Module"})),Gf={width:"23",height:"23",viewBox:"0 0 23 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Kf=[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 Bc(t,e){return o.openBlock(),o.createElementBlock("svg",Gf,[...Kf])}const Xf=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Bc},render:Bc},Symbol.toStringTag,{value:"Module"})),Qf={width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jf=[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 Tc(t,e){return o.openBlock(),o.createElementBlock("svg",Qf,[...Jf])}const ep=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Tc},render:Tc},Symbol.toStringTag,{value:"Module"})),tp={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},np=[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:"#7F7F83","stroke-linecap":"square"},null,-1)];function Ec(t,e){return o.openBlock(),o.createElementBlock("svg",tp,[...np])}const rp=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Ec},render:Ec},Symbol.toStringTag,{value:"Module"})),op={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},ap=[o.createElementVNode("path",{d:"M2.33337 2.33594H8.00004M13.6667 2.33594H8.00004M8.00004 2.33594V13.6693",stroke:"#7F7F83","stroke-linecap":"square"},null,-1)];function Pc(t,e){return o.openBlock(),o.createElementBlock("svg",op,[...ap])}const ip=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Pc},render:Pc},Symbol.toStringTag,{value:"Module"})),sp={xmlns:"http://www.w3.org/2000/svg",style:{width:"100%",height:"100%"},viewBox:"0 0 16 16",fill:"none"},lp=[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 Vc(t,e){return o.openBlock(),o.createElementBlock("svg",sp,[...lp])}const cp=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Vc},render:Vc},Symbol.toStringTag,{value:"Module"})),dp={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},up=[o.createElementVNode("circle",{cx:"10",cy:"10",r:"7.5",stroke:"#D1D4D6"},null,-1)];function Oc(t,e){return o.openBlock(),o.createElementBlock("svg",dp,[...up])}const hp=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Oc},render:Oc},Symbol.toStringTag,{value:"Module"})),fp={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},pp=[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.1104 27.8037C19.4495 28.7243 18.5312 29.1846 17.3555 29.1846C16.1797 29.1846 15.2568 28.7266 14.5869 27.8105C13.9215 26.89 13.5889 25.639 13.5889 24.0576C13.5889 22.4899 13.9238 21.248 14.5938 20.332C15.2637 19.4115 16.1842 18.9512 17.3555 18.9512C18.5267 18.9512 19.445 19.4092 20.1104 20.3252C20.7757 21.2367 21.1084 22.4785 21.1084 24.0508C21.1084 25.6322 20.7757 26.8831 20.1104 27.8037ZM15.7217 26.8809C16.109 27.5599 16.6536 27.8994 17.3555 27.8994C18.0573 27.8994 18.5996 27.5599 18.9824 26.8809C19.3698 26.1973 19.5635 25.2562 19.5635 24.0576C19.5635 22.8727 19.3675 21.9408 18.9756 21.2617C18.5882 20.5781 18.0482 20.2363 17.3555 20.2363C16.6628 20.2363 16.1204 20.5781 15.7285 21.2617C15.3366 21.9453 15.1406 22.8773 15.1406 24.0576C15.1406 25.2562 15.3343 26.1973 15.7217 26.8809ZM23.0293 31.1055H21.7168L25.2168 19.1357H26.5293L23.0293 31.1055ZM29.4414 24.5361V23.333H30.6309C31.1595 23.333 31.5902 23.1826 31.9229 22.8818C32.2601 22.5811 32.4287 22.1982 32.4287 21.7334C32.4287 21.264 32.2715 20.8926 31.957 20.6191C31.6471 20.3457 31.2051 20.209 30.6309 20.209C30.0977 20.209 29.6647 20.3525 29.332 20.6396C28.9993 20.9222 28.8102 21.3073 28.7646 21.7949H27.3223C27.3815 20.929 27.7142 20.2386 28.3203 19.7236C28.931 19.2087 29.724 18.9512 30.6992 18.9512C31.638 18.9512 32.4105 19.1927 33.0166 19.6758C33.6227 20.1543 33.9258 20.7718 33.9258 21.5283C33.9258 22.139 33.7412 22.654 33.3721 23.0732C33.0029 23.488 32.5107 23.75 31.8955 23.8594V23.8867C32.6429 23.9368 33.2354 24.1761 33.6729 24.6045C34.1149 25.0329 34.3359 25.5911 34.3359 26.2793C34.3359 27.1315 33.9919 27.8288 33.3037 28.3711C32.6156 28.9134 31.752 29.1846 30.7129 29.1846C29.6602 29.1846 28.8102 28.9225 28.1631 28.3984C27.5205 27.8698 27.1742 27.1748 27.124 26.3135H28.5938C28.6439 26.792 28.8558 27.1771 29.2295 27.4688C29.6077 27.7604 30.1022 27.9062 30.7129 27.9062C31.3145 27.9062 31.8089 27.7536 32.1963 27.4482C32.5837 27.1383 32.7773 26.7419 32.7773 26.2588C32.7773 25.7256 32.5882 25.3063 32.21 25.001C31.8363 24.6911 31.3236 24.5361 30.6719 24.5361H29.4414Z",fill:"#1C2026"},null,-1)];function Dc(t,e){return o.openBlock(),o.createElementBlock("svg",fp,[...pp])}const mp=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Dc},render:Dc},Symbol.toStringTag,{value:"Module"})),_p={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},gp=[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 0C28.1703 0 32.2686 1.08665 35.891 3.15284C39.5134 5.21904 42.535 8.19347 44.6578 11.783C46.7807 15.3725 47.9315 19.4533 47.997 23.623C48.0625 27.7928 47.0404 31.9076 45.0314 35.5621L41.8767 33.8278C43.5843 30.7215 44.4532 27.2239 44.3975 23.6796C44.3418 20.1353 43.3636 16.6667 41.5591 13.6156C39.7547 10.5645 37.1864 8.03618 34.1074 6.27991C31.0283 4.52365 27.5447 3.6 24 3.6V0Z",fill:"#34C759"},null,-1),o.createElementVNode("path",{d:"M17.417 29V20.6533H17.3828L14.8057 22.4854V20.9814L17.4033 19.1357H18.9141V29H17.417ZM21.8672 31.1055H20.5547L24.0547 19.1357H25.3672L21.8672 31.1055ZM28.2793 24.5361V23.333H29.4688C29.9974 23.333 30.4281 23.1826 30.7607 22.8818C31.098 22.5811 31.2666 22.1982 31.2666 21.7334C31.2666 21.264 31.1094 20.8926 30.7949 20.6191C30.485 20.3457 30.043 20.209 29.4688 20.209C28.9355 20.209 28.5026 20.3525 28.1699 20.6396C27.8372 20.9222 27.6481 21.3073 27.6025 21.7949H26.1602C26.2194 20.929 26.5521 20.2386 27.1582 19.7236C27.7689 19.2087 28.5618 18.9512 29.5371 18.9512C30.4759 18.9512 31.2484 19.1927 31.8545 19.6758C32.4606 20.1543 32.7637 20.7718 32.7637 21.5283C32.7637 22.139 32.5791 22.654 32.21 23.0732C31.8408 23.488 31.3486 23.75 30.7334 23.8594V23.8867C31.4808 23.9368 32.0732 24.1761 32.5107 24.6045C32.9528 25.0329 33.1738 25.5911 33.1738 26.2793C33.1738 27.1315 32.8298 27.8288 32.1416 28.3711C31.4535 28.9134 30.5898 29.1846 29.5508 29.1846C28.498 29.1846 27.6481 28.9225 27.001 28.3984C26.3584 27.8698 26.012 27.1748 25.9619 26.3135H27.4316C27.4818 26.792 27.6937 27.1771 28.0674 27.4688C28.4456 27.7604 28.9401 27.9062 29.5508 27.9062C30.1523 27.9062 30.6468 27.7536 31.0342 27.4482C31.4215 27.1383 31.6152 26.7419 31.6152 26.2588C31.6152 25.7256 31.4261 25.3063 31.0479 25.001C30.6742 24.6911 30.1615 24.5361 29.5098 24.5361H28.2793Z",fill:"#1C2026"},null,-1)];function Nc(t,e){return o.openBlock(),o.createElementBlock("svg",_p,[...gp])}const yp=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Nc},render:Nc},Symbol.toStringTag,{value:"Module"})),wp={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Cp=[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 0C28.1703 0 32.2686 1.08665 35.891 3.15284C39.5134 5.21904 42.535 8.19347 44.6578 11.783C46.7807 15.3725 47.9315 19.4533 47.997 23.623C48.0625 27.7928 47.0404 31.9076 45.0314 35.5621C43.0223 39.2165 40.0957 42.2844 36.54 44.4634C32.9842 46.6423 28.9221 47.8572 24.7539 47.9882C20.5856 48.1191 16.4552 47.1618 12.7697 45.2104C9.08414 43.259 5.97068 40.3809 3.73613 36.8598L6.77571 34.9309C8.67507 37.9238 11.3215 40.3701 14.4542 42.0288C17.5869 43.6875 21.0978 44.5013 24.6408 44.3899C28.1838 44.2786 31.6366 43.246 34.659 41.3939C37.6814 39.5417 40.169 36.934 41.8767 33.8278C43.5843 30.7215 44.4532 27.2239 44.3975 23.6796C44.3418 20.1353 43.3636 16.6667 41.5591 13.6156C39.7547 10.5645 37.1864 8.03618 34.1074 6.27991C31.0283 4.52365 27.5447 3.6 24 3.6V0Z",fill:"#34C759"},null,-1),o.createElementVNode("path",{d:"M13.9854 22.0273C13.9854 21.1387 14.3044 20.4049 14.9424 19.8262C15.585 19.2428 16.3962 18.9512 17.376 18.9512C18.3148 18.9512 19.0964 19.2155 19.7207 19.7441C20.3451 20.2728 20.6572 20.929 20.6572 21.7129C20.6572 22.2643 20.5046 22.7884 20.1992 23.2852C19.8939 23.7773 19.3607 24.4131 18.5996 25.1924L16.1318 27.6738V27.708H20.8145V29H14.0674V27.9609L17.6289 24.3311C18.2305 23.7021 18.6338 23.2191 18.8389 22.8818C19.0439 22.54 19.1465 22.1755 19.1465 21.7881C19.1465 21.3506 18.971 20.9792 18.6201 20.6738C18.2692 20.3685 17.8385 20.2158 17.3281 20.2158C16.7904 20.2158 16.3392 20.389 15.9746 20.7354C15.6146 21.0771 15.4346 21.5055 15.4346 22.0205V22.041H13.9854V22.0273ZM22.7217 31.1055H21.4092L24.9092 19.1357H26.2217L22.7217 31.1055ZM29.1338 24.5361V23.333H30.3232C30.8519 23.333 31.2826 23.1826 31.6152 22.8818C31.9525 22.5811 32.1211 22.1982 32.1211 21.7334C32.1211 21.264 31.9639 20.8926 31.6494 20.6191C31.3395 20.3457 30.8975 20.209 30.3232 20.209C29.79 20.209 29.3571 20.3525 29.0244 20.6396C28.6917 20.9222 28.5026 21.3073 28.457 21.7949H27.0146C27.0739 20.929 27.4066 20.2386 28.0127 19.7236C28.6234 19.2087 29.4163 18.9512 30.3916 18.9512C31.3304 18.9512 32.1029 19.1927 32.709 19.6758C33.3151 20.1543 33.6182 20.7718 33.6182 21.5283C33.6182 22.139 33.4336 22.654 33.0645 23.0732C32.6953 23.488 32.2031 23.75 31.5879 23.8594V23.8867C32.3353 23.9368 32.9277 24.1761 33.3652 24.6045C33.8073 25.0329 34.0283 25.5911 34.0283 26.2793C34.0283 27.1315 33.6842 27.8288 32.9961 28.3711C32.3079 28.9134 31.4443 29.1846 30.4053 29.1846C29.3525 29.1846 28.5026 28.9225 27.8555 28.3984C27.2129 27.8698 26.8665 27.1748 26.8164 26.3135H28.2861C28.3363 26.792 28.5482 27.1771 28.9219 27.4688C29.3001 27.7604 29.7946 27.9062 30.4053 27.9062C31.0068 27.9062 31.5013 27.7536 31.8887 27.4482C32.276 27.1383 32.4697 26.7419 32.4697 26.2588C32.4697 25.7256 32.2806 25.3063 31.9023 25.001C31.5286 24.6911 31.016 24.5361 30.3643 24.5361H29.1338Z",fill:"#1C2026"},null,-1)];function Ac(t,e){return o.openBlock(),o.createElementBlock("svg",wp,[...Cp])}const bp=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Ac},render:Ac},Symbol.toStringTag,{value:"Module"})),kp={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},vp=[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:"M16.0293 24.5361V23.333H17.2188C17.7474 23.333 18.1781 23.1826 18.5107 22.8818C18.848 22.5811 19.0166 22.1982 19.0166 21.7334C19.0166 21.264 18.8594 20.8926 18.5449 20.6191C18.235 20.3457 17.793 20.209 17.2188 20.209C16.6855 20.209 16.2526 20.3525 15.9199 20.6396C15.5872 20.9222 15.3981 21.3073 15.3525 21.7949H13.9102C13.9694 20.929 14.3021 20.2386 14.9082 19.7236C15.5189 19.2087 16.3118 18.9512 17.2871 18.9512C18.2259 18.9512 18.9984 19.1927 19.6045 19.6758C20.2106 20.1543 20.5137 20.7718 20.5137 21.5283C20.5137 22.139 20.3291 22.654 19.96 23.0732C19.5908 23.488 19.0986 23.75 18.4834 23.8594V23.8867C19.2308 23.9368 19.8232 24.1761 20.2607 24.6045C20.7028 25.0329 20.9238 25.5911 20.9238 26.2793C20.9238 27.1315 20.5798 27.8288 19.8916 28.3711C19.2035 28.9134 18.3398 29.1846 17.3008 29.1846C16.248 29.1846 15.3981 28.9225 14.751 28.3984C14.1084 27.8698 13.762 27.1748 13.7119 26.3135H15.1816C15.2318 26.792 15.4437 27.1771 15.8174 27.4688C16.1956 27.7604 16.6901 27.9062 17.3008 27.9062C17.9023 27.9062 18.3968 27.7536 18.7842 27.4482C19.1715 27.1383 19.3652 26.7419 19.3652 26.2588C19.3652 25.7256 19.1761 25.3063 18.7979 25.001C18.4242 24.6911 17.9115 24.5361 17.2598 24.5361H16.0293ZM22.9062 31.1055H21.5938L25.0938 19.1357H26.4062L22.9062 31.1055ZM29.3184 24.5361V23.333H30.5078C31.0365 23.333 31.4671 23.1826 31.7998 22.8818C32.137 22.5811 32.3057 22.1982 32.3057 21.7334C32.3057 21.264 32.1484 20.8926 31.834 20.6191C31.5241 20.3457 31.082 20.209 30.5078 20.209C29.9746 20.209 29.5417 20.3525 29.209 20.6396C28.8763 20.9222 28.6872 21.3073 28.6416 21.7949H27.1992C27.2585 20.929 27.5911 20.2386 28.1973 19.7236C28.8079 19.2087 29.6009 18.9512 30.5762 18.9512C31.515 18.9512 32.2874 19.1927 32.8936 19.6758C33.4997 20.1543 33.8027 20.7718 33.8027 21.5283C33.8027 22.139 33.6182 22.654 33.249 23.0732C32.8799 23.488 32.3877 23.75 31.7725 23.8594V23.8867C32.5199 23.9368 33.1123 24.1761 33.5498 24.6045C33.9919 25.0329 34.2129 25.5911 34.2129 26.2793C34.2129 27.1315 33.8688 27.8288 33.1807 28.3711C32.4925 28.9134 31.6289 29.1846 30.5898 29.1846C29.5371 29.1846 28.6872 28.9225 28.04 28.3984C27.3975 27.8698 27.0511 27.1748 27.001 26.3135H28.4707C28.5208 26.792 28.7327 27.1771 29.1064 27.4688C29.4847 27.7604 29.9792 27.9062 30.5898 27.9062C31.1914 27.9062 31.6859 27.7536 32.0732 27.4482C32.4606 27.1383 32.6543 26.7419 32.6543 26.2588C32.6543 25.7256 32.4652 25.3063 32.0869 25.001C31.7132 24.6911 31.2005 24.5361 30.5488 24.5361H29.3184Z",fill:"#1C2026"},null,-1)];function Rc(t,e){return o.openBlock(),o.createElementBlock("svg",kp,[...vp])}const xp=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Rc},render:Rc},Symbol.toStringTag,{value:"Module"})),Mp={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Sp=[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 Fc(t,e){return o.openBlock(),o.createElementBlock("svg",Mp,[...Sp])}const $p=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Fc},render:Fc},Symbol.toStringTag,{value:"Module"})),Lp={width:"126",height:"21",viewBox:"0 0 126 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Bp=[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 Hc(t,e){return o.openBlock(),o.createElementBlock("svg",Lp,[...Bp])}const Tp=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Hc},render:Hc},Symbol.toStringTag,{value:"Module"})),Ep={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},Pp=[o.createElementVNode("path",{d:"M16.875 16.8763L13.5833 13.5846M15.4167 9.16797C15.4167 12.6197 12.6185 15.418 9.16669 15.418C5.71491 15.418 2.91669 12.6197 2.91669 9.16797C2.91669 5.71619 5.71491 2.91797 9.16669 2.91797C12.6185 2.91797 15.4167 5.71619 15.4167 9.16797Z",stroke:"#8E8E93","stroke-linecap":"square"},null,-1)];function zc(t,e){return o.openBlock(),o.createElementBlock("svg",Ep,[...Pp])}const Vp=Object.freeze(Object.defineProperty({__proto__:null,default:{render:zc},render:zc},Symbol.toStringTag,{value:"Module"})),Op={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},Dp=[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 jc(t,e){return o.openBlock(),o.createElementBlock("svg",Op,[...Dp])}const Np=Object.freeze(Object.defineProperty({__proto__:null,default:{render:jc},render:jc},Symbol.toStringTag,{value:"Module"})),Ap={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},Rp=[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:"#7F7F83","stroke-linecap":"square","stroke-linejoin":"round"},null,-1)];function Ic(t,e){return o.openBlock(),o.createElementBlock("svg",Ap,[...Rp])}const Fp=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Ic},render:Ic},Symbol.toStringTag,{value:"Module"})),Hp={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},zp=[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:"#8E8E93"},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:"#8E8E93"},null,-1)];function Yc(t,e){return o.openBlock(),o.createElementBlock("svg",Hp,[...zp])}const jp=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Yc},render:Yc},Symbol.toStringTag,{value:"Module"})),Ip={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Yp=[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 Zc(t,e){return o.openBlock(),o.createElementBlock("svg",Ip,[...Yp])}const Zp=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Zc},render:Zc},Symbol.toStringTag,{value:"Module"})),qp={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},Up=[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:"#7F7F83","stroke-linecap":"round"},null,-1)];function qc(t,e){return o.openBlock(),o.createElementBlock("svg",qp,[...Up])}const Wp=Object.freeze(Object.defineProperty({__proto__:null,default:{render:qc},render:qc},Symbol.toStringTag,{value:"Module"})),Gp={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Kp=[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 Uc(t,e){return o.openBlock(),o.createElementBlock("svg",Gp,[...Kp])}const Xp=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Uc},render:Uc},Symbol.toStringTag,{value:"Module"})),Qp={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},Jp=[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:"#7F7F83","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function Wc(t,e){return o.openBlock(),o.createElementBlock("svg",Qp,[...Jp])}const e8=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Wc},render:Wc},Symbol.toStringTag,{value:"Module"})),t8={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},n8=[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 Gc(t,e){return o.openBlock(),o.createElementBlock("svg",t8,[...n8])}const r8=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Gc},render:Gc},Symbol.toStringTag,{value:"Module"})),o8={width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a8=[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 Kc(t,e){return o.openBlock(),o.createElementBlock("svg",o8,[...a8])}const i8=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Kc},render:Kc},Symbol.toStringTag,{value:"Module"})),s8={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l8=[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 Xc(t,e){return o.openBlock(),o.createElementBlock("svg",s8,[...l8])}const c8=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Xc},render:Xc},Symbol.toStringTag,{value:"Module"})),d8={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},u8=[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:"#7F7F83","stroke-linecap":"square"},null,-1)];function Qc(t,e){return o.openBlock(),o.createElementBlock("svg",d8,[...u8])}const h8=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Qc},render:Qc},Symbol.toStringTag,{value:"Module"})),f8={xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",preserveAspectRatio:"none"},p8=[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 Jc(t,e){return o.openBlock(),o.createElementBlock("svg",f8,[...p8])}const m8=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Jc},render:Jc},Symbol.toStringTag,{value:"Module"})),_8={width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g8=[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 ed(t,e){return o.openBlock(),o.createElementBlock("svg",_8,[...g8])}const y8=Object.freeze(Object.defineProperty({__proto__:null,default:{render:ed},render:ed},Symbol.toStringTag,{value:"Module"})),w8={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},C8=[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 td(t,e){return o.openBlock(),o.createElementBlock("svg",w8,[...C8])}const b8=Object.freeze(Object.defineProperty({__proto__:null,default:{render:td},render:td},Symbol.toStringTag,{value:"Module"})),k8={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},v8=[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 nd(t,e){return o.openBlock(),o.createElementBlock("svg",k8,[...v8])}const x8=Object.freeze(Object.defineProperty({__proto__:null,default:{render:nd},render:nd},Symbol.toStringTag,{value:"Module"})),M8={width:"18",height:"14",viewBox:"0 0 18 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},S8=[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 rd(t,e){return o.openBlock(),o.createElementBlock("svg",M8,[...S8])}const $8=Object.freeze(Object.defineProperty({__proto__:null,default:{render:rd},render:rd},Symbol.toStringTag,{value:"Module"})),L8={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},B8=[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 od(t,e){return o.openBlock(),o.createElementBlock("svg",L8,[...B8])}const T8=Object.freeze(Object.defineProperty({__proto__:null,default:{render:od},render:od},Symbol.toStringTag,{value:"Module"})),E8={width:"29",height:"34",viewBox:"0 0 29 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"},P8=[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 ad(t,e){return o.openBlock(),o.createElementBlock("svg",E8,[...P8])}const V8=Object.freeze(Object.defineProperty({__proto__:null,default:{render:ad},render:ad},Symbol.toStringTag,{value:"Module"})),O8={width:"31",height:"32",viewBox:"0 0 31 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},D8=[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 id(t,e){return o.openBlock(),o.createElementBlock("svg",O8,[...D8])}const N8=Object.freeze(Object.defineProperty({__proto__:null,default:{render:id},render:id},Symbol.toStringTag,{value:"Module"})),A8={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},R8=[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 sd(t,e){return o.openBlock(),o.createElementBlock("svg",A8,[...R8])}const F8=Object.freeze(Object.defineProperty({__proto__:null,default:{render:sd},render:sd},Symbol.toStringTag,{value:"Module"})),H8={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},z8=[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:"#7F7F83","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function ld(t,e){return o.openBlock(),o.createElementBlock("svg",H8,[...z8])}const j8=Object.freeze(Object.defineProperty({__proto__:null,default:{render:ld},render:ld},Symbol.toStringTag,{value:"Module"})),I8={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"},Y8=[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 cd(t,e){return o.openBlock(),o.createElementBlock("svg",I8,[...Y8])}const Z8=Object.freeze(Object.defineProperty({__proto__:null,default:{render:cd},render:cd},Symbol.toStringTag,{value:"Module"}));_e.Button=hd,_e.Calendar=i6,_e.CheckBox=Gd,_e.Confetti=Eh,_e.CookieManager=ht,_e.Dropdown=Td,_e.Icon=Qe,_e.Input=Dd,_e.Menu=Qd,_e.NavigationTab=m6,_e.NumberInput=h6,_e.Radio=Hd,_e.Selector=l6,_e.SidebarPopup=Uh,_e.Switcher=t2,_e.Toast=Nl,_e.Toggle=Zd,_e.firebaseConfig=i9,_e.scopeInstance=go,_e.useToast=_1,Object.defineProperty(_e,Symbol.toStringTag,{value:"Module"})});
|
|
17
|
+
*/var T0,Oi,Gs,ou,as,D0,au,c8=function(){return typeof window<"u"},Qr={},ls=180/Math.PI,Ks=Math.PI/180,Xs=Math.atan2,P0=1e8,lu=/([A-Z])/g,d8=/(left|right|width|margin|padding|x)/i,u8=/[\s,\(]\S/,Er={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},cu=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},h8=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)},f8=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)},p8=function(e,n){var r=n.s+n.c*e;n.set(n.t,n.p,~~(r+(r<0?-.5:.5))+n.u,n)},O0=function(e,n){return n.set(n.t,n.p,e?n.e:n.b,n)},E0=function(e,n){return n.set(n.t,n.p,e!==1?n.b:n.e,n)},m8=function(e,n,r){return e.style[n]=r},g8=function(e,n,r){return e.style.setProperty(n,r)},_8=function(e,n,r){return e._gsap[n]=r},y8=function(e,n,r){return e._gsap.scaleX=e._gsap.scaleY=r},b8=function(e,n,r,i,s){var a=e._gsap;a.scaleX=a.scaleY=r,a.renderTransform(s,a)},w8=function(e,n,r,i,s){var a=e._gsap;a[n]=r,a.renderTransform(s,a)},Et="transform",wn=Et+"Origin",C8=function t(e,n){var r=this,i=this.target,s=i.style,a=i._gsap;if(e in Qr&&s){if(this.tfm=this.tfm||{},e!=="transform")e=Er[e]||e,~e.indexOf(",")?e.split(",").forEach(function(l){return r.tfm[l]=Jr(i,l)}):this.tfm[e]=a.x?a[e]:Jr(i,e),e===wn&&(this.tfm.zOrigin=a.zOrigin);else return Er.transform.split(",").forEach(function(l){return t.call(r,l,n)});if(this.props.indexOf(Et)>=0)return;a.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(wn,n,"")),e=Et}(s||n)&&this.props.push(e,n,s[e])},L0=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},k8=function(){var e=this.props,n=this.target,r=n.style,i=n._gsap,s,a;for(s=0;s<e.length;s+=3)e[s+1]?n[e[s]]=e[s+2]:e[s+2]?r[e[s]]=e[s+2]:r.removeProperty(e[s].substr(0,2)==="--"?e[s]:e[s].replace(lu,"-$1").toLowerCase());if(this.tfm){for(a in this.tfm)i[a]=this.tfm[a];i.svg&&(i.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),s=au(),(!s||!s.isStart)&&!r[Et]&&(L0(r),i.zOrigin&&r[wn]&&(r[wn]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},$0=function(e,n){var r={target:e,props:[],revert:k8,save:C8};return e._gsap||bn.core.getCache(e),n&&n.split(",").forEach(function(i){return r.save(i)}),r},V0,du=function(e,n){var r=Oi.createElementNS?Oi.createElementNS((n||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Oi.createElement(e);return r&&r.style?r:Oi.createElement(e)},Lr=function t(e,n,r){var i=getComputedStyle(e);return i[n]||i.getPropertyValue(n.replace(lu,"-$1").toLowerCase())||i.getPropertyValue(n)||!r&&t(e,Qs(n)||n,1)||""},N0="O,Moz,ms,Ms,Webkit".split(","),Qs=function(e,n,r){var i=n||as,s=i.style,a=5;if(e in s&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);a--&&!(N0[a]+e in s););return a<0?null:(a===3?"ms":a>=0?N0[a]:"")+e},uu=function(){c8()&&window.document&&(T0=window,Oi=T0.document,Gs=Oi.documentElement,as=du("div")||{style:{}},du("div"),Et=Qs(Et),wn=Et+"Origin",as.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",V0=!!Qs("perspective"),au=bn.core.reverting,ou=1)},hu=function t(e){var n=du("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,i=this.nextSibling,s=this.style.cssText,a;if(Gs.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&&(i?r.insertBefore(this,i):r.appendChild(this)),Gs.removeChild(n),this.style.cssText=s,a},B0=function(e,n){for(var r=n.length;r--;)if(e.hasAttribute(n[r]))return e.getAttribute(n[r])},A0=function(e){var n;try{n=e.getBBox()}catch{n=hu.call(e,!0)}return n&&(n.width||n.height)||e.getBBox===hu||(n=hu.call(e,!0)),n&&!n.width&&!n.x&&!n.y?{x:+B0(e,["x","cx","x1"])||0,y:+B0(e,["y","cy","y1"])||0,width:0,height:0}:n},R0=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&A0(e))},cs=function(e,n){if(n){var r=e.style,i;n in Qr&&n!==wn&&(n=Et),r.removeProperty?(i=n.substr(0,2),(i==="ms"||n.substr(0,6)==="webkit")&&(n="-"+n),r.removeProperty(i==="--"?n:n.replace(lu,"-$1").toLowerCase())):r.removeAttribute(n)}},Ei=function(e,n,r,i,s,a){var l=new yn(e._pt,n,r,0,1,a?E0:O0);return e._pt=l,l.b=i,l.e=s,e._props.push(r),l},F0={deg:1,rad:1,turn:1},v8={grid:1,flex:1},Li=function t(e,n,r,i){var s=parseFloat(r)||0,a=(r+"").trim().substr((s+"").length)||"px",l=as.style,c=d8.test(n),u=e.tagName.toLowerCase()==="svg",h=(u?"client":"offset")+(c?"Width":"Height"),p=100,g=i==="px",w=i==="%",C,b,x,M;if(i===a||!s||F0[i]||F0[a])return s;if(a!=="px"&&!g&&(s=t(e,n,r,"px")),M=e.getCTM&&R0(e),(w||a==="%")&&(Qr[n]||~n.indexOf("adius")))return C=M?e.getBBox()[c?"width":"height"]:e[h],Yt(w?s/C*p:s/100*C);if(l[c?"width":"height"]=p+(g?a:i),b=~n.indexOf("adius")||i==="em"&&e.appendChild&&!u?e:e.parentNode,M&&(b=(e.ownerSVGElement||{}).parentNode),(!b||b===Oi||!b.appendChild)&&(b=Oi.body),x=b._gsap,x&&w&&x.width&&c&&x.time===Nn.time&&!x.uncache)return Yt(s/x.width*p);if(w&&(n==="height"||n==="width")){var L=e.style[n];e.style[n]=p+i,C=e[h],L?e.style[n]=L:cs(e,n)}else(w||a==="%")&&!v8[Lr(b,"display")]&&(l.position=Lr(e,"position")),b===e&&(l.position="static"),b.appendChild(as),C=as[h],b.removeChild(as),l.position="absolute";return c&&w&&(x=ts(b),x.time=Nn.time,x.width=b[h]),Yt(g?C*s/p:C&&s?p/C*s:0)},Jr=function(e,n,r,i){var s;return ou||uu(),n in Er&&n!=="transform"&&(n=Er[n],~n.indexOf(",")&&(n=n.split(",")[0])),Qr[n]&&n!=="transform"?(s=Ko(e,i),s=n!=="transformOrigin"?s[n]:s.svg?s.origin:pl(Lr(e,wn))+" "+s.zOrigin+"px"):(s=e.style[n],(!s||s==="auto"||i||~(s+"").indexOf("calc("))&&(s=fl[n]&&fl[n](e,n,r)||Lr(e,n)||jf(e,n)||(n==="opacity"?1:0))),r&&!~(s+"").trim().indexOf(" ")?Li(e,n,s,r)+r:s},x8=function(e,n,r,i){if(!r||r==="none"){var s=Qs(n,e,1),a=s&&Lr(e,s,1);a&&a!==r?(n=s,r=a):n==="borderColor"&&(r=Lr(e,"borderTopColor"))}var l=new yn(this._pt,e.style,n,0,1,v0),c=0,u=0,h,p,g,w,C,b,x,M,L,P,$,V;if(l.b=r,l.e=i,r+="",i+="",i==="auto"&&(b=e.style[n],e.style[n]=i,i=Lr(e,n)||i,b?e.style[n]=b:cs(e,n)),h=[r,i],f0(h),r=h[0],i=h[1],g=r.match(js)||[],V=i.match(js)||[],V.length){for(;p=js.exec(i);)x=p[0],L=i.substring(c,p.index),C?C=(C+1)%5:(L.substr(-5)==="rgba("||L.substr(-5)==="hsla(")&&(C=1),x!==(b=g[u++]||"")&&(w=parseFloat(b)||0,$=b.substr((w+"").length),x.charAt(1)==="="&&(x=Ys(w,x)+$),M=parseFloat(x),P=x.substr((M+"").length),c=js.lastIndex-P.length,P||(P=P||En.units[n]||$,c===i.length&&(i+=P,l.e+=P)),$!==P&&(w=Li(e,n,b,P)||0),l._pt={_next:l._pt,p:L||u===1?L:",",s:w,c:M-w,m:C&&C<4||n==="zIndex"?Math.round:0});l.c=c<i.length?i.substring(c,i.length):""}else l.r=n==="display"&&i==="none"?E0:O0;return Bf.test(i)&&(l.e=0),this._pt=l,l},I0={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},S8=function(e){var n=e.split(" "),r=n[0],i=n[1]||"50%";return(r==="top"||r==="bottom"||i==="left"||i==="right")&&(e=r,r=i,i=e),n[0]=I0[r]||r,n[1]=I0[i]||i,n.join(" ")},M8=function(e,n){if(n.tween&&n.tween._time===n.tween._dur){var r=n.t,i=r.style,s=n.u,a=r._gsap,l,c,u;if(s==="all"||s===!0)i.cssText="",c=1;else for(s=s.split(","),u=s.length;--u>-1;)l=s[u],Qr[l]&&(c=1,l=l==="transformOrigin"?wn:Et),cs(r,l);c&&(cs(r,Et),a&&(a.svg&&r.removeAttribute("transform"),Ko(r,1),a.uncache=1,L0(i)))}},fl={clearProps:function(e,n,r,i,s){if(s.data!=="isFromStart"){var a=e._pt=new yn(e._pt,n,r,0,0,M8);return a.u=i,a.pr=-10,a.tween=s,e._props.push(r),1}}},Go=[1,0,0,1,0,0],H0={},z0=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},j0=function(e){var n=Lr(e,Et);return z0(n)?Go:n.substr(7).match(Nf).map(Yt)},fu=function(e,n){var r=e._gsap||ts(e),i=e.style,s=j0(e),a,l,c,u;return r.svg&&e.getAttribute("transform")?(c=e.transform.baseVal.consolidate().matrix,s=[c.a,c.b,c.c,c.d,c.e,c.f],s.join(",")==="1,0,0,1,0,0"?Go:s):(s===Go&&!e.offsetParent&&e!==Gs&&!r.svg&&(c=i.display,i.display="block",a=e.parentNode,(!a||!e.offsetParent)&&(u=1,l=e.nextElementSibling,Gs.appendChild(e)),s=j0(e),c?i.display=c:cs(e,"display"),u&&(l?a.insertBefore(e,l):a?a.appendChild(e):Gs.removeChild(e))),n&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},pu=function(e,n,r,i,s,a){var l=e._gsap,c=s||fu(e,!0),u=l.xOrigin||0,h=l.yOrigin||0,p=l.xOffset||0,g=l.yOffset||0,w=c[0],C=c[1],b=c[2],x=c[3],M=c[4],L=c[5],P=n.split(" "),$=parseFloat(P[0])||0,V=parseFloat(P[1])||0,F,m,R,B;r?c!==Go&&(m=w*x-C*b)&&(R=$*(x/m)+V*(-b/m)+(b*L-x*M)/m,B=$*(-C/m)+V*(w/m)-(w*L-C*M)/m,$=R,V=B):(F=A0(e),$=F.x+(~P[0].indexOf("%")?$/100*F.width:$),V=F.y+(~(P[1]||P[0]).indexOf("%")?V/100*F.height:V)),i||i!==!1&&l.smooth?(M=$-u,L=V-h,l.xOffset=p+(M*w+L*b)-M,l.yOffset=g+(M*C+L*x)-L):l.xOffset=l.yOffset=0,l.xOrigin=$,l.yOrigin=V,l.smooth=!!i,l.origin=n,l.originIsAbsolute=!!r,e.style[wn]="0px 0px",a&&(Ei(a,l,"xOrigin",u,$),Ei(a,l,"yOrigin",h,V),Ei(a,l,"xOffset",p,l.xOffset),Ei(a,l,"yOffset",g,l.yOffset)),e.setAttribute("data-svg-origin",$+" "+V)},Ko=function(e,n){var r=e._gsap||new _0(e);if("x"in r&&!n&&!r.uncache)return r;var i=e.style,s=r.scaleX<0,a="px",l="deg",c=getComputedStyle(e),u=Lr(e,wn)||"0",h,p,g,w,C,b,x,M,L,P,$,V,F,m,R,B,ne,ce,W,j,ue,A,O,U,de,be,he,q,X,D,T,J;return h=p=g=b=x=M=L=P=$=0,w=C=1,r.svg=!!(e.getCTM&&R0(e)),c.translate&&((c.translate!=="none"||c.scale!=="none"||c.rotate!=="none")&&(i[Et]=(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[Et]!=="none"?c[Et]:"")),i.scale=i.rotate=i.translate="none"),m=fu(e,r.svg),r.svg&&(r.uncache?(de=e.getBBox(),u=r.xOrigin-de.x+"px "+(r.yOrigin-de.y)+"px",U=""):U=!n&&e.getAttribute("data-svg-origin"),pu(e,U||u,!!U||r.originIsAbsolute,r.smooth!==!1,m)),V=r.xOrigin||0,F=r.yOrigin||0,m!==Go&&(ce=m[0],W=m[1],j=m[2],ue=m[3],h=A=m[4],p=O=m[5],m.length===6?(w=Math.sqrt(ce*ce+W*W),C=Math.sqrt(ue*ue+j*j),b=ce||W?Xs(W,ce)*ls:0,L=j||ue?Xs(j,ue)*ls+b:0,L&&(C*=Math.abs(Math.cos(L*Ks))),r.svg&&(h-=V-(V*ce+F*j),p-=F-(V*W+F*ue))):(J=m[6],D=m[7],he=m[8],q=m[9],X=m[10],T=m[11],h=m[12],p=m[13],g=m[14],R=Xs(J,X),x=R*ls,R&&(B=Math.cos(-R),ne=Math.sin(-R),U=A*B+he*ne,de=O*B+q*ne,be=J*B+X*ne,he=A*-ne+he*B,q=O*-ne+q*B,X=J*-ne+X*B,T=D*-ne+T*B,A=U,O=de,J=be),R=Xs(-j,X),M=R*ls,R&&(B=Math.cos(-R),ne=Math.sin(-R),U=ce*B-he*ne,de=W*B-q*ne,be=j*B-X*ne,T=ue*ne+T*B,ce=U,W=de,j=be),R=Xs(W,ce),b=R*ls,R&&(B=Math.cos(R),ne=Math.sin(R),U=ce*B+W*ne,de=A*B+O*ne,W=W*B-ce*ne,O=O*B-A*ne,ce=U,A=de),x&&Math.abs(x)+Math.abs(b)>359.9&&(x=b=0,M=180-M),w=Yt(Math.sqrt(ce*ce+W*W+j*j)),C=Yt(Math.sqrt(O*O+J*J)),R=Xs(A,O),L=Math.abs(R)>2e-4?R*ls:0,$=T?1/(T<0?-T:T):0),r.svg&&(U=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!z0(Lr(e,Et)),U&&e.setAttribute("transform",U))),Math.abs(L)>90&&Math.abs(L)<270&&(s?(w*=-1,L+=b<=0?180:-180,b+=b<=0?180:-180):(C*=-1,L+=L<=0?180:-180)),n=n||r.uncache,r.x=h-((r.xPercent=h&&(!n&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-h)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+a,r.y=p-((r.yPercent=p&&(!n&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-p)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+a,r.z=g+a,r.scaleX=Yt(w),r.scaleY=Yt(C),r.rotation=Yt(b)+l,r.rotationX=Yt(x)+l,r.rotationY=Yt(M)+l,r.skewX=L+l,r.skewY=P+l,r.transformPerspective=$+a,(r.zOrigin=parseFloat(u.split(" ")[2])||!n&&r.zOrigin||0)&&(i[wn]=pl(u)),r.xOffset=r.yOffset=0,r.force3D=En.force3D,r.renderTransform=r.svg?D8:V0?Y0:T8,r.uncache=0,r},pl=function(e){return(e=e.split(" "))[0]+" "+e[1]},mu=function(e,n,r){var i=dn(n);return Yt(parseFloat(n)+parseFloat(Li(e,"x",r+"px",i)))+i},T8=function(e,n){n.z="0px",n.rotationY=n.rotationX="0deg",n.force3D=0,Y0(e,n)},ds="0deg",Xo="0px",us=") ",Y0=function(e,n){var r=n||this,i=r.xPercent,s=r.yPercent,a=r.x,l=r.y,c=r.z,u=r.rotation,h=r.rotationY,p=r.rotationX,g=r.skewX,w=r.skewY,C=r.scaleX,b=r.scaleY,x=r.transformPerspective,M=r.force3D,L=r.target,P=r.zOrigin,$="",V=M==="auto"&&e&&e!==1||M===!0;if(P&&(p!==ds||h!==ds)){var F=parseFloat(h)*Ks,m=Math.sin(F),R=Math.cos(F),B;F=parseFloat(p)*Ks,B=Math.cos(F),a=mu(L,a,m*B*-P),l=mu(L,l,-Math.sin(F)*-P),c=mu(L,c,R*B*-P+P)}x!==Xo&&($+="perspective("+x+us),(i||s)&&($+="translate("+i+"%, "+s+"%) "),(V||a!==Xo||l!==Xo||c!==Xo)&&($+=c!==Xo||V?"translate3d("+a+", "+l+", "+c+") ":"translate("+a+", "+l+us),u!==ds&&($+="rotate("+u+us),h!==ds&&($+="rotateY("+h+us),p!==ds&&($+="rotateX("+p+us),(g!==ds||w!==ds)&&($+="skew("+g+", "+w+us),(C!==1||b!==1)&&($+="scale("+C+", "+b+us),L.style[Et]=$||"translate(0, 0)"},D8=function(e,n){var r=n||this,i=r.xPercent,s=r.yPercent,a=r.x,l=r.y,c=r.rotation,u=r.skewX,h=r.skewY,p=r.scaleX,g=r.scaleY,w=r.target,C=r.xOrigin,b=r.yOrigin,x=r.xOffset,M=r.yOffset,L=r.forceCSS,P=parseFloat(a),$=parseFloat(l),V,F,m,R,B;c=parseFloat(c),u=parseFloat(u),h=parseFloat(h),h&&(h=parseFloat(h),u+=h,c+=h),c||u?(c*=Ks,u*=Ks,V=Math.cos(c)*p,F=Math.sin(c)*p,m=Math.sin(c-u)*-g,R=Math.cos(c-u)*g,u&&(h*=Ks,B=Math.tan(u-h),B=Math.sqrt(1+B*B),m*=B,R*=B,h&&(B=Math.tan(h),B=Math.sqrt(1+B*B),V*=B,F*=B)),V=Yt(V),F=Yt(F),m=Yt(m),R=Yt(R)):(V=p,R=g,F=m=0),(P&&!~(a+"").indexOf("px")||$&&!~(l+"").indexOf("px"))&&(P=Li(w,"x",a,"px"),$=Li(w,"y",l,"px")),(C||b||x||M)&&(P=Yt(P+C-(C*V+b*m)+x),$=Yt($+b-(C*F+b*R)+M)),(i||s)&&(B=w.getBBox(),P=Yt(P+i/100*B.width),$=Yt($+s/100*B.height)),B="matrix("+V+","+F+","+m+","+R+","+P+","+$+")",w.setAttribute("transform",B),L&&(w.style[Et]=B)},P8=function(e,n,r,i,s){var a=360,l=en(s),c=parseFloat(s)*(l&&~s.indexOf("rad")?ls:1),u=c-i,h=i+u+"deg",p,g;return l&&(p=s.split("_")[1],p==="short"&&(u%=a,u!==u%(a/2)&&(u+=u<0?a:-a)),p==="cw"&&u<0?u=(u+a*P0)%a-~~(u/a)*a:p==="ccw"&&u>0&&(u=(u-a*P0)%a-~~(u/a)*a)),e._pt=g=new yn(e._pt,n,r,i,u,h8),g.e=h,g.u="deg",e._props.push(r),g},W0=function(e,n){for(var r in n)e[r]=n[r];return e},O8=function(e,n,r){var i=W0({},r._gsap),s="perspective,force3D,transformOrigin,svgOrigin",a=r.style,l,c,u,h,p,g,w,C;i.svg?(u=r.getAttribute("transform"),r.setAttribute("transform",""),a[Et]=n,l=Ko(r,1),cs(r,Et),r.setAttribute("transform",u)):(u=getComputedStyle(r)[Et],a[Et]=n,l=Ko(r,1),a[Et]=u);for(c in Qr)u=i[c],h=l[c],u!==h&&s.indexOf(c)<0&&(w=dn(u),C=dn(h),p=w!==C?Li(r,c,u,C):parseFloat(u),g=parseFloat(h),e._pt=new yn(e._pt,l,c,p,g-p,cu),e._pt.u=C||0,e._props.push(c));W0(l,i)};_n("padding,margin,Width,Radius",function(t,e){var n="Top",r="Right",i="Bottom",s="Left",a=(e<3?[n,r,i,s]:[n+s,n+r,i+r,i+s]).map(function(l){return e<2?t+l:"border"+l+t});fl[e>1?"border"+t:t]=function(l,c,u,h,p){var g,w;if(arguments.length<4)return g=a.map(function(C){return Jr(l,C,u)}),w=g.join(" "),w.split(g[0]).length===5?g[0]:w;g=(h+"").split(" "),w={},a.forEach(function(C,b){return w[C]=g[b]=g[b]||g[(b-1)/2|0]}),l.init(c,w,p)}});var q0={name:"css",register:uu,targetTest:function(e){return e.style&&e.nodeType},init:function(e,n,r,i,s){var a=this._props,l=e.style,c=r.vars.startAt,u,h,p,g,w,C,b,x,M,L,P,$,V,F,m,R;ou||uu(),this.styles=this.styles||$0(e),R=this.styles.props,this.tween=r;for(b in n)if(b!=="autoRound"&&(h=n[b],!($n[b]&&y0(b,n,r,i,e,s)))){if(w=typeof h,C=fl[b],w==="function"&&(h=h.call(r,i,e,s),w=typeof h),w==="string"&&~h.indexOf("random(")&&(h=jo(h)),C)C(this,e,b,h,r)&&(m=1);else if(b.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(b)+"").trim(),h+="",Di.lastIndex=0,Di.test(u)||(x=dn(u),M=dn(h)),M?x!==M&&(u=Li(e,b,u,M)+M):x&&(h+=x),this.add(l,"setProperty",u,h,i,s,0,0,b),a.push(b),R.push(b,0,l[b]);else if(w!=="undefined"){if(c&&b in c?(u=typeof c[b]=="function"?c[b].call(r,i,e,s):c[b],en(u)&&~u.indexOf("random(")&&(u=jo(u)),dn(u+"")||u==="auto"||(u+=En.units[b]||dn(Jr(e,b))||""),(u+"").charAt(1)==="="&&(u=Jr(e,b))):u=Jr(e,b),g=parseFloat(u),L=w==="string"&&h.charAt(1)==="="&&h.substr(0,2),L&&(h=h.substr(2)),p=parseFloat(h),b in Er&&(b==="autoAlpha"&&(g===1&&Jr(e,"visibility")==="hidden"&&p&&(g=0),R.push("visibility",0,l.visibility),Ei(this,l,"visibility",g?"inherit":"hidden",p?"inherit":"hidden",!p)),b!=="scale"&&b!=="transform"&&(b=Er[b],~b.indexOf(",")&&(b=b.split(",")[0]))),P=b in Qr,P){if(this.styles.save(b),$||(V=e._gsap,V.renderTransform&&!n.parseTransform||Ko(e,n.parseTransform),F=n.smoothOrigin!==!1&&V.smooth,$=this._pt=new yn(this._pt,l,Et,0,1,V.renderTransform,V,0,-1),$.dep=1),b==="scale")this._pt=new yn(this._pt,V,"scaleY",V.scaleY,(L?Ys(V.scaleY,L+p):p)-V.scaleY||0,cu),this._pt.u=0,a.push("scaleY",b),b+="X";else if(b==="transformOrigin"){R.push(wn,0,l[wn]),h=S8(h),V.svg?pu(e,h,0,F,0,this):(M=parseFloat(h.split(" ")[2])||0,M!==V.zOrigin&&Ei(this,V,"zOrigin",V.zOrigin,M),Ei(this,l,b,pl(u),pl(h)));continue}else if(b==="svgOrigin"){pu(e,h,1,F,0,this);continue}else if(b in H0){P8(this,V,b,g,L?Ys(g,L+h):h);continue}else if(b==="smoothOrigin"){Ei(this,V,"smooth",V.smooth,h);continue}else if(b==="force3D"){V[b]=h;continue}else if(b==="transform"){O8(this,h,e);continue}}else b in l||(b=Qs(b)||b);if(P||(p||p===0)&&(g||g===0)&&!u8.test(h)&&b in l)x=(u+"").substr((g+"").length),p||(p=0),M=dn(h)||(b in En.units?En.units[b]:x),x!==M&&(g=Li(e,b,u,M)),this._pt=new yn(this._pt,P?V:l,b,g,(L?Ys(g,L+p):p)-g,!P&&(M==="px"||b==="zIndex")&&n.autoRound!==!1?p8:cu),this._pt.u=M||0,x!==M&&M!=="%"&&(this._pt.b=u,this._pt.r=f8);else if(b in l)x8.call(this,e,b,u,L?L+h:h);else if(b in e)this.add(e,b,u||e[b],L?L+h:h,i,s);else if(b!=="parseTransform"){Bd(b,h);continue}P||(b in l?R.push(b,0,l[b]):R.push(b,1,u||e[b])),a.push(b)}}m&&x0(this)},render:function(e,n){if(n.tween._time||!au())for(var r=n._pt;r;)r.r(e,r.d),r=r._next;else n.styles.revert()},get:Jr,aliases:Er,getSetter:function(e,n,r){var i=Er[n];return i&&i.indexOf(",")<0&&(n=i),n in Qr&&n!==wn&&(e._gsap.x||Jr(e,"x"))?r&&D0===r?n==="scale"?y8:_8:(D0=r||{})&&(n==="scale"?b8:w8):e.style&&!Od(e.style[n])?m8:~n.indexOf("-")?g8:eu(e,n)},core:{_removeProperty:cs,_getMatrix:fu}};bn.utils.checkPrefix=Qs,bn.core.getStyleSaver=$0,function(t,e,n,r){var i=_n(t+","+e+","+n,function(s){Qr[s]=1});_n(e,function(s){En.units[s]="deg",H0[s]=1}),Er[i[13]]=t+","+e,_n(r,function(s){var a=s.split(":");Er[a[1]]=i[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"),_n("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){En.units[t]="px"}),bn.registerPlugin(q0);var $i=bn.registerPlugin(q0)||bn;$i.core.Tween;const E8={__name:"Confetti",setup(t){function e(r){let i=100,s=r.offsetWidth,a=r.offsetHeight;for(let h=0;h<i;h++){let p=document.createElement("div");p.classList.add("dot"),r.append(p),$i.set(p,{x:c(s),y:u(-100,100),opacity:1,scale:c(.5)+.5,backgroundColor:"hsl("+u(170,360)+",50%,50%)"}),l(p)}function l(h){$i.set(r,{display:"block"}),$i.to(r,{autoAlpha:1,duration:2,delay:1}),$i.to(h,c(5)+4,{y:a,ease:l8.easeNone,repeat:-1,delay:-5}),$i.to(h,c(5)+1,{x:"+=70",repeat:-1,yoyo:!0,ease:su.easeInOut}),$i.to(h,c(5)+1,{scaleX:.2,rotation:c(360),repeat:-1,yoyo:!0,ease:su.easeInOut}),$i.to(h,c(1)+.5,{opacity:0,repeat:-1,yoyo:!0,ease:su.easeInOut})}function c(h){return Math.random()*h}function u(h,p){return h+Math.floor(Math.random()*(p-h))}}const n=o.ref(null);return o.onMounted(()=>{n.value&&e(n.value)}),(r,i)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"confetti",ref:n,class:"confetti"},null,512))}},L8={class:"toast__content"},U0=st(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,u;(a=e.action)!=null&&a.label?(l=e.action)==null||l.callback():(u=(c=n.value)==null?void 0:c.parentElement)==null||u.remove()},i=o.computed(()=>e.type==="success"?"check-circle-fill":"circle-close"),s=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",L8,[o.createElementVNode("div",{class:o.normalizeClass(["toast__icon-wrapper",s.value])},[o.createVNode(gt,{icon:i.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"]]),Z0=t=>(o.pushScopeId("data-v-c6866516"),t=t(),o.popScopeId(),t),$8={class:"sidebar-popup-container"},V8={class:"sidebar-popup__profile-info"},N8=["src"],B8={key:1,class:"sidebar-popup__profile-info__letter"},A8={class:"sidebar-popup__profile-info__wrapper"},R8={class:"sidebar-popup__profile-info__name"},F8={class:"sidebar-popup__profile-info__e-mail"},I8=Z0(()=>o.createElementVNode("div",{class:"sidebar-popup__divider"},null,-1)),H8={class:"sidebar-popup__tabs"},z8=["onClick"],j8={class:"sidebar-popup__tab__icon-wrapper"},Y8={class:"sidebar-popup__tab__name"},W8=Z0(()=>o.createElementVNode("div",{class:"sidebar-popup__divider"},null,-1)),q8={class:"sidebar-popup__actions-buttons"},U8=st({__name:"SidebarPopup",props:{activeSection:String,user:Object},emits:["logout"],setup(t,{emit:e}){const n=t,r=e,i=o.ref(!1),s=o.ref(null),a=o.reactive([{name:"charts",isActive:!0},{name:"futures",isActive:!1},{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 g=window.location.hostname==="localhost"?"http://localhost:8080":"https://scope360.io";window.open(`${g}/settings/profile`,"_self")}},u=g=>{g.isActive&&window.open(`https://${g.name}.scope360.io/`)},h=()=>{i.value=!i.value},p=g=>{s.value&&!s.value.contains(g.target)&&h()};return o.onMounted(()=>{document.addEventListener("click",p)}),o.onUnmounted(()=>{document.removeEventListener("click",p)}),(g,w)=>(o.openBlock(),o.createElementBlock("div",$8,[o.createElementVNode("div",{class:o.normalizeClass(["sidebar-popup-container__icon-wrapper",{"-is-active":i.value}]),onClick:o.withModifiers(h,["stop"]),name:"popup-icon-wrapper"},[o.createVNode(gt,{icon:"pop-up_opener"})],2),i.value?(o.openBlock(),o.createElementBlock("div",{key:0,class:"sidebar-popup",ref_key:"popupRef",ref:s},[o.createElementVNode("div",V8,[t.user.image?(o.openBlock(),o.createElementBlock("img",{key:0,src:t.user.image,class:"sidebar-popup__profile-info__photo"},null,8,N8)):(o.openBlock(),o.createElementBlock("div",B8,o.toDisplayString(l.value),1)),o.createElementVNode("div",A8,[o.createElementVNode("div",R8,o.toDisplayString(t.user.name),1),o.createElementVNode("div",F8,o.toDisplayString(t.user.email),1)])]),I8,o.createElementVNode("div",H8,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a,C=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["sidebar-popup__tab",{"-is-active":C.name===t.activeSection},{"-is-disable":!C.isActive}]),onClick:b=>u(C)},[o.createElementVNode("div",j8,[o.createVNode(gt,{icon:C.name.split(" ").join("_")},null,8,["icon"])]),o.createElementVNode("div",Y8,o.toDisplayString(C.name),1)],10,z8))),256))]),W8,o.createElementVNode("div",q8,[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:w[0]||(w[0]=C=>r("logout"))},"Log out")])],512)):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-c6866516"]]),Z8={class:"scope-tooltip"},Un=st({__name:"Tooltip",props:{alternative:Boolean},setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("div",Z8,[o.createElementVNode("div",{class:o.normalizeClass(["scope-tooltip__icon-wrapper",{"-alternative":t.alternative}])},[o.createVNode(o.unref(gt),{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"]]),G8={class:"no-more"},K8={class:"no-more__icon-wrapper"},X8={class:"no-more__text-wrapper"},Q8={class:"no-more__title"},J8={class:"no-more__subtitle"},gu=st({__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",G8,[o.createElementVNode("div",K8,[o.createVNode(o.unref(gt),{icon:t.icon},null,8,["icon"])]),o.createElementVNode("div",X8,[o.createElementVNode("div",Q8,o.toDisplayString(t.title),1),o.createElementVNode("div",J8,o.toDisplayString(t.subtitle),1)])]))}},[["__scopeId","data-v-f657b0dd"]]),G0=t=>(o.pushScopeId("data-v-2042001e"),t=t(),o.popScopeId(),t),eb={class:"long-short"},tb=G0(()=>o.createElementVNode("span",null,"L",-1)),nb={class:"long-short__item__text"},rb=G0(()=>o.createElementVNode("span",null,"S",-1)),ib={class:"long-short__item__text"},K0=st({__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,i)=>(o.openBlock(),o.createElementBlock("div",eb,[o.createElementVNode("div",{class:"long-short__item -long",style:o.normalizeStyle(`width: ${n.value}%`)},[tb,o.createElementVNode("div",nb,o.toDisplayString(o.unref(pn)(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}%`)},[rb,o.createElementVNode("div",ib,o.toDisplayString(o.unref(pn)(t.short/(t.long+t.short)*100,1))+"%",1)],4)]))}},[["__scopeId","data-v-2042001e"]]);var sb=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ob(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var X0={exports:{}};/*!
|
|
18
|
+
* jQuery JavaScript Library v3.7.1
|
|
19
|
+
* https://jquery.com/
|
|
20
|
+
*
|
|
21
|
+
* Copyright OpenJS Foundation and other contributors
|
|
22
|
+
* Released under the MIT license
|
|
23
|
+
* https://jquery.org/license
|
|
24
|
+
*
|
|
25
|
+
* Date: 2023-08-28T13:37Z
|
|
26
|
+
*/(function(t){(function(e,n){t.exports=e.document?n(e,!0):function(r){if(!r.document)throw new Error("jQuery requires a window with a document");return n(r)}})(typeof window<"u"?window:sb,function(e,n){var r=[],i=Object.getPrototypeOf,s=r.slice,a=r.flat?function(d){return r.flat.call(d)}:function(d){return r.concat.apply([],d)},l=r.push,c=r.indexOf,u={},h=u.toString,p=u.hasOwnProperty,g=p.toString,w=g.call(Object),C={},b=function(f){return typeof f=="function"&&typeof f.nodeType!="number"&&typeof f.item!="function"},x=function(f){return f!=null&&f===f.window},M=e.document,L={type:!0,src:!0,nonce:!0,noModule:!0};function P(d,f,_){_=_||M;var y,k,v=_.createElement("script");if(v.text=d,f)for(y in L)k=f[y]||f.getAttribute&&f.getAttribute(y),k&&v.setAttribute(y,k);_.head.appendChild(v).parentNode.removeChild(v)}function $(d){return d==null?d+"":typeof d=="object"||typeof d=="function"?u[h.call(d)]||"object":typeof d}var V="3.7.1",F=/HTML$/i,m=function(d,f){return new m.fn.init(d,f)};m.fn=m.prototype={jquery:V,constructor:m,length:0,toArray:function(){return s.call(this)},get:function(d){return d==null?s.call(this):d<0?this[d+this.length]:this[d]},pushStack:function(d){var f=m.merge(this.constructor(),d);return f.prevObject=this,f},each:function(d){return m.each(this,d)},map:function(d){return this.pushStack(m.map(this,function(f,_){return d.call(f,_,f)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(m.grep(this,function(d,f){return(f+1)%2}))},odd:function(){return this.pushStack(m.grep(this,function(d,f){return f%2}))},eq:function(d){var f=this.length,_=+d+(d<0?f:0);return this.pushStack(_>=0&&_<f?[this[_]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:r.sort,splice:r.splice},m.extend=m.fn.extend=function(){var d,f,_,y,k,v,S=arguments[0]||{},I=1,N=arguments.length,z=!1;for(typeof S=="boolean"&&(z=S,S=arguments[I]||{},I++),typeof S!="object"&&!b(S)&&(S={}),I===N&&(S=this,I--);I<N;I++)if((d=arguments[I])!=null)for(f in d)y=d[f],!(f==="__proto__"||S===y)&&(z&&y&&(m.isPlainObject(y)||(k=Array.isArray(y)))?(_=S[f],k&&!Array.isArray(_)?v=[]:!k&&!m.isPlainObject(_)?v={}:v=_,k=!1,S[f]=m.extend(z,v,y)):y!==void 0&&(S[f]=y));return S},m.extend({expando:"jQuery"+(V+Math.random()).replace(/\D/g,""),isReady:!0,error:function(d){throw new Error(d)},noop:function(){},isPlainObject:function(d){var f,_;return!d||h.call(d)!=="[object Object]"?!1:(f=i(d),f?(_=p.call(f,"constructor")&&f.constructor,typeof _=="function"&&g.call(_)===w):!0)},isEmptyObject:function(d){var f;for(f in d)return!1;return!0},globalEval:function(d,f,_){P(d,{nonce:f&&f.nonce},_)},each:function(d,f){var _,y=0;if(R(d))for(_=d.length;y<_&&f.call(d[y],y,d[y])!==!1;y++);else for(y in d)if(f.call(d[y],y,d[y])===!1)break;return d},text:function(d){var f,_="",y=0,k=d.nodeType;if(!k)for(;f=d[y++];)_+=m.text(f);return k===1||k===11?d.textContent:k===9?d.documentElement.textContent:k===3||k===4?d.nodeValue:_},makeArray:function(d,f){var _=f||[];return d!=null&&(R(Object(d))?m.merge(_,typeof d=="string"?[d]:d):l.call(_,d)),_},inArray:function(d,f,_){return f==null?-1:c.call(f,d,_)},isXMLDoc:function(d){var f=d&&d.namespaceURI,_=d&&(d.ownerDocument||d).documentElement;return!F.test(f||_&&_.nodeName||"HTML")},merge:function(d,f){for(var _=+f.length,y=0,k=d.length;y<_;y++)d[k++]=f[y];return d.length=k,d},grep:function(d,f,_){for(var y,k=[],v=0,S=d.length,I=!_;v<S;v++)y=!f(d[v],v),y!==I&&k.push(d[v]);return k},map:function(d,f,_){var y,k,v=0,S=[];if(R(d))for(y=d.length;v<y;v++)k=f(d[v],v,_),k!=null&&S.push(k);else for(v in d)k=f(d[v],v,_),k!=null&&S.push(k);return a(S)},guid:1,support:C}),typeof Symbol=="function"&&(m.fn[Symbol.iterator]=r[Symbol.iterator]),m.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(d,f){u["[object "+f+"]"]=f.toLowerCase()});function R(d){var f=!!d&&"length"in d&&d.length,_=$(d);return b(d)||x(d)?!1:_==="array"||f===0||typeof f=="number"&&f>0&&f-1 in d}function B(d,f){return d.nodeName&&d.nodeName.toLowerCase()===f.toLowerCase()}var ne=r.pop,ce=r.sort,W=r.splice,j="[\\x20\\t\\r\\n\\f]",ue=new RegExp("^"+j+"+|((?:^|[^\\\\])(?:\\\\.)*)"+j+"+$","g");m.contains=function(d,f){var _=f&&f.parentNode;return d===_||!!(_&&_.nodeType===1&&(d.contains?d.contains(_):d.compareDocumentPosition&&d.compareDocumentPosition(_)&16))};var A=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function O(d,f){return f?d==="\0"?"�":d.slice(0,-1)+"\\"+d.charCodeAt(d.length-1).toString(16)+" ":"\\"+d}m.escapeSelector=function(d){return(d+"").replace(A,O)};var U=M,de=l;(function(){var d,f,_,y,k,v=de,S,I,N,z,te,oe=m.expando,K=0,_e=0,Ie=Rc(),rt=Rc(),We=Rc(),on=Rc(),Qt=function(E,H){return E===H&&(k=!0),0},zr="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",jr="(?:\\\\[\\da-fA-F]{1,6}"+j+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Ke="\\["+j+"*("+jr+")(?:"+j+"*([*^$|!~]?=)"+j+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+jr+"))|)"+j+"*\\]",Os=":("+jr+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Ke+")*)|.*)\\)|)",it=new RegExp(j+"+","g"),Ft=new RegExp("^"+j+"*,"+j+"*"),za=new RegExp("^"+j+"*([>+~]|"+j+")"+j+"*"),y1=new RegExp(j+"|>"),Yr=new RegExp(Os),ja=new RegExp("^"+jr+"$"),Wr={ID:new RegExp("^#("+jr+")"),CLASS:new RegExp("^\\.("+jr+")"),TAG:new RegExp("^("+jr+"|[*])"),ATTR:new RegExp("^"+Ke),PSEUDO:new RegExp("^"+Os),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+j+"*(even|odd|(([+-]|)(\\d*)n|)"+j+"*(?:([+-]|)"+j+"*(\\d+)|))"+j+"*\\)|)","i"),bool:new RegExp("^(?:"+zr+")$","i"),needsContext:new RegExp("^"+j+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+j+"*((?:-\\d)?\\d*)"+j+"*\\)|)(?=[^-]|$)","i")},Wi=/^(?:input|select|textarea|button)$/i,qi=/^h\d$/i,ir=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,b1=/[+~]/,gi=new RegExp("\\\\[\\da-fA-F]{1,6}"+j+"?|\\\\([^\\r\\n\\f])","g"),_i=function(E,H){var Z="0x"+E.slice(1)-65536;return H||(Z<0?String.fromCharCode(Z+65536):String.fromCharCode(Z>>10|55296,Z&1023|56320))},fR=function(){Ui()},pR=Ic(function(E){return E.disabled===!0&&B(E,"fieldset")},{dir:"parentNode",next:"legend"});function mR(){try{return S.activeElement}catch{}}try{v.apply(r=s.call(U.childNodes),U.childNodes),r[U.childNodes.length].nodeType}catch{v={apply:function(H,Z){de.apply(H,s.call(Z))},call:function(H){de.apply(H,s.call(arguments,1))}}}function pt(E,H,Z,ee){var se,Ce,ve,Pe,xe,Ue,Re,ze=H&&H.ownerDocument,Ze=H?H.nodeType:9;if(Z=Z||[],typeof E!="string"||!E||Ze!==1&&Ze!==9&&Ze!==11)return Z;if(!ee&&(Ui(H),H=H||S,N)){if(Ze!==11&&(xe=ir.exec(E)))if(se=xe[1]){if(Ze===9)if(ve=H.getElementById(se)){if(ve.id===se)return v.call(Z,ve),Z}else return Z;else if(ze&&(ve=ze.getElementById(se))&&pt.contains(H,ve)&&ve.id===se)return v.call(Z,ve),Z}else{if(xe[2])return v.apply(Z,H.getElementsByTagName(E)),Z;if((se=xe[3])&&H.getElementsByClassName)return v.apply(Z,H.getElementsByClassName(se)),Z}if(!on[E+" "]&&(!z||!z.test(E))){if(Re=E,ze=H,Ze===1&&(y1.test(E)||za.test(E))){for(ze=b1.test(E)&&w1(H.parentNode)||H,(ze!=H||!C.scope)&&((Pe=H.getAttribute("id"))?Pe=m.escapeSelector(Pe):H.setAttribute("id",Pe=oe)),Ue=Ya(E),Ce=Ue.length;Ce--;)Ue[Ce]=(Pe?"#"+Pe:":scope")+" "+Fc(Ue[Ce]);Re=Ue.join(",")}try{return v.apply(Z,ze.querySelectorAll(Re)),Z}catch{on(E,!0)}finally{Pe===oe&&H.removeAttribute("id")}}}return d6(E.replace(ue,"$1"),H,Z,ee)}function Rc(){var E=[];function H(Z,ee){return E.push(Z+" ")>f.cacheLength&&delete H[E.shift()],H[Z+" "]=ee}return H}function wr(E){return E[oe]=!0,E}function So(E){var H=S.createElement("fieldset");try{return!!E(H)}catch{return!1}finally{H.parentNode&&H.parentNode.removeChild(H),H=null}}function gR(E){return function(H){return B(H,"input")&&H.type===E}}function _R(E){return function(H){return(B(H,"input")||B(H,"button"))&&H.type===E}}function l6(E){return function(H){return"form"in H?H.parentNode&&H.disabled===!1?"label"in H?"label"in H.parentNode?H.parentNode.disabled===E:H.disabled===E:H.isDisabled===E||H.isDisabled!==!E&&pR(H)===E:H.disabled===E:"label"in H?H.disabled===E:!1}}function Es(E){return wr(function(H){return H=+H,wr(function(Z,ee){for(var se,Ce=E([],Z.length,H),ve=Ce.length;ve--;)Z[se=Ce[ve]]&&(Z[se]=!(ee[se]=Z[se]))})})}function w1(E){return E&&typeof E.getElementsByTagName<"u"&&E}function Ui(E){var H,Z=E?E.ownerDocument||E:U;return Z==S||Z.nodeType!==9||!Z.documentElement||(S=Z,I=S.documentElement,N=!m.isXMLDoc(S),te=I.matches||I.webkitMatchesSelector||I.msMatchesSelector,I.msMatchesSelector&&U!=S&&(H=S.defaultView)&&H.top!==H&&H.addEventListener("unload",fR),C.getById=So(function(ee){return I.appendChild(ee).id=m.expando,!S.getElementsByName||!S.getElementsByName(m.expando).length}),C.disconnectedMatch=So(function(ee){return te.call(ee,"*")}),C.scope=So(function(){return S.querySelectorAll(":scope")}),C.cssHas=So(function(){try{return S.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),C.getById?(f.filter.ID=function(ee){var se=ee.replace(gi,_i);return function(Ce){return Ce.getAttribute("id")===se}},f.find.ID=function(ee,se){if(typeof se.getElementById<"u"&&N){var Ce=se.getElementById(ee);return Ce?[Ce]:[]}}):(f.filter.ID=function(ee){var se=ee.replace(gi,_i);return function(Ce){var ve=typeof Ce.getAttributeNode<"u"&&Ce.getAttributeNode("id");return ve&&ve.value===se}},f.find.ID=function(ee,se){if(typeof se.getElementById<"u"&&N){var Ce,ve,Pe,xe=se.getElementById(ee);if(xe){if(Ce=xe.getAttributeNode("id"),Ce&&Ce.value===ee)return[xe];for(Pe=se.getElementsByName(ee),ve=0;xe=Pe[ve++];)if(Ce=xe.getAttributeNode("id"),Ce&&Ce.value===ee)return[xe]}return[]}}),f.find.TAG=function(ee,se){return typeof se.getElementsByTagName<"u"?se.getElementsByTagName(ee):se.querySelectorAll(ee)},f.find.CLASS=function(ee,se){if(typeof se.getElementsByClassName<"u"&&N)return se.getElementsByClassName(ee)},z=[],So(function(ee){var se;I.appendChild(ee).innerHTML="<a id='"+oe+"' href='' disabled='disabled'></a><select id='"+oe+"-\r\\' disabled='disabled'><option selected=''></option></select>",ee.querySelectorAll("[selected]").length||z.push("\\["+j+"*(?:value|"+zr+")"),ee.querySelectorAll("[id~="+oe+"-]").length||z.push("~="),ee.querySelectorAll("a#"+oe+"+*").length||z.push(".#.+[+~]"),ee.querySelectorAll(":checked").length||z.push(":checked"),se=S.createElement("input"),se.setAttribute("type","hidden"),ee.appendChild(se).setAttribute("name","D"),I.appendChild(ee).disabled=!0,ee.querySelectorAll(":disabled").length!==2&&z.push(":enabled",":disabled"),se=S.createElement("input"),se.setAttribute("name",""),ee.appendChild(se),ee.querySelectorAll("[name='']").length||z.push("\\["+j+"*name"+j+"*="+j+`*(?:''|"")`)}),C.cssHas||z.push(":has"),z=z.length&&new RegExp(z.join("|")),Qt=function(ee,se){if(ee===se)return k=!0,0;var Ce=!ee.compareDocumentPosition-!se.compareDocumentPosition;return Ce||(Ce=(ee.ownerDocument||ee)==(se.ownerDocument||se)?ee.compareDocumentPosition(se):1,Ce&1||!C.sortDetached&&se.compareDocumentPosition(ee)===Ce?ee===S||ee.ownerDocument==U&&pt.contains(U,ee)?-1:se===S||se.ownerDocument==U&&pt.contains(U,se)?1:y?c.call(y,ee)-c.call(y,se):0:Ce&4?-1:1)}),S}pt.matches=function(E,H){return pt(E,null,null,H)},pt.matchesSelector=function(E,H){if(Ui(E),N&&!on[H+" "]&&(!z||!z.test(H)))try{var Z=te.call(E,H);if(Z||C.disconnectedMatch||E.document&&E.document.nodeType!==11)return Z}catch{on(H,!0)}return pt(H,S,null,[E]).length>0},pt.contains=function(E,H){return(E.ownerDocument||E)!=S&&Ui(E),m.contains(E,H)},pt.attr=function(E,H){(E.ownerDocument||E)!=S&&Ui(E);var Z=f.attrHandle[H.toLowerCase()],ee=Z&&p.call(f.attrHandle,H.toLowerCase())?Z(E,H,!N):void 0;return ee!==void 0?ee:E.getAttribute(H)},pt.error=function(E){throw new Error("Syntax error, unrecognized expression: "+E)},m.uniqueSort=function(E){var H,Z=[],ee=0,se=0;if(k=!C.sortStable,y=!C.sortStable&&s.call(E,0),ce.call(E,Qt),k){for(;H=E[se++];)H===E[se]&&(ee=Z.push(se));for(;ee--;)W.call(E,Z[ee],1)}return y=null,E},m.fn.uniqueSort=function(){return this.pushStack(m.uniqueSort(s.apply(this)))},f=m.expr={cacheLength:50,createPseudo:wr,match:Wr,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(E){return E[1]=E[1].replace(gi,_i),E[3]=(E[3]||E[4]||E[5]||"").replace(gi,_i),E[2]==="~="&&(E[3]=" "+E[3]+" "),E.slice(0,4)},CHILD:function(E){return E[1]=E[1].toLowerCase(),E[1].slice(0,3)==="nth"?(E[3]||pt.error(E[0]),E[4]=+(E[4]?E[5]+(E[6]||1):2*(E[3]==="even"||E[3]==="odd")),E[5]=+(E[7]+E[8]||E[3]==="odd")):E[3]&&pt.error(E[0]),E},PSEUDO:function(E){var H,Z=!E[6]&&E[2];return Wr.CHILD.test(E[0])?null:(E[3]?E[2]=E[4]||E[5]||"":Z&&Yr.test(Z)&&(H=Ya(Z,!0))&&(H=Z.indexOf(")",Z.length-H)-Z.length)&&(E[0]=E[0].slice(0,H),E[2]=Z.slice(0,H)),E.slice(0,3))}},filter:{TAG:function(E){var H=E.replace(gi,_i).toLowerCase();return E==="*"?function(){return!0}:function(Z){return B(Z,H)}},CLASS:function(E){var H=Ie[E+" "];return H||(H=new RegExp("(^|"+j+")"+E+"("+j+"|$)"))&&Ie(E,function(Z){return H.test(typeof Z.className=="string"&&Z.className||typeof Z.getAttribute<"u"&&Z.getAttribute("class")||"")})},ATTR:function(E,H,Z){return function(ee){var se=pt.attr(ee,E);return se==null?H==="!=":H?(se+="",H==="="?se===Z:H==="!="?se!==Z:H==="^="?Z&&se.indexOf(Z)===0:H==="*="?Z&&se.indexOf(Z)>-1:H==="$="?Z&&se.slice(-Z.length)===Z:H==="~="?(" "+se.replace(it," ")+" ").indexOf(Z)>-1:H==="|="?se===Z||se.slice(0,Z.length+1)===Z+"-":!1):!0}},CHILD:function(E,H,Z,ee,se){var Ce=E.slice(0,3)!=="nth",ve=E.slice(-4)!=="last",Pe=H==="of-type";return ee===1&&se===0?function(xe){return!!xe.parentNode}:function(xe,Ue,Re){var ze,Ze,Be,wt,Dn,hn=Ce!==ve?"nextSibling":"previousSibling",sr=xe.parentNode,qr=Pe&&xe.nodeName.toLowerCase(),Mo=!Re&&!Pe,mn=!1;if(sr){if(Ce){for(;hn;){for(Be=xe;Be=Be[hn];)if(Pe?B(Be,qr):Be.nodeType===1)return!1;Dn=hn=E==="only"&&!Dn&&"nextSibling"}return!0}if(Dn=[ve?sr.firstChild:sr.lastChild],ve&&Mo){for(Ze=sr[oe]||(sr[oe]={}),ze=Ze[E]||[],wt=ze[0]===K&&ze[1],mn=wt&&ze[2],Be=wt&&sr.childNodes[wt];Be=++wt&&Be&&Be[hn]||(mn=wt=0)||Dn.pop();)if(Be.nodeType===1&&++mn&&Be===xe){Ze[E]=[K,wt,mn];break}}else if(Mo&&(Ze=xe[oe]||(xe[oe]={}),ze=Ze[E]||[],wt=ze[0]===K&&ze[1],mn=wt),mn===!1)for(;(Be=++wt&&Be&&Be[hn]||(mn=wt=0)||Dn.pop())&&!((Pe?B(Be,qr):Be.nodeType===1)&&++mn&&(Mo&&(Ze=Be[oe]||(Be[oe]={}),Ze[E]=[K,mn]),Be===xe)););return mn-=se,mn===ee||mn%ee===0&&mn/ee>=0}}},PSEUDO:function(E,H){var Z,ee=f.pseudos[E]||f.setFilters[E.toLowerCase()]||pt.error("unsupported pseudo: "+E);return ee[oe]?ee(H):ee.length>1?(Z=[E,E,"",H],f.setFilters.hasOwnProperty(E.toLowerCase())?wr(function(se,Ce){for(var ve,Pe=ee(se,H),xe=Pe.length;xe--;)ve=c.call(se,Pe[xe]),se[ve]=!(Ce[ve]=Pe[xe])}):function(se){return ee(se,0,Z)}):ee}},pseudos:{not:wr(function(E){var H=[],Z=[],ee=x1(E.replace(ue,"$1"));return ee[oe]?wr(function(se,Ce,ve,Pe){for(var xe,Ue=ee(se,null,Pe,[]),Re=se.length;Re--;)(xe=Ue[Re])&&(se[Re]=!(Ce[Re]=xe))}):function(se,Ce,ve){return H[0]=se,ee(H,null,ve,Z),H[0]=null,!Z.pop()}}),has:wr(function(E){return function(H){return pt(E,H).length>0}}),contains:wr(function(E){return E=E.replace(gi,_i),function(H){return(H.textContent||m.text(H)).indexOf(E)>-1}}),lang:wr(function(E){return ja.test(E||"")||pt.error("unsupported lang: "+E),E=E.replace(gi,_i).toLowerCase(),function(H){var Z;do if(Z=N?H.lang:H.getAttribute("xml:lang")||H.getAttribute("lang"))return Z=Z.toLowerCase(),Z===E||Z.indexOf(E+"-")===0;while((H=H.parentNode)&&H.nodeType===1);return!1}}),target:function(E){var H=e.location&&e.location.hash;return H&&H.slice(1)===E.id},root:function(E){return E===I},focus:function(E){return E===mR()&&S.hasFocus()&&!!(E.type||E.href||~E.tabIndex)},enabled:l6(!1),disabled:l6(!0),checked:function(E){return B(E,"input")&&!!E.checked||B(E,"option")&&!!E.selected},selected:function(E){return E.parentNode&&E.parentNode.selectedIndex,E.selected===!0},empty:function(E){for(E=E.firstChild;E;E=E.nextSibling)if(E.nodeType<6)return!1;return!0},parent:function(E){return!f.pseudos.empty(E)},header:function(E){return qi.test(E.nodeName)},input:function(E){return Wi.test(E.nodeName)},button:function(E){return B(E,"input")&&E.type==="button"||B(E,"button")},text:function(E){var H;return B(E,"input")&&E.type==="text"&&((H=E.getAttribute("type"))==null||H.toLowerCase()==="text")},first:Es(function(){return[0]}),last:Es(function(E,H){return[H-1]}),eq:Es(function(E,H,Z){return[Z<0?Z+H:Z]}),even:Es(function(E,H){for(var Z=0;Z<H;Z+=2)E.push(Z);return E}),odd:Es(function(E,H){for(var Z=1;Z<H;Z+=2)E.push(Z);return E}),lt:Es(function(E,H,Z){var ee;for(Z<0?ee=Z+H:Z>H?ee=H:ee=Z;--ee>=0;)E.push(ee);return E}),gt:Es(function(E,H,Z){for(var ee=Z<0?Z+H:Z;++ee<H;)E.push(ee);return E})}},f.pseudos.nth=f.pseudos.eq;for(d in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})f.pseudos[d]=gR(d);for(d in{submit:!0,reset:!0})f.pseudos[d]=_R(d);function c6(){}c6.prototype=f.filters=f.pseudos,f.setFilters=new c6;function Ya(E,H){var Z,ee,se,Ce,ve,Pe,xe,Ue=rt[E+" "];if(Ue)return H?0:Ue.slice(0);for(ve=E,Pe=[],xe=f.preFilter;ve;){(!Z||(ee=Ft.exec(ve)))&&(ee&&(ve=ve.slice(ee[0].length)||ve),Pe.push(se=[])),Z=!1,(ee=za.exec(ve))&&(Z=ee.shift(),se.push({value:Z,type:ee[0].replace(ue," ")}),ve=ve.slice(Z.length));for(Ce in f.filter)(ee=Wr[Ce].exec(ve))&&(!xe[Ce]||(ee=xe[Ce](ee)))&&(Z=ee.shift(),se.push({value:Z,type:Ce,matches:ee}),ve=ve.slice(Z.length));if(!Z)break}return H?ve.length:ve?pt.error(E):rt(E,Pe).slice(0)}function Fc(E){for(var H=0,Z=E.length,ee="";H<Z;H++)ee+=E[H].value;return ee}function Ic(E,H,Z){var ee=H.dir,se=H.next,Ce=se||ee,ve=Z&&Ce==="parentNode",Pe=_e++;return H.first?function(xe,Ue,Re){for(;xe=xe[ee];)if(xe.nodeType===1||ve)return E(xe,Ue,Re);return!1}:function(xe,Ue,Re){var ze,Ze,Be=[K,Pe];if(Re){for(;xe=xe[ee];)if((xe.nodeType===1||ve)&&E(xe,Ue,Re))return!0}else for(;xe=xe[ee];)if(xe.nodeType===1||ve)if(Ze=xe[oe]||(xe[oe]={}),se&&B(xe,se))xe=xe[ee]||xe;else{if((ze=Ze[Ce])&&ze[0]===K&&ze[1]===Pe)return Be[2]=ze[2];if(Ze[Ce]=Be,Be[2]=E(xe,Ue,Re))return!0}return!1}}function C1(E){return E.length>1?function(H,Z,ee){for(var se=E.length;se--;)if(!E[se](H,Z,ee))return!1;return!0}:E[0]}function yR(E,H,Z){for(var ee=0,se=H.length;ee<se;ee++)pt(E,H[ee],Z);return Z}function Hc(E,H,Z,ee,se){for(var Ce,ve=[],Pe=0,xe=E.length,Ue=H!=null;Pe<xe;Pe++)(Ce=E[Pe])&&(!Z||Z(Ce,ee,se))&&(ve.push(Ce),Ue&&H.push(Pe));return ve}function k1(E,H,Z,ee,se,Ce){return ee&&!ee[oe]&&(ee=k1(ee)),se&&!se[oe]&&(se=k1(se,Ce)),wr(function(ve,Pe,xe,Ue){var Re,ze,Ze,Be,wt=[],Dn=[],hn=Pe.length,sr=ve||yR(H||"*",xe.nodeType?[xe]:xe,[]),qr=E&&(ve||!H)?Hc(sr,wt,E,xe,Ue):sr;if(Z?(Be=se||(ve?E:hn||ee)?[]:Pe,Z(qr,Be,xe,Ue)):Be=qr,ee)for(Re=Hc(Be,Dn),ee(Re,[],xe,Ue),ze=Re.length;ze--;)(Ze=Re[ze])&&(Be[Dn[ze]]=!(qr[Dn[ze]]=Ze));if(ve){if(se||E){if(se){for(Re=[],ze=Be.length;ze--;)(Ze=Be[ze])&&Re.push(qr[ze]=Ze);se(null,Be=[],Re,Ue)}for(ze=Be.length;ze--;)(Ze=Be[ze])&&(Re=se?c.call(ve,Ze):wt[ze])>-1&&(ve[Re]=!(Pe[Re]=Ze))}}else Be=Hc(Be===Pe?Be.splice(hn,Be.length):Be),se?se(null,Pe,Be,Ue):v.apply(Pe,Be)})}function v1(E){for(var H,Z,ee,se=E.length,Ce=f.relative[E[0].type],ve=Ce||f.relative[" "],Pe=Ce?1:0,xe=Ic(function(ze){return ze===H},ve,!0),Ue=Ic(function(ze){return c.call(H,ze)>-1},ve,!0),Re=[function(ze,Ze,Be){var wt=!Ce&&(Be||Ze!=_)||((H=Ze).nodeType?xe(ze,Ze,Be):Ue(ze,Ze,Be));return H=null,wt}];Pe<se;Pe++)if(Z=f.relative[E[Pe].type])Re=[Ic(C1(Re),Z)];else{if(Z=f.filter[E[Pe].type].apply(null,E[Pe].matches),Z[oe]){for(ee=++Pe;ee<se&&!f.relative[E[ee].type];ee++);return k1(Pe>1&&C1(Re),Pe>1&&Fc(E.slice(0,Pe-1).concat({value:E[Pe-2].type===" "?"*":""})).replace(ue,"$1"),Z,Pe<ee&&v1(E.slice(Pe,ee)),ee<se&&v1(E=E.slice(ee)),ee<se&&Fc(E))}Re.push(Z)}return C1(Re)}function bR(E,H){var Z=H.length>0,ee=E.length>0,se=function(Ce,ve,Pe,xe,Ue){var Re,ze,Ze,Be=0,wt="0",Dn=Ce&&[],hn=[],sr=_,qr=Ce||ee&&f.find.TAG("*",Ue),Mo=K+=sr==null?1:Math.random()||.1,mn=qr.length;for(Ue&&(_=ve==S||ve||Ue);wt!==mn&&(Re=qr[wt])!=null;wt++){if(ee&&Re){for(ze=0,!ve&&Re.ownerDocument!=S&&(Ui(Re),Pe=!N);Ze=E[ze++];)if(Ze(Re,ve||S,Pe)){v.call(xe,Re);break}Ue&&(K=Mo)}Z&&((Re=!Ze&&Re)&&Be--,Ce&&Dn.push(Re))}if(Be+=wt,Z&&wt!==Be){for(ze=0;Ze=H[ze++];)Ze(Dn,hn,ve,Pe);if(Ce){if(Be>0)for(;wt--;)Dn[wt]||hn[wt]||(hn[wt]=ne.call(xe));hn=Hc(hn)}v.apply(xe,hn),Ue&&!Ce&&hn.length>0&&Be+H.length>1&&m.uniqueSort(xe)}return Ue&&(K=Mo,_=sr),Dn};return Z?wr(se):se}function x1(E,H){var Z,ee=[],se=[],Ce=We[E+" "];if(!Ce){for(H||(H=Ya(E)),Z=H.length;Z--;)Ce=v1(H[Z]),Ce[oe]?ee.push(Ce):se.push(Ce);Ce=We(E,bR(se,ee)),Ce.selector=E}return Ce}function d6(E,H,Z,ee){var se,Ce,ve,Pe,xe,Ue=typeof E=="function"&&E,Re=!ee&&Ya(E=Ue.selector||E);if(Z=Z||[],Re.length===1){if(Ce=Re[0]=Re[0].slice(0),Ce.length>2&&(ve=Ce[0]).type==="ID"&&H.nodeType===9&&N&&f.relative[Ce[1].type]){if(H=(f.find.ID(ve.matches[0].replace(gi,_i),H)||[])[0],H)Ue&&(H=H.parentNode);else return Z;E=E.slice(Ce.shift().value.length)}for(se=Wr.needsContext.test(E)?0:Ce.length;se--&&(ve=Ce[se],!f.relative[Pe=ve.type]);)if((xe=f.find[Pe])&&(ee=xe(ve.matches[0].replace(gi,_i),b1.test(Ce[0].type)&&w1(H.parentNode)||H))){if(Ce.splice(se,1),E=ee.length&&Fc(Ce),!E)return v.apply(Z,ee),Z;break}}return(Ue||x1(E,Re))(ee,H,!N,Z,!H||b1.test(E)&&w1(H.parentNode)||H),Z}C.sortStable=oe.split("").sort(Qt).join("")===oe,Ui(),C.sortDetached=So(function(E){return E.compareDocumentPosition(S.createElement("fieldset"))&1}),m.find=pt,m.expr[":"]=m.expr.pseudos,m.unique=m.uniqueSort,pt.compile=x1,pt.select=d6,pt.setDocument=Ui,pt.tokenize=Ya,pt.escape=m.escapeSelector,pt.getText=m.text,pt.isXML=m.isXMLDoc,pt.selectors=m.expr,pt.support=m.support,pt.uniqueSort=m.uniqueSort})();var be=function(d,f,_){for(var y=[],k=_!==void 0;(d=d[f])&&d.nodeType!==9;)if(d.nodeType===1){if(k&&m(d).is(_))break;y.push(d)}return y},he=function(d,f){for(var _=[];d;d=d.nextSibling)d.nodeType===1&&d!==f&&_.push(d);return _},q=m.expr.match.needsContext,X=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function D(d,f,_){return b(f)?m.grep(d,function(y,k){return!!f.call(y,k,y)!==_}):f.nodeType?m.grep(d,function(y){return y===f!==_}):typeof f!="string"?m.grep(d,function(y){return c.call(f,y)>-1!==_}):m.filter(f,d,_)}m.filter=function(d,f,_){var y=f[0];return _&&(d=":not("+d+")"),f.length===1&&y.nodeType===1?m.find.matchesSelector(y,d)?[y]:[]:m.find.matches(d,m.grep(f,function(k){return k.nodeType===1}))},m.fn.extend({find:function(d){var f,_,y=this.length,k=this;if(typeof d!="string")return this.pushStack(m(d).filter(function(){for(f=0;f<y;f++)if(m.contains(k[f],this))return!0}));for(_=this.pushStack([]),f=0;f<y;f++)m.find(d,k[f],_);return y>1?m.uniqueSort(_):_},filter:function(d){return this.pushStack(D(this,d||[],!1))},not:function(d){return this.pushStack(D(this,d||[],!0))},is:function(d){return!!D(this,typeof d=="string"&&q.test(d)?m(d):d||[],!1).length}});var T,J=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,ie=m.fn.init=function(d,f,_){var y,k;if(!d)return this;if(_=_||T,typeof d=="string")if(d[0]==="<"&&d[d.length-1]===">"&&d.length>=3?y=[null,d,null]:y=J.exec(d),y&&(y[1]||!f))if(y[1]){if(f=f instanceof m?f[0]:f,m.merge(this,m.parseHTML(y[1],f&&f.nodeType?f.ownerDocument||f:M,!0)),X.test(y[1])&&m.isPlainObject(f))for(y in f)b(this[y])?this[y](f[y]):this.attr(y,f[y]);return this}else return k=M.getElementById(y[2]),k&&(this[0]=k,this.length=1),this;else return!f||f.jquery?(f||_).find(d):this.constructor(f).find(d);else{if(d.nodeType)return this[0]=d,this.length=1,this;if(b(d))return _.ready!==void 0?_.ready(d):d(m)}return m.makeArray(d,this)};ie.prototype=m.fn,T=m(M);var qe=/^(?:parents|prev(?:Until|All))/,dt={children:!0,contents:!0,next:!0,prev:!0};m.fn.extend({has:function(d){var f=m(d,this),_=f.length;return this.filter(function(){for(var y=0;y<_;y++)if(m.contains(this,f[y]))return!0})},closest:function(d,f){var _,y=0,k=this.length,v=[],S=typeof d!="string"&&m(d);if(!q.test(d)){for(;y<k;y++)for(_=this[y];_&&_!==f;_=_.parentNode)if(_.nodeType<11&&(S?S.index(_)>-1:_.nodeType===1&&m.find.matchesSelector(_,d))){v.push(_);break}}return this.pushStack(v.length>1?m.uniqueSort(v):v)},index:function(d){return d?typeof d=="string"?c.call(m(d),this[0]):c.call(this,d.jquery?d[0]:d):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(d,f){return this.pushStack(m.uniqueSort(m.merge(this.get(),m(d,f))))},addBack:function(d){return this.add(d==null?this.prevObject:this.prevObject.filter(d))}});function Q(d,f){for(;(d=d[f])&&d.nodeType!==1;);return d}m.each({parent:function(d){var f=d.parentNode;return f&&f.nodeType!==11?f:null},parents:function(d){return be(d,"parentNode")},parentsUntil:function(d,f,_){return be(d,"parentNode",_)},next:function(d){return Q(d,"nextSibling")},prev:function(d){return Q(d,"previousSibling")},nextAll:function(d){return be(d,"nextSibling")},prevAll:function(d){return be(d,"previousSibling")},nextUntil:function(d,f,_){return be(d,"nextSibling",_)},prevUntil:function(d,f,_){return be(d,"previousSibling",_)},siblings:function(d){return he((d.parentNode||{}).firstChild,d)},children:function(d){return he(d.firstChild)},contents:function(d){return d.contentDocument!=null&&i(d.contentDocument)?d.contentDocument:(B(d,"template")&&(d=d.content||d),m.merge([],d.childNodes))}},function(d,f){m.fn[d]=function(_,y){var k=m.map(this,f,_);return d.slice(-5)!=="Until"&&(y=_),y&&typeof y=="string"&&(k=m.filter(y,k)),this.length>1&&(dt[d]||m.uniqueSort(k),qe.test(d)&&k.reverse()),this.pushStack(k)}});var re=/[^\x20\t\r\n\f]+/g;function Ae(d){var f={};return m.each(d.match(re)||[],function(_,y){f[y]=!0}),f}m.Callbacks=function(d){d=typeof d=="string"?Ae(d):m.extend({},d);var f,_,y,k,v=[],S=[],I=-1,N=function(){for(k=k||d.once,y=f=!0;S.length;I=-1)for(_=S.shift();++I<v.length;)v[I].apply(_[0],_[1])===!1&&d.stopOnFalse&&(I=v.length,_=!1);d.memory||(_=!1),f=!1,k&&(_?v=[]:v="")},z={add:function(){return v&&(_&&!f&&(I=v.length-1,S.push(_)),function te(oe){m.each(oe,function(K,_e){b(_e)?(!d.unique||!z.has(_e))&&v.push(_e):_e&&_e.length&&$(_e)!=="string"&&te(_e)})}(arguments),_&&!f&&N()),this},remove:function(){return m.each(arguments,function(te,oe){for(var K;(K=m.inArray(oe,v,K))>-1;)v.splice(K,1),K<=I&&I--}),this},has:function(te){return te?m.inArray(te,v)>-1:v.length>0},empty:function(){return v&&(v=[]),this},disable:function(){return k=S=[],v=_="",this},disabled:function(){return!v},lock:function(){return k=S=[],!_&&!f&&(v=_=""),this},locked:function(){return!!k},fireWith:function(te,oe){return k||(oe=oe||[],oe=[te,oe.slice?oe.slice():oe],S.push(oe),f||N()),this},fire:function(){return z.fireWith(this,arguments),this},fired:function(){return!!y}};return z};function Y(d){return d}function fe(d){throw d}function Le(d,f,_,y){var k;try{d&&b(k=d.promise)?k.call(d).done(f).fail(_):d&&b(k=d.then)?k.call(d,f,_):f.apply(void 0,[d].slice(y))}catch(v){_.apply(void 0,[v])}}m.extend({Deferred:function(d){var f=[["notify","progress",m.Callbacks("memory"),m.Callbacks("memory"),2],["resolve","done",m.Callbacks("once memory"),m.Callbacks("once memory"),0,"resolved"],["reject","fail",m.Callbacks("once memory"),m.Callbacks("once memory"),1,"rejected"]],_="pending",y={state:function(){return _},always:function(){return k.done(arguments).fail(arguments),this},catch:function(v){return y.then(null,v)},pipe:function(){var v=arguments;return m.Deferred(function(S){m.each(f,function(I,N){var z=b(v[N[4]])&&v[N[4]];k[N[1]](function(){var te=z&&z.apply(this,arguments);te&&b(te.promise)?te.promise().progress(S.notify).done(S.resolve).fail(S.reject):S[N[0]+"With"](this,z?[te]:arguments)})}),v=null}).promise()},then:function(v,S,I){var N=0;function z(te,oe,K,_e){return function(){var Ie=this,rt=arguments,We=function(){var Qt,zr;if(!(te<N)){if(Qt=K.apply(Ie,rt),Qt===oe.promise())throw new TypeError("Thenable self-resolution");zr=Qt&&(typeof Qt=="object"||typeof Qt=="function")&&Qt.then,b(zr)?_e?zr.call(Qt,z(N,oe,Y,_e),z(N,oe,fe,_e)):(N++,zr.call(Qt,z(N,oe,Y,_e),z(N,oe,fe,_e),z(N,oe,Y,oe.notifyWith))):(K!==Y&&(Ie=void 0,rt=[Qt]),(_e||oe.resolveWith)(Ie,rt))}},on=_e?We:function(){try{We()}catch(Qt){m.Deferred.exceptionHook&&m.Deferred.exceptionHook(Qt,on.error),te+1>=N&&(K!==fe&&(Ie=void 0,rt=[Qt]),oe.rejectWith(Ie,rt))}};te?on():(m.Deferred.getErrorHook?on.error=m.Deferred.getErrorHook():m.Deferred.getStackHook&&(on.error=m.Deferred.getStackHook()),e.setTimeout(on))}}return m.Deferred(function(te){f[0][3].add(z(0,te,b(I)?I:Y,te.notifyWith)),f[1][3].add(z(0,te,b(v)?v:Y)),f[2][3].add(z(0,te,b(S)?S:fe))}).promise()},promise:function(v){return v!=null?m.extend(v,y):y}},k={};return m.each(f,function(v,S){var I=S[2],N=S[5];y[S[1]]=I.add,N&&I.add(function(){_=N},f[3-v][2].disable,f[3-v][3].disable,f[0][2].lock,f[0][3].lock),I.add(S[3].fire),k[S[0]]=function(){return k[S[0]+"With"](this===k?void 0:this,arguments),this},k[S[0]+"With"]=I.fireWith}),y.promise(k),d&&d.call(k,k),k},when:function(d){var f=arguments.length,_=f,y=Array(_),k=s.call(arguments),v=m.Deferred(),S=function(I){return function(N){y[I]=this,k[I]=arguments.length>1?s.call(arguments):N,--f||v.resolveWith(y,k)}};if(f<=1&&(Le(d,v.done(S(_)).resolve,v.reject,!f),v.state()==="pending"||b(k[_]&&k[_].then)))return v.then();for(;_--;)Le(k[_],S(_),v.reject);return v.promise()}});var He=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;m.Deferred.exceptionHook=function(d,f){e.console&&e.console.warn&&d&&He.test(d.name)&&e.console.warn("jQuery.Deferred exception: "+d.message,d.stack,f)},m.readyException=function(d){e.setTimeout(function(){throw d})};var Oe=m.Deferred();m.fn.ready=function(d){return Oe.then(d).catch(function(f){m.readyException(f)}),this},m.extend({isReady:!1,readyWait:1,ready:function(d){(d===!0?--m.readyWait:m.isReady)||(m.isReady=!0,!(d!==!0&&--m.readyWait>0)&&Oe.resolveWith(M,[m]))}}),m.ready.then=Oe.then;function we(){M.removeEventListener("DOMContentLoaded",we),e.removeEventListener("load",we),m.ready()}M.readyState==="complete"||M.readyState!=="loading"&&!M.documentElement.doScroll?e.setTimeout(m.ready):(M.addEventListener("DOMContentLoaded",we),e.addEventListener("load",we));var St=function(d,f,_,y,k,v,S){var I=0,N=d.length,z=_==null;if($(_)==="object"){k=!0;for(I in _)St(d,f,I,_[I],!0,v,S)}else if(y!==void 0&&(k=!0,b(y)||(S=!0),z&&(S?(f.call(d,y),f=null):(z=f,f=function(te,oe,K){return z.call(m(te),K)})),f))for(;I<N;I++)f(d[I],_,S?y:y.call(d[I],I,f(d[I],_)));return k?d:z?f.call(d):N?f(d[0],_):v},Gt=/^-ms-/,gr=/-([a-z])/g;function Ut(d,f){return f.toUpperCase()}function rn(d){return d.replace(Gt,"ms-").replace(gr,Ut)}var _r=function(d){return d.nodeType===1||d.nodeType===9||!+d.nodeType};function yr(){this.expando=m.expando+yr.uid++}yr.uid=1,yr.prototype={cache:function(d){var f=d[this.expando];return f||(f={},_r(d)&&(d.nodeType?d[this.expando]=f:Object.defineProperty(d,this.expando,{value:f,configurable:!0}))),f},set:function(d,f,_){var y,k=this.cache(d);if(typeof f=="string")k[rn(f)]=_;else for(y in f)k[rn(y)]=f[y];return k},get:function(d,f){return f===void 0?this.cache(d):d[this.expando]&&d[this.expando][rn(f)]},access:function(d,f,_){return f===void 0||f&&typeof f=="string"&&_===void 0?this.get(d,f):(this.set(d,f,_),_!==void 0?_:f)},remove:function(d,f){var _,y=d[this.expando];if(y!==void 0){if(f!==void 0)for(Array.isArray(f)?f=f.map(rn):(f=rn(f),f=f in y?[f]:f.match(re)||[]),_=f.length;_--;)delete y[f[_]];(f===void 0||m.isEmptyObject(y))&&(d.nodeType?d[this.expando]=void 0:delete d[this.expando])}},hasData:function(d){var f=d[this.expando];return f!==void 0&&!m.isEmptyObject(f)}};var Se=new yr,sn=new yr,Ba=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,_o=/[A-Z]/g;function Aa(d){return d==="true"?!0:d==="false"?!1:d==="null"?null:d===+d+""?+d:Ba.test(d)?JSON.parse(d):d}function yo(d,f,_){var y;if(_===void 0&&d.nodeType===1)if(y="data-"+f.replace(_o,"-$&").toLowerCase(),_=d.getAttribute(y),typeof _=="string"){try{_=Aa(_)}catch{}sn.set(d,f,_)}else _=void 0;return _}m.extend({hasData:function(d){return sn.hasData(d)||Se.hasData(d)},data:function(d,f,_){return sn.access(d,f,_)},removeData:function(d,f){sn.remove(d,f)},_data:function(d,f,_){return Se.access(d,f,_)},_removeData:function(d,f){Se.remove(d,f)}}),m.fn.extend({data:function(d,f){var _,y,k,v=this[0],S=v&&v.attributes;if(d===void 0){if(this.length&&(k=sn.get(v),v.nodeType===1&&!Se.get(v,"hasDataAttrs"))){for(_=S.length;_--;)S[_]&&(y=S[_].name,y.indexOf("data-")===0&&(y=rn(y.slice(5)),yo(v,y,k[y])));Se.set(v,"hasDataAttrs",!0)}return k}return typeof d=="object"?this.each(function(){sn.set(this,d)}):St(this,function(I){var N;if(v&&I===void 0)return N=sn.get(v,d),N!==void 0||(N=yo(v,d),N!==void 0)?N:void 0;this.each(function(){sn.set(this,d,I)})},null,f,arguments.length>1,null,!0)},removeData:function(d){return this.each(function(){sn.remove(this,d)})}}),m.extend({queue:function(d,f,_){var y;if(d)return f=(f||"fx")+"queue",y=Se.get(d,f),_&&(!y||Array.isArray(_)?y=Se.access(d,f,m.makeArray(_)):y.push(_)),y||[]},dequeue:function(d,f){f=f||"fx";var _=m.queue(d,f),y=_.length,k=_.shift(),v=m._queueHooks(d,f),S=function(){m.dequeue(d,f)};k==="inprogress"&&(k=_.shift(),y--),k&&(f==="fx"&&_.unshift("inprogress"),delete v.stop,k.call(d,S,v)),!y&&v&&v.empty.fire()},_queueHooks:function(d,f){var _=f+"queueHooks";return Se.get(d,_)||Se.access(d,_,{empty:m.Callbacks("once memory").add(function(){Se.remove(d,[f+"queue",_])})})}}),m.fn.extend({queue:function(d,f){var _=2;return typeof d!="string"&&(f=d,d="fx",_--),arguments.length<_?m.queue(this[0],d):f===void 0?this:this.each(function(){var y=m.queue(this,d,f);m._queueHooks(this,d),d==="fx"&&y[0]!=="inprogress"&&m.dequeue(this,d)})},dequeue:function(d){return this.each(function(){m.dequeue(this,d)})},clearQueue:function(d){return this.queue(d||"fx",[])},promise:function(d,f){var _,y=1,k=m.Deferred(),v=this,S=this.length,I=function(){--y||k.resolveWith(v,[v])};for(typeof d!="string"&&(f=d,d=void 0),d=d||"fx";S--;)_=Se.get(v[S],d+"queueHooks"),_&&_.empty&&(y++,_.empty.add(I));return I(),k.promise(f)}});var bo=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,G=new RegExp("^(?:([+-])=|)("+bo+")([a-z%]*)$","i"),ge=["Top","Right","Bottom","Left"],De=M.documentElement,Fe=function(d){return m.contains(d.ownerDocument,d)},me={composed:!0};De.getRootNode&&(Fe=function(d){return m.contains(d.ownerDocument,d)||d.getRootNode(me)===d.ownerDocument});var $e=function(d,f){return d=f||d,d.style.display==="none"||d.style.display===""&&Fe(d)&&m.css(d,"display")==="none"};function Ne(d,f,_,y){var k,v,S=20,I=y?function(){return y.cur()}:function(){return m.css(d,f,"")},N=I(),z=_&&_[3]||(m.cssNumber[f]?"":"px"),te=d.nodeType&&(m.cssNumber[f]||z!=="px"&&+N)&&G.exec(m.css(d,f));if(te&&te[3]!==z){for(N=N/2,z=z||te[3],te=+N||1;S--;)m.style(d,f,te+z),(1-v)*(1-(v=I()/N||.5))<=0&&(S=0),te=te/v;te=te*2,m.style(d,f,te+z),_=_||[]}return _&&(te=+te||+N||0,k=_[1]?te+(_[1]+1)*_[2]:+_[2],y&&(y.unit=z,y.start=te,y.end=k)),k}var tr={};function nr(d){var f,_=d.ownerDocument,y=d.nodeName,k=tr[y];return k||(f=_.body.appendChild(_.createElement(y)),k=m.css(f,"display"),f.parentNode.removeChild(f),k==="none"&&(k="block"),tr[y]=k,k)}function xn(d,f){for(var _,y,k=[],v=0,S=d.length;v<S;v++)y=d[v],y.style&&(_=y.style.display,f?(_==="none"&&(k[v]=Se.get(y,"display")||null,k[v]||(y.style.display="")),y.style.display===""&&$e(y)&&(k[v]=nr(y))):_!=="none"&&(k[v]="none",Se.set(y,"display",_)));for(v=0;v<S;v++)k[v]!=null&&(d[v].style.display=k[v]);return d}m.fn.extend({show:function(){return xn(this,!0)},hide:function(){return xn(this)},toggle:function(d){return typeof d=="boolean"?d?this.show():this.hide():this.each(function(){$e(this)?m(this).show():m(this).hide()})}});var Sn=/^(?:checkbox|radio)$/i,wo=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,$c=/^$|^module$|\/(?:java|ecma)script/i;(function(){var d=M.createDocumentFragment(),f=d.appendChild(M.createElement("div")),_=M.createElement("input");_.setAttribute("type","radio"),_.setAttribute("checked","checked"),_.setAttribute("name","t"),f.appendChild(_),C.checkClone=f.cloneNode(!0).cloneNode(!0).lastChild.checked,f.innerHTML="<textarea>x</textarea>",C.noCloneChecked=!!f.cloneNode(!0).lastChild.defaultValue,f.innerHTML="<option></option>",C.option=!!f.lastChild})();var rr={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};rr.tbody=rr.tfoot=rr.colgroup=rr.caption=rr.thead,rr.th=rr.td,C.option||(rr.optgroup=rr.option=[1,"<select multiple='multiple'>","</select>"]);function Mn(d,f){var _;return typeof d.getElementsByTagName<"u"?_=d.getElementsByTagName(f||"*"):typeof d.querySelectorAll<"u"?_=d.querySelectorAll(f||"*"):_=[],f===void 0||f&&B(d,f)?m.merge([d],_):_}function i1(d,f){for(var _=0,y=d.length;_<y;_++)Se.set(d[_],"globalEval",!f||Se.get(f[_],"globalEval"))}var $A=/<|&#?\w+;/;function A_(d,f,_,y,k){for(var v,S,I,N,z,te,oe=f.createDocumentFragment(),K=[],_e=0,Ie=d.length;_e<Ie;_e++)if(v=d[_e],v||v===0)if($(v)==="object")m.merge(K,v.nodeType?[v]:v);else if(!$A.test(v))K.push(f.createTextNode(v));else{for(S=S||oe.appendChild(f.createElement("div")),I=(wo.exec(v)||["",""])[1].toLowerCase(),N=rr[I]||rr._default,S.innerHTML=N[1]+m.htmlPrefilter(v)+N[2],te=N[0];te--;)S=S.lastChild;m.merge(K,S.childNodes),S=oe.firstChild,S.textContent=""}for(oe.textContent="",_e=0;v=K[_e++];){if(y&&m.inArray(v,y)>-1){k&&k.push(v);continue}if(z=Fe(v),S=Mn(oe.appendChild(v),"script"),z&&i1(S),_)for(te=0;v=S[te++];)$c.test(v.type||"")&&_.push(v)}return oe}var R_=/^([^.]*)(?:\.(.+)|)/;function Co(){return!0}function ko(){return!1}function s1(d,f,_,y,k,v){var S,I;if(typeof f=="object"){typeof _!="string"&&(y=y||_,_=void 0);for(I in f)s1(d,I,_,y,f[I],v);return d}if(y==null&&k==null?(k=_,y=_=void 0):k==null&&(typeof _=="string"?(k=y,y=void 0):(k=y,y=_,_=void 0)),k===!1)k=ko;else if(!k)return d;return v===1&&(S=k,k=function(N){return m().off(N),S.apply(this,arguments)},k.guid=S.guid||(S.guid=m.guid++)),d.each(function(){m.event.add(this,f,k,y,_)})}m.event={global:{},add:function(d,f,_,y,k){var v,S,I,N,z,te,oe,K,_e,Ie,rt,We=Se.get(d);if(_r(d))for(_.handler&&(v=_,_=v.handler,k=v.selector),k&&m.find.matchesSelector(De,k),_.guid||(_.guid=m.guid++),(N=We.events)||(N=We.events=Object.create(null)),(S=We.handle)||(S=We.handle=function(on){return typeof m<"u"&&m.event.triggered!==on.type?m.event.dispatch.apply(d,arguments):void 0}),f=(f||"").match(re)||[""],z=f.length;z--;)I=R_.exec(f[z])||[],_e=rt=I[1],Ie=(I[2]||"").split(".").sort(),_e&&(oe=m.event.special[_e]||{},_e=(k?oe.delegateType:oe.bindType)||_e,oe=m.event.special[_e]||{},te=m.extend({type:_e,origType:rt,data:y,handler:_,guid:_.guid,selector:k,needsContext:k&&m.expr.match.needsContext.test(k),namespace:Ie.join(".")},v),(K=N[_e])||(K=N[_e]=[],K.delegateCount=0,(!oe.setup||oe.setup.call(d,y,Ie,S)===!1)&&d.addEventListener&&d.addEventListener(_e,S)),oe.add&&(oe.add.call(d,te),te.handler.guid||(te.handler.guid=_.guid)),k?K.splice(K.delegateCount++,0,te):K.push(te),m.event.global[_e]=!0)},remove:function(d,f,_,y,k){var v,S,I,N,z,te,oe,K,_e,Ie,rt,We=Se.hasData(d)&&Se.get(d);if(!(!We||!(N=We.events))){for(f=(f||"").match(re)||[""],z=f.length;z--;){if(I=R_.exec(f[z])||[],_e=rt=I[1],Ie=(I[2]||"").split(".").sort(),!_e){for(_e in N)m.event.remove(d,_e+f[z],_,y,!0);continue}for(oe=m.event.special[_e]||{},_e=(y?oe.delegateType:oe.bindType)||_e,K=N[_e]||[],I=I[2]&&new RegExp("(^|\\.)"+Ie.join("\\.(?:.*\\.|)")+"(\\.|$)"),S=v=K.length;v--;)te=K[v],(k||rt===te.origType)&&(!_||_.guid===te.guid)&&(!I||I.test(te.namespace))&&(!y||y===te.selector||y==="**"&&te.selector)&&(K.splice(v,1),te.selector&&K.delegateCount--,oe.remove&&oe.remove.call(d,te));S&&!K.length&&((!oe.teardown||oe.teardown.call(d,Ie,We.handle)===!1)&&m.removeEvent(d,_e,We.handle),delete N[_e])}m.isEmptyObject(N)&&Se.remove(d,"handle events")}},dispatch:function(d){var f,_,y,k,v,S,I=new Array(arguments.length),N=m.event.fix(d),z=(Se.get(this,"events")||Object.create(null))[N.type]||[],te=m.event.special[N.type]||{};for(I[0]=N,f=1;f<arguments.length;f++)I[f]=arguments[f];if(N.delegateTarget=this,!(te.preDispatch&&te.preDispatch.call(this,N)===!1)){for(S=m.event.handlers.call(this,N,z),f=0;(k=S[f++])&&!N.isPropagationStopped();)for(N.currentTarget=k.elem,_=0;(v=k.handlers[_++])&&!N.isImmediatePropagationStopped();)(!N.rnamespace||v.namespace===!1||N.rnamespace.test(v.namespace))&&(N.handleObj=v,N.data=v.data,y=((m.event.special[v.origType]||{}).handle||v.handler).apply(k.elem,I),y!==void 0&&(N.result=y)===!1&&(N.preventDefault(),N.stopPropagation()));return te.postDispatch&&te.postDispatch.call(this,N),N.result}},handlers:function(d,f){var _,y,k,v,S,I=[],N=f.delegateCount,z=d.target;if(N&&z.nodeType&&!(d.type==="click"&&d.button>=1)){for(;z!==this;z=z.parentNode||this)if(z.nodeType===1&&!(d.type==="click"&&z.disabled===!0)){for(v=[],S={},_=0;_<N;_++)y=f[_],k=y.selector+" ",S[k]===void 0&&(S[k]=y.needsContext?m(k,this).index(z)>-1:m.find(k,this,null,[z]).length),S[k]&&v.push(y);v.length&&I.push({elem:z,handlers:v})}}return z=this,N<f.length&&I.push({elem:z,handlers:f.slice(N)}),I},addProp:function(d,f){Object.defineProperty(m.Event.prototype,d,{enumerable:!0,configurable:!0,get:b(f)?function(){if(this.originalEvent)return f(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[d]},set:function(_){Object.defineProperty(this,d,{enumerable:!0,configurable:!0,writable:!0,value:_})}})},fix:function(d){return d[m.expando]?d:new m.Event(d)},special:{load:{noBubble:!0},click:{setup:function(d){var f=this||d;return Sn.test(f.type)&&f.click&&B(f,"input")&&Vc(f,"click",!0),!1},trigger:function(d){var f=this||d;return Sn.test(f.type)&&f.click&&B(f,"input")&&Vc(f,"click"),!0},_default:function(d){var f=d.target;return Sn.test(f.type)&&f.click&&B(f,"input")&&Se.get(f,"click")||B(f,"a")}},beforeunload:{postDispatch:function(d){d.result!==void 0&&d.originalEvent&&(d.originalEvent.returnValue=d.result)}}}};function Vc(d,f,_){if(!_){Se.get(d,f)===void 0&&m.event.add(d,f,Co);return}Se.set(d,f,!1),m.event.add(d,f,{namespace:!1,handler:function(y){var k,v=Se.get(this,f);if(y.isTrigger&1&&this[f]){if(v)(m.event.special[f]||{}).delegateType&&y.stopPropagation();else if(v=s.call(arguments),Se.set(this,f,v),this[f](),k=Se.get(this,f),Se.set(this,f,!1),v!==k)return y.stopImmediatePropagation(),y.preventDefault(),k}else v&&(Se.set(this,f,m.event.trigger(v[0],v.slice(1),this)),y.stopPropagation(),y.isImmediatePropagationStopped=Co)}})}m.removeEvent=function(d,f,_){d.removeEventListener&&d.removeEventListener(f,_)},m.Event=function(d,f){if(!(this instanceof m.Event))return new m.Event(d,f);d&&d.type?(this.originalEvent=d,this.type=d.type,this.isDefaultPrevented=d.defaultPrevented||d.defaultPrevented===void 0&&d.returnValue===!1?Co:ko,this.target=d.target&&d.target.nodeType===3?d.target.parentNode:d.target,this.currentTarget=d.currentTarget,this.relatedTarget=d.relatedTarget):this.type=d,f&&m.extend(this,f),this.timeStamp=d&&d.timeStamp||Date.now(),this[m.expando]=!0},m.Event.prototype={constructor:m.Event,isDefaultPrevented:ko,isPropagationStopped:ko,isImmediatePropagationStopped:ko,isSimulated:!1,preventDefault:function(){var d=this.originalEvent;this.isDefaultPrevented=Co,d&&!this.isSimulated&&d.preventDefault()},stopPropagation:function(){var d=this.originalEvent;this.isPropagationStopped=Co,d&&!this.isSimulated&&d.stopPropagation()},stopImmediatePropagation:function(){var d=this.originalEvent;this.isImmediatePropagationStopped=Co,d&&!this.isSimulated&&d.stopImmediatePropagation(),this.stopPropagation()}},m.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},m.event.addProp),m.each({focus:"focusin",blur:"focusout"},function(d,f){function _(y){if(M.documentMode){var k=Se.get(this,"handle"),v=m.event.fix(y);v.type=y.type==="focusin"?"focus":"blur",v.isSimulated=!0,k(y),v.target===v.currentTarget&&k(v)}else m.event.simulate(f,y.target,m.event.fix(y))}m.event.special[d]={setup:function(){var y;if(Vc(this,d,!0),M.documentMode)y=Se.get(this,f),y||this.addEventListener(f,_),Se.set(this,f,(y||0)+1);else return!1},trigger:function(){return Vc(this,d),!0},teardown:function(){var y;if(M.documentMode)y=Se.get(this,f)-1,y?Se.set(this,f,y):(this.removeEventListener(f,_),Se.remove(this,f));else return!1},_default:function(y){return Se.get(y.target,d)},delegateType:f},m.event.special[f]={setup:function(){var y=this.ownerDocument||this.document||this,k=M.documentMode?this:y,v=Se.get(k,f);v||(M.documentMode?this.addEventListener(f,_):y.addEventListener(d,_,!0)),Se.set(k,f,(v||0)+1)},teardown:function(){var y=this.ownerDocument||this.document||this,k=M.documentMode?this:y,v=Se.get(k,f)-1;v?Se.set(k,f,v):(M.documentMode?this.removeEventListener(f,_):y.removeEventListener(d,_,!0),Se.remove(k,f))}}}),m.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(d,f){m.event.special[d]={delegateType:f,bindType:f,handle:function(_){var y,k=this,v=_.relatedTarget,S=_.handleObj;return(!v||v!==k&&!m.contains(k,v))&&(_.type=S.origType,y=S.handler.apply(this,arguments),_.type=f),y}}}),m.fn.extend({on:function(d,f,_,y){return s1(this,d,f,_,y)},one:function(d,f,_,y){return s1(this,d,f,_,y,1)},off:function(d,f,_){var y,k;if(d&&d.preventDefault&&d.handleObj)return y=d.handleObj,m(d.delegateTarget).off(y.namespace?y.origType+"."+y.namespace:y.origType,y.selector,y.handler),this;if(typeof d=="object"){for(k in d)this.off(k,f,d[k]);return this}return(f===!1||typeof f=="function")&&(_=f,f=void 0),_===!1&&(_=ko),this.each(function(){m.event.remove(this,d,_,f)})}});var VA=/<script|<style|<link/i,NA=/checked\s*(?:[^=]|=\s*.checked.)/i,BA=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function F_(d,f){return B(d,"table")&&B(f.nodeType!==11?f:f.firstChild,"tr")&&m(d).children("tbody")[0]||d}function AA(d){return d.type=(d.getAttribute("type")!==null)+"/"+d.type,d}function RA(d){return(d.type||"").slice(0,5)==="true/"?d.type=d.type.slice(5):d.removeAttribute("type"),d}function I_(d,f){var _,y,k,v,S,I,N;if(f.nodeType===1){if(Se.hasData(d)&&(v=Se.get(d),N=v.events,N)){Se.remove(f,"handle events");for(k in N)for(_=0,y=N[k].length;_<y;_++)m.event.add(f,k,N[k][_])}sn.hasData(d)&&(S=sn.access(d),I=m.extend({},S),sn.set(f,I))}}function FA(d,f){var _=f.nodeName.toLowerCase();_==="input"&&Sn.test(d.type)?f.checked=d.checked:(_==="input"||_==="textarea")&&(f.defaultValue=d.defaultValue)}function vo(d,f,_,y){f=a(f);var k,v,S,I,N,z,te=0,oe=d.length,K=oe-1,_e=f[0],Ie=b(_e);if(Ie||oe>1&&typeof _e=="string"&&!C.checkClone&&NA.test(_e))return d.each(function(rt){var We=d.eq(rt);Ie&&(f[0]=_e.call(this,rt,We.html())),vo(We,f,_,y)});if(oe&&(k=A_(f,d[0].ownerDocument,!1,d,y),v=k.firstChild,k.childNodes.length===1&&(k=v),v||y)){for(S=m.map(Mn(k,"script"),AA),I=S.length;te<oe;te++)N=k,te!==K&&(N=m.clone(N,!0,!0),I&&m.merge(S,Mn(N,"script"))),_.call(d[te],N,te);if(I)for(z=S[S.length-1].ownerDocument,m.map(S,RA),te=0;te<I;te++)N=S[te],$c.test(N.type||"")&&!Se.access(N,"globalEval")&&m.contains(z,N)&&(N.src&&(N.type||"").toLowerCase()!=="module"?m._evalUrl&&!N.noModule&&m._evalUrl(N.src,{nonce:N.nonce||N.getAttribute("nonce")},z):P(N.textContent.replace(BA,""),N,z))}return d}function H_(d,f,_){for(var y,k=f?m.filter(f,d):d,v=0;(y=k[v])!=null;v++)!_&&y.nodeType===1&&m.cleanData(Mn(y)),y.parentNode&&(_&&Fe(y)&&i1(Mn(y,"script")),y.parentNode.removeChild(y));return d}m.extend({htmlPrefilter:function(d){return d},clone:function(d,f,_){var y,k,v,S,I=d.cloneNode(!0),N=Fe(d);if(!C.noCloneChecked&&(d.nodeType===1||d.nodeType===11)&&!m.isXMLDoc(d))for(S=Mn(I),v=Mn(d),y=0,k=v.length;y<k;y++)FA(v[y],S[y]);if(f)if(_)for(v=v||Mn(d),S=S||Mn(I),y=0,k=v.length;y<k;y++)I_(v[y],S[y]);else I_(d,I);return S=Mn(I,"script"),S.length>0&&i1(S,!N&&Mn(d,"script")),I},cleanData:function(d){for(var f,_,y,k=m.event.special,v=0;(_=d[v])!==void 0;v++)if(_r(_)){if(f=_[Se.expando]){if(f.events)for(y in f.events)k[y]?m.event.remove(_,y):m.removeEvent(_,y,f.handle);_[Se.expando]=void 0}_[sn.expando]&&(_[sn.expando]=void 0)}}}),m.fn.extend({detach:function(d){return H_(this,d,!0)},remove:function(d){return H_(this,d)},text:function(d){return St(this,function(f){return f===void 0?m.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=f)})},null,d,arguments.length)},append:function(){return vo(this,arguments,function(d){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var f=F_(this,d);f.appendChild(d)}})},prepend:function(){return vo(this,arguments,function(d){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var f=F_(this,d);f.insertBefore(d,f.firstChild)}})},before:function(){return vo(this,arguments,function(d){this.parentNode&&this.parentNode.insertBefore(d,this)})},after:function(){return vo(this,arguments,function(d){this.parentNode&&this.parentNode.insertBefore(d,this.nextSibling)})},empty:function(){for(var d,f=0;(d=this[f])!=null;f++)d.nodeType===1&&(m.cleanData(Mn(d,!1)),d.textContent="");return this},clone:function(d,f){return d=d??!1,f=f??d,this.map(function(){return m.clone(this,d,f)})},html:function(d){return St(this,function(f){var _=this[0]||{},y=0,k=this.length;if(f===void 0&&_.nodeType===1)return _.innerHTML;if(typeof f=="string"&&!VA.test(f)&&!rr[(wo.exec(f)||["",""])[1].toLowerCase()]){f=m.htmlPrefilter(f);try{for(;y<k;y++)_=this[y]||{},_.nodeType===1&&(m.cleanData(Mn(_,!1)),_.innerHTML=f);_=0}catch{}}_&&this.empty().append(f)},null,d,arguments.length)},replaceWith:function(){var d=[];return vo(this,arguments,function(f){var _=this.parentNode;m.inArray(this,d)<0&&(m.cleanData(Mn(this)),_&&_.replaceChild(f,this))},d)}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(d,f){m.fn[d]=function(_){for(var y,k=[],v=m(_),S=v.length-1,I=0;I<=S;I++)y=I===S?this:this.clone(!0),m(v[I])[f](y),l.apply(k,y.get());return this.pushStack(k)}});var o1=new RegExp("^("+bo+")(?!px)[a-z%]+$","i"),a1=/^--/,Nc=function(d){var f=d.ownerDocument.defaultView;return(!f||!f.opener)&&(f=e),f.getComputedStyle(d)},z_=function(d,f,_){var y,k,v={};for(k in f)v[k]=d.style[k],d.style[k]=f[k];y=_.call(d);for(k in f)d.style[k]=v[k];return y},IA=new RegExp(ge.join("|"),"i");(function(){function d(){if(z){N.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",z.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",De.appendChild(N).appendChild(z);var te=e.getComputedStyle(z);_=te.top!=="1%",I=f(te.marginLeft)===12,z.style.right="60%",v=f(te.right)===36,y=f(te.width)===36,z.style.position="absolute",k=f(z.offsetWidth/3)===12,De.removeChild(N),z=null}}function f(te){return Math.round(parseFloat(te))}var _,y,k,v,S,I,N=M.createElement("div"),z=M.createElement("div");z.style&&(z.style.backgroundClip="content-box",z.cloneNode(!0).style.backgroundClip="",C.clearCloneStyle=z.style.backgroundClip==="content-box",m.extend(C,{boxSizingReliable:function(){return d(),y},pixelBoxStyles:function(){return d(),v},pixelPosition:function(){return d(),_},reliableMarginLeft:function(){return d(),I},scrollboxSize:function(){return d(),k},reliableTrDimensions:function(){var te,oe,K,_e;return S==null&&(te=M.createElement("table"),oe=M.createElement("tr"),K=M.createElement("div"),te.style.cssText="position:absolute;left:-11111px;border-collapse:separate",oe.style.cssText="box-sizing:content-box;border:1px solid",oe.style.height="1px",K.style.height="9px",K.style.display="block",De.appendChild(te).appendChild(oe).appendChild(K),_e=e.getComputedStyle(oe),S=parseInt(_e.height,10)+parseInt(_e.borderTopWidth,10)+parseInt(_e.borderBottomWidth,10)===oe.offsetHeight,De.removeChild(te)),S}}))})();function Ra(d,f,_){var y,k,v,S,I=a1.test(f),N=d.style;return _=_||Nc(d),_&&(S=_.getPropertyValue(f)||_[f],I&&S&&(S=S.replace(ue,"$1")||void 0),S===""&&!Fe(d)&&(S=m.style(d,f)),!C.pixelBoxStyles()&&o1.test(S)&&IA.test(f)&&(y=N.width,k=N.minWidth,v=N.maxWidth,N.minWidth=N.maxWidth=N.width=S,S=_.width,N.width=y,N.minWidth=k,N.maxWidth=v)),S!==void 0?S+"":S}function j_(d,f){return{get:function(){if(d()){delete this.get;return}return(this.get=f).apply(this,arguments)}}}var Y_=["Webkit","Moz","ms"],W_=M.createElement("div").style,q_={};function HA(d){for(var f=d[0].toUpperCase()+d.slice(1),_=Y_.length;_--;)if(d=Y_[_]+f,d in W_)return d}function l1(d){var f=m.cssProps[d]||q_[d];return f||(d in W_?d:q_[d]=HA(d)||d)}var zA=/^(none|table(?!-c[ea]).+)/,jA={position:"absolute",visibility:"hidden",display:"block"},U_={letterSpacing:"0",fontWeight:"400"};function Z_(d,f,_){var y=G.exec(f);return y?Math.max(0,y[2]-(_||0))+(y[3]||"px"):f}function c1(d,f,_,y,k,v){var S=f==="width"?1:0,I=0,N=0,z=0;if(_===(y?"border":"content"))return 0;for(;S<4;S+=2)_==="margin"&&(z+=m.css(d,_+ge[S],!0,k)),y?(_==="content"&&(N-=m.css(d,"padding"+ge[S],!0,k)),_!=="margin"&&(N-=m.css(d,"border"+ge[S]+"Width",!0,k))):(N+=m.css(d,"padding"+ge[S],!0,k),_!=="padding"?N+=m.css(d,"border"+ge[S]+"Width",!0,k):I+=m.css(d,"border"+ge[S]+"Width",!0,k));return!y&&v>=0&&(N+=Math.max(0,Math.ceil(d["offset"+f[0].toUpperCase()+f.slice(1)]-v-N-I-.5))||0),N+z}function G_(d,f,_){var y=Nc(d),k=!C.boxSizingReliable()||_,v=k&&m.css(d,"boxSizing",!1,y)==="border-box",S=v,I=Ra(d,f,y),N="offset"+f[0].toUpperCase()+f.slice(1);if(o1.test(I)){if(!_)return I;I="auto"}return(!C.boxSizingReliable()&&v||!C.reliableTrDimensions()&&B(d,"tr")||I==="auto"||!parseFloat(I)&&m.css(d,"display",!1,y)==="inline")&&d.getClientRects().length&&(v=m.css(d,"boxSizing",!1,y)==="border-box",S=N in d,S&&(I=d[N])),I=parseFloat(I)||0,I+c1(d,f,_||(v?"border":"content"),S,y,I)+"px"}m.extend({cssHooks:{opacity:{get:function(d,f){if(f){var _=Ra(d,"opacity");return _===""?"1":_}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(d,f,_,y){if(!(!d||d.nodeType===3||d.nodeType===8||!d.style)){var k,v,S,I=rn(f),N=a1.test(f),z=d.style;if(N||(f=l1(I)),S=m.cssHooks[f]||m.cssHooks[I],_!==void 0){if(v=typeof _,v==="string"&&(k=G.exec(_))&&k[1]&&(_=Ne(d,f,k),v="number"),_==null||_!==_)return;v==="number"&&!N&&(_+=k&&k[3]||(m.cssNumber[I]?"":"px")),!C.clearCloneStyle&&_===""&&f.indexOf("background")===0&&(z[f]="inherit"),(!S||!("set"in S)||(_=S.set(d,_,y))!==void 0)&&(N?z.setProperty(f,_):z[f]=_)}else return S&&"get"in S&&(k=S.get(d,!1,y))!==void 0?k:z[f]}},css:function(d,f,_,y){var k,v,S,I=rn(f),N=a1.test(f);return N||(f=l1(I)),S=m.cssHooks[f]||m.cssHooks[I],S&&"get"in S&&(k=S.get(d,!0,_)),k===void 0&&(k=Ra(d,f,y)),k==="normal"&&f in U_&&(k=U_[f]),_===""||_?(v=parseFloat(k),_===!0||isFinite(v)?v||0:k):k}}),m.each(["height","width"],function(d,f){m.cssHooks[f]={get:function(_,y,k){if(y)return zA.test(m.css(_,"display"))&&(!_.getClientRects().length||!_.getBoundingClientRect().width)?z_(_,jA,function(){return G_(_,f,k)}):G_(_,f,k)},set:function(_,y,k){var v,S=Nc(_),I=!C.scrollboxSize()&&S.position==="absolute",N=I||k,z=N&&m.css(_,"boxSizing",!1,S)==="border-box",te=k?c1(_,f,k,z,S):0;return z&&I&&(te-=Math.ceil(_["offset"+f[0].toUpperCase()+f.slice(1)]-parseFloat(S[f])-c1(_,f,"border",!1,S)-.5)),te&&(v=G.exec(y))&&(v[3]||"px")!=="px"&&(_.style[f]=y,y=m.css(_,f)),Z_(_,y,te)}}}),m.cssHooks.marginLeft=j_(C.reliableMarginLeft,function(d,f){if(f)return(parseFloat(Ra(d,"marginLeft"))||d.getBoundingClientRect().left-z_(d,{marginLeft:0},function(){return d.getBoundingClientRect().left}))+"px"}),m.each({margin:"",padding:"",border:"Width"},function(d,f){m.cssHooks[d+f]={expand:function(_){for(var y=0,k={},v=typeof _=="string"?_.split(" "):[_];y<4;y++)k[d+ge[y]+f]=v[y]||v[y-2]||v[0];return k}},d!=="margin"&&(m.cssHooks[d+f].set=Z_)}),m.fn.extend({css:function(d,f){return St(this,function(_,y,k){var v,S,I={},N=0;if(Array.isArray(y)){for(v=Nc(_),S=y.length;N<S;N++)I[y[N]]=m.css(_,y[N],!1,v);return I}return k!==void 0?m.style(_,y,k):m.css(_,y)},d,f,arguments.length>1)}});function Tn(d,f,_,y,k){return new Tn.prototype.init(d,f,_,y,k)}m.Tween=Tn,Tn.prototype={constructor:Tn,init:function(d,f,_,y,k,v){this.elem=d,this.prop=_,this.easing=k||m.easing._default,this.options=f,this.start=this.now=this.cur(),this.end=y,this.unit=v||(m.cssNumber[_]?"":"px")},cur:function(){var d=Tn.propHooks[this.prop];return d&&d.get?d.get(this):Tn.propHooks._default.get(this)},run:function(d){var f,_=Tn.propHooks[this.prop];return this.options.duration?this.pos=f=m.easing[this.easing](d,this.options.duration*d,0,1,this.options.duration):this.pos=f=d,this.now=(this.end-this.start)*f+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),_&&_.set?_.set(this):Tn.propHooks._default.set(this),this}},Tn.prototype.init.prototype=Tn.prototype,Tn.propHooks={_default:{get:function(d){var f;return d.elem.nodeType!==1||d.elem[d.prop]!=null&&d.elem.style[d.prop]==null?d.elem[d.prop]:(f=m.css(d.elem,d.prop,""),!f||f==="auto"?0:f)},set:function(d){m.fx.step[d.prop]?m.fx.step[d.prop](d):d.elem.nodeType===1&&(m.cssHooks[d.prop]||d.elem.style[l1(d.prop)]!=null)?m.style(d.elem,d.prop,d.now+d.unit):d.elem[d.prop]=d.now}}},Tn.propHooks.scrollTop=Tn.propHooks.scrollLeft={set:function(d){d.elem.nodeType&&d.elem.parentNode&&(d.elem[d.prop]=d.now)}},m.easing={linear:function(d){return d},swing:function(d){return .5-Math.cos(d*Math.PI)/2},_default:"swing"},m.fx=Tn.prototype.init,m.fx.step={};var xo,Bc,YA=/^(?:toggle|show|hide)$/,WA=/queueHooks$/;function d1(){Bc&&(M.hidden===!1&&e.requestAnimationFrame?e.requestAnimationFrame(d1):e.setTimeout(d1,m.fx.interval),m.fx.tick())}function K_(){return e.setTimeout(function(){xo=void 0}),xo=Date.now()}function Ac(d,f){var _,y=0,k={height:d};for(f=f?1:0;y<4;y+=2-f)_=ge[y],k["margin"+_]=k["padding"+_]=d;return f&&(k.opacity=k.width=d),k}function X_(d,f,_){for(var y,k=(br.tweeners[f]||[]).concat(br.tweeners["*"]),v=0,S=k.length;v<S;v++)if(y=k[v].call(_,f,d))return y}function qA(d,f,_){var y,k,v,S,I,N,z,te,oe="width"in f||"height"in f,K=this,_e={},Ie=d.style,rt=d.nodeType&&$e(d),We=Se.get(d,"fxshow");_.queue||(S=m._queueHooks(d,"fx"),S.unqueued==null&&(S.unqueued=0,I=S.empty.fire,S.empty.fire=function(){S.unqueued||I()}),S.unqueued++,K.always(function(){K.always(function(){S.unqueued--,m.queue(d,"fx").length||S.empty.fire()})}));for(y in f)if(k=f[y],YA.test(k)){if(delete f[y],v=v||k==="toggle",k===(rt?"hide":"show"))if(k==="show"&&We&&We[y]!==void 0)rt=!0;else continue;_e[y]=We&&We[y]||m.style(d,y)}if(N=!m.isEmptyObject(f),!(!N&&m.isEmptyObject(_e))){oe&&d.nodeType===1&&(_.overflow=[Ie.overflow,Ie.overflowX,Ie.overflowY],z=We&&We.display,z==null&&(z=Se.get(d,"display")),te=m.css(d,"display"),te==="none"&&(z?te=z:(xn([d],!0),z=d.style.display||z,te=m.css(d,"display"),xn([d]))),(te==="inline"||te==="inline-block"&&z!=null)&&m.css(d,"float")==="none"&&(N||(K.done(function(){Ie.display=z}),z==null&&(te=Ie.display,z=te==="none"?"":te)),Ie.display="inline-block")),_.overflow&&(Ie.overflow="hidden",K.always(function(){Ie.overflow=_.overflow[0],Ie.overflowX=_.overflow[1],Ie.overflowY=_.overflow[2]})),N=!1;for(y in _e)N||(We?"hidden"in We&&(rt=We.hidden):We=Se.access(d,"fxshow",{display:z}),v&&(We.hidden=!rt),rt&&xn([d],!0),K.done(function(){rt||xn([d]),Se.remove(d,"fxshow");for(y in _e)m.style(d,y,_e[y])})),N=X_(rt?We[y]:0,y,K),y in We||(We[y]=N.start,rt&&(N.end=N.start,N.start=0))}}function UA(d,f){var _,y,k,v,S;for(_ in d)if(y=rn(_),k=f[y],v=d[_],Array.isArray(v)&&(k=v[1],v=d[_]=v[0]),_!==y&&(d[y]=v,delete d[_]),S=m.cssHooks[y],S&&"expand"in S){v=S.expand(v),delete d[y];for(_ in v)_ in d||(d[_]=v[_],f[_]=k)}else f[y]=k}function br(d,f,_){var y,k,v=0,S=br.prefilters.length,I=m.Deferred().always(function(){delete N.elem}),N=function(){if(k)return!1;for(var oe=xo||K_(),K=Math.max(0,z.startTime+z.duration-oe),_e=K/z.duration||0,Ie=1-_e,rt=0,We=z.tweens.length;rt<We;rt++)z.tweens[rt].run(Ie);return I.notifyWith(d,[z,Ie,K]),Ie<1&&We?K:(We||I.notifyWith(d,[z,1,0]),I.resolveWith(d,[z]),!1)},z=I.promise({elem:d,props:m.extend({},f),opts:m.extend(!0,{specialEasing:{},easing:m.easing._default},_),originalProperties:f,originalOptions:_,startTime:xo||K_(),duration:_.duration,tweens:[],createTween:function(oe,K){var _e=m.Tween(d,z.opts,oe,K,z.opts.specialEasing[oe]||z.opts.easing);return z.tweens.push(_e),_e},stop:function(oe){var K=0,_e=oe?z.tweens.length:0;if(k)return this;for(k=!0;K<_e;K++)z.tweens[K].run(1);return oe?(I.notifyWith(d,[z,1,0]),I.resolveWith(d,[z,oe])):I.rejectWith(d,[z,oe]),this}}),te=z.props;for(UA(te,z.opts.specialEasing);v<S;v++)if(y=br.prefilters[v].call(z,d,te,z.opts),y)return b(y.stop)&&(m._queueHooks(z.elem,z.opts.queue).stop=y.stop.bind(y)),y;return m.map(te,X_,z),b(z.opts.start)&&z.opts.start.call(d,z),z.progress(z.opts.progress).done(z.opts.done,z.opts.complete).fail(z.opts.fail).always(z.opts.always),m.fx.timer(m.extend(N,{elem:d,anim:z,queue:z.opts.queue})),z}m.Animation=m.extend(br,{tweeners:{"*":[function(d,f){var _=this.createTween(d,f);return Ne(_.elem,d,G.exec(f),_),_}]},tweener:function(d,f){b(d)?(f=d,d=["*"]):d=d.match(re);for(var _,y=0,k=d.length;y<k;y++)_=d[y],br.tweeners[_]=br.tweeners[_]||[],br.tweeners[_].unshift(f)},prefilters:[qA],prefilter:function(d,f){f?br.prefilters.unshift(d):br.prefilters.push(d)}}),m.speed=function(d,f,_){var y=d&&typeof d=="object"?m.extend({},d):{complete:_||!_&&f||b(d)&&d,duration:d,easing:_&&f||f&&!b(f)&&f};return m.fx.off?y.duration=0:typeof y.duration!="number"&&(y.duration in m.fx.speeds?y.duration=m.fx.speeds[y.duration]:y.duration=m.fx.speeds._default),(y.queue==null||y.queue===!0)&&(y.queue="fx"),y.old=y.complete,y.complete=function(){b(y.old)&&y.old.call(this),y.queue&&m.dequeue(this,y.queue)},y},m.fn.extend({fadeTo:function(d,f,_,y){return this.filter($e).css("opacity",0).show().end().animate({opacity:f},d,_,y)},animate:function(d,f,_,y){var k=m.isEmptyObject(d),v=m.speed(f,_,y),S=function(){var I=br(this,m.extend({},d),v);(k||Se.get(this,"finish"))&&I.stop(!0)};return S.finish=S,k||v.queue===!1?this.each(S):this.queue(v.queue,S)},stop:function(d,f,_){var y=function(k){var v=k.stop;delete k.stop,v(_)};return typeof d!="string"&&(_=f,f=d,d=void 0),f&&this.queue(d||"fx",[]),this.each(function(){var k=!0,v=d!=null&&d+"queueHooks",S=m.timers,I=Se.get(this);if(v)I[v]&&I[v].stop&&y(I[v]);else for(v in I)I[v]&&I[v].stop&&WA.test(v)&&y(I[v]);for(v=S.length;v--;)S[v].elem===this&&(d==null||S[v].queue===d)&&(S[v].anim.stop(_),k=!1,S.splice(v,1));(k||!_)&&m.dequeue(this,d)})},finish:function(d){return d!==!1&&(d=d||"fx"),this.each(function(){var f,_=Se.get(this),y=_[d+"queue"],k=_[d+"queueHooks"],v=m.timers,S=y?y.length:0;for(_.finish=!0,m.queue(this,d,[]),k&&k.stop&&k.stop.call(this,!0),f=v.length;f--;)v[f].elem===this&&v[f].queue===d&&(v[f].anim.stop(!0),v.splice(f,1));for(f=0;f<S;f++)y[f]&&y[f].finish&&y[f].finish.call(this);delete _.finish})}}),m.each(["toggle","show","hide"],function(d,f){var _=m.fn[f];m.fn[f]=function(y,k,v){return y==null||typeof y=="boolean"?_.apply(this,arguments):this.animate(Ac(f,!0),y,k,v)}}),m.each({slideDown:Ac("show"),slideUp:Ac("hide"),slideToggle:Ac("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(d,f){m.fn[d]=function(_,y,k){return this.animate(f,_,y,k)}}),m.timers=[],m.fx.tick=function(){var d,f=0,_=m.timers;for(xo=Date.now();f<_.length;f++)d=_[f],!d()&&_[f]===d&&_.splice(f--,1);_.length||m.fx.stop(),xo=void 0},m.fx.timer=function(d){m.timers.push(d),m.fx.start()},m.fx.interval=13,m.fx.start=function(){Bc||(Bc=!0,d1())},m.fx.stop=function(){Bc=null},m.fx.speeds={slow:600,fast:200,_default:400},m.fn.delay=function(d,f){return d=m.fx&&m.fx.speeds[d]||d,f=f||"fx",this.queue(f,function(_,y){var k=e.setTimeout(_,d);y.stop=function(){e.clearTimeout(k)}})},function(){var d=M.createElement("input"),f=M.createElement("select"),_=f.appendChild(M.createElement("option"));d.type="checkbox",C.checkOn=d.value!=="",C.optSelected=_.selected,d=M.createElement("input"),d.value="t",d.type="radio",C.radioValue=d.value==="t"}();var Q_,Fa=m.expr.attrHandle;m.fn.extend({attr:function(d,f){return St(this,m.attr,d,f,arguments.length>1)},removeAttr:function(d){return this.each(function(){m.removeAttr(this,d)})}}),m.extend({attr:function(d,f,_){var y,k,v=d.nodeType;if(!(v===3||v===8||v===2)){if(typeof d.getAttribute>"u")return m.prop(d,f,_);if((v!==1||!m.isXMLDoc(d))&&(k=m.attrHooks[f.toLowerCase()]||(m.expr.match.bool.test(f)?Q_:void 0)),_!==void 0){if(_===null){m.removeAttr(d,f);return}return k&&"set"in k&&(y=k.set(d,_,f))!==void 0?y:(d.setAttribute(f,_+""),_)}return k&&"get"in k&&(y=k.get(d,f))!==null?y:(y=m.find.attr(d,f),y??void 0)}},attrHooks:{type:{set:function(d,f){if(!C.radioValue&&f==="radio"&&B(d,"input")){var _=d.value;return d.setAttribute("type",f),_&&(d.value=_),f}}}},removeAttr:function(d,f){var _,y=0,k=f&&f.match(re);if(k&&d.nodeType===1)for(;_=k[y++];)d.removeAttribute(_)}}),Q_={set:function(d,f,_){return f===!1?m.removeAttr(d,_):d.setAttribute(_,_),_}},m.each(m.expr.match.bool.source.match(/\w+/g),function(d,f){var _=Fa[f]||m.find.attr;Fa[f]=function(y,k,v){var S,I,N=k.toLowerCase();return v||(I=Fa[N],Fa[N]=S,S=_(y,k,v)!=null?N:null,Fa[N]=I),S}});var ZA=/^(?:input|select|textarea|button)$/i,GA=/^(?:a|area)$/i;m.fn.extend({prop:function(d,f){return St(this,m.prop,d,f,arguments.length>1)},removeProp:function(d){return this.each(function(){delete this[m.propFix[d]||d]})}}),m.extend({prop:function(d,f,_){var y,k,v=d.nodeType;if(!(v===3||v===8||v===2))return(v!==1||!m.isXMLDoc(d))&&(f=m.propFix[f]||f,k=m.propHooks[f]),_!==void 0?k&&"set"in k&&(y=k.set(d,_,f))!==void 0?y:d[f]=_:k&&"get"in k&&(y=k.get(d,f))!==null?y:d[f]},propHooks:{tabIndex:{get:function(d){var f=m.find.attr(d,"tabindex");return f?parseInt(f,10):ZA.test(d.nodeName)||GA.test(d.nodeName)&&d.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),C.optSelected||(m.propHooks.selected={get:function(d){var f=d.parentNode;return f&&f.parentNode&&f.parentNode.selectedIndex,null},set:function(d){var f=d.parentNode;f&&(f.selectedIndex,f.parentNode&&f.parentNode.selectedIndex)}}),m.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){m.propFix[this.toLowerCase()]=this});function Ds(d){var f=d.match(re)||[];return f.join(" ")}function Ps(d){return d.getAttribute&&d.getAttribute("class")||""}function u1(d){return Array.isArray(d)?d:typeof d=="string"?d.match(re)||[]:[]}m.fn.extend({addClass:function(d){var f,_,y,k,v,S;return b(d)?this.each(function(I){m(this).addClass(d.call(this,I,Ps(this)))}):(f=u1(d),f.length?this.each(function(){if(y=Ps(this),_=this.nodeType===1&&" "+Ds(y)+" ",_){for(v=0;v<f.length;v++)k=f[v],_.indexOf(" "+k+" ")<0&&(_+=k+" ");S=Ds(_),y!==S&&this.setAttribute("class",S)}}):this)},removeClass:function(d){var f,_,y,k,v,S;return b(d)?this.each(function(I){m(this).removeClass(d.call(this,I,Ps(this)))}):arguments.length?(f=u1(d),f.length?this.each(function(){if(y=Ps(this),_=this.nodeType===1&&" "+Ds(y)+" ",_){for(v=0;v<f.length;v++)for(k=f[v];_.indexOf(" "+k+" ")>-1;)_=_.replace(" "+k+" "," ");S=Ds(_),y!==S&&this.setAttribute("class",S)}}):this):this.attr("class","")},toggleClass:function(d,f){var _,y,k,v,S=typeof d,I=S==="string"||Array.isArray(d);return b(d)?this.each(function(N){m(this).toggleClass(d.call(this,N,Ps(this),f),f)}):typeof f=="boolean"&&I?f?this.addClass(d):this.removeClass(d):(_=u1(d),this.each(function(){if(I)for(v=m(this),k=0;k<_.length;k++)y=_[k],v.hasClass(y)?v.removeClass(y):v.addClass(y);else(d===void 0||S==="boolean")&&(y=Ps(this),y&&Se.set(this,"__className__",y),this.setAttribute&&this.setAttribute("class",y||d===!1?"":Se.get(this,"__className__")||""))}))},hasClass:function(d){var f,_,y=0;for(f=" "+d+" ";_=this[y++];)if(_.nodeType===1&&(" "+Ds(Ps(_))+" ").indexOf(f)>-1)return!0;return!1}});var KA=/\r/g;m.fn.extend({val:function(d){var f,_,y,k=this[0];return arguments.length?(y=b(d),this.each(function(v){var S;this.nodeType===1&&(y?S=d.call(this,v,m(this).val()):S=d,S==null?S="":typeof S=="number"?S+="":Array.isArray(S)&&(S=m.map(S,function(I){return I==null?"":I+""})),f=m.valHooks[this.type]||m.valHooks[this.nodeName.toLowerCase()],(!f||!("set"in f)||f.set(this,S,"value")===void 0)&&(this.value=S))})):k?(f=m.valHooks[k.type]||m.valHooks[k.nodeName.toLowerCase()],f&&"get"in f&&(_=f.get(k,"value"))!==void 0?_:(_=k.value,typeof _=="string"?_.replace(KA,""):_??"")):void 0}}),m.extend({valHooks:{option:{get:function(d){var f=m.find.attr(d,"value");return f??Ds(m.text(d))}},select:{get:function(d){var f,_,y,k=d.options,v=d.selectedIndex,S=d.type==="select-one",I=S?null:[],N=S?v+1:k.length;for(v<0?y=N:y=S?v:0;y<N;y++)if(_=k[y],(_.selected||y===v)&&!_.disabled&&(!_.parentNode.disabled||!B(_.parentNode,"optgroup"))){if(f=m(_).val(),S)return f;I.push(f)}return I},set:function(d,f){for(var _,y,k=d.options,v=m.makeArray(f),S=k.length;S--;)y=k[S],(y.selected=m.inArray(m.valHooks.option.get(y),v)>-1)&&(_=!0);return _||(d.selectedIndex=-1),v}}}}),m.each(["radio","checkbox"],function(){m.valHooks[this]={set:function(d,f){if(Array.isArray(f))return d.checked=m.inArray(m(d).val(),f)>-1}},C.checkOn||(m.valHooks[this].get=function(d){return d.getAttribute("value")===null?"on":d.value})});var Ia=e.location,J_={guid:Date.now()},h1=/\?/;m.parseXML=function(d){var f,_;if(!d||typeof d!="string")return null;try{f=new e.DOMParser().parseFromString(d,"text/xml")}catch{}return _=f&&f.getElementsByTagName("parsererror")[0],(!f||_)&&m.error("Invalid XML: "+(_?m.map(_.childNodes,function(y){return y.textContent}).join(`
|
|
27
|
+
`):d)),f};var e6=/^(?:focusinfocus|focusoutblur)$/,t6=function(d){d.stopPropagation()};m.extend(m.event,{trigger:function(d,f,_,y){var k,v,S,I,N,z,te,oe,K=[_||M],_e=p.call(d,"type")?d.type:d,Ie=p.call(d,"namespace")?d.namespace.split("."):[];if(v=oe=S=_=_||M,!(_.nodeType===3||_.nodeType===8)&&!e6.test(_e+m.event.triggered)&&(_e.indexOf(".")>-1&&(Ie=_e.split("."),_e=Ie.shift(),Ie.sort()),N=_e.indexOf(":")<0&&"on"+_e,d=d[m.expando]?d:new m.Event(_e,typeof d=="object"&&d),d.isTrigger=y?2:3,d.namespace=Ie.join("."),d.rnamespace=d.namespace?new RegExp("(^|\\.)"+Ie.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,d.result=void 0,d.target||(d.target=_),f=f==null?[d]:m.makeArray(f,[d]),te=m.event.special[_e]||{},!(!y&&te.trigger&&te.trigger.apply(_,f)===!1))){if(!y&&!te.noBubble&&!x(_)){for(I=te.delegateType||_e,e6.test(I+_e)||(v=v.parentNode);v;v=v.parentNode)K.push(v),S=v;S===(_.ownerDocument||M)&&K.push(S.defaultView||S.parentWindow||e)}for(k=0;(v=K[k++])&&!d.isPropagationStopped();)oe=v,d.type=k>1?I:te.bindType||_e,z=(Se.get(v,"events")||Object.create(null))[d.type]&&Se.get(v,"handle"),z&&z.apply(v,f),z=N&&v[N],z&&z.apply&&_r(v)&&(d.result=z.apply(v,f),d.result===!1&&d.preventDefault());return d.type=_e,!y&&!d.isDefaultPrevented()&&(!te._default||te._default.apply(K.pop(),f)===!1)&&_r(_)&&N&&b(_[_e])&&!x(_)&&(S=_[N],S&&(_[N]=null),m.event.triggered=_e,d.isPropagationStopped()&&oe.addEventListener(_e,t6),_[_e](),d.isPropagationStopped()&&oe.removeEventListener(_e,t6),m.event.triggered=void 0,S&&(_[N]=S)),d.result}},simulate:function(d,f,_){var y=m.extend(new m.Event,_,{type:d,isSimulated:!0});m.event.trigger(y,null,f)}}),m.fn.extend({trigger:function(d,f){return this.each(function(){m.event.trigger(d,f,this)})},triggerHandler:function(d,f){var _=this[0];if(_)return m.event.trigger(d,f,_,!0)}});var XA=/\[\]$/,n6=/\r?\n/g,QA=/^(?:submit|button|image|reset|file)$/i,JA=/^(?:input|select|textarea|keygen)/i;function f1(d,f,_,y){var k;if(Array.isArray(f))m.each(f,function(v,S){_||XA.test(d)?y(d,S):f1(d+"["+(typeof S=="object"&&S!=null?v:"")+"]",S,_,y)});else if(!_&&$(f)==="object")for(k in f)f1(d+"["+k+"]",f[k],_,y);else y(d,f)}m.param=function(d,f){var _,y=[],k=function(v,S){var I=b(S)?S():S;y[y.length]=encodeURIComponent(v)+"="+encodeURIComponent(I??"")};if(d==null)return"";if(Array.isArray(d)||d.jquery&&!m.isPlainObject(d))m.each(d,function(){k(this.name,this.value)});else for(_ in d)f1(_,d[_],f,k);return y.join("&")},m.fn.extend({serialize:function(){return m.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var d=m.prop(this,"elements");return d?m.makeArray(d):this}).filter(function(){var d=this.type;return this.name&&!m(this).is(":disabled")&&JA.test(this.nodeName)&&!QA.test(d)&&(this.checked||!Sn.test(d))}).map(function(d,f){var _=m(this).val();return _==null?null:Array.isArray(_)?m.map(_,function(y){return{name:f.name,value:y.replace(n6,`\r
|
|
28
|
+
`)}}):{name:f.name,value:_.replace(n6,`\r
|
|
29
|
+
`)}}).get()}});var eR=/%20/g,tR=/#.*$/,nR=/([?&])_=[^&]*/,rR=/^(.*?):[ \t]*([^\r\n]*)$/mg,iR=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,sR=/^(?:GET|HEAD)$/,oR=/^\/\//,r6={},p1={},i6="*/".concat("*"),m1=M.createElement("a");m1.href=Ia.href;function s6(d){return function(f,_){typeof f!="string"&&(_=f,f="*");var y,k=0,v=f.toLowerCase().match(re)||[];if(b(_))for(;y=v[k++];)y[0]==="+"?(y=y.slice(1)||"*",(d[y]=d[y]||[]).unshift(_)):(d[y]=d[y]||[]).push(_)}}function o6(d,f,_,y){var k={},v=d===p1;function S(I){var N;return k[I]=!0,m.each(d[I]||[],function(z,te){var oe=te(f,_,y);if(typeof oe=="string"&&!v&&!k[oe])return f.dataTypes.unshift(oe),S(oe),!1;if(v)return!(N=oe)}),N}return S(f.dataTypes[0])||!k["*"]&&S("*")}function g1(d,f){var _,y,k=m.ajaxSettings.flatOptions||{};for(_ in f)f[_]!==void 0&&((k[_]?d:y||(y={}))[_]=f[_]);return y&&m.extend(!0,d,y),d}function aR(d,f,_){for(var y,k,v,S,I=d.contents,N=d.dataTypes;N[0]==="*";)N.shift(),y===void 0&&(y=d.mimeType||f.getResponseHeader("Content-Type"));if(y){for(k in I)if(I[k]&&I[k].test(y)){N.unshift(k);break}}if(N[0]in _)v=N[0];else{for(k in _){if(!N[0]||d.converters[k+" "+N[0]]){v=k;break}S||(S=k)}v=v||S}if(v)return v!==N[0]&&N.unshift(v),_[v]}function lR(d,f,_,y){var k,v,S,I,N,z={},te=d.dataTypes.slice();if(te[1])for(S in d.converters)z[S.toLowerCase()]=d.converters[S];for(v=te.shift();v;)if(d.responseFields[v]&&(_[d.responseFields[v]]=f),!N&&y&&d.dataFilter&&(f=d.dataFilter(f,d.dataType)),N=v,v=te.shift(),v){if(v==="*")v=N;else if(N!=="*"&&N!==v){if(S=z[N+" "+v]||z["* "+v],!S){for(k in z)if(I=k.split(" "),I[1]===v&&(S=z[N+" "+I[0]]||z["* "+I[0]],S)){S===!0?S=z[k]:z[k]!==!0&&(v=I[0],te.unshift(I[1]));break}}if(S!==!0)if(S&&d.throws)f=S(f);else try{f=S(f)}catch(oe){return{state:"parsererror",error:S?oe:"No conversion from "+N+" to "+v}}}}return{state:"success",data:f}}m.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ia.href,type:"GET",isLocal:iR.test(Ia.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":i6,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":m.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(d,f){return f?g1(g1(d,m.ajaxSettings),f):g1(m.ajaxSettings,d)},ajaxPrefilter:s6(r6),ajaxTransport:s6(p1),ajax:function(d,f){typeof d=="object"&&(f=d,d=void 0),f=f||{};var _,y,k,v,S,I,N,z,te,oe,K=m.ajaxSetup({},f),_e=K.context||K,Ie=K.context&&(_e.nodeType||_e.jquery)?m(_e):m.event,rt=m.Deferred(),We=m.Callbacks("once memory"),on=K.statusCode||{},Qt={},zr={},jr="canceled",Ke={readyState:0,getResponseHeader:function(it){var Ft;if(N){if(!v)for(v={};Ft=rR.exec(k);)v[Ft[1].toLowerCase()+" "]=(v[Ft[1].toLowerCase()+" "]||[]).concat(Ft[2]);Ft=v[it.toLowerCase()+" "]}return Ft==null?null:Ft.join(", ")},getAllResponseHeaders:function(){return N?k:null},setRequestHeader:function(it,Ft){return N==null&&(it=zr[it.toLowerCase()]=zr[it.toLowerCase()]||it,Qt[it]=Ft),this},overrideMimeType:function(it){return N==null&&(K.mimeType=it),this},statusCode:function(it){var Ft;if(it)if(N)Ke.always(it[Ke.status]);else for(Ft in it)on[Ft]=[on[Ft],it[Ft]];return this},abort:function(it){var Ft=it||jr;return _&&_.abort(Ft),Os(0,Ft),this}};if(rt.promise(Ke),K.url=((d||K.url||Ia.href)+"").replace(oR,Ia.protocol+"//"),K.type=f.method||f.type||K.method||K.type,K.dataTypes=(K.dataType||"*").toLowerCase().match(re)||[""],K.crossDomain==null){I=M.createElement("a");try{I.href=K.url,I.href=I.href,K.crossDomain=m1.protocol+"//"+m1.host!=I.protocol+"//"+I.host}catch{K.crossDomain=!0}}if(K.data&&K.processData&&typeof K.data!="string"&&(K.data=m.param(K.data,K.traditional)),o6(r6,K,f,Ke),N)return Ke;z=m.event&&K.global,z&&m.active++===0&&m.event.trigger("ajaxStart"),K.type=K.type.toUpperCase(),K.hasContent=!sR.test(K.type),y=K.url.replace(tR,""),K.hasContent?K.data&&K.processData&&(K.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(K.data=K.data.replace(eR,"+")):(oe=K.url.slice(y.length),K.data&&(K.processData||typeof K.data=="string")&&(y+=(h1.test(y)?"&":"?")+K.data,delete K.data),K.cache===!1&&(y=y.replace(nR,"$1"),oe=(h1.test(y)?"&":"?")+"_="+J_.guid+++oe),K.url=y+oe),K.ifModified&&(m.lastModified[y]&&Ke.setRequestHeader("If-Modified-Since",m.lastModified[y]),m.etag[y]&&Ke.setRequestHeader("If-None-Match",m.etag[y])),(K.data&&K.hasContent&&K.contentType!==!1||f.contentType)&&Ke.setRequestHeader("Content-Type",K.contentType),Ke.setRequestHeader("Accept",K.dataTypes[0]&&K.accepts[K.dataTypes[0]]?K.accepts[K.dataTypes[0]]+(K.dataTypes[0]!=="*"?", "+i6+"; q=0.01":""):K.accepts["*"]);for(te in K.headers)Ke.setRequestHeader(te,K.headers[te]);if(K.beforeSend&&(K.beforeSend.call(_e,Ke,K)===!1||N))return Ke.abort();if(jr="abort",We.add(K.complete),Ke.done(K.success),Ke.fail(K.error),_=o6(p1,K,f,Ke),!_)Os(-1,"No Transport");else{if(Ke.readyState=1,z&&Ie.trigger("ajaxSend",[Ke,K]),N)return Ke;K.async&&K.timeout>0&&(S=e.setTimeout(function(){Ke.abort("timeout")},K.timeout));try{N=!1,_.send(Qt,Os)}catch(it){if(N)throw it;Os(-1,it)}}function Os(it,Ft,za,y1){var Yr,ja,Wr,Wi,qi,ir=Ft;N||(N=!0,S&&e.clearTimeout(S),_=void 0,k=y1||"",Ke.readyState=it>0?4:0,Yr=it>=200&&it<300||it===304,za&&(Wi=aR(K,Ke,za)),!Yr&&m.inArray("script",K.dataTypes)>-1&&m.inArray("json",K.dataTypes)<0&&(K.converters["text script"]=function(){}),Wi=lR(K,Wi,Ke,Yr),Yr?(K.ifModified&&(qi=Ke.getResponseHeader("Last-Modified"),qi&&(m.lastModified[y]=qi),qi=Ke.getResponseHeader("etag"),qi&&(m.etag[y]=qi)),it===204||K.type==="HEAD"?ir="nocontent":it===304?ir="notmodified":(ir=Wi.state,ja=Wi.data,Wr=Wi.error,Yr=!Wr)):(Wr=ir,(it||!ir)&&(ir="error",it<0&&(it=0))),Ke.status=it,Ke.statusText=(Ft||ir)+"",Yr?rt.resolveWith(_e,[ja,ir,Ke]):rt.rejectWith(_e,[Ke,ir,Wr]),Ke.statusCode(on),on=void 0,z&&Ie.trigger(Yr?"ajaxSuccess":"ajaxError",[Ke,K,Yr?ja:Wr]),We.fireWith(_e,[Ke,ir]),z&&(Ie.trigger("ajaxComplete",[Ke,K]),--m.active||m.event.trigger("ajaxStop")))}return Ke},getJSON:function(d,f,_){return m.get(d,f,_,"json")},getScript:function(d,f){return m.get(d,void 0,f,"script")}}),m.each(["get","post"],function(d,f){m[f]=function(_,y,k,v){return b(y)&&(v=v||k,k=y,y=void 0),m.ajax(m.extend({url:_,type:f,dataType:v,data:y,success:k},m.isPlainObject(_)&&_))}}),m.ajaxPrefilter(function(d){var f;for(f in d.headers)f.toLowerCase()==="content-type"&&(d.contentType=d.headers[f]||"")}),m._evalUrl=function(d,f,_){return m.ajax({url:d,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(y){m.globalEval(y,f,_)}})},m.fn.extend({wrapAll:function(d){var f;return this[0]&&(b(d)&&(d=d.call(this[0])),f=m(d,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&f.insertBefore(this[0]),f.map(function(){for(var _=this;_.firstElementChild;)_=_.firstElementChild;return _}).append(this)),this},wrapInner:function(d){return b(d)?this.each(function(f){m(this).wrapInner(d.call(this,f))}):this.each(function(){var f=m(this),_=f.contents();_.length?_.wrapAll(d):f.append(d)})},wrap:function(d){var f=b(d);return this.each(function(_){m(this).wrapAll(f?d.call(this,_):d)})},unwrap:function(d){return this.parent(d).not("body").each(function(){m(this).replaceWith(this.childNodes)}),this}}),m.expr.pseudos.hidden=function(d){return!m.expr.pseudos.visible(d)},m.expr.pseudos.visible=function(d){return!!(d.offsetWidth||d.offsetHeight||d.getClientRects().length)},m.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch{}};var cR={0:200,1223:204},Ha=m.ajaxSettings.xhr();C.cors=!!Ha&&"withCredentials"in Ha,C.ajax=Ha=!!Ha,m.ajaxTransport(function(d){var f,_;if(C.cors||Ha&&!d.crossDomain)return{send:function(y,k){var v,S=d.xhr();if(S.open(d.type,d.url,d.async,d.username,d.password),d.xhrFields)for(v in d.xhrFields)S[v]=d.xhrFields[v];d.mimeType&&S.overrideMimeType&&S.overrideMimeType(d.mimeType),!d.crossDomain&&!y["X-Requested-With"]&&(y["X-Requested-With"]="XMLHttpRequest");for(v in y)S.setRequestHeader(v,y[v]);f=function(I){return function(){f&&(f=_=S.onload=S.onerror=S.onabort=S.ontimeout=S.onreadystatechange=null,I==="abort"?S.abort():I==="error"?typeof S.status!="number"?k(0,"error"):k(S.status,S.statusText):k(cR[S.status]||S.status,S.statusText,(S.responseType||"text")!=="text"||typeof S.responseText!="string"?{binary:S.response}:{text:S.responseText},S.getAllResponseHeaders()))}},S.onload=f(),_=S.onerror=S.ontimeout=f("error"),S.onabort!==void 0?S.onabort=_:S.onreadystatechange=function(){S.readyState===4&&e.setTimeout(function(){f&&_()})},f=f("abort");try{S.send(d.hasContent&&d.data||null)}catch(I){if(f)throw I}},abort:function(){f&&f()}}}),m.ajaxPrefilter(function(d){d.crossDomain&&(d.contents.script=!1)}),m.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(d){return m.globalEval(d),d}}}),m.ajaxPrefilter("script",function(d){d.cache===void 0&&(d.cache=!1),d.crossDomain&&(d.type="GET")}),m.ajaxTransport("script",function(d){if(d.crossDomain||d.scriptAttrs){var f,_;return{send:function(y,k){f=m("<script>").attr(d.scriptAttrs||{}).prop({charset:d.scriptCharset,src:d.url}).on("load error",_=function(v){f.remove(),_=null,v&&k(v.type==="error"?404:200,v.type)}),M.head.appendChild(f[0])},abort:function(){_&&_()}}}});var a6=[],_1=/(=)\?(?=&|$)|\?\?/;m.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var d=a6.pop()||m.expando+"_"+J_.guid++;return this[d]=!0,d}}),m.ajaxPrefilter("json jsonp",function(d,f,_){var y,k,v,S=d.jsonp!==!1&&(_1.test(d.url)?"url":typeof d.data=="string"&&(d.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&_1.test(d.data)&&"data");if(S||d.dataTypes[0]==="jsonp")return y=d.jsonpCallback=b(d.jsonpCallback)?d.jsonpCallback():d.jsonpCallback,S?d[S]=d[S].replace(_1,"$1"+y):d.jsonp!==!1&&(d.url+=(h1.test(d.url)?"&":"?")+d.jsonp+"="+y),d.converters["script json"]=function(){return v||m.error(y+" was not called"),v[0]},d.dataTypes[0]="json",k=e[y],e[y]=function(){v=arguments},_.always(function(){k===void 0?m(e).removeProp(y):e[y]=k,d[y]&&(d.jsonpCallback=f.jsonpCallback,a6.push(y)),v&&b(k)&&k(v[0]),v=k=void 0}),"script"}),C.createHTMLDocument=function(){var d=M.implementation.createHTMLDocument("").body;return d.innerHTML="<form></form><form></form>",d.childNodes.length===2}(),m.parseHTML=function(d,f,_){if(typeof d!="string")return[];typeof f=="boolean"&&(_=f,f=!1);var y,k,v;return f||(C.createHTMLDocument?(f=M.implementation.createHTMLDocument(""),y=f.createElement("base"),y.href=M.location.href,f.head.appendChild(y)):f=M),k=X.exec(d),v=!_&&[],k?[f.createElement(k[1])]:(k=A_([d],f,v),v&&v.length&&m(v).remove(),m.merge([],k.childNodes))},m.fn.load=function(d,f,_){var y,k,v,S=this,I=d.indexOf(" ");return I>-1&&(y=Ds(d.slice(I)),d=d.slice(0,I)),b(f)?(_=f,f=void 0):f&&typeof f=="object"&&(k="POST"),S.length>0&&m.ajax({url:d,type:k||"GET",dataType:"html",data:f}).done(function(N){v=arguments,S.html(y?m("<div>").append(m.parseHTML(N)).find(y):N)}).always(_&&function(N,z){S.each(function(){_.apply(this,v||[N.responseText,z,N])})}),this},m.expr.pseudos.animated=function(d){return m.grep(m.timers,function(f){return d===f.elem}).length},m.offset={setOffset:function(d,f,_){var y,k,v,S,I,N,z,te=m.css(d,"position"),oe=m(d),K={};te==="static"&&(d.style.position="relative"),I=oe.offset(),v=m.css(d,"top"),N=m.css(d,"left"),z=(te==="absolute"||te==="fixed")&&(v+N).indexOf("auto")>-1,z?(y=oe.position(),S=y.top,k=y.left):(S=parseFloat(v)||0,k=parseFloat(N)||0),b(f)&&(f=f.call(d,_,m.extend({},I))),f.top!=null&&(K.top=f.top-I.top+S),f.left!=null&&(K.left=f.left-I.left+k),"using"in f?f.using.call(d,K):oe.css(K)}},m.fn.extend({offset:function(d){if(arguments.length)return d===void 0?this:this.each(function(k){m.offset.setOffset(this,d,k)});var f,_,y=this[0];if(y)return y.getClientRects().length?(f=y.getBoundingClientRect(),_=y.ownerDocument.defaultView,{top:f.top+_.pageYOffset,left:f.left+_.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var d,f,_,y=this[0],k={top:0,left:0};if(m.css(y,"position")==="fixed")f=y.getBoundingClientRect();else{for(f=this.offset(),_=y.ownerDocument,d=y.offsetParent||_.documentElement;d&&(d===_.body||d===_.documentElement)&&m.css(d,"position")==="static";)d=d.parentNode;d&&d!==y&&d.nodeType===1&&(k=m(d).offset(),k.top+=m.css(d,"borderTopWidth",!0),k.left+=m.css(d,"borderLeftWidth",!0))}return{top:f.top-k.top-m.css(y,"marginTop",!0),left:f.left-k.left-m.css(y,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var d=this.offsetParent;d&&m.css(d,"position")==="static";)d=d.offsetParent;return d||De})}}),m.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(d,f){var _=f==="pageYOffset";m.fn[d]=function(y){return St(this,function(k,v,S){var I;if(x(k)?I=k:k.nodeType===9&&(I=k.defaultView),S===void 0)return I?I[f]:k[v];I?I.scrollTo(_?I.pageXOffset:S,_?S:I.pageYOffset):k[v]=S},d,y,arguments.length)}}),m.each(["top","left"],function(d,f){m.cssHooks[f]=j_(C.pixelPosition,function(_,y){if(y)return y=Ra(_,f),o1.test(y)?m(_).position()[f]+"px":y})}),m.each({Height:"height",Width:"width"},function(d,f){m.each({padding:"inner"+d,content:f,"":"outer"+d},function(_,y){m.fn[y]=function(k,v){var S=arguments.length&&(_||typeof k!="boolean"),I=_||(k===!0||v===!0?"margin":"border");return St(this,function(N,z,te){var oe;return x(N)?y.indexOf("outer")===0?N["inner"+d]:N.document.documentElement["client"+d]:N.nodeType===9?(oe=N.documentElement,Math.max(N.body["scroll"+d],oe["scroll"+d],N.body["offset"+d],oe["offset"+d],oe["client"+d])):te===void 0?m.css(N,z,I):m.style(N,z,te,I)},f,S?k:void 0,S)}})}),m.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(d,f){m.fn[f]=function(_){return this.on(f,_)}}),m.fn.extend({bind:function(d,f,_){return this.on(d,null,f,_)},unbind:function(d,f){return this.off(d,null,f)},delegate:function(d,f,_,y){return this.on(f,d,_,y)},undelegate:function(d,f,_){return arguments.length===1?this.off(d,"**"):this.off(f,d||"**",_)},hover:function(d,f){return this.on("mouseenter",d).on("mouseleave",f||d)}}),m.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(d,f){m.fn[f]=function(_,y){return arguments.length>0?this.on(f,null,_,y):this.trigger(f)}});var dR=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;m.proxy=function(d,f){var _,y,k;if(typeof f=="string"&&(_=d[f],f=d,d=_),!!b(d))return y=s.call(arguments,2),k=function(){return d.apply(f||this,y.concat(s.call(arguments)))},k.guid=d.guid=d.guid||m.guid++,k},m.holdReady=function(d){d?m.readyWait++:m.ready(!0)},m.isArray=Array.isArray,m.parseJSON=JSON.parse,m.nodeName=B,m.isFunction=b,m.isWindow=x,m.camelCase=rn,m.type=$,m.now=Date.now,m.isNumeric=function(d){var f=m.type(d);return(f==="number"||f==="string")&&!isNaN(d-parseFloat(d))},m.trim=function(d){return d==null?"":(d+"").replace(dR,"$1")};var uR=e.jQuery,hR=e.$;return m.noConflict=function(d){return e.$===m&&(e.$=hR),d&&e.jQuery===m&&(e.jQuery=uR),m},typeof n>"u"&&(e.jQuery=e.$=m),m})})(X0);var Q0=X0.exports;const ab=ob(Q0);/*! roundSlider v1.6.1 | (c) 2015-2020, Soundar | MIT license | http://roundsliderui.com/licence.html */(function(t){(function(e){e(Q0)})(function(e){var n="roundSlider";function r(i,s){this.id=i.id,this.control=e(i),this.options=e.extend({},this.defaults,s)}e.fn[n]=function(i){return(function(s,a){for(var l=0;l<this.length;l++){var c=this[l],u=e.data(c,n);if(u){if(e.isPlainObject(s))typeof u.option=="function"?u.option(s):c.id&&window[c.id]&&typeof window[c.id].option=="function"&&window[c.id].option(s);else if(typeof s=="string"&&typeof u[s]=="function"){if((s==="option"||s.indexOf("get")===0)&&a[2]===void 0)return u[s](a[1]);u[s](a[1],a[2])}}else{var h=new r(c,s);h._saveInstanceOnElement(),h._saveInstanceOnID(),h._raise("beforeCreate")!==!1?(h._init(),h._raise("create")):h._removeData()}}return this}).call(this,i,arguments)},r.prototype={pluginName:n,version:"1.6.1",options:{},control:null,defaults:{min:0,max:100,step:1,value:null,radius:85,width:18,handleSize:"+0",startAngle:0,endAngle:"+360",animation:!0,showTooltip:!0,editableTooltip:!0,readOnly:!1,disabled:!1,keyboardAction:!0,mouseScrollAction:!1,lineCap:"butt",sliderType:"default",circleShape:"full",handleShape:"round",startValue:null,svgMode:!1,borderWidth:1,borderColor:null,pathColor:null,rangeColor:null,tooltipColor:null,beforeCreate:null,create:null,start:null,beforeValueChange:null,drag:null,change:null,update:null,valueChange:null,stop:null,tooltipFormat:null},keys:{UP:38,DOWN:40,LEFT:37,RIGHT:39},_props:function(){return{numberType:["min","max","step","radius","width","borderWidth","startAngle","startValue"],booleanType:["animation","showTooltip","editableTooltip","readOnly","disabled","keyboardAction","mouseScrollAction","svgMode"],stringType:["sliderType","circleShape","handleShape","lineCap"]}},_init:function(){var i,s=this.options;s.svgMode&&(i=function(){},this._appendSeperator=i,this._refreshSeperator=i,this._updateSeperator=i,this._appendOverlay=i,this._checkOverlay=i,this._updateWidth=i),this.control.is("input")&&(this._isInputType=!0,this._hiddenField=this.control,this.control=this.$createElement("div"),this.control.insertAfter(this._hiddenField),s.value=this._hiddenField.val()||s.value),this._isBrowserSupported()&&this._onInit()},_onInit:function(){this._initialize(),this._update(),this._render()},_initialize:function(){var i=this.browserName=this.getBrowserName();i&&this.control.addClass("rs-"+i),this._isReadOnly=!1,this._checkDataType(),this._refreshCircleShape()},_render:function(){this.container=this.$createElement("div.rs-container"),this.innerContainer=this.$createElement("div.rs-inner-container"),this.container.append(this.innerContainer);var i="rs-control "+(this.options.svgMode?"rs-svg-mode":"rs-classic-mode");this.control.addClass(i).empty().append(this.container),this._createLayers(),this._createOtherLayers(),this._setContainerClass(),this._setRadius(),this._setProperties(),this._setValue(),this._updateTooltipPos(),this._bindControlEvents("_bind"),this._raiseValueChange("create"),this._updatePre()},_update:function(){this._validateSliderType(),this._updateStartEnd(),this._validateStartEnd(),this._handle1=this._handle2=this._handleDefaults(),this._analyzeModelValue(),this._validateModelValue()},_createLayers:function(){var i=this.options;if(i.svgMode)return this._createSVGElements(),this._setSVGAttributes(),this._setSVGStyles(),void this._moveSliderRange(!0);this.block=this.$createElement("div.rs-block rs-outer rs-border"),this.innerContainer.append(this.block);var s=i.width,a=this._start,l=this.$createElement("div.rs-path rs-transition");this._showRange?(this.block1=l.clone().addClass("rs-range-color").rsRotate(a),this.block2=l.clone().addClass("rs-range-color").css("opacity","0").rsRotate(a),this.block3=l.clone().addClass("rs-path-color").rsRotate(a),this.block4=l.addClass("rs-path-color").css({opacity:"1","z-index":"1"}).rsRotate(a-180),this.block.append(this.block1,this.block2,this.block3,this.block4).addClass("rs-split")):this.block.append(l.addClass("rs-path-color")),this.lastBlock=this.$createElement("span.rs-block").css({padding:s}),this.innerBlock=this.$createElement("div.rs-inner rs-bg-color rs-border"),this.lastBlock.append(this.innerBlock),this.block.append(this.lastBlock)},_createOtherLayers:function(){this._appendHandle(),this._appendSeperator(),this._appendOverlay(),this._appendHiddenField()},_setProperties:function(){var i=this.options;this._setHandleShape(),this._addAnimation(),this._appendTooltip(),i.showTooltip||this._removeTooltip(),i.disabled?this.disable():i.readOnly&&this._readOnly(!0),i.mouseScrollAction&&this._bindScrollEvents("_bind")},_updatePre:function(){this._prechange=this._predrag=this._pre_bvc=this._preValue=this.options.value},_backupPreValue:function(){this._pre_handle1=this._handle1,this._pre_handle2=this._handle2},_revertPreValue:function(){this._handle1=this._pre_handle1,this._handle2=this._pre_handle2,this._updateModelValue()},_setValue:function(){var i;this._rangeSlider?(this._setHandleValue(1),this._setHandleValue(2)):(this._minRange&&!this.options.svgMode&&this._setHandleValue(1),i=this._minRange?2:this._active||1,this._setHandleValue(i))},_appendTooltip:function(){var i;this.container.children(".rs-tooltip").length===0&&(i=this.tooltip=this.$createElement("span.rs-tooltip rs-tooltip-text"),this.container.append(i),this._setTooltipColor(i),this._tooltipEditable(),this._updateTooltip())},_removeTooltip:function(){this.container.children(".rs-tooltip").length!=0&&this.tooltip&&this.tooltip.remove()},_setTooltipColor:function(i){var s=this.options,a=s.tooltipColor,l=a!=="inherit"?a:s.rangeColor;i&&l!=null&&i.css("color",l)},_tooltipEditable:function(){var i=this.options,s=this.tooltip;s&&i.showTooltip&&this[i.editableTooltip?(s.addClass("rs-edit"),"_bind"):(s.removeClass("rs-edit"),"_unbind")](s,"click",this._editTooltip)},_editTooltip:function(i){var s,a,l=this.tooltip;l.hasClass("rs-edit")&&!this._isReadOnly&&(s=2*parseFloat(l.css("border-left-width")),a=this.input=this.$createElement("input.rs-input rs-tooltip-text").css({height:l.outerHeight()-s,width:l.outerWidth()-s}),this._setTooltipColor(a),l.html(a).removeClass("rs-edit").addClass("rs-hover"),a.focus().val(this._getTooltipValue(!0)),this._bind(a,"blur change",this._focusOut))},_focusOut:function(i){var s;i.type=="change"?((s=this.input.val().replace("-",","))[0]==","&&(s="-"+s.slice(1).replace("-",",")),this.options.value=s,this._validateValue(!0)&&(this.input.val(this._getTooltipValue(!0)),this._raiseEvent("change"))):(delete this.input,this.tooltip.addClass("rs-edit").removeClass("rs-hover"),this._updateTooltip())},_setHandleShape:function(){var i=this.options,s=i.handleShape,a=this._handles();a.removeClass("rs-handle-dot rs-handle-square"),s=="dot"?a.addClass("rs-handle-dot"):s=="square"?a.addClass("rs-handle-square"):i.handleShape="round"},_setHandleValue:function(i){this._active=i;var s=this["_handle"+i];this._minRange||(this.bar=this._activeHandleBar()),this._changeSliderValue(s.value,s.angle)},_addAnimation:function(){this.options.animation&&this.control.addClass("rs-animation")},_removeAnimation:function(){this.control.removeClass("rs-animation")},_setContainerClass:function(){var i=this.options.circleShape;i=="full"||i=="pie"||i.indexOf("custom")===0?this.container.addClass("rs-full rs-"+i):this.container.addClass("rs-"+i.split("-").join(" rs-"))},_setRadius:function(){var i,s,a,l=this.options,c=l.radius,u=2*c,h=l.circleShape,p=0,g=i=u,w=s=u,C=h=="full"||h=="pie"||h.indexOf("custom")===0;if(l.svgMode&&!C&&(a=this._handleBars(),l.lineCap!="none"?(p=l.lineCap==="butt"?l.borderWidth/2:l.width/2+l.borderWidth,h.indexOf("bottom")!=-1&&a.css("margin-top",p+"px"),h.indexOf("right")!=-1&&a.css("margin-right",-p+"px")):e.each(a,function(b,x){x.style.removeProperty("margin-top"),x.style.removeProperty("margin-right")})),h.indexOf("half")===0)switch(h){case"half-top":case"half-bottom":i=(g=c)+p;break;case"half-left":case"half-right":s=(w=c)+p}else h.indexOf("quarter")===0&&(i=s=(g=w=c)+p);this.container.css({height:g,width:w}),this.control.css({height:i,width:s}),p!==0?this.innerContainer.css({height:i,width:s}):this.innerContainer.removeAttr("style"),l.svgMode&&this.svgContainer.height(u).width(u).children("svg").height(u).width(u)},_border:function(i){var s=this.options;return s.svgMode?2*s.borderWidth:i?parseFloat(this._startLine.children().css("border-bottom-width")):2*parseFloat(this.block.css("border-top-width"))},_appendHandle:function(){!this._rangeSlider&&this._minRange||this._createHandle(1),this._showRange&&this._createHandle(2)},_appendSeperator:function(){this._startLine=this._addSeperator(this._start,"rs-start"),this._endLine=this._addSeperator(this._start+this._end,"rs-end"),this._refreshSeperator()},_addSeperator:function(i,s){var a=this.$createElement("span.rs-seperator rs-border"),l=this.$createElement("span.rs-bar rs-transition "+s).append(a).rsRotate(i);return this.container.append(l),l},_refreshSeperator:function(){var i=this._startLine.add(this._endLine),s=i.children().removeAttr("style"),a=this.options,l=a.width+this._border();a.lineCap=="round"&&a.circleShape!="full"?(i.addClass("rs-rounded"),s.css({width:l,height:l/2+1}),this._startLine.children().css("margin-top",-1).addClass(this._minRange?"rs-range-color":"rs-path-color"),this._endLine.children().css("margin-top",l/-2).addClass("rs-path-color")):(i.removeClass("rs-rounded"),s.css({width:l,"margin-top":this._border(!0)/-2}).removeClass("rs-range-color rs-path-color"))},_updateSeperator:function(){this._startLine.rsRotate(this._start),this._endLine.rsRotate(this._start+this._end)},_createHandle:function(i){var s,a=this.$createElement("div.rs-handle rs-move");(s=this.options.handleShape)!="round"&&a.addClass("rs-handle-"+s),a.attr({index:i,tabIndex:"0"});var l=this._dataElement()[0].id,c=(l=l?l+"_":"")+"handle";this._rangeSlider&&(c+="_"+(i==1?"start":"end")),a.attr({role:"slider","aria-label":c});var u=this._handleDefaults(),h=this.$createElement("div.rs-bar rs-transition").css("z-index","7").append(a);return h.addClass(this._rangeSlider&&i==2?"rs-second":"rs-first"),h.rsRotate(u.angle),this.container.append(h),this._refreshHandle(),this.bar=h,(this._active=i)!=1&&i!=2&&(this["_handle"+i]=u),this._bind(a,"focus blur",this._handleFocus),a},_refreshHandle:function(){var i,s,a,l=this.options,c=l.handleSize,u=l.width,h=!0,p=this.isNumber;typeof c=="string"&&p(c)&&(c.charAt(0)==="+"||c.charAt(0)==="-"?c=u+parseFloat(c):!c.indexOf(",")||p((a=c.split(","))[0])&&p(a[1])&&(s=parseFloat(a[0]),i=parseFloat(a[1]),h=!1)),h&&(i=s=p(c)?parseFloat(c):u);var g=(u+this._border()-s)/2;this._handles().css({height:i,width:s,margin:-i/2+"px 0 0 "+g+"px"})},_defaultValue:function(){var i=this.options,s=i.startValue;return this.isNumber(s)?this._limitValue(s):i.min},_handleDefaults:function(){var i=this._defaultValue();return{angle:this._valueToAngle(i),value:i}},_handleBars:function(){return this.container.children("div.rs-bar")},_handles:function(){return this._handleBars().find(".rs-handle")},_activeHandleBar:function(i){return this._minRange?this.bar:(i=i??this._active,e(this._handleBars()[i-1]))},_handleArgs:function(i){var s=this["_handle"+(i=i??this._active)]||{};return{element:this._activeHandleBar(i).children(),index:i,isActive:i==this._active,value:s.value,angle:s.angle}},_dataElement:function(){return this._isInputType?this._hiddenField:this.control},_raiseEvent:function(i){var s,a=this["_pre"+i],l=this.options.value;a!==l&&(this["_pre"+i]=l,i=="change"&&(this._predrag=l,this._updateHidden()),this._updateTooltip(),s=this._handleArgs(),this._raise(i,{value:l,preValue:a,handle:s}),l!=this._preValue&&(this._raise("update",{value:l,preValue:a,handle:s,action:i}),this._raiseValueChange(i)))},_raiseBeforeValueChange:function(i,s){s!==void 0?this._rangeSlider&&(s=this._formRangeValue(s)):s=this.options.value;var a=i!=="code";if(s===this._pre_bvc)return!a;var l={value:s,preValue:this._pre_bvc,action:i,isUserAction:a,cancelable:!0},c=this._raise("beforeValueChange",l)!=0;return c&&(this._pre_bvc=s),c},_raiseValueChange:function(i){var s=this.options.value,a=[];this._minRange||a.push(this._handleArgs(1)),this._showRange&&a.push(this._handleArgs(2));var l={value:s,preValue:this._preValue,action:i,isUserAction:i!=="code"&&i!=="create",isInvertedRange:this._isInvertedRange,handles:a};this._raise("valueChange",l),this._preValue=s},_elementDown:function(i){var s,a,l,c,u,h,p,g,w;this._isReadOnly||(e(i.target).hasClass("rs-handle")?this._handleDown(i):(s=this._getXY(i),a=this._getCenterPoint(),l=this._getDistance(s,a),(c=(this.block||this.svgContainer).outerWidth()/2)-(this.options.width+this._border())<=l&&l<=c&&((u=this.control.find(".rs-handle.rs-focus")).length!==0&&i.preventDefault(),g=(h=this._getAngleValue(s,a)).angle,w=h.value,this._rangeSlider&&(u.length==1?(p=parseFloat(u.attr("index")),this._invertRange||(p==1&&g>this._handle2.angle?p=2:p==2&&g<this._handle1.angle&&(p=1)),this._active=p):this._active=this._handle2.angle-g<g-this._handle1.angle?2:1,this.bar=this._activeHandleBar()),this._raiseBeforeValueChange("change",w)&&(this._changeSliderValue(w,g),this._raiseEvent("change")))))},_handleDown:function(i){i.preventDefault();var s=e(i.target);s.focus(),this._removeAnimation(),this._bindMouseEvents("_bind"),this.bar=s.parent(),this._active=parseFloat(s.attr("index")),this._handles().removeClass("rs-move"),this._raise("start",{value:this.options.value,handle:this._handleArgs()})},_handleMove:function(i){i.preventDefault();var s=this._getXY(i),a=this._getCenterPoint(),l=this._getAngleValue(s,a,!0),c=l.angle,u=l.value;this._raiseBeforeValueChange("drag",u)&&(this._changeSliderValue(u,c),this._raiseEvent("drag"))},_handleUp:function(i){this._handles().addClass("rs-move"),this._bindMouseEvents("_unbind"),this._addAnimation(),this._raiseEvent("change"),this._raise("stop",{value:this.options.value,handle:this._handleArgs()})},_handleFocus:function(i){var s,a;this._isReadOnly||(this._handles().removeClass("rs-focus"),(s=this.options.keyboardAction)&&this._bindKeyboardEvents("_unbind"),i.type!=="blur"&&((a=e(i.target)).addClass("rs-focus"),this.bar=a.parent(),this._active=parseFloat(a.attr("index")),s&&this._bindKeyboardEvents("_bind"),this.control.find("div.rs-bar").css("z-index","7"),this.bar.css("z-index","8")))},_handleKeyDown:function(i){var s,a,l,c=i.keyCode,u=this.keys;c==27&&this._handles().blur(),35<=c&&c<=40&&(37<=c&&c<=40&&this._removeAnimation(),s=this["_handle"+this._active],i.preventDefault(),c==u.UP||c==u.RIGHT?a=this._round(this._limitValue(s.value+this.options.step)):c==u.DOWN||c==u.LEFT?a=this._round(this._limitValue(s.value-this._getMinusStep(s.value))):c==36?a=this._getKeyValue("Home"):c==35&&(a=this._getKeyValue("End")),l=this._valueToAngle(a),this._raiseBeforeValueChange("drag",a)&&(this._changeSliderValue(a,l),this._raiseEvent("drag")))},_handleKeyUp:function(i){this._addAnimation(),this._raiseEvent("change")},_getMinusStep:function(i){var s=this.options,a=s.min,l=s.max,c=s.step;if(i!=l)return c;var u=(l-a)%c;return u==0?c:u},_getKeyValue:function(i){var s=this.options,a=s.min,l=s.max;return this._rangeSlider?i=="Home"?this._active==1?a:this._handle1.value:this._active==1?this._handle2.value:l:i=="Home"?a:l},_elementScroll:function(i){var s,a,l,c,u;this._isReadOnly||(i.preventDefault(),(u=(s=i.originalEvent||i).wheelDelta?s.wheelDelta/60:s.detail?-s.detail/2:0)!=0&&(this._updateActiveHandle(i),l=(a=this["_handle"+this._active]).value+(0<u?this.options.step:-this._getMinusStep(a.value)),l=this._limitValue(l),c=this._valueToAngle(l),this._raiseBeforeValueChange("change",l)&&(this._removeAnimation(),this._changeSliderValue(l,c),this._raiseEvent("change"),this._addAnimation())))},_updateActiveHandle:function(i){var s=e(i.target);s.hasClass("rs-handle")&&s.parent().parent()[0]==this.control[0]&&(this.bar=s.parent(),this._active=parseFloat(s.attr("index"))),this.bar.find(".rs-handle").hasClass("rs-focus")||this.bar.find(".rs-handle").focus()},_bindControlEvents:function(i){this[i](this.control,"mousedown touchstart",this._elementDown)},_bindScrollEvents:function(i){this[i](this.control,"mousewheel DOMMouseScroll",this._elementScroll)},_bindMouseEvents:function(i){var s=e(document);this[i](s,"mousemove touchmove",this._handleMove),this[i](s,"mouseup mouseleave touchend touchcancel",this._handleUp)},_bindKeyboardEvents:function(i){var s=e(document);this[i](s,"keydown",this._handleKeyDown),this[i](s,"keyup",this._handleKeyUp)},_changeSliderValue:function(i,s){var a=this._oriAngle(s),l=this._limitAngle(s),c=this._active,u=this.options;if(this._showRange){var h=c==1&&a<=this._oriAngle(this._handle2.angle)||c==2&&a>=this._oriAngle(this._handle1.angle),p=this._invertRange;if(this._minRange||h||p){if(this["_handle"+c]={angle:s,value:i},u.value=this._rangeSlider?this._handle1.value+","+this._handle2.value:i,this.bar.rsRotate(l),this._updateARIA(i),u.svgMode)return void this._moveSliderRange();var g=this._oriAngle(this._handle2.angle)-this._oriAngle(this._handle1.angle),w="1",C="0";g<=180&&!(g<0&&-180<g)&&(w="0",C="1"),this.block2.css("opacity",w),this.block3.css("opacity",C),(c==1?this.block4:this.block2).rsRotate(l-180),(c==1?this.block1:this.block3).rsRotate(l)}}else this["_handle"+c]={angle:s,value:i},u.value=i,this.bar.rsRotate(l),this._updateARIA(i)},_createSVGElements:function(){var i=this.$createSVG("svg"),s="path.rs-transition ",a={fill:"transparent"};this.$path=this.$createSVG(s+"rs-path",a),this.$range=this._showRange?this.$createSVG(s+"rs-range",a):null,this.$border=this.$createSVG(s+"rs-border",a),this.$append(i,[this.$path,this.$range,this.$border]),this.svgContainer=this.$createElement("div.rs-svg-container").append(i).appendTo(this.innerContainer)},_setSVGAttributes:function(){var i=this.options,s=i.radius,a=i.borderWidth,l=i.width,c=i.lineCap,u=s-a/2,h=u-l-a,p=this._start,g=this._end,w=p+g,C=this.$drawPath(s,u,p,w,h,c);this.$setAttribute(this.$border,{d:C}),e(this.$border).css("stroke-width",a);var b=s-a-l/2;this.svgPathLength=this.$getArcLength(b,g);var x={d:this.$drawPath(s,b,p,w),"stroke-width":l,"stroke-linecap":c};this.$setAttribute(this.$path,x),this._showRange&&(this.$setAttribute(this.$range,x),c=="round"||c=="square"?this.$range.setAttribute("stroke-dashoffset","0.01"):this.$range.removeAttribute("stroke-dashoffset"))},_setSVGStyles:function(){var i=this.options,s=i.borderColor,a=i.pathColor,l=i.rangeColor;s&&(s=="inherit"&&(s=l),e(this.$border).css("stroke",s)),a&&(this.svgContainer[a=="inherit"?"addClass":"removeClass"]("rs-path-inherited"),a=="inherit"&&(a=l),e(this.$path).css("stroke",a)),this._showRange&&l&&e(this.$range).css("stroke",l)},_moveSliderRange:function(i){var s,a,l,c,u,h,p,g,w;this._showRange&&(s=this._start,a=this._end,h=this._handle1.angle,p=this._handle2.angle,i&&(h=p=this._handleDefaults().angle),l=[],c=(h-=s)<=(p-=s),this._isInvertedRange=!c,c?l.push(0):(this._minRange&&l.push(0),u=h,h=p,p=u),g=h/a*this.svgPathLength,l.push(g),w=(p-h)/a*this.svgPathLength,l.push(w,this.svgPathLength),this.$range.style.strokeDasharray=l.join(" "))},_isPropsRelatedToSVG:function(i){return this._hasProperty(i,["radius","borderWidth","width","lineCap","startAngle","endAngle"])},_isPropsRelatedToSVGStyles:function(i){return this._hasProperty(i,["borderColor","pathColor","rangeColor"])},_hasProperty:function(i,s){return typeof i=="string"?s.indexOf(i)!==-1:Object.keys(i).some(function(a){return s.indexOf(a)!==-1})},_updateARIA:function(i){var s,a=this.options,l=a.min,c=a.max;this.bar.children().attr({"aria-valuenow":i}),this._rangeSlider?((s=this._handles()).eq(0).attr({"aria-valuemin":l}),s.eq(1).attr({"aria-valuemax":c}),this._active==1?s.eq(1).attr({"aria-valuemin":i}):s.eq(0).attr({"aria-valuemax":i})):this.bar.children().attr({"aria-valuemin":l,"aria-valuemax":c})},_getDistance:function(i,s){return Math.sqrt((i.x-s.x)*(i.x-s.x)+(i.y-s.y)*(i.y-s.y))},_getXY:function(i){return i.type.indexOf("mouse")==-1&&(i=(i.originalEvent||i).changedTouches[0]),{x:i.pageX,y:i.pageY}},_getCenterPoint:function(){var i=this.block||this.svgContainer,s=i.offset();return{x:s.left+i.outerWidth()/2,y:s.top+i.outerHeight()/2}},_getAngleValue:function(i,s,a){var l=-Math.atan2(i.y-s.y,s.x-i.x)/(Math.PI/180);return l<this._start&&(l+=360),l=this._checkAngle(l,a),this._processStepByAngle(l)},_checkAngle:function(i,s){var a=this._oriAngle(i),l=this["_handle"+this._active].angle,c=this._oriAngle(l);if(a>this._end){if(!s)return l;i=this._start+(c<=this._end-c?0:this._end)}else if(s){var u=this._handleDragDistance;if(this.isNumber(u)&&Math.abs(a-c)>u)return l}return i},_processStepByAngle:function(i){var s=this._angleToValue(i);return this._processStepByValue(s)},_processStepByValue:function(i){var s=this.options,a=s.min,l=s.max,c=s.step,u=l<a,h=i-(i-a)%(c=u?-c:c),p=this._limitValue(h+c),g=this._limitValue(h-c),w=u?i<=h?h-i<i-p?h:p:g-i<i-h?h:g:h<=i?i-h<p-i?h:p:i-g<h-i?h:g;return{value:w=this._round(w),angle:this._valueToAngle(w)}},_round:function(i){var s=this.options.step.toString().split(".");return s[1]?parseFloat(i.toFixed(s[1].length)):Math.round(i)},_oriAngle:function(i){var s=i-this._start;return s<0&&(s+=360),s},_limitAngle:function(i){return i>360+this._start&&(i-=360),i<this._start&&(i+=360),i},_limitValue:function(i){var s=this.options,a=s.min,l=s.max,c=l<a;return(!c&&i<a||c&&a<i)&&(i=a),(!c&&l<i||c&&i<l)&&(i=l),i},_angleToValue:function(i){var s=this.options,a=s.min,l=s.max;return this._oriAngle(i)/this._end*(l-a)+a},_valueToAngle:function(i){var s=this.options,a=s.min;return(i-a)/(s.max-a)*this._end+this._start},_appendHiddenField:function(){var i=this._hiddenField=this._hiddenField||this.$createElement("input");i.attr({type:"hidden",name:this._dataElement()[0].id||""}),this.control.append(i),this._updateHidden()},_updateHidden:function(){var i=this.options.value;this._hiddenField.val(i)},_updateTooltip:function(){var i=this.options,s=this.tooltip;s&&(s.hasClass("rs-hover")||s.html(this._getTooltipValue()),this._updateTooltipPos()),!i.showTooltip&&i.mouseScrollAction&&this.control.height()},_updateTooltipPos:function(){var i,s,a,l=this.options,c=l.circleShape,u={};l.showTooltip&&c.indexOf("quarter")!==0&&((i=this.tooltip).is(":visible")?(i.removeClass("rs-center").addClass("rs-reset"),s=-i.outerHeight()/2,a=-i.outerWidth()/2,i.removeClass("rs-reset"),c=="full"||c=="pie"||c.indexOf("custom")===0?u={"margin-top":s,"margin-left":a}:c=="half-top"||c=="half-bottom"?u={"margin-left":a}:c!="half-left"&&c!="half-right"||(u={"margin-top":s})):i.addClass("rs-center"),i.css(u))},_getTooltipValue:function(i){var s=this.options.value;if(this._rangeSlider){var a=s.split(",");return i?a[0]+" - "+a[1]:this._tooltipValue(a[0],1)+" - "+this._tooltipValue(a[1],2)}return i?s:this._tooltipValue(s)},_tooltipValue:function(i,s){var a=this._raise("tooltipFormat",{value:i,handle:this._handleArgs(s)});return a!=null&&typeof a!="boolean"?a:i},_validateStartAngle:function(){var i=this.options,s=i.startAngle;return(s=(this.isNumber(s)?parseFloat(s):0)%360)<0&&(s+=360),i.startAngle=s},_validateEndAngle:function(){var i=this.options,s=i.startAngle,a=i.endAngle,a=this.isNumber(a)?(typeof a!="string"||a.charAt(0)!=="+"&&a.charAt(0)!=="-"||(a=s+parseFloat(a)),parseFloat(a)):360;return(a%=360)<=s&&(a+=360),a},_refreshCircleShape:function(){var i=this.options,s=i.circleShape;["half-top","half-bottom","half-left","half-right","quarter-top-left","quarter-top-right","quarter-bottom-right","quarter-bottom-left","pie","custom-half","custom-quarter"].indexOf(s)==-1&&(s=s=="half"?"half-top":s=="quarter"?"quarter-top-left":"full"),i.circleShape=s},_appendOverlay:function(){var i=this.options.circleShape;i=="pie"?this._checkOverlay(".rs-overlay",270):i!="custom-half"&&i!="custom-quarter"||(this._checkOverlay(".rs-overlay1",180),i=="custom-quarter"&&this._checkOverlay(".rs-overlay2",this._end))},_checkOverlay:function(i,s){var a=this.container.children(i);a.length==0&&(a=this.$createElement("div"+i+" rs-transition rs-bg-color"),this.container.append(a)),a.rsRotate(this._start+s)},_checkDataType:function(){var i,s,a,l=this.options,c=this._props();for(i in c.numberType)a=l[s=c.numberType[i]],this.isNumber(a)?l[s]=parseFloat(a):l[s]=this.defaults[s];for(i in c.booleanType)a=l[s=c.booleanType[i]],l[s]=a!="false"&&!!a;for(i in c.stringType)a=l[s=c.stringType[i]],l[s]=(""+a).toLowerCase()},_validateSliderType:function(){var i=this.options,s=i.sliderType.toLowerCase();this._rangeSlider=this._showRange=this._minRange=!1,s=="range"?this._rangeSlider=this._showRange=!0:s=s.indexOf("min")!=-1?(this._showRange=this._minRange=!0,"min-range"):"default",i.sliderType=s},_updateStartEnd:function(){var i=this.options,s=i.circleShape,a=i.startAngle,l=i.endAngle;s!="full"&&(s.indexOf("quarter")!=-1?l="+90":s.indexOf("half")!=-1?l="+180":s=="pie"&&(l="+270"),i.endAngle=l,s=="quarter-top-left"||s=="half-top"?a=0:s=="quarter-top-right"||s=="half-right"?a=90:s=="quarter-bottom-right"||s=="half-bottom"?a=180:s!="quarter-bottom-left"&&s!="half-left"||(a=270),i.startAngle=a)},_validateStartEnd:function(){this._start=this._validateStartAngle(),this._end=this._validateEndAngle();var i=this._start<this._end?0:360;this._end+=i-this._start},_validateValue:function(i){return this._backupPreValue(),this._analyzeModelValue(),this._validateModelValue(),this._raiseBeforeValueChange(i?"change":"code")?(this._setValue(),this._backupPreValue(),!0):(this._revertPreValue(),!1)},_analyzeModelValue:function(){var i=this.options,s=i.value;s instanceof Array&&(s=s.toString());var a,l,c=typeof s=="string"?s.split(","):[s];c.length==1&&this.isNumber(c[0])?c=[i.min,c[0]]:2<=c.length&&!this.isNumber(c[1])&&(c[1]=i.max),l=this._rangeSlider?[this._parseModelValue(c[0]),this._parseModelValue(c[1])].toString():(a=c.pop(),this._parseModelValue(a)),i.value=l},_parseModelValue:function(i){return this.isNumber(i)?parseFloat(i):this._defaultValue()},_validateModelValue:function(){var i,s,a,l,c=this.options,u=c.value;this._rangeSlider?(i=u.split(","),a=parseFloat(i[0]),l=parseFloat(i[1]),a=this._limitValue(a),l=this._limitValue(l),this._invertRange||(s=c.min,c.max<s?a<l&&(a=l):l<a&&(l=a)),this._handle1=this._processStepByValue(a),this._handle2=this._processStepByValue(l)):this["_handle"+(this._minRange?2:this._active||1)]=this._processStepByValue(this._limitValue(u)),this._updateModelValue()},_updateModelValue:function(){var i;i=this._rangeSlider?this._handle1.value+","+this._handle2.value:this["_handle"+(this._minRange?2:this._active||1)].value,this.options.value=i},_formRangeValue:function(i,s){s=s||this._active;var a=this._handle1.value,l=this._handle2.value;return s==1?i+","+l:a+","+i},$createElement:function(i){var s=i.split(".");return e(document.createElement(s[0])).addClass(s[1]||"")},$createSVG:function(i,s){var a=i.split("."),l=document.createElementNS("http://www.w3.org/2000/svg",a[0]);return a[1]&&l.setAttribute("class",a[1]),s&&this.$setAttribute(l,s),l},$setAttribute:function(i,s){for(var a in s){var l,c=s[a];a!=="class"||(l=i.getAttribute("class"))&&(c+=" "+l),i.setAttribute(a,c)}return i},$append:function(i,s){return s.forEach(function(a){a&&i.appendChild(a)}),i},isNumber:function(i){return typeof(i=parseFloat(i))=="number"&&!isNaN(i)},getBrowserName:function(){var i="",s=window.navigator.userAgent;return window.opr&&opr.addons||window.opera||0<=s.indexOf(" OPR/")?i="opera":typeof InstallTrigger<"u"?i="firefox":0<s.indexOf("MSIE ")||0<s.indexOf("Trident/")?i="ie":window.StyleMedia?i="edge":s.indexOf("Safari")!=-1&&s.indexOf("Chrome")==-1?i="safari":(window.chrome&&window.chrome.webstore||s.indexOf("Chrome")!=-1)&&(i="chrome"),i},_isBrowserSupported:function(){for(var i=["borderRadius","WebkitBorderRadius","MozBorderRadius","OBorderRadius","msBorderRadius","KhtmlBorderRadius"],s=0;s<i.length;s++)if(document.body.style[i[s]]!==void 0)return!0;console.error(n+" : Browser not supported")},_raise:function(i,s){var a=this.options,l=a[i],c=!0;return(s=s||{value:a.value}).id=this.id,s.control=this.control,s.options=a,l&&(s.type=i,typeof l=="string"&&(l=window[l]),e.isFunction(l)&&(c=(c=l.call(this,s))!==!1&&c)),this.control.trigger(e.Event(i,s)),c},_bind:function(i,s,a){e(i).bind(s,e.proxy(a,this))},_unbind:function(i,s,a){e(i).unbind(s,e.proxy(a,this))},_getInstance:function(){return e.data(this._dataElement()[0],n)},_saveInstanceOnElement:function(){e.data(this.control[0],n,this)},_saveInstanceOnID:function(){var i=this.id;i&&window[i]!==void 0&&(window[i]=this)},_removeData:function(){var i=this._dataElement()[0];e.removeData&&e.removeData(i,n),i.id&&typeof window[i.id]._init=="function"&&delete window[i.id]},_destroyControl:function(){this._isInputType&&this._dataElement().insertAfter(this.control).attr("type","text"),this.control.empty().removeClass("rs-control").height("").width(""),this._removeAnimation(),this._bindControlEvents("_unbind"),this._bindScrollEvents("_unbind")},_updateWidth:function(){this.lastBlock.css("padding",this.options.width)},_readOnly:function(i){this._isReadOnly=i,this.container.removeClass("rs-readonly"),i&&this.container.addClass("rs-readonly")},_get:function(i){return this.options[i]},_set:function(i,s,a){var l=this._props();if(e.inArray(i,l.numberType)!=-1){if(!this.isNumber(s))return;s=parseFloat(s)}else e.inArray(i,l.booleanType)!=-1?s=s!="false"&&!!s:e.inArray(i,l.stringType)!=-1&&(s=s.toLowerCase());var c=this.options;if(this._preValue=c.value,a||c[i]!==s){switch(c[i]=s,i){case"startAngle":case"endAngle":this._validateStartEnd(),this._updateSeperator(),this._appendOverlay();case"startValue":this._minRange&&(this._handle1=this._handleDefaults());case"min":case"max":case"step":case"value":this._validateValue()&&(this._updateHidden(),this._updateTooltip(),c.value!==this._preValue&&(this._raiseValueChange("code"),this._updatePre()));break;case"radius":this._setRadius(),this._updateTooltipPos();break;case"width":this._removeAnimation(),this._updateWidth(),this._setRadius(),this._refreshHandle(),this._updateTooltipPos(),this._addAnimation(),this._refreshSeperator();break;case"borderWidth":this._setRadius(),this._refreshHandle();break;case"handleSize":this._refreshHandle();break;case"handleShape":this._setHandleShape();break;case"animation":c.animation?this._addAnimation():this._removeAnimation();break;case"showTooltip":c.showTooltip?this._appendTooltip():this._removeTooltip();break;case"editableTooltip":this._tooltipEditable(),this._updateTooltipPos();break;case"rangeColor":case"tooltipColor":this._setTooltipColor(this.tooltip),this._setTooltipColor(this.input);break;case"disabled":c.disabled?this.disable():this.enable();break;case"readOnly":c.readOnly?this._readOnly(!0):c.disabled||this._readOnly(!1);break;case"mouseScrollAction":this._bindScrollEvents(c.mouseScrollAction?"_bind":"_unbind");break;case"lineCap":this._setRadius(),this._refreshSeperator();break;case"circleShape":this._refreshCircleShape(),c.circleShape=="full"&&(c.startAngle=0,c.endAngle="+360");case"sliderType":this._destroyControl(),this._onInit();break;case"svgMode":var u=this.control,h=c;this.destroy(),u[n](h)}return this}},option:function(i,s){if(i&&this._getInstance()){var a=this.options;if(e.isPlainObject(i)){var l,c="value",u=i.min!==void 0,h=i.max!==void 0;for(var p in(u||h)&&(u&&(a.min=i.min,delete i.min),h&&(a.max=i.max,delete i.max),l=a.value,i[c]!==void 0&&(l=i[c],delete i[c]),this._set(c,l,!0)),i)this._set(p,i[p])}else if(typeof i=="string"){if(s===void 0)return this._get(i);this._set(i,s)}return a.svgMode&&(this._isPropsRelatedToSVG(i)&&(this._setSVGAttributes(),this._moveSliderRange()),this._isPropsRelatedToSVGStyles(i)&&this._setSVGStyles()),this}},getValue:function(i){if(this._rangeSlider&&this.isNumber(i)){var s=parseFloat(i);if(s==1||s==2)return this["_handle"+s].value}return this._get("value")},setValue:function(i,s){var a,l;this.isNumber(i)&&(this.isNumber(s)&&(this._rangeSlider?(a=parseFloat(s),l=parseFloat(i),i=this._formRangeValue(l,a)):this._minRange||(this._active=s)),this._set("value",i))},refreshTooltip:function(){this._updateTooltipPos()},disable:function(){this.options.disabled=!0,this.container.addClass("rs-disabled"),this._readOnly(!0)},enable:function(){var i=this.options;i.disabled=!1,this.container.removeClass("rs-disabled"),i.readOnly||this._readOnly(!1)},destroy:function(){this._getInstance()&&(this._destroyControl(),this._removeData(),this._isInputType&&this.control.remove())}},e.fn.rsRotate=function(i){var s=this,a="rotate("+i+"deg)";return s.css("-webkit-transform",a),s.css("-moz-transform",a),s.css("-ms-transform",a),s.css("-o-transform",a),s.css("transform",a),s},r.prototype.$polarToCartesian=function(i,s,a){var l=(a-180)*Math.PI/180;return[i+s*Math.cos(l),i+s*Math.sin(l)].join(" ")},r.prototype.$drawArc=function(i,s,a,l,c){var u,h,p,g=l-a==360,w=Math.abs(a-l)<=180?"0":"1",C=c?1:0,b=c?l:a,x=[];return g?(u=(a+l)/2,h=this.$polarToCartesian(i,s,u),p=this.$polarToCartesian(i,s,b),x.push("A",1,1,0,0,C,h,"A",1,1,0,0,C,p)):(p=this.$polarToCartesian(i,s,b),x.push("A",s,s,0,w,C,p)),x.join(" ")},r.prototype.$drawPath=function(i,s,a,l,c,u){var h,p,g=this.$polarToCartesian(i,s,a),w=["M "+g,this.$drawArc(i,s,a,l,!0)];return c&&(h=this.$polarToCartesian(i,c,l),p=this.$drawArc(i,c,a,l,!1),u=="none"?w.push("M "+h,p):u=="round"?w.push("A 1, 1, 0, 0, 1, "+h,p,"A 1, 1, 0, 0, 1, "+g):u!="butt"&&u!="square"||w.push("L "+h,p,"L "+g,"Z")),w.join(" ")},r.prototype.$getArcLength=function(i,s){return s===void 0&&(s=360),2*Math.PI*i*(s/360)},e.fn[n].prototype=r.prototype})})();const lb={name:"RoundSlider",props:{min:{type:[String,Number],default:0},max:{type:[String,Number],default:100},step:{type:[String,Number],default:1},value:{type:[String,Number],default:null},radius:{type:[String,Number],default:105},width:{type:[String,Number],default:20},lineCap:{type:String,default:"butt",validator(t){return ml("lineCap",t)}},startAngle:{type:[String,Number],default:0},endAngle:{type:[String,Number],default:"+360"},borderWidth:{type:[String,Number],default:0},borderColor:{type:String,default:"inherit"},pathColor:{type:String,default:"#EEE"},rangeColor:{type:String,default:"#69F"},tooltipColor:{type:String,default:"inherit"},sliderType:{type:String,default:"min-range",validator(t){return ml("sliderType",t)}},circleShape:{type:String,default:"full",validator(t){return ml("circleShape",t)}},animation:{type:[String,Boolean],default:!0},readOnly:{type:[String,Boolean],default:!1},disabled:{type:[String,Boolean],default:!1},handleSize:{type:[String,Number],default:"+0"},handleShape:{type:String,default:"round",validator(t){return ml("handleShape",t)}},showTooltip:{type:[String,Boolean],default:!0},editableTooltip:{type:[String,Boolean],default:!0},keyboardAction:{type:[String,Boolean],default:!0},mouseScrollAction:{type:[String,Boolean],default:!1},startValue:{type:[String,Number],default:null},create:{type:Function,default:null},beforeValueChange:{type:Function,default:null},change:{type:Function,default:null},update:{type:Function,default:null},valueChange:{type:Function,default:null},tooltipFormat:{type:Function,default:null}},computed:{control(){return ab(this.$el)},instance(){return this.control.data("roundSlider")},allProps(){return this.$props?this.$props:Object.keys(this.$options.props).reduce((n,r)=>{const i={};return i[r]=this[r],Object.assign(n,i)},{})}},mounted(){const e=Object.assign({svgMode:!0},this.allProps);this.control.roundSlider(e).on("update",({value:n})=>{this.$emit("input",n)}),this.watchProps()},destroyed(){this.control.roundSlider("destroy")},methods:{watchProps(){Object.keys(this.allProps).forEach(e=>{this.$watch(e,n=>{this.updateProp(e,n)})},this)},updateProp(t,e){this.instance.option(t,e)}}},cb={lineCap:["butt","round","square","none"],sliderType:["min-range","range","default"],circleShape:["full","pie","half-top","half-bottom","half-left","half-right","quarter-top-left","quarter-top-right","quarter-bottom-right","quarter-bottom-left"],handleShape:["round","square","dot"]},ml=(t,e)=>{const n=cb[t];if(n.indexOf(e)===-1){const r=`custom validator check failed for prop "${t}" with value "${e}"`,i=`
|
|
30
|
+
|
|
31
|
+
---> The possible values are
|
|
32
|
+
* ${n.join(`
|
|
33
|
+
* `)}
|
|
34
|
+
|
|
35
|
+
`;console.error("[Vue warn]: Invalid prop: "+r+i)}return!0};function db(t,e,n,r,i,s){return o.openBlock(),o.createElementBlock("div")}const J0=st(lb,[["render",db]]);/*!
|
|
36
|
+
* @kurkle/color v0.3.2
|
|
37
|
+
* https://github.com/kurkle/color#readme
|
|
38
|
+
* (c) 2023 Jukka Kurkela
|
|
39
|
+
* Released under the MIT License
|
|
40
|
+
*/function Qo(t){return t+.5|0}const Vi=(t,e,n)=>Math.max(Math.min(t,n),e);function Jo(t){return Vi(Qo(t*2.55),0,255)}function Ni(t){return Vi(Qo(t*255),0,255)}function ei(t){return Vi(Qo(t/2.55)/100,0,1)}function ep(t){return Vi(Qo(t*100),0,100)}const Zn={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},_u=[..."0123456789ABCDEF"],ub=t=>_u[t&15],hb=t=>_u[(t&240)>>4]+_u[t&15],gl=t=>(t&240)>>4===(t&15),fb=t=>gl(t.r)&&gl(t.g)&&gl(t.b)&&gl(t.a);function pb(t){var e=t.length,n;return t[0]==="#"&&(e===4||e===5?n={r:255&Zn[t[1]]*17,g:255&Zn[t[2]]*17,b:255&Zn[t[3]]*17,a:e===5?Zn[t[4]]*17:255}:(e===7||e===9)&&(n={r:Zn[t[1]]<<4|Zn[t[2]],g:Zn[t[3]]<<4|Zn[t[4]],b:Zn[t[5]]<<4|Zn[t[6]],a:e===9?Zn[t[7]]<<4|Zn[t[8]]:255})),n}const mb=(t,e)=>t<255?e(t):"";function gb(t){var e=fb(t)?ub:hb;return t?"#"+e(t.r)+e(t.g)+e(t.b)+mb(t.a,e):void 0}const _b=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function tp(t,e,n){const r=e*Math.min(n,1-n),i=(s,a=(s+t/30)%12)=>n-r*Math.max(Math.min(a-3,9-a,1),-1);return[i(0),i(8),i(4)]}function yb(t,e,n){const r=(i,s=(i+t/60)%6)=>n-n*e*Math.max(Math.min(s,4-s,1),0);return[r(5),r(3),r(1)]}function bb(t,e,n){const r=tp(t,1,.5);let i;for(e+n>1&&(i=1/(e+n),e*=i,n*=i),i=0;i<3;i++)r[i]*=1-e-n,r[i]+=e;return r}function wb(t,e,n,r,i){return t===i?(e-n)/r+(e<n?6:0):e===i?(n-t)/r+2:(t-e)/r+4}function yu(t){const n=t.r/255,r=t.g/255,i=t.b/255,s=Math.max(n,r,i),a=Math.min(n,r,i),l=(s+a)/2;let c,u,h;return s!==a&&(h=s-a,u=l>.5?h/(2-s-a):h/(s+a),c=wb(n,r,i,h,s),c=c*60+.5),[c|0,u||0,l]}function bu(t,e,n,r){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,r)).map(Ni)}function wu(t,e,n){return bu(tp,t,e,n)}function Cb(t,e,n){return bu(bb,t,e,n)}function kb(t,e,n){return bu(yb,t,e,n)}function np(t){return(t%360+360)%360}function vb(t){const e=_b.exec(t);let n=255,r;if(!e)return;e[5]!==r&&(n=e[6]?Jo(+e[5]):Ni(+e[5]));const i=np(+e[2]),s=+e[3]/100,a=+e[4]/100;return e[1]==="hwb"?r=Cb(i,s,a):e[1]==="hsv"?r=kb(i,s,a):r=wu(i,s,a),{r:r[0],g:r[1],b:r[2],a:n}}function xb(t,e){var n=yu(t);n[0]=np(n[0]+e),n=wu(n),t.r=n[0],t.g=n[1],t.b=n[2]}function Sb(t){if(!t)return;const e=yu(t),n=e[0],r=ep(e[1]),i=ep(e[2]);return t.a<255?`hsla(${n}, ${r}%, ${i}%, ${ei(t.a)})`:`hsl(${n}, ${r}%, ${i}%)`}const rp={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"},ip={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 Mb(){const t={},e=Object.keys(ip),n=Object.keys(rp);let r,i,s,a,l;for(r=0;r<e.length;r++){for(a=l=e[r],i=0;i<n.length;i++)s=n[i],l=l.replace(s,rp[s]);s=parseInt(ip[a],16),t[l]=[s>>16&255,s>>8&255,s&255]}return t}let _l;function Tb(t){_l||(_l=Mb(),_l.transparent=[0,0,0,0]);const e=_l[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}const Db=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function Pb(t){const e=Db.exec(t);let n=255,r,i,s;if(e){if(e[7]!==r){const a=+e[7];n=e[8]?Jo(a):Vi(a*255,0,255)}return r=+e[1],i=+e[3],s=+e[5],r=255&(e[2]?Jo(r):Vi(r,0,255)),i=255&(e[4]?Jo(i):Vi(i,0,255)),s=255&(e[6]?Jo(s):Vi(s,0,255)),{r,g:i,b:s,a:n}}}function Ob(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${ei(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const Cu=t=>t<=.0031308?t*12.92:Math.pow(t,1/2.4)*1.055-.055,Js=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function Eb(t,e,n){const r=Js(ei(t.r)),i=Js(ei(t.g)),s=Js(ei(t.b));return{r:Ni(Cu(r+n*(Js(ei(e.r))-r))),g:Ni(Cu(i+n*(Js(ei(e.g))-i))),b:Ni(Cu(s+n*(Js(ei(e.b))-s))),a:t.a+n*(e.a-t.a)}}function yl(t,e,n){if(t){let r=yu(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,e===0?360:1)),r=wu(r),t.r=r[0],t.g=r[1],t.b=r[2]}}function sp(t,e){return t&&Object.assign(e||{},t)}function op(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=Ni(t[3]))):(e=sp(t,{r:0,g:0,b:0,a:1}),e.a=Ni(e.a)),e}function Lb(t){return t.charAt(0)==="r"?Pb(t):vb(t)}class ea{constructor(e){if(e instanceof ea)return e;const n=typeof e;let r;n==="object"?r=op(e):n==="string"&&(r=pb(e)||Tb(e)||Lb(e)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var e=sp(this._rgb);return e&&(e.a=ei(e.a)),e}set rgb(e){this._rgb=op(e)}rgbString(){return this._valid?Ob(this._rgb):void 0}hexString(){return this._valid?gb(this._rgb):void 0}hslString(){return this._valid?Sb(this._rgb):void 0}mix(e,n){if(e){const r=this.rgb,i=e.rgb;let s;const a=n===s?.5:n,l=2*a-1,c=r.a-i.a,u=((l*c===-1?l:(l+c)/(1+l*c))+1)/2;s=1-u,r.r=255&u*r.r+s*i.r+.5,r.g=255&u*r.g+s*i.g+.5,r.b=255&u*r.b+s*i.b+.5,r.a=a*r.a+(1-a)*i.a,this.rgb=r}return this}interpolate(e,n){return e&&(this._rgb=Eb(this._rgb,e._rgb,n)),this}clone(){return new ea(this.rgb)}alpha(e){return this._rgb.a=Ni(e),this}clearer(e){const n=this._rgb;return n.a*=1-e,this}greyscale(){const e=this._rgb,n=Qo(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 yl(this._rgb,2,e),this}darken(e){return yl(this._rgb,2,-e),this}saturate(e){return yl(this._rgb,1,e),this}desaturate(e){return yl(this._rgb,1,-e),this}rotate(e){return xb(this._rgb,e),this}}/*!
|
|
41
|
+
* Chart.js v4.4.2
|
|
42
|
+
* https://www.chartjs.org
|
|
43
|
+
* (c) 2024 Chart.js Contributors
|
|
44
|
+
* Released under the MIT License
|
|
45
|
+
*/function ti(){}const $b=(()=>{let t=0;return()=>t++})();function kt(t){return t===null||typeof t>"u"}function Lt(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 et(t){return t!==null&&Object.prototype.toString.call(t)==="[object Object]"}function Bt(t){return(typeof t=="number"||t instanceof Number)&&isFinite(+t)}function Bn(t,e){return Bt(t)?t:e}function ht(t,e){return typeof t>"u"?e:t}const Vb=(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 ft(t,e,n,r){let i,s,a;if(Lt(t))if(s=t.length,r)for(i=s-1;i>=0;i--)e.call(n,t[i],i);else for(i=0;i<s;i++)e.call(n,t[i],i);else if(et(t))for(a=Object.keys(t),s=a.length,i=0;i<s;i++)e.call(n,t[a[i]],a[i])}function bl(t,e){let n,r,i,s;if(!t||!e||t.length!==e.length)return!1;for(n=0,r=t.length;n<r;++n)if(i=t[n],s=e[n],i.datasetIndex!==s.datasetIndex||i.index!==s.index)return!1;return!0}function wl(t){if(Lt(t))return t.map(wl);if(et(t)){const e=Object.create(null),n=Object.keys(t),r=n.length;let i=0;for(;i<r;++i)e[n[i]]=wl(t[n[i]]);return e}return t}function ap(t){return["__proto__","prototype","constructor"].indexOf(t)===-1}function Nb(t,e,n,r){if(!ap(t))return;const i=e[t],s=n[t];et(i)&&et(s)?ta(i,s,r):e[t]=wl(s)}function ta(t,e,n){const r=Lt(e)?e:[e],i=r.length;if(!et(t))return t;n=n||{};const s=n.merger||Nb;let a;for(let l=0;l<i;++l){if(a=r[l],!et(a))continue;const c=Object.keys(a);for(let u=0,h=c.length;u<h;++u)s(c[u],t,a,n)}return t}function na(t,e){return ta(t,e,{merger:Bb})}function Bb(t,e,n){if(!ap(t))return;const r=e[t],i=n[t];et(r)&&et(i)?na(r,i):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=wl(i))}const lp={"":t=>t,x:t=>t.x,y:t=>t.y};function Ab(t){const e=t.split("."),n=[];let r="";for(const i of e)r+=i,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}function Rb(t){const e=Ab(t);return n=>{for(const r of e){if(r==="")break;n=n&&n[r]}return n}}function Cl(t,e){return(lp[e]||(lp[e]=Rb(e)))(t)}function ku(t){return t.charAt(0).toUpperCase()+t.slice(1)}const kl=t=>typeof t<"u",Bi=t=>typeof t=="function",cp=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function Fb(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}const nn=Math.PI,An=2*nn,Ib=An+nn,vl=Number.POSITIVE_INFINITY,Hb=nn/180,Rn=nn/2,hs=nn/4,dp=nn*2/3,Ai=Math.log10,eo=Math.sign;function ra(t,e,n){return Math.abs(t-e)<n}function up(t){const e=Math.round(t);t=ra(t,e,t/1e3)?e:t;const n=Math.pow(10,Math.floor(Ai(t))),r=t/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function zb(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((i,s)=>i-s).pop(),e}function ia(t){return!isNaN(parseFloat(t))&&isFinite(t)}function jb(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}function hp(t,e,n){let r,i,s;for(r=0,i=t.length;r<i;r++)s=t[r][n],isNaN(s)||(e.min=Math.min(e.min,s),e.max=Math.max(e.max,s))}function Ri(t){return t*(nn/180)}function vu(t){return t*(180/nn)}function fp(t){if(!Bt(t))return;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n++;return n}function Yb(t,e){const n=e.x-t.x,r=e.y-t.y,i=Math.sqrt(n*n+r*r);let s=Math.atan2(r,n);return s<-.5*nn&&(s+=An),{angle:s,distance:i}}function xu(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Wb(t,e){return(t-e+Ib)%An-nn}function Fn(t){return(t%An+An)%An}function pp(t,e,n,r){const i=Fn(t),s=Fn(e),a=Fn(n),l=Fn(s-i),c=Fn(a-i),u=Fn(i-s),h=Fn(i-a);return i===s||i===a||r&&s===a||l>c&&u<h}function Gn(t,e,n){return Math.max(e,Math.min(n,t))}function qb(t){return Gn(t,-32768,32767)}function mp(t,e,n,r=1e-6){return t>=Math.min(e,n)-r&&t<=Math.max(e,n)+r}function Su(t,e,n){n=n||(a=>t[a]<e);let r=t.length-1,i=0,s;for(;r-i>1;)s=i+r>>1,n(s)?i=s:r=s;return{lo:i,hi:r}}const fs=(t,e,n,r)=>Su(t,n,r?i=>{const s=t[i][e];return s<n||s===n&&t[i+1][e]===n}:i=>t[i][e]<n),Ub=(t,e,n)=>Su(t,n,r=>t[r][e]>=n);function Zb(t,e,n){let r=0,i=t.length;for(;r<i&&t[r]<e;)r++;for(;i>r&&t[i-1]>n;)i--;return r>0||i<t.length?t.slice(r,i):t}const gp=["push","pop","shift","splice","unshift"];function Gb(t,e){if(t._chartjs){t._chartjs.listeners.push(e);return}Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),gp.forEach(n=>{const r="_onData"+ku(n),i=t[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!1,value(...s){const a=i.apply(this,s);return t._chartjs.listeners.forEach(l=>{typeof l[r]=="function"&&l[r](...s)}),a}})})}function _p(t,e){const n=t._chartjs;if(!n)return;const r=n.listeners,i=r.indexOf(e);i!==-1&&r.splice(i,1),!(r.length>0)&&(gp.forEach(s=>{delete t[s]}),delete t._chartjs)}function Kb(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const yp=function(){return typeof window>"u"?function(t){return t()}:window.requestAnimationFrame}();function bp(t,e){let n=[],r=!1;return function(...i){n=i,r||(r=!0,yp.call(window,()=>{r=!1,t.apply(e,n)}))}}function Xb(t,e){let n;return function(...r){return e?(clearTimeout(n),n=setTimeout(t,e,r)):t.apply(this,r),e}}const Qb=t=>t==="start"?"left":t==="end"?"right":"center",wp=(t,e,n)=>t==="start"?e:t==="end"?n:(e+n)/2;function Jb(t,e,n){const r=e.length;let i=0,s=r;if(t._sorted){const{iScale:a,_parsed:l}=t,c=a.axis,{min:u,max:h,minDefined:p,maxDefined:g}=a.getUserBounds();p&&(i=Gn(Math.min(fs(l,c,u).lo,n?r:fs(e,c,a.getPixelForValue(u)).lo),0,r-1)),g?s=Gn(Math.max(fs(l,a.axis,h,!0).hi+1,n?0:fs(e,c,a.getPixelForValue(h),!0).hi+1),i,r)-i:s=r-i}return{start:i,count:s}}function ew(t){const{xScale:e,yScale:n,_scaleRanges:r}=t,i={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!r)return t._scaleRanges=i,!0;const s=r.xmin!==e.min||r.xmax!==e.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,i),s}const xl=t=>t===0||t===1,Cp=(t,e,n)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*An/n)),kp=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*An/n)+1,sa={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*Rn)+1,easeOutSine:t=>Math.sin(t*Rn),easeInOutSine:t=>-.5*(Math.cos(nn*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=>xl(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=>xl(t)?t:Cp(t,.075,.3),easeOutElastic:t=>xl(t)?t:kp(t,.075,.3),easeInOutElastic(t){return xl(t)?t:t<.5?.5*Cp(t*2,.1125,.45):.5+.5*kp(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-sa.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?sa.easeInBounce(t*2)*.5:sa.easeOutBounce(t*2-1)*.5+.5};function Mu(t){if(t&&typeof t=="object"){const e=t.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function vp(t){return Mu(t)?t:new ea(t)}function Tu(t){return Mu(t)?t:new ea(t).saturate(.5).darken(.1).hexString()}const tw=["x","y","borderWidth","radius","tension"],nw=["color","borderColor","backgroundColor"];function rw(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:nw},numbers:{type:"number",properties:tw}}),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 iw(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const xp=new Map;function sw(t,e){e=e||{};const n=t+JSON.stringify(e);let r=xp.get(n);return r||(r=new Intl.NumberFormat(t,e),xp.set(n,r)),r}function Du(t,e,n){return sw(e,n).format(t)}const Sp={values(t){return Lt(t)?t:""+t},numeric(t,e,n){if(t===0)return"0";const r=this.chart.options.locale;let i,s=t;if(n.length>1){const u=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(u<1e-4||u>1e15)&&(i="scientific"),s=ow(t,n)}const a=Ai(Math.abs(s)),l=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),c={notation:i,minimumFractionDigits:l,maximumFractionDigits:l};return Object.assign(c,this.options.ticks.format),Du(t,r,c)},logarithmic(t,e,n){if(t===0)return"0";const r=n[e].significand||t/Math.pow(10,Math.floor(Ai(t)));return[1,2,3,5,10,15].includes(r)||e>.8*n.length?Sp.numeric.call(this,t,e,n):""}};function ow(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 Sl={formatters:Sp};function aw(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:Sl.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 ps=Object.create(null),Pu=Object.create(null);function oa(t,e){if(!e)return t;const n=e.split(".");for(let r=0,i=n.length;r<i;++r){const s=n[r];t=t[s]||(t[s]=Object.create(null))}return t}function Ou(t,e,n){return typeof e=="string"?ta(oa(t,e),n):ta(oa(t,""),e)}class lw{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,i)=>Tu(i.backgroundColor),this.hoverBorderColor=(r,i)=>Tu(i.borderColor),this.hoverColor=(r,i)=>Tu(i.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 Ou(this,e,n)}get(e){return oa(this,e)}describe(e,n){return Ou(Pu,e,n)}override(e,n){return Ou(ps,e,n)}route(e,n,r,i){const s=oa(this,e),a=oa(this,r),l="_"+n;Object.defineProperties(s,{[l]:{value:s[n],writable:!0},[n]:{enumerable:!0,get(){const c=this[l],u=a[i];return et(c)?Object.assign({},u,c):ht(c,u)},set(c){this[l]=c}}})}apply(e){e.forEach(n=>n(this))}}var Wt=new lw({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[rw,iw,aw]);function cw(t){return!t||kt(t.size)||kt(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function Ml(t,e,n,r,i){let s=e[i];return s||(s=e[i]=t.measureText(i).width,n.push(i)),s>r&&(r=s),r}function dw(t,e,n,r){r=r||{};let i=r.data=r.data||{},s=r.garbageCollect=r.garbageCollect||[];r.font!==e&&(i=r.data={},s=r.garbageCollect=[],r.font=e),t.save(),t.font=e;let a=0;const l=n.length;let c,u,h,p,g;for(c=0;c<l;c++)if(p=n[c],p!=null&&!Lt(p))a=Ml(t,i,s,a,p);else if(Lt(p))for(u=0,h=p.length;u<h;u++)g=p[u],g!=null&&!Lt(g)&&(a=Ml(t,i,s,a,g));t.restore();const w=s.length/2;if(w>n.length){for(c=0;c<w;c++)delete i[s[c]];s.splice(0,w)}return a}function ms(t,e,n){const r=t.currentDevicePixelRatio,i=n!==0?Math.max(n/2,.5):0;return Math.round((e-i)*r)/r+i}function Mp(t,e){e=e||t.getContext("2d"),e.save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()}function Eu(t,e,n,r){uw(t,e,n,r,null)}function uw(t,e,n,r,i){let s,a,l,c,u,h,p,g;const w=e.pointStyle,C=e.rotation,b=e.radius;let x=(C||0)*Hb;if(w&&typeof w=="object"&&(s=w.toString(),s==="[object HTMLImageElement]"||s==="[object HTMLCanvasElement]")){t.save(),t.translate(n,r),t.rotate(x),t.drawImage(w,-w.width/2,-w.height/2,w.width,w.height),t.restore();return}if(!(isNaN(b)||b<=0)){switch(t.beginPath(),w){default:i?t.ellipse(n,r,i/2,b,0,0,An):t.arc(n,r,b,0,An),t.closePath();break;case"triangle":h=i?i/2:b,t.moveTo(n+Math.sin(x)*h,r-Math.cos(x)*b),x+=dp,t.lineTo(n+Math.sin(x)*h,r-Math.cos(x)*b),x+=dp,t.lineTo(n+Math.sin(x)*h,r-Math.cos(x)*b),t.closePath();break;case"rectRounded":u=b*.516,c=b-u,a=Math.cos(x+hs)*c,p=Math.cos(x+hs)*(i?i/2-u:c),l=Math.sin(x+hs)*c,g=Math.sin(x+hs)*(i?i/2-u:c),t.arc(n-p,r-l,u,x-nn,x-Rn),t.arc(n+g,r-a,u,x-Rn,x),t.arc(n+p,r+l,u,x,x+Rn),t.arc(n-g,r+a,u,x+Rn,x+nn),t.closePath();break;case"rect":if(!C){c=Math.SQRT1_2*b,h=i?i/2:c,t.rect(n-h,r-c,2*h,2*c);break}x+=hs;case"rectRot":p=Math.cos(x)*(i?i/2:b),a=Math.cos(x)*b,l=Math.sin(x)*b,g=Math.sin(x)*(i?i/2:b),t.moveTo(n-p,r-l),t.lineTo(n+g,r-a),t.lineTo(n+p,r+l),t.lineTo(n-g,r+a),t.closePath();break;case"crossRot":x+=hs;case"cross":p=Math.cos(x)*(i?i/2:b),a=Math.cos(x)*b,l=Math.sin(x)*b,g=Math.sin(x)*(i?i/2:b),t.moveTo(n-p,r-l),t.lineTo(n+p,r+l),t.moveTo(n+g,r-a),t.lineTo(n-g,r+a);break;case"star":p=Math.cos(x)*(i?i/2:b),a=Math.cos(x)*b,l=Math.sin(x)*b,g=Math.sin(x)*(i?i/2:b),t.moveTo(n-p,r-l),t.lineTo(n+p,r+l),t.moveTo(n+g,r-a),t.lineTo(n-g,r+a),x+=hs,p=Math.cos(x)*(i?i/2:b),a=Math.cos(x)*b,l=Math.sin(x)*b,g=Math.sin(x)*(i?i/2:b),t.moveTo(n-p,r-l),t.lineTo(n+p,r+l),t.moveTo(n+g,r-a),t.lineTo(n-g,r+a);break;case"line":a=i?i/2:Math.cos(x)*b,l=Math.sin(x)*b,t.moveTo(n-a,r-l),t.lineTo(n+a,r+l);break;case"dash":t.moveTo(n,r),t.lineTo(n+Math.cos(x)*(i?i/2:b),r+Math.sin(x)*b);break;case!1:t.closePath();break}t.fill(),e.borderWidth>0&&t.stroke()}}function ni(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 Lu(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function $u(t){t.restore()}function hw(t,e,n,r,i){if(!e)return t.lineTo(n.x,n.y);if(i==="middle"){const s=(e.x+n.x)/2;t.lineTo(s,e.y),t.lineTo(s,n.y)}else i==="after"!=!!r?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);t.lineTo(n.x,n.y)}function fw(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 pw(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),kt(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 mw(t,e,n,r,i){if(i.strikethrough||i.underline){const s=t.measureText(r),a=e-s.actualBoundingBoxLeft,l=e+s.actualBoundingBoxRight,c=n-s.actualBoundingBoxAscent,u=n+s.actualBoundingBoxDescent,h=i.strikethrough?(c+u)/2:u;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=i.decorationWidth||2,t.moveTo(a,h),t.lineTo(l,h),t.stroke()}}function gw(t,e){const n=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=n}function Tl(t,e,n,r,i,s={}){const a=Lt(e)?e:[e],l=s.strokeWidth>0&&s.strokeColor!=="";let c,u;for(t.save(),t.font=i.string,pw(t,s),c=0;c<a.length;++c)u=a[c],s.backdrop&&gw(t,s.backdrop),l&&(s.strokeColor&&(t.strokeStyle=s.strokeColor),kt(s.strokeWidth)||(t.lineWidth=s.strokeWidth),t.strokeText(u,n,r,s.maxWidth)),t.fillText(u,n,r,s.maxWidth),mw(t,n,r,u,s),r+=Number(i.lineHeight);t.restore()}function Vu(t,e){const{x:n,y:r,w:i,h:s,radius:a}=e;t.arc(n+a.topLeft,r+a.topLeft,a.topLeft,1.5*nn,nn,!0),t.lineTo(n,r+s-a.bottomLeft),t.arc(n+a.bottomLeft,r+s-a.bottomLeft,a.bottomLeft,nn,Rn,!0),t.lineTo(n+i-a.bottomRight,r+s),t.arc(n+i-a.bottomRight,r+s-a.bottomRight,a.bottomRight,Rn,0,!0),t.lineTo(n+i,r+a.topRight),t.arc(n+i-a.topRight,r+a.topRight,a.topRight,0,-Rn,!0),t.lineTo(n+a.topLeft,r)}const _w=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,yw=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function bw(t,e){const n=(""+t).match(_w);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 ww=t=>+t||0;function Tp(t,e){const n={},r=et(e),i=r?Object.keys(e):e,s=et(t)?r?a=>ht(t[a],t[e[a]]):a=>t[a]:()=>t;for(const a of i)n[a]=ww(s(a));return n}function Cw(t){return Tp(t,{top:"y",right:"x",bottom:"y",left:"x"})}function aa(t){return Tp(t,["topLeft","topRight","bottomLeft","bottomRight"])}function Kn(t){const e=Cw(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function In(t,e){t=t||{},e=e||Wt.font;let n=ht(t.size,e.size);typeof n=="string"&&(n=parseInt(n,10));let r=ht(t.style,e.style);r&&!(""+r).match(yw)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const i={family:ht(t.family,e.family),lineHeight:bw(ht(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:ht(t.weight,e.weight),string:""};return i.string=cw(i),i}function Dl(t,e,n,r){let i=!0,s,a,l;for(s=0,a=t.length;s<a;++s)if(l=t[s],l!==void 0&&(e!==void 0&&typeof l=="function"&&(l=l(e),i=!1),n!==void 0&&Lt(l)&&(l=l[n%l.length],i=!1),l!==void 0))return r&&!i&&(r.cacheable=!1),l}function kw(t,e,n){const{min:r,max:i}=t,s=Vb(e,(i-r)/2),a=(l,c)=>n&&l===0?0:l+c;return{min:a(r,-Math.abs(s)),max:a(i,s)}}function Fi(t,e){return Object.assign(Object.create(t),e)}function Nu(t,e=[""],n,r,i=()=>t[0]){const s=n||t;typeof r>"u"&&(r=Lp("_fallback",t));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:s,_fallback:r,_getTarget:i,override:l=>Nu([l,...t],e,s,r)};return new Proxy(a,{deleteProperty(l,c){return delete l[c],delete l._keys,delete t[0][c],!0},get(l,c){return Pp(l,c,()=>Ow(c,e,t,l))},getOwnPropertyDescriptor(l,c){return Reflect.getOwnPropertyDescriptor(l._scopes[0],c)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(l,c){return $p(l).includes(c)},ownKeys(l){return $p(l)},set(l,c,u){const h=l._storage||(l._storage=i());return l[c]=h[c]=u,delete l._keys,!0}})}function to(t,e,n,r){const i={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:Dp(t,r),setContext:s=>to(t,s,n,r),override:s=>to(t.override(s),e,n,r)};return new Proxy(i,{deleteProperty(s,a){return delete s[a],delete t[a],!0},get(s,a,l){return Pp(s,a,()=>xw(s,a,l))},getOwnPropertyDescriptor(s,a){return s._descriptors.allKeys?Reflect.has(t,a)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,a)},getPrototypeOf(){return Reflect.getPrototypeOf(t)},has(s,a){return Reflect.has(t,a)},ownKeys(){return Reflect.ownKeys(t)},set(s,a,l){return t[a]=l,delete s[a],!0}})}function Dp(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:r=e.indexable,_allKeys:i=e.allKeys}=t;return{allKeys:i,scriptable:n,indexable:r,isScriptable:Bi(n)?n:()=>n,isIndexable:Bi(r)?r:()=>r}}const vw=(t,e)=>t?t+ku(e):e,Bu=(t,e)=>et(e)&&t!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function Pp(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const r=n();return t[e]=r,r}function xw(t,e,n){const{_proxy:r,_context:i,_subProxy:s,_descriptors:a}=t;let l=r[e];return Bi(l)&&a.isScriptable(e)&&(l=Sw(e,l,t,n)),Lt(l)&&l.length&&(l=Mw(e,l,t,a.isIndexable)),Bu(e,l)&&(l=to(l,i,s&&s[e],a)),l}function Sw(t,e,n,r){const{_proxy:i,_context:s,_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(s,a||r);return l.delete(t),Bu(t,c)&&(c=Au(i._scopes,i,t,c)),c}function Mw(t,e,n,r){const{_proxy:i,_context:s,_subProxy:a,_descriptors:l}=n;if(typeof s.index<"u"&&r(t))return e[s.index%e.length];if(et(e[0])){const c=e,u=i._scopes.filter(h=>h!==c);e=[];for(const h of c){const p=Au(u,i,t,h);e.push(to(p,s,a&&a[t],l))}}return e}function Op(t,e,n){return Bi(t)?t(e,n):t}const Tw=(t,e)=>t===!0?e:typeof t=="string"?Cl(e,t):void 0;function Dw(t,e,n,r,i){for(const s of e){const a=Tw(n,s);if(a){t.add(a);const l=Op(a._fallback,n,i);if(typeof l<"u"&&l!==n&&l!==r)return l}else if(a===!1&&typeof r<"u"&&n!==r)return null}return!1}function Au(t,e,n,r){const i=e._rootScopes,s=Op(e._fallback,n,r),a=[...t,...i],l=new Set;l.add(r);let c=Ep(l,a,n,s||n,r);return c===null||typeof s<"u"&&s!==n&&(c=Ep(l,a,s,c,r),c===null)?!1:Nu(Array.from(l),[""],i,s,()=>Pw(e,n,r))}function Ep(t,e,n,r,i){for(;n;)n=Dw(t,e,n,r,i);return n}function Pw(t,e,n){const r=t._getTarget();e in r||(r[e]={});const i=r[e];return Lt(i)&&et(n)?n:i||{}}function Ow(t,e,n,r){let i;for(const s of e)if(i=Lp(vw(s,t),n),typeof i<"u")return Bu(t,i)?Au(n,r,t,i):i}function Lp(t,e){for(const n of e){if(!n)continue;const r=n[t];if(typeof r<"u")return r}}function $p(t){let e=t._keys;return e||(e=t._keys=Ew(t._scopes)),e}function Ew(t){const e=new Set;for(const n of t)for(const r of Object.keys(n).filter(i=>!i.startsWith("_")))e.add(r);return Array.from(e)}const Lw=Number.EPSILON||1e-14,no=(t,e)=>e<t.length&&!t[e].skip&&t[e],Vp=t=>t==="x"?"y":"x";function $w(t,e,n,r){const i=t.skip?e:t,s=e,a=n.skip?e:n,l=xu(s,i),c=xu(a,s);let u=l/(l+c),h=c/(l+c);u=isNaN(u)?0:u,h=isNaN(h)?0:h;const p=r*u,g=r*h;return{previous:{x:s.x-p*(a.x-i.x),y:s.y-p*(a.y-i.y)},next:{x:s.x+g*(a.x-i.x),y:s.y+g*(a.y-i.y)}}}function Vw(t,e,n){const r=t.length;let i,s,a,l,c,u=no(t,0);for(let h=0;h<r-1;++h)if(c=u,u=no(t,h+1),!(!c||!u)){if(ra(e[h],0,Lw)){n[h]=n[h+1]=0;continue}i=n[h]/e[h],s=n[h+1]/e[h],l=Math.pow(i,2)+Math.pow(s,2),!(l<=9)&&(a=3/Math.sqrt(l),n[h]=i*a*e[h],n[h+1]=s*a*e[h])}}function Nw(t,e,n="x"){const r=Vp(n),i=t.length;let s,a,l,c=no(t,0);for(let u=0;u<i;++u){if(a=l,l=c,c=no(t,u+1),!l)continue;const h=l[n],p=l[r];a&&(s=(h-a[n])/3,l[`cp1${n}`]=h-s,l[`cp1${r}`]=p-s*e[u]),c&&(s=(c[n]-h)/3,l[`cp2${n}`]=h+s,l[`cp2${r}`]=p+s*e[u])}}function Bw(t,e="x"){const n=Vp(e),r=t.length,i=Array(r).fill(0),s=Array(r);let a,l,c,u=no(t,0);for(a=0;a<r;++a)if(l=c,c=u,u=no(t,a+1),!!c){if(u){const h=u[e]-c[e];i[a]=h!==0?(u[n]-c[n])/h:0}s[a]=l?u?eo(i[a-1])!==eo(i[a])?0:(i[a-1]+i[a])/2:i[a-1]:i[a]}Vw(t,i,s),Nw(t,s,e)}function Pl(t,e,n){return Math.max(Math.min(t,n),e)}function Aw(t,e){let n,r,i,s,a,l=ni(t[0],e);for(n=0,r=t.length;n<r;++n)a=s,s=l,l=n<r-1&&ni(t[n+1],e),s&&(i=t[n],a&&(i.cp1x=Pl(i.cp1x,e.left,e.right),i.cp1y=Pl(i.cp1y,e.top,e.bottom)),l&&(i.cp2x=Pl(i.cp2x,e.left,e.right),i.cp2y=Pl(i.cp2y,e.top,e.bottom)))}function Rw(t,e,n,r,i){let s,a,l,c;if(e.spanGaps&&(t=t.filter(u=>!u.skip)),e.cubicInterpolationMode==="monotone")Bw(t,i);else{let u=r?t[t.length-1]:t[0];for(s=0,a=t.length;s<a;++s)l=t[s],c=$w(u,l,t[Math.min(s+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,u=l}e.capBezierPoints&&Aw(t,n)}function Ru(){return typeof window<"u"&&typeof document<"u"}function Fu(t){let e=t.parentNode;return e&&e.toString()==="[object ShadowRoot]"&&(e=e.host),e}function Ol(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 El=t=>t.ownerDocument.defaultView.getComputedStyle(t,null);function Fw(t,e){return El(t).getPropertyValue(e)}const Iw=["top","right","bottom","left"];function gs(t,e,n){const r={};n=n?"-"+n:"";for(let i=0;i<4;i++){const s=Iw[i];r[s]=parseFloat(t[e+"-"+s+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const Hw=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function zw(t,e){const n=t.touches,r=n&&n.length?n[0]:t,{offsetX:i,offsetY:s}=r;let a=!1,l,c;if(Hw(i,s,t.target))l=i,c=s;else{const u=e.getBoundingClientRect();l=r.clientX-u.left,c=r.clientY-u.top,a=!0}return{x:l,y:c,box:a}}function _s(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:r}=e,i=El(n),s=i.boxSizing==="border-box",a=gs(i,"padding"),l=gs(i,"border","width"),{x:c,y:u,box:h}=zw(t,n),p=a.left+(h&&l.left),g=a.top+(h&&l.top);let{width:w,height:C}=e;return s&&(w-=a.width+l.width,C-=a.height+l.height),{x:Math.round((c-p)/w*n.width/r),y:Math.round((u-g)/C*n.height/r)}}function jw(t,e,n){let r,i;if(e===void 0||n===void 0){const s=Fu(t);if(!s)e=t.clientWidth,n=t.clientHeight;else{const a=s.getBoundingClientRect(),l=El(s),c=gs(l,"border","width"),u=gs(l,"padding");e=a.width-u.width-c.width,n=a.height-u.height-c.height,r=Ol(l.maxWidth,s,"clientWidth"),i=Ol(l.maxHeight,s,"clientHeight")}}return{width:e,height:n,maxWidth:r||vl,maxHeight:i||vl}}const Ll=t=>Math.round(t*10)/10;function Yw(t,e,n,r){const i=El(t),s=gs(i,"margin"),a=Ol(i.maxWidth,t,"clientWidth")||vl,l=Ol(i.maxHeight,t,"clientHeight")||vl,c=jw(t,e,n);let{width:u,height:h}=c;if(i.boxSizing==="content-box"){const g=gs(i,"border","width"),w=gs(i,"padding");u-=w.width+g.width,h-=w.height+g.height}return u=Math.max(0,u-s.width),h=Math.max(0,r?u/r:h-s.height),u=Ll(Math.min(u,a,c.maxWidth)),h=Ll(Math.min(h,l,c.maxHeight)),u&&!h&&(h=Ll(u/2)),(e!==void 0||n!==void 0)&&r&&c.height&&h>c.height&&(h=c.height,u=Ll(Math.floor(h*r))),{width:u,height:h}}function Np(t,e,n){const r=e||1,i=Math.floor(t.height*r),s=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!==i||a.width!==s?(t.currentDevicePixelRatio=r,a.height=i,a.width=s,t.ctx.setTransform(r,0,0,r,0,0),!0):!1}const Ww=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};Ru()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch{}return t}();function Bp(t,e){const n=Fw(t,e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function ys(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function qw(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 Uw(t,e,n,r){const i={x:t.cp2x,y:t.cp2y},s={x:e.cp1x,y:e.cp1y},a=ys(t,i,n),l=ys(i,s,n),c=ys(s,e,n),u=ys(a,l,n),h=ys(l,c,n);return ys(u,h,n)}const Zw=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}}},Gw=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function Iu(t,e,n){return t?Zw(e,n):Gw()}function Kw(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 Xw(t,e){e!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function Ap(t){return t==="angle"?{between:pp,compare:Wb,normalize:Fn}:{between:mp,compare:(e,n)=>e-n,normalize:e=>e}}function Rp({start:t,end:e,count:n,loop:r,style:i}){return{start:t%n,end:e%n,loop:r&&(e-t+1)%n===0,style:i}}function Qw(t,e,n){const{property:r,start:i,end:s}=n,{between:a,normalize:l}=Ap(r),c=e.length;let{start:u,end:h,loop:p}=t,g,w;if(p){for(u+=c,h+=c,g=0,w=c;g<w&&a(l(e[u%c][r]),i,s);++g)u--,h--;u%=c,h%=c}return h<u&&(h+=c),{start:u,end:h,loop:p,style:t.style}}function Fp(t,e,n){if(!n)return[t];const{property:r,start:i,end:s}=n,a=e.length,{compare:l,between:c,normalize:u}=Ap(r),{start:h,end:p,loop:g,style:w}=Qw(t,e,n),C=[];let b=!1,x=null,M,L,P;const $=()=>c(i,P,M)&&l(i,P)!==0,V=()=>l(s,M)===0||c(s,P,M),F=()=>b||$(),m=()=>!b||V();for(let R=h,B=h;R<=p;++R)L=e[R%a],!L.skip&&(M=u(L[r]),M!==P&&(b=c(M,i,s),x===null&&F()&&(x=l(M,i)===0?R:B),x!==null&&m()&&(C.push(Rp({start:x,end:R,loop:g,count:a,style:w})),x=null),B=R,P=M));return x!==null&&C.push(Rp({start:x,end:p,loop:g,count:a,style:w})),C}function Ip(t,e){const n=[],r=t.segments;for(let i=0;i<r.length;i++){const s=Fp(r[i],t.points,e);s.length&&n.push(...s)}return n}function Jw(t,e,n,r){let i=0,s=e-1;if(n&&!r)for(;i<e&&!t[i].skip;)i++;for(;i<e&&t[i].skip;)i++;for(i%=e,n&&(s+=i);s>i&&t[s%e].skip;)s--;return s%=e,{start:i,end:s}}function eC(t,e,n,r){const i=t.length,s=[];let a=e,l=t[e],c;for(c=e+1;c<=n;++c){const u=t[c%i];u.skip||u.stop?l.skip||(r=!1,s.push({start:e%i,end:(c-1)%i,loop:r}),e=a=u.stop?c:null):(a=c,l.skip&&(e=c)),l=u}return a!==null&&s.push({start:e%i,end:a%i,loop:r}),s}function tC(t,e){const n=t.points,r=t.options.spanGaps,i=n.length;if(!i)return[];const s=!!t._loop,{start:a,end:l}=Jw(n,i,s,r);if(r===!0)return Hp(t,[{start:a,end:l,loop:s}],n,e);const c=l<a?l+i:l,u=!!t._fullLoop&&a===0&&l===i-1;return Hp(t,eC(n,a,c,u),n,e)}function Hp(t,e,n,r){return!r||!r.setContext||!n?e:nC(t,e,n,r)}function nC(t,e,n,r){const i=t._chart.getContext(),s=zp(t.options),{_datasetIndex:a,options:{spanGaps:l}}=t,c=n.length,u=[];let h=s,p=e[0].start,g=p;function w(C,b,x,M){const L=l?-1:1;if(C!==b){for(C+=c;n[C%c].skip;)C-=L;for(;n[b%c].skip;)b+=L;C%c!==b%c&&(u.push({start:C%c,end:b%c,loop:x,style:M}),h=M,p=b%c)}}for(const C of e){p=l?p:C.start;let b=n[p%c],x;for(g=p+1;g<=C.end;g++){const M=n[g%c];x=zp(r.setContext(Fi(i,{type:"segment",p0:b,p1:M,p0DataIndex:(g-1)%c,p1DataIndex:g%c,datasetIndex:a}))),rC(x,h)&&w(p,g-1,C.loop,h),b=M,h=x}p<g-1&&w(p,g-1,C.loop,h)}return u}function zp(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function rC(t,e){if(!e)return!1;const n=[],r=function(i,s){return Mu(s)?(n.includes(s)||n.push(s),n.indexOf(s)):s};return JSON.stringify(t,r)!==JSON.stringify(e,r)}/*!
|
|
46
|
+
* Chart.js v4.4.2
|
|
47
|
+
* https://www.chartjs.org
|
|
48
|
+
* (c) 2024 Chart.js Contributors
|
|
49
|
+
* Released under the MIT License
|
|
50
|
+
*/class iC{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,n,r,i){const s=n.listeners[i],a=n.duration;s.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=yp.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let n=0;this._charts.forEach((r,i)=>{if(!r.running||!r.items.length)return;const s=r.items;let a=s.length-1,l=!1,c;for(;a>=0;--a)c=s[a],c._active?(c._total>r.duration&&(r.duration=c._total),c.tick(e),l=!0):(s[a]=s[s.length-1],s.pop());l&&(i.draw(),this._notify(i,r,e,"progress")),s.length||(r.running=!1,this._notify(i,r,e,"complete"),r.initial=!1),n+=s.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,i)=>Math.max(r,i._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 i=r.length-1;for(;i>=0;--i)r[i].cancel();n.items=[],this._notify(e,n,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var ri=new iC;const jp="transparent",sC={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const r=vp(t||jp),i=r.valid&&vp(e||jp);return i&&i.valid?i.mix(r,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class oC{constructor(e,n,r,i){const s=n[r];i=Dl([e.to,i,s,e.from]);const a=Dl([e.from,s,i]);this._active=!0,this._fn=e.fn||sC[e.type||typeof a],this._easing=sa[e.easing]||sa.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=i,this._promises=void 0}active(){return this._active}update(e,n,r){if(this._active){this._notify(!1);const i=this._target[this._prop],s=r-this._start,a=this._duration-s;this._start=r,this._duration=Math.floor(Math.max(a,e.duration)),this._total+=s,this._loop=!!e.loop,this._to=Dl([e.to,n,i,e.from]),this._from=Dl([e.from,i,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const n=e-this._start,r=this._duration,i=this._prop,s=this._from,a=this._loop,l=this._to;let c;if(this._active=s!==l&&(a||n<r),!this._active){this._target[i]=l,this._notify(!0);return}if(n<0){this._target[i]=s;return}c=n/r%2,c=a&&c>1?2-c:c,c=this._easing(Math.min(1,Math.max(0,c))),this._target[i]=this._fn(s,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 i=0;i<r.length;i++)r[i][n]()}}class Yp{constructor(e,n){this._chart=e,this._properties=new Map,this.configure(n)}configure(e){if(!et(e))return;const n=Object.keys(Wt.animation),r=this._properties;Object.getOwnPropertyNames(e).forEach(i=>{const s=e[i];if(!et(s))return;const a={};for(const l of n)a[l]=s[l];(Lt(s.properties)&&s.properties||[i]).forEach(l=>{(l===i||!r.has(l))&&r.set(l,a)})})}_animateOptions(e,n){const r=n.options,i=lC(e,r);if(!i)return[];const s=this._createAnimations(i,r);return r.$shared&&aC(e.options.$animations,r).then(()=>{e.options=r},()=>{}),s}_createAnimations(e,n){const r=this._properties,i=[],s=e.$animations||(e.$animations={}),a=Object.keys(n),l=Date.now();let c;for(c=a.length-1;c>=0;--c){const u=a[c];if(u.charAt(0)==="$")continue;if(u==="options"){i.push(...this._animateOptions(e,n));continue}const h=n[u];let p=s[u];const g=r.get(u);if(p)if(g&&p.active()){p.update(g,h,l);continue}else p.cancel();if(!g||!g.duration){e[u]=h;continue}s[u]=p=new oC(g,e,u,h),i.push(p)}return i}update(e,n){if(this._properties.size===0){Object.assign(e,n);return}const r=this._createAnimations(e,n);if(r.length)return ri.add(this._chart,r),!0}}function aC(t,e){const n=[],r=Object.keys(e);for(let i=0;i<r.length;i++){const s=t[r[i]];s&&s.active()&&n.push(s.wait())}return Promise.all(n)}function lC(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 Wp(t,e){const n=t&&t.options||{},r=n.reverse,i=n.min===void 0?e:0,s=n.max===void 0?e:0;return{start:r?s:i,end:r?i:s}}function cC(t,e,n){if(n===!1)return!1;const r=Wp(t,n),i=Wp(e,n);return{top:i.end,right:r.end,bottom:i.start,left:r.start}}function dC(t){let e,n,r,i;return et(t)?(e=t.top,n=t.right,r=t.bottom,i=t.left):e=n=r=i=t,{top:e,right:n,bottom:r,left:i,disabled:t===!1}}function qp(t,e){const n=[],r=t._getSortedDatasetMetas(e);let i,s;for(i=0,s=r.length;i<s;++i)n.push(r[i].index);return n}function Up(t,e,n,r={}){const i=t.keys,s=r.mode==="single";let a,l,c,u;if(e!==null){for(a=0,l=i.length;a<l;++a){if(c=+i[a],c===n){if(r.all)continue;break}u=t.values[c],Bt(u)&&(s||e===0||eo(e)===eo(u))&&(e+=u)}return e}}function uC(t){const e=Object.keys(t),n=new Array(e.length);let r,i,s;for(r=0,i=e.length;r<i;++r)s=e[r],n[r]={x:s,y:t[s]};return n}function Zp(t,e){const n=t&&t.options.stacked;return n||n===void 0&&e.stack!==void 0}function hC(t,e,n){return`${t.id}.${e.id}.${n.stack||n.type}`}function fC(t){const{min:e,max:n,minDefined:r,maxDefined:i}=t.getUserBounds();return{min:r?e:Number.NEGATIVE_INFINITY,max:i?n:Number.POSITIVE_INFINITY}}function pC(t,e,n){const r=t[e]||(t[e]={});return r[n]||(r[n]={})}function Gp(t,e,n,r){for(const i of e.getMatchingVisibleMetas(r).reverse()){const s=t[i.index];if(n&&s>0||!n&&s<0)return i.index}return null}function Kp(t,e){const{chart:n,_cachedMeta:r}=t,i=n._stacks||(n._stacks={}),{iScale:s,vScale:a,index:l}=r,c=s.axis,u=a.axis,h=hC(s,a,r),p=e.length;let g;for(let w=0;w<p;++w){const C=e[w],{[c]:b,[u]:x}=C,M=C._stacks||(C._stacks={});g=M[u]=pC(i,h,b),g[l]=x,g._top=Gp(g,a,!0,r.type),g._bottom=Gp(g,a,!1,r.type);const L=g._visualValues||(g._visualValues={});L[l]=x}}function Hu(t,e){const n=t.scales;return Object.keys(n).filter(r=>n[r].axis===e).shift()}function mC(t,e){return Fi(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function gC(t,e,n){return Fi(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}function la(t,e){const n=t.controller.index,r=t.vScale&&t.vScale.axis;if(r){e=e||t._parsed;for(const i of e){const s=i._stacks;if(!s||s[r]===void 0||s[r][n]===void 0)return;delete s[r][n],s[r]._visualValues!==void 0&&s[r]._visualValues[n]!==void 0&&delete s[r]._visualValues[n]}}}const zu=t=>t==="reset"||t==="none",Xp=(t,e)=>e?t:Object.assign({},t),_C=(t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:qp(n,!0),values:null};class ca{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=Zp(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&&la(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,n=this._cachedMeta,r=this.getDataset(),i=(p,g,w,C)=>p==="x"?g:p==="r"?C:w,s=n.xAxisID=ht(r.xAxisID,Hu(e,"x")),a=n.yAxisID=ht(r.yAxisID,Hu(e,"y")),l=n.rAxisID=ht(r.rAxisID,Hu(e,"r")),c=n.indexAxis,u=n.iAxisID=i(c,s,a,l),h=n.vAxisID=i(c,a,s,l);n.xScale=this.getScaleForId(s),n.yScale=this.getScaleForId(a),n.rScale=this.getScaleForId(l),n.iScale=this.getScaleForId(u),n.vScale=this.getScaleForId(h)}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&&_p(this._data,this),e._stacked&&la(e)}_dataCheck(){const e=this.getDataset(),n=e.data||(e.data=[]),r=this._data;if(et(n))this._data=uC(n);else if(r!==n){if(r){_p(r,this);const i=this._cachedMeta;la(i),i._parsed=[]}n&&Object.isExtensible(n)&&Gb(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 i=!1;this._dataCheck();const s=n._stacked;n._stacked=Zp(n.vScale,n),n.stack!==r.stack&&(i=!0,la(n),n.stack=r.stack),this._resyncElements(e),(i||s!==n._stacked)&&Kp(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:i}=this,{iScale:s,_stacked:a}=r,l=s.axis;let c=e===0&&n===i.length?!0:r._sorted,u=e>0&&r._parsed[e-1],h,p,g;if(this._parsing===!1)r._parsed=i,r._sorted=!0,g=i;else{Lt(i[e])?g=this.parseArrayData(r,i,e,n):et(i[e])?g=this.parseObjectData(r,i,e,n):g=this.parsePrimitiveData(r,i,e,n);const w=()=>p[l]===null||u&&p[l]<u[l];for(h=0;h<n;++h)r._parsed[h+e]=p=g[h],c&&(w()&&(c=!1),u=p);r._sorted=c}a&&Kp(this,g)}parsePrimitiveData(e,n,r,i){const{iScale:s,vScale:a}=e,l=s.axis,c=a.axis,u=s.getLabels(),h=s===a,p=new Array(i);let g,w,C;for(g=0,w=i;g<w;++g)C=g+r,p[g]={[l]:h||s.parse(u[C],C),[c]:a.parse(n[C],C)};return p}parseArrayData(e,n,r,i){const{xScale:s,yScale:a}=e,l=new Array(i);let c,u,h,p;for(c=0,u=i;c<u;++c)h=c+r,p=n[h],l[c]={x:s.parse(p[0],h),y:a.parse(p[1],h)};return l}parseObjectData(e,n,r,i){const{xScale:s,yScale:a}=e,{xAxisKey:l="x",yAxisKey:c="y"}=this._parsing,u=new Array(i);let h,p,g,w;for(h=0,p=i;h<p;++h)g=h+r,w=n[g],u[h]={x:s.parse(Cl(w,l),g),y:a.parse(Cl(w,c),g)};return u}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,n,r){const i=this.chart,s=this._cachedMeta,a=n[e.axis],l={keys:qp(i,!0),values:n._stacks[e.axis]._visualValues};return Up(l,a,s.index,{mode:r})}updateRangeFromParsed(e,n,r,i){const s=r[n.axis];let a=s===null?NaN:s;const l=i&&r._stacks[n.axis];i&&l&&(i.values=l,a=Up(i,s,this._cachedMeta.index)),e.min=Math.min(e.min,a),e.max=Math.max(e.max,a)}getMinMax(e,n){const r=this._cachedMeta,i=r._parsed,s=r._sorted&&e===r.iScale,a=i.length,l=this._getOtherScale(e),c=_C(n,r,this.chart),u={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:h,max:p}=fC(l);let g,w;function C(){w=i[g];const b=w[l.axis];return!Bt(w[e.axis])||h>b||p<b}for(g=0;g<a&&!(!C()&&(this.updateRangeFromParsed(u,e,w,c),s));++g);if(s){for(g=a-1;g>=0;--g)if(!C()){this.updateRangeFromParsed(u,e,w,c);break}}return u}getAllParsedValues(e){const n=this._cachedMeta._parsed,r=[];let i,s,a;for(i=0,s=n.length;i<s;++i)a=n[i][e.axis],Bt(a)&&r.push(a);return r}getMaxOverflow(){return!1}getLabelAndValue(e){const n=this._cachedMeta,r=n.iScale,i=n.vScale,s=this.getParsed(e);return{label:r?""+r.getLabelForValue(s[r.axis]):"",value:i?""+i.getLabelForValue(s[i.axis]):""}}_update(e){const n=this._cachedMeta;this.update(e||"default"),n._clip=dC(ht(this.options.clip,cC(n.xScale,n.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,n=this.chart,r=this._cachedMeta,i=r.data||[],s=n.chartArea,a=[],l=this._drawStart||0,c=this._drawCount||i.length-l,u=this.options.drawActiveElementsOnTop;let h;for(r.dataset&&r.dataset.draw(e,s,l,c),h=l;h<l+c;++h){const p=i[h];p.hidden||(p.active&&u?a.push(p):p.draw(e,s))}for(h=0;h<a.length;++h)a[h].draw(e,s)}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 i=this.getDataset();let s;if(e>=0&&e<this._cachedMeta.data.length){const a=this._cachedMeta.data[e];s=a.$context||(a.$context=gC(this.getContext(),e,a)),s.parsed=this.getParsed(e),s.raw=i.data[e],s.index=s.dataIndex=e}else s=this.$context||(this.$context=mC(this.chart.getContext(),this.index)),s.dataset=i,s.index=s.datasetIndex=this.index;return s.active=!!n,s.mode=r,s}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 i=n==="active",s=this._cachedDataOpts,a=e+"-"+n,l=s[a],c=this.enableOptionSharing&&kl(r);if(l)return Xp(l,c);const u=this.chart.config,h=u.datasetElementScopeKeys(this._type,e),p=i?[`${e}Hover`,"hover",e,""]:[e,""],g=u.getOptionScopes(this.getDataset(),h),w=Object.keys(Wt.elements[e]),C=()=>this.getContext(r,i,n),b=u.resolveNamedOptions(g,w,C,p);return b.$shared&&(b.$shared=c,s[a]=Object.freeze(Xp(b,c))),b}_resolveAnimations(e,n,r){const i=this.chart,s=this._cachedDataOpts,a=`animation-${n}`,l=s[a];if(l)return l;let c;if(i.options.animation!==!1){const h=this.chart.config,p=h.datasetAnimationScopeKeys(this._type,n),g=h.getOptionScopes(this.getDataset(),p);c=h.createResolver(g,this.getContext(e,r,n))}const u=new Yp(i,c&&c.animations);return c&&c._cacheable&&(s[a]=Object.freeze(u)),u}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,n){return!n||zu(e)||this.chart._animationsDisabled}_getSharedOptions(e,n){const r=this.resolveDataElementOptions(e,n),i=this._sharedOptions,s=this.getSharedOptions(r),a=this.includeOptions(n,s)||s!==i;return this.updateSharedOptions(s,n,r),{sharedOptions:s,includeOptions:a}}updateElement(e,n,r,i){zu(i)?Object.assign(e,r):this._resolveAnimations(n,i).update(e,r)}updateSharedOptions(e,n,r){e&&!zu(n)&&this._resolveAnimations(void 0,n).update(e,r)}_setStyle(e,n,r,i){e.active=i;const s=this.getStyle(n,i);this._resolveAnimations(n,r,i).update(e,{options:!i&&this.getSharedOptions(s)||s})}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,u]of this._syncList)this[l](c,u);this._syncList=[];const i=r.length,s=n.length,a=Math.min(s,i);a&&this.parse(0,a),s>i?this._insertElements(i,s-i,e):s<i&&this._removeElements(s,i-s)}_insertElements(e,n,r=!0){const i=this._cachedMeta,s=i.data,a=e+n;let l;const c=u=>{for(u.length+=n,l=u.length-1;l>=a;l--)u[l]=u[l-n]};for(c(s),l=e;l<a;++l)s[l]=new this.dataElementType;this._parsing&&c(i._parsed),this.parse(e,n),r&&this.updateElements(s,e,n,"reset")}updateElements(e,n,r,i){}_removeElements(e,n){const r=this._cachedMeta;if(this._parsing){const i=r._parsed.splice(e,n);r._stacked&&la(r,i)}r.data.splice(e,n)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[n,r,i]=e;this[n](r,i)}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])}}le(ca,"defaults",{}),le(ca,"datasetElementType",null),le(ca,"dataElementType",null);class $l extends ca{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){const n=this._cachedMeta,{dataset:r,data:i=[],_dataset:s}=n,a=this.chart._animationsDisabled;let{start:l,count:c}=Jb(n,i,a);this._drawStart=l,this._drawCount=c,ew(n)&&(l=0,c=i.length),r._chart=this.chart,r._datasetIndex=this.index,r._decimated=!!s._decimated,r.points=i;const u=this.resolveDatasetElementOptions(e);this.options.showLine||(u.borderWidth=0),u.segment=this.options.segment,this.updateElement(r,void 0,{animated:!a,options:u},e),this.updateElements(i,l,c,e)}updateElements(e,n,r,i){const s=i==="reset",{iScale:a,vScale:l,_stacked:c,_dataset:u}=this._cachedMeta,{sharedOptions:h,includeOptions:p}=this._getSharedOptions(n,i),g=a.axis,w=l.axis,{spanGaps:C,segment:b}=this.options,x=ia(C)?C:Number.POSITIVE_INFINITY,M=this.chart._animationsDisabled||s||i==="none",L=n+r,P=e.length;let $=n>0&&this.getParsed(n-1);for(let V=0;V<P;++V){const F=e[V],m=M?F:{};if(V<n||V>=L){m.skip=!0;continue}const R=this.getParsed(V),B=kt(R[w]),ne=m[g]=a.getPixelForValue(R[g],V),ce=m[w]=s||B?l.getBasePixel():l.getPixelForValue(c?this.applyStack(l,R,c):R[w],V);m.skip=isNaN(ne)||isNaN(ce)||B,m.stop=V>0&&Math.abs(R[g]-$[g])>x,b&&(m.parsed=R,m.raw=u.data[V]),p&&(m.options=h||this.resolveDataElementOptions(V,F.active?"active":i)),M||this.updateElement(F,V,m,i),$=R}}getMaxOverflow(){const e=this._cachedMeta,n=e.dataset,r=n.options&&n.options.borderWidth||0,i=e.data||[];if(!i.length)return r;const s=i[0].size(this.resolveDataElementOptions(0)),a=i[i.length-1].size(this.resolveDataElementOptions(i.length-1));return Math.max(r,s,a)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}le($l,"id","line"),le($l,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),le($l,"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 ju{constructor(e){le(this,"options");this.options=e||{}}static override(e){Object.assign(ju.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 yC={_date:ju};function bC(t,e,n,r){const{controller:i,data:s,_sorted:a}=t,l=i._cachedMeta.iScale;if(l&&e===l.axis&&e!=="r"&&a&&s.length){const c=l._reversePixels?Ub:fs;if(r){if(i._sharedOptions){const u=s[0],h=typeof u.getRange=="function"&&u.getRange(e);if(h){const p=c(s,e,n-h),g=c(s,e,n+h);return{lo:p.lo,hi:g.hi}}}}else return c(s,e,n)}return{lo:0,hi:s.length-1}}function da(t,e,n,r,i){const s=t.getSortedVisibleDatasetMetas(),a=n[e];for(let l=0,c=s.length;l<c;++l){const{index:u,data:h}=s[l],{lo:p,hi:g}=bC(s[l],e,a,i);for(let w=p;w<=g;++w){const C=h[w];C.skip||r(C,u,w)}}}function wC(t){const e=t.indexOf("x")!==-1,n=t.indexOf("y")!==-1;return function(r,i){const s=e?Math.abs(r.x-i.x):0,a=n?Math.abs(r.y-i.y):0;return Math.sqrt(Math.pow(s,2)+Math.pow(a,2))}}function Yu(t,e,n,r,i){const s=[];return!i&&!t.isPointInArea(e)||da(t,n,e,function(l,c,u){!i&&!ni(l,t.chartArea,0)||l.inRange(e.x,e.y,r)&&s.push({element:l,datasetIndex:c,index:u})},!0),s}function CC(t,e,n,r){let i=[];function s(a,l,c){const{startAngle:u,endAngle:h}=a.getProps(["startAngle","endAngle"],r),{angle:p}=Yb(a,{x:e.x,y:e.y});pp(p,u,h)&&i.push({element:a,datasetIndex:l,index:c})}return da(t,n,e,s),i}function kC(t,e,n,r,i,s){let a=[];const l=wC(n);let c=Number.POSITIVE_INFINITY;function u(h,p,g){const w=h.inRange(e.x,e.y,i);if(r&&!w)return;const C=h.getCenterPoint(i);if(!(!!s||t.isPointInArea(C))&&!w)return;const x=l(e,C);x<c?(a=[{element:h,datasetIndex:p,index:g}],c=x):x===c&&a.push({element:h,datasetIndex:p,index:g})}return da(t,n,e,u),a}function Wu(t,e,n,r,i,s){return!s&&!t.isPointInArea(e)?[]:n==="r"&&!r?CC(t,e,n,i):kC(t,e,n,r,i,s)}function Qp(t,e,n,r,i){const s=[],a=n==="x"?"inXRange":"inYRange";let l=!1;return da(t,n,e,(c,u,h)=>{c[a](e[n],i)&&(s.push({element:c,datasetIndex:u,index:h}),l=l||c.inRange(e.x,e.y,i))}),r&&!l?[]:s}var vC={evaluateInteractionItems:da,modes:{index(t,e,n,r){const i=_s(e,t),s=n.axis||"x",a=n.includeInvisible||!1,l=n.intersect?Yu(t,i,s,r,a):Wu(t,i,s,!1,r,a),c=[];return l.length?(t.getSortedVisibleDatasetMetas().forEach(u=>{const h=l[0].index,p=u.data[h];p&&!p.skip&&c.push({element:p,datasetIndex:u.index,index:h})}),c):[]},dataset(t,e,n,r){const i=_s(e,t),s=n.axis||"xy",a=n.includeInvisible||!1;let l=n.intersect?Yu(t,i,s,r,a):Wu(t,i,s,!1,r,a);if(l.length>0){const c=l[0].datasetIndex,u=t.getDatasetMeta(c).data;l=[];for(let h=0;h<u.length;++h)l.push({element:u[h],datasetIndex:c,index:h})}return l},point(t,e,n,r){const i=_s(e,t),s=n.axis||"xy",a=n.includeInvisible||!1;return Yu(t,i,s,r,a)},nearest(t,e,n,r){const i=_s(e,t),s=n.axis||"xy",a=n.includeInvisible||!1;return Wu(t,i,s,n.intersect,r,a)},x(t,e,n,r){const i=_s(e,t);return Qp(t,i,"x",n.intersect,r)},y(t,e,n,r){const i=_s(e,t);return Qp(t,i,"y",n.intersect,r)}}};const Jp=["left","top","right","bottom"];function ua(t,e){return t.filter(n=>n.pos===e)}function e2(t,e){return t.filter(n=>Jp.indexOf(n.pos)===-1&&n.box.axis===e)}function ha(t,e){return t.sort((n,r)=>{const i=e?r:n,s=e?n:r;return i.weight===s.weight?i.index-s.index:i.weight-s.weight})}function xC(t){const e=[];let n,r,i,s,a,l;for(n=0,r=(t||[]).length;n<r;++n)i=t[n],{position:s,options:{stack:a,stackWeight:l=1}}=i,e.push({index:n,box:i,pos:s,horizontal:i.isHorizontal(),weight:i.weight,stack:a&&s+a,stackWeight:l});return e}function SC(t){const e={};for(const n of t){const{stack:r,pos:i,stackWeight:s}=n;if(!r||!Jp.includes(i))continue;const a=e[r]||(e[r]={count:0,placed:0,weight:0,size:0});a.count++,a.weight+=s}return e}function MC(t,e){const n=SC(t),{vBoxMaxWidth:r,hBoxMaxHeight:i}=e;let s,a,l;for(s=0,a=t.length;s<a;++s){l=t[s];const{fullSize:c}=l.box,u=n[l.stack],h=u&&l.stackWeight/u.weight;l.horizontal?(l.width=h?h*r:c&&e.availableWidth,l.height=i):(l.width=r,l.height=h?h*i:c&&e.availableHeight)}return n}function TC(t){const e=xC(t),n=ha(e.filter(u=>u.box.fullSize),!0),r=ha(ua(e,"left"),!0),i=ha(ua(e,"right")),s=ha(ua(e,"top"),!0),a=ha(ua(e,"bottom")),l=e2(e,"x"),c=e2(e,"y");return{fullSize:n,leftAndTop:r.concat(s),rightAndBottom:i.concat(c).concat(a).concat(l),chartArea:ua(e,"chartArea"),vertical:r.concat(i).concat(c),horizontal:s.concat(a).concat(l)}}function t2(t,e,n,r){return Math.max(t[n],e[n])+Math.max(t[r],e[r])}function n2(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 DC(t,e,n,r){const{pos:i,box:s}=n,a=t.maxPadding;if(!et(i)){n.size&&(t[i]-=n.size);const p=r[n.stack]||{size:0,count:1};p.size=Math.max(p.size,n.horizontal?s.height:s.width),n.size=p.size/p.count,t[i]+=n.size}s.getPadding&&n2(a,s.getPadding());const l=Math.max(0,e.outerWidth-t2(a,t,"left","right")),c=Math.max(0,e.outerHeight-t2(a,t,"top","bottom")),u=l!==t.w,h=c!==t.h;return t.w=l,t.h=c,n.horizontal?{same:u,other:h}:{same:h,other:u}}function PC(t){const e=t.maxPadding;function n(r){const i=Math.max(e[r]-t[r],0);return t[r]+=i,i}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}function OC(t,e){const n=e.maxPadding;function r(i){const s={left:0,top:0,right:0,bottom:0};return i.forEach(a=>{s[a]=Math.max(e[a],n[a])}),s}return r(t?["left","right"]:["top","bottom"])}function fa(t,e,n,r){const i=[];let s,a,l,c,u,h;for(s=0,a=t.length,u=0;s<a;++s){l=t[s],c=l.box,c.update(l.width||e.w,l.height||e.h,OC(l.horizontal,e));const{same:p,other:g}=DC(e,n,l,r);u|=p&&i.length,h=h||g,c.fullSize||i.push(l)}return u&&fa(i,e,n,r)||h}function Vl(t,e,n,r,i){t.top=n,t.left=e,t.right=e+r,t.bottom=n+i,t.width=r,t.height=i}function r2(t,e,n,r){const i=n.padding;let{x:s,y:a}=e;for(const l of t){const c=l.box,u=r[l.stack]||{count:1,placed:0,weight:1},h=l.stackWeight/u.weight||1;if(l.horizontal){const p=e.w*h,g=u.size||c.height;kl(u.start)&&(a=u.start),c.fullSize?Vl(c,i.left,a,n.outerWidth-i.right-i.left,g):Vl(c,e.left+u.placed,a,p,g),u.start=a,u.placed+=p,a=c.bottom}else{const p=e.h*h,g=u.size||c.width;kl(u.start)&&(s=u.start),c.fullSize?Vl(c,s,i.top,g,n.outerHeight-i.bottom-i.top):Vl(c,s,e.top+u.placed,g,p),u.start=s,u.placed+=p,s=c.right}}e.x=s,e.y=a}var Nl={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 i=Kn(t.options.layout.padding),s=Math.max(e-i.width,0),a=Math.max(n-i.height,0),l=TC(t.boxes),c=l.vertical,u=l.horizontal;ft(t.boxes,b=>{typeof b.beforeLayout=="function"&&b.beforeLayout()});const h=c.reduce((b,x)=>x.box.options&&x.box.options.display===!1?b:b+1,0)||1,p=Object.freeze({outerWidth:e,outerHeight:n,padding:i,availableWidth:s,availableHeight:a,vBoxMaxWidth:s/2/h,hBoxMaxHeight:a/2}),g=Object.assign({},i);n2(g,Kn(r));const w=Object.assign({maxPadding:g,w:s,h:a,x:i.left,y:i.top},i),C=MC(c.concat(u),p);fa(l.fullSize,w,p,C),fa(c,w,p,C),fa(u,w,p,C)&&fa(c,w,p,C),PC(w),r2(l.leftAndTop,w,p,C),w.x+=w.w,w.y+=w.h,r2(l.rightAndBottom,w,p,C),t.chartArea={left:w.left,top:w.top,right:w.left+w.w,bottom:w.top+w.h,height:w.h,width:w.w},ft(l.chartArea,b=>{const x=b.box;Object.assign(x,t.chartArea),x.update(w.w,w.h,{left:0,top:0,right:0,bottom:0})})}};class i2{acquireContext(e,n){}releaseContext(e){return!1}addEventListener(e,n,r){}removeEventListener(e,n,r){}getDevicePixelRatio(){return 1}getMaximumSize(e,n,r,i){return n=Math.max(0,n||e.width),r=r||e.height,{width:n,height:Math.max(0,i?Math.floor(n/i):r)}}isAttached(e){return!0}updateConfig(e){}}class EC extends i2{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const Bl="$chartjs",LC={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},s2=t=>t===null||t==="";function $C(t,e){const n=t.style,r=t.getAttribute("height"),i=t.getAttribute("width");if(t[Bl]={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",s2(i)){const s=Bp(t,"width");s!==void 0&&(t.width=s)}if(s2(r))if(t.style.height==="")t.height=t.width/(e||2);else{const s=Bp(t,"height");s!==void 0&&(t.height=s)}return t}const o2=Ww?{passive:!0}:!1;function VC(t,e,n){t&&t.addEventListener(e,n,o2)}function NC(t,e,n){t&&t.canvas&&t.canvas.removeEventListener(e,n,o2)}function BC(t,e){const n=LC[t.type]||t.type,{x:r,y:i}=_s(t,e);return{type:n,chart:e,native:t,x:r!==void 0?r:null,y:i!==void 0?i:null}}function Al(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function AC(t,e,n){const r=t.canvas,i=new MutationObserver(s=>{let a=!1;for(const l of s)a=a||Al(l.addedNodes,r),a=a&&!Al(l.removedNodes,r);a&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}function RC(t,e,n){const r=t.canvas,i=new MutationObserver(s=>{let a=!1;for(const l of s)a=a||Al(l.removedNodes,r),a=a&&!Al(l.addedNodes,r);a&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}const pa=new Map;let a2=0;function l2(){const t=window.devicePixelRatio;t!==a2&&(a2=t,pa.forEach((e,n)=>{n.currentDevicePixelRatio!==t&&e()}))}function FC(t,e){pa.size||window.addEventListener("resize",l2),pa.set(t,e)}function IC(t){pa.delete(t),pa.size||window.removeEventListener("resize",l2)}function HC(t,e,n){const r=t.canvas,i=r&&Fu(r);if(!i)return;const s=bp((l,c)=>{const u=i.clientWidth;n(l,c),u<i.clientWidth&&n()},window),a=new ResizeObserver(l=>{const c=l[0],u=c.contentRect.width,h=c.contentRect.height;u===0&&h===0||s(u,h)});return a.observe(i),FC(t,s),a}function qu(t,e,n){n&&n.disconnect(),e==="resize"&&IC(t)}function zC(t,e,n){const r=t.canvas,i=bp(s=>{t.ctx!==null&&n(BC(s,t))},t);return VC(r,e,i),i}class jC extends i2{acquireContext(e,n){const r=e&&e.getContext&&e.getContext("2d");return r&&r.canvas===e?($C(e,n),r):null}releaseContext(e){const n=e.canvas;if(!n[Bl])return!1;const r=n[Bl].initial;["height","width"].forEach(s=>{const a=r[s];kt(a)?n.removeAttribute(s):n.setAttribute(s,a)});const i=r.style||{};return Object.keys(i).forEach(s=>{n.style[s]=i[s]}),n.width=n.width,delete n[Bl],!0}addEventListener(e,n,r){this.removeEventListener(e,n);const i=e.$proxies||(e.$proxies={}),a={attach:AC,detach:RC,resize:HC}[n]||zC;i[n]=a(e,n,r)}removeEventListener(e,n){const r=e.$proxies||(e.$proxies={}),i=r[n];if(!i)return;({attach:qu,detach:qu,resize:qu}[n]||NC)(e,n,i),r[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,n,r,i){return Yw(e,n,r,i)}isAttached(e){const n=Fu(e);return!!(n&&n.isConnected)}}function YC(t){return!Ru()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?EC:jC}class ws{constructor(){le(this,"x");le(this,"y");le(this,"active",!1);le(this,"options");le(this,"$animations")}tooltipPosition(e){const{x:n,y:r}=this.getProps(["x","y"],e);return{x:n,y:r}}hasValue(){return ia(this.x)&&ia(this.y)}getProps(e,n){const r=this.$animations;if(!n||!r)return this;const i={};return e.forEach(s=>{i[s]=r[s]&&r[s].active()?r[s]._to:this[s]}),i}}le(ws,"defaults",{}),le(ws,"defaultRoutes");function WC(t,e){const n=t.options.ticks,r=qC(t),i=Math.min(n.maxTicksLimit||r,r),s=n.major.enabled?ZC(e):[],a=s.length,l=s[0],c=s[a-1],u=[];if(a>i)return GC(e,u,s,a/i),u;const h=UC(s,e,i);if(a>0){let p,g;const w=a>1?Math.round((c-l)/(a-1)):null;for(Rl(e,u,h,kt(w)?0:l-w,l),p=0,g=a-1;p<g;p++)Rl(e,u,h,s[p],s[p+1]);return Rl(e,u,h,c,kt(w)?e.length:c+w),u}return Rl(e,u,h),u}function qC(t){const e=t.options.offset,n=t._tickSize(),r=t._length/n+(e?0:1),i=t._maxLength/n;return Math.floor(Math.min(r,i))}function UC(t,e,n){const r=KC(t),i=e.length/n;if(!r)return Math.max(i,1);const s=zb(r);for(let a=0,l=s.length-1;a<l;a++){const c=s[a];if(c>i)return c}return Math.max(i,1)}function ZC(t){const e=[];let n,r;for(n=0,r=t.length;n<r;n++)t[n].major&&e.push(n);return e}function GC(t,e,n,r){let i=0,s=n[0],a;for(r=Math.ceil(r),a=0;a<t.length;a++)a===s&&(e.push(t[a]),i++,s=n[i*r])}function Rl(t,e,n,r,i){const s=ht(r,0),a=Math.min(ht(i,t.length),t.length);let l=0,c,u,h;for(n=Math.ceil(n),i&&(c=i-r,n=c/Math.floor(c/n)),h=s;h<0;)l++,h=Math.round(s+l*n);for(u=Math.max(s,0);u<a;u++)u===h&&(e.push(t[u]),l++,h=Math.round(s+l*n))}function KC(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 XC=t=>t==="left"?"right":t==="right"?"left":t,c2=(t,e,n)=>e==="top"||e==="left"?t[e]+n:t[e]-n,d2=(t,e)=>Math.min(e||t,t);function u2(t,e){const n=[],r=t.length/e,i=t.length;let s=0;for(;s<i;s+=r)n.push(t[Math.floor(s)]);return n}function QC(t,e,n){const r=t.ticks.length,i=Math.min(e,r-1),s=t._startPixel,a=t._endPixel,l=1e-6;let c=t.getPixelForTick(i),u;if(!(n&&(r===1?u=Math.max(c-s,a-c):e===0?u=(t.getPixelForTick(1)-c)/2:u=(c-t.getPixelForTick(i-1))/2,c+=i<e?u:-u,c<s-l||c>a+l)))return c}function JC(t,e){ft(t,n=>{const r=n.gc,i=r.length/2;let s;if(i>e){for(s=0;s<i;++s)delete n.data[r[s]];r.splice(0,i)}})}function ma(t){return t.drawTicks?t.tickLength:0}function h2(t,e){if(!t.display)return 0;const n=In(t.font,e),r=Kn(t.padding);return(Lt(t.text)?t.text.length:1)*n.lineHeight+r.height}function ek(t,e){return Fi(t,{scale:e,type:"scale"})}function tk(t,e,n){return Fi(t,{tick:n,index:e,type:"tick"})}function nk(t,e,n){let r=Qb(t);return(n&&e!=="right"||!n&&e==="right")&&(r=XC(r)),r}function rk(t,e,n,r){const{top:i,left:s,bottom:a,right:l,chart:c}=t,{chartArea:u,scales:h}=c;let p=0,g,w,C;const b=a-i,x=l-s;if(t.isHorizontal()){if(w=wp(r,s,l),et(n)){const M=Object.keys(n)[0],L=n[M];C=h[M].getPixelForValue(L)+b-e}else n==="center"?C=(u.bottom+u.top)/2+b-e:C=c2(t,n,e);g=l-s}else{if(et(n)){const M=Object.keys(n)[0],L=n[M];w=h[M].getPixelForValue(L)-x+e}else n==="center"?w=(u.left+u.right)/2-x+e:w=c2(t,n,e);C=wp(r,a,i),p=n==="left"?-Rn:Rn}return{titleX:w,titleY:C,maxWidth:g,rotation:p}}class Cs extends ws{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:i}=this;return e=Bn(e,Number.POSITIVE_INFINITY),n=Bn(n,Number.NEGATIVE_INFINITY),r=Bn(r,Number.POSITIVE_INFINITY),i=Bn(i,Number.NEGATIVE_INFINITY),{min:Bn(e,r),max:Bn(n,i),minDefined:Bt(e),maxDefined:Bt(n)}}getMinMax(e){let{min:n,max:r,minDefined:i,maxDefined:s}=this.getUserBounds(),a;if(i&&s)return{min:n,max:r};const l=this.getMatchingVisibleMetas();for(let c=0,u=l.length;c<u;++c)a=l[c].controller.getMinMax(this,e),i||(n=Math.min(n,a.min)),s||(r=Math.max(r,a.max));return n=s&&n>r?r:n,r=i&&n>r?n:r,{min:Bn(n,Bn(r,n)),max:Bn(r,Bn(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:i,grace:s,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=kw(this,s,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const c=l<this.ticks.length;this._convertTicksToLabels(c?u2(this.ticks,l):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||a.source==="auto")&&(this.ticks=WC(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,i,s;for(r=0,i=e.length;r<i;r++)s=e[r],s.label=At(n.callback,[s.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=d2(this.ticks.length,e.ticks.maxTicksLimit),i=n.minRotation||0,s=n.maxRotation;let a=i,l,c,u;if(!this._isVisible()||!n.display||i>=s||r<=1||!this.isHorizontal()){this.labelRotation=i;return}const h=this._getLabelSizes(),p=h.widest.width,g=h.highest.height,w=Gn(this.chart.width-p,0,this.maxWidth);l=e.offset?this.maxWidth/r:w/(r-1),p+6>l&&(l=w/(r-(e.offset?.5:1)),c=this.maxHeight-ma(e.grid)-n.padding-h2(e.title,this.chart.options.font),u=Math.sqrt(p*p+g*g),a=vu(Math.min(Math.asin(Gn((h.highest.height+6)/l,-1,1)),Math.asin(Gn(c/u,-1,1))-Math.asin(Gn(g/u,-1,1)))),a=Math.max(i,Math.min(s,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:i,grid:s}}=this,a=this._isVisible(),l=this.isHorizontal();if(a){const c=h2(i,n.options.font);if(l?(e.width=this.maxWidth,e.height=ma(s)+c):(e.height=this.maxHeight,e.width=ma(s)+c),r.display&&this.ticks.length){const{first:u,last:h,widest:p,highest:g}=this._getLabelSizes(),w=r.padding*2,C=Ri(this.labelRotation),b=Math.cos(C),x=Math.sin(C);if(l){const M=r.mirror?0:x*p.width+b*g.height;e.height=Math.min(this.maxHeight,e.height+M+w)}else{const M=r.mirror?0:b*p.width+x*g.height;e.width=Math.min(this.maxWidth,e.width+M+w)}this._calculatePadding(u,h,x,b)}}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,i){const{ticks:{align:s,padding:a},position:l}=this.options,c=this.labelRotation!==0,u=l!=="top"&&this.axis==="x";if(this.isHorizontal()){const h=this.getPixelForTick(0)-this.left,p=this.right-this.getPixelForTick(this.ticks.length-1);let g=0,w=0;c?u?(g=i*e.width,w=r*n.height):(g=r*e.height,w=i*n.width):s==="start"?w=n.width:s==="end"?g=e.width:s!=="inner"&&(g=e.width/2,w=n.width/2),this.paddingLeft=Math.max((g-h+a)*this.width/(this.width-h),0),this.paddingRight=Math.max((w-p+a)*this.width/(this.width-p),0)}else{let h=n.height/2,p=e.height/2;s==="start"?(h=0,p=e.height):s==="end"&&(h=n.height,p=0),this.paddingTop=h+a,this.paddingBottom=p+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++)kt(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=u2(r,n)),this._labelSizes=e=this._computeLabelSizes(r,r.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,n,r){const{ctx:i,_longestTextCache:s}=this,a=[],l=[],c=Math.floor(n/d2(n,r));let u=0,h=0,p,g,w,C,b,x,M,L,P,$,V;for(p=0;p<n;p+=c){if(C=e[p].label,b=this._resolveTickFontOptions(p),i.font=x=b.string,M=s[x]=s[x]||{data:{},gc:[]},L=b.lineHeight,P=$=0,!kt(C)&&!Lt(C))P=Ml(i,M.data,M.gc,P,C),$=L;else if(Lt(C))for(g=0,w=C.length;g<w;++g)V=C[g],!kt(V)&&!Lt(V)&&(P=Ml(i,M.data,M.gc,P,V),$+=L);a.push(P),l.push($),u=Math.max(P,u),h=Math.max($,h)}JC(s,n);const F=a.indexOf(u),m=l.indexOf(h),R=B=>({width:a[B]||0,height:l[B]||0});return{first:R(0),last:R(n-1),widest:R(F),highest:R(m),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 qb(this._alignToPixels?ms(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=tk(this.getContext(),e,r))}return this.$context||(this.$context=ek(this.chart.getContext(),this))}_tickSize(){const e=this.options.ticks,n=Ri(this.labelRotation),r=Math.abs(Math.cos(n)),i=Math.abs(Math.sin(n)),s=this._getLabelSizes(),a=e.autoSkipPadding||0,l=s?s.widest.width+a:0,c=s?s.highest.height+a:0;return this.isHorizontal()?c*r>l*i?l/r:c/i:c*i<l*r?c/r:l/i}_isVisible(){const e=this.options.display;return e!=="auto"?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const n=this.axis,r=this.chart,i=this.options,{grid:s,position:a,border:l}=i,c=s.offset,u=this.isHorizontal(),p=this.ticks.length+(c?1:0),g=ma(s),w=[],C=l.setContext(this.getContext()),b=C.display?C.width:0,x=b/2,M=function(O){return ms(r,O,b)};let L,P,$,V,F,m,R,B,ne,ce,W,j;if(a==="top")L=M(this.bottom),m=this.bottom-g,B=L-x,ce=M(e.top)+x,j=e.bottom;else if(a==="bottom")L=M(this.top),ce=e.top,j=M(e.bottom)-x,m=L+x,B=this.top+g;else if(a==="left")L=M(this.right),F=this.right-g,R=L-x,ne=M(e.left)+x,W=e.right;else if(a==="right")L=M(this.left),ne=e.left,W=M(e.right)-x,F=L+x,R=this.left+g;else if(n==="x"){if(a==="center")L=M((e.top+e.bottom)/2+.5);else if(et(a)){const O=Object.keys(a)[0],U=a[O];L=M(this.chart.scales[O].getPixelForValue(U))}ce=e.top,j=e.bottom,m=L+x,B=m+g}else if(n==="y"){if(a==="center")L=M((e.left+e.right)/2);else if(et(a)){const O=Object.keys(a)[0],U=a[O];L=M(this.chart.scales[O].getPixelForValue(U))}F=L-x,R=F-g,ne=e.left,W=e.right}const ue=ht(i.ticks.maxTicksLimit,p),A=Math.max(1,Math.ceil(p/ue));for(P=0;P<p;P+=A){const O=this.getContext(P),U=s.setContext(O),de=l.setContext(O),be=U.lineWidth,he=U.color,q=de.dash||[],X=de.dashOffset,D=U.tickWidth,T=U.tickColor,J=U.tickBorderDash||[],ie=U.tickBorderDashOffset;$=QC(this,P,c),$!==void 0&&(V=ms(r,$,be),u?F=R=ne=W=V:m=B=ce=j=V,w.push({tx1:F,ty1:m,tx2:R,ty2:B,x1:ne,y1:ce,x2:W,y2:j,width:be,color:he,borderDash:q,borderDashOffset:X,tickWidth:D,tickColor:T,tickBorderDash:J,tickBorderDashOffset:ie}))}return this._ticksLength=p,this._borderValue=L,w}_computeLabelItems(e){const n=this.axis,r=this.options,{position:i,ticks:s}=r,a=this.isHorizontal(),l=this.ticks,{align:c,crossAlign:u,padding:h,mirror:p}=s,g=ma(r.grid),w=g+h,C=p?-h:w,b=-Ri(this.labelRotation),x=[];let M,L,P,$,V,F,m,R,B,ne,ce,W,j="middle";if(i==="top")F=this.bottom-C,m=this._getXAxisLabelAlignment();else if(i==="bottom")F=this.top+C,m=this._getXAxisLabelAlignment();else if(i==="left"){const A=this._getYAxisLabelAlignment(g);m=A.textAlign,V=A.x}else if(i==="right"){const A=this._getYAxisLabelAlignment(g);m=A.textAlign,V=A.x}else if(n==="x"){if(i==="center")F=(e.top+e.bottom)/2+w;else if(et(i)){const A=Object.keys(i)[0],O=i[A];F=this.chart.scales[A].getPixelForValue(O)+w}m=this._getXAxisLabelAlignment()}else if(n==="y"){if(i==="center")V=(e.left+e.right)/2-w;else if(et(i)){const A=Object.keys(i)[0],O=i[A];V=this.chart.scales[A].getPixelForValue(O)}m=this._getYAxisLabelAlignment(g).textAlign}n==="y"&&(c==="start"?j="top":c==="end"&&(j="bottom"));const ue=this._getLabelSizes();for(M=0,L=l.length;M<L;++M){P=l[M],$=P.label;const A=s.setContext(this.getContext(M));R=this.getPixelForTick(M)+s.labelOffset,B=this._resolveTickFontOptions(M),ne=B.lineHeight,ce=Lt($)?$.length:1;const O=ce/2,U=A.color,de=A.textStrokeColor,be=A.textStrokeWidth;let he=m;a?(V=R,m==="inner"&&(M===L-1?he=this.options.reverse?"left":"right":M===0?he=this.options.reverse?"right":"left":he="center"),i==="top"?u==="near"||b!==0?W=-ce*ne+ne/2:u==="center"?W=-ue.highest.height/2-O*ne+ne:W=-ue.highest.height+ne/2:u==="near"||b!==0?W=ne/2:u==="center"?W=ue.highest.height/2-O*ne:W=ue.highest.height-ce*ne,p&&(W*=-1),b!==0&&!A.showLabelBackdrop&&(V+=ne/2*Math.sin(b))):(F=R,W=(1-ce)*ne/2);let q;if(A.showLabelBackdrop){const X=Kn(A.backdropPadding),D=ue.heights[M],T=ue.widths[M];let J=W-X.top,ie=0-X.left;switch(j){case"middle":J-=D/2;break;case"bottom":J-=D;break}switch(m){case"center":ie-=T/2;break;case"right":ie-=T;break;case"inner":M===L-1?ie-=T:M>0&&(ie-=T/2);break}q={left:ie,top:J,width:T+X.width,height:D+X.height,color:A.backdropColor}}x.push({label:$,font:B,textOffset:W,options:{rotation:b,color:U,strokeColor:de,strokeWidth:be,textAlign:he,textBaseline:j,translation:[V,F],backdrop:q}})}return x}_getXAxisLabelAlignment(){const{position:e,ticks:n}=this.options;if(-Ri(this.labelRotation))return e==="top"?"left":"right";let i="center";return n.align==="start"?i="left":n.align==="end"?i="right":n.align==="inner"&&(i="inner"),i}_getYAxisLabelAlignment(e){const{position:n,ticks:{crossAlign:r,mirror:i,padding:s}}=this.options,a=this._getLabelSizes(),l=e+s,c=a.widest.width;let u,h;return n==="left"?i?(h=this.right+s,r==="near"?u="left":r==="center"?(u="center",h+=c/2):(u="right",h+=c)):(h=this.right-l,r==="near"?u="right":r==="center"?(u="center",h-=c/2):(u="left",h=this.left)):n==="right"?i?(h=this.left+s,r==="near"?u="right":r==="center"?(u="center",h-=c/2):(u="left",h-=c)):(h=this.left+l,r==="near"?u="left":r==="center"?(u="center",h+=c/2):(u="right",h=this.right)):u="right",{textAlign:u,x:h}}_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:i,width:s,height:a}=this;n&&(e.save(),e.fillStyle=n,e.fillRect(r,i,s,a),e.restore())}getLineWidthForValue(e){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const i=this.ticks.findIndex(s=>s.value===e);return i>=0?n.setContext(this.getContext(i)).lineWidth:0}drawGrid(e){const n=this.options.grid,r=this.ctx,i=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let s,a;const l=(c,u,h)=>{!h.width||!h.color||(r.save(),r.lineWidth=h.width,r.strokeStyle=h.color,r.setLineDash(h.borderDash||[]),r.lineDashOffset=h.borderDashOffset,r.beginPath(),r.moveTo(c.x,c.y),r.lineTo(u.x,u.y),r.stroke(),r.restore())};if(n.display)for(s=0,a=i.length;s<a;++s){const c=i[s];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:i}}=this,s=r.setContext(this.getContext()),a=r.display?s.width:0;if(!a)return;const l=i.setContext(this.getContext(0)).lineWidth,c=this._borderValue;let u,h,p,g;this.isHorizontal()?(u=ms(e,this.left,a)-a/2,h=ms(e,this.right,l)+l/2,p=g=c):(p=ms(e,this.top,a)-a/2,g=ms(e,this.bottom,l)+l/2,u=h=c),n.save(),n.lineWidth=s.width,n.strokeStyle=s.color,n.beginPath(),n.moveTo(u,p),n.lineTo(h,g),n.stroke(),n.restore()}drawLabels(e){if(!this.options.ticks.display)return;const r=this.ctx,i=this._computeLabelArea();i&&Lu(r,i);const s=this.getLabelItems(e);for(const a of s){const l=a.options,c=a.font,u=a.label,h=a.textOffset;Tl(r,u,0,h,c,l)}i&&$u(r)}drawTitle(){const{ctx:e,options:{position:n,title:r,reverse:i}}=this;if(!r.display)return;const s=In(r.font),a=Kn(r.padding),l=r.align;let c=s.lineHeight/2;n==="bottom"||n==="center"||et(n)?(c+=a.bottom,Lt(r.text)&&(c+=s.lineHeight*(r.text.length-1))):c+=a.top;const{titleX:u,titleY:h,maxWidth:p,rotation:g}=rk(this,c,n,l);Tl(e,r.text,0,0,s,{color:r.color,maxWidth:p,rotation:g,textAlign:nk(l,n,i),textBaseline:"middle",translation:[u,h]})}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=ht(e.grid&&e.grid.z,-1),i=ht(e.border&&e.border.z,0);return!this._isVisible()||this.draw!==Cs.prototype.draw?[{z:n,draw:s=>{this.draw(s)}}]:[{z:r,draw:s=>{this.drawBackground(),this.drawGrid(s),this.drawTitle()}},{z:i,draw:()=>{this.drawBorder()}},{z:n,draw:s=>{this.drawLabels(s)}}]}getMatchingVisibleMetas(e){const n=this.chart.getSortedVisibleDatasetMetas(),r=this.axis+"AxisID",i=[];let s,a;for(s=0,a=n.length;s<a;++s){const l=n[s];l[r]===this.id&&(!e||l.type===e)&&i.push(l)}return i}_resolveTickFontOptions(e){const n=this.options.ticks.setContext(this.getContext(e));return In(n.font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class Fl{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;ok(n)&&(r=this.register(n));const i=this.items,s=e.id,a=this.scope+"."+s;if(!s)throw new Error("class does not have id: "+e);return s in i||(i[s]=e,ik(e,a,r),this.override&&Wt.override(e.id,e.overrides)),a}get(e){return this.items[e]}unregister(e){const n=this.items,r=e.id,i=this.scope;r in n&&delete n[r],i&&r in Wt[i]&&(delete Wt[i][r],this.override&&delete ps[r])}}function ik(t,e,n){const r=ta(Object.create(null),[n?Wt.get(n):{},Wt.get(e),t.defaults]);Wt.set(e,r),t.defaultRoutes&&sk(e,t.defaultRoutes),t.descriptors&&Wt.describe(e,t.descriptors)}function sk(t,e){Object.keys(e).forEach(n=>{const r=n.split("."),i=r.pop(),s=[t].concat(r).join("."),a=e[n].split("."),l=a.pop(),c=a.join(".");Wt.route(s,i,c,l)})}function ok(t){return"id"in t&&"defaults"in t}class ak{constructor(){this.controllers=new Fl(ca,"datasets",!0),this.elements=new Fl(ws,"elements"),this.plugins=new Fl(Object,"plugins"),this.scales=new Fl(Cs,"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(i=>{const s=r||this._getRegistryForType(i);r||s.isForType(i)||s===this.plugins&&i.id?this._exec(e,s,i):ft(i,a=>{const l=r||this._getRegistryForType(a);this._exec(e,l,a)})})}_exec(e,n,r){const i=ku(e);At(r["before"+i],[],r),n[e](r),At(r["after"+i],[],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 i=n.get(e);if(i===void 0)throw new Error('"'+e+'" is not a registered '+r+".");return i}}var $r=new ak;class lk{constructor(){this._init=[]}notify(e,n,r,i){n==="beforeInit"&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install"));const s=i?this._descriptors(e).filter(i):this._descriptors(e),a=this._notify(s,e,n,r);return n==="afterDestroy"&&(this._notify(s,e,"stop"),this._notify(this._init,e,"uninstall")),a}_notify(e,n,r,i){i=i||{};for(const s of e){const a=s.plugin,l=a[r],c=[n,i,s.options];if(At(l,c,a)===!1&&i.cancelable)return!1}return!0}invalidate(){kt(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,i=ht(r.options&&r.options.plugins,{}),s=ck(r);return i===!1&&!n?[]:uk(e,s,i,n)}_notifyStateChanges(e){const n=this._oldCache||[],r=this._cache,i=(s,a)=>s.filter(l=>!a.some(c=>l.plugin.id===c.plugin.id));this._notify(i(n,r),e,"stop"),this._notify(i(r,n),e,"start")}}function ck(t){const e={},n=[],r=Object.keys($r.plugins.items);for(let s=0;s<r.length;s++)n.push($r.getPlugin(r[s]));const i=t.plugins||[];for(let s=0;s<i.length;s++){const a=i[s];n.indexOf(a)===-1&&(n.push(a),e[a.id]=!0)}return{plugins:n,localIds:e}}function dk(t,e){return!e&&t===!1?null:t===!0?{}:t}function uk(t,{plugins:e,localIds:n},r,i){const s=[],a=t.getContext();for(const l of e){const c=l.id,u=dk(r[c],i);u!==null&&s.push({plugin:l,options:hk(t.config,{plugin:l,local:n[c]},u,a)})}return s}function hk(t,{plugin:e,local:n},r,i){const s=t.pluginScopeKeys(e),a=t.getOptionScopes(r,s);return n&&e.defaults&&a.push(e.defaults),t.createResolver(a,i,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Uu(t,e){const n=Wt.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||n.indexAxis||"x"}function fk(t,e){let n=t;return t==="_index_"?n=e:t==="_value_"&&(n=e==="x"?"y":"x"),n}function pk(t,e){return t===e?"_index_":"_value_"}function f2(t){if(t==="x"||t==="y"||t==="r")return t}function mk(t){if(t==="top"||t==="bottom")return"x";if(t==="left"||t==="right")return"y"}function Zu(t,...e){if(f2(t))return t;for(const n of e){const r=n.axis||mk(n.position)||t.length>1&&f2(t[0].toLowerCase());if(r)return r}throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function p2(t,e,n){if(n[e+"AxisID"]===t)return{axis:e}}function gk(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 p2(t,"x",n[0])||p2(t,"y",n[0])}return{}}function _k(t,e){const n=ps[t.type]||{scales:{}},r=e.scales||{},i=Uu(t.type,e),s=Object.create(null);return Object.keys(r).forEach(a=>{const l=r[a];if(!et(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=Zu(a,l,gk(a,t),Wt.scales[l.type]),u=pk(c,i),h=n.scales||{};s[a]=na(Object.create(null),[{axis:c},l,h[c],h[u]])}),t.data.datasets.forEach(a=>{const l=a.type||t.type,c=a.indexAxis||Uu(l,e),h=(ps[l]||{}).scales||{};Object.keys(h).forEach(p=>{const g=fk(p,c),w=a[g+"AxisID"]||g;s[w]=s[w]||Object.create(null),na(s[w],[{axis:g},r[w],h[p]])})}),Object.keys(s).forEach(a=>{const l=s[a];na(l,[Wt.scales[l.type],Wt.scale])}),s}function m2(t){const e=t.options||(t.options={});e.plugins=ht(e.plugins,{}),e.scales=_k(t,e)}function g2(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function yk(t){return t=t||{},t.data=g2(t.data),m2(t),t}const _2=new Map,y2=new Set;function Il(t,e){let n=_2.get(t);return n||(n=e(),_2.set(t,n),y2.add(n)),n}const ga=(t,e,n)=>{const r=Cl(e,n);r!==void 0&&t.add(r)};class bk{constructor(e){this._config=yk(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=g2(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(),m2(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return Il(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,n){return Il(`${e}.transition.${n}`,()=>[[`datasets.${e}.transitions.${n}`,`transitions.${n}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,n){return Il(`${e}-${n}`,()=>[[`datasets.${e}.elements.${n}`,`datasets.${e}`,`elements.${n}`,""]])}pluginScopeKeys(e){const n=e.id,r=this.type;return Il(`${r}-plugin-${n}`,()=>[[`plugins.${n}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,n){const r=this._scopeCache;let i=r.get(e);return(!i||n)&&(i=new Map,r.set(e,i)),i}getOptionScopes(e,n,r){const{options:i,type:s}=this,a=this._cachedScopes(e,r),l=a.get(n);if(l)return l;const c=new Set;n.forEach(h=>{e&&(c.add(e),h.forEach(p=>ga(c,e,p))),h.forEach(p=>ga(c,i,p)),h.forEach(p=>ga(c,ps[s]||{},p)),h.forEach(p=>ga(c,Wt,p)),h.forEach(p=>ga(c,Pu,p))});const u=Array.from(c);return u.length===0&&u.push(Object.create(null)),y2.has(n)&&a.set(n,u),u}chartOptionScopes(){const{options:e,type:n}=this;return[e,ps[n]||{},Wt.datasets[n]||{},{type:n},Wt,Pu]}resolveNamedOptions(e,n,r,i=[""]){const s={$shared:!0},{resolver:a,subPrefixes:l}=b2(this._resolverCache,e,i);let c=a;if(Ck(a,n)){s.$shared=!1,r=Bi(r)?r():r;const u=this.createResolver(e,r,l);c=to(a,r,u)}for(const u of n)s[u]=c[u];return s}createResolver(e,n,r=[""],i){const{resolver:s}=b2(this._resolverCache,e,r);return et(n)?to(s,n,void 0,i):s}}function b2(t,e,n){let r=t.get(e);r||(r=new Map,t.set(e,r));const i=n.join();let s=r.get(i);return s||(s={resolver:Nu(e,n),subPrefixes:n.filter(l=>!l.toLowerCase().includes("hover"))},r.set(i,s)),s}const wk=t=>et(t)&&Object.getOwnPropertyNames(t).some(e=>Bi(t[e]));function Ck(t,e){const{isScriptable:n,isIndexable:r}=Dp(t);for(const i of e){const s=n(i),a=r(i),l=(a||s)&&t[i];if(s&&(Bi(l)||wk(l))||a&&Lt(l))return!0}return!1}var kk="4.4.2";const vk=["top","bottom","left","right","chartArea"];function w2(t,e){return t==="top"||t==="bottom"||vk.indexOf(t)===-1&&e==="x"}function C2(t,e){return function(n,r){return n[t]===r[t]?n[e]-r[e]:n[t]-r[t]}}function k2(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),At(n&&n.onComplete,[t],e)}function xk(t){const e=t.chart,n=e.options.animation;At(n&&n.onProgress,[t],e)}function v2(t){return Ru()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const Hl={},x2=t=>{const e=v2(t);return Object.values(Hl).filter(n=>n.canvas===e).pop()};function Sk(t,e,n){const r=Object.keys(t);for(const i of r){const s=+i;if(s>=e){const a=t[i];delete t[i],(n>0||s>e)&&(t[s+n]=a)}}}function Mk(t,e,n,r){return!n||t.type==="mouseout"?null:r?e:t}function zl(t,e,n){return t.options.clip?t[n]:e[n]}function Tk(t,e){const{xScale:n,yScale:r}=t;return n&&r?{left:zl(n,e,"left"),right:zl(n,e,"right"),top:zl(r,e,"top"),bottom:zl(r,e,"bottom")}:e}let _a=(Yi=class{static register(...e){$r.add(...e),S2()}static unregister(...e){$r.remove(...e),S2()}constructor(e,n){const r=this.config=new bk(n),i=v2(e),s=x2(i);if(s)throw new Error("Canvas is already in use. Chart with ID '"+s.id+"' must be destroyed before the canvas with ID '"+s.canvas.id+"' can be reused.");const a=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||YC(i)),this.platform.updateConfig(r);const l=this.platform.acquireContext(i,a.aspectRatio),c=l&&l.canvas,u=c&&c.height,h=c&&c.width;if(this.id=$b(),this.ctx=l,this.canvas=c,this.width=h,this.height=u,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 lk,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=Xb(p=>this.update(p),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}ri.listen(this,"complete",k2),ri.listen(this,"progress",xk),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:n},width:r,height:i,_aspectRatio:s}=this;return kt(e)?n&&s?s:i?r/i: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 $r}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():Np(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Mp(this.canvas,this.ctx),this}stop(){return ri.stop(this),this}resize(e,n){ri.running(this)?this._resizeBeforeDraw={width:e,height:n}:this._resize(e,n)}_resize(e,n){const r=this.options,i=this.canvas,s=r.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(i,e,n,s),l=r.devicePixelRatio||this.platform.getDevicePixelRatio(),c=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,Np(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||{};ft(n,(r,i)=>{r.id=i})}buildOrUpdateScales(){const e=this.options,n=e.scales,r=this.scales,i=Object.keys(r).reduce((a,l)=>(a[l]=!1,a),{});let s=[];n&&(s=s.concat(Object.keys(n).map(a=>{const l=n[a],c=Zu(a,l),u=c==="r",h=c==="x";return{options:l,dposition:u?"chartArea":h?"bottom":"left",dtype:u?"radialLinear":h?"category":"linear"}}))),ft(s,a=>{const l=a.options,c=l.id,u=Zu(c,l),h=ht(l.type,a.dtype);(l.position===void 0||w2(l.position,u)!==w2(a.dposition))&&(l.position=a.dposition),i[c]=!0;let p=null;if(c in r&&r[c].type===h)p=r[c];else{const g=$r.getScale(h);p=new g({id:c,type:h,ctx:this.ctx,chart:this}),r[p.id]=p}p.init(l,e)}),ft(i,(a,l)=>{a||delete r[l]}),ft(r,a=>{Nl.configure(this,a,a.options),Nl.addBox(this,a)})}_updateMetasets(){const e=this._metasets,n=this.data.datasets.length,r=e.length;if(e.sort((i,s)=>i.index-s.index),r>n){for(let i=n;i<r;++i)this._destroyDatasetMeta(i);e.splice(n,r-n)}this._sortedMetasets=e.slice(0).sort(C2("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:n}}=this;e.length>n.length&&delete this._stacks,e.forEach((r,i)=>{n.filter(s=>s===r._dataset).length===0&&this._destroyDatasetMeta(i)})}buildOrUpdateControllers(){const e=[],n=this.data.datasets;let r,i;for(this._removeUnreferencedMetasets(),r=0,i=n.length;r<i;r++){const s=n[r];let a=this.getDatasetMeta(r);const l=s.type||this.config.type;if(a.type&&a.type!==l&&(this._destroyDatasetMeta(r),a=this.getDatasetMeta(r)),a.type=l,a.indexAxis=s.indexAxis||Uu(l,this.options),a.order=s.order||0,a.index=r,a.label=""+s.label,a.visible=this.isDatasetVisible(r),a.controller)a.controller.updateIndex(r),a.controller.linkScales();else{const c=$r.getController(l),{datasetElementType:u,dataElementType:h}=Wt.datasets[l];Object.assign(c,{dataElementType:$r.getElement(h),datasetElementType:u&&$r.getElement(u)}),a.controller=new c(this,r),e.push(a.controller)}}return this._updateMetasets(),e}_resetElements(){ft(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()),i=this._animationsDisabled=!r.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0})===!1)return;const s=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let u=0,h=this.data.datasets.length;u<h;u++){const{controller:p}=this.getDatasetMeta(u),g=!i&&s.indexOf(p)===-1;p.buildOrUpdateElements(g),a=Math.max(+p.getMaxOverflow(),a)}a=this._minPadding=r.layout.autoPadding?a:0,this._updateLayout(a),i||ft(s,u=>{u.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(C2("z","_idx"));const{_active:l,_lastEvent:c}=this;c?this._eventHandler(c,!0):l.length&&this._updateHoverStyles(l,l,!0),this.render()}_updateScales(){ft(this.scales,e=>{Nl.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,n=new Set(Object.keys(this._listeners)),r=new Set(e.events);(!cp(n,r)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,n=this._getUniformDataChanges()||[];for(const{method:r,start:i,count:s}of n){const a=r==="_removeElements"?-s:s;Sk(e,i,a)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const n=this.data.datasets.length,r=s=>new Set(e.filter(a=>a[0]===s).map((a,l)=>l+","+a.splice(1).join(","))),i=r(0);for(let s=1;s<n;s++)if(!cp(i,r(s)))return;return Array.from(i).map(s=>s.split(",")).map(s=>({method:s[1],start:+s[2],count:+s[3]}))}_updateLayout(e){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;Nl.update(this,this.width,this.height,e);const n=this.chartArea,r=n.width<=0||n.height<=0;this._layers=[],ft(this.boxes,i=>{r&&i.position==="chartArea"||(i.configure&&i.configure(),this._layers.push(...i._layers()))},this),this._layers.forEach((i,s)=>{i._idx=s}),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,Bi(e)?e({datasetIndex:n}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,n){const r=this.getDatasetMeta(e),i={meta:r,index:e,mode:n,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",i)!==!1&&(r.controller._update(n),i.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",i))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(ri.has(this)?this.attached&&!ri.running(this)&&ri.start(this):(this.draw(),k2({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:r,height:i}=this._resizeBeforeDraw;this._resize(r,i),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 i,s;for(i=0,s=n.length;i<s;++i){const a=n[i];(!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,i=!r.disabled,s=Tk(e,this.chartArea),a={meta:e,index:e.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",a)!==!1&&(i&&Lu(n,{left:r.left===!1?0:s.left-r.left,right:r.right===!1?this.width:s.right+r.right,top:r.top===!1?0:s.top-r.top,bottom:r.bottom===!1?this.height:s.bottom+r.bottom}),e.controller.draw(),i&&$u(n),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(e){return ni(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,n,r,i){const s=vC.modes[n];return typeof s=="function"?s(this,e,r,i):[]}getDatasetMeta(e){const n=this.data.datasets[e],r=this._metasets;let i=r.filter(s=>s&&s._dataset===n).pop();return i||(i={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(i)),i}getContext(){return this.$context||(this.$context=Fi(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 i=r?"show":"hide",s=this.getDatasetMeta(e),a=s.controller._resolveAnimations(void 0,i);kl(n)?(s.data[n].hidden=!r,this.update()):(this.setDatasetVisibility(e,r),a.update(s,{visible:r}),this.update(l=>l.datasetIndex===e?i: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(),ri.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(),Mp(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=(s,a)=>{n.addEventListener(this,s,a),e[s]=a},i=(s,a,l)=>{s.offsetX=a,s.offsetY=l,this._eventHandler(s)};ft(this.options.events,s=>r(s,i))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,n=this.platform,r=(c,u)=>{n.addEventListener(this,c,u),e[c]=u},i=(c,u)=>{e[c]&&(n.removeEventListener(this,c,u),delete e[c])},s=(c,u)=>{this.canvas&&this.resize(c,u)};let a;const l=()=>{i("attach",l),this.attached=!0,this.resize(),r("resize",s),r("detach",a)};a=()=>{this.attached=!1,i("resize",s),this._stop(),this._resize(0,0),r("attach",l)},n.isAttached(this.canvas)?l():a()}unbindEvents(){ft(this._listeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._listeners={},ft(this._responsiveListeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,n,r){const i=r?"set":"remove";let s,a,l,c;for(n==="dataset"&&(s=this.getDatasetMeta(e[0].datasetIndex),s.controller["_"+i+"DatasetHoverStyle"]()),l=0,c=e.length;l<c;++l){a=e[l];const u=a&&this.getDatasetMeta(a.datasetIndex).controller;u&&u[i+"HoverStyle"](a.element,a.datasetIndex,a.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const n=this._active||[],r=e.map(({datasetIndex:s,index:a})=>{const l=this.getDatasetMeta(s);if(!l)throw new Error("No dataset found at index "+s);return{datasetIndex:s,element:l.data[a],index:a}});!bl(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 i=this.options.hover,s=(c,u)=>c.filter(h=>!u.some(p=>h.datasetIndex===p.datasetIndex&&h.index===p.index)),a=s(n,e),l=r?e:s(e,n);a.length&&this.updateHoverStyle(a,i.mode,!1),l.length&&i.mode&&this.updateHoverStyle(l,i.mode,!0)}_eventHandler(e,n){const r={event:e,replay:n,cancelable:!0,inChartArea:this.isPointInArea(e)},i=a=>(a.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins("beforeEvent",r,i)===!1)return;const s=this._handleEvent(e,n,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,i),(s||r.changed)&&this.render(),this}_handleEvent(e,n,r){const{_active:i=[],options:s}=this,a=n,l=this._getActiveElements(e,i,r,a),c=Fb(e),u=Mk(e,this._lastEvent,r,c);r&&(this._lastEvent=null,At(s.onHover,[e,l,this],this),c&&At(s.onClick,[e,l,this],this));const h=!bl(l,i);return(h||n)&&(this._active=l,this._updateHoverStyles(l,i,n)),this._lastEvent=u,h}_getActiveElements(e,n,r,i){if(e.type==="mouseout")return[];if(!r)return n;const s=this.options.hover;return this.getElementsAtEventForMode(e,s.mode,s,i)}},le(Yi,"defaults",Wt),le(Yi,"instances",Hl),le(Yi,"overrides",ps),le(Yi,"registry",$r),le(Yi,"version",kk),le(Yi,"getChart",x2),Yi);function S2(){return ft(_a.instances,t=>t._plugins.invalidate())}function M2(t,e,n=e){t.lineCap=ht(n.borderCapStyle,e.borderCapStyle),t.setLineDash(ht(n.borderDash,e.borderDash)),t.lineDashOffset=ht(n.borderDashOffset,e.borderDashOffset),t.lineJoin=ht(n.borderJoinStyle,e.borderJoinStyle),t.lineWidth=ht(n.borderWidth,e.borderWidth),t.strokeStyle=ht(n.borderColor,e.borderColor)}function Dk(t,e,n){t.lineTo(n.x,n.y)}function Pk(t){return t.stepped?hw:t.tension||t.cubicInterpolationMode==="monotone"?fw:Dk}function T2(t,e,n={}){const r=t.length,{start:i=0,end:s=r-1}=n,{start:a,end:l}=e,c=Math.max(i,a),u=Math.min(s,l),h=i<a&&s<a||i>l&&s>l;return{count:r,start:c,loop:e.loop,ilen:u<c&&!h?r+u-c:u-c}}function Ok(t,e,n,r){const{points:i,options:s}=e,{count:a,start:l,loop:c,ilen:u}=T2(i,n,r),h=Pk(s);let{move:p=!0,reverse:g}=r||{},w,C,b;for(w=0;w<=u;++w)C=i[(l+(g?u-w:w))%a],!C.skip&&(p?(t.moveTo(C.x,C.y),p=!1):h(t,b,C,g,s.stepped),b=C);return c&&(C=i[(l+(g?u:0))%a],h(t,b,C,g,s.stepped)),!!c}function Ek(t,e,n,r){const i=e.points,{count:s,start:a,ilen:l}=T2(i,n,r),{move:c=!0,reverse:u}=r||{};let h=0,p=0,g,w,C,b,x,M;const L=$=>(a+(u?l-$:$))%s,P=()=>{b!==x&&(t.lineTo(h,x),t.lineTo(h,b),t.lineTo(h,M))};for(c&&(w=i[L(0)],t.moveTo(w.x,w.y)),g=0;g<=l;++g){if(w=i[L(g)],w.skip)continue;const $=w.x,V=w.y,F=$|0;F===C?(V<b?b=V:V>x&&(x=V),h=(p*h+$)/++p):(P(),t.lineTo($,V),C=F,p=0,b=x=V),M=V}P()}function Gu(t){const e=t.options,n=e.borderDash&&e.borderDash.length;return!t._decimated&&!t._loop&&!e.tension&&e.cubicInterpolationMode!=="monotone"&&!e.stepped&&!n?Ek:Ok}function Lk(t){return t.stepped?qw:t.tension||t.cubicInterpolationMode==="monotone"?Uw:ys}function $k(t,e,n,r){let i=e._path;i||(i=e._path=new Path2D,e.path(i,n,r)&&i.closePath()),M2(t,e.options),t.stroke(i)}function Vk(t,e,n,r){const{segments:i,options:s}=e,a=Gu(e);for(const l of i)M2(t,s,l.style),t.beginPath(),a(t,e,l,{start:n,end:n+r-1})&&t.closePath(),t.stroke()}const Nk=typeof Path2D=="function";function Bk(t,e,n,r){Nk&&!e.options.segment?$k(t,e,n,r):Vk(t,e,n,r)}class ii extends ws{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 i=r.spanGaps?this._loop:this._fullLoop;Rw(this._points,r,e,i,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=tC(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,i=e[n],s=this.points,a=Ip(this,{property:n,start:i,end:i});if(!a.length)return;const l=[],c=Lk(r);let u,h;for(u=0,h=a.length;u<h;++u){const{start:p,end:g}=a[u],w=s[p],C=s[g];if(w===C){l.push(w);continue}const b=Math.abs((i-w[n])/(C[n]-w[n])),x=c(w,C,b,r.stepped);x[n]=e[n],l.push(x)}return l.length===1?l[0]:l}pathSegment(e,n,r){return Gu(this)(e,this,n,r)}path(e,n,r){const i=this.segments,s=Gu(this);let a=this._loop;n=n||0,r=r||this.points.length-n;for(const l of i)a&=s(e,this,l,{start:n,end:n+r-1});return!!a}draw(e,n,r,i){const s=this.options||{};(this.points||[]).length&&s.borderWidth&&(e.save(),Bk(e,this,r,i),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}le(ii,"id","line"),le(ii,"defaults",{borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0}),le(ii,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"}),le(ii,"descriptors",{_scriptable:!0,_indexable:e=>e!=="borderDash"&&e!=="fill"});function D2(t,e,n,r){const i=t.options,{[n]:s}=t.getProps([n],r);return Math.abs(e-s)<i.radius+i.hitRadius}class ya extends ws{constructor(n){super();le(this,"parsed");le(this,"skip");le(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,i){const s=this.options,{x:a,y:l}=this.getProps(["x","y"],i);return Math.pow(n-a,2)+Math.pow(r-l,2)<Math.pow(s.hitRadius+s.radius,2)}inXRange(n,r){return D2(this,n,"x",r)}inYRange(n,r){return D2(this,n,"y",r)}getCenterPoint(n){const{x:r,y:i}=this.getProps(["x","y"],n);return{x:r,y:i}}size(n){n=n||this.options||{};let r=n.radius||0;r=Math.max(r,r&&n.hoverRadius||0);const i=r&&n.borderWidth||0;return(r+i)*2}draw(n,r){const i=this.options;this.skip||i.radius<.1||!ni(this,r,this.size(i)/2)||(n.strokeStyle=i.borderColor,n.lineWidth=i.borderWidth,n.fillStyle=i.backgroundColor,Eu(n,i,this.x,this.y))}getRange(){const n=this.options||{};return n.radius+n.hitRadius}}le(ya,"id","point"),le(ya,"defaults",{borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0}),le(ya,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});function Ak(t,e,n){const r=t.segments,i=t.points,s=e.points,a=[];for(const l of r){let{start:c,end:u}=l;u=Xu(c,u,i);const h=Ku(n,i[c],i[u],l.loop);if(!e.segments){a.push({source:l,target:h,start:i[c],end:i[u]});continue}const p=Ip(e,h);for(const g of p){const w=Ku(n,s[g.start],s[g.end],g.loop),C=Fp(l,i,w);for(const b of C)a.push({source:b,target:g,start:{[n]:P2(h,w,"start",Math.max)},end:{[n]:P2(h,w,"end",Math.min)}})}}return a}function Ku(t,e,n,r){if(r)return;let i=e[t],s=n[t];return t==="angle"&&(i=Fn(i),s=Fn(s)),{property:t,start:i,end:s}}function Rk(t,e){const{x:n=null,y:r=null}=t||{},i=e.points,s=[];return e.segments.forEach(({start:a,end:l})=>{l=Xu(a,l,i);const c=i[a],u=i[l];r!==null?(s.push({x:c.x,y:r}),s.push({x:u.x,y:r})):n!==null&&(s.push({x:n,y:c.y}),s.push({x:n,y:u.y}))}),s}function Xu(t,e,n){for(;e>t;e--){const r=n[e];if(!isNaN(r.x)&&!isNaN(r.y))break}return e}function P2(t,e,n,r){return t&&e?r(t[n],e[n]):t?t[n]:e?e[n]:0}function O2(t,e){let n=[],r=!1;return Lt(t)?(r=!0,n=t):n=Rk(t,e),n.length?new ii({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function E2(t){return t&&t.fill!==!1}function Fk(t,e,n){let i=t[e].fill;const s=[e];let a;if(!n)return i;for(;i!==!1&&s.indexOf(i)===-1;){if(!Bt(i))return i;if(a=t[i],!a)return!1;if(a.visible)return i;s.push(i),i=a.fill}return!1}function Ik(t,e,n){const r=Yk(t);if(et(r))return isNaN(r.value)?!1:r;let i=parseFloat(r);return Bt(i)&&Math.floor(i)===i?Hk(r[0],e,i,n):["origin","start","end","stack","shape"].indexOf(r)>=0&&r}function Hk(t,e,n,r){return(t==="-"||t==="+")&&(n=e+n),n===e||n<0||n>=r?!1:n}function zk(t,e){let n=null;return t==="start"?n=e.bottom:t==="end"?n=e.top:et(t)?n=e.getPixelForValue(t.value):e.getBasePixel&&(n=e.getBasePixel()),n}function jk(t,e,n){let r;return t==="start"?r=n:t==="end"?r=e.options.reverse?e.min:e.max:et(t)?r=t.value:r=e.getBaseValue(),r}function Yk(t){const e=t.options,n=e.fill;let r=ht(n&&n.target,n);return r===void 0&&(r=!!e.backgroundColor),r===!1||r===null?!1:r===!0?"origin":r}function Wk(t){const{scale:e,index:n,line:r}=t,i=[],s=r.segments,a=r.points,l=qk(e,n);l.push(O2({x:null,y:e.bottom},r));for(let c=0;c<s.length;c++){const u=s[c];for(let h=u.start;h<=u.end;h++)Uk(i,a[h],l)}return new ii({points:i,options:{}})}function qk(t,e){const n=[],r=t.getMatchingVisibleMetas("line");for(let i=0;i<r.length;i++){const s=r[i];if(s.index===e)break;s.hidden||n.unshift(s.dataset)}return n}function Uk(t,e,n){const r=[];for(let i=0;i<n.length;i++){const s=n[i],{first:a,last:l,point:c}=Zk(s,e,"x");if(!(!c||a&&l)){if(a)r.unshift(c);else if(t.push(c),!l)break}}t.push(...r)}function Zk(t,e,n){const r=t.interpolate(e,n);if(!r)return{};const i=r[n],s=t.segments,a=t.points;let l=!1,c=!1;for(let u=0;u<s.length;u++){const h=s[u],p=a[h.start][n],g=a[h.end][n];if(mp(i,p,g)){l=i===p,c=i===g;break}}return{first:l,last:c,point:r}}class L2{constructor(e){this.x=e.x,this.y=e.y,this.radius=e.radius}pathSegment(e,n,r){const{x:i,y:s,radius:a}=this;return n=n||{start:0,end:An},e.arc(i,s,a,n.end,n.start,!0),!r.bounds}interpolate(e){const{x:n,y:r,radius:i}=this,s=e.angle;return{x:n+Math.cos(s)*i,y:r+Math.sin(s)*i,angle:s}}}function Gk(t){const{chart:e,fill:n,line:r}=t;if(Bt(n))return Kk(e,n);if(n==="stack")return Wk(t);if(n==="shape")return!0;const i=Xk(t);return i instanceof L2?i:O2(i,r)}function Kk(t,e){const n=t.getDatasetMeta(e);return n&&t.isDatasetVisible(e)?n.dataset:null}function Xk(t){return(t.scale||{}).getPointPositionForValue?Jk(t):Qk(t)}function Qk(t){const{scale:e={},fill:n}=t,r=zk(n,e);if(Bt(r)){const i=e.isHorizontal();return{x:i?r:null,y:i?null:r}}return null}function Jk(t){const{scale:e,fill:n}=t,r=e.options,i=e.getLabels().length,s=r.reverse?e.max:e.min,a=jk(n,e,s),l=[];if(r.grid.circular){const c=e.getPointPositionForValue(0,s);return new L2({x:c.x,y:c.y,radius:e.getDistanceFromCenterForValue(a)})}for(let c=0;c<i;++c)l.push(e.getPointPositionForValue(c,a));return l}function Qu(t,e,n){const r=Gk(e),{line:i,scale:s,axis:a}=e,l=i.options,c=l.fill,u=l.backgroundColor,{above:h=u,below:p=u}=c||{};r&&i.points.length&&(Lu(t,n),ev(t,{line:i,target:r,above:h,below:p,area:n,scale:s,axis:a}),$u(t))}function ev(t,e){const{line:n,target:r,above:i,below:s,area:a,scale:l}=e,c=n._loop?"angle":e.axis;t.save(),c==="x"&&s!==i&&($2(t,r,a.top),V2(t,{line:n,target:r,color:i,scale:l,property:c}),t.restore(),t.save(),$2(t,r,a.bottom)),V2(t,{line:n,target:r,color:s,scale:l,property:c}),t.restore()}function $2(t,e,n){const{segments:r,points:i}=e;let s=!0,a=!1;t.beginPath();for(const l of r){const{start:c,end:u}=l,h=i[c],p=i[Xu(c,u,i)];s?(t.moveTo(h.x,h.y),s=!1):(t.lineTo(h.x,n),t.lineTo(h.x,h.y)),a=!!e.pathSegment(t,l,{move:a}),a?t.closePath():t.lineTo(p.x,n)}t.lineTo(e.first().x,n),t.closePath(),t.clip()}function V2(t,e){const{line:n,target:r,property:i,color:s,scale:a}=e,l=Ak(n,r,i);for(const{source:c,target:u,start:h,end:p}of l){const{style:{backgroundColor:g=s}={}}=c,w=r!==!0;t.save(),t.fillStyle=g,tv(t,a,w&&Ku(i,h,p)),t.beginPath();const C=!!n.pathSegment(t,c);let b;if(w){C?t.closePath():N2(t,r,p,i);const x=!!r.pathSegment(t,u,{move:C,reverse:!0});b=C&&x,b||N2(t,r,h,i)}t.closePath(),t.fill(b?"evenodd":"nonzero"),t.restore()}}function tv(t,e,n){const{top:r,bottom:i}=e.chart.chartArea,{property:s,start:a,end:l}=n||{};s==="x"&&(t.beginPath(),t.rect(a,r,l-a,i-r),t.clip())}function N2(t,e,n,r){const i=e.interpolate(n,r);i&&t.lineTo(i.x,i.y)}var B2={id:"filler",afterDatasetsUpdate(t,e,n){const r=(t.data.datasets||[]).length,i=[];let s,a,l,c;for(a=0;a<r;++a)s=t.getDatasetMeta(a),l=s.dataset,c=null,l&&l.options&&l instanceof ii&&(c={visible:t.isDatasetVisible(a),index:a,fill:Ik(l,a,r),chart:t,axis:s.controller.options.indexAxis,scale:s.vScale,line:l}),s.$filler=c,i.push(c);for(a=0;a<r;++a)c=i[a],!(!c||c.fill===!1)&&(c.fill=Fk(i,a,n.propagate))},beforeDraw(t,e,n){const r=n.drawTime==="beforeDraw",i=t.getSortedVisibleDatasetMetas(),s=t.chartArea;for(let a=i.length-1;a>=0;--a){const l=i[a].$filler;l&&(l.line.updateControlPoints(s,l.axis),r&&l.fill&&Qu(t.ctx,l,s))}},beforeDatasetsDraw(t,e,n){if(n.drawTime!=="beforeDatasetsDraw")return;const r=t.getSortedVisibleDatasetMetas();for(let i=r.length-1;i>=0;--i){const s=r[i].$filler;E2(s)&&Qu(t.ctx,s,t.chartArea)}},beforeDatasetDraw(t,e,n){const r=e.meta.$filler;!E2(r)||n.drawTime!=="beforeDatasetDraw"||Qu(t.ctx,r,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const ba={average(t){if(!t.length)return!1;let e,n,r=new Set,i=0,s=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),i+=c.y,++s}}return{x:[...r].reduce((l,c)=>l+c)/r.size,y:i/s}},nearest(t,e){if(!t.length)return!1;let n=e.x,r=e.y,i=Number.POSITIVE_INFINITY,s,a,l;for(s=0,a=t.length;s<a;++s){const c=t[s].element;if(c&&c.hasValue()){const u=c.getCenterPoint(),h=xu(e,u);h<i&&(i=h,l=c)}}if(l){const c=l.tooltipPosition();n=c.x,r=c.y}return{x:n,y:r}}};function Vr(t,e){return e&&(Lt(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function si(t){return(typeof t=="string"||t instanceof String)&&t.indexOf(`
|
|
51
|
+
`)>-1?t.split(`
|
|
52
|
+
`):t}function nv(t,e){const{element:n,datasetIndex:r,index:i}=e,s=t.getDatasetMeta(r).controller,{label:a,value:l}=s.getLabelAndValue(i);return{chart:t,label:a,parsed:s.getParsed(i),raw:t.data.datasets[r].data[i],formattedValue:l,dataset:s.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function A2(t,e){const n=t.chart.ctx,{body:r,footer:i,title:s}=t,{boxWidth:a,boxHeight:l}=e,c=In(e.bodyFont),u=In(e.titleFont),h=In(e.footerFont),p=s.length,g=i.length,w=r.length,C=Kn(e.padding);let b=C.height,x=0,M=r.reduce(($,V)=>$+V.before.length+V.lines.length+V.after.length,0);if(M+=t.beforeBody.length+t.afterBody.length,p&&(b+=p*u.lineHeight+(p-1)*e.titleSpacing+e.titleMarginBottom),M){const $=e.displayColors?Math.max(l,c.lineHeight):c.lineHeight;b+=w*$+(M-w)*c.lineHeight+(M-1)*e.bodySpacing}g&&(b+=e.footerMarginTop+g*h.lineHeight+(g-1)*e.footerSpacing);let L=0;const P=function($){x=Math.max(x,n.measureText($).width+L)};return n.save(),n.font=u.string,ft(t.title,P),n.font=c.string,ft(t.beforeBody.concat(t.afterBody),P),L=e.displayColors?a+2+e.boxPadding:0,ft(r,$=>{ft($.before,P),ft($.lines,P),ft($.after,P)}),L=0,n.font=h.string,ft(t.footer,P),n.restore(),x+=C.width,{width:x,height:b}}function rv(t,e){const{y:n,height:r}=e;return n<r/2?"top":n>t.height-r/2?"bottom":"center"}function iv(t,e,n,r){const{x:i,width:s}=r,a=n.caretSize+n.caretPadding;if(t==="left"&&i+s+a>e.width||t==="right"&&i-s-a<0)return!0}function sv(t,e,n,r){const{x:i,width:s}=n,{width:a,chartArea:{left:l,right:c}}=t;let u="center";return r==="center"?u=i<=(l+c)/2?"left":"right":i<=s/2?u="left":i>=a-s/2&&(u="right"),iv(u,t,e,n)&&(u="center"),u}function R2(t,e,n){const r=n.yAlign||e.yAlign||rv(t,n);return{xAlign:n.xAlign||e.xAlign||sv(t,e,n,r),yAlign:r}}function ov(t,e){let{x:n,width:r}=t;return e==="right"?n-=r:e==="center"&&(n-=r/2),n}function av(t,e,n){let{y:r,height:i}=t;return e==="top"?r+=n:e==="bottom"?r-=i+n:r-=i/2,r}function F2(t,e,n,r){const{caretSize:i,caretPadding:s,cornerRadius:a}=t,{xAlign:l,yAlign:c}=n,u=i+s,{topLeft:h,topRight:p,bottomLeft:g,bottomRight:w}=aa(a);let C=ov(e,l);const b=av(e,c,u);return c==="center"?l==="left"?C+=u:l==="right"&&(C-=u):l==="left"?C-=Math.max(h,g)+i:l==="right"&&(C+=Math.max(p,w)+i),{x:Gn(C,0,r.width-e.width),y:Gn(b,0,r.height-e.height)}}function jl(t,e,n){const r=Kn(n.padding);return e==="center"?t.x+t.width/2:e==="right"?t.x+t.width-r.right:t.x+r.left}function I2(t){return Vr([],si(t))}function lv(t,e,n){return Fi(t,{tooltip:e,tooltipItems:n,type:"tooltip"})}function H2(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}const z2={beforeTitle:ti,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:ti,beforeBody:ti,beforeLabel:ti,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 kt(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:ti,afterBody:ti,beforeFooter:ti,footer:ti,afterFooter:ti};function Cn(t,e,n,r){const i=t[e].call(n,r);return typeof i>"u"?z2[e].call(n,r):i}class Ju extends ws{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()),i=r.enabled&&n.options.animation&&r.animations,s=new Yp(this.chart,i);return i._cacheable&&(this._cachedAnimations=Object.freeze(s)),s}getContext(){return this.$context||(this.$context=lv(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,n){const{callbacks:r}=n,i=Cn(r,"beforeTitle",this,e),s=Cn(r,"title",this,e),a=Cn(r,"afterTitle",this,e);let l=[];return l=Vr(l,si(i)),l=Vr(l,si(s)),l=Vr(l,si(a)),l}getBeforeBody(e,n){return I2(Cn(n.callbacks,"beforeBody",this,e))}getBody(e,n){const{callbacks:r}=n,i=[];return ft(e,s=>{const a={before:[],lines:[],after:[]},l=H2(r,s);Vr(a.before,si(Cn(l,"beforeLabel",this,s))),Vr(a.lines,Cn(l,"label",this,s)),Vr(a.after,si(Cn(l,"afterLabel",this,s))),i.push(a)}),i}getAfterBody(e,n){return I2(Cn(n.callbacks,"afterBody",this,e))}getFooter(e,n){const{callbacks:r}=n,i=Cn(r,"beforeFooter",this,e),s=Cn(r,"footer",this,e),a=Cn(r,"afterFooter",this,e);let l=[];return l=Vr(l,si(i)),l=Vr(l,si(s)),l=Vr(l,si(a)),l}_createItems(e){const n=this._active,r=this.chart.data,i=[],s=[],a=[];let l=[],c,u;for(c=0,u=n.length;c<u;++c)l.push(nv(this.chart,n[c]));return e.filter&&(l=l.filter((h,p,g)=>e.filter(h,p,g,r))),e.itemSort&&(l=l.sort((h,p)=>e.itemSort(h,p,r))),ft(l,h=>{const p=H2(e.callbacks,h);i.push(Cn(p,"labelColor",this,h)),s.push(Cn(p,"labelPointStyle",this,h)),a.push(Cn(p,"labelTextColor",this,h))}),this.labelColors=i,this.labelPointStyles=s,this.labelTextColors=a,this.dataPoints=l,l}update(e,n){const r=this.options.setContext(this.getContext()),i=this._active;let s,a=[];if(!i.length)this.opacity!==0&&(s={opacity:0});else{const l=ba[r.position].call(this,i,this._eventPosition);a=this._createItems(r),this.title=this.getTitle(a,r),this.beforeBody=this.getBeforeBody(a,r),this.body=this.getBody(a,r),this.afterBody=this.getAfterBody(a,r),this.footer=this.getFooter(a,r);const c=this._size=A2(this,r),u=Object.assign({},l,c),h=R2(this.chart,r,u),p=F2(r,u,h,this.chart);this.xAlign=h.xAlign,this.yAlign=h.yAlign,s={opacity:1,x:p.x,y:p.y,width:c.width,height:c.height,caretX:l.x,caretY:l.y}}this._tooltipItems=a,this.$context=void 0,s&&this._resolveAnimations().update(this,s),e&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(e,n,r,i){const s=this.getCaretPosition(e,r,i);n.lineTo(s.x1,s.y1),n.lineTo(s.x2,s.y2),n.lineTo(s.x3,s.y3)}getCaretPosition(e,n,r){const{xAlign:i,yAlign:s}=this,{caretSize:a,cornerRadius:l}=r,{topLeft:c,topRight:u,bottomLeft:h,bottomRight:p}=aa(l),{x:g,y:w}=e,{width:C,height:b}=n;let x,M,L,P,$,V;return s==="center"?($=w+b/2,i==="left"?(x=g,M=x-a,P=$+a,V=$-a):(x=g+C,M=x+a,P=$-a,V=$+a),L=x):(i==="left"?M=g+Math.max(c,h)+a:i==="right"?M=g+C-Math.max(u,p)-a:M=this.caretX,s==="top"?(P=w,$=P-a,x=M-a,L=M+a):(P=w+b,$=P+a,x=M+a,L=M-a),V=P),{x1:x,x2:M,x3:L,y1:P,y2:$,y3:V}}drawTitle(e,n,r){const i=this.title,s=i.length;let a,l,c;if(s){const u=Iu(r.rtl,this.x,this.width);for(e.x=jl(this,r.titleAlign,r),n.textAlign=u.textAlign(r.titleAlign),n.textBaseline="middle",a=In(r.titleFont),l=r.titleSpacing,n.fillStyle=r.titleColor,n.font=a.string,c=0;c<s;++c)n.fillText(i[c],u.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+l,c+1===s&&(e.y+=r.titleMarginBottom-l)}}_drawColorBox(e,n,r,i,s){const a=this.labelColors[r],l=this.labelPointStyles[r],{boxHeight:c,boxWidth:u}=s,h=In(s.bodyFont),p=jl(this,"left",s),g=i.x(p),w=c<h.lineHeight?(h.lineHeight-c)/2:0,C=n.y+w;if(s.usePointStyle){const b={radius:Math.min(u,c)/2,pointStyle:l.pointStyle,rotation:l.rotation,borderWidth:1},x=i.leftForLtr(g,u)+u/2,M=C+c/2;e.strokeStyle=s.multiKeyBackground,e.fillStyle=s.multiKeyBackground,Eu(e,b,x,M),e.strokeStyle=a.borderColor,e.fillStyle=a.backgroundColor,Eu(e,b,x,M)}else{e.lineWidth=et(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 b=i.leftForLtr(g,u),x=i.leftForLtr(i.xPlus(g,1),u-2),M=aa(a.borderRadius);Object.values(M).some(L=>L!==0)?(e.beginPath(),e.fillStyle=s.multiKeyBackground,Vu(e,{x:b,y:C,w:u,h:c,radius:M}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),Vu(e,{x,y:C+1,w:u-2,h:c-2,radius:M}),e.fill()):(e.fillStyle=s.multiKeyBackground,e.fillRect(b,C,u,c),e.strokeRect(b,C,u,c),e.fillStyle=a.backgroundColor,e.fillRect(x,C+1,u-2,c-2))}e.fillStyle=this.labelTextColors[r]}drawBody(e,n,r){const{body:i}=this,{bodySpacing:s,bodyAlign:a,displayColors:l,boxHeight:c,boxWidth:u,boxPadding:h}=r,p=In(r.bodyFont);let g=p.lineHeight,w=0;const C=Iu(r.rtl,this.x,this.width),b=function(R){n.fillText(R,C.x(e.x+w),e.y+g/2),e.y+=g+s},x=C.textAlign(a);let M,L,P,$,V,F,m;for(n.textAlign=a,n.textBaseline="middle",n.font=p.string,e.x=jl(this,x,r),n.fillStyle=r.bodyColor,ft(this.beforeBody,b),w=l&&x!=="right"?a==="center"?u/2+h:u+2+h:0,$=0,F=i.length;$<F;++$){for(M=i[$],L=this.labelTextColors[$],n.fillStyle=L,ft(M.before,b),P=M.lines,l&&P.length&&(this._drawColorBox(n,e,$,C,r),g=Math.max(p.lineHeight,c)),V=0,m=P.length;V<m;++V)b(P[V]),g=p.lineHeight;ft(M.after,b)}w=0,g=p.lineHeight,ft(this.afterBody,b),e.y-=s}drawFooter(e,n,r){const i=this.footer,s=i.length;let a,l;if(s){const c=Iu(r.rtl,this.x,this.width);for(e.x=jl(this,r.footerAlign,r),e.y+=r.footerMarginTop,n.textAlign=c.textAlign(r.footerAlign),n.textBaseline="middle",a=In(r.footerFont),n.fillStyle=r.footerColor,n.font=a.string,l=0;l<s;++l)n.fillText(i[l],c.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+r.footerSpacing}}drawBackground(e,n,r,i){const{xAlign:s,yAlign:a}=this,{x:l,y:c}=e,{width:u,height:h}=r,{topLeft:p,topRight:g,bottomLeft:w,bottomRight:C}=aa(i.cornerRadius);n.fillStyle=i.backgroundColor,n.strokeStyle=i.borderColor,n.lineWidth=i.borderWidth,n.beginPath(),n.moveTo(l+p,c),a==="top"&&this.drawCaret(e,n,r,i),n.lineTo(l+u-g,c),n.quadraticCurveTo(l+u,c,l+u,c+g),a==="center"&&s==="right"&&this.drawCaret(e,n,r,i),n.lineTo(l+u,c+h-C),n.quadraticCurveTo(l+u,c+h,l+u-C,c+h),a==="bottom"&&this.drawCaret(e,n,r,i),n.lineTo(l+w,c+h),n.quadraticCurveTo(l,c+h,l,c+h-w),a==="center"&&s==="left"&&this.drawCaret(e,n,r,i),n.lineTo(l,c+p),n.quadraticCurveTo(l,c,l+p,c),n.closePath(),n.fill(),i.borderWidth>0&&n.stroke()}_updateAnimationTarget(e){const n=this.chart,r=this.$animations,i=r&&r.x,s=r&&r.y;if(i||s){const a=ba[e.position].call(this,this._active,this._eventPosition);if(!a)return;const l=this._size=A2(this,e),c=Object.assign({},a,this._size),u=R2(n,e,c),h=F2(e,c,u,n);(i._to!==h.x||s._to!==h.y)&&(this.xAlign=u.xAlign,this.yAlign=u.yAlign,this.width=l.width,this.height=l.height,this.caretX=a.x,this.caretY=a.y,this._resolveAnimations().update(this,h))}}_willRender(){return!!this.opacity}draw(e){const n=this.options.setContext(this.getContext());let r=this.opacity;if(!r)return;this._updateAnimationTarget(n);const i={width:this.width,height:this.height},s={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;const a=Kn(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(s,e,i,n),Kw(e,n.textDirection),s.y+=a.top,this.drawTitle(s,e,n),this.drawBody(s,e,n),this.drawFooter(s,e,n),Xw(e,n.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,n){const r=this._active,i=e.map(({datasetIndex:l,index:c})=>{const u=this.chart.getDatasetMeta(l);if(!u)throw new Error("Cannot find a dataset at index "+l);return{datasetIndex:l,element:u.data[c],index:c}}),s=!bl(r,i),a=this._positionChanged(i,n);(s||a)&&(this._active=i,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,n,r=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const i=this.options,s=this._active||[],a=this._getActiveElements(e,s,n,r),l=this._positionChanged(a,e),c=n||!bl(a,s)||l;return c&&(this._active=a,(i.enabled||i.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,n))),c}_getActiveElements(e,n,r,i){const s=this.options;if(e.type==="mouseout")return[];if(!i)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,s.mode,s,r);return s.reverse&&a.reverse(),a}_positionChanged(e,n){const{caretX:r,caretY:i,options:s}=this,a=ba[s.position].call(this,e,n);return a!==!1&&(r!==a.x||i!==a.y)}}le(Ju,"positioners",ba);var cv={id:"tooltip",_element:Ju,positioners:ba,afterInit(t,e,n){n&&(t.tooltip=new Ju({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:z2},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 dv=(t,e,n,r)=>(typeof e=="string"?(n=t.push(e)-1,r.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function uv(t,e,n,r){const i=t.indexOf(e);if(i===-1)return dv(t,e,n,r);const s=t.lastIndexOf(e);return i!==s?n:i}const hv=(t,e)=>t===null?null:Gn(Math.round(t),0,e);function j2(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}class Yl extends Cs{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:i,label:s}of n)r[i]===s&&r.splice(i,1);this._addedLabels=[]}super.init(e)}parse(e,n){if(kt(e))return null;const r=this.getLabels();return n=isFinite(n)&&r[n]===e?n:uv(r,e,ht(n,e),this._addedLabels),hv(n,r.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let{min:r,max:i}=this.getMinMax(!0);this.options.bounds==="ticks"&&(e||(r=0),n||(i=this.getLabels().length-1)),this.min=r,this.max=i}buildTicks(){const e=this.min,n=this.max,r=this.options.offset,i=[];let s=this.getLabels();s=e===0&&n===s.length-1?s:s.slice(e,n+1),this._valueRange=Math.max(s.length-(r?0:1),1),this._startValue=this.min-(r?.5:0);for(let a=e;a<=n;a++)i.push({value:a});return i}getLabelForValue(e){return j2.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}}le(Yl,"id","category"),le(Yl,"defaults",{ticks:{callback:j2}});function fv(t,e){const n=[],{bounds:i,step:s,min:a,max:l,precision:c,count:u,maxTicks:h,maxDigits:p,includeBounds:g}=t,w=s||1,C=h-1,{min:b,max:x}=e,M=!kt(a),L=!kt(l),P=!kt(u),$=(x-b)/(p+1);let V=up((x-b)/C/w)*w,F,m,R,B;if(V<1e-14&&!M&&!L)return[{value:b},{value:x}];B=Math.ceil(x/V)-Math.floor(b/V),B>C&&(V=up(B*V/C/w)*w),kt(c)||(F=Math.pow(10,c),V=Math.ceil(V*F)/F),i==="ticks"?(m=Math.floor(b/V)*V,R=Math.ceil(x/V)*V):(m=b,R=x),M&&L&&s&&jb((l-a)/s,V/1e3)?(B=Math.round(Math.min((l-a)/V,h)),V=(l-a)/B,m=a,R=l):P?(m=M?a:m,R=L?l:R,B=u-1,V=(R-m)/B):(B=(R-m)/V,ra(B,Math.round(B),V/1e3)?B=Math.round(B):B=Math.ceil(B));const ne=Math.max(fp(V),fp(m));F=Math.pow(10,kt(c)?ne:c),m=Math.round(m*F)/F,R=Math.round(R*F)/F;let ce=0;for(M&&(g&&m!==a?(n.push({value:a}),m<a&&ce++,ra(Math.round((m+ce*V)*F)/F,a,Y2(a,$,t))&&ce++):m<a&&ce++);ce<B;++ce){const W=Math.round((m+ce*V)*F)/F;if(L&&W>l)break;n.push({value:W})}return L&&g&&R!==l?n.length&&ra(n[n.length-1].value,l,Y2(l,$,t))?n[n.length-1].value=l:n.push({value:l}):(!L||R===l)&&n.push({value:R}),n}function Y2(t,e,{horizontal:n,minRotation:r}){const i=Ri(r),s=(n?Math.sin(i):Math.cos(i))||.001,a=.75*e*(""+t).length;return Math.min(e/s,a)}class Wl extends Cs{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 kt(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:i,max:s}=this;const a=c=>i=n?i:c,l=c=>s=r?s:c;if(e){const c=eo(i),u=eo(s);c<0&&u<0?l(0):c>0&&u>0&&a(0)}if(i===s){let c=s===0?1:Math.abs(s*.05);l(s+c),e||a(i-c)}this.min=i,this.max=s}getTickLimit(){const e=this.options.ticks;let{maxTicksLimit:n,stepSize:r}=e,i;return r?(i=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,i>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${i} ticks. Limiting to 1000.`),i=1e3)):(i=this.computeTickLimit(),n=n||11),n&&(i=Math.min(n,i)),i}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,n=e.ticks;let r=this.getTickLimit();r=Math.max(2,r);const i={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},s=this._range||this,a=fv(i,s);return e.bounds==="ticks"&&hp(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 i=(r-n)/Math.max(e.length-1,1)/2;n-=i,r+=i}this._startValue=n,this._endValue=r,this._valueRange=r-n}getLabelForValue(e){return Du(e,this.chart.options.locale,this.options.ticks.format)}}class ql extends Wl{determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=Bt(e)?e:0,this.max=Bt(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),n=e?this.width:this.height,r=Ri(this.options.ticks.minRotation),i=(e?Math.sin(r):Math.cos(r))||.001,s=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,s.lineHeight/i))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}le(ql,"id","linear"),le(ql,"defaults",{ticks:{callback:Sl.formatters.numeric}});const wa=t=>Math.floor(Ai(t)),ks=(t,e)=>Math.pow(10,wa(t)+e);function W2(t){return t/Math.pow(10,wa(t))===1}function q2(t,e,n){const r=Math.pow(10,n),i=Math.floor(t/r);return Math.ceil(e/r)-i}function pv(t,e){const n=e-t;let r=wa(n);for(;q2(t,e,r)>10;)r++;for(;q2(t,e,r)<10;)r--;return Math.min(r,wa(t))}function mv(t,{min:e,max:n}){e=Bn(t.min,e);const r=[],i=wa(e);let s=pv(e,n),a=s<0?Math.pow(10,Math.abs(s)):1;const l=Math.pow(10,s),c=i>s?Math.pow(10,i):0,u=Math.round((e-c)*a)/a,h=Math.floor((e-c)/l/10)*l*10;let p=Math.floor((u-h)/Math.pow(10,s)),g=Bn(t.min,Math.round((c+h+p*Math.pow(10,s))*a)/a);for(;g<n;)r.push({value:g,major:W2(g),significand:p}),p>=10?p=p<15?15:20:p++,p>=20&&(s++,p=2,a=s>=0?1:a),g=Math.round((c+h+p*Math.pow(10,s))*a)/a;const w=Bn(t.max,g);return r.push({value:w,major:W2(w),significand:p}),r}class U2 extends Cs{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,n){const r=Wl.prototype.parse.apply(this,[e,n]);if(r===0){this._zero=!0;return}return Bt(r)&&r>0?r:null}determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=Bt(e)?Math.max(0,e):null,this.max=Bt(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!Bt(this._userMin)&&(this.min=e===ks(this.min,0)?ks(this.min,-1):ks(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let r=this.min,i=this.max;const s=l=>r=e?r:l,a=l=>i=n?i:l;r===i&&(r<=0?(s(1),a(10)):(s(ks(r,-1)),a(ks(i,1)))),r<=0&&s(ks(i,-1)),i<=0&&a(ks(r,1)),this.min=r,this.max=i}buildTicks(){const e=this.options,n={min:this._userMin,max:this._userMax},r=mv(n,this);return e.bounds==="ticks"&&hp(r,this,"value"),e.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}getLabelForValue(e){return e===void 0?"0":Du(e,this.chart.options.locale,this.options.ticks.format)}configure(){const e=this.min;super.configure(),this._startValue=Ai(e),this._valueRange=Ai(this.max)-Ai(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(Ai(e)-this._startValue)/this._valueRange)}getValueForPixel(e){const n=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+n*this._valueRange)}}le(U2,"id","logarithmic"),le(U2,"defaults",{ticks:{callback:Sl.formatters.logarithmic,major:{enabled:!0}}});function eh(t){const e=t.ticks;if(e.display&&t.display){const n=Kn(e.backdropPadding);return ht(e.font&&e.font.size,Wt.font.size)+n.height}return 0}function gv(t,e,n){return n=Lt(n)?n:[n],{w:dw(t,e.string,n),h:n.length*e.lineHeight}}function Z2(t,e,n,r,i){return t===r||t===i?{start:e-n/2,end:e+n/2}:t<r||t>i?{start:e-n,end:e}:{start:e,end:e+n}}function _v(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=[],i=[],s=t._pointLabels.length,a=t.options.pointLabels,l=a.centerPointLabels?nn/s:0;for(let c=0;c<s;c++){const u=a.setContext(t.getPointLabelContext(c));i[c]=u.padding;const h=t.getPointPosition(c,t.drawingArea+i[c],l),p=In(u.font),g=gv(t.ctx,p,t._pointLabels[c]);r[c]=g;const w=Fn(t.getIndexAngle(c)+l),C=Math.round(vu(w)),b=Z2(C,h.x,g.w,0,180),x=Z2(C,h.y,g.h,90,270);yv(n,e,w,b,x)}t.setCenterPoint(e.l-n.l,n.r-e.r,e.t-n.t,n.b-e.b),t._pointLabelItems=Cv(t,r,i)}function yv(t,e,n,r,i){const s=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)/s,t.l=Math.min(t.l,e.l-l)):r.end>e.r&&(l=(r.end-e.r)/s,t.r=Math.max(t.r,e.r+l)),i.start<e.t?(c=(e.t-i.start)/a,t.t=Math.min(t.t,e.t-c)):i.end>e.b&&(c=(i.end-e.b)/a,t.b=Math.max(t.b,e.b+c))}function bv(t,e,n){const r=t.drawingArea,{extra:i,additionalAngle:s,padding:a,size:l}=n,c=t.getPointPosition(e,r+i+a,s),u=Math.round(vu(Fn(c.angle+Rn))),h=xv(c.y,l.h,u),p=kv(u),g=vv(c.x,l.w,p);return{visible:!0,x:c.x,y:h,textAlign:p,left:g,top:h,right:g+l.w,bottom:h+l.h}}function wv(t,e){if(!e)return!0;const{left:n,top:r,right:i,bottom:s}=t;return!(ni({x:n,y:r},e)||ni({x:n,y:s},e)||ni({x:i,y:r},e)||ni({x:i,y:s},e))}function Cv(t,e,n){const r=[],i=t._pointLabels.length,s=t.options,{centerPointLabels:a,display:l}=s.pointLabels,c={extra:eh(s)/2,additionalAngle:a?nn/i:0};let u;for(let h=0;h<i;h++){c.padding=n[h],c.size=e[h];const p=bv(t,h,c);r.push(p),l==="auto"&&(p.visible=wv(p,u),p.visible&&(u=p))}return r}function kv(t){return t===0||t===180?"center":t<180?"left":"right"}function vv(t,e,n){return n==="right"?t-=e:n==="center"&&(t-=e/2),t}function xv(t,e,n){return n===90||n===270?t-=e/2:(n>270||n<90)&&(t-=e),t}function Sv(t,e,n){const{left:r,top:i,right:s,bottom:a}=n,{backdropColor:l}=e;if(!kt(l)){const c=aa(e.borderRadius),u=Kn(e.backdropPadding);t.fillStyle=l;const h=r-u.left,p=i-u.top,g=s-r+u.width,w=a-i+u.height;Object.values(c).some(C=>C!==0)?(t.beginPath(),Vu(t,{x:h,y:p,w:g,h:w,radius:c}),t.fill()):t.fillRect(h,p,g,w)}}function Mv(t,e){const{ctx:n,options:{pointLabels:r}}=t;for(let i=e-1;i>=0;i--){const s=t._pointLabelItems[i];if(!s.visible)continue;const a=r.setContext(t.getPointLabelContext(i));Sv(n,a,s);const l=In(a.font),{x:c,y:u,textAlign:h}=s;Tl(n,t._pointLabels[i],c,u+l.lineHeight/2,l,{color:a.color,textAlign:h,textBaseline:"middle"})}}function G2(t,e,n,r){const{ctx:i}=t;if(n)i.arc(t.xCenter,t.yCenter,e,0,An);else{let s=t.getPointPosition(0,e);i.moveTo(s.x,s.y);for(let a=1;a<r;a++)s=t.getPointPosition(a,e),i.lineTo(s.x,s.y)}}function Tv(t,e,n,r,i){const s=t.ctx,a=e.circular,{color:l,lineWidth:c}=e;!a&&!r||!l||!c||n<0||(s.save(),s.strokeStyle=l,s.lineWidth=c,s.setLineDash(i.dash),s.lineDashOffset=i.dashOffset,s.beginPath(),G2(t,n,a,r),s.closePath(),s.stroke(),s.restore())}function Dv(t,e,n){return Fi(t,{label:n,index:e,type:"pointLabel"})}class Ul extends Wl{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=Kn(eh(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=Bt(e)&&!isNaN(e)?e:0,this.max=Bt(n)&&!isNaN(n)?n:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/eh(this.options))}generateTickLabels(e){Wl.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map((n,r)=>{const i=At(this.options.pointLabels.callback,[n,r],this);return i||i===0?i:""}).filter((n,r)=>this.chart.getDataVisibility(r))}fit(){const e=this.options;e.display&&e.pointLabels.display?_v(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,n,r,i){this.xCenter+=Math.floor((e-n)/2),this.yCenter+=Math.floor((r-i)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,n,r,i))}getIndexAngle(e){const n=An/(this._pointLabels.length||1),r=this.options.startAngle||0;return Fn(e*n+Ri(r))}getDistanceFromCenterForValue(e){if(kt(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(kt(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 Dv(this.getContext(),e,r)}}getPointPosition(e,n,r=0){const i=this.getIndexAngle(e)-Rn+r;return{x:Math.cos(i)*n+this.xCenter,y:Math.sin(i)*n+this.yCenter,angle:i}}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:i,bottom:s}=this._pointLabelItems[e];return{left:n,top:r,right:i,bottom:s}}drawBackground(){const{backgroundColor:e,grid:{circular:n}}=this.options;if(e){const r=this.ctx;r.save(),r.beginPath(),G2(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:i,border:s}=n,a=this._pointLabels.length;let l,c,u;if(n.pointLabels.display&&Mv(this,a),i.display&&this.ticks.forEach((h,p)=>{if(p!==0||p===0&&this.min<0){c=this.getDistanceFromCenterForValue(h.value);const g=this.getContext(p),w=i.setContext(g),C=s.setContext(g);Tv(this,w,c,a,C)}}),r.display){for(e.save(),l=a-1;l>=0;l--){const h=r.setContext(this.getPointLabelContext(l)),{color:p,lineWidth:g}=h;!g||!p||(e.lineWidth=g,e.strokeStyle=p,e.setLineDash(h.borderDash),e.lineDashOffset=h.borderDashOffset,c=this.getDistanceFromCenterForValue(n.ticks.reverse?this.min:this.max),u=this.getPointPosition(l,c),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(u.x,u.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){const e=this.ctx,n=this.options,r=n.ticks;if(!r.display)return;const i=this.getIndexAngle(0);let s,a;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(i),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach((l,c)=>{if(c===0&&this.min>=0&&!n.reverse)return;const u=r.setContext(this.getContext(c)),h=In(u.font);if(s=this.getDistanceFromCenterForValue(this.ticks[c].value),u.showLabelBackdrop){e.font=h.string,a=e.measureText(l.label).width,e.fillStyle=u.backdropColor;const p=Kn(u.backdropPadding);e.fillRect(-a/2-p.left,-s-h.size/2-p.top,a+p.width,h.size+p.height)}Tl(e,l.label,0,-s,h,{color:u.color,strokeColor:u.textStrokeColor,strokeWidth:u.textStrokeWidth})}),e.restore()}drawTitle(){}}le(Ul,"id","radialLinear"),le(Ul,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Sl.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(e){return e},padding:5,centerPointLabels:!1}}),le(Ul,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),le(Ul,"descriptors",{angleLines:{_fallback:"grid"}});const Zl={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}},kn=Object.keys(Zl);function K2(t,e){return t-e}function X2(t,e){if(kt(e))return null;const n=t._adapter,{parser:r,round:i,isoWeekday:s}=t._parseOpts;let a=e;return typeof r=="function"&&(a=r(a)),Bt(a)||(a=typeof r=="string"?n.parse(a,r):n.parse(a)),a===null?null:(i&&(a=i==="week"&&(ia(s)||s===!0)?n.startOf(a,"isoWeek",s):n.startOf(a,i)),+a)}function Q2(t,e,n,r){const i=kn.length;for(let s=kn.indexOf(t);s<i-1;++s){const a=Zl[kn[s]],l=a.steps?a.steps:Number.MAX_SAFE_INTEGER;if(a.common&&Math.ceil((n-e)/(l*a.size))<=r)return kn[s]}return kn[i-1]}function Pv(t,e,n,r,i){for(let s=kn.length-1;s>=kn.indexOf(n);s--){const a=kn[s];if(Zl[a].common&&t._adapter.diff(i,r,a)>=e-1)return a}return kn[n?kn.indexOf(n):0]}function Ov(t){for(let e=kn.indexOf(t)+1,n=kn.length;e<n;++e)if(Zl[kn[e]].common)return kn[e]}function J2(t,e,n){if(!n)t[e]=!0;else if(n.length){const{lo:r,hi:i}=Su(n,e),s=n[r]>=e?n[r]:n[i];t[s]=!0}}function Ev(t,e,n,r){const i=t._adapter,s=+i.startOf(e[0].value,r),a=e[e.length-1].value;let l,c;for(l=s;l<=a;l=+i.add(l,1,r))c=n[l],c>=0&&(e[c].major=!0);return e}function em(t,e,n){const r=[],i={},s=e.length;let a,l;for(a=0;a<s;++a)l=e[a],i[l]=a,r.push({value:l,major:!1});return s===0||!n?r:Ev(t,r,i,n)}class Gl extends Cs{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={}),i=this._adapter=new yC._date(e.adapters.date);i.init(n),na(r.displayFormats,i.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:X2(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:i,max:s,minDefined:a,maxDefined:l}=this.getUserBounds();function c(u){!a&&!isNaN(u.min)&&(i=Math.min(i,u.min)),!l&&!isNaN(u.max)&&(s=Math.max(s,u.max))}(!a||!l)&&(c(this._getLabelBounds()),(e.bounds!=="ticks"||e.ticks.source!=="labels")&&c(this.getMinMax(!1))),i=Bt(i)&&!isNaN(i)?i:+n.startOf(Date.now(),r),s=Bt(s)&&!isNaN(s)?s:+n.endOf(Date.now(),r)+1,this.min=Math.min(i,s-1),this.max=Math.max(i+1,s)}_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,i=r.source==="labels"?this.getLabelTimestamps():this._generate();e.bounds==="ticks"&&i.length&&(this.min=this._userMin||i[0],this.max=this._userMax||i[i.length-1]);const s=this.min,a=this.max,l=Zb(i,s,a);return this._unit=n.unit||(r.autoSkip?Q2(n.minUnit,this.min,this.max,this._getLabelCapacity(s)):Pv(this,l.length,n.minUnit,this.min,this.max)),this._majorUnit=!r.major.enabled||this._unit==="year"?void 0:Ov(this._unit),this.initOffsets(i),e.reverse&&l.reverse(),em(this,l,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(e=>+e.value))}initOffsets(e=[]){let n=0,r=0,i,s;this.options.offset&&e.length&&(i=this.getDecimalForValue(e[0]),e.length===1?n=1-i:n=(this.getDecimalForValue(e[1])-i)/2,s=this.getDecimalForValue(e[e.length-1]),e.length===1?r=s:r=(s-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,i=this.options,s=i.time,a=s.unit||Q2(s.minUnit,n,r,this._getLabelCapacity(n)),l=ht(i.ticks.stepSize,1),c=a==="week"?s.isoWeekday:!1,u=ia(c)||c===!0,h={};let p=n,g,w;if(u&&(p=+e.startOf(p,"isoWeek",c)),p=+e.startOf(p,u?"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 C=i.ticks.source==="data"&&this.getDataTimestamps();for(g=p,w=0;g<r;g=+e.add(g,l,a),w++)J2(h,g,C);return(g===r||i.bounds==="ticks"||w===1)&&J2(h,g,C),Object.keys(h).sort(K2).map(b=>+b)}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 i=this.options.time.displayFormats,s=this._unit,a=n||i[s];return this._adapter.format(e,a)}_tickFormatFunction(e,n,r,i){const s=this.options,a=s.ticks.callback;if(a)return At(a,[e,n,r],this);const l=s.time.displayFormats,c=this._unit,u=this._majorUnit,h=c&&l[c],p=u&&l[u],g=r[n],w=u&&p&&g&&g.major;return this._adapter.format(e,i||(w?p:h))}generateTickLabels(e){let n,r,i;for(n=0,r=e.length;n<r;++n)i=e[n],i.label=this._tickFormatFunction(i.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,i=Ri(this.isHorizontal()?n.maxRotation:n.minRotation),s=Math.cos(i),a=Math.sin(i),l=this._resolveTickFontOptions(0).size;return{w:r*s+l*a,h:r*a+l*s}}_getLabelCapacity(e){const n=this.options.time,r=n.displayFormats,i=r[n.unit]||r.millisecond,s=this._tickFormatFunction(e,0,em(this,[e],this._majorUnit),i),a=this._getLabelSize(s),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 i=this.getMatchingVisibleMetas();if(this._normalized&&i.length)return this._cache.data=i[0].controller.getAllParsedValues(this);for(n=0,r=i.length;n<r;++n)e=e.concat(i[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 i=this.getLabels();for(n=0,r=i.length;n<r;++n)e.push(X2(this,i[n]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return Kb(e.sort(K2))}}le(Gl,"id","time"),le(Gl,"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,i=t.length-1,s,a,l,c;n?(e>=t[r].pos&&e<=t[i].pos&&({lo:r,hi:i}=fs(t,"pos",e)),{pos:s,time:l}=t[r],{pos:a,time:c}=t[i]):(e>=t[r].time&&e<=t[i].time&&({lo:r,hi:i}=fs(t,"time",e)),{time:s,pos:l}=t[r],{time:a,pos:c}=t[i]);const u=a-s;return u?l+(c-l)*(e-s)/u:l}class tm extends Gl{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,i=[],s=[];let a,l,c,u,h;for(a=0,l=e.length;a<l;++a)u=e[a],u>=n&&u<=r&&i.push(u);if(i.length<2)return[{time:n,pos:0},{time:r,pos:1}];for(a=0,l=i.length;a<l;++a)h=i[a+1],c=i[a-1],u=i[a],Math.round((h+c)/2)!==u&&s.push({time:u,pos:a/(l-1)});return s}_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((i,s)=>i-s)}_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)}}le(tm,"id","timeseries"),le(tm,"defaults",Gl.defaults);const nm={data:{type:Object,required:!0},options:{type:Object,default:()=>({})},plugins:{type:Array,default:()=>[]},datasetIdKey:{type:String,default:"label"},updateMode:{type:String,default:void 0}},Lv={type:{type:String,required:!0},destroyDelay:{type:Number,default:0},...nm,...{ariaLabel:{type:String},ariaDescribedby:{type:String}}},$v=o.version[0]==="2"?(t,e)=>Object.assign(t,{attrs:e}):(t,e)=>Object.assign(t,e);function ro(t){return o.isProxy(t)?o.toRaw(t):t}function Vv(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t;return o.isProxy(e)?new Proxy(t,{}):t}function Nv(t,e){const n=t.options;n&&e&&Object.assign(n,e)}function rm(t,e){t.labels=e}function im(t,e,n){const r=[];t.datasets=e.map(i=>{const s=t.datasets.find(a=>a[n]===i[n]);return!s||!i.data||r.includes(s)?{...i}:(r.push(s),Object.assign(s,i),s)})}function Bv(t,e){const n={labels:[],datasets:[]};return rm(n,t.labels),im(n,t.datasets,e),n}const Av=o.defineComponent({props:Lv,setup(t,e){let{expose:n,slots:r}=e;const i=o.ref(null),s=o.shallowRef(null);n({chart:s});const a=()=>{if(!i.value)return;const{type:u,data:h,options:p,plugins:g,datasetIdKey:w}=t,C=Bv(h,w),b=Vv(C,h);s.value=new _a(i.value,{type:u,data:b,options:{...p},plugins:g})},l=()=>{const u=o.toRaw(s.value);u&&(t.destroyDelay>0?setTimeout(()=>{u.destroy(),s.value=null},t.destroyDelay):(u.destroy(),s.value=null))},c=u=>{u.update(t.updateMode)};return o.onMounted(a),o.onUnmounted(l),o.watch([()=>t.options,()=>t.data],(u,h)=>{let[p,g]=u,[w,C]=h;const b=o.toRaw(s.value);if(!b)return;let x=!1;if(p){const M=ro(p),L=ro(w);M&&M!==L&&(Nv(b,M),x=!0)}if(g){const M=ro(g.labels),L=ro(C.labels),P=ro(g.datasets),$=ro(C.datasets);M!==L&&(rm(b.config.data,M),x=!0),P&&P!==$&&(im(b.config.data,P,t.datasetIdKey),x=!0)}x&&o.nextTick(()=>{c(b)})},{deep:!0}),()=>o.h("canvas",{role:"img",ariaLabel:t.ariaLabel,ariaDescribedby:t.ariaDescribedby,ref:i},[o.h("p",{},[r.default?r.default():""])])}});function Rv(t,e){return _a.register(e),o.defineComponent({props:nm,setup(n,r){let{expose:i}=r;const s=o.shallowRef(null),a=l=>{s.value=l==null?void 0:l.chart};return i({chart:s}),()=>o.h(Av,$v({ref:a},{type:t,...n}))}})}const sm=Rv("line",$l),Fv={class:"chart-container"},th={__name:"LineChart",props:{data:{type:Array,required:!0},dataType:{type:String,required:!0},ticksCallback:{type:Function,default:t=>t}},setup(t){_a.register(Yl,ql,ya,ii,cv,B2);const e=t,n=u=>{const h=new Set,p=[];let g=[];switch(e.dataType){case"balanceChartData":g=u.map(C=>(h.add(C.date),C.balance));break;case"performanceChartData":g=u.map(C=>(h.add(C.date),C.pnl/C.pnl_to_deposit*100));break}return p.push({data:g}),{labels:Array.from(h),datasets:p}},r=o.computed(()=>n(e.data)),i=u=>{const p=u.chart.ctx.createLinearGradient(0,0,0,450);return p.addColorStop(0,"rgba(0, 122, 255, 0.1)"),p.addColorStop(1,"rgba(0, 122, 255, 0)"),p},s=(u,h)=>{let p=document.querySelector(`#${u}-${e.dataType}`);return p||(p=document.createElement("div"),p.classList.add(u),p.setAttribute("id",`${u}-${e.dataType}`),h.canvas.parentNode.appendChild(p)),p},a=u=>{const{chart:h,tooltip:p}=u,g=s("chart-tooltip",h);if(p.opacity===0){g.style.opacity=String(0);return}if(p.body){const b=p.title||[],x=p.body.map(L=>L.lines),M=document.createElement("div");for(M.classList.add("chart-tooltip-middle"),M.innerHTML=`<div class="chart-tooltip-content">
|
|
53
|
+
${e.dataType==="balanceChartData"?`$${n1(x[0])}`:`${n1(x[0])}%`}
|
|
54
|
+
<span> | ${r1(b[0])}, ${I3(b[0])}</span></div>`;g.firstChild;)g.firstChild.remove();g.appendChild(M)}const{offsetLeft:w,offsetTop:C}=h.canvas;g.style.opacity=String(1),g.style.left=w+p.caretX+"px",g.style.top=C+p.caretY+"px"},l=u=>{const{chart:h}=u,p=s("chart-line",h);h.canvas.addEventListener("mousemove",function(g){const w=h.canvas.getBoundingClientRect(),C=g.clientX-w.left;p.style.left=C+"px",p.style.display="flex"}),h.canvas.addEventListener("mouseout",function(){p.style.display="none"})},c=o.ref({responsive:!0,maintainAspectRatio:!1,animation:{duration:1500},scales:{x:{ticks:{callback:function(u){return r1(this.getLabelForValue(u)).slice(0,3)},color:"#8E8E93",font:{size:14,weight:400,family:"'SF Pro Display', sans-serif"},padding:15,align:"end"},grid:{display:!1},border:{color:"#EDEDED"}},y:{ticks:{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:a},legend:!1},elements:{line:{backgroundColor:u=>i(u),tension:.3,borderWidth:2,borderColor:"#007AFF",fill:"start",spanGaps:!0},point:{pointStyle:"circle",pointRadius:1,pointHoverRadius:8,pointBackgroundColor:"#007AFF",pointBorderWidth:0,pointHoverBorderWidth:3,pointBorderColor:"#fff",pointHoverBorderColor:"#fff",pointHitRadius:50}},onHover:l});return(u,h)=>(o.openBlock(),o.createElementBlock("div",Fv,[o.createVNode(o.unref(sm),{data:r.value,options:c.value},null,8,["data","options"])]))}},om={__name:"SimpleLineChart",props:{data:{type:Array,required:!0}},setup(t){_a.register(Yl,ql,ya,ii,B2);const e=t,n=a=>{const l=new Set,c=[],u=a.map(p=>(l.add(p.date),p.balance));return c.push({data:u}),{labels:Array.from(l),datasets:c}},r=o.computed(()=>n(e.data)),i=a=>{const c=a.chart.ctx.createLinearGradient(0,0,0,200);return c.addColorStop(0,"rgba(86, 182, 131, 0.1)"),c.addColorStop(1,"rgba(86, 182, 131, 0)"),c},s=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=>i(a),tension:.3,borderWidth:1,borderColor:"#56B683",fill:"start",spanGaps:!0},point:{pointStyle:!1}}});return(a,l)=>(o.openBlock(),o.createBlock(o.unref(sm),{data:r.value,options:s.value},null,8,["data","options"]))}},Iv=t=>(o.pushScopeId("data-v-c4a7d0c9"),t=t(),o.popScopeId(),t),Hv={class:"account-balance-widget"},zv={class:"account-balance-widget__top"},jv={class:"account-balance-widget__title-wrapper"},Yv=Iv(()=>o.createElementVNode("div",{class:"account-balance-widget__title"},"Account Balance",-1)),Wv=st({__name:"AccountBalanceWidget",props:{balanceChartData:{type:Array,default:[]}},setup(t){const e=o.ref("week"),n=r=>r>=1e3||r<=-1e3?pn(r/1e3,2)+"k":pn(r,2);return(r,i)=>(o.openBlock(),o.createElementBlock("div",Hv,[o.createElementVNode("div",zv,[o.createElementVNode("div",jv,[Yv,o.createVNode(o.unref(Un),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("Reflects your deposit growth over the previous date. One of the most reliable indicator of profit for a trader. ")]),_:1})]),o.createVNode(o.unref(Ts),{modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=s=>e.value=s),onOnChange:i[1]||(i[1]=s=>r.$emit("onChange",e.value))},null,8,["modelValue"])]),o.createVNode(o.unref(th),{data:t.balanceChartData,"data-type":"balanceChartData","ticks-callback":n},null,8,["data"])]))}},[["__scopeId","data-v-c4a7d0c9"]]),nh=t=>(o.pushScopeId("data-v-6cf0799e"),t=t(),o.popScopeId(),t),qv={class:"balance-widget"},Uv={class:"balance-part"},Zv={class:"balance-part__top"},Gv={class:"balance-part__title-wrapper"},Kv=nh(()=>o.createElementVNode("div",{class:"balance-part__title"},"Balance",-1)),Xv={class:"balance-part__content"},Qv={class:"balance-part__content__wrapper"},Jv={class:"balance-part__content__count"},ex={class:"balance-part__content__bitcoin"},tx=nh(()=>o.createElementVNode("div",{class:"devider"},null,-1)),nx={class:"personal-target-part"},rx={class:"personal-target-part__top"},ix={class:"personal-target-part__title-wrapper"},sx=nh(()=>o.createElementVNode("div",{class:"personal-target-part__title"},"Personal target",-1)),ox={class:"personal-target-part__content"},ax={class:"personal-target-part__content__current"},lx={class:"personal-target-part__content__from"},cx=st({__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},emits:["switchModal"],setup(t,{emit:e}){const n=e,r=t,i=o.ref(!1),s=o.computed(()=>i.value?"****":r.BTC),a=o.computed(()=>i.value?"****":r.USDT),l=()=>{i.value=!i.value};return(c,u)=>(o.openBlock(),o.createElementBlock("div",qv,[o.createElementVNode("div",Uv,[o.createElementVNode("div",Zv,[o.createElementVNode("div",Gv,[Kv,o.createVNode(o.unref(Un),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("Reflects your deposit size in $ and btc equivalent and growth over the previous date. One of the most reliable indicator of profit for a trader.")]),_:1})]),o.createElementVNode("div",{class:"balance-part__visibility-switcher",onClick:l},[o.withDirectives(o.createVNode(o.unref(gt),{icon:"eye"},null,512),[[o.vShow,i.value]]),o.withDirectives(o.createVNode(o.unref(gt),{icon:"eye-slash"},null,512),[[o.vShow,!i.value]])])]),o.createElementVNode("div",Xv,[o.createElementVNode("div",Qv,[o.createElementVNode("div",Jv,o.toDisplayString(o.unref(Hr)(a.value)),1),t.delta?(o.openBlock(),o.createBlock(o.unref(bc),{key:0,"is-hidden":i.value,percentage:"",delta:t.delta},null,8,["is-hidden","delta"])):o.createCommentVNode("",!0)]),o.createElementVNode("div",ex,"= "+o.toDisplayString(s.value)+" BTC",1)]),o.createVNode(o.unref(om),{class:"balance-part__chart",data:t.balanceChartData},null,8,["data"])]),tx,o.createElementVNode("div",nx,[o.createElementVNode("div",rx,[o.createElementVNode("div",ix,[sx,o.createVNode(o.unref(Un),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode(" This widget allows you to set a personal profit goal expressed in $ for a certain period ")]),_:1})]),o.createElementVNode("div",{class:"balance-part__modal-switcher",onClick:u[0]||(u[0]=h=>n("switchModal"))},[o.createVNode(o.unref(gt),{icon:"settings"})])]),o.createElementVNode("div",ox,[o.createElementVNode("div",ax,o.toDisplayString(o.unref(Hr)(t.currentProfit,{isPercentage:t.isPercentage,isFixed:!0})),1),o.createElementVNode("div",lx,"/ "+o.toDisplayString(o.unref(Hr)(t.profit,{isPercentage:t.isPercentage,isFixed:!0})),1)]),o.createVNode(o.unref(a3),{"current-profit":t.currentProfit,drawdown:t.drawdown,profit:t.profit,"is-percentage":t.isPercentage},null,8,["current-profit","drawdown","profit","is-percentage"])])]))}},[["__scopeId","data-v-6cf0799e"]]),Xl=t=>(o.pushScopeId("data-v-5903c480"),t=t(),o.popScopeId(),t),dx={class:"calendar-widget"},ux={class:"calendar-widget__calendar"},hx={class:"calendar-widget__top"},fx={class:"calendar-widget__title-wrapper"},px=Xl(()=>o.createElementVNode("div",{class:"calendar-widget__title"},"Calendar",-1)),mx={class:"stat-calendar"},gx={class:"stat-calendar__week-days"},_x={key:0,class:"stat-calendar__row-wrapper"},yx={class:"stat-calendar__row"},bx=["onClick"],wx=Xl(()=>o.createElementVNode("div",{class:"calendar-widget__divider"},null,-1)),Cx={key:0,class:"calendar-widget__day"},kx={class:"calendar-widget__day__title"},vx={class:"calendar-widget__day__content"},xx={class:"calendar-widget__point"},Sx={class:"calendar-widget__point__title"},Mx=Xl(()=>o.createElementVNode("div",{class:"calendar-widget__point__line"},null,-1)),Tx={class:"calendar-widget__day__trades"},Dx={class:"calendar-widget__point"},Px={class:"calendar-widget__point__title"},Ox=Xl(()=>o.createElementVNode("div",{class:"calendar-widget__point__line"},null,-1)),Ex=st({__name:"CalendarWidget",props:{rows:Array,dailyStatData:Object,currentDate:Date,calendarPointsTop:Array,calendarPointsBottom:Array,isCurrentDate:Function,isCurrentDay:Function},emits:["setNewDate","chooseMonth"],setup(t,{emit:e}){const n=["Su","Mo","Tu","We","Th","Fr","Sa"],r=o.ref(null),i=o.ref(null),s=e,a=l=>{r.value=l.year,i.value=l.month,s("chooseMonth",l)};return o.nextTick(()=>{const l=new Date;r.value=l.getFullYear(),i.value=l.getMonth()}),(l,c)=>{var u,h;return o.openBlock(),o.createElementBlock("div",dx,[o.createElementVNode("div",ux,[o.createElementVNode("div",hx,[o.createElementVNode("div",fx,[px,o.createVNode(o.unref(Un),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("Displays profitable days on green, losing days in red and trading days without significant profit or loss in blue. Also when you click on a specific date, more detailed information about trading day is displayed. ")]),_:1})]),t.currentDate?(o.openBlock(),o.createBlock(o.unref(o3),{key:0,"current-date":t.currentDate,onOnChange:a,year:r.value,"onUpdate:year":c[0]||(c[0]=p=>r.value=p),month:i.value,"onUpdate:month":c[1]||(c[1]=p=>i.value=p)},null,8,["current-date","year","month"])):o.createCommentVNode("",!0)]),o.createElementVNode("div",mx,[o.createElementVNode("div",gx,[(o.openBlock(),o.createElementBlock(o.Fragment,null,o.renderList(n,(p,g)=>o.createElementVNode("div",{class:o.normalizeClass(["stat-calendar__week-day",{"-current":t.isCurrentDay(g)}])},o.toDisplayString(p),3)),64))]),t.rows?(o.openBlock(),o.createElementBlock("div",_x,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.rows,p=>(o.openBlock(),o.createElementBlock("div",yx,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(p,g=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["stat-calendar__day",{"-empty":!g.date,"-current":t.isCurrentDate(g.date),"-positive":g.win,"-negative":g.win===!1}]),onClick:w=>s("setNewDate",g.date)},o.toDisplayString(g.date?g.date:""),11,bx))),256))]))),256))])):o.createCommentVNode("",!0)])]),wx,t.dailyStatData&&!t.dailyStatData.isNull?(o.openBlock(),o.createElementBlock("div",Cx,[o.createElementVNode("div",kx,o.toDisplayString(t.currentDate.getDate()+" "+t.currentDate.toLocaleString("en-us",{month:"long"})),1),o.createElementVNode("div",vx,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.calendarPointsTop,p=>(o.openBlock(),o.createElementBlock("div",xx,[o.createElementVNode("div",Sx,o.toDisplayString(p.title),1),Mx,o.createElementVNode("div",{class:o.normalizeClass(["calendar-widget__point__value",p.class?p.class:""])},o.toDisplayString(p.value),3)]))),256)),o.createVNode(o.unref(K0),{long:(u=t.dailyStatData)==null?void 0:u.long_count,short:(h=t.dailyStatData)==null?void 0:h.short_count},null,8,["long","short"]),o.createElementVNode("div",Tx,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.calendarPointsBottom,p=>(o.openBlock(),o.createElementBlock("div",Dx,[o.createElementVNode("div",Px,o.toDisplayString(p.title),1),Ox,o.createVNode(o.unref(bc),{"is-positive":p.isPositive,"is-negative":p.isNegative,delta:p.value},null,8,["is-positive","is-negative","delta"])]))),256))])])])):(o.openBlock(),o.createBlock(o.unref(gu),{key:1,class:"-empty"}))])}}},[["__scopeId","data-v-5903c480"]]),rh=t=>(o.pushScopeId("data-v-a2323720"),t=t(),o.popScopeId(),t),Lx={class:"commission-widget"},$x={class:"commission-widget__content"},Vx={class:"commission-widget__top"},Nx={class:"commission-widget__title-wrapper"},Bx=rh(()=>o.createElementVNode("div",{class:"commission-widget__title"},"Commissions and Fees",-1)),Ax={class:"commission-widget__info"},Rx={class:"commission-widget__total-wrapper"},Fx=rh(()=>o.createElementVNode("div",{class:"commission-widget__total-wrapper__title"},"Total",-1)),Ix={class:"commission-widget__total-wrapper__total"},Hx={class:"commission-widget__total-wrapper__value"},zx={class:"commission-widget__points"},jx={class:"commission-widget__point"},Yx={class:"commission-widget__point__title"},Wx=rh(()=>o.createElementVNode("div",{class:"commission-widget__point__line"},null,-1)),qx=st({__name:"CommissionsFeesWidget",props:{commission:Number,commissionPoints:Array},emits:["onChange"],setup(t,{emit:e}){const n=o.ref("week"),r=e;return(i,s)=>(o.openBlock(),o.createElementBlock("div",Lx,[o.createElementVNode("div",$x,[o.createElementVNode("div",Vx,[o.createElementVNode("div",Nx,[Bx,o.createVNode(o.unref(Un),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("The amount of total commissions and fees for the selected previous period including the current date. This widget also shows commission to profit ratio in $/% and average amount of fees per trade. ")]),_:1})]),o.createVNode(o.unref(Ts),{modelValue:n.value,"onUpdate:modelValue":s[0]||(s[0]=a=>n.value=a),onOnChange:s[1]||(s[1]=a=>r("onChange",n.value))},null,8,["modelValue"])]),o.createElementVNode("div",Ax,[o.createElementVNode("div",Rx,[Fx,o.createElementVNode("div",Ix,[o.createElementVNode("div",Hx," $"+o.toDisplayString(o.unref(pn)(t.commission)),1)])]),o.createElementVNode("div",zx,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.commissionPoints,(a,l)=>(o.openBlock(),o.createElementBlock("div",jx,[o.createElementVNode("div",Yx,o.toDisplayString(a.title),1),Wx,o.createElementVNode("div",{class:o.normalizeClass(["commission-widget__point__value",a.class?a.class:""])},o.toDisplayString(a.value),3)]))),256))])])])]))}},[["__scopeId","data-v-a2323720"]]),Ux=t=>(o.pushScopeId("data-v-b073ff46"),t=t(),o.popScopeId(),t),Zx={class:"performance-widget"},Gx={class:"performance-widget__top"},Kx={class:"performance-widget__title-wrapper"},Xx=Ux(()=>o.createElementVNode("div",{class:"performance-widget__title"},"Performance (cumulative)",-1)),Qx=st({__name:"PerformanceWidget",props:{performanceChartData:{type:Array,default:[]}},setup(t){const e=o.ref("week"),n=r=>pn(r,2)+"%";return(r,i)=>(o.openBlock(),o.createElementBlock("div",Zx,[o.createElementVNode("div",Gx,[o.createElementVNode("div",Kx,[Xx,o.createVNode(o.unref(Un),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("The amount of profit for the selected previous period including the current date. This widget shows the growth or loss of the deposit in %. The widget is available as a line graph. ")]),_:1})]),o.createVNode(o.unref(Ts),{modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=s=>e.value=s),onOnChange:i[1]||(i[1]=s=>r.$emit("onChange",e.value))},null,8,["modelValue"])]),o.createVNode(o.unref(th),{data:t.performanceChartData,"data-type":"performanceChartData","ticks-callback":n},null,8,["data"])]))}},[["__scopeId","data-v-b073ff46"]]),ih=t=>(o.pushScopeId("data-v-3c479ecf"),t=t(),o.popScopeId(),t),Jx={class:"return-widget"},eS={class:"return-widget__content"},tS={class:"return-widget__top"},nS={class:"return-widget__title-wrapper"},rS=ih(()=>o.createElementVNode("div",{class:"return-widget__title"},"Return",-1)),iS={class:"return-widget__info"},sS={class:"return-widget__total-wrapper"},oS=ih(()=>o.createElementVNode("div",{class:"return-widget__total-wrapper__title"},"Total",-1)),aS={class:"return-widget__total-wrapper__total"},lS={class:"return-widget__points"},cS={class:"return-widget__point"},dS={class:"return-widget__point__title"},uS=ih(()=>o.createElementVNode("div",{class:"return-widget__point__line"},null,-1)),hS={class:"return-widget__point__value"},fS=["innerHTML"],pS=st({__name:"ReturnWidget",props:{isPositiveReturn:Boolean,isNegativeReturn:Boolean,changeRate:Number,returnPoints:Array,returnPeriod:{type:Number,default:0},profitFactor:Number},emits:["onChange"],setup(t,{emit:e}){const n=o.ref("week"),r=e,i=t,s=o.computed(()=>i.profitFactor>0?"-positive":"-negative"),a=o.computed(()=>i.profitFactor>0?`Your profit factor is ${pn(i.profitFactor)}. <br /> You earn ${Hr(i.profitFactor)} on every $1 loss.`:`Your profit factor is ${i.profitFactor}. <br/> You loss $${Math.abs(i.profitFactor)} on every $1 earn. `);return(l,c)=>(o.openBlock(),o.createElementBlock("div",Jx,[o.createElementVNode("div",eS,[o.createElementVNode("div",tS,[o.createElementVNode("div",nS,[rS,o.createVNode(o.unref(Un),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("The amount of profit in $ and % for the selected previous period including the current date. This widget also shows the amount of profit and loss separately. ")]),_:1})]),o.createVNode(o.unref(Ts),{modelValue:n.value,"onUpdate:modelValue":c[0]||(c[0]=u=>n.value=u),onOnChange:c[1]||(c[1]=u=>r("onChange",n.value))},null,8,["modelValue"])]),o.createElementVNode("div",iS,[o.createElementVNode("div",sS,[oS,o.createElementVNode("div",aS,[o.createElementVNode("div",{class:o.normalizeClass(["return-widget__total-wrapper__value",{"-positive":t.isPositiveReturn,"-negative":t.isNegativeReturn}])},o.toDisplayString(o.unref(Hr)(t.returnPeriod,{isPlus:!0,isFixed:!0})),3),t.changeRate?(o.openBlock(),o.createBlock(o.unref(bc),{key:0,percentage:"",delta:t.changeRate},null,8,["delta"])):o.createCommentVNode("",!0)])]),o.createElementVNode("div",lS,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.returnPoints,u=>(o.openBlock(),o.createElementBlock("div",cS,[o.createElementVNode("div",dS,o.toDisplayString(u.title),1),uS,o.createElementVNode("div",hS,o.toDisplayString(o.unref(Hr)(u.value,u.options)),1)]))),256))])])]),t.profitFactor?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["return-widget__profit",s.value])},[o.createVNode(o.unref(gt),{icon:"tip",class:"return-widget__profit__icon"}),o.createElementVNode("div",{class:"return-widget__profit__text",innerHTML:a.value},null,8,fS)],2)):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-3c479ecf"]]),am=t=>(o.pushScopeId("data-v-1e3971a5"),t=t(),o.popScopeId(),t),mS={class:"top-positions-widget"},gS={class:"top-positions-widget__top"},_S={class:"top-positions-widget__title-wrapper"},yS=am(()=>o.createElementVNode("div",{class:"top-positions-widget__title"},"Top-3 Positions",-1)),bS={key:0,class:"top-positions-widget__returns"},wS={class:"top-positions-widget__return"},CS={class:"top-positions-widget__return__left"},kS=am(()=>o.createElementVNode("div",{class:"top-positions-widget__return__line"},null,-1)),vS={class:"top-positions-widget__return__pair"},xS={class:"top-positions-widget__return__right"},SS={class:"top-positions-widget__return__pnl"},MS={class:"top-positions-widget__return__roi"},TS=st({__name:"TopPositionsWidget",props:{topPositions:{type:Array,default:[]}},emits:["onChange"],setup(t,{emit:e}){const n=o.ref("week"),r=e;return(i,s)=>(o.openBlock(),o.createElementBlock("div",mS,[o.createElementVNode("div",gS,[o.createElementVNode("div",_S,[yS,o.createVNode(o.unref(Un),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("Displays 3 most profitable trades of the selected period. You can also see the trading pair and trade profit to balance ratio. ")]),_:1})]),o.createVNode(o.unref(Ts),{modelValue:n.value,"onUpdate:modelValue":s[0]||(s[0]=a=>n.value=a),onOnChange:s[1]||(s[1]=a=>r("onChange",n.value))},null,8,["modelValue"])]),t.topPositions&&t.topPositions.length?(o.openBlock(),o.createElementBlock("div",bS,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.topPositions,a=>(o.openBlock(),o.createElementBlock("div",wS,[o.createElementVNode("div",CS,[kS,o.createElementVNode("div",vS,o.toDisplayString(o.unref(z3)(a.pair)),1)]),o.createElementVNode("div",xS,[o.createElementVNode("div",SS,o.toDisplayString("+$"+a.pnl),1),o.createElementVNode("div",MS,[o.createVNode(o.unref(gt),{icon:"bxs_up-arrow"}),o.createElementVNode("span",null,o.toDisplayString(o.unref(pn)(a.roi)+"%"),1)])])]))),256))])):(o.openBlock(),o.createBlock(o.unref(gu),{key:1,title:"No more pair",subtitle:"No data available for the specified period",icon:"coins-add"}))]))}},[["__scopeId","data-v-1e3971a5"]]),sh=t=>(o.pushScopeId("data-v-7b67b5c8"),t=t(),o.popScopeId(),t),DS={class:"trade-widget"},PS={class:"trade-widget__content"},OS={class:"trade-widget__top"},ES={class:"trade-widget__title-wrapper"},LS=sh(()=>o.createElementVNode("div",{class:"trade-widget__title"},"Trades Performance",-1)),$S={class:"trade-widget__info"},VS={class:"trade-widget__total-wrapper"},NS=sh(()=>o.createElementVNode("div",{class:"trade-widget__total-wrapper__title"},"Total",-1)),BS={class:"trade-widget__total-wrapper__total"},AS={class:"trade-widget__total-wrapper__value"},RS={class:"trade-widget__points"},FS={class:"trade-widget__point"},IS={class:"trade-widget__point__title"},HS=sh(()=>o.createElementVNode("div",{class:"trade-widget__point__line"},null,-1)),zS=st({__name:"TradePerformanceWidget",props:{totalTrades:Number,tradePoints:Array},emits:["onChange"],setup(t,{emit:e}){const n=o.ref("week"),r=e;return(i,s)=>(o.openBlock(),o.createElementBlock("div",DS,[o.createElementVNode("div",PS,[o.createElementVNode("div",OS,[o.createElementVNode("div",ES,[LS,o.createVNode(o.unref(Un),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("This widget displays number of total winning & trades. Also it indicates the average number of trades for selected period. ")]),_:1})]),o.createVNode(o.unref(Ts),{modelValue:n.value,"onUpdate:modelValue":s[0]||(s[0]=a=>n.value=a),onOnChange:s[1]||(s[1]=a=>r("onChange",n.value))},null,8,["modelValue"])]),o.createElementVNode("div",$S,[o.createElementVNode("div",VS,[NS,o.createElementVNode("div",BS,[o.createElementVNode("div",AS,o.toDisplayString(t.totalTrades),1)])]),o.createElementVNode("div",RS,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.tradePoints,a=>(o.openBlock(),o.createElementBlock("div",FS,[o.createElementVNode("div",IS,o.toDisplayString(a.title),1),HS,o.createElementVNode("div",{class:o.normalizeClass(["trade-widget__point__value",a.class?a.class:""])},o.toDisplayString(a.value),3)]))),256))])])])]))}},[["__scopeId","data-v-7b67b5c8"]]),oh=t=>(o.pushScopeId("data-v-44821cfb"),t=t(),o.popScopeId(),t),jS={class:"winrate-widget"},YS={class:"winrate-widget__winrate"},WS={class:"winrate-widget__title-wrapper"},qS=oh(()=>o.createElementVNode("div",{class:"winrate-widget__title"},"Winrate",-1)),US={class:"winrate-widget__chart"},ZS={class:"winrate-widget__data"},GS={class:"winrate-widget__data_value"},KS=oh(()=>o.createElementVNode("div",{class:"winrate-widget__data_title"},"Winrate",-1)),XS={class:"winrate-widget__average-rr"},QS={class:"winrate-widget__title-wrapper"},JS=oh(()=>o.createElementVNode("div",{class:"winrate-widget__title"},"Average RR",-1)),eM=st({__name:"WinrateWidget",props:{winrate:{type:Number,default:0},minRR:{type:Number,default:0},averageRR:{type:Number,default:0},maxRR:{type:Number,default:0}},setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("div",jS,[o.createElementVNode("div",YS,[o.createElementVNode("div",WS,[qS,o.createVNode(o.unref(Un),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("This widget displays the percentage of successful trades and the average RR. ")]),_:1})]),o.createElementVNode("div",US,[o.createVNode(o.unref(J0),{step:.1,startAngle:-90,radius:100,width:20,lineCap:"round",showTooltip:!1,style:{"--colorRs":"transparent","--borderColorRs":"transparent"},rangeColor:t.winrate<50?"#F18169":"#56B683",value:t.winrate,pathColor:"#EDEDED",readOnly:!0,handleSize:20,sliderType:"min-range",handleShape:"round",circleShape:"full"},null,8,["rangeColor","value"]),o.createElementVNode("div",ZS,[o.createElementVNode("div",GS,o.toDisplayString(o.unref(pn)(t.winrate,2))+"%",1),KS])])]),o.createElementVNode("div",XS,[o.createElementVNode("div",QS,[JS,o.createVNode(o.unref(Un),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("The risk/reward ratio - marks the prospective reward a trader can earn for every dollar they risk on a trade. ")]),_:1})]),o.createVNode(o.unref(lm),{avg:t.averageRR,min:t.minRR,max:t.maxRR},null,8,["avg","min","max"])])]))}},[["__scopeId","data-v-44821cfb"]]),tM=t=>(o.pushScopeId("data-v-2f6cbb5e"),t=t(),o.popScopeId(),t),nM={class:"average-rr-line-container"},rM={class:"average-rr-line"},iM={key:0,class:"average-rr-line__progress"},sM=[tM(()=>o.createElementVNode("div",{class:"average-rr-line__dot"},null,-1))],oM={class:"coefficients"},aM={class:"coefficients__value -min"},lM={class:"coefficients__value -avg"},cM={class:"coefficients__value -max"},lm=st({__name:"AverageRRLine",props:{min:{type:Number,default:0},avg:{type:Number,default:0},max:{type:Number,default:0}},setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("div",nM,[o.createElementVNode("div",rM,[t.avg&&t.max?(o.openBlock(),o.createElementBlock("div",iM,sM)):o.createCommentVNode("",!0)]),o.createElementVNode("div",oM,[o.createElementVNode("div",aM,o.toDisplayString(t.min),1),o.createElementVNode("div",lM,o.toDisplayString(o.unref(pn)(t.avg)),1),o.createElementVNode("div",cM,o.toDisplayString(o.unref(pn)(t.max)),1)])]))}},[["__scopeId","data-v-2f6cbb5e"]]);//! moment.js
|
|
55
|
+
//! version : 2.30.1
|
|
56
|
+
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
57
|
+
//! license : MIT
|
|
58
|
+
//! momentjs.com
|
|
59
|
+
var cm;function ke(){return cm.apply(null,arguments)}function dM(t){cm=t}function hr(t){return t instanceof Array||Object.prototype.toString.call(t)==="[object Array]"}function vs(t){return t!=null&&Object.prototype.toString.call(t)==="[object Object]"}function ot(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function ah(t){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(t).length===0;var e;for(e in t)if(ot(t,e))return!1;return!0}function vn(t){return t===void 0}function oi(t){return typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]"}function Ca(t){return t instanceof Date||Object.prototype.toString.call(t)==="[object Date]"}function dm(t,e){var n=[],r,i=t.length;for(r=0;r<i;++r)n.push(e(t[r],r));return n}function Ii(t,e){for(var n in e)ot(e,n)&&(t[n]=e[n]);return ot(e,"toString")&&(t.toString=e.toString),ot(e,"valueOf")&&(t.valueOf=e.valueOf),t}function Nr(t,e,n,r){return Am(t,e,n,r,!0).utc()}function uM(){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 je(t){return t._pf==null&&(t._pf=uM()),t._pf}var lh;Array.prototype.some?lh=Array.prototype.some:lh=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 ch(t){var e=null,n=!1,r=t._d&&!isNaN(t._d.getTime());if(r&&(e=je(t),n=lh.call(e.parsedDateParts,function(i){return i!=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 Ql(t){var e=Nr(NaN);return t!=null?Ii(je(e),t):je(e).userInvalidated=!0,e}var um=ke.momentProperties=[],dh=!1;function uh(t,e){var n,r,i,s=um.length;if(vn(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),vn(e._i)||(t._i=e._i),vn(e._f)||(t._f=e._f),vn(e._l)||(t._l=e._l),vn(e._strict)||(t._strict=e._strict),vn(e._tzm)||(t._tzm=e._tzm),vn(e._isUTC)||(t._isUTC=e._isUTC),vn(e._offset)||(t._offset=e._offset),vn(e._pf)||(t._pf=je(e)),vn(e._locale)||(t._locale=e._locale),s>0)for(n=0;n<s;n++)r=um[n],i=e[r],vn(i)||(t[r]=i);return t}function ka(t){uh(this,t),this._d=new Date(t._d!=null?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),dh===!1&&(dh=!0,ke.updateOffset(this),dh=!1)}function fr(t){return t instanceof ka||t!=null&&t._isAMomentObject!=null}function hm(t){ke.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+t)}function Xn(t,e){var n=!0;return Ii(function(){if(ke.deprecationHandler!=null&&ke.deprecationHandler(null,t),n){var r=[],i,s,a,l=arguments.length;for(s=0;s<l;s++){if(i="",typeof arguments[s]=="object"){i+=`
|
|
60
|
+
[`+s+"] ";for(a in arguments[0])ot(arguments[0],a)&&(i+=a+": "+arguments[0][a]+", ");i=i.slice(0,-2)}else i=arguments[s];r.push(i)}hm(t+`
|
|
61
|
+
Arguments: `+Array.prototype.slice.call(r).join("")+`
|
|
62
|
+
`+new Error().stack),n=!1}return e.apply(this,arguments)},e)}var fm={};function pm(t,e){ke.deprecationHandler!=null&&ke.deprecationHandler(t,e),fm[t]||(hm(e),fm[t]=!0)}ke.suppressDeprecationWarnings=!1,ke.deprecationHandler=null;function Br(t){return typeof Function<"u"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function hM(t){var e,n;for(n in t)ot(t,n)&&(e=t[n],Br(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 hh(t,e){var n=Ii({},t),r;for(r in e)ot(e,r)&&(vs(t[r])&&vs(e[r])?(n[r]={},Ii(n[r],t[r]),Ii(n[r],e[r])):e[r]!=null?n[r]=e[r]:delete n[r]);for(r in t)ot(t,r)&&!ot(e,r)&&vs(t[r])&&(n[r]=Ii({},n[r]));return n}function fh(t){t!=null&&this.set(t)}var ph;Object.keys?ph=Object.keys:ph=function(t){var e,n=[];for(e in t)ot(t,e)&&n.push(e);return n};var fM={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function pM(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return Br(r)?r.call(e,n):r}function Ar(t,e,n){var r=""+Math.abs(t),i=e-r.length,s=t>=0;return(s?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var mh=/(\[[^\[]*\])|(\\)?([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,Jl=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,gh={},io={};function Ee(t,e,n,r){var i=r;typeof r=="string"&&(i=function(){return this[r]()}),t&&(io[t]=i),e&&(io[e[0]]=function(){return Ar(i.apply(this,arguments),e[1],e[2])}),n&&(io[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function mM(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function gM(t){var e=t.match(mh),n,r;for(n=0,r=e.length;n<r;n++)io[e[n]]?e[n]=io[e[n]]:e[n]=mM(e[n]);return function(i){var s="",a;for(a=0;a<r;a++)s+=Br(e[a])?e[a].call(i,t):e[a];return s}}function ec(t,e){return t.isValid()?(e=mm(e,t.localeData()),gh[e]=gh[e]||gM(e),gh[e](t)):t.localeData().invalidDate()}function mm(t,e){var n=5;function r(i){return e.longDateFormat(i)||i}for(Jl.lastIndex=0;n>=0&&Jl.test(t);)t=t.replace(Jl,r),Jl.lastIndex=0,n-=1;return t}var _M={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 yM(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(mh).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[t])}var bM="Invalid date";function wM(){return this._invalidDate}var CM="%d",kM=/\d{1,2}/;function vM(t){return this._ordinal.replace("%d",t)}var xM={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 SM(t,e,n,r){var i=this._relativeTime[n];return Br(i)?i(t,e,n,r):i.replace(/%d/i,t)}function MM(t,e){var n=this._relativeTime[t>0?"future":"past"];return Br(n)?n(e):n.replace(/%s/i,e)}var gm={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 Qn(t){return typeof t=="string"?gm[t]||gm[t.toLowerCase()]:void 0}function _h(t){var e={},n,r;for(r in t)ot(t,r)&&(n=Qn(r),n&&(e[n]=t[r]));return e}var TM={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 DM(t){var e=[],n;for(n in t)ot(t,n)&&e.push({unit:n,priority:TM[n]});return e.sort(function(r,i){return r.priority-i.priority}),e}var _m=/\d/,Hn=/\d\d/,ym=/\d{3}/,yh=/\d{4}/,tc=/[+-]?\d{6}/,vt=/\d\d?/,bm=/\d\d\d\d?/,wm=/\d\d\d\d\d\d?/,nc=/\d{1,3}/,bh=/\d{1,4}/,rc=/[+-]?\d{1,6}/,so=/\d+/,ic=/[+-]?\d+/,PM=/Z|[+-]\d\d:?\d\d/gi,sc=/Z|[+-]\d\d(?::?\d\d)?/gi,OM=/[+-]?\d+(\.\d{1,3})?/,va=/[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,oo=/^[1-9]\d?/,wh=/^([1-9]\d|\d)/,oc;oc={};function Me(t,e,n){oc[t]=Br(e)?e:function(r,i){return r&&n?n:e}}function EM(t,e){return ot(oc,t)?oc[t](e._strict,e._locale):new RegExp(LM(t))}function LM(t){return ai(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,n,r,i,s){return n||r||i||s}))}function ai(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Jn(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function Ge(t){var e=+t,n=0;return e!==0&&isFinite(e)&&(n=Jn(e)),n}var Ch={};function mt(t,e){var n,r=e,i;for(typeof t=="string"&&(t=[t]),oi(e)&&(r=function(s,a){a[e]=Ge(s)}),i=t.length,n=0;n<i;n++)Ch[t[n]]=r}function xa(t,e){mt(t,function(n,r,i,s){i._w=i._w||{},e(n,i._w,i,s)})}function $M(t,e,n){e!=null&&ot(Ch,t)&&Ch[t](e,n._a,n,t)}function ac(t){return t%4===0&&t%100!==0||t%400===0}var un=0,li=1,Rr=2,Xt=3,pr=4,ci=5,xs=6,VM=7,NM=8;Ee("Y",0,0,function(){var t=this.year();return t<=9999?Ar(t,4):"+"+t}),Ee(0,["YY",2],0,function(){return this.year()%100}),Ee(0,["YYYY",4],0,"year"),Ee(0,["YYYYY",5],0,"year"),Ee(0,["YYYYYY",6,!0],0,"year"),Me("Y",ic),Me("YY",vt,Hn),Me("YYYY",bh,yh),Me("YYYYY",rc,tc),Me("YYYYYY",rc,tc),mt(["YYYYY","YYYYYY"],un),mt("YYYY",function(t,e){e[un]=t.length===2?ke.parseTwoDigitYear(t):Ge(t)}),mt("YY",function(t,e){e[un]=ke.parseTwoDigitYear(t)}),mt("Y",function(t,e){e[un]=parseInt(t,10)});function Sa(t){return ac(t)?366:365}ke.parseTwoDigitYear=function(t){return Ge(t)+(Ge(t)>68?1900:2e3)};var Cm=ao("FullYear",!0);function BM(){return ac(this.year())}function ao(t,e){return function(n){return n!=null?(km(this,t,n),ke.updateOffset(this,e),this):Ma(this,t)}}function Ma(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 km(t,e,n){var r,i,s,a,l;if(!(!t.isValid()||isNaN(n))){switch(r=t._d,i=t._isUTC,e){case"Milliseconds":return void(i?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(i?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(i?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(i?r.setUTCHours(n):r.setHours(n));case"Date":return void(i?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}s=n,a=t.month(),l=t.date(),l=l===29&&a===1&&!ac(s)?28:l,i?r.setUTCFullYear(s,a,l):r.setFullYear(s,a,l)}}function AM(t){return t=Qn(t),Br(this[t])?this[t]():this}function RM(t,e){if(typeof t=="object"){t=_h(t);var n=DM(t),r,i=n.length;for(r=0;r<i;r++)this[n[r].unit](t[n[r].unit])}else if(t=Qn(t),Br(this[t]))return this[t](e);return this}function FM(t,e){return(t%e+e)%e}var qt;Array.prototype.indexOf?qt=Array.prototype.indexOf:qt=function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};function kh(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=FM(e,12);return t+=(e-n)/12,n===1?ac(t)?29:28:31-n%7%2}Ee("M",["MM",2],"Mo",function(){return this.month()+1}),Ee("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),Ee("MMMM",0,0,function(t){return this.localeData().months(this,t)}),Me("M",vt,oo),Me("MM",vt,Hn),Me("MMM",function(t,e){return e.monthsShortRegex(t)}),Me("MMMM",function(t,e){return e.monthsRegex(t)}),mt(["M","MM"],function(t,e){e[li]=Ge(t)-1}),mt(["MMM","MMMM"],function(t,e,n,r){var i=n._locale.monthsParse(t,r,n._strict);i!=null?e[li]=i:je(n).invalidMonth=t});var IM="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),vm="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),xm=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,HM=va,zM=va;function jM(t,e){return t?hr(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||xm).test(e)?"format":"standalone"][t.month()]:hr(this._months)?this._months:this._months.standalone}function YM(t,e){return t?hr(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[xm.test(e)?"format":"standalone"][t.month()]:hr(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function WM(t,e,n){var r,i,s,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)s=Nr([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(s,"").toLocaleLowerCase();return n?e==="MMM"?(i=qt.call(this._shortMonthsParse,a),i!==-1?i:null):(i=qt.call(this._longMonthsParse,a),i!==-1?i:null):e==="MMM"?(i=qt.call(this._shortMonthsParse,a),i!==-1?i:(i=qt.call(this._longMonthsParse,a),i!==-1?i:null)):(i=qt.call(this._longMonthsParse,a),i!==-1?i:(i=qt.call(this._shortMonthsParse,a),i!==-1?i:null))}function qM(t,e,n){var r,i,s;if(this._monthsParseExact)return WM.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=Nr([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),!n&&!this._monthsParse[r]&&(s="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(s.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 Sm(t,e){if(!t.isValid())return t;if(typeof e=="string"){if(/^\d+$/.test(e))e=Ge(e);else if(e=t.localeData().monthsParse(e),!oi(e))return t}var n=e,r=t.date();return r=r<29?r:Math.min(r,kh(t.year(),n)),t._isUTC?t._d.setUTCMonth(n,r):t._d.setMonth(n,r),t}function Mm(t){return t!=null?(Sm(this,t),ke.updateOffset(this,!0),this):Ma(this,"Month")}function UM(){return kh(this.year(),this.month())}function ZM(t){return this._monthsParseExact?(ot(this,"_monthsRegex")||Tm.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(ot(this,"_monthsShortRegex")||(this._monthsShortRegex=HM),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function GM(t){return this._monthsParseExact?(ot(this,"_monthsRegex")||Tm.call(this),t?this._monthsStrictRegex:this._monthsRegex):(ot(this,"_monthsRegex")||(this._monthsRegex=zM),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function Tm(){function t(c,u){return u.length-c.length}var e=[],n=[],r=[],i,s,a,l;for(i=0;i<12;i++)s=Nr([2e3,i]),a=ai(this.monthsShort(s,"")),l=ai(this.months(s,"")),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 KM(t,e,n,r,i,s,a){var l;return t<100&&t>=0?(l=new Date(t+400,e,n,r,i,s,a),isFinite(l.getFullYear())&&l.setFullYear(t)):l=new Date(t,e,n,r,i,s,a),l}function Ta(t){var e,n;return t<100&&t>=0?(n=Array.prototype.slice.call(arguments),n[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function lc(t,e,n){var r=7+e-n,i=(7+Ta(t,0,r).getUTCDay()-e)%7;return-i+r-1}function Dm(t,e,n,r,i){var s=(7+n-r)%7,a=lc(t,r,i),l=1+7*(e-1)+s+a,c,u;return l<=0?(c=t-1,u=Sa(c)+l):l>Sa(t)?(c=t+1,u=l-Sa(t)):(c=t,u=l),{year:c,dayOfYear:u}}function Da(t,e,n){var r=lc(t.year(),e,n),i=Math.floor((t.dayOfYear()-r-1)/7)+1,s,a;return i<1?(a=t.year()-1,s=i+di(a,e,n)):i>di(t.year(),e,n)?(s=i-di(t.year(),e,n),a=t.year()+1):(a=t.year(),s=i),{week:s,year:a}}function di(t,e,n){var r=lc(t,e,n),i=lc(t+1,e,n);return(Sa(t)-r+i)/7}Ee("w",["ww",2],"wo","week"),Ee("W",["WW",2],"Wo","isoWeek"),Me("w",vt,oo),Me("ww",vt,Hn),Me("W",vt,oo),Me("WW",vt,Hn),xa(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=Ge(t)});function XM(t){return Da(t,this._week.dow,this._week.doy).week}var QM={dow:0,doy:6};function JM(){return this._week.dow}function eT(){return this._week.doy}function tT(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function nT(t){var e=Da(this,1,4).week;return t==null?e:this.add((t-e)*7,"d")}Ee("d",0,"do","day"),Ee("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),Ee("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),Ee("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),Ee("e",0,0,"weekday"),Ee("E",0,0,"isoWeekday"),Me("d",vt),Me("e",vt),Me("E",vt),Me("dd",function(t,e){return e.weekdaysMinRegex(t)}),Me("ddd",function(t,e){return e.weekdaysShortRegex(t)}),Me("dddd",function(t,e){return e.weekdaysRegex(t)}),xa(["dd","ddd","dddd"],function(t,e,n,r){var i=n._locale.weekdaysParse(t,r,n._strict);i!=null?e.d=i:je(n).invalidWeekday=t}),xa(["d","e","E"],function(t,e,n,r){e[r]=Ge(t)});function rT(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function iT(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function vh(t,e){return t.slice(e,7).concat(t.slice(0,e))}var sT="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Pm="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),oT="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),aT=va,lT=va,cT=va;function dT(t,e){var n=hr(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?vh(n,this._week.dow):t?n[t.day()]:n}function uT(t){return t===!0?vh(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function hT(t){return t===!0?vh(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function fT(t,e,n){var r,i,s,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)s=Nr([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(s,"").toLocaleLowerCase();return n?e==="dddd"?(i=qt.call(this._weekdaysParse,a),i!==-1?i:null):e==="ddd"?(i=qt.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=qt.call(this._minWeekdaysParse,a),i!==-1?i:null):e==="dddd"?(i=qt.call(this._weekdaysParse,a),i!==-1||(i=qt.call(this._shortWeekdaysParse,a),i!==-1)?i:(i=qt.call(this._minWeekdaysParse,a),i!==-1?i:null)):e==="ddd"?(i=qt.call(this._shortWeekdaysParse,a),i!==-1||(i=qt.call(this._weekdaysParse,a),i!==-1)?i:(i=qt.call(this._minWeekdaysParse,a),i!==-1?i:null)):(i=qt.call(this._minWeekdaysParse,a),i!==-1||(i=qt.call(this._weekdaysParse,a),i!==-1)?i:(i=qt.call(this._shortWeekdaysParse,a),i!==-1?i:null))}function pT(t,e,n){var r,i,s;if(this._weekdaysParseExact)return fT.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=Nr([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(s="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(s.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 mT(t){if(!this.isValid())return t!=null?this:NaN;var e=Ma(this,"Day");return t!=null?(t=rT(t,this.localeData()),this.add(t-e,"d")):e}function gT(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 _T(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=iT(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function yT(t){return this._weekdaysParseExact?(ot(this,"_weekdaysRegex")||xh.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(ot(this,"_weekdaysRegex")||(this._weekdaysRegex=aT),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function bT(t){return this._weekdaysParseExact?(ot(this,"_weekdaysRegex")||xh.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(ot(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=lT),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function wT(t){return this._weekdaysParseExact?(ot(this,"_weekdaysRegex")||xh.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(ot(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=cT),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function xh(){function t(h,p){return p.length-h.length}var e=[],n=[],r=[],i=[],s,a,l,c,u;for(s=0;s<7;s++)a=Nr([2e3,1]).day(s),l=ai(this.weekdaysMin(a,"")),c=ai(this.weekdaysShort(a,"")),u=ai(this.weekdays(a,"")),e.push(l),n.push(c),r.push(u),i.push(l),i.push(c),i.push(u);e.sort(t),n.sort(t),r.sort(t),i.sort(t),this._weekdaysRegex=new RegExp("^("+i.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 Sh(){return this.hours()%12||12}function CT(){return this.hours()||24}Ee("H",["HH",2],0,"hour"),Ee("h",["hh",2],0,Sh),Ee("k",["kk",2],0,CT),Ee("hmm",0,0,function(){return""+Sh.apply(this)+Ar(this.minutes(),2)}),Ee("hmmss",0,0,function(){return""+Sh.apply(this)+Ar(this.minutes(),2)+Ar(this.seconds(),2)}),Ee("Hmm",0,0,function(){return""+this.hours()+Ar(this.minutes(),2)}),Ee("Hmmss",0,0,function(){return""+this.hours()+Ar(this.minutes(),2)+Ar(this.seconds(),2)});function Om(t,e){Ee(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}Om("a",!0),Om("A",!1);function Em(t,e){return e._meridiemParse}Me("a",Em),Me("A",Em),Me("H",vt,wh),Me("h",vt,oo),Me("k",vt,oo),Me("HH",vt,Hn),Me("hh",vt,Hn),Me("kk",vt,Hn),Me("hmm",bm),Me("hmmss",wm),Me("Hmm",bm),Me("Hmmss",wm),mt(["H","HH"],Xt),mt(["k","kk"],function(t,e,n){var r=Ge(t);e[Xt]=r===24?0:r}),mt(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),mt(["h","hh"],function(t,e,n){e[Xt]=Ge(t),je(n).bigHour=!0}),mt("hmm",function(t,e,n){var r=t.length-2;e[Xt]=Ge(t.substr(0,r)),e[pr]=Ge(t.substr(r)),je(n).bigHour=!0}),mt("hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[Xt]=Ge(t.substr(0,r)),e[pr]=Ge(t.substr(r,2)),e[ci]=Ge(t.substr(i)),je(n).bigHour=!0}),mt("Hmm",function(t,e,n){var r=t.length-2;e[Xt]=Ge(t.substr(0,r)),e[pr]=Ge(t.substr(r))}),mt("Hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[Xt]=Ge(t.substr(0,r)),e[pr]=Ge(t.substr(r,2)),e[ci]=Ge(t.substr(i))});function kT(t){return(t+"").toLowerCase().charAt(0)==="p"}var vT=/[ap]\.?m?\.?/i,xT=ao("Hours",!0);function ST(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}var Lm={calendar:fM,longDateFormat:_M,invalidDate:bM,ordinal:CM,dayOfMonthOrdinalParse:kM,relativeTime:xM,months:IM,monthsShort:vm,week:QM,weekdays:sT,weekdaysMin:oT,weekdaysShort:Pm,meridiemParse:vT},Tt={},Pa={},Oa;function MT(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 $m(t){return t&&t.toLowerCase().replace("_","-")}function TT(t){for(var e=0,n,r,i,s;e<t.length;){for(s=$m(t[e]).split("-"),n=s.length,r=$m(t[e+1]),r=r?r.split("-"):null;n>0;){if(i=cc(s.slice(0,n).join("-")),i)return i;if(r&&r.length>=n&&MT(s,r)>=n-1)break;n--}e++}return Oa}function DT(t){return!!(t&&t.match("^[^/\\\\]*$"))}function cc(t){var e=null,n;if(Tt[t]===void 0&&typeof module<"u"&&module&&module.exports&&DT(t))try{e=Oa._abbr,n=require,n("./locale/"+t),Hi(e)}catch{Tt[t]=null}return Tt[t]}function Hi(t,e){var n;return t&&(vn(e)?n=ui(t):n=Mh(t,e),n?Oa=n:typeof console<"u"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Oa._abbr}function Mh(t,e){if(e!==null){var n,r=Lm;if(e.abbr=t,Tt[t]!=null)pm("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=Tt[t]._config;else if(e.parentLocale!=null)if(Tt[e.parentLocale]!=null)r=Tt[e.parentLocale]._config;else if(n=cc(e.parentLocale),n!=null)r=n._config;else return Pa[e.parentLocale]||(Pa[e.parentLocale]=[]),Pa[e.parentLocale].push({name:t,config:e}),null;return Tt[t]=new fh(hh(r,e)),Pa[t]&&Pa[t].forEach(function(i){Mh(i.name,i.config)}),Hi(t),Tt[t]}else return delete Tt[t],null}function PT(t,e){if(e!=null){var n,r,i=Lm;Tt[t]!=null&&Tt[t].parentLocale!=null?Tt[t].set(hh(Tt[t]._config,e)):(r=cc(t),r!=null&&(i=r._config),e=hh(i,e),r==null&&(e.abbr=t),n=new fh(e),n.parentLocale=Tt[t],Tt[t]=n),Hi(t)}else Tt[t]!=null&&(Tt[t].parentLocale!=null?(Tt[t]=Tt[t].parentLocale,t===Hi()&&Hi(t)):Tt[t]!=null&&delete Tt[t]);return Tt[t]}function ui(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Oa;if(!hr(t)){if(e=cc(t),e)return e;t=[t]}return TT(t)}function OT(){return ph(Tt)}function Th(t){var e,n=t._a;return n&&je(t).overflow===-2&&(e=n[li]<0||n[li]>11?li:n[Rr]<1||n[Rr]>kh(n[un],n[li])?Rr:n[Xt]<0||n[Xt]>24||n[Xt]===24&&(n[pr]!==0||n[ci]!==0||n[xs]!==0)?Xt:n[pr]<0||n[pr]>59?pr:n[ci]<0||n[ci]>59?ci:n[xs]<0||n[xs]>999?xs:-1,je(t)._overflowDayOfYear&&(e<un||e>Rr)&&(e=Rr),je(t)._overflowWeeks&&e===-1&&(e=VM),je(t)._overflowWeekday&&e===-1&&(e=NM),je(t).overflow=e),t}var ET=/^\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)?)?$/,LT=/^\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)?)?$/,$T=/Z|[+-]\d\d(?::?\d\d)?/,dc=[["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]],Dh=[["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/]],VT=/^\/?Date\((-?\d+)/i,NT=/^(?:(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}))$/,BT={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 Vm(t){var e,n,r=t._i,i=ET.exec(r)||LT.exec(r),s,a,l,c,u=dc.length,h=Dh.length;if(i){for(je(t).iso=!0,e=0,n=u;e<n;e++)if(dc[e][1].exec(i[1])){a=dc[e][0],s=dc[e][2]!==!1;break}if(a==null){t._isValid=!1;return}if(i[3]){for(e=0,n=h;e<n;e++)if(Dh[e][1].exec(i[3])){l=(i[2]||" ")+Dh[e][0];break}if(l==null){t._isValid=!1;return}}if(!s&&l!=null){t._isValid=!1;return}if(i[4])if($T.exec(i[4]))c="Z";else{t._isValid=!1;return}t._f=a+(l||"")+(c||""),Oh(t)}else t._isValid=!1}function AT(t,e,n,r,i,s){var a=[RT(t),vm.indexOf(e),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return s&&a.push(parseInt(s,10)),a}function RT(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function FT(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function IT(t,e,n){if(t){var r=Pm.indexOf(t),i=new Date(e[0],e[1],e[2]).getDay();if(r!==i)return je(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function HT(t,e,n){if(t)return BT[t];if(e)return 0;var r=parseInt(n,10),i=r%100,s=(r-i)/100;return s*60+i}function Nm(t){var e=NT.exec(FT(t._i)),n;if(e){if(n=AT(e[4],e[3],e[2],e[5],e[6],e[7]),!IT(e[1],n,t))return;t._a=n,t._tzm=HT(e[8],e[9],e[10]),t._d=Ta.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),je(t).rfc2822=!0}else t._isValid=!1}function zT(t){var e=VT.exec(t._i);if(e!==null){t._d=new Date(+e[1]);return}if(Vm(t),t._isValid===!1)delete t._isValid;else return;if(Nm(t),t._isValid===!1)delete t._isValid;else return;t._strict?t._isValid=!1:ke.createFromInputFallback(t)}ke.createFromInputFallback=Xn("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 lo(t,e,n){return t??e??n}function jT(t){var e=new Date(ke.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function Ph(t){var e,n,r=[],i,s,a;if(!t._d){for(i=jT(t),t._w&&t._a[Rr]==null&&t._a[li]==null&&YT(t),t._dayOfYear!=null&&(a=lo(t._a[un],i[un]),(t._dayOfYear>Sa(a)||t._dayOfYear===0)&&(je(t)._overflowDayOfYear=!0),n=Ta(a,0,t._dayOfYear),t._a[li]=n.getUTCMonth(),t._a[Rr]=n.getUTCDate()),e=0;e<3&&t._a[e]==null;++e)t._a[e]=r[e]=i[e];for(;e<7;e++)t._a[e]=r[e]=t._a[e]==null?e===2?1:0:t._a[e];t._a[Xt]===24&&t._a[pr]===0&&t._a[ci]===0&&t._a[xs]===0&&(t._nextDay=!0,t._a[Xt]=0),t._d=(t._useUTC?Ta:KM).apply(null,r),s=t._useUTC?t._d.getUTCDay():t._d.getDay(),t._tzm!=null&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Xt]=24),t._w&&typeof t._w.d<"u"&&t._w.d!==s&&(je(t).weekdayMismatch=!0)}}function YT(t){var e,n,r,i,s,a,l,c,u;e=t._w,e.GG!=null||e.W!=null||e.E!=null?(s=1,a=4,n=lo(e.GG,t._a[un],Da(xt(),1,4).year),r=lo(e.W,1),i=lo(e.E,1),(i<1||i>7)&&(c=!0)):(s=t._locale._week.dow,a=t._locale._week.doy,u=Da(xt(),s,a),n=lo(e.gg,t._a[un],u.year),r=lo(e.w,u.week),e.d!=null?(i=e.d,(i<0||i>6)&&(c=!0)):e.e!=null?(i=e.e+s,(e.e<0||e.e>6)&&(c=!0)):i=s),r<1||r>di(n,s,a)?je(t)._overflowWeeks=!0:c!=null?je(t)._overflowWeekday=!0:(l=Dm(n,r,i,s,a),t._a[un]=l.year,t._dayOfYear=l.dayOfYear)}ke.ISO_8601=function(){},ke.RFC_2822=function(){};function Oh(t){if(t._f===ke.ISO_8601){Vm(t);return}if(t._f===ke.RFC_2822){Nm(t);return}t._a=[],je(t).empty=!0;var e=""+t._i,n,r,i,s,a,l=e.length,c=0,u,h;for(i=mm(t._f,t._locale).match(mh)||[],h=i.length,n=0;n<h;n++)s=i[n],r=(e.match(EM(s,t))||[])[0],r&&(a=e.substr(0,e.indexOf(r)),a.length>0&&je(t).unusedInput.push(a),e=e.slice(e.indexOf(r)+r.length),c+=r.length),io[s]?(r?je(t).empty=!1:je(t).unusedTokens.push(s),$M(s,r,t)):t._strict&&!r&&je(t).unusedTokens.push(s);je(t).charsLeftOver=l-c,e.length>0&&je(t).unusedInput.push(e),t._a[Xt]<=12&&je(t).bigHour===!0&&t._a[Xt]>0&&(je(t).bigHour=void 0),je(t).parsedDateParts=t._a.slice(0),je(t).meridiem=t._meridiem,t._a[Xt]=WT(t._locale,t._a[Xt],t._meridiem),u=je(t).era,u!==null&&(t._a[un]=t._locale.erasConvertYear(u,t._a[un])),Ph(t),Th(t)}function WT(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 qT(t){var e,n,r,i,s,a,l=!1,c=t._f.length;if(c===0){je(t).invalidFormat=!0,t._d=new Date(NaN);return}for(i=0;i<c;i++)s=0,a=!1,e=uh({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[i],Oh(e),ch(e)&&(a=!0),s+=je(e).charsLeftOver,s+=je(e).unusedTokens.length*10,je(e).score=s,l?s<r&&(r=s,n=e):(r==null||s<r||a)&&(r=s,n=e,a&&(l=!0));Ii(t,n||e)}function UT(t){if(!t._d){var e=_h(t._i),n=e.day===void 0?e.date:e.day;t._a=dm([e.year,e.month,n,e.hour,e.minute,e.second,e.millisecond],function(r){return r&&parseInt(r,10)}),Ph(t)}}function ZT(t){var e=new ka(Th(Bm(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Bm(t){var e=t._i,n=t._f;return t._locale=t._locale||ui(t._l),e===null||n===void 0&&e===""?Ql({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),fr(e)?new ka(Th(e)):(Ca(e)?t._d=e:hr(n)?qT(t):n?Oh(t):GT(t),ch(t)||(t._d=null),t))}function GT(t){var e=t._i;vn(e)?t._d=new Date(ke.now()):Ca(e)?t._d=new Date(e.valueOf()):typeof e=="string"?zT(t):hr(e)?(t._a=dm(e.slice(0),function(n){return parseInt(n,10)}),Ph(t)):vs(e)?UT(t):oi(e)?t._d=new Date(e):ke.createFromInputFallback(t)}function Am(t,e,n,r,i){var s={};return(e===!0||e===!1)&&(r=e,e=void 0),(n===!0||n===!1)&&(r=n,n=void 0),(vs(t)&&ah(t)||hr(t)&&t.length===0)&&(t=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=n,s._i=t,s._f=e,s._strict=r,ZT(s)}function xt(t,e,n,r){return Am(t,e,n,r,!1)}var KT=Xn("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=xt.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:Ql()}),XT=Xn("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=xt.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:Ql()});function Rm(t,e){var n,r;if(e.length===1&&hr(e[0])&&(e=e[0]),!e.length)return xt();for(n=e[0],r=1;r<e.length;++r)(!e[r].isValid()||e[r][t](n))&&(n=e[r]);return n}function QT(){var t=[].slice.call(arguments,0);return Rm("isBefore",t)}function JT(){var t=[].slice.call(arguments,0);return Rm("isAfter",t)}var eD=function(){return Date.now?Date.now():+new Date},Ea=["year","quarter","month","week","day","hour","minute","second","millisecond"];function tD(t){var e,n=!1,r,i=Ea.length;for(e in t)if(ot(t,e)&&!(qt.call(Ea,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(r=0;r<i;++r)if(t[Ea[r]]){if(n)return!1;parseFloat(t[Ea[r]])!==Ge(t[Ea[r]])&&(n=!0)}return!0}function nD(){return this._isValid}function rD(){return mr(NaN)}function uc(t){var e=_h(t),n=e.year||0,r=e.quarter||0,i=e.month||0,s=e.week||e.isoWeek||0,a=e.day||0,l=e.hour||0,c=e.minute||0,u=e.second||0,h=e.millisecond||0;this._isValid=tD(e),this._milliseconds=+h+u*1e3+c*6e4+l*1e3*60*60,this._days=+a+s*7,this._months=+i+r*3+n*12,this._data={},this._locale=ui(),this._bubble()}function hc(t){return t instanceof uc}function Eh(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function iD(t,e,n){var r=Math.min(t.length,e.length),i=Math.abs(t.length-e.length),s=0,a;for(a=0;a<r;a++)(n&&t[a]!==e[a]||!n&&Ge(t[a])!==Ge(e[a]))&&s++;return s+i}function Fm(t,e){Ee(t,0,0,function(){var n=this.utcOffset(),r="+";return n<0&&(n=-n,r="-"),r+Ar(~~(n/60),2)+e+Ar(~~n%60,2)})}Fm("Z",":"),Fm("ZZ",""),Me("Z",sc),Me("ZZ",sc),mt(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Lh(sc,t)});var sD=/([\+\-]|\d\d)/gi;function Lh(t,e){var n=(e||"").match(t),r,i,s;return n===null?null:(r=n[n.length-1]||[],i=(r+"").match(sD)||["-",0,0],s=+(i[1]*60)+Ge(i[2]),s===0?0:i[0]==="+"?s:-s)}function $h(t,e){var n,r;return e._isUTC?(n=e.clone(),r=(fr(t)||Ca(t)?t.valueOf():xt(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),ke.updateOffset(n,!1),n):xt(t).local()}function Vh(t){return-Math.round(t._d.getTimezoneOffset())}ke.updateOffset=function(){};function oD(t,e,n){var r=this._offset||0,i;if(!this.isValid())return t!=null?this:NaN;if(t!=null){if(typeof t=="string"){if(t=Lh(sc,t),t===null)return this}else Math.abs(t)<16&&!n&&(t=t*60);return!this._isUTC&&e&&(i=Vh(this)),this._offset=t,this._isUTC=!0,i!=null&&this.add(i,"m"),r!==t&&(!e||this._changeInProgress?jm(this,mr(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,ke.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:Vh(this)}function aD(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 cD(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Vh(this),"m")),this}function dD(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=Lh(PM,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function uD(t){return this.isValid()?(t=t?xt(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function hD(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function fD(){if(!vn(this._isDSTShifted))return this._isDSTShifted;var t={},e;return uh(t,this),t=Bm(t),t._a?(e=t._isUTC?Nr(t._a):xt(t._a),this._isDSTShifted=this.isValid()&&iD(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function pD(){return this.isValid()?!this._isUTC:!1}function mD(){return this.isValid()?this._isUTC:!1}function Im(){return this.isValid()?this._isUTC&&this._offset===0:!1}var gD=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,_D=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function mr(t,e){var n=t,r=null,i,s,a;return hc(t)?n={ms:t._milliseconds,d:t._days,M:t._months}:oi(t)||!isNaN(+t)?(n={},e?n[e]=+t:n.milliseconds=+t):(r=gD.exec(t))?(i=r[1]==="-"?-1:1,n={y:0,d:Ge(r[Rr])*i,h:Ge(r[Xt])*i,m:Ge(r[pr])*i,s:Ge(r[ci])*i,ms:Ge(Eh(r[xs]*1e3))*i}):(r=_D.exec(t))?(i=r[1]==="-"?-1:1,n={y:Ss(r[2],i),M:Ss(r[3],i),w:Ss(r[4],i),d:Ss(r[5],i),h:Ss(r[6],i),m:Ss(r[7],i),s:Ss(r[8],i)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(a=yD(xt(n.from),xt(n.to)),n={},n.ms=a.milliseconds,n.M=a.months),s=new uc(n),hc(t)&&ot(t,"_locale")&&(s._locale=t._locale),hc(t)&&ot(t,"_isValid")&&(s._isValid=t._isValid),s}mr.fn=uc.prototype,mr.invalid=rD;function Ss(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Hm(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=$h(e,t),t.isBefore(e)?n=Hm(t,e):(n=Hm(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function zm(t,e){return function(n,r){var i,s;return r!==null&&!isNaN(+r)&&(pm(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."),s=n,n=r,r=s),i=mr(n,r),jm(this,i,t),this}}function jm(t,e,n,r){var i=e._milliseconds,s=Eh(e._days),a=Eh(e._months);t.isValid()&&(r=r??!0,a&&Sm(t,Ma(t,"Month")+a*n),s&&km(t,"Date",Ma(t,"Date")+s*n),i&&t._d.setTime(t._d.valueOf()+i*n),r&&ke.updateOffset(t,s||a))}var bD=zm(1,"add"),wD=zm(-1,"subtract");function Ym(t){return typeof t=="string"||t instanceof String}function CD(t){return fr(t)||Ca(t)||Ym(t)||oi(t)||vD(t)||kD(t)||t===null||t===void 0}function kD(t){var e=vs(t)&&!ah(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"],i,s,a=r.length;for(i=0;i<a;i+=1)s=r[i],n=n||ot(t,s);return e&&n}function vD(t){var e=hr(t),n=!1;return e&&(n=t.filter(function(r){return!oi(r)&&Ym(t)}).length===0),e&&n}function xD(t){var e=vs(t)&&!ah(t),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i,s;for(i=0;i<r.length;i+=1)s=r[i],n=n||ot(t,s);return e&&n}function SD(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 MD(t,e){arguments.length===1&&(arguments[0]?CD(arguments[0])?(t=arguments[0],e=void 0):xD(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||xt(),r=$h(n,this).startOf("day"),i=ke.calendarFormat(this,r)||"sameElse",s=e&&(Br(e[i])?e[i].call(this,n):e[i]);return this.format(s||this.localeData().calendar(i,this,xt(n)))}function TD(){return new ka(this)}function DD(t,e){var n=fr(t)?t:xt(t);return this.isValid()&&n.isValid()?(e=Qn(e)||"millisecond",e==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf()):!1}function PD(t,e){var n=fr(t)?t:xt(t);return this.isValid()&&n.isValid()?(e=Qn(e)||"millisecond",e==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf()):!1}function OD(t,e,n,r){var i=fr(t)?t:xt(t),s=fr(e)?e:xt(e);return this.isValid()&&i.isValid()&&s.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(i,n):!this.isBefore(i,n))&&(r[1]===")"?this.isBefore(s,n):!this.isAfter(s,n))):!1}function ED(t,e){var n=fr(t)?t:xt(t),r;return this.isValid()&&n.isValid()?(e=Qn(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 LD(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function $D(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function VD(t,e,n){var r,i,s;if(!this.isValid())return NaN;if(r=$h(t,this),!r.isValid())return NaN;switch(i=(r.utcOffset()-this.utcOffset())*6e4,e=Qn(e),e){case"year":s=fc(this,r)/12;break;case"month":s=fc(this,r);break;case"quarter":s=fc(this,r)/3;break;case"second":s=(this-r)/1e3;break;case"minute":s=(this-r)/6e4;break;case"hour":s=(this-r)/36e5;break;case"day":s=(this-r-i)/864e5;break;case"week":s=(this-r-i)/6048e5;break;default:s=this-r}return n?s:Jn(s)}function fc(t,e){if(t.date()<e.date())return-fc(e,t);var n=(e.year()-t.year())*12+(e.month()-t.month()),r=t.clone().add(n,"months"),i,s;return e-r<0?(i=t.clone().add(n-1,"months"),s=(e-r)/(r-i)):(i=t.clone().add(n+1,"months"),s=(e-r)/(i-r)),-(n+s)||0}ke.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",ke.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function ND(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function BD(t){if(!this.isValid())return null;var e=t!==!0,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?ec(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Br(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",ec(n,"Z")):ec(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function AD(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="",n,r,i,s;return this.isLocal()||(t=this.utcOffset()===0?"moment.utc":"moment.parseZone",e="Z"),n="["+t+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",s=e+'[")]',this.format(n+r+i+s)}function RD(t){t||(t=this.isUtc()?ke.defaultFormatUtc:ke.defaultFormat);var e=ec(this,t);return this.localeData().postformat(e)}function FD(t,e){return this.isValid()&&(fr(t)&&t.isValid()||xt(t).isValid())?mr({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function ID(t){return this.from(xt(),t)}function HD(t,e){return this.isValid()&&(fr(t)&&t.isValid()||xt(t).isValid())?mr({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function zD(t){return this.to(xt(),t)}function Wm(t){var e;return t===void 0?this._locale._abbr:(e=ui(t),e!=null&&(this._locale=e),this)}var qm=Xn("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 Um(){return this._locale}var pc=1e3,co=60*pc,mc=60*co,Zm=(365*400+97)*24*mc;function uo(t,e){return(t%e+e)%e}function Gm(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-Zm:new Date(t,e,n).valueOf()}function Km(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-Zm:Date.UTC(t,e,n)}function jD(t){var e,n;if(t=Qn(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Km:Gm,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-=uo(e+(this._isUTC?0:this.utcOffset()*co),mc);break;case"minute":e=this._d.valueOf(),e-=uo(e,co);break;case"second":e=this._d.valueOf(),e-=uo(e,pc);break}return this._d.setTime(e),ke.updateOffset(this,!0),this}function YD(t){var e,n;if(t=Qn(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Km:Gm,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+=mc-uo(e+(this._isUTC?0:this.utcOffset()*co),mc)-1;break;case"minute":e=this._d.valueOf(),e+=co-uo(e,co)-1;break;case"second":e=this._d.valueOf(),e+=pc-uo(e,pc)-1;break}return this._d.setTime(e),ke.updateOffset(this,!0),this}function WD(){return this._d.valueOf()-(this._offset||0)*6e4}function qD(){return Math.floor(this.valueOf()/1e3)}function UD(){return new Date(this.valueOf())}function ZD(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function GD(){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 KD(){return this.isValid()?this.toISOString():null}function XD(){return ch(this)}function QD(){return Ii({},je(this))}function JD(){return je(this).overflow}function eP(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}Ee("N",0,0,"eraAbbr"),Ee("NN",0,0,"eraAbbr"),Ee("NNN",0,0,"eraAbbr"),Ee("NNNN",0,0,"eraName"),Ee("NNNNN",0,0,"eraNarrow"),Ee("y",["y",1],"yo","eraYear"),Ee("y",["yy",2],0,"eraYear"),Ee("y",["yyy",3],0,"eraYear"),Ee("y",["yyyy",4],0,"eraYear"),Me("N",Nh),Me("NN",Nh),Me("NNN",Nh),Me("NNNN",uP),Me("NNNNN",hP),mt(["N","NN","NNN","NNNN","NNNNN"],function(t,e,n,r){var i=n._locale.erasParse(t,r,n._strict);i?je(n).era=i:je(n).invalidEra=t}),Me("y",so),Me("yy",so),Me("yyy",so),Me("yyyy",so),Me("yo",fP),mt(["y","yy","yyy","yyyy"],un),mt(["yo"],function(t,e,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[un]=n._locale.eraYearOrdinalParse(t,i):e[un]=parseInt(t,10)});function tP(t,e){var n,r,i,s=this._eras||ui("en")._eras;for(n=0,r=s.length;n<r;++n){switch(typeof s[n].since){case"string":i=ke(s[n].since).startOf("day"),s[n].since=i.valueOf();break}switch(typeof s[n].until){case"undefined":s[n].until=1/0;break;case"string":i=ke(s[n].until).startOf("day").valueOf(),s[n].until=i.valueOf();break}}return s}function nP(t,e,n){var r,i,s=this.eras(),a,l,c;for(t=t.toUpperCase(),r=0,i=s.length;r<i;++r)if(a=s[r].name.toUpperCase(),l=s[r].abbr.toUpperCase(),c=s[r].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(l===t)return s[r];break;case"NNNN":if(a===t)return s[r];break;case"NNNNN":if(c===t)return s[r];break}else if([a,l,c].indexOf(t)>=0)return s[r]}function rP(t,e){var n=t.since<=t.until?1:-1;return e===void 0?ke(t.since).year():ke(t.since).year()+(e-t.offset)*n}function iP(){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 sP(){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 oP(){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 aP(){var t,e,n,r,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t)if(n=i[t].since<=i[t].until?1:-1,r=this.clone().startOf("day").valueOf(),i[t].since<=r&&r<=i[t].until||i[t].until<=r&&r<=i[t].since)return(this.year()-ke(i[t].since).year())*n+i[t].offset;return this.year()}function lP(t){return ot(this,"_erasNameRegex")||Bh.call(this),t?this._erasNameRegex:this._erasRegex}function cP(t){return ot(this,"_erasAbbrRegex")||Bh.call(this),t?this._erasAbbrRegex:this._erasRegex}function dP(t){return ot(this,"_erasNarrowRegex")||Bh.call(this),t?this._erasNarrowRegex:this._erasRegex}function Nh(t,e){return e.erasAbbrRegex(t)}function uP(t,e){return e.erasNameRegex(t)}function hP(t,e){return e.erasNarrowRegex(t)}function fP(t,e){return e._eraYearOrdinalRegex||so}function Bh(){var t=[],e=[],n=[],r=[],i,s,a,l,c,u=this.eras();for(i=0,s=u.length;i<s;++i)a=ai(u[i].name),l=ai(u[i].abbr),c=ai(u[i].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")}Ee(0,["gg",2],0,function(){return this.weekYear()%100}),Ee(0,["GG",2],0,function(){return this.isoWeekYear()%100});function gc(t,e){Ee(0,[t,t.length],0,e)}gc("gggg","weekYear"),gc("ggggg","weekYear"),gc("GGGG","isoWeekYear"),gc("GGGGG","isoWeekYear"),Me("G",ic),Me("g",ic),Me("GG",vt,Hn),Me("gg",vt,Hn),Me("GGGG",bh,yh),Me("gggg",bh,yh),Me("GGGGG",rc,tc),Me("ggggg",rc,tc),xa(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=Ge(t)}),xa(["gg","GG"],function(t,e,n,r){e[r]=ke.parseTwoDigitYear(t)});function pP(t){return Xm.call(this,t,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function mP(t){return Xm.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function gP(){return di(this.year(),1,4)}function _P(){return di(this.isoWeekYear(),1,4)}function yP(){var t=this.localeData()._week;return di(this.year(),t.dow,t.doy)}function bP(){var t=this.localeData()._week;return di(this.weekYear(),t.dow,t.doy)}function Xm(t,e,n,r,i){var s;return t==null?Da(this,r,i).year:(s=di(t,r,i),e>s&&(e=s),wP.call(this,t,e,n,r,i))}function wP(t,e,n,r,i){var s=Dm(t,e,n,r,i),a=Ta(s.year,0,s.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}Ee("Q",0,"Qo","quarter"),Me("Q",_m),mt("Q",function(t,e){e[li]=(Ge(t)-1)*3});function CP(t){return t==null?Math.ceil((this.month()+1)/3):this.month((t-1)*3+this.month()%3)}Ee("D",["DD",2],"Do","date"),Me("D",vt,oo),Me("DD",vt,Hn),Me("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),mt(["D","DD"],Rr),mt("Do",function(t,e){e[Rr]=Ge(t.match(vt)[0])});var Qm=ao("Date",!0);Ee("DDD",["DDDD",3],"DDDo","dayOfYear"),Me("DDD",nc),Me("DDDD",ym),mt(["DDD","DDDD"],function(t,e,n){n._dayOfYear=Ge(t)});function kP(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return t==null?e:this.add(t-e,"d")}Ee("m",["mm",2],0,"minute"),Me("m",vt,wh),Me("mm",vt,Hn),mt(["m","mm"],pr);var vP=ao("Minutes",!1);Ee("s",["ss",2],0,"second"),Me("s",vt,wh),Me("ss",vt,Hn),mt(["s","ss"],ci);var xP=ao("Seconds",!1);Ee("S",0,0,function(){return~~(this.millisecond()/100)}),Ee(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Ee(0,["SSS",3],0,"millisecond"),Ee(0,["SSSS",4],0,function(){return this.millisecond()*10}),Ee(0,["SSSSS",5],0,function(){return this.millisecond()*100}),Ee(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),Ee(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),Ee(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),Ee(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),Me("S",nc,_m),Me("SS",nc,Hn),Me("SSS",nc,ym);var zi,Jm;for(zi="SSSS";zi.length<=9;zi+="S")Me(zi,so);function SP(t,e){e[xs]=Ge(("0."+t)*1e3)}for(zi="S";zi.length<=9;zi+="S")mt(zi,SP);Jm=ao("Milliseconds",!1),Ee("z",0,0,"zoneAbbr"),Ee("zz",0,0,"zoneName");function MP(){return this._isUTC?"UTC":""}function TP(){return this._isUTC?"Coordinated Universal Time":""}var ye=ka.prototype;ye.add=bD,ye.calendar=MD,ye.clone=TD,ye.diff=VD,ye.endOf=YD,ye.format=RD,ye.from=FD,ye.fromNow=ID,ye.to=HD,ye.toNow=zD,ye.get=AM,ye.invalidAt=JD,ye.isAfter=DD,ye.isBefore=PD,ye.isBetween=OD,ye.isSame=ED,ye.isSameOrAfter=LD,ye.isSameOrBefore=$D,ye.isValid=XD,ye.lang=qm,ye.locale=Wm,ye.localeData=Um,ye.max=XT,ye.min=KT,ye.parsingFlags=QD,ye.set=RM,ye.startOf=jD,ye.subtract=wD,ye.toArray=ZD,ye.toObject=GD,ye.toDate=UD,ye.toISOString=BD,ye.inspect=AD,typeof Symbol<"u"&&Symbol.for!=null&&(ye[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ye.toJSON=KD,ye.toString=ND,ye.unix=qD,ye.valueOf=WD,ye.creationData=eP,ye.eraName=iP,ye.eraNarrow=sP,ye.eraAbbr=oP,ye.eraYear=aP,ye.year=Cm,ye.isLeapYear=BM,ye.weekYear=pP,ye.isoWeekYear=mP,ye.quarter=ye.quarters=CP,ye.month=Mm,ye.daysInMonth=UM,ye.week=ye.weeks=tT,ye.isoWeek=ye.isoWeeks=nT,ye.weeksInYear=yP,ye.weeksInWeekYear=bP,ye.isoWeeksInYear=gP,ye.isoWeeksInISOWeekYear=_P,ye.date=Qm,ye.day=ye.days=mT,ye.weekday=gT,ye.isoWeekday=_T,ye.dayOfYear=kP,ye.hour=ye.hours=xT,ye.minute=ye.minutes=vP,ye.second=ye.seconds=xP,ye.millisecond=ye.milliseconds=Jm,ye.utcOffset=oD,ye.utc=lD,ye.local=cD,ye.parseZone=dD,ye.hasAlignedHourOffset=uD,ye.isDST=hD,ye.isLocal=pD,ye.isUtcOffset=mD,ye.isUtc=Im,ye.isUTC=Im,ye.zoneAbbr=MP,ye.zoneName=TP,ye.dates=Xn("dates accessor is deprecated. Use date instead.",Qm),ye.months=Xn("months accessor is deprecated. Use month instead",Mm),ye.years=Xn("years accessor is deprecated. Use year instead",Cm),ye.zone=Xn("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",aD),ye.isDSTShifted=Xn("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",fD);function DP(t){return xt(t*1e3)}function PP(){return xt.apply(null,arguments).parseZone()}function e3(t){return t}var at=fh.prototype;at.calendar=pM,at.longDateFormat=yM,at.invalidDate=wM,at.ordinal=vM,at.preparse=e3,at.postformat=e3,at.relativeTime=SM,at.pastFuture=MM,at.set=hM,at.eras=tP,at.erasParse=nP,at.erasConvertYear=rP,at.erasAbbrRegex=cP,at.erasNameRegex=lP,at.erasNarrowRegex=dP,at.months=jM,at.monthsShort=YM,at.monthsParse=qM,at.monthsRegex=GM,at.monthsShortRegex=ZM,at.week=XM,at.firstDayOfYear=eT,at.firstDayOfWeek=JM,at.weekdays=dT,at.weekdaysMin=hT,at.weekdaysShort=uT,at.weekdaysParse=pT,at.weekdaysRegex=yT,at.weekdaysShortRegex=bT,at.weekdaysMinRegex=wT,at.isPM=kT,at.meridiem=ST;function _c(t,e,n,r){var i=ui(),s=Nr().set(r,e);return i[n](s,t)}function t3(t,e,n){if(oi(t)&&(e=t,t=void 0),t=t||"",e!=null)return _c(t,e,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=_c(t,r,n,"month");return i}function Ah(t,e,n,r){typeof t=="boolean"?(oi(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,oi(e)&&(n=e,e=void 0),e=e||"");var i=ui(),s=t?i._week.dow:0,a,l=[];if(n!=null)return _c(e,(n+s)%7,r,"day");for(a=0;a<7;a++)l[a]=_c(e,(a+s)%7,r,"day");return l}function OP(t,e){return t3(t,e,"months")}function EP(t,e){return t3(t,e,"monthsShort")}function LP(t,e,n){return Ah(t,e,n,"weekdays")}function $P(t,e,n){return Ah(t,e,n,"weekdaysShort")}function VP(t,e,n){return Ah(t,e,n,"weekdaysMin")}Hi("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=Ge(t%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th";return t+n}}),ke.lang=Xn("moment.lang is deprecated. Use moment.locale instead.",Hi),ke.langData=Xn("moment.langData is deprecated. Use moment.localeData instead.",ui);var hi=Math.abs;function NP(){var t=this._data;return this._milliseconds=hi(this._milliseconds),this._days=hi(this._days),this._months=hi(this._months),t.milliseconds=hi(t.milliseconds),t.seconds=hi(t.seconds),t.minutes=hi(t.minutes),t.hours=hi(t.hours),t.months=hi(t.months),t.years=hi(t.years),this}function n3(t,e,n,r){var i=mr(e,n);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function BP(t,e){return n3(this,t,e,1)}function AP(t,e){return n3(this,t,e,-1)}function r3(t){return t<0?Math.floor(t):Math.ceil(t)}function RP(){var t=this._milliseconds,e=this._days,n=this._months,r=this._data,i,s,a,l,c;return t>=0&&e>=0&&n>=0||t<=0&&e<=0&&n<=0||(t+=r3(Rh(n)+e)*864e5,e=0,n=0),r.milliseconds=t%1e3,i=Jn(t/1e3),r.seconds=i%60,s=Jn(i/60),r.minutes=s%60,a=Jn(s/60),r.hours=a%24,e+=Jn(a/24),c=Jn(i3(e)),n+=c,e-=r3(Rh(c)),l=Jn(n/12),n%=12,r.days=e,r.months=n,r.years=l,this}function i3(t){return t*4800/146097}function Rh(t){return t*146097/4800}function FP(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if(t=Qn(t),t==="month"||t==="quarter"||t==="year")switch(e=this._days+r/864e5,n=this._months+i3(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(Rh(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 fi(t){return function(){return this.as(t)}}var s3=fi("ms"),IP=fi("s"),HP=fi("m"),zP=fi("h"),jP=fi("d"),YP=fi("w"),WP=fi("M"),qP=fi("Q"),UP=fi("y"),ZP=s3;function GP(){return mr(this)}function KP(t){return t=Qn(t),this.isValid()?this[t+"s"]():NaN}function Ms(t){return function(){return this.isValid()?this._data[t]:NaN}}var XP=Ms("milliseconds"),QP=Ms("seconds"),JP=Ms("minutes"),eO=Ms("hours"),tO=Ms("days"),nO=Ms("months"),rO=Ms("years");function iO(){return Jn(this.days()/7)}var pi=Math.round,ho={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function sO(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}function oO(t,e,n,r){var i=mr(t).abs(),s=pi(i.as("s")),a=pi(i.as("m")),l=pi(i.as("h")),c=pi(i.as("d")),u=pi(i.as("M")),h=pi(i.as("w")),p=pi(i.as("y")),g=s<=n.ss&&["s",s]||s<n.s&&["ss",s]||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&&(g=g||h<=1&&["w"]||h<n.w&&["ww",h]),g=g||u<=1&&["M"]||u<n.M&&["MM",u]||p<=1&&["y"]||["yy",p],g[2]=e,g[3]=+t>0,g[4]=r,sO.apply(null,g)}function aO(t){return t===void 0?pi:typeof t=="function"?(pi=t,!0):!1}function lO(t,e){return ho[t]===void 0?!1:e===void 0?ho[t]:(ho[t]=e,t==="s"&&(ho.ss=e-1),!0)}function cO(t,e){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=ho,i,s;return typeof t=="object"&&(e=t,t=!1),typeof t=="boolean"&&(n=t),typeof e=="object"&&(r=Object.assign({},ho,e),e.s!=null&&e.ss==null&&(r.ss=e.s-1)),i=this.localeData(),s=oO(this,!n,r,i),n&&(s=i.pastFuture(+this,s)),i.postformat(s)}var Fh=Math.abs;function fo(t){return(t>0)-(t<0)||+t}function yc(){if(!this.isValid())return this.localeData().invalidDate();var t=Fh(this._milliseconds)/1e3,e=Fh(this._days),n=Fh(this._months),r,i,s,a,l=this.asSeconds(),c,u,h,p;return l?(r=Jn(t/60),i=Jn(r/60),t%=60,r%=60,s=Jn(n/12),n%=12,a=t?t.toFixed(3).replace(/\.?0+$/,""):"",c=l<0?"-":"",u=fo(this._months)!==fo(l)?"-":"",h=fo(this._days)!==fo(l)?"-":"",p=fo(this._milliseconds)!==fo(l)?"-":"",c+"P"+(s?u+s+"Y":"")+(n?u+n+"M":"")+(e?h+e+"D":"")+(i||r||t?"T":"")+(i?p+i+"H":"")+(r?p+r+"M":"")+(t?p+a+"S":"")):"P0D"}var tt=uc.prototype;tt.isValid=nD,tt.abs=NP,tt.add=BP,tt.subtract=AP,tt.as=FP,tt.asMilliseconds=s3,tt.asSeconds=IP,tt.asMinutes=HP,tt.asHours=zP,tt.asDays=jP,tt.asWeeks=YP,tt.asMonths=WP,tt.asQuarters=qP,tt.asYears=UP,tt.valueOf=ZP,tt._bubble=RP,tt.clone=GP,tt.get=KP,tt.milliseconds=XP,tt.seconds=QP,tt.minutes=JP,tt.hours=eO,tt.days=tO,tt.weeks=iO,tt.months=nO,tt.years=rO,tt.humanize=cO,tt.toISOString=yc,tt.toString=yc,tt.toJSON=yc,tt.locale=Wm,tt.localeData=Um,tt.toIsoString=Xn("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",yc),tt.lang=qm,Ee("X",0,0,"unix"),Ee("x",0,0,"valueOf"),Me("x",ic),Me("X",OM),mt("X",function(t,e,n){n._d=new Date(parseFloat(t)*1e3)}),mt("x",function(t,e,n){n._d=new Date(Ge(t))});//! moment.js
|
|
63
|
+
ke.version="2.30.1",dM(xt),ke.fn=ye,ke.min=QT,ke.max=JT,ke.now=eD,ke.utc=Nr,ke.unix=DP,ke.months=OP,ke.isDate=Ca,ke.locale=Hi,ke.invalid=Ql,ke.duration=mr,ke.isMoment=fr,ke.weekdays=LP,ke.parseZone=PP,ke.localeData=ui,ke.isDuration=hc,ke.monthsShort=EP,ke.weekdaysMin=VP,ke.defineLocale=Mh,ke.updateLocale=PT,ke.locales=OT,ke.weekdaysShort=$P,ke.normalizeUnits=Qn,ke.relativeTimeRounding=aO,ke.relativeTimeThreshold=lO,ke.calendarFormat=SD,ke.prototype=ye,ke.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 dO={class:"calendar-dropdown"},uO={class:"calendar-dropdown__outer__left"},hO={class:"calendar-dropdown__outer__current"},fO={key:0,class:"calendar-dropdown__inner"},pO={class:"calendar-dropdown__year-switcher"},mO={class:"calendar-dropdown__year-switcher__year"},gO={class:"calendar-dropdown__months"},_O={class:"calendar-dropdown__month-container"},yO=["onClick"],o3=st({__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,i=o.useModel(t,"year"),s=o.useModel(t,"month"),a=ke.months(),l=o.ref(!1),c=()=>{l.value=!l.value},u=g=>i.value===r.currentDate.getFullYear()&&g===r.currentDate.getMonth(),h=g=>i.value<r.currentDate.getFullYear()||i.value===r.currentDate.getFullYear()&&g<r.currentDate.getMonth(),p=g=>{n("onChange",{month:g,year:i.value}),c()};return(g,w)=>(o.openBlock(),o.createElementBlock("div",dO,[o.createElementVNode("div",{class:o.normalizeClass(["calendar-dropdown__outer",{"-active":l.value}]),onClick:c},[o.createElementVNode("div",uO,[o.createVNode(o.unref(gt),{icon:"calendar"}),o.createElementVNode("span",hO,o.toDisplayString(o.unref(a)[s.value]+" "+i.value),1)]),o.createVNode(o.unref(gt),{class:o.normalizeClass(["calendar-dropdown__outer__switcher",{"-active":l.value}]),icon:"chevron-down-small"},null,8,["class"])],2),l.value?(o.openBlock(),o.createElementBlock("div",fO,[o.createElementVNode("div",pO,[o.createVNode(o.unref(zc),{size:"lg",view:"secondary",icon:"chevron-left",onClick:w[0]||(w[0]=C=>i.value--)}),o.createElementVNode("div",mO,o.toDisplayString(i.value),1),o.createVNode(o.unref(zc),{size:"lg",view:"secondary",icon:"chevron-right",onClick:w[1]||(w[1]=C=>i.value++)})]),o.createElementVNode("div",gO,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(a),(C,b)=>(o.openBlock(),o.createElementBlock("div",_O,[o.createElementVNode("div",{class:o.normalizeClass(["calendar-dropdown__month",{"-active":u(b),"-past":h(b)}]),onClick:x=>p(b)},o.toDisplayString(C),11,yO)]))),256))])])):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-97075c93"]]),bO={class:"period-dropdown"},wO={class:"period-dropdown__outer__left"},CO={class:"period-dropdown__outer__current"},kO={key:0,class:"period-dropdown__inner"},vO=["onClick"],Ts=st({__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 i.find(u=>u.id===c)}}),i=[{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"}],s=o.ref(!1),a=()=>{s.value=!s.value},l=c=>{r.value=c,n("onChange"),a()};return(c,u)=>(o.openBlock(),o.createElementBlock("div",bO,[o.createElementVNode("div",{class:o.normalizeClass(["period-dropdown__outer",{"-active":s.value}]),onClick:a},[o.createElementVNode("div",wO,[o.createVNode(o.unref(gt),{icon:"clock"}),o.createElementVNode("span",CO,o.toDisplayString(r.value.short),1)]),o.createVNode(o.unref(gt),{class:o.normalizeClass(["period-dropdown__outer__switcher",{"-active":s.value}]),icon:"chevron-down-small"},null,8,["class"])],2),s.value?(o.openBlock(),o.createElementBlock("div",kO,[(o.openBlock(),o.createElementBlock(o.Fragment,null,o.renderList(i,h=>o.createElementVNode("div",{class:o.normalizeClass(["period-dropdown__option",{"-active":h.id===r.value.id}]),onClick:p=>l(h.id)},[o.createTextVNode(o.toDisplayString(h.name)+" ",1),h.id===r.value.id?(o.openBlock(),o.createBlock(o.unref(gt),{key:0,icon:"checked"})):o.createCommentVNode("",!0)],10,vO)),64))])):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-76a97d26"]]),xO={class:"progress-line-container"},SO={class:"progress-line"},MO={class:"progress-line__part"},TO={class:"progress-digits"},DO={class:"progress-digits__value"},PO={class:"progress-digits__value"},OO={class:"progress-digits__value"},a3=st({__name:"ProgressLine",props:{drawdown:Number,profit:Number,currentProfit:Number,isPercentage:Boolean},setup(t){const e=t,n=o.computed(()=>e.currentProfit>0?pn(e.currentProfit/e.profit*100):e.currentProfit<0?pn(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,u=25*(l+1);return n.value>u?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}},i=a=>{const l=e.currentProfit>0?a-1:a;return a===5?e.currentProfit!==0:r(l)===100},s=o.computed(()=>Math.abs(n.value)>100?n.value<0?"0%":"100%":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",xO,[o.createElementVNode("div",{class:"progress-badge",style:o.normalizeStyle({left:s.value})},o.toDisplayString(n.value)+"% finished",5),o.createElementVNode("div",SO,[(o.openBlock(),o.createElementBlock(o.Fragment,null,o.renderList(9,c=>o.createElementVNode("div",MO,[o.createElementVNode("div",{class:o.normalizeClass(["progress-line__dot",{"-positive":i(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",TO,[o.createElementVNode("div",DO,"-"+o.toDisplayString(o.unref(Hr)(t.drawdown,{isPercentage:t.isPercentage,isFixed:!0})),1),o.createElementVNode("div",PO,o.toDisplayString(o.unref(Hr)(0,{isPercentage:t.isPercentage,isFixed:!0})),1),o.createElementVNode("div",OO," +"+o.toDisplayString(o.unref(Hr)(t.profit,{isPercentage:t.isPercentage,isFixed:!0})),1)])]))}},[["__scopeId","data-v-44f0a07a"]]),EO={class:"widget-chips__text"},bc=st({__name:"WidgetChips",props:{delta:Number,isHidden:Boolean,percentage:Boolean,isNegative:Boolean,isPositive:Boolean},setup(t){const e=t,n=o.computed(()=>e.isHidden?"****":Math.abs(e.delta)+(e.percentage?"%":""));return(r,i)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["widget-chips",t.delta>0&&!t.isNegative||t.isPositive?"-positive":"-negative"])},[o.createVNode(o.unref(gt),{icon:"bxs_up-arrow",class:"widget-chips__icon"}),o.createElementVNode("div",EO,o.toDisplayString(n.value),1)],2))}},[["__scopeId","data-v-1b121ea0"]]);/*! js-cookie v3.0.5 | MIT */function wc(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 LO={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 Ih(t,e){function n(i,s,a){if(!(typeof document>"u")){a=wc({},e,a),typeof a.expires=="number"&&(a.expires=new Date(Date.now()+a.expires*864e5)),a.expires&&(a.expires=a.expires.toUTCString()),i=encodeURIComponent(i).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=i+"="+t.write(s,i)+l}}function r(i){if(!(typeof document>"u"||arguments.length&&!i)){for(var s=document.cookie?document.cookie.split("; "):[],a={},l=0;l<s.length;l++){var c=s[l].split("="),u=c.slice(1).join("=");try{var h=decodeURIComponent(c[0]);if(a[h]=t.read(u,h),i===h)break}catch{}}return i?a[i]:a}}return Object.create({set:n,get:r,remove:function(i,s){n(i,"",wc({},s,{expires:-1}))},withAttributes:function(i){return Ih(this.converter,wc({},this.attributes,i))},withConverter:function(i){return Ih(wc({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var po=Ih(LO,{path:"/"});class zn{static setItem(e,n,r=Date.now()+31449600){po.set(e,n,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io",expires:new Date(r*1e3),secure:!0,sameSite:"strict"})}static getItem(e){return po.get(e)}static removeItem(e){po.remove(e,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io"})}static clear(){const e=Object.keys(po.get());for(const n of e)po.remove(n,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io"})}static getAll(){return po.get()}}function l3(t,e){return function(){return t.apply(e,arguments)}}const{toString:$O}=Object.prototype,{getPrototypeOf:Hh}=Object,Cc=(t=>e=>{const n=$O.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Fr=t=>(t=t.toLowerCase(),e=>Cc(e)===t),kc=t=>e=>typeof e===t,{isArray:mo}=Array,La=kc("undefined");function VO(t){return t!==null&&!La(t)&&t.constructor!==null&&!La(t.constructor)&&er(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const c3=Fr("ArrayBuffer");function NO(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&c3(t.buffer),e}const BO=kc("string"),er=kc("function"),d3=kc("number"),vc=t=>t!==null&&typeof t=="object",AO=t=>t===!0||t===!1,xc=t=>{if(Cc(t)!=="object")return!1;const e=Hh(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},RO=Fr("Date"),FO=Fr("File"),IO=Fr("Blob"),HO=Fr("FileList"),zO=t=>vc(t)&&er(t.pipe),jO=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||er(t.append)&&((e=Cc(t))==="formdata"||e==="object"&&er(t.toString)&&t.toString()==="[object FormData]"))},YO=Fr("URLSearchParams"),WO=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function $a(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,i;if(typeof t!="object"&&(t=[t]),mo(t))for(r=0,i=t.length;r<i;r++)e.call(null,t[r],r,t);else{const s=n?Object.getOwnPropertyNames(t):Object.keys(t),a=s.length;let l;for(r=0;r<a;r++)l=s[r],e.call(null,t[l],l,t)}}function u3(t,e){e=e.toLowerCase();const n=Object.keys(t);let r=n.length,i;for(;r-- >0;)if(i=n[r],e===i.toLowerCase())return i;return null}const h3=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,f3=t=>!La(t)&&t!==h3;function zh(){const{caseless:t}=f3(this)&&this||{},e={},n=(r,i)=>{const s=t&&u3(e,i)||i;xc(e[s])&&xc(r)?e[s]=zh(e[s],r):xc(r)?e[s]=zh({},r):mo(r)?e[s]=r.slice():e[s]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&$a(arguments[r],n);return e}const qO=(t,e,n,{allOwnKeys:r}={})=>($a(e,(i,s)=>{n&&er(i)?t[s]=l3(i,n):t[s]=i},{allOwnKeys:r}),t),UO=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),ZO=(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)},GO=(t,e,n,r)=>{let i,s,a;const l={};if(e=e||{},t==null)return e;do{for(i=Object.getOwnPropertyNames(t),s=i.length;s-- >0;)a=i[s],(!r||r(a,t,e))&&!l[a]&&(e[a]=t[a],l[a]=!0);t=n!==!1&&Hh(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},KO=(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},XO=t=>{if(!t)return null;if(mo(t))return t;let e=t.length;if(!d3(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},QO=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Hh(Uint8Array)),JO=(t,e)=>{const r=(t&&t[Symbol.iterator]).call(t);let i;for(;(i=r.next())&&!i.done;){const s=i.value;e.call(t,s[0],s[1])}},eE=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},tE=Fr("HTMLFormElement"),nE=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),p3=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),rE=Fr("RegExp"),m3=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};$a(n,(i,s)=>{let a;(a=e(i,s,t))!==!1&&(r[s]=a||i)}),Object.defineProperties(t,r)},iE=t=>{m3(t,(e,n)=>{if(er(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(er(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+"'")})}})},sE=(t,e)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return mo(t)?r(t):r(String(t).split(e)),n},oE=()=>{},aE=(t,e)=>(t=+t,Number.isFinite(t)?t:e),jh="abcdefghijklmnopqrstuvwxyz",g3="0123456789",_3={DIGIT:g3,ALPHA:jh,ALPHA_DIGIT:jh+jh.toUpperCase()+g3},lE=(t=16,e=_3.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n};function cE(t){return!!(t&&er(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const dE=t=>{const e=new Array(10),n=(r,i)=>{if(vc(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[i]=r;const s=mo(r)?[]:{};return $a(r,(a,l)=>{const c=n(a,i+1);!La(c)&&(s[l]=c)}),e[i]=void 0,s}}return r};return n(t,0)},uE=Fr("AsyncFunction"),ae={isArray:mo,isArrayBuffer:c3,isBuffer:VO,isFormData:jO,isArrayBufferView:NO,isString:BO,isNumber:d3,isBoolean:AO,isObject:vc,isPlainObject:xc,isUndefined:La,isDate:RO,isFile:FO,isBlob:IO,isRegExp:rE,isFunction:er,isStream:zO,isURLSearchParams:YO,isTypedArray:QO,isFileList:HO,forEach:$a,merge:zh,extend:qO,trim:WO,stripBOM:UO,inherits:ZO,toFlatObject:GO,kindOf:Cc,kindOfTest:Fr,endsWith:KO,toArray:XO,forEachEntry:JO,matchAll:eE,isHTMLForm:tE,hasOwnProperty:p3,hasOwnProp:p3,reduceDescriptors:m3,freezeMethods:iE,toObjectSet:sE,toCamelCase:nE,noop:oE,toFiniteNumber:aE,findKey:u3,global:h3,isContextDefined:f3,ALPHABET:_3,generateString:lE,isSpecCompliantForm:cE,toJSONObject:dE,isAsyncFn:uE,isThenable:t=>t&&(vc(t)||er(t))&&er(t.then)&&er(t.catch)};function nt(t,e,n,r,i){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),i&&(this.response=i)}ae.inherits(nt,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:ae.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const y3=nt.prototype,b3={};["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=>{b3[t]={value:t}}),Object.defineProperties(nt,b3),Object.defineProperty(y3,"isAxiosError",{value:!0}),nt.from=(t,e,n,r,i,s)=>{const a=Object.create(y3);return ae.toFlatObject(t,a,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),nt.call(a,t.message,e,n,r,i),a.cause=t,a.name=t.name,s&&Object.assign(a,s),a};const hE=null;function Yh(t){return ae.isPlainObject(t)||ae.isArray(t)}function w3(t){return ae.endsWith(t,"[]")?t.slice(0,-2):t}function C3(t,e,n){return t?t.concat(e).map(function(i,s){return i=w3(i),!n&&s?"["+i+"]":i}).join(n?".":""):e}function fE(t){return ae.isArray(t)&&!t.some(Yh)}const pE=ae.toFlatObject(ae,{},null,function(e){return/^is[A-Z]/.test(e)});function Sc(t,e,n){if(!ae.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=ae.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,x){return!ae.isUndefined(x[b])});const r=n.metaTokens,i=n.visitor||h,s=n.dots,a=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&ae.isSpecCompliantForm(e);if(!ae.isFunction(i))throw new TypeError("visitor must be a function");function u(C){if(C===null)return"";if(ae.isDate(C))return C.toISOString();if(!c&&ae.isBlob(C))throw new nt("Blob is not supported. Use a Buffer instead.");return ae.isArrayBuffer(C)||ae.isTypedArray(C)?c&&typeof Blob=="function"?new Blob([C]):Buffer.from(C):C}function h(C,b,x){let M=C;if(C&&!x&&typeof C=="object"){if(ae.endsWith(b,"{}"))b=r?b:b.slice(0,-2),C=JSON.stringify(C);else if(ae.isArray(C)&&fE(C)||(ae.isFileList(C)||ae.endsWith(b,"[]"))&&(M=ae.toArray(C)))return b=w3(b),M.forEach(function(P,$){!(ae.isUndefined(P)||P===null)&&e.append(a===!0?C3([b],$,s):a===null?b:b+"[]",u(P))}),!1}return Yh(C)?!0:(e.append(C3(x,b,s),u(C)),!1)}const p=[],g=Object.assign(pE,{defaultVisitor:h,convertValue:u,isVisitable:Yh});function w(C,b){if(!ae.isUndefined(C)){if(p.indexOf(C)!==-1)throw Error("Circular reference detected in "+b.join("."));p.push(C),ae.forEach(C,function(M,L){(!(ae.isUndefined(M)||M===null)&&i.call(e,M,ae.isString(L)?L.trim():L,b,g))===!0&&w(M,b?b.concat(L):[L])}),p.pop()}}if(!ae.isObject(t))throw new TypeError("data must be an object");return w(t),e}function k3(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function Wh(t,e){this._pairs=[],t&&Sc(t,this,e)}const v3=Wh.prototype;v3.append=function(e,n){this._pairs.push([e,n])},v3.toString=function(e){const n=e?function(r){return e.call(this,r,k3)}:k3;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function mE(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function x3(t,e,n){if(!e)return t;const r=n&&n.encode||mE,i=n&&n.serialize;let s;if(i?s=i(e,n):s=ae.isURLSearchParams(e)?e.toString():new Wh(e,n).toString(r),s){const a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t}class S3{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){ae.forEach(this.handlers,function(r){r!==null&&e(r)})}}const M3={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},gE={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Wh,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},T3=typeof window<"u"&&typeof document<"u",_E=(t=>T3&&["ReactNative","NativeScript","NS"].indexOf(t)<0)(typeof navigator<"u"&&navigator.product),yE=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Ir={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:T3,hasStandardBrowserEnv:_E,hasStandardBrowserWebWorkerEnv:yE},Symbol.toStringTag,{value:"Module"})),...gE};function bE(t,e){return Sc(t,new Ir.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,s){return Ir.isNode&&ae.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},e))}function wE(t){return ae.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function CE(t){const e={},n=Object.keys(t);let r;const i=n.length;let s;for(r=0;r<i;r++)s=n[r],e[s]=t[s];return e}function D3(t){function e(n,r,i,s){let a=n[s++];if(a==="__proto__")return!0;const l=Number.isFinite(+a),c=s>=n.length;return a=!a&&ae.isArray(i)?i.length:a,c?(ae.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!l):((!i[a]||!ae.isObject(i[a]))&&(i[a]=[]),e(n,r,i[a],s)&&ae.isArray(i[a])&&(i[a]=CE(i[a])),!l)}if(ae.isFormData(t)&&ae.isFunction(t.entries)){const n={};return ae.forEachEntry(t,(r,i)=>{e(wE(r),i,n,0)}),n}return null}function kE(t,e,n){if(ae.isString(t))try{return(e||JSON.parse)(t),ae.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}const qh={transitional:M3,adapter:["xhr","http"],transformRequest:[function(e,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,s=ae.isObject(e);if(s&&ae.isHTMLForm(e)&&(e=new FormData(e)),ae.isFormData(e))return i?JSON.stringify(D3(e)):e;if(ae.isArrayBuffer(e)||ae.isBuffer(e)||ae.isStream(e)||ae.isFile(e)||ae.isBlob(e))return e;if(ae.isArrayBufferView(e))return e.buffer;if(ae.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let l;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return bE(e,this.formSerializer).toString();if((l=ae.isFileList(e))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Sc(l?{"files[]":e}:e,c&&new c,this.formSerializer)}}return s||i?(n.setContentType("application/json",!1),kE(e)):e}],transformResponse:[function(e){const n=this.transitional||qh.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(e&&ae.isString(e)&&(r&&!this.responseType||i)){const a=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(l){if(a)throw l.name==="SyntaxError"?nt.from(l,nt.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}}};ae.forEach(["delete","get","head","post","put","patch"],t=>{qh.headers[t]={}});const Uh=qh,vE=ae.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"]),xE=t=>{const e={};let n,r,i;return t&&t.split(`
|
|
64
|
+
`).forEach(function(a){i=a.indexOf(":"),n=a.substring(0,i).trim().toLowerCase(),r=a.substring(i+1).trim(),!(!n||e[n]&&vE[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},P3=Symbol("internals");function Va(t){return t&&String(t).trim().toLowerCase()}function Mc(t){return t===!1||t==null?t:ae.isArray(t)?t.map(Mc):String(t)}function SE(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 ME=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Zh(t,e,n,r,i){if(ae.isFunction(r))return r.call(this,e,n);if(i&&(e=n),!!ae.isString(e)){if(ae.isString(r))return e.indexOf(r)!==-1;if(ae.isRegExp(r))return r.test(e)}}function TE(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function DE(t,e){const n=ae.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(i,s,a){return this[r].call(this,e,i,s,a)},configurable:!0})})}class Tc{constructor(e){e&&this.set(e)}set(e,n,r){const i=this;function s(l,c,u){const h=Va(c);if(!h)throw new Error("header name must be a non-empty string");const p=ae.findKey(i,h);(!p||i[p]===void 0||u===!0||u===void 0&&i[p]!==!1)&&(i[p||c]=Mc(l))}const a=(l,c)=>ae.forEach(l,(u,h)=>s(u,h,c));return ae.isPlainObject(e)||e instanceof this.constructor?a(e,n):ae.isString(e)&&(e=e.trim())&&!ME(e)?a(xE(e),n):e!=null&&s(n,e,r),this}get(e,n){if(e=Va(e),e){const r=ae.findKey(this,e);if(r){const i=this[r];if(!n)return i;if(n===!0)return SE(i);if(ae.isFunction(n))return n.call(this,i,r);if(ae.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Va(e),e){const r=ae.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||Zh(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let i=!1;function s(a){if(a=Va(a),a){const l=ae.findKey(r,a);l&&(!n||Zh(r,r[l],l,n))&&(delete r[l],i=!0)}}return ae.isArray(e)?e.forEach(s):s(e),i}clear(e){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const s=n[r];(!e||Zh(this,this[s],s,e,!0))&&(delete this[s],i=!0)}return i}normalize(e){const n=this,r={};return ae.forEach(this,(i,s)=>{const a=ae.findKey(r,s);if(a){n[a]=Mc(i),delete n[s];return}const l=e?TE(s):String(s).trim();l!==s&&delete n[s],n[l]=Mc(i),r[l]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return ae.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=e&&ae.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(`
|
|
65
|
+
`)}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(i=>r.set(i)),r}static accessor(e){const r=(this[P3]=this[P3]={accessors:{}}).accessors,i=this.prototype;function s(a){const l=Va(a);r[l]||(DE(i,a),r[l]=!0)}return ae.isArray(e)?e.forEach(s):s(e),this}}Tc.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ae.reduceDescriptors(Tc.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}}),ae.freezeMethods(Tc);const mi=Tc;function Gh(t,e){const n=this||Uh,r=e||n,i=mi.from(r.headers);let s=r.data;return ae.forEach(t,function(l){s=l.call(n,s,i.normalize(),e?e.status:void 0)}),i.normalize(),s}function O3(t){return!!(t&&t.__CANCEL__)}function Na(t,e,n){nt.call(this,t??"canceled",nt.ERR_CANCELED,e,n),this.name="CanceledError"}ae.inherits(Na,nt,{__CANCEL__:!0});function PE(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new nt("Request failed with status code "+n.status,[nt.ERR_BAD_REQUEST,nt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const OE=Ir.hasStandardBrowserEnv?{write(t,e,n,r,i,s){const a=[t+"="+encodeURIComponent(e)];ae.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),ae.isString(r)&&a.push("path="+r),ae.isString(i)&&a.push("domain="+i),s===!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 EE(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function LE(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function E3(t,e){return t&&!EE(e)?LE(t,e):e}const $E=Ir.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(s){let a=s;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=i(window.location.href),function(a){const l=ae.isString(a)?i(a):a;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}();function VE(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function NE(t,e){t=t||10;const n=new Array(t),r=new Array(t);let i=0,s=0,a;return e=e!==void 0?e:1e3,function(c){const u=Date.now(),h=r[s];a||(a=u),n[i]=c,r[i]=u;let p=s,g=0;for(;p!==i;)g+=n[p++],p=p%t;if(i=(i+1)%t,i===s&&(s=(s+1)%t),u-a<e)return;const w=h&&u-h;return w?Math.round(g*1e3/w):void 0}}function L3(t,e){let n=0;const r=NE(50,250);return i=>{const s=i.loaded,a=i.lengthComputable?i.total:void 0,l=s-n,c=r(l),u=s<=a;n=s;const h={loaded:s,total:a,progress:a?s/a:void 0,bytes:l,rate:c||void 0,estimated:c&&a&&u?(a-s)/c:void 0,event:i};h[e?"download":"upload"]=!0,t(h)}}const Kh={http:hE,xhr:typeof XMLHttpRequest<"u"&&function(t){return new Promise(function(n,r){let i=t.data;const s=mi.from(t.headers).normalize();let{responseType:a,withXSRFToken:l}=t,c;function u(){t.cancelToken&&t.cancelToken.unsubscribe(c),t.signal&&t.signal.removeEventListener("abort",c)}let h;if(ae.isFormData(i)){if(Ir.hasStandardBrowserEnv||Ir.hasStandardBrowserWebWorkerEnv)s.setContentType(!1);else if((h=s.getContentType())!==!1){const[b,...x]=h?h.split(";").map(M=>M.trim()).filter(Boolean):[];s.setContentType([b||"multipart/form-data",...x].join("; "))}}let p=new XMLHttpRequest;if(t.auth){const b=t.auth.username||"",x=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";s.set("Authorization","Basic "+btoa(b+":"+x))}const g=E3(t.baseURL,t.url);p.open(t.method.toUpperCase(),x3(g,t.params,t.paramsSerializer),!0),p.timeout=t.timeout;function w(){if(!p)return;const b=mi.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders()),M={data:!a||a==="text"||a==="json"?p.responseText:p.response,status:p.status,statusText:p.statusText,headers:b,config:t,request:p};PE(function(P){n(P),u()},function(P){r(P),u()},M),p=null}if("onloadend"in p?p.onloadend=w:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(w)},p.onabort=function(){p&&(r(new nt("Request aborted",nt.ECONNABORTED,t,p)),p=null)},p.onerror=function(){r(new nt("Network Error",nt.ERR_NETWORK,t,p)),p=null},p.ontimeout=function(){let x=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const M=t.transitional||M3;t.timeoutErrorMessage&&(x=t.timeoutErrorMessage),r(new nt(x,M.clarifyTimeoutError?nt.ETIMEDOUT:nt.ECONNABORTED,t,p)),p=null},Ir.hasStandardBrowserEnv&&(l&&ae.isFunction(l)&&(l=l(t)),l||l!==!1&&$E(g))){const b=t.xsrfHeaderName&&t.xsrfCookieName&&OE.read(t.xsrfCookieName);b&&s.set(t.xsrfHeaderName,b)}i===void 0&&s.setContentType(null),"setRequestHeader"in p&&ae.forEach(s.toJSON(),function(x,M){p.setRequestHeader(M,x)}),ae.isUndefined(t.withCredentials)||(p.withCredentials=!!t.withCredentials),a&&a!=="json"&&(p.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&p.addEventListener("progress",L3(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&p.upload&&p.upload.addEventListener("progress",L3(t.onUploadProgress)),(t.cancelToken||t.signal)&&(c=b=>{p&&(r(!b||b.type?new Na(null,t,p):b),p.abort(),p=null)},t.cancelToken&&t.cancelToken.subscribe(c),t.signal&&(t.signal.aborted?c():t.signal.addEventListener("abort",c)));const C=VE(g);if(C&&Ir.protocols.indexOf(C)===-1){r(new nt("Unsupported protocol "+C+":",nt.ERR_BAD_REQUEST,t));return}p.send(i||null)})}};ae.forEach(Kh,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const $3=t=>`- ${t}`,BE=t=>ae.isFunction(t)||t===null||t===!1,V3={getAdapter:t=>{t=ae.isArray(t)?t:[t];const{length:e}=t;let n,r;const i={};for(let s=0;s<e;s++){n=t[s];let a;if(r=n,!BE(n)&&(r=Kh[(a=String(n)).toLowerCase()],r===void 0))throw new nt(`Unknown adapter '${a}'`);if(r)break;i[a||"#"+s]=r}if(!r){const s=Object.entries(i).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=e?s.length>1?`since :
|
|
66
|
+
`+s.map($3).join(`
|
|
67
|
+
`):" "+$3(s[0]):"as no adapter specified";throw new nt("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:Kh};function Xh(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Na(null,t)}function N3(t){return Xh(t),t.headers=mi.from(t.headers),t.data=Gh.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),V3.getAdapter(t.adapter||Uh.adapter)(t).then(function(r){return Xh(t),r.data=Gh.call(t,t.transformResponse,r),r.headers=mi.from(r.headers),r},function(r){return O3(r)||(Xh(t),r&&r.response&&(r.response.data=Gh.call(t,t.transformResponse,r.response),r.response.headers=mi.from(r.response.headers))),Promise.reject(r)})}const B3=t=>t instanceof mi?{...t}:t;function go(t,e){e=e||{};const n={};function r(u,h,p){return ae.isPlainObject(u)&&ae.isPlainObject(h)?ae.merge.call({caseless:p},u,h):ae.isPlainObject(h)?ae.merge({},h):ae.isArray(h)?h.slice():h}function i(u,h,p){if(ae.isUndefined(h)){if(!ae.isUndefined(u))return r(void 0,u,p)}else return r(u,h,p)}function s(u,h){if(!ae.isUndefined(h))return r(void 0,h)}function a(u,h){if(ae.isUndefined(h)){if(!ae.isUndefined(u))return r(void 0,u)}else return r(void 0,h)}function l(u,h,p){if(p in e)return r(u,h);if(p in t)return r(void 0,u)}const c={url:s,method:s,data:s,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:(u,h)=>i(B3(u),B3(h),!0)};return ae.forEach(Object.keys(Object.assign({},t,e)),function(h){const p=c[h]||i,g=p(t[h],e[h],h);ae.isUndefined(g)&&p!==l||(n[h]=g)}),n}const A3="1.6.8",Qh={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Qh[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const R3={};Qh.transitional=function(e,n,r){function i(s,a){return"[Axios v"+A3+"] Transitional option '"+s+"'"+a+(r?". "+r:"")}return(s,a,l)=>{if(e===!1)throw new nt(i(a," has been removed"+(n?" in "+n:"")),nt.ERR_DEPRECATED);return n&&!R3[a]&&(R3[a]=!0,console.warn(i(a," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(s,a,l):!0}};function AE(t,e,n){if(typeof t!="object")throw new nt("options must be an object",nt.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let i=r.length;for(;i-- >0;){const s=r[i],a=e[s];if(a){const l=t[s],c=l===void 0||a(l,s,t);if(c!==!0)throw new nt("option "+s+" must be "+c,nt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new nt("Unknown option "+s,nt.ERR_BAD_OPTION)}}const Jh={assertOptions:AE,validators:Qh},ji=Jh.validators;class Dc{constructor(e){this.defaults=e,this.interceptors={request:new S3,response:new S3}}async request(e,n){try{return await this._request(e,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const s=i.stack?i.stack.replace(/^.+\n/,""):"";r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
|
68
|
+
`+s):r.stack=s}throw r}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=go(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:s}=n;r!==void 0&&Jh.assertOptions(r,{silentJSONParsing:ji.transitional(ji.boolean),forcedJSONParsing:ji.transitional(ji.boolean),clarifyTimeoutError:ji.transitional(ji.boolean)},!1),i!=null&&(ae.isFunction(i)?n.paramsSerializer={serialize:i}:Jh.assertOptions(i,{encode:ji.function,serialize:ji.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=s&&ae.merge(s.common,s[n.method]);s&&ae.forEach(["delete","get","head","post","put","patch","common"],C=>{delete s[C]}),n.headers=mi.concat(a,s);const l=[];let c=!0;this.interceptors.request.forEach(function(b){typeof b.runWhen=="function"&&b.runWhen(n)===!1||(c=c&&b.synchronous,l.unshift(b.fulfilled,b.rejected))});const u=[];this.interceptors.response.forEach(function(b){u.push(b.fulfilled,b.rejected)});let h,p=0,g;if(!c){const C=[N3.bind(this),void 0];for(C.unshift.apply(C,l),C.push.apply(C,u),g=C.length,h=Promise.resolve(n);p<g;)h=h.then(C[p++],C[p++]);return h}g=l.length;let w=n;for(p=0;p<g;){const C=l[p++],b=l[p++];try{w=C(w)}catch(x){b.call(this,x);break}}try{h=N3.call(this,w)}catch(C){return Promise.reject(C)}for(p=0,g=u.length;p<g;)h=h.then(u[p++],u[p++]);return h}getUri(e){e=go(this.defaults,e);const n=E3(e.baseURL,e.url);return x3(n,e.params,e.paramsSerializer)}}ae.forEach(["delete","get","head","options"],function(e){Dc.prototype[e]=function(n,r){return this.request(go(r||{},{method:e,url:n,data:(r||{}).data}))}}),ae.forEach(["post","put","patch"],function(e){function n(r){return function(s,a,l){return this.request(go(l||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:a}))}}Dc.prototype[e]=n(),Dc.prototype[e+"Form"]=n(!0)});const Pc=Dc;class e1{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(i=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](i);r._listeners=null}),this.promise.then=i=>{let s;const a=new Promise(l=>{r.subscribe(l),s=l}).then(i);return a.cancel=function(){r.unsubscribe(s)},a},e(function(s,a,l){r.reason||(r.reason=new Na(s,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 e1(function(i){e=i}),cancel:e}}}const RE=e1;function FE(t){return function(n){return t.apply(null,n)}}function IE(t){return ae.isObject(t)&&t.isAxiosError===!0}const t1={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(t1).forEach(([t,e])=>{t1[e]=t});const HE=t1;function F3(t){const e=new Pc(t),n=l3(Pc.prototype.request,e);return ae.extend(n,Pc.prototype,e,{allOwnKeys:!0}),ae.extend(n,e,null,{allOwnKeys:!0}),n.create=function(i){return F3(go(t,i))},n}const Rt=F3(Uh);Rt.Axios=Pc,Rt.CanceledError=Na,Rt.CancelToken=RE,Rt.isCancel=O3,Rt.VERSION=A3,Rt.toFormData=Sc,Rt.AxiosError=nt,Rt.Cancel=Rt.CanceledError,Rt.all=function(e){return Promise.all(e)},Rt.spread=FE,Rt.isAxiosError=IE,Rt.mergeConfig=go,Rt.AxiosHeaders=mi,Rt.formToJSON=t=>D3(ae.isHTMLForm(t)?new FormData(t):t),Rt.getAdapter=V3.getAdapter,Rt.HttpStatusCode=HE,Rt.default=Rt;const Oc=Rt.create({baseURL:"https://api.scope360.io/"}),zE=async()=>{try{const t=zn.getItem("refresh_token");if(!t)throw new Error("No refresh token available");const e=await Rt.post("https://api.scope360.io/refresh",{},{headers:{Authorization:"Bearer "+t}}),{access_token:n,access_expired:r,refresh_expired:i,refresh_token:s}=e.data;return zn.setItem("access_token",n,r),zn.setItem("refresh_token",s,i),n}catch(t){if(console.error("Error refreshing access token:",t),zn.removeItem("access_token"),zn.removeItem("refresh_token"),zn.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}},jE=t=>zn.getItem("isOAuth")?t:"Bearer "+t;Oc.interceptors.request.use(async t=>{const e=zn.getItem("access_token");return t.headers={Accept:"application/json"},zn.getItem("access_token")&&(t.headers.Authorization=jE(e)),t},t=>{Promise.reject(t)}),Oc.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 zE();return Rt.defaults.headers.common.Authorization="Bearer "+n,Oc(e)}else return Promise.reject(t)}catch{if(zn.removeItem("access_token"),zn.removeItem("refresh_token"),zn.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 YE={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"};function pn(t,e=2){return isNaN(+t)?0:Math.floor(+t*10**e)/10**e}function n1(t){let e=t.toString().split(".");return e[0]=e[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),e.join(".")}function WE(t){return t.reduce((e,n,r)=>r===0?`key=${encodeURIComponent(n.id)}`:e+`&key=${encodeURIComponent(n.id)}`,"")}function qE(t){return new Date(t).getFullYear()}function Ec(t){return t.toString().padStart(2,"0")}function I3(t){const e=new Date(t);return`${Ec(e.getDate())} ${H3(e)}, ${e.getFullYear()}, ${Ec(e.getHours())}:${Ec(e.getMinutes())}:${Ec(e.getSeconds())}`}function H3(t){return["January","February","March","April","May","June","July","August","September","October","November","December"][new Date(t).getMonth()]}function UE(t){return new Date(t).getDate()}function r1(t){return["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"][new Date(t).getDay()]}const Hr=(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=pn(r)),e.isPercentage?`${n}${r}%`:`${n}$${r}`};function ZE(t,e){const n=+new Date(e)-+new Date(t),r=Math.floor(n/(1e3*60*60*24)),i=Math.floor(n%(1e3*60*60*24)/(1e3*60*60)),s=Math.floor(n%(1e3*60*60)/(1e3*60)),a=Math.floor(n%(1e3*60)/1e3);if(r>0)return`${r} d`;if(i>0)return`${i} h`;if(s>0)return`${s} m`;if(a>0)return`${a} s`}function z3(t){const e=/^(\w{2,4})(.*)(BTC|ETH|USDT|USD|USDC)$/,n=t.match(e);if(n){const r=n[1],i=n[3];return r===""||i===""?t:`${r}/${i}`}else return t}const GE=(t,e,n,r={},i)=>{const s=o.h(t,e,r),a=document.createElement("div");return a.setAttribute("id",i||""),n.appendChild(a),o.render(s,a),s.component},KE={type:"info",textOnClose:"Dismiss",duration:5e3,hideOnRouteChange:!0},Lc=t=>{if(!(t!=null&&t.message))return;const e={...KE,...t},n=GE(U0,e,document.body,void 0,"toast"),r=()=>{var i,s,a;(a=(s=(i=n==null?void 0:n.refs)==null?void 0:i.toast)==null?void 0:s.parentElement)==null||a.remove()};if(setTimeout(r,e.duration),e!=null&&e.hideOnRouteChange){const i=o.watch(()=>window.location.href,()=>{r(),i()})}return{dismiss:r}},XE=(t,e)=>Lc({...e,message:t,type:"success"}),QE=(t,e)=>Lc({...e,message:t,type:"error"}),JE=(t,e)=>Lc({...e,message:t,type:"info"}),j3=()=>({open:Lc,success:XE,error:QE,info:JE}),eL={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},tL=[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:"#7F7F83","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:"#7F7F83","stroke-linejoin":"round"},null,-1)];function Y3(t,e){return o.openBlock(),o.createElementBlock("svg",eL,[...tL])}const nL=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Y3},render:Y3},Symbol.toStringTag,{value:"Module"})),rL={width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},iL=[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 W3(t,e){return o.openBlock(),o.createElementBlock("svg",rL,[...iL])}const sL=Object.freeze(Object.defineProperty({__proto__:null,default:{render:W3},render:W3},Symbol.toStringTag,{value:"Module"})),oL={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},aL=[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 q3(t,e){return o.openBlock(),o.createElementBlock("svg",oL,[...aL])}const lL=Object.freeze(Object.defineProperty({__proto__:null,default:{render:q3},render:q3},Symbol.toStringTag,{value:"Module"})),cL={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},dL=[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 U3(t,e){return o.openBlock(),o.createElementBlock("svg",cL,[...dL])}const uL=Object.freeze(Object.defineProperty({__proto__:null,default:{render:U3},render:U3},Symbol.toStringTag,{value:"Module"})),hL={xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 30 30",fill:"none"},fL=[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 Z3(t,e){return o.openBlock(),o.createElementBlock("svg",hL,[...fL])}const pL=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Z3},render:Z3},Symbol.toStringTag,{value:"Module"})),mL={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},gL=[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 G3(t,e){return o.openBlock(),o.createElementBlock("svg",mL,[...gL])}const _L=Object.freeze(Object.defineProperty({__proto__:null,default:{render:G3},render:G3},Symbol.toStringTag,{value:"Module"})),yL={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},bL=[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 K3(t,e){return o.openBlock(),o.createElementBlock("svg",yL,[...bL])}const wL=Object.freeze(Object.defineProperty({__proto__:null,default:{render:K3},render:K3},Symbol.toStringTag,{value:"Module"})),CL={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},kL=[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 X3(t,e){return o.openBlock(),o.createElementBlock("svg",CL,[...kL])}const vL=Object.freeze(Object.defineProperty({__proto__:null,default:{render:X3},render:X3},Symbol.toStringTag,{value:"Module"})),xL={width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},SL=[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 Q3(t,e){return o.openBlock(),o.createElementBlock("svg",xL,[...SL])}const ML=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Q3},render:Q3},Symbol.toStringTag,{value:"Module"})),TL={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},DL=[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 J3(t,e){return o.openBlock(),o.createElementBlock("svg",TL,[...DL])}const PL=Object.freeze(Object.defineProperty({__proto__:null,default:{render:J3},render:J3},Symbol.toStringTag,{value:"Module"})),OL={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},EL=[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 eg(t,e){return o.openBlock(),o.createElementBlock("svg",OL,[...EL])}const LL=Object.freeze(Object.defineProperty({__proto__:null,default:{render:eg},render:eg},Symbol.toStringTag,{value:"Module"})),$L={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10",fill:"none"},VL=[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:"#56B683"},null,-1)];function tg(t,e){return o.openBlock(),o.createElementBlock("svg",$L,[...VL])}const NL=Object.freeze(Object.defineProperty({__proto__:null,default:{render:tg},render:tg},Symbol.toStringTag,{value:"Module"})),BL={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10",fill:"none"},AL=[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:"#F18169"},null,-1)];function ng(t,e){return o.openBlock(),o.createElementBlock("svg",BL,[...AL])}const RL=Object.freeze(Object.defineProperty({__proto__:null,default:{render:ng},render:ng},Symbol.toStringTag,{value:"Module"})),FL={width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},IL=[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 rg(t,e){return o.openBlock(),o.createElementBlock("svg",FL,[...IL])}const HL=Object.freeze(Object.defineProperty({__proto__:null,default:{render:rg},render:rg},Symbol.toStringTag,{value:"Module"})),zL={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},jL=[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 ig(t,e){return o.openBlock(),o.createElementBlock("svg",zL,[...jL])}const YL=Object.freeze(Object.defineProperty({__proto__:null,default:{render:ig},render:ig},Symbol.toStringTag,{value:"Module"})),WL={width:"18",height:"12",viewBox:"0 0 18 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qL=[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 sg(t,e){return o.openBlock(),o.createElementBlock("svg",WL,[...qL])}const UL=Object.freeze(Object.defineProperty({__proto__:null,default:{render:sg},render:sg},Symbol.toStringTag,{value:"Module"})),ZL={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},GL=[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 og(t,e){return o.openBlock(),o.createElementBlock("svg",ZL,[...GL])}const KL=Object.freeze(Object.defineProperty({__proto__:null,default:{render:og},render:og},Symbol.toStringTag,{value:"Module"})),XL={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},QL=[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 ag(t,e){return o.openBlock(),o.createElementBlock("svg",XL,[...QL])}const JL=Object.freeze(Object.defineProperty({__proto__:null,default:{render:ag},render:ag},Symbol.toStringTag,{value:"Module"})),e$={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},t$=[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 lg(t,e){return o.openBlock(),o.createElementBlock("svg",e$,[...t$])}const n$=Object.freeze(Object.defineProperty({__proto__:null,default:{render:lg},render:lg},Symbol.toStringTag,{value:"Module"})),r$={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},i$=[o.createElementVNode("path",{d:"M11.6663 13.3333L8.33301 10L11.6663 6.66666",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function cg(t,e){return o.openBlock(),o.createElementBlock("svg",r$,[...i$])}const s$=Object.freeze(Object.defineProperty({__proto__:null,default:{render:cg},render:cg},Symbol.toStringTag,{value:"Module"})),o$={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a$=[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 dg(t,e){return o.openBlock(),o.createElementBlock("svg",o$,[...a$])}const l$=Object.freeze(Object.defineProperty({__proto__:null,default:{render:dg},render:dg},Symbol.toStringTag,{value:"Module"})),c$={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},d$=[o.createElementVNode("path",{d:"M8.33301 13.3333L11.6663 10L8.33301 6.66666",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function ug(t,e){return o.openBlock(),o.createElementBlock("svg",c$,[...d$])}const u$=Object.freeze(Object.defineProperty({__proto__:null,default:{render:ug},render:ug},Symbol.toStringTag,{value:"Module"})),h$={width:"6",height:"9",viewBox:"0 0 6 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},f$=[o.createElementVNode("path",{id:"Vector",d:"M1 0.5L5 4.5L1 8.5",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function hg(t,e){return o.openBlock(),o.createElementBlock("svg",h$,[...f$])}const p$=Object.freeze(Object.defineProperty({__proto__:null,default:{render:hg},render:hg},Symbol.toStringTag,{value:"Module"})),m$={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},g$=[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 fg(t,e){return o.openBlock(),o.createElementBlock("svg",m$,[...g$])}const _$=Object.freeze(Object.defineProperty({__proto__:null,default:{render:fg},render:fg},Symbol.toStringTag,{value:"Module"})),y$={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},b$=[o.createElementVNode("path",{d:"M6.66699 8.33337L10.0003 11.6667L13.3337 8.33337",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function pg(t,e){return o.openBlock(),o.createElementBlock("svg",y$,[...b$])}const w$=Object.freeze(Object.defineProperty({__proto__:null,default:{render:pg},render:pg},Symbol.toStringTag,{value:"Module"})),C$={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},k$=[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 mg(t,e){return o.openBlock(),o.createElementBlock("svg",C$,[...k$])}const v$=Object.freeze(Object.defineProperty({__proto__:null,default:{render:mg},render:mg},Symbol.toStringTag,{value:"Module"})),x$={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},S$=[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 gg(t,e){return o.openBlock(),o.createElementBlock("svg",x$,[...S$])}const M$=Object.freeze(Object.defineProperty({__proto__:null,default:{render:gg},render:gg},Symbol.toStringTag,{value:"Module"})),T$={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},D$=[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 _g(t,e){return o.openBlock(),o.createElementBlock("svg",T$,[...D$])}const P$=Object.freeze(Object.defineProperty({__proto__:null,default:{render:_g},render:_g},Symbol.toStringTag,{value:"Module"})),O$={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},E$=[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 yg(t,e){return o.openBlock(),o.createElementBlock("svg",O$,[...E$])}const L$=Object.freeze(Object.defineProperty({__proto__:null,default:{render:yg},render:yg},Symbol.toStringTag,{value:"Module"})),$$={width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},V$=[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:"#8E8E93","stroke-width":"2","stroke-linecap":"round"})],-1)];function bg(t,e){return o.openBlock(),o.createElementBlock("svg",$$,[...V$])}const N$=Object.freeze(Object.defineProperty({__proto__:null,default:{render:bg},render:bg},Symbol.toStringTag,{value:"Module"})),B$={xmlns:"http://www.w3.org/2000/svg",width:"21",height:"20",viewBox:"0 0 21 20",fill:"none"},A$=[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 wg(t,e){return o.openBlock(),o.createElementBlock("svg",B$,[...A$])}const R$=Object.freeze(Object.defineProperty({__proto__:null,default:{render:wg},render:wg},Symbol.toStringTag,{value:"Module"})),F$={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},I$=[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 Cg(t,e){return o.openBlock(),o.createElementBlock("svg",F$,[...I$])}const H$=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Cg},render:Cg},Symbol.toStringTag,{value:"Module"})),z$={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"21",viewBox:"0 0 20 21",fill:"none"},j$=[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 kg(t,e){return o.openBlock(),o.createElementBlock("svg",z$,[...j$])}const Y$=Object.freeze(Object.defineProperty({__proto__:null,default:{render:kg},render:kg},Symbol.toStringTag,{value:"Module"})),W$={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},q$=[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 vg(t,e){return o.openBlock(),o.createElementBlock("svg",W$,[...q$])}const U$=Object.freeze(Object.defineProperty({__proto__:null,default:{render:vg},render:vg},Symbol.toStringTag,{value:"Module"})),Z$={width:"34",height:"31",viewBox:"0 0 34 31",fill:"none",xmlns:"http://www.w3.org/2000/svg"},G$=[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 xg(t,e){return o.openBlock(),o.createElementBlock("svg",Z$,[...G$])}const K$=Object.freeze(Object.defineProperty({__proto__:null,default:{render:xg},render:xg},Symbol.toStringTag,{value:"Module"})),X$={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Q$=[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 Sg(t,e){return o.openBlock(),o.createElementBlock("svg",X$,[...Q$])}const J$=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Sg},render:Sg},Symbol.toStringTag,{value:"Module"})),eV={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},tV=[o.createElementVNode("path",{d:"M17.0834 12.0846V17.0846H2.91669V12.0846M10 2.91797V12.5013M7.08335 10.0013L10 12.918L12.9167 10.0013",stroke:"#8E8E93","stroke-linecap":"square"},null,-1)];function Mg(t,e){return o.openBlock(),o.createElementBlock("svg",eV,[...tV])}const nV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Mg},render:Mg},Symbol.toStringTag,{value:"Module"})),rV={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},iV=[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 Tg(t,e){return o.openBlock(),o.createElementBlock("svg",rV,[...iV])}const sV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Tg},render:Tg},Symbol.toStringTag,{value:"Module"})),oV={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},aV=[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 Dg(t,e){return o.openBlock(),o.createElementBlock("svg",oV,[...aV])}const lV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Dg},render:Dg},Symbol.toStringTag,{value:"Module"})),cV={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},dV=[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 Pg(t,e){return o.openBlock(),o.createElementBlock("svg",cV,[...dV])}const uV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Pg},render:Pg},Symbol.toStringTag,{value:"Module"})),hV={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},fV=[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 Og(t,e){return o.openBlock(),o.createElementBlock("svg",hV,[...fV])}const pV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Og},render:Og},Symbol.toStringTag,{value:"Module"})),mV={width:"19",height:"16",viewBox:"0 0 19 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},gV=[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 Eg(t,e){return o.openBlock(),o.createElementBlock("svg",mV,[...gV])}const _V=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Eg},render:Eg},Symbol.toStringTag,{value:"Module"})),yV={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},bV=[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 Lg(t,e){return o.openBlock(),o.createElementBlock("svg",yV,[...bV])}const wV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Lg},render:Lg},Symbol.toStringTag,{value:"Module"})),CV={width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},kV=[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 $g(t,e){return o.openBlock(),o.createElementBlock("svg",CV,[...kV])}const vV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:$g},render:$g},Symbol.toStringTag,{value:"Module"})),xV={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},SV=[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 0C11.7357 0 13.4433 0.452768 14.9526 1.31368C16.462 2.1746 17.7209 3.41395 18.6055 4.90958C19.49 6.40522 19.9695 8.10553 19.9968 9.84293C20.0241 11.5803 19.5982 13.2949 18.7611 14.8175L16.5703 13.6132C17.1982 12.4711 17.5176 11.1852 17.4971 9.88219C17.4767 8.57914 17.117 7.30392 16.4536 6.18219C15.7902 5.06046 14.846 4.13095 13.714 3.48526C12.582 2.83958 11.3013 2.5 9.99805 2.5V0Z",fill:"#007AFF"},null,-1)];function Vg(t,e){return o.openBlock(),o.createElementBlock("svg",xV,[...SV])}const MV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Vg},render:Vg},Symbol.toStringTag,{value:"Module"})),TV={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},DV=[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 0C11.7357 0 13.4433 0.452768 14.9526 1.31368C16.462 2.1746 17.7209 3.41395 18.6055 4.90958C19.49 6.40522 19.9695 8.10553 19.9968 9.84293C20.0241 11.5803 19.5982 13.2949 18.7611 14.8175C17.924 16.3402 16.7046 17.6185 15.223 18.5264C13.7415 19.4343 12.0489 19.9405 10.3122 19.9951C8.5754 20.0496 6.85439 19.6507 5.31875 18.8377C3.78311 18.0246 2.48583 16.8254 1.55477 15.3583L3.66559 14.0187C4.36388 15.119 5.33684 16.0184 6.48857 16.6282C7.64031 17.2381 8.93106 17.5372 10.2336 17.4963C11.5362 17.4554 12.8056 17.0757 13.9168 16.3948C15.028 15.7139 15.9425 14.7552 16.5703 13.6132C17.1982 12.4711 17.5176 11.1852 17.4971 9.88219C17.4767 8.57914 17.117 7.30392 16.4536 6.18219C15.7902 5.06046 14.846 4.13095 13.714 3.48526C12.582 2.83958 11.3013 2.5 9.99805 2.5V0Z",fill:"#007AFF"},null,-1)];function Ng(t,e){return o.openBlock(),o.createElementBlock("svg",TV,[...DV])}const PV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Ng},render:Ng},Symbol.toStringTag,{value:"Module"})),OV={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},EV=[o.createElementVNode("g",{id:"Frame"},[o.createElementVNode("path",{id:"Ellipse",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:"currentColor"})],-1)];function Bg(t,e){return o.openBlock(),o.createElementBlock("svg",OV,[...EV])}const LV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Bg},render:Bg},Symbol.toStringTag,{value:"Module"})),$V={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},VV=[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 Ag(t,e){return o.openBlock(),o.createElementBlock("svg",$V,[...VV])}const NV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Ag},render:Ag},Symbol.toStringTag,{value:"Module"})),BV={width:"24",height:"23",viewBox:"0 0 24 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},AV=[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 Rg(t,e){return o.openBlock(),o.createElementBlock("svg",BV,[...AV])}const RV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Rg},render:Rg},Symbol.toStringTag,{value:"Module"})),FV={width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},IV=[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 Fg(t,e){return o.openBlock(),o.createElementBlock("svg",FV,[...IV])}const HV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Fg},render:Fg},Symbol.toStringTag,{value:"Module"})),zV={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},jV=[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 Ig(t,e){return o.openBlock(),o.createElementBlock("svg",zV,[...jV])}const YV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Ig},render:Ig},Symbol.toStringTag,{value:"Module"})),WV={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qV=[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 Hg(t,e){return o.openBlock(),o.createElementBlock("svg",WV,[...qV])}const UV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Hg},render:Hg},Symbol.toStringTag,{value:"Module"})),ZV={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},GV=[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 zg(t,e){return o.openBlock(),o.createElementBlock("svg",ZV,[...GV])}const KV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:zg},render:zg},Symbol.toStringTag,{value:"Module"})),XV={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},QV=[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 jg(t,e){return o.openBlock(),o.createElementBlock("svg",XV,[...QV])}const JV=Object.freeze(Object.defineProperty({__proto__:null,default:{render:jg},render:jg},Symbol.toStringTag,{value:"Module"})),eN={width:"126",height:"21",viewBox:"0 0 126 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},tN=[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 Yg(t,e){return o.openBlock(),o.createElementBlock("svg",eN,[...tN])}const nN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Yg},render:Yg},Symbol.toStringTag,{value:"Module"})),rN={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},iN=[o.createElementVNode("path",{d:"M12.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:"#7F7F83","stroke-linecap":"round"},null,-1)];function Wg(t,e){return o.openBlock(),o.createElementBlock("svg",rN,[...iN])}const sN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Wg},render:Wg},Symbol.toStringTag,{value:"Module"})),oN={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},aN=[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 qg(t,e){return o.openBlock(),o.createElementBlock("svg",oN,[...aN])}const lN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:qg},render:qg},Symbol.toStringTag,{value:"Module"})),cN={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},dN=[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 Ug(t,e){return o.openBlock(),o.createElementBlock("svg",cN,[...dN])}const uN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Ug},render:Ug},Symbol.toStringTag,{value:"Module"})),hN={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},fN=[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 Zg(t,e){return o.openBlock(),o.createElementBlock("svg",hN,[...fN])}const pN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Zg},render:Zg},Symbol.toStringTag,{value:"Module"})),mN={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},gN=[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:"#7F7F83","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function Gg(t,e){return o.openBlock(),o.createElementBlock("svg",mN,[...gN])}const _N=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Gg},render:Gg},Symbol.toStringTag,{value:"Module"})),yN={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},bN=[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:"#7F7F83","stroke-linecap":"square"},null,-1)];function Kg(t,e){return o.openBlock(),o.createElementBlock("svg",yN,[...bN])}const wN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Kg},render:Kg},Symbol.toStringTag,{value:"Module"})),CN={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},kN=[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 Xg(t,e){return o.openBlock(),o.createElementBlock("svg",CN,[...kN])}const vN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Xg},render:Xg},Symbol.toStringTag,{value:"Module"})),xN={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},SN=[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 Qg(t,e){return o.openBlock(),o.createElementBlock("svg",xN,[...SN])}const MN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Qg},render:Qg},Symbol.toStringTag,{value:"Module"})),TN={width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},DN=[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 Jg(t,e){return o.openBlock(),o.createElementBlock("svg",TN,[...DN])}const PN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Jg},render:Jg},Symbol.toStringTag,{value:"Module"})),ON={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},EN=[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",ON,[...EN])}const LN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:e_},render:e_},Symbol.toStringTag,{value:"Module"})),$N={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},VN=[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_(t,e){return o.openBlock(),o.createElementBlock("svg",$N,[...VN])}const NN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:t_},render:t_},Symbol.toStringTag,{value:"Module"})),BN={width:"23",height:"23",viewBox:"0 0 23 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},AN=[o.createElementVNode("path",{d:"M3.74935 2.5C2.59876 2.5 1.66602 3.43274 1.66602 4.58333V14.5833C1.66602 15.7339 2.59876 16.6667 3.74935 16.6667H16.2493C17.3999 16.6667 18.3327 15.7339 18.3327 14.5833V7.08333C18.3327 5.93274 17.3999 5 16.2493 5H10.8913C10.4734 5 10.0831 4.79112 9.85126 4.44338L9.17415 3.42771C8.78776 2.84813 8.13728 2.5 7.44071 2.5H3.74935Z",fill:"#007AFF",stroke:"#007AFF","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M16 21.75C19.1756 21.75 21.75 19.1756 21.75 16C21.75 12.8244 19.1756 10.25 16 10.25C12.8244 10.25 10.25 12.8244 10.25 16C10.25 19.1756 12.8244 21.75 16 21.75Z",fill:"#007AFF",stroke:"#F6F6F6","stroke-width":"1.5"},null,-1)];function n_(t,e){return o.openBlock(),o.createElementBlock("svg",BN,[...AN])}const RN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:n_},render:n_},Symbol.toStringTag,{value:"Module"})),FN={width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},IN=[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 r_(t,e){return o.openBlock(),o.createElementBlock("svg",FN,[...IN])}const HN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:r_},render:r_},Symbol.toStringTag,{value:"Module"})),zN={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},jN=[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:"#7F7F83","stroke-linecap":"square"},null,-1)];function i_(t,e){return o.openBlock(),o.createElementBlock("svg",zN,[...jN])}const YN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:i_},render:i_},Symbol.toStringTag,{value:"Module"})),WN={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},qN=[o.createElementVNode("path",{d:"M2.33337 2.33594H8.00004M13.6667 2.33594H8.00004M8.00004 2.33594V13.6693",stroke:"#7F7F83","stroke-linecap":"square"},null,-1)];function s_(t,e){return o.openBlock(),o.createElementBlock("svg",WN,[...qN])}const UN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:s_},render:s_},Symbol.toStringTag,{value:"Module"})),ZN={xmlns:"http://www.w3.org/2000/svg",style:{width:"100%",height:"100%"},viewBox:"0 0 16 16",fill:"none"},GN=[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 o_(t,e){return o.openBlock(),o.createElementBlock("svg",ZN,[...GN])}const KN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:o_},render:o_},Symbol.toStringTag,{value:"Module"})),XN={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},QN=[o.createElementVNode("circle",{cx:"10",cy:"10",r:"7.5",stroke:"#D1D4D6"},null,-1)];function a_(t,e){return o.openBlock(),o.createElementBlock("svg",XN,[...QN])}const JN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:a_},render:a_},Symbol.toStringTag,{value:"Module"})),eB={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},tB=[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.1104 27.8037C19.4495 28.7243 18.5312 29.1846 17.3555 29.1846C16.1797 29.1846 15.2568 28.7266 14.5869 27.8105C13.9215 26.89 13.5889 25.639 13.5889 24.0576C13.5889 22.4899 13.9238 21.248 14.5938 20.332C15.2637 19.4115 16.1842 18.9512 17.3555 18.9512C18.5267 18.9512 19.445 19.4092 20.1104 20.3252C20.7757 21.2367 21.1084 22.4785 21.1084 24.0508C21.1084 25.6322 20.7757 26.8831 20.1104 27.8037ZM15.7217 26.8809C16.109 27.5599 16.6536 27.8994 17.3555 27.8994C18.0573 27.8994 18.5996 27.5599 18.9824 26.8809C19.3698 26.1973 19.5635 25.2562 19.5635 24.0576C19.5635 22.8727 19.3675 21.9408 18.9756 21.2617C18.5882 20.5781 18.0482 20.2363 17.3555 20.2363C16.6628 20.2363 16.1204 20.5781 15.7285 21.2617C15.3366 21.9453 15.1406 22.8773 15.1406 24.0576C15.1406 25.2562 15.3343 26.1973 15.7217 26.8809ZM23.0293 31.1055H21.7168L25.2168 19.1357H26.5293L23.0293 31.1055ZM29.4414 24.5361V23.333H30.6309C31.1595 23.333 31.5902 23.1826 31.9229 22.8818C32.2601 22.5811 32.4287 22.1982 32.4287 21.7334C32.4287 21.264 32.2715 20.8926 31.957 20.6191C31.6471 20.3457 31.2051 20.209 30.6309 20.209C30.0977 20.209 29.6647 20.3525 29.332 20.6396C28.9993 20.9222 28.8102 21.3073 28.7646 21.7949H27.3223C27.3815 20.929 27.7142 20.2386 28.3203 19.7236C28.931 19.2087 29.724 18.9512 30.6992 18.9512C31.638 18.9512 32.4105 19.1927 33.0166 19.6758C33.6227 20.1543 33.9258 20.7718 33.9258 21.5283C33.9258 22.139 33.7412 22.654 33.3721 23.0732C33.0029 23.488 32.5107 23.75 31.8955 23.8594V23.8867C32.6429 23.9368 33.2354 24.1761 33.6729 24.6045C34.1149 25.0329 34.3359 25.5911 34.3359 26.2793C34.3359 27.1315 33.9919 27.8288 33.3037 28.3711C32.6156 28.9134 31.752 29.1846 30.7129 29.1846C29.6602 29.1846 28.8102 28.9225 28.1631 28.3984C27.5205 27.8698 27.1742 27.1748 27.124 26.3135H28.5938C28.6439 26.792 28.8558 27.1771 29.2295 27.4688C29.6077 27.7604 30.1022 27.9062 30.7129 27.9062C31.3145 27.9062 31.8089 27.7536 32.1963 27.4482C32.5837 27.1383 32.7773 26.7419 32.7773 26.2588C32.7773 25.7256 32.5882 25.3063 32.21 25.001C31.8363 24.6911 31.3236 24.5361 30.6719 24.5361H29.4414Z",fill:"#1C2026"},null,-1)];function l_(t,e){return o.openBlock(),o.createElementBlock("svg",eB,[...tB])}const nB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:l_},render:l_},Symbol.toStringTag,{value:"Module"})),rB={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},iB=[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 0C28.1703 0 32.2686 1.08665 35.891 3.15284C39.5134 5.21904 42.535 8.19347 44.6578 11.783C46.7807 15.3725 47.9315 19.4533 47.997 23.623C48.0625 27.7928 47.0404 31.9076 45.0314 35.5621L41.8767 33.8278C43.5843 30.7215 44.4532 27.2239 44.3975 23.6796C44.3418 20.1353 43.3636 16.6667 41.5591 13.6156C39.7547 10.5645 37.1864 8.03618 34.1074 6.27991C31.0283 4.52365 27.5447 3.6 24 3.6V0Z",fill:"#34C759"},null,-1),o.createElementVNode("path",{d:"M17.417 29V20.6533H17.3828L14.8057 22.4854V20.9814L17.4033 19.1357H18.9141V29H17.417ZM21.8672 31.1055H20.5547L24.0547 19.1357H25.3672L21.8672 31.1055ZM28.2793 24.5361V23.333H29.4688C29.9974 23.333 30.4281 23.1826 30.7607 22.8818C31.098 22.5811 31.2666 22.1982 31.2666 21.7334C31.2666 21.264 31.1094 20.8926 30.7949 20.6191C30.485 20.3457 30.043 20.209 29.4688 20.209C28.9355 20.209 28.5026 20.3525 28.1699 20.6396C27.8372 20.9222 27.6481 21.3073 27.6025 21.7949H26.1602C26.2194 20.929 26.5521 20.2386 27.1582 19.7236C27.7689 19.2087 28.5618 18.9512 29.5371 18.9512C30.4759 18.9512 31.2484 19.1927 31.8545 19.6758C32.4606 20.1543 32.7637 20.7718 32.7637 21.5283C32.7637 22.139 32.5791 22.654 32.21 23.0732C31.8408 23.488 31.3486 23.75 30.7334 23.8594V23.8867C31.4808 23.9368 32.0732 24.1761 32.5107 24.6045C32.9528 25.0329 33.1738 25.5911 33.1738 26.2793C33.1738 27.1315 32.8298 27.8288 32.1416 28.3711C31.4535 28.9134 30.5898 29.1846 29.5508 29.1846C28.498 29.1846 27.6481 28.9225 27.001 28.3984C26.3584 27.8698 26.012 27.1748 25.9619 26.3135H27.4316C27.4818 26.792 27.6937 27.1771 28.0674 27.4688C28.4456 27.7604 28.9401 27.9062 29.5508 27.9062C30.1523 27.9062 30.6468 27.7536 31.0342 27.4482C31.4215 27.1383 31.6152 26.7419 31.6152 26.2588C31.6152 25.7256 31.4261 25.3063 31.0479 25.001C30.6742 24.6911 30.1615 24.5361 29.5098 24.5361H28.2793Z",fill:"#1C2026"},null,-1)];function c_(t,e){return o.openBlock(),o.createElementBlock("svg",rB,[...iB])}const sB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:c_},render:c_},Symbol.toStringTag,{value:"Module"})),oB={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},aB=[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 0C28.1703 0 32.2686 1.08665 35.891 3.15284C39.5134 5.21904 42.535 8.19347 44.6578 11.783C46.7807 15.3725 47.9315 19.4533 47.997 23.623C48.0625 27.7928 47.0404 31.9076 45.0314 35.5621C43.0223 39.2165 40.0957 42.2844 36.54 44.4634C32.9842 46.6423 28.9221 47.8572 24.7539 47.9882C20.5856 48.1191 16.4552 47.1618 12.7697 45.2104C9.08414 43.259 5.97068 40.3809 3.73613 36.8598L6.77571 34.9309C8.67507 37.9238 11.3215 40.3701 14.4542 42.0288C17.5869 43.6875 21.0978 44.5013 24.6408 44.3899C28.1838 44.2786 31.6366 43.246 34.659 41.3939C37.6814 39.5417 40.169 36.934 41.8767 33.8278C43.5843 30.7215 44.4532 27.2239 44.3975 23.6796C44.3418 20.1353 43.3636 16.6667 41.5591 13.6156C39.7547 10.5645 37.1864 8.03618 34.1074 6.27991C31.0283 4.52365 27.5447 3.6 24 3.6V0Z",fill:"#34C759"},null,-1),o.createElementVNode("path",{d:"M13.9854 22.0273C13.9854 21.1387 14.3044 20.4049 14.9424 19.8262C15.585 19.2428 16.3962 18.9512 17.376 18.9512C18.3148 18.9512 19.0964 19.2155 19.7207 19.7441C20.3451 20.2728 20.6572 20.929 20.6572 21.7129C20.6572 22.2643 20.5046 22.7884 20.1992 23.2852C19.8939 23.7773 19.3607 24.4131 18.5996 25.1924L16.1318 27.6738V27.708H20.8145V29H14.0674V27.9609L17.6289 24.3311C18.2305 23.7021 18.6338 23.2191 18.8389 22.8818C19.0439 22.54 19.1465 22.1755 19.1465 21.7881C19.1465 21.3506 18.971 20.9792 18.6201 20.6738C18.2692 20.3685 17.8385 20.2158 17.3281 20.2158C16.7904 20.2158 16.3392 20.389 15.9746 20.7354C15.6146 21.0771 15.4346 21.5055 15.4346 22.0205V22.041H13.9854V22.0273ZM22.7217 31.1055H21.4092L24.9092 19.1357H26.2217L22.7217 31.1055ZM29.1338 24.5361V23.333H30.3232C30.8519 23.333 31.2826 23.1826 31.6152 22.8818C31.9525 22.5811 32.1211 22.1982 32.1211 21.7334C32.1211 21.264 31.9639 20.8926 31.6494 20.6191C31.3395 20.3457 30.8975 20.209 30.3232 20.209C29.79 20.209 29.3571 20.3525 29.0244 20.6396C28.6917 20.9222 28.5026 21.3073 28.457 21.7949H27.0146C27.0739 20.929 27.4066 20.2386 28.0127 19.7236C28.6234 19.2087 29.4163 18.9512 30.3916 18.9512C31.3304 18.9512 32.1029 19.1927 32.709 19.6758C33.3151 20.1543 33.6182 20.7718 33.6182 21.5283C33.6182 22.139 33.4336 22.654 33.0645 23.0732C32.6953 23.488 32.2031 23.75 31.5879 23.8594V23.8867C32.3353 23.9368 32.9277 24.1761 33.3652 24.6045C33.8073 25.0329 34.0283 25.5911 34.0283 26.2793C34.0283 27.1315 33.6842 27.8288 32.9961 28.3711C32.3079 28.9134 31.4443 29.1846 30.4053 29.1846C29.3525 29.1846 28.5026 28.9225 27.8555 28.3984C27.2129 27.8698 26.8665 27.1748 26.8164 26.3135H28.2861C28.3363 26.792 28.5482 27.1771 28.9219 27.4688C29.3001 27.7604 29.7946 27.9062 30.4053 27.9062C31.0068 27.9062 31.5013 27.7536 31.8887 27.4482C32.276 27.1383 32.4697 26.7419 32.4697 26.2588C32.4697 25.7256 32.2806 25.3063 31.9023 25.001C31.5286 24.6911 31.016 24.5361 30.3643 24.5361H29.1338Z",fill:"#1C2026"},null,-1)];function d_(t,e){return o.openBlock(),o.createElementBlock("svg",oB,[...aB])}const lB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:d_},render:d_},Symbol.toStringTag,{value:"Module"})),cB={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},dB=[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:"M16.0293 24.5361V23.333H17.2188C17.7474 23.333 18.1781 23.1826 18.5107 22.8818C18.848 22.5811 19.0166 22.1982 19.0166 21.7334C19.0166 21.264 18.8594 20.8926 18.5449 20.6191C18.235 20.3457 17.793 20.209 17.2188 20.209C16.6855 20.209 16.2526 20.3525 15.9199 20.6396C15.5872 20.9222 15.3981 21.3073 15.3525 21.7949H13.9102C13.9694 20.929 14.3021 20.2386 14.9082 19.7236C15.5189 19.2087 16.3118 18.9512 17.2871 18.9512C18.2259 18.9512 18.9984 19.1927 19.6045 19.6758C20.2106 20.1543 20.5137 20.7718 20.5137 21.5283C20.5137 22.139 20.3291 22.654 19.96 23.0732C19.5908 23.488 19.0986 23.75 18.4834 23.8594V23.8867C19.2308 23.9368 19.8232 24.1761 20.2607 24.6045C20.7028 25.0329 20.9238 25.5911 20.9238 26.2793C20.9238 27.1315 20.5798 27.8288 19.8916 28.3711C19.2035 28.9134 18.3398 29.1846 17.3008 29.1846C16.248 29.1846 15.3981 28.9225 14.751 28.3984C14.1084 27.8698 13.762 27.1748 13.7119 26.3135H15.1816C15.2318 26.792 15.4437 27.1771 15.8174 27.4688C16.1956 27.7604 16.6901 27.9062 17.3008 27.9062C17.9023 27.9062 18.3968 27.7536 18.7842 27.4482C19.1715 27.1383 19.3652 26.7419 19.3652 26.2588C19.3652 25.7256 19.1761 25.3063 18.7979 25.001C18.4242 24.6911 17.9115 24.5361 17.2598 24.5361H16.0293ZM22.9062 31.1055H21.5938L25.0938 19.1357H26.4062L22.9062 31.1055ZM29.3184 24.5361V23.333H30.5078C31.0365 23.333 31.4671 23.1826 31.7998 22.8818C32.137 22.5811 32.3057 22.1982 32.3057 21.7334C32.3057 21.264 32.1484 20.8926 31.834 20.6191C31.5241 20.3457 31.082 20.209 30.5078 20.209C29.9746 20.209 29.5417 20.3525 29.209 20.6396C28.8763 20.9222 28.6872 21.3073 28.6416 21.7949H27.1992C27.2585 20.929 27.5911 20.2386 28.1973 19.7236C28.8079 19.2087 29.6009 18.9512 30.5762 18.9512C31.515 18.9512 32.2874 19.1927 32.8936 19.6758C33.4997 20.1543 33.8027 20.7718 33.8027 21.5283C33.8027 22.139 33.6182 22.654 33.249 23.0732C32.8799 23.488 32.3877 23.75 31.7725 23.8594V23.8867C32.5199 23.9368 33.1123 24.1761 33.5498 24.6045C33.9919 25.0329 34.2129 25.5911 34.2129 26.2793C34.2129 27.1315 33.8688 27.8288 33.1807 28.3711C32.4925 28.9134 31.6289 29.1846 30.5898 29.1846C29.5371 29.1846 28.6872 28.9225 28.04 28.3984C27.3975 27.8698 27.0511 27.1748 27.001 26.3135H28.4707C28.5208 26.792 28.7327 27.1771 29.1064 27.4688C29.4847 27.7604 29.9792 27.9062 30.5898 27.9062C31.1914 27.9062 31.6859 27.7536 32.0732 27.4482C32.4606 27.1383 32.6543 26.7419 32.6543 26.2588C32.6543 25.7256 32.4652 25.3063 32.0869 25.001C31.7132 24.6911 31.2005 24.5361 30.5488 24.5361H29.3184Z",fill:"#1C2026"},null,-1)];function u_(t,e){return o.openBlock(),o.createElementBlock("svg",cB,[...dB])}const uB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:u_},render:u_},Symbol.toStringTag,{value:"Module"})),hB={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},fB=[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",hB,[...fB])}const pB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:h_},render:h_},Symbol.toStringTag,{value:"Module"})),mB={width:"126",height:"21",viewBox:"0 0 126 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},gB=[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 f_(t,e){return o.openBlock(),o.createElementBlock("svg",mB,[...gB])}const _B=Object.freeze(Object.defineProperty({__proto__:null,default:{render:f_},render:f_},Symbol.toStringTag,{value:"Module"})),yB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},bB=[o.createElementVNode("path",{d:"M16.875 16.8763L13.5833 13.5846M15.4167 9.16797C15.4167 12.6197 12.6185 15.418 9.16669 15.418C5.71491 15.418 2.91669 12.6197 2.91669 9.16797C2.91669 5.71619 5.71491 2.91797 9.16669 2.91797C12.6185 2.91797 15.4167 5.71619 15.4167 9.16797Z",stroke:"#8E8E93","stroke-linecap":"square"},null,-1)];function p_(t,e){return o.openBlock(),o.createElementBlock("svg",yB,[...bB])}const wB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:p_},render:p_},Symbol.toStringTag,{value:"Module"})),CB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},kB=[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 m_(t,e){return o.openBlock(),o.createElementBlock("svg",CB,[...kB])}const vB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:m_},render:m_},Symbol.toStringTag,{value:"Module"})),xB={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},SB=[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:"#7F7F83","stroke-linecap":"square","stroke-linejoin":"round"},null,-1)];function g_(t,e){return o.openBlock(),o.createElementBlock("svg",xB,[...SB])}const MB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:g_},render:g_},Symbol.toStringTag,{value:"Module"})),TB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},DB=[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:"#8E8E93"},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:"#8E8E93"},null,-1)];function __(t,e){return o.openBlock(),o.createElementBlock("svg",TB,[...DB])}const PB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:__},render:__},Symbol.toStringTag,{value:"Module"})),OB={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},EB=[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 y_(t,e){return o.openBlock(),o.createElementBlock("svg",OB,[...EB])}const LB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:y_},render:y_},Symbol.toStringTag,{value:"Module"})),$B={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},VB=[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:"#7F7F83","stroke-linecap":"round"},null,-1)];function b_(t,e){return o.openBlock(),o.createElementBlock("svg",$B,[...VB])}const NB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:b_},render:b_},Symbol.toStringTag,{value:"Module"})),BB={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},AB=[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 w_(t,e){return o.openBlock(),o.createElementBlock("svg",BB,[...AB])}const RB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:w_},render:w_},Symbol.toStringTag,{value:"Module"})),FB={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},IB=[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:"#7F7F83","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function C_(t,e){return o.openBlock(),o.createElementBlock("svg",FB,[...IB])}const HB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:C_},render:C_},Symbol.toStringTag,{value:"Module"})),zB={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},jB=[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 k_(t,e){return o.openBlock(),o.createElementBlock("svg",zB,[...jB])}const YB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:k_},render:k_},Symbol.toStringTag,{value:"Module"})),WB={width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qB=[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 v_(t,e){return o.openBlock(),o.createElementBlock("svg",WB,[...qB])}const UB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:v_},render:v_},Symbol.toStringTag,{value:"Module"})),ZB={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},GB=[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 x_(t,e){return o.openBlock(),o.createElementBlock("svg",ZB,[...GB])}const KB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:x_},render:x_},Symbol.toStringTag,{value:"Module"})),XB={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},QB=[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:"#7F7F83","stroke-linecap":"square"},null,-1)];function S_(t,e){return o.openBlock(),o.createElementBlock("svg",XB,[...QB])}const JB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:S_},render:S_},Symbol.toStringTag,{value:"Module"})),eA={xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",preserveAspectRatio:"none"},tA=[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 M_(t,e){return o.openBlock(),o.createElementBlock("svg",eA,[...tA])}const nA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:M_},render:M_},Symbol.toStringTag,{value:"Module"})),rA={width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},iA=[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 T_(t,e){return o.openBlock(),o.createElementBlock("svg",rA,[...iA])}const sA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:T_},render:T_},Symbol.toStringTag,{value:"Module"})),oA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},aA=[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 D_(t,e){return o.openBlock(),o.createElementBlock("svg",oA,[...aA])}const lA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:D_},render:D_},Symbol.toStringTag,{value:"Module"})),cA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},dA=[o.createElementVNode("path",{d:"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 P_(t,e){return o.openBlock(),o.createElementBlock("svg",cA,[...dA])}const uA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:P_},render:P_},Symbol.toStringTag,{value:"Module"})),hA={width:"18",height:"14",viewBox:"0 0 18 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},fA=[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 O_(t,e){return o.openBlock(),o.createElementBlock("svg",hA,[...fA])}const pA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:O_},render:O_},Symbol.toStringTag,{value:"Module"})),mA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},gA=[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 E_(t,e){return o.openBlock(),o.createElementBlock("svg",mA,[...gA])}const _A=Object.freeze(Object.defineProperty({__proto__:null,default:{render:E_},render:E_},Symbol.toStringTag,{value:"Module"})),yA={width:"29",height:"34",viewBox:"0 0 29 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"},bA=[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 L_(t,e){return o.openBlock(),o.createElementBlock("svg",yA,[...bA])}const wA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:L_},render:L_},Symbol.toStringTag,{value:"Module"})),CA={width:"31",height:"32",viewBox:"0 0 31 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},kA=[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 $_(t,e){return o.openBlock(),o.createElementBlock("svg",CA,[...kA])}const vA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:$_},render:$_},Symbol.toStringTag,{value:"Module"})),xA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},SA=[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 V_(t,e){return o.openBlock(),o.createElementBlock("svg",xA,[...SA])}const MA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:V_},render:V_},Symbol.toStringTag,{value:"Module"})),TA={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},DA=[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:"#7F7F83","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function N_(t,e){return o.openBlock(),o.createElementBlock("svg",TA,[...DA])}const PA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:N_},render:N_},Symbol.toStringTag,{value:"Module"})),OA={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"},EA=[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 B_(t,e){return o.openBlock(),o.createElementBlock("svg",OA,[...EA])}const LA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:B_},render:B_},Symbol.toStringTag,{value:"Module"}));Te.AccountBalanceWidget=Wv,Te.AverageRRLine=lm,Te.BalanceWidget=cx,Te.Button=zc,Te.Calendar=oy,Te.CalendarDropdown=o3,Te.CalendarWidget=Ex,Te.CheckBox=G6,Te.CommissionsFeesWidget=qx,Te.Confetti=E8,Te.CookieManager=zn,Te.Dropdown=O6,Te.Icon=gt,Te.Input=N6,Te.LineChart=th,Te.LongShort=K0,Te.Menu=Q6,Te.NavigationTab=my,Te.NoMore=gu,Te.NumberInput=hy,Te.PerformanceWidget=Qx,Te.PeriodDropdown=Ts,Te.ProgressLine=a3,Te.Radio=I6,Te.ReturnWidget=pS,Te.RoundSlider=J0,Te.Selector=ly,Te.SidebarPopup=U8,Te.SimpleLineChart=om,Te.Switcher=t5,Te.Toast=U0,Te.Toggle=W6,Te.Tooltip=Un,Te.TopPositionsWidget=TS,Te.TradePerformanceWidget=zS,Te.WidgetChips=bc,Te.WinrateWidget=eM,Te.addSlashToPair=z3,Te.calculateTimeDifference=ZE,Te.firebaseConfig=YE,Te.getDate=UE,Te.getDay=r1,Te.getFullYear=qE,Te.getMonth=H3,Te.numFormat=n1,Te.scopeInstance=Oc,Te.toBaseDate=I3,Te.toFix=pn,Te.transformKeysToQuery=WE,Te.useToast=j3,Te.withSign=Hr,Object.defineProperty(Te,Symbol.toStringTag,{value:"Module"})});
|
|
23
69
|
//# sourceMappingURL=scope360-core.umd.cjs.map
|