r3ui-lib 1.2.13 → 1.2.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,19 +1,19 @@
1
- (function(ee,a){typeof exports=="object"&&typeof module<"u"?a(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],a):(ee=typeof globalThis<"u"?globalThis:ee||self,a(ee.R3uiLib={},ee.Vue))})(this,(function(ee,a){"use strict";const Lr={__name:"Spinner",props:{isSmall:{type:Boolean,default:!1}},setup(n){return(e,t)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["spinner-border",{"spinner-border-sm":n.isSmall}]),role:"status"},null,2))}},Br={__name:"Icon",props:{name:{type:String,required:!0}},setup(n){return(e,t)=>(a.openBlock(),a.createElementBlock("i",{class:a.normalizeClass(`bi bi-${n.name}`)},null,2))}},Od={class:"d-inline-flex align-items-center justify-content-center"},Ld={key:2},Fr={__name:"DefaultButton",props:{label:{type:String,default:""},icon:{type:String,default:""},iconPosition:{type:String,default:"left",validator(n){return["right","left"].includes(n)}},isLoading:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1},isFullWidth:{type:Boolean,default:!1},customClasses:{type:Array,default:()=>[]},styles:{type:String,default:"primary",validator(n){return["primary","light","secondary","success","danger","warning","info"].includes(n)}}},emits:["submit"],setup(n,{emit:e}){const t=n,i=e,r=a.computed(()=>`btn-${t.styles}`);function s(){t.isLoading||t.isDisabled||i("submit")}return(o,l)=>(a.openBlock(),a.createElementBlock("button",{"data-test":"DefaultButton",class:a.normalizeClass(["btn",[n.isLoading||n.isDisabled?"disabled":"",n.isFullWidth?"w-100":"",n.styles?r.value:"",...n.customClasses]]),onClick:a.withModifiers(s,["prevent"])},[a.createElementVNode("div",Od,[n.icon&&n.iconPosition==="left"?(a.openBlock(),a.createBlock(Br,{key:0,name:n.icon,class:a.normalizeClass(n.label?"me-2":"")},null,8,["name","class"])):a.createCommentVNode("",!0),n.isLoading?(a.openBlock(),a.createBlock(Lr,{key:1,isSmall:!0,class:"pe-2"})):a.createCommentVNode("",!0),n.label?(a.openBlock(),a.createElementBlock("span",Ld,a.toDisplayString(n.label),1)):a.createCommentVNode("",!0),n.icon&&n.iconPosition==="right"?(a.openBlock(),a.createBlock(Br,{key:3,name:n.icon,class:a.normalizeClass(n.label?"ms-2":"")},null,8,["name","class"])):a.createCommentVNode("",!0)])],2))}},Bd=a.defineComponent({__name:"AddButton",props:{label:{default:""},text:{default:""},disabled:{type:Boolean,default:!1},iconClass:{default:"bi bi-plus-circle-fill pe-2"}},emits:["click"],setup(n,{emit:e}){const t=n,i=e,r=()=>{t.disabled||i("click")};return(s,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["d-flex add-button",{"opacity-75 disabled":s.disabled}]),style:{cursor:"pointer"},"data-test":"AddButton",onClick:r},[a.createElementVNode("i",{class:a.normalizeClass(s.iconClass)},null,2),a.createTextVNode(" "+a.toDisplayString(s.label||s.text||"Добавить"),1)],2))}}),Ie=(n,e)=>{const t=n.__vccOpts||n;for(const[i,r]of e)t[i]=r;return t},il=Ie(Bd,[["__scopeId","data-v-cf07042b"]]),Fd={"data-test":"CollapseButton"},_d=["id"],Pd=["id"],Nd=Ie(a.defineComponent({__name:"CollapseButton",props:{isCollapsed:{type:Boolean,default:!0},expandText:{default:"Развернуть все"},collapseText:{default:"Свернуть все"},expandId:{default:"expand-filters-btn"},collapseId:{default:"collapse-filters-btn"},buttonStyle:{default:"padding: 8px 24px; margin-bottom: 32px"},iconStyle:{default:"font-size: 10px"},expandLabel:{default:"Развернуть все"},collapseLabel:{default:"Свернуть все"},isColapsed:{type:Boolean}},emits:["emitCollapseToggle","emitColapsed","expand","collapse"],setup(n,{emit:e}){const t=n,i=e,r=a.computed(()=>t.isCollapsed),s=a.computed(()=>t.expandText),o=a.computed(()=>t.collapseText),l=()=>{i("emitCollapseToggle",!1),i("emitColapsed",!1),i("expand")},u=()=>{i("emitCollapseToggle",!0),i("emitColapsed",!0),i("collapse")};return(c,d)=>(a.openBlock(),a.createElementBlock("div",Fd,[r.value?(a.openBlock(),a.createElementBlock("button",{key:0,type:"button",id:c.expandId,class:"btn btn-light collapse-button",onClick:l,style:a.normalizeStyle(c.buttonStyle)},[a.createTextVNode(a.toDisplayString(s.value)+" ",1),a.createElementVNode("i",{class:"bi bi-caret-down-fill",style:a.normalizeStyle(c.iconStyle)},null,4)],12,_d)):a.createCommentVNode("",!0),r.value?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("button",{key:1,type:"button",id:c.collapseId,class:"btn btn-light collapse-button",onClick:u,style:a.normalizeStyle(c.buttonStyle)},[a.createTextVNode(a.toDisplayString(o.value)+" ",1),a.createElementVNode("i",{class:"bi bi-caret-up-fill",style:a.normalizeStyle(c.iconStyle)},null,4)],12,Pd))]))}}),[["__scopeId","data-v-a0502514"]]),Id=Ie(a.defineComponent({__name:"ExportButton",props:{label:{default:""},text:{default:""},disabled:{type:Boolean,default:!1},exportType:{default:"default"}},emits:["export"],setup(n,{emit:e}){const t=n,i=e,r=()=>{t.disabled||i("export",t.exportType)};return(s,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["col-auto export-button",{"opacity-75 disabled":s.disabled}]),style:{cursor:"pointer"},"data-test":"ExportButton",onClick:r},[a.createTextVNode(a.toDisplayString(s.label||s.text||"Экспорт")+" ",1),o[0]||(o[0]=a.createElementVNode("i",{class:"ps-2 bi bi-file-earmark-arrow-down-fill"},null,-1))],2))}}),[["__scopeId","data-v-20f08c06"]]),Hd=Ie(a.defineComponent({__name:"PrintButton",props:{label:{default:""},text:{default:""},disabled:{type:Boolean,default:!1}},emits:["print"],setup(n,{emit:e}){const t=n,i=e,r=()=>{t.disabled||(window.print(),i("print"))};return(s,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["col-auto print-button",{"opacity-75 disabled":s.disabled}]),style:{cursor:"pointer"},"data-test":"PrintButton",onClick:r},[a.createTextVNode(a.toDisplayString(s.label||s.text||"Печать")+" ",1),o[0]||(o[0]=a.createElementVNode("i",{class:"ps-2 bi bi-printer-fill"},null,-1))],2))}}),[["__scopeId","data-v-52020521"]]),Vd=["disabled"],zd={class:"clear-form-button__label"},jd=Ie(a.defineComponent({__name:"ClearFormButton",props:{label:{default:"Очистить"},disabled:{type:Boolean,default:!1}},emits:["clear"],setup(n,{emit:e}){const t=n,i=e,r=()=>{t.disabled||i("clear",!0)};return(s,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["clear-form-button",{"clear-form-button--disabled":s.disabled}]),disabled:s.disabled,"data-test":"ClearFormButton",onClick:r},[o[0]||(o[0]=a.createElementVNode("div",{class:"clear-form-button__icon"},[a.createElementVNode("i",{class:"bi bi-trash-fill"})],-1)),a.createElementVNode("div",zd,a.toDisplayString(s.label),1)],10,Vd))}}),[["__scopeId","data-v-ed163ff4"]]),Wd={class:"toggle-buttons","data-test":"ToggleButtons"},Ud=["onClick"],Gd=Ie(a.defineComponent({__name:"ToggleButtons",props:{options:{},modelValue:{default:""}},emits:["update:modelValue"],setup(n,{emit:e}){const t=e,i=r=>{t("update:modelValue",r.name)};return(r,s)=>(a.openBlock(),a.createElementBlock("div",Wd,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(r.options,o=>(a.openBlock(),a.createElementBlock("button",{key:o.name,type:"button",class:a.normalizeClass(["toggle-buttons__button",{"toggle-buttons__button--active":r.modelValue===o.name}]),onClick:l=>i(o)},a.toDisplayString(o.title),11,Ud))),128))]))}}),[["__scopeId","data-v-4eae7f5d"]]);var nl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function rl(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function Yd(n){if(Object.prototype.hasOwnProperty.call(n,"__esModule"))return n;var e=n.default;if(typeof e=="function"){var t=function i(){var r=!1;try{r=this instanceof i}catch{}return r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(n).forEach(function(i){var r=Object.getOwnPropertyDescriptor(n,i);Object.defineProperty(t,i,r.get?r:{enumerable:!0,get:function(){return n[i]}})}),t}var _r,sl;function Oi(){return sl||(sl=1,_r=TypeError),_r}const Qd=Yd(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var Pr,al;function On(){if(al)return Pr;al=1;var n=typeof Map=="function"&&Map.prototype,e=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,t=n&&e&&typeof e.get=="function"?e.get:null,i=n&&Map.prototype.forEach,r=typeof Set=="function"&&Set.prototype,s=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,o=r&&s&&typeof s.get=="function"?s.get:null,l=r&&Set.prototype.forEach,u=typeof WeakMap=="function"&&WeakMap.prototype,c=u?WeakMap.prototype.has:null,d=typeof WeakSet=="function"&&WeakSet.prototype,f=d?WeakSet.prototype.has:null,p=typeof WeakRef=="function"&&WeakRef.prototype,h=p?WeakRef.prototype.deref:null,x=Boolean.prototype.valueOf,y=Object.prototype.toString,A=Function.prototype.toString,C=String.prototype.match,m=String.prototype.slice,D=String.prototype.replace,g=String.prototype.toUpperCase,M=String.prototype.toLowerCase,v=RegExp.prototype.test,S=Array.prototype.concat,w=Array.prototype.join,k=Array.prototype.slice,b=Math.floor,T=typeof BigInt=="function"?BigInt.prototype.valueOf:null,R=Object.getOwnPropertySymbols,L=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,N=typeof Symbol=="function"&&typeof Symbol.iterator=="object",j=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===N||!0)?Symbol.toStringTag:null,G=Object.prototype.propertyIsEnumerable,I=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(te){return te.__proto__}:null);function H(te,re){if(te===1/0||te===-1/0||te!==te||te&&te>-1e3&&te<1e3||v.call(/e/,re))return re;var Pe=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof te=="number"){var ze=te<0?-b(-te):b(te);if(ze!==te){var Oe=String(ze),Re=m.call(re,Oe.length+1);return D.call(Oe,Pe,"$&_")+"."+D.call(D.call(Re,/([0-9]{3})/g,"$&_"),/_$/,"")}}return D.call(re,Pe,"$&_")}var J=Qd,F=J.custom,P=le(F)?F:null,Q={__proto__:null,double:'"',single:"'"},z={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};Pr=function te(re,Pe,ze,Oe){var Re=Pe||{};if(xe(Re,"quoteStyle")&&!xe(Q,Re.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(xe(Re,"maxStringLength")&&(typeof Re.maxStringLength=="number"?Re.maxStringLength<0&&Re.maxStringLength!==1/0:Re.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var ct=xe(Re,"customInspect")?Re.customInspect:!0;if(typeof ct!="boolean"&&ct!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(xe(Re,"indent")&&Re.indent!==null&&Re.indent!==" "&&!(parseInt(Re.indent,10)===Re.indent&&Re.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(xe(Re,"numericSeparator")&&typeof Re.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var ge=Re.numericSeparator;if(typeof re>"u")return"undefined";if(re===null)return"null";if(typeof re=="boolean")return re?"true":"false";if(typeof re=="string")return Me(re,Re);if(typeof re=="number"){if(re===0)return 1/0/re>0?"0":"-0";var B=String(re);return ge?H(re,B):B}if(typeof re=="bigint"){var E=String(re)+"n";return ge?H(re,E):E}var O=typeof Re.depth>"u"?5:Re.depth;if(typeof ze>"u"&&(ze=0),ze>=O&&O>0&&typeof re=="object")return se(re)?"[Array]":"[Object]";var _=Rt(Re,ze);if(typeof Oe>"u")Oe=[];else if(Ne(Oe,re)>=0)return"[Circular]";function Y(jt,$t,Xi){if($t&&(Oe=k.call(Oe),Oe.push($t)),Xi){var Di={depth:Re.depth};return xe(Re,"quoteStyle")&&(Di.quoteStyle=Re.quoteStyle),te(jt,Di,ze+1,Oe)}return te(jt,Re,ze+1,Oe)}if(typeof re=="function"&&!Z(re)){var ne=_e(re),ue=Ge(re,Y);return"[Function"+(ne?": "+ne:" (anonymous)")+"]"+(ue.length>0?" { "+w.call(ue,", ")+" }":"")}if(le(re)){var fe=N?D.call(String(re),/^(Symbol\(.*\))_[^)]*$/,"$1"):L.call(re);return typeof re=="object"&&!N?Se(fe):fe}if(ke(re)){for(var pe="<"+M.call(String(re.nodeName)),be=re.attributes||[],Ce=0;Ce<be.length;Ce++)pe+=" "+be[Ce].name+"="+q(X(be[Ce].value),"double",Re);return pe+=">",re.childNodes&&re.childNodes.length&&(pe+="..."),pe+="</"+M.call(String(re.nodeName))+">",pe}if(se(re)){if(re.length===0)return"[]";var De=Ge(re,Y);return _&&!je(De)?"["+At(De,_)+"]":"[ "+w.call(De,", ")+" ]"}if(de(re)){var We=Ge(re,Y);return!("cause"in Error.prototype)&&"cause"in re&&!G.call(re,"cause")?"{ ["+String(re)+"] "+w.call(S.call("[cause]: "+Y(re.cause),We),", ")+" }":We.length===0?"["+String(re)+"]":"{ ["+String(re)+"] "+w.call(We,", ")+" }"}if(typeof re=="object"&&ct){if(P&&typeof re[P]=="function"&&J)return J(re,{depth:O-ze});if(ct!=="symbol"&&typeof re.inspect=="function")return re.inspect()}if(ce(re)){var Be=[];return i&&i.call(re,function(jt,$t){Be.push(Y($t,re,!0)+" => "+Y(jt,re))}),et("Map",t.call(re),Be,_)}if(me(re)){var qe=[];return l&&l.call(re,function(jt){qe.push(Y(jt,re))}),et("Set",o.call(re),qe,_)}if($(re))return Le("WeakMap");if(he(re))return Le("WeakSet");if(ie(re))return Le("WeakRef");if(W(re))return Se(Y(Number(re)));if(ye(re))return Se(Y(T.call(re)));if(oe(re))return Se(x.call(re));if(V(re))return Se(Y(String(re)));if(typeof window<"u"&&re===window)return"{ [object Window] }";if(typeof globalThis<"u"&&re===globalThis||typeof nl<"u"&&re===nl)return"{ [object globalThis] }";if(!U(re)&&!Z(re)){var Xe=Ge(re,Y),at=I?I(re)===Object.prototype:re instanceof Object||re.constructor===Object,nt=re instanceof Object?"":"null prototype",yi=!at&&j&&Object(re)===re&&j in re?m.call(Fe(re),8,-1):nt?"Object":"",Ti=at||typeof re.constructor!="function"?"":re.constructor.name?re.constructor.name+" ":"",ci=Ti+(yi||nt?"["+w.call(S.call([],yi||[],nt||[]),": ")+"] ":"");return Xe.length===0?ci+"{}":_?ci+"{"+At(Xe,_)+"}":ci+"{ "+w.call(Xe,", ")+" }"}return String(re)};function q(te,re,Pe){var ze=Pe.quoteStyle||re,Oe=Q[ze];return Oe+te+Oe}function X(te){return D.call(String(te),/"/g,"&quot;")}function K(te){return!j||!(typeof te=="object"&&(j in te||typeof te[j]<"u"))}function se(te){return Fe(te)==="[object Array]"&&K(te)}function U(te){return Fe(te)==="[object Date]"&&K(te)}function Z(te){return Fe(te)==="[object RegExp]"&&K(te)}function de(te){return Fe(te)==="[object Error]"&&K(te)}function V(te){return Fe(te)==="[object String]"&&K(te)}function W(te){return Fe(te)==="[object Number]"&&K(te)}function oe(te){return Fe(te)==="[object Boolean]"&&K(te)}function le(te){if(N)return te&&typeof te=="object"&&te instanceof Symbol;if(typeof te=="symbol")return!0;if(!te||typeof te!="object"||!L)return!1;try{return L.call(te),!0}catch{}return!1}function ye(te){if(!te||typeof te!="object"||!T)return!1;try{return T.call(te),!0}catch{}return!1}var we=Object.prototype.hasOwnProperty||function(te){return te in this};function xe(te,re){return we.call(te,re)}function Fe(te){return y.call(te)}function _e(te){if(te.name)return te.name;var re=C.call(A.call(te),/^function\s*([\w$]+)/);return re?re[1]:null}function Ne(te,re){if(te.indexOf)return te.indexOf(re);for(var Pe=0,ze=te.length;Pe<ze;Pe++)if(te[Pe]===re)return Pe;return-1}function ce(te){if(!t||!te||typeof te!="object")return!1;try{t.call(te);try{o.call(te)}catch{return!0}return te instanceof Map}catch{}return!1}function $(te){if(!c||!te||typeof te!="object")return!1;try{c.call(te,c);try{f.call(te,f)}catch{return!0}return te instanceof WeakMap}catch{}return!1}function ie(te){if(!h||!te||typeof te!="object")return!1;try{return h.call(te),!0}catch{}return!1}function me(te){if(!o||!te||typeof te!="object")return!1;try{o.call(te);try{t.call(te)}catch{return!0}return te instanceof Set}catch{}return!1}function he(te){if(!f||!te||typeof te!="object")return!1;try{f.call(te,f);try{c.call(te,c)}catch{return!0}return te instanceof WeakSet}catch{}return!1}function ke(te){return!te||typeof te!="object"?!1:typeof HTMLElement<"u"&&te instanceof HTMLElement?!0:typeof te.nodeName=="string"&&typeof te.getAttribute=="function"}function Me(te,re){if(te.length>re.maxStringLength){var Pe=te.length-re.maxStringLength,ze="... "+Pe+" more character"+(Pe>1?"s":"");return Me(m.call(te,0,re.maxStringLength),re)+ze}var Oe=z[re.quoteStyle||"single"];Oe.lastIndex=0;var Re=D.call(D.call(te,Oe,"\\$1"),/[\x00-\x1f]/g,ae);return q(Re,"single",re)}function ae(te){var re=te.charCodeAt(0),Pe={8:"b",9:"t",10:"n",12:"f",13:"r"}[re];return Pe?"\\"+Pe:"\\x"+(re<16?"0":"")+g.call(re.toString(16))}function Se(te){return"Object("+te+")"}function Le(te){return te+" { ? }"}function et(te,re,Pe,ze){var Oe=ze?At(Pe,ze):w.call(Pe,", ");return te+" ("+re+") {"+Oe+"}"}function je(te){for(var re=0;re<te.length;re++)if(Ne(te[re],`
1
+ (function(ee,a){typeof exports=="object"&&typeof module<"u"?a(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],a):(ee=typeof globalThis<"u"?globalThis:ee||self,a(ee.R3uiLib={},ee.Vue))})(this,(function(ee,a){"use strict";const Lr={__name:"Spinner",props:{isSmall:{type:Boolean,default:!1}},setup(n){return(e,t)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["spinner-border",{"spinner-border-sm":n.isSmall}]),role:"status"},null,2))}},Br={__name:"Icon",props:{name:{type:String,required:!0}},setup(n){return(e,t)=>(a.openBlock(),a.createElementBlock("i",{class:a.normalizeClass(`bi bi-${n.name}`)},null,2))}},Od={class:"d-inline-flex align-items-center justify-content-center"},Ld={key:2},Fr={__name:"DefaultButton",props:{label:{type:String,default:""},icon:{type:String,default:""},iconPosition:{type:String,default:"left",validator(n){return["right","left"].includes(n)}},isLoading:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1},isFullWidth:{type:Boolean,default:!1},customClasses:{type:Array,default:()=>[]},styles:{type:String,default:"primary",validator(n){return["primary","light","secondary","success","danger","warning","info"].includes(n)}}},emits:["submit"],setup(n,{emit:e}){const t=n,i=e,r=a.computed(()=>`btn-${t.styles}`);function s(){t.isLoading||t.isDisabled||i("submit")}return(o,l)=>(a.openBlock(),a.createElementBlock("button",{"data-test":"DefaultButton",class:a.normalizeClass(["btn",[n.isLoading||n.isDisabled?"disabled":"",n.isFullWidth?"w-100":"",n.styles?r.value:"",...n.customClasses]]),onClick:a.withModifiers(s,["prevent"])},[a.createElementVNode("div",Od,[n.icon&&n.iconPosition==="left"?(a.openBlock(),a.createBlock(Br,{key:0,name:n.icon,class:a.normalizeClass(n.label?"me-2":"")},null,8,["name","class"])):a.createCommentVNode("",!0),n.isLoading?(a.openBlock(),a.createBlock(Lr,{key:1,isSmall:!0,class:"pe-2"})):a.createCommentVNode("",!0),n.label?(a.openBlock(),a.createElementBlock("span",Ld,a.toDisplayString(n.label),1)):a.createCommentVNode("",!0),n.icon&&n.iconPosition==="right"?(a.openBlock(),a.createBlock(Br,{key:3,name:n.icon,class:a.normalizeClass(n.label?"ms-2":"")},null,8,["name","class"])):a.createCommentVNode("",!0)])],2))}},Bd=a.defineComponent({__name:"AddButton",props:{label:{default:""},text:{default:""},disabled:{type:Boolean,default:!1},iconClass:{default:"bi bi-plus-circle-fill pe-2"}},emits:["click"],setup(n,{emit:e}){const t=n,i=e,r=()=>{t.disabled||i("click")};return(s,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["d-flex add-button",{"opacity-75 disabled":s.disabled}]),style:{cursor:"pointer"},"data-test":"AddButton",onClick:r},[a.createElementVNode("i",{class:a.normalizeClass(s.iconClass)},null,2),a.createTextVNode(" "+a.toDisplayString(s.label||s.text||"Добавить"),1)],2))}}),Ie=(n,e)=>{const t=n.__vccOpts||n;for(const[i,r]of e)t[i]=r;return t},il=Ie(Bd,[["__scopeId","data-v-cf07042b"]]),Fd={"data-test":"CollapseButton"},_d=["id"],Pd=["id"],Nd=Ie(a.defineComponent({__name:"CollapseButton",props:{isCollapsed:{type:Boolean,default:!0},expandText:{default:"Развернуть все"},collapseText:{default:"Свернуть все"},expandId:{default:"expand-filters-btn"},collapseId:{default:"collapse-filters-btn"},buttonStyle:{default:"padding: 8px 24px; margin-bottom: 32px"},iconStyle:{default:"font-size: 10px"},expandLabel:{default:"Развернуть все"},collapseLabel:{default:"Свернуть все"},isColapsed:{type:Boolean}},emits:["emitCollapseToggle","emitColapsed","expand","collapse"],setup(n,{emit:e}){const t=n,i=e,r=a.computed(()=>t.isCollapsed),s=a.computed(()=>t.expandText),o=a.computed(()=>t.collapseText),l=()=>{i("emitCollapseToggle",!1),i("emitColapsed",!1),i("expand")},u=()=>{i("emitCollapseToggle",!0),i("emitColapsed",!0),i("collapse")};return(c,d)=>(a.openBlock(),a.createElementBlock("div",Fd,[r.value?(a.openBlock(),a.createElementBlock("button",{key:0,type:"button",id:c.expandId,class:"btn btn-light collapse-button",onClick:l,style:a.normalizeStyle(c.buttonStyle)},[a.createTextVNode(a.toDisplayString(s.value)+" ",1),a.createElementVNode("i",{class:"bi bi-caret-down-fill",style:a.normalizeStyle(c.iconStyle)},null,4)],12,_d)):a.createCommentVNode("",!0),r.value?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("button",{key:1,type:"button",id:c.collapseId,class:"btn btn-light collapse-button",onClick:u,style:a.normalizeStyle(c.buttonStyle)},[a.createTextVNode(a.toDisplayString(o.value)+" ",1),a.createElementVNode("i",{class:"bi bi-caret-up-fill",style:a.normalizeStyle(c.iconStyle)},null,4)],12,Pd))]))}}),[["__scopeId","data-v-a0502514"]]),Id=Ie(a.defineComponent({__name:"ExportButton",props:{label:{default:""},text:{default:""},disabled:{type:Boolean,default:!1},exportType:{default:"default"}},emits:["export"],setup(n,{emit:e}){const t=n,i=e,r=()=>{t.disabled||i("export",t.exportType)};return(s,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["col-auto export-button",{"opacity-75 disabled":s.disabled}]),style:{cursor:"pointer"},"data-test":"ExportButton",onClick:r},[a.createTextVNode(a.toDisplayString(s.label||s.text||"Экспорт")+" ",1),o[0]||(o[0]=a.createElementVNode("i",{class:"ps-2 bi bi-file-earmark-arrow-down-fill"},null,-1))],2))}}),[["__scopeId","data-v-20f08c06"]]),Hd=Ie(a.defineComponent({__name:"PrintButton",props:{label:{default:""},text:{default:""},disabled:{type:Boolean,default:!1}},emits:["print"],setup(n,{emit:e}){const t=n,i=e,r=()=>{t.disabled||(window.print(),i("print"))};return(s,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["col-auto print-button",{"opacity-75 disabled":s.disabled}]),style:{cursor:"pointer"},"data-test":"PrintButton",onClick:r},[a.createTextVNode(a.toDisplayString(s.label||s.text||"Печать")+" ",1),o[0]||(o[0]=a.createElementVNode("i",{class:"ps-2 bi bi-printer-fill"},null,-1))],2))}}),[["__scopeId","data-v-52020521"]]),Vd=["disabled"],zd={class:"clear-form-button__label"},jd=Ie(a.defineComponent({__name:"ClearFormButton",props:{label:{default:"Очистить"},disabled:{type:Boolean,default:!1}},emits:["clear"],setup(n,{emit:e}){const t=n,i=e,r=()=>{t.disabled||i("clear",!0)};return(s,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["clear-form-button",{"clear-form-button--disabled":s.disabled}]),disabled:s.disabled,"data-test":"ClearFormButton",onClick:r},[o[0]||(o[0]=a.createElementVNode("div",{class:"clear-form-button__icon"},[a.createElementVNode("i",{class:"bi bi-trash-fill"})],-1)),a.createElementVNode("div",zd,a.toDisplayString(s.label),1)],10,Vd))}}),[["__scopeId","data-v-ed163ff4"]]),Wd={class:"toggle-buttons","data-test":"ToggleButtons"},Ud=["onClick"],Gd=Ie(a.defineComponent({__name:"ToggleButtons",props:{options:{},modelValue:{default:""}},emits:["update:modelValue"],setup(n,{emit:e}){const t=e,i=r=>{t("update:modelValue",r.name)};return(r,s)=>(a.openBlock(),a.createElementBlock("div",Wd,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(r.options,o=>(a.openBlock(),a.createElementBlock("button",{key:o.name,type:"button",class:a.normalizeClass(["toggle-buttons__button",{"toggle-buttons__button--active":r.modelValue===o.name}]),onClick:l=>i(o)},a.toDisplayString(o.title),11,Ud))),128))]))}}),[["__scopeId","data-v-4eae7f5d"]]);var nl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function rl(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function Yd(n){if(Object.prototype.hasOwnProperty.call(n,"__esModule"))return n;var e=n.default;if(typeof e=="function"){var t=function i(){var r=!1;try{r=this instanceof i}catch{}return r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(n).forEach(function(i){var r=Object.getOwnPropertyDescriptor(n,i);Object.defineProperty(t,i,r.get?r:{enumerable:!0,get:function(){return n[i]}})}),t}var _r,sl;function Oi(){return sl||(sl=1,_r=TypeError),_r}const Qd=Yd(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var Pr,al;function On(){if(al)return Pr;al=1;var n=typeof Map=="function"&&Map.prototype,e=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,t=n&&e&&typeof e.get=="function"?e.get:null,i=n&&Map.prototype.forEach,r=typeof Set=="function"&&Set.prototype,s=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,o=r&&s&&typeof s.get=="function"?s.get:null,l=r&&Set.prototype.forEach,u=typeof WeakMap=="function"&&WeakMap.prototype,c=u?WeakMap.prototype.has:null,d=typeof WeakSet=="function"&&WeakSet.prototype,f=d?WeakSet.prototype.has:null,p=typeof WeakRef=="function"&&WeakRef.prototype,h=p?WeakRef.prototype.deref:null,x=Boolean.prototype.valueOf,y=Object.prototype.toString,A=Function.prototype.toString,C=String.prototype.match,m=String.prototype.slice,D=String.prototype.replace,g=String.prototype.toUpperCase,M=String.prototype.toLowerCase,v=RegExp.prototype.test,S=Array.prototype.concat,w=Array.prototype.join,k=Array.prototype.slice,b=Math.floor,T=typeof BigInt=="function"?BigInt.prototype.valueOf:null,R=Object.getOwnPropertySymbols,L=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,N=typeof Symbol=="function"&&typeof Symbol.iterator=="object",j=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===N||!0)?Symbol.toStringTag:null,G=Object.prototype.propertyIsEnumerable,I=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(te){return te.__proto__}:null);function H(te,re){if(te===1/0||te===-1/0||te!==te||te&&te>-1e3&&te<1e3||v.call(/e/,re))return re;var Pe=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof te=="number"){var ze=te<0?-b(-te):b(te);if(ze!==te){var Oe=String(ze),Re=m.call(re,Oe.length+1);return D.call(Oe,Pe,"$&_")+"."+D.call(D.call(Re,/([0-9]{3})/g,"$&_"),/_$/,"")}}return D.call(re,Pe,"$&_")}var J=Qd,F=J.custom,P=oe(F)?F:null,Q={__proto__:null,double:'"',single:"'"},z={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};Pr=function te(re,Pe,ze,Oe){var Re=Pe||{};if(xe(Re,"quoteStyle")&&!xe(Q,Re.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(xe(Re,"maxStringLength")&&(typeof Re.maxStringLength=="number"?Re.maxStringLength<0&&Re.maxStringLength!==1/0:Re.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var ct=xe(Re,"customInspect")?Re.customInspect:!0;if(typeof ct!="boolean"&&ct!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(xe(Re,"indent")&&Re.indent!==null&&Re.indent!==" "&&!(parseInt(Re.indent,10)===Re.indent&&Re.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(xe(Re,"numericSeparator")&&typeof Re.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var ge=Re.numericSeparator;if(typeof re>"u")return"undefined";if(re===null)return"null";if(typeof re=="boolean")return re?"true":"false";if(typeof re=="string")return Me(re,Re);if(typeof re=="number"){if(re===0)return 1/0/re>0?"0":"-0";var B=String(re);return ge?H(re,B):B}if(typeof re=="bigint"){var E=String(re)+"n";return ge?H(re,E):E}var O=typeof Re.depth>"u"?5:Re.depth;if(typeof ze>"u"&&(ze=0),ze>=O&&O>0&&typeof re=="object")return se(re)?"[Array]":"[Object]";var _=Rt(Re,ze);if(typeof Oe>"u")Oe=[];else if(Ne(Oe,re)>=0)return"[Circular]";function Y(jt,$t,Xi){if($t&&(Oe=k.call(Oe),Oe.push($t)),Xi){var Di={depth:Re.depth};return xe(Re,"quoteStyle")&&(Di.quoteStyle=Re.quoteStyle),te(jt,Di,ze+1,Oe)}return te(jt,Re,ze+1,Oe)}if(typeof re=="function"&&!Z(re)){var ne=_e(re),ue=Ge(re,Y);return"[Function"+(ne?": "+ne:" (anonymous)")+"]"+(ue.length>0?" { "+w.call(ue,", ")+" }":"")}if(oe(re)){var fe=N?D.call(String(re),/^(Symbol\(.*\))_[^)]*$/,"$1"):L.call(re);return typeof re=="object"&&!N?Se(fe):fe}if(ke(re)){for(var pe="<"+M.call(String(re.nodeName)),be=re.attributes||[],Ce=0;Ce<be.length;Ce++)pe+=" "+be[Ce].name+"="+q(X(be[Ce].value),"double",Re);return pe+=">",re.childNodes&&re.childNodes.length&&(pe+="..."),pe+="</"+M.call(String(re.nodeName))+">",pe}if(se(re)){if(re.length===0)return"[]";var De=Ge(re,Y);return _&&!je(De)?"["+At(De,_)+"]":"[ "+w.call(De,", ")+" ]"}if(de(re)){var We=Ge(re,Y);return!("cause"in Error.prototype)&&"cause"in re&&!G.call(re,"cause")?"{ ["+String(re)+"] "+w.call(S.call("[cause]: "+Y(re.cause),We),", ")+" }":We.length===0?"["+String(re)+"]":"{ ["+String(re)+"] "+w.call(We,", ")+" }"}if(typeof re=="object"&&ct){if(P&&typeof re[P]=="function"&&J)return J(re,{depth:O-ze});if(ct!=="symbol"&&typeof re.inspect=="function")return re.inspect()}if(ce(re)){var Be=[];return i&&i.call(re,function(jt,$t){Be.push(Y($t,re,!0)+" => "+Y(jt,re))}),et("Map",t.call(re),Be,_)}if(me(re)){var qe=[];return l&&l.call(re,function(jt){qe.push(Y(jt,re))}),et("Set",o.call(re),qe,_)}if($(re))return Le("WeakMap");if(he(re))return Le("WeakSet");if(ie(re))return Le("WeakRef");if(W(re))return Se(Y(Number(re)));if(ye(re))return Se(Y(T.call(re)));if(le(re))return Se(x.call(re));if(V(re))return Se(Y(String(re)));if(typeof window<"u"&&re===window)return"{ [object Window] }";if(typeof globalThis<"u"&&re===globalThis||typeof nl<"u"&&re===nl)return"{ [object globalThis] }";if(!U(re)&&!Z(re)){var Xe=Ge(re,Y),at=I?I(re)===Object.prototype:re instanceof Object||re.constructor===Object,nt=re instanceof Object?"":"null prototype",yi=!at&&j&&Object(re)===re&&j in re?m.call(Fe(re),8,-1):nt?"Object":"",Ti=at||typeof re.constructor!="function"?"":re.constructor.name?re.constructor.name+" ":"",ci=Ti+(yi||nt?"["+w.call(S.call([],yi||[],nt||[]),": ")+"] ":"");return Xe.length===0?ci+"{}":_?ci+"{"+At(Xe,_)+"}":ci+"{ "+w.call(Xe,", ")+" }"}return String(re)};function q(te,re,Pe){var ze=Pe.quoteStyle||re,Oe=Q[ze];return Oe+te+Oe}function X(te){return D.call(String(te),/"/g,"&quot;")}function K(te){return!j||!(typeof te=="object"&&(j in te||typeof te[j]<"u"))}function se(te){return Fe(te)==="[object Array]"&&K(te)}function U(te){return Fe(te)==="[object Date]"&&K(te)}function Z(te){return Fe(te)==="[object RegExp]"&&K(te)}function de(te){return Fe(te)==="[object Error]"&&K(te)}function V(te){return Fe(te)==="[object String]"&&K(te)}function W(te){return Fe(te)==="[object Number]"&&K(te)}function le(te){return Fe(te)==="[object Boolean]"&&K(te)}function oe(te){if(N)return te&&typeof te=="object"&&te instanceof Symbol;if(typeof te=="symbol")return!0;if(!te||typeof te!="object"||!L)return!1;try{return L.call(te),!0}catch{}return!1}function ye(te){if(!te||typeof te!="object"||!T)return!1;try{return T.call(te),!0}catch{}return!1}var we=Object.prototype.hasOwnProperty||function(te){return te in this};function xe(te,re){return we.call(te,re)}function Fe(te){return y.call(te)}function _e(te){if(te.name)return te.name;var re=C.call(A.call(te),/^function\s*([\w$]+)/);return re?re[1]:null}function Ne(te,re){if(te.indexOf)return te.indexOf(re);for(var Pe=0,ze=te.length;Pe<ze;Pe++)if(te[Pe]===re)return Pe;return-1}function ce(te){if(!t||!te||typeof te!="object")return!1;try{t.call(te);try{o.call(te)}catch{return!0}return te instanceof Map}catch{}return!1}function $(te){if(!c||!te||typeof te!="object")return!1;try{c.call(te,c);try{f.call(te,f)}catch{return!0}return te instanceof WeakMap}catch{}return!1}function ie(te){if(!h||!te||typeof te!="object")return!1;try{return h.call(te),!0}catch{}return!1}function me(te){if(!o||!te||typeof te!="object")return!1;try{o.call(te);try{t.call(te)}catch{return!0}return te instanceof Set}catch{}return!1}function he(te){if(!f||!te||typeof te!="object")return!1;try{f.call(te,f);try{c.call(te,c)}catch{return!0}return te instanceof WeakSet}catch{}return!1}function ke(te){return!te||typeof te!="object"?!1:typeof HTMLElement<"u"&&te instanceof HTMLElement?!0:typeof te.nodeName=="string"&&typeof te.getAttribute=="function"}function Me(te,re){if(te.length>re.maxStringLength){var Pe=te.length-re.maxStringLength,ze="... "+Pe+" more character"+(Pe>1?"s":"");return Me(m.call(te,0,re.maxStringLength),re)+ze}var Oe=z[re.quoteStyle||"single"];Oe.lastIndex=0;var Re=D.call(D.call(te,Oe,"\\$1"),/[\x00-\x1f]/g,ae);return q(Re,"single",re)}function ae(te){var re=te.charCodeAt(0),Pe={8:"b",9:"t",10:"n",12:"f",13:"r"}[re];return Pe?"\\"+Pe:"\\x"+(re<16?"0":"")+g.call(re.toString(16))}function Se(te){return"Object("+te+")"}function Le(te){return te+" { ? }"}function et(te,re,Pe,ze){var Oe=ze?At(Pe,ze):w.call(Pe,", ");return te+" ("+re+") {"+Oe+"}"}function je(te){for(var re=0;re<te.length;re++)if(Ne(te[re],`
2
2
  `)>=0)return!1;return!0}function Rt(te,re){var Pe;if(te.indent===" ")Pe=" ";else if(typeof te.indent=="number"&&te.indent>0)Pe=w.call(Array(te.indent+1)," ");else return null;return{base:Pe,prev:w.call(Array(re+1),Pe)}}function At(te,re){if(te.length===0)return"";var Pe=`
3
3
  `+re.prev+re.base;return Pe+w.call(te,","+Pe)+`
4
- `+re.prev}function Ge(te,re){var Pe=se(te),ze=[];if(Pe){ze.length=te.length;for(var Oe=0;Oe<te.length;Oe++)ze[Oe]=xe(te,Oe)?re(te[Oe],te):""}var Re=typeof R=="function"?R(te):[],ct;if(N){ct={};for(var ge=0;ge<Re.length;ge++)ct["$"+Re[ge]]=Re[ge]}for(var B in te)xe(te,B)&&(Pe&&String(Number(B))===B&&B<te.length||N&&ct["$"+B]instanceof Symbol||(v.call(/[^\w$]/,B)?ze.push(re(B,te)+": "+re(te[B],te)):ze.push(B+": "+re(te[B],te))));if(typeof R=="function")for(var E=0;E<Re.length;E++)G.call(te,Re[E])&&ze.push("["+re(Re[E])+"]: "+re(te[Re[E]],te));return ze}return Pr}var Nr,ol;function Kd(){if(ol)return Nr;ol=1;var n=On(),e=Oi(),t=function(l,u,c){for(var d=l,f;(f=d.next)!=null;d=f)if(f.key===u)return d.next=f.next,c||(f.next=l.next,l.next=f),f},i=function(l,u){if(l){var c=t(l,u);return c&&c.value}},r=function(l,u,c){var d=t(l,u);d?d.value=c:l.next={key:u,next:l.next,value:c}},s=function(l,u){return l?!!t(l,u):!1},o=function(l,u){if(l)return t(l,u,!0)};return Nr=function(){var u,c={assert:function(d){if(!c.has(d))throw new e("Side channel does not contain "+n(d))},delete:function(d){var f=u&&u.next,p=o(u,d);return p&&f&&f===p&&(u=void 0),!!p},get:function(d){return i(u,d)},has:function(d){return s(u,d)},set:function(d,f){u||(u={next:void 0}),r(u,d,f)}};return c},Nr}var Ir,ll;function ul(){return ll||(ll=1,Ir=Object),Ir}var Hr,cl;function Jd(){return cl||(cl=1,Hr=Error),Hr}var Vr,dl;function qd(){return dl||(dl=1,Vr=EvalError),Vr}var zr,hl;function $d(){return hl||(hl=1,zr=RangeError),zr}var jr,fl;function Zd(){return fl||(fl=1,jr=ReferenceError),jr}var Wr,pl;function Xd(){return pl||(pl=1,Wr=SyntaxError),Wr}var Ur,ml;function eh(){return ml||(ml=1,Ur=URIError),Ur}var Gr,gl;function th(){return gl||(gl=1,Gr=Math.abs),Gr}var Yr,bl;function ih(){return bl||(bl=1,Yr=Math.floor),Yr}var Qr,vl;function nh(){return vl||(vl=1,Qr=Math.max),Qr}var Kr,yl;function rh(){return yl||(yl=1,Kr=Math.min),Kr}var Jr,wl;function sh(){return wl||(wl=1,Jr=Math.pow),Jr}var qr,Cl;function ah(){return Cl||(Cl=1,qr=Math.round),qr}var $r,Al;function oh(){return Al||(Al=1,$r=Number.isNaN||function(e){return e!==e}),$r}var Zr,El;function lh(){if(El)return Zr;El=1;var n=oh();return Zr=function(t){return n(t)||t===0?t:t<0?-1:1},Zr}var Xr,kl;function uh(){return kl||(kl=1,Xr=Object.getOwnPropertyDescriptor),Xr}var es,Sl;function xl(){if(Sl)return es;Sl=1;var n=uh();if(n)try{n([],"length")}catch{n=null}return es=n,es}var ts,Rl;function ch(){if(Rl)return ts;Rl=1;var n=Object.defineProperty||!1;if(n)try{n({},"a",{value:1})}catch{n=!1}return ts=n,ts}var is,Ml;function dh(){return Ml||(Ml=1,is=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),i=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return!1;var r=42;e[t]=r;for(var s in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var o=Object.getOwnPropertySymbols(e);if(o.length!==1||o[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(e,t);if(l.value!==r||l.enumerable!==!0)return!1}return!0}),is}var ns,Tl;function hh(){if(Tl)return ns;Tl=1;var n=typeof Symbol<"u"&&Symbol,e=dh();return ns=function(){return typeof n!="function"||typeof Symbol!="function"||typeof n("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},ns}var rs,Dl;function Ol(){return Dl||(Dl=1,rs=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),rs}var ss,Ll;function Bl(){if(Ll)return ss;Ll=1;var n=ul();return ss=n.getPrototypeOf||null,ss}var as,Fl;function fh(){if(Fl)return as;Fl=1;var n="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,t=Math.max,i="[object Function]",r=function(u,c){for(var d=[],f=0;f<u.length;f+=1)d[f]=u[f];for(var p=0;p<c.length;p+=1)d[p+u.length]=c[p];return d},s=function(u,c){for(var d=[],f=c,p=0;f<u.length;f+=1,p+=1)d[p]=u[f];return d},o=function(l,u){for(var c="",d=0;d<l.length;d+=1)c+=l[d],d+1<l.length&&(c+=u);return c};return as=function(u){var c=this;if(typeof c!="function"||e.apply(c)!==i)throw new TypeError(n+c);for(var d=s(arguments,1),f,p=function(){if(this instanceof f){var C=c.apply(this,r(d,arguments));return Object(C)===C?C:this}return c.apply(u,r(d,arguments))},h=t(0,c.length-d.length),x=[],y=0;y<h;y++)x[y]="$"+y;if(f=Function("binder","return function ("+o(x,",")+"){ return binder.apply(this,arguments); }")(p),c.prototype){var A=function(){};A.prototype=c.prototype,f.prototype=new A,A.prototype=null}return f},as}var os,_l;function Ln(){if(_l)return os;_l=1;var n=fh();return os=Function.prototype.bind||n,os}var ls,Pl;function us(){return Pl||(Pl=1,ls=Function.prototype.call),ls}var cs,Nl;function Il(){return Nl||(Nl=1,cs=Function.prototype.apply),cs}var ds,Hl;function ph(){return Hl||(Hl=1,ds=typeof Reflect<"u"&&Reflect&&Reflect.apply),ds}var hs,Vl;function mh(){if(Vl)return hs;Vl=1;var n=Ln(),e=Il(),t=us(),i=ph();return hs=i||n.call(t,e),hs}var fs,zl;function jl(){if(zl)return fs;zl=1;var n=Ln(),e=Oi(),t=us(),i=mh();return fs=function(s){if(s.length<1||typeof s[0]!="function")throw new e("a function is required");return i(n,t,s)},fs}var ps,Wl;function gh(){if(Wl)return ps;Wl=1;var n=jl(),e=xl(),t;try{t=[].__proto__===Array.prototype}catch(o){if(!o||typeof o!="object"||!("code"in o)||o.code!=="ERR_PROTO_ACCESS")throw o}var i=!!t&&e&&e(Object.prototype,"__proto__"),r=Object,s=r.getPrototypeOf;return ps=i&&typeof i.get=="function"?n([i.get]):typeof s=="function"?function(l){return s(l==null?l:r(l))}:!1,ps}var ms,Ul;function bh(){if(Ul)return ms;Ul=1;var n=Ol(),e=Bl(),t=gh();return ms=n?function(r){return n(r)}:e?function(r){if(!r||typeof r!="object"&&typeof r!="function")throw new TypeError("getProto: not an object");return e(r)}:t?function(r){return t(r)}:null,ms}var gs,Gl;function vh(){if(Gl)return gs;Gl=1;var n=Function.prototype.call,e=Object.prototype.hasOwnProperty,t=Ln();return gs=t.call(n,e),gs}var bs,Yl;function vs(){if(Yl)return bs;Yl=1;var n,e=ul(),t=Jd(),i=qd(),r=$d(),s=Zd(),o=Xd(),l=Oi(),u=eh(),c=th(),d=ih(),f=nh(),p=rh(),h=sh(),x=ah(),y=lh(),A=Function,C=function(Z){try{return A('"use strict"; return ('+Z+").constructor;")()}catch{}},m=xl(),D=ch(),g=function(){throw new l},M=m?(function(){try{return arguments.callee,g}catch{try{return m(arguments,"callee").get}catch{return g}}})():g,v=hh()(),S=bh(),w=Bl(),k=Ol(),b=Il(),T=us(),R={},L=typeof Uint8Array>"u"||!S?n:S(Uint8Array),N={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?n:ArrayBuffer,"%ArrayIteratorPrototype%":v&&S?S([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":R,"%AsyncGenerator%":R,"%AsyncGeneratorFunction%":R,"%AsyncIteratorPrototype%":R,"%Atomics%":typeof Atomics>"u"?n:Atomics,"%BigInt%":typeof BigInt>"u"?n:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":i,"%Float16Array%":typeof Float16Array>"u"?n:Float16Array,"%Float32Array%":typeof Float32Array>"u"?n:Float32Array,"%Float64Array%":typeof Float64Array>"u"?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?n:FinalizationRegistry,"%Function%":A,"%GeneratorFunction%":R,"%Int8Array%":typeof Int8Array>"u"?n:Int8Array,"%Int16Array%":typeof Int16Array>"u"?n:Int16Array,"%Int32Array%":typeof Int32Array>"u"?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":v&&S?S(S([][Symbol.iterator]())):n,"%JSON%":typeof JSON=="object"?JSON:n,"%Map%":typeof Map>"u"?n:Map,"%MapIteratorPrototype%":typeof Map>"u"||!v||!S?n:S(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":m,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?n:Promise,"%Proxy%":typeof Proxy>"u"?n:Proxy,"%RangeError%":r,"%ReferenceError%":s,"%Reflect%":typeof Reflect>"u"?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?n:Set,"%SetIteratorPrototype%":typeof Set>"u"||!v||!S?n:S(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":v&&S?S(""[Symbol.iterator]()):n,"%Symbol%":v?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":M,"%TypedArray%":L,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array>"u"?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?n:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>"u"?n:WeakMap,"%WeakRef%":typeof WeakRef>"u"?n:WeakRef,"%WeakSet%":typeof WeakSet>"u"?n:WeakSet,"%Function.prototype.call%":T,"%Function.prototype.apply%":b,"%Object.defineProperty%":D,"%Object.getPrototypeOf%":w,"%Math.abs%":c,"%Math.floor%":d,"%Math.max%":f,"%Math.min%":p,"%Math.pow%":h,"%Math.round%":x,"%Math.sign%":y,"%Reflect.getPrototypeOf%":k};if(S)try{null.error}catch(Z){var j=S(S(Z));N["%Error.prototype%"]=j}var G=function Z(de){var V;if(de==="%AsyncFunction%")V=C("async function () {}");else if(de==="%GeneratorFunction%")V=C("function* () {}");else if(de==="%AsyncGeneratorFunction%")V=C("async function* () {}");else if(de==="%AsyncGenerator%"){var W=Z("%AsyncGeneratorFunction%");W&&(V=W.prototype)}else if(de==="%AsyncIteratorPrototype%"){var oe=Z("%AsyncGenerator%");oe&&S&&(V=S(oe.prototype))}return N[de]=V,V},I={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},H=Ln(),J=vh(),F=H.call(T,Array.prototype.concat),P=H.call(b,Array.prototype.splice),Q=H.call(T,String.prototype.replace),z=H.call(T,String.prototype.slice),q=H.call(T,RegExp.prototype.exec),X=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,K=/\\(\\)?/g,se=function(de){var V=z(de,0,1),W=z(de,-1);if(V==="%"&&W!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(W==="%"&&V!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var oe=[];return Q(de,X,function(le,ye,we,xe){oe[oe.length]=we?Q(xe,K,"$1"):ye||le}),oe},U=function(de,V){var W=de,oe;if(J(I,W)&&(oe=I[W],W="%"+oe[0]+"%"),J(N,W)){var le=N[W];if(le===R&&(le=G(W)),typeof le>"u"&&!V)throw new l("intrinsic "+de+" exists, but is not available. Please file an issue!");return{alias:oe,name:W,value:le}}throw new o("intrinsic "+de+" does not exist!")};return bs=function(de,V){if(typeof de!="string"||de.length===0)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof V!="boolean")throw new l('"allowMissing" argument must be a boolean');if(q(/^%?[^%]*%?$/,de)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var W=se(de),oe=W.length>0?W[0]:"",le=U("%"+oe+"%",V),ye=le.name,we=le.value,xe=!1,Fe=le.alias;Fe&&(oe=Fe[0],P(W,F([0,1],Fe)));for(var _e=1,Ne=!0;_e<W.length;_e+=1){var ce=W[_e],$=z(ce,0,1),ie=z(ce,-1);if(($==='"'||$==="'"||$==="`"||ie==='"'||ie==="'"||ie==="`")&&$!==ie)throw new o("property names with quotes must have matching quotes");if((ce==="constructor"||!Ne)&&(xe=!0),oe+="."+ce,ye="%"+oe+"%",J(N,ye))we=N[ye];else if(we!=null){if(!(ce in we)){if(!V)throw new l("base intrinsic for "+de+" exists, but the property is not available.");return}if(m&&_e+1>=W.length){var me=m(we,ce);Ne=!!me,Ne&&"get"in me&&!("originalValue"in me.get)?we=me.get:we=we[ce]}else Ne=J(we,ce),we=we[ce];Ne&&!xe&&(N[ye]=we)}}return we},bs}var ys,Ql;function Kl(){if(Ql)return ys;Ql=1;var n=vs(),e=jl(),t=e([n("%String.prototype.indexOf%")]);return ys=function(r,s){var o=n(r,!!s);return typeof o=="function"&&t(r,".prototype.")>-1?e([o]):o},ys}var ws,Jl;function ql(){if(Jl)return ws;Jl=1;var n=vs(),e=Kl(),t=On(),i=Oi(),r=n("%Map%",!0),s=e("Map.prototype.get",!0),o=e("Map.prototype.set",!0),l=e("Map.prototype.has",!0),u=e("Map.prototype.delete",!0),c=e("Map.prototype.size",!0);return ws=!!r&&function(){var f,p={assert:function(h){if(!p.has(h))throw new i("Side channel does not contain "+t(h))},delete:function(h){if(f){var x=u(f,h);return c(f)===0&&(f=void 0),x}return!1},get:function(h){if(f)return s(f,h)},has:function(h){return f?l(f,h):!1},set:function(h,x){f||(f=new r),o(f,h,x)}};return p},ws}var Cs,$l;function yh(){if($l)return Cs;$l=1;var n=vs(),e=Kl(),t=On(),i=ql(),r=Oi(),s=n("%WeakMap%",!0),o=e("WeakMap.prototype.get",!0),l=e("WeakMap.prototype.set",!0),u=e("WeakMap.prototype.has",!0),c=e("WeakMap.prototype.delete",!0);return Cs=s?function(){var f,p,h={assert:function(x){if(!h.has(x))throw new r("Side channel does not contain "+t(x))},delete:function(x){if(s&&x&&(typeof x=="object"||typeof x=="function")){if(f)return c(f,x)}else if(i&&p)return p.delete(x);return!1},get:function(x){return s&&x&&(typeof x=="object"||typeof x=="function")&&f?o(f,x):p&&p.get(x)},has:function(x){return s&&x&&(typeof x=="object"||typeof x=="function")&&f?u(f,x):!!p&&p.has(x)},set:function(x,y){s&&x&&(typeof x=="object"||typeof x=="function")?(f||(f=new s),l(f,x,y)):i&&(p||(p=i()),p.set(x,y))}};return h}:i,Cs}var As,Zl;function wh(){if(Zl)return As;Zl=1;var n=Oi(),e=On(),t=Kd(),i=ql(),r=yh(),s=r||i||t;return As=function(){var l,u={assert:function(c){if(!u.has(c))throw new n("Side channel does not contain "+e(c))},delete:function(c){return!!l&&l.delete(c)},get:function(c){return l&&l.get(c)},has:function(c){return!!l&&l.has(c)},set:function(c,d){l||(l=s()),l.set(c,d)}};return u},As}var Es,Xl;function ks(){if(Xl)return Es;Xl=1;var n=String.prototype.replace,e=/%20/g,t={RFC1738:"RFC1738",RFC3986:"RFC3986"};return Es={default:t.RFC3986,formatters:{RFC1738:function(i){return n.call(i,e,"+")},RFC3986:function(i){return String(i)}},RFC1738:t.RFC1738,RFC3986:t.RFC3986},Es}var Ss,eu;function tu(){if(eu)return Ss;eu=1;var n=ks(),e=Object.prototype.hasOwnProperty,t=Array.isArray,i=(function(){for(var A=[],C=0;C<256;++C)A.push("%"+((C<16?"0":"")+C.toString(16)).toUpperCase());return A})(),r=function(C){for(;C.length>1;){var m=C.pop(),D=m.obj[m.prop];if(t(D)){for(var g=[],M=0;M<D.length;++M)typeof D[M]<"u"&&g.push(D[M]);m.obj[m.prop]=g}}},s=function(C,m){for(var D=m&&m.plainObjects?{__proto__:null}:{},g=0;g<C.length;++g)typeof C[g]<"u"&&(D[g]=C[g]);return D},o=function A(C,m,D){if(!m)return C;if(typeof m!="object"&&typeof m!="function"){if(t(C))C.push(m);else if(C&&typeof C=="object")(D&&(D.plainObjects||D.allowPrototypes)||!e.call(Object.prototype,m))&&(C[m]=!0);else return[C,m];return C}if(!C||typeof C!="object")return[C].concat(m);var g=C;return t(C)&&!t(m)&&(g=s(C,D)),t(C)&&t(m)?(m.forEach(function(M,v){if(e.call(C,v)){var S=C[v];S&&typeof S=="object"&&M&&typeof M=="object"?C[v]=A(S,M,D):C.push(M)}else C[v]=M}),C):Object.keys(m).reduce(function(M,v){var S=m[v];return e.call(M,v)?M[v]=A(M[v],S,D):M[v]=S,M},g)},l=function(C,m){return Object.keys(m).reduce(function(D,g){return D[g]=m[g],D},C)},u=function(A,C,m){var D=A.replace(/\+/g," ");if(m==="iso-8859-1")return D.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(D)}catch{return D}},c=1024,d=function(C,m,D,g,M){if(C.length===0)return C;var v=C;if(typeof C=="symbol"?v=Symbol.prototype.toString.call(C):typeof C!="string"&&(v=String(C)),D==="iso-8859-1")return escape(v).replace(/%u[0-9a-f]{4}/gi,function(L){return"%26%23"+parseInt(L.slice(2),16)+"%3B"});for(var S="",w=0;w<v.length;w+=c){for(var k=v.length>=c?v.slice(w,w+c):v,b=[],T=0;T<k.length;++T){var R=k.charCodeAt(T);if(R===45||R===46||R===95||R===126||R>=48&&R<=57||R>=65&&R<=90||R>=97&&R<=122||M===n.RFC1738&&(R===40||R===41)){b[b.length]=k.charAt(T);continue}if(R<128){b[b.length]=i[R];continue}if(R<2048){b[b.length]=i[192|R>>6]+i[128|R&63];continue}if(R<55296||R>=57344){b[b.length]=i[224|R>>12]+i[128|R>>6&63]+i[128|R&63];continue}T+=1,R=65536+((R&1023)<<10|k.charCodeAt(T)&1023),b[b.length]=i[240|R>>18]+i[128|R>>12&63]+i[128|R>>6&63]+i[128|R&63]}S+=b.join("")}return S},f=function(C){for(var m=[{obj:{o:C},prop:"o"}],D=[],g=0;g<m.length;++g)for(var M=m[g],v=M.obj[M.prop],S=Object.keys(v),w=0;w<S.length;++w){var k=S[w],b=v[k];typeof b=="object"&&b!==null&&D.indexOf(b)===-1&&(m.push({obj:v,prop:k}),D.push(b))}return r(m),C},p=function(C){return Object.prototype.toString.call(C)==="[object RegExp]"},h=function(C){return!C||typeof C!="object"?!1:!!(C.constructor&&C.constructor.isBuffer&&C.constructor.isBuffer(C))},x=function(C,m){return[].concat(C,m)},y=function(C,m){if(t(C)){for(var D=[],g=0;g<C.length;g+=1)D.push(m(C[g]));return D}return m(C)};return Ss={arrayToObject:s,assign:l,combine:x,compact:f,decode:u,encode:d,isBuffer:h,isRegExp:p,maybeMap:y,merge:o},Ss}var xs,iu;function Ch(){if(iu)return xs;iu=1;var n=wh(),e=tu(),t=ks(),i=Object.prototype.hasOwnProperty,r={brackets:function(A){return A+"[]"},comma:"comma",indices:function(A,C){return A+"["+C+"]"},repeat:function(A){return A}},s=Array.isArray,o=Array.prototype.push,l=function(y,A){o.apply(y,s(A)?A:[A])},u=Date.prototype.toISOString,c=t.default,d={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:e.encode,encodeValuesOnly:!1,filter:void 0,format:c,formatter:t.formatters[c],indices:!1,serializeDate:function(A){return u.call(A)},skipNulls:!1,strictNullHandling:!1},f=function(A){return typeof A=="string"||typeof A=="number"||typeof A=="boolean"||typeof A=="symbol"||typeof A=="bigint"},p={},h=function y(A,C,m,D,g,M,v,S,w,k,b,T,R,L,N,j,G,I){for(var H=A,J=I,F=0,P=!1;(J=J.get(p))!==void 0&&!P;){var Q=J.get(A);if(F+=1,typeof Q<"u"){if(Q===F)throw new RangeError("Cyclic object value");P=!0}typeof J.get(p)>"u"&&(F=0)}if(typeof k=="function"?H=k(C,H):H instanceof Date?H=R(H):m==="comma"&&s(H)&&(H=e.maybeMap(H,function(ye){return ye instanceof Date?R(ye):ye})),H===null){if(M)return w&&!j?w(C,d.encoder,G,"key",L):C;H=""}if(f(H)||e.isBuffer(H)){if(w){var z=j?C:w(C,d.encoder,G,"key",L);return[N(z)+"="+N(w(H,d.encoder,G,"value",L))]}return[N(C)+"="+N(String(H))]}var q=[];if(typeof H>"u")return q;var X;if(m==="comma"&&s(H))j&&w&&(H=e.maybeMap(H,w)),X=[{value:H.length>0?H.join(",")||null:void 0}];else if(s(k))X=k;else{var K=Object.keys(H);X=b?K.sort(b):K}var se=S?String(C).replace(/\./g,"%2E"):String(C),U=D&&s(H)&&H.length===1?se+"[]":se;if(g&&s(H)&&H.length===0)return U+"[]";for(var Z=0;Z<X.length;++Z){var de=X[Z],V=typeof de=="object"&&de&&typeof de.value<"u"?de.value:H[de];if(!(v&&V===null)){var W=T&&S?String(de).replace(/\./g,"%2E"):String(de),oe=s(H)?typeof m=="function"?m(U,W):U:U+(T?"."+W:"["+W+"]");I.set(A,F);var le=n();le.set(p,I),l(q,y(V,oe,m,D,g,M,v,S,m==="comma"&&j&&s(H)?null:w,k,b,T,R,L,N,j,G,le))}}return q},x=function(A){if(!A)return d;if(typeof A.allowEmptyArrays<"u"&&typeof A.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof A.encodeDotInKeys<"u"&&typeof A.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(A.encoder!==null&&typeof A.encoder<"u"&&typeof A.encoder!="function")throw new TypeError("Encoder has to be a function.");var C=A.charset||d.charset;if(typeof A.charset<"u"&&A.charset!=="utf-8"&&A.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var m=t.default;if(typeof A.format<"u"){if(!i.call(t.formatters,A.format))throw new TypeError("Unknown format option provided.");m=A.format}var D=t.formatters[m],g=d.filter;(typeof A.filter=="function"||s(A.filter))&&(g=A.filter);var M;if(A.arrayFormat in r?M=A.arrayFormat:"indices"in A?M=A.indices?"indices":"repeat":M=d.arrayFormat,"commaRoundTrip"in A&&typeof A.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var v=typeof A.allowDots>"u"?A.encodeDotInKeys===!0?!0:d.allowDots:!!A.allowDots;return{addQueryPrefix:typeof A.addQueryPrefix=="boolean"?A.addQueryPrefix:d.addQueryPrefix,allowDots:v,allowEmptyArrays:typeof A.allowEmptyArrays=="boolean"?!!A.allowEmptyArrays:d.allowEmptyArrays,arrayFormat:M,charset:C,charsetSentinel:typeof A.charsetSentinel=="boolean"?A.charsetSentinel:d.charsetSentinel,commaRoundTrip:!!A.commaRoundTrip,delimiter:typeof A.delimiter>"u"?d.delimiter:A.delimiter,encode:typeof A.encode=="boolean"?A.encode:d.encode,encodeDotInKeys:typeof A.encodeDotInKeys=="boolean"?A.encodeDotInKeys:d.encodeDotInKeys,encoder:typeof A.encoder=="function"?A.encoder:d.encoder,encodeValuesOnly:typeof A.encodeValuesOnly=="boolean"?A.encodeValuesOnly:d.encodeValuesOnly,filter:g,format:m,formatter:D,serializeDate:typeof A.serializeDate=="function"?A.serializeDate:d.serializeDate,skipNulls:typeof A.skipNulls=="boolean"?A.skipNulls:d.skipNulls,sort:typeof A.sort=="function"?A.sort:null,strictNullHandling:typeof A.strictNullHandling=="boolean"?A.strictNullHandling:d.strictNullHandling}};return xs=function(y,A){var C=y,m=x(A),D,g;typeof m.filter=="function"?(g=m.filter,C=g("",C)):s(m.filter)&&(g=m.filter,D=g);var M=[];if(typeof C!="object"||C===null)return"";var v=r[m.arrayFormat],S=v==="comma"&&m.commaRoundTrip;D||(D=Object.keys(C)),m.sort&&D.sort(m.sort);for(var w=n(),k=0;k<D.length;++k){var b=D[k],T=C[b];m.skipNulls&&T===null||l(M,h(T,b,v,S,m.allowEmptyArrays,m.strictNullHandling,m.skipNulls,m.encodeDotInKeys,m.encode?m.encoder:null,m.filter,m.sort,m.allowDots,m.serializeDate,m.format,m.formatter,m.encodeValuesOnly,m.charset,w))}var R=M.join(m.delimiter),L=m.addQueryPrefix===!0?"?":"";return m.charsetSentinel&&(m.charset==="iso-8859-1"?L+="utf8=%26%2310003%3B&":L+="utf8=%E2%9C%93&"),R.length>0?L+R:""},xs}var Rs,nu;function Ah(){if(nu)return Rs;nu=1;var n=tu(),e=Object.prototype.hasOwnProperty,t=Array.isArray,i={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:n.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},r=function(p){return p.replace(/&#(\d+);/g,function(h,x){return String.fromCharCode(parseInt(x,10))})},s=function(p,h,x){if(p&&typeof p=="string"&&h.comma&&p.indexOf(",")>-1)return p.split(",");if(h.throwOnLimitExceeded&&x>=h.arrayLimit)throw new RangeError("Array limit exceeded. Only "+h.arrayLimit+" element"+(h.arrayLimit===1?"":"s")+" allowed in an array.");return p},o="utf8=%26%2310003%3B",l="utf8=%E2%9C%93",u=function(h,x){var y={__proto__:null},A=x.ignoreQueryPrefix?h.replace(/^\?/,""):h;A=A.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var C=x.parameterLimit===1/0?void 0:x.parameterLimit,m=A.split(x.delimiter,x.throwOnLimitExceeded?C+1:C);if(x.throwOnLimitExceeded&&m.length>C)throw new RangeError("Parameter limit exceeded. Only "+C+" parameter"+(C===1?"":"s")+" allowed.");var D=-1,g,M=x.charset;if(x.charsetSentinel)for(g=0;g<m.length;++g)m[g].indexOf("utf8=")===0&&(m[g]===l?M="utf-8":m[g]===o&&(M="iso-8859-1"),D=g,g=m.length);for(g=0;g<m.length;++g)if(g!==D){var v=m[g],S=v.indexOf("]="),w=S===-1?v.indexOf("="):S+1,k,b;w===-1?(k=x.decoder(v,i.decoder,M,"key"),b=x.strictNullHandling?null:""):(k=x.decoder(v.slice(0,w),i.decoder,M,"key"),b=n.maybeMap(s(v.slice(w+1),x,t(y[k])?y[k].length:0),function(R){return x.decoder(R,i.decoder,M,"value")})),b&&x.interpretNumericEntities&&M==="iso-8859-1"&&(b=r(String(b))),v.indexOf("[]=")>-1&&(b=t(b)?[b]:b);var T=e.call(y,k);T&&x.duplicates==="combine"?y[k]=n.combine(y[k],b):(!T||x.duplicates==="last")&&(y[k]=b)}return y},c=function(p,h,x,y){var A=0;if(p.length>0&&p[p.length-1]==="[]"){var C=p.slice(0,-1).join("");A=Array.isArray(h)&&h[C]?h[C].length:0}for(var m=y?h:s(h,x,A),D=p.length-1;D>=0;--D){var g,M=p[D];if(M==="[]"&&x.parseArrays)g=x.allowEmptyArrays&&(m===""||x.strictNullHandling&&m===null)?[]:n.combine([],m);else{g=x.plainObjects?{__proto__:null}:{};var v=M.charAt(0)==="["&&M.charAt(M.length-1)==="]"?M.slice(1,-1):M,S=x.decodeDotInKeys?v.replace(/%2E/g,"."):v,w=parseInt(S,10);!x.parseArrays&&S===""?g={0:m}:!isNaN(w)&&M!==S&&String(w)===S&&w>=0&&x.parseArrays&&w<=x.arrayLimit?(g=[],g[w]=m):S!=="__proto__"&&(g[S]=m)}m=g}return m},d=function(h,x,y,A){if(h){var C=y.allowDots?h.replace(/\.([^.[]+)/g,"[$1]"):h,m=/(\[[^[\]]*])/,D=/(\[[^[\]]*])/g,g=y.depth>0&&m.exec(C),M=g?C.slice(0,g.index):C,v=[];if(M){if(!y.plainObjects&&e.call(Object.prototype,M)&&!y.allowPrototypes)return;v.push(M)}for(var S=0;y.depth>0&&(g=D.exec(C))!==null&&S<y.depth;){if(S+=1,!y.plainObjects&&e.call(Object.prototype,g[1].slice(1,-1))&&!y.allowPrototypes)return;v.push(g[1])}if(g){if(y.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+y.depth+" and strictDepth is true");v.push("["+C.slice(g.index)+"]")}return c(v,x,y,A)}},f=function(h){if(!h)return i;if(typeof h.allowEmptyArrays<"u"&&typeof h.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof h.decodeDotInKeys<"u"&&typeof h.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(h.decoder!==null&&typeof h.decoder<"u"&&typeof h.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof h.charset<"u"&&h.charset!=="utf-8"&&h.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof h.throwOnLimitExceeded<"u"&&typeof h.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var x=typeof h.charset>"u"?i.charset:h.charset,y=typeof h.duplicates>"u"?i.duplicates:h.duplicates;if(y!=="combine"&&y!=="first"&&y!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var A=typeof h.allowDots>"u"?h.decodeDotInKeys===!0?!0:i.allowDots:!!h.allowDots;return{allowDots:A,allowEmptyArrays:typeof h.allowEmptyArrays=="boolean"?!!h.allowEmptyArrays:i.allowEmptyArrays,allowPrototypes:typeof h.allowPrototypes=="boolean"?h.allowPrototypes:i.allowPrototypes,allowSparse:typeof h.allowSparse=="boolean"?h.allowSparse:i.allowSparse,arrayLimit:typeof h.arrayLimit=="number"?h.arrayLimit:i.arrayLimit,charset:x,charsetSentinel:typeof h.charsetSentinel=="boolean"?h.charsetSentinel:i.charsetSentinel,comma:typeof h.comma=="boolean"?h.comma:i.comma,decodeDotInKeys:typeof h.decodeDotInKeys=="boolean"?h.decodeDotInKeys:i.decodeDotInKeys,decoder:typeof h.decoder=="function"?h.decoder:i.decoder,delimiter:typeof h.delimiter=="string"||n.isRegExp(h.delimiter)?h.delimiter:i.delimiter,depth:typeof h.depth=="number"||h.depth===!1?+h.depth:i.depth,duplicates:y,ignoreQueryPrefix:h.ignoreQueryPrefix===!0,interpretNumericEntities:typeof h.interpretNumericEntities=="boolean"?h.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:typeof h.parameterLimit=="number"?h.parameterLimit:i.parameterLimit,parseArrays:h.parseArrays!==!1,plainObjects:typeof h.plainObjects=="boolean"?h.plainObjects:i.plainObjects,strictDepth:typeof h.strictDepth=="boolean"?!!h.strictDepth:i.strictDepth,strictNullHandling:typeof h.strictNullHandling=="boolean"?h.strictNullHandling:i.strictNullHandling,throwOnLimitExceeded:typeof h.throwOnLimitExceeded=="boolean"?h.throwOnLimitExceeded:!1}};return Rs=function(p,h){var x=f(h);if(p===""||p===null||typeof p>"u")return x.plainObjects?{__proto__:null}:{};for(var y=typeof p=="string"?u(p,x):p,A=x.plainObjects?{__proto__:null}:{},C=Object.keys(y),m=0;m<C.length;++m){var D=C[m],g=d(D,y[D],x,typeof p=="string");A=n.merge(A,g,x)}return x.allowSparse===!0?A:n.compact(A)},Rs}var Ms,ru;function Eh(){if(ru)return Ms;ru=1;var n=Ch(),e=Ah(),t=ks();return Ms={formats:t,parse:e,stringify:n},Ms}var kh=Eh();const su=rl(kh),Sh=["action"],xh=["value"],Rh=["name","value"],Mh=["value"],Th=["disabled"],Dh=Ie(a.defineComponent({__name:"ExportComponent",props:{type:{},action:{},filters:{},buttonText:{},csrfToken:{}},setup(n){const e=n,t=a.ref(),i=a.ref([]),r=a.computed(()=>e.csrfToken),s=async()=>{t.value&&t.value.submit()},o=()=>{if(!e.filters)return!1;if(typeof e.filters=="string")return l(),!0;c()},l=()=>{i.value=[];const d=/^.*\?/gm,f=e.filters.replace(d,""),p=su.parse(f);i.value=u(p)},u=d=>su.stringify(d,{encode:!1}).split("&").map(f=>{const p=f.split("=");return{key:p[0],value:p[1]}}).filter(({key:f,value:p})=>f.length&&p.length),c=()=>{if(i.value=[],!e.filters)return!1;i.value=u(e.filters)};return a.watch(()=>e.filters,()=>{o()},{deep:!1}),a.onMounted(()=>{o()}),(d,f)=>(a.openBlock(),a.createElementBlock("form",{target:"_blank",action:d.action,method:"POST",ref_key:"reportForm",ref:t},[d.type?(a.openBlock(),a.createElementBlock("input",{key:0,type:"hidden",name:"type",value:d.type},null,8,xh)):a.createCommentVNode("",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(i.value,p=>(a.openBlock(),a.createElementBlock("input",{key:p.key,type:"hidden",name:p.key,value:p.value},null,8,Rh))),128)),a.createElementVNode("input",{type:"hidden",name:"_token",value:r.value},null,8,Mh),a.createElementVNode("button",{type:"button",class:a.normalizeClass(["col-auto export-button",{disabled:!d.action}]),onClick:s,disabled:!d.action},[a.createTextVNode(a.toDisplayString(d.buttonText)+" ",1),f[0]||(f[0]=a.createElementVNode("i",{class:"ps-2 bi bi-file-earmark-arrow-down-fill"},null,-1))],10,Th)],8,Sh))}}),[["__scopeId","data-v-db74d2e3"]]);var Bn={exports:{}};/*!
4
+ `+re.prev}function Ge(te,re){var Pe=se(te),ze=[];if(Pe){ze.length=te.length;for(var Oe=0;Oe<te.length;Oe++)ze[Oe]=xe(te,Oe)?re(te[Oe],te):""}var Re=typeof R=="function"?R(te):[],ct;if(N){ct={};for(var ge=0;ge<Re.length;ge++)ct["$"+Re[ge]]=Re[ge]}for(var B in te)xe(te,B)&&(Pe&&String(Number(B))===B&&B<te.length||N&&ct["$"+B]instanceof Symbol||(v.call(/[^\w$]/,B)?ze.push(re(B,te)+": "+re(te[B],te)):ze.push(B+": "+re(te[B],te))));if(typeof R=="function")for(var E=0;E<Re.length;E++)G.call(te,Re[E])&&ze.push("["+re(Re[E])+"]: "+re(te[Re[E]],te));return ze}return Pr}var Nr,ol;function Kd(){if(ol)return Nr;ol=1;var n=On(),e=Oi(),t=function(l,u,c){for(var d=l,f;(f=d.next)!=null;d=f)if(f.key===u)return d.next=f.next,c||(f.next=l.next,l.next=f),f},i=function(l,u){if(l){var c=t(l,u);return c&&c.value}},r=function(l,u,c){var d=t(l,u);d?d.value=c:l.next={key:u,next:l.next,value:c}},s=function(l,u){return l?!!t(l,u):!1},o=function(l,u){if(l)return t(l,u,!0)};return Nr=function(){var u,c={assert:function(d){if(!c.has(d))throw new e("Side channel does not contain "+n(d))},delete:function(d){var f=u&&u.next,p=o(u,d);return p&&f&&f===p&&(u=void 0),!!p},get:function(d){return i(u,d)},has:function(d){return s(u,d)},set:function(d,f){u||(u={next:void 0}),r(u,d,f)}};return c},Nr}var Ir,ll;function ul(){return ll||(ll=1,Ir=Object),Ir}var Hr,cl;function Jd(){return cl||(cl=1,Hr=Error),Hr}var Vr,dl;function qd(){return dl||(dl=1,Vr=EvalError),Vr}var zr,hl;function $d(){return hl||(hl=1,zr=RangeError),zr}var jr,fl;function Zd(){return fl||(fl=1,jr=ReferenceError),jr}var Wr,pl;function Xd(){return pl||(pl=1,Wr=SyntaxError),Wr}var Ur,ml;function eh(){return ml||(ml=1,Ur=URIError),Ur}var Gr,gl;function th(){return gl||(gl=1,Gr=Math.abs),Gr}var Yr,bl;function ih(){return bl||(bl=1,Yr=Math.floor),Yr}var Qr,vl;function nh(){return vl||(vl=1,Qr=Math.max),Qr}var Kr,yl;function rh(){return yl||(yl=1,Kr=Math.min),Kr}var Jr,wl;function sh(){return wl||(wl=1,Jr=Math.pow),Jr}var qr,Cl;function ah(){return Cl||(Cl=1,qr=Math.round),qr}var $r,Al;function oh(){return Al||(Al=1,$r=Number.isNaN||function(e){return e!==e}),$r}var Zr,El;function lh(){if(El)return Zr;El=1;var n=oh();return Zr=function(t){return n(t)||t===0?t:t<0?-1:1},Zr}var Xr,kl;function uh(){return kl||(kl=1,Xr=Object.getOwnPropertyDescriptor),Xr}var es,Sl;function xl(){if(Sl)return es;Sl=1;var n=uh();if(n)try{n([],"length")}catch{n=null}return es=n,es}var ts,Rl;function ch(){if(Rl)return ts;Rl=1;var n=Object.defineProperty||!1;if(n)try{n({},"a",{value:1})}catch{n=!1}return ts=n,ts}var is,Ml;function dh(){return Ml||(Ml=1,is=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),i=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return!1;var r=42;e[t]=r;for(var s in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var o=Object.getOwnPropertySymbols(e);if(o.length!==1||o[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(e,t);if(l.value!==r||l.enumerable!==!0)return!1}return!0}),is}var ns,Tl;function hh(){if(Tl)return ns;Tl=1;var n=typeof Symbol<"u"&&Symbol,e=dh();return ns=function(){return typeof n!="function"||typeof Symbol!="function"||typeof n("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},ns}var rs,Dl;function Ol(){return Dl||(Dl=1,rs=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),rs}var ss,Ll;function Bl(){if(Ll)return ss;Ll=1;var n=ul();return ss=n.getPrototypeOf||null,ss}var as,Fl;function fh(){if(Fl)return as;Fl=1;var n="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,t=Math.max,i="[object Function]",r=function(u,c){for(var d=[],f=0;f<u.length;f+=1)d[f]=u[f];for(var p=0;p<c.length;p+=1)d[p+u.length]=c[p];return d},s=function(u,c){for(var d=[],f=c,p=0;f<u.length;f+=1,p+=1)d[p]=u[f];return d},o=function(l,u){for(var c="",d=0;d<l.length;d+=1)c+=l[d],d+1<l.length&&(c+=u);return c};return as=function(u){var c=this;if(typeof c!="function"||e.apply(c)!==i)throw new TypeError(n+c);for(var d=s(arguments,1),f,p=function(){if(this instanceof f){var C=c.apply(this,r(d,arguments));return Object(C)===C?C:this}return c.apply(u,r(d,arguments))},h=t(0,c.length-d.length),x=[],y=0;y<h;y++)x[y]="$"+y;if(f=Function("binder","return function ("+o(x,",")+"){ return binder.apply(this,arguments); }")(p),c.prototype){var A=function(){};A.prototype=c.prototype,f.prototype=new A,A.prototype=null}return f},as}var os,_l;function Ln(){if(_l)return os;_l=1;var n=fh();return os=Function.prototype.bind||n,os}var ls,Pl;function us(){return Pl||(Pl=1,ls=Function.prototype.call),ls}var cs,Nl;function Il(){return Nl||(Nl=1,cs=Function.prototype.apply),cs}var ds,Hl;function ph(){return Hl||(Hl=1,ds=typeof Reflect<"u"&&Reflect&&Reflect.apply),ds}var hs,Vl;function mh(){if(Vl)return hs;Vl=1;var n=Ln(),e=Il(),t=us(),i=ph();return hs=i||n.call(t,e),hs}var fs,zl;function jl(){if(zl)return fs;zl=1;var n=Ln(),e=Oi(),t=us(),i=mh();return fs=function(s){if(s.length<1||typeof s[0]!="function")throw new e("a function is required");return i(n,t,s)},fs}var ps,Wl;function gh(){if(Wl)return ps;Wl=1;var n=jl(),e=xl(),t;try{t=[].__proto__===Array.prototype}catch(o){if(!o||typeof o!="object"||!("code"in o)||o.code!=="ERR_PROTO_ACCESS")throw o}var i=!!t&&e&&e(Object.prototype,"__proto__"),r=Object,s=r.getPrototypeOf;return ps=i&&typeof i.get=="function"?n([i.get]):typeof s=="function"?function(l){return s(l==null?l:r(l))}:!1,ps}var ms,Ul;function bh(){if(Ul)return ms;Ul=1;var n=Ol(),e=Bl(),t=gh();return ms=n?function(r){return n(r)}:e?function(r){if(!r||typeof r!="object"&&typeof r!="function")throw new TypeError("getProto: not an object");return e(r)}:t?function(r){return t(r)}:null,ms}var gs,Gl;function vh(){if(Gl)return gs;Gl=1;var n=Function.prototype.call,e=Object.prototype.hasOwnProperty,t=Ln();return gs=t.call(n,e),gs}var bs,Yl;function vs(){if(Yl)return bs;Yl=1;var n,e=ul(),t=Jd(),i=qd(),r=$d(),s=Zd(),o=Xd(),l=Oi(),u=eh(),c=th(),d=ih(),f=nh(),p=rh(),h=sh(),x=ah(),y=lh(),A=Function,C=function(Z){try{return A('"use strict"; return ('+Z+").constructor;")()}catch{}},m=xl(),D=ch(),g=function(){throw new l},M=m?(function(){try{return arguments.callee,g}catch{try{return m(arguments,"callee").get}catch{return g}}})():g,v=hh()(),S=bh(),w=Bl(),k=Ol(),b=Il(),T=us(),R={},L=typeof Uint8Array>"u"||!S?n:S(Uint8Array),N={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?n:ArrayBuffer,"%ArrayIteratorPrototype%":v&&S?S([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":R,"%AsyncGenerator%":R,"%AsyncGeneratorFunction%":R,"%AsyncIteratorPrototype%":R,"%Atomics%":typeof Atomics>"u"?n:Atomics,"%BigInt%":typeof BigInt>"u"?n:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":i,"%Float16Array%":typeof Float16Array>"u"?n:Float16Array,"%Float32Array%":typeof Float32Array>"u"?n:Float32Array,"%Float64Array%":typeof Float64Array>"u"?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?n:FinalizationRegistry,"%Function%":A,"%GeneratorFunction%":R,"%Int8Array%":typeof Int8Array>"u"?n:Int8Array,"%Int16Array%":typeof Int16Array>"u"?n:Int16Array,"%Int32Array%":typeof Int32Array>"u"?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":v&&S?S(S([][Symbol.iterator]())):n,"%JSON%":typeof JSON=="object"?JSON:n,"%Map%":typeof Map>"u"?n:Map,"%MapIteratorPrototype%":typeof Map>"u"||!v||!S?n:S(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":m,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?n:Promise,"%Proxy%":typeof Proxy>"u"?n:Proxy,"%RangeError%":r,"%ReferenceError%":s,"%Reflect%":typeof Reflect>"u"?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?n:Set,"%SetIteratorPrototype%":typeof Set>"u"||!v||!S?n:S(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":v&&S?S(""[Symbol.iterator]()):n,"%Symbol%":v?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":M,"%TypedArray%":L,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array>"u"?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?n:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>"u"?n:WeakMap,"%WeakRef%":typeof WeakRef>"u"?n:WeakRef,"%WeakSet%":typeof WeakSet>"u"?n:WeakSet,"%Function.prototype.call%":T,"%Function.prototype.apply%":b,"%Object.defineProperty%":D,"%Object.getPrototypeOf%":w,"%Math.abs%":c,"%Math.floor%":d,"%Math.max%":f,"%Math.min%":p,"%Math.pow%":h,"%Math.round%":x,"%Math.sign%":y,"%Reflect.getPrototypeOf%":k};if(S)try{null.error}catch(Z){var j=S(S(Z));N["%Error.prototype%"]=j}var G=function Z(de){var V;if(de==="%AsyncFunction%")V=C("async function () {}");else if(de==="%GeneratorFunction%")V=C("function* () {}");else if(de==="%AsyncGeneratorFunction%")V=C("async function* () {}");else if(de==="%AsyncGenerator%"){var W=Z("%AsyncGeneratorFunction%");W&&(V=W.prototype)}else if(de==="%AsyncIteratorPrototype%"){var le=Z("%AsyncGenerator%");le&&S&&(V=S(le.prototype))}return N[de]=V,V},I={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},H=Ln(),J=vh(),F=H.call(T,Array.prototype.concat),P=H.call(b,Array.prototype.splice),Q=H.call(T,String.prototype.replace),z=H.call(T,String.prototype.slice),q=H.call(T,RegExp.prototype.exec),X=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,K=/\\(\\)?/g,se=function(de){var V=z(de,0,1),W=z(de,-1);if(V==="%"&&W!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(W==="%"&&V!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var le=[];return Q(de,X,function(oe,ye,we,xe){le[le.length]=we?Q(xe,K,"$1"):ye||oe}),le},U=function(de,V){var W=de,le;if(J(I,W)&&(le=I[W],W="%"+le[0]+"%"),J(N,W)){var oe=N[W];if(oe===R&&(oe=G(W)),typeof oe>"u"&&!V)throw new l("intrinsic "+de+" exists, but is not available. Please file an issue!");return{alias:le,name:W,value:oe}}throw new o("intrinsic "+de+" does not exist!")};return bs=function(de,V){if(typeof de!="string"||de.length===0)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof V!="boolean")throw new l('"allowMissing" argument must be a boolean');if(q(/^%?[^%]*%?$/,de)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var W=se(de),le=W.length>0?W[0]:"",oe=U("%"+le+"%",V),ye=oe.name,we=oe.value,xe=!1,Fe=oe.alias;Fe&&(le=Fe[0],P(W,F([0,1],Fe)));for(var _e=1,Ne=!0;_e<W.length;_e+=1){var ce=W[_e],$=z(ce,0,1),ie=z(ce,-1);if(($==='"'||$==="'"||$==="`"||ie==='"'||ie==="'"||ie==="`")&&$!==ie)throw new o("property names with quotes must have matching quotes");if((ce==="constructor"||!Ne)&&(xe=!0),le+="."+ce,ye="%"+le+"%",J(N,ye))we=N[ye];else if(we!=null){if(!(ce in we)){if(!V)throw new l("base intrinsic for "+de+" exists, but the property is not available.");return}if(m&&_e+1>=W.length){var me=m(we,ce);Ne=!!me,Ne&&"get"in me&&!("originalValue"in me.get)?we=me.get:we=we[ce]}else Ne=J(we,ce),we=we[ce];Ne&&!xe&&(N[ye]=we)}}return we},bs}var ys,Ql;function Kl(){if(Ql)return ys;Ql=1;var n=vs(),e=jl(),t=e([n("%String.prototype.indexOf%")]);return ys=function(r,s){var o=n(r,!!s);return typeof o=="function"&&t(r,".prototype.")>-1?e([o]):o},ys}var ws,Jl;function ql(){if(Jl)return ws;Jl=1;var n=vs(),e=Kl(),t=On(),i=Oi(),r=n("%Map%",!0),s=e("Map.prototype.get",!0),o=e("Map.prototype.set",!0),l=e("Map.prototype.has",!0),u=e("Map.prototype.delete",!0),c=e("Map.prototype.size",!0);return ws=!!r&&function(){var f,p={assert:function(h){if(!p.has(h))throw new i("Side channel does not contain "+t(h))},delete:function(h){if(f){var x=u(f,h);return c(f)===0&&(f=void 0),x}return!1},get:function(h){if(f)return s(f,h)},has:function(h){return f?l(f,h):!1},set:function(h,x){f||(f=new r),o(f,h,x)}};return p},ws}var Cs,$l;function yh(){if($l)return Cs;$l=1;var n=vs(),e=Kl(),t=On(),i=ql(),r=Oi(),s=n("%WeakMap%",!0),o=e("WeakMap.prototype.get",!0),l=e("WeakMap.prototype.set",!0),u=e("WeakMap.prototype.has",!0),c=e("WeakMap.prototype.delete",!0);return Cs=s?function(){var f,p,h={assert:function(x){if(!h.has(x))throw new r("Side channel does not contain "+t(x))},delete:function(x){if(s&&x&&(typeof x=="object"||typeof x=="function")){if(f)return c(f,x)}else if(i&&p)return p.delete(x);return!1},get:function(x){return s&&x&&(typeof x=="object"||typeof x=="function")&&f?o(f,x):p&&p.get(x)},has:function(x){return s&&x&&(typeof x=="object"||typeof x=="function")&&f?u(f,x):!!p&&p.has(x)},set:function(x,y){s&&x&&(typeof x=="object"||typeof x=="function")?(f||(f=new s),l(f,x,y)):i&&(p||(p=i()),p.set(x,y))}};return h}:i,Cs}var As,Zl;function wh(){if(Zl)return As;Zl=1;var n=Oi(),e=On(),t=Kd(),i=ql(),r=yh(),s=r||i||t;return As=function(){var l,u={assert:function(c){if(!u.has(c))throw new n("Side channel does not contain "+e(c))},delete:function(c){return!!l&&l.delete(c)},get:function(c){return l&&l.get(c)},has:function(c){return!!l&&l.has(c)},set:function(c,d){l||(l=s()),l.set(c,d)}};return u},As}var Es,Xl;function ks(){if(Xl)return Es;Xl=1;var n=String.prototype.replace,e=/%20/g,t={RFC1738:"RFC1738",RFC3986:"RFC3986"};return Es={default:t.RFC3986,formatters:{RFC1738:function(i){return n.call(i,e,"+")},RFC3986:function(i){return String(i)}},RFC1738:t.RFC1738,RFC3986:t.RFC3986},Es}var Ss,eu;function tu(){if(eu)return Ss;eu=1;var n=ks(),e=Object.prototype.hasOwnProperty,t=Array.isArray,i=(function(){for(var A=[],C=0;C<256;++C)A.push("%"+((C<16?"0":"")+C.toString(16)).toUpperCase());return A})(),r=function(C){for(;C.length>1;){var m=C.pop(),D=m.obj[m.prop];if(t(D)){for(var g=[],M=0;M<D.length;++M)typeof D[M]<"u"&&g.push(D[M]);m.obj[m.prop]=g}}},s=function(C,m){for(var D=m&&m.plainObjects?{__proto__:null}:{},g=0;g<C.length;++g)typeof C[g]<"u"&&(D[g]=C[g]);return D},o=function A(C,m,D){if(!m)return C;if(typeof m!="object"&&typeof m!="function"){if(t(C))C.push(m);else if(C&&typeof C=="object")(D&&(D.plainObjects||D.allowPrototypes)||!e.call(Object.prototype,m))&&(C[m]=!0);else return[C,m];return C}if(!C||typeof C!="object")return[C].concat(m);var g=C;return t(C)&&!t(m)&&(g=s(C,D)),t(C)&&t(m)?(m.forEach(function(M,v){if(e.call(C,v)){var S=C[v];S&&typeof S=="object"&&M&&typeof M=="object"?C[v]=A(S,M,D):C.push(M)}else C[v]=M}),C):Object.keys(m).reduce(function(M,v){var S=m[v];return e.call(M,v)?M[v]=A(M[v],S,D):M[v]=S,M},g)},l=function(C,m){return Object.keys(m).reduce(function(D,g){return D[g]=m[g],D},C)},u=function(A,C,m){var D=A.replace(/\+/g," ");if(m==="iso-8859-1")return D.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(D)}catch{return D}},c=1024,d=function(C,m,D,g,M){if(C.length===0)return C;var v=C;if(typeof C=="symbol"?v=Symbol.prototype.toString.call(C):typeof C!="string"&&(v=String(C)),D==="iso-8859-1")return escape(v).replace(/%u[0-9a-f]{4}/gi,function(L){return"%26%23"+parseInt(L.slice(2),16)+"%3B"});for(var S="",w=0;w<v.length;w+=c){for(var k=v.length>=c?v.slice(w,w+c):v,b=[],T=0;T<k.length;++T){var R=k.charCodeAt(T);if(R===45||R===46||R===95||R===126||R>=48&&R<=57||R>=65&&R<=90||R>=97&&R<=122||M===n.RFC1738&&(R===40||R===41)){b[b.length]=k.charAt(T);continue}if(R<128){b[b.length]=i[R];continue}if(R<2048){b[b.length]=i[192|R>>6]+i[128|R&63];continue}if(R<55296||R>=57344){b[b.length]=i[224|R>>12]+i[128|R>>6&63]+i[128|R&63];continue}T+=1,R=65536+((R&1023)<<10|k.charCodeAt(T)&1023),b[b.length]=i[240|R>>18]+i[128|R>>12&63]+i[128|R>>6&63]+i[128|R&63]}S+=b.join("")}return S},f=function(C){for(var m=[{obj:{o:C},prop:"o"}],D=[],g=0;g<m.length;++g)for(var M=m[g],v=M.obj[M.prop],S=Object.keys(v),w=0;w<S.length;++w){var k=S[w],b=v[k];typeof b=="object"&&b!==null&&D.indexOf(b)===-1&&(m.push({obj:v,prop:k}),D.push(b))}return r(m),C},p=function(C){return Object.prototype.toString.call(C)==="[object RegExp]"},h=function(C){return!C||typeof C!="object"?!1:!!(C.constructor&&C.constructor.isBuffer&&C.constructor.isBuffer(C))},x=function(C,m){return[].concat(C,m)},y=function(C,m){if(t(C)){for(var D=[],g=0;g<C.length;g+=1)D.push(m(C[g]));return D}return m(C)};return Ss={arrayToObject:s,assign:l,combine:x,compact:f,decode:u,encode:d,isBuffer:h,isRegExp:p,maybeMap:y,merge:o},Ss}var xs,iu;function Ch(){if(iu)return xs;iu=1;var n=wh(),e=tu(),t=ks(),i=Object.prototype.hasOwnProperty,r={brackets:function(A){return A+"[]"},comma:"comma",indices:function(A,C){return A+"["+C+"]"},repeat:function(A){return A}},s=Array.isArray,o=Array.prototype.push,l=function(y,A){o.apply(y,s(A)?A:[A])},u=Date.prototype.toISOString,c=t.default,d={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:e.encode,encodeValuesOnly:!1,filter:void 0,format:c,formatter:t.formatters[c],indices:!1,serializeDate:function(A){return u.call(A)},skipNulls:!1,strictNullHandling:!1},f=function(A){return typeof A=="string"||typeof A=="number"||typeof A=="boolean"||typeof A=="symbol"||typeof A=="bigint"},p={},h=function y(A,C,m,D,g,M,v,S,w,k,b,T,R,L,N,j,G,I){for(var H=A,J=I,F=0,P=!1;(J=J.get(p))!==void 0&&!P;){var Q=J.get(A);if(F+=1,typeof Q<"u"){if(Q===F)throw new RangeError("Cyclic object value");P=!0}typeof J.get(p)>"u"&&(F=0)}if(typeof k=="function"?H=k(C,H):H instanceof Date?H=R(H):m==="comma"&&s(H)&&(H=e.maybeMap(H,function(ye){return ye instanceof Date?R(ye):ye})),H===null){if(M)return w&&!j?w(C,d.encoder,G,"key",L):C;H=""}if(f(H)||e.isBuffer(H)){if(w){var z=j?C:w(C,d.encoder,G,"key",L);return[N(z)+"="+N(w(H,d.encoder,G,"value",L))]}return[N(C)+"="+N(String(H))]}var q=[];if(typeof H>"u")return q;var X;if(m==="comma"&&s(H))j&&w&&(H=e.maybeMap(H,w)),X=[{value:H.length>0?H.join(",")||null:void 0}];else if(s(k))X=k;else{var K=Object.keys(H);X=b?K.sort(b):K}var se=S?String(C).replace(/\./g,"%2E"):String(C),U=D&&s(H)&&H.length===1?se+"[]":se;if(g&&s(H)&&H.length===0)return U+"[]";for(var Z=0;Z<X.length;++Z){var de=X[Z],V=typeof de=="object"&&de&&typeof de.value<"u"?de.value:H[de];if(!(v&&V===null)){var W=T&&S?String(de).replace(/\./g,"%2E"):String(de),le=s(H)?typeof m=="function"?m(U,W):U:U+(T?"."+W:"["+W+"]");I.set(A,F);var oe=n();oe.set(p,I),l(q,y(V,le,m,D,g,M,v,S,m==="comma"&&j&&s(H)?null:w,k,b,T,R,L,N,j,G,oe))}}return q},x=function(A){if(!A)return d;if(typeof A.allowEmptyArrays<"u"&&typeof A.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof A.encodeDotInKeys<"u"&&typeof A.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(A.encoder!==null&&typeof A.encoder<"u"&&typeof A.encoder!="function")throw new TypeError("Encoder has to be a function.");var C=A.charset||d.charset;if(typeof A.charset<"u"&&A.charset!=="utf-8"&&A.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var m=t.default;if(typeof A.format<"u"){if(!i.call(t.formatters,A.format))throw new TypeError("Unknown format option provided.");m=A.format}var D=t.formatters[m],g=d.filter;(typeof A.filter=="function"||s(A.filter))&&(g=A.filter);var M;if(A.arrayFormat in r?M=A.arrayFormat:"indices"in A?M=A.indices?"indices":"repeat":M=d.arrayFormat,"commaRoundTrip"in A&&typeof A.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var v=typeof A.allowDots>"u"?A.encodeDotInKeys===!0?!0:d.allowDots:!!A.allowDots;return{addQueryPrefix:typeof A.addQueryPrefix=="boolean"?A.addQueryPrefix:d.addQueryPrefix,allowDots:v,allowEmptyArrays:typeof A.allowEmptyArrays=="boolean"?!!A.allowEmptyArrays:d.allowEmptyArrays,arrayFormat:M,charset:C,charsetSentinel:typeof A.charsetSentinel=="boolean"?A.charsetSentinel:d.charsetSentinel,commaRoundTrip:!!A.commaRoundTrip,delimiter:typeof A.delimiter>"u"?d.delimiter:A.delimiter,encode:typeof A.encode=="boolean"?A.encode:d.encode,encodeDotInKeys:typeof A.encodeDotInKeys=="boolean"?A.encodeDotInKeys:d.encodeDotInKeys,encoder:typeof A.encoder=="function"?A.encoder:d.encoder,encodeValuesOnly:typeof A.encodeValuesOnly=="boolean"?A.encodeValuesOnly:d.encodeValuesOnly,filter:g,format:m,formatter:D,serializeDate:typeof A.serializeDate=="function"?A.serializeDate:d.serializeDate,skipNulls:typeof A.skipNulls=="boolean"?A.skipNulls:d.skipNulls,sort:typeof A.sort=="function"?A.sort:null,strictNullHandling:typeof A.strictNullHandling=="boolean"?A.strictNullHandling:d.strictNullHandling}};return xs=function(y,A){var C=y,m=x(A),D,g;typeof m.filter=="function"?(g=m.filter,C=g("",C)):s(m.filter)&&(g=m.filter,D=g);var M=[];if(typeof C!="object"||C===null)return"";var v=r[m.arrayFormat],S=v==="comma"&&m.commaRoundTrip;D||(D=Object.keys(C)),m.sort&&D.sort(m.sort);for(var w=n(),k=0;k<D.length;++k){var b=D[k],T=C[b];m.skipNulls&&T===null||l(M,h(T,b,v,S,m.allowEmptyArrays,m.strictNullHandling,m.skipNulls,m.encodeDotInKeys,m.encode?m.encoder:null,m.filter,m.sort,m.allowDots,m.serializeDate,m.format,m.formatter,m.encodeValuesOnly,m.charset,w))}var R=M.join(m.delimiter),L=m.addQueryPrefix===!0?"?":"";return m.charsetSentinel&&(m.charset==="iso-8859-1"?L+="utf8=%26%2310003%3B&":L+="utf8=%E2%9C%93&"),R.length>0?L+R:""},xs}var Rs,nu;function Ah(){if(nu)return Rs;nu=1;var n=tu(),e=Object.prototype.hasOwnProperty,t=Array.isArray,i={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:n.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},r=function(p){return p.replace(/&#(\d+);/g,function(h,x){return String.fromCharCode(parseInt(x,10))})},s=function(p,h,x){if(p&&typeof p=="string"&&h.comma&&p.indexOf(",")>-1)return p.split(",");if(h.throwOnLimitExceeded&&x>=h.arrayLimit)throw new RangeError("Array limit exceeded. Only "+h.arrayLimit+" element"+(h.arrayLimit===1?"":"s")+" allowed in an array.");return p},o="utf8=%26%2310003%3B",l="utf8=%E2%9C%93",u=function(h,x){var y={__proto__:null},A=x.ignoreQueryPrefix?h.replace(/^\?/,""):h;A=A.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var C=x.parameterLimit===1/0?void 0:x.parameterLimit,m=A.split(x.delimiter,x.throwOnLimitExceeded?C+1:C);if(x.throwOnLimitExceeded&&m.length>C)throw new RangeError("Parameter limit exceeded. Only "+C+" parameter"+(C===1?"":"s")+" allowed.");var D=-1,g,M=x.charset;if(x.charsetSentinel)for(g=0;g<m.length;++g)m[g].indexOf("utf8=")===0&&(m[g]===l?M="utf-8":m[g]===o&&(M="iso-8859-1"),D=g,g=m.length);for(g=0;g<m.length;++g)if(g!==D){var v=m[g],S=v.indexOf("]="),w=S===-1?v.indexOf("="):S+1,k,b;w===-1?(k=x.decoder(v,i.decoder,M,"key"),b=x.strictNullHandling?null:""):(k=x.decoder(v.slice(0,w),i.decoder,M,"key"),b=n.maybeMap(s(v.slice(w+1),x,t(y[k])?y[k].length:0),function(R){return x.decoder(R,i.decoder,M,"value")})),b&&x.interpretNumericEntities&&M==="iso-8859-1"&&(b=r(String(b))),v.indexOf("[]=")>-1&&(b=t(b)?[b]:b);var T=e.call(y,k);T&&x.duplicates==="combine"?y[k]=n.combine(y[k],b):(!T||x.duplicates==="last")&&(y[k]=b)}return y},c=function(p,h,x,y){var A=0;if(p.length>0&&p[p.length-1]==="[]"){var C=p.slice(0,-1).join("");A=Array.isArray(h)&&h[C]?h[C].length:0}for(var m=y?h:s(h,x,A),D=p.length-1;D>=0;--D){var g,M=p[D];if(M==="[]"&&x.parseArrays)g=x.allowEmptyArrays&&(m===""||x.strictNullHandling&&m===null)?[]:n.combine([],m);else{g=x.plainObjects?{__proto__:null}:{};var v=M.charAt(0)==="["&&M.charAt(M.length-1)==="]"?M.slice(1,-1):M,S=x.decodeDotInKeys?v.replace(/%2E/g,"."):v,w=parseInt(S,10);!x.parseArrays&&S===""?g={0:m}:!isNaN(w)&&M!==S&&String(w)===S&&w>=0&&x.parseArrays&&w<=x.arrayLimit?(g=[],g[w]=m):S!=="__proto__"&&(g[S]=m)}m=g}return m},d=function(h,x,y,A){if(h){var C=y.allowDots?h.replace(/\.([^.[]+)/g,"[$1]"):h,m=/(\[[^[\]]*])/,D=/(\[[^[\]]*])/g,g=y.depth>0&&m.exec(C),M=g?C.slice(0,g.index):C,v=[];if(M){if(!y.plainObjects&&e.call(Object.prototype,M)&&!y.allowPrototypes)return;v.push(M)}for(var S=0;y.depth>0&&(g=D.exec(C))!==null&&S<y.depth;){if(S+=1,!y.plainObjects&&e.call(Object.prototype,g[1].slice(1,-1))&&!y.allowPrototypes)return;v.push(g[1])}if(g){if(y.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+y.depth+" and strictDepth is true");v.push("["+C.slice(g.index)+"]")}return c(v,x,y,A)}},f=function(h){if(!h)return i;if(typeof h.allowEmptyArrays<"u"&&typeof h.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof h.decodeDotInKeys<"u"&&typeof h.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(h.decoder!==null&&typeof h.decoder<"u"&&typeof h.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof h.charset<"u"&&h.charset!=="utf-8"&&h.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof h.throwOnLimitExceeded<"u"&&typeof h.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var x=typeof h.charset>"u"?i.charset:h.charset,y=typeof h.duplicates>"u"?i.duplicates:h.duplicates;if(y!=="combine"&&y!=="first"&&y!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var A=typeof h.allowDots>"u"?h.decodeDotInKeys===!0?!0:i.allowDots:!!h.allowDots;return{allowDots:A,allowEmptyArrays:typeof h.allowEmptyArrays=="boolean"?!!h.allowEmptyArrays:i.allowEmptyArrays,allowPrototypes:typeof h.allowPrototypes=="boolean"?h.allowPrototypes:i.allowPrototypes,allowSparse:typeof h.allowSparse=="boolean"?h.allowSparse:i.allowSparse,arrayLimit:typeof h.arrayLimit=="number"?h.arrayLimit:i.arrayLimit,charset:x,charsetSentinel:typeof h.charsetSentinel=="boolean"?h.charsetSentinel:i.charsetSentinel,comma:typeof h.comma=="boolean"?h.comma:i.comma,decodeDotInKeys:typeof h.decodeDotInKeys=="boolean"?h.decodeDotInKeys:i.decodeDotInKeys,decoder:typeof h.decoder=="function"?h.decoder:i.decoder,delimiter:typeof h.delimiter=="string"||n.isRegExp(h.delimiter)?h.delimiter:i.delimiter,depth:typeof h.depth=="number"||h.depth===!1?+h.depth:i.depth,duplicates:y,ignoreQueryPrefix:h.ignoreQueryPrefix===!0,interpretNumericEntities:typeof h.interpretNumericEntities=="boolean"?h.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:typeof h.parameterLimit=="number"?h.parameterLimit:i.parameterLimit,parseArrays:h.parseArrays!==!1,plainObjects:typeof h.plainObjects=="boolean"?h.plainObjects:i.plainObjects,strictDepth:typeof h.strictDepth=="boolean"?!!h.strictDepth:i.strictDepth,strictNullHandling:typeof h.strictNullHandling=="boolean"?h.strictNullHandling:i.strictNullHandling,throwOnLimitExceeded:typeof h.throwOnLimitExceeded=="boolean"?h.throwOnLimitExceeded:!1}};return Rs=function(p,h){var x=f(h);if(p===""||p===null||typeof p>"u")return x.plainObjects?{__proto__:null}:{};for(var y=typeof p=="string"?u(p,x):p,A=x.plainObjects?{__proto__:null}:{},C=Object.keys(y),m=0;m<C.length;++m){var D=C[m],g=d(D,y[D],x,typeof p=="string");A=n.merge(A,g,x)}return x.allowSparse===!0?A:n.compact(A)},Rs}var Ms,ru;function Eh(){if(ru)return Ms;ru=1;var n=Ch(),e=Ah(),t=ks();return Ms={formats:t,parse:e,stringify:n},Ms}var kh=Eh();const su=rl(kh),Sh=["action"],xh=["value"],Rh=["name","value"],Mh=["value"],Th=["disabled"],Dh=Ie(a.defineComponent({__name:"ExportComponent",props:{type:{},action:{},filters:{},buttonText:{},csrfToken:{}},setup(n){const e=n,t=a.ref(),i=a.ref([]),r=a.computed(()=>e.csrfToken),s=async()=>{t.value&&t.value.submit()},o=()=>{if(!e.filters)return!1;if(typeof e.filters=="string")return l(),!0;c()},l=()=>{i.value=[];const d=/^.*\?/gm,f=e.filters.replace(d,""),p=su.parse(f);i.value=u(p)},u=d=>su.stringify(d,{encode:!1}).split("&").map(f=>{const p=f.split("=");return{key:p[0],value:p[1]}}).filter(({key:f,value:p})=>f.length&&p.length),c=()=>{if(i.value=[],!e.filters)return!1;i.value=u(e.filters)};return a.watch(()=>e.filters,()=>{o()},{deep:!1}),a.onMounted(()=>{o()}),(d,f)=>(a.openBlock(),a.createElementBlock("form",{target:"_blank",action:d.action,method:"POST",ref_key:"reportForm",ref:t},[d.type?(a.openBlock(),a.createElementBlock("input",{key:0,type:"hidden",name:"type",value:d.type},null,8,xh)):a.createCommentVNode("",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(i.value,p=>(a.openBlock(),a.createElementBlock("input",{key:p.key,type:"hidden",name:p.key,value:p.value},null,8,Rh))),128)),a.createElementVNode("input",{type:"hidden",name:"_token",value:r.value},null,8,Mh),a.createElementVNode("button",{type:"button",class:a.normalizeClass(["col-auto export-button",{disabled:!d.action}]),onClick:s,disabled:!d.action},[a.createTextVNode(a.toDisplayString(d.buttonText)+" ",1),f[0]||(f[0]=a.createElementVNode("i",{class:"ps-2 bi bi-file-earmark-arrow-down-fill"},null,-1))],10,Th)],8,Sh))}}),[["__scopeId","data-v-db74d2e3"]]);var Bn={exports:{}};/*!
5
5
  * dist/inputmask
6
6
  * https://github.com/RobinHerbots/Inputmask
7
7
  * Copyright (c) 2010 - 2024 Robin Herbots
8
8
  * Licensed under the MIT license
9
9
  * Version: 5.0.9
10
10
  */var Oh=Bn.exports,au;function Lh(){return au||(au=1,(function(n,e){(function(t,i){n.exports=i()})(typeof self<"u"?self:Oh,(function(){return(function(){var t={3976:function(o,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0,l.default={_maxTestPos:500,placeholder:"_",optionalmarker:["[","]"],quantifiermarker:["{","}"],groupmarker:["(",")"],alternatormarker:"|",escapeChar:"\\",mask:null,regex:null,oncomplete:function(){},onincomplete:function(){},oncleared:function(){},repeat:0,greedy:!1,autoUnmask:!1,removeMaskOnSubmit:!1,clearMaskOnLostFocus:!0,insertMode:!0,insertModeVisual:!0,clearIncomplete:!1,alias:null,onKeyDown:function(){},onBeforeMask:null,onBeforePaste:function(u,c){return typeof c.onBeforeMask=="function"?c.onBeforeMask.call(this,u,c):u},onBeforeWrite:null,onUnMask:null,showMaskOnFocus:!0,showMaskOnHover:!0,onKeyValidation:function(){},skipOptionalPartCharacter:" ",numericInput:!1,rightAlign:!1,undoOnEscape:!0,radixPoint:"",_radixDance:!1,groupSeparator:"",keepStatic:null,positionCaretOnTab:!0,tabThrough:!1,supportsInputType:["text","tel","url","password","search"],isComplete:null,preValidation:null,postValidation:null,staticDefinitionSymbol:void 0,jitMasking:!1,nullable:!0,inputEventOnly:!1,noValuePatching:!1,positionCaretOnClick:"lvp",casing:null,inputmode:"text",importDataAttributes:!0,shiftPositions:!0,usePrototypeDefinitions:!0,validationEventTimeOut:3e3,substitutes:{}}},7392:function(o,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0,l.default={9:{validator:"[0-90-9]",definitionSymbol:"*"},a:{validator:"[A-Za-zА-яЁёÀ-ÿµ]",definitionSymbol:"*"},"*":{validator:"[0-90-9A-Za-zА-яЁёÀ-ÿµ]"}}},253:function(o,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(u,c,d){if(d===void 0)return u.__data?u.__data[c]:null;u.__data=u.__data||{},u.__data[c]=d}},3776:function(o,l,u){Object.defineProperty(l,"__esModule",{value:!0}),l.Event=void 0,l.off=function(m,D){var g,M;return A(this[0])&&m&&(g=this[0].eventRegistry,M=this[0],m.split(" ").forEach((function(v){var S=p(v.split("."),2);(function(w,k){var b,T,R=[];if(w.length>0)if(D===void 0)for(b=0,T=g[w][k].length;b<T;b++)R.push({ev:w,namespace:k&&k.length>0?k:"global",handler:g[w][k][b]});else R.push({ev:w,namespace:k&&k.length>0?k:"global",handler:D});else if(k.length>0){for(var L in g)for(var N in g[L])if(N===k)if(D===void 0)for(b=0,T=g[L][N].length;b<T;b++)R.push({ev:L,namespace:N,handler:g[L][N][b]});else R.push({ev:L,namespace:N,handler:D})}return R})(S[0],S[1]).forEach((function(w){var k=w.ev,b=w.handler;(function(T,R,L){if(T in g==1)if(M.removeEventListener?M.removeEventListener(T,L,!1):M.detachEvent&&M.detachEvent("on".concat(T),L),R==="global")for(var N in g[T])g[T][N].splice(g[T][N].indexOf(L),1);else g[T][R].splice(g[T][R].indexOf(L),1)})(k,w.namespace,b)}))}))),this},l.on=function(m,D){if(A(this[0])){var g=this[0].eventRegistry,M=this[0];m.split(" ").forEach((function(v){var S=p(v.split("."),2),w=S[0],k=S[1];(function(b,T){M.addEventListener?M.addEventListener(b,D,!1):M.attachEvent&&M.attachEvent("on".concat(b),D),g[b]=g[b]||{},g[b][T]=g[b][T]||[],g[b][T].push(D)})(w,k===void 0?"global":k)}))}return this},l.trigger=function(m){var D=arguments;if(A(this[0]))for(var g=this[0].eventRegistry,M=this[0],v=typeof m=="string"?m.split(" "):[m.type],S=0;S<v.length;S++){var w=v[S].split("."),k=w[0],b=w[1]||"global";if(y!==void 0&&b==="global"){var T,R={bubbles:!0,cancelable:!0,composed:!0,detail:arguments[1]};if(y.createEvent){try{k==="input"?(R.inputType="insertText",T=new InputEvent(k,R)):T=new CustomEvent(k,R)}catch{(T=y.createEvent("CustomEvent")).initCustomEvent(k,R.bubbles,R.cancelable,R.detail)}m.type&&(0,d.default)(T,m),M.dispatchEvent(T)}else(T=y.createEventObject()).eventType=k,T.detail=arguments[1],m.type&&(0,d.default)(T,m),M.fireEvent("on"+T.eventType,T)}else if(g[k]!==void 0){arguments[0]=arguments[0].type?arguments[0]:f.default.Event(arguments[0]),arguments[0].detail=arguments.slice(1);var L=g[k];(b==="global"?Object.values(L).flat():L[b]).forEach((function(N){return N.apply(M,D)}))}}return this};var c=x(u(9380)),d=x(u(600)),f=x(u(4963));function p(m,D){return(function(g){if(Array.isArray(g))return g})(m)||(function(g,M){var v=g==null?null:typeof Symbol<"u"&&g[Symbol.iterator]||g["@@iterator"];if(v!=null){var S,w,k,b,T=[],R=!0,L=!1;try{if(k=(v=v.call(g)).next,M!==0)for(;!(R=(S=k.call(v)).done)&&(T.push(S.value),T.length!==M);R=!0);}catch(N){L=!0,w=N}finally{try{if(!R&&v.return!=null&&(b=v.return(),Object(b)!==b))return}finally{if(L)throw w}}return T}})(m,D)||(function(g,M){if(g){if(typeof g=="string")return h(g,M);var v=Object.prototype.toString.call(g).slice(8,-1);if(v==="Object"&&g.constructor&&(v=g.constructor.name),v==="Map"||v==="Set")return Array.from(g);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return h(g,M)}})(m,D)||(function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
11
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function h(m,D){(D==null||D>m.length)&&(D=m.length);for(var g=0,M=new Array(D);g<D;g++)M[g]=m[g];return M}function x(m){return m&&m.__esModule?m:{default:m}}var y=c.default.document;function A(m){return m instanceof Element}var C=l.Event=void 0;typeof c.default.CustomEvent=="function"?l.Event=C=c.default.CustomEvent:c.default.Event&&y&&y.createEvent?(l.Event=C=function(m,D){D=D||{bubbles:!1,cancelable:!1,composed:!0,detail:void 0};var g=y.createEvent("CustomEvent");return g.initCustomEvent(m,D.bubbles,D.cancelable,D.detail),g},C.prototype=c.default.Event.prototype):typeof Event<"u"&&(l.Event=C=Event)},600:function(o,l){function u(c){return u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},u(c)}Object.defineProperty(l,"__esModule",{value:!0}),l.default=function c(){var d,f,p,h,x,y,A=arguments[0]||{},C=1,m=arguments.length,D=!1;for(typeof A=="boolean"&&(D=A,A=arguments[C]||{},C++),u(A)!=="object"&&typeof A!="function"&&(A={});C<m;C++)if((d=arguments[C])!=null)for(f in d)p=A[f],A!==(h=d[f])&&(D&&h&&(Object.prototype.toString.call(h)==="[object Object]"||(x=Array.isArray(h)))?(x?(x=!1,y=p&&Array.isArray(p)?p:[]):y=p&&Object.prototype.toString.call(p)==="[object Object]"?p:{},A[f]=c(D,y,h)):h!==void 0&&(A[f]=h));return A}},4963:function(o,l,u){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var c=h(u(9380)),d=h(u(253)),f=u(3776),p=h(u(600));function h(A){return A&&A.__esModule?A:{default:A}}var x=c.default.document;function y(A){return A instanceof y?A:this instanceof y?void(A!=null&&A!==c.default&&(this[0]=A.nodeName?A:A[0]!==void 0&&A[0].nodeName?A[0]:x.querySelector(A),this[0]!==void 0&&this[0]!==null&&(this[0].eventRegistry=this[0].eventRegistry||{}))):new y(A)}y.prototype={on:f.on,off:f.off,trigger:f.trigger},y.extend=p.default,y.data=d.default,y.Event=f.Event,l.default=y},9845:function(o,l,u){Object.defineProperty(l,"__esModule",{value:!0}),l.mobile=l.iphone=l.ie=void 0;var c,d=(c=u(9380))&&c.__esModule?c:{default:c},f=d.default.navigator&&d.default.navigator.userAgent||"";l.ie=f.indexOf("MSIE ")>0||f.indexOf("Trident/")>0,l.mobile=d.default.navigator&&d.default.navigator.userAgentData&&d.default.navigator.userAgentData.mobile||d.default.navigator&&d.default.navigator.maxTouchPoints||"ontouchstart"in d.default,l.iphone=/iphone/i.test(f)},7184:function(o,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(c){return c.replace(u,"\\$1")};var u=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^"].join("|\\")+")","gim")},6030:function(o,l,u){function c(k){return c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(b){return typeof b}:function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},c(k)}Object.defineProperty(l,"__esModule",{value:!0}),l.EventHandlers=void 0;var d,f=u(9845),p=(d=u(9380))&&d.__esModule?d:{default:d},h=u(7760),x=u(2839),y=u(8711),A=u(7215),C=u(4713);function m(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */m=function(){return b};var k,b={},T=Object.prototype,R=T.hasOwnProperty,L=Object.defineProperty||function(ce,$,ie){ce[$]=ie.value},N=typeof Symbol=="function"?Symbol:{},j=N.iterator||"@@iterator",G=N.asyncIterator||"@@asyncIterator",I=N.toStringTag||"@@toStringTag";function H(ce,$,ie){return Object.defineProperty(ce,$,{value:ie,enumerable:!0,configurable:!0,writable:!0}),ce[$]}try{H({},"")}catch{H=function($,ie,me){return $[ie]=me}}function J(ce,$,ie,me){var he=$&&$.prototype instanceof K?$:K,ke=Object.create(he.prototype),Me=new _e(me||[]);return L(ke,"_invoke",{value:ye(ce,ie,Me)}),ke}function F(ce,$,ie){try{return{type:"normal",arg:ce.call($,ie)}}catch(me){return{type:"throw",arg:me}}}b.wrap=J;var P="suspendedStart",Q="suspendedYield",z="executing",q="completed",X={};function K(){}function se(){}function U(){}var Z={};H(Z,j,(function(){return this}));var de=Object.getPrototypeOf,V=de&&de(de(Ne([])));V&&V!==T&&R.call(V,j)&&(Z=V);var W=U.prototype=K.prototype=Object.create(Z);function oe(ce){["next","throw","return"].forEach((function($){H(ce,$,(function(ie){return this._invoke($,ie)}))}))}function le(ce,$){function ie(he,ke,Me,ae){var Se=F(ce[he],ce,ke);if(Se.type!=="throw"){var Le=Se.arg,et=Le.value;return et&&c(et)=="object"&&R.call(et,"__await")?$.resolve(et.__await).then((function(je){ie("next",je,Me,ae)}),(function(je){ie("throw",je,Me,ae)})):$.resolve(et).then((function(je){Le.value=je,Me(Le)}),(function(je){return ie("throw",je,Me,ae)}))}ae(Se.arg)}var me;L(this,"_invoke",{value:function(he,ke){function Me(){return new $((function(ae,Se){ie(he,ke,ae,Se)}))}return me=me?me.then(Me,Me):Me()}})}function ye(ce,$,ie){var me=P;return function(he,ke){if(me===z)throw new Error("Generator is already running");if(me===q){if(he==="throw")throw ke;return{value:k,done:!0}}for(ie.method=he,ie.arg=ke;;){var Me=ie.delegate;if(Me){var ae=we(Me,ie);if(ae){if(ae===X)continue;return ae}}if(ie.method==="next")ie.sent=ie._sent=ie.arg;else if(ie.method==="throw"){if(me===P)throw me=q,ie.arg;ie.dispatchException(ie.arg)}else ie.method==="return"&&ie.abrupt("return",ie.arg);me=z;var Se=F(ce,$,ie);if(Se.type==="normal"){if(me=ie.done?q:Q,Se.arg===X)continue;return{value:Se.arg,done:ie.done}}Se.type==="throw"&&(me=q,ie.method="throw",ie.arg=Se.arg)}}}function we(ce,$){var ie=$.method,me=ce.iterator[ie];if(me===k)return $.delegate=null,ie==="throw"&&ce.iterator.return&&($.method="return",$.arg=k,we(ce,$),$.method==="throw")||ie!=="return"&&($.method="throw",$.arg=new TypeError("The iterator does not provide a '"+ie+"' method")),X;var he=F(me,ce.iterator,$.arg);if(he.type==="throw")return $.method="throw",$.arg=he.arg,$.delegate=null,X;var ke=he.arg;return ke?ke.done?($[ce.resultName]=ke.value,$.next=ce.nextLoc,$.method!=="return"&&($.method="next",$.arg=k),$.delegate=null,X):ke:($.method="throw",$.arg=new TypeError("iterator result is not an object"),$.delegate=null,X)}function xe(ce){var $={tryLoc:ce[0]};1 in ce&&($.catchLoc=ce[1]),2 in ce&&($.finallyLoc=ce[2],$.afterLoc=ce[3]),this.tryEntries.push($)}function Fe(ce){var $=ce.completion||{};$.type="normal",delete $.arg,ce.completion=$}function _e(ce){this.tryEntries=[{tryLoc:"root"}],ce.forEach(xe,this),this.reset(!0)}function Ne(ce){if(ce||ce===""){var $=ce[j];if($)return $.call(ce);if(typeof ce.next=="function")return ce;if(!isNaN(ce.length)){var ie=-1,me=function he(){for(;++ie<ce.length;)if(R.call(ce,ie))return he.value=ce[ie],he.done=!1,he;return he.value=k,he.done=!0,he};return me.next=me}}throw new TypeError(c(ce)+" is not iterable")}return se.prototype=U,L(W,"constructor",{value:U,configurable:!0}),L(U,"constructor",{value:se,configurable:!0}),se.displayName=H(U,I,"GeneratorFunction"),b.isGeneratorFunction=function(ce){var $=typeof ce=="function"&&ce.constructor;return!!$&&($===se||($.displayName||$.name)==="GeneratorFunction")},b.mark=function(ce){return Object.setPrototypeOf?Object.setPrototypeOf(ce,U):(ce.__proto__=U,H(ce,I,"GeneratorFunction")),ce.prototype=Object.create(W),ce},b.awrap=function(ce){return{__await:ce}},oe(le.prototype),H(le.prototype,G,(function(){return this})),b.AsyncIterator=le,b.async=function(ce,$,ie,me,he){he===void 0&&(he=Promise);var ke=new le(J(ce,$,ie,me),he);return b.isGeneratorFunction($)?ke:ke.next().then((function(Me){return Me.done?Me.value:ke.next()}))},oe(W),H(W,I,"Generator"),H(W,j,(function(){return this})),H(W,"toString",(function(){return"[object Generator]"})),b.keys=function(ce){var $=Object(ce),ie=[];for(var me in $)ie.push(me);return ie.reverse(),function he(){for(;ie.length;){var ke=ie.pop();if(ke in $)return he.value=ke,he.done=!1,he}return he.done=!0,he}},b.values=Ne,_e.prototype={constructor:_e,reset:function(ce){if(this.prev=0,this.next=0,this.sent=this._sent=k,this.done=!1,this.delegate=null,this.method="next",this.arg=k,this.tryEntries.forEach(Fe),!ce)for(var $ in this)$.charAt(0)==="t"&&R.call(this,$)&&!isNaN(+$.slice(1))&&(this[$]=k)},stop:function(){this.done=!0;var ce=this.tryEntries[0].completion;if(ce.type==="throw")throw ce.arg;return this.rval},dispatchException:function(ce){if(this.done)throw ce;var $=this;function ie(Se,Le){return ke.type="throw",ke.arg=ce,$.next=Se,Le&&($.method="next",$.arg=k),!!Le}for(var me=this.tryEntries.length-1;me>=0;--me){var he=this.tryEntries[me],ke=he.completion;if(he.tryLoc==="root")return ie("end");if(he.tryLoc<=this.prev){var Me=R.call(he,"catchLoc"),ae=R.call(he,"finallyLoc");if(Me&&ae){if(this.prev<he.catchLoc)return ie(he.catchLoc,!0);if(this.prev<he.finallyLoc)return ie(he.finallyLoc)}else if(Me){if(this.prev<he.catchLoc)return ie(he.catchLoc,!0)}else{if(!ae)throw new Error("try statement without catch or finally");if(this.prev<he.finallyLoc)return ie(he.finallyLoc)}}}},abrupt:function(ce,$){for(var ie=this.tryEntries.length-1;ie>=0;--ie){var me=this.tryEntries[ie];if(me.tryLoc<=this.prev&&R.call(me,"finallyLoc")&&this.prev<me.finallyLoc){var he=me;break}}he&&(ce==="break"||ce==="continue")&&he.tryLoc<=$&&$<=he.finallyLoc&&(he=null);var ke=he?he.completion:{};return ke.type=ce,ke.arg=$,he?(this.method="next",this.next=he.finallyLoc,X):this.complete(ke)},complete:function(ce,$){if(ce.type==="throw")throw ce.arg;return ce.type==="break"||ce.type==="continue"?this.next=ce.arg:ce.type==="return"?(this.rval=this.arg=ce.arg,this.method="return",this.next="end"):ce.type==="normal"&&$&&(this.next=$),X},finish:function(ce){for(var $=this.tryEntries.length-1;$>=0;--$){var ie=this.tryEntries[$];if(ie.finallyLoc===ce)return this.complete(ie.completion,ie.afterLoc),Fe(ie),X}},catch:function(ce){for(var $=this.tryEntries.length-1;$>=0;--$){var ie=this.tryEntries[$];if(ie.tryLoc===ce){var me=ie.completion;if(me.type==="throw"){var he=me.arg;Fe(ie)}return he}}throw new Error("illegal catch attempt")},delegateYield:function(ce,$,ie){return this.delegate={iterator:Ne(ce),resultName:$,nextLoc:ie},this.method==="next"&&(this.arg=k),X}},b}function D(k,b){var T=typeof Symbol<"u"&&k[Symbol.iterator]||k["@@iterator"];if(!T){if(Array.isArray(k)||(T=(function(I,H){if(I){if(typeof I=="string")return g(I,H);var J=Object.prototype.toString.call(I).slice(8,-1);if(J==="Object"&&I.constructor&&(J=I.constructor.name),J==="Map"||J==="Set")return Array.from(I);if(J==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(J))return g(I,H)}})(k))||b){T&&(k=T);var R=0,L=function(){};return{s:L,n:function(){return R>=k.length?{done:!0}:{done:!1,value:k[R++]}},e:function(I){throw I},f:L}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
12
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var N,j=!0,G=!1;return{s:function(){T=T.call(k)},n:function(){var I=T.next();return j=I.done,I},e:function(I){G=!0,N=I},f:function(){try{j||T.return==null||T.return()}finally{if(G)throw N}}}}function g(k,b){(b==null||b>k.length)&&(b=k.length);for(var T=0,R=new Array(b);T<b;T++)R[T]=k[T];return R}function M(k,b,T,R,L,N,j){try{var G=k[N](j),I=G.value}catch(H){return void T(H)}G.done?b(I):Promise.resolve(I).then(R,L)}var v,S,w=l.EventHandlers={keyEvent:function(k,b,T,R,L){var N=this.inputmask,j=N.opts,G=N.dependencyLib,I=N.maskset,H=this,J=G(H),F=k.key,P=y.caret.call(N,H),Q=j.onKeyDown.call(this,k,y.getBuffer.call(N),P,j);if(Q!==void 0)return Q;if(F===x.keys.Backspace||F===x.keys.Delete||f.iphone&&F===x.keys.BACKSPACE_SAFARI||k.ctrlKey&&F===x.keys.x&&!("oncut"in H))k.preventDefault(),A.handleRemove.call(N,H,F,P),(0,h.writeBuffer)(H,y.getBuffer.call(N,!0),I.p,k,H.inputmask._valueGet()!==y.getBuffer.call(N).join(""));else if(F===x.keys.End||F===x.keys.PageDown){k.preventDefault();var z=y.seekNext.call(N,y.getLastValidPosition.call(N));y.caret.call(N,H,k.shiftKey?P.begin:z,z,!0)}else F===x.keys.Home&&!k.shiftKey||F===x.keys.PageUp?(k.preventDefault(),y.caret.call(N,H,0,k.shiftKey?P.begin:0,!0)):j.undoOnEscape&&F===x.keys.Escape&&k.altKey!==!0?((0,h.checkVal)(H,!0,!1,N.undoValue.split("")),J.trigger("click")):F!==x.keys.Insert||k.shiftKey||k.ctrlKey||N.userOptions.insertMode!==void 0?j.tabThrough===!0&&F===x.keys.Tab?k.shiftKey===!0?(P.end=y.seekPrevious.call(N,P.end,!0),C.getTest.call(N,P.end-1).match.static===!0&&P.end--,P.begin=y.seekPrevious.call(N,P.end,!0),P.begin>=0&&P.end>0&&(k.preventDefault(),y.caret.call(N,H,P.begin,P.end))):(P.begin=y.seekNext.call(N,P.begin,!0),P.end=y.seekNext.call(N,P.begin,!0),P.end<I.maskLength&&P.end--,P.begin<=I.maskLength&&(k.preventDefault(),y.caret.call(N,H,P.begin,P.end))):k.shiftKey||(j.insertModeVisual&&j.insertMode===!1?F===x.keys.ArrowRight?setTimeout((function(){var q=y.caret.call(N,H);y.caret.call(N,H,q.begin)}),0):F===x.keys.ArrowLeft&&setTimeout((function(){var q=y.translatePosition.call(N,H.inputmask.caretPos.begin);y.translatePosition.call(N,H.inputmask.caretPos.end),N.isRTL?y.caret.call(N,H,q+(q===I.maskLength?0:1)):y.caret.call(N,H,q-(q===0?0:1))}),0):N.keyEventHook===void 0||N.keyEventHook(k)):A.isSelection.call(N,P)?j.insertMode=!j.insertMode:(j.insertMode=!j.insertMode,y.caret.call(N,H,P.begin,P.begin));return N.isComposing=F==x.keys.Process||F==x.keys.Unidentified,N.ignorable=F&&F.length>1&&!(H.tagName.toLowerCase()==="textarea"&&F==x.keys.Enter),w.keypressEvent.call(this,k,b,T,R,L)},keypressEvent:function(k,b,T,R,L){var N=this.inputmask||this,j=N.opts,G=N.dependencyLib,I=N.maskset,H=N.el,J=G(H),F=k.key;if(b===!0||k.ctrlKey&&k.altKey&&!N.ignorable||!(k.ctrlKey||k.metaKey||N.ignorable)){if(F){var P,Q=b?{begin:L,end:L}:y.caret.call(N,H);b||(F=j.substitutes[F]||F),I.writeOutBuffer=!0;var z=A.isValid.call(N,Q,F,R,void 0,void 0,void 0,b);if(z!==!1&&(y.resetMaskSet.call(N,!0),P=z.caret!==void 0?z.caret:y.seekNext.call(N,z.pos.begin?z.pos.begin:z.pos),I.p=P),P=j.numericInput&&z.caret===void 0?y.seekPrevious.call(N,P):P,T!==!1&&(setTimeout((function(){j.onKeyValidation.call(H,F,z)}),0),I.writeOutBuffer&&z!==!1)){var q=y.getBuffer.call(N);(0,h.writeBuffer)(H,q,P,k,b!==!0)}if(k.preventDefault(),b)return z!==!1&&(z.forwardPosition=P),z}}else F===x.keys.Enter&&N.undoValue!==N._valueGet(!0)&&(N.undoValue=N._valueGet(!0),setTimeout((function(){J.trigger("change")}),0))},pasteEvent:(v=m().mark((function k(b){var T,R,L,N,j,G;return m().wrap((function(I){for(;;)switch(I.prev=I.next){case 0:T=function(H,J,F,P,Q){var z=y.caret.call(H,J,void 0,void 0,!0),q=F.substr(0,z.begin),X=F.substr(z.end,F.length);if(q==(H.isRTL?y.getBufferTemplate.call(H).slice().reverse():y.getBufferTemplate.call(H)).slice(0,z.begin).join("")&&(q=""),X==(H.isRTL?y.getBufferTemplate.call(H).slice().reverse():y.getBufferTemplate.call(H)).slice(z.end).join("")&&(X=""),P=q+P+X,H.isRTL&&N.numericInput!==!0){P=P.split("");var K,se=D(y.getBufferTemplate.call(H));try{for(se.s();!(K=se.n()).done;){var U=K.value;P[0]===U&&P.shift()}}catch(de){se.e(de)}finally{se.f()}P=P.reverse().join("")}var Z=P;if(typeof Q=="function"){if((Z=Q.call(H,Z,N))===!1)return!1;Z||(Z=F)}(0,h.checkVal)(J,!0,!1,Z.toString().split(""),b)},R=this,L=this.inputmask,N=L.opts,j=L._valueGet(!0),L.skipInputEvent=!0,b.clipboardData&&b.clipboardData.getData?G=b.clipboardData.getData("text/plain"):p.default.clipboardData&&p.default.clipboardData.getData&&(G=p.default.clipboardData.getData("Text")),T(L,R,j,G,N.onBeforePaste),b.preventDefault();case 7:case"end":return I.stop()}}),k,this)})),S=function(){var k=this,b=arguments;return new Promise((function(T,R){var L=v.apply(k,b);function N(G){M(L,T,R,N,j,"next",G)}function j(G){M(L,T,R,N,j,"throw",G)}N(void 0)}))},function(k){return S.apply(this,arguments)}),inputFallBackEvent:function(k){var b=this.inputmask,T=b.opts,R=b.dependencyLib,L,N=this,j=N.inputmask._valueGet(!0),G=(b.isRTL?y.getBuffer.call(b).slice().reverse():y.getBuffer.call(b)).join(""),I=y.caret.call(b,N,void 0,void 0,!0);if(G!==j){if(L=(function(J,F,P){for(var Q,z,q,X=J.substr(0,P.begin).split(""),K=J.substr(P.begin).split(""),se=F.substr(0,P.begin).split(""),U=F.substr(P.begin).split(""),Z=X.length>=se.length?X.length:se.length,de=K.length>=U.length?K.length:U.length,V="",W=[],oe="~";X.length<Z;)X.push(oe);for(;se.length<Z;)se.push(oe);for(;K.length<de;)K.unshift(oe);for(;U.length<de;)U.unshift(oe);var le=X.concat(K),ye=se.concat(U);for(z=0,Q=le.length;z<Q;z++)switch(q=C.getPlaceholder.call(b,y.translatePosition.call(b,z)),V){case"insertText":ye[z-1]===le[z]&&P.begin==le.length-1&&W.push(le[z]),z=Q;break;case"insertReplacementText":case"deleteContentBackward":le[z]===oe?P.end++:z=Q;break;default:le[z]!==ye[z]&&(le[z+1]!==oe&&le[z+1]!==q&&le[z+1]!==void 0||(ye[z]!==q||ye[z+1]!==oe)&&ye[z]!==oe?ye[z+1]===oe&&ye[z]===le[z+1]?(V="insertText",W.push(le[z]),P.begin--,P.end--):le[z]!==q&&le[z]!==oe&&(le[z+1]===oe||ye[z]!==le[z]&&ye[z+1]===le[z+1])?(V="insertReplacementText",W.push(le[z]),P.begin--):le[z]===oe?(V="deleteContentBackward",(y.isMask.call(b,y.translatePosition.call(b,z),!0)||ye[z]===T.radixPoint)&&P.end++):z=Q:(V="insertText",W.push(le[z]),P.begin--,P.end--))}return{action:V,data:W,caret:P}})(j,G,I),(N.inputmask.shadowRoot||N.ownerDocument).activeElement!==N&&N.focus(),(0,h.writeBuffer)(N,y.getBuffer.call(b)),y.caret.call(b,N,I.begin,I.end,!0),!f.mobile&&b.skipNextInsert&&k.inputType==="insertText"&&L.action==="insertText"&&b.isComposing)return!1;switch(k.inputType==="insertCompositionText"&&L.action==="insertText"&&b.isComposing?b.skipNextInsert=!0:b.skipNextInsert=!1,L.action){case"insertText":case"insertReplacementText":L.data.forEach((function(J,F){var P=new R.Event("keypress");P.key=J,b.ignorable=!1,w.keypressEvent.call(N,P)})),setTimeout((function(){b.$el.trigger("keyup")}),0);break;case"deleteContentBackward":var H=new R.Event("keydown");H.key=x.keys.Backspace,w.keyEvent.call(N,H);break;default:(0,h.applyInputValue)(N,j),y.caret.call(b,N,I.begin,I.end,!0)}k.preventDefault()}},setValueEvent:function(k){var b=this.inputmask,T=b.dependencyLib,R=this,L=k&&k.detail?k.detail[0]:arguments[1];L===void 0&&(L=R.inputmask._valueGet(!0)),(0,h.applyInputValue)(R,L,new T.Event("input")),(k.detail&&k.detail[1]!==void 0||arguments[2]!==void 0)&&y.caret.call(b,R,k.detail?k.detail[1]:arguments[2])},focusEvent:function(k){var b=this.inputmask,T=b.opts,R=b&&b._valueGet();T.showMaskOnFocus&&R!==y.getBuffer.call(b).join("")&&(0,h.writeBuffer)(this,y.getBuffer.call(b),y.seekNext.call(b,y.getLastValidPosition.call(b))),T.positionCaretOnTab!==!0||b.mouseEnter!==!1||A.isComplete.call(b,y.getBuffer.call(b))&&y.getLastValidPosition.call(b)!==-1||w.clickEvent.apply(this,[k,!0]),b.undoValue=b&&b._valueGet(!0)},invalidEvent:function(k){this.inputmask.validationEvent=!0},mouseleaveEvent:function(){var k=this.inputmask,b=k.opts,T=this;k.mouseEnter=!1,b.clearMaskOnLostFocus&&(T.inputmask.shadowRoot||T.ownerDocument).activeElement!==T&&(0,h.HandleNativePlaceholder)(T,k.originalPlaceholder)},clickEvent:function(k,b){var T=this.inputmask;T.clicked++;var R=this;if((R.inputmask.shadowRoot||R.ownerDocument).activeElement===R){var L=y.determineNewCaretPosition.call(T,y.caret.call(T,R),b);L!==void 0&&y.caret.call(T,R,L)}},cutEvent:function(k){var b=this.inputmask,T=b.maskset,R=this,L=y.caret.call(b,R),N=b.isRTL?y.getBuffer.call(b).slice(L.end,L.begin):y.getBuffer.call(b).slice(L.begin,L.end),j=b.isRTL?N.reverse().join(""):N.join("");p.default.navigator&&p.default.navigator.clipboard?p.default.navigator.clipboard.writeText(j):p.default.clipboardData&&p.default.clipboardData.getData&&p.default.clipboardData.setData("Text",j),A.handleRemove.call(b,R,x.keys.Delete,L),(0,h.writeBuffer)(R,y.getBuffer.call(b),T.p,k,b.undoValue!==b._valueGet(!0))},blurEvent:function(k){var b=this.inputmask,T=b.opts,R=b.dependencyLib;b.clicked=0;var L=R(this),N=this;if(N.inputmask){(0,h.HandleNativePlaceholder)(N,b.originalPlaceholder);var j=N.inputmask._valueGet(),G=y.getBuffer.call(b).slice();j!==""&&(T.clearMaskOnLostFocus&&(y.getLastValidPosition.call(b)===-1&&j===y.getBufferTemplate.call(b).join("")?G=[]:h.clearOptionalTail.call(b,G)),A.isComplete.call(b,G)===!1&&(setTimeout((function(){L.trigger("incomplete")}),0),T.clearIncomplete&&(y.resetMaskSet.call(b,!1),G=T.clearMaskOnLostFocus?[]:y.getBufferTemplate.call(b).slice())),(0,h.writeBuffer)(N,G,void 0,k)),j=b._valueGet(!0),b.undoValue!==j&&(j!=""||b.undoValue!=y.getBufferTemplate.call(b).join("")||b.undoValue==y.getBufferTemplate.call(b).join("")&&b.maskset.validPositions.length>0)&&(b.undoValue=j,L.trigger("change"))}},mouseenterEvent:function(){var k=this.inputmask,b=k.opts.showMaskOnHover,T=this;if(k.mouseEnter=!0,(T.inputmask.shadowRoot||T.ownerDocument).activeElement!==T){var R=(k.isRTL?y.getBufferTemplate.call(k).slice().reverse():y.getBufferTemplate.call(k)).join("");b&&(0,h.HandleNativePlaceholder)(T,R)}},submitEvent:function(){var k=this.inputmask,b=k.opts;k.undoValue!==k._valueGet(!0)&&k.$el.trigger("change"),y.getLastValidPosition.call(k)===-1&&k._valueGet&&k._valueGet()===y.getBufferTemplate.call(k).join("")&&k._valueSet(""),b.clearIncomplete&&A.isComplete.call(k,y.getBuffer.call(k))===!1&&k._valueSet(""),b.removeMaskOnSubmit&&(k._valueSet(k.unmaskedvalue(),!0),setTimeout((function(){(0,h.writeBuffer)(k.el,y.getBuffer.call(k))}),0))},resetEvent:function(){var k=this.inputmask;k.refreshValue=!0,setTimeout((function(){(0,h.applyInputValue)(k.el,k._valueGet(!0))}),0)}}},9716:function(o,l,u){Object.defineProperty(l,"__esModule",{value:!0}),l.EventRuler=void 0;var c,d=u(7760),f=(c=u(2394))&&c.__esModule?c:{default:c},p=u(2839),h=u(8711);l.EventRuler={on:function(x,y,A){var C=x.inputmask.dependencyLib,m=function(D){D.originalEvent&&(D=D.originalEvent||D,arguments[0]=D);var g,M=this,v=M.inputmask,S=v?v.opts:void 0;if(v===void 0&&this.nodeName!=="FORM"){var w=C.data(M,"_inputmask_opts");C(M).off(),w&&new f.default(w).mask(M)}else{if(["submit","reset","setvalue"].includes(D.type)||this.nodeName==="FORM"||!(M.disabled||M.readOnly&&!(D.type==="keydown"&&D.ctrlKey&&D.key===p.keys.c||S.tabThrough===!1&&D.key===p.keys.Tab))){switch(D.type){case"input":if(v.skipInputEvent===!0)return v.skipInputEvent=!1,D.preventDefault();break;case"click":case"focus":return v.validationEvent?(v.validationEvent=!1,x.blur(),(0,d.HandleNativePlaceholder)(x,(v.isRTL?h.getBufferTemplate.call(v).slice().reverse():h.getBufferTemplate.call(v)).join("")),setTimeout((function(){x.focus()}),S.validationEventTimeOut),!1):(g=arguments,void setTimeout((function(){x.inputmask&&A.apply(M,g)}),0))}var k=A.apply(M,arguments);return k===!1&&(D.preventDefault(),D.stopPropagation()),k}D.preventDefault()}};["submit","reset"].includes(y)?(m=m.bind(x),x.form!==null&&C(x.form).on(y,m)):C(x).on(y,m),x.inputmask.events[y]=x.inputmask.events[y]||[],x.inputmask.events[y].push(m)},off:function(x,y){if(x.inputmask&&x.inputmask.events){var A=x.inputmask.dependencyLib,C=x.inputmask.events;for(var m in y&&((C=[])[y]=x.inputmask.events[y]),C){for(var D=C[m];D.length>0;){var g=D.pop();["submit","reset"].includes(m)?x.form!==null&&A(x.form).off(m,g):A(x).off(m,g)}delete x.inputmask.events[m]}}}}},219:function(o,l,u){var c=m(u(7184)),d=m(u(2394)),f=u(2839),p=u(8711),h=u(4713);function x(F,P){return(function(Q){if(Array.isArray(Q))return Q})(F)||(function(Q,z){var q=Q==null?null:typeof Symbol<"u"&&Q[Symbol.iterator]||Q["@@iterator"];if(q!=null){var X,K,se,U,Z=[],de=!0,V=!1;try{if(se=(q=q.call(Q)).next,z!==0)for(;!(de=(X=se.call(q)).done)&&(Z.push(X.value),Z.length!==z);de=!0);}catch(W){V=!0,K=W}finally{try{if(!de&&q.return!=null&&(U=q.return(),Object(U)!==U))return}finally{if(V)throw K}}return Z}})(F,P)||(function(Q,z){if(Q){if(typeof Q=="string")return y(Q,z);var q=Object.prototype.toString.call(Q).slice(8,-1);if(q==="Object"&&Q.constructor&&(q=Q.constructor.name),q==="Map"||q==="Set")return Array.from(Q);if(q==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(q))return y(Q,z)}})(F,P)||(function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
13
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function y(F,P){(P==null||P>F.length)&&(P=F.length);for(var Q=0,z=new Array(P);Q<P;Q++)z[Q]=F[Q];return z}function A(F){return A=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(P){return typeof P}:function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},A(F)}function C(F,P){for(var Q=0;Q<P.length;Q++){var z=P[Q];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(F,(q=z.key,X=void 0,X=(function(K,se){if(A(K)!=="object"||K===null)return K;var U=K[Symbol.toPrimitive];if(U!==void 0){var Z=U.call(K,se);if(A(Z)!=="object")return Z;throw new TypeError("@@toPrimitive must return a primitive value.")}return(se==="string"?String:Number)(K)})(q,"string"),A(X)==="symbol"?X:String(X)),z)}var q,X}function m(F){return F&&F.__esModule?F:{default:F}}u(1313);var D=d.default.dependencyLib,g=(function(){function F(z,q,X,K){(function(se,U){if(!(se instanceof U))throw new TypeError("Cannot call a class as a function")})(this,F),this.mask=z,this.format=q,this.opts=X,this.inputmask=K,this._date=new Date(1,0,1),this.initDateObject(z,this.opts,this.inputmask)}var P,Q;return P=F,(Q=[{key:"date",get:function(){return this._date===void 0&&(this._date=new Date(1,0,1),this.initDateObject(void 0,this.opts,this.inputmask)),this._date}},{key:"initDateObject",value:function(z,q,X){var K;for(L(q).lastIndex=0;K=L(q).exec(this.format);){var se=/\d+$/.exec(K[0]),U=se?K[0][0]+"x":K[0],Z=void 0;if(z!==void 0){if(se){var de=L(q).lastIndex,V=J.call(X,K.index,q,X&&X.maskset);L(q).lastIndex=de,Z=z.slice(0,z.indexOf(V.nextMatch[0]))}else{for(var W=K[0][0],oe=K.index;X&&(q.placeholder[h.getTest.call(X,oe).match.placeholder]||h.getTest.call(X,oe).match.placeholder)===W;)oe++;var le=oe-K.index;Z=z.slice(0,le||w[U]&&w[U][4]||U.length)}z=z.slice(Z.length)}Object.prototype.hasOwnProperty.call(w,U)&&this.setValue(this,Z,U,w[U][2],w[U][1])}}},{key:"setValue",value:function(z,q,X,K,se){if(q!==void 0)switch(K){case"ampm":z[K]=q,z["raw"+K]=q.replace(/\s/g,"_");break;case"month":if(X==="mmm"||X==="mmmm"){z[K]=G(X==="mmm"?v.monthNames.slice(0,12).findIndex((function(Z){return q.toLowerCase()===Z.toLowerCase()}))+1:v.monthNames.slice(12,24).findIndex((function(Z){return q.toLowerCase()===Z.toLowerCase()}))+1,2),z[K]=z[K]==="00"?"":z[K].toString(),z["raw"+K]=z[K];break}default:z[K]=q.replace(/[^0-9]/g,"0"),z["raw"+K]=q.replace(/\s/g,"_")}if(se!==void 0){var U=z[K];(K==="day"&&parseInt(U)===29||K==="month"&&parseInt(U)===2)&&(parseInt(z.day)!==29||parseInt(z.month)!==2||z.year!==""&&z.year!==void 0||z._date.setFullYear(2012,1,29)),K==="day"&&(S=!0,parseInt(U)===0&&(U=1)),K==="month"&&(S=!0),K==="year"&&(S=!0,U.length<w[X][4]&&(U=G(U,w[X][4],!0))),(U!==""&&!isNaN(U)||K==="ampm")&&se.call(z._date,U)}}},{key:"reset",value:function(){this._date=new Date(1,0,1)}},{key:"reInit",value:function(){this._date=void 0,this.date}}])&&C(P.prototype,Q),Object.defineProperty(P,"prototype",{writable:!1}),F})(),M=new Date().getFullYear(),v=d.default.prototype.i18n,S=!1,w={d:["[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",Date.prototype.getDate],dd:["0[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",function(){return G(Date.prototype.getDate.call(this),2)}],ddd:[""],dddd:[""],m:["[1-9]|1[012]",function(F){var P=F?parseInt(F):0;return P>0&&P--,Date.prototype.setMonth.call(this,P)},"month",function(){return Date.prototype.getMonth.call(this)+1}],mm:["0[1-9]|1[012]",function(F){var P=F?parseInt(F):0;return P>0&&P--,Date.prototype.setMonth.call(this,P)},"month",function(){return G(Date.prototype.getMonth.call(this)+1,2)}],mmm:[v.monthNames.slice(0,12).join("|"),function(F){var P=v.monthNames.slice(0,12).findIndex((function(Q){return F.toLowerCase()===Q.toLowerCase()}));return P!==-1&&Date.prototype.setMonth.call(this,P)},"month",function(){return v.monthNames.slice(0,12)[Date.prototype.getMonth.call(this)]}],mmmm:[v.monthNames.slice(12,24).join("|"),function(F){var P=v.monthNames.slice(12,24).findIndex((function(Q){return F.toLowerCase()===Q.toLowerCase()}));return P!==-1&&Date.prototype.setMonth.call(this,P)},"month",function(){return v.monthNames.slice(12,24)[Date.prototype.getMonth.call(this)]}],yy:["[0-9]{2}",function(F){var P=new Date().getFullYear().toString().slice(0,2);Date.prototype.setFullYear.call(this,"".concat(P).concat(F))},"year",function(){return G(Date.prototype.getFullYear.call(this),2)},2],yyyy:["[0-9]{4}",Date.prototype.setFullYear,"year",function(){return G(Date.prototype.getFullYear.call(this),4)},4],h:["[1-9]|1[0-2]",Date.prototype.setHours,"hours",Date.prototype.getHours],hh:["0[1-9]|1[0-2]",Date.prototype.setHours,"hours",function(){return G(Date.prototype.getHours.call(this),2)}],hx:[function(F){return"[0-9]{".concat(F,"}")},Date.prototype.setHours,"hours",function(F){return Date.prototype.getHours}],H:["1?[0-9]|2[0-3]",Date.prototype.setHours,"hours",Date.prototype.getHours],HH:["0[0-9]|1[0-9]|2[0-3]",Date.prototype.setHours,"hours",function(){return G(Date.prototype.getHours.call(this),2)}],Hx:[function(F){return"[0-9]{".concat(F,"}")},Date.prototype.setHours,"hours",function(F){return function(){return G(Date.prototype.getHours.call(this),F)}}],M:["[1-5]?[0-9]",Date.prototype.setMinutes,"minutes",Date.prototype.getMinutes],MM:["0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]",Date.prototype.setMinutes,"minutes",function(){return G(Date.prototype.getMinutes.call(this),2)}],s:["[1-5]?[0-9]",Date.prototype.setSeconds,"seconds",Date.prototype.getSeconds],ss:["0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]",Date.prototype.setSeconds,"seconds",function(){return G(Date.prototype.getSeconds.call(this),2)}],l:["[0-9]{3}",Date.prototype.setMilliseconds,"milliseconds",function(){return G(Date.prototype.getMilliseconds.call(this),3)},3],L:["[0-9]{2}",Date.prototype.setMilliseconds,"milliseconds",function(){return G(Date.prototype.getMilliseconds.call(this),2)},2],t:["[ap]",b,"ampm",T,1],tt:["[ap]m",b,"ampm",T,2],T:["[AP]",b,"ampm",T,1],TT:["[AP]M",b,"ampm",T,2],Z:[".*",void 0,"Z",function(){var F=this.toString().match(/\((.+)\)/)[1];return F.includes(" ")&&(F=(F=F.replace("-"," ").toUpperCase()).split(" ").map((function(P){return x(P,1)[0]})).join("")),F}],o:[""],S:[""]},k={isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};function b(F){var P=this.getHours();F.toLowerCase().includes("p")?this.setHours(P+12):F.toLowerCase().includes("a")&&P>=12&&this.setHours(P-12)}function T(){var F=this.getHours();return(F=F||12)>=12?"PM":"AM"}function R(F){var P=/\d+$/.exec(F[0]);if(P&&P[0]!==void 0){var Q=w[F[0][0]+"x"].slice("");return Q[0]=Q[0](P[0]),Q[3]=Q[3](P[0]),Q}if(w[F[0]])return w[F[0]]}function L(F){if(!F.tokenizer){var P=[],Q=[];for(var z in w)if(/\.*x$/.test(z)){var q=z[0]+"\\d+";Q.indexOf(q)===-1&&Q.push(q)}else P.indexOf(z[0])===-1&&P.push(z[0]);F.tokenizer="("+(Q.length>0?Q.join("|")+"|":"")+P.join("+|")+")+?|.",F.tokenizer=new RegExp(F.tokenizer,"g")}return F.tokenizer}function N(F,P,Q){if(!S)return!0;if(F.rawday===void 0||!isFinite(F.rawday)&&new Date(F.date.getFullYear(),isFinite(F.rawmonth)?F.month:F.date.getMonth()+1,0).getDate()>=F.day||F.day=="29"&&(!isFinite(F.rawyear)||F.rawyear===void 0||F.rawyear==="")||new Date(F.date.getFullYear(),isFinite(F.rawmonth)?F.month:F.date.getMonth()+1,0).getDate()>=F.day)return P;if(F.day=="29"){var z=J.call(this,P.pos,Q,this.maskset);if(z.targetMatch&&z.targetMatch[0]==="yyyy"&&P.pos-z.targetMatchIndex==2)return P.remove=P.pos+1,P}else if(F.date.getMonth()==2&&F.day=="30"&&P.c!==void 0)return F.day="03",F.date.setDate(3),F.date.setMonth(1),P.insert=[{pos:P.pos,c:"0"},{pos:P.pos+1,c:P.c}],P.caret=p.seekNext.call(this,P.pos+1),P;return!1}function j(F,P,Q,z){var q,X,K="",se=0,U={};for(L(Q).lastIndex=0;q=L(Q).exec(F);){if(P===void 0)if(X=R(q))K+="("+X[0]+")",Q.placeholder&&Q.placeholder!==""?(U[se]=Q.placeholder[q.index%Q.placeholder.length],U[Q.placeholder[q.index%Q.placeholder.length]]=q[0].charAt(0)):U[se]=q[0].charAt(0);else switch(q[0]){case"[":K+="(";break;case"]":K+=")?";break;default:K+=(0,c.default)(q[0]),U[se]=q[0].charAt(0)}else(X=R(q))?z!==!0&&X[3]?K+=X[3].call(P.date):X[2]?K+=P["raw"+X[2]]:K+=q[0]:K+=q[0];se++}return P===void 0&&(Q.placeholder=U),K}function G(F,P,Q){for(F=String(F),P=P||2;F.length<P;)F=Q?F+"0":"0"+F;return F}function I(F,P,Q){return typeof F=="string"?new g(F,P,Q,this):F&&A(F)==="object"&&Object.prototype.hasOwnProperty.call(F,"date")?F:void 0}function H(F,P){return j(P.inputFormat,{date:F},P)}function J(F,P,Q){var z,q,X=this,K=Q&&Q.tests[F]?P.placeholder[Q.tests[F][0].match.placeholder]||Q.tests[F][0].match.placeholder:"",se=0,U=0;for(L(P).lastIndex=0;q=L(P).exec(P.inputFormat);){var Z=/\d+$/.exec(q[0]);if(Z)U=parseInt(Z[0]);else{for(var de=q[0][0],V=se;X&&(P.placeholder[h.getTest.call(X,V).match.placeholder]||h.getTest.call(X,V).match.placeholder)===de;)V++;(U=V-se)===0&&(U=q[0].length)}if(se+=U,q[0].indexOf(K)!=-1||se>=F+1){z=q,q=L(P).exec(P.inputFormat);break}}return{targetMatchIndex:se-U,nextMatch:q,targetMatch:z}}d.default.extendAliases({datetime:{mask:function(F){return F.numericInput=!1,w.S=v.ordinalSuffix.join("|"),F.inputFormat=k[F.inputFormat]||F.inputFormat,F.displayFormat=k[F.displayFormat]||F.displayFormat||F.inputFormat,F.outputFormat=k[F.outputFormat]||F.outputFormat||F.inputFormat,F.regex=j(F.inputFormat,void 0,F),F.min=I(F.min,F.inputFormat,F),F.max=I(F.max,F.inputFormat,F),null},placeholder:"",inputFormat:"isoDateTime",displayFormat:null,outputFormat:null,min:null,max:null,skipOptionalPartCharacter:"",preValidation:function(F,P,Q,z,q,X,K,se){if(se)return!0;if(isNaN(Q)&&F[P]!==Q){var U=J.call(this,P,q,X);if(U.nextMatch&&U.nextMatch[0]===Q&&U.targetMatch[0].length>1){var Z=R(U.targetMatch)[0];if(new RegExp(Z).test("0"+F[P-1]))return F[P]=F[P-1],F[P-1]="0",{fuzzy:!0,buffer:F,refreshFromBuffer:{start:P-1,end:P+1},pos:P+1}}}return!0},postValidation:function(F,P,Q,z,q,X,K,se){var U,Z,de=this;if(K)return!0;if(z===!1&&(((U=J.call(de,P+1,q,X)).targetMatch&&U.targetMatchIndex===P&&U.targetMatch[0].length>1&&w[U.targetMatch[0]]!==void 0||(U=J.call(de,P+2,q,X)).targetMatch&&U.targetMatchIndex===P+1&&U.targetMatch[0].length>1&&w[U.targetMatch[0]]!==void 0)&&(Z=R(U.targetMatch)[0]),Z!==void 0&&(X.validPositions[P+1]!==void 0&&new RegExp(Z).test(Q+"0")?(F[P]=Q,F[P+1]="0",z={pos:P+2,caret:P}):new RegExp(Z).test("0"+Q)&&(F[P]="0",F[P+1]=Q,z={pos:P+2})),z===!1))return z;if(z.fuzzy&&(F=z.buffer,P=z.pos),(U=J.call(de,P,q,X)).targetMatch&&U.targetMatch[0]&&w[U.targetMatch[0]]!==void 0){var V=R(U.targetMatch);Z=V[0];var W=F.slice(U.targetMatchIndex,U.targetMatchIndex+U.targetMatch[0].length);if(new RegExp(Z).test(W.join(""))===!1&&U.targetMatch[0].length===2&&X.validPositions[U.targetMatchIndex]&&X.validPositions[U.targetMatchIndex+1]&&(X.validPositions[U.targetMatchIndex+1].input="0"),V[2]=="year")for(var oe=h.getMaskTemplate.call(de,!1,1,void 0,!0),le=P+1;le<F.length;le++)F[le]=oe[le],X.validPositions.splice(P+1,1)}var ye=z,we=I.call(de,F.join(""),q.inputFormat,q);return ye&&!isNaN(we.date.getTime())&&(q.prefillYear&&(ye=(function(xe,Fe,_e){if(xe.year!==xe.rawyear){var Ne=M.toString(),ce=xe.rawyear.replace(/[^0-9]/g,""),$=Ne.slice(0,ce.length),ie=Ne.slice(ce.length);if(ce.length===2&&ce===$){var me=new Date(M,xe.month-1,xe.day);xe.day==me.getDate()&&(!_e.max||_e.max.date.getTime()>=me.getTime())&&(xe.date.setFullYear(M),xe.year=Ne,Fe.insert=[{pos:Fe.pos+1,c:ie[0]},{pos:Fe.pos+2,c:ie[1]}])}}return Fe})(we,ye,q)),ye=(function(xe,Fe,_e,Ne,ce){if(!Fe)return Fe;if(Fe&&_e.min&&!isNaN(_e.min.date.getTime())){var $;for(xe.reset(),L(_e).lastIndex=0;$=L(_e).exec(_e.inputFormat);){var ie;if((ie=R($))&&ie[3]){for(var me=ie[1],he=xe[ie[2]],ke=_e.min[ie[2]],Me=_e.max?_e.max[ie[2]]:ke+1,ae=[],Se=!1,Le=0;Le<ke.length;Le++)Ne.validPositions[Le+$.index]!==void 0||Se?(ae[Le]=he[Le],Se=Se||he[Le]>ke[Le]):(Le+$.index==0&&he[Le]<ke[Le]?(ae[Le]=he[Le],Se=!0):ae[Le]=ke[Le],ie[2]==="year"&&he.length-1==Le&&ke!=Me&&(ae=(parseInt(ae.join(""))+1).toString().split("")),ie[2]==="ampm"&&ke!=Me&&_e.min.date.getTime()>xe.date.getTime()&&(ae[Le]=Me[Le]));me.call(xe._date,ae.join(""))}}Fe=_e.min.date.getTime()<=xe.date.getTime(),xe.reInit()}return Fe&&_e.max&&(isNaN(_e.max.date.getTime())||(Fe=_e.max.date.getTime()>=xe.date.getTime())),Fe})(we,ye=N.call(de,we,ye,q),q,X)),P!==void 0&&ye&&z.pos!==P?{buffer:j(q.inputFormat,we,q).split(""),refreshFromBuffer:{start:P,end:z.pos},pos:z.caret||z.pos}:ye},onKeyDown:function(F,P,Q,z){F.ctrlKey&&F.key===f.keys.ArrowRight&&(this.inputmask._valueSet(H(new Date,z)),D(this).trigger("setvalue"))},onUnMask:function(F,P,Q){return P&&j(Q.outputFormat,I.call(this,F,Q.inputFormat,Q),Q,!0)},casing:function(F,P,Q,z){if(P.nativeDef.indexOf("[ap]")==0)return F.toLowerCase();if(P.nativeDef.indexOf("[AP]")==0)return F.toUpperCase();var q=h.getTest.call(this,[Q-1]);return q.match.def.indexOf("[AP]")==0||Q===0||q&&q.input===String.fromCharCode(f.keyCode.Space)||q&&q.match.def===String.fromCharCode(f.keyCode.Space)?F.toUpperCase():F.toLowerCase()},onBeforeMask:function(F,P){return Object.prototype.toString.call(F)==="[object Date]"&&(F=H(F,P)),F},insertMode:!1,insertModeVisual:!1,shiftPositions:!1,keepStatic:!1,inputmode:"numeric",prefillYear:!0}})},1313:function(o,l,u){var c,d=(c=u(2394))&&c.__esModule?c:{default:c};d.default.dependencyLib.extend(!0,d.default.prototype.i18n,{dayNames:["Mon","Tue","Wed","Thu","Fri","Sat","Sun","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],ordinalSuffix:["st","nd","rd","th"]})},3851:function(o,l,u){var c,d=(c=u(2394))&&c.__esModule?c:{default:c},f=u(8711),p=u(4713);function h(C){return(function(m){if(Array.isArray(m))return x(m)})(C)||(function(m){if(typeof Symbol<"u"&&m[Symbol.iterator]!=null||m["@@iterator"]!=null)return Array.from(m)})(C)||(function(m,D){if(m){if(typeof m=="string")return x(m,D);var g=Object.prototype.toString.call(m).slice(8,-1);if(g==="Object"&&m.constructor&&(g=m.constructor.name),g==="Map"||g==="Set")return Array.from(m);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return x(m,D)}})(C)||(function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
14
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function x(C,m){(m==null||m>C.length)&&(m=C.length);for(var D=0,g=new Array(m);D<m;D++)g[D]=C[D];return g}d.default.extendDefinitions({A:{validator:"[A-Za-zА-яЁёÀ-ÿµ]",casing:"upper"},"&":{validator:"[0-9A-Za-zА-яЁёÀ-ÿµ]",casing:"upper"},"#":{validator:"[0-9A-Fa-f]",casing:"upper"}});var y=/25[0-5]|2[0-4][0-9]|[01][0-9][0-9]/;function A(C,m,D,g,M){if(D-1>-1&&m.buffer[D-1]!=="."?(C=m.buffer[D-1]+C,C=D-2>-1&&m.buffer[D-2]!=="."?m.buffer[D-2]+C:"0"+C):C="00"+C,M.greedy&&parseInt(C)>255&&y.test("00"+C.charAt(2))){var v=[].concat(h(m.buffer.slice(0,D)),[".",C.charAt(2)]);if(v.join("").match(/\./g).length<4)return{refreshFromBuffer:!0,buffer:v,caret:D+2}}return y.test(C)}d.default.extendAliases({cssunit:{regex:"[+-]?[0-9]+\\.?([0-9]+)?(px|em|rem|ex|%|in|cm|mm|pt|pc)"},url:{regex:"(https?|ftp)://.*",autoUnmask:!1,keepStatic:!1,tabThrough:!0},ip:{mask:"i{1,3}.j{1,3}.k{1,3}.l{1,3}",definitions:{i:{validator:A},j:{validator:A},k:{validator:A},l:{validator:A}},onUnMask:function(C,m,D){return C},inputmode:"decimal",substitutes:{",":"."}},email:{mask:function(C){var m=C.separator,D=C.quantifier,g="*{1,64}[.*{1,64}][.*{1,64}][.*{1,63}]@-{1,63}.-{1,63}[.-{1,63}][.-{1,63}]",M=g;if(m)for(var v=0;v<D;v++)M+="[".concat(m).concat(g,"]");return M},greedy:!1,casing:"lower",separator:null,quantifier:5,skipOptionalPartCharacter:"",onBeforePaste:function(C,m){return(C=C.toLowerCase()).replace("mailto:","")},definitions:{"*":{validator:"[0-91-9A-Za-zА-яЁёÀ-ÿµ!#$%&'*+/=?^_`{|}~-]"},"-":{validator:"[0-9A-Za-z-]"}},onUnMask:function(C,m,D){return C},inputmode:"email"},mac:{mask:"##:##:##:##:##:##"},vin:{mask:"V{13}9{4}",definitions:{V:{validator:"[A-HJ-NPR-Za-hj-npr-z\\d]",casing:"upper"}},clearIncomplete:!0,autoUnmask:!0},ssn:{mask:"999-99-9999",postValidation:function(C,m,D,g,M,v,S){var w=p.getMaskTemplate.call(this,!0,f.getLastValidPosition.call(this),!0,!0);return/^(?!219-09-9999|078-05-1120)(?!666|000|9.{2}).{3}-(?!00).{2}-(?!0{4}).{4}$/.test(w.join(""))}}})},207:function(o,l,u){var c=h(u(7184)),d=h(u(2394)),f=u(2839),p=u(8711);function h(g){return g&&g.__esModule?g:{default:g}}var x=d.default.dependencyLib;function y(g,M){for(var v="",S=0;S<g.length;S++)d.default.prototype.definitions[g.charAt(S)]||M.definitions[g.charAt(S)]||M.optionalmarker[0]===g.charAt(S)||M.optionalmarker[1]===g.charAt(S)||M.quantifiermarker[0]===g.charAt(S)||M.quantifiermarker[1]===g.charAt(S)||M.groupmarker[0]===g.charAt(S)||M.groupmarker[1]===g.charAt(S)||M.alternatormarker===g.charAt(S)?v+="\\"+g.charAt(S):v+=g.charAt(S);return v}function A(g,M,v,S){if(g.length>0&&M>0&&(!v.digitsOptional||S)){var w=g.indexOf(v.radixPoint),k=!1;v.negationSymbol.back===g[g.length-1]&&(k=!0,g.length--),w===-1&&(g.push(v.radixPoint),w=g.length-1);for(var b=1;b<=M;b++)isFinite(g[w+b])||(g[w+b]="0")}return k&&g.push(v.negationSymbol.back),g}function C(g,M){var v=0;for(var S in g==="+"&&(v=p.seekNext.call(this,M.validPositions.length-1)),M.tests)if((S=parseInt(S))>=v){for(var w=0,k=M.tests[S].length;w<k;w++)if((M.validPositions[S]===void 0||g==="-")&&M.tests[S][w].match.def===g)return S+(M.validPositions[S]!==void 0&&g!=="-"?1:0)}return v}function m(g,M){for(var v=-1,S=0,w=M.validPositions.length;S<w;S++){var k=M.validPositions[S];if(k&&k.match.def===g){v=S;break}}return v}function D(g,M,v,S,w){var k=M.buffer?M.buffer.indexOf(w.radixPoint):-1,b=(k!==-1||S&&w.jitMasking)&&new RegExp(w.definitions[9].validator).test(g);return!S&&w._radixDance&&k!==-1&&b&&M.validPositions[k]==null?{insert:{pos:k===v?k+1:k,c:w.radixPoint},pos:v}:b}d.default.extendAliases({numeric:{mask:function(g){g.repeat=0,g.groupSeparator===g.radixPoint&&g.digits&&g.digits!=="0"&&(g.radixPoint==="."?g.groupSeparator=",":g.radixPoint===","?g.groupSeparator=".":g.groupSeparator=""),g.groupSeparator===" "&&(g.skipOptionalPartCharacter=void 0),g.placeholder.length>1&&(g.placeholder=g.placeholder.charAt(0)),g.positionCaretOnClick==="radixFocus"&&g.placeholder===""&&(g.positionCaretOnClick="lvp");var M="0",v=g.radixPoint;g.numericInput===!0&&g.__financeInput===void 0?(M="1",g.positionCaretOnClick=g.positionCaretOnClick==="radixFocus"?"lvp":g.positionCaretOnClick,g.digitsOptional=!1,isNaN(g.digits)&&(g.digits=2),g._radixDance=!1,v=g.radixPoint===","?"?":"!",g.radixPoint!==""&&g.definitions[v]===void 0&&(g.definitions[v]={},g.definitions[v].validator="["+g.radixPoint+"]",g.definitions[v].placeholder=g.radixPoint,g.definitions[v].static=!0,g.definitions[v].generated=!0)):(g.__financeInput=!1,g.numericInput=!0);var S,w="[+]";if(w+=y(g.prefix,g),g.groupSeparator!==""?(g.definitions[g.groupSeparator]===void 0&&(g.definitions[g.groupSeparator]={},g.definitions[g.groupSeparator].validator="["+g.groupSeparator+"]",g.definitions[g.groupSeparator].placeholder=g.groupSeparator,g.definitions[g.groupSeparator].static=!0,g.definitions[g.groupSeparator].generated=!0),w+=g._mask(g)):w+="9{+}",g.digits!==void 0&&g.digits!==0){var k=g.digits.toString().split(",");isFinite(k[0])&&k[1]&&isFinite(k[1])?w+=v+M+"{"+g.digits+"}":(isNaN(g.digits)||parseInt(g.digits)>0)&&(g.digitsOptional||g.jitMasking?(S=w+v+M+"{0,"+g.digits+"}",g.keepStatic=!0):w+=v+M+"{"+g.digits+"}")}else g.inputmode="numeric";return w+=y(g.suffix,g),w+="[-]",S&&(w=[S+y(g.suffix,g)+"[-]",w]),g.greedy=!1,(function(b){b.parseMinMaxOptions===void 0&&(b.min!==null&&(b.min=b.min.toString().replace(new RegExp((0,c.default)(b.groupSeparator),"g"),""),b.radixPoint===","&&(b.min=b.min.replace(b.radixPoint,".")),b.min=isFinite(b.min)?parseFloat(b.min):NaN,isNaN(b.min)&&(b.min=Number.MIN_VALUE)),b.max!==null&&(b.max=b.max.toString().replace(new RegExp((0,c.default)(b.groupSeparator),"g"),""),b.radixPoint===","&&(b.max=b.max.replace(b.radixPoint,".")),b.max=isFinite(b.max)?parseFloat(b.max):NaN,isNaN(b.max)&&(b.max=Number.MAX_VALUE)),b.parseMinMaxOptions="done")})(g),g.radixPoint!==""&&g.substituteRadixPoint&&(g.substitutes[g.radixPoint=="."?",":"."]=g.radixPoint),w},_mask:function(g){return"("+g.groupSeparator+"999){+|1}"},digits:"*",digitsOptional:!0,enforceDigitsOnBlur:!1,radixPoint:".",positionCaretOnClick:"radixFocus",_radixDance:!0,groupSeparator:"",allowMinus:!0,negationSymbol:{front:"-",back:""},prefix:"",suffix:"",min:null,max:null,SetMaxOnOverflow:!1,step:1,inputType:"text",unmaskAsNumber:!1,roundingFN:Math.round,inputmode:"decimal",shortcuts:{k:"1000",m:"1000000"},placeholder:"0",greedy:!1,rightAlign:!0,insertMode:!0,autoUnmask:!1,skipOptionalPartCharacter:"",usePrototypeDefinitions:!1,stripLeadingZeroes:!0,substituteRadixPoint:!0,definitions:{0:{validator:D},1:{validator:D,definitionSymbol:"9"},9:{validator:"[0-90-9٠-٩۰-۹]",definitionSymbol:"*"},"+":{validator:function(g,M,v,S,w){return w.allowMinus&&(g==="-"||g===w.negationSymbol.front)}},"-":{validator:function(g,M,v,S,w){return w.allowMinus&&g===w.negationSymbol.back}}},preValidation:function(g,M,v,S,w,k,b,T){var R=this;if(w.__financeInput!==!1&&v===w.radixPoint)return!1;var L=g.indexOf(w.radixPoint),N=M;if(M=(function(J,F,P,Q,z){return z._radixDance&&z.numericInput&&F!==z.negationSymbol.back&&J<=P&&(P>0||F==z.radixPoint)&&(Q.validPositions[J-1]===void 0||Q.validPositions[J-1].input!==z.negationSymbol.back)&&(J-=1),J})(M,v,L,k,w),v==="-"||v===w.negationSymbol.front){if(w.allowMinus!==!0)return!1;var j=!1,G=m("+",k),I=m("-",k);return G!==-1&&(j=[G],I!==-1&&j.push(I)),j!==!1?{remove:j,caret:N-w.negationSymbol.back.length}:{insert:[{pos:C.call(R,"+",k),c:w.negationSymbol.front,fromIsValid:!0},{pos:C.call(R,"-",k),c:w.negationSymbol.back,fromIsValid:void 0}],caret:N+w.negationSymbol.back.length}}if(v===w.groupSeparator)return{caret:N};if(T)return!0;if(L!==-1&&w._radixDance===!0&&S===!1&&v===w.radixPoint&&w.digits!==void 0&&(isNaN(w.digits)||parseInt(w.digits)>0)&&L!==M){var H=C.call(R,w.radixPoint,k);return k.validPositions[H]&&(k.validPositions[H].generatedInput=k.validPositions[H].generated||!1),{caret:w._radixDance&&M===L-1?L+1:L}}if(w.__financeInput===!1){if(S){if(w.digitsOptional)return{rewritePosition:b.end};if(!w.digitsOptional){if(b.begin>L&&b.end<=L)return v===w.radixPoint?{insert:{pos:L+1,c:"0",fromIsValid:!0},rewritePosition:L}:{rewritePosition:L+1};if(b.begin<L)return{rewritePosition:b.begin-1}}}else if(!w.showMaskOnHover&&!w.showMaskOnFocus&&!w.digitsOptional&&w.digits>0&&this.__valueGet.call(this.el)==="")return{rewritePosition:L}}return{rewritePosition:M}},postValidation:function(g,M,v,S,w,k,b){if(S===!1)return S;if(b)return!0;if(w.min!==null||w.max!==null){var T=w.onUnMask(g.slice().reverse().join(""),void 0,x.extend({},w,{unmaskAsNumber:!0}));if(w.min!==null&&T<w.min&&(T.toString().length>w.min.toString().length||T<0))return!1;if(w.max!==null&&T>w.max)return!!w.SetMaxOnOverflow&&{refreshFromBuffer:!0,buffer:A(w.max.toString().replace(".",w.radixPoint).split(""),w.digits,w).reverse()}}return S},onUnMask:function(g,M,v){if(M===""&&v.nullable===!0)return M;var S=g.replace(v.prefix,"");return S=(S=S.replace(v.suffix,"")).replace(new RegExp((0,c.default)(v.groupSeparator),"g"),""),v.placeholder.charAt(0)!==""&&(S=S.replace(new RegExp(v.placeholder.charAt(0),"g"),"0")),v.unmaskAsNumber?(v.radixPoint!==""&&S.indexOf(v.radixPoint)!==-1&&(S=S.replace(c.default.call(this,v.radixPoint),".")),S=(S=S.replace(new RegExp("^"+(0,c.default)(v.negationSymbol.front)),"-")).replace(new RegExp((0,c.default)(v.negationSymbol.back)+"$"),""),Number(S)):S},isComplete:function(g,M){var v=(M.numericInput?g.slice().reverse():g).join("");return v=(v=(v=(v=(v=v.replace(new RegExp("^"+(0,c.default)(M.negationSymbol.front)),"-")).replace(new RegExp((0,c.default)(M.negationSymbol.back)+"$"),"")).replace(M.prefix,"")).replace(M.suffix,"")).replace(new RegExp((0,c.default)(M.groupSeparator)+"([0-9]{3})","g"),"$1"),M.radixPoint===","&&(v=v.replace((0,c.default)(M.radixPoint),".")),isFinite(v)},onBeforeMask:function(g,M){var v;g=(v=g)!==null&&v!==void 0?v:"";var S=M.radixPoint||",";isFinite(M.digits)&&(M.digits=parseInt(M.digits)),typeof g!="number"&&M.inputType!=="number"||S===""||(g=g.toString().replace(".",S));var w=g.charAt(0)==="-"||g.charAt(0)===M.negationSymbol.front,k=g.split(S),b=k[0].replace(/[^\-0-9]/g,""),T=k.length>1?k[1].replace(/[^0-9]/g,""):"",R=k.length>1;g=b+(T!==""?S+T:T);var L=0;if(S!==""&&(L=M.digitsOptional?M.digits<T.length?M.digits:T.length:M.digits,T!==""||!M.digitsOptional)){var N=Math.pow(10,L||1);g=g.replace((0,c.default)(S),"."),isNaN(parseFloat(g))||(g=(M.roundingFN(parseFloat(g)*N)/N).toFixed(L)),g=g.toString().replace(".",S)}if(M.digits===0&&g.indexOf(S)!==-1&&(g=g.substring(0,g.indexOf(S))),M.min!==null||M.max!==null){var j=g.toString().replace(S,".");M.min!==null&&j<M.min?g=M.min.toString().replace(".",S):M.max!==null&&j>M.max&&(g=M.max.toString().replace(".",S))}return w&&g.charAt(0)!=="-"&&(g="-"+g),A(g.toString().split(""),L,M,R).join("")},onBeforeWrite:function(g,M,v,S){function w(I,H){if(S.__financeInput!==!1||H){var J=I.indexOf(S.radixPoint);J!==-1&&I.splice(J,1)}if(S.groupSeparator!=="")for(;(J=I.indexOf(S.groupSeparator))!==-1;)I.splice(J,1);return I}var k,b;if(S.stripLeadingZeroes&&(b=(function(I,H){var J=new RegExp("(^"+(H.negationSymbol.front!==""?(0,c.default)(H.negationSymbol.front)+"?":"")+(0,c.default)(H.prefix)+")(.*)("+(0,c.default)(H.suffix)+(H.negationSymbol.back!=""?(0,c.default)(H.negationSymbol.back)+"?":"")+"$)").exec(I.slice().reverse().join("")),F=J?J[2]:"",P=!1;return F&&(F=F.split(H.radixPoint.charAt(0))[0],P=new RegExp("^[0"+H.groupSeparator+"]*").exec(F)),!(!P||!(P[0].length>1||P[0].length>0&&P[0].length<F.length))&&P})(M,S)))for(var T=M.join("").lastIndexOf(b[0].split("").reverse().join(""))-(b[0]==b.input?0:1),R=b[0]==b.input?1:0,L=b[0].length-R;L>0;L--)this.maskset.validPositions.splice(T+L,1),delete M[T+L];if(g)switch(g.type){case"blur":case"checkval":if(S.min!==null){var N=S.onUnMask(M.slice().reverse().join(""),void 0,x.extend({},S,{unmaskAsNumber:!0}));if(S.min!==null&&N<S.min)return{refreshFromBuffer:!0,buffer:A(S.min.toString().replace(".",S.radixPoint).split(""),S.digits,S).reverse()}}if(M[M.length-1]===S.negationSymbol.front){var j=new RegExp("(^"+(S.negationSymbol.front!=""?(0,c.default)(S.negationSymbol.front)+"?":"")+(0,c.default)(S.prefix)+")(.*)("+(0,c.default)(S.suffix)+(S.negationSymbol.back!=""?(0,c.default)(S.negationSymbol.back)+"?":"")+"$)").exec(w(M.slice(),!0).reverse().join(""));(j?j[2]:"")==0&&(k={refreshFromBuffer:!0,buffer:[0]})}else S.radixPoint!==""&&M.indexOf(S.radixPoint)===S.suffix.length&&(k&&k.buffer?k.buffer.splice(0,1+S.suffix.length):(M.splice(0,1+S.suffix.length),k={refreshFromBuffer:!0,buffer:w(M)}));if(S.enforceDigitsOnBlur){var G=(k=k||{})&&k.buffer||M.slice().reverse();k.refreshFromBuffer=!0,k.buffer=A(G,S.digits,S,!0).reverse()}}return k},onKeyDown:function(g,M,v,S){var w,k=x(this);if(g.location!=3){var b,T=g.key;if((b=S.shortcuts&&S.shortcuts[T])&&b.length>1)return this.inputmask.__valueSet.call(this,parseFloat(this.inputmask.unmaskedvalue())*parseInt(b)),k.trigger("setvalue"),!1}if(g.ctrlKey)switch(g.key){case f.keys.ArrowUp:return this.inputmask.__valueSet.call(this,parseFloat(this.inputmask.unmaskedvalue())+parseInt(S.step)),k.trigger("setvalue"),!1;case f.keys.ArrowDown:return this.inputmask.__valueSet.call(this,parseFloat(this.inputmask.unmaskedvalue())-parseInt(S.step)),k.trigger("setvalue"),!1}if(!g.shiftKey&&(g.key===f.keys.Delete||g.key===f.keys.Backspace||g.key===f.keys.BACKSPACE_SAFARI)&&v.begin!==M.length){if(M[g.key===f.keys.Delete?v.begin-1:v.end]===S.negationSymbol.front)return w=M.slice().reverse(),S.negationSymbol.front!==""&&w.shift(),S.negationSymbol.back!==""&&w.pop(),k.trigger("setvalue",[w.join(""),v.begin]),!1;if(S._radixDance===!0){var R,L=M.indexOf(S.radixPoint);if(S.digitsOptional){if(L===0)return(w=M.slice().reverse()).pop(),k.trigger("setvalue",[w.join(""),v.begin>=w.length?w.length:v.begin]),!1}else if(L!==-1&&(v.begin<L||v.end<L||g.key===f.keys.Delete&&(v.begin===L||v.begin-1===L)))return v.begin===v.end&&(g.key===f.keys.Backspace||g.key===f.keys.BACKSPACE_SAFARI?v.begin++:g.key===f.keys.Delete&&v.begin-1===L&&(R=x.extend({},v),v.begin--,v.end--)),(w=M.slice().reverse()).splice(w.length-v.begin,v.begin-v.end+1),w=A(w,S.digits,S).join(""),R&&(v=R),k.trigger("setvalue",[w,v.begin>=w.length?L+1:v.begin]),!1}}}},currency:{prefix:"",groupSeparator:",",alias:"numeric",digits:2,digitsOptional:!1},decimal:{alias:"numeric"},integer:{alias:"numeric",inputmode:"numeric",digits:0},percentage:{alias:"numeric",min:0,max:100,suffix:" %",digits:0,allowMinus:!1},indianns:{alias:"numeric",_mask:function(g){return"("+g.groupSeparator+"99){*|1}("+g.groupSeparator+"999){1|1}"},groupSeparator:",",radixPoint:".",placeholder:"0",digits:2,digitsOptional:!1}})},9380:function(o,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var u=!(typeof window>"u"||!window.document||!window.document.createElement);l.default=u?window:{}},7760:function(o,l,u){Object.defineProperty(l,"__esModule",{value:!0}),l.HandleNativePlaceholder=function(D,g){var M=D?D.inputmask:this;if(c.ie){if(D.inputmask._valueGet()!==g&&(D.placeholder!==g||D.placeholder==="")){var v=p.getBuffer.call(M).slice(),S=D.inputmask._valueGet();if(S!==g){var w=p.getLastValidPosition.call(M);w===-1&&S===p.getBufferTemplate.call(M).join("")?v=[]:w!==-1&&A.call(M,v),m(D,v)}}}else D.placeholder!==g&&(D.placeholder=g,D.placeholder===""&&D.removeAttribute("placeholder"))},l.applyInputValue=y,l.checkVal=C,l.clearOptionalTail=A,l.unmaskedvalue=function(D){var g=D?D.inputmask:this,M=g.opts,v=g.maskset;if(D){if(D.inputmask===void 0)return D.value;D.inputmask&&D.inputmask.refreshValue&&y(D,D.inputmask._valueGet(!0))}for(var S=[],w=v.validPositions,k=0,b=w.length;k<b;k++)w[k]&&w[k].match&&(w[k].match.static!=1||Array.isArray(v.metadata)&&w[k].generatedInput!==!0)&&S.push(w[k].input);var T=S.length===0?"":(g.isRTL?S.reverse():S).join("");if(typeof M.onUnMask=="function"){var R=(g.isRTL?p.getBuffer.call(g).slice().reverse():p.getBuffer.call(g)).join("");T=M.onUnMask.call(g,R,T,M)}return T},l.writeBuffer=m;var c=u(9845),d=u(6030),f=u(2839),p=u(8711),h=u(7215),x=u(4713);function y(D,g,M){var v=D?D.inputmask:this,S=v.opts;D.inputmask.refreshValue=!1,typeof S.onBeforeMask=="function"&&(g=S.onBeforeMask.call(v,g,S)||g),C(D,!0,!1,g=(g||"").toString().split(""),M),v.undoValue=v._valueGet(!0),(S.clearMaskOnLostFocus||S.clearIncomplete)&&D.inputmask._valueGet()===p.getBufferTemplate.call(v).join("")&&p.getLastValidPosition.call(v)===-1&&D.inputmask._valueSet("")}function A(D){D.length=0;for(var g,M=x.getMaskTemplate.call(this,!0,0,!0,void 0,!0);(g=M.shift())!==void 0;)D.push(g);return D}function C(D,g,M,v,S){var w,k=D?D.inputmask:this,b=k.maskset,T=k.opts,R=k.dependencyLib,L=v.slice(),N="",j=-1,G=T.skipOptionalPartCharacter;T.skipOptionalPartCharacter="",p.resetMaskSet.call(k,!1),k.clicked=0,j=T.radixPoint?p.determineNewCaretPosition.call(k,{begin:0,end:0},!1,T.__financeInput===!1?"radixFocus":void 0).begin:0,b.p=j,k.caretPos={begin:j};var I=[],H=k.caretPos;if(L.forEach((function(q,X){if(q!==void 0){var K=new R.Event("_checkval");K.key=q,N+=q;var se=p.getLastValidPosition.call(k,void 0,!0);(function(U,Z){for(var de=x.getMaskTemplate.call(k,!0,0).slice(U,p.seekNext.call(k,U,!1,!1)).join("").replace(/'/g,""),V=de.indexOf(Z);V>0&&de[V-1]===" ";)V--;var W=V===0&&!p.isMask.call(k,U)&&(x.getTest.call(k,U).match.nativeDef===Z.charAt(0)||x.getTest.call(k,U).match.static===!0&&x.getTest.call(k,U).match.nativeDef==="'"+Z.charAt(0)||x.getTest.call(k,U).match.nativeDef===" "&&(x.getTest.call(k,U+1).match.nativeDef===Z.charAt(0)||x.getTest.call(k,U+1).match.static===!0&&x.getTest.call(k,U+1).match.nativeDef==="'"+Z.charAt(0)));if(!W&&V>0&&!p.isMask.call(k,U,!1,!0)){var oe=p.seekNext.call(k,U);k.caretPos.begin<oe&&(k.caretPos={begin:oe})}return W})(j,N)?w=d.EventHandlers.keypressEvent.call(k,K,!0,!1,M,se+1):(w=d.EventHandlers.keypressEvent.call(k,K,!0,!1,M,k.caretPos.begin))&&(j=k.caretPos.begin+1,N=""),w?(w.pos!==void 0&&b.validPositions[w.pos]&&b.validPositions[w.pos].match.static===!0&&b.validPositions[w.pos].alternation===void 0&&(I.push(w.pos),k.isRTL||(w.forwardPosition=w.pos+1)),m.call(k,void 0,p.getBuffer.call(k),w.forwardPosition,K,!1),k.caretPos={begin:w.forwardPosition,end:w.forwardPosition},H=k.caretPos):b.validPositions[X]===void 0&&L[X]===x.getPlaceholder.call(k,X)&&p.isMask.call(k,X,!0)?k.caretPos.begin++:k.caretPos=H}})),I.length>0){var J,F,P=p.seekNext.call(k,-1,void 0,!1);if(!h.isComplete.call(k,p.getBuffer.call(k))&&I.length<=P||h.isComplete.call(k,p.getBuffer.call(k))&&I.length>0&&I.length!==P&&I[0]===0){for(var Q=P;(J=I.shift())!==void 0;)if(J<Q){var z=new R.Event("_checkval");if((F=b.validPositions[J]).generatedInput=!0,z.key=F.input,(w=d.EventHandlers.keypressEvent.call(k,z,!0,!1,M,Q))&&w.pos!==void 0&&w.pos!==J&&b.validPositions[w.pos]&&b.validPositions[w.pos].match.static===!0)I.push(w.pos);else if(!w)break;Q++}}}g&&m.call(k,D,p.getBuffer.call(k),w?w.forwardPosition:k.caretPos.begin,S||new R.Event("checkval"),S&&(S.type==="input"&&k.undoValue!==p.getBuffer.call(k).join("")||S.type==="paste")),T.skipOptionalPartCharacter=G}function m(D,g,M,v,S){var w=D?D.inputmask:this,k=w.opts,b=w.dependencyLib;if(v&&typeof k.onBeforeWrite=="function"){var T=k.onBeforeWrite.call(w,v,g,M,k);if(T){if(T.refreshFromBuffer){var R=T.refreshFromBuffer;h.refreshFromBuffer.call(w,R===!0?R:R.start,R.end,T.buffer||g),g=p.getBuffer.call(w,!0)}M!==void 0&&(M=T.caret!==void 0?T.caret:M)}}if(D!==void 0&&(D.inputmask._valueSet(g.join("")),M===void 0||v!==void 0&&v.type==="blur"||p.caret.call(w,D,M,void 0,void 0,v!==void 0&&v.type==="keydown"&&(v.key===f.keys.Delete||v.key===f.keys.Backspace)),D.inputmask.writeBufferHook===void 0||D.inputmask.writeBufferHook(M),S===!0)){var L=b(D),N=D.inputmask._valueGet();D.inputmask.skipInputEvent=!0,L.trigger("input"),setTimeout((function(){N===p.getBufferTemplate.call(w).join("")?L.trigger("cleared"):h.isComplete.call(w,g)===!0&&L.trigger("complete")}),0)}}},2394:function(o,l,u){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var c=M(u(3976)),d=M(u(7392)),f=M(u(4963)),p=u(9716),h=M(u(9380)),x=u(7760),y=u(157),A=u(2391),C=u(8711),m=u(7215),D=u(4713);function g(b){return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(T){return typeof T}:function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},g(b)}function M(b){return b&&b.__esModule?b:{default:b}}var v=h.default.document,S="_inputmask_opts";function w(b,T,R){if(!(this instanceof w))return new w(b,T,R);this.dependencyLib=f.default,this.el=void 0,this.events={},this.maskset=void 0,R!==!0&&(Object.prototype.toString.call(b)==="[object Object]"?T=b:(T=T||{},b&&(T.alias=b)),this.opts=f.default.extend(!0,{},this.defaults,T),this.noMasksCache=T&&T.definitions!==void 0,this.userOptions=T||{},k(this.opts.alias,T,this.opts)),this.refreshValue=!1,this.undoValue=void 0,this.$el=void 0,this.skipInputEvent=!1,this.validationEvent=!1,this.ignorable=!1,this.maxLength,this.mouseEnter=!1,this.clicked=0,this.originalPlaceholder=void 0,this.isComposing=!1,this.hasAlternator=!1}function k(b,T,R){var L=w.prototype.aliases[b];return L?(L.alias&&k(L.alias,void 0,R),f.default.extend(!0,R,L),f.default.extend(!0,R,T),!0):(R.mask===null&&(R.mask=b),!1)}w.prototype={dataAttribute:"data-inputmask",defaults:c.default,definitions:d.default,aliases:{},masksCache:{},i18n:{},get isRTL(){return this.opts.isRTL||this.opts.numericInput},mask:function(b){var T=this;return typeof b=="string"&&(b=v.getElementById(b)||v.querySelectorAll(b)),(b=b.nodeName?[b]:Array.isArray(b)?b:[].slice.call(b)).forEach((function(R,L){var N=f.default.extend(!0,{},T.opts);if((function(G,I,H,J){function F(K,se){var U=J===""?K:J+"-"+K;(se=se!==void 0?se:G.getAttribute(U))!==null&&(typeof se=="string"&&(K.indexOf("on")===0?se=h.default[se]:se==="false"?se=!1:se==="true"&&(se=!0)),H[K]=se)}if(I.importDataAttributes===!0){var P,Q,z,q,X=G.getAttribute(J);if(X&&X!==""&&(X=X.replace(/'/g,'"'),Q=JSON.parse("{"+X+"}")),Q){for(q in z=void 0,Q)if(q.toLowerCase()==="alias"){z=Q[q];break}}for(P in F("alias",z),H.alias&&k(H.alias,H,I),I){if(Q){for(q in z=void 0,Q)if(q.toLowerCase()===P.toLowerCase()){z=Q[q];break}}F(P,z)}}return f.default.extend(!0,I,H),(G.dir==="rtl"||I.rightAlign)&&(G.style.textAlign="right"),(G.dir==="rtl"||I.numericInput)&&(G.dir="ltr",G.removeAttribute("dir"),I.isRTL=!0),Object.keys(H).length})(R,N,f.default.extend(!0,{},T.userOptions),T.dataAttribute)){var j=(0,A.generateMaskSet)(N,T.noMasksCache);j!==void 0&&(R.inputmask!==void 0&&(R.inputmask.opts.autoUnmask=!0,R.inputmask.remove()),R.inputmask=new w(void 0,void 0,!0),R.inputmask.opts=N,R.inputmask.noMasksCache=T.noMasksCache,R.inputmask.userOptions=f.default.extend(!0,{},T.userOptions),R.inputmask.el=R,R.inputmask.$el=(0,f.default)(R),R.inputmask.maskset=j,f.default.data(R,S,T.userOptions),y.mask.call(R.inputmask))}})),b&&b[0]&&b[0].inputmask||this},option:function(b,T){return typeof b=="string"?this.opts[b]:g(b)==="object"?(f.default.extend(this.userOptions,b),this.el&&T!==!0&&this.mask(this.el),this):void 0},unmaskedvalue:function(b){if(this.maskset=this.maskset||(0,A.generateMaskSet)(this.opts,this.noMasksCache),this.el===void 0||b!==void 0){var T=(typeof this.opts.onBeforeMask=="function"&&this.opts.onBeforeMask.call(this,b,this.opts)||b).split("");x.checkVal.call(this,void 0,!1,!1,T),typeof this.opts.onBeforeWrite=="function"&&this.opts.onBeforeWrite.call(this,void 0,C.getBuffer.call(this),0,this.opts)}return x.unmaskedvalue.call(this,this.el)},remove:function(){if(this.el){f.default.data(this.el,S,null);var b=this.opts.autoUnmask?(0,x.unmaskedvalue)(this.el):this._valueGet(this.opts.autoUnmask);b!==C.getBufferTemplate.call(this).join("")?this._valueSet(b,this.opts.autoUnmask):this._valueSet(""),p.EventRuler.off(this.el),Object.getOwnPropertyDescriptor&&Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(this.el),"value")&&this.__valueGet&&Object.defineProperty(this.el,"value",{get:this.__valueGet,set:this.__valueSet,configurable:!0}):v.__lookupGetter__&&this.el.__lookupGetter__("value")&&this.__valueGet&&(this.el.__defineGetter__("value",this.__valueGet),this.el.__defineSetter__("value",this.__valueSet)),this.el.inputmask=void 0}return this.el},getemptymask:function(){return this.maskset=this.maskset||(0,A.generateMaskSet)(this.opts,this.noMasksCache),(this.isRTL?C.getBufferTemplate.call(this).reverse():C.getBufferTemplate.call(this)).join("")},hasMaskedValue:function(){return!this.opts.autoUnmask},isComplete:function(){return this.maskset=this.maskset||(0,A.generateMaskSet)(this.opts,this.noMasksCache),m.isComplete.call(this,C.getBuffer.call(this))},getmetadata:function(){if(this.maskset=this.maskset||(0,A.generateMaskSet)(this.opts,this.noMasksCache),Array.isArray(this.maskset.metadata)){var b=D.getMaskTemplate.call(this,!0,0,!1).join("");return this.maskset.metadata.forEach((function(T){return T.mask!==b||(b=T,!1)})),b}return this.maskset.metadata},isValid:function(b){if(this.maskset=this.maskset||(0,A.generateMaskSet)(this.opts,this.noMasksCache),b){var T=(typeof this.opts.onBeforeMask=="function"&&this.opts.onBeforeMask.call(this,b,this.opts)||b).split("");x.checkVal.call(this,void 0,!0,!1,T)}else b=this.isRTL?C.getBuffer.call(this).slice().reverse().join(""):C.getBuffer.call(this).join("");for(var R=C.getBuffer.call(this),L=C.determineLastRequiredPosition.call(this),N=R.length-1;N>L&&!C.isMask.call(this,N);N--);return R.splice(L,N+1-L),m.isComplete.call(this,R)&&b===(this.isRTL?C.getBuffer.call(this).slice().reverse().join(""):C.getBuffer.call(this).join(""))},format:function(b,T){this.maskset=this.maskset||(0,A.generateMaskSet)(this.opts,this.noMasksCache);var R=(typeof this.opts.onBeforeMask=="function"&&this.opts.onBeforeMask.call(this,b,this.opts)||b).split("");x.checkVal.call(this,void 0,!0,!1,R);var L=this.isRTL?C.getBuffer.call(this).slice().reverse().join(""):C.getBuffer.call(this).join("");return T?{value:L,metadata:this.getmetadata()}:L},setValue:function(b){this.el&&(0,f.default)(this.el).trigger("setvalue",[b])},analyseMask:A.analyseMask},w.extendDefaults=function(b){f.default.extend(!0,w.prototype.defaults,b)},w.extendDefinitions=function(b){f.default.extend(!0,w.prototype.definitions,b)},w.extendAliases=function(b){f.default.extend(!0,w.prototype.aliases,b)},w.format=function(b,T,R){return w(T).format(b,R)},w.unmask=function(b,T){return w(T).unmaskedvalue(b)},w.isValid=function(b,T){return w(T).isValid(b)},w.remove=function(b){typeof b=="string"&&(b=v.getElementById(b)||v.querySelectorAll(b)),(b=b.nodeName?[b]:b).forEach((function(T){T.inputmask&&T.inputmask.remove()}))},w.setValue=function(b,T){typeof b=="string"&&(b=v.getElementById(b)||v.querySelectorAll(b)),(b=b.nodeName?[b]:b).forEach((function(R){R.inputmask?R.inputmask.setValue(T):(0,f.default)(R).trigger("setvalue",[T])}))},w.dependencyLib=f.default,h.default.Inputmask=w,l.default=w},5296:function(o,l,u){function c(v){return c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},c(v)}var d=D(u(9380)),f=D(u(2394));function p(v,S){for(var w=0;w<S.length;w++){var k=S[w];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(v,(b=k.key,T=void 0,T=(function(R,L){if(c(R)!=="object"||R===null)return R;var N=R[Symbol.toPrimitive];if(N!==void 0){var j=N.call(R,L);if(c(j)!=="object")return j;throw new TypeError("@@toPrimitive must return a primitive value.")}return(L==="string"?String:Number)(R)})(b,"string"),c(T)==="symbol"?T:String(T)),k)}var b,T}function h(v){var S=A();return function(){var w,k=m(v);if(S){var b=m(this).constructor;w=Reflect.construct(k,arguments,b)}else w=k.apply(this,arguments);return(function(T,R){if(R&&(c(R)==="object"||typeof R=="function"))return R;if(R!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return(function(L){if(L===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return L})(T)})(this,w)}}function x(v){var S=typeof Map=="function"?new Map:void 0;return x=function(w){if(w===null||!(function(b){try{return Function.toString.call(b).indexOf("[native code]")!==-1}catch{return typeof b=="function"}})(w))return w;if(typeof w!="function")throw new TypeError("Super expression must either be null or a function");if(S!==void 0){if(S.has(w))return S.get(w);S.set(w,k)}function k(){return y(w,arguments,m(this).constructor)}return k.prototype=Object.create(w.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),C(k,w)},x(v)}function y(v,S,w){return y=A()?Reflect.construct.bind():function(k,b,T){var R=[null];R.push.apply(R,b);var L=new(Function.bind.apply(k,R));return T&&C(L,T.prototype),L},y.apply(null,arguments)}function A(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch{return!1}}function C(v,S){return C=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(w,k){return w.__proto__=k,w},C(v,S)}function m(v){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(S){return S.__proto__||Object.getPrototypeOf(S)},m(v)}function D(v){return v&&v.__esModule?v:{default:v}}var g=d.default.document;if(g&&g.head&&g.head.attachShadow&&d.default.customElements&&d.default.customElements.get("input-mask")===void 0){var M=(function(v){(function(T,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function");T.prototype=Object.create(R&&R.prototype,{constructor:{value:T,writable:!0,configurable:!0}}),Object.defineProperty(T,"prototype",{writable:!1}),R&&C(T,R)})(b,v);var S,w,k=h(b);function b(){var T;(function(G,I){if(!(G instanceof I))throw new TypeError("Cannot call a class as a function")})(this,b);var R=(T=k.call(this)).getAttributeNames(),L=T.attachShadow({mode:"closed"});for(var N in T.input=g.createElement("input"),T.input.type="text",L.appendChild(T.input),R)Object.prototype.hasOwnProperty.call(R,N)&&T.input.setAttribute(R[N],T.getAttribute(R[N]));var j=new f.default;return j.dataAttribute="",j.mask(T.input),T.input.inputmask.shadowRoot=L,T}return S=b,(w=[{key:"attributeChangedCallback",value:function(T,R,L){this.input.setAttribute(T,L)}},{key:"value",get:function(){return this.input.value},set:function(T){this.input.value=T}}])&&p(S.prototype,w),Object.defineProperty(S,"prototype",{writable:!1}),b})(x(HTMLElement));d.default.customElements.define("input-mask",M)}},2839:function(o,l){function u(y){return u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(A){return typeof A}:function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},u(y)}function c(y,A){return(function(C){if(Array.isArray(C))return C})(y)||(function(C,m){var D=C==null?null:typeof Symbol<"u"&&C[Symbol.iterator]||C["@@iterator"];if(D!=null){var g,M,v,S,w=[],k=!0,b=!1;try{if(v=(D=D.call(C)).next,m!==0)for(;!(k=(g=v.call(D)).done)&&(w.push(g.value),w.length!==m);k=!0);}catch(T){b=!0,M=T}finally{try{if(!k&&D.return!=null&&(S=D.return(),Object(S)!==S))return}finally{if(b)throw M}}return w}})(y,A)||(function(C,m){if(C){if(typeof C=="string")return d(C,m);var D=Object.prototype.toString.call(C).slice(8,-1);if(D==="Object"&&C.constructor&&(D=C.constructor.name),D==="Map"||D==="Set")return Array.from(C);if(D==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return d(C,m)}})(y,A)||(function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
15
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function d(y,A){(A==null||A>y.length)&&(A=y.length);for(var C=0,m=new Array(A);C<A;C++)m[C]=y[C];return m}function f(y,A){var C=Object.keys(y);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(y);A&&(m=m.filter((function(D){return Object.getOwnPropertyDescriptor(y,D).enumerable}))),C.push.apply(C,m)}return C}function p(y,A,C){return(A=(function(m){var D=(function(g,M){if(u(g)!=="object"||g===null)return g;var v=g[Symbol.toPrimitive];if(v!==void 0){var S=v.call(g,M);if(u(S)!=="object")return S;throw new TypeError("@@toPrimitive must return a primitive value.")}return(M==="string"?String:Number)(g)})(m,"string");return u(D)==="symbol"?D:String(D)})(A))in y?Object.defineProperty(y,A,{value:C,enumerable:!0,configurable:!0,writable:!0}):y[A]=C,y}Object.defineProperty(l,"__esModule",{value:!0}),l.keys=l.keyCode=void 0,l.toKey=function(y,A){return x[y]||(A?String.fromCharCode(y):String.fromCharCode(y).toLowerCase())},l.toKeyCode=function(y){return h[y]};var h=l.keyCode=(function(y){for(var A=1;A<arguments.length;A++){var C=arguments[A]!=null?arguments[A]:{};A%2?f(Object(C),!0).forEach((function(m){p(y,m,C[m])})):Object.getOwnPropertyDescriptors?Object.defineProperties(y,Object.getOwnPropertyDescriptors(C)):f(Object(C)).forEach((function(m){Object.defineProperty(y,m,Object.getOwnPropertyDescriptor(C,m))}))}return y})({c:67,x:88,z:90,BACKSPACE_SAFARI:127,Enter:13,Meta_LEFT:91,Meta_RIGHT:92,Space:32},{Alt:18,AltGraph:18,ArrowDown:40,ArrowLeft:37,ArrowRight:39,ArrowUp:38,Backspace:8,CapsLock:20,Control:17,ContextMenu:93,Dead:221,Delete:46,End:35,Escape:27,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,Home:36,Insert:45,NumLock:144,PageDown:34,PageUp:33,Pause:19,PrintScreen:44,Process:229,Shift:16,ScrollLock:145,Tab:9,Unidentified:229}),x=Object.entries(h).reduce((function(y,A){var C=c(A,2),m=C[0],D=C[1];return y[D]=y[D]===void 0?m:y[D],y}),{});l.keys=Object.entries(h).reduce((function(y,A){var C=c(A,2),m=C[0];return C[1],y[m]=m==="Space"?" ":m,y}),{})},2391:function(o,l,u){Object.defineProperty(l,"__esModule",{value:!0}),l.analyseMask=function(A,C,m){var D,g,M,v,S,w,k=/(?:[?*+]|\{[0-9+*]+(?:,[0-9+*]*)?(?:\|[0-9+*]*)?\})|[^.?*+^${[]()|\\]+|./g,b=/\[\^?]?(?:[^\\\]]+|\\[\S\s]?)*]?|\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9][0-9]*|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|c[A-Za-z]|[\S\s]?)|\((?:\?[:=!]?)?|(?:[?*+]|\{[0-9]+(?:,[0-9]*)?\})\??|[^.?*+^${[()|\\]+|./g,T=!1,R=new p.default,L=[],N=[],j=!1;function G(V,W,oe){oe=oe!==void 0?oe:V.matches.length;var le=V.matches[oe-1];if(C){if(W.indexOf("[")===0||T&&/\\d|\\s|\\w|\\p/i.test(W)||W==="."){var ye=m.casing?"i":"";/\\p\{.*}/i.test(W)&&(ye+="u"),V.matches.splice(oe++,0,{fn:new RegExp(W,ye),static:!1,optionality:!1,newBlockMarker:le===void 0?"master":le.def!==W,casing:null,def:W,placeholder:h(m.placeholder)==="object"?m.placeholder[R.matches.length]:void 0,nativeDef:W})}else T&&(W=W[W.length-1]),W.split("").forEach((function(xe,Fe){le=V.matches[oe-1],V.matches.splice(oe++,0,{fn:/[a-z]/i.test(m.staticDefinitionSymbol||xe)?new RegExp("["+(m.staticDefinitionSymbol||xe)+"]",m.casing?"i":""):null,static:!0,optionality:!1,newBlockMarker:le===void 0?"master":le.def!==xe&&le.static!==!0,casing:null,def:m.staticDefinitionSymbol||xe,placeholder:m.staticDefinitionSymbol!==void 0?xe:h(m.placeholder)==="object"?m.placeholder[R.matches.length]:void 0,nativeDef:(T?"'":"")+xe})}));T=!1}else{var we=m.definitions&&m.definitions[W]||m.usePrototypeDefinitions&&f.default.prototype.definitions[W];we&&!T?V.matches.splice(oe++,0,{fn:we.validator?typeof we.validator=="string"?new RegExp(we.validator,m.casing?"i":""):new function(){this.test=we.validator}:/./,static:we.static||!1,optionality:we.optional||!1,defOptionality:we.optional||!1,newBlockMarker:le===void 0||we.optional?"master":le.def!==(we.definitionSymbol||W),casing:we.casing,def:we.definitionSymbol||W,placeholder:we.placeholder,nativeDef:W,generated:we.generated}):(V.matches.splice(oe++,0,{fn:/[a-z]/i.test(m.staticDefinitionSymbol||W)?new RegExp("["+(m.staticDefinitionSymbol||W)+"]",m.casing?"i":""):null,static:!0,optionality:!1,newBlockMarker:le===void 0?"master":le.def!==W&&le.static!==!0,casing:null,def:m.staticDefinitionSymbol||W,placeholder:m.staticDefinitionSymbol!==void 0?W:void 0,nativeDef:(T?"'":"")+W}),T=!1)}}function I(){if(L.length>0){if(G(v=L[L.length-1],g),v.isAlternator){S=L.pop();for(var V=0;V<S.matches.length;V++)S.matches[V].isGroup&&(S.matches[V].isGroup=!1);L.length>0?(v=L[L.length-1]).matches.push(S):R.matches.push(S)}}else G(R,g)}function H(V){var W=new p.default(!0);return W.openGroup=!1,W.matches=V,W}function J(){if((M=L.pop()).openGroup=!1,M!==void 0)if(L.length>0){if((v=L[L.length-1]).matches.push(M),v.isAlternator){S=L.pop();for(var V=0;V<S.matches.length;V++)S.matches[V].isGroup=!1,S.matches[V].alternatorGroup=!1;L.length>0?(v=L[L.length-1]).matches.push(S):R.matches.push(S)}}else R.matches.push(M);else I()}function F(V){var W=V.pop();return W.isQuantifier&&(W=H([V.pop(),W])),W}for(C&&(m.optionalmarker[0]=void 0,m.optionalmarker[1]=void 0);D=C?b.exec(A):k.exec(A);){if(g=D[0],C){switch(g.charAt(0)){case"?":g="{0,1}";break;case"+":case"*":g="{"+g+"}";break;case"|":if(L.length===0){var P=H(R.matches);P.openGroup=!0,L.push(P),R.matches=[],j=!0}}switch(g){case"\\d":g="[0-9]";break;case"\\p":g+=b.exec(A)[0],g+=b.exec(A)[0]}}if(T)I();else switch(g.charAt(0)){case"$":case"^":C||I();break;case m.escapeChar:T=!0,C&&I();break;case m.optionalmarker[1]:case m.groupmarker[1]:J();break;case m.optionalmarker[0]:L.push(new p.default(!1,!0));break;case m.groupmarker[0]:L.push(new p.default(!0));break;case m.quantifiermarker[0]:var Q=new p.default(!1,!1,!0),z=(g=g.replace(/[{}?]/g,"")).split("|"),q=z[0].split(","),X=isNaN(q[0])?q[0]:parseInt(q[0]),K=q.length===1?X:isNaN(q[1])?q[1]:parseInt(q[1]),se=isNaN(z[1])?z[1]:parseInt(z[1]);X!=="*"&&X!=="+"||(X=K==="*"?0:1),Q.quantifier={min:X,max:K,jit:se};var U=L.length>0?L[L.length-1].matches:R.matches;(D=U.pop()).isGroup||(D=H([D])),U.push(D),U.push(Q);break;case m.alternatormarker:if(L.length>0){var Z=(v=L[L.length-1]).matches[v.matches.length-1];w=v.openGroup&&(Z.matches===void 0||Z.isGroup===!1&&Z.isAlternator===!1)?L.pop():F(v.matches)}else w=F(R.matches);if(w.isAlternator)L.push(w);else if(w.alternatorGroup?(S=L.pop(),w.alternatorGroup=!1):S=new p.default(!1,!1,!1,!0),S.matches.push(w),L.push(S),w.openGroup){w.openGroup=!1;var de=new p.default(!0);de.alternatorGroup=!0,L.push(de)}break;default:I()}}for(j&&J();L.length>0;)M=L.pop(),R.matches.push(M);return R.matches.length>0&&((function V(W){W&&W.matches&&W.matches.forEach((function(oe,le){var ye=W.matches[le+1];(ye===void 0||ye.matches===void 0||ye.isQuantifier===!1)&&oe&&oe.isGroup&&(oe.isGroup=!1,C||(G(oe,m.groupmarker[0],0),oe.openGroup!==!0&&G(oe,m.groupmarker[1]))),V(oe)}))})(R),N.push(R)),(m.numericInput||m.isRTL)&&(function V(W){for(var oe in W.matches=W.matches.reverse(),W.matches)if(Object.prototype.hasOwnProperty.call(W.matches,oe)){var le=parseInt(oe);if(W.matches[oe].isQuantifier&&W.matches[le+1]&&W.matches[le+1].isGroup){var ye=W.matches[oe];W.matches.splice(oe,1),W.matches.splice(le+1,0,ye)}W.matches[oe].matches!==void 0?W.matches[oe]=V(W.matches[oe]):W.matches[oe]=((we=W.matches[oe])===m.optionalmarker[0]?we=m.optionalmarker[1]:we===m.optionalmarker[1]?we=m.optionalmarker[0]:we===m.groupmarker[0]?we=m.groupmarker[1]:we===m.groupmarker[1]&&(we=m.groupmarker[0]),we)}var we;return W})(N[0]),N},l.generateMaskSet=function(A,C){var m;function D(v,S){var w=S.repeat,k=S.groupmarker,b=S.quantifiermarker,T=S.keepStatic;if(w>0||w==="*"||w==="+"){var R=w==="*"?0:w==="+"?1:w;if(R!=w)v=k[0]+v+k[1]+b[0]+R+","+w+b[1];else for(var L=v,N=1;N<R;N++)v+=L}if(T===!0){var j=v.match(new RegExp("(.)\\[([^\\]]*)\\]","g"));j&&j.forEach((function(G,I){var H=(function(P,Q){return(function(z){if(Array.isArray(z))return z})(P)||(function(z,q){var X=z==null?null:typeof Symbol<"u"&&z[Symbol.iterator]||z["@@iterator"];if(X!=null){var K,se,U,Z,de=[],V=!0,W=!1;try{if(U=(X=X.call(z)).next,q!==0)for(;!(V=(K=U.call(X)).done)&&(de.push(K.value),de.length!==q);V=!0);}catch(oe){W=!0,se=oe}finally{try{if(!V&&X.return!=null&&(Z=X.return(),Object(Z)!==Z))return}finally{if(W)throw se}}return de}})(P,Q)||(function(z,q){if(z){if(typeof z=="string")return x(z,q);var X=Object.prototype.toString.call(z).slice(8,-1);if(X==="Object"&&z.constructor&&(X=z.constructor.name),X==="Map"||X==="Set")return Array.from(z);if(X==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(X))return x(z,q)}})(P,Q)||(function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
16
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()})(G.split("["),2),J=H[0],F=H[1];F=F.replace("]",""),v=v.replace(new RegExp("".concat((0,d.default)(J),"\\[").concat((0,d.default)(F),"\\]")),J.charAt(0)===F.charAt(0)?"(".concat(J,"|").concat(J).concat(F,")"):"".concat(J,"[").concat(F,"]"))}))}return v}function g(v,S,w){var k,b,T=!1;return v!==null&&v!==""||((T=w.regex!==null)?v=(v=w.regex).replace(/^(\^)(.*)(\$)$/,"$2"):(T=!0,v=".*")),v.length===1&&w.greedy===!1&&w.repeat!==0&&(w.placeholder=""),v=D(v,w),b=T?"regex_"+w.regex:w.numericInput?v.split("").reverse().join(""):v,w.keepStatic!==null&&(b="ks_"+w.keepStatic+b),h(w.placeholder)==="object"&&(b="ph_"+JSON.stringify(w.placeholder)+b),f.default.prototype.masksCache[b]===void 0||C===!0?(k={mask:v,maskToken:f.default.prototype.analyseMask(v,T,w),validPositions:[],_buffer:void 0,buffer:void 0,tests:{},excludes:{},metadata:S,maskLength:void 0,jitOffset:{}},C!==!0&&(f.default.prototype.masksCache[b]=k,k=c.default.extend(!0,{},f.default.prototype.masksCache[b]))):k=c.default.extend(!0,{},f.default.prototype.masksCache[b]),k}if(typeof A.mask=="function"&&(A.mask=A.mask(A)),Array.isArray(A.mask)){if(A.mask.length>1){A.keepStatic===null&&(A.keepStatic=!0);var M=A.groupmarker[0];return(A.isRTL?A.mask.reverse():A.mask).forEach((function(v){M.length>1&&(M+=A.alternatormarker),v.mask!==void 0&&typeof v.mask!="function"?M+=v.mask:M+=v})),g(M+=A.groupmarker[1],A.mask,A)}A.mask=A.mask.pop()}return m=A.mask&&A.mask.mask!==void 0&&typeof A.mask.mask!="function"?g(A.mask.mask,A.mask,A):g(A.mask,A.mask,A),A.keepStatic===null&&(A.keepStatic=!1),m};var c=y(u(4963)),d=y(u(7184)),f=y(u(2394)),p=y(u(9695));function h(A){return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(C){return typeof C}:function(C){return C&&typeof Symbol=="function"&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C},h(A)}function x(A,C){(C==null||C>A.length)&&(C=A.length);for(var m=0,D=new Array(C);m<C;m++)D[m]=A[m];return D}function y(A){return A&&A.__esModule?A:{default:A}}},157:function(o,l,u){Object.defineProperty(l,"__esModule",{value:!0}),l.mask=function(){var y=this,A=this.opts,C=this.el,m=this.dependencyLib;f.EventRuler.off(C);var D=(function(v,S){var w=v.getAttribute("type"),k=v.tagName.toLowerCase()==="input"&&S.supportsInputType.includes(w)||v.isContentEditable||v.tagName.toLowerCase()==="textarea";if(!k)if(v.tagName.toLowerCase()==="input"){var b=document.createElement("input");b.setAttribute("type",w),k=b.type==="text",b=null}else k="partial";return k!==!1?(function(T){var R,L;function N(){return this.inputmask?this.inputmask.opts.autoUnmask?this.inputmask.unmaskedvalue():h.getLastValidPosition.call(y)!==-1||S.nullable!==!0?(this.inputmask.shadowRoot||this.ownerDocument).activeElement===this&&S.clearMaskOnLostFocus?(y.isRTL?p.clearOptionalTail.call(y,h.getBuffer.call(y).slice()).reverse():p.clearOptionalTail.call(y,h.getBuffer.call(y).slice())).join(""):R.call(this):"":R.call(this)}function j(I){L.call(this,I),this.inputmask&&(0,p.applyInputValue)(this,I)}if(!T.inputmask.__valueGet){if(S.noValuePatching!==!0){if(Object.getOwnPropertyDescriptor){var G=Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(T),"value"):void 0;G&&G.get&&G.set?(R=G.get,L=G.set,Object.defineProperty(T,"value",{get:N,set:j,configurable:!0})):T.tagName.toLowerCase()!=="input"&&(R=function(){return this.textContent},L=function(I){this.textContent=I},Object.defineProperty(T,"value",{get:N,set:j,configurable:!0}))}else document.__lookupGetter__&&T.__lookupGetter__("value")&&(R=T.__lookupGetter__("value"),L=T.__lookupSetter__("value"),T.__defineGetter__("value",N),T.__defineSetter__("value",j));T.inputmask.__valueGet=R,T.inputmask.__valueSet=L}T.inputmask._valueGet=function(I){return y.isRTL&&I!==!0?R.call(this.el).split("").reverse().join(""):R.call(this.el)},T.inputmask._valueSet=function(I,H){L.call(this.el,I==null?"":H!==!0&&y.isRTL?I.split("").reverse().join(""):I)},R===void 0&&(R=function(){return this.value},L=function(I){this.value=I},(function(I){if(m.valHooks&&(m.valHooks[I]===void 0||m.valHooks[I].inputmaskpatch!==!0)){var H=m.valHooks[I]&&m.valHooks[I].get?m.valHooks[I].get:function(F){return F.value},J=m.valHooks[I]&&m.valHooks[I].set?m.valHooks[I].set:function(F,P){return F.value=P,F};m.valHooks[I]={get:function(F){if(F.inputmask){if(F.inputmask.opts.autoUnmask)return F.inputmask.unmaskedvalue();var P=H(F);return h.getLastValidPosition.call(y,void 0,void 0,F.inputmask.maskset.validPositions)!==-1||S.nullable!==!0?P:""}return H(F)},set:function(F,P){var Q=J(F,P);return F.inputmask&&(0,p.applyInputValue)(F,P),Q},inputmaskpatch:!0}}})(T.type),(function(I){f.EventRuler.on(I,"mouseenter",(function(){var H=this,J=H.inputmask._valueGet(!0);J!=(H.inputmask.isRTL?h.getBuffer.call(H.inputmask).slice().reverse():h.getBuffer.call(H.inputmask)).join("")&&(0,p.applyInputValue)(H,J)}))})(T))}})(v):v.inputmask=void 0,k})(C,A);if(D!==!1){y.originalPlaceholder=C.placeholder,y.maxLength=C!==void 0?C.maxLength:void 0,y.maxLength===-1&&(y.maxLength=void 0),"inputMode"in C&&C.getAttribute("inputmode")===null&&(C.inputMode=A.inputmode,C.setAttribute("inputmode",A.inputmode)),D===!0&&(A.showMaskOnFocus=A.showMaskOnFocus&&["cc-number","cc-exp"].indexOf(C.autocomplete)===-1,c.iphone&&(A.insertModeVisual=!1,C.setAttribute("autocorrect","off")),f.EventRuler.on(C,"submit",d.EventHandlers.submitEvent),f.EventRuler.on(C,"reset",d.EventHandlers.resetEvent),f.EventRuler.on(C,"blur",d.EventHandlers.blurEvent),f.EventRuler.on(C,"focus",d.EventHandlers.focusEvent),f.EventRuler.on(C,"invalid",d.EventHandlers.invalidEvent),f.EventRuler.on(C,"click",d.EventHandlers.clickEvent),f.EventRuler.on(C,"mouseleave",d.EventHandlers.mouseleaveEvent),f.EventRuler.on(C,"mouseenter",d.EventHandlers.mouseenterEvent),f.EventRuler.on(C,"paste",d.EventHandlers.pasteEvent),f.EventRuler.on(C,"cut",d.EventHandlers.cutEvent),f.EventRuler.on(C,"complete",A.oncomplete),f.EventRuler.on(C,"incomplete",A.onincomplete),f.EventRuler.on(C,"cleared",A.oncleared),A.inputEventOnly!==!0&&f.EventRuler.on(C,"keydown",d.EventHandlers.keyEvent),(c.mobile||A.inputEventOnly)&&C.removeAttribute("maxLength"),f.EventRuler.on(C,"input",d.EventHandlers.inputFallBackEvent)),f.EventRuler.on(C,"setvalue",d.EventHandlers.setValueEvent),y.applyMaskHook===void 0||y.applyMaskHook(),h.getBufferTemplate.call(y).join(""),y.undoValue=y._valueGet(!0);var g=(C.inputmask.shadowRoot||C.ownerDocument).activeElement;if(C.inputmask._valueGet(!0)!==""||A.clearMaskOnLostFocus===!1||g===C){(0,p.applyInputValue)(C,C.inputmask._valueGet(!0),A);var M=h.getBuffer.call(y).slice();x.isComplete.call(y,M)===!1&&A.clearIncomplete&&h.resetMaskSet.call(y,!1),A.clearMaskOnLostFocus&&g!==C&&(h.getLastValidPosition.call(y)===-1?M=[]:p.clearOptionalTail.call(y,M)),(A.clearMaskOnLostFocus===!1||A.showMaskOnFocus&&g===C||C.inputmask._valueGet(!0)!=="")&&(0,p.writeBuffer)(C,M),g===C&&h.caret.call(y,C,h.seekNext.call(y,h.getLastValidPosition.call(y)))}}};var c=u(9845),d=u(6030),f=u(9716),p=u(7760),h=u(8711),x=u(7215)},9695:function(o,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(u,c,d,f){this.matches=[],this.openGroup=u||!1,this.alternatorGroup=!1,this.isGroup=u||!1,this.isOptional=c||!1,this.isQuantifier=d||!1,this.isAlternator=f||!1,this.quantifier={min:1,max:1}}},3194:function(){Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(o,l){if(this==null)throw new TypeError('"this" is null or not defined');var u=Object(this),c=u.length>>>0;if(c===0)return!1;for(var d=0|l,f=Math.max(d>=0?d:c-Math.abs(d),0);f<c;){if(u[f]===o)return!0;f++}return!1}})},9302:function(){var o=Function.bind.call(Function.call,Array.prototype.reduce),l=Function.bind.call(Function.call,Object.prototype.propertyIsEnumerable),u=Function.bind.call(Function.call,Array.prototype.concat),c=Object.keys;Object.entries||(Object.entries=function(d){return o(c(d),(function(f,p){return u(f,typeof p=="string"&&l(d,p)?[[p,d[p]]]:[])}),[])})},7149:function(){function o(l){return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},o(l)}typeof Object.getPrototypeOf!="function"&&(Object.getPrototypeOf=o("test".__proto__)==="object"?function(l){return l.__proto__}:function(l){return l.constructor.prototype})},4013:function(){String.prototype.includes||(String.prototype.includes=function(o,l){return typeof l!="number"&&(l=0),!(l+o.length>this.length)&&this.indexOf(o,l)!==-1})},8711:function(o,l,u){Object.defineProperty(l,"__esModule",{value:!0}),l.caret=function(m,D,g,M,v){var S,w=this,k=this.opts;if(D===void 0)return"selectionStart"in m&&"selectionEnd"in m?(D=m.selectionStart,g=m.selectionEnd):d.default.getSelection?(S=d.default.getSelection().getRangeAt(0)).commonAncestorContainer.parentNode!==m&&S.commonAncestorContainer!==m||(D=S.startOffset,g=S.endOffset):document.selection&&document.selection.createRange&&(g=(D=0-(S=document.selection.createRange()).duplicate().moveStart("character",-m.inputmask._valueGet().length))+S.text.length),{begin:M?D:C.call(w,D),end:M?g:C.call(w,g)};if(Array.isArray(D)&&(g=w.isRTL?D[0]:D[1],D=w.isRTL?D[1]:D[0]),D.begin!==void 0&&(g=w.isRTL?D.begin:D.end,D=w.isRTL?D.end:D.begin),typeof D=="number"){D=M?D:C.call(w,D),g=typeof(g=M?g:C.call(w,g))=="number"?g:D;var b=parseInt(((m.ownerDocument.defaultView||d.default).getComputedStyle?(m.ownerDocument.defaultView||d.default).getComputedStyle(m,null):m.currentStyle).fontSize)*g;if(m.scrollLeft=b>m.scrollWidth?b:0,m.inputmask.caretPos={begin:D,end:g},k.insertModeVisual&&k.insertMode===!1&&D===g&&(v||g++),m===(m.inputmask.shadowRoot||m.ownerDocument).activeElement){if("setSelectionRange"in m)m.setSelectionRange(D,g);else if(d.default.getSelection){if(S=document.createRange(),m.firstChild===void 0||m.firstChild===null){var T=document.createTextNode("");m.appendChild(T)}S.setStart(m.firstChild,D<m.inputmask._valueGet().length?D:m.inputmask._valueGet().length),S.setEnd(m.firstChild,g<m.inputmask._valueGet().length?g:m.inputmask._valueGet().length),S.collapse(!0);var R=d.default.getSelection();R.removeAllRanges(),R.addRange(S)}else m.createTextRange&&((S=m.createTextRange()).collapse(!0),S.moveEnd("character",g),S.moveStart("character",D),S.select());m.inputmask.caretHook===void 0||m.inputmask.caretHook.call(w,{begin:D,end:g})}}},l.determineLastRequiredPosition=function(m){var D,g,M=this,v=M.maskset,S=M.dependencyLib,w=x.call(M),k={},b=v.validPositions[w],T=p.getMaskTemplate.call(M,!0,x.call(M),!0,!0),R=T.length,L=b!==void 0?b.locator.slice():void 0;for(D=w+1;D<T.length;D++)L=(g=p.getTestTemplate.call(M,D,L,D-1)).locator.slice(),k[D]=S.extend(!0,{},g);var N=b&&b.alternation!==void 0?b.locator[b.alternation]:void 0;for(D=R-1;D>w&&((g=k[D]).match.optionality||g.match.optionalQuantifier&&g.match.newBlockMarker||N&&(N!==k[D].locator[b.alternation]&&g.match.static!==!0||g.match.static===!0&&g.locator[b.alternation]&&f.checkAlternationMatch.call(M,g.locator[b.alternation].toString().split(","),N.toString().split(","))&&p.getTests.call(M,D)[0].def!==""))&&T[D]===p.getPlaceholder.call(M,D,g.match);D--)R--;return m?{l:R,def:k[R]?k[R].match:void 0}:R},l.determineNewCaretPosition=function(m,D,g){var M,v,S,w=this,k=w.maskset,b=w.opts;if(D&&(w.isRTL?m.end=m.begin:m.begin=m.end),m.begin===m.end){switch(g=g||b.positionCaretOnClick){case"none":break;case"select":m={begin:0,end:h.call(w).length};break;case"ignore":m.end=m.begin=A.call(w,x.call(w));break;case"radixFocus":if(w.clicked>1&&k.validPositions.length===0)break;if((function(G){if(b.radixPoint!==""&&b.digits!==0){var I=k.validPositions;if(I[G]===void 0||I[G].input===void 0){if(G<A.call(w,-1))return!0;var H=h.call(w).indexOf(b.radixPoint);if(H!==-1){for(var J=0,F=I.length;J<F;J++)if(I[J]&&H<J&&I[J].input!==p.getPlaceholder.call(w,J))return!1;return!0}}}return!1})(m.begin)){var T=h.call(w).join("").indexOf(b.radixPoint);m.end=m.begin=b.numericInput?A.call(w,T):T;break}default:if(M=m.begin,v=x.call(w,M,!0),M<=(S=A.call(w,v!==-1||y.call(w,0)?v:-1)))m.end=m.begin=y.call(w,M,!1,!0)?M:A.call(w,M);else{var R=k.validPositions[v],L=p.getTestTemplate.call(w,S,R?R.match.locator:void 0,R),N=p.getPlaceholder.call(w,S,L.match);if(N!==""&&h.call(w)[S]!==N&&L.match.optionalQuantifier!==!0&&L.match.newBlockMarker!==!0||!y.call(w,S,b.keepStatic,!0)&&L.match.def===N){var j=A.call(w,S);(M>=j||M===S)&&(S=j)}m.end=m.begin=S}}return m}},l.getBuffer=h,l.getBufferTemplate=function(){var m=this.maskset;return m._buffer===void 0&&(m._buffer=p.getMaskTemplate.call(this,!1,1),m.buffer===void 0&&(m.buffer=m._buffer.slice())),m._buffer},l.getLastValidPosition=x,l.isMask=y,l.resetMaskSet=function(m){var D=this.maskset;D.buffer=void 0,m!==!0&&(D.validPositions=[],D.p=0),m===!1&&(D.tests={},D.jitOffset={})},l.seekNext=A,l.seekPrevious=function(m,D){var g=this,M=m-1;if(m<=0)return 0;for(;M>0&&(D===!0&&(p.getTest.call(g,M).match.newBlockMarker!==!0||!y.call(g,M,void 0,!0))||D!==!0&&!y.call(g,M,void 0,!0));)M--;return M},l.translatePosition=C;var c,d=(c=u(9380))&&c.__esModule?c:{default:c},f=u(7215),p=u(4713);function h(m){var D=this,g=D.maskset;return g.buffer!==void 0&&m!==!0||(g.buffer=p.getMaskTemplate.call(D,!0,x.call(D),!0),g._buffer===void 0&&(g._buffer=g.buffer.slice())),g.buffer}function x(m,D,g){var M=this.maskset,v=-1,S=-1,w=g||M.validPositions;m===void 0&&(m=-1);for(var k=0,b=w.length;k<b;k++)w[k]&&(D||w[k].generatedInput!==!0)&&(k<=m&&(v=k),k>=m&&(S=k));return v===-1||v===m?S:S===-1||m-v<S-m?v:S}function y(m,D,g){var M=this,v=this.maskset,S=p.getTestTemplate.call(M,m).match;if(S.def===""&&(S=p.getTest.call(M,m).match),S.static!==!0)return S.fn;if(g===!0&&v.validPositions[m]!==void 0&&v.validPositions[m].generatedInput!==!0)return!0;if(D!==!0&&m>-1){if(g){var w=p.getTests.call(M,m);return w.length>1+(w[w.length-1].match.def===""?1:0)}var k=p.determineTestTemplate.call(M,m,p.getTests.call(M,m)),b=p.getPlaceholder.call(M,m,k.match);return k.match.def!==b}return!1}function A(m,D,g){var M=this;g===void 0&&(g=!0);for(var v=m+1;p.getTest.call(M,v).match.def!==""&&(D===!0&&(p.getTest.call(M,v).match.newBlockMarker!==!0||!y.call(M,v,void 0,!0))||D!==!0&&!y.call(M,v,void 0,g));)v++;return v}function C(m){var D=this.opts,g=this.el;return!this.isRTL||typeof m!="number"||D.greedy&&D.placeholder===""||!g||(m=this._valueGet().length-m)<0&&(m=0),m}},4713:function(o,l,u){Object.defineProperty(l,"__esModule",{value:!0}),l.determineTestTemplate=C,l.getDecisionTaker=x,l.getMaskTemplate=function(M,v,S,w,k){var b=this,T=this.opts,R=this.maskset,L=T.greedy;k&&T.greedy&&(T.greedy=!1,b.maskset.tests={}),v=v||0;var N,j,G,I,H=[],J=0;do{if(M===!0&&R.validPositions[J])j=(G=k&&R.validPositions[J].match.optionality&&R.validPositions[J+1]===void 0&&(R.validPositions[J].generatedInput===!0||R.validPositions[J].input==T.skipOptionalPartCharacter&&J>0)?C.call(b,J,g.call(b,J,N,J-1)):R.validPositions[J]).match,N=G.locator.slice(),H.push(S===!0?G.input:S===!1?j.nativeDef:y.call(b,J,j));else{j=(G=A.call(b,J,N,J-1)).match,N=G.locator.slice();var F=w!==!0&&(T.jitMasking!==!1?T.jitMasking:j.jit);(I=(I||R.validPositions[J-1])&&j.static&&j.def!==T.groupSeparator&&j.fn===null)||F===!1||F===void 0||typeof F=="number"&&isFinite(F)&&F>J?H.push(S===!1?j.nativeDef:y.call(b,H.length,j)):I=!1}J++}while(j.static!==!0||j.def!==""||v>J);return H[H.length-1]===""&&H.pop(),S===!1&&R.maskLength!==void 0||(R.maskLength=J-1),T.greedy=L,H},l.getPlaceholder=y,l.getTest=m,l.getTestTemplate=A,l.getTests=g,l.isSubsetOf=D;var c,d=(c=u(2394))&&c.__esModule?c:{default:c},f=u(8711);function p(M){return p=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(v){return typeof v}:function(v){return v&&typeof Symbol=="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v},p(M)}function h(M,v){var S=(M.alternation!=null?M.mloc[x(M)]:M.locator).join("");if(S!=="")for(S=S.split(":")[0];S.length<v;)S+="0";return S}function x(M){var v=M.locator[M.alternation];return typeof v=="string"&&v.length>0&&(v=v.split(",")[0]),v!==void 0?v.toString():""}function y(M,v,S){var w=this,k=this.opts,b=this.maskset;if((v=v||m.call(w,M).match).placeholder!==void 0||S===!0){if(v.placeholder!==""&&v.static===!0&&v.generated!==!0){var T=f.getLastValidPosition.call(w,M),R=f.seekNext.call(w,T);return(S?M<=R:M<R)?k.staticDefinitionSymbol&&v.static?v.nativeDef:v.def:typeof v.placeholder=="function"?v.placeholder(k):v.placeholder}return typeof v.placeholder=="function"?v.placeholder(k):v.placeholder}if(v.static===!0){if(M>-1&&b.validPositions[M]===void 0){var L,N=g.call(w,M),j=[];if(typeof k.placeholder=="string"&&N.length>1+(N[N.length-1].match.def===""?1:0)){for(var G=0;G<N.length;G++)if(N[G].match.def!==""&&N[G].match.optionality!==!0&&N[G].match.optionalQuantifier!==!0&&(N[G].match.static===!0||L===void 0||N[G].match.fn.test(L.match.def,b,M,!0,k)!==!1)&&(j.push(N[G]),N[G].match.static===!0&&(L=N[G]),j.length>1&&/[0-9a-bA-Z]/.test(j[0].match.def)))return k.placeholder.charAt(M%k.placeholder.length)}}return v.def}return p(k.placeholder)==="object"?v.def:k.placeholder.charAt(M%k.placeholder.length)}function A(M,v,S){return this.maskset.validPositions[M]||C.call(this,M,g.call(this,M,v&&v.slice(),S))}function C(M,v){var S=this.opts,w=0,k=(function(I,H){var J=0,F=!1;return H.forEach((function(P){P.match.optionality&&(J!==0&&J!==P.match.optionality&&(F=!0),(J===0||J>P.match.optionality)&&(J=P.match.optionality))})),J&&(I==0||H.length==1?J=0:F||(J=0)),J})(M,v);M=M>0?M-1:0;var b,T,R,L=h(m.call(this,M));S.greedy&&v.length>1&&v[v.length-1].match.def===""&&(w=1);for(var N=0;N<v.length-w;N++){var j=v[N];b=h(j,L.length);var G=Math.abs(b-L);(j.unMatchedAlternationStopped!==!0||v.filter((function(I){return I.unMatchedAlternationStopped!==!0})).length<=1)&&(T===void 0||b!==""&&G<T||R&&!S.greedy&&R.match.optionality&&R.match.optionality-k>0&&R.match.newBlockMarker==="master"&&(!j.match.optionality||j.match.optionality-k<1||!j.match.newBlockMarker)||R&&!S.greedy&&R.match.optionalQuantifier&&!j.match.optionalQuantifier)&&(T=G,R=j)}return R}function m(M,v){var S=this.maskset;return S.validPositions[M]?S.validPositions[M]:(v||g.call(this,M))[0]}function D(M,v,S){function w(k){for(var b,T=[],R=-1,L=0,N=k.length;L<N;L++)if(k.charAt(L)==="-")for(b=k.charCodeAt(L+1);++R<b;)T.push(String.fromCharCode(R));else R=k.charCodeAt(L),T.push(k.charAt(L));return T.join("")}return M.match.def===v.match.nativeDef||!(!(S.regex||M.match.fn instanceof RegExp&&v.match.fn instanceof RegExp)||M.match.static===!0||v.match.static===!0)&&(v.match.fn.source==="."||w(v.match.fn.source.replace(/[[\]/]/g,"")).indexOf(w(M.match.fn.source.replace(/[[\]/]/g,"")))!==-1)}function g(M,v,S){var w,k,b=this,T=this.dependencyLib,R=this.maskset,L=this.opts,N=this.el,j=R.maskToken,G=v?S:0,I=v?v.slice():[0],H=[],J=!1,F=v?v.join(""):"",P=!1;function Q(se,U,Z,de){function V(le,ye,we){function xe($,ie){var me=ie.matches.indexOf($)===0;return me||ie.matches.every((function(he,ke){return he.isQuantifier===!0?me=xe($,ie.matches[ke-1]):Object.prototype.hasOwnProperty.call(he,"matches")&&(me=xe($,he)),!me})),me}function Fe($,ie,me){var he,ke;if((R.tests[$]||R.validPositions[$])&&(R.validPositions[$]?[R.validPositions[$]]:R.tests[$]).every((function(Se,Le){if(Se.mloc[ie])return he=Se,!1;var et=me!==void 0?me:Se.alternation,je=Se.locator[et]!==void 0?Se.locator[et].toString().indexOf(ie):-1;return(ke===void 0||je<ke)&&je!==-1&&(he=Se,ke=je),!0})),he){var Me=he.locator[he.alternation],ae=he.mloc[ie]||he.mloc[Me]||he.locator;return ae[ae.length-1].toString().indexOf(":")!==-1&&ae.pop(),ae.slice((me!==void 0?me:he.alternation)+1)}return me!==void 0?Fe($,ie):void 0}function _e($,ie){return $.match.static===!0&&ie.match.static!==!0&&ie.match.fn.test($.match.def,R,M,!1,L,!1)}function Ne($,ie){var me=$.alternation,he=ie===void 0||me<=ie.alternation&&$.locator[me].toString().indexOf(ie.locator[me])===-1;if(!he&&me>ie.alternation){for(var ke=0;ke<me;ke++)if($.locator[ke]!==ie.locator[ke]){me=ke,he=!0;break}}return!!he&&(function(Me){$.mloc=$.mloc||{};var ae=$.locator[Me];if(ae!==void 0){if(typeof ae=="string"&&(ae=ae.split(",")[0]),$.mloc[ae]===void 0&&($.mloc[ae]=$.locator.slice(),$.mloc[ae].push(":".concat($.alternation))),ie!==void 0){for(var Se in ie.mloc)typeof Se=="string"&&(Se=parseInt(Se.split(",")[0])),$.mloc[Se+0]=ie.mloc[Se];$.locator[Me]=Object.keys($.mloc).join(",")}return $.alternation>Me&&($.alternation=Me),!0}return $.alternation=void 0,!1})(me)}function ce($,ie){if($.locator.length!==ie.locator.length)return!1;for(var me=$.alternation+1;me<$.locator.length;me++)if($.locator[me]!==ie.locator[me])return!1;return!0}if(G>M+L._maxTestPos)throw new Error("Inputmask: There is probably an error in your mask definition or in the code. Create an issue on github with an example of the mask you are using. ".concat(R.mask));if(G===M&&le.matches===void 0){if(H.push({match:le,locator:ye.reverse(),cd:F,mloc:{}}),!le.optionality||we!==void 0||!(L.definitions&&L.definitions[le.nativeDef]&&L.definitions[le.nativeDef].optional||d.default.prototype.definitions[le.nativeDef]&&d.default.prototype.definitions[le.nativeDef].optional))return!0;J=!0,G=M}else if(le.matches!==void 0){if(le.isGroup&&we!==le)return(function(){if(le=V(se.matches[se.matches.indexOf(le)+1],ye,we))return!0})();if(le.isOptional)return(function(){var $=le,ie=H.length;if(le=Q(le,U,ye,we),H.length>0){if(H.forEach((function(me,he){he>=ie&&(me.match.optionality=me.match.optionality?me.match.optionality+1:1)})),w=H[H.length-1].match,we!==void 0||!xe(w,$))return le;J=!0,G=M}})();if(le.isAlternator)return(function(){function $(B){for(var E,O=B.matches[0].matches?B.matches[0].matches.length:1,_=0;_<B.matches.length&&O===(E=B.matches[_].matches?B.matches[_].matches.length:1);_++);return O!==E}b.hasAlternator=!0;var ie,me=le,he=[],ke=H.slice(),Me=ye.length,ae=U.length>0?U.shift():-1;if(ae===-1||typeof ae=="string"){var Se,Le=G,et=U.slice(),je=[];if(typeof ae=="string")je=ae.split(",");else for(Se=0;Se<me.matches.length;Se++)je.push(Se.toString());if(R.excludes[M]!==void 0){for(var Rt=je.slice(),At=0,Ge=R.excludes[M].length;At<Ge;At++){var te=R.excludes[M][At].toString().split(":");ye.length==te[1]&&je.splice(je.indexOf(te[0]),1)}je.length===0&&(delete R.excludes[M],je=Rt)}(L.keepStatic===!0||isFinite(parseInt(L.keepStatic))&&Le>=L.keepStatic)&&(je=je.slice(0,1));for(var re=0;re<je.length;re++){Se=parseInt(je[re]),H=[],U=typeof ae=="string"&&Fe(G,Se,Me)||et.slice();var Pe=me.matches[Se];if(Pe&&V(Pe,[Se].concat(ye),we))le=!0;else if(re===0&&(P=$(me)),Pe&&Pe.matches&&Pe.matches.length>me.matches[0].matches.length)break;ie=H.slice(),G=Le,H=[];for(var ze=0;ze<ie.length;ze++){var Oe=ie[ze],Re=!1;Oe.alternation=Oe.alternation||Me,Ne(Oe);for(var ct=0;ct<he.length;ct++){var ge=he[ct];if(typeof ae!="string"||Oe.alternation!==void 0&&je.includes(Oe.locator[Oe.alternation].toString())){if(Oe.match.nativeDef===ge.match.nativeDef){Re=!0,Ne(ge,Oe);break}if(D(Oe,ge,L)){Ne(Oe,ge)&&(Re=!0,he.splice(he.indexOf(ge),0,Oe));break}if(D(ge,Oe,L)){Ne(ge,Oe);break}if(_e(Oe,ge)){ce(Oe,ge)||N.inputmask.userOptions.keepStatic!==void 0?Ne(Oe,ge)&&(Re=!0,he.splice(he.indexOf(ge),0,Oe)):L.keepStatic=!0;break}if(_e(ge,Oe)){Ne(ge,Oe);break}}}Re||he.push(Oe)}}H=ke.concat(he),G=M,J=H.length>0&&P,le=he.length>0&&!P,P&&J&&!le&&H.forEach((function(B,E){B.unMatchedAlternationStopped=!0})),U=et.slice()}else le=V(me.matches[ae]||se.matches[ae],[ae].concat(ye),we);if(le)return!0})();if(le.isQuantifier&&we!==se.matches[se.matches.indexOf(le)-1])return(function(){for(var $=le,ie=!1,me=U.length>0?U.shift():0;me<(isNaN($.quantifier.max)?me+1:$.quantifier.max)&&G<=M;me++){var he=se.matches[se.matches.indexOf($)-1];if(le=V(he,[me].concat(ye),he)){if(H.forEach((function(ke,Me){(w=z(he,ke.match)?ke.match:H[H.length-1].match).optionalQuantifier=me>=$.quantifier.min,w.jit=(me+1)*(he.matches.indexOf(w)+1)>$.quantifier.jit,w.optionalQuantifier&&xe(w,he)&&(J=!0,G=M,L.greedy&&R.validPositions[M-1]==null&&me>$.quantifier.min&&["*","+"].indexOf($.quantifier.max)!=-1&&(H.pop(),F=void 0),ie=!0,le=!1),!ie&&w.jit&&(R.jitOffset[M]=he.matches.length-he.matches.indexOf(w))})),ie)break;return!0}}})();if(le=Q(le,U,ye,we))return!0}else G++}for(var W=U.length>0?U.shift():0;W<se.matches.length;W++)if(se.matches[W].isQuantifier!==!0){var oe=V(se.matches[W],[W].concat(Z),de);if(oe&&G===M)return oe;if(G>M)break}}function z(se,U){var Z=se.matches.indexOf(U)!=-1;return Z||se.matches.forEach((function(de,V){de.matches===void 0||Z||(Z=z(de,U))})),Z}if(M>-1){if(v===void 0){for(var q,X=M-1;(q=R.validPositions[X]||R.tests[X])===void 0&&X>-1;)X--;q!==void 0&&X>-1&&(I=(function(se,U){var Z,de=[];return Array.isArray(U)||(U=[U]),U.length>0&&(U[0].alternation===void 0||L.keepStatic===!0?(de=C.call(b,se,U.slice()).locator.slice()).length===0&&(de=U[0].locator.slice()):U.forEach((function(V){V.def!==""&&(de.length===0?(Z=V.alternation,de=V.locator.slice()):V.locator[Z]&&de[Z].toString().indexOf(V.locator[Z])===-1&&(de[Z]+=","+V.locator[Z]))}))),de})(X,q),F=I.join(""),G=X)}if(R.tests[M]&&R.tests[M][0].cd===F)return R.tests[M];for(var K=I.shift();K<j.length&&!(Q(j[K],I,[K])&&G===M||G>M);K++);}return(H.length===0||J)&&H.push({match:{fn:null,static:!0,optionality:!1,casing:null,def:"",placeholder:""},locator:P&&H.filter((function(se){return se.unMatchedAlternationStopped!==!0})).length===0?[0]:[],mloc:{},cd:F}),v!==void 0&&R.tests[M]?k=T.extend(!0,[],H):(R.tests[M]=T.extend(!0,[],H),k=R.tests[M]),H.forEach((function(se){se.match.optionality=se.match.defOptionality||!1})),k}},7215:function(o,l,u){Object.defineProperty(l,"__esModule",{value:!0}),l.alternate=h,l.checkAlternationMatch=function(v,S,w){for(var k,b=this.opts.greedy?S:S.slice(0,1),T=!1,R=w!==void 0?w.split(","):[],L=0;L<R.length;L++)(k=v.indexOf(R[L]))!==-1&&v.splice(k,1);for(var N=0;N<v.length;N++)if(b.includes(v[N])){T=!0;break}return T},l.handleRemove=function(v,S,w,k,b){var T=this,R=this.maskset,L=this.opts;if((L.numericInput||T.isRTL)&&(S===d.keys.Backspace?S=d.keys.Delete:S===d.keys.Delete&&(S=d.keys.Backspace),T.isRTL)){var N=w.end;w.end=w.begin,w.begin=N}var j,G=f.getLastValidPosition.call(T,void 0,!0);w.end>=f.getBuffer.call(T).length&&G>=w.end&&(w.end=G+1),S===d.keys.Backspace?w.end-w.begin<1&&(w.begin=f.seekPrevious.call(T,w.begin)):S===d.keys.Delete&&w.begin===w.end&&(w.end=f.isMask.call(T,w.end,!0,!0)?w.end+1:f.seekNext.call(T,w.end)+1),(j=M.call(T,w))!==!1&&((k!==!0&&L.keepStatic!==!1||L.regex!==null&&p.getTest.call(T,w.begin).match.def.indexOf("|")!==-1)&&h.call(T,!0),k!==!0&&(R.p=S===d.keys.Delete?w.begin+j:w.begin,R.p=f.determineNewCaretPosition.call(T,{begin:R.p,end:R.p},!1,L.insertMode===!1&&S===d.keys.Backspace?"none":void 0).begin))},l.isComplete=y,l.isSelection=A,l.isValid=C,l.refreshFromBuffer=D,l.revalidateMask=M;var c=u(6030),d=u(2839),f=u(8711),p=u(4713);function h(v,S,w,k,b,T){var R=this,L=this.dependencyLib,N=this.opts,j=R.maskset;if(!R.hasAlternator)return!1;var G,I,H,J,F,P,Q,z,q,X,K,se=L.extend(!0,[],j.validPositions),U=L.extend(!0,{},j.tests),Z=!1,de=!1,V=b!==void 0?b:f.getLastValidPosition.call(R);if(T&&(X=T.begin,K=T.end,T.begin>T.end&&(X=T.end,K=T.begin)),V===-1&&b===void 0)G=0,I=(J=p.getTest.call(R,G)).alternation;else for(;V>=0;V--)if((H=j.validPositions[V])&&H.alternation!==void 0){if(V<=(v||0)&&J&&J.locator[H.alternation]!==H.locator[H.alternation])break;G=V,I=j.validPositions[G].alternation,J=H}if(I!==void 0){Q=parseInt(G),j.excludes[Q]=j.excludes[Q]||[],v!==!0&&j.excludes[Q].push((0,p.getDecisionTaker)(J)+":"+J.alternation);var W=[],oe=-1;for(F=Q;Q<f.getLastValidPosition.call(R,void 0,!0)+1;F++)oe===-1&&v<=F&&S!==void 0&&(W.push(S),oe=W.length-1),(P=j.validPositions[Q])&&P.generatedInput!==!0&&(T===void 0||F<X||F>=K)&&W.push(P.input),j.validPositions.splice(Q,1);for(oe===-1&&S!==void 0&&(W.push(S),oe=W.length-1);j.excludes[Q]!==void 0&&j.excludes[Q].length<10;){for(j.tests={},f.resetMaskSet.call(R,!0),Z=!0,F=0;F<W.length&&(z=Z.caret||N.insertMode==0&&z!=null?f.seekNext.call(R,z):f.getLastValidPosition.call(R,void 0,!0)+1,q=W[F],Z=C.call(R,z,q,!1,k,!0));F++)F===oe&&(de=Z),v==1&&Z&&(de={caretPos:F});if(Z)break;if(f.resetMaskSet.call(R),J=p.getTest.call(R,Q),j.validPositions=L.extend(!0,[],se),j.tests=L.extend(!0,{},U),!j.excludes[Q]){de=h.call(R,v,S,w,k,Q-1,T);break}if(J.alternation!=null){var le=(0,p.getDecisionTaker)(J);if(j.excludes[Q].indexOf(le+":"+J.alternation)!==-1){de=h.call(R,v,S,w,k,Q-1,T);break}for(j.excludes[Q].push(le+":"+J.alternation),F=Q;F<f.getLastValidPosition.call(R,void 0,!0)+1;F++)j.validPositions.splice(Q)}else delete j.excludes[Q]}}return de&&N.keepStatic===!1||delete j.excludes[Q],de}function x(v,S,w){var k=this.opts,b=this.maskset;switch(k.casing||S.casing){case"upper":v=v.toUpperCase();break;case"lower":v=v.toLowerCase();break;case"title":var T=b.validPositions[w-1];v=w===0||T&&T.input===String.fromCharCode(d.keyCode.Space)?v.toUpperCase():v.toLowerCase();break;default:if(typeof k.casing=="function"){var R=Array.prototype.slice.call(arguments);R.push(b.validPositions),v=k.casing.apply(this,R)}}return v}function y(v){var S=this,w=this.opts,k=this.maskset;if(typeof w.isComplete=="function")return w.isComplete(v,w);if(w.repeat!=="*"){var b=!1,T=f.determineLastRequiredPosition.call(S,!0),R=T.l;if(T.def===void 0||T.def.newBlockMarker||T.def.optionality||T.def.optionalQuantifier){b=!0;for(var L=0;L<=R;L++){var N=p.getTestTemplate.call(S,L).match;if(N.static!==!0&&k.validPositions[L]===void 0&&(N.optionality===!1||N.optionality===void 0||N.optionality&&N.newBlockMarker==0)&&(N.optionalQuantifier===!1||N.optionalQuantifier===void 0)||N.static===!0&&N.def!=""&&v[L]!==p.getPlaceholder.call(S,L,N)){b=!1;break}}}return b}}function A(v){var S=this.opts.insertMode?0:1;return this.isRTL?v.begin-v.end>S:v.end-v.begin>S}function C(v,S,w,k,b,T,R){var L=this,N=this.dependencyLib,j=this.opts,G=L.maskset;w=w===!0;var I=v;function H(Z){if(Z!==void 0){if(Z.remove!==void 0&&(Array.isArray(Z.remove)||(Z.remove=[Z.remove]),Z.remove.sort((function(V,W){return L.isRTL?V.pos-W.pos:W.pos-V.pos})).forEach((function(V){M.call(L,{begin:V,end:V+1})})),Z.remove=void 0),Z.insert!==void 0&&(Array.isArray(Z.insert)||(Z.insert=[Z.insert]),Z.insert.sort((function(V,W){return L.isRTL?W.pos-V.pos:V.pos-W.pos})).forEach((function(V){V.c!==""&&C.call(L,V.pos,V.c,V.strict===void 0||V.strict,V.fromIsValid!==void 0?V.fromIsValid:k)})),Z.insert=void 0),Z.refreshFromBuffer&&Z.buffer){var de=Z.refreshFromBuffer;D.call(L,de===!0?de:de.start,de.end,Z.buffer),Z.refreshFromBuffer=void 0}Z.rewritePosition!==void 0&&(I=Z.rewritePosition,Z=!0)}return Z}function J(Z,de,V){var W=!1;return p.getTests.call(L,Z).every((function(oe,le){var ye=oe.match;if(f.getBuffer.call(L,!0),(W=(!ye.jit||G.validPositions[f.seekPrevious.call(L,Z)]!==void 0)&&(ye.fn!=null?ye.fn.test(de,G,Z,V,j,A.call(L,v)):(de===ye.def||de===j.skipOptionalPartCharacter)&&ye.def!==""&&{c:p.getPlaceholder.call(L,Z,ye,!0)||ye.def,pos:Z}))!==!1){var we=W.c!==void 0?W.c:de,xe=Z;return we=we===j.skipOptionalPartCharacter&&ye.static===!0?p.getPlaceholder.call(L,Z,ye,!0)||ye.def:we,(W=H(W))!==!0&&W.pos!==void 0&&W.pos!==Z&&(xe=W.pos),W!==!0&&W.pos===void 0&&W.c===void 0||M.call(L,v,N.extend({},oe,{input:x.call(L,we,ye,xe)}),k,xe)===!1&&(W=!1),!1}return!0})),W}v.begin!==void 0&&(I=L.isRTL?v.end:v.begin);var F=!0,P=N.extend(!0,[],G.validPositions);if(j.keepStatic===!1&&G.excludes[I]!==void 0&&b!==!0&&k!==!0)for(var Q=I;Q<(L.isRTL?v.begin:v.end);Q++)G.excludes[Q]!==void 0&&(G.excludes[Q]=void 0,delete G.tests[Q]);if(typeof j.preValidation=="function"&&k!==!0&&T!==!0&&(F=H(F=j.preValidation.call(L,f.getBuffer.call(L),I,S,A.call(L,v),j,G,v,w||b))),F===!0){if(F=J(I,S,w),(!w||k===!0)&&F===!1&&T!==!0){var z=G.validPositions[I];if(!z||z.match.static!==!0||z.match.def!==S&&S!==j.skipOptionalPartCharacter){if(j.insertMode||G.validPositions[f.seekNext.call(L,I)]===void 0||v.end>I){var q=!1;if(G.jitOffset[I]&&G.validPositions[f.seekNext.call(L,I)]===void 0&&(F=C.call(L,I+G.jitOffset[I],S,!0,!0))!==!1&&(b!==!0&&(F.caret=I),q=!0),v.end>I&&(G.validPositions[I]=void 0),!q&&!f.isMask.call(L,I,j.keepStatic&&I===0)){for(var X=I+1,K=f.seekNext.call(L,I,!1,I!==0);X<=K;X++)if((F=J(X,S,w))!==!1){F=g.call(L,I,F.pos!==void 0?F.pos:X)||F,I=X;break}}}}else F={caret:f.seekNext.call(L,I)}}L.hasAlternator&&b!==!0&&!w&&(b=!0,F===!1&&j.keepStatic&&(y.call(L,f.getBuffer.call(L))||I===0)?F=h.call(L,I,S,w,k,void 0,v):(A.call(L,v)&&G.tests[I]&&G.tests[I].length>1&&j.keepStatic||F==1&&j.numericInput!==!0&&G.tests[I]&&G.tests[I].length>1&&f.getLastValidPosition.call(L,void 0,!0)>I)&&(F=h.call(L,!0))),F===!0&&(F={pos:I})}if(typeof j.postValidation=="function"&&k!==!0&&T!==!0){var se=j.postValidation.call(L,f.getBuffer.call(L,!0),v.begin!==void 0?L.isRTL?v.end:v.begin:v,S,F,j,G,w,R);se!==void 0&&(F=se===!0?F:se)}F&&F.pos===void 0&&(F.pos=I),F===!1||T===!0?(f.resetMaskSet.call(L,!0),G.validPositions=N.extend(!0,[],P)):g.call(L,void 0,I,!0);var U=H(F);return L.maxLength!==void 0&&f.getBuffer.call(L).length>L.maxLength&&!k&&(f.resetMaskSet.call(L,!0),G.validPositions=N.extend(!0,[],P),U=!1),U}function m(v,S,w){for(var k=this.maskset,b=!1,T=p.getTests.call(this,v),R=0;R<T.length;R++){if(T[R].match&&(T[R].match.nativeDef===S.match[w.shiftPositions?"def":"nativeDef"]&&(!w.shiftPositions||!S.match.static)||T[R].match.nativeDef===S.match.nativeDef||w.regex&&!T[R].match.static&&T[R].match.fn.test(S.input,k,v,!1,w))){b=!0;break}if(T[R].match&&T[R].match.def===S.match.nativeDef){b=void 0;break}}return b===!1&&k.jitOffset[v]!==void 0&&(b=m.call(this,v+k.jitOffset[v],S,w)),b}function D(v,S,w){var k,b,T=this,R=this.maskset,L=this.opts,N=this.dependencyLib,j=L.skipOptionalPartCharacter,G=T.isRTL?w.slice().reverse():w;if(L.skipOptionalPartCharacter="",v===!0)f.resetMaskSet.call(T,!1),v=0,S=w.length,b=f.determineNewCaretPosition.call(T,{begin:0,end:0},!1).begin;else{for(k=v;k<S;k++)R.validPositions.splice(v,0);b=v}var I=new N.Event("keypress");for(k=v;k<S;k++){I.key=G[k].toString(),T.ignorable=!1;var H=c.EventHandlers.keypressEvent.call(T,I,!0,!1,!1,b);H!==!1&&H!==void 0&&(b=H.forwardPosition)}L.skipOptionalPartCharacter=j}function g(v,S,w){var k=this,b=this.maskset,T=this.dependencyLib;if(v===void 0)for(v=S-1;v>0&&!b.validPositions[v];v--);for(var R=v;R<S;R++)if(b.validPositions[R]===void 0&&!f.isMask.call(k,R,!1)&&(R==0?p.getTest.call(k,R):b.validPositions[R-1])){var L=p.getTests.call(k,R).slice();L[L.length-1].match.def===""&&L.pop();var N,j=p.determineTestTemplate.call(k,R,L);if(j&&(j.match.jit!==!0||j.match.newBlockMarker==="master"&&(N=b.validPositions[R+1])&&N.match.optionalQuantifier===!0)&&((j=T.extend({},j,{input:p.getPlaceholder.call(k,R,j.match,!0)||j.match.def})).generatedInput=!0,M.call(k,R,j,!0),w!==!0)){var G=b.validPositions[S].input;return b.validPositions[S]=void 0,C.call(k,S,G,!0,!0)}}}function M(v,S,w,k){var b=this,T=this.maskset,R=this.opts,L=this.dependencyLib;function N(U,Z,de){var V=Z[U];if(V!==void 0&&V.match.static===!0&&V.match.optionality!==!0&&(Z[0]===void 0||Z[0].alternation===void 0)){var W=de.begin<=U-1?Z[U-1]&&Z[U-1].match.static===!0&&Z[U-1]:Z[U-1],oe=de.end>U+1?Z[U+1]&&Z[U+1].match.static===!0&&Z[U+1]:Z[U+1];return W&&oe}return!1}var j=0,G=v.begin!==void 0?v.begin:v,I=v.end!==void 0?v.end:v,H=!0;if(v.begin>v.end&&(G=v.end,I=v.begin),k=k!==void 0?k:G,w===void 0&&(G!==I||R.insertMode&&T.validPositions[k]!==void 0||S===void 0||S.match.optionalQuantifier||S.match.optionality)){var J,F=L.extend(!0,[],T.validPositions),P=f.getLastValidPosition.call(b,void 0,!0);T.p=G;var Q=A.call(b,v)?G:k;for(J=P;J>=Q;J--)T.validPositions.splice(J,1),S===void 0&&delete T.tests[J+1];var z,q,X=k,K=X;for(S&&(T.validPositions[k]=L.extend(!0,{},S),K++,X++),F[I]==null&&T.jitOffset[I]&&(I+=T.jitOffset[I]+1),J=S?I:I-1;J<=P;J++){if((z=F[J])!==void 0&&z.generatedInput!==!0&&(J>=I||J>=G&&N(J,F,{begin:G,end:I}))){for(;p.getTest.call(b,K).match.def!=="";){if((q=m.call(b,K,z,R))!==!1||z.match.def==="+"){z.match.def==="+"&&f.getBuffer.call(b,!0);var se=C.call(b,K,z.input,z.match.def!=="+",!0);if(H=se!==!1,X=(se.pos||K)+1,!H&&q)break}else H=!1;if(H){S===void 0&&z.match.static&&J===v.begin&&j++;break}if(!H&&f.getBuffer.call(b),K>T.maskLength)break;K++}p.getTest.call(b,K).match.def==""&&(H=!1),K=X}if(!H)break}if(!H)return T.validPositions=L.extend(!0,[],F),f.resetMaskSet.call(b,!0),!1}else S&&p.getTest.call(b,k).match.cd===S.match.cd&&(T.validPositions[k]=L.extend(!0,{},S));return f.resetMaskSet.call(b,!0),j}}},i={};function r(o){var l=i[o];if(l!==void 0)return l.exports;var u=i[o]={exports:{}};return t[o](u,u.exports,r),u.exports}var s={};return(function(){var o=s;Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0,r(7149),r(3194),r(9302),r(4013),r(3851),r(219),r(207),r(5296);var l,u=(l=r(2394))&&l.__esModule?l:{default:l};o.default=u.default})(),s})()}))})(Bn)),Bn.exports}var Bh=Lh();const Fh=rl(Bh);//! moment.js
11
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function h(m,D){(D==null||D>m.length)&&(D=m.length);for(var g=0,M=new Array(D);g<D;g++)M[g]=m[g];return M}function x(m){return m&&m.__esModule?m:{default:m}}var y=c.default.document;function A(m){return m instanceof Element}var C=l.Event=void 0;typeof c.default.CustomEvent=="function"?l.Event=C=c.default.CustomEvent:c.default.Event&&y&&y.createEvent?(l.Event=C=function(m,D){D=D||{bubbles:!1,cancelable:!1,composed:!0,detail:void 0};var g=y.createEvent("CustomEvent");return g.initCustomEvent(m,D.bubbles,D.cancelable,D.detail),g},C.prototype=c.default.Event.prototype):typeof Event<"u"&&(l.Event=C=Event)},600:function(o,l){function u(c){return u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},u(c)}Object.defineProperty(l,"__esModule",{value:!0}),l.default=function c(){var d,f,p,h,x,y,A=arguments[0]||{},C=1,m=arguments.length,D=!1;for(typeof A=="boolean"&&(D=A,A=arguments[C]||{},C++),u(A)!=="object"&&typeof A!="function"&&(A={});C<m;C++)if((d=arguments[C])!=null)for(f in d)p=A[f],A!==(h=d[f])&&(D&&h&&(Object.prototype.toString.call(h)==="[object Object]"||(x=Array.isArray(h)))?(x?(x=!1,y=p&&Array.isArray(p)?p:[]):y=p&&Object.prototype.toString.call(p)==="[object Object]"?p:{},A[f]=c(D,y,h)):h!==void 0&&(A[f]=h));return A}},4963:function(o,l,u){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var c=h(u(9380)),d=h(u(253)),f=u(3776),p=h(u(600));function h(A){return A&&A.__esModule?A:{default:A}}var x=c.default.document;function y(A){return A instanceof y?A:this instanceof y?void(A!=null&&A!==c.default&&(this[0]=A.nodeName?A:A[0]!==void 0&&A[0].nodeName?A[0]:x.querySelector(A),this[0]!==void 0&&this[0]!==null&&(this[0].eventRegistry=this[0].eventRegistry||{}))):new y(A)}y.prototype={on:f.on,off:f.off,trigger:f.trigger},y.extend=p.default,y.data=d.default,y.Event=f.Event,l.default=y},9845:function(o,l,u){Object.defineProperty(l,"__esModule",{value:!0}),l.mobile=l.iphone=l.ie=void 0;var c,d=(c=u(9380))&&c.__esModule?c:{default:c},f=d.default.navigator&&d.default.navigator.userAgent||"";l.ie=f.indexOf("MSIE ")>0||f.indexOf("Trident/")>0,l.mobile=d.default.navigator&&d.default.navigator.userAgentData&&d.default.navigator.userAgentData.mobile||d.default.navigator&&d.default.navigator.maxTouchPoints||"ontouchstart"in d.default,l.iphone=/iphone/i.test(f)},7184:function(o,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(c){return c.replace(u,"\\$1")};var u=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^"].join("|\\")+")","gim")},6030:function(o,l,u){function c(k){return c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(b){return typeof b}:function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},c(k)}Object.defineProperty(l,"__esModule",{value:!0}),l.EventHandlers=void 0;var d,f=u(9845),p=(d=u(9380))&&d.__esModule?d:{default:d},h=u(7760),x=u(2839),y=u(8711),A=u(7215),C=u(4713);function m(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */m=function(){return b};var k,b={},T=Object.prototype,R=T.hasOwnProperty,L=Object.defineProperty||function(ce,$,ie){ce[$]=ie.value},N=typeof Symbol=="function"?Symbol:{},j=N.iterator||"@@iterator",G=N.asyncIterator||"@@asyncIterator",I=N.toStringTag||"@@toStringTag";function H(ce,$,ie){return Object.defineProperty(ce,$,{value:ie,enumerable:!0,configurable:!0,writable:!0}),ce[$]}try{H({},"")}catch{H=function($,ie,me){return $[ie]=me}}function J(ce,$,ie,me){var he=$&&$.prototype instanceof K?$:K,ke=Object.create(he.prototype),Me=new _e(me||[]);return L(ke,"_invoke",{value:ye(ce,ie,Me)}),ke}function F(ce,$,ie){try{return{type:"normal",arg:ce.call($,ie)}}catch(me){return{type:"throw",arg:me}}}b.wrap=J;var P="suspendedStart",Q="suspendedYield",z="executing",q="completed",X={};function K(){}function se(){}function U(){}var Z={};H(Z,j,(function(){return this}));var de=Object.getPrototypeOf,V=de&&de(de(Ne([])));V&&V!==T&&R.call(V,j)&&(Z=V);var W=U.prototype=K.prototype=Object.create(Z);function le(ce){["next","throw","return"].forEach((function($){H(ce,$,(function(ie){return this._invoke($,ie)}))}))}function oe(ce,$){function ie(he,ke,Me,ae){var Se=F(ce[he],ce,ke);if(Se.type!=="throw"){var Le=Se.arg,et=Le.value;return et&&c(et)=="object"&&R.call(et,"__await")?$.resolve(et.__await).then((function(je){ie("next",je,Me,ae)}),(function(je){ie("throw",je,Me,ae)})):$.resolve(et).then((function(je){Le.value=je,Me(Le)}),(function(je){return ie("throw",je,Me,ae)}))}ae(Se.arg)}var me;L(this,"_invoke",{value:function(he,ke){function Me(){return new $((function(ae,Se){ie(he,ke,ae,Se)}))}return me=me?me.then(Me,Me):Me()}})}function ye(ce,$,ie){var me=P;return function(he,ke){if(me===z)throw new Error("Generator is already running");if(me===q){if(he==="throw")throw ke;return{value:k,done:!0}}for(ie.method=he,ie.arg=ke;;){var Me=ie.delegate;if(Me){var ae=we(Me,ie);if(ae){if(ae===X)continue;return ae}}if(ie.method==="next")ie.sent=ie._sent=ie.arg;else if(ie.method==="throw"){if(me===P)throw me=q,ie.arg;ie.dispatchException(ie.arg)}else ie.method==="return"&&ie.abrupt("return",ie.arg);me=z;var Se=F(ce,$,ie);if(Se.type==="normal"){if(me=ie.done?q:Q,Se.arg===X)continue;return{value:Se.arg,done:ie.done}}Se.type==="throw"&&(me=q,ie.method="throw",ie.arg=Se.arg)}}}function we(ce,$){var ie=$.method,me=ce.iterator[ie];if(me===k)return $.delegate=null,ie==="throw"&&ce.iterator.return&&($.method="return",$.arg=k,we(ce,$),$.method==="throw")||ie!=="return"&&($.method="throw",$.arg=new TypeError("The iterator does not provide a '"+ie+"' method")),X;var he=F(me,ce.iterator,$.arg);if(he.type==="throw")return $.method="throw",$.arg=he.arg,$.delegate=null,X;var ke=he.arg;return ke?ke.done?($[ce.resultName]=ke.value,$.next=ce.nextLoc,$.method!=="return"&&($.method="next",$.arg=k),$.delegate=null,X):ke:($.method="throw",$.arg=new TypeError("iterator result is not an object"),$.delegate=null,X)}function xe(ce){var $={tryLoc:ce[0]};1 in ce&&($.catchLoc=ce[1]),2 in ce&&($.finallyLoc=ce[2],$.afterLoc=ce[3]),this.tryEntries.push($)}function Fe(ce){var $=ce.completion||{};$.type="normal",delete $.arg,ce.completion=$}function _e(ce){this.tryEntries=[{tryLoc:"root"}],ce.forEach(xe,this),this.reset(!0)}function Ne(ce){if(ce||ce===""){var $=ce[j];if($)return $.call(ce);if(typeof ce.next=="function")return ce;if(!isNaN(ce.length)){var ie=-1,me=function he(){for(;++ie<ce.length;)if(R.call(ce,ie))return he.value=ce[ie],he.done=!1,he;return he.value=k,he.done=!0,he};return me.next=me}}throw new TypeError(c(ce)+" is not iterable")}return se.prototype=U,L(W,"constructor",{value:U,configurable:!0}),L(U,"constructor",{value:se,configurable:!0}),se.displayName=H(U,I,"GeneratorFunction"),b.isGeneratorFunction=function(ce){var $=typeof ce=="function"&&ce.constructor;return!!$&&($===se||($.displayName||$.name)==="GeneratorFunction")},b.mark=function(ce){return Object.setPrototypeOf?Object.setPrototypeOf(ce,U):(ce.__proto__=U,H(ce,I,"GeneratorFunction")),ce.prototype=Object.create(W),ce},b.awrap=function(ce){return{__await:ce}},le(oe.prototype),H(oe.prototype,G,(function(){return this})),b.AsyncIterator=oe,b.async=function(ce,$,ie,me,he){he===void 0&&(he=Promise);var ke=new oe(J(ce,$,ie,me),he);return b.isGeneratorFunction($)?ke:ke.next().then((function(Me){return Me.done?Me.value:ke.next()}))},le(W),H(W,I,"Generator"),H(W,j,(function(){return this})),H(W,"toString",(function(){return"[object Generator]"})),b.keys=function(ce){var $=Object(ce),ie=[];for(var me in $)ie.push(me);return ie.reverse(),function he(){for(;ie.length;){var ke=ie.pop();if(ke in $)return he.value=ke,he.done=!1,he}return he.done=!0,he}},b.values=Ne,_e.prototype={constructor:_e,reset:function(ce){if(this.prev=0,this.next=0,this.sent=this._sent=k,this.done=!1,this.delegate=null,this.method="next",this.arg=k,this.tryEntries.forEach(Fe),!ce)for(var $ in this)$.charAt(0)==="t"&&R.call(this,$)&&!isNaN(+$.slice(1))&&(this[$]=k)},stop:function(){this.done=!0;var ce=this.tryEntries[0].completion;if(ce.type==="throw")throw ce.arg;return this.rval},dispatchException:function(ce){if(this.done)throw ce;var $=this;function ie(Se,Le){return ke.type="throw",ke.arg=ce,$.next=Se,Le&&($.method="next",$.arg=k),!!Le}for(var me=this.tryEntries.length-1;me>=0;--me){var he=this.tryEntries[me],ke=he.completion;if(he.tryLoc==="root")return ie("end");if(he.tryLoc<=this.prev){var Me=R.call(he,"catchLoc"),ae=R.call(he,"finallyLoc");if(Me&&ae){if(this.prev<he.catchLoc)return ie(he.catchLoc,!0);if(this.prev<he.finallyLoc)return ie(he.finallyLoc)}else if(Me){if(this.prev<he.catchLoc)return ie(he.catchLoc,!0)}else{if(!ae)throw new Error("try statement without catch or finally");if(this.prev<he.finallyLoc)return ie(he.finallyLoc)}}}},abrupt:function(ce,$){for(var ie=this.tryEntries.length-1;ie>=0;--ie){var me=this.tryEntries[ie];if(me.tryLoc<=this.prev&&R.call(me,"finallyLoc")&&this.prev<me.finallyLoc){var he=me;break}}he&&(ce==="break"||ce==="continue")&&he.tryLoc<=$&&$<=he.finallyLoc&&(he=null);var ke=he?he.completion:{};return ke.type=ce,ke.arg=$,he?(this.method="next",this.next=he.finallyLoc,X):this.complete(ke)},complete:function(ce,$){if(ce.type==="throw")throw ce.arg;return ce.type==="break"||ce.type==="continue"?this.next=ce.arg:ce.type==="return"?(this.rval=this.arg=ce.arg,this.method="return",this.next="end"):ce.type==="normal"&&$&&(this.next=$),X},finish:function(ce){for(var $=this.tryEntries.length-1;$>=0;--$){var ie=this.tryEntries[$];if(ie.finallyLoc===ce)return this.complete(ie.completion,ie.afterLoc),Fe(ie),X}},catch:function(ce){for(var $=this.tryEntries.length-1;$>=0;--$){var ie=this.tryEntries[$];if(ie.tryLoc===ce){var me=ie.completion;if(me.type==="throw"){var he=me.arg;Fe(ie)}return he}}throw new Error("illegal catch attempt")},delegateYield:function(ce,$,ie){return this.delegate={iterator:Ne(ce),resultName:$,nextLoc:ie},this.method==="next"&&(this.arg=k),X}},b}function D(k,b){var T=typeof Symbol<"u"&&k[Symbol.iterator]||k["@@iterator"];if(!T){if(Array.isArray(k)||(T=(function(I,H){if(I){if(typeof I=="string")return g(I,H);var J=Object.prototype.toString.call(I).slice(8,-1);if(J==="Object"&&I.constructor&&(J=I.constructor.name),J==="Map"||J==="Set")return Array.from(I);if(J==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(J))return g(I,H)}})(k))||b){T&&(k=T);var R=0,L=function(){};return{s:L,n:function(){return R>=k.length?{done:!0}:{done:!1,value:k[R++]}},e:function(I){throw I},f:L}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
12
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var N,j=!0,G=!1;return{s:function(){T=T.call(k)},n:function(){var I=T.next();return j=I.done,I},e:function(I){G=!0,N=I},f:function(){try{j||T.return==null||T.return()}finally{if(G)throw N}}}}function g(k,b){(b==null||b>k.length)&&(b=k.length);for(var T=0,R=new Array(b);T<b;T++)R[T]=k[T];return R}function M(k,b,T,R,L,N,j){try{var G=k[N](j),I=G.value}catch(H){return void T(H)}G.done?b(I):Promise.resolve(I).then(R,L)}var v,S,w=l.EventHandlers={keyEvent:function(k,b,T,R,L){var N=this.inputmask,j=N.opts,G=N.dependencyLib,I=N.maskset,H=this,J=G(H),F=k.key,P=y.caret.call(N,H),Q=j.onKeyDown.call(this,k,y.getBuffer.call(N),P,j);if(Q!==void 0)return Q;if(F===x.keys.Backspace||F===x.keys.Delete||f.iphone&&F===x.keys.BACKSPACE_SAFARI||k.ctrlKey&&F===x.keys.x&&!("oncut"in H))k.preventDefault(),A.handleRemove.call(N,H,F,P),(0,h.writeBuffer)(H,y.getBuffer.call(N,!0),I.p,k,H.inputmask._valueGet()!==y.getBuffer.call(N).join(""));else if(F===x.keys.End||F===x.keys.PageDown){k.preventDefault();var z=y.seekNext.call(N,y.getLastValidPosition.call(N));y.caret.call(N,H,k.shiftKey?P.begin:z,z,!0)}else F===x.keys.Home&&!k.shiftKey||F===x.keys.PageUp?(k.preventDefault(),y.caret.call(N,H,0,k.shiftKey?P.begin:0,!0)):j.undoOnEscape&&F===x.keys.Escape&&k.altKey!==!0?((0,h.checkVal)(H,!0,!1,N.undoValue.split("")),J.trigger("click")):F!==x.keys.Insert||k.shiftKey||k.ctrlKey||N.userOptions.insertMode!==void 0?j.tabThrough===!0&&F===x.keys.Tab?k.shiftKey===!0?(P.end=y.seekPrevious.call(N,P.end,!0),C.getTest.call(N,P.end-1).match.static===!0&&P.end--,P.begin=y.seekPrevious.call(N,P.end,!0),P.begin>=0&&P.end>0&&(k.preventDefault(),y.caret.call(N,H,P.begin,P.end))):(P.begin=y.seekNext.call(N,P.begin,!0),P.end=y.seekNext.call(N,P.begin,!0),P.end<I.maskLength&&P.end--,P.begin<=I.maskLength&&(k.preventDefault(),y.caret.call(N,H,P.begin,P.end))):k.shiftKey||(j.insertModeVisual&&j.insertMode===!1?F===x.keys.ArrowRight?setTimeout((function(){var q=y.caret.call(N,H);y.caret.call(N,H,q.begin)}),0):F===x.keys.ArrowLeft&&setTimeout((function(){var q=y.translatePosition.call(N,H.inputmask.caretPos.begin);y.translatePosition.call(N,H.inputmask.caretPos.end),N.isRTL?y.caret.call(N,H,q+(q===I.maskLength?0:1)):y.caret.call(N,H,q-(q===0?0:1))}),0):N.keyEventHook===void 0||N.keyEventHook(k)):A.isSelection.call(N,P)?j.insertMode=!j.insertMode:(j.insertMode=!j.insertMode,y.caret.call(N,H,P.begin,P.begin));return N.isComposing=F==x.keys.Process||F==x.keys.Unidentified,N.ignorable=F&&F.length>1&&!(H.tagName.toLowerCase()==="textarea"&&F==x.keys.Enter),w.keypressEvent.call(this,k,b,T,R,L)},keypressEvent:function(k,b,T,R,L){var N=this.inputmask||this,j=N.opts,G=N.dependencyLib,I=N.maskset,H=N.el,J=G(H),F=k.key;if(b===!0||k.ctrlKey&&k.altKey&&!N.ignorable||!(k.ctrlKey||k.metaKey||N.ignorable)){if(F){var P,Q=b?{begin:L,end:L}:y.caret.call(N,H);b||(F=j.substitutes[F]||F),I.writeOutBuffer=!0;var z=A.isValid.call(N,Q,F,R,void 0,void 0,void 0,b);if(z!==!1&&(y.resetMaskSet.call(N,!0),P=z.caret!==void 0?z.caret:y.seekNext.call(N,z.pos.begin?z.pos.begin:z.pos),I.p=P),P=j.numericInput&&z.caret===void 0?y.seekPrevious.call(N,P):P,T!==!1&&(setTimeout((function(){j.onKeyValidation.call(H,F,z)}),0),I.writeOutBuffer&&z!==!1)){var q=y.getBuffer.call(N);(0,h.writeBuffer)(H,q,P,k,b!==!0)}if(k.preventDefault(),b)return z!==!1&&(z.forwardPosition=P),z}}else F===x.keys.Enter&&N.undoValue!==N._valueGet(!0)&&(N.undoValue=N._valueGet(!0),setTimeout((function(){J.trigger("change")}),0))},pasteEvent:(v=m().mark((function k(b){var T,R,L,N,j,G;return m().wrap((function(I){for(;;)switch(I.prev=I.next){case 0:T=function(H,J,F,P,Q){var z=y.caret.call(H,J,void 0,void 0,!0),q=F.substr(0,z.begin),X=F.substr(z.end,F.length);if(q==(H.isRTL?y.getBufferTemplate.call(H).slice().reverse():y.getBufferTemplate.call(H)).slice(0,z.begin).join("")&&(q=""),X==(H.isRTL?y.getBufferTemplate.call(H).slice().reverse():y.getBufferTemplate.call(H)).slice(z.end).join("")&&(X=""),P=q+P+X,H.isRTL&&N.numericInput!==!0){P=P.split("");var K,se=D(y.getBufferTemplate.call(H));try{for(se.s();!(K=se.n()).done;){var U=K.value;P[0]===U&&P.shift()}}catch(de){se.e(de)}finally{se.f()}P=P.reverse().join("")}var Z=P;if(typeof Q=="function"){if((Z=Q.call(H,Z,N))===!1)return!1;Z||(Z=F)}(0,h.checkVal)(J,!0,!1,Z.toString().split(""),b)},R=this,L=this.inputmask,N=L.opts,j=L._valueGet(!0),L.skipInputEvent=!0,b.clipboardData&&b.clipboardData.getData?G=b.clipboardData.getData("text/plain"):p.default.clipboardData&&p.default.clipboardData.getData&&(G=p.default.clipboardData.getData("Text")),T(L,R,j,G,N.onBeforePaste),b.preventDefault();case 7:case"end":return I.stop()}}),k,this)})),S=function(){var k=this,b=arguments;return new Promise((function(T,R){var L=v.apply(k,b);function N(G){M(L,T,R,N,j,"next",G)}function j(G){M(L,T,R,N,j,"throw",G)}N(void 0)}))},function(k){return S.apply(this,arguments)}),inputFallBackEvent:function(k){var b=this.inputmask,T=b.opts,R=b.dependencyLib,L,N=this,j=N.inputmask._valueGet(!0),G=(b.isRTL?y.getBuffer.call(b).slice().reverse():y.getBuffer.call(b)).join(""),I=y.caret.call(b,N,void 0,void 0,!0);if(G!==j){if(L=(function(J,F,P){for(var Q,z,q,X=J.substr(0,P.begin).split(""),K=J.substr(P.begin).split(""),se=F.substr(0,P.begin).split(""),U=F.substr(P.begin).split(""),Z=X.length>=se.length?X.length:se.length,de=K.length>=U.length?K.length:U.length,V="",W=[],le="~";X.length<Z;)X.push(le);for(;se.length<Z;)se.push(le);for(;K.length<de;)K.unshift(le);for(;U.length<de;)U.unshift(le);var oe=X.concat(K),ye=se.concat(U);for(z=0,Q=oe.length;z<Q;z++)switch(q=C.getPlaceholder.call(b,y.translatePosition.call(b,z)),V){case"insertText":ye[z-1]===oe[z]&&P.begin==oe.length-1&&W.push(oe[z]),z=Q;break;case"insertReplacementText":case"deleteContentBackward":oe[z]===le?P.end++:z=Q;break;default:oe[z]!==ye[z]&&(oe[z+1]!==le&&oe[z+1]!==q&&oe[z+1]!==void 0||(ye[z]!==q||ye[z+1]!==le)&&ye[z]!==le?ye[z+1]===le&&ye[z]===oe[z+1]?(V="insertText",W.push(oe[z]),P.begin--,P.end--):oe[z]!==q&&oe[z]!==le&&(oe[z+1]===le||ye[z]!==oe[z]&&ye[z+1]===oe[z+1])?(V="insertReplacementText",W.push(oe[z]),P.begin--):oe[z]===le?(V="deleteContentBackward",(y.isMask.call(b,y.translatePosition.call(b,z),!0)||ye[z]===T.radixPoint)&&P.end++):z=Q:(V="insertText",W.push(oe[z]),P.begin--,P.end--))}return{action:V,data:W,caret:P}})(j,G,I),(N.inputmask.shadowRoot||N.ownerDocument).activeElement!==N&&N.focus(),(0,h.writeBuffer)(N,y.getBuffer.call(b)),y.caret.call(b,N,I.begin,I.end,!0),!f.mobile&&b.skipNextInsert&&k.inputType==="insertText"&&L.action==="insertText"&&b.isComposing)return!1;switch(k.inputType==="insertCompositionText"&&L.action==="insertText"&&b.isComposing?b.skipNextInsert=!0:b.skipNextInsert=!1,L.action){case"insertText":case"insertReplacementText":L.data.forEach((function(J,F){var P=new R.Event("keypress");P.key=J,b.ignorable=!1,w.keypressEvent.call(N,P)})),setTimeout((function(){b.$el.trigger("keyup")}),0);break;case"deleteContentBackward":var H=new R.Event("keydown");H.key=x.keys.Backspace,w.keyEvent.call(N,H);break;default:(0,h.applyInputValue)(N,j),y.caret.call(b,N,I.begin,I.end,!0)}k.preventDefault()}},setValueEvent:function(k){var b=this.inputmask,T=b.dependencyLib,R=this,L=k&&k.detail?k.detail[0]:arguments[1];L===void 0&&(L=R.inputmask._valueGet(!0)),(0,h.applyInputValue)(R,L,new T.Event("input")),(k.detail&&k.detail[1]!==void 0||arguments[2]!==void 0)&&y.caret.call(b,R,k.detail?k.detail[1]:arguments[2])},focusEvent:function(k){var b=this.inputmask,T=b.opts,R=b&&b._valueGet();T.showMaskOnFocus&&R!==y.getBuffer.call(b).join("")&&(0,h.writeBuffer)(this,y.getBuffer.call(b),y.seekNext.call(b,y.getLastValidPosition.call(b))),T.positionCaretOnTab!==!0||b.mouseEnter!==!1||A.isComplete.call(b,y.getBuffer.call(b))&&y.getLastValidPosition.call(b)!==-1||w.clickEvent.apply(this,[k,!0]),b.undoValue=b&&b._valueGet(!0)},invalidEvent:function(k){this.inputmask.validationEvent=!0},mouseleaveEvent:function(){var k=this.inputmask,b=k.opts,T=this;k.mouseEnter=!1,b.clearMaskOnLostFocus&&(T.inputmask.shadowRoot||T.ownerDocument).activeElement!==T&&(0,h.HandleNativePlaceholder)(T,k.originalPlaceholder)},clickEvent:function(k,b){var T=this.inputmask;T.clicked++;var R=this;if((R.inputmask.shadowRoot||R.ownerDocument).activeElement===R){var L=y.determineNewCaretPosition.call(T,y.caret.call(T,R),b);L!==void 0&&y.caret.call(T,R,L)}},cutEvent:function(k){var b=this.inputmask,T=b.maskset,R=this,L=y.caret.call(b,R),N=b.isRTL?y.getBuffer.call(b).slice(L.end,L.begin):y.getBuffer.call(b).slice(L.begin,L.end),j=b.isRTL?N.reverse().join(""):N.join("");p.default.navigator&&p.default.navigator.clipboard?p.default.navigator.clipboard.writeText(j):p.default.clipboardData&&p.default.clipboardData.getData&&p.default.clipboardData.setData("Text",j),A.handleRemove.call(b,R,x.keys.Delete,L),(0,h.writeBuffer)(R,y.getBuffer.call(b),T.p,k,b.undoValue!==b._valueGet(!0))},blurEvent:function(k){var b=this.inputmask,T=b.opts,R=b.dependencyLib;b.clicked=0;var L=R(this),N=this;if(N.inputmask){(0,h.HandleNativePlaceholder)(N,b.originalPlaceholder);var j=N.inputmask._valueGet(),G=y.getBuffer.call(b).slice();j!==""&&(T.clearMaskOnLostFocus&&(y.getLastValidPosition.call(b)===-1&&j===y.getBufferTemplate.call(b).join("")?G=[]:h.clearOptionalTail.call(b,G)),A.isComplete.call(b,G)===!1&&(setTimeout((function(){L.trigger("incomplete")}),0),T.clearIncomplete&&(y.resetMaskSet.call(b,!1),G=T.clearMaskOnLostFocus?[]:y.getBufferTemplate.call(b).slice())),(0,h.writeBuffer)(N,G,void 0,k)),j=b._valueGet(!0),b.undoValue!==j&&(j!=""||b.undoValue!=y.getBufferTemplate.call(b).join("")||b.undoValue==y.getBufferTemplate.call(b).join("")&&b.maskset.validPositions.length>0)&&(b.undoValue=j,L.trigger("change"))}},mouseenterEvent:function(){var k=this.inputmask,b=k.opts.showMaskOnHover,T=this;if(k.mouseEnter=!0,(T.inputmask.shadowRoot||T.ownerDocument).activeElement!==T){var R=(k.isRTL?y.getBufferTemplate.call(k).slice().reverse():y.getBufferTemplate.call(k)).join("");b&&(0,h.HandleNativePlaceholder)(T,R)}},submitEvent:function(){var k=this.inputmask,b=k.opts;k.undoValue!==k._valueGet(!0)&&k.$el.trigger("change"),y.getLastValidPosition.call(k)===-1&&k._valueGet&&k._valueGet()===y.getBufferTemplate.call(k).join("")&&k._valueSet(""),b.clearIncomplete&&A.isComplete.call(k,y.getBuffer.call(k))===!1&&k._valueSet(""),b.removeMaskOnSubmit&&(k._valueSet(k.unmaskedvalue(),!0),setTimeout((function(){(0,h.writeBuffer)(k.el,y.getBuffer.call(k))}),0))},resetEvent:function(){var k=this.inputmask;k.refreshValue=!0,setTimeout((function(){(0,h.applyInputValue)(k.el,k._valueGet(!0))}),0)}}},9716:function(o,l,u){Object.defineProperty(l,"__esModule",{value:!0}),l.EventRuler=void 0;var c,d=u(7760),f=(c=u(2394))&&c.__esModule?c:{default:c},p=u(2839),h=u(8711);l.EventRuler={on:function(x,y,A){var C=x.inputmask.dependencyLib,m=function(D){D.originalEvent&&(D=D.originalEvent||D,arguments[0]=D);var g,M=this,v=M.inputmask,S=v?v.opts:void 0;if(v===void 0&&this.nodeName!=="FORM"){var w=C.data(M,"_inputmask_opts");C(M).off(),w&&new f.default(w).mask(M)}else{if(["submit","reset","setvalue"].includes(D.type)||this.nodeName==="FORM"||!(M.disabled||M.readOnly&&!(D.type==="keydown"&&D.ctrlKey&&D.key===p.keys.c||S.tabThrough===!1&&D.key===p.keys.Tab))){switch(D.type){case"input":if(v.skipInputEvent===!0)return v.skipInputEvent=!1,D.preventDefault();break;case"click":case"focus":return v.validationEvent?(v.validationEvent=!1,x.blur(),(0,d.HandleNativePlaceholder)(x,(v.isRTL?h.getBufferTemplate.call(v).slice().reverse():h.getBufferTemplate.call(v)).join("")),setTimeout((function(){x.focus()}),S.validationEventTimeOut),!1):(g=arguments,void setTimeout((function(){x.inputmask&&A.apply(M,g)}),0))}var k=A.apply(M,arguments);return k===!1&&(D.preventDefault(),D.stopPropagation()),k}D.preventDefault()}};["submit","reset"].includes(y)?(m=m.bind(x),x.form!==null&&C(x.form).on(y,m)):C(x).on(y,m),x.inputmask.events[y]=x.inputmask.events[y]||[],x.inputmask.events[y].push(m)},off:function(x,y){if(x.inputmask&&x.inputmask.events){var A=x.inputmask.dependencyLib,C=x.inputmask.events;for(var m in y&&((C=[])[y]=x.inputmask.events[y]),C){for(var D=C[m];D.length>0;){var g=D.pop();["submit","reset"].includes(m)?x.form!==null&&A(x.form).off(m,g):A(x).off(m,g)}delete x.inputmask.events[m]}}}}},219:function(o,l,u){var c=m(u(7184)),d=m(u(2394)),f=u(2839),p=u(8711),h=u(4713);function x(F,P){return(function(Q){if(Array.isArray(Q))return Q})(F)||(function(Q,z){var q=Q==null?null:typeof Symbol<"u"&&Q[Symbol.iterator]||Q["@@iterator"];if(q!=null){var X,K,se,U,Z=[],de=!0,V=!1;try{if(se=(q=q.call(Q)).next,z!==0)for(;!(de=(X=se.call(q)).done)&&(Z.push(X.value),Z.length!==z);de=!0);}catch(W){V=!0,K=W}finally{try{if(!de&&q.return!=null&&(U=q.return(),Object(U)!==U))return}finally{if(V)throw K}}return Z}})(F,P)||(function(Q,z){if(Q){if(typeof Q=="string")return y(Q,z);var q=Object.prototype.toString.call(Q).slice(8,-1);if(q==="Object"&&Q.constructor&&(q=Q.constructor.name),q==="Map"||q==="Set")return Array.from(Q);if(q==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(q))return y(Q,z)}})(F,P)||(function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
13
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function y(F,P){(P==null||P>F.length)&&(P=F.length);for(var Q=0,z=new Array(P);Q<P;Q++)z[Q]=F[Q];return z}function A(F){return A=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(P){return typeof P}:function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},A(F)}function C(F,P){for(var Q=0;Q<P.length;Q++){var z=P[Q];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(F,(q=z.key,X=void 0,X=(function(K,se){if(A(K)!=="object"||K===null)return K;var U=K[Symbol.toPrimitive];if(U!==void 0){var Z=U.call(K,se);if(A(Z)!=="object")return Z;throw new TypeError("@@toPrimitive must return a primitive value.")}return(se==="string"?String:Number)(K)})(q,"string"),A(X)==="symbol"?X:String(X)),z)}var q,X}function m(F){return F&&F.__esModule?F:{default:F}}u(1313);var D=d.default.dependencyLib,g=(function(){function F(z,q,X,K){(function(se,U){if(!(se instanceof U))throw new TypeError("Cannot call a class as a function")})(this,F),this.mask=z,this.format=q,this.opts=X,this.inputmask=K,this._date=new Date(1,0,1),this.initDateObject(z,this.opts,this.inputmask)}var P,Q;return P=F,(Q=[{key:"date",get:function(){return this._date===void 0&&(this._date=new Date(1,0,1),this.initDateObject(void 0,this.opts,this.inputmask)),this._date}},{key:"initDateObject",value:function(z,q,X){var K;for(L(q).lastIndex=0;K=L(q).exec(this.format);){var se=/\d+$/.exec(K[0]),U=se?K[0][0]+"x":K[0],Z=void 0;if(z!==void 0){if(se){var de=L(q).lastIndex,V=J.call(X,K.index,q,X&&X.maskset);L(q).lastIndex=de,Z=z.slice(0,z.indexOf(V.nextMatch[0]))}else{for(var W=K[0][0],le=K.index;X&&(q.placeholder[h.getTest.call(X,le).match.placeholder]||h.getTest.call(X,le).match.placeholder)===W;)le++;var oe=le-K.index;Z=z.slice(0,oe||w[U]&&w[U][4]||U.length)}z=z.slice(Z.length)}Object.prototype.hasOwnProperty.call(w,U)&&this.setValue(this,Z,U,w[U][2],w[U][1])}}},{key:"setValue",value:function(z,q,X,K,se){if(q!==void 0)switch(K){case"ampm":z[K]=q,z["raw"+K]=q.replace(/\s/g,"_");break;case"month":if(X==="mmm"||X==="mmmm"){z[K]=G(X==="mmm"?v.monthNames.slice(0,12).findIndex((function(Z){return q.toLowerCase()===Z.toLowerCase()}))+1:v.monthNames.slice(12,24).findIndex((function(Z){return q.toLowerCase()===Z.toLowerCase()}))+1,2),z[K]=z[K]==="00"?"":z[K].toString(),z["raw"+K]=z[K];break}default:z[K]=q.replace(/[^0-9]/g,"0"),z["raw"+K]=q.replace(/\s/g,"_")}if(se!==void 0){var U=z[K];(K==="day"&&parseInt(U)===29||K==="month"&&parseInt(U)===2)&&(parseInt(z.day)!==29||parseInt(z.month)!==2||z.year!==""&&z.year!==void 0||z._date.setFullYear(2012,1,29)),K==="day"&&(S=!0,parseInt(U)===0&&(U=1)),K==="month"&&(S=!0),K==="year"&&(S=!0,U.length<w[X][4]&&(U=G(U,w[X][4],!0))),(U!==""&&!isNaN(U)||K==="ampm")&&se.call(z._date,U)}}},{key:"reset",value:function(){this._date=new Date(1,0,1)}},{key:"reInit",value:function(){this._date=void 0,this.date}}])&&C(P.prototype,Q),Object.defineProperty(P,"prototype",{writable:!1}),F})(),M=new Date().getFullYear(),v=d.default.prototype.i18n,S=!1,w={d:["[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",Date.prototype.getDate],dd:["0[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",function(){return G(Date.prototype.getDate.call(this),2)}],ddd:[""],dddd:[""],m:["[1-9]|1[012]",function(F){var P=F?parseInt(F):0;return P>0&&P--,Date.prototype.setMonth.call(this,P)},"month",function(){return Date.prototype.getMonth.call(this)+1}],mm:["0[1-9]|1[012]",function(F){var P=F?parseInt(F):0;return P>0&&P--,Date.prototype.setMonth.call(this,P)},"month",function(){return G(Date.prototype.getMonth.call(this)+1,2)}],mmm:[v.monthNames.slice(0,12).join("|"),function(F){var P=v.monthNames.slice(0,12).findIndex((function(Q){return F.toLowerCase()===Q.toLowerCase()}));return P!==-1&&Date.prototype.setMonth.call(this,P)},"month",function(){return v.monthNames.slice(0,12)[Date.prototype.getMonth.call(this)]}],mmmm:[v.monthNames.slice(12,24).join("|"),function(F){var P=v.monthNames.slice(12,24).findIndex((function(Q){return F.toLowerCase()===Q.toLowerCase()}));return P!==-1&&Date.prototype.setMonth.call(this,P)},"month",function(){return v.monthNames.slice(12,24)[Date.prototype.getMonth.call(this)]}],yy:["[0-9]{2}",function(F){var P=new Date().getFullYear().toString().slice(0,2);Date.prototype.setFullYear.call(this,"".concat(P).concat(F))},"year",function(){return G(Date.prototype.getFullYear.call(this),2)},2],yyyy:["[0-9]{4}",Date.prototype.setFullYear,"year",function(){return G(Date.prototype.getFullYear.call(this),4)},4],h:["[1-9]|1[0-2]",Date.prototype.setHours,"hours",Date.prototype.getHours],hh:["0[1-9]|1[0-2]",Date.prototype.setHours,"hours",function(){return G(Date.prototype.getHours.call(this),2)}],hx:[function(F){return"[0-9]{".concat(F,"}")},Date.prototype.setHours,"hours",function(F){return Date.prototype.getHours}],H:["1?[0-9]|2[0-3]",Date.prototype.setHours,"hours",Date.prototype.getHours],HH:["0[0-9]|1[0-9]|2[0-3]",Date.prototype.setHours,"hours",function(){return G(Date.prototype.getHours.call(this),2)}],Hx:[function(F){return"[0-9]{".concat(F,"}")},Date.prototype.setHours,"hours",function(F){return function(){return G(Date.prototype.getHours.call(this),F)}}],M:["[1-5]?[0-9]",Date.prototype.setMinutes,"minutes",Date.prototype.getMinutes],MM:["0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]",Date.prototype.setMinutes,"minutes",function(){return G(Date.prototype.getMinutes.call(this),2)}],s:["[1-5]?[0-9]",Date.prototype.setSeconds,"seconds",Date.prototype.getSeconds],ss:["0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]",Date.prototype.setSeconds,"seconds",function(){return G(Date.prototype.getSeconds.call(this),2)}],l:["[0-9]{3}",Date.prototype.setMilliseconds,"milliseconds",function(){return G(Date.prototype.getMilliseconds.call(this),3)},3],L:["[0-9]{2}",Date.prototype.setMilliseconds,"milliseconds",function(){return G(Date.prototype.getMilliseconds.call(this),2)},2],t:["[ap]",b,"ampm",T,1],tt:["[ap]m",b,"ampm",T,2],T:["[AP]",b,"ampm",T,1],TT:["[AP]M",b,"ampm",T,2],Z:[".*",void 0,"Z",function(){var F=this.toString().match(/\((.+)\)/)[1];return F.includes(" ")&&(F=(F=F.replace("-"," ").toUpperCase()).split(" ").map((function(P){return x(P,1)[0]})).join("")),F}],o:[""],S:[""]},k={isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};function b(F){var P=this.getHours();F.toLowerCase().includes("p")?this.setHours(P+12):F.toLowerCase().includes("a")&&P>=12&&this.setHours(P-12)}function T(){var F=this.getHours();return(F=F||12)>=12?"PM":"AM"}function R(F){var P=/\d+$/.exec(F[0]);if(P&&P[0]!==void 0){var Q=w[F[0][0]+"x"].slice("");return Q[0]=Q[0](P[0]),Q[3]=Q[3](P[0]),Q}if(w[F[0]])return w[F[0]]}function L(F){if(!F.tokenizer){var P=[],Q=[];for(var z in w)if(/\.*x$/.test(z)){var q=z[0]+"\\d+";Q.indexOf(q)===-1&&Q.push(q)}else P.indexOf(z[0])===-1&&P.push(z[0]);F.tokenizer="("+(Q.length>0?Q.join("|")+"|":"")+P.join("+|")+")+?|.",F.tokenizer=new RegExp(F.tokenizer,"g")}return F.tokenizer}function N(F,P,Q){if(!S)return!0;if(F.rawday===void 0||!isFinite(F.rawday)&&new Date(F.date.getFullYear(),isFinite(F.rawmonth)?F.month:F.date.getMonth()+1,0).getDate()>=F.day||F.day=="29"&&(!isFinite(F.rawyear)||F.rawyear===void 0||F.rawyear==="")||new Date(F.date.getFullYear(),isFinite(F.rawmonth)?F.month:F.date.getMonth()+1,0).getDate()>=F.day)return P;if(F.day=="29"){var z=J.call(this,P.pos,Q,this.maskset);if(z.targetMatch&&z.targetMatch[0]==="yyyy"&&P.pos-z.targetMatchIndex==2)return P.remove=P.pos+1,P}else if(F.date.getMonth()==2&&F.day=="30"&&P.c!==void 0)return F.day="03",F.date.setDate(3),F.date.setMonth(1),P.insert=[{pos:P.pos,c:"0"},{pos:P.pos+1,c:P.c}],P.caret=p.seekNext.call(this,P.pos+1),P;return!1}function j(F,P,Q,z){var q,X,K="",se=0,U={};for(L(Q).lastIndex=0;q=L(Q).exec(F);){if(P===void 0)if(X=R(q))K+="("+X[0]+")",Q.placeholder&&Q.placeholder!==""?(U[se]=Q.placeholder[q.index%Q.placeholder.length],U[Q.placeholder[q.index%Q.placeholder.length]]=q[0].charAt(0)):U[se]=q[0].charAt(0);else switch(q[0]){case"[":K+="(";break;case"]":K+=")?";break;default:K+=(0,c.default)(q[0]),U[se]=q[0].charAt(0)}else(X=R(q))?z!==!0&&X[3]?K+=X[3].call(P.date):X[2]?K+=P["raw"+X[2]]:K+=q[0]:K+=q[0];se++}return P===void 0&&(Q.placeholder=U),K}function G(F,P,Q){for(F=String(F),P=P||2;F.length<P;)F=Q?F+"0":"0"+F;return F}function I(F,P,Q){return typeof F=="string"?new g(F,P,Q,this):F&&A(F)==="object"&&Object.prototype.hasOwnProperty.call(F,"date")?F:void 0}function H(F,P){return j(P.inputFormat,{date:F},P)}function J(F,P,Q){var z,q,X=this,K=Q&&Q.tests[F]?P.placeholder[Q.tests[F][0].match.placeholder]||Q.tests[F][0].match.placeholder:"",se=0,U=0;for(L(P).lastIndex=0;q=L(P).exec(P.inputFormat);){var Z=/\d+$/.exec(q[0]);if(Z)U=parseInt(Z[0]);else{for(var de=q[0][0],V=se;X&&(P.placeholder[h.getTest.call(X,V).match.placeholder]||h.getTest.call(X,V).match.placeholder)===de;)V++;(U=V-se)===0&&(U=q[0].length)}if(se+=U,q[0].indexOf(K)!=-1||se>=F+1){z=q,q=L(P).exec(P.inputFormat);break}}return{targetMatchIndex:se-U,nextMatch:q,targetMatch:z}}d.default.extendAliases({datetime:{mask:function(F){return F.numericInput=!1,w.S=v.ordinalSuffix.join("|"),F.inputFormat=k[F.inputFormat]||F.inputFormat,F.displayFormat=k[F.displayFormat]||F.displayFormat||F.inputFormat,F.outputFormat=k[F.outputFormat]||F.outputFormat||F.inputFormat,F.regex=j(F.inputFormat,void 0,F),F.min=I(F.min,F.inputFormat,F),F.max=I(F.max,F.inputFormat,F),null},placeholder:"",inputFormat:"isoDateTime",displayFormat:null,outputFormat:null,min:null,max:null,skipOptionalPartCharacter:"",preValidation:function(F,P,Q,z,q,X,K,se){if(se)return!0;if(isNaN(Q)&&F[P]!==Q){var U=J.call(this,P,q,X);if(U.nextMatch&&U.nextMatch[0]===Q&&U.targetMatch[0].length>1){var Z=R(U.targetMatch)[0];if(new RegExp(Z).test("0"+F[P-1]))return F[P]=F[P-1],F[P-1]="0",{fuzzy:!0,buffer:F,refreshFromBuffer:{start:P-1,end:P+1},pos:P+1}}}return!0},postValidation:function(F,P,Q,z,q,X,K,se){var U,Z,de=this;if(K)return!0;if(z===!1&&(((U=J.call(de,P+1,q,X)).targetMatch&&U.targetMatchIndex===P&&U.targetMatch[0].length>1&&w[U.targetMatch[0]]!==void 0||(U=J.call(de,P+2,q,X)).targetMatch&&U.targetMatchIndex===P+1&&U.targetMatch[0].length>1&&w[U.targetMatch[0]]!==void 0)&&(Z=R(U.targetMatch)[0]),Z!==void 0&&(X.validPositions[P+1]!==void 0&&new RegExp(Z).test(Q+"0")?(F[P]=Q,F[P+1]="0",z={pos:P+2,caret:P}):new RegExp(Z).test("0"+Q)&&(F[P]="0",F[P+1]=Q,z={pos:P+2})),z===!1))return z;if(z.fuzzy&&(F=z.buffer,P=z.pos),(U=J.call(de,P,q,X)).targetMatch&&U.targetMatch[0]&&w[U.targetMatch[0]]!==void 0){var V=R(U.targetMatch);Z=V[0];var W=F.slice(U.targetMatchIndex,U.targetMatchIndex+U.targetMatch[0].length);if(new RegExp(Z).test(W.join(""))===!1&&U.targetMatch[0].length===2&&X.validPositions[U.targetMatchIndex]&&X.validPositions[U.targetMatchIndex+1]&&(X.validPositions[U.targetMatchIndex+1].input="0"),V[2]=="year")for(var le=h.getMaskTemplate.call(de,!1,1,void 0,!0),oe=P+1;oe<F.length;oe++)F[oe]=le[oe],X.validPositions.splice(P+1,1)}var ye=z,we=I.call(de,F.join(""),q.inputFormat,q);return ye&&!isNaN(we.date.getTime())&&(q.prefillYear&&(ye=(function(xe,Fe,_e){if(xe.year!==xe.rawyear){var Ne=M.toString(),ce=xe.rawyear.replace(/[^0-9]/g,""),$=Ne.slice(0,ce.length),ie=Ne.slice(ce.length);if(ce.length===2&&ce===$){var me=new Date(M,xe.month-1,xe.day);xe.day==me.getDate()&&(!_e.max||_e.max.date.getTime()>=me.getTime())&&(xe.date.setFullYear(M),xe.year=Ne,Fe.insert=[{pos:Fe.pos+1,c:ie[0]},{pos:Fe.pos+2,c:ie[1]}])}}return Fe})(we,ye,q)),ye=(function(xe,Fe,_e,Ne,ce){if(!Fe)return Fe;if(Fe&&_e.min&&!isNaN(_e.min.date.getTime())){var $;for(xe.reset(),L(_e).lastIndex=0;$=L(_e).exec(_e.inputFormat);){var ie;if((ie=R($))&&ie[3]){for(var me=ie[1],he=xe[ie[2]],ke=_e.min[ie[2]],Me=_e.max?_e.max[ie[2]]:ke+1,ae=[],Se=!1,Le=0;Le<ke.length;Le++)Ne.validPositions[Le+$.index]!==void 0||Se?(ae[Le]=he[Le],Se=Se||he[Le]>ke[Le]):(Le+$.index==0&&he[Le]<ke[Le]?(ae[Le]=he[Le],Se=!0):ae[Le]=ke[Le],ie[2]==="year"&&he.length-1==Le&&ke!=Me&&(ae=(parseInt(ae.join(""))+1).toString().split("")),ie[2]==="ampm"&&ke!=Me&&_e.min.date.getTime()>xe.date.getTime()&&(ae[Le]=Me[Le]));me.call(xe._date,ae.join(""))}}Fe=_e.min.date.getTime()<=xe.date.getTime(),xe.reInit()}return Fe&&_e.max&&(isNaN(_e.max.date.getTime())||(Fe=_e.max.date.getTime()>=xe.date.getTime())),Fe})(we,ye=N.call(de,we,ye,q),q,X)),P!==void 0&&ye&&z.pos!==P?{buffer:j(q.inputFormat,we,q).split(""),refreshFromBuffer:{start:P,end:z.pos},pos:z.caret||z.pos}:ye},onKeyDown:function(F,P,Q,z){F.ctrlKey&&F.key===f.keys.ArrowRight&&(this.inputmask._valueSet(H(new Date,z)),D(this).trigger("setvalue"))},onUnMask:function(F,P,Q){return P&&j(Q.outputFormat,I.call(this,F,Q.inputFormat,Q),Q,!0)},casing:function(F,P,Q,z){if(P.nativeDef.indexOf("[ap]")==0)return F.toLowerCase();if(P.nativeDef.indexOf("[AP]")==0)return F.toUpperCase();var q=h.getTest.call(this,[Q-1]);return q.match.def.indexOf("[AP]")==0||Q===0||q&&q.input===String.fromCharCode(f.keyCode.Space)||q&&q.match.def===String.fromCharCode(f.keyCode.Space)?F.toUpperCase():F.toLowerCase()},onBeforeMask:function(F,P){return Object.prototype.toString.call(F)==="[object Date]"&&(F=H(F,P)),F},insertMode:!1,insertModeVisual:!1,shiftPositions:!1,keepStatic:!1,inputmode:"numeric",prefillYear:!0}})},1313:function(o,l,u){var c,d=(c=u(2394))&&c.__esModule?c:{default:c};d.default.dependencyLib.extend(!0,d.default.prototype.i18n,{dayNames:["Mon","Tue","Wed","Thu","Fri","Sat","Sun","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],ordinalSuffix:["st","nd","rd","th"]})},3851:function(o,l,u){var c,d=(c=u(2394))&&c.__esModule?c:{default:c},f=u(8711),p=u(4713);function h(C){return(function(m){if(Array.isArray(m))return x(m)})(C)||(function(m){if(typeof Symbol<"u"&&m[Symbol.iterator]!=null||m["@@iterator"]!=null)return Array.from(m)})(C)||(function(m,D){if(m){if(typeof m=="string")return x(m,D);var g=Object.prototype.toString.call(m).slice(8,-1);if(g==="Object"&&m.constructor&&(g=m.constructor.name),g==="Map"||g==="Set")return Array.from(m);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return x(m,D)}})(C)||(function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
14
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function x(C,m){(m==null||m>C.length)&&(m=C.length);for(var D=0,g=new Array(m);D<m;D++)g[D]=C[D];return g}d.default.extendDefinitions({A:{validator:"[A-Za-zА-яЁёÀ-ÿµ]",casing:"upper"},"&":{validator:"[0-9A-Za-zА-яЁёÀ-ÿµ]",casing:"upper"},"#":{validator:"[0-9A-Fa-f]",casing:"upper"}});var y=/25[0-5]|2[0-4][0-9]|[01][0-9][0-9]/;function A(C,m,D,g,M){if(D-1>-1&&m.buffer[D-1]!=="."?(C=m.buffer[D-1]+C,C=D-2>-1&&m.buffer[D-2]!=="."?m.buffer[D-2]+C:"0"+C):C="00"+C,M.greedy&&parseInt(C)>255&&y.test("00"+C.charAt(2))){var v=[].concat(h(m.buffer.slice(0,D)),[".",C.charAt(2)]);if(v.join("").match(/\./g).length<4)return{refreshFromBuffer:!0,buffer:v,caret:D+2}}return y.test(C)}d.default.extendAliases({cssunit:{regex:"[+-]?[0-9]+\\.?([0-9]+)?(px|em|rem|ex|%|in|cm|mm|pt|pc)"},url:{regex:"(https?|ftp)://.*",autoUnmask:!1,keepStatic:!1,tabThrough:!0},ip:{mask:"i{1,3}.j{1,3}.k{1,3}.l{1,3}",definitions:{i:{validator:A},j:{validator:A},k:{validator:A},l:{validator:A}},onUnMask:function(C,m,D){return C},inputmode:"decimal",substitutes:{",":"."}},email:{mask:function(C){var m=C.separator,D=C.quantifier,g="*{1,64}[.*{1,64}][.*{1,64}][.*{1,63}]@-{1,63}.-{1,63}[.-{1,63}][.-{1,63}]",M=g;if(m)for(var v=0;v<D;v++)M+="[".concat(m).concat(g,"]");return M},greedy:!1,casing:"lower",separator:null,quantifier:5,skipOptionalPartCharacter:"",onBeforePaste:function(C,m){return(C=C.toLowerCase()).replace("mailto:","")},definitions:{"*":{validator:"[0-91-9A-Za-zА-яЁёÀ-ÿµ!#$%&'*+/=?^_`{|}~-]"},"-":{validator:"[0-9A-Za-z-]"}},onUnMask:function(C,m,D){return C},inputmode:"email"},mac:{mask:"##:##:##:##:##:##"},vin:{mask:"V{13}9{4}",definitions:{V:{validator:"[A-HJ-NPR-Za-hj-npr-z\\d]",casing:"upper"}},clearIncomplete:!0,autoUnmask:!0},ssn:{mask:"999-99-9999",postValidation:function(C,m,D,g,M,v,S){var w=p.getMaskTemplate.call(this,!0,f.getLastValidPosition.call(this),!0,!0);return/^(?!219-09-9999|078-05-1120)(?!666|000|9.{2}).{3}-(?!00).{2}-(?!0{4}).{4}$/.test(w.join(""))}}})},207:function(o,l,u){var c=h(u(7184)),d=h(u(2394)),f=u(2839),p=u(8711);function h(g){return g&&g.__esModule?g:{default:g}}var x=d.default.dependencyLib;function y(g,M){for(var v="",S=0;S<g.length;S++)d.default.prototype.definitions[g.charAt(S)]||M.definitions[g.charAt(S)]||M.optionalmarker[0]===g.charAt(S)||M.optionalmarker[1]===g.charAt(S)||M.quantifiermarker[0]===g.charAt(S)||M.quantifiermarker[1]===g.charAt(S)||M.groupmarker[0]===g.charAt(S)||M.groupmarker[1]===g.charAt(S)||M.alternatormarker===g.charAt(S)?v+="\\"+g.charAt(S):v+=g.charAt(S);return v}function A(g,M,v,S){if(g.length>0&&M>0&&(!v.digitsOptional||S)){var w=g.indexOf(v.radixPoint),k=!1;v.negationSymbol.back===g[g.length-1]&&(k=!0,g.length--),w===-1&&(g.push(v.radixPoint),w=g.length-1);for(var b=1;b<=M;b++)isFinite(g[w+b])||(g[w+b]="0")}return k&&g.push(v.negationSymbol.back),g}function C(g,M){var v=0;for(var S in g==="+"&&(v=p.seekNext.call(this,M.validPositions.length-1)),M.tests)if((S=parseInt(S))>=v){for(var w=0,k=M.tests[S].length;w<k;w++)if((M.validPositions[S]===void 0||g==="-")&&M.tests[S][w].match.def===g)return S+(M.validPositions[S]!==void 0&&g!=="-"?1:0)}return v}function m(g,M){for(var v=-1,S=0,w=M.validPositions.length;S<w;S++){var k=M.validPositions[S];if(k&&k.match.def===g){v=S;break}}return v}function D(g,M,v,S,w){var k=M.buffer?M.buffer.indexOf(w.radixPoint):-1,b=(k!==-1||S&&w.jitMasking)&&new RegExp(w.definitions[9].validator).test(g);return!S&&w._radixDance&&k!==-1&&b&&M.validPositions[k]==null?{insert:{pos:k===v?k+1:k,c:w.radixPoint},pos:v}:b}d.default.extendAliases({numeric:{mask:function(g){g.repeat=0,g.groupSeparator===g.radixPoint&&g.digits&&g.digits!=="0"&&(g.radixPoint==="."?g.groupSeparator=",":g.radixPoint===","?g.groupSeparator=".":g.groupSeparator=""),g.groupSeparator===" "&&(g.skipOptionalPartCharacter=void 0),g.placeholder.length>1&&(g.placeholder=g.placeholder.charAt(0)),g.positionCaretOnClick==="radixFocus"&&g.placeholder===""&&(g.positionCaretOnClick="lvp");var M="0",v=g.radixPoint;g.numericInput===!0&&g.__financeInput===void 0?(M="1",g.positionCaretOnClick=g.positionCaretOnClick==="radixFocus"?"lvp":g.positionCaretOnClick,g.digitsOptional=!1,isNaN(g.digits)&&(g.digits=2),g._radixDance=!1,v=g.radixPoint===","?"?":"!",g.radixPoint!==""&&g.definitions[v]===void 0&&(g.definitions[v]={},g.definitions[v].validator="["+g.radixPoint+"]",g.definitions[v].placeholder=g.radixPoint,g.definitions[v].static=!0,g.definitions[v].generated=!0)):(g.__financeInput=!1,g.numericInput=!0);var S,w="[+]";if(w+=y(g.prefix,g),g.groupSeparator!==""?(g.definitions[g.groupSeparator]===void 0&&(g.definitions[g.groupSeparator]={},g.definitions[g.groupSeparator].validator="["+g.groupSeparator+"]",g.definitions[g.groupSeparator].placeholder=g.groupSeparator,g.definitions[g.groupSeparator].static=!0,g.definitions[g.groupSeparator].generated=!0),w+=g._mask(g)):w+="9{+}",g.digits!==void 0&&g.digits!==0){var k=g.digits.toString().split(",");isFinite(k[0])&&k[1]&&isFinite(k[1])?w+=v+M+"{"+g.digits+"}":(isNaN(g.digits)||parseInt(g.digits)>0)&&(g.digitsOptional||g.jitMasking?(S=w+v+M+"{0,"+g.digits+"}",g.keepStatic=!0):w+=v+M+"{"+g.digits+"}")}else g.inputmode="numeric";return w+=y(g.suffix,g),w+="[-]",S&&(w=[S+y(g.suffix,g)+"[-]",w]),g.greedy=!1,(function(b){b.parseMinMaxOptions===void 0&&(b.min!==null&&(b.min=b.min.toString().replace(new RegExp((0,c.default)(b.groupSeparator),"g"),""),b.radixPoint===","&&(b.min=b.min.replace(b.radixPoint,".")),b.min=isFinite(b.min)?parseFloat(b.min):NaN,isNaN(b.min)&&(b.min=Number.MIN_VALUE)),b.max!==null&&(b.max=b.max.toString().replace(new RegExp((0,c.default)(b.groupSeparator),"g"),""),b.radixPoint===","&&(b.max=b.max.replace(b.radixPoint,".")),b.max=isFinite(b.max)?parseFloat(b.max):NaN,isNaN(b.max)&&(b.max=Number.MAX_VALUE)),b.parseMinMaxOptions="done")})(g),g.radixPoint!==""&&g.substituteRadixPoint&&(g.substitutes[g.radixPoint=="."?",":"."]=g.radixPoint),w},_mask:function(g){return"("+g.groupSeparator+"999){+|1}"},digits:"*",digitsOptional:!0,enforceDigitsOnBlur:!1,radixPoint:".",positionCaretOnClick:"radixFocus",_radixDance:!0,groupSeparator:"",allowMinus:!0,negationSymbol:{front:"-",back:""},prefix:"",suffix:"",min:null,max:null,SetMaxOnOverflow:!1,step:1,inputType:"text",unmaskAsNumber:!1,roundingFN:Math.round,inputmode:"decimal",shortcuts:{k:"1000",m:"1000000"},placeholder:"0",greedy:!1,rightAlign:!0,insertMode:!0,autoUnmask:!1,skipOptionalPartCharacter:"",usePrototypeDefinitions:!1,stripLeadingZeroes:!0,substituteRadixPoint:!0,definitions:{0:{validator:D},1:{validator:D,definitionSymbol:"9"},9:{validator:"[0-90-9٠-٩۰-۹]",definitionSymbol:"*"},"+":{validator:function(g,M,v,S,w){return w.allowMinus&&(g==="-"||g===w.negationSymbol.front)}},"-":{validator:function(g,M,v,S,w){return w.allowMinus&&g===w.negationSymbol.back}}},preValidation:function(g,M,v,S,w,k,b,T){var R=this;if(w.__financeInput!==!1&&v===w.radixPoint)return!1;var L=g.indexOf(w.radixPoint),N=M;if(M=(function(J,F,P,Q,z){return z._radixDance&&z.numericInput&&F!==z.negationSymbol.back&&J<=P&&(P>0||F==z.radixPoint)&&(Q.validPositions[J-1]===void 0||Q.validPositions[J-1].input!==z.negationSymbol.back)&&(J-=1),J})(M,v,L,k,w),v==="-"||v===w.negationSymbol.front){if(w.allowMinus!==!0)return!1;var j=!1,G=m("+",k),I=m("-",k);return G!==-1&&(j=[G],I!==-1&&j.push(I)),j!==!1?{remove:j,caret:N-w.negationSymbol.back.length}:{insert:[{pos:C.call(R,"+",k),c:w.negationSymbol.front,fromIsValid:!0},{pos:C.call(R,"-",k),c:w.negationSymbol.back,fromIsValid:void 0}],caret:N+w.negationSymbol.back.length}}if(v===w.groupSeparator)return{caret:N};if(T)return!0;if(L!==-1&&w._radixDance===!0&&S===!1&&v===w.radixPoint&&w.digits!==void 0&&(isNaN(w.digits)||parseInt(w.digits)>0)&&L!==M){var H=C.call(R,w.radixPoint,k);return k.validPositions[H]&&(k.validPositions[H].generatedInput=k.validPositions[H].generated||!1),{caret:w._radixDance&&M===L-1?L+1:L}}if(w.__financeInput===!1){if(S){if(w.digitsOptional)return{rewritePosition:b.end};if(!w.digitsOptional){if(b.begin>L&&b.end<=L)return v===w.radixPoint?{insert:{pos:L+1,c:"0",fromIsValid:!0},rewritePosition:L}:{rewritePosition:L+1};if(b.begin<L)return{rewritePosition:b.begin-1}}}else if(!w.showMaskOnHover&&!w.showMaskOnFocus&&!w.digitsOptional&&w.digits>0&&this.__valueGet.call(this.el)==="")return{rewritePosition:L}}return{rewritePosition:M}},postValidation:function(g,M,v,S,w,k,b){if(S===!1)return S;if(b)return!0;if(w.min!==null||w.max!==null){var T=w.onUnMask(g.slice().reverse().join(""),void 0,x.extend({},w,{unmaskAsNumber:!0}));if(w.min!==null&&T<w.min&&(T.toString().length>w.min.toString().length||T<0))return!1;if(w.max!==null&&T>w.max)return!!w.SetMaxOnOverflow&&{refreshFromBuffer:!0,buffer:A(w.max.toString().replace(".",w.radixPoint).split(""),w.digits,w).reverse()}}return S},onUnMask:function(g,M,v){if(M===""&&v.nullable===!0)return M;var S=g.replace(v.prefix,"");return S=(S=S.replace(v.suffix,"")).replace(new RegExp((0,c.default)(v.groupSeparator),"g"),""),v.placeholder.charAt(0)!==""&&(S=S.replace(new RegExp(v.placeholder.charAt(0),"g"),"0")),v.unmaskAsNumber?(v.radixPoint!==""&&S.indexOf(v.radixPoint)!==-1&&(S=S.replace(c.default.call(this,v.radixPoint),".")),S=(S=S.replace(new RegExp("^"+(0,c.default)(v.negationSymbol.front)),"-")).replace(new RegExp((0,c.default)(v.negationSymbol.back)+"$"),""),Number(S)):S},isComplete:function(g,M){var v=(M.numericInput?g.slice().reverse():g).join("");return v=(v=(v=(v=(v=v.replace(new RegExp("^"+(0,c.default)(M.negationSymbol.front)),"-")).replace(new RegExp((0,c.default)(M.negationSymbol.back)+"$"),"")).replace(M.prefix,"")).replace(M.suffix,"")).replace(new RegExp((0,c.default)(M.groupSeparator)+"([0-9]{3})","g"),"$1"),M.radixPoint===","&&(v=v.replace((0,c.default)(M.radixPoint),".")),isFinite(v)},onBeforeMask:function(g,M){var v;g=(v=g)!==null&&v!==void 0?v:"";var S=M.radixPoint||",";isFinite(M.digits)&&(M.digits=parseInt(M.digits)),typeof g!="number"&&M.inputType!=="number"||S===""||(g=g.toString().replace(".",S));var w=g.charAt(0)==="-"||g.charAt(0)===M.negationSymbol.front,k=g.split(S),b=k[0].replace(/[^\-0-9]/g,""),T=k.length>1?k[1].replace(/[^0-9]/g,""):"",R=k.length>1;g=b+(T!==""?S+T:T);var L=0;if(S!==""&&(L=M.digitsOptional?M.digits<T.length?M.digits:T.length:M.digits,T!==""||!M.digitsOptional)){var N=Math.pow(10,L||1);g=g.replace((0,c.default)(S),"."),isNaN(parseFloat(g))||(g=(M.roundingFN(parseFloat(g)*N)/N).toFixed(L)),g=g.toString().replace(".",S)}if(M.digits===0&&g.indexOf(S)!==-1&&(g=g.substring(0,g.indexOf(S))),M.min!==null||M.max!==null){var j=g.toString().replace(S,".");M.min!==null&&j<M.min?g=M.min.toString().replace(".",S):M.max!==null&&j>M.max&&(g=M.max.toString().replace(".",S))}return w&&g.charAt(0)!=="-"&&(g="-"+g),A(g.toString().split(""),L,M,R).join("")},onBeforeWrite:function(g,M,v,S){function w(I,H){if(S.__financeInput!==!1||H){var J=I.indexOf(S.radixPoint);J!==-1&&I.splice(J,1)}if(S.groupSeparator!=="")for(;(J=I.indexOf(S.groupSeparator))!==-1;)I.splice(J,1);return I}var k,b;if(S.stripLeadingZeroes&&(b=(function(I,H){var J=new RegExp("(^"+(H.negationSymbol.front!==""?(0,c.default)(H.negationSymbol.front)+"?":"")+(0,c.default)(H.prefix)+")(.*)("+(0,c.default)(H.suffix)+(H.negationSymbol.back!=""?(0,c.default)(H.negationSymbol.back)+"?":"")+"$)").exec(I.slice().reverse().join("")),F=J?J[2]:"",P=!1;return F&&(F=F.split(H.radixPoint.charAt(0))[0],P=new RegExp("^[0"+H.groupSeparator+"]*").exec(F)),!(!P||!(P[0].length>1||P[0].length>0&&P[0].length<F.length))&&P})(M,S)))for(var T=M.join("").lastIndexOf(b[0].split("").reverse().join(""))-(b[0]==b.input?0:1),R=b[0]==b.input?1:0,L=b[0].length-R;L>0;L--)this.maskset.validPositions.splice(T+L,1),delete M[T+L];if(g)switch(g.type){case"blur":case"checkval":if(S.min!==null){var N=S.onUnMask(M.slice().reverse().join(""),void 0,x.extend({},S,{unmaskAsNumber:!0}));if(S.min!==null&&N<S.min)return{refreshFromBuffer:!0,buffer:A(S.min.toString().replace(".",S.radixPoint).split(""),S.digits,S).reverse()}}if(M[M.length-1]===S.negationSymbol.front){var j=new RegExp("(^"+(S.negationSymbol.front!=""?(0,c.default)(S.negationSymbol.front)+"?":"")+(0,c.default)(S.prefix)+")(.*)("+(0,c.default)(S.suffix)+(S.negationSymbol.back!=""?(0,c.default)(S.negationSymbol.back)+"?":"")+"$)").exec(w(M.slice(),!0).reverse().join(""));(j?j[2]:"")==0&&(k={refreshFromBuffer:!0,buffer:[0]})}else S.radixPoint!==""&&M.indexOf(S.radixPoint)===S.suffix.length&&(k&&k.buffer?k.buffer.splice(0,1+S.suffix.length):(M.splice(0,1+S.suffix.length),k={refreshFromBuffer:!0,buffer:w(M)}));if(S.enforceDigitsOnBlur){var G=(k=k||{})&&k.buffer||M.slice().reverse();k.refreshFromBuffer=!0,k.buffer=A(G,S.digits,S,!0).reverse()}}return k},onKeyDown:function(g,M,v,S){var w,k=x(this);if(g.location!=3){var b,T=g.key;if((b=S.shortcuts&&S.shortcuts[T])&&b.length>1)return this.inputmask.__valueSet.call(this,parseFloat(this.inputmask.unmaskedvalue())*parseInt(b)),k.trigger("setvalue"),!1}if(g.ctrlKey)switch(g.key){case f.keys.ArrowUp:return this.inputmask.__valueSet.call(this,parseFloat(this.inputmask.unmaskedvalue())+parseInt(S.step)),k.trigger("setvalue"),!1;case f.keys.ArrowDown:return this.inputmask.__valueSet.call(this,parseFloat(this.inputmask.unmaskedvalue())-parseInt(S.step)),k.trigger("setvalue"),!1}if(!g.shiftKey&&(g.key===f.keys.Delete||g.key===f.keys.Backspace||g.key===f.keys.BACKSPACE_SAFARI)&&v.begin!==M.length){if(M[g.key===f.keys.Delete?v.begin-1:v.end]===S.negationSymbol.front)return w=M.slice().reverse(),S.negationSymbol.front!==""&&w.shift(),S.negationSymbol.back!==""&&w.pop(),k.trigger("setvalue",[w.join(""),v.begin]),!1;if(S._radixDance===!0){var R,L=M.indexOf(S.radixPoint);if(S.digitsOptional){if(L===0)return(w=M.slice().reverse()).pop(),k.trigger("setvalue",[w.join(""),v.begin>=w.length?w.length:v.begin]),!1}else if(L!==-1&&(v.begin<L||v.end<L||g.key===f.keys.Delete&&(v.begin===L||v.begin-1===L)))return v.begin===v.end&&(g.key===f.keys.Backspace||g.key===f.keys.BACKSPACE_SAFARI?v.begin++:g.key===f.keys.Delete&&v.begin-1===L&&(R=x.extend({},v),v.begin--,v.end--)),(w=M.slice().reverse()).splice(w.length-v.begin,v.begin-v.end+1),w=A(w,S.digits,S).join(""),R&&(v=R),k.trigger("setvalue",[w,v.begin>=w.length?L+1:v.begin]),!1}}}},currency:{prefix:"",groupSeparator:",",alias:"numeric",digits:2,digitsOptional:!1},decimal:{alias:"numeric"},integer:{alias:"numeric",inputmode:"numeric",digits:0},percentage:{alias:"numeric",min:0,max:100,suffix:" %",digits:0,allowMinus:!1},indianns:{alias:"numeric",_mask:function(g){return"("+g.groupSeparator+"99){*|1}("+g.groupSeparator+"999){1|1}"},groupSeparator:",",radixPoint:".",placeholder:"0",digits:2,digitsOptional:!1}})},9380:function(o,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var u=!(typeof window>"u"||!window.document||!window.document.createElement);l.default=u?window:{}},7760:function(o,l,u){Object.defineProperty(l,"__esModule",{value:!0}),l.HandleNativePlaceholder=function(D,g){var M=D?D.inputmask:this;if(c.ie){if(D.inputmask._valueGet()!==g&&(D.placeholder!==g||D.placeholder==="")){var v=p.getBuffer.call(M).slice(),S=D.inputmask._valueGet();if(S!==g){var w=p.getLastValidPosition.call(M);w===-1&&S===p.getBufferTemplate.call(M).join("")?v=[]:w!==-1&&A.call(M,v),m(D,v)}}}else D.placeholder!==g&&(D.placeholder=g,D.placeholder===""&&D.removeAttribute("placeholder"))},l.applyInputValue=y,l.checkVal=C,l.clearOptionalTail=A,l.unmaskedvalue=function(D){var g=D?D.inputmask:this,M=g.opts,v=g.maskset;if(D){if(D.inputmask===void 0)return D.value;D.inputmask&&D.inputmask.refreshValue&&y(D,D.inputmask._valueGet(!0))}for(var S=[],w=v.validPositions,k=0,b=w.length;k<b;k++)w[k]&&w[k].match&&(w[k].match.static!=1||Array.isArray(v.metadata)&&w[k].generatedInput!==!0)&&S.push(w[k].input);var T=S.length===0?"":(g.isRTL?S.reverse():S).join("");if(typeof M.onUnMask=="function"){var R=(g.isRTL?p.getBuffer.call(g).slice().reverse():p.getBuffer.call(g)).join("");T=M.onUnMask.call(g,R,T,M)}return T},l.writeBuffer=m;var c=u(9845),d=u(6030),f=u(2839),p=u(8711),h=u(7215),x=u(4713);function y(D,g,M){var v=D?D.inputmask:this,S=v.opts;D.inputmask.refreshValue=!1,typeof S.onBeforeMask=="function"&&(g=S.onBeforeMask.call(v,g,S)||g),C(D,!0,!1,g=(g||"").toString().split(""),M),v.undoValue=v._valueGet(!0),(S.clearMaskOnLostFocus||S.clearIncomplete)&&D.inputmask._valueGet()===p.getBufferTemplate.call(v).join("")&&p.getLastValidPosition.call(v)===-1&&D.inputmask._valueSet("")}function A(D){D.length=0;for(var g,M=x.getMaskTemplate.call(this,!0,0,!0,void 0,!0);(g=M.shift())!==void 0;)D.push(g);return D}function C(D,g,M,v,S){var w,k=D?D.inputmask:this,b=k.maskset,T=k.opts,R=k.dependencyLib,L=v.slice(),N="",j=-1,G=T.skipOptionalPartCharacter;T.skipOptionalPartCharacter="",p.resetMaskSet.call(k,!1),k.clicked=0,j=T.radixPoint?p.determineNewCaretPosition.call(k,{begin:0,end:0},!1,T.__financeInput===!1?"radixFocus":void 0).begin:0,b.p=j,k.caretPos={begin:j};var I=[],H=k.caretPos;if(L.forEach((function(q,X){if(q!==void 0){var K=new R.Event("_checkval");K.key=q,N+=q;var se=p.getLastValidPosition.call(k,void 0,!0);(function(U,Z){for(var de=x.getMaskTemplate.call(k,!0,0).slice(U,p.seekNext.call(k,U,!1,!1)).join("").replace(/'/g,""),V=de.indexOf(Z);V>0&&de[V-1]===" ";)V--;var W=V===0&&!p.isMask.call(k,U)&&(x.getTest.call(k,U).match.nativeDef===Z.charAt(0)||x.getTest.call(k,U).match.static===!0&&x.getTest.call(k,U).match.nativeDef==="'"+Z.charAt(0)||x.getTest.call(k,U).match.nativeDef===" "&&(x.getTest.call(k,U+1).match.nativeDef===Z.charAt(0)||x.getTest.call(k,U+1).match.static===!0&&x.getTest.call(k,U+1).match.nativeDef==="'"+Z.charAt(0)));if(!W&&V>0&&!p.isMask.call(k,U,!1,!0)){var le=p.seekNext.call(k,U);k.caretPos.begin<le&&(k.caretPos={begin:le})}return W})(j,N)?w=d.EventHandlers.keypressEvent.call(k,K,!0,!1,M,se+1):(w=d.EventHandlers.keypressEvent.call(k,K,!0,!1,M,k.caretPos.begin))&&(j=k.caretPos.begin+1,N=""),w?(w.pos!==void 0&&b.validPositions[w.pos]&&b.validPositions[w.pos].match.static===!0&&b.validPositions[w.pos].alternation===void 0&&(I.push(w.pos),k.isRTL||(w.forwardPosition=w.pos+1)),m.call(k,void 0,p.getBuffer.call(k),w.forwardPosition,K,!1),k.caretPos={begin:w.forwardPosition,end:w.forwardPosition},H=k.caretPos):b.validPositions[X]===void 0&&L[X]===x.getPlaceholder.call(k,X)&&p.isMask.call(k,X,!0)?k.caretPos.begin++:k.caretPos=H}})),I.length>0){var J,F,P=p.seekNext.call(k,-1,void 0,!1);if(!h.isComplete.call(k,p.getBuffer.call(k))&&I.length<=P||h.isComplete.call(k,p.getBuffer.call(k))&&I.length>0&&I.length!==P&&I[0]===0){for(var Q=P;(J=I.shift())!==void 0;)if(J<Q){var z=new R.Event("_checkval");if((F=b.validPositions[J]).generatedInput=!0,z.key=F.input,(w=d.EventHandlers.keypressEvent.call(k,z,!0,!1,M,Q))&&w.pos!==void 0&&w.pos!==J&&b.validPositions[w.pos]&&b.validPositions[w.pos].match.static===!0)I.push(w.pos);else if(!w)break;Q++}}}g&&m.call(k,D,p.getBuffer.call(k),w?w.forwardPosition:k.caretPos.begin,S||new R.Event("checkval"),S&&(S.type==="input"&&k.undoValue!==p.getBuffer.call(k).join("")||S.type==="paste")),T.skipOptionalPartCharacter=G}function m(D,g,M,v,S){var w=D?D.inputmask:this,k=w.opts,b=w.dependencyLib;if(v&&typeof k.onBeforeWrite=="function"){var T=k.onBeforeWrite.call(w,v,g,M,k);if(T){if(T.refreshFromBuffer){var R=T.refreshFromBuffer;h.refreshFromBuffer.call(w,R===!0?R:R.start,R.end,T.buffer||g),g=p.getBuffer.call(w,!0)}M!==void 0&&(M=T.caret!==void 0?T.caret:M)}}if(D!==void 0&&(D.inputmask._valueSet(g.join("")),M===void 0||v!==void 0&&v.type==="blur"||p.caret.call(w,D,M,void 0,void 0,v!==void 0&&v.type==="keydown"&&(v.key===f.keys.Delete||v.key===f.keys.Backspace)),D.inputmask.writeBufferHook===void 0||D.inputmask.writeBufferHook(M),S===!0)){var L=b(D),N=D.inputmask._valueGet();D.inputmask.skipInputEvent=!0,L.trigger("input"),setTimeout((function(){N===p.getBufferTemplate.call(w).join("")?L.trigger("cleared"):h.isComplete.call(w,g)===!0&&L.trigger("complete")}),0)}}},2394:function(o,l,u){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var c=M(u(3976)),d=M(u(7392)),f=M(u(4963)),p=u(9716),h=M(u(9380)),x=u(7760),y=u(157),A=u(2391),C=u(8711),m=u(7215),D=u(4713);function g(b){return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(T){return typeof T}:function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},g(b)}function M(b){return b&&b.__esModule?b:{default:b}}var v=h.default.document,S="_inputmask_opts";function w(b,T,R){if(!(this instanceof w))return new w(b,T,R);this.dependencyLib=f.default,this.el=void 0,this.events={},this.maskset=void 0,R!==!0&&(Object.prototype.toString.call(b)==="[object Object]"?T=b:(T=T||{},b&&(T.alias=b)),this.opts=f.default.extend(!0,{},this.defaults,T),this.noMasksCache=T&&T.definitions!==void 0,this.userOptions=T||{},k(this.opts.alias,T,this.opts)),this.refreshValue=!1,this.undoValue=void 0,this.$el=void 0,this.skipInputEvent=!1,this.validationEvent=!1,this.ignorable=!1,this.maxLength,this.mouseEnter=!1,this.clicked=0,this.originalPlaceholder=void 0,this.isComposing=!1,this.hasAlternator=!1}function k(b,T,R){var L=w.prototype.aliases[b];return L?(L.alias&&k(L.alias,void 0,R),f.default.extend(!0,R,L),f.default.extend(!0,R,T),!0):(R.mask===null&&(R.mask=b),!1)}w.prototype={dataAttribute:"data-inputmask",defaults:c.default,definitions:d.default,aliases:{},masksCache:{},i18n:{},get isRTL(){return this.opts.isRTL||this.opts.numericInput},mask:function(b){var T=this;return typeof b=="string"&&(b=v.getElementById(b)||v.querySelectorAll(b)),(b=b.nodeName?[b]:Array.isArray(b)?b:[].slice.call(b)).forEach((function(R,L){var N=f.default.extend(!0,{},T.opts);if((function(G,I,H,J){function F(K,se){var U=J===""?K:J+"-"+K;(se=se!==void 0?se:G.getAttribute(U))!==null&&(typeof se=="string"&&(K.indexOf("on")===0?se=h.default[se]:se==="false"?se=!1:se==="true"&&(se=!0)),H[K]=se)}if(I.importDataAttributes===!0){var P,Q,z,q,X=G.getAttribute(J);if(X&&X!==""&&(X=X.replace(/'/g,'"'),Q=JSON.parse("{"+X+"}")),Q){for(q in z=void 0,Q)if(q.toLowerCase()==="alias"){z=Q[q];break}}for(P in F("alias",z),H.alias&&k(H.alias,H,I),I){if(Q){for(q in z=void 0,Q)if(q.toLowerCase()===P.toLowerCase()){z=Q[q];break}}F(P,z)}}return f.default.extend(!0,I,H),(G.dir==="rtl"||I.rightAlign)&&(G.style.textAlign="right"),(G.dir==="rtl"||I.numericInput)&&(G.dir="ltr",G.removeAttribute("dir"),I.isRTL=!0),Object.keys(H).length})(R,N,f.default.extend(!0,{},T.userOptions),T.dataAttribute)){var j=(0,A.generateMaskSet)(N,T.noMasksCache);j!==void 0&&(R.inputmask!==void 0&&(R.inputmask.opts.autoUnmask=!0,R.inputmask.remove()),R.inputmask=new w(void 0,void 0,!0),R.inputmask.opts=N,R.inputmask.noMasksCache=T.noMasksCache,R.inputmask.userOptions=f.default.extend(!0,{},T.userOptions),R.inputmask.el=R,R.inputmask.$el=(0,f.default)(R),R.inputmask.maskset=j,f.default.data(R,S,T.userOptions),y.mask.call(R.inputmask))}})),b&&b[0]&&b[0].inputmask||this},option:function(b,T){return typeof b=="string"?this.opts[b]:g(b)==="object"?(f.default.extend(this.userOptions,b),this.el&&T!==!0&&this.mask(this.el),this):void 0},unmaskedvalue:function(b){if(this.maskset=this.maskset||(0,A.generateMaskSet)(this.opts,this.noMasksCache),this.el===void 0||b!==void 0){var T=(typeof this.opts.onBeforeMask=="function"&&this.opts.onBeforeMask.call(this,b,this.opts)||b).split("");x.checkVal.call(this,void 0,!1,!1,T),typeof this.opts.onBeforeWrite=="function"&&this.opts.onBeforeWrite.call(this,void 0,C.getBuffer.call(this),0,this.opts)}return x.unmaskedvalue.call(this,this.el)},remove:function(){if(this.el){f.default.data(this.el,S,null);var b=this.opts.autoUnmask?(0,x.unmaskedvalue)(this.el):this._valueGet(this.opts.autoUnmask);b!==C.getBufferTemplate.call(this).join("")?this._valueSet(b,this.opts.autoUnmask):this._valueSet(""),p.EventRuler.off(this.el),Object.getOwnPropertyDescriptor&&Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(this.el),"value")&&this.__valueGet&&Object.defineProperty(this.el,"value",{get:this.__valueGet,set:this.__valueSet,configurable:!0}):v.__lookupGetter__&&this.el.__lookupGetter__("value")&&this.__valueGet&&(this.el.__defineGetter__("value",this.__valueGet),this.el.__defineSetter__("value",this.__valueSet)),this.el.inputmask=void 0}return this.el},getemptymask:function(){return this.maskset=this.maskset||(0,A.generateMaskSet)(this.opts,this.noMasksCache),(this.isRTL?C.getBufferTemplate.call(this).reverse():C.getBufferTemplate.call(this)).join("")},hasMaskedValue:function(){return!this.opts.autoUnmask},isComplete:function(){return this.maskset=this.maskset||(0,A.generateMaskSet)(this.opts,this.noMasksCache),m.isComplete.call(this,C.getBuffer.call(this))},getmetadata:function(){if(this.maskset=this.maskset||(0,A.generateMaskSet)(this.opts,this.noMasksCache),Array.isArray(this.maskset.metadata)){var b=D.getMaskTemplate.call(this,!0,0,!1).join("");return this.maskset.metadata.forEach((function(T){return T.mask!==b||(b=T,!1)})),b}return this.maskset.metadata},isValid:function(b){if(this.maskset=this.maskset||(0,A.generateMaskSet)(this.opts,this.noMasksCache),b){var T=(typeof this.opts.onBeforeMask=="function"&&this.opts.onBeforeMask.call(this,b,this.opts)||b).split("");x.checkVal.call(this,void 0,!0,!1,T)}else b=this.isRTL?C.getBuffer.call(this).slice().reverse().join(""):C.getBuffer.call(this).join("");for(var R=C.getBuffer.call(this),L=C.determineLastRequiredPosition.call(this),N=R.length-1;N>L&&!C.isMask.call(this,N);N--);return R.splice(L,N+1-L),m.isComplete.call(this,R)&&b===(this.isRTL?C.getBuffer.call(this).slice().reverse().join(""):C.getBuffer.call(this).join(""))},format:function(b,T){this.maskset=this.maskset||(0,A.generateMaskSet)(this.opts,this.noMasksCache);var R=(typeof this.opts.onBeforeMask=="function"&&this.opts.onBeforeMask.call(this,b,this.opts)||b).split("");x.checkVal.call(this,void 0,!0,!1,R);var L=this.isRTL?C.getBuffer.call(this).slice().reverse().join(""):C.getBuffer.call(this).join("");return T?{value:L,metadata:this.getmetadata()}:L},setValue:function(b){this.el&&(0,f.default)(this.el).trigger("setvalue",[b])},analyseMask:A.analyseMask},w.extendDefaults=function(b){f.default.extend(!0,w.prototype.defaults,b)},w.extendDefinitions=function(b){f.default.extend(!0,w.prototype.definitions,b)},w.extendAliases=function(b){f.default.extend(!0,w.prototype.aliases,b)},w.format=function(b,T,R){return w(T).format(b,R)},w.unmask=function(b,T){return w(T).unmaskedvalue(b)},w.isValid=function(b,T){return w(T).isValid(b)},w.remove=function(b){typeof b=="string"&&(b=v.getElementById(b)||v.querySelectorAll(b)),(b=b.nodeName?[b]:b).forEach((function(T){T.inputmask&&T.inputmask.remove()}))},w.setValue=function(b,T){typeof b=="string"&&(b=v.getElementById(b)||v.querySelectorAll(b)),(b=b.nodeName?[b]:b).forEach((function(R){R.inputmask?R.inputmask.setValue(T):(0,f.default)(R).trigger("setvalue",[T])}))},w.dependencyLib=f.default,h.default.Inputmask=w,l.default=w},5296:function(o,l,u){function c(v){return c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},c(v)}var d=D(u(9380)),f=D(u(2394));function p(v,S){for(var w=0;w<S.length;w++){var k=S[w];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(v,(b=k.key,T=void 0,T=(function(R,L){if(c(R)!=="object"||R===null)return R;var N=R[Symbol.toPrimitive];if(N!==void 0){var j=N.call(R,L);if(c(j)!=="object")return j;throw new TypeError("@@toPrimitive must return a primitive value.")}return(L==="string"?String:Number)(R)})(b,"string"),c(T)==="symbol"?T:String(T)),k)}var b,T}function h(v){var S=A();return function(){var w,k=m(v);if(S){var b=m(this).constructor;w=Reflect.construct(k,arguments,b)}else w=k.apply(this,arguments);return(function(T,R){if(R&&(c(R)==="object"||typeof R=="function"))return R;if(R!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return(function(L){if(L===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return L})(T)})(this,w)}}function x(v){var S=typeof Map=="function"?new Map:void 0;return x=function(w){if(w===null||!(function(b){try{return Function.toString.call(b).indexOf("[native code]")!==-1}catch{return typeof b=="function"}})(w))return w;if(typeof w!="function")throw new TypeError("Super expression must either be null or a function");if(S!==void 0){if(S.has(w))return S.get(w);S.set(w,k)}function k(){return y(w,arguments,m(this).constructor)}return k.prototype=Object.create(w.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),C(k,w)},x(v)}function y(v,S,w){return y=A()?Reflect.construct.bind():function(k,b,T){var R=[null];R.push.apply(R,b);var L=new(Function.bind.apply(k,R));return T&&C(L,T.prototype),L},y.apply(null,arguments)}function A(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch{return!1}}function C(v,S){return C=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(w,k){return w.__proto__=k,w},C(v,S)}function m(v){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(S){return S.__proto__||Object.getPrototypeOf(S)},m(v)}function D(v){return v&&v.__esModule?v:{default:v}}var g=d.default.document;if(g&&g.head&&g.head.attachShadow&&d.default.customElements&&d.default.customElements.get("input-mask")===void 0){var M=(function(v){(function(T,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function");T.prototype=Object.create(R&&R.prototype,{constructor:{value:T,writable:!0,configurable:!0}}),Object.defineProperty(T,"prototype",{writable:!1}),R&&C(T,R)})(b,v);var S,w,k=h(b);function b(){var T;(function(G,I){if(!(G instanceof I))throw new TypeError("Cannot call a class as a function")})(this,b);var R=(T=k.call(this)).getAttributeNames(),L=T.attachShadow({mode:"closed"});for(var N in T.input=g.createElement("input"),T.input.type="text",L.appendChild(T.input),R)Object.prototype.hasOwnProperty.call(R,N)&&T.input.setAttribute(R[N],T.getAttribute(R[N]));var j=new f.default;return j.dataAttribute="",j.mask(T.input),T.input.inputmask.shadowRoot=L,T}return S=b,(w=[{key:"attributeChangedCallback",value:function(T,R,L){this.input.setAttribute(T,L)}},{key:"value",get:function(){return this.input.value},set:function(T){this.input.value=T}}])&&p(S.prototype,w),Object.defineProperty(S,"prototype",{writable:!1}),b})(x(HTMLElement));d.default.customElements.define("input-mask",M)}},2839:function(o,l){function u(y){return u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(A){return typeof A}:function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},u(y)}function c(y,A){return(function(C){if(Array.isArray(C))return C})(y)||(function(C,m){var D=C==null?null:typeof Symbol<"u"&&C[Symbol.iterator]||C["@@iterator"];if(D!=null){var g,M,v,S,w=[],k=!0,b=!1;try{if(v=(D=D.call(C)).next,m!==0)for(;!(k=(g=v.call(D)).done)&&(w.push(g.value),w.length!==m);k=!0);}catch(T){b=!0,M=T}finally{try{if(!k&&D.return!=null&&(S=D.return(),Object(S)!==S))return}finally{if(b)throw M}}return w}})(y,A)||(function(C,m){if(C){if(typeof C=="string")return d(C,m);var D=Object.prototype.toString.call(C).slice(8,-1);if(D==="Object"&&C.constructor&&(D=C.constructor.name),D==="Map"||D==="Set")return Array.from(C);if(D==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return d(C,m)}})(y,A)||(function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
15
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function d(y,A){(A==null||A>y.length)&&(A=y.length);for(var C=0,m=new Array(A);C<A;C++)m[C]=y[C];return m}function f(y,A){var C=Object.keys(y);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(y);A&&(m=m.filter((function(D){return Object.getOwnPropertyDescriptor(y,D).enumerable}))),C.push.apply(C,m)}return C}function p(y,A,C){return(A=(function(m){var D=(function(g,M){if(u(g)!=="object"||g===null)return g;var v=g[Symbol.toPrimitive];if(v!==void 0){var S=v.call(g,M);if(u(S)!=="object")return S;throw new TypeError("@@toPrimitive must return a primitive value.")}return(M==="string"?String:Number)(g)})(m,"string");return u(D)==="symbol"?D:String(D)})(A))in y?Object.defineProperty(y,A,{value:C,enumerable:!0,configurable:!0,writable:!0}):y[A]=C,y}Object.defineProperty(l,"__esModule",{value:!0}),l.keys=l.keyCode=void 0,l.toKey=function(y,A){return x[y]||(A?String.fromCharCode(y):String.fromCharCode(y).toLowerCase())},l.toKeyCode=function(y){return h[y]};var h=l.keyCode=(function(y){for(var A=1;A<arguments.length;A++){var C=arguments[A]!=null?arguments[A]:{};A%2?f(Object(C),!0).forEach((function(m){p(y,m,C[m])})):Object.getOwnPropertyDescriptors?Object.defineProperties(y,Object.getOwnPropertyDescriptors(C)):f(Object(C)).forEach((function(m){Object.defineProperty(y,m,Object.getOwnPropertyDescriptor(C,m))}))}return y})({c:67,x:88,z:90,BACKSPACE_SAFARI:127,Enter:13,Meta_LEFT:91,Meta_RIGHT:92,Space:32},{Alt:18,AltGraph:18,ArrowDown:40,ArrowLeft:37,ArrowRight:39,ArrowUp:38,Backspace:8,CapsLock:20,Control:17,ContextMenu:93,Dead:221,Delete:46,End:35,Escape:27,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,Home:36,Insert:45,NumLock:144,PageDown:34,PageUp:33,Pause:19,PrintScreen:44,Process:229,Shift:16,ScrollLock:145,Tab:9,Unidentified:229}),x=Object.entries(h).reduce((function(y,A){var C=c(A,2),m=C[0],D=C[1];return y[D]=y[D]===void 0?m:y[D],y}),{});l.keys=Object.entries(h).reduce((function(y,A){var C=c(A,2),m=C[0];return C[1],y[m]=m==="Space"?" ":m,y}),{})},2391:function(o,l,u){Object.defineProperty(l,"__esModule",{value:!0}),l.analyseMask=function(A,C,m){var D,g,M,v,S,w,k=/(?:[?*+]|\{[0-9+*]+(?:,[0-9+*]*)?(?:\|[0-9+*]*)?\})|[^.?*+^${[]()|\\]+|./g,b=/\[\^?]?(?:[^\\\]]+|\\[\S\s]?)*]?|\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9][0-9]*|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|c[A-Za-z]|[\S\s]?)|\((?:\?[:=!]?)?|(?:[?*+]|\{[0-9]+(?:,[0-9]*)?\})\??|[^.?*+^${[()|\\]+|./g,T=!1,R=new p.default,L=[],N=[],j=!1;function G(V,W,le){le=le!==void 0?le:V.matches.length;var oe=V.matches[le-1];if(C){if(W.indexOf("[")===0||T&&/\\d|\\s|\\w|\\p/i.test(W)||W==="."){var ye=m.casing?"i":"";/\\p\{.*}/i.test(W)&&(ye+="u"),V.matches.splice(le++,0,{fn:new RegExp(W,ye),static:!1,optionality:!1,newBlockMarker:oe===void 0?"master":oe.def!==W,casing:null,def:W,placeholder:h(m.placeholder)==="object"?m.placeholder[R.matches.length]:void 0,nativeDef:W})}else T&&(W=W[W.length-1]),W.split("").forEach((function(xe,Fe){oe=V.matches[le-1],V.matches.splice(le++,0,{fn:/[a-z]/i.test(m.staticDefinitionSymbol||xe)?new RegExp("["+(m.staticDefinitionSymbol||xe)+"]",m.casing?"i":""):null,static:!0,optionality:!1,newBlockMarker:oe===void 0?"master":oe.def!==xe&&oe.static!==!0,casing:null,def:m.staticDefinitionSymbol||xe,placeholder:m.staticDefinitionSymbol!==void 0?xe:h(m.placeholder)==="object"?m.placeholder[R.matches.length]:void 0,nativeDef:(T?"'":"")+xe})}));T=!1}else{var we=m.definitions&&m.definitions[W]||m.usePrototypeDefinitions&&f.default.prototype.definitions[W];we&&!T?V.matches.splice(le++,0,{fn:we.validator?typeof we.validator=="string"?new RegExp(we.validator,m.casing?"i":""):new function(){this.test=we.validator}:/./,static:we.static||!1,optionality:we.optional||!1,defOptionality:we.optional||!1,newBlockMarker:oe===void 0||we.optional?"master":oe.def!==(we.definitionSymbol||W),casing:we.casing,def:we.definitionSymbol||W,placeholder:we.placeholder,nativeDef:W,generated:we.generated}):(V.matches.splice(le++,0,{fn:/[a-z]/i.test(m.staticDefinitionSymbol||W)?new RegExp("["+(m.staticDefinitionSymbol||W)+"]",m.casing?"i":""):null,static:!0,optionality:!1,newBlockMarker:oe===void 0?"master":oe.def!==W&&oe.static!==!0,casing:null,def:m.staticDefinitionSymbol||W,placeholder:m.staticDefinitionSymbol!==void 0?W:void 0,nativeDef:(T?"'":"")+W}),T=!1)}}function I(){if(L.length>0){if(G(v=L[L.length-1],g),v.isAlternator){S=L.pop();for(var V=0;V<S.matches.length;V++)S.matches[V].isGroup&&(S.matches[V].isGroup=!1);L.length>0?(v=L[L.length-1]).matches.push(S):R.matches.push(S)}}else G(R,g)}function H(V){var W=new p.default(!0);return W.openGroup=!1,W.matches=V,W}function J(){if((M=L.pop()).openGroup=!1,M!==void 0)if(L.length>0){if((v=L[L.length-1]).matches.push(M),v.isAlternator){S=L.pop();for(var V=0;V<S.matches.length;V++)S.matches[V].isGroup=!1,S.matches[V].alternatorGroup=!1;L.length>0?(v=L[L.length-1]).matches.push(S):R.matches.push(S)}}else R.matches.push(M);else I()}function F(V){var W=V.pop();return W.isQuantifier&&(W=H([V.pop(),W])),W}for(C&&(m.optionalmarker[0]=void 0,m.optionalmarker[1]=void 0);D=C?b.exec(A):k.exec(A);){if(g=D[0],C){switch(g.charAt(0)){case"?":g="{0,1}";break;case"+":case"*":g="{"+g+"}";break;case"|":if(L.length===0){var P=H(R.matches);P.openGroup=!0,L.push(P),R.matches=[],j=!0}}switch(g){case"\\d":g="[0-9]";break;case"\\p":g+=b.exec(A)[0],g+=b.exec(A)[0]}}if(T)I();else switch(g.charAt(0)){case"$":case"^":C||I();break;case m.escapeChar:T=!0,C&&I();break;case m.optionalmarker[1]:case m.groupmarker[1]:J();break;case m.optionalmarker[0]:L.push(new p.default(!1,!0));break;case m.groupmarker[0]:L.push(new p.default(!0));break;case m.quantifiermarker[0]:var Q=new p.default(!1,!1,!0),z=(g=g.replace(/[{}?]/g,"")).split("|"),q=z[0].split(","),X=isNaN(q[0])?q[0]:parseInt(q[0]),K=q.length===1?X:isNaN(q[1])?q[1]:parseInt(q[1]),se=isNaN(z[1])?z[1]:parseInt(z[1]);X!=="*"&&X!=="+"||(X=K==="*"?0:1),Q.quantifier={min:X,max:K,jit:se};var U=L.length>0?L[L.length-1].matches:R.matches;(D=U.pop()).isGroup||(D=H([D])),U.push(D),U.push(Q);break;case m.alternatormarker:if(L.length>0){var Z=(v=L[L.length-1]).matches[v.matches.length-1];w=v.openGroup&&(Z.matches===void 0||Z.isGroup===!1&&Z.isAlternator===!1)?L.pop():F(v.matches)}else w=F(R.matches);if(w.isAlternator)L.push(w);else if(w.alternatorGroup?(S=L.pop(),w.alternatorGroup=!1):S=new p.default(!1,!1,!1,!0),S.matches.push(w),L.push(S),w.openGroup){w.openGroup=!1;var de=new p.default(!0);de.alternatorGroup=!0,L.push(de)}break;default:I()}}for(j&&J();L.length>0;)M=L.pop(),R.matches.push(M);return R.matches.length>0&&((function V(W){W&&W.matches&&W.matches.forEach((function(le,oe){var ye=W.matches[oe+1];(ye===void 0||ye.matches===void 0||ye.isQuantifier===!1)&&le&&le.isGroup&&(le.isGroup=!1,C||(G(le,m.groupmarker[0],0),le.openGroup!==!0&&G(le,m.groupmarker[1]))),V(le)}))})(R),N.push(R)),(m.numericInput||m.isRTL)&&(function V(W){for(var le in W.matches=W.matches.reverse(),W.matches)if(Object.prototype.hasOwnProperty.call(W.matches,le)){var oe=parseInt(le);if(W.matches[le].isQuantifier&&W.matches[oe+1]&&W.matches[oe+1].isGroup){var ye=W.matches[le];W.matches.splice(le,1),W.matches.splice(oe+1,0,ye)}W.matches[le].matches!==void 0?W.matches[le]=V(W.matches[le]):W.matches[le]=((we=W.matches[le])===m.optionalmarker[0]?we=m.optionalmarker[1]:we===m.optionalmarker[1]?we=m.optionalmarker[0]:we===m.groupmarker[0]?we=m.groupmarker[1]:we===m.groupmarker[1]&&(we=m.groupmarker[0]),we)}var we;return W})(N[0]),N},l.generateMaskSet=function(A,C){var m;function D(v,S){var w=S.repeat,k=S.groupmarker,b=S.quantifiermarker,T=S.keepStatic;if(w>0||w==="*"||w==="+"){var R=w==="*"?0:w==="+"?1:w;if(R!=w)v=k[0]+v+k[1]+b[0]+R+","+w+b[1];else for(var L=v,N=1;N<R;N++)v+=L}if(T===!0){var j=v.match(new RegExp("(.)\\[([^\\]]*)\\]","g"));j&&j.forEach((function(G,I){var H=(function(P,Q){return(function(z){if(Array.isArray(z))return z})(P)||(function(z,q){var X=z==null?null:typeof Symbol<"u"&&z[Symbol.iterator]||z["@@iterator"];if(X!=null){var K,se,U,Z,de=[],V=!0,W=!1;try{if(U=(X=X.call(z)).next,q!==0)for(;!(V=(K=U.call(X)).done)&&(de.push(K.value),de.length!==q);V=!0);}catch(le){W=!0,se=le}finally{try{if(!V&&X.return!=null&&(Z=X.return(),Object(Z)!==Z))return}finally{if(W)throw se}}return de}})(P,Q)||(function(z,q){if(z){if(typeof z=="string")return x(z,q);var X=Object.prototype.toString.call(z).slice(8,-1);if(X==="Object"&&z.constructor&&(X=z.constructor.name),X==="Map"||X==="Set")return Array.from(z);if(X==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(X))return x(z,q)}})(P,Q)||(function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
16
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()})(G.split("["),2),J=H[0],F=H[1];F=F.replace("]",""),v=v.replace(new RegExp("".concat((0,d.default)(J),"\\[").concat((0,d.default)(F),"\\]")),J.charAt(0)===F.charAt(0)?"(".concat(J,"|").concat(J).concat(F,")"):"".concat(J,"[").concat(F,"]"))}))}return v}function g(v,S,w){var k,b,T=!1;return v!==null&&v!==""||((T=w.regex!==null)?v=(v=w.regex).replace(/^(\^)(.*)(\$)$/,"$2"):(T=!0,v=".*")),v.length===1&&w.greedy===!1&&w.repeat!==0&&(w.placeholder=""),v=D(v,w),b=T?"regex_"+w.regex:w.numericInput?v.split("").reverse().join(""):v,w.keepStatic!==null&&(b="ks_"+w.keepStatic+b),h(w.placeholder)==="object"&&(b="ph_"+JSON.stringify(w.placeholder)+b),f.default.prototype.masksCache[b]===void 0||C===!0?(k={mask:v,maskToken:f.default.prototype.analyseMask(v,T,w),validPositions:[],_buffer:void 0,buffer:void 0,tests:{},excludes:{},metadata:S,maskLength:void 0,jitOffset:{}},C!==!0&&(f.default.prototype.masksCache[b]=k,k=c.default.extend(!0,{},f.default.prototype.masksCache[b]))):k=c.default.extend(!0,{},f.default.prototype.masksCache[b]),k}if(typeof A.mask=="function"&&(A.mask=A.mask(A)),Array.isArray(A.mask)){if(A.mask.length>1){A.keepStatic===null&&(A.keepStatic=!0);var M=A.groupmarker[0];return(A.isRTL?A.mask.reverse():A.mask).forEach((function(v){M.length>1&&(M+=A.alternatormarker),v.mask!==void 0&&typeof v.mask!="function"?M+=v.mask:M+=v})),g(M+=A.groupmarker[1],A.mask,A)}A.mask=A.mask.pop()}return m=A.mask&&A.mask.mask!==void 0&&typeof A.mask.mask!="function"?g(A.mask.mask,A.mask,A):g(A.mask,A.mask,A),A.keepStatic===null&&(A.keepStatic=!1),m};var c=y(u(4963)),d=y(u(7184)),f=y(u(2394)),p=y(u(9695));function h(A){return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(C){return typeof C}:function(C){return C&&typeof Symbol=="function"&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C},h(A)}function x(A,C){(C==null||C>A.length)&&(C=A.length);for(var m=0,D=new Array(C);m<C;m++)D[m]=A[m];return D}function y(A){return A&&A.__esModule?A:{default:A}}},157:function(o,l,u){Object.defineProperty(l,"__esModule",{value:!0}),l.mask=function(){var y=this,A=this.opts,C=this.el,m=this.dependencyLib;f.EventRuler.off(C);var D=(function(v,S){var w=v.getAttribute("type"),k=v.tagName.toLowerCase()==="input"&&S.supportsInputType.includes(w)||v.isContentEditable||v.tagName.toLowerCase()==="textarea";if(!k)if(v.tagName.toLowerCase()==="input"){var b=document.createElement("input");b.setAttribute("type",w),k=b.type==="text",b=null}else k="partial";return k!==!1?(function(T){var R,L;function N(){return this.inputmask?this.inputmask.opts.autoUnmask?this.inputmask.unmaskedvalue():h.getLastValidPosition.call(y)!==-1||S.nullable!==!0?(this.inputmask.shadowRoot||this.ownerDocument).activeElement===this&&S.clearMaskOnLostFocus?(y.isRTL?p.clearOptionalTail.call(y,h.getBuffer.call(y).slice()).reverse():p.clearOptionalTail.call(y,h.getBuffer.call(y).slice())).join(""):R.call(this):"":R.call(this)}function j(I){L.call(this,I),this.inputmask&&(0,p.applyInputValue)(this,I)}if(!T.inputmask.__valueGet){if(S.noValuePatching!==!0){if(Object.getOwnPropertyDescriptor){var G=Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(T),"value"):void 0;G&&G.get&&G.set?(R=G.get,L=G.set,Object.defineProperty(T,"value",{get:N,set:j,configurable:!0})):T.tagName.toLowerCase()!=="input"&&(R=function(){return this.textContent},L=function(I){this.textContent=I},Object.defineProperty(T,"value",{get:N,set:j,configurable:!0}))}else document.__lookupGetter__&&T.__lookupGetter__("value")&&(R=T.__lookupGetter__("value"),L=T.__lookupSetter__("value"),T.__defineGetter__("value",N),T.__defineSetter__("value",j));T.inputmask.__valueGet=R,T.inputmask.__valueSet=L}T.inputmask._valueGet=function(I){return y.isRTL&&I!==!0?R.call(this.el).split("").reverse().join(""):R.call(this.el)},T.inputmask._valueSet=function(I,H){L.call(this.el,I==null?"":H!==!0&&y.isRTL?I.split("").reverse().join(""):I)},R===void 0&&(R=function(){return this.value},L=function(I){this.value=I},(function(I){if(m.valHooks&&(m.valHooks[I]===void 0||m.valHooks[I].inputmaskpatch!==!0)){var H=m.valHooks[I]&&m.valHooks[I].get?m.valHooks[I].get:function(F){return F.value},J=m.valHooks[I]&&m.valHooks[I].set?m.valHooks[I].set:function(F,P){return F.value=P,F};m.valHooks[I]={get:function(F){if(F.inputmask){if(F.inputmask.opts.autoUnmask)return F.inputmask.unmaskedvalue();var P=H(F);return h.getLastValidPosition.call(y,void 0,void 0,F.inputmask.maskset.validPositions)!==-1||S.nullable!==!0?P:""}return H(F)},set:function(F,P){var Q=J(F,P);return F.inputmask&&(0,p.applyInputValue)(F,P),Q},inputmaskpatch:!0}}})(T.type),(function(I){f.EventRuler.on(I,"mouseenter",(function(){var H=this,J=H.inputmask._valueGet(!0);J!=(H.inputmask.isRTL?h.getBuffer.call(H.inputmask).slice().reverse():h.getBuffer.call(H.inputmask)).join("")&&(0,p.applyInputValue)(H,J)}))})(T))}})(v):v.inputmask=void 0,k})(C,A);if(D!==!1){y.originalPlaceholder=C.placeholder,y.maxLength=C!==void 0?C.maxLength:void 0,y.maxLength===-1&&(y.maxLength=void 0),"inputMode"in C&&C.getAttribute("inputmode")===null&&(C.inputMode=A.inputmode,C.setAttribute("inputmode",A.inputmode)),D===!0&&(A.showMaskOnFocus=A.showMaskOnFocus&&["cc-number","cc-exp"].indexOf(C.autocomplete)===-1,c.iphone&&(A.insertModeVisual=!1,C.setAttribute("autocorrect","off")),f.EventRuler.on(C,"submit",d.EventHandlers.submitEvent),f.EventRuler.on(C,"reset",d.EventHandlers.resetEvent),f.EventRuler.on(C,"blur",d.EventHandlers.blurEvent),f.EventRuler.on(C,"focus",d.EventHandlers.focusEvent),f.EventRuler.on(C,"invalid",d.EventHandlers.invalidEvent),f.EventRuler.on(C,"click",d.EventHandlers.clickEvent),f.EventRuler.on(C,"mouseleave",d.EventHandlers.mouseleaveEvent),f.EventRuler.on(C,"mouseenter",d.EventHandlers.mouseenterEvent),f.EventRuler.on(C,"paste",d.EventHandlers.pasteEvent),f.EventRuler.on(C,"cut",d.EventHandlers.cutEvent),f.EventRuler.on(C,"complete",A.oncomplete),f.EventRuler.on(C,"incomplete",A.onincomplete),f.EventRuler.on(C,"cleared",A.oncleared),A.inputEventOnly!==!0&&f.EventRuler.on(C,"keydown",d.EventHandlers.keyEvent),(c.mobile||A.inputEventOnly)&&C.removeAttribute("maxLength"),f.EventRuler.on(C,"input",d.EventHandlers.inputFallBackEvent)),f.EventRuler.on(C,"setvalue",d.EventHandlers.setValueEvent),y.applyMaskHook===void 0||y.applyMaskHook(),h.getBufferTemplate.call(y).join(""),y.undoValue=y._valueGet(!0);var g=(C.inputmask.shadowRoot||C.ownerDocument).activeElement;if(C.inputmask._valueGet(!0)!==""||A.clearMaskOnLostFocus===!1||g===C){(0,p.applyInputValue)(C,C.inputmask._valueGet(!0),A);var M=h.getBuffer.call(y).slice();x.isComplete.call(y,M)===!1&&A.clearIncomplete&&h.resetMaskSet.call(y,!1),A.clearMaskOnLostFocus&&g!==C&&(h.getLastValidPosition.call(y)===-1?M=[]:p.clearOptionalTail.call(y,M)),(A.clearMaskOnLostFocus===!1||A.showMaskOnFocus&&g===C||C.inputmask._valueGet(!0)!=="")&&(0,p.writeBuffer)(C,M),g===C&&h.caret.call(y,C,h.seekNext.call(y,h.getLastValidPosition.call(y)))}}};var c=u(9845),d=u(6030),f=u(9716),p=u(7760),h=u(8711),x=u(7215)},9695:function(o,l){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(u,c,d,f){this.matches=[],this.openGroup=u||!1,this.alternatorGroup=!1,this.isGroup=u||!1,this.isOptional=c||!1,this.isQuantifier=d||!1,this.isAlternator=f||!1,this.quantifier={min:1,max:1}}},3194:function(){Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(o,l){if(this==null)throw new TypeError('"this" is null or not defined');var u=Object(this),c=u.length>>>0;if(c===0)return!1;for(var d=0|l,f=Math.max(d>=0?d:c-Math.abs(d),0);f<c;){if(u[f]===o)return!0;f++}return!1}})},9302:function(){var o=Function.bind.call(Function.call,Array.prototype.reduce),l=Function.bind.call(Function.call,Object.prototype.propertyIsEnumerable),u=Function.bind.call(Function.call,Array.prototype.concat),c=Object.keys;Object.entries||(Object.entries=function(d){return o(c(d),(function(f,p){return u(f,typeof p=="string"&&l(d,p)?[[p,d[p]]]:[])}),[])})},7149:function(){function o(l){return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},o(l)}typeof Object.getPrototypeOf!="function"&&(Object.getPrototypeOf=o("test".__proto__)==="object"?function(l){return l.__proto__}:function(l){return l.constructor.prototype})},4013:function(){String.prototype.includes||(String.prototype.includes=function(o,l){return typeof l!="number"&&(l=0),!(l+o.length>this.length)&&this.indexOf(o,l)!==-1})},8711:function(o,l,u){Object.defineProperty(l,"__esModule",{value:!0}),l.caret=function(m,D,g,M,v){var S,w=this,k=this.opts;if(D===void 0)return"selectionStart"in m&&"selectionEnd"in m?(D=m.selectionStart,g=m.selectionEnd):d.default.getSelection?(S=d.default.getSelection().getRangeAt(0)).commonAncestorContainer.parentNode!==m&&S.commonAncestorContainer!==m||(D=S.startOffset,g=S.endOffset):document.selection&&document.selection.createRange&&(g=(D=0-(S=document.selection.createRange()).duplicate().moveStart("character",-m.inputmask._valueGet().length))+S.text.length),{begin:M?D:C.call(w,D),end:M?g:C.call(w,g)};if(Array.isArray(D)&&(g=w.isRTL?D[0]:D[1],D=w.isRTL?D[1]:D[0]),D.begin!==void 0&&(g=w.isRTL?D.begin:D.end,D=w.isRTL?D.end:D.begin),typeof D=="number"){D=M?D:C.call(w,D),g=typeof(g=M?g:C.call(w,g))=="number"?g:D;var b=parseInt(((m.ownerDocument.defaultView||d.default).getComputedStyle?(m.ownerDocument.defaultView||d.default).getComputedStyle(m,null):m.currentStyle).fontSize)*g;if(m.scrollLeft=b>m.scrollWidth?b:0,m.inputmask.caretPos={begin:D,end:g},k.insertModeVisual&&k.insertMode===!1&&D===g&&(v||g++),m===(m.inputmask.shadowRoot||m.ownerDocument).activeElement){if("setSelectionRange"in m)m.setSelectionRange(D,g);else if(d.default.getSelection){if(S=document.createRange(),m.firstChild===void 0||m.firstChild===null){var T=document.createTextNode("");m.appendChild(T)}S.setStart(m.firstChild,D<m.inputmask._valueGet().length?D:m.inputmask._valueGet().length),S.setEnd(m.firstChild,g<m.inputmask._valueGet().length?g:m.inputmask._valueGet().length),S.collapse(!0);var R=d.default.getSelection();R.removeAllRanges(),R.addRange(S)}else m.createTextRange&&((S=m.createTextRange()).collapse(!0),S.moveEnd("character",g),S.moveStart("character",D),S.select());m.inputmask.caretHook===void 0||m.inputmask.caretHook.call(w,{begin:D,end:g})}}},l.determineLastRequiredPosition=function(m){var D,g,M=this,v=M.maskset,S=M.dependencyLib,w=x.call(M),k={},b=v.validPositions[w],T=p.getMaskTemplate.call(M,!0,x.call(M),!0,!0),R=T.length,L=b!==void 0?b.locator.slice():void 0;for(D=w+1;D<T.length;D++)L=(g=p.getTestTemplate.call(M,D,L,D-1)).locator.slice(),k[D]=S.extend(!0,{},g);var N=b&&b.alternation!==void 0?b.locator[b.alternation]:void 0;for(D=R-1;D>w&&((g=k[D]).match.optionality||g.match.optionalQuantifier&&g.match.newBlockMarker||N&&(N!==k[D].locator[b.alternation]&&g.match.static!==!0||g.match.static===!0&&g.locator[b.alternation]&&f.checkAlternationMatch.call(M,g.locator[b.alternation].toString().split(","),N.toString().split(","))&&p.getTests.call(M,D)[0].def!==""))&&T[D]===p.getPlaceholder.call(M,D,g.match);D--)R--;return m?{l:R,def:k[R]?k[R].match:void 0}:R},l.determineNewCaretPosition=function(m,D,g){var M,v,S,w=this,k=w.maskset,b=w.opts;if(D&&(w.isRTL?m.end=m.begin:m.begin=m.end),m.begin===m.end){switch(g=g||b.positionCaretOnClick){case"none":break;case"select":m={begin:0,end:h.call(w).length};break;case"ignore":m.end=m.begin=A.call(w,x.call(w));break;case"radixFocus":if(w.clicked>1&&k.validPositions.length===0)break;if((function(G){if(b.radixPoint!==""&&b.digits!==0){var I=k.validPositions;if(I[G]===void 0||I[G].input===void 0){if(G<A.call(w,-1))return!0;var H=h.call(w).indexOf(b.radixPoint);if(H!==-1){for(var J=0,F=I.length;J<F;J++)if(I[J]&&H<J&&I[J].input!==p.getPlaceholder.call(w,J))return!1;return!0}}}return!1})(m.begin)){var T=h.call(w).join("").indexOf(b.radixPoint);m.end=m.begin=b.numericInput?A.call(w,T):T;break}default:if(M=m.begin,v=x.call(w,M,!0),M<=(S=A.call(w,v!==-1||y.call(w,0)?v:-1)))m.end=m.begin=y.call(w,M,!1,!0)?M:A.call(w,M);else{var R=k.validPositions[v],L=p.getTestTemplate.call(w,S,R?R.match.locator:void 0,R),N=p.getPlaceholder.call(w,S,L.match);if(N!==""&&h.call(w)[S]!==N&&L.match.optionalQuantifier!==!0&&L.match.newBlockMarker!==!0||!y.call(w,S,b.keepStatic,!0)&&L.match.def===N){var j=A.call(w,S);(M>=j||M===S)&&(S=j)}m.end=m.begin=S}}return m}},l.getBuffer=h,l.getBufferTemplate=function(){var m=this.maskset;return m._buffer===void 0&&(m._buffer=p.getMaskTemplate.call(this,!1,1),m.buffer===void 0&&(m.buffer=m._buffer.slice())),m._buffer},l.getLastValidPosition=x,l.isMask=y,l.resetMaskSet=function(m){var D=this.maskset;D.buffer=void 0,m!==!0&&(D.validPositions=[],D.p=0),m===!1&&(D.tests={},D.jitOffset={})},l.seekNext=A,l.seekPrevious=function(m,D){var g=this,M=m-1;if(m<=0)return 0;for(;M>0&&(D===!0&&(p.getTest.call(g,M).match.newBlockMarker!==!0||!y.call(g,M,void 0,!0))||D!==!0&&!y.call(g,M,void 0,!0));)M--;return M},l.translatePosition=C;var c,d=(c=u(9380))&&c.__esModule?c:{default:c},f=u(7215),p=u(4713);function h(m){var D=this,g=D.maskset;return g.buffer!==void 0&&m!==!0||(g.buffer=p.getMaskTemplate.call(D,!0,x.call(D),!0),g._buffer===void 0&&(g._buffer=g.buffer.slice())),g.buffer}function x(m,D,g){var M=this.maskset,v=-1,S=-1,w=g||M.validPositions;m===void 0&&(m=-1);for(var k=0,b=w.length;k<b;k++)w[k]&&(D||w[k].generatedInput!==!0)&&(k<=m&&(v=k),k>=m&&(S=k));return v===-1||v===m?S:S===-1||m-v<S-m?v:S}function y(m,D,g){var M=this,v=this.maskset,S=p.getTestTemplate.call(M,m).match;if(S.def===""&&(S=p.getTest.call(M,m).match),S.static!==!0)return S.fn;if(g===!0&&v.validPositions[m]!==void 0&&v.validPositions[m].generatedInput!==!0)return!0;if(D!==!0&&m>-1){if(g){var w=p.getTests.call(M,m);return w.length>1+(w[w.length-1].match.def===""?1:0)}var k=p.determineTestTemplate.call(M,m,p.getTests.call(M,m)),b=p.getPlaceholder.call(M,m,k.match);return k.match.def!==b}return!1}function A(m,D,g){var M=this;g===void 0&&(g=!0);for(var v=m+1;p.getTest.call(M,v).match.def!==""&&(D===!0&&(p.getTest.call(M,v).match.newBlockMarker!==!0||!y.call(M,v,void 0,!0))||D!==!0&&!y.call(M,v,void 0,g));)v++;return v}function C(m){var D=this.opts,g=this.el;return!this.isRTL||typeof m!="number"||D.greedy&&D.placeholder===""||!g||(m=this._valueGet().length-m)<0&&(m=0),m}},4713:function(o,l,u){Object.defineProperty(l,"__esModule",{value:!0}),l.determineTestTemplate=C,l.getDecisionTaker=x,l.getMaskTemplate=function(M,v,S,w,k){var b=this,T=this.opts,R=this.maskset,L=T.greedy;k&&T.greedy&&(T.greedy=!1,b.maskset.tests={}),v=v||0;var N,j,G,I,H=[],J=0;do{if(M===!0&&R.validPositions[J])j=(G=k&&R.validPositions[J].match.optionality&&R.validPositions[J+1]===void 0&&(R.validPositions[J].generatedInput===!0||R.validPositions[J].input==T.skipOptionalPartCharacter&&J>0)?C.call(b,J,g.call(b,J,N,J-1)):R.validPositions[J]).match,N=G.locator.slice(),H.push(S===!0?G.input:S===!1?j.nativeDef:y.call(b,J,j));else{j=(G=A.call(b,J,N,J-1)).match,N=G.locator.slice();var F=w!==!0&&(T.jitMasking!==!1?T.jitMasking:j.jit);(I=(I||R.validPositions[J-1])&&j.static&&j.def!==T.groupSeparator&&j.fn===null)||F===!1||F===void 0||typeof F=="number"&&isFinite(F)&&F>J?H.push(S===!1?j.nativeDef:y.call(b,H.length,j)):I=!1}J++}while(j.static!==!0||j.def!==""||v>J);return H[H.length-1]===""&&H.pop(),S===!1&&R.maskLength!==void 0||(R.maskLength=J-1),T.greedy=L,H},l.getPlaceholder=y,l.getTest=m,l.getTestTemplate=A,l.getTests=g,l.isSubsetOf=D;var c,d=(c=u(2394))&&c.__esModule?c:{default:c},f=u(8711);function p(M){return p=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(v){return typeof v}:function(v){return v&&typeof Symbol=="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v},p(M)}function h(M,v){var S=(M.alternation!=null?M.mloc[x(M)]:M.locator).join("");if(S!=="")for(S=S.split(":")[0];S.length<v;)S+="0";return S}function x(M){var v=M.locator[M.alternation];return typeof v=="string"&&v.length>0&&(v=v.split(",")[0]),v!==void 0?v.toString():""}function y(M,v,S){var w=this,k=this.opts,b=this.maskset;if((v=v||m.call(w,M).match).placeholder!==void 0||S===!0){if(v.placeholder!==""&&v.static===!0&&v.generated!==!0){var T=f.getLastValidPosition.call(w,M),R=f.seekNext.call(w,T);return(S?M<=R:M<R)?k.staticDefinitionSymbol&&v.static?v.nativeDef:v.def:typeof v.placeholder=="function"?v.placeholder(k):v.placeholder}return typeof v.placeholder=="function"?v.placeholder(k):v.placeholder}if(v.static===!0){if(M>-1&&b.validPositions[M]===void 0){var L,N=g.call(w,M),j=[];if(typeof k.placeholder=="string"&&N.length>1+(N[N.length-1].match.def===""?1:0)){for(var G=0;G<N.length;G++)if(N[G].match.def!==""&&N[G].match.optionality!==!0&&N[G].match.optionalQuantifier!==!0&&(N[G].match.static===!0||L===void 0||N[G].match.fn.test(L.match.def,b,M,!0,k)!==!1)&&(j.push(N[G]),N[G].match.static===!0&&(L=N[G]),j.length>1&&/[0-9a-bA-Z]/.test(j[0].match.def)))return k.placeholder.charAt(M%k.placeholder.length)}}return v.def}return p(k.placeholder)==="object"?v.def:k.placeholder.charAt(M%k.placeholder.length)}function A(M,v,S){return this.maskset.validPositions[M]||C.call(this,M,g.call(this,M,v&&v.slice(),S))}function C(M,v){var S=this.opts,w=0,k=(function(I,H){var J=0,F=!1;return H.forEach((function(P){P.match.optionality&&(J!==0&&J!==P.match.optionality&&(F=!0),(J===0||J>P.match.optionality)&&(J=P.match.optionality))})),J&&(I==0||H.length==1?J=0:F||(J=0)),J})(M,v);M=M>0?M-1:0;var b,T,R,L=h(m.call(this,M));S.greedy&&v.length>1&&v[v.length-1].match.def===""&&(w=1);for(var N=0;N<v.length-w;N++){var j=v[N];b=h(j,L.length);var G=Math.abs(b-L);(j.unMatchedAlternationStopped!==!0||v.filter((function(I){return I.unMatchedAlternationStopped!==!0})).length<=1)&&(T===void 0||b!==""&&G<T||R&&!S.greedy&&R.match.optionality&&R.match.optionality-k>0&&R.match.newBlockMarker==="master"&&(!j.match.optionality||j.match.optionality-k<1||!j.match.newBlockMarker)||R&&!S.greedy&&R.match.optionalQuantifier&&!j.match.optionalQuantifier)&&(T=G,R=j)}return R}function m(M,v){var S=this.maskset;return S.validPositions[M]?S.validPositions[M]:(v||g.call(this,M))[0]}function D(M,v,S){function w(k){for(var b,T=[],R=-1,L=0,N=k.length;L<N;L++)if(k.charAt(L)==="-")for(b=k.charCodeAt(L+1);++R<b;)T.push(String.fromCharCode(R));else R=k.charCodeAt(L),T.push(k.charAt(L));return T.join("")}return M.match.def===v.match.nativeDef||!(!(S.regex||M.match.fn instanceof RegExp&&v.match.fn instanceof RegExp)||M.match.static===!0||v.match.static===!0)&&(v.match.fn.source==="."||w(v.match.fn.source.replace(/[[\]/]/g,"")).indexOf(w(M.match.fn.source.replace(/[[\]/]/g,"")))!==-1)}function g(M,v,S){var w,k,b=this,T=this.dependencyLib,R=this.maskset,L=this.opts,N=this.el,j=R.maskToken,G=v?S:0,I=v?v.slice():[0],H=[],J=!1,F=v?v.join(""):"",P=!1;function Q(se,U,Z,de){function V(oe,ye,we){function xe($,ie){var me=ie.matches.indexOf($)===0;return me||ie.matches.every((function(he,ke){return he.isQuantifier===!0?me=xe($,ie.matches[ke-1]):Object.prototype.hasOwnProperty.call(he,"matches")&&(me=xe($,he)),!me})),me}function Fe($,ie,me){var he,ke;if((R.tests[$]||R.validPositions[$])&&(R.validPositions[$]?[R.validPositions[$]]:R.tests[$]).every((function(Se,Le){if(Se.mloc[ie])return he=Se,!1;var et=me!==void 0?me:Se.alternation,je=Se.locator[et]!==void 0?Se.locator[et].toString().indexOf(ie):-1;return(ke===void 0||je<ke)&&je!==-1&&(he=Se,ke=je),!0})),he){var Me=he.locator[he.alternation],ae=he.mloc[ie]||he.mloc[Me]||he.locator;return ae[ae.length-1].toString().indexOf(":")!==-1&&ae.pop(),ae.slice((me!==void 0?me:he.alternation)+1)}return me!==void 0?Fe($,ie):void 0}function _e($,ie){return $.match.static===!0&&ie.match.static!==!0&&ie.match.fn.test($.match.def,R,M,!1,L,!1)}function Ne($,ie){var me=$.alternation,he=ie===void 0||me<=ie.alternation&&$.locator[me].toString().indexOf(ie.locator[me])===-1;if(!he&&me>ie.alternation){for(var ke=0;ke<me;ke++)if($.locator[ke]!==ie.locator[ke]){me=ke,he=!0;break}}return!!he&&(function(Me){$.mloc=$.mloc||{};var ae=$.locator[Me];if(ae!==void 0){if(typeof ae=="string"&&(ae=ae.split(",")[0]),$.mloc[ae]===void 0&&($.mloc[ae]=$.locator.slice(),$.mloc[ae].push(":".concat($.alternation))),ie!==void 0){for(var Se in ie.mloc)typeof Se=="string"&&(Se=parseInt(Se.split(",")[0])),$.mloc[Se+0]=ie.mloc[Se];$.locator[Me]=Object.keys($.mloc).join(",")}return $.alternation>Me&&($.alternation=Me),!0}return $.alternation=void 0,!1})(me)}function ce($,ie){if($.locator.length!==ie.locator.length)return!1;for(var me=$.alternation+1;me<$.locator.length;me++)if($.locator[me]!==ie.locator[me])return!1;return!0}if(G>M+L._maxTestPos)throw new Error("Inputmask: There is probably an error in your mask definition or in the code. Create an issue on github with an example of the mask you are using. ".concat(R.mask));if(G===M&&oe.matches===void 0){if(H.push({match:oe,locator:ye.reverse(),cd:F,mloc:{}}),!oe.optionality||we!==void 0||!(L.definitions&&L.definitions[oe.nativeDef]&&L.definitions[oe.nativeDef].optional||d.default.prototype.definitions[oe.nativeDef]&&d.default.prototype.definitions[oe.nativeDef].optional))return!0;J=!0,G=M}else if(oe.matches!==void 0){if(oe.isGroup&&we!==oe)return(function(){if(oe=V(se.matches[se.matches.indexOf(oe)+1],ye,we))return!0})();if(oe.isOptional)return(function(){var $=oe,ie=H.length;if(oe=Q(oe,U,ye,we),H.length>0){if(H.forEach((function(me,he){he>=ie&&(me.match.optionality=me.match.optionality?me.match.optionality+1:1)})),w=H[H.length-1].match,we!==void 0||!xe(w,$))return oe;J=!0,G=M}})();if(oe.isAlternator)return(function(){function $(B){for(var E,O=B.matches[0].matches?B.matches[0].matches.length:1,_=0;_<B.matches.length&&O===(E=B.matches[_].matches?B.matches[_].matches.length:1);_++);return O!==E}b.hasAlternator=!0;var ie,me=oe,he=[],ke=H.slice(),Me=ye.length,ae=U.length>0?U.shift():-1;if(ae===-1||typeof ae=="string"){var Se,Le=G,et=U.slice(),je=[];if(typeof ae=="string")je=ae.split(",");else for(Se=0;Se<me.matches.length;Se++)je.push(Se.toString());if(R.excludes[M]!==void 0){for(var Rt=je.slice(),At=0,Ge=R.excludes[M].length;At<Ge;At++){var te=R.excludes[M][At].toString().split(":");ye.length==te[1]&&je.splice(je.indexOf(te[0]),1)}je.length===0&&(delete R.excludes[M],je=Rt)}(L.keepStatic===!0||isFinite(parseInt(L.keepStatic))&&Le>=L.keepStatic)&&(je=je.slice(0,1));for(var re=0;re<je.length;re++){Se=parseInt(je[re]),H=[],U=typeof ae=="string"&&Fe(G,Se,Me)||et.slice();var Pe=me.matches[Se];if(Pe&&V(Pe,[Se].concat(ye),we))oe=!0;else if(re===0&&(P=$(me)),Pe&&Pe.matches&&Pe.matches.length>me.matches[0].matches.length)break;ie=H.slice(),G=Le,H=[];for(var ze=0;ze<ie.length;ze++){var Oe=ie[ze],Re=!1;Oe.alternation=Oe.alternation||Me,Ne(Oe);for(var ct=0;ct<he.length;ct++){var ge=he[ct];if(typeof ae!="string"||Oe.alternation!==void 0&&je.includes(Oe.locator[Oe.alternation].toString())){if(Oe.match.nativeDef===ge.match.nativeDef){Re=!0,Ne(ge,Oe);break}if(D(Oe,ge,L)){Ne(Oe,ge)&&(Re=!0,he.splice(he.indexOf(ge),0,Oe));break}if(D(ge,Oe,L)){Ne(ge,Oe);break}if(_e(Oe,ge)){ce(Oe,ge)||N.inputmask.userOptions.keepStatic!==void 0?Ne(Oe,ge)&&(Re=!0,he.splice(he.indexOf(ge),0,Oe)):L.keepStatic=!0;break}if(_e(ge,Oe)){Ne(ge,Oe);break}}}Re||he.push(Oe)}}H=ke.concat(he),G=M,J=H.length>0&&P,oe=he.length>0&&!P,P&&J&&!oe&&H.forEach((function(B,E){B.unMatchedAlternationStopped=!0})),U=et.slice()}else oe=V(me.matches[ae]||se.matches[ae],[ae].concat(ye),we);if(oe)return!0})();if(oe.isQuantifier&&we!==se.matches[se.matches.indexOf(oe)-1])return(function(){for(var $=oe,ie=!1,me=U.length>0?U.shift():0;me<(isNaN($.quantifier.max)?me+1:$.quantifier.max)&&G<=M;me++){var he=se.matches[se.matches.indexOf($)-1];if(oe=V(he,[me].concat(ye),he)){if(H.forEach((function(ke,Me){(w=z(he,ke.match)?ke.match:H[H.length-1].match).optionalQuantifier=me>=$.quantifier.min,w.jit=(me+1)*(he.matches.indexOf(w)+1)>$.quantifier.jit,w.optionalQuantifier&&xe(w,he)&&(J=!0,G=M,L.greedy&&R.validPositions[M-1]==null&&me>$.quantifier.min&&["*","+"].indexOf($.quantifier.max)!=-1&&(H.pop(),F=void 0),ie=!0,oe=!1),!ie&&w.jit&&(R.jitOffset[M]=he.matches.length-he.matches.indexOf(w))})),ie)break;return!0}}})();if(oe=Q(oe,U,ye,we))return!0}else G++}for(var W=U.length>0?U.shift():0;W<se.matches.length;W++)if(se.matches[W].isQuantifier!==!0){var le=V(se.matches[W],[W].concat(Z),de);if(le&&G===M)return le;if(G>M)break}}function z(se,U){var Z=se.matches.indexOf(U)!=-1;return Z||se.matches.forEach((function(de,V){de.matches===void 0||Z||(Z=z(de,U))})),Z}if(M>-1){if(v===void 0){for(var q,X=M-1;(q=R.validPositions[X]||R.tests[X])===void 0&&X>-1;)X--;q!==void 0&&X>-1&&(I=(function(se,U){var Z,de=[];return Array.isArray(U)||(U=[U]),U.length>0&&(U[0].alternation===void 0||L.keepStatic===!0?(de=C.call(b,se,U.slice()).locator.slice()).length===0&&(de=U[0].locator.slice()):U.forEach((function(V){V.def!==""&&(de.length===0?(Z=V.alternation,de=V.locator.slice()):V.locator[Z]&&de[Z].toString().indexOf(V.locator[Z])===-1&&(de[Z]+=","+V.locator[Z]))}))),de})(X,q),F=I.join(""),G=X)}if(R.tests[M]&&R.tests[M][0].cd===F)return R.tests[M];for(var K=I.shift();K<j.length&&!(Q(j[K],I,[K])&&G===M||G>M);K++);}return(H.length===0||J)&&H.push({match:{fn:null,static:!0,optionality:!1,casing:null,def:"",placeholder:""},locator:P&&H.filter((function(se){return se.unMatchedAlternationStopped!==!0})).length===0?[0]:[],mloc:{},cd:F}),v!==void 0&&R.tests[M]?k=T.extend(!0,[],H):(R.tests[M]=T.extend(!0,[],H),k=R.tests[M]),H.forEach((function(se){se.match.optionality=se.match.defOptionality||!1})),k}},7215:function(o,l,u){Object.defineProperty(l,"__esModule",{value:!0}),l.alternate=h,l.checkAlternationMatch=function(v,S,w){for(var k,b=this.opts.greedy?S:S.slice(0,1),T=!1,R=w!==void 0?w.split(","):[],L=0;L<R.length;L++)(k=v.indexOf(R[L]))!==-1&&v.splice(k,1);for(var N=0;N<v.length;N++)if(b.includes(v[N])){T=!0;break}return T},l.handleRemove=function(v,S,w,k,b){var T=this,R=this.maskset,L=this.opts;if((L.numericInput||T.isRTL)&&(S===d.keys.Backspace?S=d.keys.Delete:S===d.keys.Delete&&(S=d.keys.Backspace),T.isRTL)){var N=w.end;w.end=w.begin,w.begin=N}var j,G=f.getLastValidPosition.call(T,void 0,!0);w.end>=f.getBuffer.call(T).length&&G>=w.end&&(w.end=G+1),S===d.keys.Backspace?w.end-w.begin<1&&(w.begin=f.seekPrevious.call(T,w.begin)):S===d.keys.Delete&&w.begin===w.end&&(w.end=f.isMask.call(T,w.end,!0,!0)?w.end+1:f.seekNext.call(T,w.end)+1),(j=M.call(T,w))!==!1&&((k!==!0&&L.keepStatic!==!1||L.regex!==null&&p.getTest.call(T,w.begin).match.def.indexOf("|")!==-1)&&h.call(T,!0),k!==!0&&(R.p=S===d.keys.Delete?w.begin+j:w.begin,R.p=f.determineNewCaretPosition.call(T,{begin:R.p,end:R.p},!1,L.insertMode===!1&&S===d.keys.Backspace?"none":void 0).begin))},l.isComplete=y,l.isSelection=A,l.isValid=C,l.refreshFromBuffer=D,l.revalidateMask=M;var c=u(6030),d=u(2839),f=u(8711),p=u(4713);function h(v,S,w,k,b,T){var R=this,L=this.dependencyLib,N=this.opts,j=R.maskset;if(!R.hasAlternator)return!1;var G,I,H,J,F,P,Q,z,q,X,K,se=L.extend(!0,[],j.validPositions),U=L.extend(!0,{},j.tests),Z=!1,de=!1,V=b!==void 0?b:f.getLastValidPosition.call(R);if(T&&(X=T.begin,K=T.end,T.begin>T.end&&(X=T.end,K=T.begin)),V===-1&&b===void 0)G=0,I=(J=p.getTest.call(R,G)).alternation;else for(;V>=0;V--)if((H=j.validPositions[V])&&H.alternation!==void 0){if(V<=(v||0)&&J&&J.locator[H.alternation]!==H.locator[H.alternation])break;G=V,I=j.validPositions[G].alternation,J=H}if(I!==void 0){Q=parseInt(G),j.excludes[Q]=j.excludes[Q]||[],v!==!0&&j.excludes[Q].push((0,p.getDecisionTaker)(J)+":"+J.alternation);var W=[],le=-1;for(F=Q;Q<f.getLastValidPosition.call(R,void 0,!0)+1;F++)le===-1&&v<=F&&S!==void 0&&(W.push(S),le=W.length-1),(P=j.validPositions[Q])&&P.generatedInput!==!0&&(T===void 0||F<X||F>=K)&&W.push(P.input),j.validPositions.splice(Q,1);for(le===-1&&S!==void 0&&(W.push(S),le=W.length-1);j.excludes[Q]!==void 0&&j.excludes[Q].length<10;){for(j.tests={},f.resetMaskSet.call(R,!0),Z=!0,F=0;F<W.length&&(z=Z.caret||N.insertMode==0&&z!=null?f.seekNext.call(R,z):f.getLastValidPosition.call(R,void 0,!0)+1,q=W[F],Z=C.call(R,z,q,!1,k,!0));F++)F===le&&(de=Z),v==1&&Z&&(de={caretPos:F});if(Z)break;if(f.resetMaskSet.call(R),J=p.getTest.call(R,Q),j.validPositions=L.extend(!0,[],se),j.tests=L.extend(!0,{},U),!j.excludes[Q]){de=h.call(R,v,S,w,k,Q-1,T);break}if(J.alternation!=null){var oe=(0,p.getDecisionTaker)(J);if(j.excludes[Q].indexOf(oe+":"+J.alternation)!==-1){de=h.call(R,v,S,w,k,Q-1,T);break}for(j.excludes[Q].push(oe+":"+J.alternation),F=Q;F<f.getLastValidPosition.call(R,void 0,!0)+1;F++)j.validPositions.splice(Q)}else delete j.excludes[Q]}}return de&&N.keepStatic===!1||delete j.excludes[Q],de}function x(v,S,w){var k=this.opts,b=this.maskset;switch(k.casing||S.casing){case"upper":v=v.toUpperCase();break;case"lower":v=v.toLowerCase();break;case"title":var T=b.validPositions[w-1];v=w===0||T&&T.input===String.fromCharCode(d.keyCode.Space)?v.toUpperCase():v.toLowerCase();break;default:if(typeof k.casing=="function"){var R=Array.prototype.slice.call(arguments);R.push(b.validPositions),v=k.casing.apply(this,R)}}return v}function y(v){var S=this,w=this.opts,k=this.maskset;if(typeof w.isComplete=="function")return w.isComplete(v,w);if(w.repeat!=="*"){var b=!1,T=f.determineLastRequiredPosition.call(S,!0),R=T.l;if(T.def===void 0||T.def.newBlockMarker||T.def.optionality||T.def.optionalQuantifier){b=!0;for(var L=0;L<=R;L++){var N=p.getTestTemplate.call(S,L).match;if(N.static!==!0&&k.validPositions[L]===void 0&&(N.optionality===!1||N.optionality===void 0||N.optionality&&N.newBlockMarker==0)&&(N.optionalQuantifier===!1||N.optionalQuantifier===void 0)||N.static===!0&&N.def!=""&&v[L]!==p.getPlaceholder.call(S,L,N)){b=!1;break}}}return b}}function A(v){var S=this.opts.insertMode?0:1;return this.isRTL?v.begin-v.end>S:v.end-v.begin>S}function C(v,S,w,k,b,T,R){var L=this,N=this.dependencyLib,j=this.opts,G=L.maskset;w=w===!0;var I=v;function H(Z){if(Z!==void 0){if(Z.remove!==void 0&&(Array.isArray(Z.remove)||(Z.remove=[Z.remove]),Z.remove.sort((function(V,W){return L.isRTL?V.pos-W.pos:W.pos-V.pos})).forEach((function(V){M.call(L,{begin:V,end:V+1})})),Z.remove=void 0),Z.insert!==void 0&&(Array.isArray(Z.insert)||(Z.insert=[Z.insert]),Z.insert.sort((function(V,W){return L.isRTL?W.pos-V.pos:V.pos-W.pos})).forEach((function(V){V.c!==""&&C.call(L,V.pos,V.c,V.strict===void 0||V.strict,V.fromIsValid!==void 0?V.fromIsValid:k)})),Z.insert=void 0),Z.refreshFromBuffer&&Z.buffer){var de=Z.refreshFromBuffer;D.call(L,de===!0?de:de.start,de.end,Z.buffer),Z.refreshFromBuffer=void 0}Z.rewritePosition!==void 0&&(I=Z.rewritePosition,Z=!0)}return Z}function J(Z,de,V){var W=!1;return p.getTests.call(L,Z).every((function(le,oe){var ye=le.match;if(f.getBuffer.call(L,!0),(W=(!ye.jit||G.validPositions[f.seekPrevious.call(L,Z)]!==void 0)&&(ye.fn!=null?ye.fn.test(de,G,Z,V,j,A.call(L,v)):(de===ye.def||de===j.skipOptionalPartCharacter)&&ye.def!==""&&{c:p.getPlaceholder.call(L,Z,ye,!0)||ye.def,pos:Z}))!==!1){var we=W.c!==void 0?W.c:de,xe=Z;return we=we===j.skipOptionalPartCharacter&&ye.static===!0?p.getPlaceholder.call(L,Z,ye,!0)||ye.def:we,(W=H(W))!==!0&&W.pos!==void 0&&W.pos!==Z&&(xe=W.pos),W!==!0&&W.pos===void 0&&W.c===void 0||M.call(L,v,N.extend({},le,{input:x.call(L,we,ye,xe)}),k,xe)===!1&&(W=!1),!1}return!0})),W}v.begin!==void 0&&(I=L.isRTL?v.end:v.begin);var F=!0,P=N.extend(!0,[],G.validPositions);if(j.keepStatic===!1&&G.excludes[I]!==void 0&&b!==!0&&k!==!0)for(var Q=I;Q<(L.isRTL?v.begin:v.end);Q++)G.excludes[Q]!==void 0&&(G.excludes[Q]=void 0,delete G.tests[Q]);if(typeof j.preValidation=="function"&&k!==!0&&T!==!0&&(F=H(F=j.preValidation.call(L,f.getBuffer.call(L),I,S,A.call(L,v),j,G,v,w||b))),F===!0){if(F=J(I,S,w),(!w||k===!0)&&F===!1&&T!==!0){var z=G.validPositions[I];if(!z||z.match.static!==!0||z.match.def!==S&&S!==j.skipOptionalPartCharacter){if(j.insertMode||G.validPositions[f.seekNext.call(L,I)]===void 0||v.end>I){var q=!1;if(G.jitOffset[I]&&G.validPositions[f.seekNext.call(L,I)]===void 0&&(F=C.call(L,I+G.jitOffset[I],S,!0,!0))!==!1&&(b!==!0&&(F.caret=I),q=!0),v.end>I&&(G.validPositions[I]=void 0),!q&&!f.isMask.call(L,I,j.keepStatic&&I===0)){for(var X=I+1,K=f.seekNext.call(L,I,!1,I!==0);X<=K;X++)if((F=J(X,S,w))!==!1){F=g.call(L,I,F.pos!==void 0?F.pos:X)||F,I=X;break}}}}else F={caret:f.seekNext.call(L,I)}}L.hasAlternator&&b!==!0&&!w&&(b=!0,F===!1&&j.keepStatic&&(y.call(L,f.getBuffer.call(L))||I===0)?F=h.call(L,I,S,w,k,void 0,v):(A.call(L,v)&&G.tests[I]&&G.tests[I].length>1&&j.keepStatic||F==1&&j.numericInput!==!0&&G.tests[I]&&G.tests[I].length>1&&f.getLastValidPosition.call(L,void 0,!0)>I)&&(F=h.call(L,!0))),F===!0&&(F={pos:I})}if(typeof j.postValidation=="function"&&k!==!0&&T!==!0){var se=j.postValidation.call(L,f.getBuffer.call(L,!0),v.begin!==void 0?L.isRTL?v.end:v.begin:v,S,F,j,G,w,R);se!==void 0&&(F=se===!0?F:se)}F&&F.pos===void 0&&(F.pos=I),F===!1||T===!0?(f.resetMaskSet.call(L,!0),G.validPositions=N.extend(!0,[],P)):g.call(L,void 0,I,!0);var U=H(F);return L.maxLength!==void 0&&f.getBuffer.call(L).length>L.maxLength&&!k&&(f.resetMaskSet.call(L,!0),G.validPositions=N.extend(!0,[],P),U=!1),U}function m(v,S,w){for(var k=this.maskset,b=!1,T=p.getTests.call(this,v),R=0;R<T.length;R++){if(T[R].match&&(T[R].match.nativeDef===S.match[w.shiftPositions?"def":"nativeDef"]&&(!w.shiftPositions||!S.match.static)||T[R].match.nativeDef===S.match.nativeDef||w.regex&&!T[R].match.static&&T[R].match.fn.test(S.input,k,v,!1,w))){b=!0;break}if(T[R].match&&T[R].match.def===S.match.nativeDef){b=void 0;break}}return b===!1&&k.jitOffset[v]!==void 0&&(b=m.call(this,v+k.jitOffset[v],S,w)),b}function D(v,S,w){var k,b,T=this,R=this.maskset,L=this.opts,N=this.dependencyLib,j=L.skipOptionalPartCharacter,G=T.isRTL?w.slice().reverse():w;if(L.skipOptionalPartCharacter="",v===!0)f.resetMaskSet.call(T,!1),v=0,S=w.length,b=f.determineNewCaretPosition.call(T,{begin:0,end:0},!1).begin;else{for(k=v;k<S;k++)R.validPositions.splice(v,0);b=v}var I=new N.Event("keypress");for(k=v;k<S;k++){I.key=G[k].toString(),T.ignorable=!1;var H=c.EventHandlers.keypressEvent.call(T,I,!0,!1,!1,b);H!==!1&&H!==void 0&&(b=H.forwardPosition)}L.skipOptionalPartCharacter=j}function g(v,S,w){var k=this,b=this.maskset,T=this.dependencyLib;if(v===void 0)for(v=S-1;v>0&&!b.validPositions[v];v--);for(var R=v;R<S;R++)if(b.validPositions[R]===void 0&&!f.isMask.call(k,R,!1)&&(R==0?p.getTest.call(k,R):b.validPositions[R-1])){var L=p.getTests.call(k,R).slice();L[L.length-1].match.def===""&&L.pop();var N,j=p.determineTestTemplate.call(k,R,L);if(j&&(j.match.jit!==!0||j.match.newBlockMarker==="master"&&(N=b.validPositions[R+1])&&N.match.optionalQuantifier===!0)&&((j=T.extend({},j,{input:p.getPlaceholder.call(k,R,j.match,!0)||j.match.def})).generatedInput=!0,M.call(k,R,j,!0),w!==!0)){var G=b.validPositions[S].input;return b.validPositions[S]=void 0,C.call(k,S,G,!0,!0)}}}function M(v,S,w,k){var b=this,T=this.maskset,R=this.opts,L=this.dependencyLib;function N(U,Z,de){var V=Z[U];if(V!==void 0&&V.match.static===!0&&V.match.optionality!==!0&&(Z[0]===void 0||Z[0].alternation===void 0)){var W=de.begin<=U-1?Z[U-1]&&Z[U-1].match.static===!0&&Z[U-1]:Z[U-1],le=de.end>U+1?Z[U+1]&&Z[U+1].match.static===!0&&Z[U+1]:Z[U+1];return W&&le}return!1}var j=0,G=v.begin!==void 0?v.begin:v,I=v.end!==void 0?v.end:v,H=!0;if(v.begin>v.end&&(G=v.end,I=v.begin),k=k!==void 0?k:G,w===void 0&&(G!==I||R.insertMode&&T.validPositions[k]!==void 0||S===void 0||S.match.optionalQuantifier||S.match.optionality)){var J,F=L.extend(!0,[],T.validPositions),P=f.getLastValidPosition.call(b,void 0,!0);T.p=G;var Q=A.call(b,v)?G:k;for(J=P;J>=Q;J--)T.validPositions.splice(J,1),S===void 0&&delete T.tests[J+1];var z,q,X=k,K=X;for(S&&(T.validPositions[k]=L.extend(!0,{},S),K++,X++),F[I]==null&&T.jitOffset[I]&&(I+=T.jitOffset[I]+1),J=S?I:I-1;J<=P;J++){if((z=F[J])!==void 0&&z.generatedInput!==!0&&(J>=I||J>=G&&N(J,F,{begin:G,end:I}))){for(;p.getTest.call(b,K).match.def!=="";){if((q=m.call(b,K,z,R))!==!1||z.match.def==="+"){z.match.def==="+"&&f.getBuffer.call(b,!0);var se=C.call(b,K,z.input,z.match.def!=="+",!0);if(H=se!==!1,X=(se.pos||K)+1,!H&&q)break}else H=!1;if(H){S===void 0&&z.match.static&&J===v.begin&&j++;break}if(!H&&f.getBuffer.call(b),K>T.maskLength)break;K++}p.getTest.call(b,K).match.def==""&&(H=!1),K=X}if(!H)break}if(!H)return T.validPositions=L.extend(!0,[],F),f.resetMaskSet.call(b,!0),!1}else S&&p.getTest.call(b,k).match.cd===S.match.cd&&(T.validPositions[k]=L.extend(!0,{},S));return f.resetMaskSet.call(b,!0),j}}},i={};function r(o){var l=i[o];if(l!==void 0)return l.exports;var u=i[o]={exports:{}};return t[o](u,u.exports,r),u.exports}var s={};return(function(){var o=s;Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0,r(7149),r(3194),r(9302),r(4013),r(3851),r(219),r(207),r(5296);var l,u=(l=r(2394))&&l.__esModule?l:{default:l};o.default=u.default})(),s})()}))})(Bn)),Bn.exports}var Bh=Lh();const Fh=rl(Bh);//! moment.js
17
17
  //! version : 2.30.1
18
18
  //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
19
19
  //! license : MIT
@@ -24,11 +24,11 @@ Arguments: `+Array.prototype.slice.call(i).join("")+`
24
24
  `+new Error().stack),t=!1}return e.apply(this,arguments)},e)}var du={};function hu(n,e){Ae.deprecationHandler!=null&&Ae.deprecationHandler(n,e),du[n]||(cu(e),du[n]=!0)}Ae.suppressDeprecationWarnings=!1,Ae.deprecationHandler=null;function Ut(n){return typeof Function<"u"&&n instanceof Function||Object.prototype.toString.call(n)==="[object Function]"}function Nh(n){var e,t;for(t in n)Qe(n,t)&&(e=n[t],Ut(e)?this[t]=e:this["_"+t]=e);this._config=n,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Fs(n,e){var t=di({},n),i;for(i in e)Qe(e,i)&&(wi(n[i])&&wi(e[i])?(t[i]={},di(t[i],n[i]),di(t[i],e[i])):e[i]!=null?t[i]=e[i]:delete t[i]);for(i in n)Qe(n,i)&&!Qe(e,i)&&wi(n[i])&&(t[i]=di({},t[i]));return t}function _s(n){n!=null&&this.set(n)}var Ps;Object.keys?Ps=Object.keys:Ps=function(n){var e,t=[];for(e in n)Qe(n,e)&&t.push(e);return t};var Ih={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Hh(n,e,t){var i=this._calendar[n]||this._calendar.sameElse;return Ut(i)?i.call(e,t):i}function Gt(n,e,t){var i=""+Math.abs(n),r=e-i.length,s=n>=0;return(s?t?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}var Ns=/(\[[^\[]*\])|(\\)?([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,_n=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Is={},Li={};function Te(n,e,t,i){var r=i;typeof i=="string"&&(r=function(){return this[i]()}),n&&(Li[n]=r),e&&(Li[e[0]]=function(){return Gt(r.apply(this,arguments),e[1],e[2])}),t&&(Li[t]=function(){return this.localeData().ordinal(r.apply(this,arguments),n)})}function Vh(n){return n.match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"")}function zh(n){var e=n.match(Ns),t,i;for(t=0,i=e.length;t<i;t++)Li[e[t]]?e[t]=Li[e[t]]:e[t]=Vh(e[t]);return function(r){var s="",o;for(o=0;o<i;o++)s+=Ut(e[o])?e[o].call(r,n):e[o];return s}}function Pn(n,e){return n.isValid()?(e=fu(e,n.localeData()),Is[e]=Is[e]||zh(e),Is[e](n)):n.localeData().invalidDate()}function fu(n,e){var t=5;function i(r){return e.longDateFormat(r)||r}for(_n.lastIndex=0;t>=0&&_n.test(n);)n=n.replace(_n,i),_n.lastIndex=0,t-=1;return n}var jh={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 Wh(n){var e=this._longDateFormat[n],t=this._longDateFormat[n.toUpperCase()];return e||!t?e:(this._longDateFormat[n]=t.match(Ns).map(function(i){return i==="MMMM"||i==="MM"||i==="DD"||i==="dddd"?i.slice(1):i}).join(""),this._longDateFormat[n])}var Uh="Invalid date";function Gh(){return this._invalidDate}var Yh="%d",Qh=/\d{1,2}/;function Kh(n){return this._ordinal.replace("%d",n)}var Jh={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 qh(n,e,t,i){var r=this._relativeTime[t];return Ut(r)?r(n,e,t,i):r.replace(/%d/i,n)}function $h(n,e){var t=this._relativeTime[n>0?"future":"past"];return Ut(t)?t(e):t.replace(/%s/i,e)}var pu={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 Tt(n){return typeof n=="string"?pu[n]||pu[n.toLowerCase()]:void 0}function Hs(n){var e={},t,i;for(i in n)Qe(n,i)&&(t=Tt(i),t&&(e[t]=n[i]));return e}var Zh={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 Xh(n){var e=[],t;for(t in n)Qe(n,t)&&e.push({unit:t,priority:Zh[t]});return e.sort(function(i,r){return i.priority-r.priority}),e}var mu=/\d/,Et=/\d\d/,gu=/\d{3}/,Vs=/\d{4}/,Nn=/[+-]?\d{6}/,tt=/\d\d?/,bu=/\d\d\d\d?/,vu=/\d\d\d\d\d\d?/,In=/\d{1,3}/,zs=/\d{1,4}/,Hn=/[+-]?\d{1,6}/,Bi=/\d+/,Vn=/[+-]?\d+/,ef=/Z|[+-]\d\d:?\d\d/gi,zn=/Z|[+-]\d\d(?::?\d\d)?/gi,tf=/[+-]?\d+(\.\d{1,3})?/,nn=/[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,Fi=/^[1-9]\d?/,js=/^([1-9]\d|\d)/,jn;jn={};function Ee(n,e,t){jn[n]=Ut(e)?e:function(i,r){return i&&t?t:e}}function nf(n,e){return Qe(jn,n)?jn[n](e._strict,e._locale):new RegExp(rf(n))}function rf(n){return Xt(n.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,i,r,s){return t||i||r||s}))}function Xt(n){return n.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Dt(n){return n<0?Math.ceil(n)||0:Math.floor(n)}function Ue(n){var e=+n,t=0;return e!==0&&isFinite(e)&&(t=Dt(e)),t}var Ws={};function $e(n,e){var t,i=e,r;for(typeof n=="string"&&(n=[n]),Zt(e)&&(i=function(s,o){o[e]=Ue(s)}),r=n.length,t=0;t<r;t++)Ws[n[t]]=i}function rn(n,e){$e(n,function(t,i,r,s){r._w=r._w||{},e(t,r._w,r,s)})}function sf(n,e,t){e!=null&&Qe(Ws,n)&&Ws[n](e,t._a,t,n)}function Wn(n){return n%4===0&&n%100!==0||n%400===0}var ht=0,ei=1,Yt=2,ut=3,It=4,ti=5,Ci=6,af=7,of=8;Te("Y",0,0,function(){var n=this.year();return n<=9999?Gt(n,4):"+"+n}),Te(0,["YY",2],0,function(){return this.year()%100}),Te(0,["YYYY",4],0,"year"),Te(0,["YYYYY",5],0,"year"),Te(0,["YYYYYY",6,!0],0,"year"),Ee("Y",Vn),Ee("YY",tt,Et),Ee("YYYY",zs,Vs),Ee("YYYYY",Hn,Nn),Ee("YYYYYY",Hn,Nn),$e(["YYYYY","YYYYYY"],ht),$e("YYYY",function(n,e){e[ht]=n.length===2?Ae.parseTwoDigitYear(n):Ue(n)}),$e("YY",function(n,e){e[ht]=Ae.parseTwoDigitYear(n)}),$e("Y",function(n,e){e[ht]=parseInt(n,10)});function sn(n){return Wn(n)?366:365}Ae.parseTwoDigitYear=function(n){return Ue(n)+(Ue(n)>68?1900:2e3)};var yu=_i("FullYear",!0);function lf(){return Wn(this.year())}function _i(n,e){return function(t){return t!=null?(wu(this,n,t),Ae.updateOffset(this,e),this):an(this,n)}}function an(n,e){if(!n.isValid())return NaN;var t=n._d,i=n._isUTC;switch(e){case"Milliseconds":return i?t.getUTCMilliseconds():t.getMilliseconds();case"Seconds":return i?t.getUTCSeconds():t.getSeconds();case"Minutes":return i?t.getUTCMinutes():t.getMinutes();case"Hours":return i?t.getUTCHours():t.getHours();case"Date":return i?t.getUTCDate():t.getDate();case"Day":return i?t.getUTCDay():t.getDay();case"Month":return i?t.getUTCMonth():t.getMonth();case"FullYear":return i?t.getUTCFullYear():t.getFullYear();default:return NaN}}function wu(n,e,t){var i,r,s,o,l;if(!(!n.isValid()||isNaN(t))){switch(i=n._d,r=n._isUTC,e){case"Milliseconds":return void(r?i.setUTCMilliseconds(t):i.setMilliseconds(t));case"Seconds":return void(r?i.setUTCSeconds(t):i.setSeconds(t));case"Minutes":return void(r?i.setUTCMinutes(t):i.setMinutes(t));case"Hours":return void(r?i.setUTCHours(t):i.setHours(t));case"Date":return void(r?i.setUTCDate(t):i.setDate(t));case"FullYear":break;default:return}s=t,o=n.month(),l=n.date(),l=l===29&&o===1&&!Wn(s)?28:l,r?i.setUTCFullYear(s,o,l):i.setFullYear(s,o,l)}}function uf(n){return n=Tt(n),Ut(this[n])?this[n]():this}function cf(n,e){if(typeof n=="object"){n=Hs(n);var t=Xh(n),i,r=t.length;for(i=0;i<r;i++)this[t[i].unit](n[t[i].unit])}else if(n=Tt(n),Ut(this[n]))return this[n](e);return this}function df(n,e){return(n%e+e)%e}var lt;Array.prototype.indexOf?lt=Array.prototype.indexOf:lt=function(n){var e;for(e=0;e<this.length;++e)if(this[e]===n)return e;return-1};function Us(n,e){if(isNaN(n)||isNaN(e))return NaN;var t=df(e,12);return n+=(e-t)/12,t===1?Wn(n)?29:28:31-t%7%2}Te("M",["MM",2],"Mo",function(){return this.month()+1}),Te("MMM",0,0,function(n){return this.localeData().monthsShort(this,n)}),Te("MMMM",0,0,function(n){return this.localeData().months(this,n)}),Ee("M",tt,Fi),Ee("MM",tt,Et),Ee("MMM",function(n,e){return e.monthsShortRegex(n)}),Ee("MMMM",function(n,e){return e.monthsRegex(n)}),$e(["M","MM"],function(n,e){e[ei]=Ue(n)-1}),$e(["MMM","MMMM"],function(n,e,t,i){var r=t._locale.monthsParse(n,i,t._strict);r!=null?e[ei]=r:He(t).invalidMonth=n});var hf="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Cu="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Au=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ff=nn,pf=nn;function mf(n,e){return n?Pt(this._months)?this._months[n.month()]:this._months[(this._months.isFormat||Au).test(e)?"format":"standalone"][n.month()]:Pt(this._months)?this._months:this._months.standalone}function gf(n,e){return n?Pt(this._monthsShort)?this._monthsShort[n.month()]:this._monthsShort[Au.test(e)?"format":"standalone"][n.month()]:Pt(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function bf(n,e,t){var i,r,s,o=n.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)s=Wt([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(s,"").toLocaleLowerCase();return t?e==="MMM"?(r=lt.call(this._shortMonthsParse,o),r!==-1?r:null):(r=lt.call(this._longMonthsParse,o),r!==-1?r:null):e==="MMM"?(r=lt.call(this._shortMonthsParse,o),r!==-1?r:(r=lt.call(this._longMonthsParse,o),r!==-1?r:null)):(r=lt.call(this._longMonthsParse,o),r!==-1?r:(r=lt.call(this._shortMonthsParse,o),r!==-1?r:null))}function vf(n,e,t){var i,r,s;if(this._monthsParseExact)return bf.call(this,n,e,t);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=Wt([2e3,i]),t&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),!t&&!this._monthsParse[i]&&(s="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(s.replace(".",""),"i")),t&&e==="MMMM"&&this._longMonthsParse[i].test(n))return i;if(t&&e==="MMM"&&this._shortMonthsParse[i].test(n))return i;if(!t&&this._monthsParse[i].test(n))return i}}function Eu(n,e){if(!n.isValid())return n;if(typeof e=="string"){if(/^\d+$/.test(e))e=Ue(e);else if(e=n.localeData().monthsParse(e),!Zt(e))return n}var t=e,i=n.date();return i=i<29?i:Math.min(i,Us(n.year(),t)),n._isUTC?n._d.setUTCMonth(t,i):n._d.setMonth(t,i),n}function ku(n){return n!=null?(Eu(this,n),Ae.updateOffset(this,!0),this):an(this,"Month")}function yf(){return Us(this.year(),this.month())}function wf(n){return this._monthsParseExact?(Qe(this,"_monthsRegex")||Su.call(this),n?this._monthsShortStrictRegex:this._monthsShortRegex):(Qe(this,"_monthsShortRegex")||(this._monthsShortRegex=ff),this._monthsShortStrictRegex&&n?this._monthsShortStrictRegex:this._monthsShortRegex)}function Cf(n){return this._monthsParseExact?(Qe(this,"_monthsRegex")||Su.call(this),n?this._monthsStrictRegex:this._monthsRegex):(Qe(this,"_monthsRegex")||(this._monthsRegex=pf),this._monthsStrictRegex&&n?this._monthsStrictRegex:this._monthsRegex)}function Su(){function n(u,c){return c.length-u.length}var e=[],t=[],i=[],r,s,o,l;for(r=0;r<12;r++)s=Wt([2e3,r]),o=Xt(this.monthsShort(s,"")),l=Xt(this.months(s,"")),e.push(o),t.push(l),i.push(l),i.push(o);e.sort(n),t.sort(n),i.sort(n),this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+t.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+e.join("|")+")","i")}function Af(n,e,t,i,r,s,o){var l;return n<100&&n>=0?(l=new Date(n+400,e,t,i,r,s,o),isFinite(l.getFullYear())&&l.setFullYear(n)):l=new Date(n,e,t,i,r,s,o),l}function on(n){var e,t;return n<100&&n>=0?(t=Array.prototype.slice.call(arguments),t[0]=n+400,e=new Date(Date.UTC.apply(null,t)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(n)):e=new Date(Date.UTC.apply(null,arguments)),e}function Un(n,e,t){var i=7+e-t,r=(7+on(n,0,i).getUTCDay()-e)%7;return-r+i-1}function xu(n,e,t,i,r){var s=(7+t-i)%7,o=Un(n,i,r),l=1+7*(e-1)+s+o,u,c;return l<=0?(u=n-1,c=sn(u)+l):l>sn(n)?(u=n+1,c=l-sn(n)):(u=n,c=l),{year:u,dayOfYear:c}}function ln(n,e,t){var i=Un(n.year(),e,t),r=Math.floor((n.dayOfYear()-i-1)/7)+1,s,o;return r<1?(o=n.year()-1,s=r+ii(o,e,t)):r>ii(n.year(),e,t)?(s=r-ii(n.year(),e,t),o=n.year()+1):(o=n.year(),s=r),{week:s,year:o}}function ii(n,e,t){var i=Un(n,e,t),r=Un(n+1,e,t);return(sn(n)-i+r)/7}Te("w",["ww",2],"wo","week"),Te("W",["WW",2],"Wo","isoWeek"),Ee("w",tt,Fi),Ee("ww",tt,Et),Ee("W",tt,Fi),Ee("WW",tt,Et),rn(["w","ww","W","WW"],function(n,e,t,i){e[i.substr(0,1)]=Ue(n)});function Ef(n){return ln(n,this._week.dow,this._week.doy).week}var kf={dow:0,doy:6};function Sf(){return this._week.dow}function xf(){return this._week.doy}function Rf(n){var e=this.localeData().week(this);return n==null?e:this.add((n-e)*7,"d")}function Mf(n){var e=ln(this,1,4).week;return n==null?e:this.add((n-e)*7,"d")}Te("d",0,"do","day"),Te("dd",0,0,function(n){return this.localeData().weekdaysMin(this,n)}),Te("ddd",0,0,function(n){return this.localeData().weekdaysShort(this,n)}),Te("dddd",0,0,function(n){return this.localeData().weekdays(this,n)}),Te("e",0,0,"weekday"),Te("E",0,0,"isoWeekday"),Ee("d",tt),Ee("e",tt),Ee("E",tt),Ee("dd",function(n,e){return e.weekdaysMinRegex(n)}),Ee("ddd",function(n,e){return e.weekdaysShortRegex(n)}),Ee("dddd",function(n,e){return e.weekdaysRegex(n)}),rn(["dd","ddd","dddd"],function(n,e,t,i){var r=t._locale.weekdaysParse(n,i,t._strict);r!=null?e.d=r:He(t).invalidWeekday=n}),rn(["d","e","E"],function(n,e,t,i){e[i]=Ue(n)});function Tf(n,e){return typeof n!="string"?n:isNaN(n)?(n=e.weekdaysParse(n),typeof n=="number"?n:null):parseInt(n,10)}function Df(n,e){return typeof n=="string"?e.weekdaysParse(n)%7||7:isNaN(n)?null:n}function Gs(n,e){return n.slice(e,7).concat(n.slice(0,e))}var Of="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ru="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Lf="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Bf=nn,Ff=nn,_f=nn;function Pf(n,e){var t=Pt(this._weekdays)?this._weekdays:this._weekdays[n&&n!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return n===!0?Gs(t,this._week.dow):n?t[n.day()]:t}function Nf(n){return n===!0?Gs(this._weekdaysShort,this._week.dow):n?this._weekdaysShort[n.day()]:this._weekdaysShort}function If(n){return n===!0?Gs(this._weekdaysMin,this._week.dow):n?this._weekdaysMin[n.day()]:this._weekdaysMin}function Hf(n,e,t){var i,r,s,o=n.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)s=Wt([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(s,"").toLocaleLowerCase();return t?e==="dddd"?(r=lt.call(this._weekdaysParse,o),r!==-1?r:null):e==="ddd"?(r=lt.call(this._shortWeekdaysParse,o),r!==-1?r:null):(r=lt.call(this._minWeekdaysParse,o),r!==-1?r:null):e==="dddd"?(r=lt.call(this._weekdaysParse,o),r!==-1||(r=lt.call(this._shortWeekdaysParse,o),r!==-1)?r:(r=lt.call(this._minWeekdaysParse,o),r!==-1?r:null)):e==="ddd"?(r=lt.call(this._shortWeekdaysParse,o),r!==-1||(r=lt.call(this._weekdaysParse,o),r!==-1)?r:(r=lt.call(this._minWeekdaysParse,o),r!==-1?r:null)):(r=lt.call(this._minWeekdaysParse,o),r!==-1||(r=lt.call(this._weekdaysParse,o),r!==-1)?r:(r=lt.call(this._shortWeekdaysParse,o),r!==-1?r:null))}function Vf(n,e,t){var i,r,s;if(this._weekdaysParseExact)return Hf.call(this,n,e,t);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=Wt([2e3,1]).day(i),t&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(s="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(s.replace(".",""),"i")),t&&e==="dddd"&&this._fullWeekdaysParse[i].test(n))return i;if(t&&e==="ddd"&&this._shortWeekdaysParse[i].test(n))return i;if(t&&e==="dd"&&this._minWeekdaysParse[i].test(n))return i;if(!t&&this._weekdaysParse[i].test(n))return i}}function zf(n){if(!this.isValid())return n!=null?this:NaN;var e=an(this,"Day");return n!=null?(n=Tf(n,this.localeData()),this.add(n-e,"d")):e}function jf(n){if(!this.isValid())return n!=null?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return n==null?e:this.add(n-e,"d")}function Wf(n){if(!this.isValid())return n!=null?this:NaN;if(n!=null){var e=Df(n,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function Uf(n){return this._weekdaysParseExact?(Qe(this,"_weekdaysRegex")||Ys.call(this),n?this._weekdaysStrictRegex:this._weekdaysRegex):(Qe(this,"_weekdaysRegex")||(this._weekdaysRegex=Bf),this._weekdaysStrictRegex&&n?this._weekdaysStrictRegex:this._weekdaysRegex)}function Gf(n){return this._weekdaysParseExact?(Qe(this,"_weekdaysRegex")||Ys.call(this),n?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Qe(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ff),this._weekdaysShortStrictRegex&&n?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Yf(n){return this._weekdaysParseExact?(Qe(this,"_weekdaysRegex")||Ys.call(this),n?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Qe(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=_f),this._weekdaysMinStrictRegex&&n?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ys(){function n(d,f){return f.length-d.length}var e=[],t=[],i=[],r=[],s,o,l,u,c;for(s=0;s<7;s++)o=Wt([2e3,1]).day(s),l=Xt(this.weekdaysMin(o,"")),u=Xt(this.weekdaysShort(o,"")),c=Xt(this.weekdays(o,"")),e.push(l),t.push(u),i.push(c),r.push(l),r.push(u),r.push(c);e.sort(n),t.sort(n),i.sort(n),r.sort(n),this._weekdaysRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+t.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+e.join("|")+")","i")}function Qs(){return this.hours()%12||12}function Qf(){return this.hours()||24}Te("H",["HH",2],0,"hour"),Te("h",["hh",2],0,Qs),Te("k",["kk",2],0,Qf),Te("hmm",0,0,function(){return""+Qs.apply(this)+Gt(this.minutes(),2)}),Te("hmmss",0,0,function(){return""+Qs.apply(this)+Gt(this.minutes(),2)+Gt(this.seconds(),2)}),Te("Hmm",0,0,function(){return""+this.hours()+Gt(this.minutes(),2)}),Te("Hmmss",0,0,function(){return""+this.hours()+Gt(this.minutes(),2)+Gt(this.seconds(),2)});function Mu(n,e){Te(n,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}Mu("a",!0),Mu("A",!1);function Tu(n,e){return e._meridiemParse}Ee("a",Tu),Ee("A",Tu),Ee("H",tt,js),Ee("h",tt,Fi),Ee("k",tt,Fi),Ee("HH",tt,Et),Ee("hh",tt,Et),Ee("kk",tt,Et),Ee("hmm",bu),Ee("hmmss",vu),Ee("Hmm",bu),Ee("Hmmss",vu),$e(["H","HH"],ut),$e(["k","kk"],function(n,e,t){var i=Ue(n);e[ut]=i===24?0:i}),$e(["a","A"],function(n,e,t){t._isPm=t._locale.isPM(n),t._meridiem=n}),$e(["h","hh"],function(n,e,t){e[ut]=Ue(n),He(t).bigHour=!0}),$e("hmm",function(n,e,t){var i=n.length-2;e[ut]=Ue(n.substr(0,i)),e[It]=Ue(n.substr(i)),He(t).bigHour=!0}),$e("hmmss",function(n,e,t){var i=n.length-4,r=n.length-2;e[ut]=Ue(n.substr(0,i)),e[It]=Ue(n.substr(i,2)),e[ti]=Ue(n.substr(r)),He(t).bigHour=!0}),$e("Hmm",function(n,e,t){var i=n.length-2;e[ut]=Ue(n.substr(0,i)),e[It]=Ue(n.substr(i))}),$e("Hmmss",function(n,e,t){var i=n.length-4,r=n.length-2;e[ut]=Ue(n.substr(0,i)),e[It]=Ue(n.substr(i,2)),e[ti]=Ue(n.substr(r))});function Kf(n){return(n+"").toLowerCase().charAt(0)==="p"}var Jf=/[ap]\.?m?\.?/i,qf=_i("Hours",!0);function $f(n,e,t){return n>11?t?"pm":"PM":t?"am":"AM"}var Du={calendar:Ih,longDateFormat:jh,invalidDate:Uh,ordinal:Yh,dayOfMonthOrdinalParse:Qh,relativeTime:Jh,months:hf,monthsShort:Cu,week:kf,weekdays:Of,weekdaysMin:Lf,weekdaysShort:Ru,meridiemParse:Jf},rt={},un={},cn;function Zf(n,e){var t,i=Math.min(n.length,e.length);for(t=0;t<i;t+=1)if(n[t]!==e[t])return t;return i}function Ou(n){return n&&n.toLowerCase().replace("_","-")}function Xf(n){for(var e=0,t,i,r,s;e<n.length;){for(s=Ou(n[e]).split("-"),t=s.length,i=Ou(n[e+1]),i=i?i.split("-"):null;t>0;){if(r=Gn(s.slice(0,t).join("-")),r)return r;if(i&&i.length>=t&&Zf(s,i)>=t-1)break;t--}e++}return cn}function ep(n){return!!(n&&n.match("^[^/\\\\]*$"))}function Gn(n){var e=null,t;if(rt[n]===void 0&&typeof module<"u"&&module&&module.exports&&ep(n))try{e=cn._abbr,t=require,t("./locale/"+n),hi(e)}catch{rt[n]=null}return rt[n]}function hi(n,e){var t;return n&&(vt(e)?t=ni(n):t=Ks(n,e),t?cn=t:typeof console<"u"&&console.warn&&console.warn("Locale "+n+" not found. Did you forget to load it?")),cn._abbr}function Ks(n,e){if(e!==null){var t,i=Du;if(e.abbr=n,rt[n]!=null)hu("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."),i=rt[n]._config;else if(e.parentLocale!=null)if(rt[e.parentLocale]!=null)i=rt[e.parentLocale]._config;else if(t=Gn(e.parentLocale),t!=null)i=t._config;else return un[e.parentLocale]||(un[e.parentLocale]=[]),un[e.parentLocale].push({name:n,config:e}),null;return rt[n]=new _s(Fs(i,e)),un[n]&&un[n].forEach(function(r){Ks(r.name,r.config)}),hi(n),rt[n]}else return delete rt[n],null}function tp(n,e){if(e!=null){var t,i,r=Du;rt[n]!=null&&rt[n].parentLocale!=null?rt[n].set(Fs(rt[n]._config,e)):(i=Gn(n),i!=null&&(r=i._config),e=Fs(r,e),i==null&&(e.abbr=n),t=new _s(e),t.parentLocale=rt[n],rt[n]=t),hi(n)}else rt[n]!=null&&(rt[n].parentLocale!=null?(rt[n]=rt[n].parentLocale,n===hi()&&hi(n)):rt[n]!=null&&delete rt[n]);return rt[n]}function ni(n){var e;if(n&&n._locale&&n._locale._abbr&&(n=n._locale._abbr),!n)return cn;if(!Pt(n)){if(e=Gn(n),e)return e;n=[n]}return Xf(n)}function ip(){return Ps(rt)}function Js(n){var e,t=n._a;return t&&He(n).overflow===-2&&(e=t[ei]<0||t[ei]>11?ei:t[Yt]<1||t[Yt]>Us(t[ht],t[ei])?Yt:t[ut]<0||t[ut]>24||t[ut]===24&&(t[It]!==0||t[ti]!==0||t[Ci]!==0)?ut:t[It]<0||t[It]>59?It:t[ti]<0||t[ti]>59?ti:t[Ci]<0||t[Ci]>999?Ci:-1,He(n)._overflowDayOfYear&&(e<ht||e>Yt)&&(e=Yt),He(n)._overflowWeeks&&e===-1&&(e=af),He(n)._overflowWeekday&&e===-1&&(e=of),He(n).overflow=e),n}var np=/^\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)?)?$/,rp=/^\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)?)?$/,sp=/Z|[+-]\d\d(?::?\d\d)?/,Yn=[["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]],qs=[["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/]],ap=/^\/?Date\((-?\d+)/i,op=/^(?:(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}))$/,lp={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Lu(n){var e,t,i=n._i,r=np.exec(i)||rp.exec(i),s,o,l,u,c=Yn.length,d=qs.length;if(r){for(He(n).iso=!0,e=0,t=c;e<t;e++)if(Yn[e][1].exec(r[1])){o=Yn[e][0],s=Yn[e][2]!==!1;break}if(o==null){n._isValid=!1;return}if(r[3]){for(e=0,t=d;e<t;e++)if(qs[e][1].exec(r[3])){l=(r[2]||" ")+qs[e][0];break}if(l==null){n._isValid=!1;return}}if(!s&&l!=null){n._isValid=!1;return}if(r[4])if(sp.exec(r[4]))u="Z";else{n._isValid=!1;return}n._f=o+(l||"")+(u||""),Zs(n)}else n._isValid=!1}function up(n,e,t,i,r,s){var o=[cp(n),Cu.indexOf(e),parseInt(t,10),parseInt(i,10),parseInt(r,10)];return s&&o.push(parseInt(s,10)),o}function cp(n){var e=parseInt(n,10);return e<=49?2e3+e:e<=999?1900+e:e}function dp(n){return n.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function hp(n,e,t){if(n){var i=Ru.indexOf(n),r=new Date(e[0],e[1],e[2]).getDay();if(i!==r)return He(t).weekdayMismatch=!0,t._isValid=!1,!1}return!0}function fp(n,e,t){if(n)return lp[n];if(e)return 0;var i=parseInt(t,10),r=i%100,s=(i-r)/100;return s*60+r}function Bu(n){var e=op.exec(dp(n._i)),t;if(e){if(t=up(e[4],e[3],e[2],e[5],e[6],e[7]),!hp(e[1],t,n))return;n._a=t,n._tzm=fp(e[8],e[9],e[10]),n._d=on.apply(null,n._a),n._d.setUTCMinutes(n._d.getUTCMinutes()-n._tzm),He(n).rfc2822=!0}else n._isValid=!1}function pp(n){var e=ap.exec(n._i);if(e!==null){n._d=new Date(+e[1]);return}if(Lu(n),n._isValid===!1)delete n._isValid;else return;if(Bu(n),n._isValid===!1)delete n._isValid;else return;n._strict?n._isValid=!1:Ae.createFromInputFallback(n)}Ae.createFromInputFallback=Mt("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(n){n._d=new Date(n._i+(n._useUTC?" UTC":""))});function Pi(n,e,t){return n??e??t}function mp(n){var e=new Date(Ae.now());return n._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function $s(n){var e,t,i=[],r,s,o;if(!n._d){for(r=mp(n),n._w&&n._a[Yt]==null&&n._a[ei]==null&&gp(n),n._dayOfYear!=null&&(o=Pi(n._a[ht],r[ht]),(n._dayOfYear>sn(o)||n._dayOfYear===0)&&(He(n)._overflowDayOfYear=!0),t=on(o,0,n._dayOfYear),n._a[ei]=t.getUTCMonth(),n._a[Yt]=t.getUTCDate()),e=0;e<3&&n._a[e]==null;++e)n._a[e]=i[e]=r[e];for(;e<7;e++)n._a[e]=i[e]=n._a[e]==null?e===2?1:0:n._a[e];n._a[ut]===24&&n._a[It]===0&&n._a[ti]===0&&n._a[Ci]===0&&(n._nextDay=!0,n._a[ut]=0),n._d=(n._useUTC?on:Af).apply(null,i),s=n._useUTC?n._d.getUTCDay():n._d.getDay(),n._tzm!=null&&n._d.setUTCMinutes(n._d.getUTCMinutes()-n._tzm),n._nextDay&&(n._a[ut]=24),n._w&&typeof n._w.d<"u"&&n._w.d!==s&&(He(n).weekdayMismatch=!0)}}function gp(n){var e,t,i,r,s,o,l,u,c;e=n._w,e.GG!=null||e.W!=null||e.E!=null?(s=1,o=4,t=Pi(e.GG,n._a[ht],ln(it(),1,4).year),i=Pi(e.W,1),r=Pi(e.E,1),(r<1||r>7)&&(u=!0)):(s=n._locale._week.dow,o=n._locale._week.doy,c=ln(it(),s,o),t=Pi(e.gg,n._a[ht],c.year),i=Pi(e.w,c.week),e.d!=null?(r=e.d,(r<0||r>6)&&(u=!0)):e.e!=null?(r=e.e+s,(e.e<0||e.e>6)&&(u=!0)):r=s),i<1||i>ii(t,s,o)?He(n)._overflowWeeks=!0:u!=null?He(n)._overflowWeekday=!0:(l=xu(t,i,r,s,o),n._a[ht]=l.year,n._dayOfYear=l.dayOfYear)}Ae.ISO_8601=function(){},Ae.RFC_2822=function(){};function Zs(n){if(n._f===Ae.ISO_8601){Lu(n);return}if(n._f===Ae.RFC_2822){Bu(n);return}n._a=[],He(n).empty=!0;var e=""+n._i,t,i,r,s,o,l=e.length,u=0,c,d;for(r=fu(n._f,n._locale).match(Ns)||[],d=r.length,t=0;t<d;t++)s=r[t],i=(e.match(nf(s,n))||[])[0],i&&(o=e.substr(0,e.indexOf(i)),o.length>0&&He(n).unusedInput.push(o),e=e.slice(e.indexOf(i)+i.length),u+=i.length),Li[s]?(i?He(n).empty=!1:He(n).unusedTokens.push(s),sf(s,i,n)):n._strict&&!i&&He(n).unusedTokens.push(s);He(n).charsLeftOver=l-u,e.length>0&&He(n).unusedInput.push(e),n._a[ut]<=12&&He(n).bigHour===!0&&n._a[ut]>0&&(He(n).bigHour=void 0),He(n).parsedDateParts=n._a.slice(0),He(n).meridiem=n._meridiem,n._a[ut]=bp(n._locale,n._a[ut],n._meridiem),c=He(n).era,c!==null&&(n._a[ht]=n._locale.erasConvertYear(c,n._a[ht])),$s(n),Js(n)}function bp(n,e,t){var i;return t==null?e:n.meridiemHour!=null?n.meridiemHour(e,t):(n.isPM!=null&&(i=n.isPM(t),i&&e<12&&(e+=12),!i&&e===12&&(e=0)),e)}function vp(n){var e,t,i,r,s,o,l=!1,u=n._f.length;if(u===0){He(n).invalidFormat=!0,n._d=new Date(NaN);return}for(r=0;r<u;r++)s=0,o=!1,e=Bs({},n),n._useUTC!=null&&(e._useUTC=n._useUTC),e._f=n._f[r],Zs(e),Os(e)&&(o=!0),s+=He(e).charsLeftOver,s+=He(e).unusedTokens.length*10,He(e).score=s,l?s<i&&(i=s,t=e):(i==null||s<i||o)&&(i=s,t=e,o&&(l=!0));di(n,t||e)}function yp(n){if(!n._d){var e=Hs(n._i),t=e.day===void 0?e.date:e.day;n._a=lu([e.year,e.month,t,e.hour,e.minute,e.second,e.millisecond],function(i){return i&&parseInt(i,10)}),$s(n)}}function wp(n){var e=new tn(Js(Fu(n)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Fu(n){var e=n._i,t=n._f;return n._locale=n._locale||ni(n._l),e===null||t===void 0&&e===""?Fn({nullInput:!0}):(typeof e=="string"&&(n._i=e=n._locale.preparse(e)),Nt(e)?new tn(Js(e)):(en(e)?n._d=e:Pt(t)?vp(n):t?Zs(n):Cp(n),Os(n)||(n._d=null),n))}function Cp(n){var e=n._i;vt(e)?n._d=new Date(Ae.now()):en(e)?n._d=new Date(e.valueOf()):typeof e=="string"?pp(n):Pt(e)?(n._a=lu(e.slice(0),function(t){return parseInt(t,10)}),$s(n)):wi(e)?yp(n):Zt(e)?n._d=new Date(e):Ae.createFromInputFallback(n)}function _u(n,e,t,i,r){var s={};return(e===!0||e===!1)&&(i=e,e=void 0),(t===!0||t===!1)&&(i=t,t=void 0),(wi(n)&&Ts(n)||Pt(n)&&n.length===0)&&(n=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=r,s._l=t,s._i=n,s._f=e,s._strict=i,wp(s)}function it(n,e,t,i){return _u(n,e,t,i,!1)}var Ap=Mt("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var n=it.apply(null,arguments);return this.isValid()&&n.isValid()?n<this?this:n:Fn()}),Ep=Mt("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var n=it.apply(null,arguments);return this.isValid()&&n.isValid()?n>this?this:n:Fn()});function Pu(n,e){var t,i;if(e.length===1&&Pt(e[0])&&(e=e[0]),!e.length)return it();for(t=e[0],i=1;i<e.length;++i)(!e[i].isValid()||e[i][n](t))&&(t=e[i]);return t}function kp(){var n=[].slice.call(arguments,0);return Pu("isBefore",n)}function Sp(){var n=[].slice.call(arguments,0);return Pu("isAfter",n)}var xp=function(){return Date.now?Date.now():+new Date},dn=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Rp(n){var e,t=!1,i,r=dn.length;for(e in n)if(Qe(n,e)&&!(lt.call(dn,e)!==-1&&(n[e]==null||!isNaN(n[e]))))return!1;for(i=0;i<r;++i)if(n[dn[i]]){if(t)return!1;parseFloat(n[dn[i]])!==Ue(n[dn[i]])&&(t=!0)}return!0}function Mp(){return this._isValid}function Tp(){return Ht(NaN)}function Qn(n){var e=Hs(n),t=e.year||0,i=e.quarter||0,r=e.month||0,s=e.week||e.isoWeek||0,o=e.day||0,l=e.hour||0,u=e.minute||0,c=e.second||0,d=e.millisecond||0;this._isValid=Rp(e),this._milliseconds=+d+c*1e3+u*6e4+l*1e3*60*60,this._days=+o+s*7,this._months=+r+i*3+t*12,this._data={},this._locale=ni(),this._bubble()}function Kn(n){return n instanceof Qn}function Xs(n){return n<0?Math.round(-1*n)*-1:Math.round(n)}function Dp(n,e,t){var i=Math.min(n.length,e.length),r=Math.abs(n.length-e.length),s=0,o;for(o=0;o<i;o++)Ue(n[o])!==Ue(e[o])&&s++;return s+r}function Nu(n,e){Te(n,0,0,function(){var t=this.utcOffset(),i="+";return t<0&&(t=-t,i="-"),i+Gt(~~(t/60),2)+e+Gt(~~t%60,2)})}Nu("Z",":"),Nu("ZZ",""),Ee("Z",zn),Ee("ZZ",zn),$e(["Z","ZZ"],function(n,e,t){t._useUTC=!0,t._tzm=ea(zn,n)});var Op=/([\+\-]|\d\d)/gi;function ea(n,e){var t=(e||"").match(n),i,r,s;return t===null?null:(i=t[t.length-1]||[],r=(i+"").match(Op)||["-",0,0],s=+(r[1]*60)+Ue(r[2]),s===0?0:r[0]==="+"?s:-s)}function ta(n,e){var t,i;return e._isUTC?(t=e.clone(),i=(Nt(n)||en(n)?n.valueOf():it(n).valueOf())-t.valueOf(),t._d.setTime(t._d.valueOf()+i),Ae.updateOffset(t,!1),t):it(n).local()}function ia(n){return-Math.round(n._d.getTimezoneOffset())}Ae.updateOffset=function(){};function Lp(n,e,t){var i=this._offset||0,r;if(!this.isValid())return n!=null?this:NaN;if(n!=null){if(typeof n=="string"){if(n=ea(zn,n),n===null)return this}else Math.abs(n)<16&&!t&&(n=n*60);return!this._isUTC&&e&&(r=ia(this)),this._offset=n,this._isUTC=!0,r!=null&&this.add(r,"m"),i!==n&&(!e||this._changeInProgress?zu(this,Ht(n-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,Ae.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?i:ia(this)}function Bp(n,e){return n!=null?(typeof n!="string"&&(n=-n),this.utcOffset(n,e),this):-this.utcOffset()}function Fp(n){return this.utcOffset(0,n)}function _p(n){return this._isUTC&&(this.utcOffset(0,n),this._isUTC=!1,n&&this.subtract(ia(this),"m")),this}function Pp(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var n=ea(ef,this._i);n!=null?this.utcOffset(n):this.utcOffset(0,!0)}return this}function Np(n){return this.isValid()?(n=n?it(n).utcOffset():0,(this.utcOffset()-n)%60===0):!1}function Ip(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Hp(){if(!vt(this._isDSTShifted))return this._isDSTShifted;var n={},e;return Bs(n,this),n=Fu(n),n._a?(e=n._isUTC?Wt(n._a):it(n._a),this._isDSTShifted=this.isValid()&&Dp(n._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Vp(){return this.isValid()?!this._isUTC:!1}function zp(){return this.isValid()?this._isUTC:!1}function Iu(){return this.isValid()?this._isUTC&&this._offset===0:!1}var jp=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Wp=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ht(n,e){var t=n,i=null,r,s,o;return Kn(n)?t={ms:n._milliseconds,d:n._days,M:n._months}:Zt(n)||!isNaN(+n)?(t={},e?t[e]=+n:t.milliseconds=+n):(i=jp.exec(n))?(r=i[1]==="-"?-1:1,t={y:0,d:Ue(i[Yt])*r,h:Ue(i[ut])*r,m:Ue(i[It])*r,s:Ue(i[ti])*r,ms:Ue(Xs(i[Ci]*1e3))*r}):(i=Wp.exec(n))?(r=i[1]==="-"?-1:1,t={y:Ai(i[2],r),M:Ai(i[3],r),w:Ai(i[4],r),d:Ai(i[5],r),h:Ai(i[6],r),m:Ai(i[7],r),s:Ai(i[8],r)}):t==null?t={}:typeof t=="object"&&("from"in t||"to"in t)&&(o=Up(it(t.from),it(t.to)),t={},t.ms=o.milliseconds,t.M=o.months),s=new Qn(t),Kn(n)&&Qe(n,"_locale")&&(s._locale=n._locale),Kn(n)&&Qe(n,"_isValid")&&(s._isValid=n._isValid),s}Ht.fn=Qn.prototype,Ht.invalid=Tp;function Ai(n,e){var t=n&&parseFloat(n.replace(",","."));return(isNaN(t)?0:t)*e}function Hu(n,e){var t={};return t.months=e.month()-n.month()+(e.year()-n.year())*12,n.clone().add(t.months,"M").isAfter(e)&&--t.months,t.milliseconds=+e-+n.clone().add(t.months,"M"),t}function Up(n,e){var t;return n.isValid()&&e.isValid()?(e=ta(e,n),n.isBefore(e)?t=Hu(n,e):(t=Hu(e,n),t.milliseconds=-t.milliseconds,t.months=-t.months),t):{milliseconds:0,months:0}}function Vu(n,e){return function(t,i){var r,s;return i!==null&&!isNaN(+i)&&(hu(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=t,t=i,i=s),r=Ht(t,i),zu(this,r,n),this}}function zu(n,e,t,i){var r=e._milliseconds,s=Xs(e._days),o=Xs(e._months);n.isValid()&&(i=i??!0,o&&Eu(n,an(n,"Month")+o*t),s&&wu(n,"Date",an(n,"Date")+s*t),r&&n._d.setTime(n._d.valueOf()+r*t),i&&Ae.updateOffset(n,s||o))}var Gp=Vu(1,"add"),Yp=Vu(-1,"subtract");function ju(n){return typeof n=="string"||n instanceof String}function Qp(n){return Nt(n)||en(n)||ju(n)||Zt(n)||Jp(n)||Kp(n)||n===null||n===void 0}function Kp(n){var e=wi(n)&&!Ts(n),t=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],r,s,o=i.length;for(r=0;r<o;r+=1)s=i[r],t=t||Qe(n,s);return e&&t}function Jp(n){var e=Pt(n),t=!1;return e&&(t=n.filter(function(i){return!Zt(i)&&ju(n)}).length===0),e&&t}function qp(n){var e=wi(n)&&!Ts(n),t=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r,s;for(r=0;r<i.length;r+=1)s=i[r],t=t||Qe(n,s);return e&&t}function $p(n,e){var t=n.diff(e,"days",!0);return t<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"}function Zp(n,e){arguments.length===1&&(arguments[0]?Qp(arguments[0])?(n=arguments[0],e=void 0):qp(arguments[0])&&(e=arguments[0],n=void 0):(n=void 0,e=void 0));var t=n||it(),i=ta(t,this).startOf("day"),r=Ae.calendarFormat(this,i)||"sameElse",s=e&&(Ut(e[r])?e[r].call(this,t):e[r]);return this.format(s||this.localeData().calendar(r,this,it(t)))}function Xp(){return new tn(this)}function em(n,e){var t=Nt(n)?n:it(n);return this.isValid()&&t.isValid()?(e=Tt(e)||"millisecond",e==="millisecond"?this.valueOf()>t.valueOf():t.valueOf()<this.clone().startOf(e).valueOf()):!1}function tm(n,e){var t=Nt(n)?n:it(n);return this.isValid()&&t.isValid()?(e=Tt(e)||"millisecond",e==="millisecond"?this.valueOf()<t.valueOf():this.clone().endOf(e).valueOf()<t.valueOf()):!1}function im(n,e,t,i){var r=Nt(n)?n:it(n),s=Nt(e)?e:it(e);return this.isValid()&&r.isValid()&&s.isValid()?(i=i||"()",(i[0]==="("?this.isAfter(r,t):!this.isBefore(r,t))&&(i[1]===")"?this.isBefore(s,t):!this.isAfter(s,t))):!1}function nm(n,e){var t=Nt(n)?n:it(n),i;return this.isValid()&&t.isValid()?(e=Tt(e)||"millisecond",e==="millisecond"?this.valueOf()===t.valueOf():(i=t.valueOf(),this.clone().startOf(e).valueOf()<=i&&i<=this.clone().endOf(e).valueOf())):!1}function rm(n,e){return this.isSame(n,e)||this.isAfter(n,e)}function sm(n,e){return this.isSame(n,e)||this.isBefore(n,e)}function am(n,e,t){var i,r,s;if(!this.isValid())return NaN;if(i=ta(n,this),!i.isValid())return NaN;switch(r=(i.utcOffset()-this.utcOffset())*6e4,e=Tt(e),e){case"year":s=Jn(this,i)/12;break;case"month":s=Jn(this,i);break;case"quarter":s=Jn(this,i)/3;break;case"second":s=(this-i)/1e3;break;case"minute":s=(this-i)/6e4;break;case"hour":s=(this-i)/36e5;break;case"day":s=(this-i-r)/864e5;break;case"week":s=(this-i-r)/6048e5;break;default:s=this-i}return t?s:Dt(s)}function Jn(n,e){if(n.date()<e.date())return-Jn(e,n);var t=(e.year()-n.year())*12+(e.month()-n.month()),i=n.clone().add(t,"months"),r,s;return e-i<0?(r=n.clone().add(t-1,"months"),s=(e-i)/(i-r)):(r=n.clone().add(t+1,"months"),s=(e-i)/(r-i)),-(t+s)||0}Ae.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",Ae.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function om(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function lm(n){if(!this.isValid())return null;var e=n!==!0,t=e?this.clone().utc():this;return t.year()<0||t.year()>9999?Pn(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Ut(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Pn(t,"Z")):Pn(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function um(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var n="moment",e="",t,i,r,s;return this.isLocal()||(n=this.utcOffset()===0?"moment.utc":"moment.parseZone",e="Z"),t="["+n+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r="-MM-DD[T]HH:mm:ss.SSS",s=e+'[")]',this.format(t+i+r+s)}function cm(n){n||(n=this.isUtc()?Ae.defaultFormatUtc:Ae.defaultFormat);var e=Pn(this,n);return this.localeData().postformat(e)}function dm(n,e){return this.isValid()&&(Nt(n)&&n.isValid()||it(n).isValid())?Ht({to:this,from:n}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function hm(n){return this.from(it(),n)}function fm(n,e){return this.isValid()&&(Nt(n)&&n.isValid()||it(n).isValid())?Ht({from:this,to:n}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function pm(n){return this.to(it(),n)}function Wu(n){var e;return n===void 0?this._locale._abbr:(e=ni(n),e!=null&&(this._locale=e),this)}var Uu=Mt("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(n){return n===void 0?this.localeData():this.locale(n)});function Gu(){return this._locale}var qn=1e3,Ni=60*qn,$n=60*Ni,Yu=(365*400+97)*24*$n;function Ii(n,e){return(n%e+e)%e}function Qu(n,e,t){return n<100&&n>=0?new Date(n+400,e,t)-Yu:new Date(n,e,t).valueOf()}function Ku(n,e,t){return n<100&&n>=0?Date.UTC(n+400,e,t)-Yu:Date.UTC(n,e,t)}function mm(n){var e,t;if(n=Tt(n),n===void 0||n==="millisecond"||!this.isValid())return this;switch(t=this._isUTC?Ku:Qu,n){case"year":e=t(this.year(),0,1);break;case"quarter":e=t(this.year(),this.month()-this.month()%3,1);break;case"month":e=t(this.year(),this.month(),1);break;case"week":e=t(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=t(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=t(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=Ii(e+(this._isUTC?0:this.utcOffset()*Ni),$n);break;case"minute":e=this._d.valueOf(),e-=Ii(e,Ni);break;case"second":e=this._d.valueOf(),e-=Ii(e,qn);break}return this._d.setTime(e),Ae.updateOffset(this,!0),this}function gm(n){var e,t;if(n=Tt(n),n===void 0||n==="millisecond"||!this.isValid())return this;switch(t=this._isUTC?Ku:Qu,n){case"year":e=t(this.year()+1,0,1)-1;break;case"quarter":e=t(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=t(this.year(),this.month()+1,1)-1;break;case"week":e=t(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=t(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=t(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=$n-Ii(e+(this._isUTC?0:this.utcOffset()*Ni),$n)-1;break;case"minute":e=this._d.valueOf(),e+=Ni-Ii(e,Ni)-1;break;case"second":e=this._d.valueOf(),e+=qn-Ii(e,qn)-1;break}return this._d.setTime(e),Ae.updateOffset(this,!0),this}function bm(){return this._d.valueOf()-(this._offset||0)*6e4}function vm(){return Math.floor(this.valueOf()/1e3)}function ym(){return new Date(this.valueOf())}function wm(){var n=this;return[n.year(),n.month(),n.date(),n.hour(),n.minute(),n.second(),n.millisecond()]}function Cm(){var n=this;return{years:n.year(),months:n.month(),date:n.date(),hours:n.hours(),minutes:n.minutes(),seconds:n.seconds(),milliseconds:n.milliseconds()}}function Am(){return this.isValid()?this.toISOString():null}function Em(){return Os(this)}function km(){return di({},He(this))}function Sm(){return He(this).overflow}function xm(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}Te("N",0,0,"eraAbbr"),Te("NN",0,0,"eraAbbr"),Te("NNN",0,0,"eraAbbr"),Te("NNNN",0,0,"eraName"),Te("NNNNN",0,0,"eraNarrow"),Te("y",["y",1],"yo","eraYear"),Te("y",["yy",2],0,"eraYear"),Te("y",["yyy",3],0,"eraYear"),Te("y",["yyyy",4],0,"eraYear"),Ee("N",na),Ee("NN",na),Ee("NNN",na),Ee("NNNN",Nm),Ee("NNNNN",Im),$e(["N","NN","NNN","NNNN","NNNNN"],function(n,e,t,i){var r=t._locale.erasParse(n,i,t._strict);r?He(t).era=r:He(t).invalidEra=n}),Ee("y",Bi),Ee("yy",Bi),Ee("yyy",Bi),Ee("yyyy",Bi),Ee("yo",Hm),$e(["y","yy","yyy","yyyy"],ht),$e(["yo"],function(n,e,t,i){var r;t._locale._eraYearOrdinalRegex&&(r=n.match(t._locale._eraYearOrdinalRegex)),t._locale.eraYearOrdinalParse?e[ht]=t._locale.eraYearOrdinalParse(n,r):e[ht]=parseInt(n,10)});function Rm(n,e){var t,i,r,s=this._eras||ni("en")._eras;for(t=0,i=s.length;t<i;++t){switch(typeof s[t].since){case"string":r=Ae(s[t].since).startOf("day"),s[t].since=r.valueOf();break}switch(typeof s[t].until){case"undefined":s[t].until=1/0;break;case"string":r=Ae(s[t].until).startOf("day").valueOf(),s[t].until=r.valueOf();break}}return s}function Mm(n,e,t){var i,r,s=this.eras(),o,l,u;for(n=n.toUpperCase(),i=0,r=s.length;i<r;++i)if(o=s[i].name.toUpperCase(),l=s[i].abbr.toUpperCase(),u=s[i].narrow.toUpperCase(),t)switch(e){case"N":case"NN":case"NNN":if(l===n)return s[i];break;case"NNNN":if(o===n)return s[i];break;case"NNNNN":if(u===n)return s[i];break}else if([o,l,u].indexOf(n)>=0)return s[i]}function Tm(n,e){var t=n.since<=n.until?1:-1;return e===void 0?Ae(n.since).year():Ae(n.since).year()+(e-n.offset)*t}function Dm(){var n,e,t,i=this.localeData().eras();for(n=0,e=i.length;n<e;++n)if(t=this.clone().startOf("day").valueOf(),i[n].since<=t&&t<=i[n].until||i[n].until<=t&&t<=i[n].since)return i[n].name;return""}function Om(){var n,e,t,i=this.localeData().eras();for(n=0,e=i.length;n<e;++n)if(t=this.clone().startOf("day").valueOf(),i[n].since<=t&&t<=i[n].until||i[n].until<=t&&t<=i[n].since)return i[n].narrow;return""}function Lm(){var n,e,t,i=this.localeData().eras();for(n=0,e=i.length;n<e;++n)if(t=this.clone().startOf("day").valueOf(),i[n].since<=t&&t<=i[n].until||i[n].until<=t&&t<=i[n].since)return i[n].abbr;return""}function Bm(){var n,e,t,i,r=this.localeData().eras();for(n=0,e=r.length;n<e;++n)if(t=r[n].since<=r[n].until?1:-1,i=this.clone().startOf("day").valueOf(),r[n].since<=i&&i<=r[n].until||r[n].until<=i&&i<=r[n].since)return(this.year()-Ae(r[n].since).year())*t+r[n].offset;return this.year()}function Fm(n){return Qe(this,"_erasNameRegex")||ra.call(this),n?this._erasNameRegex:this._erasRegex}function _m(n){return Qe(this,"_erasAbbrRegex")||ra.call(this),n?this._erasAbbrRegex:this._erasRegex}function Pm(n){return Qe(this,"_erasNarrowRegex")||ra.call(this),n?this._erasNarrowRegex:this._erasRegex}function na(n,e){return e.erasAbbrRegex(n)}function Nm(n,e){return e.erasNameRegex(n)}function Im(n,e){return e.erasNarrowRegex(n)}function Hm(n,e){return e._eraYearOrdinalRegex||Bi}function ra(){var n=[],e=[],t=[],i=[],r,s,o,l,u,c=this.eras();for(r=0,s=c.length;r<s;++r)o=Xt(c[r].name),l=Xt(c[r].abbr),u=Xt(c[r].narrow),e.push(o),n.push(l),t.push(u),i.push(o),i.push(l),i.push(u);this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+t.join("|")+")","i")}Te(0,["gg",2],0,function(){return this.weekYear()%100}),Te(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Zn(n,e){Te(0,[n,n.length],0,e)}Zn("gggg","weekYear"),Zn("ggggg","weekYear"),Zn("GGGG","isoWeekYear"),Zn("GGGGG","isoWeekYear"),Ee("G",Vn),Ee("g",Vn),Ee("GG",tt,Et),Ee("gg",tt,Et),Ee("GGGG",zs,Vs),Ee("gggg",zs,Vs),Ee("GGGGG",Hn,Nn),Ee("ggggg",Hn,Nn),rn(["gggg","ggggg","GGGG","GGGGG"],function(n,e,t,i){e[i.substr(0,2)]=Ue(n)}),rn(["gg","GG"],function(n,e,t,i){e[i]=Ae.parseTwoDigitYear(n)});function Vm(n){return Ju.call(this,n,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function zm(n){return Ju.call(this,n,this.isoWeek(),this.isoWeekday(),1,4)}function jm(){return ii(this.year(),1,4)}function Wm(){return ii(this.isoWeekYear(),1,4)}function Um(){var n=this.localeData()._week;return ii(this.year(),n.dow,n.doy)}function Gm(){var n=this.localeData()._week;return ii(this.weekYear(),n.dow,n.doy)}function Ju(n,e,t,i,r){var s;return n==null?ln(this,i,r).year:(s=ii(n,i,r),e>s&&(e=s),Ym.call(this,n,e,t,i,r))}function Ym(n,e,t,i,r){var s=xu(n,e,t,i,r),o=on(s.year,0,s.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}Te("Q",0,"Qo","quarter"),Ee("Q",mu),$e("Q",function(n,e){e[ei]=(Ue(n)-1)*3});function Qm(n){return n==null?Math.ceil((this.month()+1)/3):this.month((n-1)*3+this.month()%3)}Te("D",["DD",2],"Do","date"),Ee("D",tt,Fi),Ee("DD",tt,Et),Ee("Do",function(n,e){return n?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),$e(["D","DD"],Yt),$e("Do",function(n,e){e[Yt]=Ue(n.match(tt)[0])});var qu=_i("Date",!0);Te("DDD",["DDDD",3],"DDDo","dayOfYear"),Ee("DDD",In),Ee("DDDD",gu),$e(["DDD","DDDD"],function(n,e,t){t._dayOfYear=Ue(n)});function Km(n){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return n==null?e:this.add(n-e,"d")}Te("m",["mm",2],0,"minute"),Ee("m",tt,js),Ee("mm",tt,Et),$e(["m","mm"],It);var Jm=_i("Minutes",!1);Te("s",["ss",2],0,"second"),Ee("s",tt,js),Ee("ss",tt,Et),$e(["s","ss"],ti);var qm=_i("Seconds",!1);Te("S",0,0,function(){return~~(this.millisecond()/100)}),Te(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Te(0,["SSS",3],0,"millisecond"),Te(0,["SSSS",4],0,function(){return this.millisecond()*10}),Te(0,["SSSSS",5],0,function(){return this.millisecond()*100}),Te(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),Te(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),Te(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),Te(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),Ee("S",In,mu),Ee("SS",In,Et),Ee("SSS",In,gu);var fi,$u;for(fi="SSSS";fi.length<=9;fi+="S")Ee(fi,Bi);function $m(n,e){e[Ci]=Ue(("0."+n)*1e3)}for(fi="S";fi.length<=9;fi+="S")$e(fi,$m);$u=_i("Milliseconds",!1),Te("z",0,0,"zoneAbbr"),Te("zz",0,0,"zoneName");function Zm(){return this._isUTC?"UTC":""}function Xm(){return this._isUTC?"Coordinated Universal Time":""}var ve=tn.prototype;ve.add=Gp,ve.calendar=Zp,ve.clone=Xp,ve.diff=am,ve.endOf=gm,ve.format=cm,ve.from=dm,ve.fromNow=hm,ve.to=fm,ve.toNow=pm,ve.get=uf,ve.invalidAt=Sm,ve.isAfter=em,ve.isBefore=tm,ve.isBetween=im,ve.isSame=nm,ve.isSameOrAfter=rm,ve.isSameOrBefore=sm,ve.isValid=Em,ve.lang=Uu,ve.locale=Wu,ve.localeData=Gu,ve.max=Ep,ve.min=Ap,ve.parsingFlags=km,ve.set=cf,ve.startOf=mm,ve.subtract=Yp,ve.toArray=wm,ve.toObject=Cm,ve.toDate=ym,ve.toISOString=lm,ve.inspect=um,typeof Symbol<"u"&&Symbol.for!=null&&(ve[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ve.toJSON=Am,ve.toString=om,ve.unix=vm,ve.valueOf=bm,ve.creationData=xm,ve.eraName=Dm,ve.eraNarrow=Om,ve.eraAbbr=Lm,ve.eraYear=Bm,ve.year=yu,ve.isLeapYear=lf,ve.weekYear=Vm,ve.isoWeekYear=zm,ve.quarter=ve.quarters=Qm,ve.month=ku,ve.daysInMonth=yf,ve.week=ve.weeks=Rf,ve.isoWeek=ve.isoWeeks=Mf,ve.weeksInYear=Um,ve.weeksInWeekYear=Gm,ve.isoWeeksInYear=jm,ve.isoWeeksInISOWeekYear=Wm,ve.date=qu,ve.day=ve.days=zf,ve.weekday=jf,ve.isoWeekday=Wf,ve.dayOfYear=Km,ve.hour=ve.hours=qf,ve.minute=ve.minutes=Jm,ve.second=ve.seconds=qm,ve.millisecond=ve.milliseconds=$u,ve.utcOffset=Lp,ve.utc=Fp,ve.local=_p,ve.parseZone=Pp,ve.hasAlignedHourOffset=Np,ve.isDST=Ip,ve.isLocal=Vp,ve.isUtcOffset=zp,ve.isUtc=Iu,ve.isUTC=Iu,ve.zoneAbbr=Zm,ve.zoneName=Xm,ve.dates=Mt("dates accessor is deprecated. Use date instead.",qu),ve.months=Mt("months accessor is deprecated. Use month instead",ku),ve.years=Mt("years accessor is deprecated. Use year instead",yu),ve.zone=Mt("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Bp),ve.isDSTShifted=Mt("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Hp);function eg(n){return it(n*1e3)}function tg(){return it.apply(null,arguments).parseZone()}function Zu(n){return n}var Ke=_s.prototype;Ke.calendar=Hh,Ke.longDateFormat=Wh,Ke.invalidDate=Gh,Ke.ordinal=Kh,Ke.preparse=Zu,Ke.postformat=Zu,Ke.relativeTime=qh,Ke.pastFuture=$h,Ke.set=Nh,Ke.eras=Rm,Ke.erasParse=Mm,Ke.erasConvertYear=Tm,Ke.erasAbbrRegex=_m,Ke.erasNameRegex=Fm,Ke.erasNarrowRegex=Pm,Ke.months=mf,Ke.monthsShort=gf,Ke.monthsParse=vf,Ke.monthsRegex=Cf,Ke.monthsShortRegex=wf,Ke.week=Ef,Ke.firstDayOfYear=xf,Ke.firstDayOfWeek=Sf,Ke.weekdays=Pf,Ke.weekdaysMin=If,Ke.weekdaysShort=Nf,Ke.weekdaysParse=Vf,Ke.weekdaysRegex=Uf,Ke.weekdaysShortRegex=Gf,Ke.weekdaysMinRegex=Yf,Ke.isPM=Kf,Ke.meridiem=$f;function Xn(n,e,t,i){var r=ni(),s=Wt().set(i,e);return r[t](s,n)}function Xu(n,e,t){if(Zt(n)&&(e=n,n=void 0),n=n||"",e!=null)return Xn(n,e,t,"month");var i,r=[];for(i=0;i<12;i++)r[i]=Xn(n,i,t,"month");return r}function sa(n,e,t,i){typeof n=="boolean"?(Zt(e)&&(t=e,e=void 0),e=e||""):(e=n,t=e,n=!1,Zt(e)&&(t=e,e=void 0),e=e||"");var r=ni(),s=n?r._week.dow:0,o,l=[];if(t!=null)return Xn(e,(t+s)%7,i,"day");for(o=0;o<7;o++)l[o]=Xn(e,(o+s)%7,i,"day");return l}function ig(n,e){return Xu(n,e,"months")}function ng(n,e){return Xu(n,e,"monthsShort")}function rg(n,e,t){return sa(n,e,t,"weekdays")}function sg(n,e,t){return sa(n,e,t,"weekdaysShort")}function ag(n,e,t){return sa(n,e,t,"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(n){var e=n%10,t=Ue(n%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th";return n+t}}),Ae.lang=Mt("moment.lang is deprecated. Use moment.locale instead.",hi),Ae.langData=Mt("moment.langData is deprecated. Use moment.localeData instead.",ni);var ri=Math.abs;function og(){var n=this._data;return this._milliseconds=ri(this._milliseconds),this._days=ri(this._days),this._months=ri(this._months),n.milliseconds=ri(n.milliseconds),n.seconds=ri(n.seconds),n.minutes=ri(n.minutes),n.hours=ri(n.hours),n.months=ri(n.months),n.years=ri(n.years),this}function ec(n,e,t,i){var r=Ht(e,t);return n._milliseconds+=i*r._milliseconds,n._days+=i*r._days,n._months+=i*r._months,n._bubble()}function lg(n,e){return ec(this,n,e,1)}function ug(n,e){return ec(this,n,e,-1)}function tc(n){return n<0?Math.floor(n):Math.ceil(n)}function cg(){var n=this._milliseconds,e=this._days,t=this._months,i=this._data,r,s,o,l,u;return n>=0&&e>=0&&t>=0||n<=0&&e<=0&&t<=0||(n+=tc(aa(t)+e)*864e5,e=0,t=0),i.milliseconds=n%1e3,r=Dt(n/1e3),i.seconds=r%60,s=Dt(r/60),i.minutes=s%60,o=Dt(s/60),i.hours=o%24,e+=Dt(o/24),u=Dt(ic(e)),t+=u,e-=tc(aa(u)),l=Dt(t/12),t%=12,i.days=e,i.months=t,i.years=l,this}function ic(n){return n*4800/146097}function aa(n){return n*146097/4800}function dg(n){if(!this.isValid())return NaN;var e,t,i=this._milliseconds;if(n=Tt(n),n==="month"||n==="quarter"||n==="year")switch(e=this._days+i/864e5,t=this._months+ic(e),n){case"month":return t;case"quarter":return t/3;case"year":return t/12}else switch(e=this._days+Math.round(aa(this._months)),n){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return e*24+i/36e5;case"minute":return e*1440+i/6e4;case"second":return e*86400+i/1e3;case"millisecond":return Math.floor(e*864e5)+i;default:throw new Error("Unknown unit "+n)}}function si(n){return function(){return this.as(n)}}var nc=si("ms"),hg=si("s"),fg=si("m"),pg=si("h"),mg=si("d"),gg=si("w"),bg=si("M"),vg=si("Q"),yg=si("y"),wg=nc;function Cg(){return Ht(this)}function Ag(n){return n=Tt(n),this.isValid()?this[n+"s"]():NaN}function Ei(n){return function(){return this.isValid()?this._data[n]:NaN}}var Eg=Ei("milliseconds"),kg=Ei("seconds"),Sg=Ei("minutes"),xg=Ei("hours"),Rg=Ei("days"),Mg=Ei("months"),Tg=Ei("years");function Dg(){return Dt(this.days()/7)}var ai=Math.round,Hi={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Og(n,e,t,i,r){return r.relativeTime(e||1,!!t,n,i)}function Lg(n,e,t,i){var r=Ht(n).abs(),s=ai(r.as("s")),o=ai(r.as("m")),l=ai(r.as("h")),u=ai(r.as("d")),c=ai(r.as("M")),d=ai(r.as("w")),f=ai(r.as("y")),p=s<=t.ss&&["s",s]||s<t.s&&["ss",s]||o<=1&&["m"]||o<t.m&&["mm",o]||l<=1&&["h"]||l<t.h&&["hh",l]||u<=1&&["d"]||u<t.d&&["dd",u];return t.w!=null&&(p=p||d<=1&&["w"]||d<t.w&&["ww",d]),p=p||c<=1&&["M"]||c<t.M&&["MM",c]||f<=1&&["y"]||["yy",f],p[2]=e,p[3]=+n>0,p[4]=i,Og.apply(null,p)}function Bg(n){return n===void 0?ai:typeof n=="function"?(ai=n,!0):!1}function Fg(n,e){return Hi[n]===void 0?!1:e===void 0?Hi[n]:(Hi[n]=e,n==="s"&&(Hi.ss=e-1),!0)}function _g(n,e){if(!this.isValid())return this.localeData().invalidDate();var t=!1,i=Hi,r,s;return typeof n=="object"&&(e=n,n=!1),typeof n=="boolean"&&(t=n),typeof e=="object"&&(i=Object.assign({},Hi,e),e.s!=null&&e.ss==null&&(i.ss=e.s-1)),r=this.localeData(),s=Lg(this,!t,i,r),t&&(s=r.pastFuture(+this,s)),r.postformat(s)}var oa=Math.abs;function Vi(n){return(n>0)-(n<0)||+n}function er(){if(!this.isValid())return this.localeData().invalidDate();var n=oa(this._milliseconds)/1e3,e=oa(this._days),t=oa(this._months),i,r,s,o,l=this.asSeconds(),u,c,d,f;return l?(i=Dt(n/60),r=Dt(i/60),n%=60,i%=60,s=Dt(t/12),t%=12,o=n?n.toFixed(3).replace(/\.?0+$/,""):"",u=l<0?"-":"",c=Vi(this._months)!==Vi(l)?"-":"",d=Vi(this._days)!==Vi(l)?"-":"",f=Vi(this._milliseconds)!==Vi(l)?"-":"",u+"P"+(s?c+s+"Y":"")+(t?c+t+"M":"")+(e?d+e+"D":"")+(r||i||n?"T":"")+(r?f+r+"H":"")+(i?f+i+"M":"")+(n?f+o+"S":"")):"P0D"}var Ye=Qn.prototype;Ye.isValid=Mp,Ye.abs=og,Ye.add=lg,Ye.subtract=ug,Ye.as=dg,Ye.asMilliseconds=nc,Ye.asSeconds=hg,Ye.asMinutes=fg,Ye.asHours=pg,Ye.asDays=mg,Ye.asWeeks=gg,Ye.asMonths=bg,Ye.asQuarters=vg,Ye.asYears=yg,Ye.valueOf=wg,Ye._bubble=cg,Ye.clone=Cg,Ye.get=Ag,Ye.milliseconds=Eg,Ye.seconds=kg,Ye.minutes=Sg,Ye.hours=xg,Ye.days=Rg,Ye.weeks=Dg,Ye.months=Mg,Ye.years=Tg,Ye.humanize=_g,Ye.toISOString=er,Ye.toString=er,Ye.toJSON=er,Ye.locale=Wu,Ye.localeData=Gu,Ye.toIsoString=Mt("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",er),Ye.lang=Uu,Te("X",0,0,"unix"),Te("x",0,0,"valueOf"),Ee("x",Vn),Ee("X",tf),$e("X",function(n,e,t){t._d=new Date(parseFloat(n)*1e3)}),$e("x",function(n,e,t){t._d=new Date(Ue(n))});//! moment.js
25
25
  Ae.version="2.30.1",_h(it),Ae.fn=ve,Ae.min=kp,Ae.max=Sp,Ae.now=xp,Ae.utc=Wt,Ae.unix=eg,Ae.months=ig,Ae.isDate=en,Ae.locale=hi,Ae.invalid=Fn,Ae.duration=Ht,Ae.isMoment=Nt,Ae.weekdays=rg,Ae.parseZone=tg,Ae.localeData=ni,Ae.isDuration=Kn,Ae.monthsShort=ng,Ae.weekdaysMin=ag,Ae.defineLocale=Ks,Ae.updateLocale=tp,Ae.locales=ip,Ae.weekdaysShort=sg,Ae.normalizeUnits=Tt,Ae.relativeTimeRounding=Bg,Ae.relativeTimeThreshold=Fg,Ae.calendarFormat=$p,Ae.prototype=ve,Ae.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 rc=n=>n===void 0||n==="auto"||n==="instant"||n==="smooth";function Pg(n,e){this.scrollLeft=n,this.scrollTop=e}const sc=(n,e,t="cannot convert to dictionary.")=>`Failed to execute '${n}' on '${e}': ${t}`,ac=(n,e,t)=>sc(n,e,`The provided value '${t}' is not a valid enum value of type ScrollBehavior.`),oc=(n,e,t)=>{var i;const r=`__SEAMLESS.BACKUP$${e}`;return!n[r]&&n[e]&&!(!((i=n[e])===null||i===void 0)&&i.__isPolyfill)&&(n[r]=n[e]),n[r]||t},Ng=n=>{const e=typeof n;return n!==null&&(e==="object"||e==="function")},la=n=>n.ownerDocument.scrollingElement||n.ownerDocument.documentElement;function Ig(n){if(typeof Event=="function")return new Event("scrollend",{bubbles:n,cancelable:!1});const e=document.createEvent("Event");return e.initEvent("scrollend",n,!1),e}const Hg=n=>.5*(1-Math.cos(Math.PI*n));function ua(){var n;let e;return!((n=window.performance)===null||n===void 0)&&n.now?e=()=>window.performance.now():e=()=>window.Date.now(),ua=e,e()}const Vg=500,lc=n=>{const t=(ua()-n.timeStamp)/(n.duration||Vg);if(t>1){n.method(n.targetX,n.targetY),n.callback();return}const i=(n.timingFunc||Hg)(t),r=n.startX+(n.targetX-n.startX)*i,s=n.startY+(n.targetY-n.startY)*i;n.method(r,s),n.rafId=window.requestAnimationFrame(()=>{lc(n)})},tr=n=>isFinite(n)?Number(n):0,zg=n=>{var e;return(e=n.isConnected)!==null&&e!==void 0?e:!n.ownerDocument||!(n.ownerDocument.compareDocumentPosition(n)&1)},jg=(n,e,t)=>{var i,r;if(!zg(n))return;const s=n.scrollLeft,o=n.scrollTop,l=tr((i=e.left)!==null&&i!==void 0?i:s),u=tr((r=e.top)!==null&&r!==void 0?r:o);if(l===s&&u===o)return;const c=oc(HTMLElement.prototype,"scroll",Pg),d=oc(Object.getPrototypeOf(n),"scroll",c).bind(n);if(e.behavior!=="smooth"){d(l,u);return}const f=()=>{window.removeEventListener("wheel",x),window.removeEventListener("touchmove",x)},p=()=>{f();const y=n.nodeType===9;n.dispatchEvent(Ig(y))},h=Object.assign(Object.assign({},t),{timeStamp:ua(),startX:s,startY:o,targetX:l,targetY:u,rafId:0,method:d,callback:p}),x=()=>{window.cancelAnimationFrame(h.rafId),f()};window.addEventListener("wheel",x,{passive:!0,once:!0}),window.addEventListener("touchmove",x,{passive:!0,once:!0}),lc(h)},Wg=n=>n.window===n,Ug=(n=>(e,t,i)=>{const[r,s]=Wg(e)?[la(e.document.documentElement),"Window"]:[e,"Element"],o=t??{};if(!Ng(o))throw new TypeError(sc(n,s));if(!rc(o.behavior))throw new TypeError(ac(n,s,o.behavior));n==="scrollBy"&&(o.left=tr(o.left)+r.scrollLeft,o.top=tr(o.top)+r.scrollTop),jg(r,o,i)})("scroll"),uc=n=>{switch(n){case"horizontal-tb":case"lr":case"lr-tb":case"rl":case"rl-tb":return 0;case"vertical-rl":case"tb":case"tb-rl":return 1;case"vertical-lr":case"tb-lr":return 2;case"sideways-rl":return 3;case"sideways-lr":return 4}return 0},cc=(n,e,t,i)=>{let r=0;switch(e||(r^=2),n){case 0:r=r>>1|(r&1)<<1,[t,i]=[i,t];break;case 1:case 3:r^=1;break;case 4:r^=2;break}return[r,t,i]},Gg=n=>(cc(uc(n.writingMode),n.direction!=="rtl",void 0,void 0)[0]&1)===1,Yg=(n,e,t)=>{const[i,r,s]=cc(e,t,n.block||"start",n.inline||"nearest");return[r,s].map((o,l)=>{switch(o){case"center":return 1;case"nearest":return 0;default:{const u=i>>l&1;return o==="start"==!u?2:3}}})},dc=(n,e,t,i,r,s,o)=>n!==0?n:r<e&&s>t||r>e&&s<t?null:r<=e&&o<=i||s>=t&&o>=i?2:s>t&&o<i||r<e&&o>i?3:null,hc=n=>n!=="visible"&&n!=="clip",Qg=n=>{var e;try{return((e=n.ownerDocument.defaultView)===null||e===void 0?void 0:e.frameElement)||null}catch{return null}},Kg=(n,e)=>n.clientHeight<n.scrollHeight||n.clientWidth<n.scrollWidth?hc(e.overflowY)||hc(e.overflowX)||n===la(n):!1,fc=n=>{const e=n.parentNode,t=n.parentElement;if(t===null&&e!==null){if(e.nodeType===11)return e.host;if(e.nodeType===9)return Qg(n)}return t},ca=(n,e,t)=>n<e?e:n>t?t:n,Jg=n=>["scroll-margin","scroll-snap-margin"].filter(e=>e in n.documentElement.style)[0],qg=(n,e,t)=>{const{top:i,right:r,bottom:s,left:o}=e,l=Jg(n.ownerDocument);if(!l)return[i,r,s,o];const u=c=>{const d=t.getPropertyValue(`${l}-${c}`);return parseInt(d,10)||0};return[i-u("top"),r+u("right"),s+u("bottom"),o-u("left")]},ir=(n,e,t)=>{switch(n){case 1:return(e+t)/2;case 3:return t;case 2:case 0:return e}},$g=(n,e)=>{var t,i,r;const s=(t=n.ownerDocument.defaultView)===null||t===void 0?void 0:t.visualViewport,[o,l,u,c]=n===la(n)?[0,0,(i=s?.width)!==null&&i!==void 0?i:n.clientWidth,(r=s?.height)!==null&&r!==void 0?r:n.clientHeight]:[e.left,e.top,n.clientWidth,n.clientHeight],d=o+n.clientLeft,f=l+n.clientTop,p=d+u,h=f+c;return[f,p,h,d]},Zg=(n,e)=>{const t=[];let i=n.ownerDocument,r=i.defaultView;if(!r)return t;const s=window.getComputedStyle(n),o=s.direction!=="rtl",l=uc(s.writingMode||s.getPropertyValue("-webkit-writing-mode")||s.getPropertyValue("-ms-writing-mode")),[u,c]=Yg(e,l,o);let[d,f,p,h]=qg(n,n.getBoundingClientRect(),s);for(let x=fc(n);x!==null;x=fc(x)){if(i!==x.ownerDocument){if(i=x.ownerDocument,r=i.defaultView,!r)break;const{left:T,top:R}=x.getBoundingClientRect();d+=R,f+=T,p+=R,h+=T}const y=r.getComputedStyle(x);if(y.position==="fixed")break;if(!Kg(x,y))continue;const A=x.getBoundingClientRect(),[C,m,D,g]=$g(x,A),M=dc(u,g,m,x.clientWidth,h,f,f-h),v=dc(c,C,D,x.clientHeight,d,p,p-d),S=M===null?0:ir(M,h,f)-ir(M,g,m),w=v===null?0:ir(v,d,p)-ir(v,C,D),k=Gg(y)?ca(S,-x.scrollWidth+x.clientWidth-x.scrollLeft,-x.scrollLeft):ca(S,-x.scrollLeft,x.scrollWidth-x.clientWidth-x.scrollLeft),b=ca(w,-x.scrollTop,x.scrollHeight-x.clientHeight-x.scrollTop);t.push([x,{left:x.scrollLeft+k,top:x.scrollTop+b,behavior:e.behavior}]),d=Math.max(d-b,C),f=Math.min(f-k,m),p=Math.min(p-b,D),h=Math.max(h-k,g)}return t},pc=(n,e,t)=>{const i=e||{};if(!rc(i.behavior))throw new TypeError(ac("scrollIntoView","Element",i.behavior));Zg(n,i).forEach(([s,o])=>{Ug(s,o,t)})},da=(n,e)=>e.some(t=>n.includes(t)),ha=(n,e)=>e.every(t=>n.includes(t));function fa(n){return Array.isArray(n)?n.map(e=>({id:e.id,label:e.name,all:e})):[]}function pa(){setTimeout(()=>{const e=document.querySelectorAll(".not-valid")[0];e&&pc(e,{behavior:"smooth",block:"center"})})}function ma(n,e){const t=document.querySelector(n);t&&pc(t,{behavior:"smooth",block:"center",...e})}function ga(){return navigator?.language?.split("-")[0]}function nr(){return["ru","en","kz"]}function ba(n){return nr().includes(n)}function hn(n,e){let t;return function(...i){t&&clearTimeout(t),t=setTimeout(()=>{n(...i)},e)}}function va(n,e){let t;return function(...i){t||(n(...i),t=!0,setTimeout(()=>t=!1,e))}}function rr(n){const e={};for(const[t,i]of Object.entries(n))i&&(e[t]=i);return e}function ya(n){return n.map(e=>rr(e))}function wa(n){return n.reduce((e,t)=>e+t,0)}const Ca=()=>({alias:"email"}),Aa=()=>({regex:"^[0-9]{9,16}$"}),Ea=()=>({regex:"^[0-9]{10,12}$"}),ka=()=>({mask:"999999999"}),Sa=()=>({mask:"999-999-999 99"}),xa=()=>({mask:"9999 999999"});function sr(n){return typeof n!="string"?!1:Ae(n).isValid()}function Ra(n,e={}){const{withTime:t=!1,locale:i="ru"}=e;if(!n||n.length===0||!sr(n))return"";const r=new Date(n),s=r.getHours()>=10?r.getHours():`0${r.getHours()}`,o=r.getMinutes()>=10?r.getMinutes():`0${r.getMinutes()}`,l=r.getFullYear(),u=r.getMonth()+1>=10?r.getMonth()+1:`0${r.getMonth()+1}`,c=r.getDate()>=10?r.getDate():`0${r.getDate()}`;return i==="ru"?t?`${c}.${u}.${l} ${s}:${o}`:`${c}.${u}.${l}`:t?`${u}.${c}.${l} ${s}:${o}`:`${u}.${c}.${l}`}function Ma(n,e={}){const{locale:t="ru",currency:i="RUB"}=e,r={ru:"ru-RU",en:"en-US",kz:"kk-KZ"},o={style:"currency",maximumSignificantDigits:2,currency:{ru:"RUB",en:"USD",kz:"KZT"}[t]||i};return new Intl.NumberFormat(r[t]||"en-US",o).format(Number(n))}function Ta(n){return Ae(new Date).format(n)}function Da(n,e){const t=new Date(n);return t.setDate(t.getDate()+e),t}function Oa(n,e){const t=new Date(n);return t.setMonth(t.getMonth()+e),t}function La(n,e){const t=new Date(n);return t.setFullYear(t.getFullYear()+e),t}function Ba(n,e,t,i){let r=Math.abs(n);return r%=100,r>=5&&r<=20?i:(r%=10,r===1?e:r>=2&&r<=4?t:i)}function Fa(n){return!n||n.length===0?n:n[0].toUpperCase()+n.slice(1)}function _a(n){return n.replace(/\b\w/g,e=>e.toUpperCase())}function Pa(n){return n.replace(/(?:^\w|[A-Z]|\b\w)/g,(e,t)=>t===0?e.toLowerCase():e.toUpperCase()).replace(/\s+/g,"")}function Na(n){return n.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase()}function Ia(n){return n.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1_$2").toLowerCase()}function Ha(n,e,t="..."){return n.length<=e?n:n.substring(0,e)+t}function Va(n){let e=n.replace(/\D/g,"").slice(0,8);return e.length>=5?`${e.slice(0,2)}.${e.slice(2,4)}.${e.slice(4)}`:e.length>=3?`${e.slice(0,2)}.${e.slice(2)}`:e}function za({str:n,limit:e=null}){return!e||!n?n:n.substring(0,e)}function ja(n,e){let t="";for(const[i,r]of n.entries()){const s=n.length>i+1?", ":" ";if(t+=`${r.name}${s}`,t.length>e){let o=n.length-(i+1);const l=o>0?`+${o}`:"";t=`${t.substr(0,e)}...${l}`;break}}return t}function Wa(n){return[...new Set(n)]}function Ua(n,e){return n.reduce((t,i)=>{const r=String(i[e]);return t[r]=t[r]||[],t[r].push(i),t},{})}function Ga(n,e,t="asc"){return[...n].sort((i,r)=>{const s=i[e],o=r[e];return s<o?t==="asc"?-1:1:s>o?t==="asc"?1:-1:0})}function Ya(n,e){const t=[];for(let i=0;i<n.length;i+=e)t.push(n.slice(i,i+e));return t}function Qa(n){return typeof n=="object"&&n!==null}function oi(n){return n===void 0?n:JSON.parse(JSON.stringify(n))}function ar(n,e){return JSON.stringify(n)===JSON.stringify(e)}function Ka(n,e){return n.sort().toString()===e.sort().toString()}function Ja(n,e){let t=n.length,i=e.length;if(t!==i)return!1;n.sort(),e.sort();for(let r=0;r<t;r++)if(n[r]!==e[r])return!1;return!0}const qa=n=>{const e=oi(n),t={};for(const[i,r]of Object.entries(e)){const s=i.split(".");let o=t;for(const[u,c]of s.slice(0,-1).entries()){if(!o[c]){const d=Number.isInteger(Number(s[+u+1]));o[c]=d?[]:{}}o=o[c]}const l=s.pop();l&&(o[l]=r)}return t},or=n=>{let e=oi(n),t={};for(const i in e){if(typeof e[i]!="object"||e[i]===null){t[i]=e[i];continue}const r=or(e[i]);for(const s in r)t[`${i}.${s}`]=r[s]}return t};function $a(n,e){const t={};return e.forEach(i=>{i in n&&(t[i]=n[i])}),t}function Za(n,e){const t={...n};return e.forEach(i=>{delete t[i]}),t}function zi(n,e,t,i=!1){if(i)return a.render(null,n),!0;const r=a.h(e,t);return a.render(r,n),!0}function pi(){const n=Date.now(),e=Math.floor(Math.random()*9999);return n+e}function Xa(n=""){return`${n}${Date.now()}-${Math.random().toString(36).substr(2,9)}`}function eo(n){throw new Error(`${n} is required.`)}function to(n){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(n)}function io(n){return/^[\+]?[1-9][\d]{0,15}$/.test(n.replace(/\D/g,""))}function no(n){try{return new URL(n),!0}catch{return!1}}function ro(n,e){try{localStorage.setItem(n,JSON.stringify(e))}catch(t){console.error("Error saving to localStorage:",t)}}function so(n,e){try{const t=localStorage.getItem(n);return t?JSON.parse(t):e||null}catch(t){return console.error("Error reading from localStorage:",t),e||null}}function ao(n){try{localStorage.removeItem(n)}catch(e){console.error("Error removing from localStorage:",e)}}function oo(n,e){try{sessionStorage.setItem(n,JSON.stringify(e))}catch(t){console.error("Error saving to sessionStorage:",t)}}function lo(n,e){try{const t=sessionStorage.getItem(n);return t?JSON.parse(t):e||null}catch(t){return console.error("Error reading from sessionStorage:",t),e||null}}function uo(n){try{sessionStorage.removeItem(n)}catch(e){console.error("Error removing from sessionStorage:",e)}}function co(n){const e=new Map;return((...t)=>{const i=JSON.stringify(t);if(e.has(i))return e.get(i);const r=n(...t);return e.set(i,r),r})}function ho(n){let e=!1,t;return((...i)=>(e||(e=!0,t=n(...i)),t))}function fo(n,e,t){return Math.min(Math.max(n,e),t)}function po(n,e,t){return n+(e-n)*t}function mo(n,e){return Math.floor(Math.random()*(e-n+1))+n}function go(n,e){return Math.round(n*Math.pow(10,e))/Math.pow(10,e)}function bo(n,e){return n.includes(e)}function vo(n,e){return e.some(t=>n.includes(t))}function lr(n,e){return!n||!e?.length?!1:Array.isArray(n)?n.some(t=>e.includes(t)):e.includes(n)}function yo(n){if(typeof n=="string")try{return JSON.parse(n)}catch{return n}return n}const Xg=Object.freeze(Object.defineProperty({__proto__:null,addDays:Da,addMonths:Oa,addYears:La,areArraysEqual:Ja,arrayToCutString:ja,camelCase:Pa,capitalize:_a,chunk:Ya,clamp:fo,cutString:za,debounce:hn,default:{prepareSelectOptions:fa,scrollToError:pa,scrollToElement:ma,getBrowserLocale:ga,getSupportedLocales:nr,isValidLocale:ba,debounce:hn,throttle:va,getValueFromObjectItem:rr,getValueFromArr:ya,sumOfArrayNumbers:wa,initEmailMask:Ca,initPhoneMask:Aa,initInnMask:Ea,initKppMask:ka,initSnilsMask:Sa,initPassportMask:xa,isValidDate:sr,formatDate:Ra,formatMoney:Ma,getNowDate:Ta,addDays:Da,addMonths:Oa,addYears:La,getDeclinationFromNumber:Ba,firstToUppercase:Fa,capitalize:_a,camelCase:Pa,kebabCase:Na,snakeCase:Ia,truncate:Ha,maskDate:Va,cutString:za,arrayToCutString:ja,findOne:da,findAll:ha,unique:Wa,groupBy:Ua,sortBy:Ga,chunk:Ya,isObject:Qa,getDeepCopyObject:oi,isEqual:ar,isArraysEqual:Ka,areArraysEqual:Ja,unflatenObject:qa,flattenObject:or,pick:$a,omit:Za,mountSubFilter:zi,getUniqueKey:pi,generateId:Xa,required:eo,isValidEmail:to,isValidPhone:io,isValidUrl:no,setLocalStorage:ro,getLocalStorage:so,removeLocalStorage:ao,setSessionStorage:oo,getSessionStorage:lo,removeSessionStorage:uo,memoize:co,once:ho,clamp:fo,lerp:po,random:mo,roundToDecimals:go,hasRole:bo,hasMatch:vo,hasPermission:lr,prepareResponse:yo},findAll:ha,findOne:da,firstToUppercase:Fa,flattenObject:or,formatDate:Ra,formatMoney:Ma,generateId:Xa,getBrowserLocale:ga,getDeclinationFromNumber:Ba,getDeepCopyObject:oi,getLocalStorage:so,getNowDate:Ta,getSessionStorage:lo,getSupportedLocales:nr,getUniqueKey:pi,getValueFromArr:ya,getValueFromObjectItem:rr,groupBy:Ua,hasMatch:vo,hasPermission:lr,hasRole:bo,initEmailMask:Ca,initInnMask:Ea,initKppMask:ka,initPassportMask:xa,initPhoneMask:Aa,initSnilsMask:Sa,isArraysEqual:Ka,isEqual:ar,isObject:Qa,isValidDate:sr,isValidEmail:to,isValidLocale:ba,isValidPhone:io,isValidUrl:no,kebabCase:Na,lerp:po,maskDate:Va,memoize:co,mountSubFilter:zi,omit:Za,once:ho,pick:$a,prepareResponse:yo,prepareSelectOptions:fa,random:mo,removeLocalStorage:ao,removeSessionStorage:uo,required:eo,roundToDecimals:go,scrollToElement:ma,scrollToError:pa,setLocalStorage:ro,setSessionStorage:oo,snakeCase:Ia,sortBy:Ga,sumOfArrayNumbers:wa,throttle:va,truncate:Ha,unflatenObject:qa,unique:Wa},Symbol.toStringTag,{value:"Module"})),eb={class:"lh-1","data-test":"FormError"},ki={__name:"FormError",props:{errors:{type:Array,default:()=>[]}},setup(n){return(e,t)=>(a.openBlock(),a.createElementBlock("div",eb,[n.errors?.length?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(n.errors,(i,r)=>(a.openBlock(),a.createElementBlock("div",{class:"text-danger small",key:r},a.toDisplayString(i),1))),128)):a.createCommentVNode("",!0)]))}},tb={class:"position-relative"},ib=["type","name","value","placeholder","disabled"],ur=Ie({__name:"CustomInput",props:{modelValue:{type:[String,Number],default:""},titleClass:{type:String,default:""},title:{type:String,default:""},name:{type:String,default:""},min:{type:[String,Number],default:""},max:{type:[String,Number],default:""},placeholder:{type:String,default:""},disabled:{type:Boolean,default:!1},inputClass:{type:[String,Object],default:""},type:{type:String,default:"text"},error:{type:[String,Object,Array],default:""},maskOptions:{type:[String,Object],default:()=>({})},maxNumber:{type:[String,Number],default:null}},emits:["change","blur","update:modelValue"],setup(n,{emit:e}){const t=n,i=e,r=a.ref(null),o=hn(p=>{let h=p.target.value;t.max&&(h=l(h),p.target.value=h),t.maxNumber&&(Number(h)>=Number(t.maxNumber)&&(h=t.maxNumber.toString()),p.target.value=h),i("update:modelValue",h)},100),l=p=>p.substring(0,t.max),u=()=>{i("update:modelValue",null),i("change",null),r.value&&(r.value.value=null)},c=()=>{if(t.maskOptions===""||!r.value)return!1;Fh({...t.maskOptions}).mask(r.value)};a.onMounted(()=>{c()}),a.watch(()=>t.maskOptions,(p,h)=>{ar(p,h)||c()},{deep:!0});const d=a.computed(()=>!(!t.modelValue||t.disabled)),f=a.computed(()=>Array.isArray(t.error)?t.error.filter(Boolean):typeof t.error=="string"&&t.error?[t.error]:[]);return(p,h)=>(a.openBlock(),a.createElementBlock("div",null,[n.title?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["mb-1 fw-bold",[n.titleClass]])},a.toDisplayString(n.title),3)):a.createCommentVNode("",!0),a.createElementVNode("div",tb,[a.createElementVNode("input",{ref_key:"inputEl",ref:r,type:n.type,name:n.name,class:a.normalizeClass(["form-control outline-none",{[n.inputClass]:n.inputClass,"not-valid":f.value.length>0,"is-invalid":f.value.length>0}]),value:n.modelValue,placeholder:n.placeholder,disabled:n.disabled,onBlur:h[0]||(h[0]=x=>i("blur")),onInput:h[1]||(h[1]=(...x)=>a.unref(o)&&a.unref(o)(...x)),onChange:h[2]||(h[2]=(...x)=>a.unref(o)&&a.unref(o)(...x))},null,42,ib),d.value?(a.openBlock(),a.createElementBlock("i",{key:0,class:a.normalizeClass(["bi bi-x-lg remove-button position-absolute",[n.modelValue?"":"d-none",n.disabled?"d-none":""]]),onClick:u},null,2)):a.createCommentVNode("",!0)]),a.createVNode(ki,{errors:f.value},null,8,["errors"])]))}},[["__scopeId","data-v-7d3c7059"]]),nb={class:"position-relative"},rb=["type","value"],sb=Ie({__name:"PasswordInput",props:{modelValue:{type:String,default:""},error:{type:[String,Array],default:""},initialVisibility:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(n){const e=n,t=a.ref(e.initialVisibility);a.watch(()=>e.initialVisibility,r=>{t.value=r});const i=a.computed(()=>Array.isArray(e.error)?e.error.filter(Boolean):typeof e.error=="string"&&e.error?[e.error]:[]);return(r,s)=>(a.openBlock(),a.createElementBlock("div",null,[a.createElementVNode("div",nb,[a.createElementVNode("input",a.mergeProps({class:["form-control password-input outline-none",{"is-invalid":i.value.length>0}],type:t.value?"text":"password",value:n.modelValue},r.$attrs,{autocomplete:"new-password",onInput:s[0]||(s[0]=o=>r.$emit("update:modelValue",o.target.value))}),null,16,rb),a.createElementVNode("div",{class:"toggle-pass",onClick:s[1]||(s[1]=o=>t.value=!t.value)},[a.createElementVNode("i",{class:a.normalizeClass(["bi",[t.value?"bi-eye-slash-fill":"bi-eye-fill"]]),style:{"font-size":"20px"}},null,2)])]),a.createVNode(ki,{errors:i.value},null,8,["errors"])]))}},[["__scopeId","data-v-380938cd"]]),ab={class:"form-check d-flex align-items-center"},ob=["id","name","checked"],lb=["for"],ub={__name:"Checkbox",props:{modelValue:{type:Boolean,default:!1},name:{type:String,required:!0},label:{type:String,default:""},id:{type:String,default:()=>`checkbox-${Math.random().toString(36).slice(2,9)}`},size:{type:String,default:"sm",validator:n=>["sm","md","lg"].includes(n)},clickableLabel:{type:Boolean,default:!0},indeterminate:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(n,{emit:e}){const t=n,i=e,r=a.ref(null),s=a.computed(()=>t.size==="sm"?"5px":t.size==="md"?"10px":t.size==="lg"?"15px":"5px"),o=l=>{i("update:modelValue",l.target.checked)};return a.watch(()=>t.indeterminate,l=>{r.value&&(r.value.indeterminate=l)}),a.onMounted(()=>{r.value&&(r.value.indeterminate=t.indeterminate)}),(l,u)=>(a.openBlock(),a.createElementBlock("div",ab,[a.createElementVNode("input",{ref_key:"inputRef",ref:r,class:"form-check-input mr-2 mt-0",type:"checkbox",id:n.id,name:n.name,style:a.normalizeStyle({padding:s.value}),checked:n.modelValue,onChange:o},null,44,ob),n.label?(a.openBlock(),a.createElementBlock("label",{key:0,class:a.normalizeClass(["form-check-label lh-n",{"cursor-pointer":n.clickableLabel}]),for:n.clickableLabel?n.id:void 0},a.toDisplayString(n.label),11,lb)):a.createCommentVNode("",!0)]))}};var cb=Object.defineProperty,db=Object.defineProperties,hb=Object.getOwnPropertyDescriptors,mc=Object.getOwnPropertySymbols,fb=Object.prototype.hasOwnProperty,pb=Object.prototype.propertyIsEnumerable,gc=(n,e,t)=>e in n?cb(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,ji=(n,e)=>{for(var t in e||(e={}))fb.call(e,t)&&gc(n,t,e[t]);if(mc)for(var t of mc(e))pb.call(e,t)&&gc(n,t,e[t]);return n},bc=(n,e)=>db(n,hb(e));const mb={props:{autoscroll:{type:Boolean,default:!0}},watch:{typeAheadPointer(){this.autoscroll&&this.maybeAdjustScroll()},open(n){this.autoscroll&&n&&this.$nextTick(()=>this.maybeAdjustScroll())}},methods:{maybeAdjustScroll(){var n;const e=((n=this.$refs.dropdownMenu)==null?void 0:n.children[this.typeAheadPointer])||!1;if(e){const t=this.getDropdownViewport(),{top:i,bottom:r,height:s}=e.getBoundingClientRect();if(i<t.top)return this.$refs.dropdownMenu.scrollTop=e.offsetTop;if(r>t.bottom)return this.$refs.dropdownMenu.scrollTop=e.offsetTop-(t.height-s)}},getDropdownViewport(){return this.$refs.dropdownMenu?this.$refs.dropdownMenu.getBoundingClientRect():{height:0,top:0,bottom:0}}}},gb={data(){return{typeAheadPointer:-1}},watch:{filteredOptions(){for(let n=0;n<this.filteredOptions.length;n++)if(this.selectable(this.filteredOptions[n])){this.typeAheadPointer=n;break}},open(n){n&&this.typeAheadToLastSelected()},selectedValue(){this.open&&this.typeAheadToLastSelected()}},methods:{typeAheadUp(){for(let n=this.typeAheadPointer-1;n>=0;n--)if(this.selectable(this.filteredOptions[n])){this.typeAheadPointer=n;break}},typeAheadDown(){for(let n=this.typeAheadPointer+1;n<this.filteredOptions.length;n++)if(this.selectable(this.filteredOptions[n])){this.typeAheadPointer=n;break}},typeAheadSelect(){const n=this.filteredOptions[this.typeAheadPointer];n&&this.selectable(n)&&this.select(n)},typeAheadToLastSelected(){this.typeAheadPointer=this.selectedValue.length!==0?this.filteredOptions.indexOf(this.selectedValue[this.selectedValue.length-1]):-1}}},bb={props:{loading:{type:Boolean,default:!1}},data(){return{mutableLoading:!1}},watch:{search(){this.$emit("search",this.search,this.toggleLoading)},loading(n){this.mutableLoading=n}},methods:{toggleLoading(n=null){return n==null?this.mutableLoading=!this.mutableLoading:this.mutableLoading=n}}},wo=(n,e)=>{const t=n.__vccOpts||n;for(const[i,r]of e)t[i]=r;return t},vb={},yb={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10"},wb=a.createElementVNode("path",{d:"M6.895455 5l2.842897-2.842898c.348864-.348863.348864-.914488 0-1.263636L9.106534.261648c-.348864-.348864-.914489-.348864-1.263636 0L5 3.104545 2.157102.261648c-.348863-.348864-.914488-.348864-1.263636 0L.261648.893466c-.348864.348864-.348864.914489 0 1.263636L3.104545 5 .261648 7.842898c-.348864.348863-.348864.914488 0 1.263636l.631818.631818c.348864.348864.914773.348864 1.263636 0L5 6.895455l2.842898 2.842897c.348863.348864.914772.348864 1.263636 0l.631818-.631818c.348864-.348864.348864-.914489 0-1.263636L6.895455 5z"},null,-1),Cb=[wb];function Ab(n,e){return a.openBlock(),a.createElementBlock("svg",yb,Cb)}const Eb=wo(vb,[["render",Ab]]),kb={},Sb={xmlns:"http://www.w3.org/2000/svg",width:"14",height:"10"},xb=a.createElementVNode("path",{d:"M9.211364 7.59931l4.48338-4.867229c.407008-.441854.407008-1.158247 0-1.60046l-.73712-.80023c-.407008-.441854-1.066904-.441854-1.474243 0L7 5.198617 2.51662.33139c-.407008-.441853-1.066904-.441853-1.474243 0l-.737121.80023c-.407008.441854-.407008 1.158248 0 1.600461l4.48338 4.867228L7 10l2.211364-2.40069z"},null,-1),Rb=[xb];function Mb(n,e){return a.openBlock(),a.createElementBlock("svg",Sb,Rb)}const Tb=wo(kb,[["render",Mb]]),vc={Deselect:Eb,OpenIndicator:Tb},Db={mounted(n,{instance:e}){if(e.appendToBody){const{height:t,top:i,left:r,width:s}=e.$refs.toggle.getBoundingClientRect();let o=window.scrollX||window.pageXOffset,l=window.scrollY||window.pageYOffset;n.unbindPosition=e.calculatePosition(n,e,{width:s+"px",left:o+r+"px",top:l+i+t+"px"}),document.body.appendChild(n)}},unmounted(n,{instance:e}){e.appendToBody&&(n.unbindPosition&&typeof n.unbindPosition=="function"&&n.unbindPosition(),n.parentNode&&n.parentNode.removeChild(n))}};function Ob(n){const e={};return Object.keys(n).sort().forEach(t=>{e[t]=n[t]}),JSON.stringify(e)}let Lb=0;function Bb(){return++Lb}const Fb={components:ji({},vc),directives:{appendToBody:Db},mixins:[mb,gb,bb],compatConfig:{MODE:3},emits:["open","close","update:modelValue","search","search:compositionstart","search:compositionend","search:keydown","search:blur","search:focus","search:input","option:created","option:selecting","option:selected","option:deselecting","option:deselected"],props:{modelValue:{},components:{type:Object,default:()=>({})},options:{type:Array,default(){return[]}},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},deselectFromDropdown:{type:Boolean,default:!1},searchable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},placeholder:{type:String,default:""},transition:{type:String,default:"vs__fade"},clearSearchOnSelect:{type:Boolean,default:!0},closeOnSelect:{type:Boolean,default:!0},label:{type:String,default:"label"},autocomplete:{type:String,default:"off"},reduce:{type:Function,default:n=>n},selectable:{type:Function,default:n=>!0},getOptionLabel:{type:Function,default(n){return typeof n=="object"?n.hasOwnProperty(this.label)?n[this.label]:console.warn(`[vue-select warn]: Label key "option.${this.label}" does not exist in options object ${JSON.stringify(n)}.
26
26
  https://vue-select.org/api/props.html#getoptionlabel`):n}},getOptionKey:{type:Function,default(n){if(typeof n!="object")return n;try{return n.hasOwnProperty("id")?n.id:Ob(n)}catch(e){return console.warn(`[vue-select warn]: Could not stringify this option to generate unique key. Please provide'getOptionKey' prop to return a unique key for each option.
27
- https://vue-select.org/api/props.html#getoptionkey`,n,e)}}},onTab:{type:Function,default:function(){this.selectOnTab&&!this.isComposing&&this.typeAheadSelect()}},taggable:{type:Boolean,default:!1},tabindex:{type:Number,default:null},pushTags:{type:Boolean,default:!1},filterable:{type:Boolean,default:!0},filterBy:{type:Function,default(n,e,t){return(e||"").toLocaleLowerCase().indexOf(t.toLocaleLowerCase())>-1}},filter:{type:Function,default(n,e){return n.filter(t=>{let i=this.getOptionLabel(t);return typeof i=="number"&&(i=i.toString()),this.filterBy(t,i,e)})}},createOption:{type:Function,default(n){return typeof this.optionList[0]=="object"?{[this.label]:n}:n}},resetOnOptionsChange:{default:!1,validator:n=>["function","boolean"].includes(typeof n)},clearSearchOnBlur:{type:Function,default:function({clearSearchOnSelect:n,multiple:e}){return n&&!e}},noDrop:{type:Boolean,default:!1},inputId:{type:String},dir:{type:String,default:"auto"},selectOnTab:{type:Boolean,default:!1},selectOnKeyCodes:{type:Array,default:()=>[13]},searchInputQuerySelector:{type:String,default:"[type=search]"},mapKeydown:{type:Function,default:(n,e)=>n},appendToBody:{type:Boolean,default:!1},calculatePosition:{type:Function,default(n,e,{width:t,top:i,left:r}){n.style.top=i,n.style.left=r,n.style.width=t}},dropdownShouldOpen:{type:Function,default({noDrop:n,open:e,mutableLoading:t}){return n?!1:e&&!t}},uid:{type:[String,Number],default:()=>Bb()}},data(){return{search:"",open:!1,isComposing:!1,pushedTags:[],_value:[],deselectButtons:[]}},computed:{isReducingValues(){return this.$props.reduce!==this.$options.props.reduce.default},isTrackingValues(){return typeof this.modelValue>"u"||this.isReducingValues},selectedValue(){let n=this.modelValue;return this.isTrackingValues&&(n=this.$data._value),n!=null&&n!==""?[].concat(n):[]},optionList(){return this.options.concat(this.pushTags?this.pushedTags:[])},searchEl(){return this.$slots.search?this.$refs.selectedOptions.querySelector(this.searchInputQuerySelector):this.$refs.search},scope(){const n={search:this.search,loading:this.loading,searching:this.searching,filteredOptions:this.filteredOptions};return{search:{attributes:ji({disabled:this.disabled,placeholder:this.searchPlaceholder,tabindex:this.tabindex,readonly:!this.searchable,id:this.inputId,"aria-autocomplete":"list","aria-labelledby":`vs${this.uid}__combobox`,"aria-controls":`vs${this.uid}__listbox`,ref:"search",type:"search",autocomplete:this.autocomplete,value:this.search},this.dropdownOpen&&this.filteredOptions[this.typeAheadPointer]?{"aria-activedescendant":`vs${this.uid}__option-${this.typeAheadPointer}`}:{}),events:{compositionstart:()=>this.isComposing=!0,compositionend:()=>this.isComposing=!1,keydown:this.onSearchKeyDown,blur:this.onSearchBlur,focus:this.onSearchFocus,input:e=>this.search=e.target.value}},spinner:{loading:this.mutableLoading},noOptions:{search:this.search,loading:this.mutableLoading,searching:this.searching},openIndicator:{attributes:{ref:"openIndicator",role:"presentation",class:"vs__open-indicator"}},listHeader:n,listFooter:n,header:bc(ji({},n),{deselect:this.deselect}),footer:bc(ji({},n),{deselect:this.deselect})}},childComponents(){return ji(ji({},vc),this.components)},stateClasses(){return{"vs--open":this.dropdownOpen,"vs--single":!this.multiple,"vs--multiple":this.multiple,"vs--searching":this.searching&&!this.noDrop,"vs--searchable":this.searchable&&!this.noDrop,"vs--unsearchable":!this.searchable,"vs--loading":this.mutableLoading,"vs--disabled":this.disabled}},searching(){return!!this.search},dropdownOpen(){return this.dropdownShouldOpen(this)},searchPlaceholder(){return this.isValueEmpty&&this.placeholder?this.placeholder:void 0},filteredOptions(){const n=[].concat(this.optionList);if(!this.filterable&&!this.taggable)return n;const e=this.search.length?this.filter(n,this.search,this):n;if(this.taggable&&this.search.length){const t=this.createOption(this.search);this.optionExists(t)||e.unshift(t)}return e},isValueEmpty(){return this.selectedValue.length===0},showClearButton(){return!this.multiple&&this.clearable&&!this.open&&!this.isValueEmpty}},watch:{options(n,e){const t=()=>typeof this.resetOnOptionsChange=="function"?this.resetOnOptionsChange(n,e,this.selectedValue):this.resetOnOptionsChange;!this.taggable&&t()&&this.clearSelection(),this.modelValue&&this.isTrackingValues&&this.setInternalValueFromOptions(this.modelValue)},modelValue:{immediate:!0,handler(n){this.isTrackingValues&&this.setInternalValueFromOptions(n)}},multiple(){this.clearSelection()},open(n){this.$emit(n?"open":"close")}},created(){this.mutableLoading=this.loading},methods:{setInternalValueFromOptions(n){Array.isArray(n)?this.$data._value=n.map(e=>this.findOptionFromReducedValue(e)):this.$data._value=this.findOptionFromReducedValue(n)},select(n){this.$emit("option:selecting",n),this.isOptionSelected(n)?this.deselectFromDropdown&&(this.clearable||this.multiple&&this.selectedValue.length>1)&&this.deselect(n):(this.taggable&&!this.optionExists(n)&&(this.$emit("option:created",n),this.pushTag(n)),this.multiple&&(n=this.selectedValue.concat(n)),this.updateValue(n),this.$emit("option:selected",n)),this.onAfterSelect(n)},deselect(n){this.$emit("option:deselecting",n),this.updateValue(this.selectedValue.filter(e=>!this.optionComparator(e,n))),this.$emit("option:deselected",n)},clearSelection(){this.updateValue(this.multiple?[]:null)},onAfterSelect(n){this.closeOnSelect&&(this.open=!this.open,this.searchEl.blur()),this.clearSearchOnSelect&&(this.search="")},updateValue(n){typeof this.modelValue>"u"&&(this.$data._value=n),n!==null&&(Array.isArray(n)?n=n.map(e=>this.reduce(e)):n=this.reduce(n)),this.$emit("update:modelValue",n)},toggleDropdown(n){const e=n.target!==this.searchEl;e&&n.preventDefault();const t=[...this.deselectButtons||[],this.$refs.clearButton];if(this.searchEl===void 0||t.filter(Boolean).some(i=>i.contains(n.target)||i===n.target)){n.preventDefault();return}this.open&&e?this.searchEl.blur():this.disabled||(this.open=!0,this.searchEl.focus())},isOptionSelected(n){return this.selectedValue.some(e=>this.optionComparator(e,n))},isOptionDeselectable(n){return this.isOptionSelected(n)&&this.deselectFromDropdown},optionComparator(n,e){return this.getOptionKey(n)===this.getOptionKey(e)},findOptionFromReducedValue(n){const e=i=>JSON.stringify(this.reduce(i))===JSON.stringify(n),t=[...this.options,...this.pushedTags].filter(e);return t.length===1?t[0]:t.find(i=>this.optionComparator(i,this.$data._value))||n},closeSearchOptions(){this.open=!1,this.$emit("search:blur")},maybeDeleteValue(){if(!this.searchEl.value.length&&this.selectedValue&&this.selectedValue.length&&this.clearable){let n=null;this.multiple&&(n=[...this.selectedValue.slice(0,this.selectedValue.length-1)]),this.updateValue(n)}},optionExists(n){return this.optionList.some(e=>this.optionComparator(e,n))},normalizeOptionForSlot(n){return typeof n=="object"?n:{[this.label]:n}},pushTag(n){this.pushedTags.push(n)},onEscape(){this.search.length?this.search="":this.searchEl.blur()},onSearchBlur(){if(this.mousedown&&!this.searching)this.mousedown=!1;else{const{clearSearchOnSelect:n,multiple:e}=this;this.clearSearchOnBlur({clearSearchOnSelect:n,multiple:e})&&(this.search=""),this.closeSearchOptions();return}if(this.search.length===0&&this.options.length===0){this.closeSearchOptions();return}},onSearchFocus(){this.open=!0,this.$emit("search:focus")},onMousedown(){this.mousedown=!0},onMouseUp(){this.mousedown=!1},onSearchKeyDown(n){const e=r=>(r.preventDefault(),!this.isComposing&&this.typeAheadSelect()),t={8:r=>this.maybeDeleteValue(),9:r=>this.onTab(),27:r=>this.onEscape(),38:r=>(r.preventDefault(),this.typeAheadUp()),40:r=>(r.preventDefault(),this.typeAheadDown())};this.selectOnKeyCodes.forEach(r=>t[r]=e);const i=this.mapKeydown(t,this);if(typeof i[n.keyCode]=="function")return i[n.keyCode](n)}}},_b=["dir"],Pb=["id","aria-expanded","aria-owns"],Nb={ref:"selectedOptions",class:"vs__selected-options"},Ib=["disabled","title","aria-label","onClick"],Hb={ref:"actions",class:"vs__actions"},Vb=["disabled"],zb={class:"vs__spinner"},jb=["id"],Wb=["id","aria-selected","onMouseover","onClick"],Ub={key:0,class:"vs__no-options"},Gb=a.createTextVNode(" Sorry, no matching options. "),Yb=["id"];function Qb(n,e,t,i,r,s){const o=a.resolveDirective("append-to-body");return a.openBlock(),a.createElementBlock("div",{dir:t.dir,class:a.normalizeClass(["v-select",s.stateClasses])},[a.renderSlot(n.$slots,"header",a.normalizeProps(a.guardReactiveProps(s.scope.header))),a.createElementVNode("div",{id:`vs${t.uid}__combobox`,ref:"toggle",class:"vs__dropdown-toggle",role:"combobox","aria-expanded":s.dropdownOpen.toString(),"aria-owns":`vs${t.uid}__listbox`,"aria-label":"Search for option",onMousedown:e[1]||(e[1]=l=>s.toggleDropdown(l))},[a.createElementVNode("div",Nb,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(s.selectedValue,(l,u)=>a.renderSlot(n.$slots,"selected-option-container",{option:s.normalizeOptionForSlot(l),deselect:s.deselect,multiple:t.multiple,disabled:t.disabled},()=>[(a.openBlock(),a.createElementBlock("span",{key:t.getOptionKey(l),class:"vs__selected"},[a.renderSlot(n.$slots,"selected-option",a.normalizeProps(a.guardReactiveProps(s.normalizeOptionForSlot(l))),()=>[a.createTextVNode(a.toDisplayString(t.getOptionLabel(l)),1)]),t.multiple?(a.openBlock(),a.createElementBlock("button",{key:0,ref_for:!0,ref:c=>r.deselectButtons[u]=c,disabled:t.disabled,type:"button",class:"vs__deselect",title:`Deselect ${t.getOptionLabel(l)}`,"aria-label":`Deselect ${t.getOptionLabel(l)}`,onClick:c=>s.deselect(l)},[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(s.childComponents.Deselect)))],8,Ib)):a.createCommentVNode("",!0)]))])),256)),a.renderSlot(n.$slots,"search",a.normalizeProps(a.guardReactiveProps(s.scope.search)),()=>[a.createElementVNode("input",a.mergeProps({class:"vs__search"},s.scope.search.attributes,a.toHandlers(s.scope.search.events)),null,16)])],512),a.createElementVNode("div",Hb,[a.withDirectives(a.createElementVNode("button",{ref:"clearButton",disabled:t.disabled,type:"button",class:"vs__clear",title:"Clear Selected","aria-label":"Clear Selected",onClick:e[0]||(e[0]=(...l)=>s.clearSelection&&s.clearSelection(...l))},[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(s.childComponents.Deselect)))],8,Vb),[[a.vShow,s.showClearButton]]),a.renderSlot(n.$slots,"open-indicator",a.normalizeProps(a.guardReactiveProps(s.scope.openIndicator)),()=>[t.noDrop?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(a.resolveDynamicComponent(s.childComponents.OpenIndicator),a.normalizeProps(a.mergeProps({key:0},s.scope.openIndicator.attributes)),null,16))]),a.renderSlot(n.$slots,"spinner",a.normalizeProps(a.guardReactiveProps(s.scope.spinner)),()=>[a.withDirectives(a.createElementVNode("div",zb,"Loading...",512),[[a.vShow,n.mutableLoading]])])],512)],40,Pb),a.createVNode(a.Transition,{name:t.transition},{default:a.withCtx(()=>[s.dropdownOpen?a.withDirectives((a.openBlock(),a.createElementBlock("ul",{id:`vs${t.uid}__listbox`,ref:"dropdownMenu",key:`vs${t.uid}__listbox`,class:"vs__dropdown-menu",role:"listbox",tabindex:"-1",onMousedown:e[2]||(e[2]=a.withModifiers((...l)=>s.onMousedown&&s.onMousedown(...l),["prevent"])),onMouseup:e[3]||(e[3]=(...l)=>s.onMouseUp&&s.onMouseUp(...l))},[a.renderSlot(n.$slots,"list-header",a.normalizeProps(a.guardReactiveProps(s.scope.listHeader))),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(s.filteredOptions,(l,u)=>(a.openBlock(),a.createElementBlock("li",{id:`vs${t.uid}__option-${u}`,key:t.getOptionKey(l),role:"option",class:a.normalizeClass(["vs__dropdown-option",{"vs__dropdown-option--deselect":s.isOptionDeselectable(l)&&u===n.typeAheadPointer,"vs__dropdown-option--selected":s.isOptionSelected(l),"vs__dropdown-option--highlight":u===n.typeAheadPointer,"vs__dropdown-option--disabled":!t.selectable(l)}]),"aria-selected":u===n.typeAheadPointer?!0:null,onMouseover:c=>t.selectable(l)?n.typeAheadPointer=u:null,onClick:a.withModifiers(c=>t.selectable(l)?s.select(l):null,["prevent","stop"])},[a.renderSlot(n.$slots,"option",a.normalizeProps(a.guardReactiveProps(s.normalizeOptionForSlot(l))),()=>[a.createTextVNode(a.toDisplayString(t.getOptionLabel(l)),1)])],42,Wb))),128)),s.filteredOptions.length===0?(a.openBlock(),a.createElementBlock("li",Ub,[a.renderSlot(n.$slots,"no-options",a.normalizeProps(a.guardReactiveProps(s.scope.noOptions)),()=>[Gb])])):a.createCommentVNode("",!0),a.renderSlot(n.$slots,"list-footer",a.normalizeProps(a.guardReactiveProps(s.scope.listFooter)))],40,jb)),[[o]]):(a.openBlock(),a.createElementBlock("ul",{key:1,id:`vs${t.uid}__listbox`,role:"listbox",style:{display:"none",visibility:"hidden"}},null,8,Yb))]),_:3},8,["name"]),a.renderSlot(n.$slots,"footer",a.normalizeProps(a.guardReactiveProps(s.scope.footer)))],10,_b)}const Kb=wo(Fb,[["render",Qb]]);var yt="top",Ot="bottom",Lt="right",wt="left",Co="auto",fn=[yt,Ot,Lt,wt],Wi="start",pn="end",Jb="clippingParents",yc="viewport",mn="popper",qb="reference",wc=fn.reduce(function(n,e){return n.concat([e+"-"+Wi,e+"-"+pn])},[]),Cc=[].concat(fn,[Co]).reduce(function(n,e){return n.concat([e,e+"-"+Wi,e+"-"+pn])},[]),$b="beforeRead",Zb="read",Xb="afterRead",ev="beforeMain",tv="main",iv="afterMain",nv="beforeWrite",rv="write",sv="afterWrite",av=[$b,Zb,Xb,ev,tv,iv,nv,rv,sv];function Qt(n){return n?(n.nodeName||"").toLowerCase():null}function kt(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var e=n.ownerDocument;return e&&e.defaultView||window}return n}function Si(n){var e=kt(n).Element;return n instanceof e||n instanceof Element}function Bt(n){var e=kt(n).HTMLElement;return n instanceof e||n instanceof HTMLElement}function Ao(n){if(typeof ShadowRoot>"u")return!1;var e=kt(n).ShadowRoot;return n instanceof e||n instanceof ShadowRoot}function ov(n){var e=n.state;Object.keys(e.elements).forEach(function(t){var i=e.styles[t]||{},r=e.attributes[t]||{},s=e.elements[t];!Bt(s)||!Qt(s)||(Object.assign(s.style,i),Object.keys(r).forEach(function(o){var l=r[o];l===!1?s.removeAttribute(o):s.setAttribute(o,l===!0?"":l)}))})}function lv(n){var e=n.state,t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,t.popper),e.styles=t,e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow),function(){Object.keys(e.elements).forEach(function(i){var r=e.elements[i],s=e.attributes[i]||{},o=Object.keys(e.styles.hasOwnProperty(i)?e.styles[i]:t[i]),l=o.reduce(function(u,c){return u[c]="",u},{});!Bt(r)||!Qt(r)||(Object.assign(r.style,l),Object.keys(s).forEach(function(u){r.removeAttribute(u)}))})}}const uv={name:"applyStyles",enabled:!0,phase:"write",fn:ov,effect:lv,requires:["computeStyles"]};function Kt(n){return n.split("-")[0]}var xi=Math.max,cr=Math.min,Ui=Math.round;function Eo(){var n=navigator.userAgentData;return n!=null&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Ac(){return!/^((?!chrome|android).)*safari/i.test(Eo())}function Gi(n,e,t){e===void 0&&(e=!1),t===void 0&&(t=!1);var i=n.getBoundingClientRect(),r=1,s=1;e&&Bt(n)&&(r=n.offsetWidth>0&&Ui(i.width)/n.offsetWidth||1,s=n.offsetHeight>0&&Ui(i.height)/n.offsetHeight||1);var o=Si(n)?kt(n):window,l=o.visualViewport,u=!Ac()&&t,c=(i.left+(u&&l?l.offsetLeft:0))/r,d=(i.top+(u&&l?l.offsetTop:0))/s,f=i.width/r,p=i.height/s;return{width:f,height:p,top:d,right:c+f,bottom:d+p,left:c,x:c,y:d}}function ko(n){var e=Gi(n),t=n.offsetWidth,i=n.offsetHeight;return Math.abs(e.width-t)<=1&&(t=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:n.offsetLeft,y:n.offsetTop,width:t,height:i}}function Ec(n,e){var t=e.getRootNode&&e.getRootNode();if(n.contains(e))return!0;if(t&&Ao(t)){var i=e;do{if(i&&n.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function li(n){return kt(n).getComputedStyle(n)}function cv(n){return["table","td","th"].indexOf(Qt(n))>=0}function mi(n){return((Si(n)?n.ownerDocument:n.document)||window.document).documentElement}function dr(n){return Qt(n)==="html"?n:n.assignedSlot||n.parentNode||(Ao(n)?n.host:null)||mi(n)}function kc(n){return!Bt(n)||li(n).position==="fixed"?null:n.offsetParent}function dv(n){var e=/firefox/i.test(Eo()),t=/Trident/i.test(Eo());if(t&&Bt(n)){var i=li(n);if(i.position==="fixed")return null}var r=dr(n);for(Ao(r)&&(r=r.host);Bt(r)&&["html","body"].indexOf(Qt(r))<0;){var s=li(r);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||e&&s.willChange==="filter"||e&&s.filter&&s.filter!=="none")return r;r=r.parentNode}return null}function gn(n){for(var e=kt(n),t=kc(n);t&&cv(t)&&li(t).position==="static";)t=kc(t);return t&&(Qt(t)==="html"||Qt(t)==="body"&&li(t).position==="static")?e:t||dv(n)||e}function So(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function bn(n,e,t){return xi(n,cr(e,t))}function hv(n,e,t){var i=bn(n,e,t);return i>t?t:i}function Sc(){return{top:0,right:0,bottom:0,left:0}}function xc(n){return Object.assign({},Sc(),n)}function Rc(n,e){return e.reduce(function(t,i){return t[i]=n,t},{})}var fv=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,xc(typeof e!="number"?e:Rc(e,fn))};function pv(n){var e,t=n.state,i=n.name,r=n.options,s=t.elements.arrow,o=t.modifiersData.popperOffsets,l=Kt(t.placement),u=So(l),c=[wt,Lt].indexOf(l)>=0,d=c?"height":"width";if(!(!s||!o)){var f=fv(r.padding,t),p=ko(s),h=u==="y"?yt:wt,x=u==="y"?Ot:Lt,y=t.rects.reference[d]+t.rects.reference[u]-o[u]-t.rects.popper[d],A=o[u]-t.rects.reference[u],C=gn(s),m=C?u==="y"?C.clientHeight||0:C.clientWidth||0:0,D=y/2-A/2,g=f[h],M=m-p[d]-f[x],v=m/2-p[d]/2+D,S=bn(g,v,M),w=u;t.modifiersData[i]=(e={},e[w]=S,e.centerOffset=S-v,e)}}function mv(n){var e=n.state,t=n.options,i=t.element,r=i===void 0?"[data-popper-arrow]":i;r!=null&&(typeof r=="string"&&(r=e.elements.popper.querySelector(r),!r)||Ec(e.elements.popper,r)&&(e.elements.arrow=r))}const gv={name:"arrow",enabled:!0,phase:"main",fn:pv,effect:mv,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Yi(n){return n.split("-")[1]}var bv={top:"auto",right:"auto",bottom:"auto",left:"auto"};function vv(n,e){var t=n.x,i=n.y,r=e.devicePixelRatio||1;return{x:Ui(t*r)/r||0,y:Ui(i*r)/r||0}}function Mc(n){var e,t=n.popper,i=n.popperRect,r=n.placement,s=n.variation,o=n.offsets,l=n.position,u=n.gpuAcceleration,c=n.adaptive,d=n.roundOffsets,f=n.isFixed,p=o.x,h=p===void 0?0:p,x=o.y,y=x===void 0?0:x,A=typeof d=="function"?d({x:h,y}):{x:h,y};h=A.x,y=A.y;var C=o.hasOwnProperty("x"),m=o.hasOwnProperty("y"),D=wt,g=yt,M=window;if(c){var v=gn(t),S="clientHeight",w="clientWidth";if(v===kt(t)&&(v=mi(t),li(v).position!=="static"&&l==="absolute"&&(S="scrollHeight",w="scrollWidth")),v=v,r===yt||(r===wt||r===Lt)&&s===pn){g=Ot;var k=f&&v===M&&M.visualViewport?M.visualViewport.height:v[S];y-=k-i.height,y*=u?1:-1}if(r===wt||(r===yt||r===Ot)&&s===pn){D=Lt;var b=f&&v===M&&M.visualViewport?M.visualViewport.width:v[w];h-=b-i.width,h*=u?1:-1}}var T=Object.assign({position:l},c&&bv),R=d===!0?vv({x:h,y},kt(t)):{x:h,y};if(h=R.x,y=R.y,u){var L;return Object.assign({},T,(L={},L[g]=m?"0":"",L[D]=C?"0":"",L.transform=(M.devicePixelRatio||1)<=1?"translate("+h+"px, "+y+"px)":"translate3d("+h+"px, "+y+"px, 0)",L))}return Object.assign({},T,(e={},e[g]=m?y+"px":"",e[D]=C?h+"px":"",e.transform="",e))}function yv(n){var e=n.state,t=n.options,i=t.gpuAcceleration,r=i===void 0?!0:i,s=t.adaptive,o=s===void 0?!0:s,l=t.roundOffsets,u=l===void 0?!0:l,c={placement:Kt(e.placement),variation:Yi(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Mc(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:u})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Mc(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const wv={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:yv,data:{}};var hr={passive:!0};function Cv(n){var e=n.state,t=n.instance,i=n.options,r=i.scroll,s=r===void 0?!0:r,o=i.resize,l=o===void 0?!0:o,u=kt(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&c.forEach(function(d){d.addEventListener("scroll",t.update,hr)}),l&&u.addEventListener("resize",t.update,hr),function(){s&&c.forEach(function(d){d.removeEventListener("scroll",t.update,hr)}),l&&u.removeEventListener("resize",t.update,hr)}}const Av={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Cv,data:{}};var Ev={left:"right",right:"left",bottom:"top",top:"bottom"};function fr(n){return n.replace(/left|right|bottom|top/g,function(e){return Ev[e]})}var kv={start:"end",end:"start"};function Tc(n){return n.replace(/start|end/g,function(e){return kv[e]})}function xo(n){var e=kt(n),t=e.pageXOffset,i=e.pageYOffset;return{scrollLeft:t,scrollTop:i}}function Ro(n){return Gi(mi(n)).left+xo(n).scrollLeft}function Sv(n,e){var t=kt(n),i=mi(n),r=t.visualViewport,s=i.clientWidth,o=i.clientHeight,l=0,u=0;if(r){s=r.width,o=r.height;var c=Ac();(c||!c&&e==="fixed")&&(l=r.offsetLeft,u=r.offsetTop)}return{width:s,height:o,x:l+Ro(n),y:u}}function xv(n){var e,t=mi(n),i=xo(n),r=(e=n.ownerDocument)==null?void 0:e.body,s=xi(t.scrollWidth,t.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=xi(t.scrollHeight,t.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),l=-i.scrollLeft+Ro(n),u=-i.scrollTop;return li(r||t).direction==="rtl"&&(l+=xi(t.clientWidth,r?r.clientWidth:0)-s),{width:s,height:o,x:l,y:u}}function Mo(n){var e=li(n),t=e.overflow,i=e.overflowX,r=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+r+i)}function Dc(n){return["html","body","#document"].indexOf(Qt(n))>=0?n.ownerDocument.body:Bt(n)&&Mo(n)?n:Dc(dr(n))}function vn(n,e){var t;e===void 0&&(e=[]);var i=Dc(n),r=i===((t=n.ownerDocument)==null?void 0:t.body),s=kt(i),o=r?[s].concat(s.visualViewport||[],Mo(i)?i:[]):i,l=e.concat(o);return r?l:l.concat(vn(dr(o)))}function To(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function Rv(n,e){var t=Gi(n,!1,e==="fixed");return t.top=t.top+n.clientTop,t.left=t.left+n.clientLeft,t.bottom=t.top+n.clientHeight,t.right=t.left+n.clientWidth,t.width=n.clientWidth,t.height=n.clientHeight,t.x=t.left,t.y=t.top,t}function Oc(n,e,t){return e===yc?To(Sv(n,t)):Si(e)?Rv(e,t):To(xv(mi(n)))}function Mv(n){var e=vn(dr(n)),t=["absolute","fixed"].indexOf(li(n).position)>=0,i=t&&Bt(n)?gn(n):n;return Si(i)?e.filter(function(r){return Si(r)&&Ec(r,i)&&Qt(r)!=="body"}):[]}function Tv(n,e,t,i){var r=e==="clippingParents"?Mv(n):[].concat(e),s=[].concat(r,[t]),o=s[0],l=s.reduce(function(u,c){var d=Oc(n,c,i);return u.top=xi(d.top,u.top),u.right=cr(d.right,u.right),u.bottom=cr(d.bottom,u.bottom),u.left=xi(d.left,u.left),u},Oc(n,o,i));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Lc(n){var e=n.reference,t=n.element,i=n.placement,r=i?Kt(i):null,s=i?Yi(i):null,o=e.x+e.width/2-t.width/2,l=e.y+e.height/2-t.height/2,u;switch(r){case yt:u={x:o,y:e.y-t.height};break;case Ot:u={x:o,y:e.y+e.height};break;case Lt:u={x:e.x+e.width,y:l};break;case wt:u={x:e.x-t.width,y:l};break;default:u={x:e.x,y:e.y}}var c=r?So(r):null;if(c!=null){var d=c==="y"?"height":"width";switch(s){case Wi:u[c]=u[c]-(e[d]/2-t[d]/2);break;case pn:u[c]=u[c]+(e[d]/2-t[d]/2);break}}return u}function yn(n,e){e===void 0&&(e={});var t=e,i=t.placement,r=i===void 0?n.placement:i,s=t.strategy,o=s===void 0?n.strategy:s,l=t.boundary,u=l===void 0?Jb:l,c=t.rootBoundary,d=c===void 0?yc:c,f=t.elementContext,p=f===void 0?mn:f,h=t.altBoundary,x=h===void 0?!1:h,y=t.padding,A=y===void 0?0:y,C=xc(typeof A!="number"?A:Rc(A,fn)),m=p===mn?qb:mn,D=n.rects.popper,g=n.elements[x?m:p],M=Tv(Si(g)?g:g.contextElement||mi(n.elements.popper),u,d,o),v=Gi(n.elements.reference),S=Lc({reference:v,element:D,placement:r}),w=To(Object.assign({},D,S)),k=p===mn?w:v,b={top:M.top-k.top+C.top,bottom:k.bottom-M.bottom+C.bottom,left:M.left-k.left+C.left,right:k.right-M.right+C.right},T=n.modifiersData.offset;if(p===mn&&T){var R=T[r];Object.keys(b).forEach(function(L){var N=[Lt,Ot].indexOf(L)>=0?1:-1,j=[yt,Ot].indexOf(L)>=0?"y":"x";b[L]+=R[j]*N})}return b}function Dv(n,e){e===void 0&&(e={});var t=e,i=t.placement,r=t.boundary,s=t.rootBoundary,o=t.padding,l=t.flipVariations,u=t.allowedAutoPlacements,c=u===void 0?Cc:u,d=Yi(i),f=d?l?wc:wc.filter(function(x){return Yi(x)===d}):fn,p=f.filter(function(x){return c.indexOf(x)>=0});p.length===0&&(p=f);var h=p.reduce(function(x,y){return x[y]=yn(n,{placement:y,boundary:r,rootBoundary:s,padding:o})[Kt(y)],x},{});return Object.keys(h).sort(function(x,y){return h[x]-h[y]})}function Ov(n){if(Kt(n)===Co)return[];var e=fr(n);return[Tc(n),e,Tc(e)]}function Lv(n){var e=n.state,t=n.options,i=n.name;if(!e.modifiersData[i]._skip){for(var r=t.mainAxis,s=r===void 0?!0:r,o=t.altAxis,l=o===void 0?!0:o,u=t.fallbackPlacements,c=t.padding,d=t.boundary,f=t.rootBoundary,p=t.altBoundary,h=t.flipVariations,x=h===void 0?!0:h,y=t.allowedAutoPlacements,A=e.options.placement,C=Kt(A),m=C===A,D=u||(m||!x?[fr(A)]:Ov(A)),g=[A].concat(D).reduce(function(q,X){return q.concat(Kt(X)===Co?Dv(e,{placement:X,boundary:d,rootBoundary:f,padding:c,flipVariations:x,allowedAutoPlacements:y}):X)},[]),M=e.rects.reference,v=e.rects.popper,S=new Map,w=!0,k=g[0],b=0;b<g.length;b++){var T=g[b],R=Kt(T),L=Yi(T)===Wi,N=[yt,Ot].indexOf(R)>=0,j=N?"width":"height",G=yn(e,{placement:T,boundary:d,rootBoundary:f,altBoundary:p,padding:c}),I=N?L?Lt:wt:L?Ot:yt;M[j]>v[j]&&(I=fr(I));var H=fr(I),J=[];if(s&&J.push(G[R]<=0),l&&J.push(G[I]<=0,G[H]<=0),J.every(function(q){return q})){k=T,w=!1;break}S.set(T,J)}if(w)for(var F=x?3:1,P=function(X){var K=g.find(function(se){var U=S.get(se);if(U)return U.slice(0,X).every(function(Z){return Z})});if(K)return k=K,"break"},Q=F;Q>0;Q--){var z=P(Q);if(z==="break")break}e.placement!==k&&(e.modifiersData[i]._skip=!0,e.placement=k,e.reset=!0)}}const Bv={name:"flip",enabled:!0,phase:"main",fn:Lv,requiresIfExists:["offset"],data:{_skip:!1}};function Bc(n,e,t){return t===void 0&&(t={x:0,y:0}),{top:n.top-e.height-t.y,right:n.right-e.width+t.x,bottom:n.bottom-e.height+t.y,left:n.left-e.width-t.x}}function Fc(n){return[yt,Lt,Ot,wt].some(function(e){return n[e]>=0})}function Fv(n){var e=n.state,t=n.name,i=e.rects.reference,r=e.rects.popper,s=e.modifiersData.preventOverflow,o=yn(e,{elementContext:"reference"}),l=yn(e,{altBoundary:!0}),u=Bc(o,i),c=Bc(l,r,s),d=Fc(u),f=Fc(c);e.modifiersData[t]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":f})}const _v={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Fv};function Pv(n,e,t){var i=Kt(n),r=[wt,yt].indexOf(i)>=0?-1:1,s=typeof t=="function"?t(Object.assign({},e,{placement:n})):t,o=s[0],l=s[1];return o=o||0,l=(l||0)*r,[wt,Lt].indexOf(i)>=0?{x:l,y:o}:{x:o,y:l}}function Nv(n){var e=n.state,t=n.options,i=n.name,r=t.offset,s=r===void 0?[0,0]:r,o=Cc.reduce(function(d,f){return d[f]=Pv(f,e.rects,s),d},{}),l=o[e.placement],u=l.x,c=l.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=c),e.modifiersData[i]=o}const Iv={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Nv};function Hv(n){var e=n.state,t=n.name;e.modifiersData[t]=Lc({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})}const Vv={name:"popperOffsets",enabled:!0,phase:"read",fn:Hv,data:{}};function zv(n){return n==="x"?"y":"x"}function jv(n){var e=n.state,t=n.options,i=n.name,r=t.mainAxis,s=r===void 0?!0:r,o=t.altAxis,l=o===void 0?!1:o,u=t.boundary,c=t.rootBoundary,d=t.altBoundary,f=t.padding,p=t.tether,h=p===void 0?!0:p,x=t.tetherOffset,y=x===void 0?0:x,A=yn(e,{boundary:u,rootBoundary:c,padding:f,altBoundary:d}),C=Kt(e.placement),m=Yi(e.placement),D=!m,g=So(C),M=zv(g),v=e.modifiersData.popperOffsets,S=e.rects.reference,w=e.rects.popper,k=typeof y=="function"?y(Object.assign({},e.rects,{placement:e.placement})):y,b=typeof k=="number"?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),T=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,R={x:0,y:0};if(v){if(s){var L,N=g==="y"?yt:wt,j=g==="y"?Ot:Lt,G=g==="y"?"height":"width",I=v[g],H=I+A[N],J=I-A[j],F=h?-w[G]/2:0,P=m===Wi?S[G]:w[G],Q=m===Wi?-w[G]:-S[G],z=e.elements.arrow,q=h&&z?ko(z):{width:0,height:0},X=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Sc(),K=X[N],se=X[j],U=bn(0,S[G],q[G]),Z=D?S[G]/2-F-U-K-b.mainAxis:P-U-K-b.mainAxis,de=D?-S[G]/2+F+U+se+b.mainAxis:Q+U+se+b.mainAxis,V=e.elements.arrow&&gn(e.elements.arrow),W=V?g==="y"?V.clientTop||0:V.clientLeft||0:0,oe=(L=T?.[g])!=null?L:0,le=I+Z-oe-W,ye=I+de-oe,we=bn(h?cr(H,le):H,I,h?xi(J,ye):J);v[g]=we,R[g]=we-I}if(l){var xe,Fe=g==="x"?yt:wt,_e=g==="x"?Ot:Lt,Ne=v[M],ce=M==="y"?"height":"width",$=Ne+A[Fe],ie=Ne-A[_e],me=[yt,wt].indexOf(C)!==-1,he=(xe=T?.[M])!=null?xe:0,ke=me?$:Ne-S[ce]-w[ce]-he+b.altAxis,Me=me?Ne+S[ce]+w[ce]-he-b.altAxis:ie,ae=h&&me?hv(ke,Ne,Me):bn(h?ke:$,Ne,h?Me:ie);v[M]=ae,R[M]=ae-Ne}e.modifiersData[i]=R}}const Wv={name:"preventOverflow",enabled:!0,phase:"main",fn:jv,requiresIfExists:["offset"]};function Uv(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function Gv(n){return n===kt(n)||!Bt(n)?xo(n):Uv(n)}function Yv(n){var e=n.getBoundingClientRect(),t=Ui(e.width)/n.offsetWidth||1,i=Ui(e.height)/n.offsetHeight||1;return t!==1||i!==1}function Qv(n,e,t){t===void 0&&(t=!1);var i=Bt(e),r=Bt(e)&&Yv(e),s=mi(e),o=Gi(n,r,t),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!t)&&((Qt(e)!=="body"||Mo(s))&&(l=Gv(e)),Bt(e)?(u=Gi(e,!0),u.x+=e.clientLeft,u.y+=e.clientTop):s&&(u.x=Ro(s))),{x:o.left+l.scrollLeft-u.x,y:o.top+l.scrollTop-u.y,width:o.width,height:o.height}}function Kv(n){var e=new Map,t=new Set,i=[];n.forEach(function(s){e.set(s.name,s)});function r(s){t.add(s.name);var o=[].concat(s.requires||[],s.requiresIfExists||[]);o.forEach(function(l){if(!t.has(l)){var u=e.get(l);u&&r(u)}}),i.push(s)}return n.forEach(function(s){t.has(s.name)||r(s)}),i}function Jv(n){var e=Kv(n);return av.reduce(function(t,i){return t.concat(e.filter(function(r){return r.phase===i}))},[])}function qv(n){var e;return function(){return e||(e=new Promise(function(t){Promise.resolve().then(function(){e=void 0,t(n())})})),e}}function $v(n){var e=n.reduce(function(t,i){var r=t[i.name];return t[i.name]=r?Object.assign({},r,i,{options:Object.assign({},r.options,i.options),data:Object.assign({},r.data,i.data)}):i,t},{});return Object.keys(e).map(function(t){return e[t]})}var _c={placement:"bottom",modifiers:[],strategy:"absolute"};function Pc(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];return!e.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function Zv(n){n===void 0&&(n={});var e=n,t=e.defaultModifiers,i=t===void 0?[]:t,r=e.defaultOptions,s=r===void 0?_c:r;return function(l,u,c){c===void 0&&(c=s);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},_c,s),modifiersData:{},elements:{reference:l,popper:u},attributes:{},styles:{}},f=[],p=!1,h={state:d,setOptions:function(C){var m=typeof C=="function"?C(d.options):C;y(),d.options=Object.assign({},s,d.options,m),d.scrollParents={reference:Si(l)?vn(l):l.contextElement?vn(l.contextElement):[],popper:vn(u)};var D=Jv($v([].concat(i,d.options.modifiers)));return d.orderedModifiers=D.filter(function(g){return g.enabled}),x(),h.update()},forceUpdate:function(){if(!p){var C=d.elements,m=C.reference,D=C.popper;if(Pc(m,D)){d.rects={reference:Qv(m,gn(D),d.options.strategy==="fixed"),popper:ko(D)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(b){return d.modifiersData[b.name]=Object.assign({},b.data)});for(var g=0;g<d.orderedModifiers.length;g++){if(d.reset===!0){d.reset=!1,g=-1;continue}var M=d.orderedModifiers[g],v=M.fn,S=M.options,w=S===void 0?{}:S,k=M.name;typeof v=="function"&&(d=v({state:d,options:w,name:k,instance:h})||d)}}}},update:qv(function(){return new Promise(function(A){h.forceUpdate(),A(d)})}),destroy:function(){y(),p=!0}};if(!Pc(l,u))return h;h.setOptions(c).then(function(A){!p&&c.onFirstUpdate&&c.onFirstUpdate(A)});function x(){d.orderedModifiers.forEach(function(A){var C=A.name,m=A.options,D=m===void 0?{}:m,g=A.effect;if(typeof g=="function"){var M=g({state:d,name:C,instance:h,options:D}),v=function(){};f.push(M||v)}})}function y(){f.forEach(function(A){return A()}),f=[]}return h}}var Xv=[Av,Vv,wv,uv,Iv,Bv,Wv,gv,_v],ey=Zv({defaultModifiers:Xv});function ty(n,e,{width:t}){n.style.width=t;const i=ey(e.$refs.toggle,n,{placement:e.$attrs.placement,modifiers:[{name:"offset",options:{offset:[0,-1]}},{name:"toggleClass",enabled:!0,phase:"write",fn({state:r}){e.$el.classList.toggle("drop-up",r.placement==="top")}}]});return()=>i.destroy()}const iy={class:"text-muted"},ny={key:0,class:"py-1"},ry={class:"text-wrap"},sy=["innerHTML"],ay={key:1,class:"text-muted p-0"},oy={class:"text-wrap"},ly={key:2,class:"text-muted p-0 small d-flex justify-content-center"},uy={class:"text-wrap px-2"},cy={class:"selected"},dy=["innerHTML"],hy={key:0,style:{"border-left-color":"rgba(88, 151, 251, 0.71)"},class:"vs__spinner"},Vt={__name:"VSelect",props:{modelValue:[String,Object,Number],reduce:{type:Function,default:n=>n.id},hint:{type:String,default:""},classes:{type:Array,default:()=>[]},options:{type:Array,default:()=>[]},title:{type:String},disabled:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},multiple:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},allowClear:{type:Boolean,default:!0},searchTimout:{type:Number,default:1e3},dropDownPlacement:{type:String,default:"bottom",validator(n,e){return["bottom","top"].includes(n)}},error:{type:[Array,String],default:null}},emits:["update:modelValue","search","blur","focus"],setup(n,{emit:e}){const t=e,i=n,r=i.multiple?[]:null;a.getCurrentInstance();const s=a.ref(r),o=hn(u,i.searchTimout),l=a.computed(()=>{const f=oi(i.options);return f?f.map(p=>{const h=i.modelValue;return h?{...p,disabled:p.id===h}:p}):[]});function u(f){t("search",f)}const c=f=>!(!f.id||f.disabled),d=a.computed(()=>Array.isArray(i.error)?i.error?.filter(Boolean):typeof i.error=="string"&&i.error?[i.error]:[]);return a.watch(()=>i.modelValue,f=>{s.value=i.modelValue},{deep:!0}),a.watch(()=>s.value,f=>{t("update:modelValue",f)},{deep:!0}),a.onMounted(()=>{s.value=i.modelValue}),(f,p)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[n.title?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(f.titleClass)},a.toDisplayString(n.title),3)):a.createCommentVNode("",!0),a.createVNode(a.unref(Kb),a.mergeProps({class:"style-chooser"},f.$attrs,{modelValue:s.value,"onUpdate:modelValue":p[0]||(p[0]=h=>s.value=h),reduce:n.reduce,options:l.value,multiple:n.multiple,placeholder:n.placeholder,disabled:n.disabled,loading:n.isLoading,clearable:n.allowClear,placement:n.dropDownPlacement,appendToBody:n.dropDownPlacement==="top","calculate-position":a.unref(ty),selectable:h=>c(h),"onSearch:blur":p[1]||(p[1]=h=>t("blur")),"onSearch:focus":p[2]||(p[2]=h=>t("focus")),onSearch:a.unref(o),class:[...n.classes,n.error?"not-valid":""]}),{"no-options":a.withCtx(({search:h,searching:x,loading:y})=>[a.createElementVNode("span",iy,a.toDisplayString(n.hint),1)]),option:a.withCtx(({label:h,html:x,id:y,disabled:A})=>[y?(a.openBlock(),a.createElementBlock("div",ny,[a.createElementVNode("div",ry,a.toDisplayString(h),1),x?(a.openBlock(),a.createElementBlock("div",{key:0,innerHTML:x},null,8,sy)):a.createCommentVNode("",!0)])):A?(a.openBlock(),a.createElementBlock("div",ay,[a.createElementVNode("div",oy,a.toDisplayString(h)+"disabled",1)])):(a.openBlock(),a.createElementBlock("div",ly,[p[3]||(p[3]=a.createElementVNode("span",null,"-",-1)),a.createElementVNode("span",uy,a.toDisplayString(h),1),p[4]||(p[4]=a.createElementVNode("span",null,"-",-1))]))]),"selected-option":a.withCtx(({label:h,html:x})=>[a.createElementVNode("div",cy,[a.createElementVNode("div",null,a.toDisplayString(h),1),x?(a.openBlock(),a.createElementBlock("div",{key:0,innerHTML:x},null,8,dy)):a.createCommentVNode("",!0)])]),spinner:a.withCtx(({loading:h})=>[h?(a.openBlock(),a.createElementBlock("div",hy)):a.createCommentVNode("",!0)]),_:1},16,["modelValue","reduce","options","multiple","placeholder","disabled","loading","clearable","placement","appendToBody","calculate-position","selectable","onSearch","class"]),a.createVNode(ki,{errors:d.value},null,8,["errors"])],64))}},fy={class:"form-check"},py=["type","id","name"],my=["for"],Nc=Ie(a.defineComponent({__name:"BooleanCheckbox",props:{defaultValue:{default:null},trueValue:{default:"1"},modelValue:{default:void 0},name:{default:""},group:{default:""},type:{default:"checkbox"},label:{default:""},error:{default:""},setFilterParamsStringsHandler:{type:Function,default:void 0}},emits:["update:modelValue"],setup(n,{emit:e}){const t=n,i=e,r=a.ref(),s=pi(),o=a.computed(()=>t.group.length?t.group:t.name),l=()=>{i("update:modelValue",r.value?.checked?t.trueValue:t.defaultValue)},u=a.computed(()=>!t.modelValue||t.modelValue!==t.trueValue?(r.value&&(r.value.checked=!1),c(),null):(r.value&&(r.value.checked=!0),c(),!0)),c=()=>{if(!t.setFilterParamsStringsHandler)return!1;const f=r.value?.checked?"Да":null;t.setFilterParamsStringsHandler(t.name,f)},d=a.computed(()=>Array.isArray(t.error)?t.error?.filter(Boolean)||[]:typeof t.error=="string"&&t.error?[t.error]:[]);return a.watch(()=>t.modelValue,f=>{r.value&&(r.value.checked=!!f)}),(f,p)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[a.createElementVNode("div",fy,[(a.openBlock(),a.createElementBlock("input",{class:a.normalizeClass(["form-check-input mb-1",[f.error?"not-valid":""]]),ref_key:"input",ref:r,type:f.type,id:String(a.unref(s)),name:o.value,key:String(u.value),onClick:l},null,10,py)),a.createElementVNode("label",{class:a.normalizeClass(["form-check-label",[f.error?"text-danger":""]]),for:String(a.unref(s))},a.toDisplayString(f.label),11,my)]),a.createVNode(ki,{errors:d.value},null,8,["errors"])],64))}}),[["__scopeId","data-v-c1b5c25e"]]),gy={class:"multi-checkbox"},by=["checked","onClick","id","value","name"],vy=["for"],yy=Ie(a.defineComponent({__name:"MultiCheckbox",props:{modelValue:{default:()=>[]},inputClass:{default:""},options:{default:()=>[]},error:{default:""},setFilterParamsStringsHandler:{type:Function,default:void 0},name:{default:""}},emits:["update:modelValue"],setup(n,{emit:e}){const t=n,i=e,r=a.toRef(t,"modelValue"),s=a.toRef(t,"options"),o=a.toRef(t,"name");function l(f,p){const h=String(p);let x=[...r.value];r.value.includes(h)?x=r.value.filter(y=>String(y)!==h):x.push(h),i("update:modelValue",x)}const u=a.computed(()=>f=>r.value.includes(String(f)));function c(f){if(!t.setFilterParamsStringsHandler)return;let p=f.map(x=>String(x));const h=s.value.filter(x=>p.includes(String(x.id))).map(x=>x.text);if(p.length===0){t.setFilterParamsStringsHandler(o.value,null);return}t.setFilterParamsStringsHandler(o.value,h.join(", "))}const d=a.computed(()=>Array.isArray(t.error)?t.error?.filter(Boolean)||[]:typeof t.error=="string"&&t.error?[t.error]:[]);return a.watch(()=>r.value,f=>{c(f)},{deep:!0}),(f,p)=>(a.openBlock(),a.createElementBlock("div",gy,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(s.value,h=>(a.openBlock(),a.createElementBlock("div",{class:"form-check",key:h.id},[a.createElementVNode("input",{class:a.normalizeClass(["form-check-input",[f.inputClass,{"not-valid":f.error}]]),type:"checkbox",checked:u.value(h.id),onClick:x=>l(x,h.id),id:`${o.value}-${h.id}`,value:h.id,name:`${o.value}-${h.id}`},null,10,by),a.createElementVNode("label",{class:"form-check-label d-block",for:`${o.value}-${h.id}`},a.toDisplayString(h.text),9,vy)]))),128)),a.createVNode(ki,{errors:d.value},null,8,["errors"])]))}}),[["__scopeId","data-v-e23ac74b"]]),wy={class:"multi-input"},Cy={class:"col"},Ay={class:"col-auto"},Ey=["onClick"],ky=Ie(a.defineComponent({__name:"MultiInput",props:{modelValue:{default:()=>[]},title:{default:""},setFilterParamsStringsHandler:{type:Function,default:void 0},name:{default:""},placeholder:{default:""},disabled:{type:Boolean,default:!1},inputClass:{default:""},error:{default:""},maskOptions:{default:""}},emits:["update:modelValue"],setup(n,{emit:e}){const t=n,i=e,r=a.toRef(t,"modelValue");a.toRef(t,"title");const s=a.toRef(t,"placeholder");a.toRef(t,"disabled");const o=a.toRef(t,"error"),l=a.toRef(t,"maskOptions"),u=a.ref([]),c=a.ref(!1),d={value:"",disabled:!1,uniqueKey:1};function f(){const C=oi(d);C.uniqueKey=pi(),u.value.push(C)}function p(C,m){C.value=m}const h=a.computed(()=>u.value.length>1);function x(C){u.value=u.value.filter(m=>m.uniqueKey!==C.uniqueKey)}function y(){u.value=[],f()}function A(C){const m=C.map(g=>g.value);if(i("update:modelValue",m),!t.setFilterParamsStringsHandler)return;const D=m.filter(g=>g&&g.length>0);if(D.length===0){t.setFilterParamsStringsHandler(t.name,null);return}t.setFilterParamsStringsHandler(t.name,D.join(", "))}return a.watch(()=>u.value,C=>{c.value||A(C)},{deep:!0}),a.watch(()=>r.value,C=>{c.value=!0,!C||C.length===0?y():u.value.length!==C.length?u.value=C.map((m,D)=>({value:m,disabled:!1,uniqueKey:pi()+D})):C.forEach((m,D)=>{u.value[D]&&(u.value[D].value=m)}),a.nextTick(()=>{c.value=!1})},{deep:!0}),a.onMounted(()=>{r.value&&r.value.length>0?u.value=r.value.map((C,m)=>({value:C,disabled:!1,uniqueKey:pi()+m})):f()}),(C,m)=>(a.openBlock(),a.createElementBlock("div",wy,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(u.value,(D,g)=>(a.openBlock(),a.createElementBlock("div",{class:"row mb-2",key:D.uniqueKey},[a.createElementVNode("div",Cy,[a.createVNode(ur,{"model-value":D.value,"onUpdate:modelValue":M=>p(D,M),name:C.name,placeholder:s.value,class:a.normalizeClass(C.inputClass),disabled:D.disabled,"mask-options":l.value,error:o.value},null,8,["model-value","onUpdate:modelValue","name","placeholder","class","disabled","mask-options","error"])]),a.createElementVNode("div",Ay,[h.value?(a.openBlock(),a.createElementBlock("div",{key:0,class:"d-flex remove-button p-2",style:{cursor:"pointer"},onClick:M=>x(D)},[...m[0]||(m[0]=[a.createElementVNode("i",{class:"bi bi-trash-fill"},null,-1)])],8,Ey)):a.createCommentVNode("",!0)])]))),128)),a.createVNode(il,{onClick:f})]))}}),[["__scopeId","data-v-9337052b"]]);var Do=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],Qi={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:typeof window=="object"&&window.navigator.userAgent.indexOf("MSIE")===-1,ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:function(n){return typeof console<"u"&&console.warn(n)},getWeek:function(n){var e=new Date(n.getTime());e.setHours(0,0,0,0),e.setDate(e.getDate()+3-(e.getDay()+6)%7);var t=new Date(e.getFullYear(),0,4);return 1+Math.round(((e.getTime()-t.getTime())/864e5-3+(t.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},wn={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(n){var e=n%100;if(e>3&&e<21)return"th";switch(e%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},Ct=function(n,e){return e===void 0&&(e=2),("000"+n).slice(e*-1)},Ft=function(n){return n===!0?1:0};function Ic(n,e){var t;return function(){var i=this,r=arguments;clearTimeout(t),t=setTimeout(function(){return n.apply(i,r)},e)}}var Oo=function(n){return n instanceof Array?n:[n]};function gt(n,e,t){if(t===!0)return n.classList.add(e);n.classList.remove(e)}function Je(n,e,t){var i=window.document.createElement(n);return e=e||"",t=t||"",i.className=e,t!==void 0&&(i.textContent=t),i}function pr(n){for(;n.firstChild;)n.removeChild(n.firstChild)}function Hc(n,e){if(e(n))return n;if(n.parentNode)return Hc(n.parentNode,e)}function mr(n,e){var t=Je("div","numInputWrapper"),i=Je("input","numInput "+n),r=Je("span","arrowUp"),s=Je("span","arrowDown");if(navigator.userAgent.indexOf("MSIE 9.0")===-1?i.type="number":(i.type="text",i.pattern="\\d*"),e!==void 0)for(var o in e)i.setAttribute(o,e[o]);return t.appendChild(i),t.appendChild(r),t.appendChild(s),t}function St(n){try{if(typeof n.composedPath=="function"){var e=n.composedPath();return e[0]}return n.target}catch{return n.target}}var Lo=function(){},gr=function(n,e,t){return t.months[e?"shorthand":"longhand"][n]},Sy={D:Lo,F:function(n,e,t){n.setMonth(t.months.longhand.indexOf(e))},G:function(n,e){n.setHours((n.getHours()>=12?12:0)+parseFloat(e))},H:function(n,e){n.setHours(parseFloat(e))},J:function(n,e){n.setDate(parseFloat(e))},K:function(n,e,t){n.setHours(n.getHours()%12+12*Ft(new RegExp(t.amPM[1],"i").test(e)))},M:function(n,e,t){n.setMonth(t.months.shorthand.indexOf(e))},S:function(n,e){n.setSeconds(parseFloat(e))},U:function(n,e){return new Date(parseFloat(e)*1e3)},W:function(n,e,t){var i=parseInt(e),r=new Date(n.getFullYear(),0,2+(i-1)*7,0,0,0,0);return r.setDate(r.getDate()-r.getDay()+t.firstDayOfWeek),r},Y:function(n,e){n.setFullYear(parseFloat(e))},Z:function(n,e){return new Date(e)},d:function(n,e){n.setDate(parseFloat(e))},h:function(n,e){n.setHours((n.getHours()>=12?12:0)+parseFloat(e))},i:function(n,e){n.setMinutes(parseFloat(e))},j:function(n,e){n.setDate(parseFloat(e))},l:Lo,m:function(n,e){n.setMonth(parseFloat(e)-1)},n:function(n,e){n.setMonth(parseFloat(e)-1)},s:function(n,e){n.setSeconds(parseFloat(e))},u:function(n,e){return new Date(parseFloat(e))},w:Lo,y:function(n,e){n.setFullYear(2e3+parseFloat(e))}},Ri={D:"",F:"",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},Cn={Z:function(n){return n.toISOString()},D:function(n,e,t){return e.weekdays.shorthand[Cn.w(n,e,t)]},F:function(n,e,t){return gr(Cn.n(n,e,t)-1,!1,e)},G:function(n,e,t){return Ct(Cn.h(n,e,t))},H:function(n){return Ct(n.getHours())},J:function(n,e){return e.ordinal!==void 0?n.getDate()+e.ordinal(n.getDate()):n.getDate()},K:function(n,e){return e.amPM[Ft(n.getHours()>11)]},M:function(n,e){return gr(n.getMonth(),!0,e)},S:function(n){return Ct(n.getSeconds())},U:function(n){return n.getTime()/1e3},W:function(n,e,t){return t.getWeek(n)},Y:function(n){return Ct(n.getFullYear(),4)},d:function(n){return Ct(n.getDate())},h:function(n){return n.getHours()%12?n.getHours()%12:12},i:function(n){return Ct(n.getMinutes())},j:function(n){return n.getDate()},l:function(n,e){return e.weekdays.longhand[n.getDay()]},m:function(n){return Ct(n.getMonth()+1)},n:function(n){return n.getMonth()+1},s:function(n){return n.getSeconds()},u:function(n){return n.getTime()},w:function(n){return n.getDay()},y:function(n){return String(n.getFullYear()).substring(2)}},Vc=function(n){var e=n.config,t=e===void 0?Qi:e,i=n.l10n,r=i===void 0?wn:i,s=n.isMobile,o=s===void 0?!1:s;return function(l,u,c){var d=c||r;return t.formatDate!==void 0&&!o?t.formatDate(l,u,d):u.split("").map(function(f,p,h){return Cn[f]&&h[p-1]!=="\\"?Cn[f](l,d,t):f!=="\\"?f:""}).join("")}},Bo=function(n){var e=n.config,t=e===void 0?Qi:e,i=n.l10n,r=i===void 0?wn:i;return function(s,o,l,u){if(!(s!==0&&!s)){var c=u||r,d,f=s;if(s instanceof Date)d=new Date(s.getTime());else if(typeof s!="string"&&s.toFixed!==void 0)d=new Date(s);else if(typeof s=="string"){var p=o||(t||Qi).dateFormat,h=String(s).trim();if(h==="today")d=new Date,l=!0;else if(t&&t.parseDate)d=t.parseDate(s,p);else if(/Z$/.test(h)||/GMT$/.test(h))d=new Date(s);else{for(var x=void 0,y=[],A=0,C=0,m="";A<p.length;A++){var D=p[A],g=D==="\\",M=p[A-1]==="\\"||g;if(Ri[D]&&!M){m+=Ri[D];var v=new RegExp(m).exec(s);v&&(x=!0)&&y[D!=="Y"?"push":"unshift"]({fn:Sy[D],val:v[++C]})}else g||(m+=".")}d=!t||!t.noCalendar?new Date(new Date().getFullYear(),0,1,0,0,0,0):new Date(new Date().setHours(0,0,0,0)),y.forEach(function(S){var w=S.fn,k=S.val;return d=w(d,k,c)||d}),d=x?d:void 0}}if(!(d instanceof Date&&!isNaN(d.getTime()))){t.errorHandler(new Error("Invalid date provided: "+f));return}return l===!0&&d.setHours(0,0,0,0),d}}};function xt(n,e,t){return t===void 0&&(t=!0),t!==!1?new Date(n.getTime()).setHours(0,0,0,0)-new Date(e.getTime()).setHours(0,0,0,0):n.getTime()-e.getTime()}var xy=function(n,e,t){return n>Math.min(e,t)&&n<Math.max(e,t)},Fo=function(n,e,t){return n*3600+e*60+t},Ry=function(n){var e=Math.floor(n/3600),t=(n-e*3600)/60;return[e,t,n-e*3600-t*60]},My={DAY:864e5};function _o(n){var e=n.defaultHour,t=n.defaultMinute,i=n.defaultSeconds;if(n.minDate!==void 0){var r=n.minDate.getHours(),s=n.minDate.getMinutes(),o=n.minDate.getSeconds();e<r&&(e=r),e===r&&t<s&&(t=s),e===r&&t===s&&i<o&&(i=n.minDate.getSeconds())}if(n.maxDate!==void 0){var l=n.maxDate.getHours(),u=n.maxDate.getMinutes();e=Math.min(e,l),e===l&&(t=Math.min(u,t)),e===l&&t===u&&(i=n.maxDate.getSeconds())}return{hours:e,minutes:t,seconds:i}}typeof Object.assign!="function"&&(Object.assign=function(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];if(!n)throw TypeError("Cannot convert undefined or null to object");for(var i=function(l){l&&Object.keys(l).forEach(function(u){return n[u]=l[u]})},r=0,s=e;r<s.length;r++){var o=s[r];i(o)}return n});var ft=function(){return ft=Object.assign||function(n){for(var e,t=1,i=arguments.length;t<i;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},ft.apply(this,arguments)},zc=function(){for(var n=0,e=0,t=arguments.length;e<t;e++)n+=arguments[e].length;for(var i=Array(n),r=0,e=0;e<t;e++)for(var s=arguments[e],o=0,l=s.length;o<l;o++,r++)i[r]=s[o];return i},Ty=300;function Dy(n,e){var t={config:ft(ft({},Qi),ot.defaultConfig),l10n:wn};t.parseDate=Bo({config:t.config,l10n:t.l10n}),t._handlers=[],t.pluginElements=[],t.loadedPlugins=[],t._bind=y,t._setHoursFromDate=p,t._positionCalendar=_e,t.changeMonth=P,t.changeYear=se,t.clear=Q,t.close=z,t.onMouseOver=W,t._createElement=Je,t.createDay=v,t.destroy=q,t.isEnabled=U,t.jumpToDate=m,t.updateValue=Re,t.open=le,t.redraw=$,t.set=ke,t.setDate=ae,t.toggle=At;function i(){t.utils={getDaysInMonth:function(B,E){return B===void 0&&(B=t.currentMonth),E===void 0&&(E=t.currentYear),B===1&&(E%4===0&&E%100!==0||E%400===0)?29:t.l10n.daysInMonth[B]}}}function r(){t.element=t.input=n,t.isOpen=!1,we(),Fe(),et(),Le(),i(),t.isMobile||M(),C(),(t.selectedDates.length||t.config.noCalendar)&&(t.config.enableTime&&p(t.config.noCalendar?t.latestSelectedDateObj:void 0),Re(!1)),l();var B=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!t.isMobile&&B&&_e(),Ge("onReady")}function s(){var B;return((B=t.calendarContainer)===null||B===void 0?void 0:B.getRootNode()).activeElement||document.activeElement}function o(B){return B.bind(t)}function l(){var B=t.config;B.weekNumbers===!1&&B.showMonths===1||B.noCalendar!==!0&&window.requestAnimationFrame(function(){if(t.calendarContainer!==void 0&&(t.calendarContainer.style.visibility="hidden",t.calendarContainer.style.display="block"),t.daysContainer!==void 0){var E=(t.days.offsetWidth+1)*B.showMonths;t.daysContainer.style.width=E+"px",t.calendarContainer.style.width=E+(t.weekWrapper!==void 0?t.weekWrapper.offsetWidth:0)+"px",t.calendarContainer.style.removeProperty("visibility"),t.calendarContainer.style.removeProperty("display")}})}function u(B){if(t.selectedDates.length===0){var E=t.config.minDate===void 0||xt(new Date,t.config.minDate)>=0?new Date:new Date(t.config.minDate.getTime()),O=_o(t.config);E.setHours(O.hours,O.minutes,O.seconds,E.getMilliseconds()),t.selectedDates=[E],t.latestSelectedDateObj=E}B!==void 0&&B.type!=="blur"&&ge(B);var _=t._input.value;f(),Re(),t._input.value!==_&&t._debouncedChange()}function c(B,E){return B%12+12*Ft(E===t.l10n.amPM[1])}function d(B){switch(B%24){case 0:case 12:return 12;default:return B%12}}function f(){if(!(t.hourElement===void 0||t.minuteElement===void 0)){var B=(parseInt(t.hourElement.value.slice(-2),10)||0)%24,E=(parseInt(t.minuteElement.value,10)||0)%60,O=t.secondElement!==void 0?(parseInt(t.secondElement.value,10)||0)%60:0;t.amPM!==void 0&&(B=c(B,t.amPM.textContent));var _=t.config.minTime!==void 0||t.config.minDate&&t.minDateHasTime&&t.latestSelectedDateObj&&xt(t.latestSelectedDateObj,t.config.minDate,!0)===0,Y=t.config.maxTime!==void 0||t.config.maxDate&&t.maxDateHasTime&&t.latestSelectedDateObj&&xt(t.latestSelectedDateObj,t.config.maxDate,!0)===0;if(t.config.maxTime!==void 0&&t.config.minTime!==void 0&&t.config.minTime>t.config.maxTime){var ne=Fo(t.config.minTime.getHours(),t.config.minTime.getMinutes(),t.config.minTime.getSeconds()),ue=Fo(t.config.maxTime.getHours(),t.config.maxTime.getMinutes(),t.config.maxTime.getSeconds()),fe=Fo(B,E,O);if(fe>ue&&fe<ne){var pe=Ry(ne);B=pe[0],E=pe[1],O=pe[2]}}else{if(Y){var be=t.config.maxTime!==void 0?t.config.maxTime:t.config.maxDate;B=Math.min(B,be.getHours()),B===be.getHours()&&(E=Math.min(E,be.getMinutes())),E===be.getMinutes()&&(O=Math.min(O,be.getSeconds()))}if(_){var Ce=t.config.minTime!==void 0?t.config.minTime:t.config.minDate;B=Math.max(B,Ce.getHours()),B===Ce.getHours()&&E<Ce.getMinutes()&&(E=Ce.getMinutes()),E===Ce.getMinutes()&&(O=Math.max(O,Ce.getSeconds()))}}h(B,E,O)}}function p(B){var E=B||t.latestSelectedDateObj;E&&E instanceof Date&&h(E.getHours(),E.getMinutes(),E.getSeconds())}function h(B,E,O){t.latestSelectedDateObj!==void 0&&t.latestSelectedDateObj.setHours(B%24,E,O||0,0),!(!t.hourElement||!t.minuteElement||t.isMobile)&&(t.hourElement.value=Ct(t.config.time_24hr?B:(12+B)%12+12*Ft(B%12===0)),t.minuteElement.value=Ct(E),t.amPM!==void 0&&(t.amPM.textContent=t.l10n.amPM[Ft(B>=12)]),t.secondElement!==void 0&&(t.secondElement.value=Ct(O)))}function x(B){var E=St(B),O=parseInt(E.value)+(B.delta||0);(O/1e3>1||B.key==="Enter"&&!/[^\d]/.test(O.toString()))&&se(O)}function y(B,E,O,_){if(E instanceof Array)return E.forEach(function(Y){return y(B,Y,O,_)});if(B instanceof Array)return B.forEach(function(Y){return y(Y,E,O,_)});B.addEventListener(E,O,_),t._handlers.push({remove:function(){return B.removeEventListener(E,O,_)}})}function A(){Ge("onChange")}function C(){if(t.config.wrap&&["open","close","toggle","clear"].forEach(function(O){Array.prototype.forEach.call(t.element.querySelectorAll("[data-"+O+"]"),function(_){return y(_,"click",t[O])})}),t.isMobile){Rt();return}var B=Ic(oe,50);if(t._debouncedChange=Ic(A,Ty),t.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&y(t.daysContainer,"mouseover",function(O){t.config.mode==="range"&&W(St(O))}),y(t._input,"keydown",V),t.calendarContainer!==void 0&&y(t.calendarContainer,"keydown",V),!t.config.inline&&!t.config.static&&y(window,"resize",B),window.ontouchstart!==void 0?y(window.document,"touchstart",K):y(window.document,"mousedown",K),y(window.document,"focus",K,{capture:!0}),t.config.clickOpens===!0&&(y(t._input,"focus",t.open),y(t._input,"click",t.open)),t.daysContainer!==void 0&&(y(t.monthNav,"click",ct),y(t.monthNav,["keyup","increment"],x),y(t.daysContainer,"click",me)),t.timeContainer!==void 0&&t.minuteElement!==void 0&&t.hourElement!==void 0){var E=function(O){return St(O).select()};y(t.timeContainer,["increment"],u),y(t.timeContainer,"blur",u,{capture:!0}),y(t.timeContainer,"click",D),y([t.hourElement,t.minuteElement],["focus","click"],E),t.secondElement!==void 0&&y(t.secondElement,"focus",function(){return t.secondElement&&t.secondElement.select()}),t.amPM!==void 0&&y(t.amPM,"click",function(O){u(O)})}t.config.allowInput&&y(t._input,"blur",de)}function m(B,E){var O=B!==void 0?t.parseDate(B):t.latestSelectedDateObj||(t.config.minDate&&t.config.minDate>t.now?t.config.minDate:t.config.maxDate&&t.config.maxDate<t.now?t.config.maxDate:t.now),_=t.currentYear,Y=t.currentMonth;try{O!==void 0&&(t.currentYear=O.getFullYear(),t.currentMonth=O.getMonth())}catch(ne){ne.message="Invalid date supplied: "+O,t.config.errorHandler(ne)}E&&t.currentYear!==_&&(Ge("onYearChange"),L()),E&&(t.currentYear!==_||t.currentMonth!==Y)&&Ge("onMonthChange"),t.redraw()}function D(B){var E=St(B);~E.className.indexOf("arrow")&&g(B,E.classList.contains("arrowUp")?1:-1)}function g(B,E,O){var _=B&&St(B),Y=O||_&&_.parentNode&&_.parentNode.firstChild,ne=te("increment");ne.delta=E,Y&&Y.dispatchEvent(ne)}function M(){var B=window.document.createDocumentFragment();if(t.calendarContainer=Je("div","flatpickr-calendar"),t.calendarContainer.tabIndex=-1,!t.config.noCalendar){if(B.appendChild(G()),t.innerContainer=Je("div","flatpickr-innerContainer"),t.config.weekNumbers){var E=F(),O=E.weekWrapper,_=E.weekNumbers;t.innerContainer.appendChild(O),t.weekNumbers=_,t.weekWrapper=O}t.rContainer=Je("div","flatpickr-rContainer"),t.rContainer.appendChild(H()),t.daysContainer||(t.daysContainer=Je("div","flatpickr-days"),t.daysContainer.tabIndex=-1),R(),t.rContainer.appendChild(t.daysContainer),t.innerContainer.appendChild(t.rContainer),B.appendChild(t.innerContainer)}t.config.enableTime&&B.appendChild(I()),gt(t.calendarContainer,"rangeMode",t.config.mode==="range"),gt(t.calendarContainer,"animate",t.config.animate===!0),gt(t.calendarContainer,"multiMonth",t.config.showMonths>1),t.calendarContainer.appendChild(B);var Y=t.config.appendTo!==void 0&&t.config.appendTo.nodeType!==void 0;if((t.config.inline||t.config.static)&&(t.calendarContainer.classList.add(t.config.inline?"inline":"static"),t.config.inline&&(!Y&&t.element.parentNode?t.element.parentNode.insertBefore(t.calendarContainer,t._input.nextSibling):t.config.appendTo!==void 0&&t.config.appendTo.appendChild(t.calendarContainer)),t.config.static)){var ne=Je("div","flatpickr-wrapper");t.element.parentNode&&t.element.parentNode.insertBefore(ne,t.element),ne.appendChild(t.element),t.altInput&&ne.appendChild(t.altInput),ne.appendChild(t.calendarContainer)}!t.config.static&&!t.config.inline&&(t.config.appendTo!==void 0?t.config.appendTo:window.document.body).appendChild(t.calendarContainer)}function v(B,E,O,_){var Y=U(E,!0),ne=Je("span",B,E.getDate().toString());return ne.dateObj=E,ne.$i=_,ne.setAttribute("aria-label",t.formatDate(E,t.config.ariaDateFormat)),B.indexOf("hidden")===-1&&xt(E,t.now)===0&&(t.todayDateElem=ne,ne.classList.add("today"),ne.setAttribute("aria-current","date")),Y?(ne.tabIndex=-1,re(E)&&(ne.classList.add("selected"),t.selectedDateElem=ne,t.config.mode==="range"&&(gt(ne,"startRange",t.selectedDates[0]&&xt(E,t.selectedDates[0],!0)===0),gt(ne,"endRange",t.selectedDates[1]&&xt(E,t.selectedDates[1],!0)===0),B==="nextMonthDay"&&ne.classList.add("inRange")))):ne.classList.add("flatpickr-disabled"),t.config.mode==="range"&&Pe(E)&&!re(E)&&ne.classList.add("inRange"),t.weekNumbers&&t.config.showMonths===1&&B!=="prevMonthDay"&&_%7===6&&t.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+t.config.getWeek(E)+"</span>"),Ge("onDayCreate",ne),ne}function S(B){B.focus(),t.config.mode==="range"&&W(B)}function w(B){for(var E=B>0?0:t.config.showMonths-1,O=B>0?t.config.showMonths:-1,_=E;_!=O;_+=B)for(var Y=t.daysContainer.children[_],ne=B>0?0:Y.children.length-1,ue=B>0?Y.children.length:-1,fe=ne;fe!=ue;fe+=B){var pe=Y.children[fe];if(pe.className.indexOf("hidden")===-1&&U(pe.dateObj))return pe}}function k(B,E){for(var O=B.className.indexOf("Month")===-1?B.dateObj.getMonth():t.currentMonth,_=E>0?t.config.showMonths:-1,Y=E>0?1:-1,ne=O-t.currentMonth;ne!=_;ne+=Y)for(var ue=t.daysContainer.children[ne],fe=O-t.currentMonth===ne?B.$i+E:E<0?ue.children.length-1:0,pe=ue.children.length,be=fe;be>=0&&be<pe&&be!=(E>0?pe:-1);be+=Y){var Ce=ue.children[be];if(Ce.className.indexOf("hidden")===-1&&U(Ce.dateObj)&&Math.abs(B.$i-be)>=Math.abs(E))return S(Ce)}t.changeMonth(Y),b(w(Y),0)}function b(B,E){var O=s(),_=Z(O||document.body),Y=B!==void 0?B:_?O:t.selectedDateElem!==void 0&&Z(t.selectedDateElem)?t.selectedDateElem:t.todayDateElem!==void 0&&Z(t.todayDateElem)?t.todayDateElem:w(E>0?1:-1);Y===void 0?t._input.focus():_?k(Y,E):S(Y)}function T(B,E){for(var O=(new Date(B,E,1).getDay()-t.l10n.firstDayOfWeek+7)%7,_=t.utils.getDaysInMonth((E-1+12)%12,B),Y=t.utils.getDaysInMonth(E,B),ne=window.document.createDocumentFragment(),ue=t.config.showMonths>1,fe=ue?"prevMonthDay hidden":"prevMonthDay",pe=ue?"nextMonthDay hidden":"nextMonthDay",be=_+1-O,Ce=0;be<=_;be++,Ce++)ne.appendChild(v("flatpickr-day "+fe,new Date(B,E-1,be),be,Ce));for(be=1;be<=Y;be++,Ce++)ne.appendChild(v("flatpickr-day",new Date(B,E,be),be,Ce));for(var De=Y+1;De<=42-O&&(t.config.showMonths===1||Ce%7!==0);De++,Ce++)ne.appendChild(v("flatpickr-day "+pe,new Date(B,E+1,De%Y),De,Ce));var We=Je("div","dayContainer");return We.appendChild(ne),We}function R(){if(t.daysContainer!==void 0){pr(t.daysContainer),t.weekNumbers&&pr(t.weekNumbers);for(var B=document.createDocumentFragment(),E=0;E<t.config.showMonths;E++){var O=new Date(t.currentYear,t.currentMonth,1);O.setMonth(t.currentMonth+E),B.appendChild(T(O.getFullYear(),O.getMonth()))}t.daysContainer.appendChild(B),t.days=t.daysContainer.firstChild,t.config.mode==="range"&&t.selectedDates.length===1&&W()}}function L(){if(!(t.config.showMonths>1||t.config.monthSelectorType!=="dropdown")){var B=function(_){return t.config.minDate!==void 0&&t.currentYear===t.config.minDate.getFullYear()&&_<t.config.minDate.getMonth()?!1:!(t.config.maxDate!==void 0&&t.currentYear===t.config.maxDate.getFullYear()&&_>t.config.maxDate.getMonth())};t.monthsDropdownContainer.tabIndex=-1,t.monthsDropdownContainer.innerHTML="";for(var E=0;E<12;E++)if(B(E)){var O=Je("option","flatpickr-monthDropdown-month");O.value=new Date(t.currentYear,E).getMonth().toString(),O.textContent=gr(E,t.config.shorthandCurrentMonth,t.l10n),O.tabIndex=-1,t.currentMonth===E&&(O.selected=!0),t.monthsDropdownContainer.appendChild(O)}}}function N(){var B=Je("div","flatpickr-month"),E=window.document.createDocumentFragment(),O;t.config.showMonths>1||t.config.monthSelectorType==="static"?O=Je("span","cur-month"):(t.monthsDropdownContainer=Je("select","flatpickr-monthDropdown-months"),t.monthsDropdownContainer.setAttribute("aria-label",t.l10n.monthAriaLabel),y(t.monthsDropdownContainer,"change",function(ue){var fe=St(ue),pe=parseInt(fe.value,10);t.changeMonth(pe-t.currentMonth),Ge("onMonthChange")}),L(),O=t.monthsDropdownContainer);var _=mr("cur-year",{tabindex:"-1"}),Y=_.getElementsByTagName("input")[0];Y.setAttribute("aria-label",t.l10n.yearAriaLabel),t.config.minDate&&Y.setAttribute("min",t.config.minDate.getFullYear().toString()),t.config.maxDate&&(Y.setAttribute("max",t.config.maxDate.getFullYear().toString()),Y.disabled=!!t.config.minDate&&t.config.minDate.getFullYear()===t.config.maxDate.getFullYear());var ne=Je("div","flatpickr-current-month");return ne.appendChild(O),ne.appendChild(_),E.appendChild(ne),B.appendChild(E),{container:B,yearElement:Y,monthElement:O}}function j(){pr(t.monthNav),t.monthNav.appendChild(t.prevMonthNav),t.config.showMonths&&(t.yearElements=[],t.monthElements=[]);for(var B=t.config.showMonths;B--;){var E=N();t.yearElements.push(E.yearElement),t.monthElements.push(E.monthElement),t.monthNav.appendChild(E.container)}t.monthNav.appendChild(t.nextMonthNav)}function G(){return t.monthNav=Je("div","flatpickr-months"),t.yearElements=[],t.monthElements=[],t.prevMonthNav=Je("span","flatpickr-prev-month"),t.prevMonthNav.innerHTML=t.config.prevArrow,t.nextMonthNav=Je("span","flatpickr-next-month"),t.nextMonthNav.innerHTML=t.config.nextArrow,j(),Object.defineProperty(t,"_hidePrevMonthArrow",{get:function(){return t.__hidePrevMonthArrow},set:function(B){t.__hidePrevMonthArrow!==B&&(gt(t.prevMonthNav,"flatpickr-disabled",B),t.__hidePrevMonthArrow=B)}}),Object.defineProperty(t,"_hideNextMonthArrow",{get:function(){return t.__hideNextMonthArrow},set:function(B){t.__hideNextMonthArrow!==B&&(gt(t.nextMonthNav,"flatpickr-disabled",B),t.__hideNextMonthArrow=B)}}),t.currentYearElement=t.yearElements[0],ze(),t.monthNav}function I(){t.calendarContainer.classList.add("hasTime"),t.config.noCalendar&&t.calendarContainer.classList.add("noCalendar");var B=_o(t.config);t.timeContainer=Je("div","flatpickr-time"),t.timeContainer.tabIndex=-1;var E=Je("span","flatpickr-time-separator",":"),O=mr("flatpickr-hour",{"aria-label":t.l10n.hourAriaLabel});t.hourElement=O.getElementsByTagName("input")[0];var _=mr("flatpickr-minute",{"aria-label":t.l10n.minuteAriaLabel});if(t.minuteElement=_.getElementsByTagName("input")[0],t.hourElement.tabIndex=t.minuteElement.tabIndex=-1,t.hourElement.value=Ct(t.latestSelectedDateObj?t.latestSelectedDateObj.getHours():t.config.time_24hr?B.hours:d(B.hours)),t.minuteElement.value=Ct(t.latestSelectedDateObj?t.latestSelectedDateObj.getMinutes():B.minutes),t.hourElement.setAttribute("step",t.config.hourIncrement.toString()),t.minuteElement.setAttribute("step",t.config.minuteIncrement.toString()),t.hourElement.setAttribute("min",t.config.time_24hr?"0":"1"),t.hourElement.setAttribute("max",t.config.time_24hr?"23":"12"),t.hourElement.setAttribute("maxlength","2"),t.minuteElement.setAttribute("min","0"),t.minuteElement.setAttribute("max","59"),t.minuteElement.setAttribute("maxlength","2"),t.timeContainer.appendChild(O),t.timeContainer.appendChild(E),t.timeContainer.appendChild(_),t.config.time_24hr&&t.timeContainer.classList.add("time24hr"),t.config.enableSeconds){t.timeContainer.classList.add("hasSeconds");var Y=mr("flatpickr-second");t.secondElement=Y.getElementsByTagName("input")[0],t.secondElement.value=Ct(t.latestSelectedDateObj?t.latestSelectedDateObj.getSeconds():B.seconds),t.secondElement.setAttribute("step",t.minuteElement.getAttribute("step")),t.secondElement.setAttribute("min","0"),t.secondElement.setAttribute("max","59"),t.secondElement.setAttribute("maxlength","2"),t.timeContainer.appendChild(Je("span","flatpickr-time-separator",":")),t.timeContainer.appendChild(Y)}return t.config.time_24hr||(t.amPM=Je("span","flatpickr-am-pm",t.l10n.amPM[Ft((t.latestSelectedDateObj?t.hourElement.value:t.config.defaultHour)>11)]),t.amPM.title=t.l10n.toggleTitle,t.amPM.tabIndex=-1,t.timeContainer.appendChild(t.amPM)),t.timeContainer}function H(){t.weekdayContainer?pr(t.weekdayContainer):t.weekdayContainer=Je("div","flatpickr-weekdays");for(var B=t.config.showMonths;B--;){var E=Je("div","flatpickr-weekdaycontainer");t.weekdayContainer.appendChild(E)}return J(),t.weekdayContainer}function J(){if(t.weekdayContainer){var B=t.l10n.firstDayOfWeek,E=zc(t.l10n.weekdays.shorthand);B>0&&B<E.length&&(E=zc(E.splice(B,E.length),E.splice(0,B)));for(var O=t.config.showMonths;O--;)t.weekdayContainer.children[O].innerHTML=`
27
+ https://vue-select.org/api/props.html#getoptionkey`,n,e)}}},onTab:{type:Function,default:function(){this.selectOnTab&&!this.isComposing&&this.typeAheadSelect()}},taggable:{type:Boolean,default:!1},tabindex:{type:Number,default:null},pushTags:{type:Boolean,default:!1},filterable:{type:Boolean,default:!0},filterBy:{type:Function,default(n,e,t){return(e||"").toLocaleLowerCase().indexOf(t.toLocaleLowerCase())>-1}},filter:{type:Function,default(n,e){return n.filter(t=>{let i=this.getOptionLabel(t);return typeof i=="number"&&(i=i.toString()),this.filterBy(t,i,e)})}},createOption:{type:Function,default(n){return typeof this.optionList[0]=="object"?{[this.label]:n}:n}},resetOnOptionsChange:{default:!1,validator:n=>["function","boolean"].includes(typeof n)},clearSearchOnBlur:{type:Function,default:function({clearSearchOnSelect:n,multiple:e}){return n&&!e}},noDrop:{type:Boolean,default:!1},inputId:{type:String},dir:{type:String,default:"auto"},selectOnTab:{type:Boolean,default:!1},selectOnKeyCodes:{type:Array,default:()=>[13]},searchInputQuerySelector:{type:String,default:"[type=search]"},mapKeydown:{type:Function,default:(n,e)=>n},appendToBody:{type:Boolean,default:!1},calculatePosition:{type:Function,default(n,e,{width:t,top:i,left:r}){n.style.top=i,n.style.left=r,n.style.width=t}},dropdownShouldOpen:{type:Function,default({noDrop:n,open:e,mutableLoading:t}){return n?!1:e&&!t}},uid:{type:[String,Number],default:()=>Bb()}},data(){return{search:"",open:!1,isComposing:!1,pushedTags:[],_value:[],deselectButtons:[]}},computed:{isReducingValues(){return this.$props.reduce!==this.$options.props.reduce.default},isTrackingValues(){return typeof this.modelValue>"u"||this.isReducingValues},selectedValue(){let n=this.modelValue;return this.isTrackingValues&&(n=this.$data._value),n!=null&&n!==""?[].concat(n):[]},optionList(){return this.options.concat(this.pushTags?this.pushedTags:[])},searchEl(){return this.$slots.search?this.$refs.selectedOptions.querySelector(this.searchInputQuerySelector):this.$refs.search},scope(){const n={search:this.search,loading:this.loading,searching:this.searching,filteredOptions:this.filteredOptions};return{search:{attributes:ji({disabled:this.disabled,placeholder:this.searchPlaceholder,tabindex:this.tabindex,readonly:!this.searchable,id:this.inputId,"aria-autocomplete":"list","aria-labelledby":`vs${this.uid}__combobox`,"aria-controls":`vs${this.uid}__listbox`,ref:"search",type:"search",autocomplete:this.autocomplete,value:this.search},this.dropdownOpen&&this.filteredOptions[this.typeAheadPointer]?{"aria-activedescendant":`vs${this.uid}__option-${this.typeAheadPointer}`}:{}),events:{compositionstart:()=>this.isComposing=!0,compositionend:()=>this.isComposing=!1,keydown:this.onSearchKeyDown,blur:this.onSearchBlur,focus:this.onSearchFocus,input:e=>this.search=e.target.value}},spinner:{loading:this.mutableLoading},noOptions:{search:this.search,loading:this.mutableLoading,searching:this.searching},openIndicator:{attributes:{ref:"openIndicator",role:"presentation",class:"vs__open-indicator"}},listHeader:n,listFooter:n,header:bc(ji({},n),{deselect:this.deselect}),footer:bc(ji({},n),{deselect:this.deselect})}},childComponents(){return ji(ji({},vc),this.components)},stateClasses(){return{"vs--open":this.dropdownOpen,"vs--single":!this.multiple,"vs--multiple":this.multiple,"vs--searching":this.searching&&!this.noDrop,"vs--searchable":this.searchable&&!this.noDrop,"vs--unsearchable":!this.searchable,"vs--loading":this.mutableLoading,"vs--disabled":this.disabled}},searching(){return!!this.search},dropdownOpen(){return this.dropdownShouldOpen(this)},searchPlaceholder(){return this.isValueEmpty&&this.placeholder?this.placeholder:void 0},filteredOptions(){const n=[].concat(this.optionList);if(!this.filterable&&!this.taggable)return n;const e=this.search.length?this.filter(n,this.search,this):n;if(this.taggable&&this.search.length){const t=this.createOption(this.search);this.optionExists(t)||e.unshift(t)}return e},isValueEmpty(){return this.selectedValue.length===0},showClearButton(){return!this.multiple&&this.clearable&&!this.open&&!this.isValueEmpty}},watch:{options(n,e){const t=()=>typeof this.resetOnOptionsChange=="function"?this.resetOnOptionsChange(n,e,this.selectedValue):this.resetOnOptionsChange;!this.taggable&&t()&&this.clearSelection(),this.modelValue&&this.isTrackingValues&&this.setInternalValueFromOptions(this.modelValue)},modelValue:{immediate:!0,handler(n){this.isTrackingValues&&this.setInternalValueFromOptions(n)}},multiple(){this.clearSelection()},open(n){this.$emit(n?"open":"close")}},created(){this.mutableLoading=this.loading},methods:{setInternalValueFromOptions(n){Array.isArray(n)?this.$data._value=n.map(e=>this.findOptionFromReducedValue(e)):this.$data._value=this.findOptionFromReducedValue(n)},select(n){this.$emit("option:selecting",n),this.isOptionSelected(n)?this.deselectFromDropdown&&(this.clearable||this.multiple&&this.selectedValue.length>1)&&this.deselect(n):(this.taggable&&!this.optionExists(n)&&(this.$emit("option:created",n),this.pushTag(n)),this.multiple&&(n=this.selectedValue.concat(n)),this.updateValue(n),this.$emit("option:selected",n)),this.onAfterSelect(n)},deselect(n){this.$emit("option:deselecting",n),this.updateValue(this.selectedValue.filter(e=>!this.optionComparator(e,n))),this.$emit("option:deselected",n)},clearSelection(){this.updateValue(this.multiple?[]:null)},onAfterSelect(n){this.closeOnSelect&&(this.open=!this.open,this.searchEl.blur()),this.clearSearchOnSelect&&(this.search="")},updateValue(n){typeof this.modelValue>"u"&&(this.$data._value=n),n!==null&&(Array.isArray(n)?n=n.map(e=>this.reduce(e)):n=this.reduce(n)),this.$emit("update:modelValue",n)},toggleDropdown(n){const e=n.target!==this.searchEl;e&&n.preventDefault();const t=[...this.deselectButtons||[],this.$refs.clearButton];if(this.searchEl===void 0||t.filter(Boolean).some(i=>i.contains(n.target)||i===n.target)){n.preventDefault();return}this.open&&e?this.searchEl.blur():this.disabled||(this.open=!0,this.searchEl.focus())},isOptionSelected(n){return this.selectedValue.some(e=>this.optionComparator(e,n))},isOptionDeselectable(n){return this.isOptionSelected(n)&&this.deselectFromDropdown},optionComparator(n,e){return this.getOptionKey(n)===this.getOptionKey(e)},findOptionFromReducedValue(n){const e=i=>JSON.stringify(this.reduce(i))===JSON.stringify(n),t=[...this.options,...this.pushedTags].filter(e);return t.length===1?t[0]:t.find(i=>this.optionComparator(i,this.$data._value))||n},closeSearchOptions(){this.open=!1,this.$emit("search:blur")},maybeDeleteValue(){if(!this.searchEl.value.length&&this.selectedValue&&this.selectedValue.length&&this.clearable){let n=null;this.multiple&&(n=[...this.selectedValue.slice(0,this.selectedValue.length-1)]),this.updateValue(n)}},optionExists(n){return this.optionList.some(e=>this.optionComparator(e,n))},normalizeOptionForSlot(n){return typeof n=="object"?n:{[this.label]:n}},pushTag(n){this.pushedTags.push(n)},onEscape(){this.search.length?this.search="":this.searchEl.blur()},onSearchBlur(){if(this.mousedown&&!this.searching)this.mousedown=!1;else{const{clearSearchOnSelect:n,multiple:e}=this;this.clearSearchOnBlur({clearSearchOnSelect:n,multiple:e})&&(this.search=""),this.closeSearchOptions();return}if(this.search.length===0&&this.options.length===0){this.closeSearchOptions();return}},onSearchFocus(){this.open=!0,this.$emit("search:focus")},onMousedown(){this.mousedown=!0},onMouseUp(){this.mousedown=!1},onSearchKeyDown(n){const e=r=>(r.preventDefault(),!this.isComposing&&this.typeAheadSelect()),t={8:r=>this.maybeDeleteValue(),9:r=>this.onTab(),27:r=>this.onEscape(),38:r=>(r.preventDefault(),this.typeAheadUp()),40:r=>(r.preventDefault(),this.typeAheadDown())};this.selectOnKeyCodes.forEach(r=>t[r]=e);const i=this.mapKeydown(t,this);if(typeof i[n.keyCode]=="function")return i[n.keyCode](n)}}},_b=["dir"],Pb=["id","aria-expanded","aria-owns"],Nb={ref:"selectedOptions",class:"vs__selected-options"},Ib=["disabled","title","aria-label","onClick"],Hb={ref:"actions",class:"vs__actions"},Vb=["disabled"],zb={class:"vs__spinner"},jb=["id"],Wb=["id","aria-selected","onMouseover","onClick"],Ub={key:0,class:"vs__no-options"},Gb=a.createTextVNode(" Sorry, no matching options. "),Yb=["id"];function Qb(n,e,t,i,r,s){const o=a.resolveDirective("append-to-body");return a.openBlock(),a.createElementBlock("div",{dir:t.dir,class:a.normalizeClass(["v-select",s.stateClasses])},[a.renderSlot(n.$slots,"header",a.normalizeProps(a.guardReactiveProps(s.scope.header))),a.createElementVNode("div",{id:`vs${t.uid}__combobox`,ref:"toggle",class:"vs__dropdown-toggle",role:"combobox","aria-expanded":s.dropdownOpen.toString(),"aria-owns":`vs${t.uid}__listbox`,"aria-label":"Search for option",onMousedown:e[1]||(e[1]=l=>s.toggleDropdown(l))},[a.createElementVNode("div",Nb,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(s.selectedValue,(l,u)=>a.renderSlot(n.$slots,"selected-option-container",{option:s.normalizeOptionForSlot(l),deselect:s.deselect,multiple:t.multiple,disabled:t.disabled},()=>[(a.openBlock(),a.createElementBlock("span",{key:t.getOptionKey(l),class:"vs__selected"},[a.renderSlot(n.$slots,"selected-option",a.normalizeProps(a.guardReactiveProps(s.normalizeOptionForSlot(l))),()=>[a.createTextVNode(a.toDisplayString(t.getOptionLabel(l)),1)]),t.multiple?(a.openBlock(),a.createElementBlock("button",{key:0,ref_for:!0,ref:c=>r.deselectButtons[u]=c,disabled:t.disabled,type:"button",class:"vs__deselect",title:`Deselect ${t.getOptionLabel(l)}`,"aria-label":`Deselect ${t.getOptionLabel(l)}`,onClick:c=>s.deselect(l)},[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(s.childComponents.Deselect)))],8,Ib)):a.createCommentVNode("",!0)]))])),256)),a.renderSlot(n.$slots,"search",a.normalizeProps(a.guardReactiveProps(s.scope.search)),()=>[a.createElementVNode("input",a.mergeProps({class:"vs__search"},s.scope.search.attributes,a.toHandlers(s.scope.search.events)),null,16)])],512),a.createElementVNode("div",Hb,[a.withDirectives(a.createElementVNode("button",{ref:"clearButton",disabled:t.disabled,type:"button",class:"vs__clear",title:"Clear Selected","aria-label":"Clear Selected",onClick:e[0]||(e[0]=(...l)=>s.clearSelection&&s.clearSelection(...l))},[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(s.childComponents.Deselect)))],8,Vb),[[a.vShow,s.showClearButton]]),a.renderSlot(n.$slots,"open-indicator",a.normalizeProps(a.guardReactiveProps(s.scope.openIndicator)),()=>[t.noDrop?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(a.resolveDynamicComponent(s.childComponents.OpenIndicator),a.normalizeProps(a.mergeProps({key:0},s.scope.openIndicator.attributes)),null,16))]),a.renderSlot(n.$slots,"spinner",a.normalizeProps(a.guardReactiveProps(s.scope.spinner)),()=>[a.withDirectives(a.createElementVNode("div",zb,"Loading...",512),[[a.vShow,n.mutableLoading]])])],512)],40,Pb),a.createVNode(a.Transition,{name:t.transition},{default:a.withCtx(()=>[s.dropdownOpen?a.withDirectives((a.openBlock(),a.createElementBlock("ul",{id:`vs${t.uid}__listbox`,ref:"dropdownMenu",key:`vs${t.uid}__listbox`,class:"vs__dropdown-menu",role:"listbox",tabindex:"-1",onMousedown:e[2]||(e[2]=a.withModifiers((...l)=>s.onMousedown&&s.onMousedown(...l),["prevent"])),onMouseup:e[3]||(e[3]=(...l)=>s.onMouseUp&&s.onMouseUp(...l))},[a.renderSlot(n.$slots,"list-header",a.normalizeProps(a.guardReactiveProps(s.scope.listHeader))),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(s.filteredOptions,(l,u)=>(a.openBlock(),a.createElementBlock("li",{id:`vs${t.uid}__option-${u}`,key:t.getOptionKey(l),role:"option",class:a.normalizeClass(["vs__dropdown-option",{"vs__dropdown-option--deselect":s.isOptionDeselectable(l)&&u===n.typeAheadPointer,"vs__dropdown-option--selected":s.isOptionSelected(l),"vs__dropdown-option--highlight":u===n.typeAheadPointer,"vs__dropdown-option--disabled":!t.selectable(l)}]),"aria-selected":u===n.typeAheadPointer?!0:null,onMouseover:c=>t.selectable(l)?n.typeAheadPointer=u:null,onClick:a.withModifiers(c=>t.selectable(l)?s.select(l):null,["prevent","stop"])},[a.renderSlot(n.$slots,"option",a.normalizeProps(a.guardReactiveProps(s.normalizeOptionForSlot(l))),()=>[a.createTextVNode(a.toDisplayString(t.getOptionLabel(l)),1)])],42,Wb))),128)),s.filteredOptions.length===0?(a.openBlock(),a.createElementBlock("li",Ub,[a.renderSlot(n.$slots,"no-options",a.normalizeProps(a.guardReactiveProps(s.scope.noOptions)),()=>[Gb])])):a.createCommentVNode("",!0),a.renderSlot(n.$slots,"list-footer",a.normalizeProps(a.guardReactiveProps(s.scope.listFooter)))],40,jb)),[[o]]):(a.openBlock(),a.createElementBlock("ul",{key:1,id:`vs${t.uid}__listbox`,role:"listbox",style:{display:"none",visibility:"hidden"}},null,8,Yb))]),_:3},8,["name"]),a.renderSlot(n.$slots,"footer",a.normalizeProps(a.guardReactiveProps(s.scope.footer)))],10,_b)}const Kb=wo(Fb,[["render",Qb]]);var yt="top",Ot="bottom",Lt="right",wt="left",Co="auto",fn=[yt,Ot,Lt,wt],Wi="start",pn="end",Jb="clippingParents",yc="viewport",mn="popper",qb="reference",wc=fn.reduce(function(n,e){return n.concat([e+"-"+Wi,e+"-"+pn])},[]),Cc=[].concat(fn,[Co]).reduce(function(n,e){return n.concat([e,e+"-"+Wi,e+"-"+pn])},[]),$b="beforeRead",Zb="read",Xb="afterRead",ev="beforeMain",tv="main",iv="afterMain",nv="beforeWrite",rv="write",sv="afterWrite",av=[$b,Zb,Xb,ev,tv,iv,nv,rv,sv];function Qt(n){return n?(n.nodeName||"").toLowerCase():null}function kt(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var e=n.ownerDocument;return e&&e.defaultView||window}return n}function Si(n){var e=kt(n).Element;return n instanceof e||n instanceof Element}function Bt(n){var e=kt(n).HTMLElement;return n instanceof e||n instanceof HTMLElement}function Ao(n){if(typeof ShadowRoot>"u")return!1;var e=kt(n).ShadowRoot;return n instanceof e||n instanceof ShadowRoot}function ov(n){var e=n.state;Object.keys(e.elements).forEach(function(t){var i=e.styles[t]||{},r=e.attributes[t]||{},s=e.elements[t];!Bt(s)||!Qt(s)||(Object.assign(s.style,i),Object.keys(r).forEach(function(o){var l=r[o];l===!1?s.removeAttribute(o):s.setAttribute(o,l===!0?"":l)}))})}function lv(n){var e=n.state,t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,t.popper),e.styles=t,e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow),function(){Object.keys(e.elements).forEach(function(i){var r=e.elements[i],s=e.attributes[i]||{},o=Object.keys(e.styles.hasOwnProperty(i)?e.styles[i]:t[i]),l=o.reduce(function(u,c){return u[c]="",u},{});!Bt(r)||!Qt(r)||(Object.assign(r.style,l),Object.keys(s).forEach(function(u){r.removeAttribute(u)}))})}}const uv={name:"applyStyles",enabled:!0,phase:"write",fn:ov,effect:lv,requires:["computeStyles"]};function Kt(n){return n.split("-")[0]}var xi=Math.max,cr=Math.min,Ui=Math.round;function Eo(){var n=navigator.userAgentData;return n!=null&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Ac(){return!/^((?!chrome|android).)*safari/i.test(Eo())}function Gi(n,e,t){e===void 0&&(e=!1),t===void 0&&(t=!1);var i=n.getBoundingClientRect(),r=1,s=1;e&&Bt(n)&&(r=n.offsetWidth>0&&Ui(i.width)/n.offsetWidth||1,s=n.offsetHeight>0&&Ui(i.height)/n.offsetHeight||1);var o=Si(n)?kt(n):window,l=o.visualViewport,u=!Ac()&&t,c=(i.left+(u&&l?l.offsetLeft:0))/r,d=(i.top+(u&&l?l.offsetTop:0))/s,f=i.width/r,p=i.height/s;return{width:f,height:p,top:d,right:c+f,bottom:d+p,left:c,x:c,y:d}}function ko(n){var e=Gi(n),t=n.offsetWidth,i=n.offsetHeight;return Math.abs(e.width-t)<=1&&(t=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:n.offsetLeft,y:n.offsetTop,width:t,height:i}}function Ec(n,e){var t=e.getRootNode&&e.getRootNode();if(n.contains(e))return!0;if(t&&Ao(t)){var i=e;do{if(i&&n.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function li(n){return kt(n).getComputedStyle(n)}function cv(n){return["table","td","th"].indexOf(Qt(n))>=0}function mi(n){return((Si(n)?n.ownerDocument:n.document)||window.document).documentElement}function dr(n){return Qt(n)==="html"?n:n.assignedSlot||n.parentNode||(Ao(n)?n.host:null)||mi(n)}function kc(n){return!Bt(n)||li(n).position==="fixed"?null:n.offsetParent}function dv(n){var e=/firefox/i.test(Eo()),t=/Trident/i.test(Eo());if(t&&Bt(n)){var i=li(n);if(i.position==="fixed")return null}var r=dr(n);for(Ao(r)&&(r=r.host);Bt(r)&&["html","body"].indexOf(Qt(r))<0;){var s=li(r);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||e&&s.willChange==="filter"||e&&s.filter&&s.filter!=="none")return r;r=r.parentNode}return null}function gn(n){for(var e=kt(n),t=kc(n);t&&cv(t)&&li(t).position==="static";)t=kc(t);return t&&(Qt(t)==="html"||Qt(t)==="body"&&li(t).position==="static")?e:t||dv(n)||e}function So(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function bn(n,e,t){return xi(n,cr(e,t))}function hv(n,e,t){var i=bn(n,e,t);return i>t?t:i}function Sc(){return{top:0,right:0,bottom:0,left:0}}function xc(n){return Object.assign({},Sc(),n)}function Rc(n,e){return e.reduce(function(t,i){return t[i]=n,t},{})}var fv=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,xc(typeof e!="number"?e:Rc(e,fn))};function pv(n){var e,t=n.state,i=n.name,r=n.options,s=t.elements.arrow,o=t.modifiersData.popperOffsets,l=Kt(t.placement),u=So(l),c=[wt,Lt].indexOf(l)>=0,d=c?"height":"width";if(!(!s||!o)){var f=fv(r.padding,t),p=ko(s),h=u==="y"?yt:wt,x=u==="y"?Ot:Lt,y=t.rects.reference[d]+t.rects.reference[u]-o[u]-t.rects.popper[d],A=o[u]-t.rects.reference[u],C=gn(s),m=C?u==="y"?C.clientHeight||0:C.clientWidth||0:0,D=y/2-A/2,g=f[h],M=m-p[d]-f[x],v=m/2-p[d]/2+D,S=bn(g,v,M),w=u;t.modifiersData[i]=(e={},e[w]=S,e.centerOffset=S-v,e)}}function mv(n){var e=n.state,t=n.options,i=t.element,r=i===void 0?"[data-popper-arrow]":i;r!=null&&(typeof r=="string"&&(r=e.elements.popper.querySelector(r),!r)||Ec(e.elements.popper,r)&&(e.elements.arrow=r))}const gv={name:"arrow",enabled:!0,phase:"main",fn:pv,effect:mv,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Yi(n){return n.split("-")[1]}var bv={top:"auto",right:"auto",bottom:"auto",left:"auto"};function vv(n,e){var t=n.x,i=n.y,r=e.devicePixelRatio||1;return{x:Ui(t*r)/r||0,y:Ui(i*r)/r||0}}function Mc(n){var e,t=n.popper,i=n.popperRect,r=n.placement,s=n.variation,o=n.offsets,l=n.position,u=n.gpuAcceleration,c=n.adaptive,d=n.roundOffsets,f=n.isFixed,p=o.x,h=p===void 0?0:p,x=o.y,y=x===void 0?0:x,A=typeof d=="function"?d({x:h,y}):{x:h,y};h=A.x,y=A.y;var C=o.hasOwnProperty("x"),m=o.hasOwnProperty("y"),D=wt,g=yt,M=window;if(c){var v=gn(t),S="clientHeight",w="clientWidth";if(v===kt(t)&&(v=mi(t),li(v).position!=="static"&&l==="absolute"&&(S="scrollHeight",w="scrollWidth")),v=v,r===yt||(r===wt||r===Lt)&&s===pn){g=Ot;var k=f&&v===M&&M.visualViewport?M.visualViewport.height:v[S];y-=k-i.height,y*=u?1:-1}if(r===wt||(r===yt||r===Ot)&&s===pn){D=Lt;var b=f&&v===M&&M.visualViewport?M.visualViewport.width:v[w];h-=b-i.width,h*=u?1:-1}}var T=Object.assign({position:l},c&&bv),R=d===!0?vv({x:h,y},kt(t)):{x:h,y};if(h=R.x,y=R.y,u){var L;return Object.assign({},T,(L={},L[g]=m?"0":"",L[D]=C?"0":"",L.transform=(M.devicePixelRatio||1)<=1?"translate("+h+"px, "+y+"px)":"translate3d("+h+"px, "+y+"px, 0)",L))}return Object.assign({},T,(e={},e[g]=m?y+"px":"",e[D]=C?h+"px":"",e.transform="",e))}function yv(n){var e=n.state,t=n.options,i=t.gpuAcceleration,r=i===void 0?!0:i,s=t.adaptive,o=s===void 0?!0:s,l=t.roundOffsets,u=l===void 0?!0:l,c={placement:Kt(e.placement),variation:Yi(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Mc(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:u})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Mc(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const wv={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:yv,data:{}};var hr={passive:!0};function Cv(n){var e=n.state,t=n.instance,i=n.options,r=i.scroll,s=r===void 0?!0:r,o=i.resize,l=o===void 0?!0:o,u=kt(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&c.forEach(function(d){d.addEventListener("scroll",t.update,hr)}),l&&u.addEventListener("resize",t.update,hr),function(){s&&c.forEach(function(d){d.removeEventListener("scroll",t.update,hr)}),l&&u.removeEventListener("resize",t.update,hr)}}const Av={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Cv,data:{}};var Ev={left:"right",right:"left",bottom:"top",top:"bottom"};function fr(n){return n.replace(/left|right|bottom|top/g,function(e){return Ev[e]})}var kv={start:"end",end:"start"};function Tc(n){return n.replace(/start|end/g,function(e){return kv[e]})}function xo(n){var e=kt(n),t=e.pageXOffset,i=e.pageYOffset;return{scrollLeft:t,scrollTop:i}}function Ro(n){return Gi(mi(n)).left+xo(n).scrollLeft}function Sv(n,e){var t=kt(n),i=mi(n),r=t.visualViewport,s=i.clientWidth,o=i.clientHeight,l=0,u=0;if(r){s=r.width,o=r.height;var c=Ac();(c||!c&&e==="fixed")&&(l=r.offsetLeft,u=r.offsetTop)}return{width:s,height:o,x:l+Ro(n),y:u}}function xv(n){var e,t=mi(n),i=xo(n),r=(e=n.ownerDocument)==null?void 0:e.body,s=xi(t.scrollWidth,t.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=xi(t.scrollHeight,t.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),l=-i.scrollLeft+Ro(n),u=-i.scrollTop;return li(r||t).direction==="rtl"&&(l+=xi(t.clientWidth,r?r.clientWidth:0)-s),{width:s,height:o,x:l,y:u}}function Mo(n){var e=li(n),t=e.overflow,i=e.overflowX,r=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+r+i)}function Dc(n){return["html","body","#document"].indexOf(Qt(n))>=0?n.ownerDocument.body:Bt(n)&&Mo(n)?n:Dc(dr(n))}function vn(n,e){var t;e===void 0&&(e=[]);var i=Dc(n),r=i===((t=n.ownerDocument)==null?void 0:t.body),s=kt(i),o=r?[s].concat(s.visualViewport||[],Mo(i)?i:[]):i,l=e.concat(o);return r?l:l.concat(vn(dr(o)))}function To(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function Rv(n,e){var t=Gi(n,!1,e==="fixed");return t.top=t.top+n.clientTop,t.left=t.left+n.clientLeft,t.bottom=t.top+n.clientHeight,t.right=t.left+n.clientWidth,t.width=n.clientWidth,t.height=n.clientHeight,t.x=t.left,t.y=t.top,t}function Oc(n,e,t){return e===yc?To(Sv(n,t)):Si(e)?Rv(e,t):To(xv(mi(n)))}function Mv(n){var e=vn(dr(n)),t=["absolute","fixed"].indexOf(li(n).position)>=0,i=t&&Bt(n)?gn(n):n;return Si(i)?e.filter(function(r){return Si(r)&&Ec(r,i)&&Qt(r)!=="body"}):[]}function Tv(n,e,t,i){var r=e==="clippingParents"?Mv(n):[].concat(e),s=[].concat(r,[t]),o=s[0],l=s.reduce(function(u,c){var d=Oc(n,c,i);return u.top=xi(d.top,u.top),u.right=cr(d.right,u.right),u.bottom=cr(d.bottom,u.bottom),u.left=xi(d.left,u.left),u},Oc(n,o,i));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Lc(n){var e=n.reference,t=n.element,i=n.placement,r=i?Kt(i):null,s=i?Yi(i):null,o=e.x+e.width/2-t.width/2,l=e.y+e.height/2-t.height/2,u;switch(r){case yt:u={x:o,y:e.y-t.height};break;case Ot:u={x:o,y:e.y+e.height};break;case Lt:u={x:e.x+e.width,y:l};break;case wt:u={x:e.x-t.width,y:l};break;default:u={x:e.x,y:e.y}}var c=r?So(r):null;if(c!=null){var d=c==="y"?"height":"width";switch(s){case Wi:u[c]=u[c]-(e[d]/2-t[d]/2);break;case pn:u[c]=u[c]+(e[d]/2-t[d]/2);break}}return u}function yn(n,e){e===void 0&&(e={});var t=e,i=t.placement,r=i===void 0?n.placement:i,s=t.strategy,o=s===void 0?n.strategy:s,l=t.boundary,u=l===void 0?Jb:l,c=t.rootBoundary,d=c===void 0?yc:c,f=t.elementContext,p=f===void 0?mn:f,h=t.altBoundary,x=h===void 0?!1:h,y=t.padding,A=y===void 0?0:y,C=xc(typeof A!="number"?A:Rc(A,fn)),m=p===mn?qb:mn,D=n.rects.popper,g=n.elements[x?m:p],M=Tv(Si(g)?g:g.contextElement||mi(n.elements.popper),u,d,o),v=Gi(n.elements.reference),S=Lc({reference:v,element:D,placement:r}),w=To(Object.assign({},D,S)),k=p===mn?w:v,b={top:M.top-k.top+C.top,bottom:k.bottom-M.bottom+C.bottom,left:M.left-k.left+C.left,right:k.right-M.right+C.right},T=n.modifiersData.offset;if(p===mn&&T){var R=T[r];Object.keys(b).forEach(function(L){var N=[Lt,Ot].indexOf(L)>=0?1:-1,j=[yt,Ot].indexOf(L)>=0?"y":"x";b[L]+=R[j]*N})}return b}function Dv(n,e){e===void 0&&(e={});var t=e,i=t.placement,r=t.boundary,s=t.rootBoundary,o=t.padding,l=t.flipVariations,u=t.allowedAutoPlacements,c=u===void 0?Cc:u,d=Yi(i),f=d?l?wc:wc.filter(function(x){return Yi(x)===d}):fn,p=f.filter(function(x){return c.indexOf(x)>=0});p.length===0&&(p=f);var h=p.reduce(function(x,y){return x[y]=yn(n,{placement:y,boundary:r,rootBoundary:s,padding:o})[Kt(y)],x},{});return Object.keys(h).sort(function(x,y){return h[x]-h[y]})}function Ov(n){if(Kt(n)===Co)return[];var e=fr(n);return[Tc(n),e,Tc(e)]}function Lv(n){var e=n.state,t=n.options,i=n.name;if(!e.modifiersData[i]._skip){for(var r=t.mainAxis,s=r===void 0?!0:r,o=t.altAxis,l=o===void 0?!0:o,u=t.fallbackPlacements,c=t.padding,d=t.boundary,f=t.rootBoundary,p=t.altBoundary,h=t.flipVariations,x=h===void 0?!0:h,y=t.allowedAutoPlacements,A=e.options.placement,C=Kt(A),m=C===A,D=u||(m||!x?[fr(A)]:Ov(A)),g=[A].concat(D).reduce(function(q,X){return q.concat(Kt(X)===Co?Dv(e,{placement:X,boundary:d,rootBoundary:f,padding:c,flipVariations:x,allowedAutoPlacements:y}):X)},[]),M=e.rects.reference,v=e.rects.popper,S=new Map,w=!0,k=g[0],b=0;b<g.length;b++){var T=g[b],R=Kt(T),L=Yi(T)===Wi,N=[yt,Ot].indexOf(R)>=0,j=N?"width":"height",G=yn(e,{placement:T,boundary:d,rootBoundary:f,altBoundary:p,padding:c}),I=N?L?Lt:wt:L?Ot:yt;M[j]>v[j]&&(I=fr(I));var H=fr(I),J=[];if(s&&J.push(G[R]<=0),l&&J.push(G[I]<=0,G[H]<=0),J.every(function(q){return q})){k=T,w=!1;break}S.set(T,J)}if(w)for(var F=x?3:1,P=function(X){var K=g.find(function(se){var U=S.get(se);if(U)return U.slice(0,X).every(function(Z){return Z})});if(K)return k=K,"break"},Q=F;Q>0;Q--){var z=P(Q);if(z==="break")break}e.placement!==k&&(e.modifiersData[i]._skip=!0,e.placement=k,e.reset=!0)}}const Bv={name:"flip",enabled:!0,phase:"main",fn:Lv,requiresIfExists:["offset"],data:{_skip:!1}};function Bc(n,e,t){return t===void 0&&(t={x:0,y:0}),{top:n.top-e.height-t.y,right:n.right-e.width+t.x,bottom:n.bottom-e.height+t.y,left:n.left-e.width-t.x}}function Fc(n){return[yt,Lt,Ot,wt].some(function(e){return n[e]>=0})}function Fv(n){var e=n.state,t=n.name,i=e.rects.reference,r=e.rects.popper,s=e.modifiersData.preventOverflow,o=yn(e,{elementContext:"reference"}),l=yn(e,{altBoundary:!0}),u=Bc(o,i),c=Bc(l,r,s),d=Fc(u),f=Fc(c);e.modifiersData[t]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":f})}const _v={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Fv};function Pv(n,e,t){var i=Kt(n),r=[wt,yt].indexOf(i)>=0?-1:1,s=typeof t=="function"?t(Object.assign({},e,{placement:n})):t,o=s[0],l=s[1];return o=o||0,l=(l||0)*r,[wt,Lt].indexOf(i)>=0?{x:l,y:o}:{x:o,y:l}}function Nv(n){var e=n.state,t=n.options,i=n.name,r=t.offset,s=r===void 0?[0,0]:r,o=Cc.reduce(function(d,f){return d[f]=Pv(f,e.rects,s),d},{}),l=o[e.placement],u=l.x,c=l.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=c),e.modifiersData[i]=o}const Iv={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Nv};function Hv(n){var e=n.state,t=n.name;e.modifiersData[t]=Lc({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})}const Vv={name:"popperOffsets",enabled:!0,phase:"read",fn:Hv,data:{}};function zv(n){return n==="x"?"y":"x"}function jv(n){var e=n.state,t=n.options,i=n.name,r=t.mainAxis,s=r===void 0?!0:r,o=t.altAxis,l=o===void 0?!1:o,u=t.boundary,c=t.rootBoundary,d=t.altBoundary,f=t.padding,p=t.tether,h=p===void 0?!0:p,x=t.tetherOffset,y=x===void 0?0:x,A=yn(e,{boundary:u,rootBoundary:c,padding:f,altBoundary:d}),C=Kt(e.placement),m=Yi(e.placement),D=!m,g=So(C),M=zv(g),v=e.modifiersData.popperOffsets,S=e.rects.reference,w=e.rects.popper,k=typeof y=="function"?y(Object.assign({},e.rects,{placement:e.placement})):y,b=typeof k=="number"?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),T=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,R={x:0,y:0};if(v){if(s){var L,N=g==="y"?yt:wt,j=g==="y"?Ot:Lt,G=g==="y"?"height":"width",I=v[g],H=I+A[N],J=I-A[j],F=h?-w[G]/2:0,P=m===Wi?S[G]:w[G],Q=m===Wi?-w[G]:-S[G],z=e.elements.arrow,q=h&&z?ko(z):{width:0,height:0},X=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Sc(),K=X[N],se=X[j],U=bn(0,S[G],q[G]),Z=D?S[G]/2-F-U-K-b.mainAxis:P-U-K-b.mainAxis,de=D?-S[G]/2+F+U+se+b.mainAxis:Q+U+se+b.mainAxis,V=e.elements.arrow&&gn(e.elements.arrow),W=V?g==="y"?V.clientTop||0:V.clientLeft||0:0,le=(L=T?.[g])!=null?L:0,oe=I+Z-le-W,ye=I+de-le,we=bn(h?cr(H,oe):H,I,h?xi(J,ye):J);v[g]=we,R[g]=we-I}if(l){var xe,Fe=g==="x"?yt:wt,_e=g==="x"?Ot:Lt,Ne=v[M],ce=M==="y"?"height":"width",$=Ne+A[Fe],ie=Ne-A[_e],me=[yt,wt].indexOf(C)!==-1,he=(xe=T?.[M])!=null?xe:0,ke=me?$:Ne-S[ce]-w[ce]-he+b.altAxis,Me=me?Ne+S[ce]+w[ce]-he-b.altAxis:ie,ae=h&&me?hv(ke,Ne,Me):bn(h?ke:$,Ne,h?Me:ie);v[M]=ae,R[M]=ae-Ne}e.modifiersData[i]=R}}const Wv={name:"preventOverflow",enabled:!0,phase:"main",fn:jv,requiresIfExists:["offset"]};function Uv(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function Gv(n){return n===kt(n)||!Bt(n)?xo(n):Uv(n)}function Yv(n){var e=n.getBoundingClientRect(),t=Ui(e.width)/n.offsetWidth||1,i=Ui(e.height)/n.offsetHeight||1;return t!==1||i!==1}function Qv(n,e,t){t===void 0&&(t=!1);var i=Bt(e),r=Bt(e)&&Yv(e),s=mi(e),o=Gi(n,r,t),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!t)&&((Qt(e)!=="body"||Mo(s))&&(l=Gv(e)),Bt(e)?(u=Gi(e,!0),u.x+=e.clientLeft,u.y+=e.clientTop):s&&(u.x=Ro(s))),{x:o.left+l.scrollLeft-u.x,y:o.top+l.scrollTop-u.y,width:o.width,height:o.height}}function Kv(n){var e=new Map,t=new Set,i=[];n.forEach(function(s){e.set(s.name,s)});function r(s){t.add(s.name);var o=[].concat(s.requires||[],s.requiresIfExists||[]);o.forEach(function(l){if(!t.has(l)){var u=e.get(l);u&&r(u)}}),i.push(s)}return n.forEach(function(s){t.has(s.name)||r(s)}),i}function Jv(n){var e=Kv(n);return av.reduce(function(t,i){return t.concat(e.filter(function(r){return r.phase===i}))},[])}function qv(n){var e;return function(){return e||(e=new Promise(function(t){Promise.resolve().then(function(){e=void 0,t(n())})})),e}}function $v(n){var e=n.reduce(function(t,i){var r=t[i.name];return t[i.name]=r?Object.assign({},r,i,{options:Object.assign({},r.options,i.options),data:Object.assign({},r.data,i.data)}):i,t},{});return Object.keys(e).map(function(t){return e[t]})}var _c={placement:"bottom",modifiers:[],strategy:"absolute"};function Pc(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];return!e.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function Zv(n){n===void 0&&(n={});var e=n,t=e.defaultModifiers,i=t===void 0?[]:t,r=e.defaultOptions,s=r===void 0?_c:r;return function(l,u,c){c===void 0&&(c=s);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},_c,s),modifiersData:{},elements:{reference:l,popper:u},attributes:{},styles:{}},f=[],p=!1,h={state:d,setOptions:function(C){var m=typeof C=="function"?C(d.options):C;y(),d.options=Object.assign({},s,d.options,m),d.scrollParents={reference:Si(l)?vn(l):l.contextElement?vn(l.contextElement):[],popper:vn(u)};var D=Jv($v([].concat(i,d.options.modifiers)));return d.orderedModifiers=D.filter(function(g){return g.enabled}),x(),h.update()},forceUpdate:function(){if(!p){var C=d.elements,m=C.reference,D=C.popper;if(Pc(m,D)){d.rects={reference:Qv(m,gn(D),d.options.strategy==="fixed"),popper:ko(D)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(b){return d.modifiersData[b.name]=Object.assign({},b.data)});for(var g=0;g<d.orderedModifiers.length;g++){if(d.reset===!0){d.reset=!1,g=-1;continue}var M=d.orderedModifiers[g],v=M.fn,S=M.options,w=S===void 0?{}:S,k=M.name;typeof v=="function"&&(d=v({state:d,options:w,name:k,instance:h})||d)}}}},update:qv(function(){return new Promise(function(A){h.forceUpdate(),A(d)})}),destroy:function(){y(),p=!0}};if(!Pc(l,u))return h;h.setOptions(c).then(function(A){!p&&c.onFirstUpdate&&c.onFirstUpdate(A)});function x(){d.orderedModifiers.forEach(function(A){var C=A.name,m=A.options,D=m===void 0?{}:m,g=A.effect;if(typeof g=="function"){var M=g({state:d,name:C,instance:h,options:D}),v=function(){};f.push(M||v)}})}function y(){f.forEach(function(A){return A()}),f=[]}return h}}var Xv=[Av,Vv,wv,uv,Iv,Bv,Wv,gv,_v],ey=Zv({defaultModifiers:Xv});function ty(n,e,{width:t}){n.style.width=t;const i=ey(e.$refs.toggle,n,{placement:e.$attrs.placement,modifiers:[{name:"offset",options:{offset:[0,-1]}},{name:"toggleClass",enabled:!0,phase:"write",fn({state:r}){e.$el.classList.toggle("drop-up",r.placement==="top")}}]});return()=>i.destroy()}const iy={class:"text-muted"},ny={key:0,class:"py-1"},ry={class:"text-wrap"},sy=["innerHTML"],ay={key:1,class:"text-muted p-0"},oy={class:"text-wrap"},ly={key:2,class:"text-muted p-0 small d-flex justify-content-center"},uy={class:"text-wrap px-2"},cy={class:"selected"},dy=["innerHTML"],hy={key:0,style:{"border-left-color":"rgba(88, 151, 251, 0.71)"},class:"vs__spinner"},Vt={__name:"VSelect",props:{modelValue:[String,Object,Number],reduce:{type:Function,default:n=>n.id},hint:{type:String,default:""},classes:{type:Array,default:()=>[]},options:{type:Array,default:()=>[]},title:{type:String},disabled:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},multiple:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},allowClear:{type:Boolean,default:!0},searchTimout:{type:Number,default:1e3},dropDownPlacement:{type:String,default:"bottom",validator(n,e){return["bottom","top"].includes(n)}},error:{type:[Array,String],default:null}},emits:["update:modelValue","search","blur","focus"],setup(n,{emit:e}){const t=e,i=n,r=i.multiple?[]:null;a.getCurrentInstance();const s=a.ref(r),o=hn(u,i.searchTimout),l=a.computed(()=>{const f=oi(i.options);return f?f.map(p=>{const h=i.modelValue;return h?{...p,disabled:p.id===h}:p}):[]});function u(f){t("search",f)}const c=f=>!(!f.id||f.disabled),d=a.computed(()=>Array.isArray(i.error)?i.error?.filter(Boolean):typeof i.error=="string"&&i.error?[i.error]:[]);return a.watch(()=>i.modelValue,f=>{s.value=i.modelValue},{deep:!0}),a.watch(()=>s.value,f=>{t("update:modelValue",f)},{deep:!0}),a.onMounted(()=>{s.value=i.modelValue}),(f,p)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[n.title?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(f.titleClass)},a.toDisplayString(n.title),3)):a.createCommentVNode("",!0),a.createVNode(a.unref(Kb),a.mergeProps({class:"style-chooser"},f.$attrs,{modelValue:s.value,"onUpdate:modelValue":p[0]||(p[0]=h=>s.value=h),reduce:n.reduce,options:l.value,multiple:n.multiple,placeholder:n.placeholder,disabled:n.disabled,loading:n.isLoading,clearable:n.allowClear,placement:n.dropDownPlacement,appendToBody:n.dropDownPlacement==="top","calculate-position":a.unref(ty),selectable:h=>c(h),"onSearch:blur":p[1]||(p[1]=h=>t("blur")),"onSearch:focus":p[2]||(p[2]=h=>t("focus")),onSearch:a.unref(o),class:[...n.classes,n.error?"not-valid":""]}),{"no-options":a.withCtx(({search:h,searching:x,loading:y})=>[a.createElementVNode("span",iy,a.toDisplayString(n.hint),1)]),option:a.withCtx(({label:h,html:x,id:y,disabled:A})=>[y?(a.openBlock(),a.createElementBlock("div",ny,[a.createElementVNode("div",ry,a.toDisplayString(h),1),x?(a.openBlock(),a.createElementBlock("div",{key:0,innerHTML:x},null,8,sy)):a.createCommentVNode("",!0)])):A?(a.openBlock(),a.createElementBlock("div",ay,[a.createElementVNode("div",oy,a.toDisplayString(h)+"disabled",1)])):(a.openBlock(),a.createElementBlock("div",ly,[p[3]||(p[3]=a.createElementVNode("span",null,"-",-1)),a.createElementVNode("span",uy,a.toDisplayString(h),1),p[4]||(p[4]=a.createElementVNode("span",null,"-",-1))]))]),"selected-option":a.withCtx(({label:h,html:x})=>[a.createElementVNode("div",cy,[a.createElementVNode("div",null,a.toDisplayString(h),1),x?(a.openBlock(),a.createElementBlock("div",{key:0,innerHTML:x},null,8,dy)):a.createCommentVNode("",!0)])]),spinner:a.withCtx(({loading:h})=>[h?(a.openBlock(),a.createElementBlock("div",hy)):a.createCommentVNode("",!0)]),_:1},16,["modelValue","reduce","options","multiple","placeholder","disabled","loading","clearable","placement","appendToBody","calculate-position","selectable","onSearch","class"]),a.createVNode(ki,{errors:d.value},null,8,["errors"])],64))}},fy={class:"form-check"},py=["type","id","name"],my=["for"],Nc=Ie(a.defineComponent({__name:"BooleanCheckbox",props:{defaultValue:{default:null},trueValue:{default:"1"},modelValue:{default:void 0},name:{default:""},group:{default:""},type:{default:"checkbox"},label:{default:""},error:{default:""},setFilterParamsStringsHandler:{type:Function,default:void 0}},emits:["update:modelValue"],setup(n,{emit:e}){const t=n,i=e,r=a.ref(),s=pi(),o=a.computed(()=>t.group.length?t.group:t.name),l=()=>{i("update:modelValue",r.value?.checked?t.trueValue:t.defaultValue)},u=a.computed(()=>!t.modelValue||t.modelValue!==t.trueValue?(r.value&&(r.value.checked=!1),c(),null):(r.value&&(r.value.checked=!0),c(),!0)),c=()=>{if(!t.setFilterParamsStringsHandler)return!1;const f=r.value?.checked?"Да":null;t.setFilterParamsStringsHandler(t.name,f)},d=a.computed(()=>Array.isArray(t.error)?t.error?.filter(Boolean)||[]:typeof t.error=="string"&&t.error?[t.error]:[]);return a.watch(()=>t.modelValue,f=>{r.value&&(r.value.checked=!!f)}),(f,p)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[a.createElementVNode("div",fy,[(a.openBlock(),a.createElementBlock("input",{class:a.normalizeClass(["form-check-input mb-1",[f.error?"not-valid":""]]),ref_key:"input",ref:r,type:f.type,id:String(a.unref(s)),name:o.value,key:String(u.value),onClick:l},null,10,py)),a.createElementVNode("label",{class:a.normalizeClass(["form-check-label",[f.error?"text-danger":""]]),for:String(a.unref(s))},a.toDisplayString(f.label),11,my)]),a.createVNode(ki,{errors:d.value},null,8,["errors"])],64))}}),[["__scopeId","data-v-c1b5c25e"]]),gy={class:"multi-checkbox"},by=["checked","onClick","id","value","name"],vy=["for"],yy=Ie(a.defineComponent({__name:"MultiCheckbox",props:{modelValue:{default:()=>[]},inputClass:{default:""},options:{default:()=>[]},error:{default:""},setFilterParamsStringsHandler:{type:Function,default:void 0},name:{default:""}},emits:["update:modelValue"],setup(n,{emit:e}){const t=n,i=e,r=a.toRef(t,"modelValue"),s=a.toRef(t,"options"),o=a.toRef(t,"name");function l(f,p){const h=String(p);let x=[...r.value];r.value.includes(h)?x=r.value.filter(y=>String(y)!==h):x.push(h),i("update:modelValue",x)}const u=a.computed(()=>f=>r.value.includes(String(f)));function c(f){if(!t.setFilterParamsStringsHandler)return;let p=f.map(x=>String(x));const h=s.value.filter(x=>p.includes(String(x.id))).map(x=>x.text);if(p.length===0){t.setFilterParamsStringsHandler(o.value,null);return}t.setFilterParamsStringsHandler(o.value,h.join(", "))}const d=a.computed(()=>Array.isArray(t.error)?t.error?.filter(Boolean)||[]:typeof t.error=="string"&&t.error?[t.error]:[]);return a.watch(()=>r.value,f=>{c(f)},{deep:!0}),(f,p)=>(a.openBlock(),a.createElementBlock("div",gy,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(s.value,h=>(a.openBlock(),a.createElementBlock("div",{class:"form-check",key:h.id},[a.createElementVNode("input",{class:a.normalizeClass(["form-check-input",[f.inputClass,{"not-valid":f.error}]]),type:"checkbox",checked:u.value(h.id),onClick:x=>l(x,h.id),id:`${o.value}-${h.id}`,value:h.id,name:`${o.value}-${h.id}`},null,10,by),a.createElementVNode("label",{class:"form-check-label d-block",for:`${o.value}-${h.id}`},a.toDisplayString(h.text),9,vy)]))),128)),a.createVNode(ki,{errors:d.value},null,8,["errors"])]))}}),[["__scopeId","data-v-e23ac74b"]]),wy={class:"multi-input"},Cy={class:"col"},Ay={class:"col-auto"},Ey=["onClick"],ky=Ie(a.defineComponent({__name:"MultiInput",props:{modelValue:{default:()=>[]},title:{default:""},setFilterParamsStringsHandler:{type:Function,default:void 0},name:{default:""},placeholder:{default:""},disabled:{type:Boolean,default:!1},inputClass:{default:""},error:{default:""},maskOptions:{default:""}},emits:["update:modelValue"],setup(n,{emit:e}){const t=n,i=e,r=a.toRef(t,"modelValue");a.toRef(t,"title");const s=a.toRef(t,"placeholder");a.toRef(t,"disabled");const o=a.toRef(t,"error"),l=a.toRef(t,"maskOptions"),u=a.ref([]),c=a.ref(!1),d={value:"",disabled:!1,uniqueKey:1};function f(){const C=oi(d);C.uniqueKey=pi(),u.value.push(C)}function p(C,m){C.value=m}const h=a.computed(()=>u.value.length>1);function x(C){u.value=u.value.filter(m=>m.uniqueKey!==C.uniqueKey)}function y(){u.value=[],f()}function A(C){const m=C.map(g=>g.value);if(i("update:modelValue",m),!t.setFilterParamsStringsHandler)return;const D=m.filter(g=>g&&g.length>0);if(D.length===0){t.setFilterParamsStringsHandler(t.name,null);return}t.setFilterParamsStringsHandler(t.name,D.join(", "))}return a.watch(()=>u.value,C=>{c.value||A(C)},{deep:!0}),a.watch(()=>r.value,C=>{c.value=!0,!C||C.length===0?y():u.value.length!==C.length?u.value=C.map((m,D)=>({value:m,disabled:!1,uniqueKey:pi()+D})):C.forEach((m,D)=>{u.value[D]&&(u.value[D].value=m)}),a.nextTick(()=>{c.value=!1})},{deep:!0}),a.onMounted(()=>{r.value&&r.value.length>0?u.value=r.value.map((C,m)=>({value:C,disabled:!1,uniqueKey:pi()+m})):f()}),(C,m)=>(a.openBlock(),a.createElementBlock("div",wy,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(u.value,(D,g)=>(a.openBlock(),a.createElementBlock("div",{class:"row mb-2",key:D.uniqueKey},[a.createElementVNode("div",Cy,[a.createVNode(ur,{"model-value":D.value,"onUpdate:modelValue":M=>p(D,M),name:C.name,placeholder:s.value,class:a.normalizeClass(C.inputClass),disabled:D.disabled,"mask-options":l.value,error:o.value},null,8,["model-value","onUpdate:modelValue","name","placeholder","class","disabled","mask-options","error"])]),a.createElementVNode("div",Ay,[h.value?(a.openBlock(),a.createElementBlock("div",{key:0,class:"d-flex remove-button p-2",style:{cursor:"pointer"},onClick:M=>x(D)},[...m[0]||(m[0]=[a.createElementVNode("i",{class:"bi bi-trash-fill"},null,-1)])],8,Ey)):a.createCommentVNode("",!0)])]))),128)),a.createVNode(il,{onClick:f})]))}}),[["__scopeId","data-v-9337052b"]]);var Do=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],Qi={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:typeof window=="object"&&window.navigator.userAgent.indexOf("MSIE")===-1,ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:function(n){return typeof console<"u"&&console.warn(n)},getWeek:function(n){var e=new Date(n.getTime());e.setHours(0,0,0,0),e.setDate(e.getDate()+3-(e.getDay()+6)%7);var t=new Date(e.getFullYear(),0,4);return 1+Math.round(((e.getTime()-t.getTime())/864e5-3+(t.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},wn={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(n){var e=n%100;if(e>3&&e<21)return"th";switch(e%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},Ct=function(n,e){return e===void 0&&(e=2),("000"+n).slice(e*-1)},Ft=function(n){return n===!0?1:0};function Ic(n,e){var t;return function(){var i=this,r=arguments;clearTimeout(t),t=setTimeout(function(){return n.apply(i,r)},e)}}var Oo=function(n){return n instanceof Array?n:[n]};function gt(n,e,t){if(t===!0)return n.classList.add(e);n.classList.remove(e)}function Je(n,e,t){var i=window.document.createElement(n);return e=e||"",t=t||"",i.className=e,t!==void 0&&(i.textContent=t),i}function pr(n){for(;n.firstChild;)n.removeChild(n.firstChild)}function Hc(n,e){if(e(n))return n;if(n.parentNode)return Hc(n.parentNode,e)}function mr(n,e){var t=Je("div","numInputWrapper"),i=Je("input","numInput "+n),r=Je("span","arrowUp"),s=Je("span","arrowDown");if(navigator.userAgent.indexOf("MSIE 9.0")===-1?i.type="number":(i.type="text",i.pattern="\\d*"),e!==void 0)for(var o in e)i.setAttribute(o,e[o]);return t.appendChild(i),t.appendChild(r),t.appendChild(s),t}function St(n){try{if(typeof n.composedPath=="function"){var e=n.composedPath();return e[0]}return n.target}catch{return n.target}}var Lo=function(){},gr=function(n,e,t){return t.months[e?"shorthand":"longhand"][n]},Sy={D:Lo,F:function(n,e,t){n.setMonth(t.months.longhand.indexOf(e))},G:function(n,e){n.setHours((n.getHours()>=12?12:0)+parseFloat(e))},H:function(n,e){n.setHours(parseFloat(e))},J:function(n,e){n.setDate(parseFloat(e))},K:function(n,e,t){n.setHours(n.getHours()%12+12*Ft(new RegExp(t.amPM[1],"i").test(e)))},M:function(n,e,t){n.setMonth(t.months.shorthand.indexOf(e))},S:function(n,e){n.setSeconds(parseFloat(e))},U:function(n,e){return new Date(parseFloat(e)*1e3)},W:function(n,e,t){var i=parseInt(e),r=new Date(n.getFullYear(),0,2+(i-1)*7,0,0,0,0);return r.setDate(r.getDate()-r.getDay()+t.firstDayOfWeek),r},Y:function(n,e){n.setFullYear(parseFloat(e))},Z:function(n,e){return new Date(e)},d:function(n,e){n.setDate(parseFloat(e))},h:function(n,e){n.setHours((n.getHours()>=12?12:0)+parseFloat(e))},i:function(n,e){n.setMinutes(parseFloat(e))},j:function(n,e){n.setDate(parseFloat(e))},l:Lo,m:function(n,e){n.setMonth(parseFloat(e)-1)},n:function(n,e){n.setMonth(parseFloat(e)-1)},s:function(n,e){n.setSeconds(parseFloat(e))},u:function(n,e){return new Date(parseFloat(e))},w:Lo,y:function(n,e){n.setFullYear(2e3+parseFloat(e))}},Ri={D:"",F:"",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},Cn={Z:function(n){return n.toISOString()},D:function(n,e,t){return e.weekdays.shorthand[Cn.w(n,e,t)]},F:function(n,e,t){return gr(Cn.n(n,e,t)-1,!1,e)},G:function(n,e,t){return Ct(Cn.h(n,e,t))},H:function(n){return Ct(n.getHours())},J:function(n,e){return e.ordinal!==void 0?n.getDate()+e.ordinal(n.getDate()):n.getDate()},K:function(n,e){return e.amPM[Ft(n.getHours()>11)]},M:function(n,e){return gr(n.getMonth(),!0,e)},S:function(n){return Ct(n.getSeconds())},U:function(n){return n.getTime()/1e3},W:function(n,e,t){return t.getWeek(n)},Y:function(n){return Ct(n.getFullYear(),4)},d:function(n){return Ct(n.getDate())},h:function(n){return n.getHours()%12?n.getHours()%12:12},i:function(n){return Ct(n.getMinutes())},j:function(n){return n.getDate()},l:function(n,e){return e.weekdays.longhand[n.getDay()]},m:function(n){return Ct(n.getMonth()+1)},n:function(n){return n.getMonth()+1},s:function(n){return n.getSeconds()},u:function(n){return n.getTime()},w:function(n){return n.getDay()},y:function(n){return String(n.getFullYear()).substring(2)}},Vc=function(n){var e=n.config,t=e===void 0?Qi:e,i=n.l10n,r=i===void 0?wn:i,s=n.isMobile,o=s===void 0?!1:s;return function(l,u,c){var d=c||r;return t.formatDate!==void 0&&!o?t.formatDate(l,u,d):u.split("").map(function(f,p,h){return Cn[f]&&h[p-1]!=="\\"?Cn[f](l,d,t):f!=="\\"?f:""}).join("")}},Bo=function(n){var e=n.config,t=e===void 0?Qi:e,i=n.l10n,r=i===void 0?wn:i;return function(s,o,l,u){if(!(s!==0&&!s)){var c=u||r,d,f=s;if(s instanceof Date)d=new Date(s.getTime());else if(typeof s!="string"&&s.toFixed!==void 0)d=new Date(s);else if(typeof s=="string"){var p=o||(t||Qi).dateFormat,h=String(s).trim();if(h==="today")d=new Date,l=!0;else if(t&&t.parseDate)d=t.parseDate(s,p);else if(/Z$/.test(h)||/GMT$/.test(h))d=new Date(s);else{for(var x=void 0,y=[],A=0,C=0,m="";A<p.length;A++){var D=p[A],g=D==="\\",M=p[A-1]==="\\"||g;if(Ri[D]&&!M){m+=Ri[D];var v=new RegExp(m).exec(s);v&&(x=!0)&&y[D!=="Y"?"push":"unshift"]({fn:Sy[D],val:v[++C]})}else g||(m+=".")}d=!t||!t.noCalendar?new Date(new Date().getFullYear(),0,1,0,0,0,0):new Date(new Date().setHours(0,0,0,0)),y.forEach(function(S){var w=S.fn,k=S.val;return d=w(d,k,c)||d}),d=x?d:void 0}}if(!(d instanceof Date&&!isNaN(d.getTime()))){t.errorHandler(new Error("Invalid date provided: "+f));return}return l===!0&&d.setHours(0,0,0,0),d}}};function xt(n,e,t){return t===void 0&&(t=!0),t!==!1?new Date(n.getTime()).setHours(0,0,0,0)-new Date(e.getTime()).setHours(0,0,0,0):n.getTime()-e.getTime()}var xy=function(n,e,t){return n>Math.min(e,t)&&n<Math.max(e,t)},Fo=function(n,e,t){return n*3600+e*60+t},Ry=function(n){var e=Math.floor(n/3600),t=(n-e*3600)/60;return[e,t,n-e*3600-t*60]},My={DAY:864e5};function _o(n){var e=n.defaultHour,t=n.defaultMinute,i=n.defaultSeconds;if(n.minDate!==void 0){var r=n.minDate.getHours(),s=n.minDate.getMinutes(),o=n.minDate.getSeconds();e<r&&(e=r),e===r&&t<s&&(t=s),e===r&&t===s&&i<o&&(i=n.minDate.getSeconds())}if(n.maxDate!==void 0){var l=n.maxDate.getHours(),u=n.maxDate.getMinutes();e=Math.min(e,l),e===l&&(t=Math.min(u,t)),e===l&&t===u&&(i=n.maxDate.getSeconds())}return{hours:e,minutes:t,seconds:i}}typeof Object.assign!="function"&&(Object.assign=function(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];if(!n)throw TypeError("Cannot convert undefined or null to object");for(var i=function(l){l&&Object.keys(l).forEach(function(u){return n[u]=l[u]})},r=0,s=e;r<s.length;r++){var o=s[r];i(o)}return n});var ft=function(){return ft=Object.assign||function(n){for(var e,t=1,i=arguments.length;t<i;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},ft.apply(this,arguments)},zc=function(){for(var n=0,e=0,t=arguments.length;e<t;e++)n+=arguments[e].length;for(var i=Array(n),r=0,e=0;e<t;e++)for(var s=arguments[e],o=0,l=s.length;o<l;o++,r++)i[r]=s[o];return i},Ty=300;function Dy(n,e){var t={config:ft(ft({},Qi),ot.defaultConfig),l10n:wn};t.parseDate=Bo({config:t.config,l10n:t.l10n}),t._handlers=[],t.pluginElements=[],t.loadedPlugins=[],t._bind=y,t._setHoursFromDate=p,t._positionCalendar=_e,t.changeMonth=P,t.changeYear=se,t.clear=Q,t.close=z,t.onMouseOver=W,t._createElement=Je,t.createDay=v,t.destroy=q,t.isEnabled=U,t.jumpToDate=m,t.updateValue=Re,t.open=oe,t.redraw=$,t.set=ke,t.setDate=ae,t.toggle=At;function i(){t.utils={getDaysInMonth:function(B,E){return B===void 0&&(B=t.currentMonth),E===void 0&&(E=t.currentYear),B===1&&(E%4===0&&E%100!==0||E%400===0)?29:t.l10n.daysInMonth[B]}}}function r(){t.element=t.input=n,t.isOpen=!1,we(),Fe(),et(),Le(),i(),t.isMobile||M(),C(),(t.selectedDates.length||t.config.noCalendar)&&(t.config.enableTime&&p(t.config.noCalendar?t.latestSelectedDateObj:void 0),Re(!1)),l();var B=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!t.isMobile&&B&&_e(),Ge("onReady")}function s(){var B;return((B=t.calendarContainer)===null||B===void 0?void 0:B.getRootNode()).activeElement||document.activeElement}function o(B){return B.bind(t)}function l(){var B=t.config;B.weekNumbers===!1&&B.showMonths===1||B.noCalendar!==!0&&window.requestAnimationFrame(function(){if(t.calendarContainer!==void 0&&(t.calendarContainer.style.visibility="hidden",t.calendarContainer.style.display="block"),t.daysContainer!==void 0){var E=(t.days.offsetWidth+1)*B.showMonths;t.daysContainer.style.width=E+"px",t.calendarContainer.style.width=E+(t.weekWrapper!==void 0?t.weekWrapper.offsetWidth:0)+"px",t.calendarContainer.style.removeProperty("visibility"),t.calendarContainer.style.removeProperty("display")}})}function u(B){if(t.selectedDates.length===0){var E=t.config.minDate===void 0||xt(new Date,t.config.minDate)>=0?new Date:new Date(t.config.minDate.getTime()),O=_o(t.config);E.setHours(O.hours,O.minutes,O.seconds,E.getMilliseconds()),t.selectedDates=[E],t.latestSelectedDateObj=E}B!==void 0&&B.type!=="blur"&&ge(B);var _=t._input.value;f(),Re(),t._input.value!==_&&t._debouncedChange()}function c(B,E){return B%12+12*Ft(E===t.l10n.amPM[1])}function d(B){switch(B%24){case 0:case 12:return 12;default:return B%12}}function f(){if(!(t.hourElement===void 0||t.minuteElement===void 0)){var B=(parseInt(t.hourElement.value.slice(-2),10)||0)%24,E=(parseInt(t.minuteElement.value,10)||0)%60,O=t.secondElement!==void 0?(parseInt(t.secondElement.value,10)||0)%60:0;t.amPM!==void 0&&(B=c(B,t.amPM.textContent));var _=t.config.minTime!==void 0||t.config.minDate&&t.minDateHasTime&&t.latestSelectedDateObj&&xt(t.latestSelectedDateObj,t.config.minDate,!0)===0,Y=t.config.maxTime!==void 0||t.config.maxDate&&t.maxDateHasTime&&t.latestSelectedDateObj&&xt(t.latestSelectedDateObj,t.config.maxDate,!0)===0;if(t.config.maxTime!==void 0&&t.config.minTime!==void 0&&t.config.minTime>t.config.maxTime){var ne=Fo(t.config.minTime.getHours(),t.config.minTime.getMinutes(),t.config.minTime.getSeconds()),ue=Fo(t.config.maxTime.getHours(),t.config.maxTime.getMinutes(),t.config.maxTime.getSeconds()),fe=Fo(B,E,O);if(fe>ue&&fe<ne){var pe=Ry(ne);B=pe[0],E=pe[1],O=pe[2]}}else{if(Y){var be=t.config.maxTime!==void 0?t.config.maxTime:t.config.maxDate;B=Math.min(B,be.getHours()),B===be.getHours()&&(E=Math.min(E,be.getMinutes())),E===be.getMinutes()&&(O=Math.min(O,be.getSeconds()))}if(_){var Ce=t.config.minTime!==void 0?t.config.minTime:t.config.minDate;B=Math.max(B,Ce.getHours()),B===Ce.getHours()&&E<Ce.getMinutes()&&(E=Ce.getMinutes()),E===Ce.getMinutes()&&(O=Math.max(O,Ce.getSeconds()))}}h(B,E,O)}}function p(B){var E=B||t.latestSelectedDateObj;E&&E instanceof Date&&h(E.getHours(),E.getMinutes(),E.getSeconds())}function h(B,E,O){t.latestSelectedDateObj!==void 0&&t.latestSelectedDateObj.setHours(B%24,E,O||0,0),!(!t.hourElement||!t.minuteElement||t.isMobile)&&(t.hourElement.value=Ct(t.config.time_24hr?B:(12+B)%12+12*Ft(B%12===0)),t.minuteElement.value=Ct(E),t.amPM!==void 0&&(t.amPM.textContent=t.l10n.amPM[Ft(B>=12)]),t.secondElement!==void 0&&(t.secondElement.value=Ct(O)))}function x(B){var E=St(B),O=parseInt(E.value)+(B.delta||0);(O/1e3>1||B.key==="Enter"&&!/[^\d]/.test(O.toString()))&&se(O)}function y(B,E,O,_){if(E instanceof Array)return E.forEach(function(Y){return y(B,Y,O,_)});if(B instanceof Array)return B.forEach(function(Y){return y(Y,E,O,_)});B.addEventListener(E,O,_),t._handlers.push({remove:function(){return B.removeEventListener(E,O,_)}})}function A(){Ge("onChange")}function C(){if(t.config.wrap&&["open","close","toggle","clear"].forEach(function(O){Array.prototype.forEach.call(t.element.querySelectorAll("[data-"+O+"]"),function(_){return y(_,"click",t[O])})}),t.isMobile){Rt();return}var B=Ic(le,50);if(t._debouncedChange=Ic(A,Ty),t.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&y(t.daysContainer,"mouseover",function(O){t.config.mode==="range"&&W(St(O))}),y(t._input,"keydown",V),t.calendarContainer!==void 0&&y(t.calendarContainer,"keydown",V),!t.config.inline&&!t.config.static&&y(window,"resize",B),window.ontouchstart!==void 0?y(window.document,"touchstart",K):y(window.document,"mousedown",K),y(window.document,"focus",K,{capture:!0}),t.config.clickOpens===!0&&(y(t._input,"focus",t.open),y(t._input,"click",t.open)),t.daysContainer!==void 0&&(y(t.monthNav,"click",ct),y(t.monthNav,["keyup","increment"],x),y(t.daysContainer,"click",me)),t.timeContainer!==void 0&&t.minuteElement!==void 0&&t.hourElement!==void 0){var E=function(O){return St(O).select()};y(t.timeContainer,["increment"],u),y(t.timeContainer,"blur",u,{capture:!0}),y(t.timeContainer,"click",D),y([t.hourElement,t.minuteElement],["focus","click"],E),t.secondElement!==void 0&&y(t.secondElement,"focus",function(){return t.secondElement&&t.secondElement.select()}),t.amPM!==void 0&&y(t.amPM,"click",function(O){u(O)})}t.config.allowInput&&y(t._input,"blur",de)}function m(B,E){var O=B!==void 0?t.parseDate(B):t.latestSelectedDateObj||(t.config.minDate&&t.config.minDate>t.now?t.config.minDate:t.config.maxDate&&t.config.maxDate<t.now?t.config.maxDate:t.now),_=t.currentYear,Y=t.currentMonth;try{O!==void 0&&(t.currentYear=O.getFullYear(),t.currentMonth=O.getMonth())}catch(ne){ne.message="Invalid date supplied: "+O,t.config.errorHandler(ne)}E&&t.currentYear!==_&&(Ge("onYearChange"),L()),E&&(t.currentYear!==_||t.currentMonth!==Y)&&Ge("onMonthChange"),t.redraw()}function D(B){var E=St(B);~E.className.indexOf("arrow")&&g(B,E.classList.contains("arrowUp")?1:-1)}function g(B,E,O){var _=B&&St(B),Y=O||_&&_.parentNode&&_.parentNode.firstChild,ne=te("increment");ne.delta=E,Y&&Y.dispatchEvent(ne)}function M(){var B=window.document.createDocumentFragment();if(t.calendarContainer=Je("div","flatpickr-calendar"),t.calendarContainer.tabIndex=-1,!t.config.noCalendar){if(B.appendChild(G()),t.innerContainer=Je("div","flatpickr-innerContainer"),t.config.weekNumbers){var E=F(),O=E.weekWrapper,_=E.weekNumbers;t.innerContainer.appendChild(O),t.weekNumbers=_,t.weekWrapper=O}t.rContainer=Je("div","flatpickr-rContainer"),t.rContainer.appendChild(H()),t.daysContainer||(t.daysContainer=Je("div","flatpickr-days"),t.daysContainer.tabIndex=-1),R(),t.rContainer.appendChild(t.daysContainer),t.innerContainer.appendChild(t.rContainer),B.appendChild(t.innerContainer)}t.config.enableTime&&B.appendChild(I()),gt(t.calendarContainer,"rangeMode",t.config.mode==="range"),gt(t.calendarContainer,"animate",t.config.animate===!0),gt(t.calendarContainer,"multiMonth",t.config.showMonths>1),t.calendarContainer.appendChild(B);var Y=t.config.appendTo!==void 0&&t.config.appendTo.nodeType!==void 0;if((t.config.inline||t.config.static)&&(t.calendarContainer.classList.add(t.config.inline?"inline":"static"),t.config.inline&&(!Y&&t.element.parentNode?t.element.parentNode.insertBefore(t.calendarContainer,t._input.nextSibling):t.config.appendTo!==void 0&&t.config.appendTo.appendChild(t.calendarContainer)),t.config.static)){var ne=Je("div","flatpickr-wrapper");t.element.parentNode&&t.element.parentNode.insertBefore(ne,t.element),ne.appendChild(t.element),t.altInput&&ne.appendChild(t.altInput),ne.appendChild(t.calendarContainer)}!t.config.static&&!t.config.inline&&(t.config.appendTo!==void 0?t.config.appendTo:window.document.body).appendChild(t.calendarContainer)}function v(B,E,O,_){var Y=U(E,!0),ne=Je("span",B,E.getDate().toString());return ne.dateObj=E,ne.$i=_,ne.setAttribute("aria-label",t.formatDate(E,t.config.ariaDateFormat)),B.indexOf("hidden")===-1&&xt(E,t.now)===0&&(t.todayDateElem=ne,ne.classList.add("today"),ne.setAttribute("aria-current","date")),Y?(ne.tabIndex=-1,re(E)&&(ne.classList.add("selected"),t.selectedDateElem=ne,t.config.mode==="range"&&(gt(ne,"startRange",t.selectedDates[0]&&xt(E,t.selectedDates[0],!0)===0),gt(ne,"endRange",t.selectedDates[1]&&xt(E,t.selectedDates[1],!0)===0),B==="nextMonthDay"&&ne.classList.add("inRange")))):ne.classList.add("flatpickr-disabled"),t.config.mode==="range"&&Pe(E)&&!re(E)&&ne.classList.add("inRange"),t.weekNumbers&&t.config.showMonths===1&&B!=="prevMonthDay"&&_%7===6&&t.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+t.config.getWeek(E)+"</span>"),Ge("onDayCreate",ne),ne}function S(B){B.focus(),t.config.mode==="range"&&W(B)}function w(B){for(var E=B>0?0:t.config.showMonths-1,O=B>0?t.config.showMonths:-1,_=E;_!=O;_+=B)for(var Y=t.daysContainer.children[_],ne=B>0?0:Y.children.length-1,ue=B>0?Y.children.length:-1,fe=ne;fe!=ue;fe+=B){var pe=Y.children[fe];if(pe.className.indexOf("hidden")===-1&&U(pe.dateObj))return pe}}function k(B,E){for(var O=B.className.indexOf("Month")===-1?B.dateObj.getMonth():t.currentMonth,_=E>0?t.config.showMonths:-1,Y=E>0?1:-1,ne=O-t.currentMonth;ne!=_;ne+=Y)for(var ue=t.daysContainer.children[ne],fe=O-t.currentMonth===ne?B.$i+E:E<0?ue.children.length-1:0,pe=ue.children.length,be=fe;be>=0&&be<pe&&be!=(E>0?pe:-1);be+=Y){var Ce=ue.children[be];if(Ce.className.indexOf("hidden")===-1&&U(Ce.dateObj)&&Math.abs(B.$i-be)>=Math.abs(E))return S(Ce)}t.changeMonth(Y),b(w(Y),0)}function b(B,E){var O=s(),_=Z(O||document.body),Y=B!==void 0?B:_?O:t.selectedDateElem!==void 0&&Z(t.selectedDateElem)?t.selectedDateElem:t.todayDateElem!==void 0&&Z(t.todayDateElem)?t.todayDateElem:w(E>0?1:-1);Y===void 0?t._input.focus():_?k(Y,E):S(Y)}function T(B,E){for(var O=(new Date(B,E,1).getDay()-t.l10n.firstDayOfWeek+7)%7,_=t.utils.getDaysInMonth((E-1+12)%12,B),Y=t.utils.getDaysInMonth(E,B),ne=window.document.createDocumentFragment(),ue=t.config.showMonths>1,fe=ue?"prevMonthDay hidden":"prevMonthDay",pe=ue?"nextMonthDay hidden":"nextMonthDay",be=_+1-O,Ce=0;be<=_;be++,Ce++)ne.appendChild(v("flatpickr-day "+fe,new Date(B,E-1,be),be,Ce));for(be=1;be<=Y;be++,Ce++)ne.appendChild(v("flatpickr-day",new Date(B,E,be),be,Ce));for(var De=Y+1;De<=42-O&&(t.config.showMonths===1||Ce%7!==0);De++,Ce++)ne.appendChild(v("flatpickr-day "+pe,new Date(B,E+1,De%Y),De,Ce));var We=Je("div","dayContainer");return We.appendChild(ne),We}function R(){if(t.daysContainer!==void 0){pr(t.daysContainer),t.weekNumbers&&pr(t.weekNumbers);for(var B=document.createDocumentFragment(),E=0;E<t.config.showMonths;E++){var O=new Date(t.currentYear,t.currentMonth,1);O.setMonth(t.currentMonth+E),B.appendChild(T(O.getFullYear(),O.getMonth()))}t.daysContainer.appendChild(B),t.days=t.daysContainer.firstChild,t.config.mode==="range"&&t.selectedDates.length===1&&W()}}function L(){if(!(t.config.showMonths>1||t.config.monthSelectorType!=="dropdown")){var B=function(_){return t.config.minDate!==void 0&&t.currentYear===t.config.minDate.getFullYear()&&_<t.config.minDate.getMonth()?!1:!(t.config.maxDate!==void 0&&t.currentYear===t.config.maxDate.getFullYear()&&_>t.config.maxDate.getMonth())};t.monthsDropdownContainer.tabIndex=-1,t.monthsDropdownContainer.innerHTML="";for(var E=0;E<12;E++)if(B(E)){var O=Je("option","flatpickr-monthDropdown-month");O.value=new Date(t.currentYear,E).getMonth().toString(),O.textContent=gr(E,t.config.shorthandCurrentMonth,t.l10n),O.tabIndex=-1,t.currentMonth===E&&(O.selected=!0),t.monthsDropdownContainer.appendChild(O)}}}function N(){var B=Je("div","flatpickr-month"),E=window.document.createDocumentFragment(),O;t.config.showMonths>1||t.config.monthSelectorType==="static"?O=Je("span","cur-month"):(t.monthsDropdownContainer=Je("select","flatpickr-monthDropdown-months"),t.monthsDropdownContainer.setAttribute("aria-label",t.l10n.monthAriaLabel),y(t.monthsDropdownContainer,"change",function(ue){var fe=St(ue),pe=parseInt(fe.value,10);t.changeMonth(pe-t.currentMonth),Ge("onMonthChange")}),L(),O=t.monthsDropdownContainer);var _=mr("cur-year",{tabindex:"-1"}),Y=_.getElementsByTagName("input")[0];Y.setAttribute("aria-label",t.l10n.yearAriaLabel),t.config.minDate&&Y.setAttribute("min",t.config.minDate.getFullYear().toString()),t.config.maxDate&&(Y.setAttribute("max",t.config.maxDate.getFullYear().toString()),Y.disabled=!!t.config.minDate&&t.config.minDate.getFullYear()===t.config.maxDate.getFullYear());var ne=Je("div","flatpickr-current-month");return ne.appendChild(O),ne.appendChild(_),E.appendChild(ne),B.appendChild(E),{container:B,yearElement:Y,monthElement:O}}function j(){pr(t.monthNav),t.monthNav.appendChild(t.prevMonthNav),t.config.showMonths&&(t.yearElements=[],t.monthElements=[]);for(var B=t.config.showMonths;B--;){var E=N();t.yearElements.push(E.yearElement),t.monthElements.push(E.monthElement),t.monthNav.appendChild(E.container)}t.monthNav.appendChild(t.nextMonthNav)}function G(){return t.monthNav=Je("div","flatpickr-months"),t.yearElements=[],t.monthElements=[],t.prevMonthNav=Je("span","flatpickr-prev-month"),t.prevMonthNav.innerHTML=t.config.prevArrow,t.nextMonthNav=Je("span","flatpickr-next-month"),t.nextMonthNav.innerHTML=t.config.nextArrow,j(),Object.defineProperty(t,"_hidePrevMonthArrow",{get:function(){return t.__hidePrevMonthArrow},set:function(B){t.__hidePrevMonthArrow!==B&&(gt(t.prevMonthNav,"flatpickr-disabled",B),t.__hidePrevMonthArrow=B)}}),Object.defineProperty(t,"_hideNextMonthArrow",{get:function(){return t.__hideNextMonthArrow},set:function(B){t.__hideNextMonthArrow!==B&&(gt(t.nextMonthNav,"flatpickr-disabled",B),t.__hideNextMonthArrow=B)}}),t.currentYearElement=t.yearElements[0],ze(),t.monthNav}function I(){t.calendarContainer.classList.add("hasTime"),t.config.noCalendar&&t.calendarContainer.classList.add("noCalendar");var B=_o(t.config);t.timeContainer=Je("div","flatpickr-time"),t.timeContainer.tabIndex=-1;var E=Je("span","flatpickr-time-separator",":"),O=mr("flatpickr-hour",{"aria-label":t.l10n.hourAriaLabel});t.hourElement=O.getElementsByTagName("input")[0];var _=mr("flatpickr-minute",{"aria-label":t.l10n.minuteAriaLabel});if(t.minuteElement=_.getElementsByTagName("input")[0],t.hourElement.tabIndex=t.minuteElement.tabIndex=-1,t.hourElement.value=Ct(t.latestSelectedDateObj?t.latestSelectedDateObj.getHours():t.config.time_24hr?B.hours:d(B.hours)),t.minuteElement.value=Ct(t.latestSelectedDateObj?t.latestSelectedDateObj.getMinutes():B.minutes),t.hourElement.setAttribute("step",t.config.hourIncrement.toString()),t.minuteElement.setAttribute("step",t.config.minuteIncrement.toString()),t.hourElement.setAttribute("min",t.config.time_24hr?"0":"1"),t.hourElement.setAttribute("max",t.config.time_24hr?"23":"12"),t.hourElement.setAttribute("maxlength","2"),t.minuteElement.setAttribute("min","0"),t.minuteElement.setAttribute("max","59"),t.minuteElement.setAttribute("maxlength","2"),t.timeContainer.appendChild(O),t.timeContainer.appendChild(E),t.timeContainer.appendChild(_),t.config.time_24hr&&t.timeContainer.classList.add("time24hr"),t.config.enableSeconds){t.timeContainer.classList.add("hasSeconds");var Y=mr("flatpickr-second");t.secondElement=Y.getElementsByTagName("input")[0],t.secondElement.value=Ct(t.latestSelectedDateObj?t.latestSelectedDateObj.getSeconds():B.seconds),t.secondElement.setAttribute("step",t.minuteElement.getAttribute("step")),t.secondElement.setAttribute("min","0"),t.secondElement.setAttribute("max","59"),t.secondElement.setAttribute("maxlength","2"),t.timeContainer.appendChild(Je("span","flatpickr-time-separator",":")),t.timeContainer.appendChild(Y)}return t.config.time_24hr||(t.amPM=Je("span","flatpickr-am-pm",t.l10n.amPM[Ft((t.latestSelectedDateObj?t.hourElement.value:t.config.defaultHour)>11)]),t.amPM.title=t.l10n.toggleTitle,t.amPM.tabIndex=-1,t.timeContainer.appendChild(t.amPM)),t.timeContainer}function H(){t.weekdayContainer?pr(t.weekdayContainer):t.weekdayContainer=Je("div","flatpickr-weekdays");for(var B=t.config.showMonths;B--;){var E=Je("div","flatpickr-weekdaycontainer");t.weekdayContainer.appendChild(E)}return J(),t.weekdayContainer}function J(){if(t.weekdayContainer){var B=t.l10n.firstDayOfWeek,E=zc(t.l10n.weekdays.shorthand);B>0&&B<E.length&&(E=zc(E.splice(B,E.length),E.splice(0,B)));for(var O=t.config.showMonths;O--;)t.weekdayContainer.children[O].innerHTML=`
28
28
  <span class='flatpickr-weekday'>
29
29
  `+E.join("</span><span class='flatpickr-weekday'>")+`
30
30
  </span>
31
- `}}function F(){t.calendarContainer.classList.add("hasWeeks");var B=Je("div","flatpickr-weekwrapper");B.appendChild(Je("span","flatpickr-weekday",t.l10n.weekAbbreviation));var E=Je("div","flatpickr-weeks");return B.appendChild(E),{weekWrapper:B,weekNumbers:E}}function P(B,E){E===void 0&&(E=!0);var O=E?B:B-t.currentMonth;O<0&&t._hidePrevMonthArrow===!0||O>0&&t._hideNextMonthArrow===!0||(t.currentMonth+=O,(t.currentMonth<0||t.currentMonth>11)&&(t.currentYear+=t.currentMonth>11?1:-1,t.currentMonth=(t.currentMonth+12)%12,Ge("onYearChange"),L()),R(),Ge("onMonthChange"),ze())}function Q(B,E){if(B===void 0&&(B=!0),E===void 0&&(E=!0),t.input.value="",t.altInput!==void 0&&(t.altInput.value=""),t.mobileInput!==void 0&&(t.mobileInput.value=""),t.selectedDates=[],t.latestSelectedDateObj=void 0,E===!0&&(t.currentYear=t._initialDate.getFullYear(),t.currentMonth=t._initialDate.getMonth()),t.config.enableTime===!0){var O=_o(t.config),_=O.hours,Y=O.minutes,ne=O.seconds;h(_,Y,ne)}t.redraw(),B&&Ge("onChange")}function z(){t.isOpen=!1,t.isMobile||(t.calendarContainer!==void 0&&t.calendarContainer.classList.remove("open"),t._input!==void 0&&t._input.classList.remove("active")),Ge("onClose")}function q(){t.config!==void 0&&Ge("onDestroy");for(var B=t._handlers.length;B--;)t._handlers[B].remove();if(t._handlers=[],t.mobileInput)t.mobileInput.parentNode&&t.mobileInput.parentNode.removeChild(t.mobileInput),t.mobileInput=void 0;else if(t.calendarContainer&&t.calendarContainer.parentNode)if(t.config.static&&t.calendarContainer.parentNode){var E=t.calendarContainer.parentNode;if(E.lastChild&&E.removeChild(E.lastChild),E.parentNode){for(;E.firstChild;)E.parentNode.insertBefore(E.firstChild,E);E.parentNode.removeChild(E)}}else t.calendarContainer.parentNode.removeChild(t.calendarContainer);t.altInput&&(t.input.type="text",t.altInput.parentNode&&t.altInput.parentNode.removeChild(t.altInput),delete t.altInput),t.input&&(t.input.type=t.input._type,t.input.classList.remove("flatpickr-input"),t.input.removeAttribute("readonly")),["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach(function(O){try{delete t[O]}catch{}})}function X(B){return t.calendarContainer.contains(B)}function K(B){if(t.isOpen&&!t.config.inline){var E=St(B),O=X(E),_=E===t.input||E===t.altInput||t.element.contains(E)||B.path&&B.path.indexOf&&(~B.path.indexOf(t.input)||~B.path.indexOf(t.altInput)),Y=!_&&!O&&!X(B.relatedTarget),ne=!t.config.ignoredFocusElements.some(function(ue){return ue.contains(E)});Y&&ne&&(t.config.allowInput&&t.setDate(t._input.value,!1,t.config.altInput?t.config.altFormat:t.config.dateFormat),t.timeContainer!==void 0&&t.minuteElement!==void 0&&t.hourElement!==void 0&&t.input.value!==""&&t.input.value!==void 0&&u(),t.close(),t.config&&t.config.mode==="range"&&t.selectedDates.length===1&&t.clear(!1))}}function se(B){if(!(!B||t.config.minDate&&B<t.config.minDate.getFullYear()||t.config.maxDate&&B>t.config.maxDate.getFullYear())){var E=B,O=t.currentYear!==E;t.currentYear=E||t.currentYear,t.config.maxDate&&t.currentYear===t.config.maxDate.getFullYear()?t.currentMonth=Math.min(t.config.maxDate.getMonth(),t.currentMonth):t.config.minDate&&t.currentYear===t.config.minDate.getFullYear()&&(t.currentMonth=Math.max(t.config.minDate.getMonth(),t.currentMonth)),O&&(t.redraw(),Ge("onYearChange"),L())}}function U(B,E){var O;E===void 0&&(E=!0);var _=t.parseDate(B,void 0,E);if(t.config.minDate&&_&&xt(_,t.config.minDate,E!==void 0?E:!t.minDateHasTime)<0||t.config.maxDate&&_&&xt(_,t.config.maxDate,E!==void 0?E:!t.maxDateHasTime)>0)return!1;if(!t.config.enable&&t.config.disable.length===0)return!0;if(_===void 0)return!1;for(var Y=!!t.config.enable,ne=(O=t.config.enable)!==null&&O!==void 0?O:t.config.disable,ue=0,fe=void 0;ue<ne.length;ue++){if(fe=ne[ue],typeof fe=="function"&&fe(_))return Y;if(fe instanceof Date&&_!==void 0&&fe.getTime()===_.getTime())return Y;if(typeof fe=="string"){var pe=t.parseDate(fe,void 0,!0);return pe&&pe.getTime()===_.getTime()?Y:!Y}else if(typeof fe=="object"&&_!==void 0&&fe.from&&fe.to&&_.getTime()>=fe.from.getTime()&&_.getTime()<=fe.to.getTime())return Y}return!Y}function Z(B){return t.daysContainer!==void 0?B.className.indexOf("hidden")===-1&&B.className.indexOf("flatpickr-disabled")===-1&&t.daysContainer.contains(B):!1}function de(B){var E=B.target===t._input,O=t._input.value.trimEnd()!==Oe();E&&O&&!(B.relatedTarget&&X(B.relatedTarget))&&t.setDate(t._input.value,!0,B.target===t.altInput?t.config.altFormat:t.config.dateFormat)}function V(B){var E=St(B),O=t.config.wrap?n.contains(E):E===t._input,_=t.config.allowInput,Y=t.isOpen&&(!_||!O),ne=t.config.inline&&O&&!_;if(B.keyCode===13&&O){if(_)return t.setDate(t._input.value,!0,E===t.altInput?t.config.altFormat:t.config.dateFormat),t.close(),E.blur();t.open()}else if(X(E)||Y||ne){var ue=!!t.timeContainer&&t.timeContainer.contains(E);switch(B.keyCode){case 13:ue?(B.preventDefault(),u(),ie()):me(B);break;case 27:B.preventDefault(),ie();break;case 8:case 46:O&&!t.config.allowInput&&(B.preventDefault(),t.clear());break;case 37:case 39:if(!ue&&!O){B.preventDefault();var fe=s();if(t.daysContainer!==void 0&&(_===!1||fe&&Z(fe))){var pe=B.keyCode===39?1:-1;B.ctrlKey?(B.stopPropagation(),P(pe),b(w(1),0)):b(void 0,pe)}}else t.hourElement&&t.hourElement.focus();break;case 38:case 40:B.preventDefault();var be=B.keyCode===40?1:-1;t.daysContainer&&E.$i!==void 0||E===t.input||E===t.altInput?B.ctrlKey?(B.stopPropagation(),se(t.currentYear-be),b(w(1),0)):ue||b(void 0,be*7):E===t.currentYearElement?se(t.currentYear-be):t.config.enableTime&&(!ue&&t.hourElement&&t.hourElement.focus(),u(B),t._debouncedChange());break;case 9:if(ue){var Ce=[t.hourElement,t.minuteElement,t.secondElement,t.amPM].concat(t.pluginElements).filter(function(Be){return Be}),De=Ce.indexOf(E);if(De!==-1){var We=Ce[De+(B.shiftKey?-1:1)];B.preventDefault(),(We||t._input).focus()}}else!t.config.noCalendar&&t.daysContainer&&t.daysContainer.contains(E)&&B.shiftKey&&(B.preventDefault(),t._input.focus());break}}if(t.amPM!==void 0&&E===t.amPM)switch(B.key){case t.l10n.amPM[0].charAt(0):case t.l10n.amPM[0].charAt(0).toLowerCase():t.amPM.textContent=t.l10n.amPM[0],f(),Re();break;case t.l10n.amPM[1].charAt(0):case t.l10n.amPM[1].charAt(0).toLowerCase():t.amPM.textContent=t.l10n.amPM[1],f(),Re();break}(O||X(E))&&Ge("onKeyDown",B)}function W(B,E){if(E===void 0&&(E="flatpickr-day"),!(t.selectedDates.length!==1||B&&(!B.classList.contains(E)||B.classList.contains("flatpickr-disabled")))){for(var O=B?B.dateObj.getTime():t.days.firstElementChild.dateObj.getTime(),_=t.parseDate(t.selectedDates[0],void 0,!0).getTime(),Y=Math.min(O,t.selectedDates[0].getTime()),ne=Math.max(O,t.selectedDates[0].getTime()),ue=!1,fe=0,pe=0,be=Y;be<ne;be+=My.DAY)U(new Date(be),!0)||(ue=ue||be>Y&&be<ne,be<_&&(!fe||be>fe)?fe=be:be>_&&(!pe||be<pe)&&(pe=be));var Ce=Array.from(t.rContainer.querySelectorAll("*:nth-child(-n+"+t.config.showMonths+") > ."+E));Ce.forEach(function(De){var We=De.dateObj,Be=We.getTime(),qe=fe>0&&Be<fe||pe>0&&Be>pe;if(qe){De.classList.add("notAllowed"),["inRange","startRange","endRange"].forEach(function(Xe){De.classList.remove(Xe)});return}else if(ue&&!qe)return;["startRange","inRange","endRange","notAllowed"].forEach(function(Xe){De.classList.remove(Xe)}),B!==void 0&&(B.classList.add(O<=t.selectedDates[0].getTime()?"startRange":"endRange"),_<O&&Be===_?De.classList.add("startRange"):_>O&&Be===_&&De.classList.add("endRange"),Be>=fe&&(pe===0||Be<=pe)&&xy(Be,_,O)&&De.classList.add("inRange"))})}}function oe(){t.isOpen&&!t.config.static&&!t.config.inline&&_e()}function le(B,E){if(E===void 0&&(E=t._positionElement),t.isMobile===!0){if(B){B.preventDefault();var O=St(B);O&&O.blur()}t.mobileInput!==void 0&&(t.mobileInput.focus(),t.mobileInput.click()),Ge("onOpen");return}else if(t._input.disabled||t.config.inline)return;var _=t.isOpen;t.isOpen=!0,_||(t.calendarContainer.classList.add("open"),t._input.classList.add("active"),Ge("onOpen"),_e(E)),t.config.enableTime===!0&&t.config.noCalendar===!0&&t.config.allowInput===!1&&(B===void 0||!t.timeContainer.contains(B.relatedTarget))&&setTimeout(function(){return t.hourElement.select()},50)}function ye(B){return function(E){var O=t.config["_"+B+"Date"]=t.parseDate(E,t.config.dateFormat),_=t.config["_"+(B==="min"?"max":"min")+"Date"];O!==void 0&&(t[B==="min"?"minDateHasTime":"maxDateHasTime"]=O.getHours()>0||O.getMinutes()>0||O.getSeconds()>0),t.selectedDates&&(t.selectedDates=t.selectedDates.filter(function(Y){return U(Y)}),!t.selectedDates.length&&B==="min"&&p(O),Re()),t.daysContainer&&($(),O!==void 0?t.currentYearElement[B]=O.getFullYear().toString():t.currentYearElement.removeAttribute(B),t.currentYearElement.disabled=!!_&&O!==void 0&&_.getFullYear()===O.getFullYear())}}function we(){var B=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],E=ft(ft({},JSON.parse(JSON.stringify(n.dataset||{}))),e),O={};t.config.parseDate=E.parseDate,t.config.formatDate=E.formatDate,Object.defineProperty(t.config,"enable",{get:function(){return t.config._enable},set:function(Ce){t.config._enable=Se(Ce)}}),Object.defineProperty(t.config,"disable",{get:function(){return t.config._disable},set:function(Ce){t.config._disable=Se(Ce)}});var _=E.mode==="time";if(!E.dateFormat&&(E.enableTime||_)){var Y=ot.defaultConfig.dateFormat||Qi.dateFormat;O.dateFormat=E.noCalendar||_?"H:i"+(E.enableSeconds?":S":""):Y+" H:i"+(E.enableSeconds?":S":"")}if(E.altInput&&(E.enableTime||_)&&!E.altFormat){var ne=ot.defaultConfig.altFormat||Qi.altFormat;O.altFormat=E.noCalendar||_?"h:i"+(E.enableSeconds?":S K":" K"):ne+(" h:i"+(E.enableSeconds?":S":"")+" K")}Object.defineProperty(t.config,"minDate",{get:function(){return t.config._minDate},set:ye("min")}),Object.defineProperty(t.config,"maxDate",{get:function(){return t.config._maxDate},set:ye("max")});var ue=function(Ce){return function(De){t.config[Ce==="min"?"_minTime":"_maxTime"]=t.parseDate(De,"H:i:S")}};Object.defineProperty(t.config,"minTime",{get:function(){return t.config._minTime},set:ue("min")}),Object.defineProperty(t.config,"maxTime",{get:function(){return t.config._maxTime},set:ue("max")}),E.mode==="time"&&(t.config.noCalendar=!0,t.config.enableTime=!0),Object.assign(t.config,O,E);for(var fe=0;fe<B.length;fe++)t.config[B[fe]]=t.config[B[fe]]===!0||t.config[B[fe]]==="true";Do.filter(function(Ce){return t.config[Ce]!==void 0}).forEach(function(Ce){t.config[Ce]=Oo(t.config[Ce]||[]).map(o)}),t.isMobile=!t.config.disableMobile&&!t.config.inline&&t.config.mode==="single"&&!t.config.disable.length&&!t.config.enable&&!t.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);for(var fe=0;fe<t.config.plugins.length;fe++){var pe=t.config.plugins[fe](t)||{};for(var be in pe)Do.indexOf(be)>-1?t.config[be]=Oo(pe[be]).map(o).concat(t.config[be]):typeof E[be]>"u"&&(t.config[be]=pe[be])}E.altInputClass||(t.config.altInputClass=xe().className+" "+t.config.altInputClass),Ge("onParseConfig")}function xe(){return t.config.wrap?n.querySelector("[data-input]"):n}function Fe(){typeof t.config.locale!="object"&&typeof ot.l10ns[t.config.locale]>"u"&&t.config.errorHandler(new Error("flatpickr: invalid locale "+t.config.locale)),t.l10n=ft(ft({},ot.l10ns.default),typeof t.config.locale=="object"?t.config.locale:t.config.locale!=="default"?ot.l10ns[t.config.locale]:void 0),Ri.D="("+t.l10n.weekdays.shorthand.join("|")+")",Ri.l="("+t.l10n.weekdays.longhand.join("|")+")",Ri.M="("+t.l10n.months.shorthand.join("|")+")",Ri.F="("+t.l10n.months.longhand.join("|")+")",Ri.K="("+t.l10n.amPM[0]+"|"+t.l10n.amPM[1]+"|"+t.l10n.amPM[0].toLowerCase()+"|"+t.l10n.amPM[1].toLowerCase()+")";var B=ft(ft({},e),JSON.parse(JSON.stringify(n.dataset||{})));B.time_24hr===void 0&&ot.defaultConfig.time_24hr===void 0&&(t.config.time_24hr=t.l10n.time_24hr),t.formatDate=Vc(t),t.parseDate=Bo({config:t.config,l10n:t.l10n})}function _e(B){if(typeof t.config.position=="function")return void t.config.position(t,B);if(t.calendarContainer!==void 0){Ge("onPreCalendarPosition");var E=B||t._positionElement,O=Array.prototype.reduce.call(t.calendarContainer.children,(function(Di,Ax){return Di+Ax.offsetHeight}),0),_=t.calendarContainer.offsetWidth,Y=t.config.position.split(" "),ne=Y[0],ue=Y.length>1?Y[1]:null,fe=E.getBoundingClientRect(),pe=window.innerHeight-fe.bottom,be=ne==="above"||ne!=="below"&&pe<O&&fe.top>O,Ce=window.pageYOffset+fe.top+(be?-O-2:E.offsetHeight+2);if(gt(t.calendarContainer,"arrowTop",!be),gt(t.calendarContainer,"arrowBottom",be),!t.config.inline){var De=window.pageXOffset+fe.left,We=!1,Be=!1;ue==="center"?(De-=(_-fe.width)/2,We=!0):ue==="right"&&(De-=_-fe.width,Be=!0),gt(t.calendarContainer,"arrowLeft",!We&&!Be),gt(t.calendarContainer,"arrowCenter",We),gt(t.calendarContainer,"arrowRight",Be);var qe=window.document.body.offsetWidth-(window.pageXOffset+fe.right),Xe=De+_>window.document.body.offsetWidth,at=qe+_>window.document.body.offsetWidth;if(gt(t.calendarContainer,"rightMost",Xe),!t.config.static)if(t.calendarContainer.style.top=Ce+"px",!Xe)t.calendarContainer.style.left=De+"px",t.calendarContainer.style.right="auto";else if(!at)t.calendarContainer.style.left="auto",t.calendarContainer.style.right=qe+"px";else{var nt=Ne();if(nt===void 0)return;var yi=window.document.body.offsetWidth,Ti=Math.max(0,yi/2-_/2),ci=".flatpickr-calendar.centerMost:before",jt=".flatpickr-calendar.centerMost:after",$t=nt.cssRules.length,Xi="{left:"+fe.left+"px;right:auto;}";gt(t.calendarContainer,"rightMost",!1),gt(t.calendarContainer,"centerMost",!0),nt.insertRule(ci+","+jt+Xi,$t),t.calendarContainer.style.left=Ti+"px",t.calendarContainer.style.right="auto"}}}}function Ne(){for(var B=null,E=0;E<document.styleSheets.length;E++){var O=document.styleSheets[E];if(O.cssRules){try{O.cssRules}catch{continue}B=O;break}}return B??ce()}function ce(){var B=document.createElement("style");return document.head.appendChild(B),B.sheet}function $(){t.config.noCalendar||t.isMobile||(L(),ze(),R())}function ie(){t._input.focus(),window.navigator.userAgent.indexOf("MSIE")!==-1||navigator.msMaxTouchPoints!==void 0?setTimeout(t.close,0):t.close()}function me(B){B.preventDefault(),B.stopPropagation();var E=function(Ce){return Ce.classList&&Ce.classList.contains("flatpickr-day")&&!Ce.classList.contains("flatpickr-disabled")&&!Ce.classList.contains("notAllowed")},O=Hc(St(B),E);if(O!==void 0){var _=O,Y=t.latestSelectedDateObj=new Date(_.dateObj.getTime()),ne=(Y.getMonth()<t.currentMonth||Y.getMonth()>t.currentMonth+t.config.showMonths-1)&&t.config.mode!=="range";if(t.selectedDateElem=_,t.config.mode==="single")t.selectedDates=[Y];else if(t.config.mode==="multiple"){var ue=re(Y);ue?t.selectedDates.splice(parseInt(ue),1):t.selectedDates.push(Y)}else t.config.mode==="range"&&(t.selectedDates.length===2&&t.clear(!1,!1),t.latestSelectedDateObj=Y,t.selectedDates.push(Y),xt(Y,t.selectedDates[0],!0)!==0&&t.selectedDates.sort(function(Ce,De){return Ce.getTime()-De.getTime()}));if(f(),ne){var fe=t.currentYear!==Y.getFullYear();t.currentYear=Y.getFullYear(),t.currentMonth=Y.getMonth(),fe&&(Ge("onYearChange"),L()),Ge("onMonthChange")}if(ze(),R(),Re(),!ne&&t.config.mode!=="range"&&t.config.showMonths===1?S(_):t.selectedDateElem!==void 0&&t.hourElement===void 0&&t.selectedDateElem&&t.selectedDateElem.focus(),t.hourElement!==void 0&&t.hourElement!==void 0&&t.hourElement.focus(),t.config.closeOnSelect){var pe=t.config.mode==="single"&&!t.config.enableTime,be=t.config.mode==="range"&&t.selectedDates.length===2&&!t.config.enableTime;(pe||be)&&ie()}A()}}var he={locale:[Fe,J],showMonths:[j,l,H],minDate:[m],maxDate:[m],positionElement:[je],clickOpens:[function(){t.config.clickOpens===!0?(y(t._input,"focus",t.open),y(t._input,"click",t.open)):(t._input.removeEventListener("focus",t.open),t._input.removeEventListener("click",t.open))}]};function ke(B,E){if(B!==null&&typeof B=="object"){Object.assign(t.config,B);for(var O in B)he[O]!==void 0&&he[O].forEach(function(_){return _()})}else t.config[B]=E,he[B]!==void 0?he[B].forEach(function(_){return _()}):Do.indexOf(B)>-1&&(t.config[B]=Oo(E));t.redraw(),Re(!0)}function Me(B,E){var O=[];if(B instanceof Array)O=B.map(function(_){return t.parseDate(_,E)});else if(B instanceof Date||typeof B=="number")O=[t.parseDate(B,E)];else if(typeof B=="string")switch(t.config.mode){case"single":case"time":O=[t.parseDate(B,E)];break;case"multiple":O=B.split(t.config.conjunction).map(function(_){return t.parseDate(_,E)});break;case"range":O=B.split(t.l10n.rangeSeparator).map(function(_){return t.parseDate(_,E)});break}else t.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(B)));t.selectedDates=t.config.allowInvalidPreload?O:O.filter(function(_){return _ instanceof Date&&U(_,!1)}),t.config.mode==="range"&&t.selectedDates.sort(function(_,Y){return _.getTime()-Y.getTime()})}function ae(B,E,O){if(E===void 0&&(E=!1),O===void 0&&(O=t.config.dateFormat),B!==0&&!B||B instanceof Array&&B.length===0)return t.clear(E);Me(B,O),t.latestSelectedDateObj=t.selectedDates[t.selectedDates.length-1],t.redraw(),m(void 0,E),p(),t.selectedDates.length===0&&t.clear(!1),Re(E),E&&Ge("onChange")}function Se(B){return B.slice().map(function(E){return typeof E=="string"||typeof E=="number"||E instanceof Date?t.parseDate(E,void 0,!0):E&&typeof E=="object"&&E.from&&E.to?{from:t.parseDate(E.from,void 0),to:t.parseDate(E.to,void 0)}:E}).filter(function(E){return E})}function Le(){t.selectedDates=[],t.now=t.parseDate(t.config.now)||new Date;var B=t.config.defaultDate||((t.input.nodeName==="INPUT"||t.input.nodeName==="TEXTAREA")&&t.input.placeholder&&t.input.value===t.input.placeholder?null:t.input.value);B&&Me(B,t.config.dateFormat),t._initialDate=t.selectedDates.length>0?t.selectedDates[0]:t.config.minDate&&t.config.minDate.getTime()>t.now.getTime()?t.config.minDate:t.config.maxDate&&t.config.maxDate.getTime()<t.now.getTime()?t.config.maxDate:t.now,t.currentYear=t._initialDate.getFullYear(),t.currentMonth=t._initialDate.getMonth(),t.selectedDates.length>0&&(t.latestSelectedDateObj=t.selectedDates[0]),t.config.minTime!==void 0&&(t.config.minTime=t.parseDate(t.config.minTime,"H:i")),t.config.maxTime!==void 0&&(t.config.maxTime=t.parseDate(t.config.maxTime,"H:i")),t.minDateHasTime=!!t.config.minDate&&(t.config.minDate.getHours()>0||t.config.minDate.getMinutes()>0||t.config.minDate.getSeconds()>0),t.maxDateHasTime=!!t.config.maxDate&&(t.config.maxDate.getHours()>0||t.config.maxDate.getMinutes()>0||t.config.maxDate.getSeconds()>0)}function et(){if(t.input=xe(),!t.input){t.config.errorHandler(new Error("Invalid input element specified"));return}t.input._type=t.input.type,t.input.type="text",t.input.classList.add("flatpickr-input"),t._input=t.input,t.config.altInput&&(t.altInput=Je(t.input.nodeName,t.config.altInputClass),t._input=t.altInput,t.altInput.placeholder=t.input.placeholder,t.altInput.disabled=t.input.disabled,t.altInput.required=t.input.required,t.altInput.tabIndex=t.input.tabIndex,t.altInput.type="text",t.input.setAttribute("type","hidden"),!t.config.static&&t.input.parentNode&&t.input.parentNode.insertBefore(t.altInput,t.input.nextSibling)),t.config.allowInput||t._input.setAttribute("readonly","readonly"),je()}function je(){t._positionElement=t.config.positionElement||t._input}function Rt(){var B=t.config.enableTime?t.config.noCalendar?"time":"datetime-local":"date";t.mobileInput=Je("input",t.input.className+" flatpickr-mobile"),t.mobileInput.tabIndex=1,t.mobileInput.type=B,t.mobileInput.disabled=t.input.disabled,t.mobileInput.required=t.input.required,t.mobileInput.placeholder=t.input.placeholder,t.mobileFormatStr=B==="datetime-local"?"Y-m-d\\TH:i:S":B==="date"?"Y-m-d":"H:i:S",t.selectedDates.length>0&&(t.mobileInput.defaultValue=t.mobileInput.value=t.formatDate(t.selectedDates[0],t.mobileFormatStr)),t.config.minDate&&(t.mobileInput.min=t.formatDate(t.config.minDate,"Y-m-d")),t.config.maxDate&&(t.mobileInput.max=t.formatDate(t.config.maxDate,"Y-m-d")),t.input.getAttribute("step")&&(t.mobileInput.step=String(t.input.getAttribute("step"))),t.input.type="hidden",t.altInput!==void 0&&(t.altInput.type="hidden");try{t.input.parentNode&&t.input.parentNode.insertBefore(t.mobileInput,t.input.nextSibling)}catch{}y(t.mobileInput,"change",function(E){t.setDate(St(E).value,!1,t.mobileFormatStr),Ge("onChange"),Ge("onClose")})}function At(B){if(t.isOpen===!0)return t.close();t.open(B)}function Ge(B,E){if(t.config!==void 0){var O=t.config[B];if(O!==void 0&&O.length>0)for(var _=0;O[_]&&_<O.length;_++)O[_](t.selectedDates,t.input.value,t,E);B==="onChange"&&(t.input.dispatchEvent(te("change")),t.input.dispatchEvent(te("input")))}}function te(B){var E=document.createEvent("Event");return E.initEvent(B,!0,!0),E}function re(B){for(var E=0;E<t.selectedDates.length;E++){var O=t.selectedDates[E];if(O instanceof Date&&xt(O,B)===0)return""+E}return!1}function Pe(B){return t.config.mode!=="range"||t.selectedDates.length<2?!1:xt(B,t.selectedDates[0])>=0&&xt(B,t.selectedDates[1])<=0}function ze(){t.config.noCalendar||t.isMobile||!t.monthNav||(t.yearElements.forEach(function(B,E){var O=new Date(t.currentYear,t.currentMonth,1);O.setMonth(t.currentMonth+E),t.config.showMonths>1||t.config.monthSelectorType==="static"?t.monthElements[E].textContent=gr(O.getMonth(),t.config.shorthandCurrentMonth,t.l10n)+" ":t.monthsDropdownContainer.value=O.getMonth().toString(),B.value=O.getFullYear().toString()}),t._hidePrevMonthArrow=t.config.minDate!==void 0&&(t.currentYear===t.config.minDate.getFullYear()?t.currentMonth<=t.config.minDate.getMonth():t.currentYear<t.config.minDate.getFullYear()),t._hideNextMonthArrow=t.config.maxDate!==void 0&&(t.currentYear===t.config.maxDate.getFullYear()?t.currentMonth+1>t.config.maxDate.getMonth():t.currentYear>t.config.maxDate.getFullYear()))}function Oe(B){var E=B||(t.config.altInput?t.config.altFormat:t.config.dateFormat);return t.selectedDates.map(function(O){return t.formatDate(O,E)}).filter(function(O,_,Y){return t.config.mode!=="range"||t.config.enableTime||Y.indexOf(O)===_}).join(t.config.mode!=="range"?t.config.conjunction:t.l10n.rangeSeparator)}function Re(B){B===void 0&&(B=!0),t.mobileInput!==void 0&&t.mobileFormatStr&&(t.mobileInput.value=t.latestSelectedDateObj!==void 0?t.formatDate(t.latestSelectedDateObj,t.mobileFormatStr):""),t.input.value=Oe(t.config.dateFormat),t.altInput!==void 0&&(t.altInput.value=Oe(t.config.altFormat)),B!==!1&&Ge("onValueUpdate")}function ct(B){var E=St(B),O=t.prevMonthNav.contains(E),_=t.nextMonthNav.contains(E);O||_?P(O?-1:1):t.yearElements.indexOf(E)>=0?E.select():E.classList.contains("arrowUp")?t.changeYear(t.currentYear+1):E.classList.contains("arrowDown")&&t.changeYear(t.currentYear-1)}function ge(B){B.preventDefault();var E=B.type==="keydown",O=St(B),_=O;t.amPM!==void 0&&O===t.amPM&&(t.amPM.textContent=t.l10n.amPM[Ft(t.amPM.textContent===t.l10n.amPM[0])]);var Y=parseFloat(_.getAttribute("min")),ne=parseFloat(_.getAttribute("max")),ue=parseFloat(_.getAttribute("step")),fe=parseInt(_.value,10),pe=B.delta||(E?B.which===38?1:-1:0),be=fe+ue*pe;if(typeof _.value<"u"&&_.value.length===2){var Ce=_===t.hourElement,De=_===t.minuteElement;be<Y?(be=ne+be+Ft(!Ce)+(Ft(Ce)&&Ft(!t.amPM)),De&&g(void 0,-1,t.hourElement)):be>ne&&(be=_===t.hourElement?be-ne-Ft(!t.amPM):Y,De&&g(void 0,1,t.hourElement)),t.amPM&&Ce&&(ue===1?be+fe===23:Math.abs(be-fe)>ue)&&(t.amPM.textContent=t.l10n.amPM[Ft(t.amPM.textContent===t.l10n.amPM[0])]),_.value=Ct(be)}}return r(),t}function Ki(n,e){for(var t=Array.prototype.slice.call(n).filter(function(o){return o instanceof HTMLElement}),i=[],r=0;r<t.length;r++){var s=t[r];try{if(s.getAttribute("data-fp-omit")!==null)continue;s._flatpickr!==void 0&&(s._flatpickr.destroy(),s._flatpickr=void 0),s._flatpickr=Dy(s,e||{}),i.push(s._flatpickr)}catch(o){console.error(o)}}return i.length===1?i[0]:i}typeof HTMLElement<"u"&&typeof HTMLCollection<"u"&&typeof NodeList<"u"&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(n){return Ki(this,n)},HTMLElement.prototype.flatpickr=function(n){return Ki([this],n)});var ot=function(n,e){return typeof n=="string"?Ki(window.document.querySelectorAll(n),e):n instanceof Node?Ki([n],e):Ki(n,e)};ot.defaultConfig={},ot.l10ns={en:ft({},wn),default:ft({},wn)},ot.localize=function(n){ot.l10ns.default=ft(ft({},ot.l10ns.default),n)},ot.setDefaults=function(n){ot.defaultConfig=ft(ft({},ot.defaultConfig),n)},ot.parseDate=Bo({}),ot.formatDate=Vc({}),ot.compareDates=xt,typeof jQuery<"u"&&typeof jQuery.fn<"u"&&(jQuery.fn.flatpickr=function(n){return Ki(this,n)}),Date.prototype.fp_incr=function(n){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+(typeof n=="string"?parseInt(n,10):n))},typeof window<"u"&&(window.flatpickr=ot);var An={exports:{}},Oy=An.exports,jc;function Ly(){return jc||(jc=1,(function(n,e){(function(t,i){i(e)})(Oy,(function(t){var i=typeof window<"u"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},r={weekdays:{shorthand:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],longhand:["Воскресенье","Понедельник","Вторник","Среда","Четверг","Пятница","Суббота"]},months:{shorthand:["Янв","Фев","Март","Апр","Май","Июнь","Июль","Авг","Сен","Окт","Ноя","Дек"],longhand:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"]},firstDayOfWeek:1,ordinal:function(){return""},rangeSeparator:" — ",weekAbbreviation:"Нед.",scrollTitle:"Прокрутите для увеличения",toggleTitle:"Нажмите для переключения",amPM:["ДП","ПП"],yearAriaLabel:"Год",time_24hr:!0};i.l10ns.ru=r;var s=i.l10ns;t.Russian=r,t.default=s,Object.defineProperty(t,"__esModule",{value:!0})}))})(An,An.exports)),An.exports}var By=Ly();const Fy=["value","id","name","disabled","required","placeholder"],_y=["title"],Py=["title"],Ny=Ie(a.defineComponent({__name:"Flatpickr",props:{modelValue:{default:""},id:{default:"flatpickr-input"},error:{default:""},name:{default:"flatpickr"},placeholder:{default:"Выберите дату"},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},config:{default:()=>({})},format:{default:"DD.MM.YYYY"},locale:{default:"ru"},resetTitle:{default:"Очистить"},calendarTitle:{default:"Выбрать дату"},allowInput:{type:Boolean,default:!0},enableTime:{type:Boolean,default:!1},time_24hr:{type:Boolean,default:!0},dateFormat:{default:"d.m.Y"},minDate:{default:void 0},maxDate:{default:void 0},defaultDate:{default:void 0},mode:{default:"single"}},emits:["update:modelValue","change","open","close","ready"],setup(n,{expose:e,emit:t}){const i=n,r=t,s=a.ref(),o=a.ref(null),l=a.ref(!1),u=a.ref(""),c=a.ref([]),d=a.ref(!1),f=a.computed(()=>Array.isArray(i.error)?i.error?.filter(Boolean)||[]:typeof i.error=="string"&&i.error?[i.error]:[]),p=S=>{if(!S)return null;if(S instanceof Date&&!isNaN(S.getTime()))return S;const w=typeof S=="string"?S.trim():"";if(w){const k=y(w);if(k){const R=new Date(k);if(!isNaN(R.getTime()))return R}const b=ot.parseDate?.(w,i.dateFormat);if(b&&!isNaN(b.getTime()))return b;const T=new Date(w);if(!isNaN(T.getTime()))return T}return null},h=S=>{const w=S instanceof Date?S:p(S);if(!w)return"";const k=String(w.getDate()).padStart(2,"0"),b=String(w.getMonth()+1).padStart(2,"0"),T=w.getFullYear();return i.format==="MM/DD/YYYY"?`${b}/${k}/${T}`:i.format==="YYYY-MM-DD"?`${T}-${b}-${k}`:`${k}.${b}.${T}`},x=S=>{const w=S instanceof Date?S:p(S);if(!w)return"";const k=String(w.getDate()).padStart(2,"0"),b=String(w.getMonth()+1).padStart(2,"0");return`${w.getFullYear()}-${b}-${k}`},y=S=>{if(!S)return"";const w=S.trim(),k=ot.parseDate?.(w,i.dateFormat);if(k&&!isNaN(k.getTime())){const b=k.getFullYear(),T=String(k.getMonth()+1).padStart(2,"0"),R=String(k.getDate()).padStart(2,"0");return`${b}-${T}-${R}`}if(/^\d{4}-\d{2}-\d{2}/.test(w))return w;if(i.format==="MM/DD/YYYY"){const[b,T,R]=w.split("/");if(b&&T&&R)return`${R}-${b.padStart(2,"0")}-${T.padStart(2,"0")}`}if(i.format==="YYYY-MM-DD")return w;if(i.format==="DD.MM.YYYY"){const[b,T,R]=w.split(".");if(b&&T&&R)return`${R}-${T.padStart(2,"0")}-${b.padStart(2,"0")}`}return w},A=S=>S?Array.isArray(S)?S:[S]:[],C=(S,w)=>{const k=A(S),b=k.map(R=>h(R)).filter(Boolean);if(u.value=b.join(", "),l.value=b.length>0,!w?._input)return;if(!b.length){w.clear?.(),w._input.value="";return}const T=k.map(R=>p(R)).filter(R=>!!R);if(!T.length){w.clear?.(),w._input.value=u.value;return}w.setDate?.(T,!1),w._input.value=u.value,(i.mode==="range"||i.mode==="multiple")&&(c.value=w.selectedDates||T)},m=()=>{if(!s.value)return;const S={locale:i.locale==="ru"?By.Russian:void 0,allowInput:i.allowInput,enableTime:i.enableTime,time_24hr:i.time_24hr,dateFormat:i.dateFormat,mode:i.mode,wrap:!0,onClose:(w,k,b)=>{const T=w.length>0;if(c.value=w,!T)return D({instance:b}),!1;if(i.mode==="range"||i.mode==="multiple"){const R=w.map(j=>x(j)),L=Array.isArray(i.modelValue)?i.modelValue:[];if(L.length===R.length&&L.every((j,G)=>j===R[G]))return!1}else{const R=x(w[0]);if(!(i.modelValue!==R))return!1}if(d.value=!0,i.mode==="range"||i.mode==="multiple"){const R=w.map(L=>h(L));u.value=R.join(", "),l.value=R.length>0}else u.value=k,l.value=k.length>0;a.nextTick(()=>{if(i.mode==="multiple"){const R=w.map(L=>x(L));r("update:modelValue",R)}else if(i.mode==="range"){const R=w.map(L=>x(L));r("update:modelValue",R)}else{const R=x(w[0]);r("update:modelValue",R)}r("change",w.map(R=>R.toISOString()),k,b),a.nextTick(()=>{d.value=!1})})},onOpen:w=>{r("open",w)},onReady:w=>{r("ready",w)},...i.config};i.minDate&&i.minDate&&(S.minDate=i.minDate),i.maxDate&&(S.maxDate=i.maxDate),i.defaultDate&&(S.defaultDate=i.defaultDate),o.value=ot(s.value,S),D({instance:o.value})},D=({instance:S})=>{C(i.modelValue,S)},g=()=>{if(i.disabled||!o.value)return;o.value.clear(),o.value._input.value="";const S=i.mode==="range"||i.mode==="multiple"?[]:"";u.value="",l.value=!1,c.value=[],r("update:modelValue",S),r("change",[],"",o.value),C(S,o.value)},M=S=>{const w=S.target;u.value=w.value},v=()=>{if(i.mode==="range"||i.mode==="multiple"){if(o.value?.isOpen)return;if((o.value?.selectedDates||[]).length===0&&c.value.length>0){const w=c.value.map(T=>x(T)),k=Array.isArray(i.modelValue)?i.modelValue:[];k.length===w.length&&k.every((T,R)=>T===w[R])||r("update:modelValue",w)}return}if(i.mode==="single"&&u.value){const S=y(u.value);S&&r("update:modelValue",S)}};return a.watch(()=>i.modelValue,S=>{d.value||C(S,o.value)},{deep:!0}),a.watch(()=>i.disabled,S=>{o.value?._input&&(o.value._input.disabled=S)}),a.onMounted(()=>{m()}),a.onBeforeUnmount(()=>{o.value&&o.value.destroy()}),e({datapicker:o}),(S,w)=>(a.openBlock(),a.createElementBlock("div",{style:{position:"relative"},ref_key:"input",ref:s},[a.createElementVNode("div",{class:a.normalizeClass({"not-valid":f.value.length})},[a.createElementVNode("input",{type:"text",class:"form-control flatpickr",value:u.value,id:S.id,name:S.name,disabled:S.disabled,required:S.required,placeholder:S.placeholder,autocomplete:"off","data-input":"",onInput:M,onBlur:v},null,40,Fy)],2),l.value&&!S.disabled?(a.openBlock(),a.createElementBlock("a",{key:0,class:"remove-button text-dark",onClick:g,style:{position:"absolute",right:"40px",top:"8px","font-size":"16px",cursor:"pointer"},"data-toggle":"",title:S.resetTitle},[...w[0]||(w[0]=[a.createElementVNode("i",{class:"bi bi-x-lg"},null,-1)])],8,_y)):a.createCommentVNode("",!0),a.createElementVNode("a",{class:"remove-button text-dark",style:{position:"absolute",right:"10px",top:"4px","font-size":"20px",cursor:"pointer"},"data-toggle":"",title:S.calendarTitle},[...w[1]||(w[1]=[a.createElementVNode("i",{class:"bi bi-calendar3"},null,-1)])],8,Py),a.createVNode(ki,{errors:f.value},null,8,["errors"])],512))}}),[["__scopeId","data-v-a8bbc430"]]);function Iy(n={}){const{placeholder:e="Поиск...",searchHint:t="Введите минимум 3 символа",searchTypes:i=[{value:"partial",label:"По частичному совпадению"},{value:"exact",label:"По полному совпадению"}],defaultSearchType:r="partial",minSearchLength:s=3}=n,o=a.ref(""),l=a.ref([]),u=a.ref(!1),c=a.ref(r),d=a.ref(!1),f=a.ref(!1),p=a.computed(()=>o.value&&o.value.length>0&&o.value.length<s?`Введите минимум ${s} символа`:t),h=a.computed(()=>i);return{search:o,options:l,isSearchLoading:u,searchType:c,showSettings:d,isLoading:f,enterCharacterMessage:p,filteredSearchTypes:h,onSearch:v=>{o.value=v||"",v&&v.length>=s},onSelect:v=>{},clearSearch:()=>{o.value="",l.value=[]},toggleSettings:()=>{d.value=!d.value},hideSettings:()=>{d.value=!1},setOptions:v=>{l.value=v},setLoading:v=>{u.value=v},setGlobalLoading:v=>{f.value=v}}}const Hy=["disabled"],Vy={key:1,class:"bi bi-three-dots-vertical"},zy=Ie(a.defineComponent({__name:"HeaderSearchForm",props:{placeholder:{default:"Поиск..."},searchHint:{default:"Введите минимум 3 символа"},searchTypes:{default:()=>[{value:"partial",label:"По частичному совпадению"},{value:"exact",label:"По полному совпадению"}]},defaultSearchType:{default:"partial"},minSearchLength:{default:3},searchTypeName:{default:"searchType"},options:{default:()=>[]},isLoading:{type:Boolean,default:!1},isSearchLoading:{type:Boolean,default:!1}},emits:["search","select","searchTypeChange"],setup(n,{expose:e,emit:t}){const i=n,r=t,s={placeholder:i.placeholder,searchHint:i.searchHint,searchTypes:i.searchTypes,defaultSearchType:i.defaultSearchType,minSearchLength:i.minSearchLength},{search:o,options:l,isSearchLoading:u,searchType:c,showSettings:d,isLoading:f,enterCharacterMessage:p,filteredSearchTypes:h,onSearch:x,onSelect:y,clearSearch:A,toggleSettings:C,hideSettings:m}=Iy(s),D=a.ref();a.computed(()=>i.options.length>0?i.options:l.value),a.computed(()=>i.isSearchLoading||u.value),a.computed(()=>i.isLoading||f.value);const g=k=>{const b=k||"";x(b),r("search",b,c.value)},M=k=>{y(k),r("select",k)},v=a.computed(()=>i.searchTypeName);a.watch(c,k=>{r("searchTypeChange",k),m()});const S=k=>{const b=k.target;w.value?.contains(b)||m()},w=a.ref();return a.onMounted(()=>{document.addEventListener("click",S)}),a.onUnmounted(()=>{document.removeEventListener("click",S)}),e({clearSearch:A,setOptions:k=>{l.value=k},setLoading:k=>{u.value=k},setGlobalLoading:k=>{f.value=k},focus:()=>{D.value?.$el?.querySelector("input")?.focus()}}),(k,b)=>(a.openBlock(),a.createElementBlock("div",{ref_key:"wrapperRef",ref:w,class:"position-relative d-flex align-items-center rounded search-select-wrapper"},[(a.openBlock(),a.createBlock(Vt,{ref_key:"selectRef",ref:D,key:a.unref(c),classes:["border-0","outline-none"],style:{maxWidth:"500px",minWidth:"500px"},modelValue:a.unref(o),"onUpdate:modelValue":[b[0]||(b[0]=T=>a.isRef(o)?o.value=T:null),M],reduce:T=>T,options:k.options,placeholder:k.placeholder,onSearch:g,onBlur:a.unref(A),onFocus:a.unref(m),isLoading:k.isSearchLoading,hint:a.unref(p)},null,8,["modelValue","reduce","options","placeholder","onBlur","onFocus","isLoading","hint"])),a.createElementVNode("button",{class:"btn btn-light px-2",onClick:b[1]||(b[1]=(...T)=>a.unref(C)&&a.unref(C)(...T)),disabled:k.isLoading},[k.isLoading?(a.openBlock(),a.createBlock(Lr,{key:0,isSmall:!0})):(a.openBlock(),a.createElementBlock("i",Vy))],8,Hy),a.unref(d)?(a.openBlock(),a.createElementBlock("ul",{key:0,class:"position-absolute setting-list",onClick:b[3]||(b[3]=a.withModifiers(()=>{},["stop"]))},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(a.unref(h),T=>(a.openBlock(),a.createElementBlock("li",{key:T.value,class:"setting-item"},[a.createVNode(Nc,{name:v.value,label:T.label,modelValue:a.unref(c),"onUpdate:modelValue":b[2]||(b[2]=R=>a.isRef(c)?c.value=R:null),type:"radio",group:v.value,trueValue:T.value},null,8,["name","label","modelValue","group","trueValue"])]))),128))])):a.createCommentVNode("",!0)],512))}}),[["__scopeId","data-v-060eb2dc"]]);function jy(n={}){const{loadCountries:e,loadRegions:t,loadDistricts:i,loadLocalities:r,loadStreets:s,countryKey:o="country_id",regionKey:l="region_id",districtKey:u="district_id",localityKey:c="locality_id",streetKey:d="street_id",houseKey:f="house",buildingKey:p="building",apartmentKey:h="apartment",countryLabel:x="Страна",regionLabel:y="Регион",districtLabel:A="Район",localityLabel:C="Населенный пункт",streetLabel:m="Улица",houseLabel:D="Дом",buildingLabel:g="Корпус",apartmentLabel:M="Квартира",columnWidth:v="12",prefix:S="",multiLocalities:w=!1,multiStreets:k=!1,showHouseFields:b=!0}=n,T=a.ref(!1),R=a.ref({}),L=a.ref(!1),N=a.ref(!1),j=a.ref(!1),G=a.ref(!1),I=a.ref(!1),H=a.ref(!1),J=a.ref([]),F=a.ref([]),P=a.ref([]),Q=a.ref([]),z=a.ref([]),q=a.computed(()=>`${S}${o}`),X=a.computed(()=>`${S}${l}`),K=a.computed(()=>`${S}${u}`),se=a.computed(()=>`${S}${c}`),U=a.computed(()=>`${S}${d}`),Z=a.computed(()=>`${S}${f}`),de=a.computed(()=>`${S}${p}`),V=a.computed(()=>`${S}${h}`),W=a.computed(()=>({country:x,region:y,district:A,locality:C,street:m,house:D,building:g,apartment:M})),oe=async()=>{if(e){N.value=!0;try{J.value=await e()}finally{N.value=!1}}},le=async ge=>{if(t){j.value=!0;try{F.value=await t(ge)}finally{j.value=!1}}},ye=async ge=>{if(i){G.value=!0;try{P.value=await i(ge)}finally{G.value=!1}}},we=async ge=>{if(r){I.value=!0;try{Q.value=await r(ge)}finally{I.value=!1}}},xe=async ge=>{if(s){H.value=!0;try{z.value=await s(ge)}finally{H.value=!1}}},Fe=(ge,B=!1)=>{if(T.value)return;if(B){const O={...R.value,[q.value]:ge};R.value=O;return}const E={...R.value,[q.value]:ge,[X.value]:null,[K.value]:null,[se.value]:null,[U.value]:null,[Z.value]:null,[de.value]:null,[V.value]:null};R.value=E,F.value=[],P.value=[],Q.value=[],z.value=[]},_e=(ge,B=!1)=>{if(T.value)return;if(B){const O={...R.value,[X.value]:ge};R.value=O;return}const E={...R.value,[X.value]:ge,[K.value]:null,[se.value]:null,[U.value]:null,[Z.value]:null,[de.value]:null,[V.value]:null};R.value=E,P.value=[],Q.value=[],z.value=[]},Ne=(ge,B=!1)=>{if(T.value)return;if(B){const O={...R.value,[K.value]:ge};R.value=O;return}const E={...R.value,[K.value]:ge,[se.value]:null,[U.value]:null,[Z.value]:null,[de.value]:null,[V.value]:null};R.value=E},ce=(ge,B=!1)=>{if(T.value)return;if(B){const O={...R.value,[se.value]:ge};R.value=O;return}const E={...R.value,[se.value]:ge,[U.value]:null,[Z.value]:null,[de.value]:null,[V.value]:null};R.value=E,z.value=[]},$=async ge=>{T.value||(Fe(ge),ge&&await le(ge))},ie=async ge=>{T.value||(_e(ge),ge&&(await ye(ge),await we(ge)))},me=async ge=>{if(!T.value){if(Ne(ge),!ge){const B=R.value[X.value];B&&await ie(B);return}await we(ge)}},he=async ge=>{T.value||(ce(ge),ge&&await xe(ge))},ke=(ge,B=!1)=>{if(T.value)return;if(B){const O={...R.value,[U.value]:ge};R.value=O;return}const E={...R.value,[U.value]:ge,[Z.value]:null,[de.value]:null,[V.value]:null};R.value=E},Me=ge=>{const B=ge.target,E={...R.value,[Z.value]:B.value};R.value=E},ae=ge=>{const B=ge.target,E={...R.value,[de.value]:B.value};R.value=E},Se=ge=>{const B=ge.target,E={...R.value,[V.value]:B.value};R.value=E},Le=async(ge,B)=>{Object.assign(R.value,ge)},et=async(ge,B)=>{T.value=!0;const E=ge[q.value],O=ge[X.value],_=ge[K.value],Y=ge[se.value];ge[U.value];try{e&&await oe(),t&&(O||E||B)&&await le(E||B),i&&O&&await ye(O),r&&_?await we(_):r&&O&&await we(O),s&&Y&&await xe(Y),Object.assign(R.value,ge)}catch(ne){console.error("❌ Error during auto-fill (skip reset mode):",ne)}finally{a.nextTick(()=>{T.value=!1})}},je=a.computed(()=>{const ge=R.value[q.value];return ge&&J.value.find(E=>String(E.id)===String(ge))?.label||""}),Rt=a.computed(()=>{const ge=R.value[X.value];return ge&&F.value.find(E=>String(E.id)===String(ge))?.label||""}),At=a.computed(()=>{const ge=R.value[K.value];return ge&&P.value.find(B=>String(B.id)===String(ge))?.label||""}),Ge=a.computed(()=>{const ge=R.value[se.value];return ge&&Q.value.find(B=>String(B.id)===String(ge))?.label||""}),te=a.computed(()=>{const ge=R.value[U.value];return ge&&z.value.find(E=>String(E.id)===String(ge))?.label||""}),re=a.computed(()=>{const ge=R.value[Z.value];return ge?`${D} ${ge}`:""}),Pe=a.computed(()=>{const ge=R.value[de.value];return ge?`${g} ${ge}`:""}),ze=a.computed(()=>{const ge=R.value[V.value];return ge?`${M} ${ge}`:""}),Oe=a.computed(()=>[je.value,Rt.value,At.value,Ge.value,te.value,re.value,Pe.value,ze.value].filter(Boolean).join(", ")),Re=a.computed(()=>{const ge=R.value[se.value];return Array.isArray(ge)?ge.length>1:!1}),ct=a.computed(()=>k?!1:b);return{modelValue:R,isLoading:L,isCountryLoading:N,isRegionLoading:j,isDistrictLoading:G,isLocalityLoading:I,isStreetLoading:H,countryOptions:J,regionOptions:F,districtOptions:P,localityOptions:Q,streetOptions:z,finalCountryKey:q,finalRegionKey:X,finalDistrictKey:K,finalLocalityKey:se,finalStreetKey:U,finalHouseKey:Z,finalBuildingKey:de,finalApartmentKey:V,labels:W,selectedCountryLabel:je,selectedRegionLabel:Rt,selectedDistrictLabel:At,selectedLocalityLabel:Ge,selectedStreetLabel:te,selectedHouseLabel:re,selectedBuildingLabel:Pe,selectedApartmentLabel:ze,fullAddress:Oe,isMultiLocalitiesSelected:Re,shouldShowHouseFields:ct,loadCountryOptions:oe,loadRegionOptions:le,loadDistrictOptions:ye,loadLocalityOptions:we,loadStreetOptions:xe,onCountrySelect:$,onRegionSelect:ie,onDistrictSelect:me,onLocalitySelect:he,onStreetSelect:ke,onHouseInput:Me,onBuildingInput:ae,onApartmentInput:Se,resetFieldsByCountry:Fe,resetFieldsByRegion:_e,resetFieldsByDistrict:Ne,resetFieldsByLocality:ce,autoFillForm:Le,autoFillFormSkipReset:et}}const Wy={class:"address-form"},Uy={class:"row"},Gy={class:"form-label"},Yy={class:"form-label"},Qy={class:"form-label"},Ky={class:"form-label"},Jy={class:"form-label"},qy={class:"form-label"},$y=["value","disabled"],Zy={class:"form-label"},Xy=["value","disabled"],ew={class:"form-label"},tw=["value","disabled"],iw={key:0,class:"mt-3"},nw={class:"alert alert-info"},rw=Ie(a.defineComponent({__name:"AddressForm",props:{modelValue:{default:()=>({})},loadCountries:{},loadRegions:{},loadDistricts:{},loadLocalities:{},loadStreets:{},countryKey:{default:"country_id"},regionKey:{default:"region_id"},districtKey:{default:"district_id"},localityKey:{default:"locality_id"},streetKey:{default:"street_id"},houseKey:{default:"house"},buildingKey:{default:"building"},apartmentKey:{default:"apartment"},countryLabel:{default:"Страна"},regionLabel:{default:"Регион"},districtLabel:{default:"Район"},localityLabel:{default:"Населенный пункт"},streetLabel:{default:"Улица"},houseLabel:{default:"Дом"},buildingLabel:{default:"Корпус"},apartmentLabel:{default:"Квартира"},columnWidth:{default:"12"},prefix:{default:""},multiLocalities:{type:Boolean,default:!1},multiStreets:{type:Boolean,default:!1},showHouseFields:{type:Boolean,default:!0},showFullAddress:{type:Boolean,default:!1},disabledFields:{default:()=>({})},allowClear:{default:()=>({})},countryId:{default:void 0},setFilterParamsStringsHandler:{type:Function,default:void 0},filterName:{default:"address"},isParentComponentReady:{type:Boolean,default:!0}},emits:["update:modelValue","change","countryChange","regionChange","districtChange","localityChange","streetChange"],setup(n,{expose:e,emit:t}){const i=n,r=t,s={loadCountries:i.loadCountries,loadRegions:i.loadRegions,loadDistricts:i.loadDistricts,loadLocalities:i.loadLocalities,loadStreets:i.loadStreets,countryKey:i.countryKey,regionKey:i.regionKey,districtKey:i.districtKey,localityKey:i.localityKey,streetKey:i.streetKey,houseKey:i.houseKey,buildingKey:i.buildingKey,apartmentKey:i.apartmentKey,countryLabel:i.countryLabel,regionLabel:i.regionLabel,districtLabel:i.districtLabel,localityLabel:i.localityLabel,streetLabel:i.streetLabel,houseLabel:i.houseLabel,buildingLabel:i.buildingLabel,apartmentLabel:i.apartmentLabel,columnWidth:i.columnWidth,prefix:i.prefix,multiLocalities:i.multiLocalities,multiStreets:i.multiStreets,showHouseFields:i.showHouseFields},{modelValue:o,isCountryLoading:l,isRegionLoading:u,isDistrictLoading:c,isLocalityLoading:d,isStreetLoading:f,countryOptions:p,regionOptions:h,districtOptions:x,localityOptions:y,streetOptions:A,finalCountryKey:C,finalRegionKey:m,finalDistrictKey:D,finalLocalityKey:g,finalStreetKey:M,finalHouseKey:v,finalBuildingKey:S,finalApartmentKey:w,labels:k,selectedCountryLabel:b,selectedRegionLabel:T,selectedDistrictLabel:R,selectedLocalityLabel:L,selectedStreetLabel:N,selectedHouseLabel:j,selectedBuildingLabel:G,selectedApartmentLabel:I,fullAddress:H,isMultiLocalitiesSelected:J,shouldShowHouseFields:F,loadCountryOptions:P,loadRegionOptions:Q,onCountrySelect:z,onRegionSelect:q,onDistrictSelect:X,onLocalitySelect:K,onStreetSelect:se,onHouseInput:U,onBuildingInput:Z,onApartmentInput:de,autoFillForm:V,autoFillFormSkipReset:W}=jy(s);let oe=!1,le=!1,ye=!1;const we=(ae,Se)=>{if(ae===Se)return!0;if(!ae||!Se||typeof ae!="object"||typeof Se!="object")return!1;const Le=Object.keys(ae),et=Object.keys(Se);if(Le.length!==et.length)return!1;for(const je of Le)if(ae[je]!==Se[je])return!1;return!0};a.watch(()=>i.modelValue,async ae=>{if(oe||le||ye||we(o.value,ae))return;if(ae&&(ae[C.value]||ae[m.value]||ae[D.value]||ae[g.value]||ae[M.value])){if(!le){le=!0;try{await W(ae,i.countryId)}catch(Le){console.error("❌ Error during auto-fill:",Le)}finally{le=!1}}}else o.value={...ae}},{immediate:!0,deep:!0}),a.watch(o,ae=>{ye||le||we(i.modelValue,ae)||(oe=!0,ye=!0,r("update:modelValue",{...ae}),r("change",{...ae}),a.nextTick(()=>{oe=!1,ye=!1}))},{deep:!0});let xe=!1;a.watch(()=>i.countryId,async(ae,Se)=>{if(!xe&&!le&&ae!=null&&i.loadRegions){if(ae!==Se){const Le={...o.value,[m.value]:null,[D.value]:null,[g.value]:null,[M.value]:null,[v.value]:null,[S.value]:null,[w.value]:null};o.value=Le}try{xe=!0,await Q(ae)}catch(Le){console.error("❌ AddressForm: Error loading regions",Le)}finally{xe=!1}}},{immediate:!0});const Fe=async ae=>{await z(ae),r("countryChange",ae)},_e=async ae=>{await q(ae),r("regionChange",ae)},Ne=async ae=>{await X(ae),r("districtChange",ae)},ce=async ae=>{await K(ae),r("localityChange",ae)},$=ae=>{se(ae),r("streetChange",ae)},ie=ae=>{U(ae)},me=ae=>{Z(ae)},he=ae=>{de(ae)},ke=a.computed(()=>{if(!i.multiLocalities)return!1;const ae=o.value[M.value];return!Array.isArray(ae)||ae?.length<2});function Me(){return[b.value,T.value,R.value,L.value,N.value,j.value,G.value,I.value].filter(Boolean).join(", ")}return a.watch(()=>j.value,async ae=>{if(!i.setFilterParamsStringsHandler||!i.isParentComponentReady)return!1;i.setFilterParamsStringsHandler(i.filterName,Me())},{deep:!0}),a.watch(()=>G.value,async ae=>{if(!i.setFilterParamsStringsHandler||!i.isParentComponentReady)return!1;i.setFilterParamsStringsHandler(i.filterName,Me())},{deep:!0}),a.watch(()=>I.value,async ae=>{if(!i.setFilterParamsStringsHandler||!i.isParentComponentReady)return!1;i.setFilterParamsStringsHandler(i.filterName,Me())},{deep:!0}),a.watch(()=>N.value,async ae=>{if(!i.setFilterParamsStringsHandler||!i.isParentComponentReady)return!1;i.setFilterParamsStringsHandler(i.filterName,Me())},{deep:!0}),a.watch(()=>L.value,async ae=>{if(!i.setFilterParamsStringsHandler||!i.isParentComponentReady)return!1;i.setFilterParamsStringsHandler(i.filterName,Me())},{deep:!0}),a.watch(()=>R.value,async ae=>{if(!i.setFilterParamsStringsHandler||!i.isParentComponentReady)return!1;i.setFilterParamsStringsHandler(i.filterName,Me())},{deep:!0}),a.watch(()=>T.value,async ae=>{if(!i.setFilterParamsStringsHandler||!i.isParentComponentReady)return!1;i.setFilterParamsStringsHandler(i.filterName,Me())},{deep:!0}),a.watch(()=>b.value,async ae=>{if(!i.setFilterParamsStringsHandler||!i.isParentComponentReady)return!1;i.setFilterParamsStringsHandler(i.filterName,Me())},{deep:!0}),a.onMounted(async()=>{i.loadCountries&&await P()}),e({loadRegionOptions:Q,loadCountryOptions:P,resetForm:()=>{o.value={},p.value=[],h.value=[],x.value=[],y.value=[],A.value=[],r("update:modelValue",{}),i.loadCountries&&P()},getFullAddress:()=>H.value,getValue:()=>Me(),autoFillForm:async ae=>{le=!0;try{await V(ae)}finally{le=!1}},autoFillFormSkipReset:async ae=>{le=!0;try{await W(ae,i.countryId)}finally{le=!1}}}),(ae,Se)=>(a.openBlock(),a.createElementBlock("div",Wy,[a.createElementVNode("div",Uy,[ae.loadCountries?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(`col-${ae.columnWidth} mb-2`)},[a.createElementVNode("label",Gy,a.toDisplayString(a.unref(k).country),1),a.createVNode(Vt,{modelValue:ae.modelValue[a.unref(C)],options:a.unref(p),disabled:ae.disabledFields?.country||a.unref(l),"onUpdate:modelValue":Fe,allowClear:ae.allowClear?.country,isLoading:a.unref(l)},null,8,["modelValue","options","disabled","allowClear","isLoading"])],2)):a.createCommentVNode("",!0),a.createElementVNode("div",{class:a.normalizeClass(`col-${ae.columnWidth} mb-2`)},[a.createElementVNode("label",Yy,a.toDisplayString(a.unref(k).region),1),a.createVNode(Vt,{modelValue:ae.modelValue[a.unref(m)],options:a.unref(h),disabled:ae.disabledFields?.region||a.unref(u),"onUpdate:modelValue":_e,allowClear:ae.allowClear?.region,isLoading:a.unref(u)},null,8,["modelValue","options","disabled","allowClear","isLoading"])],2),a.createElementVNode("div",{class:a.normalizeClass(`col-${ae.columnWidth} mb-2`)},[a.createElementVNode("label",Qy,a.toDisplayString(a.unref(k).district),1),a.createVNode(Vt,{modelValue:ae.modelValue[a.unref(D)],disabled:ae.disabledFields?.district||a.unref(c),options:a.unref(x),"onUpdate:modelValue":Ne,allowClear:ae.allowClear?.district,isLoading:a.unref(c)},null,8,["modelValue","disabled","options","allowClear","isLoading"])],2),a.createElementVNode("div",{class:a.normalizeClass(`col-${ae.columnWidth} mb-2`)},[a.createElementVNode("label",Ky,a.toDisplayString(a.unref(k).locality),1),a.createVNode(Vt,{modelValue:ae.modelValue[a.unref(g)],disabled:ae.disabledFields?.locality||a.unref(d),"onUpdate:modelValue":ce,options:a.unref(y),name:a.unref(g),showAddButton:ke.value,isLoading:a.unref(d),multiple:ae.multiLocalities},null,8,["modelValue","disabled","options","name","showAddButton","isLoading","multiple"])],2),a.unref(J)?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[a.createElementVNode("div",{class:a.normalizeClass(`col-${ae.columnWidth} mb-2`)},[a.createElementVNode("label",Jy,a.toDisplayString(a.unref(k).street),1),a.createVNode(Vt,{modelValue:ae.modelValue[a.unref(M)],disabled:ae.disabledFields?.street||a.unref(f),options:a.unref(A),"onUpdate:modelValue":$,allowClear:ae.allowClear?.street,isLoading:a.unref(f),multiple:ae.multiStreets},null,8,["modelValue","disabled","options","allowClear","isLoading","multiple"])],2),a.unref(F)?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(`col-${ae.columnWidth} mb-2`)},[a.createElementVNode("label",qy,a.toDisplayString(a.unref(k).house),1),a.createElementVNode("input",{type:"text",class:"form-control",value:ae.modelValue[a.unref(v)]||"",disabled:ae.disabledFields?.house,onInput:ie},null,40,$y)],2)):a.createCommentVNode("",!0),a.unref(F)?(a.openBlock(),a.createElementBlock("div",{key:1,class:a.normalizeClass(`col-${ae.columnWidth} mb-2`)},[a.createElementVNode("label",Zy,a.toDisplayString(a.unref(k).building),1),a.createElementVNode("input",{type:"text",class:"form-control",value:ae.modelValue[a.unref(S)]||"",disabled:ae.disabledFields?.building,onInput:me},null,40,Xy)],2)):a.createCommentVNode("",!0),a.unref(F)?(a.openBlock(),a.createElementBlock("div",{key:2,class:a.normalizeClass(`col-${ae.columnWidth} mb-2`)},[a.createElementVNode("label",ew,a.toDisplayString(a.unref(k).apartment),1),a.createElementVNode("input",{type:"text",class:"form-control",value:ae.modelValue[a.unref(w)]||"",disabled:ae.disabledFields?.apartment,onInput:he},null,40,tw)],2)):a.createCommentVNode("",!0)],64))]),ae.showFullAddress&&a.unref(H)?(a.openBlock(),a.createElementBlock("div",iw,[a.createElementVNode("div",nw,[Se[0]||(Se[0]=a.createElementVNode("strong",null,"Полный адрес:",-1)),a.createTextVNode(" "+a.toDisplayString(a.unref(H)),1)])])):a.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-dfe07190"]]),sw={class:"age-from-to-form"},aw={class:"form-group"},ow={key:0,class:"form-label mb-2"},lw={class:"row align-items-center mb-2"},uw={key:0,class:"col-auto"},cw={class:"form-label mb-0"},dw={class:"col"},hw={class:"col"},fw={class:"row align-items-center mb-2"},pw={key:0,class:"col-auto"},mw={class:"form-label mb-0"},gw={class:"col"},bw={class:"col"},vw=Ie(a.defineComponent({__name:"AgeFromAgeTo",props:{modelValue:{default:null},title:{default:""},nameFrom:{default:"age_from"},nameTo:{default:"age_to"},placeholderFrom:{default:null},placeholderTo:{default:null},timeTypePlaceholder:{default:void 0},timeTypeOptions:{default:void 0},disabled:{type:Boolean,default:!1},onFilterUpdate:{type:Function,default:void 0}},emits:["update:modelValue","change"],setup(n,{expose:e,emit:t}){const i=[{id:1,label:"Дней",value:"days"},{id:2,label:"Недель",value:"weeks"},{id:3,label:"Месяцев",value:"months"},{id:4,label:"Лет",value:"years"}],r=n,s=t,o={age_from:null,age_to:null,time_type_from:null,time_type_to:null},l=a.ref({...o}),u=a.computed(()=>r.timeTypeOptions!==void 0&&r.timeTypeOptions!==null?r.timeTypeOptions:i),c=a.computed(()=>r.placeholderFrom??null),d=a.computed(()=>r.placeholderTo??null),f=a.computed(()=>{if(r.timeTypePlaceholder===null||r.timeTypePlaceholder===void 0){console.log("[AgeFromAgeTo] timeTypePlaceholder is null/undefined, placeholder disabled");return}return console.log("[AgeFromAgeTo] timeTypePlaceholder:",r.timeTypePlaceholder),r.timeTypePlaceholder}),p=a.computed(()=>{const m=l.value.age_from;if(!m)return null;const D=l.value.time_type_from,g=u.value.find(({id:M})=>Number(M)===Number(D))?.label;return g?`${m} ${g}`:null}),h=a.computed(()=>{const m=l.value.age_to;if(!m)return null;const D=l.value.time_type_to,g=u.value.find(({id:M})=>Number(M)===Number(D))?.label;return g?`${m} ${g}`:null}),x=()=>{l.value={...o}},y=()=>{r.onFilterUpdate&&(r.onFilterUpdate(r.nameFrom,p.value),r.onFilterUpdate(r.nameTo,h.value))},A=m=>{if(!m.age_from&&!m.age_to&&!m.time_type_from&&!m.time_type_to){s("update:modelValue",null),s("change",{...o}),y();return}const g=[];m.age_from&&m.time_type_from&&g.push(`age_from[time_type]=${m.time_type_from}&age_from[value]=${m.age_from}`),m.age_to&&m.time_type_to&&g.push(`age_to[time_type]=${m.time_type_to}&age_to[value]=${m.age_to}`);const M=g.length>0?g.join("&")+"&":"";s("update:modelValue",M||null),s("change",{...m}),y()},C=m=>{if(m)try{const D=new URLSearchParams(m),g=D.get("age_from[value]"),M=D.get("age_from[time_type]"),v=D.get("age_to[value]"),S=D.get("age_to[time_type]");l.value={age_from:g?Number(g):null,age_to:v?Number(v):null,time_type_from:M?Number(M):null,time_type_to:S?Number(S):null}}catch(D){console.warn("Error parsing query string:",D)}};return a.watch(()=>r.modelValue,(m,D)=>{m!==D&&(m===null?x():C(m))},{immediate:!0}),a.watch(()=>l.value,m=>{A(m)},{deep:!0}),a.onMounted(()=>{r.modelValue&&C(r.modelValue)}),e({reset:x,getFormData:()=>({age_from:l.value.age_from?Number(l.value.age_from):null,age_to:l.value.age_to?Number(l.value.age_to):null,time_type_from:l.value.time_type_from?Number(l.value.time_type_from):null,time_type_to:l.value.time_type_to?Number(l.value.time_type_to):null}),getFilterStrings:()=>({from:p.value,to:h.value})}),(m,D)=>(a.openBlock(),a.createElementBlock("div",sw,[a.createElementVNode("div",aw,[m.title?(a.openBlock(),a.createElementBlock("label",ow,a.toDisplayString(m.title),1)):a.createCommentVNode("",!0),a.createElementVNode("div",lw,[c.value?(a.openBlock(),a.createElementBlock("div",uw,[a.createElementVNode("label",cw,a.toDisplayString(c.value),1)])):a.createCommentVNode("",!0),a.createElementVNode("div",dw,[a.createVNode(ur,{modelValue:l.value.age_from,"onUpdate:modelValue":D[0]||(D[0]=g=>l.value.age_from=g),name:m.nameFrom,maskOptions:{regex:"^[0-9]*$"},disabled:m.disabled},null,8,["modelValue","name","disabled"])]),a.createElementVNode("div",hw,[a.createVNode(Vt,{modelValue:l.value.time_type_from,"onUpdate:modelValue":D[1]||(D[1]=g=>l.value.time_type_from=g),name:`${m.nameFrom}_type`,multiple:!1,options:u.value,allowClear:!1,disabled:m.disabled,placeholder:f.value},null,8,["modelValue","name","options","disabled","placeholder"])])]),a.createElementVNode("div",fw,[d.value?(a.openBlock(),a.createElementBlock("div",pw,[a.createElementVNode("label",mw,a.toDisplayString(d.value),1)])):a.createCommentVNode("",!0),a.createElementVNode("div",gw,[a.createVNode(ur,{modelValue:l.value.age_to,"onUpdate:modelValue":D[2]||(D[2]=g=>l.value.age_to=g),name:m.nameTo,maskOptions:{regex:"^[0-9]*$"},disabled:m.disabled},null,8,["modelValue","name","disabled"])]),a.createElementVNode("div",bw,[a.createVNode(Vt,{modelValue:l.value.time_type_to,"onUpdate:modelValue":D[3]||(D[3]=g=>l.value.time_type_to=g),name:`${m.nameTo}_type`,multiple:!1,options:u.value,allowClear:!1,disabled:m.disabled,placeholder:f.value},null,8,["modelValue","name","options","disabled","placeholder"])])])])]))}}),[["__scopeId","data-v-37fca95f"]]),yw={key:0,class:"r3ui-modal-wrapper"},ww={class:"modal-header pb-4 border-bottom-0"},Cw={key:0,class:"modal-title"},Aw={key:0,class:"modal-body pt-0"},Ew={class:"modal-body-content"},kw={key:1,class:"modal-footer row justify-content-start"},Sw={class:"modal-footer-content"},Wc=a.defineComponent({__name:"DefaultModal",props:{modelValue:{type:Boolean,default:!1},title:{type:String,default:""},scrollable:{type:Boolean,default:!0},centered:{type:Boolean,default:!0},size:{type:String,default:""},style:{type:String,default:""},modalVisibility:{type:Boolean,default:!1}},emits:["update:modelValue","emitModalVisibility"],setup(n,{emit:e}){const t=n,i=e,r=a.useSlots(),s=()=>{i("update:modelValue",!1),i("emitModalVisibility",!1)},o=x=>{x.key==="Escape"&&s()},l=a.computed(()=>t.modelValue||t.modalVisibility);let u=0,c=!1;const d=()=>{if(u>0){document.body.style.overflow="hidden";return}document.body.style.overflow=""},f=()=>{c||(window.addEventListener("keydown",o),c=!0)},p=()=>{c&&(window.removeEventListener("keydown",o),c=!1)},h=(x,y)=>{if(x&&!y){u+=1,u===1&&f(),d();return}!x&&y&&(u=Math.max(0,u-1),u===0&&p(),d())};return a.watch(l,h,{immediate:!0}),a.onUnmounted(()=>{l.value&&(u=Math.max(0,u-1)),u===0&&p(),d()}),(x,y)=>(a.openBlock(),a.createBlock(a.Teleport,{to:"body"},[n.modelValue||n.modalVisibility?(a.openBlock(),a.createElementBlock("div",yw,[a.createElementVNode("div",{class:"overlay",onClick:s}),a.createElementVNode("div",{class:a.normalizeClass(["modal-dialog",{"modal-dialog-scrollable":n.scrollable,"modal-dialog-centered":n.centered,"modal-sm":n.size==="sm","modal-lg":n.size==="lg","modal-xl":n.size==="xl"}])},[a.createElementVNode("div",{class:"modal-content p-4",style:a.normalizeStyle(n.style)},[a.createElementVNode("div",ww,[n.title?(a.openBlock(),a.createElementBlock("h4",Cw,a.toDisplayString(n.title),1)):a.createCommentVNode("",!0),a.createElementVNode("button",{type:"button",class:"btn-close",onClick:s})]),a.unref(r)["modal-body"]||a.unref(r).body?(a.openBlock(),a.createElementBlock("div",Aw,[a.createElementVNode("div",Ew,[a.renderSlot(x.$slots,"modal-body"),a.renderSlot(x.$slots,"body")])])):a.createCommentVNode("",!0),a.unref(r)["modal-footer"]||a.unref(r).footer?(a.openBlock(),a.createElementBlock("div",kw,[a.createElementVNode("div",Sw,[a.renderSlot(x.$slots,"modal-footer"),a.renderSlot(x.$slots,"footer")])])):a.createCommentVNode("",!0)],4)],2)])):a.createCommentVNode("",!0)]))}}),xw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA0RSURBVHgB7Z0NcFTVFcf/770NFQYVTHRECFk+DIJCgoqViLASR21N8KOCoB0Jgh21HZFaO7RSxdFarU1R62CnYk0cRcFaEFKr0OBCJWmH0gStoUbADYtCCZEvh2A2b1/f6WbT996+Jcn7vJvc38yd5d5sJsv77z333HPPvRfgcDgcDofD4XA4HA6Hw+FwOBwOh8OxgYDewyC1BNVSqJaCjnphx2uyaDnSUSKa1ya11HeUI+gFZLLAJFhILdM6XgvhLCRyWC2bO157heCsQ6Ler5b31XJYLYqHhf5mGVItAccBQmpZBu9FTVdehvMWwxVYN9EhtTzS8dolZwxEy8jhaDz3bOFQ3hChZVQQLQXj0JI7VGrNz8MJ7XsbmzAg+rncf0cDslu+xIAdnyjD9uxVcg8fRXbzl8hF9wirpVItFWAUVgUOoRvCkqATxgr1V0wUGufeKjUaRbQKiV+5Ss7fsFUp2NWkjDn+FbK7+JWIWuYhIThTsCZwEAnzF0r3hn5ZOFFcJFRfNVlo/OECqREe8NoaediLq5WiHTuVwi7ErlD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Z2xDzhdwgAAAABJRU5ErkJggg==",Dw={class:"row mb-3 flex-column mx-0"},Ow={class:"col-auto mb-3"},Lw={class:"image-container",style:{width:"90px",height:"90px"}},Bw=["src","alt"],Fw=["src"],_w=["src"],Pw=["src"],Nw=["src"],Iw={class:"col"},Hw={class:"confirmation-content"},Vw={key:0,class:"mb-3"},zw={key:1,class:"text-muted"},jw={key:0,class:"row"},Ww={class:"col-auto"},Uw=["disabled"],Gw={class:"col"},Yw=["disabled"],Qw={key:0,class:"spinner-border spinner-border-sm me-2",role:"status"},Kw=Ie(a.defineComponent({__name:"ConfirmationModal",props:{title:{default:""},message:{default:""},description:{default:""},modalVisibility:{type:Boolean,default:!1},size:{default:""},confirmText:{default:"Да"},cancelText:{default:"Нет"},imageSrc:{default:""},imageAlt:{default:""},loading:{type:Boolean,default:!1},mode:{default:"confirmation"},showButtons:{type:Boolean,default:!0}},emits:["update:modalVisibility","confirm","cancel"],setup(n,{emit:e}){const t=n,i=e,r=d=>{i("update:modalVisibility",d)},s=()=>{switch(t.mode){case"success":return"btn btn-success";case"warning":return"btn btn-warning";case"error":return"btn btn-danger";default:return"btn btn-primary"}},o=()=>{switch(t.mode){case"success":return"Отлично";case"warning":return"Понятно";case"error":return"Понятно";default:return t.confirmText}},l=()=>{t.loading||i("confirm")},u=()=>{t.loading||(i("cancel"),i("update:modalVisibility",!1))},c=d=>{console.warn("Failed to load image:",d.target.src)};return(d,f)=>(a.openBlock(),a.createBlock(Wc,{"model-value":d.modalVisibility,"onUpdate:modelValue":r,size:d.size,title:d.title},{"modal-body":a.withCtx(()=>[a.createElementVNode("div",Dw,[a.createElementVNode("div",Ow,[a.createElementVNode("div",Lw,[d.imageSrc?(a.openBlock(),a.createElementBlock("img",{key:0,class:"w-100",src:d.imageSrc,alt:d.imageAlt||"Изображение"},null,8,Bw)):d.mode==="success"?(a.openBlock(),a.createElementBlock("img",{key:1,class:"w-100",src:a.unref(Tw),alt:"Успех",onError:c},null,40,Fw)):d.mode==="warning"?(a.openBlock(),a.createElementBlock("img",{key:2,class:"w-100",src:a.unref(Mw),alt:"Предупреждение",onError:c},null,40,_w)):d.mode==="error"?(a.openBlock(),a.createElementBlock("img",{key:3,class:"w-100",src:a.unref(Rw),alt:"Ошибка",onError:c},null,40,Pw)):(a.openBlock(),a.createElementBlock("img",{key:4,class:"w-100",src:a.unref(xw),alt:"Подтверждение",onError:c},null,40,Nw))])]),a.createElementVNode("div",Iw,[a.createElementVNode("div",Hw,[d.message?(a.openBlock(),a.createElementBlock("h5",Vw,a.toDisplayString(d.message),1)):a.createCommentVNode("",!0),d.description?(a.openBlock(),a.createElementBlock("p",zw,a.toDisplayString(d.description),1)):a.createCommentVNode("",!0)])])]),a.renderSlot(d.$slots,"modal-body",{},void 0,!0)]),"modal-footer":a.withCtx(()=>[a.renderSlot(d.$slots,"modal-footer",{},()=>[d.showButtons?(a.openBlock(),a.createElementBlock("div",jw,[a.createElementVNode("div",Ww,[d.mode==="confirmation"?(a.openBlock(),a.createElementBlock("button",{key:0,class:"btn btn-light",onClick:u,disabled:d.loading},a.toDisplayString(d.cancelText),9,Uw)):a.createCommentVNode("",!0)]),a.createElementVNode("div",Gw,[a.createElementVNode("button",{class:a.normalizeClass([s(),"w-100"]),onClick:l,disabled:d.loading},[d.loading?(a.openBlock(),a.createElementBlock("span",Qw)):a.createCommentVNode("",!0),a.createTextVNode(" "+a.toDisplayString(o()),1)],10,Yw)])])):a.createCommentVNode("",!0)],!0)]),_:3},8,["model-value","size","title"]))}}),[["__scopeId","data-v-d29a06ff"]]),Jw={key:0,class:"filter-modal-wrapper"},qw={class:"filter-modal-dialog"},$w={class:"filter-modal-content"},Zw={class:"filter-modal-header"},Xw={key:0,class:"filter-modal-title"},eC={class:"filter-modal-body"},tC={class:"filter-modal-footer"},iC=Ie(a.defineComponent({__name:"TableFilterModalComponent",props:{title:{default:""},modalVisibility:{type:Boolean,default:!1}},emits:["emitModalVisibility"],setup(n,{emit:e}){const t=n,i=e,r=()=>{i("emitModalVisibility",!1)},s=o=>{o.key==="Escape"&&r()};return a.watch(()=>t.modalVisibility,o=>{o?(document.body.style.overflow="hidden",window.addEventListener("keydown",s)):(document.body.style.overflow="",window.removeEventListener("keydown",s))},{immediate:!0}),a.onUnmounted(()=>{document.body.style.overflow="",window.removeEventListener("keydown",s)}),(o,l)=>(a.openBlock(),a.createBlock(a.Teleport,{to:"body"},[o.modalVisibility?(a.openBlock(),a.createElementBlock("div",Jw,[a.createElementVNode("div",{class:"filter-modal-overlay",onClick:r}),a.createElementVNode("div",qw,[a.createElementVNode("div",$w,[a.createElementVNode("div",Zw,[o.title?(a.openBlock(),a.createElementBlock("h4",Xw,a.toDisplayString(o.title),1)):a.createCommentVNode("",!0),a.createElementVNode("button",{type:"button",class:"btn-close",onClick:r})]),a.createElementVNode("div",eC,[a.renderSlot(o.$slots,"modal-body",{},void 0,!0)]),a.createElementVNode("div",tC,[a.renderSlot(o.$slots,"modal-footer",{},void 0,!0)])])])])):a.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-fc16a7b7"]]),nC={key:0,class:"px-0"},rC={class:"modal-dialog modal-dialog-centered modal-xl"},sC={class:"modal-content py-2 px-4"},aC={class:"modal-header mb-3"},oC={class:"modal-title"},lC={class:"modal-body row"},uC={class:"modal-footer border-0 row justify-content-start pt-0 pb-3"},Uc=Ie(a.defineComponent({__name:"EditTableColumnsModalComponent",props:{title:{default:""},modalVisibility:{type:Boolean,default:!1}},emits:["emitModalVisibility"],setup(n,{emit:e}){return(t,i)=>t.modalVisibility?(a.openBlock(),a.createElementBlock("div",nC,[a.createElementVNode("div",{class:"overlay",onClick:i[0]||(i[0]=r=>t.$emit("emitModalVisibility",!1))}),a.createElementVNode("div",rC,[a.createElementVNode("div",sC,[a.createElementVNode("div",aC,[a.createElementVNode("h3",oC,a.toDisplayString(t.title),1),a.createElementVNode("button",{type:"button",class:"btn-close",onClick:i[1]||(i[1]=r=>t.$emit("emitModalVisibility",!1))})]),a.createElementVNode("div",lC,[a.renderSlot(t.$slots,"modal-body",{},void 0,!0)]),a.createElementVNode("div",uC,[a.renderSlot(t.$slots,"modal-footer",{},void 0,!0)])])])])):a.createCommentVNode("",!0)}}),[["__scopeId","data-v-420e2861"]]),cC={class:"row mb-4 mx-0","data-test":"PageTitle"},dC={class:"col-12"},hC={class:"row align-items-center"},fC={class:"col-auto"},pC={class:"col d-flex justify-content-end"},mC=Ie(a.defineComponent({__name:"PageTitle",props:{title:{},subtitle:{default:""},titleClass:{default:""},subtitleClass:{default:""},titleStyle:{default:""},subtitleStyle:{default:""}},setup(n){return(e,t)=>(a.openBlock(),a.createElementBlock("div",cC,[a.createElementVNode("div",dC,[a.createElementVNode("div",hC,[a.createElementVNode("div",fC,[a.createElementVNode("h2",{class:a.normalizeClass(["mb-0",e.titleClass]),style:a.normalizeStyle(e.titleStyle)},a.toDisplayString(e.title),7),e.subtitle?(a.openBlock(),a.createElementBlock("p",{key:0,class:a.normalizeClass(["text-muted mb-0 mt-1",e.subtitleClass]),style:a.normalizeStyle(e.subtitleStyle)},a.toDisplayString(e.subtitle),7)):a.createCommentVNode("",!0)]),a.createElementVNode("div",pC,[a.renderSlot(e.$slots,"default",{},void 0,!0)])])])]))}}),[["__scopeId","data-v-fd1eb9a3"]]),gC={class:"card-body"},bC={class:"card-text"},vC=Ie({__name:"Card",props:{title:{type:String,default:""},bodyClass:{type:String,default:"bg-gray-light"}},setup(n){return(e,t)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["card",n.bodyClass])},[a.createElementVNode("div",gC,[a.renderSlot(e.$slots,"bodyHeader",{},void 0,!0),a.createElementVNode("p",bC,[a.renderSlot(e.$slots,"default",{},void 0,!0)])])],2))}},[["__scopeId","data-v-5fa81802"]]),yC={class:"d-flex align-items-center justify-content-center bg-white shadow-sm py-3"},wC=a.defineComponent({__name:"Footer",props:{copyrightText:{type:String,required:!0}},setup(n){const e=n;return(t,i)=>(a.openBlock(),a.createElementBlock("footer",yC,a.toDisplayString(e.copyrightText)+" "+a.toDisplayString(a.unref(Ae)().year()),1))}}),CC={class:"custom-dropdown"},AC={style:{"border-bottom":"2px solid #000"}},EC={class:"dropdown-list-wrapper"},kC={key:0,class:"custom-dropdown-menu"},SC=["onMousedown"],Po=Ie({__name:"DefaultDropDown",props:{links:{type:Array,required:!0},title:{type:String,default:"Actions"},type:{type:String,default:"actions",validator:function(n){return["actions","profile"].includes(n)}}},setup(n){const e=n,t=a.ref(!1),i=l=>{l&&(l.preventDefault(),l.stopPropagation()),t.value=!t.value},r=l=>{if(typeof l!="function"){i();return}l(),i()},s=l=>{l&&(l.preventDefault(),l.stopPropagation()),setTimeout(()=>{t.value=!1},100)},o=a.computed(()=>e.type==="profile");return(l,u)=>(a.openBlock(),a.createElementBlock("div",CC,[o.value?(a.openBlock(),a.createElementBlock("a",{key:0,href:"#",class:"cursor-pointer nav-link dropdown-toggle d-flex align-items-center border rounded p-2",onClick:i,onBlur:s},[u[0]||(u[0]=a.createElementVNode("div",{class:"circl"},null,-1)),a.createTextVNode(" "+a.toDisplayString(n.title),1)],32)):(a.openBlock(),a.createElementBlock("a",{key:1,href:"#",class:"link-dark",type:"button",onClick:i,onBlur:s},[a.createElementVNode("span",AC,a.toDisplayString(n.title),1),u[1]||(u[1]=a.createElementVNode("i",{class:"bi bi-chevron-up dropdown-edit",style:{"font-size":"12px","padding-left":"5px"}},null,-1))],32)),a.createElementVNode("div",EC,[t.value?(a.openBlock(),a.createElementBlock("ul",kC,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(n.links,(c,d)=>(a.openBlock(),a.createElementBlock("li",{key:d},[c.hidden?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["dropdown-item",{disabled:c?.disabled}]),style:{cursor:"pointer"},onMousedown:a.withModifiers(f=>r(c?.action),["prevent"])},a.toDisplayString(c?.title),43,SC))]))),128))])):a.createCommentVNode("",!0)])]))}},[["__scopeId","data-v-2e8e004b"]]),xC="data:image/svg+xml,%3csvg%20width='222'%20height='72'%20viewBox='0%200%20222%2072'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20width='222'%20height='72'%20fill='url(%23pattern0)'/%3e%3cdefs%3e%3cpattern%20id='pattern0'%20patternContentUnits='objectBoundingBox'%20width='1'%20height='1'%3e%3cuse%20xlink:href='%23image0_3427_23538'%20transform='matrix(0.00490002%200%200%200.0151084%200%20-0.00125339)'/%3e%3c/pattern%3e%3cimage%20id='image0_3427_23538'%20width='205'%20height='59'%20xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAM0AAAA7CAYAAADYdw5tAAAQ9UlEQVR4nO1dzW7bSLb+DinJns69uOzF4CodIKMM0EkHdxFl0YAjqhFmN7s4TxD5CaJ+AstPEPsJojxBO08QGonkAFlYvRh42hlMGDQa7eAuWsHt221bYp1ZsKSQxSJFWf6Lmh+ghSiqeETVV3XOd04VCTk+KTiOYw0Gg3VmZsMwnr58+dI9b5v+aKDzNiDH8VCr1VaJqMXMHhG1Op3O0/O26Y+CnDSfMGq1WoOIHgOwmNkTQtx79eqVd952zTty0nzicBynMhgMngOoyEPrxWJxzXXd/nnaNc/ISTMHkMT5DkAVAJjZA/Cg2+32ztey+YRx3gbkmB2u63rFYvEegB4AEFGFiHbq9XrrnE2bS+QzzRxBzjg7AKzQ4fVOp/Ptedk0j8hJM2f45ptvloUQ34WPMfNmqVRayeOck0Huns0ZXrx4sQkgQg4iWpYxT44TQE6a+cSm5phj2/bjM7dkDpGTZj5RSTjerNfrzplaMofISTNncBynAiCRGMy8eobmzCVy0swRQonO1NO+/vrr6pkYNKfISTMnsG27KeXmJNdsjFKpdOsMTJpbFM7bgBzHh+M41uHh4UPDMJrIQJYRhBB5fdoMyEnziWFpaalCRPcNw1geDAZVwzCsyd+KYH17e3vrVIz7gyBPbl5gOI5jDYfDqu/7t4ioSkQOpphRFPSZeb3b7a6dpI1/ROSkuSCo1W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RMVAxMtmNMoYINWooDp4ijiN+mC04OMaXd9fibmLRMqAPbmyGQAw5LhMbyYv76Ab+2vwsZJIep3Nvx3cTlr2UGDmD7KyNjA7o8tiGMaWeq4kiguMk5AzuT9CiNS1Md1ud81xnKdSCBjtQKNivAl4hkTsscHMMemdmVdt277r+/6KYRiWEOJYal0i/HhuZJqdZejmvsc/KPVdh5yYER4v0Notr8Gk+yA40iUL7eQilzwT9+jLn9NjuiE/gxEKBTimjCbZ4fKbL5YhRHjxWep36eZ+G0Cb33xxH+w7QSxFwQxpUA8sPDD18NvvE3fOmbt9z2q12nikLJVKH85qf2Pbtp8juTbNJaI1IcQT0zS/nbRQLsfFxtyR5qwh1cdHzPy9ugeBRB9Ar1gsPhgMBr8AABHdm2b/tRwXC/mT0GaEdA0rcr1/W850nzPzfxGRF3YHbdsGgNETlnPSfKLISTM7lsNFo5Ikk+KmSZt55LjAyJ/uPAPknmkWEVmTSnnCyiIAMMdL7nN8GshJczJILCUaQVXXWN1SKMcng5w0M0DKx6Pqg2bSwjf5bBq1bH7mkqIc54OcNLNjlOyziOh5eG80x3EsmeCMlbBPuyQhx8VBLjnPCCk57yBeNqMWlY4hF6ZN/SSCHBcDmg1qckwDz/P6V69ePQTwN+WjpCJRr1QqPfA87+D0rctxGshJcwL48ccfX129evUDgCUAiymnuqVS6V7+FOZPG7l7doIYVQfgYx1cX75cIcRm/kjA+cC/AdgTzC0pucD7AAAAAElFTkSuQmCC'/%3e%3c/defs%3e%3c/svg%3e",RC=["src","alt"],Gc=Ie(a.defineComponent({__name:"Logo",props:{src:{default:xC},alt:{default:"Logo"},width:{default:154},height:{default:50},className:{default:"logo"},style:{default:()=>({})},brandText:{default:void 0},textSize:{default:12},textColor:{default:"#000"},textWeight:{default:"normal"},showText:{type:Boolean,default:!0}},setup(n){const e=n,t=a.computed(()=>e.src?.startsWith("~/")?e.src.replace("~/","/"):e.src),i=a.computed(()=>{const l="r3ui-logo";return e.className?`${l} ${e.className}`:l}),r=a.computed(()=>({width:typeof e.width=="number"?`${e.width}px`:e.width,height:typeof e.height=="number"?`${e.height}px`:e.height,...e.style})),s=a.computed(()=>"r3ui-logo-container"),o=a.computed(()=>({fontSize:typeof e.textSize=="number"?`${e.textSize}px`:e.textSize,color:e.textColor,fontWeight:e.textWeight}));return(l,u)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["r3ui-logo-container",s.value])},[a.createElementVNode("img",{src:t.value,alt:l.alt,class:a.normalizeClass(i.value),style:a.normalizeStyle(r.value)},null,14,RC),l.brandText&&l.brandText.trim()&&l.showText?(a.openBlock(),a.createElementBlock("span",{key:0,class:"r3ui-logo-text",style:a.normalizeStyle(o.value)},a.toDisplayString(l.brandText),5)):a.createCommentVNode("",!0)],2))}}),[["__scopeId","data-v-57bc5457"]]),MC={class:"navbar navbar-expand-md navbar-light bg-white border-bottom hide-to-print r3ui-header"},TC={class:"row align-items-center"},DC={class:"col-auto pe-0"},OC={class:"col-auto ps-0 text-wrap mx-3 r3ui-header-label"},LC={class:"row"},BC={class:"col-auto d-flex align-items-center"},FC={key:1,class:"text-muted"},_C={class:"col-auto"},PC=Ie(a.defineComponent({__name:"Header",props:{isAuthenticated:{type:Boolean,default:!1},user:{type:Object,default:null},brandText:{type:String,required:!0},loginText:{type:String,default:"Authorization"},rawDropdownLinks:{type:Array,default:()=>[]}},emits:["navigate","logout"],setup(n,{emit:e}){const t=n,i=e,r=a.computed(()=>t.rawDropdownLinks.map(s=>s.name==="logout"?{...s,action:()=>i("logout")}:s.name.includes("http")?{...s,action:()=>i("navigate",s.name,{external:!0})}:{...s,action:()=>i("navigate",`/${s.name}`)}));return(s,o)=>(a.openBlock(),a.createElementBlock("div",MC,[a.createElementVNode("div",{class:a.normalizeClass([t.isAuthenticated?"container-fluid":"container"])},[a.createElementVNode("a",{href:"/",onClick:o[0]||(o[0]=a.withModifiers(()=>i("navigate","/"),["prevent"])),class:"text-decoration-none r3ui-header-link"},[a.createElementVNode("div",TC,[a.createElementVNode("div",DC,[a.renderSlot(s.$slots,"logo",{},()=>[a.createVNode(Gc,{class:"r3ui-header-logo",brandText:t.brandText},null,8,["brandText"])],!0)]),a.createElementVNode("div",OC,a.toDisplayString(t.brandText),1)])]),a.createElementVNode("div",LC,[a.createElementVNode("div",BC,[t.isAuthenticated?(a.openBlock(),a.createBlock(Po,{key:0,type:"profile",title:t.user?.name||"",links:r.value},null,8,["title","links"])):a.createCommentVNode("",!0),t.isAuthenticated?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",FC,a.toDisplayString(t.loginText),1))]),a.createElementVNode("div",_C,[a.renderSlot(s.$slots,"language-selector",{},void 0,!0)])])],2)]))}}),[["__scopeId","data-v-a63a7e7f"]]),NC={class:"col-12 divider divider__wrapper","data-test":"Divider"},No={__name:"Divider",props:{height:{type:[Number,String],default:4},className:{type:String,default:"mb-4"},colorHEX:{type:String,default:"#EFEFEF"}},setup(n){const e=n;return(t,i)=>(a.openBlock(),a.createElementBlock("div",NC,[a.createElementVNode("div",{class:a.normalizeClass(e.className),style:a.normalizeStyle(`height: ${e.height}px ; background-color:${e.colorHEX};`)},null,6)]))}},IC=n=>{const e=a.inject("sidebarContentVisibility"),t=a.inject("toggleSidebar"),i=a.ref({}),r=(l,u)=>{i.value[u]===l?i.value[u]=null:i.value[u]=l},s=a.computed(()=>n.value),o=()=>{if(i.value={},!e?.value)return;const l=u=>{u.childrens?.length&&u.childrens.forEach(l),u.isActive&&u.uniqueKey&&r(u.uniqueKey,u.level)};n.value.forEach(l)};return a.provide("expandAccordion",r),a.provide("expandedAccordion",i),a.watch(n,()=>{o()},{deep:!0}),a.watch(()=>e?.value,()=>{o()},{deep:!0}),a.onMounted(()=>{o()}),{expandedAccordion:i,expandAccordion:r,sidebarLinks:n,collapsedSidebarLinks:s,toggleSidebar:t,sidebarContentVisibility:e}},HC={key:0},VC=["href","target","rel"],zC=["innerHTML"],jC={key:1},WC=["id"],UC=["innerHTML"],GC=["id"],YC={class:"accordion-body"},Yc=Ie(a.defineComponent({name:"SidebarLink",__name:"SidebarLink",props:{sidebarLink:{type:Object,required:!0}},emits:["navigate"],setup(n,{emit:e}){const t=e,i=a.inject("expandAccordion"),r=a.inject("expandedAccordion"),s=o=>{o.isExternal&&o.href?o.openInNewWindow!==!1?window.open(o.href,"_blank","noopener,noreferrer"):window.location.href=o.href:t("navigate",o.href)};return(o,l)=>{const u=a.resolveComponent("SidebarLink",!0);return a.openBlock(),a.createElementBlock("div",null,[n.sidebarLink.childrens?.length?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",HC,[a.createElementVNode("a",{href:n.sidebarLink.href,target:n.sidebarLink.isExternal&&n.sidebarLink.openInNewWindow!==!1?"_blank":void 0,rel:n.sidebarLink.isExternal&&n.sidebarLink.openInNewWindow!==!1?"noopener noreferrer":void 0,onClick:l[0]||(l[0]=a.withModifiers(()=>s(n.sidebarLink),["prevent"])),class:"sidebar-link-item"},[n.sidebarLink.isVisible?(a.openBlock(),a.createElementBlock("span",{key:0,class:a.normalizeClass(["btn btn-light w-100 text-start border-0",[n.sidebarLink.level===0?"nested-links":"extended-menu-item",n.sidebarLink.isActive?"fw-bolder":""]]),style:{background:"#efefef"}},[a.createElementVNode("span",{innerHTML:n.sidebarLink.icon,class:a.normalizeClass([n.sidebarLink.level===0?"pe-3":""])},null,10,zC),a.createElementVNode("span",null,a.toDisplayString(n.sidebarLink.label),1)],2)):a.createCommentVNode("",!0)],8,VC)])),n.sidebarLink.childrens?.length?(a.openBlock(),a.createElementBlock("div",jC,[n.sidebarLink.isVisible?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["accordion-item bg-transparent border-0",[n.sidebarLink.level>0?"extended-menu-item":""]])},[a.createElementVNode("h2",{class:"accordion-header",id:`heading-${n.sidebarLink.uniqueKey}`},[a.createElementVNode("button",{class:a.normalizeClass(["accordion-button outline-none rounded",{"fw-bolder":n.sidebarLink.isActive,collapsed:a.unref(r)&&a.unref(r)[n.sidebarLink.level]!==n.sidebarLink.uniqueKey}]),type:"button",onClick:l[1]||(l[1]=c=>a.unref(i)&&a.unref(i)(n.sidebarLink.uniqueKey,n.sidebarLink.level))},[a.createElementVNode("span",{innerHTML:n.sidebarLink.icon,class:a.normalizeClass([n.sidebarLink.level===0?"pe-3":""])},null,10,UC),a.createTextVNode(" "+a.toDisplayString(n.sidebarLink.label),1)],2)],8,WC),a.createElementVNode("div",{id:`flush-${n.sidebarLink.uniqueKey}`,class:a.normalizeClass(["accordion-collapse collapse",{show:a.unref(r)&&a.unref(r)[n.sidebarLink.level]===n.sidebarLink.uniqueKey}]),style:{transition:"0.5s"}},[a.createElementVNode("div",YC,[a.createElementVNode("ul",null,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(n.sidebarLink.childrens,c=>(a.openBlock(),a.createElementBlock("li",{key:c.uniqueKey},[a.createVNode(u,{sidebarLink:c,onNavigate:l[2]||(l[2]=d=>t("navigate",d))},null,8,["sidebarLink"])]))),128))])])],10,GC)],2)):a.createCommentVNode("",!0)])):a.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-0a6fd930"]]),QC={key:0},KC={key:0},JC=["title"],qC=["innerHTML"],$C={key:1},ZC={key:0,class:"d-flex position-relative",style:{"z-index":"999",top:"-50px"}},XC={class:"hidden-div"},eA={key:1},tA=["href","target","rel"],iA=["title"],nA=["innerHTML"],rA={key:0,class:"ms-2"},sA={key:1,class:"btn btn-light w-100 text-align-left border-0 py-3 bg-white",type:"button"},aA={key:0,class:"ms-2"},Qc=Ie(a.defineComponent({name:"CollapsedSidebarLink",__name:"CollapsedSidebarLink",props:{link:{type:Object,required:!0}},emits:["navigate"],setup(n,{emit:e}){const t=e,i=a.inject("expandAccordion"),r=a.inject("expandedAccordion"),s=o=>{o.isExternal&&o.href?o.openInNewWindow!==!1?window.open(o.href,"_blank","noopener,noreferrer"):window.location.href=o.href:t("navigate",o.href)};return(o,l)=>{const u=a.resolveComponent("CollapsedSidebarLink",!0);return n.link.isVisible?(a.openBlock(),a.createElementBlock("div",QC,[n.link.childrens?.length?(a.openBlock(),a.createElementBlock("div",KC,[a.createElementVNode("button",{title:n.link.label,class:a.normalizeClass(["btn btn-light w-100 text-start border-0",[n.link.icon?"icon":"text-align-left bg-white"]]),type:"button",onClick:l[0]||(l[0]=c=>a.unref(i)?.(n.link.uniqueKey,n.link.level))},[n.link.icon?(a.openBlock(),a.createElementBlock("span",{key:0,innerHTML:n.link.icon},null,8,qC)):(a.openBlock(),a.createElementBlock("span",$C,a.toDisplayString(n.link.label),1))],10,JC),a.unref(r)&&a.unref(r)[n.link.level]===n.link.uniqueKey?(a.openBlock(),a.createElementBlock("div",ZC,[a.createElementVNode("div",XC,[a.createElementVNode("h5",null,a.toDisplayString(n.link.label),1),l[3]||(l[3]=a.createElementVNode("hr",{size:"1"},null,-1)),a.createElementVNode("ul",null,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(n.link.childrens,c=>(a.openBlock(),a.createElementBlock("li",{class:"mb-0",key:c.uniqueKey},[a.createVNode(u,{link:c,onNavigate:l[1]||(l[1]=d=>t("navigate",d))},null,8,["link"])]))),128))])])])):a.createCommentVNode("",!0)])):(a.openBlock(),a.createElementBlock("div",eA,[a.createElementVNode("a",{href:n.link.href,target:n.link.isExternal&&n.link.openInNewWindow!==!1?"_blank":void 0,rel:n.link.isExternal&&n.link.openInNewWindow!==!1?"noopener noreferrer":void 0,onClick:l[2]||(l[2]=a.withModifiers(()=>s(n.link),["prevent"]))},[n.link.level<1?(a.openBlock(),a.createElementBlock("button",{key:0,title:n.link.label,class:"btn btn-light w-100 text-start border-0",type:"button",style:{padding:"15px 20px",background:"#efefef"}},[a.createElementVNode("span",{innerHTML:n.link.icon},null,8,nA),n.link.isExternal?(a.openBlock(),a.createElementBlock("span",rA,"↗")):a.createCommentVNode("",!0)],8,iA)):(a.openBlock(),a.createElementBlock("button",sA,[a.createElementVNode("span",null,a.toDisplayString(n.link.label),1),n.link.isExternal?(a.openBlock(),a.createElementBlock("span",aA,"↗")):a.createCommentVNode("",!0)]))],8,tA)]))])):a.createCommentVNode("",!0)}}}),[["__scopeId","data-v-6d9f8db2"]]),oA={key:0},lA={class:"accordion accordion-flush",id:"accordionMenu"},uA={key:1},cA={class:"row"},dA={class:"col-12"},hA={class:"sidebar-footer p-3"},Kc=a.defineComponent({__name:"Sidebar",props:{links:{type:Array,required:!0},isCollapsed:{type:Boolean,default:!1}},emits:["navigate"],setup(n,{emit:e}){const t=n,i=e,r=a.computed(()=>!t.isCollapsed),{sidebarLinks:s,collapsedSidebarLinks:o}=IC(a.computed(()=>t.links));return(l,u)=>(a.openBlock(),a.createElementBlock("div",{id:"sidebarContent",class:a.normalizeClass(["sidebar sidebarContent",{"collapse-width":!r.value}])},[r.value?(a.openBlock(),a.createElementBlock("div",oA,[a.createElementVNode("div",lA,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(a.unref(s),c=>(a.openBlock(),a.createElementBlock("div",{key:c.uniqueKey},[a.createVNode(Yc,{sidebarLink:c,onNavigate:u[0]||(u[0]=d=>i("navigate",d))},null,8,["sidebarLink"])]))),128))])])):a.createCommentVNode("",!0),r.value?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",uA,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(a.unref(o),c=>(a.openBlock(),a.createElementBlock("div",{key:c.uniqueKey},[a.createVNode(Qc,{link:c,onNavigate:u[1]||(u[1]=d=>i("navigate",d))},null,8,["link"])]))),128))])),a.createElementVNode("div",cA,[a.createElementVNode("div",dA,[a.createVNode(No)])]),a.createElementVNode("div",hA,[a.renderSlot(l.$slots,"footer")])],2))}}),fA=n=>{const e=a.ref(!0),t=a.ref(null),i=a.ref(null),r=a.ref(320),s=()=>{e.value=!1,r.value=60,localStorage.setItem("sideBarVisibility","0")},o=()=>{e.value=!0,r.value=320,localStorage.setItem("sideBarVisibility","1")},l=()=>{e.value?s():o()},u=()=>{localStorage.getItem("sideBarVisibility")==="0"?s():o()},c=()=>{setTimeout(()=>{const d=t.value?.offsetWidth||0,f=r.value||0;if(d>0&&f>0){const p=window.innerWidth<768;i.value=p?d:d-f-20}},50)};return a.provide("sidebarContentVisibility",e),a.provide("toggleSidebar",l),a.watch(r,()=>{c()},{deep:!0}),a.onMounted(()=>{u(),c(),window.addEventListener("resize",c,!0)}),a.onBeforeUnmount(()=>{window.removeEventListener("resize",c,!0)}),{isAuthenticated:n,contentWidth:i,clientWidth:t,sidebarWidth:r,toggleSidebar:l,sidebarContentVisibility:e}},pA={class:"container-fluid p-0"},mA={class:"py-4",style:{"min-height":"90vh"}},gA=a.defineComponent({__name:"MainComponent",props:{sidebarLinks:{type:Array,required:!0},isAuthenticated:{type:Boolean,default:!1}},emits:["navigate"],setup(n,{emit:e}){const t=n,i=e,{contentWidth:r,clientWidth:s,sidebarWidth:o,sidebarContentVisibility:l}=fA(a.computed(()=>t.isAuthenticated));return(u,c)=>(a.openBlock(),a.createElementBlock("div",pA,[a.createElementVNode("div",{class:a.normalizeClass(["d-flex",{"justify-content-center":!t.isAuthenticated}]),ref_key:"clientWidth",ref:s},[t.isAuthenticated?(a.openBlock(),a.createElementBlock("div",{key:0,id:"sidebar",class:"pt-3 sidebar px-0 hide-to-print",style:a.normalizeStyle(`background: #efefef; transition: .2s; width:${a.unref(o)}px;`)},[a.createVNode(Kc,{links:t.sidebarLinks,"is-collapsed":!a.unref(l),onNavigate:c[0]||(c[0]=d=>i("navigate",d))},null,8,["links","is-collapsed"])],4)):a.createCommentVNode("",!0),a.createElementVNode("div",{id:"content-div",style:a.normalizeStyle(`transition: .2s; width:${a.unref(r)}px;`)},[a.createElementVNode("div",mA,[a.renderSlot(u.$slots,"breadcrumbs"),a.renderSlot(u.$slots,"default")])],4)],2)]))}}),bA={class:"row hide-to-print m-0","data-test":"Breadcrumbs"},vA={class:"col"},yA={"aria-label":"breadcrumb"},wA={class:"breadcrumb row"},CA=["aria-current"],AA=["href","onClick"],EA={key:1,class:"text-nowrap"},kA=Ie(a.defineComponent({__name:"Breadcrumbs",props:{crumbs:{type:Array,required:!0}},emits:["navigate"],setup(n,{emit:e}){const t=n,i=e;return(r,s)=>(a.openBlock(),a.createElementBlock("div",bA,[a.createElementVNode("div",vA,[a.createElementVNode("nav",yA,[a.createElementVNode("ol",wA,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(t.crumbs,(o,l)=>(a.openBlock(),a.createElementBlock("li",{key:l,class:a.normalizeClass(["breadcrumb-item text-nowrap col-auto",{active:o.isActive}]),"aria-current":o.isActive?"page":void 0},[o.isActive?(a.openBlock(),a.createElementBlock("span",EA,a.toDisplayString(o.text),1)):(a.openBlock(),a.createElementBlock("a",{key:0,href:o.href,class:"text-decoration-none text-black-40 cursor-pointer text-nowrap",onClick:a.withModifiers(()=>i("navigate",o.href),["prevent"])},a.toDisplayString(o.text),9,AA))],10,CA))),128))])])])]))}}),[["__scopeId","data-v-cff07bcc"]]),SA=a.defineComponent({__name:"LanguageSelector",props:{modelValue:{},options:{},width:{},allowClear:{type:Boolean}},emits:["update:modelValue"],setup(n,{emit:e}){const t=n,i=e,r=a.computed({get:()=>t.modelValue,set:s=>i("update:modelValue",s)});return(s,o)=>(a.openBlock(),a.createElementBlock("div",{style:a.normalizeStyle({minWidth:s.width||"150px"})},[a.createVNode(Vt,{class:"w-100",modelValue:r.value,"onUpdate:modelValue":o[0]||(o[0]=l=>r.value=l),options:s.options,"allow-clear":s.allowClear??!1},null,8,["modelValue","options","allow-clear"])],4))}}),xA={key:0,class:"card-header"},RA={class:"card-title mb-0"},MA={class:"card-body"},TA={class:"row"},DA={class:"row align-items-center"},OA={class:"col-auto label pe-0"},LA={class:"col-auto"},BA={key:0,class:"mt-3"},FA=Ie(a.defineComponent({__name:"CardInfo",props:{title:{default:""},fields:{default:()=>[]},cardClass:{default:""},variant:{default:"default"},size:{default:"md"},bordered:{type:Boolean,default:!0},shadow:{type:Boolean,default:!1}},setup(n){const e=n,t=a.computed(()=>{const i=["card-info"];return e.variant!=="default"&&i.push(`card-info--${e.variant}`),e.size!=="md"&&i.push(`card-info--${e.size}`),e.bordered&&i.push("card-info--bordered"),e.shadow&&i.push("card-info--shadow"),e.cardClass&&i.push(e.cardClass),i.join(" ")});return(i,r)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["card",t.value])},[i.title?(a.openBlock(),a.createElementBlock("div",xA,[a.createElementVNode("h5",RA,a.toDisplayString(i.title),1)])):a.createCommentVNode("",!0),a.createElementVNode("div",MA,[a.createElementVNode("div",TA,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(i.fields,(s,o)=>(a.openBlock(),a.createElementBlock("div",{class:"col-12 mb-2",key:o},[a.createElementVNode("div",DA,[a.createElementVNode("div",OA,a.toDisplayString(s.label)+":",1),a.createElementVNode("div",LA,[a.createElementVNode("span",{class:a.normalizeClass(["value",s.valueClass]),style:a.normalizeStyle(s.valueStyle)},a.toDisplayString(s.value),7)])])]))),128))]),i.$slots.default?(a.openBlock(),a.createElementBlock("div",BA,[a.renderSlot(i.$slots,"default",{},void 0,!0)])):a.createCommentVNode("",!0)])],2))}}),[["__scopeId","data-v-cdf01ae2"]]),_A={class:"placeholder-glow"},PA={class:"page-card"},NA={class:"row hide-to-print card-header mx-0 w-100"},IA={class:"col"},HA={class:"row flex-nowrap align-items-center"},VA={class:"col-auto"},zA={key:0,class:"col-auto"},jA={class:"row",style:{padding:"20px"}},WA={class:"d-flex align-items-start"},UA={class:"nav flex-column nav-pills",id:"v-pills-tab",role:"tablist","aria-orientation":"vertical"},GA=["onClick"],YA={class:"tab-content",id:"v-pills-tabContent"},QA={key:0,class:"title"},KA={key:1},JA={key:0},qA={key:0},$A=["title"],ZA={key:2},XA={class:"row"},eE={class:"col-12"},tE=Ie(a.defineComponent({__name:"PageCard",props:{actionLinks:{default:()=>[]},tabs:{default:()=>[]},col:{default:"auto"},actionsTitle:{default:"Действия"},isLoading:{type:Boolean,default:!1}},emits:["click","active-tab"],setup(n,{emit:e}){const t=n,i=e,r=a.ref(0),s=a.useSlots(),o=d=>{i("click",d)},l=a.computed(()=>!!s.header),u=a.computed(()=>!!s.footer),c=d=>{r.value=d,i("active-tab",t.tabs[d])};return a.onMounted(()=>{}),(d,f)=>(a.openBlock(),a.createElementBlock("div",null,[a.withDirectives(a.createElementVNode("p",_A,[...f[0]||(f[0]=[a.createElementVNode("span",{class:"placeholder col-12 mb-1",style:{"min-height":"300px","border-radius":"4px"}},null,-1)])],512),[[a.vShow,d.isLoading]]),a.withDirectives(a.createElementVNode("div",PA,[a.createElementVNode("div",NA,[a.createElementVNode("div",IA,[a.createElementVNode("div",HA,[a.createElementVNode("div",VA,[l.value?a.renderSlot(d.$slots,"header",{key:0},void 0,!0):a.createCommentVNode("",!0)])])]),d.actionLinks.length>0?(a.openBlock(),a.createElementBlock("div",zA,[a.createVNode(Po,{title:d.actionsTitle,links:d.actionLinks,onClick:o},null,8,["title","links"])])):a.createCommentVNode("",!0)]),a.createElementVNode("div",jA,[a.createElementVNode("div",WA,[a.createElementVNode("div",UA,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(d.tabs,(p,h)=>a.withDirectives((a.openBlock(),a.createElementBlock("button",{key:h,class:a.normalizeClass(["nav-link me-5",[h===r.value?"active":""]]),onClick:x=>c(h)},a.toDisplayString(p.navLink),11,GA)),[[a.vShow,p.navLink]])),128))]),a.createElementVNode("div",YA,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(d.tabs,(p,h)=>(a.openBlock(),a.createElementBlock("div",{key:h,class:a.normalizeClass(["tab-pane fade row",[h===r.value?"show active d-flex":""]])},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(p.contents,(x,y)=>(a.openBlock(),a.createElementBlock("div",{key:y,class:a.normalizeClass(`col-${d.col} mb-3`)},[x.subtitle?(a.openBlock(),a.createElementBlock("div",QA,a.toDisplayString(x.subtitle)+": ",1)):a.createCommentVNode("",!0),!x.type||x.type==="text"?(a.openBlock(),a.createElementBlock("div",KA,[typeof x.text=="string"?(a.openBlock(),a.createElementBlock("div",JA,a.toDisplayString(x.text),1)):x.text?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:1},a.renderList(x.text,(A,C)=>(a.openBlock(),a.createElementBlock("div",{key:C},[typeof A=="string"?(a.openBlock(),a.createElementBlock("div",qA,a.toDisplayString(A),1)):a.createCommentVNode("",!0),typeof A=="object"?(a.openBlock(),a.createElementBlock("div",{key:1,title:A?.description||""},a.toDisplayString(A.name),9,$A)):a.createCommentVNode("",!0)]))),128)):a.createCommentVNode("",!0)])):x.type==="custom"&&x.slotName?(a.openBlock(),a.createElementBlock("div",ZA,[a.renderSlot(d.$slots,x.slotName,{content:x},void 0,!0)])):a.createCommentVNode("",!0)],2))),128))],2))),128))])]),u.value?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[a.createVNode(No,{class:"mt-3"}),a.createElementVNode("div",XA,[a.createElementVNode("div",eE,[a.renderSlot(d.$slots,"footer",{},void 0,!0)])])],64)):a.createCommentVNode("",!0)])],512),[[a.vShow,!d.isLoading]])]))}}),[["__scopeId","data-v-57cc294f"]]),iE={key:0,class:"row w-100 parent"},nE={class:"col-12 wrapper w-100"},rE=["innerHTML"],Jc={__name:"Toast",props:{message:{type:String,default:""},isError:{type:Boolean,default:!1}},setup(n){const e=n,t=a.ref(e.message);a.watch(()=>e.message,r=>{t.value=r});const i=()=>{t.value=""};return(r,s)=>t.value&&t.value.length>0?(a.openBlock(),a.createElementBlock("div",iE,[a.createElementVNode("div",nE,[a.createElementVNode("div",{class:a.normalizeClass(["alert align-items-center message",[e.isError?"alert-danger":"alert-success"]]),innerHTML:t.value},null,10,rE),a.createElementVNode("i",{class:"bi bi-x-lg",onClick:i})])])):a.createCommentVNode("",!0)}},sE={key:0,class:"row","data-test":"ErrorMessageComponent"},aE={class:"col-12",id:"alert"},oE={key:0,class:"bi bi-exclamation-triangle pe-2","aria-hidden":"true"},lE=["innerHTML"],uE=Ie(a.defineComponent({__name:"ErrorMessageComponent",props:{message:{default:""},warningIcon:{type:Boolean,default:!1},type:{default:"danger"},asHtml:{type:Boolean,default:!1}},setup(n){const e=n,t=a.computed(()=>e.message===null||e.message===void 0?!1:Array.isArray(e.message)?e.message.length>0:!!(e.message&&typeof e.message=="string"&&e.message.length>0&&e.message.trim()!=="")),i=a.computed(()=>Array.isArray(e.message)?e.message.join(", "):e.message||"");return(r,s)=>t.value?(a.openBlock(),a.createElementBlock("div",sE,[a.createElementVNode("div",aE,[a.createElementVNode("div",{class:a.normalizeClass([i.value?`alert alert-${r.type}`:"",{"d-flex align-items-center":r.warningIcon}])},[i.value&&r.warningIcon?(a.openBlock(),a.createElementBlock("i",oE)):a.createCommentVNode("",!0),r.asHtml?(a.openBlock(),a.createElementBlock("div",{key:1,innerHTML:i.value},null,8,lE)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:2},[a.createTextVNode(a.toDisplayString(i.value),1)],64))],2)])])):a.createCommentVNode("",!0)}}),[["__scopeId","data-v-8fc0656d"]]),cE={class:"accordion-header",style:{background:"transparent"}},dE=["aria-expanded","aria-controls"],hE={key:0},fE=["id"],pE={class:"accordion-body px-0"},mE=Ie(a.defineComponent({__name:"DefaultAccordion",props:{title:{},titleFontSize:{default:16},isCollapsed:{type:Boolean,default:!0},isVisibleBorderBottom:{type:Boolean,default:!0},isCollapsedDefault:{type:Boolean,default:!0},isTitleBold:{type:Boolean,default:!1},fullWidth:{type:Boolean,default:!1}},emits:["update-visibility"],setup(n,{emit:e}){const t=n,i=e,r=a.useSlots(),s=a.ref(Math.random().toString(36).substr(2,9)),o=u=>!!r[u],l=()=>{const u=!t.isCollapsed;i("update-visibility",u)};return a.watch(()=>t.isCollapsedDefault,u=>{i("update-visibility",u)},{deep:!0}),(u,c)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["accordion accordion-flush",{"w-100":u.fullWidth}]),style:{background:"transparent"}},[a.createElementVNode("div",{class:a.normalizeClass(["accordion-item",{"border-bottom":u.isVisibleBorderBottom}]),style:{background:"transparent"}},[a.createElementVNode("h2",cE,[a.createElementVNode("button",{onClick:l,class:a.normalizeClass(["accordion-button collapsed ps-0",{visible:!u.isCollapsed,"fw-bolder":u.isTitleBold}]),style:a.normalizeStyle(`font-size:${u.titleFontSize}px;`),type:"button","aria-expanded":!u.isCollapsed,"aria-controls":`accordion-${s.value}`},a.toDisplayString(u.title),15,dE)]),a.createVNode(a.Transition,{name:"fade"},{default:a.withCtx(()=>[o("accordion-body")?(a.openBlock(),a.createElementBlock("div",hE,[a.withDirectives(a.createElementVNode("div",{class:"accordion-collapse collapse show",id:`accordion-${s.value}`},[a.createElementVNode("div",pE,[a.renderSlot(u.$slots,"accordion-body",{},void 0,!0)])],8,fE),[[a.vShow,!u.isCollapsed]])])):a.createCommentVNode("",!0)]),_:3})],2)],2))}}),[["__scopeId","data-v-99bfaf08"]]),gE={class:"accordion-header",style:{background:"transparent"}},bE=["onClick"],vE={class:"d-flex align-items-center w-100"},yE={class:"d-flex align-items-center flex-grow-1"},wE=["value","id","onChange"],CE={class:"form-check-label ps-2 text-body flex-grow-1"},AE={class:"accordion-collapse collapse show","aria-labelledby":"flush-animal-type","data-bs-parent":""},EE={class:"col d-flex flex-wrap px-4"},kE={class:"form-check"},SE=["value","id"],xE=["for"],RE=Ie(a.defineComponent({__name:"KindCheckboxesAccordion",props:{checkboxName:{default:"kinds"},kindGroups:{default:()=>[]},defaultSelectedKinds:{default:()=>[]},defaultSelectedKindGroups:{default:()=>[]}},emits:["emitSelectedKinds","emitSelectedKindGroups"],setup(n,{expose:e,emit:t}){const i=n,r=t,s=a.ref([]),o=a.ref([]),l=a.ref(null),u=a.ref([]),c=(x,y)=>{const A=x.target;if(A.tagName==="INPUT"||A.closest(".form-check-input"))return!1;if(A.tagName==="SPAN"||A.closest(".form-check-label"))return l.value!==Number(y)?(l.value=Number(y),!0):(l.value=null,!0);if(l.value!==Number(y))return l.value=Number(y),!0;l.value=null},d=x=>{const y=i.kindGroups.find(C=>C.id===x);if(!y)return;if(s.value.includes(String(x))){const C=y.kinds.map(D=>String(D.id)),m=[...o.value];C.forEach(D=>{m.includes(D)||m.push(D)}),o.value=m}else{const C=y.kinds.map(m=>String(m.id));o.value=o.value.filter(m=>!C.includes(String(m)))}},f=()=>{a.nextTick(()=>{p()})},p=()=>{const x=[];i.kindGroups.forEach((C,m)=>{const D=u.value?.[m];if(!D)return;const g=C.kinds.map(v=>String(v.id)),M=o.value.filter(v=>g.includes(String(v)));M.length===0?(D.indeterminate=!1,D.checked=!1):M.length===g.length?(D.indeterminate=!1,D.checked=!0,x.push(String(C.id))):(D.indeterminate=!0,D.checked=!1)});const y=s.value.map(String).sort(),A=x.map(String).sort();JSON.stringify(y)!==JSON.stringify(A)&&(s.value=x)};a.watch(()=>o.value,x=>{r("emitSelectedKinds",x)},{deep:!0}),a.watch(()=>s.value,x=>{r("emitSelectedKindGroups",x)},{deep:!0}),a.onMounted(()=>{i.defaultSelectedKinds.length>0&&(o.value=[...i.defaultSelectedKinds]),i.defaultSelectedKindGroups.length>0&&(s.value=[...i.defaultSelectedKindGroups]),a.nextTick(()=>{p()})});const h=a.computed(()=>c);return e({toggleAccordion:c}),(x,y)=>(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(x.kindGroups,(A,C)=>(a.openBlock(),a.createElementBlock("div",{class:"accordion-item border-bottom",style:{background:"transparent"},key:A.id},[x.kindGroups[C].kinds.length>0?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[a.createElementVNode("div",gE,[a.createElementVNode("button",{class:a.normalizeClass(["accordion-button ps-0",{collapsed:l.value===Number(C)}]),type:"button",style:{background:"transparent"},onClick:m=>h.value(m,C)},[a.createElementVNode("div",vE,[a.createElementVNode("div",yE,[a.withDirectives(a.createElementVNode("input",{class:"form-check-input m-0",type:"checkbox",ref_for:!0,ref_key:"groupCheckbox",ref:u,value:`${A.id}`,id:`${x.checkboxName}_${C}`,name:"kind_group","onUpdate:modelValue":y[0]||(y[0]=m=>s.value=m),onClick:y[1]||(y[1]=a.withModifiers(()=>{},["stop"])),onChange:m=>d(A.id)},null,40,wE),[[a.vModelCheckbox,s.value]]),a.createElementVNode("span",CE,a.toDisplayString(A.name),1)]),a.createElementVNode("i",{class:a.normalizeClass(["bi bi-chevron-down accordion-icon",{rotated:l.value===Number(C)}])},null,2)])],10,bE)]),a.withDirectives(a.createElementVNode("div",AE,[a.createElementVNode("div",EE,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(x.kindGroups[C].kinds,(m,D)=>(a.openBlock(),a.createElementBlock("div",{class:"col-6 mb-2",key:D},[a.createElementVNode("div",kE,[a.withDirectives(a.createElementVNode("input",{class:"form-check-input",type:"checkbox",value:`${m.id}`,id:`${x.checkboxName}_${m.id}`,name:"kinds","onUpdate:modelValue":y[2]||(y[2]=g=>o.value=g),onChange:f},null,40,SE),[[a.vModelCheckbox,o.value]]),a.createElementVNode("label",{class:"form-check-label",for:`${x.checkboxName}_${m.id}`},[a.createElementVNode("small",null,a.toDisplayString(m.name),1)],8,xE)])]))),128))])],512),[[a.vShow,l.value===Number(C)]])],64)):a.createCommentVNode("",!0)]))),128))}}),[["__scopeId","data-v-c0a701d5"]]);class dt{constructor(e){this.table=e}reloadData(e,t,i){return this.table.dataLoader.load(e,void 0,void 0,void 0,t,i)}langText(){return this.table.modules.localize.getText(...arguments)}langBind(){return this.table.modules.localize.bind(...arguments)}langLocale(){return this.table.modules.localize.getLocale(...arguments)}commsConnections(){return this.table.modules.comms.getConnections(...arguments)}commsSend(){return this.table.modules.comms.send(...arguments)}layoutMode(){return this.table.modules.layout.getMode()}layoutRefresh(e){return this.table.modules.layout.layout(e)}subscribe(){return this.table.eventBus.subscribe(...arguments)}unsubscribe(){return this.table.eventBus.unsubscribe(...arguments)}subscribed(e){return this.table.eventBus.subscribed(e)}subscriptionChange(){return this.table.eventBus.subscriptionChange(...arguments)}dispatch(){return this.table.eventBus.dispatch(...arguments)}chain(){return this.table.eventBus.chain(...arguments)}confirm(){return this.table.eventBus.confirm(...arguments)}dispatchExternal(){return this.table.externalEvents.dispatch(...arguments)}subscribedExternal(e){return this.table.externalEvents.subscribed(e)}subscriptionChangeExternal(){return this.table.externalEvents.subscriptionChange(...arguments)}options(e){return this.table.options[e]}setOption(e,t){return typeof t<"u"&&(this.table.options[e]=t),this.table.options[e]}deprecationCheck(e,t,i){return this.table.deprecationAdvisor.check(e,t,i)}deprecationCheckMsg(e,t){return this.table.deprecationAdvisor.checkMsg(e,t)}deprecationMsg(e){return this.table.deprecationAdvisor.msg(e)}module(e){return this.table.module(e)}}class Ze{static elVisible(e){return!(e.offsetWidth<=0&&e.offsetHeight<=0)}static elOffset(e){var t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset-document.documentElement.clientTop,left:t.left+window.pageXOffset-document.documentElement.clientLeft}}static retrieveNestedData(e,t,i){var r=e?t.split(e):[t],s=r.length,o;for(let l=0;l<s&&(i=i[r[l]],o=i,!!i);l++);return o}static deepClone(e,t,i=[]){var r={}.__proto__,s=[].__proto__;t||(t=Object.assign(Array.isArray(e)?[]:{},e));for(var o in e){let l=e[o],u,c;l!=null&&typeof l=="object"&&(l.__proto__===r||l.__proto__===s)&&(u=i.findIndex(d=>d.subject===l),u>-1?t[o]=i[u].copy:(c=Object.assign(Array.isArray(l)?[]:{},l),i.unshift({subject:l,copy:c}),t[o]=this.deepClone(l,c,i)))}return t}}let ME=class Dd extends dt{constructor(e,t,i){super(e),this.element=t,this.container=this._lookupContainer(),this.parent=i,this.reversedX=!1,this.childPopup=null,this.blurable=!1,this.blurCallback=null,this.blurEventsBound=!1,this.renderedCallback=null,this.visible=!1,this.hideable=!0,this.element.classList.add("tabulator-popup-container"),this.blurEvent=this.hide.bind(this,!1),this.escEvent=this._escapeCheck.bind(this),this.destroyBinding=this.tableDestroyed.bind(this),this.destroyed=!1}tableDestroyed(){this.destroyed=!0,this.hide(!0)}_lookupContainer(){var e=this.table.options.popupContainer;return typeof e=="string"?(e=document.querySelector(e),e||console.warn("Menu Error - no container element found matching selector:",this.table.options.popupContainer,"(defaulting to document body)")):e===!0&&(e=this.table.element),e&&!this._checkContainerIsParent(e)&&(e=!1,console.warn("Menu Error - container element does not contain this table:",this.table.options.popupContainer,"(defaulting to document body)")),e||(e=document.body),e}_checkContainerIsParent(e,t=this.table.element){return e===t?!0:t.parentNode?this._checkContainerIsParent(e,t.parentNode):!1}renderCallback(e){this.renderedCallback=e}containerEventCoords(e){var t=!(e instanceof MouseEvent),i=t?e.touches[0].pageX:e.pageX,r=t?e.touches[0].pageY:e.pageY;if(this.container!==document.body){let s=Ze.elOffset(this.container);i-=s.left,r-=s.top}return{x:i,y:r}}elementPositionCoords(e,t="right"){var i=Ze.elOffset(e),r,s,o;switch(this.container!==document.body&&(r=Ze.elOffset(this.container),i.left-=r.left,i.top-=r.top),t){case"right":s=i.left+e.offsetWidth,o=i.top-1;break;case"bottom":s=i.left,o=i.top+e.offsetHeight;break;case"left":s=i.left,o=i.top-1;break;case"top":s=i.left,o=i.top;break;case"center":s=i.left+e.offsetWidth/2,o=i.top+e.offsetHeight/2;break}return{x:s,y:o,offset:i}}show(e,t){var i,r,s,o,l;return this.destroyed||this.table.destroyed?this:(e instanceof HTMLElement?(s=e,l=this.elementPositionCoords(e,t),o=l.offset,i=l.x,r=l.y):typeof e=="number"?(o={top:0,left:0},i=e,r=t):(l=this.containerEventCoords(e),i=l.x,r=l.y,this.reversedX=!1),this.element.style.top=r+"px",this.element.style.left=i+"px",this.container.appendChild(this.element),typeof this.renderedCallback=="function"&&this.renderedCallback(),this._fitToScreen(i,r,s,o,t),this.visible=!0,this.subscribe("table-destroy",this.destroyBinding),this.element.addEventListener("mousedown",u=>{u.stopPropagation()}),this)}_fitToScreen(e,t,i,r,s){var o=this.container===document.body?document.documentElement.scrollTop:this.container.scrollTop;(e+this.element.offsetWidth>=this.container.offsetWidth||this.reversedX)&&(this.element.style.left="",i?this.element.style.right=this.container.offsetWidth-r.left+"px":this.element.style.right=this.container.offsetWidth-e+"px",this.reversedX=!0);let l=Math.max(this.container.offsetHeight,o?this.container.scrollHeight:0);if(t+this.element.offsetHeight>l)if(i)switch(s){case"bottom":this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight-i.offsetHeight-1+"px";break;default:this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight+i.offsetHeight+1+"px"}else this.element.style.height=l+"px"}isVisible(){return this.visible}hideOnBlur(e){return this.blurable=!0,this.visible&&(setTimeout(()=>{this.visible&&(this.table.rowManager.element.addEventListener("scroll",this.blurEvent),this.subscribe("cell-editing",this.blurEvent),document.body.addEventListener("click",this.blurEvent),document.body.addEventListener("contextmenu",this.blurEvent),document.body.addEventListener("mousedown",this.blurEvent),window.addEventListener("resize",this.blurEvent),document.body.addEventListener("keydown",this.escEvent),this.blurEventsBound=!0)},100),this.blurCallback=e),this}_escapeCheck(e){e.keyCode==27&&this.hide()}blockHide(){this.hideable=!1}restoreHide(){this.hideable=!0}hide(e=!1){return this.visible&&this.hideable&&(this.blurable&&this.blurEventsBound&&(document.body.removeEventListener("keydown",this.escEvent),document.body.removeEventListener("click",this.blurEvent),document.body.removeEventListener("contextmenu",this.blurEvent),document.body.removeEventListener("mousedown",this.blurEvent),window.removeEventListener("resize",this.blurEvent),this.table.rowManager.element.removeEventListener("scroll",this.blurEvent),this.unsubscribe("cell-editing",this.blurEvent),this.blurEventsBound=!1),this.childPopup&&this.childPopup.hide(),this.parent&&(this.parent.childPopup=null),this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.visible=!1,this.blurCallback&&!e&&this.blurCallback(),this.unsubscribe("table-destroy",this.destroyBinding)),this}child(e){return this.childPopup&&this.childPopup.hide(),this.childPopup=new Dd(this.table,e,this),this.childPopup}};class Ve extends dt{constructor(e,t){super(e),this._handler=null}initialize(){}registerTableOption(e,t){this.table.optionsList.register(e,t)}registerColumnOption(e,t){this.table.columnManager.optionsList.register(e,t)}registerTableFunction(e,t){typeof this.table[e]>"u"?this.table[e]=(...i)=>(this.table.initGuard(e),t(...i)):console.warn("Unable to bind table function, name already in use",e)}registerComponentFunction(e,t,i){return this.table.componentFunctionBinder.bind(e,t,i)}registerDataHandler(e,t){this.table.rowManager.registerDataPipelineHandler(e,t),this._handler=e}registerDisplayHandler(e,t){this.table.rowManager.registerDisplayPipelineHandler(e,t),this._handler=e}displayRows(e){var t=this.table.rowManager.displayRows.length-1,i;if(this._handler&&(i=this.table.rowManager.displayPipeline.findIndex(r=>r.handler===this._handler),i>-1&&(t=i)),e&&(t=t+e),this._handler)return t>-1?this.table.rowManager.getDisplayRows(t):this.activeRows()}activeRows(){return this.table.rowManager.activeRows}refreshData(e,t){t||(t=this._handler),t&&this.table.rowManager.refreshActiveData(t,!1,e)}footerAppend(e){return this.table.footerManager.append(e)}footerPrepend(e){return this.table.footerManager.prepend(e)}footerRemove(e){return this.table.footerManager.remove(e)}popup(e,t){return new ME(this.table,e,t)}alert(e,t){return this.table.alertManager.alert(e,t)}clearAlert(){return this.table.alertManager.clear()}}var TE={rownum:function(n,e,t,i,r,s){return s.getPosition()}};class br extends Ve{static moduleName="accessor";static accessors=TE;constructor(e){super(e),this.allowedTypes=["","data","download","clipboard","print","htmlOutput"],this.registerColumnOption("accessor"),this.registerColumnOption("accessorParams"),this.registerColumnOption("accessorData"),this.registerColumnOption("accessorDataParams"),this.registerColumnOption("accessorDownload"),this.registerColumnOption("accessorDownloadParams"),this.registerColumnOption("accessorClipboard"),this.registerColumnOption("accessorClipboardParams"),this.registerColumnOption("accessorPrint"),this.registerColumnOption("accessorPrintParams"),this.registerColumnOption("accessorHtmlOutput"),this.registerColumnOption("accessorHtmlOutputParams")}initialize(){this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("row-data-retrieve",this.transformRow.bind(this))}initializeColumn(e){var t=!1,i={};this.allowedTypes.forEach(r=>{var s="accessor"+(r.charAt(0).toUpperCase()+r.slice(1)),o;e.definition[s]&&(o=this.lookupAccessor(e.definition[s]),o&&(t=!0,i[s]={accessor:o,params:e.definition[s+"Params"]||{}}))}),t&&(e.modules.accessor=i)}lookupAccessor(e){var t=!1;switch(typeof e){case"string":br.accessors[e]?t=br.accessors[e]:console.warn("Accessor Error - No such accessor found, ignoring: ",e);break;case"function":t=e;break}return t}transformRow(e,t){var i="accessor"+(t.charAt(0).toUpperCase()+t.slice(1)),r=e.getComponent(),s=Ze.deepClone(e.data||{});return this.table.columnManager.traverse(function(o){var l,u,c,d;o.modules.accessor&&(u=o.modules.accessor[i]||o.modules.accessor.accessor||!1,u&&(l=o.getFieldValue(s),l!="undefined"&&(d=o.getComponent(),c=typeof u.params=="function"?u.params(l,s,t,d,r):u.params,o.setFieldValue(s,u.accessor(l,s,t,c,d,r)))))}),s}}var DE={method:"GET"};function Io(n,e){var t=[];if(e=e||"",Array.isArray(n))n.forEach((r,s)=>{t=t.concat(Io(r,e?e+"["+s+"]":s))});else if(typeof n=="object")for(var i in n)t=t.concat(Io(n[i],e?e+"["+i+"]":i));else t.push({key:e,value:n});return t}function OE(n){var e=Io(n),t=[];return e.forEach(function(i){t.push(encodeURIComponent(i.key)+"="+encodeURIComponent(i.value))}),t.join("&")}function qc(n,e,t){return n&&t&&Object.keys(t).length&&(!e.method||e.method.toLowerCase()=="get")&&(e.method="get",n+=(n.includes("?")?"&":"?")+OE(t)),n}function LE(n,e,t){var i;return new Promise((r,s)=>{if(n=this.urlGenerator.call(this.table,n,e,t),e.method.toUpperCase()!="GET")if(i=typeof this.table.options.ajaxContentType=="object"?this.table.options.ajaxContentType:this.contentTypeFormatters[this.table.options.ajaxContentType],i){for(var o in i.headers)e.headers||(e.headers={}),typeof e.headers[o]>"u"&&(e.headers[o]=i.headers[o]);e.body=i.body.call(this,n,e,t)}else console.warn("Ajax Error - Invalid ajaxContentType value:",this.table.options.ajaxContentType);n?(typeof e.headers>"u"&&(e.headers={}),typeof e.headers.Accept>"u"&&(e.headers.Accept="application/json"),typeof e.headers["X-Requested-With"]>"u"&&(e.headers["X-Requested-With"]="XMLHttpRequest"),typeof e.mode>"u"&&(e.mode="cors"),e.mode=="cors"?(typeof e.headers.Origin>"u"&&(e.headers.Origin=window.location.origin),typeof e.credentials>"u"&&(e.credentials="same-origin")):typeof e.credentials>"u"&&(e.credentials="include"),fetch(n,e).then(l=>{l.ok?l.json().then(u=>{r(u)}).catch(u=>{s(u),console.warn("Ajax Load Error - Invalid JSON returned",u)}):(console.error("Ajax Load Error - Connection Error: "+l.status,l.statusText),s(l))}).catch(l=>{console.error("Ajax Load Error - Connection Error: ",l),s(l)})):(console.warn("Ajax Load Error - No URL Set"),r([]))})}function Ho(n,e){var t=[];if(e=e||"",Array.isArray(n))n.forEach((r,s)=>{t=t.concat(Ho(r,e?e+"["+s+"]":s))});else if(typeof n=="object")for(var i in n)t=t.concat(Ho(n[i],e?e+"["+i+"]":i));else t.push({key:e,value:n});return t}var BE={json:{headers:{"Content-Type":"application/json"},body:function(n,e,t){return JSON.stringify(t)}},form:{headers:{},body:function(n,e,t){var i=Ho(t),r=new FormData;return i.forEach(function(s){r.append(s.key,s.value)}),r}}};class Ji extends Ve{static moduleName="ajax";static defaultConfig=DE;static defaultURLGenerator=qc;static defaultLoaderPromise=LE;static contentTypeFormatters=BE;constructor(e){super(e),this.config={},this.url="",this.urlGenerator=!1,this.params=!1,this.loaderPromise=!1,this.registerTableOption("ajaxURL",!1),this.registerTableOption("ajaxURLGenerator",!1),this.registerTableOption("ajaxParams",{}),this.registerTableOption("ajaxConfig","get"),this.registerTableOption("ajaxContentType","form"),this.registerTableOption("ajaxRequestFunc",!1),this.registerTableOption("ajaxRequesting",function(){}),this.registerTableOption("ajaxResponse",!1),this.contentTypeFormatters=Ji.contentTypeFormatters}initialize(){this.loaderPromise=this.table.options.ajaxRequestFunc||Ji.defaultLoaderPromise,this.urlGenerator=this.table.options.ajaxURLGenerator||Ji.defaultURLGenerator,this.table.options.ajaxURL&&this.setUrl(this.table.options.ajaxURL),this.setDefaultConfig(this.table.options.ajaxConfig),this.registerTableFunction("getAjaxUrl",this.getUrl.bind(this)),this.subscribe("data-loading",this.requestDataCheck.bind(this)),this.subscribe("data-params",this.requestParams.bind(this)),this.subscribe("data-load",this.requestData.bind(this))}requestParams(e,t,i,r){var s=this.table.options.ajaxParams;return s&&(typeof s=="function"&&(s=s.call(this.table)),r=Object.assign(Object.assign({},s),r)),r}requestDataCheck(e,t,i,r){return!!(!e&&this.url||typeof e=="string")}requestData(e,t,i,r,s){var o;return!s&&this.requestDataCheck(e)?(e&&this.setUrl(e),o=this.generateConfig(i),this.sendRequest(this.url,t,o)):s}setDefaultConfig(e={}){this.config=Object.assign({},Ji.defaultConfig),typeof e=="string"?this.config.method=e:Object.assign(this.config,e)}generateConfig(e={}){var t=Object.assign({},this.config);return typeof e=="string"?t.method=e:Object.assign(t,e),t}setUrl(e){this.url=e}getUrl(){return this.url}sendRequest(e,t,i){return this.table.options.ajaxRequesting.call(this.table,e,t)!==!1?this.loaderPromise(e,i,t).then(r=>(this.table.options.ajaxResponse&&(r=this.table.options.ajaxResponse.call(this.table,e,t,r)),r)):Promise.reject()}}var FE={replace:function(n){return this.table.setData(n)},update:function(n){return this.table.updateOrAddData(n)},insert:function(n){return this.table.addData(n)}},_E={table:function(n){var e=[],t=!0,i=this.table.columnManager.columns,r=[],s=[];return n=n.split(`
31
+ `}}function F(){t.calendarContainer.classList.add("hasWeeks");var B=Je("div","flatpickr-weekwrapper");B.appendChild(Je("span","flatpickr-weekday",t.l10n.weekAbbreviation));var E=Je("div","flatpickr-weeks");return B.appendChild(E),{weekWrapper:B,weekNumbers:E}}function P(B,E){E===void 0&&(E=!0);var O=E?B:B-t.currentMonth;O<0&&t._hidePrevMonthArrow===!0||O>0&&t._hideNextMonthArrow===!0||(t.currentMonth+=O,(t.currentMonth<0||t.currentMonth>11)&&(t.currentYear+=t.currentMonth>11?1:-1,t.currentMonth=(t.currentMonth+12)%12,Ge("onYearChange"),L()),R(),Ge("onMonthChange"),ze())}function Q(B,E){if(B===void 0&&(B=!0),E===void 0&&(E=!0),t.input.value="",t.altInput!==void 0&&(t.altInput.value=""),t.mobileInput!==void 0&&(t.mobileInput.value=""),t.selectedDates=[],t.latestSelectedDateObj=void 0,E===!0&&(t.currentYear=t._initialDate.getFullYear(),t.currentMonth=t._initialDate.getMonth()),t.config.enableTime===!0){var O=_o(t.config),_=O.hours,Y=O.minutes,ne=O.seconds;h(_,Y,ne)}t.redraw(),B&&Ge("onChange")}function z(){t.isOpen=!1,t.isMobile||(t.calendarContainer!==void 0&&t.calendarContainer.classList.remove("open"),t._input!==void 0&&t._input.classList.remove("active")),Ge("onClose")}function q(){t.config!==void 0&&Ge("onDestroy");for(var B=t._handlers.length;B--;)t._handlers[B].remove();if(t._handlers=[],t.mobileInput)t.mobileInput.parentNode&&t.mobileInput.parentNode.removeChild(t.mobileInput),t.mobileInput=void 0;else if(t.calendarContainer&&t.calendarContainer.parentNode)if(t.config.static&&t.calendarContainer.parentNode){var E=t.calendarContainer.parentNode;if(E.lastChild&&E.removeChild(E.lastChild),E.parentNode){for(;E.firstChild;)E.parentNode.insertBefore(E.firstChild,E);E.parentNode.removeChild(E)}}else t.calendarContainer.parentNode.removeChild(t.calendarContainer);t.altInput&&(t.input.type="text",t.altInput.parentNode&&t.altInput.parentNode.removeChild(t.altInput),delete t.altInput),t.input&&(t.input.type=t.input._type,t.input.classList.remove("flatpickr-input"),t.input.removeAttribute("readonly")),["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach(function(O){try{delete t[O]}catch{}})}function X(B){return t.calendarContainer.contains(B)}function K(B){if(t.isOpen&&!t.config.inline){var E=St(B),O=X(E),_=E===t.input||E===t.altInput||t.element.contains(E)||B.path&&B.path.indexOf&&(~B.path.indexOf(t.input)||~B.path.indexOf(t.altInput)),Y=!_&&!O&&!X(B.relatedTarget),ne=!t.config.ignoredFocusElements.some(function(ue){return ue.contains(E)});Y&&ne&&(t.config.allowInput&&t.setDate(t._input.value,!1,t.config.altInput?t.config.altFormat:t.config.dateFormat),t.timeContainer!==void 0&&t.minuteElement!==void 0&&t.hourElement!==void 0&&t.input.value!==""&&t.input.value!==void 0&&u(),t.close(),t.config&&t.config.mode==="range"&&t.selectedDates.length===1&&t.clear(!1))}}function se(B){if(!(!B||t.config.minDate&&B<t.config.minDate.getFullYear()||t.config.maxDate&&B>t.config.maxDate.getFullYear())){var E=B,O=t.currentYear!==E;t.currentYear=E||t.currentYear,t.config.maxDate&&t.currentYear===t.config.maxDate.getFullYear()?t.currentMonth=Math.min(t.config.maxDate.getMonth(),t.currentMonth):t.config.minDate&&t.currentYear===t.config.minDate.getFullYear()&&(t.currentMonth=Math.max(t.config.minDate.getMonth(),t.currentMonth)),O&&(t.redraw(),Ge("onYearChange"),L())}}function U(B,E){var O;E===void 0&&(E=!0);var _=t.parseDate(B,void 0,E);if(t.config.minDate&&_&&xt(_,t.config.minDate,E!==void 0?E:!t.minDateHasTime)<0||t.config.maxDate&&_&&xt(_,t.config.maxDate,E!==void 0?E:!t.maxDateHasTime)>0)return!1;if(!t.config.enable&&t.config.disable.length===0)return!0;if(_===void 0)return!1;for(var Y=!!t.config.enable,ne=(O=t.config.enable)!==null&&O!==void 0?O:t.config.disable,ue=0,fe=void 0;ue<ne.length;ue++){if(fe=ne[ue],typeof fe=="function"&&fe(_))return Y;if(fe instanceof Date&&_!==void 0&&fe.getTime()===_.getTime())return Y;if(typeof fe=="string"){var pe=t.parseDate(fe,void 0,!0);return pe&&pe.getTime()===_.getTime()?Y:!Y}else if(typeof fe=="object"&&_!==void 0&&fe.from&&fe.to&&_.getTime()>=fe.from.getTime()&&_.getTime()<=fe.to.getTime())return Y}return!Y}function Z(B){return t.daysContainer!==void 0?B.className.indexOf("hidden")===-1&&B.className.indexOf("flatpickr-disabled")===-1&&t.daysContainer.contains(B):!1}function de(B){var E=B.target===t._input,O=t._input.value.trimEnd()!==Oe();E&&O&&!(B.relatedTarget&&X(B.relatedTarget))&&t.setDate(t._input.value,!0,B.target===t.altInput?t.config.altFormat:t.config.dateFormat)}function V(B){var E=St(B),O=t.config.wrap?n.contains(E):E===t._input,_=t.config.allowInput,Y=t.isOpen&&(!_||!O),ne=t.config.inline&&O&&!_;if(B.keyCode===13&&O){if(_)return t.setDate(t._input.value,!0,E===t.altInput?t.config.altFormat:t.config.dateFormat),t.close(),E.blur();t.open()}else if(X(E)||Y||ne){var ue=!!t.timeContainer&&t.timeContainer.contains(E);switch(B.keyCode){case 13:ue?(B.preventDefault(),u(),ie()):me(B);break;case 27:B.preventDefault(),ie();break;case 8:case 46:O&&!t.config.allowInput&&(B.preventDefault(),t.clear());break;case 37:case 39:if(!ue&&!O){B.preventDefault();var fe=s();if(t.daysContainer!==void 0&&(_===!1||fe&&Z(fe))){var pe=B.keyCode===39?1:-1;B.ctrlKey?(B.stopPropagation(),P(pe),b(w(1),0)):b(void 0,pe)}}else t.hourElement&&t.hourElement.focus();break;case 38:case 40:B.preventDefault();var be=B.keyCode===40?1:-1;t.daysContainer&&E.$i!==void 0||E===t.input||E===t.altInput?B.ctrlKey?(B.stopPropagation(),se(t.currentYear-be),b(w(1),0)):ue||b(void 0,be*7):E===t.currentYearElement?se(t.currentYear-be):t.config.enableTime&&(!ue&&t.hourElement&&t.hourElement.focus(),u(B),t._debouncedChange());break;case 9:if(ue){var Ce=[t.hourElement,t.minuteElement,t.secondElement,t.amPM].concat(t.pluginElements).filter(function(Be){return Be}),De=Ce.indexOf(E);if(De!==-1){var We=Ce[De+(B.shiftKey?-1:1)];B.preventDefault(),(We||t._input).focus()}}else!t.config.noCalendar&&t.daysContainer&&t.daysContainer.contains(E)&&B.shiftKey&&(B.preventDefault(),t._input.focus());break}}if(t.amPM!==void 0&&E===t.amPM)switch(B.key){case t.l10n.amPM[0].charAt(0):case t.l10n.amPM[0].charAt(0).toLowerCase():t.amPM.textContent=t.l10n.amPM[0],f(),Re();break;case t.l10n.amPM[1].charAt(0):case t.l10n.amPM[1].charAt(0).toLowerCase():t.amPM.textContent=t.l10n.amPM[1],f(),Re();break}(O||X(E))&&Ge("onKeyDown",B)}function W(B,E){if(E===void 0&&(E="flatpickr-day"),!(t.selectedDates.length!==1||B&&(!B.classList.contains(E)||B.classList.contains("flatpickr-disabled")))){for(var O=B?B.dateObj.getTime():t.days.firstElementChild.dateObj.getTime(),_=t.parseDate(t.selectedDates[0],void 0,!0).getTime(),Y=Math.min(O,t.selectedDates[0].getTime()),ne=Math.max(O,t.selectedDates[0].getTime()),ue=!1,fe=0,pe=0,be=Y;be<ne;be+=My.DAY)U(new Date(be),!0)||(ue=ue||be>Y&&be<ne,be<_&&(!fe||be>fe)?fe=be:be>_&&(!pe||be<pe)&&(pe=be));var Ce=Array.from(t.rContainer.querySelectorAll("*:nth-child(-n+"+t.config.showMonths+") > ."+E));Ce.forEach(function(De){var We=De.dateObj,Be=We.getTime(),qe=fe>0&&Be<fe||pe>0&&Be>pe;if(qe){De.classList.add("notAllowed"),["inRange","startRange","endRange"].forEach(function(Xe){De.classList.remove(Xe)});return}else if(ue&&!qe)return;["startRange","inRange","endRange","notAllowed"].forEach(function(Xe){De.classList.remove(Xe)}),B!==void 0&&(B.classList.add(O<=t.selectedDates[0].getTime()?"startRange":"endRange"),_<O&&Be===_?De.classList.add("startRange"):_>O&&Be===_&&De.classList.add("endRange"),Be>=fe&&(pe===0||Be<=pe)&&xy(Be,_,O)&&De.classList.add("inRange"))})}}function le(){t.isOpen&&!t.config.static&&!t.config.inline&&_e()}function oe(B,E){if(E===void 0&&(E=t._positionElement),t.isMobile===!0){if(B){B.preventDefault();var O=St(B);O&&O.blur()}t.mobileInput!==void 0&&(t.mobileInput.focus(),t.mobileInput.click()),Ge("onOpen");return}else if(t._input.disabled||t.config.inline)return;var _=t.isOpen;t.isOpen=!0,_||(t.calendarContainer.classList.add("open"),t._input.classList.add("active"),Ge("onOpen"),_e(E)),t.config.enableTime===!0&&t.config.noCalendar===!0&&t.config.allowInput===!1&&(B===void 0||!t.timeContainer.contains(B.relatedTarget))&&setTimeout(function(){return t.hourElement.select()},50)}function ye(B){return function(E){var O=t.config["_"+B+"Date"]=t.parseDate(E,t.config.dateFormat),_=t.config["_"+(B==="min"?"max":"min")+"Date"];O!==void 0&&(t[B==="min"?"minDateHasTime":"maxDateHasTime"]=O.getHours()>0||O.getMinutes()>0||O.getSeconds()>0),t.selectedDates&&(t.selectedDates=t.selectedDates.filter(function(Y){return U(Y)}),!t.selectedDates.length&&B==="min"&&p(O),Re()),t.daysContainer&&($(),O!==void 0?t.currentYearElement[B]=O.getFullYear().toString():t.currentYearElement.removeAttribute(B),t.currentYearElement.disabled=!!_&&O!==void 0&&_.getFullYear()===O.getFullYear())}}function we(){var B=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],E=ft(ft({},JSON.parse(JSON.stringify(n.dataset||{}))),e),O={};t.config.parseDate=E.parseDate,t.config.formatDate=E.formatDate,Object.defineProperty(t.config,"enable",{get:function(){return t.config._enable},set:function(Ce){t.config._enable=Se(Ce)}}),Object.defineProperty(t.config,"disable",{get:function(){return t.config._disable},set:function(Ce){t.config._disable=Se(Ce)}});var _=E.mode==="time";if(!E.dateFormat&&(E.enableTime||_)){var Y=ot.defaultConfig.dateFormat||Qi.dateFormat;O.dateFormat=E.noCalendar||_?"H:i"+(E.enableSeconds?":S":""):Y+" H:i"+(E.enableSeconds?":S":"")}if(E.altInput&&(E.enableTime||_)&&!E.altFormat){var ne=ot.defaultConfig.altFormat||Qi.altFormat;O.altFormat=E.noCalendar||_?"h:i"+(E.enableSeconds?":S K":" K"):ne+(" h:i"+(E.enableSeconds?":S":"")+" K")}Object.defineProperty(t.config,"minDate",{get:function(){return t.config._minDate},set:ye("min")}),Object.defineProperty(t.config,"maxDate",{get:function(){return t.config._maxDate},set:ye("max")});var ue=function(Ce){return function(De){t.config[Ce==="min"?"_minTime":"_maxTime"]=t.parseDate(De,"H:i:S")}};Object.defineProperty(t.config,"minTime",{get:function(){return t.config._minTime},set:ue("min")}),Object.defineProperty(t.config,"maxTime",{get:function(){return t.config._maxTime},set:ue("max")}),E.mode==="time"&&(t.config.noCalendar=!0,t.config.enableTime=!0),Object.assign(t.config,O,E);for(var fe=0;fe<B.length;fe++)t.config[B[fe]]=t.config[B[fe]]===!0||t.config[B[fe]]==="true";Do.filter(function(Ce){return t.config[Ce]!==void 0}).forEach(function(Ce){t.config[Ce]=Oo(t.config[Ce]||[]).map(o)}),t.isMobile=!t.config.disableMobile&&!t.config.inline&&t.config.mode==="single"&&!t.config.disable.length&&!t.config.enable&&!t.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);for(var fe=0;fe<t.config.plugins.length;fe++){var pe=t.config.plugins[fe](t)||{};for(var be in pe)Do.indexOf(be)>-1?t.config[be]=Oo(pe[be]).map(o).concat(t.config[be]):typeof E[be]>"u"&&(t.config[be]=pe[be])}E.altInputClass||(t.config.altInputClass=xe().className+" "+t.config.altInputClass),Ge("onParseConfig")}function xe(){return t.config.wrap?n.querySelector("[data-input]"):n}function Fe(){typeof t.config.locale!="object"&&typeof ot.l10ns[t.config.locale]>"u"&&t.config.errorHandler(new Error("flatpickr: invalid locale "+t.config.locale)),t.l10n=ft(ft({},ot.l10ns.default),typeof t.config.locale=="object"?t.config.locale:t.config.locale!=="default"?ot.l10ns[t.config.locale]:void 0),Ri.D="("+t.l10n.weekdays.shorthand.join("|")+")",Ri.l="("+t.l10n.weekdays.longhand.join("|")+")",Ri.M="("+t.l10n.months.shorthand.join("|")+")",Ri.F="("+t.l10n.months.longhand.join("|")+")",Ri.K="("+t.l10n.amPM[0]+"|"+t.l10n.amPM[1]+"|"+t.l10n.amPM[0].toLowerCase()+"|"+t.l10n.amPM[1].toLowerCase()+")";var B=ft(ft({},e),JSON.parse(JSON.stringify(n.dataset||{})));B.time_24hr===void 0&&ot.defaultConfig.time_24hr===void 0&&(t.config.time_24hr=t.l10n.time_24hr),t.formatDate=Vc(t),t.parseDate=Bo({config:t.config,l10n:t.l10n})}function _e(B){if(typeof t.config.position=="function")return void t.config.position(t,B);if(t.calendarContainer!==void 0){Ge("onPreCalendarPosition");var E=B||t._positionElement,O=Array.prototype.reduce.call(t.calendarContainer.children,(function(Di,Ax){return Di+Ax.offsetHeight}),0),_=t.calendarContainer.offsetWidth,Y=t.config.position.split(" "),ne=Y[0],ue=Y.length>1?Y[1]:null,fe=E.getBoundingClientRect(),pe=window.innerHeight-fe.bottom,be=ne==="above"||ne!=="below"&&pe<O&&fe.top>O,Ce=window.pageYOffset+fe.top+(be?-O-2:E.offsetHeight+2);if(gt(t.calendarContainer,"arrowTop",!be),gt(t.calendarContainer,"arrowBottom",be),!t.config.inline){var De=window.pageXOffset+fe.left,We=!1,Be=!1;ue==="center"?(De-=(_-fe.width)/2,We=!0):ue==="right"&&(De-=_-fe.width,Be=!0),gt(t.calendarContainer,"arrowLeft",!We&&!Be),gt(t.calendarContainer,"arrowCenter",We),gt(t.calendarContainer,"arrowRight",Be);var qe=window.document.body.offsetWidth-(window.pageXOffset+fe.right),Xe=De+_>window.document.body.offsetWidth,at=qe+_>window.document.body.offsetWidth;if(gt(t.calendarContainer,"rightMost",Xe),!t.config.static)if(t.calendarContainer.style.top=Ce+"px",!Xe)t.calendarContainer.style.left=De+"px",t.calendarContainer.style.right="auto";else if(!at)t.calendarContainer.style.left="auto",t.calendarContainer.style.right=qe+"px";else{var nt=Ne();if(nt===void 0)return;var yi=window.document.body.offsetWidth,Ti=Math.max(0,yi/2-_/2),ci=".flatpickr-calendar.centerMost:before",jt=".flatpickr-calendar.centerMost:after",$t=nt.cssRules.length,Xi="{left:"+fe.left+"px;right:auto;}";gt(t.calendarContainer,"rightMost",!1),gt(t.calendarContainer,"centerMost",!0),nt.insertRule(ci+","+jt+Xi,$t),t.calendarContainer.style.left=Ti+"px",t.calendarContainer.style.right="auto"}}}}function Ne(){for(var B=null,E=0;E<document.styleSheets.length;E++){var O=document.styleSheets[E];if(O.cssRules){try{O.cssRules}catch{continue}B=O;break}}return B??ce()}function ce(){var B=document.createElement("style");return document.head.appendChild(B),B.sheet}function $(){t.config.noCalendar||t.isMobile||(L(),ze(),R())}function ie(){t._input.focus(),window.navigator.userAgent.indexOf("MSIE")!==-1||navigator.msMaxTouchPoints!==void 0?setTimeout(t.close,0):t.close()}function me(B){B.preventDefault(),B.stopPropagation();var E=function(Ce){return Ce.classList&&Ce.classList.contains("flatpickr-day")&&!Ce.classList.contains("flatpickr-disabled")&&!Ce.classList.contains("notAllowed")},O=Hc(St(B),E);if(O!==void 0){var _=O,Y=t.latestSelectedDateObj=new Date(_.dateObj.getTime()),ne=(Y.getMonth()<t.currentMonth||Y.getMonth()>t.currentMonth+t.config.showMonths-1)&&t.config.mode!=="range";if(t.selectedDateElem=_,t.config.mode==="single")t.selectedDates=[Y];else if(t.config.mode==="multiple"){var ue=re(Y);ue?t.selectedDates.splice(parseInt(ue),1):t.selectedDates.push(Y)}else t.config.mode==="range"&&(t.selectedDates.length===2&&t.clear(!1,!1),t.latestSelectedDateObj=Y,t.selectedDates.push(Y),xt(Y,t.selectedDates[0],!0)!==0&&t.selectedDates.sort(function(Ce,De){return Ce.getTime()-De.getTime()}));if(f(),ne){var fe=t.currentYear!==Y.getFullYear();t.currentYear=Y.getFullYear(),t.currentMonth=Y.getMonth(),fe&&(Ge("onYearChange"),L()),Ge("onMonthChange")}if(ze(),R(),Re(),!ne&&t.config.mode!=="range"&&t.config.showMonths===1?S(_):t.selectedDateElem!==void 0&&t.hourElement===void 0&&t.selectedDateElem&&t.selectedDateElem.focus(),t.hourElement!==void 0&&t.hourElement!==void 0&&t.hourElement.focus(),t.config.closeOnSelect){var pe=t.config.mode==="single"&&!t.config.enableTime,be=t.config.mode==="range"&&t.selectedDates.length===2&&!t.config.enableTime;(pe||be)&&ie()}A()}}var he={locale:[Fe,J],showMonths:[j,l,H],minDate:[m],maxDate:[m],positionElement:[je],clickOpens:[function(){t.config.clickOpens===!0?(y(t._input,"focus",t.open),y(t._input,"click",t.open)):(t._input.removeEventListener("focus",t.open),t._input.removeEventListener("click",t.open))}]};function ke(B,E){if(B!==null&&typeof B=="object"){Object.assign(t.config,B);for(var O in B)he[O]!==void 0&&he[O].forEach(function(_){return _()})}else t.config[B]=E,he[B]!==void 0?he[B].forEach(function(_){return _()}):Do.indexOf(B)>-1&&(t.config[B]=Oo(E));t.redraw(),Re(!0)}function Me(B,E){var O=[];if(B instanceof Array)O=B.map(function(_){return t.parseDate(_,E)});else if(B instanceof Date||typeof B=="number")O=[t.parseDate(B,E)];else if(typeof B=="string")switch(t.config.mode){case"single":case"time":O=[t.parseDate(B,E)];break;case"multiple":O=B.split(t.config.conjunction).map(function(_){return t.parseDate(_,E)});break;case"range":O=B.split(t.l10n.rangeSeparator).map(function(_){return t.parseDate(_,E)});break}else t.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(B)));t.selectedDates=t.config.allowInvalidPreload?O:O.filter(function(_){return _ instanceof Date&&U(_,!1)}),t.config.mode==="range"&&t.selectedDates.sort(function(_,Y){return _.getTime()-Y.getTime()})}function ae(B,E,O){if(E===void 0&&(E=!1),O===void 0&&(O=t.config.dateFormat),B!==0&&!B||B instanceof Array&&B.length===0)return t.clear(E);Me(B,O),t.latestSelectedDateObj=t.selectedDates[t.selectedDates.length-1],t.redraw(),m(void 0,E),p(),t.selectedDates.length===0&&t.clear(!1),Re(E),E&&Ge("onChange")}function Se(B){return B.slice().map(function(E){return typeof E=="string"||typeof E=="number"||E instanceof Date?t.parseDate(E,void 0,!0):E&&typeof E=="object"&&E.from&&E.to?{from:t.parseDate(E.from,void 0),to:t.parseDate(E.to,void 0)}:E}).filter(function(E){return E})}function Le(){t.selectedDates=[],t.now=t.parseDate(t.config.now)||new Date;var B=t.config.defaultDate||((t.input.nodeName==="INPUT"||t.input.nodeName==="TEXTAREA")&&t.input.placeholder&&t.input.value===t.input.placeholder?null:t.input.value);B&&Me(B,t.config.dateFormat),t._initialDate=t.selectedDates.length>0?t.selectedDates[0]:t.config.minDate&&t.config.minDate.getTime()>t.now.getTime()?t.config.minDate:t.config.maxDate&&t.config.maxDate.getTime()<t.now.getTime()?t.config.maxDate:t.now,t.currentYear=t._initialDate.getFullYear(),t.currentMonth=t._initialDate.getMonth(),t.selectedDates.length>0&&(t.latestSelectedDateObj=t.selectedDates[0]),t.config.minTime!==void 0&&(t.config.minTime=t.parseDate(t.config.minTime,"H:i")),t.config.maxTime!==void 0&&(t.config.maxTime=t.parseDate(t.config.maxTime,"H:i")),t.minDateHasTime=!!t.config.minDate&&(t.config.minDate.getHours()>0||t.config.minDate.getMinutes()>0||t.config.minDate.getSeconds()>0),t.maxDateHasTime=!!t.config.maxDate&&(t.config.maxDate.getHours()>0||t.config.maxDate.getMinutes()>0||t.config.maxDate.getSeconds()>0)}function et(){if(t.input=xe(),!t.input){t.config.errorHandler(new Error("Invalid input element specified"));return}t.input._type=t.input.type,t.input.type="text",t.input.classList.add("flatpickr-input"),t._input=t.input,t.config.altInput&&(t.altInput=Je(t.input.nodeName,t.config.altInputClass),t._input=t.altInput,t.altInput.placeholder=t.input.placeholder,t.altInput.disabled=t.input.disabled,t.altInput.required=t.input.required,t.altInput.tabIndex=t.input.tabIndex,t.altInput.type="text",t.input.setAttribute("type","hidden"),!t.config.static&&t.input.parentNode&&t.input.parentNode.insertBefore(t.altInput,t.input.nextSibling)),t.config.allowInput||t._input.setAttribute("readonly","readonly"),je()}function je(){t._positionElement=t.config.positionElement||t._input}function Rt(){var B=t.config.enableTime?t.config.noCalendar?"time":"datetime-local":"date";t.mobileInput=Je("input",t.input.className+" flatpickr-mobile"),t.mobileInput.tabIndex=1,t.mobileInput.type=B,t.mobileInput.disabled=t.input.disabled,t.mobileInput.required=t.input.required,t.mobileInput.placeholder=t.input.placeholder,t.mobileFormatStr=B==="datetime-local"?"Y-m-d\\TH:i:S":B==="date"?"Y-m-d":"H:i:S",t.selectedDates.length>0&&(t.mobileInput.defaultValue=t.mobileInput.value=t.formatDate(t.selectedDates[0],t.mobileFormatStr)),t.config.minDate&&(t.mobileInput.min=t.formatDate(t.config.minDate,"Y-m-d")),t.config.maxDate&&(t.mobileInput.max=t.formatDate(t.config.maxDate,"Y-m-d")),t.input.getAttribute("step")&&(t.mobileInput.step=String(t.input.getAttribute("step"))),t.input.type="hidden",t.altInput!==void 0&&(t.altInput.type="hidden");try{t.input.parentNode&&t.input.parentNode.insertBefore(t.mobileInput,t.input.nextSibling)}catch{}y(t.mobileInput,"change",function(E){t.setDate(St(E).value,!1,t.mobileFormatStr),Ge("onChange"),Ge("onClose")})}function At(B){if(t.isOpen===!0)return t.close();t.open(B)}function Ge(B,E){if(t.config!==void 0){var O=t.config[B];if(O!==void 0&&O.length>0)for(var _=0;O[_]&&_<O.length;_++)O[_](t.selectedDates,t.input.value,t,E);B==="onChange"&&(t.input.dispatchEvent(te("change")),t.input.dispatchEvent(te("input")))}}function te(B){var E=document.createEvent("Event");return E.initEvent(B,!0,!0),E}function re(B){for(var E=0;E<t.selectedDates.length;E++){var O=t.selectedDates[E];if(O instanceof Date&&xt(O,B)===0)return""+E}return!1}function Pe(B){return t.config.mode!=="range"||t.selectedDates.length<2?!1:xt(B,t.selectedDates[0])>=0&&xt(B,t.selectedDates[1])<=0}function ze(){t.config.noCalendar||t.isMobile||!t.monthNav||(t.yearElements.forEach(function(B,E){var O=new Date(t.currentYear,t.currentMonth,1);O.setMonth(t.currentMonth+E),t.config.showMonths>1||t.config.monthSelectorType==="static"?t.monthElements[E].textContent=gr(O.getMonth(),t.config.shorthandCurrentMonth,t.l10n)+" ":t.monthsDropdownContainer.value=O.getMonth().toString(),B.value=O.getFullYear().toString()}),t._hidePrevMonthArrow=t.config.minDate!==void 0&&(t.currentYear===t.config.minDate.getFullYear()?t.currentMonth<=t.config.minDate.getMonth():t.currentYear<t.config.minDate.getFullYear()),t._hideNextMonthArrow=t.config.maxDate!==void 0&&(t.currentYear===t.config.maxDate.getFullYear()?t.currentMonth+1>t.config.maxDate.getMonth():t.currentYear>t.config.maxDate.getFullYear()))}function Oe(B){var E=B||(t.config.altInput?t.config.altFormat:t.config.dateFormat);return t.selectedDates.map(function(O){return t.formatDate(O,E)}).filter(function(O,_,Y){return t.config.mode!=="range"||t.config.enableTime||Y.indexOf(O)===_}).join(t.config.mode!=="range"?t.config.conjunction:t.l10n.rangeSeparator)}function Re(B){B===void 0&&(B=!0),t.mobileInput!==void 0&&t.mobileFormatStr&&(t.mobileInput.value=t.latestSelectedDateObj!==void 0?t.formatDate(t.latestSelectedDateObj,t.mobileFormatStr):""),t.input.value=Oe(t.config.dateFormat),t.altInput!==void 0&&(t.altInput.value=Oe(t.config.altFormat)),B!==!1&&Ge("onValueUpdate")}function ct(B){var E=St(B),O=t.prevMonthNav.contains(E),_=t.nextMonthNav.contains(E);O||_?P(O?-1:1):t.yearElements.indexOf(E)>=0?E.select():E.classList.contains("arrowUp")?t.changeYear(t.currentYear+1):E.classList.contains("arrowDown")&&t.changeYear(t.currentYear-1)}function ge(B){B.preventDefault();var E=B.type==="keydown",O=St(B),_=O;t.amPM!==void 0&&O===t.amPM&&(t.amPM.textContent=t.l10n.amPM[Ft(t.amPM.textContent===t.l10n.amPM[0])]);var Y=parseFloat(_.getAttribute("min")),ne=parseFloat(_.getAttribute("max")),ue=parseFloat(_.getAttribute("step")),fe=parseInt(_.value,10),pe=B.delta||(E?B.which===38?1:-1:0),be=fe+ue*pe;if(typeof _.value<"u"&&_.value.length===2){var Ce=_===t.hourElement,De=_===t.minuteElement;be<Y?(be=ne+be+Ft(!Ce)+(Ft(Ce)&&Ft(!t.amPM)),De&&g(void 0,-1,t.hourElement)):be>ne&&(be=_===t.hourElement?be-ne-Ft(!t.amPM):Y,De&&g(void 0,1,t.hourElement)),t.amPM&&Ce&&(ue===1?be+fe===23:Math.abs(be-fe)>ue)&&(t.amPM.textContent=t.l10n.amPM[Ft(t.amPM.textContent===t.l10n.amPM[0])]),_.value=Ct(be)}}return r(),t}function Ki(n,e){for(var t=Array.prototype.slice.call(n).filter(function(o){return o instanceof HTMLElement}),i=[],r=0;r<t.length;r++){var s=t[r];try{if(s.getAttribute("data-fp-omit")!==null)continue;s._flatpickr!==void 0&&(s._flatpickr.destroy(),s._flatpickr=void 0),s._flatpickr=Dy(s,e||{}),i.push(s._flatpickr)}catch(o){console.error(o)}}return i.length===1?i[0]:i}typeof HTMLElement<"u"&&typeof HTMLCollection<"u"&&typeof NodeList<"u"&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(n){return Ki(this,n)},HTMLElement.prototype.flatpickr=function(n){return Ki([this],n)});var ot=function(n,e){return typeof n=="string"?Ki(window.document.querySelectorAll(n),e):n instanceof Node?Ki([n],e):Ki(n,e)};ot.defaultConfig={},ot.l10ns={en:ft({},wn),default:ft({},wn)},ot.localize=function(n){ot.l10ns.default=ft(ft({},ot.l10ns.default),n)},ot.setDefaults=function(n){ot.defaultConfig=ft(ft({},ot.defaultConfig),n)},ot.parseDate=Bo({}),ot.formatDate=Vc({}),ot.compareDates=xt,typeof jQuery<"u"&&typeof jQuery.fn<"u"&&(jQuery.fn.flatpickr=function(n){return Ki(this,n)}),Date.prototype.fp_incr=function(n){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+(typeof n=="string"?parseInt(n,10):n))},typeof window<"u"&&(window.flatpickr=ot);var An={exports:{}},Oy=An.exports,jc;function Ly(){return jc||(jc=1,(function(n,e){(function(t,i){i(e)})(Oy,(function(t){var i=typeof window<"u"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},r={weekdays:{shorthand:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],longhand:["Воскресенье","Понедельник","Вторник","Среда","Четверг","Пятница","Суббота"]},months:{shorthand:["Янв","Фев","Март","Апр","Май","Июнь","Июль","Авг","Сен","Окт","Ноя","Дек"],longhand:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"]},firstDayOfWeek:1,ordinal:function(){return""},rangeSeparator:" — ",weekAbbreviation:"Нед.",scrollTitle:"Прокрутите для увеличения",toggleTitle:"Нажмите для переключения",amPM:["ДП","ПП"],yearAriaLabel:"Год",time_24hr:!0};i.l10ns.ru=r;var s=i.l10ns;t.Russian=r,t.default=s,Object.defineProperty(t,"__esModule",{value:!0})}))})(An,An.exports)),An.exports}var By=Ly();const Fy=["value","id","name","disabled","required","placeholder"],_y=["title"],Py=["title"],Ny=Ie(a.defineComponent({__name:"Flatpickr",props:{modelValue:{default:""},id:{default:"flatpickr-input"},error:{default:""},name:{default:"flatpickr"},placeholder:{default:"Выберите дату"},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},config:{default:()=>({})},format:{default:"DD.MM.YYYY"},locale:{default:"ru"},resetTitle:{default:"Очистить"},calendarTitle:{default:"Выбрать дату"},allowInput:{type:Boolean,default:!0},enableTime:{type:Boolean,default:!1},time_24hr:{type:Boolean,default:!0},dateFormat:{default:"d.m.Y"},minDate:{default:void 0},maxDate:{default:void 0},defaultDate:{default:void 0},mode:{default:"single"}},emits:["update:modelValue","change","open","close","ready"],setup(n,{expose:e,emit:t}){const i=n,r=t,s=a.ref(),o=a.ref(null),l=a.ref(!1),u=a.ref(""),c=a.ref([]),d=a.ref(!1),f=a.computed(()=>Array.isArray(i.error)?i.error?.filter(Boolean)||[]:typeof i.error=="string"&&i.error?[i.error]:[]),p=S=>{if(!S)return null;if(S instanceof Date&&!isNaN(S.getTime()))return S;const w=typeof S=="string"?S.trim():"";if(w){const k=y(w);if(k){const R=new Date(k);if(!isNaN(R.getTime()))return R}const b=ot.parseDate?.(w,i.dateFormat);if(b&&!isNaN(b.getTime()))return b;const T=new Date(w);if(!isNaN(T.getTime()))return T}return null},h=S=>{const w=S instanceof Date?S:p(S);if(!w)return"";const k=String(w.getDate()).padStart(2,"0"),b=String(w.getMonth()+1).padStart(2,"0"),T=w.getFullYear();return i.format==="MM/DD/YYYY"?`${b}/${k}/${T}`:i.format==="YYYY-MM-DD"?`${T}-${b}-${k}`:`${k}.${b}.${T}`},x=S=>{const w=S instanceof Date?S:p(S);if(!w)return"";const k=String(w.getDate()).padStart(2,"0"),b=String(w.getMonth()+1).padStart(2,"0");return`${w.getFullYear()}-${b}-${k}`},y=S=>{if(!S)return"";const w=S.trim(),k=ot.parseDate?.(w,i.dateFormat);if(k&&!isNaN(k.getTime())){const b=k.getFullYear(),T=String(k.getMonth()+1).padStart(2,"0"),R=String(k.getDate()).padStart(2,"0");return`${b}-${T}-${R}`}if(/^\d{4}-\d{2}-\d{2}/.test(w))return w;if(i.format==="MM/DD/YYYY"){const[b,T,R]=w.split("/");if(b&&T&&R)return`${R}-${b.padStart(2,"0")}-${T.padStart(2,"0")}`}if(i.format==="YYYY-MM-DD")return w;if(i.format==="DD.MM.YYYY"){const[b,T,R]=w.split(".");if(b&&T&&R)return`${R}-${T.padStart(2,"0")}-${b.padStart(2,"0")}`}return w},A=S=>S?Array.isArray(S)?S:[S]:[],C=(S,w)=>{const k=A(S),b=k.map(R=>h(R)).filter(Boolean);if(u.value=b.join(", "),l.value=b.length>0,!w?._input)return;if(!b.length){w.clear?.(),w._input.value="";return}const T=k.map(R=>p(R)).filter(R=>!!R);if(!T.length){w.clear?.(),w._input.value=u.value;return}w.setDate?.(T,!1),w._input.value=u.value,(i.mode==="range"||i.mode==="multiple")&&(c.value=w.selectedDates||T)},m=()=>{if(!s.value)return;const S={locale:i.locale==="ru"?By.Russian:void 0,allowInput:i.allowInput,enableTime:i.enableTime,time_24hr:i.time_24hr,dateFormat:i.dateFormat,mode:i.mode,wrap:!0,onClose:(w,k,b)=>{const T=w.length>0;if(c.value=w,!T)return D({instance:b}),!1;if(i.mode==="range"||i.mode==="multiple"){const R=w.map(j=>x(j)),L=Array.isArray(i.modelValue)?i.modelValue:[];if(L.length===R.length&&L.every((j,G)=>j===R[G]))return!1}else{const R=x(w[0]);if(!(i.modelValue!==R))return!1}if(d.value=!0,i.mode==="range"||i.mode==="multiple"){const R=w.map(L=>h(L));u.value=R.join(", "),l.value=R.length>0}else u.value=k,l.value=k.length>0;a.nextTick(()=>{if(i.mode==="multiple"){const R=w.map(L=>x(L));r("update:modelValue",R)}else if(i.mode==="range"){const R=w.map(L=>x(L));r("update:modelValue",R)}else{const R=x(w[0]);r("update:modelValue",R)}r("change",w.map(R=>R.toISOString()),k,b),a.nextTick(()=>{d.value=!1})})},onOpen:w=>{r("open",w)},onReady:w=>{r("ready",w)},...i.config};i.minDate&&i.minDate&&(S.minDate=i.minDate),i.maxDate&&(S.maxDate=i.maxDate),i.defaultDate&&(S.defaultDate=i.defaultDate),o.value=ot(s.value,S),D({instance:o.value})},D=({instance:S})=>{C(i.modelValue,S)},g=()=>{if(i.disabled||!o.value)return;o.value.clear(),o.value._input.value="";const S=i.mode==="range"||i.mode==="multiple"?[]:"";u.value="",l.value=!1,c.value=[],r("update:modelValue",S),r("change",[],"",o.value),C(S,o.value)},M=S=>{const w=S.target;u.value=w.value},v=()=>{if(i.mode==="range"||i.mode==="multiple"){if(o.value?.isOpen)return;if((o.value?.selectedDates||[]).length===0&&c.value.length>0){const w=c.value.map(T=>x(T)),k=Array.isArray(i.modelValue)?i.modelValue:[];k.length===w.length&&k.every((T,R)=>T===w[R])||r("update:modelValue",w)}return}if(i.mode==="single"&&u.value){const S=y(u.value);S&&r("update:modelValue",S)}};return a.watch(()=>i.modelValue,S=>{d.value||C(S,o.value)},{deep:!0}),a.watch(()=>i.disabled,S=>{o.value?._input&&(o.value._input.disabled=S)}),a.onMounted(()=>{m()}),a.onBeforeUnmount(()=>{o.value&&o.value.destroy()}),e({datapicker:o}),(S,w)=>(a.openBlock(),a.createElementBlock("div",{style:{position:"relative"},ref_key:"input",ref:s},[a.createElementVNode("div",{class:a.normalizeClass({"not-valid":f.value.length})},[a.createElementVNode("input",{type:"text",class:"form-control flatpickr",value:u.value,id:S.id,name:S.name,disabled:S.disabled,required:S.required,placeholder:S.placeholder,autocomplete:"off","data-input":"",onInput:M,onBlur:v},null,40,Fy)],2),l.value&&!S.disabled?(a.openBlock(),a.createElementBlock("a",{key:0,class:"remove-button text-dark",onClick:g,style:{position:"absolute",right:"40px",top:"8px","font-size":"16px",cursor:"pointer"},"data-toggle":"",title:S.resetTitle},[...w[0]||(w[0]=[a.createElementVNode("i",{class:"bi bi-x-lg"},null,-1)])],8,_y)):a.createCommentVNode("",!0),a.createElementVNode("a",{class:"remove-button text-dark",style:{position:"absolute",right:"10px",top:"4px","font-size":"20px",cursor:"pointer"},"data-toggle":"",title:S.calendarTitle},[...w[1]||(w[1]=[a.createElementVNode("i",{class:"bi bi-calendar3"},null,-1)])],8,Py),a.createVNode(ki,{errors:f.value},null,8,["errors"])],512))}}),[["__scopeId","data-v-a8bbc430"]]);function Iy(n={}){const{placeholder:e="Поиск...",searchHint:t="Введите минимум 3 символа",searchTypes:i=[{value:"partial",label:"По частичному совпадению"},{value:"exact",label:"По полному совпадению"}],defaultSearchType:r="partial",minSearchLength:s=3}=n,o=a.ref(""),l=a.ref([]),u=a.ref(!1),c=a.ref(r),d=a.ref(!1),f=a.ref(!1),p=a.computed(()=>o.value&&o.value.length>0&&o.value.length<s?`Введите минимум ${s} символа`:t),h=a.computed(()=>i);return{search:o,options:l,isSearchLoading:u,searchType:c,showSettings:d,isLoading:f,enterCharacterMessage:p,filteredSearchTypes:h,onSearch:v=>{o.value=v||"",v&&v.length>=s},onSelect:v=>{},clearSearch:()=>{o.value="",l.value=[]},toggleSettings:()=>{d.value=!d.value},hideSettings:()=>{d.value=!1},setOptions:v=>{l.value=v},setLoading:v=>{u.value=v},setGlobalLoading:v=>{f.value=v}}}const Hy=["disabled"],Vy={key:1,class:"bi bi-three-dots-vertical"},zy=Ie(a.defineComponent({__name:"HeaderSearchForm",props:{placeholder:{default:"Поиск..."},searchHint:{default:"Введите минимум 3 символа"},searchTypes:{default:()=>[{value:"partial",label:"По частичному совпадению"},{value:"exact",label:"По полному совпадению"}]},defaultSearchType:{default:"partial"},minSearchLength:{default:3},searchTypeName:{default:"searchType"},options:{default:()=>[]},isLoading:{type:Boolean,default:!1},isSearchLoading:{type:Boolean,default:!1}},emits:["search","select","searchTypeChange"],setup(n,{expose:e,emit:t}){const i=n,r=t,s={placeholder:i.placeholder,searchHint:i.searchHint,searchTypes:i.searchTypes,defaultSearchType:i.defaultSearchType,minSearchLength:i.minSearchLength},{search:o,options:l,isSearchLoading:u,searchType:c,showSettings:d,isLoading:f,enterCharacterMessage:p,filteredSearchTypes:h,onSearch:x,onSelect:y,clearSearch:A,toggleSettings:C,hideSettings:m}=Iy(s),D=a.ref();a.computed(()=>i.options.length>0?i.options:l.value),a.computed(()=>i.isSearchLoading||u.value),a.computed(()=>i.isLoading||f.value);const g=k=>{const b=k||"";x(b),r("search",b,c.value)},M=k=>{y(k),r("select",k)},v=a.computed(()=>i.searchTypeName);a.watch(c,k=>{r("searchTypeChange",k),m()});const S=k=>{const b=k.target;w.value?.contains(b)||m()},w=a.ref();return a.onMounted(()=>{document.addEventListener("click",S)}),a.onUnmounted(()=>{document.removeEventListener("click",S)}),e({clearSearch:A,setOptions:k=>{l.value=k},setLoading:k=>{u.value=k},setGlobalLoading:k=>{f.value=k},focus:()=>{D.value?.$el?.querySelector("input")?.focus()}}),(k,b)=>(a.openBlock(),a.createElementBlock("div",{ref_key:"wrapperRef",ref:w,class:"position-relative d-flex align-items-center rounded search-select-wrapper"},[(a.openBlock(),a.createBlock(Vt,{ref_key:"selectRef",ref:D,key:a.unref(c),classes:["border-0","outline-none"],style:{maxWidth:"500px",minWidth:"500px"},modelValue:a.unref(o),"onUpdate:modelValue":[b[0]||(b[0]=T=>a.isRef(o)?o.value=T:null),M],reduce:T=>T,options:k.options,placeholder:k.placeholder,onSearch:g,onBlur:a.unref(A),onFocus:a.unref(m),isLoading:k.isSearchLoading,hint:a.unref(p)},null,8,["modelValue","reduce","options","placeholder","onBlur","onFocus","isLoading","hint"])),a.createElementVNode("button",{class:"btn btn-light px-2",onClick:b[1]||(b[1]=(...T)=>a.unref(C)&&a.unref(C)(...T)),disabled:k.isLoading},[k.isLoading?(a.openBlock(),a.createBlock(Lr,{key:0,isSmall:!0})):(a.openBlock(),a.createElementBlock("i",Vy))],8,Hy),a.unref(d)?(a.openBlock(),a.createElementBlock("ul",{key:0,class:"position-absolute setting-list",onClick:b[3]||(b[3]=a.withModifiers(()=>{},["stop"]))},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(a.unref(h),T=>(a.openBlock(),a.createElementBlock("li",{key:T.value,class:"setting-item"},[a.createVNode(Nc,{name:v.value,label:T.label,modelValue:a.unref(c),"onUpdate:modelValue":b[2]||(b[2]=R=>a.isRef(c)?c.value=R:null),type:"radio",group:v.value,trueValue:T.value},null,8,["name","label","modelValue","group","trueValue"])]))),128))])):a.createCommentVNode("",!0)],512))}}),[["__scopeId","data-v-060eb2dc"]]);function jy(n={}){const{loadCountries:e,loadRegions:t,loadDistricts:i,loadLocalities:r,loadStreets:s,countryKey:o="country_id",regionKey:l="region_id",districtKey:u="district_id",localityKey:c="locality_id",streetKey:d="street_id",houseKey:f="house",buildingKey:p="building",apartmentKey:h="apartment",countryLabel:x="Страна",regionLabel:y="Регион",districtLabel:A="Район",localityLabel:C="Населенный пункт",streetLabel:m="Улица",houseLabel:D="Дом",buildingLabel:g="Корпус",apartmentLabel:M="Квартира",columnWidth:v="12",prefix:S="",multiLocalities:w=!1,multiStreets:k=!1,showHouseFields:b=!0}=n,T=a.ref(!1),R=a.ref({}),L=a.ref(!1),N=a.ref(!1),j=a.ref(!1),G=a.ref(!1),I=a.ref(!1),H=a.ref(!1),J=a.ref([]),F=a.ref([]),P=a.ref([]),Q=a.ref([]),z=a.ref([]),q=a.computed(()=>`${S}${o}`),X=a.computed(()=>`${S}${l}`),K=a.computed(()=>`${S}${u}`),se=a.computed(()=>`${S}${c}`),U=a.computed(()=>`${S}${d}`),Z=a.computed(()=>`${S}${f}`),de=a.computed(()=>`${S}${p}`),V=a.computed(()=>`${S}${h}`),W=a.computed(()=>({country:x,region:y,district:A,locality:C,street:m,house:D,building:g,apartment:M})),le=async()=>{if(e){N.value=!0;try{J.value=await e()}finally{N.value=!1}}},oe=async ge=>{if(t){j.value=!0;try{F.value=await t(ge)}finally{j.value=!1}}},ye=async ge=>{if(i){G.value=!0;try{P.value=await i(ge)}finally{G.value=!1}}},we=async ge=>{if(r){I.value=!0;try{Q.value=await r(ge)}finally{I.value=!1}}},xe=async ge=>{if(s){H.value=!0;try{z.value=await s(ge)}finally{H.value=!1}}},Fe=(ge,B=!1)=>{if(T.value)return;if(B){const O={...R.value,[q.value]:ge};R.value=O;return}const E={...R.value,[q.value]:ge,[X.value]:null,[K.value]:null,[se.value]:null,[U.value]:null,[Z.value]:null,[de.value]:null,[V.value]:null};R.value=E,F.value=[],P.value=[],Q.value=[],z.value=[]},_e=(ge,B=!1)=>{if(T.value)return;if(B){const O={...R.value,[X.value]:ge};R.value=O;return}const E={...R.value,[X.value]:ge,[K.value]:null,[se.value]:null,[U.value]:null,[Z.value]:null,[de.value]:null,[V.value]:null};R.value=E,P.value=[],Q.value=[],z.value=[]},Ne=(ge,B=!1)=>{if(T.value)return;if(B){const O={...R.value,[K.value]:ge};R.value=O;return}const E={...R.value,[K.value]:ge,[se.value]:null,[U.value]:null,[Z.value]:null,[de.value]:null,[V.value]:null};R.value=E},ce=(ge,B=!1)=>{if(T.value)return;if(B){const O={...R.value,[se.value]:ge};R.value=O;return}const E={...R.value,[se.value]:ge,[U.value]:null,[Z.value]:null,[de.value]:null,[V.value]:null};R.value=E,z.value=[]},$=async ge=>{T.value||(Fe(ge),ge&&await oe(ge))},ie=async ge=>{T.value||(_e(ge),ge&&(await ye(ge),await we(ge)))},me=async ge=>{if(!T.value){if(Ne(ge),!ge){const B=R.value[X.value];B&&await ie(B);return}await we(ge)}},he=async ge=>{T.value||(ce(ge),ge&&await xe(ge))},ke=(ge,B=!1)=>{if(T.value)return;if(B){const O={...R.value,[U.value]:ge};R.value=O;return}const E={...R.value,[U.value]:ge,[Z.value]:null,[de.value]:null,[V.value]:null};R.value=E},Me=ge=>{const B=ge.target,E={...R.value,[Z.value]:B.value};R.value=E},ae=ge=>{const B=ge.target,E={...R.value,[de.value]:B.value};R.value=E},Se=ge=>{const B=ge.target,E={...R.value,[V.value]:B.value};R.value=E},Le=async(ge,B)=>{Object.assign(R.value,ge)},et=async(ge,B)=>{T.value=!0;const E=ge[q.value],O=ge[X.value],_=ge[K.value],Y=ge[se.value];ge[U.value];try{e&&await le(),t&&(O||E||B)&&await oe(E||B),i&&O&&await ye(O),r&&_?await we(_):r&&O&&await we(O),s&&Y&&await xe(Y),Object.assign(R.value,ge)}catch(ne){console.error("❌ Error during auto-fill (skip reset mode):",ne)}finally{a.nextTick(()=>{T.value=!1})}},je=a.computed(()=>{const ge=R.value[q.value];return ge&&J.value.find(E=>String(E.id)===String(ge))?.label||""}),Rt=a.computed(()=>{const ge=R.value[X.value];return ge&&F.value.find(E=>String(E.id)===String(ge))?.label||""}),At=a.computed(()=>{const ge=R.value[K.value];return ge&&P.value.find(B=>String(B.id)===String(ge))?.label||""}),Ge=a.computed(()=>{const ge=R.value[se.value];return ge&&Q.value.find(B=>String(B.id)===String(ge))?.label||""}),te=a.computed(()=>{const ge=R.value[U.value];return ge&&z.value.find(E=>String(E.id)===String(ge))?.label||""}),re=a.computed(()=>{const ge=R.value[Z.value];return ge?`${D} ${ge}`:""}),Pe=a.computed(()=>{const ge=R.value[de.value];return ge?`${g} ${ge}`:""}),ze=a.computed(()=>{const ge=R.value[V.value];return ge?`${M} ${ge}`:""}),Oe=a.computed(()=>[je.value,Rt.value,At.value,Ge.value,te.value,re.value,Pe.value,ze.value].filter(Boolean).join(", ")),Re=a.computed(()=>{const ge=R.value[se.value];return Array.isArray(ge)?ge.length>1:!1}),ct=a.computed(()=>k?!1:b);return{modelValue:R,isLoading:L,isCountryLoading:N,isRegionLoading:j,isDistrictLoading:G,isLocalityLoading:I,isStreetLoading:H,countryOptions:J,regionOptions:F,districtOptions:P,localityOptions:Q,streetOptions:z,finalCountryKey:q,finalRegionKey:X,finalDistrictKey:K,finalLocalityKey:se,finalStreetKey:U,finalHouseKey:Z,finalBuildingKey:de,finalApartmentKey:V,labels:W,selectedCountryLabel:je,selectedRegionLabel:Rt,selectedDistrictLabel:At,selectedLocalityLabel:Ge,selectedStreetLabel:te,selectedHouseLabel:re,selectedBuildingLabel:Pe,selectedApartmentLabel:ze,fullAddress:Oe,isMultiLocalitiesSelected:Re,shouldShowHouseFields:ct,loadCountryOptions:le,loadRegionOptions:oe,loadDistrictOptions:ye,loadLocalityOptions:we,loadStreetOptions:xe,onCountrySelect:$,onRegionSelect:ie,onDistrictSelect:me,onLocalitySelect:he,onStreetSelect:ke,onHouseInput:Me,onBuildingInput:ae,onApartmentInput:Se,resetFieldsByCountry:Fe,resetFieldsByRegion:_e,resetFieldsByDistrict:Ne,resetFieldsByLocality:ce,autoFillForm:Le,autoFillFormSkipReset:et}}const Wy={class:"address-form"},Uy={class:"row"},Gy={class:"form-label"},Yy={class:"form-label"},Qy={class:"form-label"},Ky={class:"form-label"},Jy={class:"form-label"},qy={class:"form-label"},$y=["value","disabled"],Zy={class:"form-label"},Xy=["value","disabled"],ew={class:"form-label"},tw=["value","disabled"],iw={key:0,class:"mt-3"},nw={class:"alert alert-info"},rw=Ie(a.defineComponent({__name:"AddressForm",props:{modelValue:{default:()=>({})},loadCountries:{},loadRegions:{},loadDistricts:{},loadLocalities:{},loadStreets:{},countryKey:{default:"country_id"},regionKey:{default:"region_id"},districtKey:{default:"district_id"},localityKey:{default:"locality_id"},streetKey:{default:"street_id"},houseKey:{default:"house"},buildingKey:{default:"building"},apartmentKey:{default:"apartment"},countryLabel:{default:"Страна"},regionLabel:{default:"Регион"},districtLabel:{default:"Район"},localityLabel:{default:"Населенный пункт"},streetLabel:{default:"Улица"},houseLabel:{default:"Дом"},buildingLabel:{default:"Корпус"},apartmentLabel:{default:"Квартира"},columnWidth:{default:"12"},prefix:{default:""},multiLocalities:{type:Boolean,default:!1},multiStreets:{type:Boolean,default:!1},showHouseFields:{type:Boolean,default:!0},showFullAddress:{type:Boolean,default:!1},disabledFields:{default:()=>({})},allowClear:{default:()=>({})},countryId:{default:void 0},setFilterParamsStringsHandler:{type:Function,default:void 0},filterName:{default:"address"},isParentComponentReady:{type:Boolean,default:!0}},emits:["update:modelValue","change","countryChange","regionChange","districtChange","localityChange","streetChange"],setup(n,{expose:e,emit:t}){const i=n,r=t,s={loadCountries:i.loadCountries,loadRegions:i.loadRegions,loadDistricts:i.loadDistricts,loadLocalities:i.loadLocalities,loadStreets:i.loadStreets,countryKey:i.countryKey,regionKey:i.regionKey,districtKey:i.districtKey,localityKey:i.localityKey,streetKey:i.streetKey,houseKey:i.houseKey,buildingKey:i.buildingKey,apartmentKey:i.apartmentKey,countryLabel:i.countryLabel,regionLabel:i.regionLabel,districtLabel:i.districtLabel,localityLabel:i.localityLabel,streetLabel:i.streetLabel,houseLabel:i.houseLabel,buildingLabel:i.buildingLabel,apartmentLabel:i.apartmentLabel,columnWidth:i.columnWidth,prefix:i.prefix,multiLocalities:i.multiLocalities,multiStreets:i.multiStreets,showHouseFields:i.showHouseFields},{modelValue:o,isCountryLoading:l,isRegionLoading:u,isDistrictLoading:c,isLocalityLoading:d,isStreetLoading:f,countryOptions:p,regionOptions:h,districtOptions:x,localityOptions:y,streetOptions:A,finalCountryKey:C,finalRegionKey:m,finalDistrictKey:D,finalLocalityKey:g,finalStreetKey:M,finalHouseKey:v,finalBuildingKey:S,finalApartmentKey:w,labels:k,selectedCountryLabel:b,selectedRegionLabel:T,selectedDistrictLabel:R,selectedLocalityLabel:L,selectedStreetLabel:N,selectedHouseLabel:j,selectedBuildingLabel:G,selectedApartmentLabel:I,fullAddress:H,isMultiLocalitiesSelected:J,shouldShowHouseFields:F,loadCountryOptions:P,loadRegionOptions:Q,onCountrySelect:z,onRegionSelect:q,onDistrictSelect:X,onLocalitySelect:K,onStreetSelect:se,onHouseInput:U,onBuildingInput:Z,onApartmentInput:de,autoFillForm:V,autoFillFormSkipReset:W}=jy(s);let le=!1,oe=!1,ye=!1;const we=(ae,Se)=>{if(ae===Se)return!0;if(!ae||!Se||typeof ae!="object"||typeof Se!="object")return!1;const Le=Object.keys(ae),et=Object.keys(Se);if(Le.length!==et.length)return!1;for(const je of Le)if(ae[je]!==Se[je])return!1;return!0};a.watch(()=>i.modelValue,async ae=>{if(le||oe||ye||we(o.value,ae))return;if(ae&&(ae[C.value]||ae[m.value]||ae[D.value]||ae[g.value]||ae[M.value])){if(!oe){oe=!0;try{await W(ae,i.countryId)}catch(Le){console.error("❌ Error during auto-fill:",Le)}finally{oe=!1}}}else o.value={...ae}},{immediate:!0,deep:!0}),a.watch(o,ae=>{ye||oe||we(i.modelValue,ae)||(le=!0,ye=!0,r("update:modelValue",{...ae}),r("change",{...ae}),a.nextTick(()=>{le=!1,ye=!1}))},{deep:!0});let xe=!1;a.watch(()=>i.countryId,async(ae,Se)=>{if(!xe&&!oe&&ae!=null&&i.loadRegions){if(ae!==Se){const Le={...o.value,[m.value]:null,[D.value]:null,[g.value]:null,[M.value]:null,[v.value]:null,[S.value]:null,[w.value]:null};o.value=Le}try{xe=!0,await Q(ae)}catch(Le){console.error("❌ AddressForm: Error loading regions",Le)}finally{xe=!1}}},{immediate:!0});const Fe=async ae=>{await z(ae),r("countryChange",ae)},_e=async ae=>{await q(ae),r("regionChange",ae)},Ne=async ae=>{await X(ae),r("districtChange",ae)},ce=async ae=>{await K(ae),r("localityChange",ae)},$=ae=>{se(ae),r("streetChange",ae)},ie=ae=>{U(ae)},me=ae=>{Z(ae)},he=ae=>{de(ae)},ke=a.computed(()=>{if(!i.multiLocalities)return!1;const ae=o.value[M.value];return!Array.isArray(ae)||ae?.length<2});function Me(){return[b.value,T.value,R.value,L.value,N.value,j.value,G.value,I.value].filter(Boolean).join(", ")}return a.watch(()=>j.value,async ae=>{if(!i.setFilterParamsStringsHandler||!i.isParentComponentReady)return!1;i.setFilterParamsStringsHandler(i.filterName,Me())},{deep:!0}),a.watch(()=>G.value,async ae=>{if(!i.setFilterParamsStringsHandler||!i.isParentComponentReady)return!1;i.setFilterParamsStringsHandler(i.filterName,Me())},{deep:!0}),a.watch(()=>I.value,async ae=>{if(!i.setFilterParamsStringsHandler||!i.isParentComponentReady)return!1;i.setFilterParamsStringsHandler(i.filterName,Me())},{deep:!0}),a.watch(()=>N.value,async ae=>{if(!i.setFilterParamsStringsHandler||!i.isParentComponentReady)return!1;i.setFilterParamsStringsHandler(i.filterName,Me())},{deep:!0}),a.watch(()=>L.value,async ae=>{if(!i.setFilterParamsStringsHandler||!i.isParentComponentReady)return!1;i.setFilterParamsStringsHandler(i.filterName,Me())},{deep:!0}),a.watch(()=>R.value,async ae=>{if(!i.setFilterParamsStringsHandler||!i.isParentComponentReady)return!1;i.setFilterParamsStringsHandler(i.filterName,Me())},{deep:!0}),a.watch(()=>T.value,async ae=>{if(!i.setFilterParamsStringsHandler||!i.isParentComponentReady)return!1;i.setFilterParamsStringsHandler(i.filterName,Me())},{deep:!0}),a.watch(()=>b.value,async ae=>{if(!i.setFilterParamsStringsHandler||!i.isParentComponentReady)return!1;i.setFilterParamsStringsHandler(i.filterName,Me())},{deep:!0}),a.onMounted(async()=>{i.loadCountries&&await P()}),e({loadRegionOptions:Q,loadCountryOptions:P,resetForm:()=>{o.value={},p.value=[],h.value=[],x.value=[],y.value=[],A.value=[],r("update:modelValue",{}),i.loadCountries&&P()},getFullAddress:()=>H.value,getValue:()=>Me(),autoFillForm:async ae=>{oe=!0;try{await V(ae)}finally{oe=!1}},autoFillFormSkipReset:async ae=>{oe=!0;try{await W(ae,i.countryId)}finally{oe=!1}}}),(ae,Se)=>(a.openBlock(),a.createElementBlock("div",Wy,[a.createElementVNode("div",Uy,[ae.loadCountries?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(`col-${ae.columnWidth} mb-2`)},[a.createElementVNode("label",Gy,a.toDisplayString(a.unref(k).country),1),a.createVNode(Vt,{modelValue:ae.modelValue[a.unref(C)],options:a.unref(p),disabled:ae.disabledFields?.country||a.unref(l),"onUpdate:modelValue":Fe,allowClear:ae.allowClear?.country,isLoading:a.unref(l)},null,8,["modelValue","options","disabled","allowClear","isLoading"])],2)):a.createCommentVNode("",!0),a.createElementVNode("div",{class:a.normalizeClass(`col-${ae.columnWidth} mb-2`)},[a.createElementVNode("label",Yy,a.toDisplayString(a.unref(k).region),1),a.createVNode(Vt,{modelValue:ae.modelValue[a.unref(m)],options:a.unref(h),disabled:ae.disabledFields?.region||a.unref(u),"onUpdate:modelValue":_e,allowClear:ae.allowClear?.region,isLoading:a.unref(u)},null,8,["modelValue","options","disabled","allowClear","isLoading"])],2),a.createElementVNode("div",{class:a.normalizeClass(`col-${ae.columnWidth} mb-2`)},[a.createElementVNode("label",Qy,a.toDisplayString(a.unref(k).district),1),a.createVNode(Vt,{modelValue:ae.modelValue[a.unref(D)],disabled:ae.disabledFields?.district||a.unref(c),options:a.unref(x),"onUpdate:modelValue":Ne,allowClear:ae.allowClear?.district,isLoading:a.unref(c)},null,8,["modelValue","disabled","options","allowClear","isLoading"])],2),a.createElementVNode("div",{class:a.normalizeClass(`col-${ae.columnWidth} mb-2`)},[a.createElementVNode("label",Ky,a.toDisplayString(a.unref(k).locality),1),a.createVNode(Vt,{modelValue:ae.modelValue[a.unref(g)],disabled:ae.disabledFields?.locality||a.unref(d),"onUpdate:modelValue":ce,options:a.unref(y),name:a.unref(g),showAddButton:ke.value,isLoading:a.unref(d),multiple:ae.multiLocalities},null,8,["modelValue","disabled","options","name","showAddButton","isLoading","multiple"])],2),a.unref(J)?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[a.createElementVNode("div",{class:a.normalizeClass(`col-${ae.columnWidth} mb-2`)},[a.createElementVNode("label",Jy,a.toDisplayString(a.unref(k).street),1),a.createVNode(Vt,{modelValue:ae.modelValue[a.unref(M)],disabled:ae.disabledFields?.street||a.unref(f),options:a.unref(A),"onUpdate:modelValue":$,allowClear:ae.allowClear?.street,isLoading:a.unref(f),multiple:ae.multiStreets},null,8,["modelValue","disabled","options","allowClear","isLoading","multiple"])],2),a.unref(F)?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(`col-${ae.columnWidth} mb-2`)},[a.createElementVNode("label",qy,a.toDisplayString(a.unref(k).house),1),a.createElementVNode("input",{type:"text",class:"form-control",value:ae.modelValue[a.unref(v)]||"",disabled:ae.disabledFields?.house,onInput:ie},null,40,$y)],2)):a.createCommentVNode("",!0),a.unref(F)?(a.openBlock(),a.createElementBlock("div",{key:1,class:a.normalizeClass(`col-${ae.columnWidth} mb-2`)},[a.createElementVNode("label",Zy,a.toDisplayString(a.unref(k).building),1),a.createElementVNode("input",{type:"text",class:"form-control",value:ae.modelValue[a.unref(S)]||"",disabled:ae.disabledFields?.building,onInput:me},null,40,Xy)],2)):a.createCommentVNode("",!0),a.unref(F)?(a.openBlock(),a.createElementBlock("div",{key:2,class:a.normalizeClass(`col-${ae.columnWidth} mb-2`)},[a.createElementVNode("label",ew,a.toDisplayString(a.unref(k).apartment),1),a.createElementVNode("input",{type:"text",class:"form-control",value:ae.modelValue[a.unref(w)]||"",disabled:ae.disabledFields?.apartment,onInput:he},null,40,tw)],2)):a.createCommentVNode("",!0)],64))]),ae.showFullAddress&&a.unref(H)?(a.openBlock(),a.createElementBlock("div",iw,[a.createElementVNode("div",nw,[Se[0]||(Se[0]=a.createElementVNode("strong",null,"Полный адрес:",-1)),a.createTextVNode(" "+a.toDisplayString(a.unref(H)),1)])])):a.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-dfe07190"]]),sw={class:"age-from-to-form"},aw={class:"form-group"},ow={key:0,class:"form-label mb-2"},lw={class:"row align-items-center mb-2"},uw={key:0,class:"col-auto"},cw={class:"form-label mb-0"},dw={class:"col"},hw={class:"col"},fw={class:"row align-items-center mb-2"},pw={key:0,class:"col-auto"},mw={class:"form-label mb-0"},gw={class:"col"},bw={class:"col"},vw=Ie(a.defineComponent({__name:"AgeFromAgeTo",props:{modelValue:{default:null},title:{default:""},nameFrom:{default:"age_from"},nameTo:{default:"age_to"},placeholderFrom:{default:null},placeholderTo:{default:null},timeTypePlaceholder:{default:void 0},timeTypeOptions:{default:void 0},disabled:{type:Boolean,default:!1},onFilterUpdate:{type:Function,default:void 0}},emits:["update:modelValue","change"],setup(n,{expose:e,emit:t}){const i=[{id:1,label:"Дней",value:"days"},{id:2,label:"Недель",value:"weeks"},{id:3,label:"Месяцев",value:"months"},{id:4,label:"Лет",value:"years"}],r=n,s=t,o={age_from:null,age_to:null,time_type_from:null,time_type_to:null},l=a.ref({...o}),u=a.computed(()=>r.timeTypeOptions!==void 0&&r.timeTypeOptions!==null?r.timeTypeOptions:i),c=a.computed(()=>r.placeholderFrom??null),d=a.computed(()=>r.placeholderTo??null),f=a.computed(()=>{if(r.timeTypePlaceholder===null||r.timeTypePlaceholder===void 0){console.log("[AgeFromAgeTo] timeTypePlaceholder is null/undefined, placeholder disabled");return}return console.log("[AgeFromAgeTo] timeTypePlaceholder:",r.timeTypePlaceholder),r.timeTypePlaceholder}),p=a.computed(()=>{const m=l.value.age_from;if(!m)return null;const D=l.value.time_type_from,g=u.value.find(({id:M})=>Number(M)===Number(D))?.label;return g?`${m} ${g}`:null}),h=a.computed(()=>{const m=l.value.age_to;if(!m)return null;const D=l.value.time_type_to,g=u.value.find(({id:M})=>Number(M)===Number(D))?.label;return g?`${m} ${g}`:null}),x=()=>{l.value={...o}},y=()=>{r.onFilterUpdate&&(r.onFilterUpdate(r.nameFrom,p.value),r.onFilterUpdate(r.nameTo,h.value))},A=m=>{if(!m.age_from&&!m.age_to&&!m.time_type_from&&!m.time_type_to){s("update:modelValue",null),s("change",{...o}),y();return}const g=[];m.age_from&&m.time_type_from&&g.push(`age_from[time_type]=${m.time_type_from}&age_from[value]=${m.age_from}`),m.age_to&&m.time_type_to&&g.push(`age_to[time_type]=${m.time_type_to}&age_to[value]=${m.age_to}`);const M=g.length>0?g.join("&")+"&":"";s("update:modelValue",M||null),s("change",{...m}),y()},C=m=>{if(m)try{const D=new URLSearchParams(m),g=D.get("age_from[value]"),M=D.get("age_from[time_type]"),v=D.get("age_to[value]"),S=D.get("age_to[time_type]");l.value={age_from:g?Number(g):null,age_to:v?Number(v):null,time_type_from:M?Number(M):null,time_type_to:S?Number(S):null}}catch(D){console.warn("Error parsing query string:",D)}};return a.watch(()=>r.modelValue,(m,D)=>{m!==D&&(m===null?x():C(m))},{immediate:!0}),a.watch(()=>l.value,m=>{A(m)},{deep:!0}),a.onMounted(()=>{r.modelValue&&C(r.modelValue)}),e({reset:x,getFormData:()=>({age_from:l.value.age_from?Number(l.value.age_from):null,age_to:l.value.age_to?Number(l.value.age_to):null,time_type_from:l.value.time_type_from?Number(l.value.time_type_from):null,time_type_to:l.value.time_type_to?Number(l.value.time_type_to):null}),getFilterStrings:()=>({from:p.value,to:h.value})}),(m,D)=>(a.openBlock(),a.createElementBlock("div",sw,[a.createElementVNode("div",aw,[m.title?(a.openBlock(),a.createElementBlock("label",ow,a.toDisplayString(m.title),1)):a.createCommentVNode("",!0),a.createElementVNode("div",lw,[c.value?(a.openBlock(),a.createElementBlock("div",uw,[a.createElementVNode("label",cw,a.toDisplayString(c.value),1)])):a.createCommentVNode("",!0),a.createElementVNode("div",dw,[a.createVNode(ur,{modelValue:l.value.age_from,"onUpdate:modelValue":D[0]||(D[0]=g=>l.value.age_from=g),name:m.nameFrom,maskOptions:{regex:"^[0-9]*$"},disabled:m.disabled},null,8,["modelValue","name","disabled"])]),a.createElementVNode("div",hw,[a.createVNode(Vt,{modelValue:l.value.time_type_from,"onUpdate:modelValue":D[1]||(D[1]=g=>l.value.time_type_from=g),name:`${m.nameFrom}_type`,multiple:!1,options:u.value,allowClear:!1,disabled:m.disabled,placeholder:f.value},null,8,["modelValue","name","options","disabled","placeholder"])])]),a.createElementVNode("div",fw,[d.value?(a.openBlock(),a.createElementBlock("div",pw,[a.createElementVNode("label",mw,a.toDisplayString(d.value),1)])):a.createCommentVNode("",!0),a.createElementVNode("div",gw,[a.createVNode(ur,{modelValue:l.value.age_to,"onUpdate:modelValue":D[2]||(D[2]=g=>l.value.age_to=g),name:m.nameTo,maskOptions:{regex:"^[0-9]*$"},disabled:m.disabled},null,8,["modelValue","name","disabled"])]),a.createElementVNode("div",bw,[a.createVNode(Vt,{modelValue:l.value.time_type_to,"onUpdate:modelValue":D[3]||(D[3]=g=>l.value.time_type_to=g),name:`${m.nameTo}_type`,multiple:!1,options:u.value,allowClear:!1,disabled:m.disabled,placeholder:f.value},null,8,["modelValue","name","options","disabled","placeholder"])])])])]))}}),[["__scopeId","data-v-37fca95f"]]),yw={key:0,class:"r3ui-modal-wrapper"},ww={class:"modal-header pb-4 border-bottom-0"},Cw={key:0,class:"modal-title"},Aw={key:0,class:"modal-body pt-0"},Ew={class:"modal-body-content"},kw={key:1,class:"modal-footer row justify-content-start"},Sw={class:"modal-footer-content"},Wc=a.defineComponent({__name:"DefaultModal",props:{modelValue:{type:Boolean,default:!1},title:{type:String,default:""},scrollable:{type:Boolean,default:!0},centered:{type:Boolean,default:!0},size:{type:String,default:""},style:{type:String,default:""},modalVisibility:{type:Boolean,default:!1}},emits:["update:modelValue","emitModalVisibility"],setup(n,{emit:e}){const t=n,i=e,r=a.useSlots(),s=()=>{i("update:modelValue",!1),i("emitModalVisibility",!1)},o=x=>{x.key==="Escape"&&s()},l=a.computed(()=>t.modelValue||t.modalVisibility);let u=0,c=!1;const d=()=>{if(u>0){document.body.style.overflow="hidden";return}document.body.style.overflow=""},f=()=>{c||(window.addEventListener("keydown",o),c=!0)},p=()=>{c&&(window.removeEventListener("keydown",o),c=!1)},h=(x,y)=>{if(x&&!y){u+=1,u===1&&f(),d();return}!x&&y&&(u=Math.max(0,u-1),u===0&&p(),d())};return a.watch(l,h,{immediate:!0}),a.onUnmounted(()=>{l.value&&(u=Math.max(0,u-1)),u===0&&p(),d()}),(x,y)=>(a.openBlock(),a.createBlock(a.Teleport,{to:"body"},[n.modelValue||n.modalVisibility?(a.openBlock(),a.createElementBlock("div",yw,[a.createElementVNode("div",{class:"overlay",onClick:s}),a.createElementVNode("div",{class:a.normalizeClass(["modal-dialog",{"modal-dialog-scrollable":n.scrollable,"modal-dialog-centered":n.centered,"modal-sm":n.size==="sm","modal-lg":n.size==="lg","modal-xl":n.size==="xl"}])},[a.createElementVNode("div",{class:"modal-content p-4",style:a.normalizeStyle(n.style)},[a.createElementVNode("div",ww,[n.title?(a.openBlock(),a.createElementBlock("h4",Cw,a.toDisplayString(n.title),1)):a.createCommentVNode("",!0),a.createElementVNode("button",{type:"button",class:"btn-close",onClick:s})]),a.unref(r)["modal-body"]||a.unref(r).body?(a.openBlock(),a.createElementBlock("div",Aw,[a.createElementVNode("div",Ew,[a.renderSlot(x.$slots,"modal-body"),a.renderSlot(x.$slots,"body")])])):a.createCommentVNode("",!0),a.unref(r)["modal-footer"]||a.unref(r).footer?(a.openBlock(),a.createElementBlock("div",kw,[a.createElementVNode("div",Sw,[a.renderSlot(x.$slots,"modal-footer"),a.renderSlot(x.$slots,"footer")])])):a.createCommentVNode("",!0)],4)],2)])):a.createCommentVNode("",!0)]))}}),xw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA0RSURBVHgB7Z0NcFTVFcf/770NFQYVTHRECFk+DIJCgoqViLASR21N8KOCoB0Jgh21HZFaO7RSxdFarU1R62CnYk0cRcFaEFKr0OBCJWmH0gStoUbADYtCCZEvh2A2b1/f6WbT996+Jcn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DFnA5TRKtxgsAqs4m5nlYLIkSeGZexeW5ppq2rYF0QFlaLLnk2OQAnCQy8FHkwkxN9ANOqEcNc1bjhxapLQCDqln+HCj7eEfpuHM9YSxVFojH85BCcJrCKjyInJrydfQhiD81z1Tx0X1p1yYS0Gl4n9eENL1kdzN++J5iPQ3Vx5rIsVRQZa6vIYThVYJViilizrysfxspY/2w6hwTluNhiYD8KIBMukqWy4qv708gQhCQyyDOCVBTIVtAFQVWqyKHCJhs4mlqulAtKkW0u+BngFftIwB31Msy1ZL2oW6LfW1fWV7twehfdGXjQvmh5gHRmRO8EeOs4WV8R/drQGSG7SGaBWdS7nFC8FLlXol/0637U0fIaNAUCXoy+ovgpSQUVCAQCgUAgEAgEAoFAIBAIBAKBQCDgytcDGZ2xDzhdwgAAAABJRU5ErkJggg==",Dw={class:"row mb-3 flex-column mx-0"},Ow={class:"col-auto mb-3"},Lw={class:"image-container",style:{width:"90px",height:"90px"}},Bw=["src","alt"],Fw=["src"],_w=["src"],Pw=["src"],Nw=["src"],Iw={class:"col"},Hw={class:"confirmation-content"},Vw={key:0,class:"mb-3"},zw={key:1,class:"text-muted"},jw={key:0,class:"row"},Ww={class:"col-auto"},Uw=["disabled"],Gw={class:"col"},Yw=["disabled"],Qw={key:0,class:"spinner-border spinner-border-sm me-2",role:"status"},Kw=Ie(a.defineComponent({__name:"ConfirmationModal",props:{title:{default:""},message:{default:""},description:{default:""},modalVisibility:{type:Boolean,default:!1},size:{default:""},confirmText:{default:"Да"},cancelText:{default:"Нет"},imageSrc:{default:""},imageAlt:{default:""},loading:{type:Boolean,default:!1},mode:{default:"confirmation"},showButtons:{type:Boolean,default:!0}},emits:["update:modalVisibility","confirm","cancel"],setup(n,{emit:e}){const t=n,i=e,r=d=>{i("update:modalVisibility",d)},s=()=>{switch(t.mode){case"success":return"btn btn-success";case"warning":return"btn btn-warning";case"error":return"btn btn-danger";default:return"btn btn-primary"}},o=()=>{switch(t.mode){case"success":return"Отлично";case"warning":return"Понятно";case"error":return"Понятно";default:return t.confirmText}},l=()=>{t.loading||i("confirm")},u=()=>{t.loading||(i("cancel"),i("update:modalVisibility",!1))},c=d=>{console.warn("Failed to load image:",d.target.src)};return(d,f)=>(a.openBlock(),a.createBlock(Wc,{"model-value":d.modalVisibility,"onUpdate:modelValue":r,size:d.size,title:d.title},{"modal-body":a.withCtx(()=>[a.createElementVNode("div",Dw,[a.createElementVNode("div",Ow,[a.createElementVNode("div",Lw,[d.imageSrc?(a.openBlock(),a.createElementBlock("img",{key:0,class:"w-100",src:d.imageSrc,alt:d.imageAlt||"Изображение"},null,8,Bw)):d.mode==="success"?(a.openBlock(),a.createElementBlock("img",{key:1,class:"w-100",src:a.unref(Tw),alt:"Успех",onError:c},null,40,Fw)):d.mode==="warning"?(a.openBlock(),a.createElementBlock("img",{key:2,class:"w-100",src:a.unref(Mw),alt:"Предупреждение",onError:c},null,40,_w)):d.mode==="error"?(a.openBlock(),a.createElementBlock("img",{key:3,class:"w-100",src:a.unref(Rw),alt:"Ошибка",onError:c},null,40,Pw)):(a.openBlock(),a.createElementBlock("img",{key:4,class:"w-100",src:a.unref(xw),alt:"Подтверждение",onError:c},null,40,Nw))])]),a.createElementVNode("div",Iw,[a.createElementVNode("div",Hw,[d.message?(a.openBlock(),a.createElementBlock("h5",Vw,a.toDisplayString(d.message),1)):a.createCommentVNode("",!0),d.description?(a.openBlock(),a.createElementBlock("p",zw,a.toDisplayString(d.description),1)):a.createCommentVNode("",!0)])])]),a.renderSlot(d.$slots,"modal-body",{},void 0,!0)]),"modal-footer":a.withCtx(()=>[a.renderSlot(d.$slots,"modal-footer",{},()=>[d.showButtons?(a.openBlock(),a.createElementBlock("div",jw,[a.createElementVNode("div",Ww,[d.mode==="confirmation"?(a.openBlock(),a.createElementBlock("button",{key:0,class:"btn btn-light",onClick:u,disabled:d.loading},a.toDisplayString(d.cancelText),9,Uw)):a.createCommentVNode("",!0)]),a.createElementVNode("div",Gw,[a.createElementVNode("button",{class:a.normalizeClass([s(),"w-100"]),onClick:l,disabled:d.loading},[d.loading?(a.openBlock(),a.createElementBlock("span",Qw)):a.createCommentVNode("",!0),a.createTextVNode(" "+a.toDisplayString(o()),1)],10,Yw)])])):a.createCommentVNode("",!0)],!0)]),_:3},8,["model-value","size","title"]))}}),[["__scopeId","data-v-d29a06ff"]]),Jw={key:0,class:"filter-modal-wrapper"},qw={class:"filter-modal-dialog"},$w={class:"filter-modal-content"},Zw={class:"filter-modal-header"},Xw={key:0,class:"filter-modal-title"},eC={class:"filter-modal-body"},tC={class:"filter-modal-footer"},iC=Ie(a.defineComponent({__name:"TableFilterModalComponent",props:{title:{default:""},modalVisibility:{type:Boolean,default:!1}},emits:["emitModalVisibility"],setup(n,{emit:e}){const t=n,i=e,r=()=>{i("emitModalVisibility",!1)},s=o=>{o.key==="Escape"&&r()};return a.watch(()=>t.modalVisibility,o=>{o?(document.body.style.overflow="hidden",window.addEventListener("keydown",s)):(document.body.style.overflow="",window.removeEventListener("keydown",s))},{immediate:!0}),a.onUnmounted(()=>{document.body.style.overflow="",window.removeEventListener("keydown",s)}),(o,l)=>(a.openBlock(),a.createBlock(a.Teleport,{to:"body"},[o.modalVisibility?(a.openBlock(),a.createElementBlock("div",Jw,[a.createElementVNode("div",{class:"filter-modal-overlay",onClick:r}),a.createElementVNode("div",qw,[a.createElementVNode("div",$w,[a.createElementVNode("div",Zw,[o.title?(a.openBlock(),a.createElementBlock("h4",Xw,a.toDisplayString(o.title),1)):a.createCommentVNode("",!0),a.createElementVNode("button",{type:"button",class:"btn-close",onClick:r})]),a.createElementVNode("div",eC,[a.renderSlot(o.$slots,"modal-body",{},void 0,!0)]),a.createElementVNode("div",tC,[a.renderSlot(o.$slots,"modal-footer",{},void 0,!0)])])])])):a.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-fc16a7b7"]]),nC={key:0,class:"px-0"},rC={class:"modal-dialog modal-dialog-centered modal-xl"},sC={class:"modal-content py-2 px-4"},aC={class:"modal-header mb-3"},oC={class:"modal-title"},lC={class:"modal-body row"},uC={class:"modal-footer border-0 row justify-content-start pt-0 pb-3"},Uc=Ie(a.defineComponent({__name:"EditTableColumnsModalComponent",props:{title:{default:""},modalVisibility:{type:Boolean,default:!1}},emits:["emitModalVisibility"],setup(n,{emit:e}){return(t,i)=>t.modalVisibility?(a.openBlock(),a.createElementBlock("div",nC,[a.createElementVNode("div",{class:"overlay",onClick:i[0]||(i[0]=r=>t.$emit("emitModalVisibility",!1))}),a.createElementVNode("div",rC,[a.createElementVNode("div",sC,[a.createElementVNode("div",aC,[a.createElementVNode("h3",oC,a.toDisplayString(t.title),1),a.createElementVNode("button",{type:"button",class:"btn-close",onClick:i[1]||(i[1]=r=>t.$emit("emitModalVisibility",!1))})]),a.createElementVNode("div",lC,[a.renderSlot(t.$slots,"modal-body",{},void 0,!0)]),a.createElementVNode("div",uC,[a.renderSlot(t.$slots,"modal-footer",{},void 0,!0)])])])])):a.createCommentVNode("",!0)}}),[["__scopeId","data-v-420e2861"]]),cC={class:"row mb-4 mx-0","data-test":"PageTitle"},dC={class:"col-12"},hC={class:"row align-items-center"},fC={class:"col-auto"},pC={class:"col d-flex justify-content-end"},mC=Ie(a.defineComponent({__name:"PageTitle",props:{title:{},subtitle:{default:""},titleClass:{default:""},subtitleClass:{default:""},titleStyle:{default:""},subtitleStyle:{default:""}},setup(n){return(e,t)=>(a.openBlock(),a.createElementBlock("div",cC,[a.createElementVNode("div",dC,[a.createElementVNode("div",hC,[a.createElementVNode("div",fC,[a.createElementVNode("h2",{class:a.normalizeClass(["mb-0",e.titleClass]),style:a.normalizeStyle(e.titleStyle)},a.toDisplayString(e.title),7),e.subtitle?(a.openBlock(),a.createElementBlock("p",{key:0,class:a.normalizeClass(["text-muted mb-0 mt-1",e.subtitleClass]),style:a.normalizeStyle(e.subtitleStyle)},a.toDisplayString(e.subtitle),7)):a.createCommentVNode("",!0)]),a.createElementVNode("div",pC,[a.renderSlot(e.$slots,"default",{},void 0,!0)])])])]))}}),[["__scopeId","data-v-fd1eb9a3"]]),gC={class:"card-body"},bC={class:"card-text"},vC=Ie({__name:"Card",props:{title:{type:String,default:""},bodyClass:{type:String,default:"bg-gray-light"}},setup(n){return(e,t)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["card",n.bodyClass])},[a.createElementVNode("div",gC,[a.renderSlot(e.$slots,"bodyHeader",{},void 0,!0),a.createElementVNode("p",bC,[a.renderSlot(e.$slots,"default",{},void 0,!0)])])],2))}},[["__scopeId","data-v-5fa81802"]]),yC={class:"d-flex align-items-center justify-content-center bg-white shadow-sm py-3"},wC=a.defineComponent({__name:"Footer",props:{copyrightText:{type:String,required:!0}},setup(n){const e=n;return(t,i)=>(a.openBlock(),a.createElementBlock("footer",yC,a.toDisplayString(e.copyrightText)+" "+a.toDisplayString(a.unref(Ae)().year()),1))}}),CC={class:"custom-dropdown"},AC={style:{"border-bottom":"2px solid #000"}},EC={class:"dropdown-list-wrapper"},kC={key:0,class:"custom-dropdown-menu"},SC=["onMousedown"],Po=Ie({__name:"DefaultDropDown",props:{links:{type:Array,required:!0},title:{type:String,default:"Actions"},type:{type:String,default:"actions",validator:function(n){return["actions","profile"].includes(n)}}},setup(n){const e=n,t=a.ref(!1),i=l=>{l&&(l.preventDefault(),l.stopPropagation()),t.value=!t.value},r=l=>{if(typeof l!="function"){i();return}l(),i()},s=l=>{l&&(l.preventDefault(),l.stopPropagation()),setTimeout(()=>{t.value=!1},100)},o=a.computed(()=>e.type==="profile");return(l,u)=>(a.openBlock(),a.createElementBlock("div",CC,[o.value?(a.openBlock(),a.createElementBlock("a",{key:0,href:"#",class:"cursor-pointer nav-link dropdown-toggle d-flex align-items-center border rounded p-2",onClick:i,onBlur:s},[u[0]||(u[0]=a.createElementVNode("div",{class:"circl"},null,-1)),a.createTextVNode(" "+a.toDisplayString(n.title),1)],32)):(a.openBlock(),a.createElementBlock("a",{key:1,href:"#",class:"link-dark",type:"button",onClick:i,onBlur:s},[a.createElementVNode("span",AC,a.toDisplayString(n.title),1),u[1]||(u[1]=a.createElementVNode("i",{class:"bi bi-chevron-up dropdown-edit",style:{"font-size":"12px","padding-left":"5px"}},null,-1))],32)),a.createElementVNode("div",EC,[t.value?(a.openBlock(),a.createElementBlock("ul",kC,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(n.links,(c,d)=>(a.openBlock(),a.createElementBlock("li",{key:d},[c.hidden?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["dropdown-item",{disabled:c?.disabled}]),style:{cursor:"pointer"},onMousedown:a.withModifiers(f=>r(c?.action),["prevent"])},a.toDisplayString(c?.title),43,SC))]))),128))])):a.createCommentVNode("",!0)])]))}},[["__scopeId","data-v-2e8e004b"]]),xC="data:image/svg+xml,%3csvg%20width='222'%20height='72'%20viewBox='0%200%20222%2072'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20width='222'%20height='72'%20fill='url(%23pattern0)'/%3e%3cdefs%3e%3cpattern%20id='pattern0'%20patternContentUnits='objectBoundingBox'%20width='1'%20height='1'%3e%3cuse%20xlink:href='%23image0_3427_23538'%20transform='matrix(0.00490002%200%200%200.0151084%200%20-0.00125339)'/%3e%3c/pattern%3e%3cimage%20id='image0_3427_23538'%20width='205'%20height='59'%20xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAM0AAAA7CAYAAADYdw5tAAAQ9UlEQVR4nO1dzW7bSLb+DinJns69uOzF4CodIKMM0EkHdxFl0YAjqhFmN7s4TxD5CaJ+AstPEPsJojxBO08QGonkAFlYvRh42hlMGDQa7eAuWsHt221bYp1ZsKSQxSJFWf6Lmh+ghSiqeETVV3XOd04VCTk+KTiOYw0Gg3VmZsMwnr58+dI9b5v+aKDzNiDH8VCr1VaJqMXMHhG1Op3O0/O26Y+CnDSfMGq1WoOIHgOwmNkTQtx79eqVd952zTty0nzicBynMhgMngOoyEPrxWJxzXXd/nna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ePQTwN+WjpCJRr1QqPfA87+D0rctxGshJcwL48ccfX129evUDgCUAiymnuqVS6V7+FOZPG7l7doIYVQfgYx1cX75cIcRm/kjA+cC/AdgTzC0pucD7AAAAAElFTkSuQmCC'/%3e%3c/defs%3e%3c/svg%3e",RC=["src","alt"],Gc=Ie(a.defineComponent({__name:"Logo",props:{src:{default:xC},alt:{default:"Logo"},width:{default:154},height:{default:50},className:{default:"logo"},style:{default:()=>({})},brandText:{default:void 0},textSize:{default:12},textColor:{default:"#000"},textWeight:{default:"normal"},showText:{type:Boolean,default:!0}},setup(n){const e=n,t=a.computed(()=>e.src?.startsWith("~/")?e.src.replace("~/","/"):e.src),i=a.computed(()=>{const l="r3ui-logo";return e.className?`${l} ${e.className}`:l}),r=a.computed(()=>({width:typeof e.width=="number"?`${e.width}px`:e.width,height:typeof e.height=="number"?`${e.height}px`:e.height,...e.style})),s=a.computed(()=>"r3ui-logo-container"),o=a.computed(()=>({fontSize:typeof e.textSize=="number"?`${e.textSize}px`:e.textSize,color:e.textColor,fontWeight:e.textWeight}));return(l,u)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["r3ui-logo-container",s.value])},[a.createElementVNode("img",{src:t.value,alt:l.alt,class:a.normalizeClass(i.value),style:a.normalizeStyle(r.value)},null,14,RC),l.brandText&&l.brandText.trim()&&l.showText?(a.openBlock(),a.createElementBlock("span",{key:0,class:"r3ui-logo-text",style:a.normalizeStyle(o.value)},a.toDisplayString(l.brandText),5)):a.createCommentVNode("",!0)],2))}}),[["__scopeId","data-v-57bc5457"]]),MC={class:"navbar navbar-expand-md navbar-light bg-white border-bottom hide-to-print r3ui-header"},TC={class:"row align-items-center"},DC={class:"col-auto pe-0"},OC={class:"col-auto ps-0 text-wrap mx-3 r3ui-header-label"},LC={class:"row"},BC={class:"col-auto d-flex align-items-center"},FC={key:1,class:"text-muted"},_C={class:"col-auto"},PC=Ie(a.defineComponent({__name:"Header",props:{isAuthenticated:{type:Boolean,default:!1},user:{type:Object,default:null},brandText:{type:String,required:!0},loginText:{type:String,default:"Authorization"},rawDropdownLinks:{type:Array,default:()=>[]}},emits:["navigate","logout"],setup(n,{emit:e}){const t=n,i=e,r=a.computed(()=>t.rawDropdownLinks.map(s=>s.name==="logout"?{...s,action:()=>i("logout")}:s.name.includes("http")?{...s,action:()=>i("navigate",s.name,{external:!0})}:{...s,action:()=>i("navigate",`/${s.name}`)}));return(s,o)=>(a.openBlock(),a.createElementBlock("div",MC,[a.createElementVNode("div",{class:a.normalizeClass([t.isAuthenticated?"container-fluid":"container"])},[a.createElementVNode("a",{href:"/",onClick:o[0]||(o[0]=a.withModifiers(()=>i("navigate","/"),["prevent"])),class:"text-decoration-none r3ui-header-link"},[a.createElementVNode("div",TC,[a.createElementVNode("div",DC,[a.renderSlot(s.$slots,"logo",{},()=>[a.createVNode(Gc,{class:"r3ui-header-logo",brandText:t.brandText},null,8,["brandText"])],!0)]),a.createElementVNode("div",OC,a.toDisplayString(t.brandText),1)])]),a.createElementVNode("div",LC,[a.createElementVNode("div",BC,[t.isAuthenticated?(a.openBlock(),a.createBlock(Po,{key:0,type:"profile",title:t.user?.name||"",links:r.value},null,8,["title","links"])):a.createCommentVNode("",!0),t.isAuthenticated?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",FC,a.toDisplayString(t.loginText),1))]),a.createElementVNode("div",_C,[a.renderSlot(s.$slots,"language-selector",{},void 0,!0)])])],2)]))}}),[["__scopeId","data-v-a63a7e7f"]]),NC={class:"col-12 divider divider__wrapper","data-test":"Divider"},No={__name:"Divider",props:{height:{type:[Number,String],default:4},className:{type:String,default:"mb-4"},colorHEX:{type:String,default:"#EFEFEF"}},setup(n){const e=n;return(t,i)=>(a.openBlock(),a.createElementBlock("div",NC,[a.createElementVNode("div",{class:a.normalizeClass(e.className),style:a.normalizeStyle(`height: ${e.height}px ; background-color:${e.colorHEX};`)},null,6)]))}},IC=n=>{const e=a.inject("sidebarContentVisibility"),t=a.inject("toggleSidebar"),i=a.ref({}),r=(l,u)=>{i.value[u]===l?i.value[u]=null:i.value[u]=l},s=a.computed(()=>n.value),o=()=>{if(i.value={},!e?.value)return;const l=u=>{u.childrens?.length&&u.childrens.forEach(l),u.isActive&&u.uniqueKey&&r(u.uniqueKey,u.level)};n.value.forEach(l)};return a.provide("expandAccordion",r),a.provide("expandedAccordion",i),a.watch(n,()=>{o()},{deep:!0}),a.watch(()=>e?.value,()=>{o()},{deep:!0}),a.onMounted(()=>{o()}),{expandedAccordion:i,expandAccordion:r,sidebarLinks:n,collapsedSidebarLinks:s,toggleSidebar:t,sidebarContentVisibility:e}},HC={key:0},VC=["href","target","rel"],zC=["innerHTML"],jC={key:1},WC=["id"],UC=["innerHTML"],GC=["id"],YC={class:"accordion-body"},Yc=Ie(a.defineComponent({name:"SidebarLink",__name:"SidebarLink",props:{sidebarLink:{type:Object,required:!0}},emits:["navigate"],setup(n,{emit:e}){const t=e,i=a.inject("expandAccordion"),r=a.inject("expandedAccordion"),s=o=>{o.isExternal&&o.href?o.openInNewWindow!==!1?window.open(o.href,"_blank","noopener,noreferrer"):window.location.href=o.href:t("navigate",o.href)};return(o,l)=>{const u=a.resolveComponent("SidebarLink",!0);return a.openBlock(),a.createElementBlock("div",null,[n.sidebarLink.childrens?.length?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",HC,[a.createElementVNode("a",{href:n.sidebarLink.href,target:n.sidebarLink.isExternal&&n.sidebarLink.openInNewWindow!==!1?"_blank":void 0,rel:n.sidebarLink.isExternal&&n.sidebarLink.openInNewWindow!==!1?"noopener noreferrer":void 0,onClick:l[0]||(l[0]=a.withModifiers(()=>s(n.sidebarLink),["prevent"])),class:"sidebar-link-item"},[n.sidebarLink.isVisible?(a.openBlock(),a.createElementBlock("span",{key:0,class:a.normalizeClass(["btn btn-light w-100 text-start border-0",[n.sidebarLink.level===0?"nested-links":"extended-menu-item",n.sidebarLink.isActive?"fw-bolder":""]]),style:{background:"#efefef"}},[a.createElementVNode("span",{innerHTML:n.sidebarLink.icon,class:a.normalizeClass([n.sidebarLink.level===0?"pe-3":""])},null,10,zC),a.createElementVNode("span",null,a.toDisplayString(n.sidebarLink.label),1)],2)):a.createCommentVNode("",!0)],8,VC)])),n.sidebarLink.childrens?.length?(a.openBlock(),a.createElementBlock("div",jC,[n.sidebarLink.isVisible?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["accordion-item bg-transparent border-0",[n.sidebarLink.level>0?"extended-menu-item":""]])},[a.createElementVNode("h2",{class:"accordion-header",id:`heading-${n.sidebarLink.uniqueKey}`},[a.createElementVNode("button",{class:a.normalizeClass(["accordion-button outline-none rounded",{"fw-bolder":n.sidebarLink.isActive,collapsed:a.unref(r)&&a.unref(r)[n.sidebarLink.level]!==n.sidebarLink.uniqueKey}]),type:"button",onClick:l[1]||(l[1]=c=>a.unref(i)&&a.unref(i)(n.sidebarLink.uniqueKey,n.sidebarLink.level))},[a.createElementVNode("span",{innerHTML:n.sidebarLink.icon,class:a.normalizeClass([n.sidebarLink.level===0?"pe-3":""])},null,10,UC),a.createTextVNode(" "+a.toDisplayString(n.sidebarLink.label),1)],2)],8,WC),a.createElementVNode("div",{id:`flush-${n.sidebarLink.uniqueKey}`,class:a.normalizeClass(["accordion-collapse collapse",{show:a.unref(r)&&a.unref(r)[n.sidebarLink.level]===n.sidebarLink.uniqueKey}]),style:{transition:"0.5s"}},[a.createElementVNode("div",YC,[a.createElementVNode("ul",null,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(n.sidebarLink.childrens,c=>(a.openBlock(),a.createElementBlock("li",{key:c.uniqueKey},[a.createVNode(u,{sidebarLink:c,onNavigate:l[2]||(l[2]=d=>t("navigate",d))},null,8,["sidebarLink"])]))),128))])])],10,GC)],2)):a.createCommentVNode("",!0)])):a.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-0a6fd930"]]),QC={key:0},KC={key:0},JC=["title"],qC=["innerHTML"],$C={key:1},ZC={key:0,class:"d-flex position-relative",style:{"z-index":"999",top:"-50px"}},XC={class:"hidden-div"},eA={key:1},tA=["href","target","rel"],iA=["title"],nA=["innerHTML"],rA={key:0,class:"ms-2"},sA={key:1,class:"btn btn-light w-100 text-align-left border-0 py-3 bg-white",type:"button"},aA={key:0,class:"ms-2"},Qc=Ie(a.defineComponent({name:"CollapsedSidebarLink",__name:"CollapsedSidebarLink",props:{link:{type:Object,required:!0}},emits:["navigate"],setup(n,{emit:e}){const t=e,i=a.inject("expandAccordion"),r=a.inject("expandedAccordion"),s=o=>{o.isExternal&&o.href?o.openInNewWindow!==!1?window.open(o.href,"_blank","noopener,noreferrer"):window.location.href=o.href:t("navigate",o.href)};return(o,l)=>{const u=a.resolveComponent("CollapsedSidebarLink",!0);return n.link.isVisible?(a.openBlock(),a.createElementBlock("div",QC,[n.link.childrens?.length?(a.openBlock(),a.createElementBlock("div",KC,[a.createElementVNode("button",{title:n.link.label,class:a.normalizeClass(["btn btn-light w-100 text-start border-0",[n.link.icon?"icon":"text-align-left bg-white"]]),type:"button",onClick:l[0]||(l[0]=c=>a.unref(i)?.(n.link.uniqueKey,n.link.level))},[n.link.icon?(a.openBlock(),a.createElementBlock("span",{key:0,innerHTML:n.link.icon},null,8,qC)):(a.openBlock(),a.createElementBlock("span",$C,a.toDisplayString(n.link.label),1))],10,JC),a.unref(r)&&a.unref(r)[n.link.level]===n.link.uniqueKey?(a.openBlock(),a.createElementBlock("div",ZC,[a.createElementVNode("div",XC,[a.createElementVNode("h5",null,a.toDisplayString(n.link.label),1),l[3]||(l[3]=a.createElementVNode("hr",{size:"1"},null,-1)),a.createElementVNode("ul",null,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(n.link.childrens,c=>(a.openBlock(),a.createElementBlock("li",{class:"mb-0",key:c.uniqueKey},[a.createVNode(u,{link:c,onNavigate:l[1]||(l[1]=d=>t("navigate",d))},null,8,["link"])]))),128))])])])):a.createCommentVNode("",!0)])):(a.openBlock(),a.createElementBlock("div",eA,[a.createElementVNode("a",{href:n.link.href,target:n.link.isExternal&&n.link.openInNewWindow!==!1?"_blank":void 0,rel:n.link.isExternal&&n.link.openInNewWindow!==!1?"noopener noreferrer":void 0,onClick:l[2]||(l[2]=a.withModifiers(()=>s(n.link),["prevent"]))},[n.link.level<1?(a.openBlock(),a.createElementBlock("button",{key:0,title:n.link.label,class:"btn btn-light w-100 text-start border-0",type:"button",style:{padding:"15px 20px",background:"#efefef"}},[a.createElementVNode("span",{innerHTML:n.link.icon},null,8,nA),n.link.isExternal?(a.openBlock(),a.createElementBlock("span",rA,"↗")):a.createCommentVNode("",!0)],8,iA)):(a.openBlock(),a.createElementBlock("button",sA,[a.createElementVNode("span",null,a.toDisplayString(n.link.label),1),n.link.isExternal?(a.openBlock(),a.createElementBlock("span",aA,"↗")):a.createCommentVNode("",!0)]))],8,tA)]))])):a.createCommentVNode("",!0)}}}),[["__scopeId","data-v-6d9f8db2"]]),oA={key:0},lA={class:"accordion accordion-flush",id:"accordionMenu"},uA={key:1},cA={class:"row"},dA={class:"col-12"},hA={class:"sidebar-footer p-3"},Kc=a.defineComponent({__name:"Sidebar",props:{links:{type:Array,required:!0},isCollapsed:{type:Boolean,default:!1}},emits:["navigate"],setup(n,{emit:e}){const t=n,i=e,r=a.computed(()=>!t.isCollapsed),{sidebarLinks:s,collapsedSidebarLinks:o}=IC(a.computed(()=>t.links));return(l,u)=>(a.openBlock(),a.createElementBlock("div",{id:"sidebarContent",class:a.normalizeClass(["sidebar sidebarContent",{"collapse-width":!r.value}])},[r.value?(a.openBlock(),a.createElementBlock("div",oA,[a.createElementVNode("div",lA,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(a.unref(s),c=>(a.openBlock(),a.createElementBlock("div",{key:c.uniqueKey},[a.createVNode(Yc,{sidebarLink:c,onNavigate:u[0]||(u[0]=d=>i("navigate",d))},null,8,["sidebarLink"])]))),128))])])):a.createCommentVNode("",!0),r.value?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",uA,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(a.unref(o),c=>(a.openBlock(),a.createElementBlock("div",{key:c.uniqueKey},[a.createVNode(Qc,{link:c,onNavigate:u[1]||(u[1]=d=>i("navigate",d))},null,8,["link"])]))),128))])),a.createElementVNode("div",cA,[a.createElementVNode("div",dA,[a.createVNode(No)])]),a.createElementVNode("div",hA,[a.renderSlot(l.$slots,"footer")])],2))}}),fA=n=>{const e=a.ref(!0),t=a.ref(null),i=a.ref(null),r=a.ref(320),s=()=>{e.value=!1,r.value=60,localStorage.setItem("sideBarVisibility","0")},o=()=>{e.value=!0,r.value=320,localStorage.setItem("sideBarVisibility","1")},l=()=>{e.value?s():o()},u=()=>{localStorage.getItem("sideBarVisibility")==="0"?s():o()},c=()=>{setTimeout(()=>{const d=t.value?.offsetWidth||0,f=r.value||0;if(d>0&&f>0){const p=window.innerWidth<768;i.value=p?d:d-f-20}},50)};return a.provide("sidebarContentVisibility",e),a.provide("toggleSidebar",l),a.watch(r,()=>{c()},{deep:!0}),a.onMounted(()=>{u(),c(),window.addEventListener("resize",c,!0)}),a.onBeforeUnmount(()=>{window.removeEventListener("resize",c,!0)}),{isAuthenticated:n,contentWidth:i,clientWidth:t,sidebarWidth:r,toggleSidebar:l,sidebarContentVisibility:e}},pA={class:"container-fluid p-0"},mA={class:"py-4",style:{"min-height":"90vh"}},gA=a.defineComponent({__name:"MainComponent",props:{sidebarLinks:{type:Array,required:!0},isAuthenticated:{type:Boolean,default:!1}},emits:["navigate"],setup(n,{emit:e}){const t=n,i=e,{contentWidth:r,clientWidth:s,sidebarWidth:o,sidebarContentVisibility:l}=fA(a.computed(()=>t.isAuthenticated));return(u,c)=>(a.openBlock(),a.createElementBlock("div",pA,[a.createElementVNode("div",{class:a.normalizeClass(["d-flex",{"justify-content-center":!t.isAuthenticated}]),ref_key:"clientWidth",ref:s},[t.isAuthenticated?(a.openBlock(),a.createElementBlock("div",{key:0,id:"sidebar",class:"pt-3 sidebar px-0 hide-to-print",style:a.normalizeStyle(`background: #efefef; transition: .2s; width:${a.unref(o)}px;`)},[a.createVNode(Kc,{links:t.sidebarLinks,"is-collapsed":!a.unref(l),onNavigate:c[0]||(c[0]=d=>i("navigate",d))},null,8,["links","is-collapsed"])],4)):a.createCommentVNode("",!0),a.createElementVNode("div",{id:"content-div",style:a.normalizeStyle(`transition: .2s; width:${a.unref(r)}px;`)},[a.createElementVNode("div",mA,[a.renderSlot(u.$slots,"breadcrumbs"),a.renderSlot(u.$slots,"default")])],4)],2)]))}}),bA={class:"row hide-to-print m-0","data-test":"Breadcrumbs"},vA={class:"col"},yA={"aria-label":"breadcrumb"},wA={class:"breadcrumb row"},CA=["aria-current"],AA=["href","onClick"],EA={key:1,class:"text-nowrap"},kA=Ie(a.defineComponent({__name:"Breadcrumbs",props:{crumbs:{type:Array,required:!0}},emits:["navigate"],setup(n,{emit:e}){const t=n,i=e;return(r,s)=>(a.openBlock(),a.createElementBlock("div",bA,[a.createElementVNode("div",vA,[a.createElementVNode("nav",yA,[a.createElementVNode("ol",wA,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(t.crumbs,(o,l)=>(a.openBlock(),a.createElementBlock("li",{key:l,class:a.normalizeClass(["breadcrumb-item text-nowrap col-auto",{active:o.isActive}]),"aria-current":o.isActive?"page":void 0},[o.isActive?(a.openBlock(),a.createElementBlock("span",EA,a.toDisplayString(o.text),1)):(a.openBlock(),a.createElementBlock("a",{key:0,href:o.href,class:"text-decoration-none text-black-40 cursor-pointer text-nowrap",onClick:a.withModifiers(()=>i("navigate",o.href),["prevent"])},a.toDisplayString(o.text),9,AA))],10,CA))),128))])])])]))}}),[["__scopeId","data-v-cff07bcc"]]),SA=a.defineComponent({__name:"LanguageSelector",props:{modelValue:{},options:{},width:{},allowClear:{type:Boolean}},emits:["update:modelValue"],setup(n,{emit:e}){const t=n,i=e,r=a.computed({get:()=>t.modelValue,set:s=>i("update:modelValue",s)});return(s,o)=>(a.openBlock(),a.createElementBlock("div",{style:a.normalizeStyle({minWidth:s.width||"150px"})},[a.createVNode(Vt,{class:"w-100",modelValue:r.value,"onUpdate:modelValue":o[0]||(o[0]=l=>r.value=l),options:s.options,"allow-clear":s.allowClear??!1},null,8,["modelValue","options","allow-clear"])],4))}}),xA={key:0,class:"card-header"},RA={class:"card-title mb-0"},MA={class:"card-body"},TA={class:"row"},DA={class:"row align-items-center"},OA={class:"col-auto label pe-0"},LA={class:"col-auto"},BA={key:0,class:"mt-3"},FA=Ie(a.defineComponent({__name:"CardInfo",props:{title:{default:""},fields:{default:()=>[]},cardClass:{default:""},variant:{default:"default"},size:{default:"md"},bordered:{type:Boolean,default:!0},shadow:{type:Boolean,default:!1}},setup(n){const e=n,t=a.computed(()=>{const i=["card-info"];return e.variant!=="default"&&i.push(`card-info--${e.variant}`),e.size!=="md"&&i.push(`card-info--${e.size}`),e.bordered&&i.push("card-info--bordered"),e.shadow&&i.push("card-info--shadow"),e.cardClass&&i.push(e.cardClass),i.join(" ")});return(i,r)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["card",t.value])},[i.title?(a.openBlock(),a.createElementBlock("div",xA,[a.createElementVNode("h5",RA,a.toDisplayString(i.title),1)])):a.createCommentVNode("",!0),a.createElementVNode("div",MA,[a.createElementVNode("div",TA,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(i.fields,(s,o)=>(a.openBlock(),a.createElementBlock("div",{class:"col-12 mb-2",key:o},[a.createElementVNode("div",DA,[a.createElementVNode("div",OA,a.toDisplayString(s.label)+":",1),a.createElementVNode("div",LA,[a.createElementVNode("span",{class:a.normalizeClass(["value",s.valueClass]),style:a.normalizeStyle(s.valueStyle)},a.toDisplayString(s.value),7)])])]))),128))]),i.$slots.default?(a.openBlock(),a.createElementBlock("div",BA,[a.renderSlot(i.$slots,"default",{},void 0,!0)])):a.createCommentVNode("",!0)])],2))}}),[["__scopeId","data-v-cdf01ae2"]]),_A={class:"placeholder-glow"},PA={class:"page-card"},NA={class:"row hide-to-print card-header mx-0 w-100"},IA={class:"col"},HA={class:"row flex-nowrap align-items-center"},VA={class:"col-auto"},zA={key:0,class:"col-auto"},jA={class:"row",style:{padding:"20px"}},WA={class:"d-flex align-items-start"},UA={class:"nav flex-column nav-pills",id:"v-pills-tab",role:"tablist","aria-orientation":"vertical"},GA=["onClick"],YA={class:"tab-content",id:"v-pills-tabContent"},QA={key:0,class:"title"},KA={key:1},JA={key:0},qA={key:0},$A=["title"],ZA={key:2},XA={class:"row"},eE={class:"col-12"},tE=Ie(a.defineComponent({__name:"PageCard",props:{actionLinks:{default:()=>[]},tabs:{default:()=>[]},col:{default:"auto"},actionsTitle:{default:"Действия"},isLoading:{type:Boolean,default:!1}},emits:["click","active-tab"],setup(n,{emit:e}){const t=n,i=e,r=a.ref(0),s=a.useSlots(),o=d=>{i("click",d)},l=a.computed(()=>!!s.header),u=a.computed(()=>!!s.footer),c=d=>{r.value=d,i("active-tab",t.tabs[d])};return a.onMounted(()=>{}),(d,f)=>(a.openBlock(),a.createElementBlock("div",null,[a.withDirectives(a.createElementVNode("p",_A,[...f[0]||(f[0]=[a.createElementVNode("span",{class:"placeholder col-12 mb-1",style:{"min-height":"300px","border-radius":"4px"}},null,-1)])],512),[[a.vShow,d.isLoading]]),a.withDirectives(a.createElementVNode("div",PA,[a.createElementVNode("div",NA,[a.createElementVNode("div",IA,[a.createElementVNode("div",HA,[a.createElementVNode("div",VA,[l.value?a.renderSlot(d.$slots,"header",{key:0},void 0,!0):a.createCommentVNode("",!0)])])]),d.actionLinks.length>0?(a.openBlock(),a.createElementBlock("div",zA,[a.createVNode(Po,{title:d.actionsTitle,links:d.actionLinks,onClick:o},null,8,["title","links"])])):a.createCommentVNode("",!0)]),a.createElementVNode("div",jA,[a.createElementVNode("div",WA,[a.createElementVNode("div",UA,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(d.tabs,(p,h)=>a.withDirectives((a.openBlock(),a.createElementBlock("button",{key:h,class:a.normalizeClass(["nav-link me-5",[h===r.value?"active":""]]),onClick:x=>c(h)},a.toDisplayString(p.navLink),11,GA)),[[a.vShow,p.navLink]])),128))]),a.createElementVNode("div",YA,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(d.tabs,(p,h)=>(a.openBlock(),a.createElementBlock("div",{key:h,class:a.normalizeClass(["tab-pane fade row",[h===r.value?"show active d-flex":""]])},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(p.contents,(x,y)=>(a.openBlock(),a.createElementBlock("div",{key:y,class:a.normalizeClass(`col-${d.col} mb-3`)},[x.subtitle?(a.openBlock(),a.createElementBlock("div",QA,a.toDisplayString(x.subtitle)+": ",1)):a.createCommentVNode("",!0),!x.type||x.type==="text"?(a.openBlock(),a.createElementBlock("div",KA,[typeof x.text=="string"?(a.openBlock(),a.createElementBlock("div",JA,a.toDisplayString(x.text),1)):x.text?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:1},a.renderList(x.text,(A,C)=>(a.openBlock(),a.createElementBlock("div",{key:C},[typeof A=="string"?(a.openBlock(),a.createElementBlock("div",qA,a.toDisplayString(A),1)):a.createCommentVNode("",!0),typeof A=="object"?(a.openBlock(),a.createElementBlock("div",{key:1,title:A?.description||""},a.toDisplayString(A.name),9,$A)):a.createCommentVNode("",!0)]))),128)):a.createCommentVNode("",!0)])):x.type==="custom"&&x.slotName?(a.openBlock(),a.createElementBlock("div",ZA,[a.renderSlot(d.$slots,x.slotName,{content:x},void 0,!0)])):a.createCommentVNode("",!0)],2))),128))],2))),128))])]),u.value?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[a.createVNode(No,{class:"mt-3"}),a.createElementVNode("div",XA,[a.createElementVNode("div",eE,[a.renderSlot(d.$slots,"footer",{},void 0,!0)])])],64)):a.createCommentVNode("",!0)])],512),[[a.vShow,!d.isLoading]])]))}}),[["__scopeId","data-v-57cc294f"]]),iE={key:0,class:"row w-100 parent"},nE={class:"col-12 wrapper w-100"},rE=["innerHTML"],Jc={__name:"Toast",props:{message:{type:String,default:""},isError:{type:Boolean,default:!1}},setup(n){const e=n,t=a.ref(e.message);a.watch(()=>e.message,r=>{t.value=r});const i=()=>{t.value=""};return(r,s)=>t.value&&t.value.length>0?(a.openBlock(),a.createElementBlock("div",iE,[a.createElementVNode("div",nE,[a.createElementVNode("div",{class:a.normalizeClass(["alert align-items-center message",[e.isError?"alert-danger":"alert-success"]]),innerHTML:t.value},null,10,rE),a.createElementVNode("i",{class:"bi bi-x-lg",onClick:i})])])):a.createCommentVNode("",!0)}},sE={key:0,class:"row","data-test":"ErrorMessageComponent"},aE={class:"col-12",id:"alert"},oE={key:0,class:"bi bi-exclamation-triangle pe-2","aria-hidden":"true"},lE=["innerHTML"],uE=Ie(a.defineComponent({__name:"ErrorMessageComponent",props:{message:{default:""},warningIcon:{type:Boolean,default:!1},type:{default:"danger"},asHtml:{type:Boolean,default:!1}},setup(n){const e=n,t=a.computed(()=>e.message===null||e.message===void 0?!1:Array.isArray(e.message)?e.message.length>0:!!(e.message&&typeof e.message=="string"&&e.message.length>0&&e.message.trim()!=="")),i=a.computed(()=>Array.isArray(e.message)?e.message.join(", "):e.message||"");return(r,s)=>t.value?(a.openBlock(),a.createElementBlock("div",sE,[a.createElementVNode("div",aE,[a.createElementVNode("div",{class:a.normalizeClass([i.value?`alert alert-${r.type}`:"",{"d-flex align-items-center":r.warningIcon}])},[i.value&&r.warningIcon?(a.openBlock(),a.createElementBlock("i",oE)):a.createCommentVNode("",!0),r.asHtml?(a.openBlock(),a.createElementBlock("div",{key:1,innerHTML:i.value},null,8,lE)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:2},[a.createTextVNode(a.toDisplayString(i.value),1)],64))],2)])])):a.createCommentVNode("",!0)}}),[["__scopeId","data-v-8fc0656d"]]),cE={class:"accordion-header",style:{background:"transparent"}},dE=["aria-expanded","aria-controls"],hE={key:0},fE=["id"],pE={class:"accordion-body px-0"},mE=Ie(a.defineComponent({__name:"DefaultAccordion",props:{title:{},titleFontSize:{default:16},isCollapsed:{type:Boolean,default:!0},isVisibleBorderBottom:{type:Boolean,default:!0},isCollapsedDefault:{type:Boolean,default:!0},isTitleBold:{type:Boolean,default:!1},fullWidth:{type:Boolean,default:!1}},emits:["update-visibility"],setup(n,{emit:e}){const t=n,i=e,r=a.useSlots(),s=a.ref(Math.random().toString(36).substr(2,9)),o=u=>!!r[u],l=()=>{const u=!t.isCollapsed;i("update-visibility",u)};return a.watch(()=>t.isCollapsedDefault,u=>{i("update-visibility",u)},{deep:!0}),(u,c)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["accordion accordion-flush",{"w-100":u.fullWidth}]),style:{background:"transparent"}},[a.createElementVNode("div",{class:a.normalizeClass(["accordion-item",{"border-bottom":u.isVisibleBorderBottom}]),style:{background:"transparent"}},[a.createElementVNode("h2",cE,[a.createElementVNode("button",{onClick:l,class:a.normalizeClass(["accordion-button collapsed ps-0",{visible:!u.isCollapsed,"fw-bolder":u.isTitleBold}]),style:a.normalizeStyle(`font-size:${u.titleFontSize}px;`),type:"button","aria-expanded":!u.isCollapsed,"aria-controls":`accordion-${s.value}`},a.toDisplayString(u.title),15,dE)]),a.createVNode(a.Transition,{name:"fade"},{default:a.withCtx(()=>[o("accordion-body")?(a.openBlock(),a.createElementBlock("div",hE,[a.withDirectives(a.createElementVNode("div",{class:"accordion-collapse collapse show",id:`accordion-${s.value}`},[a.createElementVNode("div",pE,[a.renderSlot(u.$slots,"accordion-body",{},void 0,!0)])],8,fE),[[a.vShow,!u.isCollapsed]])])):a.createCommentVNode("",!0)]),_:3})],2)],2))}}),[["__scopeId","data-v-99bfaf08"]]),gE={class:"accordion-header",style:{background:"transparent"}},bE=["onClick"],vE={class:"d-flex align-items-center w-100"},yE={class:"d-flex align-items-center flex-grow-1"},wE=["value","id","onChange"],CE={class:"form-check-label ps-2 text-body flex-grow-1"},AE={class:"accordion-collapse collapse show","aria-labelledby":"flush-animal-type","data-bs-parent":""},EE={class:"col d-flex flex-wrap px-4"},kE={class:"form-check"},SE=["value","id"],xE=["for"],RE=Ie(a.defineComponent({__name:"KindCheckboxesAccordion",props:{checkboxName:{default:"kinds"},kindGroups:{default:()=>[]},defaultSelectedKinds:{default:()=>[]},defaultSelectedKindGroups:{default:()=>[]}},emits:["emitSelectedKinds","emitSelectedKindGroups"],setup(n,{expose:e,emit:t}){const i=n,r=t,s=a.ref([]),o=a.ref([]),l=a.ref(null),u=a.ref([]),c=(x,y)=>{const A=x.target;if(A.tagName==="INPUT"||A.closest(".form-check-input"))return!1;if(A.tagName==="SPAN"||A.closest(".form-check-label"))return l.value!==Number(y)?(l.value=Number(y),!0):(l.value=null,!0);if(l.value!==Number(y))return l.value=Number(y),!0;l.value=null},d=x=>{const y=i.kindGroups.find(C=>C.id===x);if(!y)return;if(s.value.includes(String(x))){const C=y.kinds.map(D=>String(D.id)),m=[...o.value];C.forEach(D=>{m.includes(D)||m.push(D)}),o.value=m}else{const C=y.kinds.map(m=>String(m.id));o.value=o.value.filter(m=>!C.includes(String(m)))}},f=()=>{a.nextTick(()=>{p()})},p=()=>{const x=[];i.kindGroups.forEach((C,m)=>{const D=u.value?.[m];if(!D)return;const g=C.kinds.map(v=>String(v.id)),M=o.value.filter(v=>g.includes(String(v)));M.length===0?(D.indeterminate=!1,D.checked=!1):M.length===g.length?(D.indeterminate=!1,D.checked=!0,x.push(String(C.id))):(D.indeterminate=!0,D.checked=!1)});const y=s.value.map(String).sort(),A=x.map(String).sort();JSON.stringify(y)!==JSON.stringify(A)&&(s.value=x)};a.watch(()=>o.value,x=>{r("emitSelectedKinds",x)},{deep:!0}),a.watch(()=>s.value,x=>{r("emitSelectedKindGroups",x)},{deep:!0}),a.onMounted(()=>{i.defaultSelectedKinds.length>0&&(o.value=[...i.defaultSelectedKinds]),i.defaultSelectedKindGroups.length>0&&(s.value=[...i.defaultSelectedKindGroups]),a.nextTick(()=>{p()})});const h=a.computed(()=>c);return e({toggleAccordion:c}),(x,y)=>(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(x.kindGroups,(A,C)=>(a.openBlock(),a.createElementBlock("div",{class:"accordion-item border-bottom",style:{background:"transparent"},key:A.id},[x.kindGroups[C].kinds.length>0?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[a.createElementVNode("div",gE,[a.createElementVNode("button",{class:a.normalizeClass(["accordion-button ps-0",{collapsed:l.value===Number(C)}]),type:"button",style:{background:"transparent"},onClick:m=>h.value(m,C)},[a.createElementVNode("div",vE,[a.createElementVNode("div",yE,[a.withDirectives(a.createElementVNode("input",{class:"form-check-input m-0",type:"checkbox",ref_for:!0,ref_key:"groupCheckbox",ref:u,value:`${A.id}`,id:`${x.checkboxName}_${C}`,name:"kind_group","onUpdate:modelValue":y[0]||(y[0]=m=>s.value=m),onClick:y[1]||(y[1]=a.withModifiers(()=>{},["stop"])),onChange:m=>d(A.id)},null,40,wE),[[a.vModelCheckbox,s.value]]),a.createElementVNode("span",CE,a.toDisplayString(A.name),1)]),a.createElementVNode("i",{class:a.normalizeClass(["bi bi-chevron-down accordion-icon",{rotated:l.value===Number(C)}])},null,2)])],10,bE)]),a.withDirectives(a.createElementVNode("div",AE,[a.createElementVNode("div",EE,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(x.kindGroups[C].kinds,(m,D)=>(a.openBlock(),a.createElementBlock("div",{class:"col-6 mb-2",key:D},[a.createElementVNode("div",kE,[a.withDirectives(a.createElementVNode("input",{class:"form-check-input",type:"checkbox",value:`${m.id}`,id:`${x.checkboxName}_${m.id}`,name:"kinds","onUpdate:modelValue":y[2]||(y[2]=g=>o.value=g),onChange:f},null,40,SE),[[a.vModelCheckbox,o.value]]),a.createElementVNode("label",{class:"form-check-label",for:`${x.checkboxName}_${m.id}`},[a.createElementVNode("small",null,a.toDisplayString(m.name),1)],8,xE)])]))),128))])],512),[[a.vShow,l.value===Number(C)]])],64)):a.createCommentVNode("",!0)]))),128))}}),[["__scopeId","data-v-c0a701d5"]]);class dt{constructor(e){this.table=e}reloadData(e,t,i){return this.table.dataLoader.load(e,void 0,void 0,void 0,t,i)}langText(){return this.table.modules.localize.getText(...arguments)}langBind(){return this.table.modules.localize.bind(...arguments)}langLocale(){return this.table.modules.localize.getLocale(...arguments)}commsConnections(){return this.table.modules.comms.getConnections(...arguments)}commsSend(){return this.table.modules.comms.send(...arguments)}layoutMode(){return this.table.modules.layout.getMode()}layoutRefresh(e){return this.table.modules.layout.layout(e)}subscribe(){return this.table.eventBus.subscribe(...arguments)}unsubscribe(){return this.table.eventBus.unsubscribe(...arguments)}subscribed(e){return this.table.eventBus.subscribed(e)}subscriptionChange(){return this.table.eventBus.subscriptionChange(...arguments)}dispatch(){return this.table.eventBus.dispatch(...arguments)}chain(){return this.table.eventBus.chain(...arguments)}confirm(){return this.table.eventBus.confirm(...arguments)}dispatchExternal(){return this.table.externalEvents.dispatch(...arguments)}subscribedExternal(e){return this.table.externalEvents.subscribed(e)}subscriptionChangeExternal(){return this.table.externalEvents.subscriptionChange(...arguments)}options(e){return this.table.options[e]}setOption(e,t){return typeof t<"u"&&(this.table.options[e]=t),this.table.options[e]}deprecationCheck(e,t,i){return this.table.deprecationAdvisor.check(e,t,i)}deprecationCheckMsg(e,t){return this.table.deprecationAdvisor.checkMsg(e,t)}deprecationMsg(e){return this.table.deprecationAdvisor.msg(e)}module(e){return this.table.module(e)}}class Ze{static elVisible(e){return!(e.offsetWidth<=0&&e.offsetHeight<=0)}static elOffset(e){var t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset-document.documentElement.clientTop,left:t.left+window.pageXOffset-document.documentElement.clientLeft}}static retrieveNestedData(e,t,i){var r=e?t.split(e):[t],s=r.length,o;for(let l=0;l<s&&(i=i[r[l]],o=i,!!i);l++);return o}static deepClone(e,t,i=[]){var r={}.__proto__,s=[].__proto__;t||(t=Object.assign(Array.isArray(e)?[]:{},e));for(var o in e){let l=e[o],u,c;l!=null&&typeof l=="object"&&(l.__proto__===r||l.__proto__===s)&&(u=i.findIndex(d=>d.subject===l),u>-1?t[o]=i[u].copy:(c=Object.assign(Array.isArray(l)?[]:{},l),i.unshift({subject:l,copy:c}),t[o]=this.deepClone(l,c,i)))}return t}}let ME=class Dd extends dt{constructor(e,t,i){super(e),this.element=t,this.container=this._lookupContainer(),this.parent=i,this.reversedX=!1,this.childPopup=null,this.blurable=!1,this.blurCallback=null,this.blurEventsBound=!1,this.renderedCallback=null,this.visible=!1,this.hideable=!0,this.element.classList.add("tabulator-popup-container"),this.blurEvent=this.hide.bind(this,!1),this.escEvent=this._escapeCheck.bind(this),this.destroyBinding=this.tableDestroyed.bind(this),this.destroyed=!1}tableDestroyed(){this.destroyed=!0,this.hide(!0)}_lookupContainer(){var e=this.table.options.popupContainer;return typeof e=="string"?(e=document.querySelector(e),e||console.warn("Menu Error - no container element found matching selector:",this.table.options.popupContainer,"(defaulting to document body)")):e===!0&&(e=this.table.element),e&&!this._checkContainerIsParent(e)&&(e=!1,console.warn("Menu Error - container element does not contain this table:",this.table.options.popupContainer,"(defaulting to document body)")),e||(e=document.body),e}_checkContainerIsParent(e,t=this.table.element){return e===t?!0:t.parentNode?this._checkContainerIsParent(e,t.parentNode):!1}renderCallback(e){this.renderedCallback=e}containerEventCoords(e){var t=!(e instanceof MouseEvent),i=t?e.touches[0].pageX:e.pageX,r=t?e.touches[0].pageY:e.pageY;if(this.container!==document.body){let s=Ze.elOffset(this.container);i-=s.left,r-=s.top}return{x:i,y:r}}elementPositionCoords(e,t="right"){var i=Ze.elOffset(e),r,s,o;switch(this.container!==document.body&&(r=Ze.elOffset(this.container),i.left-=r.left,i.top-=r.top),t){case"right":s=i.left+e.offsetWidth,o=i.top-1;break;case"bottom":s=i.left,o=i.top+e.offsetHeight;break;case"left":s=i.left,o=i.top-1;break;case"top":s=i.left,o=i.top;break;case"center":s=i.left+e.offsetWidth/2,o=i.top+e.offsetHeight/2;break}return{x:s,y:o,offset:i}}show(e,t){var i,r,s,o,l;return this.destroyed||this.table.destroyed?this:(e instanceof HTMLElement?(s=e,l=this.elementPositionCoords(e,t),o=l.offset,i=l.x,r=l.y):typeof e=="number"?(o={top:0,left:0},i=e,r=t):(l=this.containerEventCoords(e),i=l.x,r=l.y,this.reversedX=!1),this.element.style.top=r+"px",this.element.style.left=i+"px",this.container.appendChild(this.element),typeof this.renderedCallback=="function"&&this.renderedCallback(),this._fitToScreen(i,r,s,o,t),this.visible=!0,this.subscribe("table-destroy",this.destroyBinding),this.element.addEventListener("mousedown",u=>{u.stopPropagation()}),this)}_fitToScreen(e,t,i,r,s){var o=this.container===document.body?document.documentElement.scrollTop:this.container.scrollTop;(e+this.element.offsetWidth>=this.container.offsetWidth||this.reversedX)&&(this.element.style.left="",i?this.element.style.right=this.container.offsetWidth-r.left+"px":this.element.style.right=this.container.offsetWidth-e+"px",this.reversedX=!0);let l=Math.max(this.container.offsetHeight,o?this.container.scrollHeight:0);if(t+this.element.offsetHeight>l)if(i)switch(s){case"bottom":this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight-i.offsetHeight-1+"px";break;default:this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight+i.offsetHeight+1+"px"}else this.element.style.height=l+"px"}isVisible(){return this.visible}hideOnBlur(e){return this.blurable=!0,this.visible&&(setTimeout(()=>{this.visible&&(this.table.rowManager.element.addEventListener("scroll",this.blurEvent),this.subscribe("cell-editing",this.blurEvent),document.body.addEventListener("click",this.blurEvent),document.body.addEventListener("contextmenu",this.blurEvent),document.body.addEventListener("mousedown",this.blurEvent),window.addEventListener("resize",this.blurEvent),document.body.addEventListener("keydown",this.escEvent),this.blurEventsBound=!0)},100),this.blurCallback=e),this}_escapeCheck(e){e.keyCode==27&&this.hide()}blockHide(){this.hideable=!1}restoreHide(){this.hideable=!0}hide(e=!1){return this.visible&&this.hideable&&(this.blurable&&this.blurEventsBound&&(document.body.removeEventListener("keydown",this.escEvent),document.body.removeEventListener("click",this.blurEvent),document.body.removeEventListener("contextmenu",this.blurEvent),document.body.removeEventListener("mousedown",this.blurEvent),window.removeEventListener("resize",this.blurEvent),this.table.rowManager.element.removeEventListener("scroll",this.blurEvent),this.unsubscribe("cell-editing",this.blurEvent),this.blurEventsBound=!1),this.childPopup&&this.childPopup.hide(),this.parent&&(this.parent.childPopup=null),this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.visible=!1,this.blurCallback&&!e&&this.blurCallback(),this.unsubscribe("table-destroy",this.destroyBinding)),this}child(e){return this.childPopup&&this.childPopup.hide(),this.childPopup=new Dd(this.table,e,this),this.childPopup}};class Ve extends dt{constructor(e,t){super(e),this._handler=null}initialize(){}registerTableOption(e,t){this.table.optionsList.register(e,t)}registerColumnOption(e,t){this.table.columnManager.optionsList.register(e,t)}registerTableFunction(e,t){typeof this.table[e]>"u"?this.table[e]=(...i)=>(this.table.initGuard(e),t(...i)):console.warn("Unable to bind table function, name already in use",e)}registerComponentFunction(e,t,i){return this.table.componentFunctionBinder.bind(e,t,i)}registerDataHandler(e,t){this.table.rowManager.registerDataPipelineHandler(e,t),this._handler=e}registerDisplayHandler(e,t){this.table.rowManager.registerDisplayPipelineHandler(e,t),this._handler=e}displayRows(e){var t=this.table.rowManager.displayRows.length-1,i;if(this._handler&&(i=this.table.rowManager.displayPipeline.findIndex(r=>r.handler===this._handler),i>-1&&(t=i)),e&&(t=t+e),this._handler)return t>-1?this.table.rowManager.getDisplayRows(t):this.activeRows()}activeRows(){return this.table.rowManager.activeRows}refreshData(e,t){t||(t=this._handler),t&&this.table.rowManager.refreshActiveData(t,!1,e)}footerAppend(e){return this.table.footerManager.append(e)}footerPrepend(e){return this.table.footerManager.prepend(e)}footerRemove(e){return this.table.footerManager.remove(e)}popup(e,t){return new ME(this.table,e,t)}alert(e,t){return this.table.alertManager.alert(e,t)}clearAlert(){return this.table.alertManager.clear()}}var TE={rownum:function(n,e,t,i,r,s){return s.getPosition()}};class br extends Ve{static moduleName="accessor";static accessors=TE;constructor(e){super(e),this.allowedTypes=["","data","download","clipboard","print","htmlOutput"],this.registerColumnOption("accessor"),this.registerColumnOption("accessorParams"),this.registerColumnOption("accessorData"),this.registerColumnOption("accessorDataParams"),this.registerColumnOption("accessorDownload"),this.registerColumnOption("accessorDownloadParams"),this.registerColumnOption("accessorClipboard"),this.registerColumnOption("accessorClipboardParams"),this.registerColumnOption("accessorPrint"),this.registerColumnOption("accessorPrintParams"),this.registerColumnOption("accessorHtmlOutput"),this.registerColumnOption("accessorHtmlOutputParams")}initialize(){this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("row-data-retrieve",this.transformRow.bind(this))}initializeColumn(e){var t=!1,i={};this.allowedTypes.forEach(r=>{var s="accessor"+(r.charAt(0).toUpperCase()+r.slice(1)),o;e.definition[s]&&(o=this.lookupAccessor(e.definition[s]),o&&(t=!0,i[s]={accessor:o,params:e.definition[s+"Params"]||{}}))}),t&&(e.modules.accessor=i)}lookupAccessor(e){var t=!1;switch(typeof e){case"string":br.accessors[e]?t=br.accessors[e]:console.warn("Accessor Error - No such accessor found, ignoring: ",e);break;case"function":t=e;break}return t}transformRow(e,t){var i="accessor"+(t.charAt(0).toUpperCase()+t.slice(1)),r=e.getComponent(),s=Ze.deepClone(e.data||{});return this.table.columnManager.traverse(function(o){var l,u,c,d;o.modules.accessor&&(u=o.modules.accessor[i]||o.modules.accessor.accessor||!1,u&&(l=o.getFieldValue(s),l!="undefined"&&(d=o.getComponent(),c=typeof u.params=="function"?u.params(l,s,t,d,r):u.params,o.setFieldValue(s,u.accessor(l,s,t,c,d,r)))))}),s}}var DE={method:"GET"};function Io(n,e){var t=[];if(e=e||"",Array.isArray(n))n.forEach((r,s)=>{t=t.concat(Io(r,e?e+"["+s+"]":s))});else if(typeof n=="object")for(var i in n)t=t.concat(Io(n[i],e?e+"["+i+"]":i));else t.push({key:e,value:n});return t}function OE(n){var e=Io(n),t=[];return e.forEach(function(i){t.push(encodeURIComponent(i.key)+"="+encodeURIComponent(i.value))}),t.join("&")}function qc(n,e,t){return n&&t&&Object.keys(t).length&&(!e.method||e.method.toLowerCase()=="get")&&(e.method="get",n+=(n.includes("?")?"&":"?")+OE(t)),n}function LE(n,e,t){var i;return new Promise((r,s)=>{if(n=this.urlGenerator.call(this.table,n,e,t),e.method.toUpperCase()!="GET")if(i=typeof this.table.options.ajaxContentType=="object"?this.table.options.ajaxContentType:this.contentTypeFormatters[this.table.options.ajaxContentType],i){for(var o in i.headers)e.headers||(e.headers={}),typeof e.headers[o]>"u"&&(e.headers[o]=i.headers[o]);e.body=i.body.call(this,n,e,t)}else console.warn("Ajax Error - Invalid ajaxContentType value:",this.table.options.ajaxContentType);n?(typeof e.headers>"u"&&(e.headers={}),typeof e.headers.Accept>"u"&&(e.headers.Accept="application/json"),typeof e.headers["X-Requested-With"]>"u"&&(e.headers["X-Requested-With"]="XMLHttpRequest"),typeof e.mode>"u"&&(e.mode="cors"),e.mode=="cors"?(typeof e.headers.Origin>"u"&&(e.headers.Origin=window.location.origin),typeof e.credentials>"u"&&(e.credentials="same-origin")):typeof e.credentials>"u"&&(e.credentials="include"),fetch(n,e).then(l=>{l.ok?l.json().then(u=>{r(u)}).catch(u=>{s(u),console.warn("Ajax Load Error - Invalid JSON returned",u)}):(console.error("Ajax Load Error - Connection Error: "+l.status,l.statusText),s(l))}).catch(l=>{console.error("Ajax Load Error - Connection Error: ",l),s(l)})):(console.warn("Ajax Load Error - No URL Set"),r([]))})}function Ho(n,e){var t=[];if(e=e||"",Array.isArray(n))n.forEach((r,s)=>{t=t.concat(Ho(r,e?e+"["+s+"]":s))});else if(typeof n=="object")for(var i in n)t=t.concat(Ho(n[i],e?e+"["+i+"]":i));else t.push({key:e,value:n});return t}var BE={json:{headers:{"Content-Type":"application/json"},body:function(n,e,t){return JSON.stringify(t)}},form:{headers:{},body:function(n,e,t){var i=Ho(t),r=new FormData;return i.forEach(function(s){r.append(s.key,s.value)}),r}}};class Ji extends Ve{static moduleName="ajax";static defaultConfig=DE;static defaultURLGenerator=qc;static defaultLoaderPromise=LE;static contentTypeFormatters=BE;constructor(e){super(e),this.config={},this.url="",this.urlGenerator=!1,this.params=!1,this.loaderPromise=!1,this.registerTableOption("ajaxURL",!1),this.registerTableOption("ajaxURLGenerator",!1),this.registerTableOption("ajaxParams",{}),this.registerTableOption("ajaxConfig","get"),this.registerTableOption("ajaxContentType","form"),this.registerTableOption("ajaxRequestFunc",!1),this.registerTableOption("ajaxRequesting",function(){}),this.registerTableOption("ajaxResponse",!1),this.contentTypeFormatters=Ji.contentTypeFormatters}initialize(){this.loaderPromise=this.table.options.ajaxRequestFunc||Ji.defaultLoaderPromise,this.urlGenerator=this.table.options.ajaxURLGenerator||Ji.defaultURLGenerator,this.table.options.ajaxURL&&this.setUrl(this.table.options.ajaxURL),this.setDefaultConfig(this.table.options.ajaxConfig),this.registerTableFunction("getAjaxUrl",this.getUrl.bind(this)),this.subscribe("data-loading",this.requestDataCheck.bind(this)),this.subscribe("data-params",this.requestParams.bind(this)),this.subscribe("data-load",this.requestData.bind(this))}requestParams(e,t,i,r){var s=this.table.options.ajaxParams;return s&&(typeof s=="function"&&(s=s.call(this.table)),r=Object.assign(Object.assign({},s),r)),r}requestDataCheck(e,t,i,r){return!!(!e&&this.url||typeof e=="string")}requestData(e,t,i,r,s){var o;return!s&&this.requestDataCheck(e)?(e&&this.setUrl(e),o=this.generateConfig(i),this.sendRequest(this.url,t,o)):s}setDefaultConfig(e={}){this.config=Object.assign({},Ji.defaultConfig),typeof e=="string"?this.config.method=e:Object.assign(this.config,e)}generateConfig(e={}){var t=Object.assign({},this.config);return typeof e=="string"?t.method=e:Object.assign(t,e),t}setUrl(e){this.url=e}getUrl(){return this.url}sendRequest(e,t,i){return this.table.options.ajaxRequesting.call(this.table,e,t)!==!1?this.loaderPromise(e,i,t).then(r=>(this.table.options.ajaxResponse&&(r=this.table.options.ajaxResponse.call(this.table,e,t,r)),r)):Promise.reject()}}var FE={replace:function(n){return this.table.setData(n)},update:function(n){return this.table.updateOrAddData(n)},insert:function(n){return this.table.addData(n)}},_E={table:function(n){var e=[],t=!0,i=this.table.columnManager.columns,r=[],s=[];return n=n.split(`
32
32
  `),n.forEach(function(o){e.push(o.split(" "))}),e.length&&!(e.length===1&&e[0].length<2)?(e[0].forEach(function(o){var l=i.find(function(u){return o&&u.definition.title&&o.trim()&&u.definition.title.trim()===o.trim()});l?r.push(l):t=!1}),t||(t=!0,r=[],e[0].forEach(function(o){var l=i.find(function(u){return o&&u.field&&o.trim()&&u.field.trim()===o.trim()});l?r.push(l):t=!1}),t||(r=this.table.columnManager.columnsByIndex)),t&&e.shift(),e.forEach(function(o){var l={};o.forEach(function(u,c){r[c]&&(l[r[c].field]=u)}),s.push(l)}),s):!1}},PE={copyToClipboard:["ctrl + 67","meta + 67"]},NE={copyToClipboard:function(n){this.table.modules.edit.currentCell||this.table.modExists("clipboard",!0)&&this.table.modules.clipboard.copy(!1,!0)}},IE={keybindings:{bindings:PE,actions:NE}};class vr extends Ve{static moduleName="clipboard";static moduleExtensions=IE;static pasteActions=FE;static pasteParsers=_E;constructor(e){super(e),this.mode=!0,this.pasteParser=function(){},this.pasteAction=function(){},this.customSelection=!1,this.rowRange=!1,this.blocked=!0,this.registerTableOption("clipboard",!1),this.registerTableOption("clipboardCopyStyled",!0),this.registerTableOption("clipboardCopyConfig",!1),this.registerTableOption("clipboardCopyFormatter",!1),this.registerTableOption("clipboardCopyRowRange","active"),this.registerTableOption("clipboardPasteParser","table"),this.registerTableOption("clipboardPasteAction","insert"),this.registerColumnOption("clipboard"),this.registerColumnOption("titleClipboard")}initialize(){this.mode=this.table.options.clipboard,this.rowRange=this.table.options.clipboardCopyRowRange,(this.mode===!0||this.mode==="copy")&&this.table.element.addEventListener("copy",e=>{var t,i,r;this.blocked||(e.preventDefault(),this.customSelection?(t=this.customSelection,this.table.options.clipboardCopyFormatter&&(t=this.table.options.clipboardCopyFormatter("plain",t))):(r=this.table.modules.export.generateExportList(this.table.options.clipboardCopyConfig,this.table.options.clipboardCopyStyled,this.rowRange,"clipboard"),i=this.table.modules.export.generateHTMLTable(r),t=i?this.generatePlainContent(r):"",this.table.options.clipboardCopyFormatter&&(t=this.table.options.clipboardCopyFormatter("plain",t),i=this.table.options.clipboardCopyFormatter("html",i))),window.clipboardData&&window.clipboardData.setData?window.clipboardData.setData("Text",t):e.clipboardData&&e.clipboardData.setData?(e.clipboardData.setData("text/plain",t),i&&e.clipboardData.setData("text/html",i)):e.originalEvent&&e.originalEvent.clipboardData.setData&&(e.originalEvent.clipboardData.setData("text/plain",t),i&&e.originalEvent.clipboardData.setData("text/html",i)),this.dispatchExternal("clipboardCopied",t,i),this.reset())}),(this.mode===!0||this.mode==="paste")&&this.table.element.addEventListener("paste",e=>{this.paste(e)}),this.setPasteParser(this.table.options.clipboardPasteParser),this.setPasteAction(this.table.options.clipboardPasteAction),this.registerTableFunction("copyToClipboard",this.copy.bind(this))}reset(){this.blocked=!0,this.customSelection=!1}generatePlainContent(e){var t=[];return e.forEach(i=>{var r=[];i.columns.forEach(s=>{var o="";if(s)if(i.type==="group"&&(s.value=s.component.getKey()),s.value===null)o="";else switch(typeof s.value){case"object":o=JSON.stringify(s.value);break;case"undefined":o="";break;default:o=s.value}r.push(o)}),t.push(r.join(" "))}),t.join(`
33
33
  `)}copy(e,t){var i,r;this.blocked=!1,this.customSelection=!1,(this.mode===!0||this.mode==="copy")&&(this.rowRange=e||this.table.options.clipboardCopyRowRange,typeof window.getSelection<"u"&&typeof document.createRange<"u"?(e=document.createRange(),e.selectNodeContents(this.table.element),i=window.getSelection(),i.toString()&&t&&(this.customSelection=i.toString()),i.removeAllRanges(),i.addRange(e)):typeof document.selection<"u"&&typeof document.body.createTextRange<"u"&&(r=document.body.createTextRange(),r.moveToElementText(this.table.element),r.select()),document.execCommand("copy"),i&&i.removeAllRanges())}setPasteAction(e){switch(typeof e){case"string":this.pasteAction=vr.pasteActions[e],this.pasteAction||console.warn("Clipboard Error - No such paste action found:",e);break;case"function":this.pasteAction=e;break}}setPasteParser(e){switch(typeof e){case"string":this.pasteParser=vr.pasteParsers[e],this.pasteParser||console.warn("Clipboard Error - No such paste parser found:",e);break;case"function":this.pasteParser=e;break}}paste(e){var t,i,r;this.checkPasteOrigin(e)&&(t=this.getPasteData(e),i=this.pasteParser.call(this,t),i?(e.preventDefault(),this.table.modExists("mutator")&&(i=this.mutateData(i)),r=this.pasteAction.call(this,i),this.dispatchExternal("clipboardPasted",t,i,r)):this.dispatchExternal("clipboardPasteError",t))}mutateData(e){var t=[];return Array.isArray(e)?e.forEach(i=>{t.push(this.table.modules.mutator.transformRow(i,"clipboard"))}):t=e,t}checkPasteOrigin(e){var t=!0,i=this.confirm("clipboard-paste",[e]);return(i||!["DIV","SPAN"].includes(e.target.tagName))&&(t=!1),t}getPasteData(e){var t;return window.clipboardData&&window.clipboardData.getData?t=window.clipboardData.getData("Text"):e.clipboardData&&e.clipboardData.getData?t=e.clipboardData.getData("text/plain"):e.originalEvent&&e.originalEvent.clipboardData.getData&&(t=e.originalEvent.clipboardData.getData("text/plain")),t}}class HE{constructor(e){return this._row=e,new Proxy(this,{get:function(t,i,r){return typeof t[i]<"u"?t[i]:t._row.table.componentFunctionBinder.handle("row",t._row,i)}})}getData(e){return this._row.getData(e)}getElement(){return this._row.getElement()}getTable(){return this._row.table}getCells(){var e=[];return this._row.getCells().forEach(function(t){e.push(t.getComponent())}),e}getCell(e){var t=this._row.getCell(e);return t?t.getComponent():!1}_getSelf(){return this._row}}class $c{constructor(e){return this._cell=e,new Proxy(this,{get:function(t,i,r){return typeof t[i]<"u"?t[i]:t._cell.table.componentFunctionBinder.handle("cell",t._cell,i)}})}getValue(){return this._cell.getValue()}getOldValue(){return this._cell.getOldValue()}getInitialValue(){return this._cell.initialValue}getElement(){return this._cell.getElement()}getRow(){return this._cell.row.getComponent()}getData(e){return this._cell.row.getData(e)}getType(){return"cell"}getField(){return this._cell.column.getField()}getColumn(){return this._cell.column.getComponent()}setValue(e,t){typeof t>"u"&&(t=!0),this._cell.setValue(e,t)}restoreOldValue(){this._cell.setValueActual(this._cell.getOldValue())}restoreInitialValue(){this._cell.setValueActual(this._cell.initialValue)}checkHeight(){this._cell.checkHeight()}getTable(){return this._cell.table}_getSelf(){return this._cell}}class En extends dt{constructor(e,t){super(e.table),this.table=e.table,this.column=e,this.row=t,this.element=null,this.value=null,this.initialValue,this.oldValue=null,this.modules={},this.height=null,this.width=null,this.minWidth=null,this.component=null,this.loaded=!1,this.build()}build(){this.generateElement(),this.setWidth(),this._configureCell(),this.setValueActual(this.column.getFieldValue(this.row.data)),this.initialValue=this.value}generateElement(){this.element=document.createElement("div"),this.element.className="tabulator-cell",this.element.setAttribute("role","gridcell"),this.column.isRowHeader&&this.element.classList.add("tabulator-row-header")}_configureCell(){var e=this.element,t=this.column.getField(),i={top:"flex-start",bottom:"flex-end",middle:"center"},r={left:"flex-start",right:"flex-end",center:"center"};if(e.style.textAlign=this.column.hozAlign,this.column.vertAlign&&(e.style.display="inline-flex",e.style.alignItems=i[this.column.vertAlign]||"",this.column.hozAlign&&(e.style.justifyContent=r[this.column.hozAlign]||"")),t&&e.setAttribute("tabulator-field",t),this.column.definition.cssClass){var s=this.column.definition.cssClass.split(" ");s.forEach(o=>{e.classList.add(o)})}this.dispatch("cell-init",this),this.column.visible||this.hide()}_generateContents(){var e;switch(e=this.chain("cell-format",this,null,()=>this.element.innerHTML=this.value),typeof e){case"object":if(e instanceof Node){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.element.appendChild(e)}else this.element.innerHTML="",e!=null&&console.warn("Format Error - Formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",e);break;case"undefined":this.element.innerHTML="";break;default:this.element.innerHTML=e}}cellRendered(){this.dispatch("cell-rendered",this)}getElement(e){return this.loaded||(this.loaded=!0,e||this.layoutElement()),this.element}getValue(){return this.value}getOldValue(){return this.oldValue}setValue(e,t,i){var r=this.setValueProcessData(e,t,i);r&&(this.dispatch("cell-value-updated",this),this.cellRendered(),this.column.definition.cellEdited&&this.column.definition.cellEdited.call(this.table,this.getComponent()),this.dispatchExternal("cellEdited",this.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()))}setValueProcessData(e,t,i){var r=!1;return(this.value!==e||i)&&(r=!0,t&&(e=this.chain("cell-value-changing",[this,e],null,e))),this.setValueActual(e),r&&this.dispatch("cell-value-changed",this),r}setValueActual(e){this.oldValue=this.value,this.value=e,this.dispatch("cell-value-save-before",this),this.column.setFieldValue(this.row.data,e),this.dispatch("cell-value-save-after",this),this.loaded&&this.layoutElement()}layoutElement(){this._generateContents(),this.dispatch("cell-layout",this)}setWidth(){this.width=this.column.width,this.element.style.width=this.column.widthStyled}clearWidth(){this.width="",this.element.style.width=""}getWidth(){return this.width||this.element.offsetWidth}setMinWidth(){this.minWidth=this.column.minWidth,this.element.style.minWidth=this.column.minWidthStyled}setMaxWidth(){this.maxWidth=this.column.maxWidth,this.element.style.maxWidth=this.column.maxWidthStyled}checkHeight(){this.row.reinitializeHeight()}clearHeight(){this.element.style.height="",this.height=null,this.dispatch("cell-height",this,"")}setHeight(){this.height=this.row.height,this.element.style.height=this.row.heightStyled,this.dispatch("cell-height",this,this.row.heightStyled)}getHeight(){return this.height||this.element.offsetHeight}show(){this.element.style.display=this.column.vertAlign?"inline-flex":""}hide(){this.element.style.display="none"}delete(){this.dispatch("cell-delete",this),!this.table.rowManager.redrawBlock&&this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=!1,this.column.deleteCell(this),this.row.deleteCell(this),this.calcs={}}getIndex(){return this.row.getCellIndex(this)}getComponent(){return this.component||(this.component=new $c(this)),this.component}}class Zc{constructor(e){return this._column=e,this.type="ColumnComponent",new Proxy(this,{get:function(t,i,r){return typeof t[i]<"u"?t[i]:t._column.table.componentFunctionBinder.handle("column",t._column,i)}})}getElement(){return this._column.getElement()}getDefinition(){return this._column.getDefinition()}getField(){return this._column.getField()}getTitleDownload(){return this._column.getTitleDownload()}getCells(){var e=[];return this._column.cells.forEach(function(t){e.push(t.getComponent())}),e}isVisible(){return this._column.visible}show(){this._column.isGroup?this._column.columns.forEach(function(e){e.show()}):this._column.show()}hide(){this._column.isGroup?this._column.columns.forEach(function(e){e.hide()}):this._column.hide()}toggle(){this._column.visible?this.hide():this.show()}delete(){return this._column.delete()}getSubColumns(){var e=[];return this._column.columns.length&&this._column.columns.forEach(function(t){e.push(t.getComponent())}),e}getParentColumn(){return this._column.getParentComponent()}_getSelf(){return this._column}scrollTo(e,t){return this._column.table.columnManager.scrollToColumn(this._column,e,t)}getTable(){return this._column.table}move(e,t){var i=this._column.table.columnManager.findColumn(e);i?this._column.table.columnManager.moveColumn(this._column,i,t):console.warn("Move Error - No matching column found:",i)}getNextColumn(){var e=this._column.nextColumn();return e?e.getComponent():!1}getPrevColumn(){var e=this._column.prevColumn();return e?e.getComponent():!1}updateDefinition(e){return this._column.updateDefinition(e)}getWidth(){return this._column.getWidth()}setWidth(e){var t;return e===!0?t=this._column.reinitializeWidth(!0):t=this._column.setWidth(e),this._column.table.columnManager.rerenderColumns(!0),t}}var Xc={title:void 0,field:void 0,columns:void 0,visible:void 0,hozAlign:void 0,vertAlign:void 0,width:void 0,minWidth:40,maxWidth:void 0,maxInitialWidth:void 0,cssClass:void 0,variableHeight:void 0,headerVertical:void 0,headerHozAlign:void 0,headerWordWrap:!1,editableTitle:void 0};class Jt extends dt{static defaultOptionList=Xc;constructor(e,t,i){super(t.table),this.definition=e,this.parent=t,this.type="column",this.columns=[],this.cells=[],this.isGroup=!1,this.isRowHeader=i,this.element=this.createElement(),this.contentElement=!1,this.titleHolderElement=!1,this.titleElement=!1,this.groupElement=this.createGroupElement(),this.hozAlign="",this.vertAlign="",this.field="",this.fieldStructure="",this.getFieldValue="",this.setFieldValue="",this.titleDownload=null,this.titleFormatterRendered=!1,this.mapDefinitions(),this.setField(this.definition.field),this.modules={},this.width=null,this.widthStyled="",this.maxWidth=null,this.maxWidthStyled="",this.maxInitialWidth=null,this.minWidth=null,this.minWidthStyled="",this.widthFixed=!1,this.visible=!0,this.component=null,this.definition.columns?(this.isGroup=!0,this.definition.columns.forEach((r,s)=>{var o=new Jt(r,this);this.attachColumn(o)}),this.checkColumnVisibility()):t.registerColumnField(this),this._initialize()}createElement(){var e=document.createElement("div");switch(e.classList.add("tabulator-col"),e.setAttribute("role","columnheader"),e.setAttribute("aria-sort","none"),this.isRowHeader&&e.classList.add("tabulator-row-header"),this.table.options.columnHeaderVertAlign){case"middle":e.style.justifyContent="center";break;case"bottom":e.style.justifyContent="flex-end";break}return e}createGroupElement(){var e=document.createElement("div");return e.classList.add("tabulator-col-group-cols"),e}mapDefinitions(){var e=this.table.options.columnDefaults;if(e)for(let t in e)typeof this.definition[t]>"u"&&(this.definition[t]=e[t]);this.definition=this.table.columnManager.optionsList.generate(Jt.defaultOptionList,this.definition)}checkDefinition(){Object.keys(this.definition).forEach(e=>{Jt.defaultOptionList.indexOf(e)===-1&&console.warn("Invalid column definition option in '"+(this.field||this.definition.title)+"' column:",e)})}setField(e){this.field=e,this.fieldStructure=e?this.table.options.nestedFieldSeparator?e.split(this.table.options.nestedFieldSeparator):[e]:[],this.getFieldValue=this.fieldStructure.length>1?this._getNestedData:this._getFlatData,this.setFieldValue=this.fieldStructure.length>1?this._setNestedData:this._setFlatData}registerColumnPosition(e){this.parent.registerColumnPosition(e)}registerColumnField(e){this.parent.registerColumnField(e)}reRegisterPosition(){this.isGroup?this.columns.forEach(function(e){e.reRegisterPosition()}):this.registerColumnPosition(this)}_initialize(){for(var e=this.definition;this.element.firstChild;)this.element.removeChild(this.element.firstChild);e.headerVertical&&(this.element.classList.add("tabulator-col-vertical"),e.headerVertical==="flip"&&this.element.classList.add("tabulator-col-vertical-flip")),this.contentElement=this._buildColumnHeaderContent(),this.element.appendChild(this.contentElement),this.isGroup?this._buildGroupHeader():this._buildColumnHeader(),this.dispatch("column-init",this)}_buildColumnHeader(){var e=this.definition;if(this.dispatch("column-layout",this),typeof e.visible<"u"&&(e.visible?this.show(!0):this.hide(!0)),e.cssClass){var t=e.cssClass.split(" ");t.forEach(i=>{this.element.classList.add(i)})}e.field&&this.element.setAttribute("tabulator-field",e.field),this.setMinWidth(parseInt(e.minWidth)),e.maxInitialWidth&&(this.maxInitialWidth=parseInt(e.maxInitialWidth)),e.maxWidth&&this.setMaxWidth(parseInt(e.maxWidth)),this.reinitializeWidth(),this.hozAlign=this.definition.hozAlign,this.vertAlign=this.definition.vertAlign,this.titleElement.style.textAlign=this.definition.headerHozAlign}_buildColumnHeaderContent(){var e=document.createElement("div");return e.classList.add("tabulator-col-content"),this.titleHolderElement=document.createElement("div"),this.titleHolderElement.classList.add("tabulator-col-title-holder"),e.appendChild(this.titleHolderElement),this.titleElement=this._buildColumnHeaderTitle(),this.titleHolderElement.appendChild(this.titleElement),e}_buildColumnHeaderTitle(){var e=this.definition,t=document.createElement("div");if(t.classList.add("tabulator-col-title"),e.headerWordWrap&&t.classList.add("tabulator-col-title-wrap"),e.editableTitle){var i=document.createElement("input");i.classList.add("tabulator-title-editor"),i.addEventListener("click",r=>{r.stopPropagation(),i.focus()}),i.addEventListener("mousedown",r=>{r.stopPropagation()}),i.addEventListener("change",()=>{e.title=i.value,this.dispatchExternal("columnTitleChanged",this.getComponent())}),t.appendChild(i),e.field?this.langBind("columns|"+e.field,r=>{i.value=r||e.title||"&nbsp;"}):i.value=e.title||"&nbsp;"}else e.field?this.langBind("columns|"+e.field,r=>{this._formatColumnHeaderTitle(t,r||e.title||"&nbsp;")}):this._formatColumnHeaderTitle(t,e.title||"&nbsp;");return t}_formatColumnHeaderTitle(e,t){var i=this.chain("column-format",[this,t,e],null,()=>t);switch(typeof i){case"object":i instanceof Node?e.appendChild(i):(e.innerHTML="",console.warn("Format Error - Title formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",i));break;case"undefined":e.innerHTML="";break;default:e.innerHTML=i}}_buildGroupHeader(){if(this.element.classList.add("tabulator-col-group"),this.element.setAttribute("role","columngroup"),this.element.setAttribute("aria-title",this.definition.title),this.definition.cssClass){var e=this.definition.cssClass.split(" ");e.forEach(t=>{this.element.classList.add(t)})}this.titleElement.style.textAlign=this.definition.headerHozAlign,this.element.appendChild(this.groupElement)}_getFlatData(e){return e[this.field]}_getNestedData(e){var t=e,i=this.fieldStructure,r=i.length,s;for(let o=0;o<r&&(t=t[i[o]],s=t,!!t);o++);return s}_setFlatData(e,t){this.field&&(e[this.field]=t)}_setNestedData(e,t){var i=e,r=this.fieldStructure,s=r.length;for(let o=0;o<s;o++)if(o==s-1)i[r[o]]=t;else{if(!i[r[o]])if(typeof t<"u")i[r[o]]={};else break;i=i[r[o]]}}attachColumn(e){this.groupElement?(this.columns.push(e),this.groupElement.appendChild(e.getElement()),e.columnRendered()):console.warn("Column Warning - Column being attached to another column instead of column group")}verticalAlign(e,t){var i=this.parent.isGroup?this.parent.getGroupElement().clientHeight:t||this.parent.getHeadersElement().clientHeight;this.element.style.height=i+"px",this.dispatch("column-height",this,this.element.style.height),this.isGroup&&(this.groupElement.style.minHeight=i-this.contentElement.offsetHeight+"px"),this.columns.forEach(function(r){r.verticalAlign(e)})}clearVerticalAlign(){this.element.style.paddingTop="",this.element.style.height="",this.element.style.minHeight="",this.groupElement.style.minHeight="",this.columns.forEach(function(e){e.clearVerticalAlign()}),this.dispatch("column-height",this,"")}getElement(){return this.element}getGroupElement(){return this.groupElement}getField(){return this.field}getTitleDownload(){return this.titleDownload}getFirstColumn(){return this.isGroup?this.columns.length?this.columns[0].getFirstColumn():!1:this}getLastColumn(){return this.isGroup?this.columns.length?this.columns[this.columns.length-1].getLastColumn():!1:this}getColumns(e){var t=[];return e?this.columns.forEach(i=>{t.push(i),t=t.concat(i.getColumns(!0))}):t=this.columns,t}getCells(){return this.cells}getTopColumn(){return this.parent.isGroup?this.parent.getTopColumn():this}getDefinition(e){var t=[];return this.isGroup&&e&&(this.columns.forEach(function(i){t.push(i.getDefinition(!0))}),this.definition.columns=t),this.definition}checkColumnVisibility(){var e=!1;this.columns.forEach(function(t){t.visible&&(e=!0)}),e?(this.show(),this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!1)):this.hide()}show(e,t){this.visible||(this.visible=!0,this.element.style.display="",this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach(function(i){i.show()}),!this.isGroup&&this.width===null&&this.reinitializeWidth(),this.table.columnManager.verticalAlignHeaders(),this.dispatch("column-show",this,t),e||this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!0),this.parent.isGroup&&this.parent.matchChildWidths(),this.silent||this.table.columnManager.rerenderColumns())}hide(e,t){this.visible&&(this.visible=!1,this.element.style.display="none",this.table.columnManager.verticalAlignHeaders(),this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach(function(i){i.hide()}),this.dispatch("column-hide",this,t),e||this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!1),this.parent.isGroup&&this.parent.matchChildWidths(),this.silent||this.table.columnManager.rerenderColumns())}matchChildWidths(){var e=0;this.contentElement&&this.columns.length&&(this.columns.forEach(function(t){t.visible&&(e+=t.getWidth())}),this.contentElement.style.maxWidth=e-1+"px",this.table.initialized&&(this.element.style.width=e+"px"),this.parent.isGroup&&this.parent.matchChildWidths())}removeChild(e){var t=this.columns.indexOf(e);t>-1&&this.columns.splice(t,1),this.columns.length||this.delete()}setWidth(e){this.widthFixed=!0,this.setWidthActual(e)}setWidthActual(e){isNaN(e)&&(e=Math.floor(this.table.element.clientWidth/100*parseInt(e))),e=Math.max(this.minWidth,e),this.maxWidth&&(e=Math.min(this.maxWidth,e)),this.width=e,this.widthStyled=e?e+"px":"",this.element.style.width=this.widthStyled,this.isGroup||this.cells.forEach(function(t){t.setWidth()}),this.parent.isGroup&&this.parent.matchChildWidths(),this.dispatch("column-width",this),this.subscribedExternal("columnWidth")&&this.dispatchExternal("columnWidth",this.getComponent())}checkCellHeights(){var e=[];this.cells.forEach(function(t){t.row.heightInitialized&&(t.row.getElement().offsetParent!==null?(e.push(t.row),t.row.clearCellHeight()):t.row.heightInitialized=!1)}),e.forEach(function(t){t.calcHeight()}),e.forEach(function(t){t.setCellHeight()})}getWidth(){var e=0;return this.isGroup?this.columns.forEach(function(t){t.visible&&(e+=t.getWidth())}):e=this.width,e}getLeftOffset(){var e=this.element.offsetLeft;return this.parent.isGroup&&(e+=this.parent.getLeftOffset()),e}getHeight(){return Math.ceil(this.element.getBoundingClientRect().height)}setMinWidth(e){this.maxWidth&&e>this.maxWidth&&(e=this.maxWidth,console.warn("the minWidth ("+e+"px) for column '"+this.field+"' cannot be bigger that its maxWidth ("+this.maxWidthStyled+")")),this.minWidth=e,this.minWidthStyled=e?e+"px":"",this.element.style.minWidth=this.minWidthStyled,this.cells.forEach(function(t){t.setMinWidth()})}setMaxWidth(e){this.minWidth&&e<this.minWidth&&(e=this.minWidth,console.warn("the maxWidth ("+e+"px) for column '"+this.field+"' cannot be smaller that its minWidth ("+this.minWidthStyled+")")),this.maxWidth=e,this.maxWidthStyled=e?e+"px":"",this.element.style.maxWidth=this.maxWidthStyled,this.cells.forEach(function(t){t.setMaxWidth()})}delete(){return new Promise((e,t)=>{this.isGroup&&this.columns.forEach(function(r){r.delete()}),this.dispatch("column-delete",this);var i=this.cells.length;for(let r=0;r<i;r++)this.cells[0].delete();this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=!1,this.contentElement=!1,this.titleElement=!1,this.groupElement=!1,this.parent.isGroup&&this.parent.removeChild(this),this.table.columnManager.deregisterColumn(this),this.table.columnManager.rerenderColumns(!0),this.dispatch("column-deleted",this),e()})}columnRendered(){this.titleFormatterRendered&&this.titleFormatterRendered(),this.dispatch("column-rendered",this)}generateCell(e){var t=new En(this,e);return this.cells.push(t),t}nextColumn(){var e=this.table.columnManager.findColumnIndex(this);return e>-1?this._nextVisibleColumn(e+1):!1}_nextVisibleColumn(e){var t=this.table.columnManager.getColumnByIndex(e);return!t||t.visible?t:this._nextVisibleColumn(e+1)}prevColumn(){var e=this.table.columnManager.findColumnIndex(this);return e>-1?this._prevVisibleColumn(e-1):!1}_prevVisibleColumn(e){var t=this.table.columnManager.getColumnByIndex(e);return!t||t.visible?t:this._prevVisibleColumn(e-1)}reinitializeWidth(e){this.widthFixed=!1,typeof this.definition.width<"u"&&!e&&this.setWidth(this.definition.width),this.dispatch("column-width-fit-before",this),this.fitToData(e),this.dispatch("column-width-fit-after",this)}fitToData(e){if(!this.isGroup){this.widthFixed||(this.element.style.width="",this.cells.forEach(r=>{r.clearWidth()}));var t=this.element.offsetWidth;if((!this.width||!this.widthFixed)&&(this.cells.forEach(r=>{var s=r.getWidth();s>t&&(t=s)}),t)){var i=t+1;e?this.setWidth(i):(this.maxInitialWidth&&!e&&(i=Math.min(i,this.maxInitialWidth)),this.setWidthActual(i))}}}updateDefinition(e){var t;return this.isGroup||this.parent.isGroup?(console.error("Column Update Error - The updateDefinition function is only available on ungrouped columns"),Promise.reject("Column Update Error - The updateDefinition function is only available on columns, not column groups")):(t=Object.assign({},this.getDefinition()),t=Object.assign(t,e),this.table.columnManager.addColumn(t,!1,this).then(i=>(t.field==this.field&&(this.field=!1),this.delete().then(()=>i.getComponent()))))}deleteCell(e){var t=this.cells.indexOf(e);t>-1&&this.cells.splice(t,1)}getComponent(){return this.component||(this.component=new Zc(this)),this.component}getPosition(){return this.table.columnManager.getVisibleColumnsByIndex().indexOf(this)+1}getParentComponent(){return this.parent instanceof Jt?this.parent.getComponent():!1}}class yr{constructor(e){return this._row=e,new Proxy(this,{get:function(t,i,r){return typeof t[i]<"u"?t[i]:t._row.table.componentFunctionBinder.handle("row",t._row,i)}})}getData(e){return this._row.getData(e)}getElement(){return this._row.getElement()}getCells(){var e=[];return this._row.getCells().forEach(function(t){e.push(t.getComponent())}),e}getCell(e){var t=this._row.getCell(e);return t?t.getComponent():!1}getIndex(){return this._row.getData("data")[this._row.table.options.index]}getPosition(){return this._row.getPosition()}watchPosition(e){return this._row.watchPosition(e)}delete(){return this._row.delete()}scrollTo(e,t){return this._row.table.rowManager.scrollToRow(this._row,e,t)}move(e,t){this._row.moveToRow(e,t)}update(e){return this._row.updateData(e)}normalizeHeight(){this._row.normalizeHeight(!0)}_getSelf(){return this._row}reformat(){return this._row.reinitialize()}getTable(){return this._row.table}getNextRow(){var e=this._row.nextRow();return e&&e.getComponent()}getPrevRow(){var e=this._row.prevRow();return e&&e.getComponent()}}class pt extends dt{constructor(e,t,i="row"){super(t.table),this.parent=t,this.data={},this.type=i,this.element=!1,this.modules={},this.cells=[],this.height=0,this.heightStyled="",this.manualHeight=!1,this.outerHeight=0,this.initialized=!1,this.heightInitialized=!1,this.position=0,this.positionWatchers=[],this.component=null,this.created=!1,this.setData(e)}create(){this.created||(this.created=!0,this.generateElement())}createElement(){var e=document.createElement("div");e.classList.add("tabulator-row"),e.setAttribute("role","row"),this.element=e}getElement(){return this.create(),this.element}detachElement(){this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element)}generateElement(){this.createElement(),this.dispatch("row-init",this)}generateCells(){this.cells=this.table.columnManager.generateCells(this)}initialize(e,t){if(this.create(),!this.initialized||e){for(this.deleteCells();this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.dispatch("row-layout-before",this),this.generateCells(),this.initialized=!0,this.table.columnManager.renderer.renderRowCells(this,t),e&&this.normalizeHeight(),this.dispatch("row-layout",this),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent()),this.dispatch("row-layout-after",this)}else this.table.columnManager.renderer.rerenderRowCells(this,t)}rendered(){this.cells.forEach(e=>{e.cellRendered()})}reinitializeHeight(){this.heightInitialized=!1,this.element&&this.element.offsetParent!==null&&this.normalizeHeight(!0)}deinitialize(){this.initialized=!1}deinitializeHeight(){this.heightInitialized=!1}reinitialize(e){this.initialized=!1,this.heightInitialized=!1,this.manualHeight||(this.height=0,this.heightStyled=""),this.element&&this.element.offsetParent!==null&&this.initialize(!0),this.dispatch("row-relayout",this)}calcHeight(e){var t=0,i=0;this.table.options.rowHeight?this.height=this.table.options.rowHeight:(i=this.calcMinHeight(),t=this.calcMaxHeight(),e?this.height=Math.max(t,i):this.height=this.manualHeight?this.height:Math.max(t,i)),this.heightStyled=this.height?this.height+"px":"",this.outerHeight=this.element.offsetHeight}calcMinHeight(){return this.table.options.resizableRows?this.element.clientHeight:0}calcMaxHeight(){var e=0;return this.cells.forEach(function(t){var i=t.getHeight();i>e&&(e=i)}),e}setCellHeight(){this.cells.forEach(function(e){e.setHeight()}),this.heightInitialized=!0}clearCellHeight(){this.cells.forEach(function(e){e.clearHeight()})}normalizeHeight(e){e&&!this.table.options.rowHeight&&this.clearCellHeight(),this.calcHeight(e),this.setCellHeight()}setHeight(e,t){(this.height!=e||t)&&(this.manualHeight=!0,this.height=e,this.heightStyled=e?e+"px":"",this.setCellHeight(),this.outerHeight=this.element.offsetHeight,this.subscribedExternal("rowHeight")&&this.dispatchExternal("rowHeight",this.getComponent()))}getHeight(){return this.outerHeight}getWidth(){return this.element.offsetWidth}deleteCell(e){var t=this.cells.indexOf(e);t>-1&&this.cells.splice(t,1)}setData(e){this.data=this.chain("row-data-init-before",[this,e],void 0,e),this.dispatch("row-data-init-after",this)}updateData(e){var t=this.element&&Ze.elVisible(this.element),i={},r;return new Promise((s,o)=>{typeof e=="string"&&(e=JSON.parse(e)),this.dispatch("row-data-save-before",this),this.subscribed("row-data-changing")&&(i=Object.assign(i,this.data),i=Object.assign(i,e)),r=this.chain("row-data-changing",[this,i,e],null,e);for(let l in r)this.data[l]=r[l];this.dispatch("row-data-save-after",this);for(let l in e)this.table.columnManager.getColumnsByFieldRoot(l).forEach(c=>{let d=this.getCell(c.getField());if(d){let f=c.getFieldValue(r);d.getValue()!==f&&(d.setValueProcessData(f),t&&d.cellRendered())}});t?(this.normalizeHeight(!0),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent())):(this.initialized=!1,this.height=0,this.heightStyled=""),this.dispatch("row-data-changed",this,t,e),this.dispatchExternal("rowUpdated",this.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()),s()})}getData(e){return e?this.chain("row-data-retrieve",[this,e],null,this.data):this.data}getCell(e){var t=!1;return e=this.table.columnManager.findColumn(e),!this.initialized&&this.cells.length===0&&this.generateCells(),t=this.cells.find(function(i){return i.column===e}),t}getCellIndex(e){return this.cells.findIndex(function(t){return t===e})}findCell(e){return this.cells.find(t=>t.element===e)}getCells(){return!this.initialized&&this.cells.length===0&&this.generateCells(),this.cells}nextRow(){var e=this.table.rowManager.nextDisplayRow(this,!0);return e||!1}prevRow(){var e=this.table.rowManager.prevDisplayRow(this,!0);return e||!1}moveToRow(e,t){var i=this.table.rowManager.findRow(e);i?(this.table.rowManager.moveRowActual(this,i,!t),this.table.rowManager.refreshActiveData("display",!1,!0)):console.warn("Move Error - No matching row found:",e)}delete(){return this.dispatch("row-delete",this),this.deleteActual(),Promise.resolve()}deleteActual(e){this.detachModules(),this.table.rowManager.deleteRow(this,e),this.deleteCells(),this.initialized=!1,this.heightInitialized=!1,this.element=!1,this.dispatch("row-deleted",this)}detachModules(){this.dispatch("row-deleting",this)}deleteCells(){var e=this.cells.length;for(let t=0;t<e;t++)this.cells[0].delete()}wipe(){if(this.detachModules(),this.deleteCells(),this.element){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.element.parentNode&&this.element.parentNode.removeChild(this.element)}this.element=!1,this.modules={}}isDisplayed(){return this.table.rowManager.getDisplayRows().includes(this)}getPosition(){return this.isDisplayed()?this.position:!1}setPosition(e){e!=this.position&&(this.position=e,this.positionWatchers.forEach(t=>{t(this.position)}))}watchPosition(e){this.positionWatchers.push(e),e(this.position)}getGroup(){return this.modules.group||!1}getComponent(){return this.component||(this.component=new yr(this)),this.component}}var VE={avg:function(n,e,t){var i=0,r=typeof t.precision<"u"?t.precision:2;return n.length&&(i=n.reduce(function(s,o){return Number(s)+Number(o)}),i=i/n.length,i=r!==!1?i.toFixed(r):i),parseFloat(i).toString()},max:function(n,e,t){var i=null,r=typeof t.precision<"u"?t.precision:!1;return n.forEach(function(s){s=Number(s),(s>i||i===null)&&(i=s)}),i!==null?r!==!1?i.toFixed(r):i:""},min:function(n,e,t){var i=null,r=typeof t.precision<"u"?t.precision:!1;return n.forEach(function(s){s=Number(s),(s<i||i===null)&&(i=s)}),i!==null?r!==!1?i.toFixed(r):i:""},sum:function(n,e,t){var i=0,r=typeof t.precision<"u"?t.precision:!1;return n.length&&n.forEach(function(s){s=Number(s),i+=isNaN(s)?0:Number(s)}),r!==!1?i.toFixed(r):i},concat:function(n,e,t){var i=0;return n.length&&(i=n.reduce(function(r,s){return String(r)+String(s)})),i},count:function(n,e,t){var i=0;return n.length&&n.forEach(function(r){r&&i++}),i},unique:function(n,e,t){var i=n.filter((r,s)=>(n||r===0)&&n.indexOf(r)===s);return i.length}};class qi extends Ve{static moduleName="columnCalcs";static calculations=VE;constructor(e){super(e),this.topCalcs=[],this.botCalcs=[],this.genColumn=!1,this.topElement=this.createElement(),this.botElement=this.createElement(),this.topRow=!1,this.botRow=!1,this.topInitialized=!1,this.botInitialized=!1,this.blocked=!1,this.recalcAfterBlock=!1,this.registerTableOption("columnCalcs",!0),this.registerColumnOption("topCalc"),this.registerColumnOption("topCalcParams"),this.registerColumnOption("topCalcFormatter"),this.registerColumnOption("topCalcFormatterParams"),this.registerColumnOption("bottomCalc"),this.registerColumnOption("bottomCalcParams"),this.registerColumnOption("bottomCalcFormatter"),this.registerColumnOption("bottomCalcFormatterParams")}createElement(){var e=document.createElement("div");return e.classList.add("tabulator-calcs-holder"),e}initialize(){this.genColumn=new Jt({field:"value"},this),this.subscribe("cell-value-changed",this.cellValueChanged.bind(this)),this.subscribe("column-init",this.initializeColumnCheck.bind(this)),this.subscribe("row-deleted",this.rowsUpdated.bind(this)),this.subscribe("scroll-horizontal",this.scrollHorizontal.bind(this)),this.subscribe("row-added",this.rowsUpdated.bind(this)),this.subscribe("column-moved",this.recalcActiveRows.bind(this)),this.subscribe("column-add",this.recalcActiveRows.bind(this)),this.subscribe("data-refreshed",this.recalcActiveRowsRefresh.bind(this)),this.subscribe("table-redraw",this.tableRedraw.bind(this)),this.subscribe("rows-visible",this.visibleRows.bind(this)),this.subscribe("scrollbar-vertical",this.adjustForScrollbar.bind(this)),this.subscribe("redraw-blocked",this.blockRedraw.bind(this)),this.subscribe("redraw-restored",this.restoreRedraw.bind(this)),this.subscribe("table-redrawing",this.resizeHolderWidth.bind(this)),this.subscribe("column-resized",this.resizeHolderWidth.bind(this)),this.subscribe("column-show",this.resizeHolderWidth.bind(this)),this.subscribe("column-hide",this.resizeHolderWidth.bind(this)),this.registerTableFunction("getCalcResults",this.getResults.bind(this)),this.registerTableFunction("recalc",this.userRecalc.bind(this)),this.resizeHolderWidth()}resizeHolderWidth(){this.topElement.style.minWidth=this.table.columnManager.headersElement.offsetWidth+"px"}tableRedraw(e){this.recalc(this.table.rowManager.activeRows),e&&this.redraw()}blockRedraw(){this.blocked=!0,this.recalcAfterBlock=!1}restoreRedraw(){this.blocked=!1,this.recalcAfterBlock&&(this.recalcAfterBlock=!1,this.recalcActiveRowsRefresh())}userRecalc(){this.recalc(this.table.rowManager.activeRows)}blockCheck(){return this.blocked&&(this.recalcAfterBlock=!0),this.blocked}visibleRows(e,t){return this.topRow&&t.unshift(this.topRow),this.botRow&&t.push(this.botRow),t}rowsUpdated(e){this.table.options.groupBy?this.recalcRowGroup(e):this.recalcActiveRows()}recalcActiveRowsRefresh(){this.table.options.groupBy&&this.table.options.dataTreeStartExpanded&&this.table.options.dataTree?this.recalcAll():this.recalcActiveRows()}recalcActiveRows(){this.recalc(this.table.rowManager.activeRows)}cellValueChanged(e){(e.column.definition.topCalc||e.column.definition.bottomCalc)&&(this.table.options.groupBy?((this.table.options.columnCalcs=="table"||this.table.options.columnCalcs=="both")&&this.recalcActiveRows(),this.table.options.columnCalcs!="table"&&this.recalcRowGroup(e.row)):this.recalcActiveRows())}initializeColumnCheck(e){(e.definition.topCalc||e.definition.bottomCalc)&&this.initializeColumn(e)}initializeColumn(e){var t=e.definition,i={topCalcParams:t.topCalcParams||{},botCalcParams:t.bottomCalcParams||{}};if(t.topCalc){switch(typeof t.topCalc){case"string":qi.calculations[t.topCalc]?i.topCalc=qi.calculations[t.topCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",t.topCalc);break;case"function":i.topCalc=t.topCalc;break}i.topCalc&&(e.modules.columnCalcs=i,this.topCalcs.push(e),this.table.options.columnCalcs!="group"&&this.initializeTopRow())}if(t.bottomCalc){switch(typeof t.bottomCalc){case"string":qi.calculations[t.bottomCalc]?i.botCalc=qi.calculations[t.bottomCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",t.bottomCalc);break;case"function":i.botCalc=t.bottomCalc;break}i.botCalc&&(e.modules.columnCalcs=i,this.botCalcs.push(e),this.table.options.columnCalcs!="group"&&this.initializeBottomRow())}}registerColumnField(){}removeCalcs(){var e=!1;this.topInitialized&&(this.topInitialized=!1,this.topElement.parentNode.removeChild(this.topElement),e=!0),this.botInitialized&&(this.botInitialized=!1,this.footerRemove(this.botElement),e=!0),e&&this.table.rowManager.adjustTableSize()}reinitializeCalcs(){this.topCalcs.length&&this.initializeTopRow(),this.botCalcs.length&&this.initializeBottomRow()}initializeTopRow(){var e=document.createDocumentFragment();this.topInitialized||(e.appendChild(document.createElement("br")),e.appendChild(this.topElement),this.table.columnManager.getContentsElement().insertBefore(e,this.table.columnManager.headersElement.nextSibling),this.topInitialized=!0)}initializeBottomRow(){this.botInitialized||(this.footerPrepend(this.botElement),this.botInitialized=!0)}scrollHorizontal(e){this.botInitialized&&this.botRow&&(this.botElement.scrollLeft=e)}recalc(e){var t,i;if(!this.blockCheck()&&(this.topInitialized||this.botInitialized)){if(t=this.rowsToData(e),this.topInitialized){for(this.topRow&&this.topRow.deleteCells(),i=this.generateRow("top",t),this.topRow=i;this.topElement.firstChild;)this.topElement.removeChild(this.topElement.firstChild);this.topElement.appendChild(i.getElement()),i.initialize(!0)}if(this.botInitialized){for(this.botRow&&this.botRow.deleteCells(),i=this.generateRow("bottom",t),this.botRow=i;this.botElement.firstChild;)this.botElement.removeChild(this.botElement.firstChild);this.botElement.appendChild(i.getElement()),i.initialize(!0)}this.table.rowManager.adjustTableSize(),this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.layout()}}recalcRowGroup(e){this.recalcGroup(this.table.modules.groupRows.getRowGroup(e))}recalcAll(){if((this.topCalcs.length||this.botCalcs.length)&&(this.table.options.columnCalcs!=="group"&&this.recalcActiveRows(),this.table.options.groupBy&&this.table.options.columnCalcs!=="table")){var e=this.table.modules.groupRows.getChildGroups();e.forEach(t=>{this.recalcGroup(t)})}}recalcGroup(e){var t,i;this.blockCheck()||e&&e.calcs&&(e.calcs.bottom&&(t=this.rowsToData(e.rows),i=this.generateRowData("bottom",t),e.calcs.bottom.updateData(i),e.calcs.bottom.reinitialize()),e.calcs.top&&(t=this.rowsToData(e.rows),i=this.generateRowData("top",t),e.calcs.top.updateData(i),e.calcs.top.reinitialize()))}generateTopRow(e){return this.generateRow("top",this.rowsToData(e))}generateBottomRow(e){return this.generateRow("bottom",this.rowsToData(e))}rowsToData(e){var t=[],i=this.table.options.dataTree&&this.table.options.dataTreeChildColumnCalcs,r=this.table.modules.dataTree;return e.forEach(s=>{t.push(s.getData()),i&&s.modules.dataTree?.open&&this.rowsToData(r.getFilteredTreeChildren(s)).forEach(o=>{t.push(s)})}),t}generateRow(e,t){var i=this.generateRowData(e,t),r;return this.table.modExists("mutator")&&this.table.modules.mutator.disable(),r=new pt(i,this,"calc"),this.table.modExists("mutator")&&this.table.modules.mutator.enable(),r.getElement().classList.add("tabulator-calcs","tabulator-calcs-"+e),r.component=!1,r.getComponent=()=>(r.component||(r.component=new HE(r)),r.component),r.generateCells=()=>{var s=[];this.table.columnManager.columnsByIndex.forEach(o=>{this.genColumn.setField(o.getField()),this.genColumn.hozAlign=o.hozAlign,o.definition[e+"CalcFormatter"]&&this.table.modExists("format")?this.genColumn.modules.format={formatter:this.table.modules.format.lookupFormatter(o.definition[e+"CalcFormatter"]),params:o.definition[e+"CalcFormatterParams"]||{}}:this.genColumn.modules.format={formatter:this.table.modules.format.lookupFormatter("plaintext"),params:{}},this.genColumn.definition.cssClass=o.definition.cssClass;var l=new En(this.genColumn,r);l.getElement(),l.column=o,l.setWidth(),o.cells.push(l),s.push(l),o.visible||l.hide()}),r.cells=s},r}generateRowData(e,t){var i={},r=e=="top"?this.topCalcs:this.botCalcs,s=e=="top"?"topCalc":"botCalc",o,l;return r.forEach(function(u){var c=[];u.modules.columnCalcs&&u.modules.columnCalcs[s]&&(t.forEach(function(d){c.push(u.getFieldValue(d))}),l=s+"Params",o=typeof u.modules.columnCalcs[l]=="function"?u.modules.columnCalcs[l](c,t):u.modules.columnCalcs[l],u.setFieldValue(i,u.modules.columnCalcs[s](c,t,o)))}),i}hasTopCalcs(){return!!this.topCalcs.length}hasBottomCalcs(){return!!this.botCalcs.length}redraw(){this.topRow&&this.topRow.normalizeHeight(!0),this.botRow&&this.botRow.normalizeHeight(!0)}getResults(){var e={},t;return this.table.options.groupBy&&this.table.modExists("groupRows")?(t=this.table.modules.groupRows.getGroups(!0),t.forEach(i=>{e[i.getKey()]=this.getGroupResults(i)})):e={top:this.topRow?this.topRow.getData():{},bottom:this.botRow?this.botRow.getData():{}},e}getGroupResults(e){var t=e._getSelf(),i=e.getSubGroups(),r={},s={};return i.forEach(o=>{r[o.getKey()]=this.getGroupResults(o)}),s={top:t.calcs.top?t.calcs.top.getData():{},bottom:t.calcs.bottom?t.calcs.bottom.getData():{},groups:r},s}adjustForScrollbar(e){this.botRow&&(this.table.rtl?this.botElement.style.paddingLeft=e+"px":this.botElement.style.paddingRight=e+"px")}}class zE extends Ve{static moduleName="dataTree";constructor(e){super(e),this.indent=10,this.field="",this.collapseEl=null,this.expandEl=null,this.branchEl=null,this.elementField=!1,this.startOpen=function(){},this.registerTableOption("dataTree",!1),this.registerTableOption("dataTreeFilter",!0),this.registerTableOption("dataTreeSort",!0),this.registerTableOption("dataTreeElementColumn",!1),this.registerTableOption("dataTreeBranchElement",!0),this.registerTableOption("dataTreeChildIndent",9),this.registerTableOption("dataTreeChildField","_children"),this.registerTableOption("dataTreeCollapseElement",!1),this.registerTableOption("dataTreeExpandElement",!1),this.registerTableOption("dataTreeStartExpanded",!1),this.registerTableOption("dataTreeChildColumnCalcs",!1),this.registerTableOption("dataTreeSelectPropagate",!1),this.registerComponentFunction("row","treeCollapse",this.collapseRow.bind(this)),this.registerComponentFunction("row","treeExpand",this.expandRow.bind(this)),this.registerComponentFunction("row","treeToggle",this.toggleRow.bind(this)),this.registerComponentFunction("row","getTreeParent",this.getTreeParent.bind(this)),this.registerComponentFunction("row","getTreeChildren",this.getRowChildren.bind(this)),this.registerComponentFunction("row","addTreeChild",this.addTreeChildRow.bind(this)),this.registerComponentFunction("row","isTreeExpanded",this.isRowExpanded.bind(this))}initialize(){if(this.table.options.dataTree){var e=null,t=this.table.options;switch(this.field=t.dataTreeChildField,this.indent=t.dataTreeChildIndent,this.options("movableRows")&&console.warn("The movableRows option is not available with dataTree enabled, moving of child rows could result in unpredictable behavior"),t.dataTreeBranchElement?t.dataTreeBranchElement===!0?(this.branchEl=document.createElement("div"),this.branchEl.classList.add("tabulator-data-tree-branch")):typeof t.dataTreeBranchElement=="string"?(e=document.createElement("div"),e.innerHTML=t.dataTreeBranchElement,this.branchEl=e.firstChild):this.branchEl=t.dataTreeBranchElement:(this.branchEl=document.createElement("div"),this.branchEl.classList.add("tabulator-data-tree-branch-empty")),t.dataTreeCollapseElement?typeof t.dataTreeCollapseElement=="string"?(e=document.createElement("div"),e.innerHTML=t.dataTreeCollapseElement,this.collapseEl=e.firstChild):this.collapseEl=t.dataTreeCollapseElement:(this.collapseEl=document.createElement("div"),this.collapseEl.classList.add("tabulator-data-tree-control"),this.collapseEl.tabIndex=0,this.collapseEl.innerHTML="<div class='tabulator-data-tree-control-collapse'></div>"),t.dataTreeExpandElement?typeof t.dataTreeExpandElement=="string"?(e=document.createElement("div"),e.innerHTML=t.dataTreeExpandElement,this.expandEl=e.firstChild):this.expandEl=t.dataTreeExpandElement:(this.expandEl=document.createElement("div"),this.expandEl.classList.add("tabulator-data-tree-control"),this.expandEl.tabIndex=0,this.expandEl.innerHTML="<div class='tabulator-data-tree-control-expand'></div>"),typeof t.dataTreeStartExpanded){case"boolean":this.startOpen=function(i,r){return t.dataTreeStartExpanded};break;case"function":this.startOpen=t.dataTreeStartExpanded;break;default:this.startOpen=function(i,r){return t.dataTreeStartExpanded[r]};break}this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-layout-after",this.layoutRow.bind(this)),this.subscribe("row-deleting",this.rowDeleting.bind(this)),this.subscribe("row-deleted",this.rowDelete.bind(this),0),this.subscribe("row-data-changed",this.rowDataChanged.bind(this),10),this.subscribe("cell-value-updated",this.cellValueChanged.bind(this)),this.subscribe("edit-cancelled",this.cellValueChanged.bind(this)),this.subscribe("column-moving-rows",this.columnMoving.bind(this)),this.subscribe("table-built",this.initializeElementField.bind(this)),this.subscribe("table-redrawing",this.tableRedrawing.bind(this)),this.registerDisplayHandler(this.getRows.bind(this),30)}}tableRedrawing(e){var t;e&&(t=this.table.rowManager.getRows(),t.forEach(i=>{this.reinitializeRowChildren(i)}))}initializeElementField(){var e=this.table.columnManager.getFirstVisibleColumn();this.elementField=this.table.options.dataTreeElementColumn||(e?e.field:!1)}getRowChildren(e){return this.getTreeChildren(e,!0)}columnMoving(){var e=[];return this.table.rowManager.rows.forEach(t=>{e=e.concat(this.getTreeChildren(t,!1,!0))}),e}rowDataChanged(e,t,i){this.redrawNeeded(i)&&(this.initializeRow(e),t&&(this.layoutRow(e),this.refreshData(!0)))}cellValueChanged(e){var t=e.column.getField();t===this.elementField&&this.layoutRow(e.row)}initializeRow(e){var t=e.getData()[this.field],i=Array.isArray(t),r=i||!i&&typeof t=="object"&&t!==null;!r&&e.modules.dataTree&&e.modules.dataTree.branchEl&&e.modules.dataTree.branchEl.parentNode.removeChild(e.modules.dataTree.branchEl),!r&&e.modules.dataTree&&e.modules.dataTree.controlEl&&e.modules.dataTree.controlEl.parentNode.removeChild(e.modules.dataTree.controlEl),e.modules.dataTree={index:e.modules.dataTree?e.modules.dataTree.index:0,open:r?e.modules.dataTree?e.modules.dataTree.open:this.startOpen(e.getComponent(),0):!1,controlEl:e.modules.dataTree&&r?e.modules.dataTree.controlEl:!1,branchEl:e.modules.dataTree&&r?e.modules.dataTree.branchEl:!1,parent:e.modules.dataTree?e.modules.dataTree.parent:!1,children:r}}reinitializeRowChildren(e){var t=this.getTreeChildren(e,!1,!0);t.forEach(function(i){i.reinitialize(!0)})}layoutRow(e){var t=this.elementField?e.getCell(this.elementField):e.getCells()[0],i=t.getElement(),r=e.modules.dataTree;r.branchEl&&(r.branchEl.parentNode&&r.branchEl.parentNode.removeChild(r.branchEl),r.branchEl=!1),r.controlEl&&(r.controlEl.parentNode&&r.controlEl.parentNode.removeChild(r.controlEl),r.controlEl=!1),this.generateControlElement(e,i),e.getElement().classList.add("tabulator-tree-level-"+r.index),r.index&&(this.branchEl?(r.branchEl=this.branchEl.cloneNode(!0),i.insertBefore(r.branchEl,i.firstChild),this.table.rtl?r.branchEl.style.marginRight=(r.branchEl.offsetWidth+r.branchEl.style.marginLeft)*(r.index-1)+r.index*this.indent+"px":r.branchEl.style.marginLeft=(r.branchEl.offsetWidth+r.branchEl.style.marginRight)*(r.index-1)+r.index*this.indent+"px"):this.table.rtl?i.style.paddingRight=parseInt(window.getComputedStyle(i,null).getPropertyValue("padding-right"))+r.index*this.indent+"px":i.style.paddingLeft=parseInt(window.getComputedStyle(i,null).getPropertyValue("padding-left"))+r.index*this.indent+"px")}generateControlElement(e,t){var i=e.modules.dataTree,r=i.controlEl;t=t||e.getCells()[0].getElement(),i.children!==!1&&(i.open?(i.controlEl=this.collapseEl.cloneNode(!0),i.controlEl.addEventListener("click",s=>{s.stopPropagation(),this.collapseRow(e)})):(i.controlEl=this.expandEl.cloneNode(!0),i.controlEl.addEventListener("click",s=>{s.stopPropagation(),this.expandRow(e)})),i.controlEl.addEventListener("mousedown",s=>{s.stopPropagation()}),r&&r.parentNode===t?r.parentNode.replaceChild(i.controlEl,r):t.insertBefore(i.controlEl,t.firstChild))}getRows(e){var t=[];return e.forEach((i,r)=>{var s,o;t.push(i),i instanceof pt&&(i.create(),s=i.modules.dataTree,!s.index&&s.children!==!1&&(o=this.getChildren(i,!1,!0),o.forEach(l=>{l.create(),t.push(l)})))}),t}getChildren(e,t,i){var r=e.modules.dataTree,s=[],o=[];return r.children!==!1&&(r.open||t)&&(Array.isArray(r.children)||(r.children=this.generateChildren(e)),this.table.modExists("filter")&&this.table.options.dataTreeFilter?s=this.table.modules.filter.filter(r.children):s=r.children,this.table.modExists("sort")&&this.table.options.dataTreeSort&&this.table.modules.sort.sort(s,i),s.forEach(l=>{o.push(l);var u=this.getChildren(l,!1,!0);u.forEach(c=>{o.push(c)})})),o}generateChildren(e){var t=[],i=e.getData()[this.field];return Array.isArray(i)||(i=[i]),i.forEach(r=>{var s=new pt(r||{},this.table.rowManager);s.create(),s.modules.dataTree.index=e.modules.dataTree.index+1,s.modules.dataTree.parent=e,s.modules.dataTree.children&&(s.modules.dataTree.open=this.startOpen(s.getComponent(),s.modules.dataTree.index)),t.push(s)}),t}expandRow(e,t){var i=e.modules.dataTree;i.children!==!1&&(i.open=!0,e.reinitialize(),this.refreshData(!0),this.dispatchExternal("dataTreeRowExpanded",e.getComponent(),e.modules.dataTree.index))}collapseRow(e){var t=e.modules.dataTree;t.children!==!1&&(t.open=!1,e.reinitialize(),this.refreshData(!0),this.dispatchExternal("dataTreeRowCollapsed",e.getComponent(),e.modules.dataTree.index))}toggleRow(e){var t=e.modules.dataTree;t.children!==!1&&(t.open?this.collapseRow(e):this.expandRow(e))}isRowExpanded(e){return e.modules.dataTree.open}getTreeParent(e){return e.modules.dataTree.parent?e.modules.dataTree.parent.getComponent():!1}getTreeParentRoot(e){return e.modules.dataTree&&e.modules.dataTree.parent?this.getTreeParentRoot(e.modules.dataTree.parent):e}getFilteredTreeChildren(e){var t=e.modules.dataTree,i=[],r;return t.children&&(Array.isArray(t.children)||(t.children=this.generateChildren(e)),this.table.modExists("filter")&&this.table.options.dataTreeFilter?r=this.table.modules.filter.filter(t.children):r=t.children,r.forEach(s=>{s instanceof pt&&i.push(s)})),i}rowDeleting(e){var t=e.modules.dataTree;t&&t.children&&Array.isArray(t.children)&&t.children.forEach(i=>{i instanceof pt&&i.wipe()})}rowDelete(e){var t=e.modules.dataTree.parent,i;t&&(i=this.findChildIndex(e,t),i!==!1&&t.data[this.field].splice(i,1),t.data[this.field].length||delete t.data[this.field],this.initializeRow(t),this.layoutRow(t)),this.refreshData(!0)}addTreeChildRow(e,t,i,r){var s=!1;typeof t=="string"&&(t=JSON.parse(t)),Array.isArray(e.data[this.field])||(e.data[this.field]=[],e.modules.dataTree.open=this.startOpen(e.getComponent(),e.modules.dataTree.index)),typeof r<"u"&&(s=this.findChildIndex(r,e),s!==!1&&e.data[this.field].splice(i?s:s+1,0,t)),s===!1&&(i?e.data[this.field].unshift(t):e.data[this.field].push(t)),this.initializeRow(e),this.layoutRow(e),this.refreshData(!0)}findChildIndex(e,t){var i=!1;return typeof e=="object"?e instanceof pt?i=e.data:e instanceof yr?i=e._getSelf().data:typeof HTMLElement<"u"&&e instanceof HTMLElement?t.modules.dataTree&&(i=t.modules.dataTree.children.find(r=>r instanceof pt?r.element===e:!1),i&&(i=i.data)):e===null&&(i=!1):typeof e>"u"?i=!1:i=t.data[this.field].find(r=>r.data[this.table.options.index]==e),i&&(Array.isArray(t.data[this.field])&&(i=t.data[this.field].indexOf(i)),i==-1&&(i=!1)),i}getTreeChildren(e,t,i){var r=e.modules.dataTree,s=[];return r&&r.children&&(Array.isArray(r.children)||(r.children=this.generateChildren(e)),r.children.forEach(o=>{o instanceof pt&&(s.push(t?o.getComponent():o),i&&this.getTreeChildren(o,t,i).forEach(l=>{s.push(l)}))})),s}getChildField(){return this.field}redrawNeeded(e){return(this.field?typeof e[this.field]<"u":!1)||(this.elementField?typeof e[this.elementField]<"u":!1)}}function jE(n,e={},t){var i=e.delimiter?e.delimiter:",",r=[],s=[];n.forEach(o=>{var l=[];switch(o.type){case"group":console.warn("Download Warning - CSV downloader cannot process row groups");break;case"calc":console.warn("Download Warning - CSV downloader cannot process column calculations");break;case"header":o.columns.forEach((u,c)=>{u&&u.depth===1&&(s[c]=typeof u.value>"u"||u.value===null?"":'"'+String(u.value).split('"').join('""')+'"')});break;case"row":o.columns.forEach(u=>{if(u){switch(typeof u.value){case"object":u.value=u.value!==null?JSON.stringify(u.value):"";break;case"undefined":u.value="";break}l.push('"'+String(u.value).split('"').join('""')+'"')}}),r.push(l.join(i));break}}),s.length&&r.unshift(s.join(i)),r=r.join(`
34
34
  `),e.bom&&(r="\uFEFF"+r),t(r,"text/csv")}function WE(n,e,t){var i=[];n.forEach(r=>{var s={};switch(r.type){case"header":break;case"group":console.warn("Download Warning - JSON downloader cannot process row groups");break;case"calc":console.warn("Download Warning - JSON downloader cannot process column calculations");break;case"row":r.columns.forEach(o=>{o&&(s[o.component.getTitleDownload()||o.component.getField()]=o.value)}),i.push(s);break}}),i=JSON.stringify(i,null," "),t(i,"application/json")}function UE(n,e={},t){var i=[],r=[],s={},o=e.rowGroupStyles||{fontStyle:"bold",fontSize:12,cellPadding:6,fillColor:220},l=e.rowCalcStyles||{fontStyle:"bold",fontSize:10,cellPadding:4,fillColor:232},u=e.jsPDF||{},c=e.title?e.title:"",d,f;u.orientation||(u.orientation=e.orientation||"landscape"),u.unit||(u.unit="pt"),n.forEach(h=>{switch(h.type){case"header":i.push(p(h));break;case"group":r.push(p(h,o));break;case"calc":r.push(p(h,l));break;case"row":r.push(p(h));break}});function p(h,x){var y=[];return h.columns.forEach(A=>{var C;if(A){switch(typeof A.value){case"object":A.value=A.value!==null?JSON.stringify(A.value):"";break;case"undefined":A.value="";break}C={content:A.value,colSpan:A.width,rowSpan:A.height},x&&(C.styles=x),y.push(C)}}),y}d=this.dependencyRegistry.lookup("jspdf","jsPDF"),f=new d(u),e.autoTable&&(typeof e.autoTable=="function"?s=e.autoTable(f)||{}:s=e.autoTable),c&&(s.didDrawPage=function(h){f.text(c,40,30)}),s.head=i,s.body=r,f.autoTable(s),e.documentProcessing&&e.documentProcessing(f),t(f.output("arraybuffer"),"application/pdf")}function GE(n,e,t){var i=this,r=e.sheetName||"Sheet1",s=this.dependencyRegistry.lookup("XLSX"),o=s.utils.book_new(),l=new dt(this),u="compress"in e?e.compress:!0,c=e.writeOptions||{bookType:"xlsx",bookSST:!0,compression:u},d;c.type="binary",o.SheetNames=[],o.Sheets={};function f(){var x=[],y=[],A={},C={s:{c:0,r:0},e:{c:n[0]?n[0].columns.reduce((m,D)=>m+(D&&D.width?D.width:1),0):0,r:n.length}};return n.forEach((m,D)=>{var g=[];m.columns.forEach(function(M,v){M?(g.push(!(M.value instanceof Date)&&typeof M.value=="object"?JSON.stringify(M.value):M.value),(M.width>1||M.height>-1)&&(M.height>1||M.width>1)&&y.push({s:{r:D,c:v},e:{r:D+M.height-1,c:v+M.width-1}})):g.push("")}),x.push(g)}),s.utils.sheet_add_aoa(A,x),A["!ref"]=s.utils.encode_range(C),y.length&&(A["!merges"]=y),A}if(e.sheetOnly){t(f());return}if(e.sheets)for(var p in e.sheets)e.sheets[p]===!0?(o.SheetNames.push(p),o.Sheets[p]=f()):(o.SheetNames.push(p),l.commsSend(e.sheets[p],"download","intercept",{type:"xlsx",options:{sheetOnly:!0},active:i.active,intercept:function(x){o.Sheets[p]=x}}));else o.SheetNames.push(r),o.Sheets[r]=f();e.documentProcessing&&(o=e.documentProcessing(o));function h(x){for(var y=new ArrayBuffer(x.length),A=new Uint8Array(y),C=0;C!=x.length;++C)A[C]=x.charCodeAt(C)&255;return y}d=s.write(o,c),t(h(d),"application/octet-stream")}function YE(n,e,t){this.modExists("export",!0)&&t(this.modules.export.generateHTMLTable(n),"text/html")}function QE(n,e,t){const i=[];n.forEach(r=>{const s={};switch(r.type){case"header":break;case"group":console.warn("Download Warning - JSON downloader cannot process row groups");break;case"calc":console.warn("Download Warning - JSON downloader cannot process column calculations");break;case"row":r.columns.forEach(o=>{o&&(s[o.component.getTitleDownload()||o.component.getField()]=o.value)}),i.push(JSON.stringify(s));break}}),t(i.join(`
@@ -51,4 +51,4 @@ Data: `,e),!1}loadData(e){var t={data:e};this.loadSheet(this.newSheet(t))}de
51
51
  Expecting: array
52
52
  Received: `,typeof e,`
53
53
  Data: `,e)}_wipeElements(){this.dispatch("rows-wipe"),this.destroy(),this.adjustTableSize(),this.dispatch("rows-wiped")}destroy(){this.rows.forEach(e=>{e.wipe()}),this.rows=[],this.activeRows=[],this.activeRowsPipeline=[],this.activeRowsCount=0,this.displayRows=[],this.displayRowsCount=0}deleteRow(e,t){var i=this.rows.indexOf(e),r=this.activeRows.indexOf(e);r>-1&&this.activeRows.splice(r,1),i>-1&&this.rows.splice(i,1),this.setActiveRows(this.activeRows),this.displayRowIterator(s=>{var o=s.indexOf(e);o>-1&&s.splice(o,1)}),t||this.reRenderInPosition(),this.regenerateRowPositions(),this.dispatchExternal("rowDeleted",e.getComponent()),this.displayRowsCount||this.tableEmpty(),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.getData())}addRow(e,t,i,r){var s=this.addRowActual(e,t,i,r);return s}addRows(e,t,i,r){var s=[];return new Promise((o,l)=>{t=this.findAddRowPos(t),Array.isArray(e)||(e=[e]),(typeof i>"u"&&t||typeof i<"u"&&!t)&&e.reverse(),e.forEach((u,c)=>{var d=this.addRow(u,t,i,!0);s.push(d),this.dispatch("row-added",d,u,t,i)}),this.refreshActiveData(r?"displayPipeline":!1,!1,!0),this.regenerateRowPositions(),this.displayRowsCount&&this._clearPlaceholder(),o(s)})}findAddRowPos(e){return typeof e>"u"&&(e=this.table.options.addRowPos),e==="pos"&&(e=!0),e==="bottom"&&(e=!1),e}addRowActual(e,t,i,r){var s=e instanceof pt?e:new pt(e||{},this),o=this.findAddRowPos(t),l=-1,u,c;return i||(c=this.chain("row-adding-position",[s,o],null,{index:i,top:o}),i=c.index,o=c.top),typeof i<"u"&&(i=this.findRow(i)),i=this.chain("row-adding-index",[s,i,o],null,i),i&&(l=this.rows.indexOf(i)),i&&l>-1?(u=this.activeRows.indexOf(i),this.displayRowIterator(function(d){var f=d.indexOf(i);f>-1&&d.splice(o?f:f+1,0,s)}),u>-1&&this.activeRows.splice(o?u:u+1,0,s),this.rows.splice(o?l:l+1,0,s)):o?(this.displayRowIterator(function(d){d.unshift(s)}),this.activeRows.unshift(s),this.rows.unshift(s)):(this.displayRowIterator(function(d){d.push(s)}),this.activeRows.push(s),this.rows.push(s)),this.setActiveRows(this.activeRows),this.dispatchExternal("rowAdded",s.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()),r||this.reRenderInPosition(),s}moveRow(e,t,i){this.dispatch("row-move",e,t,i),this.moveRowActual(e,t,i),this.regenerateRowPositions(),this.dispatch("row-moved",e,t,i),this.dispatchExternal("rowMoved",e.getComponent())}moveRowActual(e,t,i){this.moveRowInArray(this.rows,e,t,i),this.moveRowInArray(this.activeRows,e,t,i),this.displayRowIterator(r=>{this.moveRowInArray(r,e,t,i)}),this.dispatch("row-moving",e,t,i)}moveRowInArray(e,t,i,r){var s,o,l,u;if(t!==i&&(s=e.indexOf(t),s>-1&&(e.splice(s,1),o=e.indexOf(i),o>-1?r?e.splice(o+1,0,t):e.splice(o,0,t):e.splice(s,0,t)),e===this.getDisplayRows())){l=s<o?s:o,u=o>s?o:s+1;for(let c=l;c<=u;c++)e[c]&&this.styleRow(e[c],c)}}clearData(){this.setData([])}getRowIndex(e){return this.findRowIndex(e,this.rows)}getDisplayRowIndex(e){var t=this.getDisplayRows().indexOf(e);return t>-1?t:!1}nextDisplayRow(e,t){var i=this.getDisplayRowIndex(e),r=!1;return i!==!1&&i<this.displayRowsCount-1&&(r=this.getDisplayRows()[i+1]),r&&(!(r instanceof pt)||r.type!="row")?this.nextDisplayRow(r,t):r}prevDisplayRow(e,t){var i=this.getDisplayRowIndex(e),r=!1;return i&&(r=this.getDisplayRows()[i-1]),t&&r&&(!(r instanceof pt)||r.type!="row")?this.prevDisplayRow(r,t):r}findRowIndex(e,t){var i;return e=this.findRow(e),e&&(i=t.indexOf(e),i>-1)?i:!1}getData(e,t){var i=[],r=this.getRows(e);return r.forEach(function(s){s.type=="row"&&i.push(s.getData(t||"data"))}),i}getComponents(e){var t=[],i=this.getRows(e);return i.forEach(function(r){t.push(r.getComponent())}),t}getDataCount(e){var t=this.getRows(e);return t.length}scrollHorizontal(e){this.scrollLeft=e,this.element.scrollLeft=e,this.dispatch("scroll-horizontal",e)}registerDataPipelineHandler(e,t){typeof t<"u"?(this.dataPipeline.push({handler:e,priority:t}),this.dataPipeline.sort((i,r)=>i.priority-r.priority)):console.error("Data pipeline handlers must have a priority in order to be registered")}registerDisplayPipelineHandler(e,t){typeof t<"u"?(this.displayPipeline.push({handler:e,priority:t}),this.displayPipeline.sort((i,r)=>i.priority-r.priority)):console.error("Display pipeline handlers must have a priority in order to be registered")}refreshActiveData(e,t,i){var r=this.table,s="",o=0,l=["all","dataPipeline","display","displayPipeline","end"];if(!this.table.destroyed){if(typeof e=="function")if(o=this.dataPipeline.findIndex(u=>u.handler===e),o>-1)s="dataPipeline",t&&(o==this.dataPipeline.length-1?s="display":o++);else if(o=this.displayPipeline.findIndex(u=>u.handler===e),o>-1)s="displayPipeline",t&&(o==this.displayPipeline.length-1?s="end":o++);else{console.error("Unable to refresh data, invalid handler provided",e);return}else s=e||"all",o=0;if(this.redrawBlock){(!this.redrawBlockRestoreConfig||this.redrawBlockRestoreConfig&&(this.redrawBlockRestoreConfig.stage===s&&o<this.redrawBlockRestoreConfig.index||l.indexOf(s)<l.indexOf(this.redrawBlockRestoreConfig.stage)))&&(this.redrawBlockRestoreConfig={handler:e,skipStage:t,renderInPosition:i,stage:s,index:o});return}else Ze.elVisible(this.element)?i?this.reRenderInPosition(this.refreshPipelines.bind(this,e,s,o,i)):(this.refreshPipelines(e,s,o,i),e||this.table.columnManager.renderer.renderColumns(),this.renderTable(),r.options.layoutColumnsOnNewData&&this.table.columnManager.redraw(!0)):this.refreshPipelines(e,s,o,i),this.dispatch("data-refreshed")}}refreshPipelines(e,t,i,r){switch(this.dispatch("data-refreshing"),(!e||!this.activeRowsPipeline[0])&&(this.activeRowsPipeline[0]=this.rows.slice(0)),t){case"all":case"dataPipeline":for(let s=i;s<this.dataPipeline.length;s++){let o=this.dataPipeline[s].handler(this.activeRowsPipeline[s].slice(0));this.activeRowsPipeline[s+1]=o||this.activeRowsPipeline[s].slice(0)}this.setActiveRows(this.activeRowsPipeline[this.dataPipeline.length]);case"display":i=0,this.resetDisplayRows();case"displayPipeline":for(let s=i;s<this.displayPipeline.length;s++){let o=this.displayPipeline[s].handler((s?this.getDisplayRows(s-1):this.activeRows).slice(0),r);this.setDisplayRows(o||this.getDisplayRows(s-1).slice(0),s)}case"end":this.regenerateRowPositions()}this.getDisplayRows().length&&this._clearPlaceholder()}regenerateRowPositions(){var e=this.getDisplayRows(),t=1;e.forEach(i=>{i.type==="row"&&(i.setPosition(t),t++)})}setActiveRows(e){this.activeRows=this.activeRows=Object.assign([],e),this.activeRowsCount=this.activeRows.length}resetDisplayRows(){this.displayRows=[],this.displayRows.push(this.activeRows.slice(0)),this.displayRowsCount=this.displayRows[0].length}setDisplayRows(e,t){this.displayRows[t]=e,t==this.displayRows.length-1&&(this.displayRowsCount=this.displayRows[this.displayRows.length-1].length)}getDisplayRows(e){return typeof e>"u"?this.displayRows.length?this.displayRows[this.displayRows.length-1]:[]:this.displayRows[e]||[]}getVisibleRows(e,t){var i=Object.assign([],this.renderer.visibleRows(!t));return e&&(i=this.chain("rows-visible",[t],i,i)),i}displayRowIterator(e){this.activeRowsPipeline.forEach(e),this.displayRows.forEach(e),this.displayRowsCount=this.displayRows[this.displayRows.length-1].length}getRows(e){var t=[];switch(e){case"active":t=this.activeRows;break;case"display":t=this.table.rowManager.getDisplayRows();break;case"visible":t=this.getVisibleRows(!1,!0);break;default:t=this.chain("rows-retrieve",e,null,this.rows)||this.rows}return t}reRenderInPosition(e){this.redrawBlock?e?e():this.redrawBlockRenderInPosition=!0:(this.dispatchExternal("renderStarted"),this.renderer.rerenderRows(e),this.fixedHeight||this.adjustTableSize(),this.scrollBarCheck(),this.dispatchExternal("renderComplete"))}scrollBarCheck(){var e=0;this.element.scrollHeight>this.element.clientHeight&&(e=this.element.offsetWidth-this.element.clientWidth),e!==this.scrollbarWidth&&(this.scrollbarWidth=e,this.dispatch("scrollbar-vertical",e))}initializeRenderer(){var e,t={virtual:Jk,basic:Kk};typeof this.table.options.renderVertical=="string"?e=t[this.table.options.renderVertical]:e=this.table.options.renderVertical,e?(this.renderMode=this.table.options.renderVertical,this.renderer=new e(this.table,this.element,this.tableElement),this.renderer.initialize(),(this.table.element.clientHeight||this.table.options.height)&&!(this.table.options.minHeight&&this.table.options.maxHeight)?this.fixedHeight=!0:this.fixedHeight=!1):console.error("Unable to find matching renderer:",this.table.options.renderVertical)}getRenderMode(){return this.renderMode}renderTable(){this.dispatchExternal("renderStarted"),this.element.scrollTop=0,this._clearTable(),this.displayRowsCount?(this.renderer.renderRows(),this.firstRender&&(this.firstRender=!1,this.fixedHeight||this.adjustTableSize(),this.layoutRefresh(!0))):this.renderEmptyScroll(),this.fixedHeight||this.adjustTableSize(),this.dispatch("table-layout"),this.displayRowsCount||this._showPlaceholder(),this.scrollBarCheck(),this.dispatchExternal("renderComplete")}renderEmptyScroll(){this.placeholder?this.tableElement.style.display="none":this.tableElement.style.minWidth=this.table.columnManager.getWidth()+"px"}_clearTable(){this._clearPlaceholder(),this.scrollTop=0,this.scrollLeft=0,this.renderer.clearRows()}tableEmpty(){this.renderEmptyScroll(),this._showPlaceholder()}checkPlaceholder(){this.displayRowsCount?this._clearPlaceholder():this.tableEmpty()}_showPlaceholder(){this.placeholder&&(this.placeholder&&this.placeholder.parentNode&&this.placeholder.parentNode.removeChild(this.placeholder),this.initializePlaceholder(),this.placeholder.setAttribute("tabulator-render-mode",this.renderMode),this.getElement().appendChild(this.placeholder),this._positionPlaceholder(),this.adjustTableSize())}_clearPlaceholder(){this.placeholder&&this.placeholder.parentNode&&this.placeholder.parentNode.removeChild(this.placeholder),this.tableElement.style.minWidth="",this.tableElement.style.display=""}_positionPlaceholder(){this.placeholder&&this.placeholder.parentNode&&(this.placeholder.style.width=this.table.columnManager.getWidth()+"px",this.placeholderContents.style.width=this.table.rowManager.element.clientWidth+"px",this.placeholderContents.style.marginLeft=this.scrollLeft+"px")}styleRow(e,t){var i=e.getElement();t%2?(i.classList.add("tabulator-row-even"),i.classList.remove("tabulator-row-odd")):(i.classList.add("tabulator-row-odd"),i.classList.remove("tabulator-row-even"))}normalizeHeight(e){this.activeRows.forEach(function(t){t.normalizeHeight(e)})}adjustTableSize(){let e=this.element.clientHeight,t,i=!1;if(this.renderer.verticalFillMode==="fill"){let r=Math.floor(this.table.columnManager.getElement().getBoundingClientRect().height+(this.table.footerManager&&this.table.footerManager.active&&!this.table.footerManager.external?this.table.footerManager.getElement().getBoundingClientRect().height:0));if(this.fixedHeight){t=isNaN(this.table.options.minHeight)?this.table.options.minHeight:this.table.options.minHeight+"px";const s="calc(100% - "+r+"px)";this.element.style.minHeight=t||"calc(100% - "+r+"px)",this.element.style.height=s,this.element.style.maxHeight=s}else this.element.style.height="",this.element.style.height=this.table.element.clientHeight-r+"px",this.element.scrollTop=this.scrollTop;this.renderer.resize(),!this.fixedHeight&&e!=this.element.clientHeight&&(i=!0,this.subscribed("table-resize")?this.dispatch("table-resize"):this.redraw()),this.scrollBarCheck()}return this._positionPlaceholder(),i}reinitialize(){this.rows.forEach(function(e){e.reinitialize(!0)})}blockRedraw(){this.redrawBlock=!0,this.redrawBlockRestoreConfig=!1}restoreRedraw(){this.redrawBlock=!1,this.redrawBlockRestoreConfig?(this.refreshActiveData(this.redrawBlockRestoreConfig.handler,this.redrawBlockRestoreConfig.skipStage,this.redrawBlockRestoreConfig.renderInPosition),this.redrawBlockRestoreConfig=!1):this.redrawBlockRenderInPosition&&this.reRenderInPosition(),this.redrawBlockRenderInPosition=!1}redraw(e){this.adjustTableSize(),this.table.tableWidth=this.table.element.clientWidth,e?this.renderTable():(this.reRenderInPosition(),this.scrollHorizontal(this.scrollLeft))}resetScroll(){if(this.element.scrollLeft=0,this.element.scrollTop=0,this.table.browser==="ie"){var e=document.createEvent("Event");e.initEvent("scroll",!1,!0),this.element.dispatchEvent(e)}else this.element.dispatchEvent(new Event("scroll"))}}class $k extends dt{constructor(e){super(e),this.active=!1,this.element=this.createElement(),this.containerElement=this.createContainerElement(),this.external=!1}initialize(){this.initializeElement()}createElement(){var e=document.createElement("div");return e.classList.add("tabulator-footer"),e}createContainerElement(){var e=document.createElement("div");return e.classList.add("tabulator-footer-contents"),this.element.appendChild(e),e}initializeElement(){if(this.table.options.footerElement)switch(typeof this.table.options.footerElement){case"string":this.table.options.footerElement[0]==="<"?this.containerElement.innerHTML=this.table.options.footerElement:(this.external=!0,this.containerElement=document.querySelector(this.table.options.footerElement));break;default:this.element=this.table.options.footerElement;break}}getElement(){return this.element}append(e){this.activate(),this.containerElement.appendChild(e),this.table.rowManager.adjustTableSize()}prepend(e){this.activate(),this.element.insertBefore(e,this.element.firstChild),this.table.rowManager.adjustTableSize()}remove(e){e.parentNode.removeChild(e),this.deactivate()}deactivate(e){(!this.element.firstChild||e)&&(this.external||this.element.parentNode.removeChild(this.element),this.active=!1)}activate(){this.active||(this.active=!0,this.external||(this.table.element.appendChild(this.getElement()),this.table.element.style.display=""))}redraw(){this.dispatch("footer-redraw")}}class Zk extends dt{constructor(e){super(e),this.el=null,this.abortClasses=["tabulator-headers","tabulator-table"],this.previousTargets={},this.listeners=["click","dblclick","contextmenu","mouseenter","mouseleave","mouseover","mouseout","mousemove","mouseup","mousedown","touchstart","touchend"],this.componentMap={"tabulator-cell":"cell","tabulator-row":"row","tabulator-group":"group","tabulator-col":"column"},this.pseudoTrackers={row:{subscriber:null,target:null},cell:{subscriber:null,target:null},group:{subscriber:null,target:null},column:{subscriber:null,target:null}},this.pseudoTracking=!1}initialize(){this.el=this.table.element,this.buildListenerMap(),this.bindSubscriptionWatchers()}buildListenerMap(){var e={};this.listeners.forEach(t=>{e[t]={handler:null,components:[]}}),this.listeners=e}bindPseudoEvents(){Object.keys(this.pseudoTrackers).forEach(e=>{this.pseudoTrackers[e].subscriber=this.pseudoMouseEnter.bind(this,e),this.subscribe(e+"-mouseover",this.pseudoTrackers[e].subscriber)}),this.pseudoTracking=!0}pseudoMouseEnter(e,t,i){this.pseudoTrackers[e].target!==i&&(this.pseudoTrackers[e].target&&this.dispatch(e+"-mouseleave",t,this.pseudoTrackers[e].target),this.pseudoMouseLeave(e,t),this.pseudoTrackers[e].target=i,this.dispatch(e+"-mouseenter",t,i))}pseudoMouseLeave(e,t){var i=Object.keys(this.pseudoTrackers),r={row:["cell"],cell:["row"]};i=i.filter(s=>{var o=r[e];return s!==e&&(!o||o&&!o.includes(s))}),i.forEach(s=>{var o=this.pseudoTrackers[s].target;this.pseudoTrackers[s].target&&(this.dispatch(s+"-mouseleave",t,o),this.pseudoTrackers[s].target=null)})}bindSubscriptionWatchers(){var e=Object.keys(this.listeners),t=Object.values(this.componentMap);for(let i of t)for(let r of e){let s=i+"-"+r;this.subscriptionChange(s,this.subscriptionChanged.bind(this,i,r))}this.subscribe("table-destroy",this.clearWatchers.bind(this))}subscriptionChanged(e,t,i){var r=this.listeners[t].components,s=r.indexOf(e),o=!1;i?s===-1&&(r.push(e),o=!0):this.subscribed(e+"-"+t)||s>-1&&(r.splice(s,1),o=!0),(t==="mouseenter"||t==="mouseleave")&&!this.pseudoTracking&&this.bindPseudoEvents(),o&&this.updateEventListeners()}updateEventListeners(){for(let e in this.listeners){let t=this.listeners[e];t.components.length?t.handler||(t.handler=this.track.bind(this,e),this.el.addEventListener(e,t.handler)):t.handler&&(this.el.removeEventListener(e,t.handler),t.handler=null)}}track(e,t){var i=t.composedPath&&t.composedPath()||t.path,r=this.findTargets(i);r=this.bindComponents(e,r),this.triggerEvents(e,t,r),this.pseudoTracking&&(e=="mouseover"||e=="mouseleave")&&!Object.keys(r).length&&this.pseudoMouseLeave("none",t)}findTargets(e){var t={};let i=Object.keys(this.componentMap);for(let r of e){let s=r.classList?[...r.classList]:[];if(s.filter(u=>this.abortClasses.includes(u)).length)break;let l=s.filter(u=>i.includes(u));for(let u of l)t[this.componentMap[u]]||(t[this.componentMap[u]]=r)}return t.group&&t.group===t.row&&delete t.row,t}bindComponents(e,t){var i=Object.keys(t).reverse(),r=this.listeners[e],s={},o={},l={};for(let u of i){let c,d=t[u],f=this.previousTargets[u];if(f&&f.target===d)c=f.component;else switch(u){case"row":case"group":(r.components.includes("row")||r.components.includes("cell")||r.components.includes("group"))&&(c=this.table.rowManager.getVisibleRows(!0).find(h=>h.getElement()===d),t.row&&t.row.parentNode&&t.row.parentNode.closest(".tabulator-row")&&(t[u]=!1));break;case"column":r.components.includes("column")&&(c=this.table.columnManager.findColumn(d));break;case"cell":r.components.includes("cell")&&(s.row instanceof pt?c=s.row.findCell(d):t.row&&console.warn("Event Target Lookup Error - The row this cell is attached to cannot be found, has the table been reinitialized without being destroyed first?"));break}c&&(s[u]=c,l[u]={target:d,component:c})}return this.previousTargets=l,Object.keys(t).forEach(u=>{let c=s[u];o[u]=c}),o}triggerEvents(e,t,i){var r=this.listeners[e];for(let s in i)i[s]&&r.components.includes(s)&&this.dispatch(s+"-"+e,t,i[s])}clearWatchers(){for(let e in this.listeners){let t=this.listeners[e];t.handler&&(this.el.removeEventListener(e,t.handler),t.handler=null)}}}class Xk{constructor(e){this.table=e,this.bindings={}}bind(e,t,i){this.bindings[e]||(this.bindings[e]={}),this.bindings[e][t]?console.warn("Unable to bind component handler, a matching function name is already bound",e,t,i):this.bindings[e][t]=i}handle(e,t,i){if(this.bindings[e]&&this.bindings[e][i]&&typeof this.bindings[e][i].bind=="function")return this.bindings[e][i].bind(null,t);i!=="then"&&typeof i=="string"&&!i.startsWith("_")&&this.table.options.debugInvalidComponentFuncs&&console.error("The "+e+" component does not have a "+i+" function, have you checked that you have the correct Tabulator module installed?")}}class eS extends dt{constructor(e){super(e),this.requestOrder=0,this.loading=!1}initialize(){}load(e,t,i,r,s,o){var l=++this.requestOrder;if(this.table.destroyed)return Promise.resolve();if(this.dispatchExternal("dataLoading",e),e&&(e.indexOf("{")==0||e.indexOf("[")==0)&&(e=JSON.parse(e)),this.confirm("data-loading",[e,t,i,s])){this.loading=!0,s||this.alertLoader(),t=this.chain("data-params",[e,i,s],t||{},t||{}),t=this.mapParams(t,this.table.options.dataSendParams);var u=this.chain("data-load",[e,t,i,s],!1,Promise.resolve([]));return u.then(c=>{if(this.table.destroyed)console.warn("Data Load Response Blocked - Table has been destroyed");else{!Array.isArray(c)&&typeof c=="object"&&(c=this.mapParams(c,this.objectInvert(this.table.options.dataReceiveParams)));var d=this.chain("data-loaded",[c],null,c);l==this.requestOrder?(this.clearAlert(),d!==!1&&(this.dispatchExternal("dataLoaded",d),this.table.rowManager.setData(d,r,typeof o>"u"?!r:o))):console.warn("Data Load Response Blocked - An active data load request was blocked by an attempt to change table data while the request was being made")}}).catch(c=>{console.error("Data Load Error: ",c),this.dispatchExternal("dataLoadError",c),s||this.alertError(),setTimeout(()=>{this.clearAlert()},this.table.options.dataLoaderErrorTimeout)}).finally(()=>{this.loading=!1})}else return this.dispatchExternal("dataLoaded",e),e||(e=[]),this.table.rowManager.setData(e,r,typeof o>"u"?!r:o),Promise.resolve()}mapParams(e,t){var i={};for(let r in e)i[t.hasOwnProperty(r)?t[r]:r]=e[r];return i}objectInvert(e){var t={};for(let i in e)t[e[i]]=i;return t}blockActiveLoad(){this.requestOrder++}alertLoader(){var e=typeof this.table.options.dataLoader=="function"?this.table.options.dataLoader():this.table.options.dataLoader;e&&this.table.alertManager.alert(this.table.options.dataLoaderLoading||this.langText("data|loading"))}alertError(){this.table.alertManager.alert(this.table.options.dataLoaderError||this.langText("data|error"),"error")}clearAlert(){this.table.alertManager.clear()}}class tS{constructor(e,t,i){this.table=e,this.events={},this.optionsList=t||{},this.subscriptionNotifiers={},this.dispatch=i?this._debugDispatch.bind(this):this._dispatch.bind(this),this.debug=i}subscriptionChange(e,t){this.subscriptionNotifiers[e]||(this.subscriptionNotifiers[e]=[]),this.subscriptionNotifiers[e].push(t),this.subscribed(e)&&this._notifySubscriptionChange(e,!0)}subscribe(e,t){this.events[e]||(this.events[e]=[]),this.events[e].push(t),this._notifySubscriptionChange(e,!0)}unsubscribe(e,t){var i;if(this.events[e])if(t)if(i=this.events[e].findIndex(r=>r===t),i>-1)this.events[e].splice(i,1);else{console.warn("Cannot remove event, no matching event found:",e,t);return}else delete this.events[e];else{console.warn("Cannot remove event, no events set on:",e);return}this._notifySubscriptionChange(e,!1)}subscribed(e){return this.events[e]&&this.events[e].length}_notifySubscriptionChange(e,t){var i=this.subscriptionNotifiers[e];i&&i.forEach(r=>{r(t)})}_dispatch(){var e=Array.from(arguments),t=e.shift(),i;return this.events[t]&&this.events[t].forEach((r,s)=>{let o=r.apply(this.table,e);s||(i=o)}),i}_debugDispatch(){var e=Array.from(arguments),t=e[0];return e[0]="ExternalEvent:"+e[0],(this.debug===!0||this.debug.includes(t))&&console.log(...e),this._dispatch(...arguments)}}class iS{constructor(e){this.events={},this.subscriptionNotifiers={},this.dispatch=e?this._debugDispatch.bind(this):this._dispatch.bind(this),this.chain=e?this._debugChain.bind(this):this._chain.bind(this),this.confirm=e?this._debugConfirm.bind(this):this._confirm.bind(this),this.debug=e}subscriptionChange(e,t){this.subscriptionNotifiers[e]||(this.subscriptionNotifiers[e]=[]),this.subscriptionNotifiers[e].push(t),this.subscribed(e)&&this._notifySubscriptionChange(e,!0)}subscribe(e,t,i=1e4){this.events[e]||(this.events[e]=[]),this.events[e].push({callback:t,priority:i}),this.events[e].sort((r,s)=>r.priority-s.priority),this._notifySubscriptionChange(e,!0)}unsubscribe(e,t){var i;if(this.events[e]){if(t)if(i=this.events[e].findIndex(r=>r.callback===t),i>-1)this.events[e].splice(i,1);else{console.warn("Cannot remove event, no matching event found:",e,t);return}}else{console.warn("Cannot remove event, no events set on:",e);return}this._notifySubscriptionChange(e,!1)}subscribed(e){return this.events[e]&&this.events[e].length}_chain(e,t,i,r){var s=i;return Array.isArray(t)||(t=[t]),this.subscribed(e)?(this.events[e].forEach((o,l)=>{s=o.callback.apply(this,t.concat([s]))}),s):typeof r=="function"?r():r}_confirm(e,t){var i=!1;return Array.isArray(t)||(t=[t]),this.subscribed(e)&&this.events[e].forEach((r,s)=>{r.callback.apply(this,t)&&(i=!0)}),i}_notifySubscriptionChange(e,t){var i=this.subscriptionNotifiers[e];i&&i.forEach(r=>{r(t)})}_dispatch(){var e=Array.from(arguments),t=e.shift();this.events[t]&&this.events[t].forEach(i=>{i.callback.apply(this,e)})}_debugDispatch(){var e=Array.from(arguments),t=e[0];return e[0]="InternalEvent:"+t,(this.debug===!0||this.debug.includes(t))&&console.log(...e),this._dispatch(...arguments)}_debugChain(){var e=Array.from(arguments),t=e[0];return e[0]="InternalEvent:"+t,(this.debug===!0||this.debug.includes(t))&&console.log(...e),this._chain(...arguments)}_debugConfirm(){var e=Array.from(arguments),t=e[0];return e[0]="InternalEvent:"+t,(this.debug===!0||this.debug.includes(t))&&console.log(...e),this._confirm(...arguments)}}class nS extends dt{constructor(e){super(e)}_warnUser(){this.options("debugDeprecation")&&console.warn(...arguments)}check(e,t,i){var r="";return typeof this.options(e)<"u"?(r="Deprecated Setup Option - Use of the %c"+e+"%c option is now deprecated",t?(r=r+", Please use the %c"+t+"%c option instead",this._warnUser(r,"font-weight: bold;","font-weight: normal;","font-weight: bold;","font-weight: normal;"),i&&(this.table.options[t]=this.table.options[e])):this._warnUser(r,"font-weight: bold;","font-weight: normal;"),!1):!0}checkMsg(e,t){return typeof this.options(e)<"u"?(this._warnUser("%cDeprecated Setup Option - Use of the %c"+e+" %c option is now deprecated, "+t,"font-weight: normal;","font-weight: bold;","font-weight: normal;"),!1):!0}msg(e){this._warnUser(e)}}class rS extends dt{constructor(e){super(e),this.deps={},this.props={}}initialize(){this.deps=Object.assign({},this.options("dependencies"))}lookup(e,t,i){if(Array.isArray(e)){for(const s of e){var r=this.lookup(s,t,!0);if(r)break}if(r)return r;this.error(e)}else return t?this.lookupProp(e,t,i):this.lookupKey(e,i)}lookupProp(e,t,i){var r;if(this.props[e]&&this.props[e][t])return this.props[e][t];if(r=this.lookupKey(e,i),r)return this.props[e]||(this.props[e]={}),this.props[e][t]=r[t]||r,this.props[e][t]}lookupKey(e,t){var i;return this.deps[e]?i=this.deps[e]:window[e]?(this.deps[e]=window[e],i=this.deps[e]):t||this.error(e),i}error(e){console.error("Unable to find dependency",e,"Please check documentation and ensure you have imported the required library into your project")}}function sS(n,e){e&&this.table.columnManager.renderer.reinitializeColumnWidths(n),this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.update()}function rd(n,e){n.forEach(function(t){t.reinitializeWidth()}),this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.update()}function aS(n,e){var t=0,i=this.table.rowManager.element.clientWidth,r=0,s=!1;n.forEach((o,l)=>{o.widthFixed||o.reinitializeWidth(),(this.table.options.responsiveLayout?o.modules.responsive.visible:o.visible)&&(s=o),o.visible&&(t+=o.getWidth())}),s?(r=i-t+s.getWidth(),this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&(s.setWidth(0),this.table.modules.responsiveLayout.update()),r>0?s.setWidth(r):s.reinitializeWidth()):this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.update()}function oS(n,e){var t=this.table.rowManager.element.getBoundingClientRect().width,i=0,r=0,s=0,o=0,l=[],u=[],c=0,d=0,f=0;function p(x){var y;return typeof x=="string"?x.indexOf("%")>-1?y=t/100*parseInt(x):y=parseInt(x):y=x,y}function h(x,y,A,C){var m=[],D=0,g=0,M=0,v=s,S=0,w=0,k=[];function b(R){return A*(R.column.definition.widthGrow||1)}function T(R){return p(R.width)-A*(R.column.definition.widthShrink||0)}return x.forEach(function(R,L){var N=C?T(R):b(R);R.column.minWidth>=N?m.push(R):R.column.maxWidth&&R.column.maxWidth<N?(R.width=R.column.maxWidth,y-=R.column.maxWidth,v-=C?R.column.definition.widthShrink||1:R.column.definition.widthGrow||1,v&&(A=Math.floor(y/v))):(k.push(R),w+=C?R.column.definition.widthShrink||1:R.column.definition.widthGrow||1)}),m.length?(m.forEach(function(R){D+=C?R.width-R.column.minWidth:R.column.minWidth,R.width=R.column.minWidth}),g=y-D,M=w?Math.floor(g/w):g,S=h(k,g,M,C)):(S=w?y-Math.floor(y/w)*w:y,k.forEach(function(R){R.width=C?T(R):b(R)})),S}this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.update(),this.table.rowManager.element.scrollHeight>this.table.rowManager.element.clientHeight&&(t-=this.table.rowManager.element.offsetWidth-this.table.rowManager.element.clientWidth),n.forEach(function(x){var y,A,C;x.visible&&(y=x.definition.width,A=parseInt(x.minWidth),y?(C=p(y),i+=C>A?C:A,x.definition.widthShrink&&(u.push({column:x,width:C>A?C:A}),c+=x.definition.widthShrink)):(l.push({column:x,width:0}),s+=x.definition.widthGrow||1))}),r=t-i,o=Math.floor(r/s),f=h(l,r,o,!1),l.length&&f>0&&(l[l.length-1].width+=f),l.forEach(function(x){r-=x.width}),d=Math.abs(f)+r,d>0&&c&&(f=h(u,d,Math.floor(d/c),!0)),f&&u.length&&(u[u.length-1].width-=f),l.forEach(function(x){x.column.setWidth(x.width)}),u.forEach(function(x){x.column.setWidth(x.width)})}var lS={fitData:sS,fitDataFill:rd,fitDataTable:rd,fitDataStretch:aS,fitColumns:oS};class xr extends Ve{static moduleName="layout";static modes=lS;constructor(e){super(e,"layout"),this.mode=null,this.registerTableOption("layout","fitData"),this.registerTableOption("layoutColumnsOnNewData",!1),this.registerColumnOption("widthGrow"),this.registerColumnOption("widthShrink")}initialize(){var e=this.table.options.layout;xr.modes[e]?this.mode=e:(console.warn("Layout Error - invalid mode set, defaulting to 'fitData' : "+e),this.mode="fitData"),this.table.element.setAttribute("tabulator-layout",this.mode),this.subscribe("column-init",this.initializeColumn.bind(this))}initializeColumn(e){e.definition.widthGrow&&(e.definition.widthGrow=Number(e.definition.widthGrow)),e.definition.widthShrink&&(e.definition.widthShrink=Number(e.definition.widthShrink))}getMode(){return this.mode}layout(e){var t=this.table.columnManager.columnsByIndex.find(i=>i.definition.variableHeight||i.definition.formatter==="textarea");this.dispatch("layout-refreshing"),xr.modes[this.mode].call(this,this.table.columnManager.columnsByIndex,e),t&&this.table.rowManager.normalizeHeight(!0),this.dispatch("layout-refreshed")}}var uS={default:{groups:{item:"item",items:"items"},columns:{},data:{loading:"Loading",error:"Error"},pagination:{page_size:"Page Size",page_title:"Show Page",first:"First",first_title:"First Page",last:"Last",last_title:"Last Page",prev:"Prev",prev_title:"Prev Page",next:"Next",next_title:"Next Page",all:"All",counter:{showing:"Showing",of:"of",rows:"rows",pages:"pages"}},headerFilters:{default:"filter column...",columns:{}}}};class Qo extends Ve{static moduleName="localize";static langs=uS;constructor(e){super(e),this.locale="default",this.lang=!1,this.bindings={},this.langList={},this.registerTableOption("locale",!1),this.registerTableOption("langs",{})}initialize(){this.langList=Ze.deepClone(Qo.langs),this.table.options.columnDefaults.headerFilterPlaceholder!==!1&&this.setHeaderFilterPlaceholder(this.table.options.columnDefaults.headerFilterPlaceholder);for(let e in this.table.options.langs)this.installLang(e,this.table.options.langs[e]);this.setLocale(this.table.options.locale),this.registerTableFunction("setLocale",this.setLocale.bind(this)),this.registerTableFunction("getLocale",this.getLocale.bind(this)),this.registerTableFunction("getLang",this.getLang.bind(this))}setHeaderFilterPlaceholder(e){this.langList.default.headerFilters.default=e}installLang(e,t){this.langList[e]?this._setLangProp(this.langList[e],t):this.langList[e]=t}_setLangProp(e,t){for(let i in t)e[i]&&typeof e[i]=="object"?this._setLangProp(e[i],t[i]):e[i]=t[i]}setLocale(e){e=e||"default";function t(i,r){for(var s in i)typeof i[s]=="object"?(r[s]||(r[s]={}),t(i[s],r[s])):r[s]=i[s]}if(e===!0&&navigator.language&&(e=navigator.language.toLowerCase()),e&&!this.langList[e]){let i=e.split("-")[0];this.langList[i]?(console.warn("Localization Error - Exact matching locale not found, using closest match: ",e,i),e=i):(console.warn("Localization Error - Matching locale not found, using default: ",e),e="default")}this.locale=e,this.lang=Ze.deepClone(this.langList.default||{}),e!="default"&&t(this.langList[e],this.lang),this.dispatchExternal("localized",this.locale,this.lang),this._executeBindings()}getLocale(e){return this.locale}getLang(e){return e?this.langList[e]:this.lang}getText(e,t){var i=t?e+"|"+t:e,r=i.split("|"),s=this._getLangElement(r,this.locale);return s||""}_getLangElement(e,t){var i=this.lang;return e.forEach(function(r){var s;i&&(s=i[r],typeof s<"u"?i=s:i=!1)}),i}bind(e,t){this.bindings[e]||(this.bindings[e]=[]),this.bindings[e].push(t),t(this.getText(e),this.lang)}_executeBindings(){for(let e in this.bindings)this.bindings[e].forEach(t=>{t(this.getText(e),this.lang)})}}class cS extends Ve{static moduleName="comms";constructor(e){super(e)}initialize(){this.registerTableFunction("tableComms",this.receive.bind(this))}getConnections(e){var t=[],i;return i=this.table.constructor.registry.lookupTable(e),i.forEach(r=>{this.table!==r&&t.push(r)}),t}send(e,t,i,r){var s=this.getConnections(e);s.forEach(o=>{o.tableComms(this.table.element,t,i,r)}),!s.length&&e&&console.warn("Table Connection Error - No tables matching selector found",e)}receive(e,t,i,r){if(this.table.modExists(t))return this.table.modules[t].commsReceived(e,i,r);console.warn("Inter-table Comms Error - no such module:",t)}}var dS=Object.freeze({__proto__:null,CommsModule:cS,LayoutModule:xr,LocalizeModule:Qo});class _t{static registry={tables:[],register(e){_t.registry.tables.push(e)},deregister(e){var t=_t.registry.tables.indexOf(e);t>-1&&_t.registry.tables.splice(t,1)},lookupTable(e,t){var i=[],r,s;if(typeof e=="string"){if(r=document.querySelectorAll(e),r.length)for(var o=0;o<r.length;o++)s=_t.registry.matchElement(r[o]),s&&i.push(s)}else typeof HTMLElement<"u"&&e instanceof HTMLElement||e instanceof _t?(s=_t.registry.matchElement(e),s&&i.push(s)):Array.isArray(e)?e.forEach(function(l){i=i.concat(_t.registry.lookupTable(l))}):t||console.warn("Table Connection Error - Invalid Selector",e);return i},matchElement(e){return _t.registry.tables.find(function(t){return e instanceof _t?t===e:t.element===e})}};static findTable(e){var t=_t.registry.lookupTable(e,!0);return Array.isArray(t)&&!t.length?!1:t}}class st extends _t{static moduleBindings={};static moduleExtensions={};static modulesRegistered=!1;static defaultModules=!1;constructor(){super()}static initializeModuleBinder(e){st.modulesRegistered||(st.modulesRegistered=!0,st._registerModules(dS,!0),e&&st._registerModules(e))}static _extendModule(e,t,i){if(st.moduleBindings[e]){var r=st.moduleBindings[e][t];if(r)if(typeof i=="object")for(let s in i)r[s]=i[s];else console.warn("Module Error - Invalid value type, it must be an object");else console.warn("Module Error - property does not exist:",t)}else console.warn("Module Error - module does not exist:",e)}static _registerModules(e,t){var i=Object.values(e);t&&i.forEach(r=>{r.prototype.moduleCore=!0}),st._registerModule(i)}static _registerModule(e){Array.isArray(e)||(e=[e]),e.forEach(t=>{st._registerModuleBinding(t),st._registerModuleExtensions(t)})}static _registerModuleBinding(e){e.moduleName?st.moduleBindings[e.moduleName]=e:console.error("Unable to bind module, no moduleName defined",e.moduleName)}static _registerModuleExtensions(e){var t=e.moduleExtensions;if(e.moduleExtensions)for(let i in t){let r=t[i];if(st.moduleBindings[i])for(let s in r)st._extendModule(i,s,r[s]);else{st.moduleExtensions[i]||(st.moduleExtensions[i]={});for(let s in r)st.moduleExtensions[i][s]||(st.moduleExtensions[i][s]={}),Object.assign(st.moduleExtensions[i][s],r[s])}}st._extendModuleFromQueue(e)}static _extendModuleFromQueue(e){var t=st.moduleExtensions[e.moduleName];if(t)for(let i in t)st._extendModule(e.moduleName,i,t[i])}_bindModules(){var e=[],t=[],i=[];this.modules={};for(var r in st.moduleBindings){let s=st.moduleBindings[r],o=new s(this);this.modules[r]=o,s.prototype.moduleCore?this.modulesCore.push(o):s.moduleInitOrder?s.moduleInitOrder<0?e.push(o):t.push(o):i.push(o)}e.sort((s,o)=>s.moduleInitOrder>o.moduleInitOrder?1:-1),t.sort((s,o)=>s.moduleInitOrder>o.moduleInitOrder?1:-1),this.modulesRegular=e.concat(i.concat(t))}}class hS extends dt{constructor(e){super(e),this.element=this._createAlertElement(),this.msgElement=this._createMsgElement(),this.type=null,this.element.appendChild(this.msgElement)}_createAlertElement(){var e=document.createElement("div");return e.classList.add("tabulator-alert"),e}_createMsgElement(){var e=document.createElement("div");return e.classList.add("tabulator-alert-msg"),e.setAttribute("role","alert"),e}_typeClass(){return"tabulator-alert-state-"+this.type}alert(e,t="msg"){if(e){for(this.clear(),this.dispatch("alert-show",t),this.type=t;this.msgElement.firstChild;)this.msgElement.removeChild(this.msgElement.firstChild);this.msgElement.classList.add(this._typeClass()),typeof e=="function"&&(e=e()),e instanceof HTMLElement?this.msgElement.appendChild(e):this.msgElement.innerHTML=e,this.table.element.appendChild(this.element)}}clear(){this.dispatch("alert-hide",this.type),this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.msgElement.classList.remove(this._typeClass())}}class gi extends st{static defaultOptions=Uk;static extendModule(){gi.initializeModuleBinder(),gi._extendModule(...arguments)}static registerModule(){gi.initializeModuleBinder(),gi._registerModule(...arguments)}constructor(e,t,i){super(),gi.initializeModuleBinder(i),this.options={},this.columnManager=null,this.rowManager=null,this.footerManager=null,this.alertManager=null,this.vdomHoz=null,this.externalEvents=null,this.eventBus=null,this.interactionMonitor=!1,this.browser="",this.browserSlow=!1,this.browserMobile=!1,this.rtl=!1,this.originalElement=null,this.componentFunctionBinder=new Xk(this),this.dataLoader=!1,this.modules={},this.modulesCore=[],this.modulesRegular=[],this.deprecationAdvisor=new nS(this),this.optionsList=new nd(this,"table constructor"),this.dependencyRegistry=new rS(this),this.initialized=!1,this.destroyed=!1,this.initializeElement(e)&&(this.initializeCoreSystems(t),setTimeout(()=>{this._create()})),this.constructor.registry.register(this)}initializeElement(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement?(this.element=e,!0):typeof e=="string"?(this.element=document.querySelector(e),this.element?!0:(console.error("Tabulator Creation Error - no element found matching selector: ",e),!1)):(console.error("Tabulator Creation Error - Invalid element provided:",e),!1)}initializeCoreSystems(e){this.columnManager=new Qk(this),this.rowManager=new qk(this),this.footerManager=new $k(this),this.dataLoader=new eS(this),this.alertManager=new hS(this),this._bindModules(),this.options=this.optionsList.generate(gi.defaultOptions,e),this._clearObjectPointers(),this._mapDeprecatedFunctionality(),this.externalEvents=new tS(this,this.options,this.options.debugEventsExternal),this.eventBus=new iS(this.options.debugEventsInternal),this.interactionMonitor=new Zk(this),this.dataLoader.initialize(),this.footerManager.initialize(),this.dependencyRegistry.initialize()}_mapDeprecatedFunctionality(){}_clearSelection(){this.element.classList.add("tabulator-block-select"),window.getSelection?window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().removeAllRanges():document.selection&&document.selection.empty(),this.element.classList.remove("tabulator-block-select")}_create(){this.externalEvents.dispatch("tableBuilding"),this.eventBus.dispatch("table-building"),this._rtlCheck(),this._buildElement(),this._initializeTable(),this.initialized=!0,this._loadInitialData().finally(()=>{this.eventBus.dispatch("table-initialized"),this.externalEvents.dispatch("tableBuilt")})}_rtlCheck(){var e=window.getComputedStyle(this.element);switch(this.options.textDirection){case"auto":if(e.direction!=="rtl")break;case"rtl":this.element.classList.add("tabulator-rtl"),this.rtl=!0;break;case"ltr":this.element.classList.add("tabulator-ltr");default:this.rtl=!1}}_clearObjectPointers(){this.options.columns=this.options.columns.slice(0),Array.isArray(this.options.data)&&!this.options.reactiveData&&(this.options.data=this.options.data.slice(0))}_buildElement(){var e=this.element,t=this.options,i;if(e.tagName==="TABLE"){this.originalElement=this.element,i=document.createElement("div");var r=e.attributes;for(var s in r)typeof r[s]=="object"&&i.setAttribute(r[s].name,r[s].value);e.parentNode.replaceChild(i,e),this.element=e=i}for(e.classList.add("tabulator"),e.setAttribute("role","grid");e.firstChild;)e.removeChild(e.firstChild);t.height&&(t.height=isNaN(t.height)?t.height:t.height+"px",e.style.height=t.height),t.minHeight!==!1&&(t.minHeight=isNaN(t.minHeight)?t.minHeight:t.minHeight+"px",e.style.minHeight=t.minHeight),t.maxHeight!==!1&&(t.maxHeight=isNaN(t.maxHeight)?t.maxHeight:t.maxHeight+"px",e.style.maxHeight=t.maxHeight)}_initializeTable(){var e=this.element,t=this.options;this.interactionMonitor.initialize(),this.columnManager.initialize(),this.rowManager.initialize(),this._detectBrowser(),this.modulesCore.forEach(i=>{i.initialize()}),e.appendChild(this.columnManager.getElement()),e.appendChild(this.rowManager.getElement()),t.footerElement&&this.footerManager.activate(),t.autoColumns&&t.data&&this.columnManager.generateColumnsFromRowData(this.options.data),this.modulesRegular.forEach(i=>{i.initialize()}),this.columnManager.setColumns(t.columns),this.eventBus.dispatch("table-built")}_loadInitialData(){return this.dataLoader.load(this.options.data).finally(()=>{this.columnManager.verticalAlignHeaders()})}destroy(){var e=this.element;for(this.destroyed=!0,this.constructor.registry.deregister(this),this.eventBus.dispatch("table-destroy"),this.rowManager.destroy();e.firstChild;)e.removeChild(e.firstChild);e.classList.remove("tabulator"),this.externalEvents.dispatch("tableDestroyed")}_detectBrowser(){var e=navigator.userAgent||navigator.vendor||window.opera;e.indexOf("Trident")>-1?(this.browser="ie",this.browserSlow=!0):e.indexOf("Edge")>-1?(this.browser="edge",this.browserSlow=!0):e.indexOf("Firefox")>-1?(this.browser="firefox",this.browserSlow=!1):e.indexOf("Mac OS")>-1?(this.browser="safari",this.browserSlow=!1):(this.browser="other",this.browserSlow=!1),this.browserMobile=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e.slice(0,4))}initGuard(e,t){var i,r;return this.options.debugInitialization&&!this.initialized&&(e||(i=new Error().stack.split(`
54
- `),r=i[0]=="Error"?i[2]:i[1],r[0]==" "?e=r.trim().split(" ")[1].split(".")[1]:e=r.trim().split("@")[0]),console.warn("Table Not Initialized - Calling the "+e+" function before the table is initialized may result in inconsistent behavior, Please wait for the `tableBuilt` event before calling this function."+(t?" "+t:""))),this.initialized}blockRedraw(){this.initGuard(),this.eventBus.dispatch("redraw-blocking"),this.rowManager.blockRedraw(),this.columnManager.blockRedraw(),this.eventBus.dispatch("redraw-blocked")}restoreRedraw(){this.initGuard(),this.eventBus.dispatch("redraw-restoring"),this.rowManager.restoreRedraw(),this.columnManager.restoreRedraw(),this.eventBus.dispatch("redraw-restored")}setData(e,t,i){return this.initGuard(!1,"To set initial data please use the 'data' property in the table constructor."),this.dataLoader.load(e,t,i,!1)}clearData(){this.initGuard(),this.dataLoader.blockActiveLoad(),this.rowManager.clearData()}getData(e){return this.rowManager.getData(e)}getDataCount(e){return this.rowManager.getDataCount(e)}replaceData(e,t,i){return this.initGuard(),this.dataLoader.load(e,t,i,!0,!0)}updateData(e){var t=0;return this.initGuard(),new Promise((i,r)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e&&e.length>0?e.forEach(s=>{var o=this.rowManager.findRow(s[this.options.index]);o?(t++,o.updateData(s).then(()=>{t--,t||i()}).catch(l=>{r("Update Error - Unable to update row",s,l)})):r("Update Error - Unable to find row",s)}):(console.warn("Update Error - No data provided"),r("Update Error - No data provided"))})}addData(e,t,i){return this.initGuard(),new Promise((r,s)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e?this.rowManager.addRows(e,t,i).then(o=>{var l=[];o.forEach(function(u){l.push(u.getComponent())}),r(l)}):(console.warn("Update Error - No data provided"),s("Update Error - No data provided"))})}updateOrAddData(e){var t=[],i=0;return this.initGuard(),new Promise((r,s)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e&&e.length>0?e.forEach(o=>{var l=this.rowManager.findRow(o[this.options.index]);i++,l?l.updateData(o).then(()=>{i--,t.push(l.getComponent()),i||r(t)}):this.rowManager.addRows(o).then(u=>{i--,t.push(u[0].getComponent()),i||r(t)})}):(console.warn("Update Error - No data provided"),s("Update Error - No data provided"))})}getRow(e){var t=this.rowManager.findRow(e);return t?t.getComponent():(console.warn("Find Error - No matching row found:",e),!1)}getRowFromPosition(e){var t=this.rowManager.getRowFromPosition(e);return t?t.getComponent():(console.warn("Find Error - No matching row found:",e),!1)}deleteRow(e){var t=[];this.initGuard(),Array.isArray(e)||(e=[e]);for(let i of e){let r=this.rowManager.findRow(i,!0);if(r)t.push(r);else return console.error("Delete Error - No matching row found:",i),Promise.reject("Delete Error - No matching row found")}return t.sort((i,r)=>this.rowManager.rows.indexOf(i)>this.rowManager.rows.indexOf(r)?1:-1),t.forEach(i=>{i.delete()}),this.rowManager.reRenderInPosition(),Promise.resolve()}addRow(e,t,i){return this.initGuard(),typeof e=="string"&&(e=JSON.parse(e)),this.rowManager.addRows(e,t,i,!0).then(r=>r[0].getComponent())}updateOrAddRow(e,t){var i=this.rowManager.findRow(e);return this.initGuard(),typeof t=="string"&&(t=JSON.parse(t)),i?i.updateData(t).then(()=>i.getComponent()):this.rowManager.addRows(t).then(r=>r[0].getComponent())}updateRow(e,t){var i=this.rowManager.findRow(e);return this.initGuard(),typeof t=="string"&&(t=JSON.parse(t)),i?i.updateData(t).then(()=>Promise.resolve(i.getComponent())):(console.warn("Update Error - No matching row found:",e),Promise.reject("Update Error - No matching row found"))}scrollToRow(e,t,i){var r=this.rowManager.findRow(e);return r?this.rowManager.scrollToRow(r,t,i):(console.warn("Scroll Error - No matching row found:",e),Promise.reject("Scroll Error - No matching row found"))}moveRow(e,t,i){var r=this.rowManager.findRow(e);this.initGuard(),r?r.moveToRow(t,i):console.warn("Move Error - No matching row found:",e)}getRows(e){return this.rowManager.getComponents(e)}getRowPosition(e){var t=this.rowManager.findRow(e);return t?t.getPosition():(console.warn("Position Error - No matching row found:",e),!1)}setColumns(e){this.initGuard(!1,"To set initial columns please use the 'columns' property in the table constructor"),this.columnManager.setColumns(e)}getColumns(e){return this.columnManager.getComponents(e)}getColumn(e){var t=this.columnManager.findColumn(e);return t?t.getComponent():(console.warn("Find Error - No matching column found:",e),!1)}getColumnDefinitions(){return this.columnManager.getDefinitionTree()}showColumn(e){var t=this.columnManager.findColumn(e);if(this.initGuard(),t)t.show();else return console.warn("Column Show Error - No matching column found:",e),!1}hideColumn(e){var t=this.columnManager.findColumn(e);if(this.initGuard(),t)t.hide();else return console.warn("Column Hide Error - No matching column found:",e),!1}toggleColumn(e){var t=this.columnManager.findColumn(e);if(this.initGuard(),t)t.visible?t.hide():t.show();else return console.warn("Column Visibility Toggle Error - No matching column found:",e),!1}addColumn(e,t,i){var r=this.columnManager.findColumn(i);return this.initGuard(),this.columnManager.addColumn(e,t,r).then(s=>s.getComponent())}deleteColumn(e){var t=this.columnManager.findColumn(e);return this.initGuard(),t?t.delete():(console.warn("Column Delete Error - No matching column found:",e),Promise.reject())}updateColumnDefinition(e,t){var i=this.columnManager.findColumn(e);return this.initGuard(),i?i.updateDefinition(t):(console.warn("Column Update Error - No matching column found:",e),Promise.reject())}moveColumn(e,t,i){var r=this.columnManager.findColumn(e),s=this.columnManager.findColumn(t);this.initGuard(),r?s?this.columnManager.moveColumn(r,s,i):console.warn("Move Error - No matching column found:",s):console.warn("Move Error - No matching column found:",e)}scrollToColumn(e,t,i){return new Promise((r,s)=>{var o=this.columnManager.findColumn(e);return o?this.columnManager.scrollToColumn(o,t,i):(console.warn("Scroll Error - No matching column found:",e),Promise.reject("Scroll Error - No matching column found"))})}redraw(e){this.initGuard(),this.columnManager.redraw(e),this.rowManager.redraw(e)}setHeight(e){this.options.height=isNaN(e)?e:e+"px",this.element.style.height=this.options.height,this.rowManager.initializeRenderer(),this.rowManager.redraw(!0)}on(e,t){this.externalEvents.subscribe(e,t)}off(e,t){this.externalEvents.unsubscribe(e,t)}dispatchEvent(){var e=Array.from(arguments);e.shift(),this.externalEvents.dispatch(...arguments)}alert(e,t){this.initGuard(),this.alertManager.alert(e,t)}clearAlert(){this.initGuard(),this.alertManager.clear()}modExists(e,t){return this.modules[e]?!0:(t&&console.error("Tabulator Module Not Installed: "+e),!1)}module(e){var t=this.modules[e];return t||console.error("Tabulator module not installed: "+e),t}}var Rn=gi;class fS extends Rn{static extendModule(){Rn.initializeModuleBinder(Yo),Rn._extendModule(...arguments)}static registerModule(){Rn.initializeModuleBinder(Yo),Rn._registerModule(...arguments)}constructor(e,t,i){super(e,t,Yo)}}var pS=fS;const mS={key:0,class:"bi bi-chevron-up"},gS={key:1,class:"bi bi-chevron-down"},sd=Ie({__name:"SubFilterToggleBtn",props:["modelValue"],emits:["update:modelValue"],setup(n,{emit:e}){const t=e,i=n,r=()=>{t("update:modelValue",!i.modelValue)};return(s,o)=>(a.openBlock(),a.createElementBlock("div",{class:"icon",onClick:r},[n.modelValue?(a.openBlock(),a.createElementBlock("i",mS)):(a.openBlock(),a.createElementBlock("i",gS))]))}},[["__scopeId","data-v-4810f2ed"]]),Ko={gender:{MALE:1,FEMALE:2},timeTypes:{HOUR:1,DAY:2,WEEK:3,MONTH:4,YEAR:5},customPerPageOptions:[{id:10,label:10},{id:40,label:40},{id:100,label:100},{id:150,label:150},{id:200,label:200}],mask_regex:{INTEGER:"^[0-9]*$",DECIMAL:"^[0-9]{1,10}[.]?[0-9]{1}$",HUNDREDTHS:"^([0]{1}[.][0-9]{1,2}|[1-9][0-9]*[.]?[0-9]{1,2})$",THOUSANDS:"^([0]{1}[.][0-9]{1,2}|[1-9][0-9]*[.]?[0-9]{1,3})$",NO_LIMIT_AFTER_DOT:"^[0-9]{1,10}[.]?[0-9]*$",ABOVE_ONE:"^[1-9]+[0-9]*$",NO_START_SPACE:"^[^ ]+.*$",NO_SPACE:"[^ ]*"}};Object.preventExtensions(Ko);function bS(){return{}}const vS="data:image/gif;base64,R0lGODlhQABAANUAAAQCBISGhMTGxERCROTm5KSmpCQiJGRiZNTW1LS2tPT29BQSFJSWlFRSVDQyNHR2dMzOzOzu7KyurGxqbNze3Ly+vFxaXAwKDIyOjCwqLPz+/BweHKSipDw6PMzKzExKTOzq7KyqrCQmJGRmZNza3Ly6vPz6/BQWFJyanFRWVDQ2NHx+fNTS1PTy9LSytGxubOTi5MTCxFxeXAwODJSSlP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAgA1ACwAAAAAQABAAAAG/sCacEgsGo/IpHLJbDqf0Kh0Sq1ar9isdsvteikPiHfcAGxa424AAFilua0NG/behtipulbTYcf0WRBsDiaAWCNsKIZXBDMAJ2iLVRhsLpJHFA0BCkomBymRezAInE0PbBshGpIgHgIeFE4QcmwdYnotCAK7HqFMLStsbCMgaQoUvB4whVEwKcIzGMxaJgSuHjGkVjEOwgdcyLssEVkKKCcAFlwkryDTWREJvlgm7pf3+Pn6+/yLFAkAAwZkUYcAhYMIEc4TEuGCsIfC/owhgIFGxYsWK5Yi0hAiRIleKGIYSRLjRiL/BAq8lQYECRgvY5KgsLCfzZs4c+oE1MJF+80qCiD8pGLiXDouGFIcqPCuCjdvXBg0SNHgAQIrzqBJ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8gh8WRUWCSocglgLeReJVzAyCQZojlUveRCVRxUJAZRIKQssn1kpCAIwTioAAB0iiIkpMQoiIplNEB2sADa3dhMXtQQvE08wNLsAJHVjDBC1IhItKVIxJrs1D9RbphLQqFYzFLsGXCDQCsVYDCgrABZcAtEVsFoTCqncBaSa/f7/AAMKtFNBgcGDB1vYiYGgoUOH6opMyJCsIoAZaSo00NCgo8eOKvIRmWgxGcYxGjtyXMkx5CaEMH2NKfCwJrOBOHPq3MlTE/6MFyKzMJgRFEuKdu+40PAQQUK9cONYldsSgIIHDzJkVrvGKts2LSkIhLDqAUMBKQyQ7SJxdsyED1cp2EDBT0muXb0EIdBw1YOLEqpYufrKh4MCFx4oLHBSolNdIikMWCiaBIYFEoSNMNigIgaXB6xeOJHAao+mETUArIg4RMBJIjDc1biZiAQrFEYgsNJ6AwUrEpV0A6BQ9wQrBUZSROU9hsMAVo2MKDh+5AIrG0/TiGBlAsl0AMiPcHVjh4EuAJ6PfA9vpILgx1RZ0UiyPonaAHYStKI8pD4S8wAkYEcJKjDXH3VJQKACYAL511MRDj44RAUZ1CCGhBLRhuGGHAPiFAQAOw==",yS={class:"position-relative",style:{"min-height":"300px"}},wS={class:"placeholder-glow"},CS={class:"tabulator hide-to-print sticky-bottom bg-white"},AS={class:"row"},ES={key:0,class:"col-auto"},kS={class:"col"},SS={class:"tabulator-footer",ref:"footer"},xS=["id"],RS=["disabled"],MS={key:0,class:"spinner-border spinner-border-sm",role:"status","aria-hidden":"true"},TS=a.defineComponent({__name:"Table",props:{langs:{type:Object,default:()=>({})},paginationPage:{type:Number,default:null},locale:{type:String,default:"en-en"},columnHide:{type:String,default:""},columnShow:{type:String,default:""},options:{type:Object,default:()=>({}),required:!0},filters:{type:[Array,Function,Object],default:()=>[]},tableData:{type:Array,default:()=>[]},showAllColumnsIfAllHidden:{type:Boolean,default:!1},parentComponent:{type:Object,default:()=>({})},selectedRowsStorage:{type:Array,default:()=>[]},isVisibleColumnSubFilter:{type:Boolean,default:null},loadMoreText:{type:String,default:"Load More"},noDataText:{type:String,default:"No data found"},paginationLimitText:{type:String,default:"Please use pagination to navigate"}},emits:["selectedRow","unselectedRow","updateSelectedRows","updateUnselectedRows","updateTable","onHideColumn","onShowColumn","onTableRowClick","onCellClick","onTableRowMoved","pageLoaded","savePaginationPage","updateIsVisibleColumnSubFilter"],setup(n,{emit:e}){const t=n,i=e,r=a.inject("selectedTabIndex",a.ref()),s=a.inject("selectAll",a.ref(0)),o=a.ref(""),l=a.ref(null),u=a.ref({data:[],rows:[]}),c=a.ref(new Set(t.selectedRowsStorage)),d=a.ref(!1),f=a.ref(pi()),p=a.ref(null),h=a.ref(null),x=a.ref(!1),y=a.ref(null),A=a.ref(!1),C=a.computed(()=>t.options?.paginationMode==="remote"),m=a.computed(()=>Ko.customPerPageOptions),D=a.useSlots(),g=V=>!!D[V],M=()=>{o.value=""},v=V=>!V||!V.length?[]:V.map(W=>W),S=()=>{if(!p.value)return;const V=p.value.querySelector(".tabulator-header");!V||t.isVisibleColumnSubFilter===null||zi(V,sd,{modelValue:t.isVisibleColumnSubFilter,"onUpdate:modelValue":W=>i("updateIsVisibleColumnSubFilter",W)})},w=()=>{if(!p.value)return;const V=p.value.querySelector(".tabulator-header");V&&(V.classList.add("position-relative"),S())},k=()=>{if(!h.value)return null;const V=h.value;if(typeof V.getPageMax=="function"){const oe=V.getPageMax();if(oe!=null&&!Number.isNaN(Number(oe)))return Number(oe)}const W=V.last_page;return W!=null&&W!==""&&!Number.isNaN(Number(W))?Number(W):null},b=()=>{if(!h.value)return;const V=p.value?.parentNode?.querySelector(".tabulator-footer"),W=p.value?.parentNode?.querySelector(".tabulator-pages"),oe=k();if(oe==null||oe<1||Number.isNaN(oe)){V&&V.classList.add("d-none");return}oe>1?(V&&V.classList.remove("d-none"),W&&W.style.display==="none"&&(W.style.display="")):V&&V.classList.add("d-none")},T=()=>{A.value||(x.value=!0)},R=()=>{A.value},L=V=>{x.value=!1,A.value},N=()=>{A.value||(d.value=!0,i("updateTable",h.value),h.value&&h.value.selectRow(Array.from(c.value)))},j=V=>{A.value||(setTimeout(()=>{A.value||i("savePaginationPage",V)}),C.value&&b(),s.value>0&&i("pageLoaded"),w())},G=V=>{if(A.value)return;const W=V.getData(),oe=h.value?.options?.index||"id",le=W[oe]??null;le!==null&&(c.value.add(le),u.value.data.push(W),u.value.rows.push(V),i("updateSelectedRows",{data:u.value.data,row:u.value.rows}),i("selectedRow",{data:W,row:V}))},I=V=>{if(A.value)return;const W=V.getData(),oe=h.value?.options?.index||"id",le=W[oe]??null;if(le===null)return;c.value.delete(le);const ye=u.value.data.findIndex(we=>we[oe]===le);ye!==-1&&(u.value.data.splice(ye,1),u.value.rows.splice(ye,1)),i("updateUnselectedRows",{data:W,row:V}),i("unselectedRow",{data:W,row:V})},H=function(){A.value||(h.value&&h.value.selectRow(Array.from(c.value)),x.value=!1,C.value&&b())},J=(V,W)=>{if(A.value)return;if(W?._cell?.column?.definition?.hasCellClickHandler){i("onCellClick",V,W);return}const oe=[],le=V.target;for(let ye=0;ye<le.childNodes.length;ye++){const we=le.childNodes[ye];we.nodeName==="INPUT"&&we.type==="checkbox"&&oe.push("checkbox")}oe.includes("checkbox")||i("onTableRowClick",V,W._cell.row,t.parentComponent)},F=V=>{A.value||h.value&&i("onTableRowMoved",h.value.getColumnLayout())},P=()=>{A.value||setTimeout(()=>{A.value})},Q=()=>{A.value||setTimeout(()=>{if(A.value)return;const V=p.value?.parentElement?.querySelector(".tabulator-paginator");V&&!y.value&&(y.value=new MutationObserver(()=>{const W=p.value?.parentElement?.querySelector(".tabulator-pages"),oe=k();W&&oe!=null&&!Number.isNaN(oe)&&oe>1&&W.style.display==="none"&&(W.style.display="")}),y.value.observe(V,{childList:!0,subtree:!0,attributes:!0})),de()})},z=()=>{d.value=!1},q=()=>{if(!p.value||C.value&&!t.options.ajaxResponse||h.value)return;x.value=!0;const V=bS(),W=t.langs&&typeof t.langs=="object"?t.langs:{},oe={...t.options,...C.value?{}:{data:t.tableData},langs:{...V,...W},locale:t.locale,columns:v(t.options.columns),dataLoaderLoading:`<img alt="" src="${vS}">`,placeholder:t.noDataText,...t.options.ajaxResponse?{ajaxResponse:t.options.ajaxResponse}:{}};C.value&&(delete oe.ajaxURL,oe.footerElement=`#tabulator-footer${f.value}`),h.value=new pS(p.value,oe),h.value.on("dataLoading",T),h.value.on("dataLoaded",R),h.value.on("dataLoadError",L),h.value.on("tableBuilt",N),h.value.on("pageLoaded",j),h.value.on("rowSelected",G),h.value.on("rowDeselected",I),h.value.on("dataProcessed",H),h.value.on("cellClick",J),h.value.on("columnMoved",F),h.value.on("renderStarted",P),h.value.on("renderComplete",Q),h.value.on("tableDestroyed",z)},X=V=>{if(A.value||!d.value||!V||!h.value)return;const W=h.value.options.ajaxParams;W&&(W.per_page=Number(V)),h.value.options.paginationSize=Number(V),h.value.setPageSize(V)},K=()=>{if(A.value||!h.value)return;const V=640,W=h.value.options;if(C.value)W.ajaxParams?.per_page<V&&(W.ajaxParams.per_page+=40),h.value.setData();else{const oe=h.value.getPageSize();typeof oe=="number"&&oe<V&&h.value.setPageSize(oe+40)}W.paginationSize>=V&&(o.value=t.paginationLimitText)},se=V=>{A.value||V===""||!h.value||(h.value.showColumn(V),i("onShowColumn",h.value.getColumnLayout()))},U=V=>{A.value||V===""||!h.value||(h.value.hideColumn(V),i("onHideColumn",h.value.getColumnLayout()))},Z=V=>{A.value||!h.value||(V.filter(({visible:W})=>!W).length===V.length?V.map(({field:W})=>{a.nextTick(()=>{!A.value&&h.value&&h.value.showColumn(W)})}):V.map(({field:W,visible:oe})=>{!A.value&&h.value&&(oe?h.value.showColumn(W):h.value.hideColumn(W))}))},de=()=>{a.nextTick(()=>{if(A.value||!h.value||h.value.getPage()!==1||!t.paginationPage||t.paginationPage===h.value.getPage())return!1;h.value.setPage(t.paginationPage)})};return a.onMounted(()=>{q()}),a.onBeforeUnmount(()=>{A.value=!0,y.value&&(y.value.disconnect(),y.value=null),h.value&&(h.value.destroy(),h.value=null)}),a.watch(()=>t.columnShow,V=>{V&&se(V)}),a.watch(()=>t.columnHide,V=>{V&&U(V)}),a.watch(()=>t.filters,V=>{A.value||!h.value||h.value.setFilter(V)},{deep:!0}),a.watch(()=>t.tableData,V=>{A.value||!h.value||C.value||h.value.setData(V)},{deep:!1}),a.watch(()=>t.options.ajaxResponse,V=>{A.value||(h.value&&V?h.value.options.ajaxResponse=V:C.value&&V&&!h.value&&a.nextTick(()=>{A.value||!p.value||q()}))}),a.watch(()=>t.options,V=>{A.value||C.value&&V.ajaxResponse&&!h.value&&a.nextTick(()=>{A.value||!p.value||q()})},{deep:!0}),a.watch(r,()=>{A.value||!h.value||h.value.deselectRow()}),a.watch(s,V=>{A.value||V<=0||!h.value||h.value.selectRow()}),a.watch(()=>t.options.columns,V=>{A.value||!d.value||!h.value||!V||(!V.find(({visible:W})=>W)&&t.showAllColumnsIfAllHidden?Z(V):h.value.setColumns(V))},{deep:!0}),a.watch(()=>t.selectedRowsStorage,V=>{A.value||!V||(c.value=new Set(V))},{deep:!0}),a.watch(d,V=>{A.value||!V||(t.showAllColumnsIfAllHidden&&Z(t.options.columns||[]),t.tableData.length>0&&!C.value&&h.value&&h.value.setData(t.tableData))},{deep:!0}),(V,W)=>(a.openBlock(),a.createElementBlock("div",yS,[a.withDirectives(a.createElementVNode("p",wS,[...W[2]||(W[2]=[a.createStaticVNode('<span class="placeholder col-12 mb-1" style="min-height:50px;"></span><span class="placeholder col-12 mb-1" style="min-height:50px;"></span><span class="placeholder col-12 mb-1" style="min-height:50px;"></span><span class="placeholder col-12 mb-1" style="min-height:50px;"></span><span class="placeholder col-12 mb-1" style="min-height:50px;"></span><span class="placeholder col-12 mb-1" style="min-height:50px;"></span><span class="placeholder col-12 mb-1" style="min-height:50px;"></span><span class="placeholder col-12 mb-1" style="min-height:50px;"></span><span class="placeholder col-12 mb-1" style="min-height:50px;"></span><span class="placeholder col-12 mb-1" style="min-height:50px;"></span>',10)])],512),[[a.vShow,x.value]]),a.withDirectives(a.createElementVNode("div",{ref_key:"tableRef",ref:p},null,512),[[a.vShow,!x.value]]),a.withDirectives(a.createElementVNode("div",CS,[a.createElementVNode("div",AS,[g("table-footer-left")?(a.openBlock(),a.createElementBlock("div",ES,[a.renderSlot(V.$slots,"table-footer-left")])):a.createCommentVNode("",!0),a.createElementVNode("div",kS,[a.createElementVNode("div",SS,[a.createElementVNode("div",{class:"tabulator-footer-contents d-flex",id:`tabulator-footer${f.value}`},[a.createElementVNode("button",{class:"btn btn-primary me-3",id:"loadMoreButton",onClick:K,disabled:x.value},[a.createTextVNode(a.toDisplayString(n.loadMoreText)+" ",1),W[3]||(W[3]=a.createElementVNode("i",{class:"bi bi-plus-lg"},null,-1)),x.value?(a.openBlock(),a.createElementBlock("div",MS)):a.createCommentVNode("",!0)],8,RS),a.createVNode(Vt,{class:"me-3",style:{"min-width":"150px"},modelValue:l.value,"onUpdate:modelValue":[W[0]||(W[0]=oe=>l.value=oe),W[1]||(W[1]=oe=>X(oe))],allowClear:!1,options:m.value,dropDownPlacement:"top"},null,8,["modelValue","options"])],8,xS)],512)])])],512),[[a.vShow,C.value]]),a.createVNode(Jc,{message:o.value,onClearMessage:M},null,8,["message"])]))}}),DS={class:"r3-table-count__wrapper px-3"},OS={class:"r3-table-count__label pe-2"},LS={class:"r3-table-count__value"},BS=Ie(a.defineComponent({__name:"TableCount",props:{label:{default:""},count:{default:0},defaultLabel:{default:"-"},defaultCount:{default:"-"},size:{default:"medium"},showSeparator:{type:Boolean,default:!0}},setup(n){const e=n,t=a.computed(()=>e.label||e.defaultLabel),i=a.computed(()=>e.count===null||e.count===void 0||e.count===""?e.defaultCount:e.count);return(r,s)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["r3-table-count",[`r3-table-count--${r.size}`]])},[a.createElementVNode("div",DS,[a.createElementVNode("span",OS,a.toDisplayString(t.value)+":",1),a.createElementVNode("span",LS,a.toDisplayString(i.value),1)])],2))}}),[["__scopeId","data-v-87be8b13"]]),FS=Ie(a.defineComponent({__name:"ColumnSubFilter",props:{tableRefEl:{default:void 0},columnField:{default:""},mountedComponent:{default:void 0},dataProps:{default:()=>({})},table:{default:void 0},isVisible:{type:Boolean,default:!1}},setup(n){const e=n;function t(){if(!e?.tableRefEl)return!1;const i=`[tabulator-field='${e.columnField}']`,r=e.tableRefEl?.querySelector(i);if(!e.table||!r)return!1;if(e.isVisible&&r&&e.mountedComponent)return zi(r,e.mountedComponent,e.dataProps),!1;zi(r,null,{},!0)}return a.watch(()=>e,()=>{t()},{deep:!0}),a.onMounted(()=>{t()}),(i,r)=>null}}),[["__scopeId","data-v-0ddbb5a3"]]),_S=Ie(a.defineComponent({__name:"TableAppliedFiltersStorage",props:{tableName:{},filters:{}},emits:["update:filters"],setup(n,{expose:e,emit:t}){const i=n,r=t,s=a.computed(()=>"default-page"),o=a.toRef(i,"filters");function l(){let p=localStorage.getItem("filters"),h=p?JSON.parse(p):{};h={...oi(h),[s.value]:{[i.tableName]:d(o.value)}};const x=JSON.stringify(h);return localStorage.setItem("filters",x),p=localStorage.getItem("filters"),p?JSON.parse(p):{}}function u(p){return!(!p||!p[s.value]||!p[s.value][i.tableName])}function c(p){const h=JSON.parse(p);return u(h)?(p=localStorage.getItem("filters")||"{}",JSON.parse(p)):l()}function d(p){const h={};for(const[x,y]of Object.entries(p))h[x]=oi(y._value||y);return h}function f(){let p=localStorage.getItem("filters");if(!p)return r("update:filters",{}),!1;let h=c(p);if(!h[s.value]||!h[s.value][i.tableName])return r("update:filters",{}),!1;const x=d(h[s.value][i.tableName]);return r("update:filters",{...x}),!0}return e({getFilters:f,saveFilters:l}),(p,h)=>a.createCommentVNode("",!0)}}),[["__scopeId","data-v-08a5ac04"]]),PS={class:"row pt-3"},NS={class:"col-12"},IS=["onClick"],HS=Ie(a.defineComponent({__name:"TableQuickFilterComponent",props:{filterList:{},defaultSelected:{default:""}},emits:["emitSelected"],setup(n,{emit:e}){const t=e,i=r=>{t("emitSelected",r)};return(r,s)=>(a.openBlock(),a.createElementBlock("div",PS,[a.createElementVNode("div",NS,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(r.filterList,(o,l)=>(a.openBlock(),a.createElementBlock("button",{onClick:u=>i(o.name),class:a.normalizeClass(["btn filter-item",{active:r.defaultSelected===o.name,disabled:o.disabled}]),key:l},a.toDisplayString(o.title),11,IS))),128))])]))}}),[["__scopeId","data-v-cdf25b7c"]]),VS={key:0,class:"col-4 mb-2"},zS={class:"form-check"},jS=["checked","id","onChange"],WS=["for"],US=["innerHTML"],GS={class:"col-auto"},YS={class:"col-auto ps-0"},QS={class:"col-auto ps-0"},Jo=Ie(a.defineComponent({__name:"EditTableColumns",props:{title:{default:"Table Data"},modalVisibility:{type:Boolean,default:!1},columns:{default:()=>[]},applyText:{default:"Apply"},selectAllText:{default:"Select All"},unselectAllText:{default:"Unselect All"}},emits:["emitModalVisibility","columnVisibilityChange","apply","selectAll","unselectAll"],setup(n,{emit:e}){const t=n,i=e,r=a.ref([...t.columns]),s=a.ref([...t.columns]);a.watch(()=>t.columns,h=>{JSON.stringify(h)!==JSON.stringify(s.value)&&(r.value=[...h],s.value=[...h],l())},{deep:!0});const o=a.ref(!0);function l(){const x=r.value.filter(y=>y.title).some(y=>!y.visible);o.value=x,a.triggerRef(o)}l();const u=h=>{i("emitModalVisibility",h)},c=(h,x)=>{const y=h.target,A=r.value.findIndex(C=>C.field===x);A!==-1&&(r.value[A].visible=y.checked,l()),i("columnVisibilityChange",h,x)},d=()=>{i("apply",r.value)},f=()=>{const h=r.value.map(x=>({...x,visible:x.title?!0:x.visible}));r.value=h,s.value=[...h],l(),i("selectAll")},p=()=>{const h=r.value.map(x=>({...x,visible:x.title?!1:x.visible}));r.value=h,s.value=[...h],l(),i("unselectAll")};return(h,x)=>(a.openBlock(),a.createBlock(Uc,{title:h.title,"modal-visibility":h.modalVisibility,onEmitModalVisibility:u},{"modal-body":a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(r.value,(y,A)=>(a.openBlock(),a.createElementBlock(a.Fragment,{key:A},[y.title?(a.openBlock(),a.createElementBlock("div",VS,[a.createElementVNode("div",zS,[a.createElementVNode("input",{checked:y.visible,class:"form-check-input",type:"checkbox",id:y.field,ref_for:!0,ref:"editColumns",onChange:C=>c(C,y.field)},null,40,jS),a.createElementVNode("label",{class:"form-check-label",for:y.field},[a.createElementVNode("span",{class:"lh-sm",innerHTML:y.title},null,8,US)],8,WS)])])):a.createCommentVNode("",!0)],64))),128))]),"modal-footer":a.withCtx(()=>[a.createElementVNode("div",GS,[a.createElementVNode("button",{type:"button",class:"btn btn-primary px-4",onClick:d},a.toDisplayString(h.applyText),1)]),a.createElementVNode("div",YS,[a.createElementVNode("div",QS,[o.value?(a.openBlock(),a.createElementBlock("button",{key:"select-all",type:"button",class:"btn btn-light",onClick:f},a.toDisplayString(h.selectAllText),1)):a.createCommentVNode("",!0),o.value?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("button",{key:"unselect-all",type:"button",class:"btn btn-light",onClick:p},a.toDisplayString(h.unselectAllText),1))])])]),_:1},8,["title","modal-visibility"]))}}),[["__scopeId","data-v-7c63c539"]]);function qo(n,e){const t=a.ref(!1),i=a.ref([...n]);a.watch(()=>n,x=>{i.value=[...x]},{deep:!0});function r(x){t.value=x}function s(x,y){const A=x.target,C=i.value.map(m=>m.field===y?{...m,visible:A.checked}:m);i.value=C,e&&e.value&&(e.value.columns=C)}function o(x){console.log("useTableColumns handleColumnsApply called, received columns:",x),console.log("useTableColumns current tableColumns before update:",i.value),t.value=!1,l(x),u()}function l(x){x&&(i.value=[...x],console.log("useTableColumns tableColumns after update:",i.value))}function u(){if(!e||!e.value){console.log("useTableColumns tableOptions not available");return}console.log("useTableColumns updating tableOptions.columns:",i.value),e.value.columns=i.value,console.log("useTableColumns tableOptions.columns after update:",e.value.columns)}function c(){const x=i.value.map(y=>({...y,visible:y.title?!0:y.visible}));i.value=x,e&&e.value&&(e.value.columns=x)}function d(){const x=i.value.map(y=>({...y,visible:y.title?!1:y.visible}));i.value=x,e&&e.value&&(e.value.columns=x)}const f=a.computed(()=>i.value.filter(x=>x.visible));function p(x){i.value=[...x],e&&e.value&&(e.value.columns=x)}function h(){i.value=[...n],e&&e.value&&(e.value.columns=[...n])}return{columnsModalVisibility:t,tableColumns:i,visibleColumns:f,handleColumnsModalVisibility:r,handleColumnVisibilityChange:s,handleColumnsApply:o,handleColumnsSelectAll:c,handleColumnsUnselectAll:d,updateColumns:p,resetColumns:h}}const KS=a.defineComponent({__name:"TableColumnsButton",props:{columns:{},tableOptions:{},title:{default:"Table Columns Settings"},applyText:{default:"Apply"},selectAllText:{default:"Select All"},unselectAllText:{default:"Unselect All"}},emits:["columns-changed","apply"],setup(n,{emit:e}){const t=n,i=e,{columnsModalVisibility:r,tableColumns:s,handleColumnsModalVisibility:o,handleColumnVisibilityChange:l,handleColumnsSelectAll:u,handleColumnsUnselectAll:c,updateColumns:d}=qo(t.columns,t.tableOptions);a.watch(()=>t.columns,h=>{d(h)},{deep:!0});function f(){r.value=!0}function p(h){r.value=!1,h&&Array.isArray(h)&&(s.value=[...h],i("columns-changed",h)),i("apply")}return(h,x)=>(a.openBlock(),a.createElementBlock("div",null,[a.createVNode(Fr,{styles:"light",onSubmit:f,icon:"gear-fill"}),a.createVNode(Jo,{title:h.title,"modal-visibility":a.unref(r),columns:a.unref(s),"apply-text":h.applyText,"select-all-text":h.selectAllText,"unselect-all-text":h.unselectAllText,onEmitModalVisibility:a.unref(o),onColumnVisibilityChange:a.unref(l),onApply:p,onSelectAll:a.unref(u),onUnselectAll:a.unref(c)},null,8,["title","modal-visibility","columns","apply-text","select-all-text","unselect-all-text","onEmitModalVisibility","onColumnVisibilityChange","onSelectAll","onUnselectAll"])]))}}),JS=a.defineComponent({__name:"TableColumnsModal",props:{columns:{},tableOptions:{},title:{default:"Настройка колонок таблицы"},applyText:{default:"Применить"},selectAllText:{default:"Выбрать все"},unselectAllText:{default:"Снять все"}},emits:["columns-changed","apply"],setup(n,{emit:e}){const t=n,i=e,{columnsModalVisibility:r,tableColumns:s,handleColumnsModalVisibility:o,handleColumnVisibilityChange:l,handleColumnsSelectAll:u,handleColumnsUnselectAll:c,updateColumns:d}=qo(t.columns,t.tableOptions);a.watch(()=>t.columns,h=>{d(h)},{deep:!0});function f(){r.value=!0}function p(h){r.value=!1,h&&Array.isArray(h)&&(s.value=[...h],i("columns-changed",h)),i("apply")}return(h,x)=>(a.openBlock(),a.createElementBlock("div",null,[a.createVNode(Fr,{styles:"light",onSubmit:f,icon:"gear-fill"}),a.createVNode(Jo,{title:h.title,"modal-visibility":a.unref(r),columns:a.unref(s),"apply-text":h.applyText,"select-all-text":h.selectAllText,"unselect-all-text":h.unselectAllText,onEmitModalVisibility:a.unref(o),onColumnVisibilityChange:a.unref(l),onApply:p,onSelectAll:a.unref(u),onUnselectAll:a.unref(c)},null,8,["title","modal-visibility","columns","apply-text","select-all-text","unselect-all-text","onEmitModalVisibility","onColumnVisibilityChange","onSelectAll","onUnselectAll"])]))}}),qS={"data-test":"ToggleAllTableRowButtons",class:"toggle-all-rows-controls"},$S={key:2,class:"selected-count"},ZS=Ie(a.defineComponent({__name:"ToggleAllTableRowButtons",props:{selectedRows:{default:()=>[]},selectAllText:{default:"Выбрать все"},unselectAllText:{default:"Снять все"},selectedText:{default:"Выбрано"},showCount:{type:Boolean,default:!0}},emits:["selectAll","unselectAll"],setup(n,{emit:e}){const t=e,i=()=>{t("selectAll")},r=()=>{t("unselectAll")};return(s,o)=>(a.openBlock(),a.createElementBlock("div",qS,[s.selectedRows.length>0?(a.openBlock(),a.createElementBlock("button",{key:0,class:"btn btn-light me-3",onClick:r},a.toDisplayString(s.unselectAllText),1)):a.createCommentVNode("",!0),s.selectedRows.length===0?(a.openBlock(),a.createElementBlock("button",{key:1,class:"btn btn-primary me-3",onClick:i},a.toDisplayString(s.selectAllText),1)):a.createCommentVNode("",!0),s.showCount?(a.openBlock(),a.createElementBlock("div",$S,a.toDisplayString(s.selectedText)+": "+a.toDisplayString(s.selectedRows.length),1)):a.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-010ff090"]]),XS={class:"row pt-3"},e1={class:"col-12"},t1=["onClick"],i1=Ie(a.defineComponent({__name:"MultipleQuickFilterComponent",props:{filterList:{},defaultSelected:{default:()=>({})}},emits:["emitSelected"],setup(n,{emit:e}){const t=n,i=e,r=s=>{t.filterList[s].disabled||(t.filterList[s].value=!t.filterList[s].value,i("emitSelected",t.filterList))};return a.watch(()=>t.defaultSelected,s=>{s&&Object.keys(s).length>0&&t.filterList.forEach((o,l)=>{const u=Object.keys(s)[l];u&&s[u]!==void 0&&(o.value=s[u])})},{immediate:!0}),(s,o)=>(a.openBlock(),a.createElementBlock("div",XS,[a.createElementVNode("div",e1,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(s.filterList,(l,u)=>(a.openBlock(),a.createElementBlock("button",{onClick:c=>r(u),class:a.normalizeClass(["btn filter-item",{active:s.filterList[u].value,disabled:s.filterList[u].disabled}]),key:u},a.toDisplayString(l.title),11,t1))),128))])]))}}),[["__scopeId","data-v-1a1bfba2"]]);var bi;(function(n){n.Range="range",n.Steps="steps",n.Positions="positions",n.Count="count",n.Values="values"})(bi||(bi={}));var bt;(function(n){n[n.None=-1]="None",n[n.NoValue=0]="NoValue",n[n.LargeValue=1]="LargeValue",n[n.SmallValue=2]="SmallValue"})(bt||(bt={}));function n1(n){return Rr(n)&&typeof n.from=="function"}function Rr(n){return typeof n=="object"&&typeof n.to=="function"}function ad(n){n.parentElement.removeChild(n)}function $o(n){return n!=null}function od(n){n.preventDefault()}function r1(n){return n.filter(function(e){return this[e]?!1:this[e]=!0},{})}function s1(n,e){return Math.round(n/e)*e}function a1(n,e){var t=n.getBoundingClientRect(),i=n.ownerDocument,r=i.documentElement,s=cd(i);return/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(s.x=0),e?t.top+s.y-r.clientTop:t.left+s.x-r.clientLeft}function zt(n){return typeof n=="number"&&!isNaN(n)&&isFinite(n)}function ld(n,e,t){t>0&&(mt(n,e),setTimeout(function(){Tr(n,e)},t))}function ud(n){return Math.max(Math.min(n,100),0)}function Mr(n){return Array.isArray(n)?n:[n]}function o1(n){n=String(n);var e=n.split(".");return e.length>1?e[1].length:0}function mt(n,e){n.classList&&!/\s/.test(e)?n.classList.add(e):n.className+=" "+e}function Tr(n,e){n.classList&&!/\s/.test(e)?n.classList.remove(e):n.className=n.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," ")}function l1(n,e){return n.classList?n.classList.contains(e):new RegExp("\\b"+e+"\\b").test(n.className)}function cd(n){var e=window.pageXOffset!==void 0,t=(n.compatMode||"")==="CSS1Compat",i=e?window.pageXOffset:t?n.documentElement.scrollLeft:n.body.scrollLeft,r=e?window.pageYOffset:t?n.documentElement.scrollTop:n.body.scrollTop;return{x:i,y:r}}function u1(){return window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"}}function c1(){var n=!1;try{var e=Object.defineProperty({},"passive",{get:function(){n=!0}});window.addEventListener("test",null,e)}catch{}return n}function d1(){return window.CSS&&CSS.supports&&CSS.supports("touch-action","none")}function Zo(n,e){return 100/(e-n)}function Xo(n,e,t){return e*100/(n[t+1]-n[t])}function h1(n,e){return Xo(n,n[0]<0?e+Math.abs(n[0]):e-n[0],0)}function f1(n,e){return e*(n[1]-n[0])/100+n[0]}function Mn(n,e){for(var t=1;n>=e[t];)t+=1;return t}function p1(n,e,t){if(t>=n.slice(-1)[0])return 100;var i=Mn(t,n),r=n[i-1],s=n[i],o=e[i-1],l=e[i];return o+h1([r,s],t)/Zo(o,l)}function m1(n,e,t){if(t>=100)return n.slice(-1)[0];var i=Mn(t,e),r=n[i-1],s=n[i],o=e[i-1],l=e[i];return f1([r,s],(t-o)*Zo(o,l))}function g1(n,e,t,i){if(i===100)return i;var r=Mn(i,n),s=n[r-1],o=n[r];return t?i-s>(o-s)/2?o:s:e[r-1]?n[r-1]+s1(i-n[r-1],e[r-1]):i}var dd=(function(){function n(e,t,i){this.xPct=[],this.xVal=[],this.xSteps=[],this.xNumSteps=[],this.xHighestCompleteStep=[],this.xSteps=[i||!1],this.xNumSteps=[!1],this.snap=t;var r,s=[];for(Object.keys(e).forEach(function(o){s.push([Mr(e[o]),o])}),s.sort(function(o,l){return o[0][0]-l[0][0]}),r=0;r<s.length;r++)this.handleEntryPoint(s[r][1],s[r][0]);for(this.xNumSteps=this.xSteps.slice(0),r=0;r<this.xNumSteps.length;r++)this.handleStepPoint(r,this.xNumSteps[r])}return n.prototype.getDistance=function(e){for(var t=[],i=0;i<this.xNumSteps.length-1;i++)t[i]=Xo(this.xVal,e,i);return t},n.prototype.getAbsoluteDistance=function(e,t,i){var r=0;if(e<this.xPct[this.xPct.length-1])for(;e>this.xPct[r+1];)r++;else e===this.xPct[this.xPct.length-1]&&(r=this.xPct.length-2);!i&&e===this.xPct[r+1]&&r++,t===null&&(t=[]);var s,o=1,l=t[r],u=0,c=0,d=0,f=0;for(i?s=(e-this.xPct[r])/(this.xPct[r+1]-this.xPct[r]):s=(this.xPct[r+1]-e)/(this.xPct[r+1]-this.xPct[r]);l>0;)u=this.xPct[r+1+f]-this.xPct[r+f],t[r+f]*o+100-s*100>100?(c=u*s,o=(l-100*s)/t[r+f],s=1):(c=t[r+f]*u/100*o,o=0),i?(d=d-c,this.xPct.length+f>=1&&f--):(d=d+c,this.xPct.length-f>=1&&f++),l=t[r+f]*o;return e+d},n.prototype.toStepping=function(e){return e=p1(this.xVal,this.xPct,e),e},n.prototype.fromStepping=function(e){return m1(this.xVal,this.xPct,e)},n.prototype.getStep=function(e){return e=g1(this.xPct,this.xSteps,this.snap,e),e},n.prototype.getDefaultStep=function(e,t,i){var r=Mn(e,this.xPct);return(e===100||t&&e===this.xPct[r-1])&&(r=Math.max(r-1,1)),(this.xVal[r]-this.xVal[r-1])/i},n.prototype.getNearbySteps=function(e){var t=Mn(e,this.xPct);return{stepBefore:{startValue:this.xVal[t-2],step:this.xNumSteps[t-2],highestStep:this.xHighestCompleteStep[t-2]},thisStep:{startValue:this.xVal[t-1],step:this.xNumSteps[t-1],highestStep:this.xHighestCompleteStep[t-1]},stepAfter:{startValue:this.xVal[t],step:this.xNumSteps[t],highestStep:this.xHighestCompleteStep[t]}}},n.prototype.countStepDecimals=function(){var e=this.xNumSteps.map(o1);return Math.max.apply(null,e)},n.prototype.hasNoSize=function(){return this.xVal[0]===this.xVal[this.xVal.length-1]},n.prototype.convert=function(e){return this.getStep(this.toStepping(e))},n.prototype.handleEntryPoint=function(e,t){var i;if(e==="min"?i=0:e==="max"?i=100:i=parseFloat(e),!zt(i)||!zt(t[0]))throw new Error("noUiSlider: 'range' value isn't numeric.");this.xPct.push(i),this.xVal.push(t[0]);var r=Number(t[1]);i?this.xSteps.push(isNaN(r)?!1:r):isNaN(r)||(this.xSteps[0]=r),this.xHighestCompleteStep.push(0)},n.prototype.handleStepPoint=function(e,t){if(t){if(this.xVal[e]===this.xVal[e+1]){this.xSteps[e]=this.xHighestCompleteStep[e]=this.xVal[e];return}this.xSteps[e]=Xo([this.xVal[e],this.xVal[e+1]],t,0)/Zo(this.xPct[e],this.xPct[e+1]);var i=(this.xVal[e+1]-this.xVal[e])/this.xNumSteps[e],r=Math.ceil(Number(i.toFixed(3))-1),s=this.xVal[e]+this.xNumSteps[e]*r;this.xHighestCompleteStep[e]=s}},n})(),hd={to:function(n){return n===void 0?"":n.toFixed(2)},from:Number},fd={target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",touchArea:"touch-area",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",connects:"connects",ltr:"ltr",rtl:"rtl",textDirectionLtr:"txt-dir-ltr",textDirectionRtl:"txt-dir-rtl",draggable:"draggable",drag:"state-drag",tap:"state-tap",active:"active",tooltip:"tooltip",pips:"pips",pipsHorizontal:"pips-horizontal",pipsVertical:"pips-vertical",marker:"marker",markerHorizontal:"marker-horizontal",markerVertical:"marker-vertical",markerNormal:"marker-normal",markerLarge:"marker-large",markerSub:"marker-sub",value:"value",valueHorizontal:"value-horizontal",valueVertical:"value-vertical",valueNormal:"value-normal",valueLarge:"value-large",valueSub:"value-sub"},vi={tooltips:".__tooltips",aria:".__aria"};function b1(n,e){if(!zt(e))throw new Error("noUiSlider: 'step' is not numeric.");n.singleStep=e}function v1(n,e){if(!zt(e))throw new Error("noUiSlider: 'keyboardPageMultiplier' is not numeric.");n.keyboardPageMultiplier=e}function y1(n,e){if(!zt(e))throw new Error("noUiSlider: 'keyboardMultiplier' is not numeric.");n.keyboardMultiplier=e}function w1(n,e){if(!zt(e))throw new Error("noUiSlider: 'keyboardDefaultStep' is not numeric.");n.keyboardDefaultStep=e}function C1(n,e){if(typeof e!="object"||Array.isArray(e))throw new Error("noUiSlider: 'range' is not an object.");if(e.min===void 0||e.max===void 0)throw new Error("noUiSlider: Missing 'min' or 'max' in 'range'.");n.spectrum=new dd(e,n.snap||!1,n.singleStep)}function A1(n,e){if(e=Mr(e),!Array.isArray(e)||!e.length)throw new Error("noUiSlider: 'start' option is incorrect.");n.handles=e.length,n.start=e}function E1(n,e){if(typeof e!="boolean")throw new Error("noUiSlider: 'snap' option must be a boolean.");n.snap=e}function k1(n,e){if(typeof e!="boolean")throw new Error("noUiSlider: 'animate' option must be a boolean.");n.animate=e}function S1(n,e){if(typeof e!="number")throw new Error("noUiSlider: 'animationDuration' option must be a number.");n.animationDuration=e}function pd(n,e){var t=[!1],i;if(e==="lower"?e=[!0,!1]:e==="upper"&&(e=[!1,!0]),e===!0||e===!1){for(i=1;i<n.handles;i++)t.push(e);t.push(!1)}else{if(!Array.isArray(e)||!e.length||e.length!==n.handles+1)throw new Error("noUiSlider: 'connect' option doesn't match handle count.");t=e}n.connect=t}function x1(n,e){switch(e){case"horizontal":n.ort=0;break;case"vertical":n.ort=1;break;default:throw new Error("noUiSlider: 'orientation' option is invalid.")}}function md(n,e){if(!zt(e))throw new Error("noUiSlider: 'margin' option must be numeric.");e!==0&&(n.margin=n.spectrum.getDistance(e))}function R1(n,e){if(!zt(e))throw new Error("noUiSlider: 'limit' option must be numeric.");if(n.limit=n.spectrum.getDistance(e),!n.limit||n.handles<2)throw new Error("noUiSlider: 'limit' option is only supported on linear sliders with 2 or more handles.")}function M1(n,e){var t;if(!zt(e)&&!Array.isArray(e))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(Array.isArray(e)&&!(e.length===2||zt(e[0])||zt(e[1])))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(e!==0){for(Array.isArray(e)||(e=[e,e]),n.padding=[n.spectrum.getDistance(e[0]),n.spectrum.getDistance(e[1])],t=0;t<n.spectrum.xNumSteps.length-1;t++)if(n.padding[0][t]<0||n.padding[1][t]<0)throw new Error("noUiSlider: 'padding' option must be a positive number(s).");var i=e[0]+e[1],r=n.spectrum.xVal[0],s=n.spectrum.xVal[n.spectrum.xVal.length-1];if(i/(s-r)>1)throw new Error("noUiSlider: 'padding' option must not exceed 100% of the range.")}}function T1(n,e){switch(e){case"ltr":n.dir=0;break;case"rtl":n.dir=1;break;default:throw new Error("noUiSlider: 'direction' option was not recognized.")}}function D1(n,e){if(typeof e!="string")throw new Error("noUiSlider: 'behaviour' must be a string containing options.");var t=e.indexOf("tap")>=0,i=e.indexOf("drag")>=0,r=e.indexOf("fixed")>=0,s=e.indexOf("snap")>=0,o=e.indexOf("hover")>=0,l=e.indexOf("unconstrained")>=0,u=e.indexOf("invert-connects")>=0,c=e.indexOf("drag-all")>=0,d=e.indexOf("smooth-steps")>=0;if(r){if(n.handles!==2)throw new Error("noUiSlider: 'fixed' behaviour must be used with 2 handles");md(n,n.start[1]-n.start[0])}if(u&&n.handles!==2)throw new Error("noUiSlider: 'invert-connects' behaviour must be used with 2 handles");if(l&&(n.margin||n.limit))throw new Error("noUiSlider: 'unconstrained' behaviour cannot be used with margin or limit");n.events={tap:t||s,drag:i,dragAll:c,smoothSteps:d,fixed:r,snap:s,hover:o,unconstrained:l,invertConnects:u}}function O1(n,e){if(e!==!1)if(e===!0||Rr(e)){n.tooltips=[];for(var t=0;t<n.handles;t++)n.tooltips.push(e)}else{if(e=Mr(e),e.length!==n.handles)throw new Error("noUiSlider: must pass a formatter for all handles.");e.forEach(function(i){if(typeof i!="boolean"&&!Rr(i))throw new Error("noUiSlider: 'tooltips' must be passed a formatter or 'false'.")}),n.tooltips=e}}function L1(n,e){if(e.length!==n.handles)throw new Error("noUiSlider: must pass a attributes for all handles.");n.handleAttributes=e}function B1(n,e){if(!Rr(e))throw new Error("noUiSlider: 'ariaFormat' requires 'to' method.");n.ariaFormat=e}function F1(n,e){if(!n1(e))throw new Error("noUiSlider: 'format' requires 'to' and 'from' methods.");n.format=e}function _1(n,e){if(typeof e!="boolean")throw new Error("noUiSlider: 'keyboardSupport' option must be a boolean.");n.keyboardSupport=e}function P1(n,e){n.documentElement=e}function N1(n,e){if(typeof e!="string"&&e!==!1)throw new Error("noUiSlider: 'cssPrefix' must be a string or `false`.");n.cssPrefix=e}function I1(n,e){if(typeof e!="object")throw new Error("noUiSlider: 'cssClasses' must be an object.");typeof n.cssPrefix=="string"?(n.cssClasses={},Object.keys(e).forEach(function(t){n.cssClasses[t]=n.cssPrefix+e[t]})):n.cssClasses=e}function gd(n){var e={margin:null,limit:null,padding:null,animate:!0,animationDuration:300,ariaFormat:hd,format:hd},t={step:{r:!1,t:b1},keyboardPageMultiplier:{r:!1,t:v1},keyboardMultiplier:{r:!1,t:y1},keyboardDefaultStep:{r:!1,t:w1},start:{r:!0,t:A1},connect:{r:!0,t:pd},direction:{r:!0,t:T1},snap:{r:!1,t:E1},animate:{r:!1,t:k1},animationDuration:{r:!1,t:S1},range:{r:!0,t:C1},orientation:{r:!1,t:x1},margin:{r:!1,t:md},limit:{r:!1,t:R1},padding:{r:!1,t:M1},behaviour:{r:!0,t:D1},ariaFormat:{r:!1,t:B1},format:{r:!1,t:F1},tooltips:{r:!1,t:O1},keyboardSupport:{r:!0,t:_1},documentElement:{r:!1,t:P1},cssPrefix:{r:!0,t:N1},cssClasses:{r:!0,t:I1},handleAttributes:{r:!1,t:L1}},i={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal",keyboardSupport:!0,cssPrefix:"noUi-",cssClasses:fd,keyboardPageMultiplier:5,keyboardMultiplier:1,keyboardDefaultStep:10};n.format&&!n.ariaFormat&&(n.ariaFormat=n.format),Object.keys(t).forEach(function(u){if(!$o(n[u])&&i[u]===void 0){if(t[u].r)throw new Error("noUiSlider: '"+u+"' is required.");return}t[u].t(e,$o(n[u])?n[u]:i[u])}),e.pips=n.pips;var r=document.createElement("div"),s=r.style.msTransform!==void 0,o=r.style.transform!==void 0;e.transformRule=o?"transform":s?"msTransform":"webkitTransform";var l=[["left","top"],["right","bottom"]];return e.style=l[e.dir][e.ort],e}function H1(n,e,t){var i=u1(),r=d1(),s=r&&c1(),o=n,l,u,c,d,f,p,h=e.spectrum,x=[],y=[],A=[],C=0,m={},D=!1,g=n.ownerDocument,M=e.documentElement||g.documentElement,v=g.body,S=g.dir==="rtl"||e.ort===1?0:100;function w(E,O){var _=g.createElement("div");return O&&mt(_,O),E.appendChild(_),_}function k(E,O){var _=w(E,e.cssClasses.origin),Y=w(_,e.cssClasses.handle);if(w(Y,e.cssClasses.touchArea),Y.setAttribute("data-handle",String(O)),e.keyboardSupport&&(Y.setAttribute("tabindex","0"),Y.addEventListener("keydown",function(ue){return Fe(ue,O)})),e.handleAttributes!==void 0){var ne=e.handleAttributes[O];Object.keys(ne).forEach(function(ue){Y.setAttribute(ue,ne[ue])})}return Y.setAttribute("role","slider"),Y.setAttribute("aria-orientation",e.ort?"vertical":"horizontal"),O===0?mt(Y,e.cssClasses.handleLower):O===e.handles-1&&mt(Y,e.cssClasses.handleUpper),_.handle=Y,_}function b(E,O){return O?w(E,e.cssClasses.connect):!1}function T(E,O){u=w(O,e.cssClasses.connects),c=[],d=[],d.push(b(u,E[0]));for(var _=0;_<e.handles;_++)c.push(k(O,_)),A[_]=_,d.push(b(u,E[_+1]))}function R(E){mt(E,e.cssClasses.target),e.dir===0?mt(E,e.cssClasses.ltr):mt(E,e.cssClasses.rtl),e.ort===0?mt(E,e.cssClasses.horizontal):mt(E,e.cssClasses.vertical);var O=getComputedStyle(E).direction;return O==="rtl"?mt(E,e.cssClasses.textDirectionRtl):mt(E,e.cssClasses.textDirectionLtr),w(E,e.cssClasses.base)}function L(E,O){return!e.tooltips||!e.tooltips[O]?!1:w(E.firstChild,e.cssClasses.tooltip)}function N(){return o.hasAttribute("disabled")}function j(E){var O=c[E];return O.hasAttribute("disabled")}function G(E){E!=null?(c[E].setAttribute("disabled",""),c[E].handle.removeAttribute("tabindex")):(o.setAttribute("disabled",""),c.forEach(function(O){O.handle.removeAttribute("tabindex")}))}function I(E){E!=null?(c[E].removeAttribute("disabled"),c[E].handle.setAttribute("tabindex","0")):(o.removeAttribute("disabled"),c.forEach(function(O){O.removeAttribute("disabled"),O.handle.setAttribute("tabindex","0")}))}function H(){p&&($("update"+vi.tooltips),p.forEach(function(E){E&&ad(E)}),p=null)}function J(){H(),p=c.map(L),Ne("update"+vi.tooltips,function(E,O,_){if(!(!p||!e.tooltips)&&p[O]!==!1){var Y=E[O];e.tooltips[O]!==!0&&(Y=e.tooltips[O].to(_[O])),p[O].innerHTML=Y}})}function F(){$("update"+vi.aria),Ne("update"+vi.aria,function(E,O,_,Y,ne){A.forEach(function(ue){var fe=c[ue],pe=me(y,ue,0,!0,!0,!0),be=me(y,ue,100,!0,!0,!0),Ce=ne[ue],De=String(e.ariaFormat.to(_[ue]));pe=h.fromStepping(pe).toFixed(1),be=h.fromStepping(be).toFixed(1),Ce=h.fromStepping(Ce).toFixed(1),fe.children[0].setAttribute("aria-valuemin",pe),fe.children[0].setAttribute("aria-valuemax",be),fe.children[0].setAttribute("aria-valuenow",Ce),fe.children[0].setAttribute("aria-valuetext",De)})})}function P(E){if(E.mode===bi.Range||E.mode===bi.Steps)return h.xVal;if(E.mode===bi.Count){if(E.values<2)throw new Error("noUiSlider: 'values' (>= 2) required for mode 'count'.");for(var O=E.values-1,_=100/O,Y=[];O--;)Y[O]=O*_;return Y.push(100),Q(Y,E.stepped)}return E.mode===bi.Positions?Q(E.values,E.stepped):E.mode===bi.Values?E.stepped?E.values.map(function(ne){return h.fromStepping(h.getStep(h.toStepping(ne)))}):E.values:[]}function Q(E,O){return E.map(function(_){return h.fromStepping(O?h.getStep(_):_)})}function z(E){function O(Ce,De){return Number((Ce+De).toFixed(7))}var _=P(E),Y={},ne=h.xVal[0],ue=h.xVal[h.xVal.length-1],fe=!1,pe=!1,be=0;return _=r1(_.slice().sort(function(Ce,De){return Ce-De})),_[0]!==ne&&(_.unshift(ne),fe=!0),_[_.length-1]!==ue&&(_.push(ue),pe=!0),_.forEach(function(Ce,De){var We,Be,qe,Xe=Ce,at=_[De+1],nt,yi,Ti,ci,jt,$t,Xi,Di=E.mode===bi.Steps;for(Di&&(We=h.xNumSteps[De]),We||(We=at-Xe),at===void 0&&(at=Xe),We=Math.max(We,1e-7),Be=Xe;Be<=at;Be=O(Be,We)){for(nt=h.toStepping(Be),yi=nt-be,jt=yi/(E.density||1),$t=Math.round(jt),Xi=yi/$t,qe=1;qe<=$t;qe+=1)Ti=be+qe*Xi,Y[Ti.toFixed(5)]=[h.fromStepping(Ti),0];ci=_.indexOf(Be)>-1?bt.LargeValue:Di?bt.SmallValue:bt.NoValue,!De&&fe&&Be!==at&&(ci=0),Be===at&&pe||(Y[nt.toFixed(5)]=[Be,ci]),be=nt}}),Y}function q(E,O,_){var Y,ne,ue=g.createElement("div"),fe=(Y={},Y[bt.None]="",Y[bt.NoValue]=e.cssClasses.valueNormal,Y[bt.LargeValue]=e.cssClasses.valueLarge,Y[bt.SmallValue]=e.cssClasses.valueSub,Y),pe=(ne={},ne[bt.None]="",ne[bt.NoValue]=e.cssClasses.markerNormal,ne[bt.LargeValue]=e.cssClasses.markerLarge,ne[bt.SmallValue]=e.cssClasses.markerSub,ne),be=[e.cssClasses.valueHorizontal,e.cssClasses.valueVertical],Ce=[e.cssClasses.markerHorizontal,e.cssClasses.markerVertical];mt(ue,e.cssClasses.pips),mt(ue,e.ort===0?e.cssClasses.pipsHorizontal:e.cssClasses.pipsVertical);function De(Be,qe){var Xe=qe===e.cssClasses.value,at=Xe?be:Ce,nt=Xe?fe:pe;return qe+" "+at[e.ort]+" "+nt[Be]}function We(Be,qe,Xe){if(Xe=O?O(qe,Xe):Xe,Xe!==bt.None){var at=w(ue,!1);at.className=De(Xe,e.cssClasses.marker),at.style[e.style]=Be+"%",Xe>bt.NoValue&&(at=w(ue,!1),at.className=De(Xe,e.cssClasses.value),at.setAttribute("data-value",String(qe)),at.style[e.style]=Be+"%",at.innerHTML=String(_.to(qe)))}}return Object.keys(E).forEach(function(Be){We(Be,E[Be][0],E[Be][1])}),ue}function X(){f&&(ad(f),f=null)}function K(E){X();var O=z(E),_=E.filter,Y=E.format||{to:function(ne){return String(Math.round(ne))}};return f=o.appendChild(q(O,_,Y)),f}function se(){var E=l.getBoundingClientRect(),O="offset"+["Width","Height"][e.ort];return e.ort===0?E.width||l[O]:E.height||l[O]}function U(E,O,_,Y){var ne=function(fe){var pe=Z(fe,Y.pageOffset,Y.target||O);if(!pe||N()&&!Y.doNotReject||l1(o,e.cssClasses.tap)&&!Y.doNotReject||E===i.start&&pe.buttons!==void 0&&pe.buttons>1||Y.hover&&pe.buttons)return!1;s||pe.preventDefault(),pe.calcPoint=pe.points[e.ort],_(pe,Y)},ue=[];return E.split(" ").forEach(function(fe){O.addEventListener(fe,ne,s?{passive:!0}:!1),ue.push([fe,ne])}),ue}function Z(E,O,_){var Y=E.type.indexOf("touch")===0,ne=E.type.indexOf("mouse")===0,ue=E.type.indexOf("pointer")===0,fe=0,pe=0;if(E.type.indexOf("MSPointer")===0&&(ue=!0),E.type==="mousedown"&&!E.buttons&&!E.touches)return!1;if(Y){var be=function(We){var Be=We.target;return Be===_||_.contains(Be)||E.composed&&E.composedPath().shift()===_};if(E.type==="touchstart"){var Ce=Array.prototype.filter.call(E.touches,be);if(Ce.length>1)return!1;fe=Ce[0].pageX,pe=Ce[0].pageY}else{var De=Array.prototype.find.call(E.changedTouches,be);if(!De)return!1;fe=De.pageX,pe=De.pageY}}return O=O||cd(g),(ne||ue)&&(fe=E.clientX+O.x,pe=E.clientY+O.y),E.pageOffset=O,E.points=[fe,pe],E.cursor=ne||ue,E}function de(E){var O=E-a1(l,e.ort),_=O*100/se();return _=ud(_),e.dir?100-_:_}function V(E){var O=100,_=!1;return c.forEach(function(Y,ne){if(!j(ne)){var ue=y[ne],fe=Math.abs(ue-E),pe=fe===100&&O===100,be=fe<O,Ce=fe<=O&&E>ue;(be||Ce||pe)&&(_=ne,O=fe)}}),_}function W(E,O){E.type==="mouseout"&&E.target.nodeName==="HTML"&&E.relatedTarget===null&&le(E,O)}function oe(E,O){if(navigator.appVersion.indexOf("MSIE 9")===-1&&E.buttons===0&&O.buttonsProperty!==0)return le(E,O);var _=(e.dir?-1:1)*(E.calcPoint-O.startCalcPoint),Y=_*100/O.baseSize;ke(_>0,Y,O.locations,O.handleNumbers,O.connect)}function le(E,O){O.handle&&(Tr(O.handle,e.cssClasses.active),C-=1),O.listeners.forEach(function(_){M.removeEventListener(_[0],_[1])}),C===0&&(Tr(o,e.cssClasses.drag),Se(),E.cursor&&(v.style.cursor="",v.removeEventListener("selectstart",od))),e.events.smoothSteps&&(O.handleNumbers.forEach(function(_){Le(_,y[_],!0,!0,!1,!1)}),O.handleNumbers.forEach(function(_){ie("update",_)})),O.handleNumbers.forEach(function(_){ie("change",_),ie("set",_),ie("end",_)})}function ye(E,O){if(!O.handleNumbers.some(j)){var _;if(O.handleNumbers.length===1){var Y=c[O.handleNumbers[0]];_=Y.children[0],C+=1,mt(_,e.cssClasses.active)}E.stopPropagation();var ne=[],ue=U(i.move,M,oe,{target:E.target,handle:_,connect:O.connect,listeners:ne,startCalcPoint:E.calcPoint,baseSize:se(),pageOffset:E.pageOffset,handleNumbers:O.handleNumbers,buttonsProperty:E.buttons,locations:y.slice()}),fe=U(i.end,M,le,{target:E.target,handle:_,listeners:ne,doNotReject:!0,handleNumbers:O.handleNumbers}),pe=U("mouseout",M,W,{target:E.target,handle:_,listeners:ne,doNotReject:!0,handleNumbers:O.handleNumbers});ne.push.apply(ne,ue.concat(fe,pe)),E.cursor&&(v.style.cursor=getComputedStyle(E.target).cursor,c.length>1&&mt(o,e.cssClasses.drag),v.addEventListener("selectstart",od,!1)),O.handleNumbers.forEach(function(be){ie("start",be)})}}function we(E){E.stopPropagation();var O=de(E.calcPoint),_=V(O);_!==!1&&(e.events.snap||ld(o,e.cssClasses.tap,e.animationDuration),Le(_,O,!0,!0),Se(),ie("slide",_,!0),ie("update",_,!0),e.events.snap?ye(E,{handleNumbers:[_]}):(ie("change",_,!0),ie("set",_,!0)))}function xe(E){var O=de(E.calcPoint),_=h.getStep(O),Y=h.fromStepping(_);Object.keys(m).forEach(function(ne){ne.split(".")[0]==="hover"&&m[ne].forEach(function(ue){ue.call(B,Y)})})}function Fe(E,O){if(N()||j(O))return!1;var _=["Left","Right"],Y=["Down","Up"],ne=["PageDown","PageUp"],ue=["Home","End"];e.dir&&!e.ort?_.reverse():e.ort&&!e.dir&&(Y.reverse(),ne.reverse());var fe=E.key.replace("Arrow",""),pe=fe===ne[0],be=fe===ne[1],Ce=fe===Y[0]||fe===_[0]||pe,De=fe===Y[1]||fe===_[1]||be,We=fe===ue[0],Be=fe===ue[1];if(!Ce&&!De&&!We&&!Be)return!0;E.preventDefault();var qe;if(De||Ce){var Xe=Ce?0:1,at=Pe(O),nt=at[Xe];if(nt===null)return!1;nt===!1&&(nt=h.getDefaultStep(y[O],Ce,e.keyboardDefaultStep)),be||pe?nt*=e.keyboardPageMultiplier:nt*=e.keyboardMultiplier,nt=Math.max(nt,1e-7),nt=(Ce?-1:1)*nt,qe=x[O]+nt}else Be?qe=e.spectrum.xVal[e.spectrum.xVal.length-1]:qe=e.spectrum.xVal[0];return Le(O,h.toStepping(qe),!0,!0),ie("slide",O),ie("update",O),ie("change",O),ie("set",O),!1}function _e(E){E.fixed||c.forEach(function(O,_){U(i.start,O.children[0],ye,{handleNumbers:[_]})}),E.tap&&U(i.start,l,we,{}),E.hover&&U(i.move,l,xe,{hover:!0}),E.drag&&d.forEach(function(O,_){if(!(O===!1||_===0||_===d.length-1)){var Y=c[_-1],ne=c[_],ue=[O],fe=[Y,ne],pe=[_-1,_];mt(O,e.cssClasses.draggable),E.fixed&&(ue.push(Y.children[0]),ue.push(ne.children[0])),E.dragAll&&(fe=c,pe=A),ue.forEach(function(be){U(i.start,be,ye,{handles:fe,handleNumbers:pe,connect:O})})}})}function Ne(E,O){m[E]=m[E]||[],m[E].push(O),E.split(".")[0]==="update"&&c.forEach(function(_,Y){ie("update",Y)})}function ce(E){return E===vi.aria||E===vi.tooltips}function $(E){var O=E&&E.split(".")[0],_=O?E.substring(O.length):E;Object.keys(m).forEach(function(Y){var ne=Y.split(".")[0],ue=Y.substring(ne.length);(!O||O===ne)&&(!_||_===ue)&&(!ce(ue)||_===ue)&&delete m[Y]})}function ie(E,O,_){Object.keys(m).forEach(function(Y){var ne=Y.split(".")[0];E===ne&&m[Y].forEach(function(ue){ue.call(B,x.map(e.format.to),O,x.slice(),_||!1,y.slice(),B)})})}function me(E,O,_,Y,ne,ue,fe){var pe;return c.length>1&&!e.events.unconstrained&&(Y&&O>0&&(pe=h.getAbsoluteDistance(E[O-1],e.margin,!1),_=Math.max(_,pe)),ne&&O<c.length-1&&(pe=h.getAbsoluteDistance(E[O+1],e.margin,!0),_=Math.min(_,pe))),c.length>1&&e.limit&&(Y&&O>0&&(pe=h.getAbsoluteDistance(E[O-1],e.limit,!1),_=Math.min(_,pe)),ne&&O<c.length-1&&(pe=h.getAbsoluteDistance(E[O+1],e.limit,!0),_=Math.max(_,pe))),e.padding&&(O===0&&(pe=h.getAbsoluteDistance(0,e.padding[0],!1),_=Math.max(_,pe)),O===c.length-1&&(pe=h.getAbsoluteDistance(100,e.padding[1],!0),_=Math.min(_,pe))),fe||(_=h.getStep(_)),_=ud(_),_===E[O]&&!ue?!1:_}function he(E,O){var _=e.ort;return(_?O:E)+", "+(_?E:O)}function ke(E,O,_,Y,ne){var ue=_.slice(),fe=Y[0],pe=e.events.smoothSteps,be=[!E,E],Ce=[E,!E];Y=Y.slice(),E&&Y.reverse(),Y.length>1?Y.forEach(function(We,Be){var qe=me(ue,We,ue[We]+O,be[Be],Ce[Be],!1,pe);qe===!1?O=0:(O=qe-ue[We],ue[We]=qe)}):be=Ce=[!0];var De=!1;Y.forEach(function(We,Be){De=Le(We,_[We]+O,be[Be],Ce[Be],!1,pe)||De}),De&&(Y.forEach(function(We){ie("update",We),ie("slide",We)}),ne!=null&&ie("drag",fe))}function Me(E,O){return e.dir?100-E-O:E}function ae(E,O){y[E]=O,x[E]=h.fromStepping(O);var _=Me(O,0)-S,Y="translate("+he(_+"%","0")+")";if(c[E].style[e.transformRule]=Y,e.events.invertConnects&&y.length>1){var ne=y.every(function(ue,fe,pe){return fe===0||ue>=pe[fe-1]});if(D!==!ne){ct();return}}et(E),et(E+1),D&&(et(E-1),et(E+2))}function Se(){A.forEach(function(E){var O=y[E]>50?-1:1,_=3+(c.length+O*E);c[E].style.zIndex=String(_)})}function Le(E,O,_,Y,ne,ue){return ne||(O=me(y,E,O,_,Y,!1,ue)),O===!1?!1:(ae(E,O),!0)}function et(E){if(d[E]){var O=y.slice();D&&O.sort(function(pe,be){return pe-be});var _=0,Y=100;E!==0&&(_=O[E-1]),E!==d.length-1&&(Y=O[E]);var ne=Y-_,ue="translate("+he(Me(_,ne)+"%","0")+")",fe="scale("+he(ne/100,"1")+")";d[E].style[e.transformRule]=ue+" "+fe}}function je(E,O){return E===null||E===!1||E===void 0||(typeof E=="number"&&(E=String(E)),E=e.format.from(E),E!==!1&&(E=h.toStepping(E)),E===!1||isNaN(E))?y[O]:E}function Rt(E,O,_){var Y=Mr(E),ne=y[0]===void 0;O=O===void 0?!0:O,e.animate&&!ne&&ld(o,e.cssClasses.tap,e.animationDuration),A.forEach(function(pe){Le(pe,je(Y[pe],pe),!0,!1,_)});var ue=A.length===1?0:1;if(ne&&h.hasNoSize()&&(_=!0,y[0]=0,A.length>1)){var fe=100/(A.length-1);A.forEach(function(pe){y[pe]=pe*fe})}for(;ue<A.length;++ue)A.forEach(function(pe){Le(pe,y[pe],!0,!0,_)});Se(),A.forEach(function(pe){ie("update",pe),Y[pe]!==null&&O&&ie("set",pe)})}function At(E){Rt(e.start,E)}function Ge(E,O,_,Y){if(E=Number(E),!(E>=0&&E<A.length))throw new Error("noUiSlider: invalid handle number, got: "+E);Le(E,je(O,E),!0,!0,Y),ie("update",E),_&&ie("set",E)}function te(E){if(E===void 0&&(E=!1),E)return x.length===1?x[0]:x.slice(0);var O=x.map(e.format.to);return O.length===1?O[0]:O}function re(){for($(vi.aria),$(vi.tooltips),Object.keys(e.cssClasses).forEach(function(E){Tr(o,e.cssClasses[E])});o.firstChild;)o.removeChild(o.firstChild);delete o.noUiSlider}function Pe(E){var O=y[E],_=h.getNearbySteps(O),Y=x[E],ne=_.thisStep.step,ue=null;if(e.snap)return[Y-_.stepBefore.startValue||null,_.stepAfter.startValue-Y||null];ne!==!1&&Y+ne>_.stepAfter.startValue&&(ne=_.stepAfter.startValue-Y),Y>_.thisStep.startValue?ue=_.thisStep.step:_.stepBefore.step===!1?ue=!1:ue=Y-_.stepBefore.highestStep,O===100?ne=null:O===0&&(ue=null);var fe=h.countStepDecimals();return ne!==null&&ne!==!1&&(ne=Number(ne.toFixed(fe))),ue!==null&&ue!==!1&&(ue=Number(ue.toFixed(fe))),[ue,ne]}function ze(){return A.map(Pe)}function Oe(E,O){var _=te(),Y=["margin","limit","padding","range","animate","snap","step","format","pips","tooltips","connect"];Y.forEach(function(ue){E[ue]!==void 0&&(t[ue]=E[ue])});var ne=gd(t);Y.forEach(function(ue){E[ue]!==void 0&&(e[ue]=ne[ue])}),h=ne.spectrum,e.margin=ne.margin,e.limit=ne.limit,e.padding=ne.padding,e.pips?K(e.pips):X(),e.tooltips?J():H(),y=[],Rt($o(E.start)?E.start:_,O),E.connect&&Re()}function Re(){for(;u.firstChild;)u.removeChild(u.firstChild);for(var E=0;E<=e.handles;E++)d[E]=b(u,e.connect[E]),et(E);_e({drag:e.events.drag,fixed:!0})}function ct(){D=!D,pd(e,e.connect.map(function(E){return!E})),Re()}function ge(){l=R(o),T(e.connect,l),_e(e.events),Rt(e.start),e.pips&&K(e.pips),e.tooltips&&J(),F()}ge();var B={destroy:re,steps:ze,on:Ne,off:$,get:te,set:Rt,setHandle:Ge,reset:At,disable:G,enable:I,__moveHandles:function(E,O,_){ke(E,O,y,_)},options:t,updateOptions:Oe,target:o,removePips:X,removeTooltips:H,getPositions:function(){return y.slice()},getTooltips:function(){return p},getOrigins:function(){return c},pips:K};return B}function V1(n,e){if(!n||!n.nodeName)throw new Error("noUiSlider: create requires a single element, got: "+n);if(n.noUiSlider)throw new Error("noUiSlider: Slider was already initialized.");var t=gd(e),i=H1(n,t,e);return n.noUiSlider=i,i}const z1={__spectrum:dd,cssClasses:fd,create:V1},j1={class:"slider-container"},W1={class:"slider-wrapper",style:{position:"relative"}},U1=["id"],G1=["value"],Y1=["value"],Q1=Ie(a.defineComponent({__name:"Slider",props:{minCount:{default:0},maxCount:{default:100},minValue:{default:0},maxValue:{default:100},step:{default:1},tooltips:{type:Boolean,default:!0},connect:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},sliderId:{default:"slider-range"}},emits:["updateMinValue","updateMaxValue","change"],setup(n,{expose:e,emit:t}){const i=n,r=t,s=a.ref(null),o=a.ref(null),l=a.ref(null);let u=null;const c=a.ref(i.minValue),d=a.ref(i.maxValue),f=()=>{if(!s.value)return;u&&u.destroy();const y=Array(i.maxCount-i.minCount+1).fill(0).map((C,m)=>i.minCount+m),A={to:C=>{const m=Math.round(C);return y[m]||y[0]},from:C=>{const m=Number(C);return y.indexOf(m)}};try{u=z1.create(s.value,{start:[c.value,d.value],connect:i.connect,step:i.step,tooltips:i.tooltips,format:A,range:{min:0,max:y.length-1}}),u.on("change",C=>{const m=Number(C[0]),D=Number(C[1]);c.value!==m&&(c.value=m,r("updateMinValue",m)),d.value!==D&&(d.value=D,r("updateMaxValue",D)),r("change",[m,D])}),u.on("update",C=>{const m=Number(C[0]),D=Number(C[1]);c.value=m,d.value=D})}catch(C){console.error("Error creating slider:",C)}},p=()=>{a.nextTick(()=>{f()})},h=(y,A)=>{if(u)try{u.set([y,A])}catch(C){console.error("Error updating slider values:",C)}},x=y=>{u&&(y?u.disable():u.enable())};return a.watch(()=>[i.minValue,i.maxValue],([y,A])=>{(y!==c.value||A!==d.value)&&(c.value=y,d.value=A,h(y,A))},{immediate:!1}),a.watch(()=>i.disabled,y=>{x(y)}),a.watch(()=>[i.minCount,i.maxCount],()=>{p()}),a.onMounted(()=>{p()}),a.onUnmounted(()=>{u&&(u.destroy(),u=null)}),e({updateValues:h,getValues:()=>u?.get(),reset:()=>{u&&u.reset()},destroy:()=>{u&&(u.destroy(),u=null)}}),(y,A)=>(a.openBlock(),a.createElementBlock("div",j1,[a.createElementVNode("div",W1,[a.createElementVNode("div",{ref_key:"sliderElement",ref:s,id:y.sliderId},null,8,U1)]),a.createElementVNode("input",{type:"hidden",ref_key:"minValueRef",ref:o,value:y.minValue},null,8,G1),a.createElementVNode("input",{type:"hidden",ref_key:"maxValueRef",ref:l,value:y.maxValue},null,8,Y1)]))}}),[["__scopeId","data-v-892dca90"]]),K1=["title"],J1=Ie(a.defineComponent({__name:"QuestionIcon",props:{title:{default:""},size:{default:"md"},color:{default:"#999999"},iconClass:{default:""},tooltipPosition:{default:"top"},clickToShow:{type:Boolean,default:!0}},setup(n){const e=n,t=a.ref(),i=a.ref(!1),r=a.computed(()=>({color:e.color})),s=a.computed(()=>{switch(e.size){case"sm":return"question-icon--sm";case"lg":return"question-icon--lg";default:return"question-icon--md"}}),o=a.computed(()=>`question-tooltip--${e.tooltipPosition}`),l=()=>{e.clickToShow&&e.title&&(i.value=!i.value)},u=c=>{t.value&&!t.value.contains(c.target)&&(i.value=!1)};return a.onMounted(()=>{e.clickToShow&&document.addEventListener("click",u)}),a.onUnmounted(()=>{e.clickToShow&&document.removeEventListener("click",u)}),(c,d)=>(a.openBlock(),a.createElementBlock("div",{class:"question-icon-wrapper",ref_key:"wrapperRef",ref:t},[a.createElementVNode("i",{class:a.normalizeClass(["bi bi-question-circle-fill question-icon",[c.iconClass,s.value]]),title:c.title,style:a.normalizeStyle(r.value),onClick:l},null,14,K1),i.value&&c.title?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["question-tooltip",o.value])},[a.createTextVNode(a.toDisplayString(c.title)+" ",1),d[0]||(d[0]=a.createElementVNode("div",{class:"question-tooltip-arrow"},null,-1))],2)):a.createCommentVNode("",!0)],512))}}),[["__scopeId","data-v-2c102103"]]),q1={class:"container-fluid rounded overflow-hidden bg-light"},$1={class:"row w-100"},Z1={class:"text-secondary"},X1={class:"d-flex py-3 px-2 onlyPrint"},ex={class:"row w-100"},tx={class:"text-secondary"},ix={class:"row"},nx=Ie(a.defineComponent({__name:"FilterValuesPanel",props:{filterValues:{default:null},filterTitles:{}},emits:["showFilter"],setup(n,{emit:e}){const t=n,i=a.ref(!1),r=a.ref([]);a.computed(()=>t.filterValues?Object.entries(t.filterValues).filter(([o,l])=>l).map(([o,l])=>({name:t.filterTitles[o]||o,value:String(l),key:o})):[]);function s(o){if(!o){r.value=[];return}r.value=Object.entries(o).filter(([l,u])=>u).map(([l,u])=>({name:t.filterTitles[l]||l,value:String(u),key:l}))}return a.watch(()=>t.filterValues,o=>{const l=a.isRef(o)?o.value:o;s(l)},{deep:!0,immediate:!0}),(o,l)=>(a.openBlock(),a.createElementBlock("div",q1,[a.createElementVNode("div",{style:a.normalizeStyle({overflow:"hidden",maxHeight:i.value?"initial":"83px"}),class:"d-flex py-3 px-2 noPrint"},[a.createElementVNode("div",$1,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(r.value,(u,c)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["mb-2",c===r.value.length-1?"col":"col-auto"]),key:u.key},[a.createElementVNode("div",Z1,a.toDisplayString(u.name)+":",1),a.createElementVNode("div",null,[a.createElementVNode("strong",null,a.toDisplayString(u.value),1)])],2))),128))]),a.createElementVNode("div",null,[a.createElementVNode("div",{role:"button",class:"expand-btn expand-btn-right rounded",onClick:l[0]||(l[0]=u=>o.$emit("showFilter"))},[...l[2]||(l[2]=[a.createElementVNode("i",{class:"bi bi-chevron-right i-hidden"},null,-1)])])])],4),a.createElementVNode("div",X1,[a.createElementVNode("div",ex,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(r.value,(u,c)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["mb-2",c===r.value.length-1?"col":"col-auto"]),key:u.key},[a.createElementVNode("div",tx,a.toDisplayString(u.name)+":",1),a.createElementVNode("div",null,[a.createElementVNode("strong",null,a.toDisplayString(u.value),1)])],2))),128))])]),a.createElementVNode("div",ix,[a.createElementVNode("div",{role:"button",class:"expand-btn expand-btn-bottom hide-to-print",onClick:l[1]||(l[1]=u=>i.value=!i.value)},[a.createElementVNode("i",{class:a.normalizeClass({"bi lh-normal":!0,"bi-chevron-down":!i.value,"bi-chevron-up":i.value})},null,2)])])]))}}),[["__scopeId","data-v-5fb2b7d8"]]),bd=(n={})=>{n.hasOwnProperty("KEY")||(n.KEY="tables");const{KEY:e}=n;function t(o,l){const u=localStorage.getItem(e);let c=JSON.parse(u);return c={...c,[o]:l},localStorage.setItem(e,JSON.stringify(c)),!0}function i(o){return o?(localStorage.setItem(e,JSON.stringify(o)),!0):!1}function r(o){const l=localStorage.getItem(e),u=JSON.parse(l);return u?.hasOwnProperty(o)&&delete u[o],i(u),!0}function s(o){const l=localStorage.getItem(e);return(JSON.parse(l)||{})[o]||null}return{setItemStorage:t,removeItemStorage:r,getItemStorage:s}},rx=({localStorageKey:n=null,getAjaxUrl:e,getAjaxResponse:t,getColumns:i,tableOptions:r,initialFilters:s=()=>({empty:"empty"}),initialFilterTitles:o=()=>({empty:"empty"}),selectedQuickFilter:l=null})=>{const u=a.ref({}),c=a.ref(0),d=a.ref(""),f=a.ref(""),p=a.ref({}),h=a.ref(!1),x=a.ref(!1),y=a.ref(!1),A=a.ref(s()),C=a.ref(!1),{setItemStorage:m,removeItemStorage:D,getItemStorage:g}=bd();async function M(){A.value=s(),p.value={}}function v(K){if(!n)return!1;m(n,K)}const S=a.readonly({...o()});function w(K,se){p.value[K]=se}const k=a.computed(()=>Object.values(p.value).some(Boolean));function b(){c.value+=1}async function T(K){if(!K||!K.options)return;const se=r.value.ajaxURL;se&&(K.options.ajaxURL=se),r.value.columns&&(K.options.columns=r.value.columns,K.setColumns(r.value.columns),await R(K)),se&&K.replaceData(se)}async function R(K){const se=typeof K.hideColumn=="function",U=typeof K.showColumn=="function";if(!se||!U){b();return}for(const Z of r.value.columns)Z.visible===!1?K.hideColumn(Z.field):K.showColumn(Z.field)}function L(K){if(!n)return!1;m(n,j(K))}async function N(K){const se=r.value?.paginationMode==="remote";if(!(se&&(!K||!K.replaceData))&&!(C.value||x.value)){x.value=!0;try{if(await H(),C.value||(await a.nextTick(),C.value))return;if(!se){b();return}await T(K),h.value=!1}finally{x.value=!1}}}function j(K){return K.map(U=>{let Z=JSON.parse(JSON.stringify(U));return U.visible===!1&&(delete Z.width,delete Z.minWidth),Z})}function G(K){if(!n)return!1;m(n,j(K))}function I(){const K={};for(const[se,U]of Object.entries({...A.value}))!U||U?.length<1||Array.isArray(U)&&(U[0]===null||U[0]===void 0||U[0]==="")||(K[se]=U);return K}async function H(){if(C.value)return;const K=e(),se=await t();if(C.value)return;const U=Q();r.value={...r.value,ajaxURL:K,ajaxResponse:se,columns:U,ajaxParams:{...r.value.ajaxParams,per_page:r.value.paginationSize}}}const J=a.computed(()=>{let K=[];return r.value.columns.map(se=>{se.title&&K.push(se.visible)}),K.includes(!1)});async function F(K,se){K.target.checked==!1?(d.value=se,f.value=""):(f.value=se,d.value="")}async function P(){D(n),r.value.columns=Q()}function Q(){const K=g(n);return K||i({selectedQuickFilter:l?.value})}async function z(){D(n),r.value.columns.map(K=>K.visible=!1),G(r.value.columns)}function q(K){r.value.columns=K,n&&m(n,K)}function X(){r.value.columns=r.value.columns}return a.onBeforeUnmount(()=>{C.value=!0}),a.provide("setFilterParamsStrings",w),a.provide("selectedFilterTitles",S),a.provide("tableFilters",A),a.provide("filterModalVisibility",h),a.provide("resetFilters",M),a.provide("applyFilters",N),a.provide("editTableColumnsModalVisibility",y),a.provide("tableOptions",r),a.provide("editTableColumnVisibility",F),a.provide("isTableCoumnsHidden",J),a.provide("unselectAllTableColumnCheckboxes",z),a.provide("selectAllTableColumnCheckboxes",P),a.provide("handleColumnsChanged",q),a.provide("handleColumnsApply",X),a.provide("table",u),{selectAllTableColumnCheckboxes:P,unselectAllTableColumnCheckboxes:z,isTableCoumnsHidden:J,editTableColumnVisibility:F,fetchData:H,onHideColumn:G,getFilterData:I,applyFilters:N,reRenderTable:b,resetFilters:M,onTableRowMoved:v,onShowColumn:L,table:u,tableKey:c,columnHide:d,columnShow:f,selectedFilterTitles:S,setFilterParamsStrings:w,filterParamsStrings:p,isSelectedFiltersVisible:k,filterModalVisibility:h,editTableColumnsModalVisibility:y,tableFilters:A,tableOptions:r,handleColumnsChanged:q,handleColumnsApply:X}};function vd(n){return n.map(e=>{const t=JSON.parse(JSON.stringify(e));return e.visible===!1&&(delete t.width,delete t.minWidth),t})}function yd(n){return n.filter(e=>e.visible===!0)}function wd(n,e){return n.map(t=>t.field===e?{...t,visible:!t.visible}:t)}function Dr(n){return n.map(e=>({...e,visible:e.title?!0:e.visible}))}function el(n){return n.map(e=>({...e,visible:e.title?!1:e.visible}))}function Tn(n){if(!Array.isArray(n))return console.warn("validateColumns: columns must be an array"),!1;for(const e of n){if(!e.field||typeof e.field!="string")return console.warn("validateColumns: column.field must be a non-empty string",e),!1;if(typeof e.visible!="boolean")return console.warn("validateColumns: column.visible must be a boolean",e),!1}return!0}function Cd(n){return n.some(e=>e.title&&!e.visible)}function Ad(n,e){return n.find(t=>t.field===e)}function Or(n,e,t){return n.map(i=>i.field===e?{...i,...t}:i)}const sx=Object.freeze(Object.defineProperty({__proto__:null,getColumnByField:Ad,getVisibleColumns:yd,hasHiddenColumns:Cd,hideAllColumns:el,prepareColumnsToSave:vd,resetColumnsToDefault:Dr,toggleColumnVisibility:wd,updateColumn:Or,validateColumns:Tn},Symbol.toStringTag,{value:"Module"}));function Ed(n){const{initialColumns:e,localStorageKey:t,tableOptions:i,autoSave:r=!0,onColumnsChange:s,onApply:o,validateOnChange:l=!0}=n;Tn(e)||console.error("useTableColumnsEnhanced: invalid initialColumns provided");const u=a.ref(!1),c=a.ref([...e]),d=a.ref(!1);if(t&&typeof window<"u")try{const I=localStorage.getItem(t);if(I){const H=JSON.parse(I);Tn(H)&&(c.value=H)}}catch(I){console.warn("useTableColumnsEnhanced: failed to load columns from localStorage",I)}const f=a.computed(()=>yd(c.value)),p=a.computed(()=>Cd(c.value)),h=a.computed(()=>c.value.length),x=a.computed(()=>f.value.length);function y(I){if(!(!t||typeof window>"u"||!r))try{const H=vd(I);localStorage.setItem(t,JSON.stringify(H))}catch(H){console.warn("useTableColumnsEnhanced: failed to save columns to localStorage",H)}}function A(){if(!t||typeof window>"u")return null;try{const I=localStorage.getItem(t);if(I){const H=JSON.parse(I);if(Tn(H))return H}}catch(I){console.warn("useTableColumnsEnhanced: failed to load columns from localStorage",I)}return null}function C(){if(!(!t||typeof window>"u"))try{localStorage.removeItem(t)}catch(I){console.warn("useTableColumnsEnhanced: failed to clear localStorage",I)}}function m(I){if(l&&!Tn(I)){console.error("useTableColumnsEnhanced: invalid columns provided to updateColumns");return}c.value=[...I],y(I),s?.(I)}function D(I,H){const J=I.target,F=Or(c.value,H,{visible:J.checked});m(F)}function g(I){u.value=I}function M(I){const H=I||c.value;m(H),u.value=!1,o?.(H)}function v(){const I=Dr(c.value);m(I)}function S(){const I=el(c.value);m(I)}function w(I){const H=wd(c.value,I);m(H)}function k(I){const H=Or(c.value,I,{visible:!0});m(H)}function b(I){const H=Or(c.value,I,{visible:!1});m(H)}function T(){const I=Dr(e);m(I)}function R(){const I=Dr(c.value);m(I)}function L(){const I=el(c.value);m(I)}function N(I){return Ad(c.value,I)}function j(I){return N(I)?.visible??!1}function G(){i?.value&&(i.value.columns=c.value)}return a.watch(c,()=>{G()},{deep:!0}),a.watch(()=>e,I=>{d.value||(c.value=[...I],d.value=!0)},{deep:!0,immediate:!0}),d.value||(d.value=!0,G()),{columnsModalVisibility:u,tableColumns:c,visibleColumns:f,hasHidden:p,columnsCount:h,visibleCount:x,isInitialized:d,handleColumnsModalVisibility:g,handleColumnVisibilityChange:D,handleColumnsApply:M,handleColumnsSelectAll:v,handleColumnsUnselectAll:S,updateColumns:m,toggleColumn:w,showColumn:k,hideColumn:b,resetToDefault:T,showAll:R,hideAll:L,getColumn:N,isColumnVisible:j,saveToLocalStorage:y,loadFromLocalStorage:A,clearLocalStorage:C,syncWithTableOptions:G}}function ax(n){const{localStorageKey:e,getColumns:t,tableOptions:i,tableDefault:r,onColumnsChange:s,onApply:o}=n,l=Ed({initialColumns:t(),localStorageKey:e,tableOptions:i,autoSave:!0,onColumnsChange:h=>{s?.(h),r?.applyFilters&&r.applyFilters()},onApply:h=>{o?.(h),r?.applyFilters&&r.applyFilters()}});function u(h){console.log("useTableColumnsIntegration handleColumnsChanged called, received columns:",h),l.updateColumns(h)}function c(){console.log("useTableColumnsIntegration handleColumnsApply called"),l.handleColumnsApply()}function d(){if(r){if(r.onShowColumn){const h=r.onShowColumn;r.onShowColumn=x=>{console.log("useTableColumnsIntegration onShowColumn called with columns:",x),l.updateColumns(x),h?.(x)}}if(r.onHideColumn){const h=r.onHideColumn;r.onHideColumn=x=>{console.log("useTableColumnsIntegration onHideColumn called with columns:",x),l.updateColumns(x),h?.(x)}}}}function f(){i?.value&&(i.value.columns=l.tableColumns.value)}function p(){r?.tableOptions&&(r.tableOptions.columns=l.tableColumns.value)}return a.watch(()=>t(),h=>{console.log("useTableColumnsIntegration getColumns changed, updating columns:",h),l.updateColumns(h)},{deep:!0}),d(),{...l,handleColumnsChanged:u,handleColumnsApply:c,syncWithTableOptions:f,syncWithTable:p,setupTableDefaultIntegration:d}}function ox(n){const{tableColumns:e,tableOptions:t,tableDefault:i,onApply:r}=n;function s(l){console.log("createColumnHandlers handleColumnsChanged called, received columns:",l),e.value=l,t.value.columns=l,i?.tableOptions&&(i.tableOptions.columns=l)}function o(){console.log("createColumnHandlers handleColumnsApply called"),console.log("createColumnHandlers current tableColumns:",e.value),t.value.columns=e.value,i?.tableOptions&&(i.tableOptions.columns=e.value),r?.()}return{handleColumnsChanged:s,handleColumnsApply:o}}const lx=(n={})=>{const{navigate:e=y=>console.warn("useBreadcrumbs: navigate function not provided"),translate:t=y=>y,getCurrentRoute:i=()=>({path:"/",name:"home"}),maxItems:r=5,storageKey:s="breadcrumbs"}=n,o=a.ref([]);function l(y){e(y)}function u(y,A){if(!Array.isArray(y))return[];const C=JSON.parse(JSON.stringify(y));return C.length>A&&C.splice(0,C.length-A),C}function c(){const y=i(),A={path:y.path,name:y.name},C=o.value||[],m=C[C.length-1];if(JSON.stringify(m)===JSON.stringify(A))return!1;C.push(A),o.value=u(C,r),localStorage.setItem(s,JSON.stringify(o.value))}function d(){const y=JSON.parse(localStorage.getItem(s)||"[]");y?.length||c(),o.value=y}const f=a.computed(()=>o.value.map((y,A)=>({text:t(`routes.${y.name}`),href:y.path,isActive:A===o.value.length-1})));function p(){c()}function h(){o.value=[],localStorage.removeItem(s)}function x(y){const A=o.value||[];A.push(y),o.value=u(A,r),localStorage.setItem(s,JSON.stringify(o.value))}return a.onMounted(()=>{d()}),{goTo:l,crumbs:f,breadcrumbs:o,updateBreadcrumbs:p,clearBreadcrumbs:h,addBreadcrumb:x}};function ux(n){return n?.length?n.map(e=>typeof e=="string"?e:e?.name??"").filter(e=>!!e):[]}function cx(n){const e=a.computed(()=>{const t=a.toValue(n);return ux(t)});return t=>lr(t,e.value)}const ui={country:"country",region:"region",district:"district",locality:"locality",street:"street",house:"house",building:"building",apartment:"apartment"};function dx(n){return{countryLabel:n(ui.country),regionLabel:n(ui.region),districtLabel:n(ui.district),localityLabel:n(ui.locality),streetLabel:n(ui.street),houseLabel:n(ui.house),buildingLabel:n(ui.building),apartmentLabel:n(ui.apartment)}}const tl={expandAll:"accordion.expand_all",collapseAll:"accordion.collapse_all"};function hx(n){return{expandText:n(tl.expandAll),collapseText:n(tl.collapseAll)}}async function fx(n){const{logOutSSO:e,nextTick:t,navigateTo:i,redirect:r,onReset:s,redirectPath:o="/login",onError:l=c=>console.error(c)}=n,u=typeof e=="function"?e:async()=>{};try{await u()}catch(c){l(c)}finally{const c=r??i;if(r){s(),c(o);return}await t(()=>{s(),c(o)})}}const kd=n=>{if(typeof n=="string"&&n.length!==0&&!n.toLowerCase().includes("localhost"))return n},px=({origin:n,authCookieDomain:e,httpOnly:t})=>{const i=kd(e);return{path:"/",sameSite:"lax",secure:n?.startsWith("https://")??!1,...typeof t=="boolean"?{httpOnly:t}:{},...i?{domain:i}:{}}},Sd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";function xd(){const n=globalThis.crypto;if(!n)throw new Error("Web Crypto API is not available.");if(!n.getRandomValues)throw new Error("Web Crypto getRandomValues is not available.");if(!n.subtle?.digest)throw new Error("Web Crypto subtle digest is not available.");return n}function Rd(n){const e=xd(),t=new Uint8Array(n);e.getRandomValues(t);let i="";return t.forEach(r=>{i+=Sd[r%Sd.length]}),i}function mx(n){const e=new Uint8Array(n);let t="";return e.forEach(i=>{t+=String.fromCharCode(i)}),btoa(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/g,"")}function Md(n=64){if(!Number.isInteger(n)||n<43||n>128)throw new Error("PKCE code_verifier length must be between 43 and 128.");return Rd(n)}async function Td(n){const e=xd(),i=new TextEncoder().encode(n),r=await e.subtle.digest("SHA-256",i);return mx(r)}async function gx(n=64){const e=Md(n),t=await Td(e);return{codeVerifier:e,codeChallenge:t}}function bx(n=32){if(!Number.isInteger(n)||n<16||n>128)throw new Error("OAuth state length must be between 16 and 128.");return Rd(n)}function vx(n,e,t){return{current_page:e,data:[],first_page_url:n,from:0,last_page:1,last_page_url:n,links:[],next_page_url:null,path:n,per_page:t,prev_page_url:null,to:0,total:0}}function yx(n={}){const e=(i,r)=>i==null||i===""?[]:Array.isArray(i)?i.flatMap((s,o)=>e(s,r?`${r}[${o}]`:String(o))):typeof i=="object"?Object.entries(i).flatMap(([s,o])=>e(o,r?`${r}[${s}]`:s)):r?[{key:r,value:String(i)}]:[],t=i=>i==null||i===""?!0:Array.isArray(i)?i.length===0:typeof i=="object"?Object.keys(i).length===0:!1;return async(i,r,s)=>{const o=(r.method||"GET").toUpperCase();let l=i;if(o==="GET"&&s&&typeof s=="object"){const c=new URL(i,typeof window<"u"?window.location.origin:"http://localhost");Object.entries(s).forEach(([d,f])=>{if(t(f))return;e(f,d).forEach(({key:h,value:x})=>{c.searchParams.set(h,x)})}),l=c.toString()}const u=await fetch(l,r);if(u.status===401)throw n.onUnauthorized?.(u),u;if(u.status===404&&n.onNotFound)return n.onNotFound({url:l,params:s,response:u});if(!u.ok)throw u;return await u.json()}}function wx(n,e){return{[`${e}-${e}`]:{pagination:{first:n("table_pagination.first"),first_title:n("table_pagination.first_title"),last:n("table_pagination.last"),last_title:n("table_pagination.last_title"),prev:n("table_pagination.prev"),prev_title:n("table_pagination.prev_title"),next:n("table_pagination.next"),next_title:n("table_pagination.next_title"),all:n("table_pagination.all"),counter:{showing:n("table_pagination.showing"),of:n("table_pagination.of"),rows:n("table_pagination.rows"),pages:n("table_pagination.pages")}},data:{loading:n("table_pagination.loading"),error:n("table_pagination.error")}}}}const Dn="/api/services/handbook/overpass/",Cx=n=>({searchCountries:(e={})=>n(`${Dn}countries`,{method:"GET",params:e}),getRegionsByCountry:e=>n(`${Dn}countries/${e}/regions`,{method:"GET"}),getDistrictsByRegion:e=>n(`${Dn}regions/${e}/districts`,{method:"GET"}),getLocalitiesByDistrict:e=>n(`${Dn}districts/${e}/cities`,{method:"GET"}),getStreetsByLocality:e=>n(`${Dn}cities/${e}/streets`,{method:"GET"})});ee.ACCORDION_LOCALIZATION_KEYS=tl,ee.ADDRESS_FORM_TRANSLATIONS=ui,ee.AddButton=il,ee.AddressForm=rw,ee.AgeFromAgeTo=vw,ee.BooleanCheckbox=Nc,ee.Breadcrumbs=kA,ee.Card=vC,ee.CardInfo=FA,ee.Checkbox=ub,ee.ClearFormButton=jd,ee.CollapseButton=Nd,ee.CollapsedSidebarLink=Qc,ee.ColumnSubFilter=FS,ee.ConfirmationModal=Kw,ee.CustomInput=ur,ee.DefaultAccordion=mE,ee.DefaultButton=Fr,ee.DefaultDropDown=Po,ee.DefaultModal=Wc,ee.Divider=No,ee.EditTableColumns=Jo,ee.EditTableColumnsModalComponent=Uc,ee.ErrorMessageComponent=uE,ee.ExportButton=Id,ee.ExportComponent=Dh,ee.FilterValuesPanel=nx,ee.Flatpickr=Ny,ee.Footer=wC,ee.FormError=ki,ee.Header=PC,ee.HeaderSearchForm=zy,ee.Icon=Br,ee.KindCheckboxesAccordion=RE,ee.LanguageSelector=SA,ee.Logo=Gc,ee.MainComponent=gA,ee.MultiCheckbox=yy,ee.MultiInput=ky,ee.MultipleQuickFilterComponent=i1,ee.PageCard=tE,ee.PageTitle=mC,ee.PasswordInput=sb,ee.PrintButton=Hd,ee.QuestionIcon=J1,ee.Sidebar=Kc,ee.SidebarLink=Yc,ee.Slider=Q1,ee.Spinner=Lr,ee.SubFilterToggleBtn=sd,ee.Table=TS,ee.TableAppliedFiltersStorage=_S,ee.TableColumnsButton=KS,ee.TableColumnsModal=JS,ee.TableCount=BS,ee.TableFilterModalComponent=iC,ee.TableQuickFilterComponent=HS,ee.Toast=Jc,ee.ToggleAllTableRowButtons=ZS,ee.ToggleButtons=Gd,ee.VSelect=Vt,ee.addDays=Da,ee.addMonths=Oa,ee.addYears=La,ee.areArraysEqual=Ja,ee.arrayToCutString=ja,ee.camelCase=Pa,ee.capitalize=_a,ee.chunk=Ya,ee.clamp=fo,ee.constants=Ko,ee.createAddressService=Cx,ee.createColumnHandlers=ox,ee.createEmptyRemotePageResponse=vx,ee.createTableAjaxRequestFunc=yx,ee.createTabulatorLangsFromT=wx,ee.cutString=za,ee.debounce=hn,ee.findAll=ha,ee.findOne=da,ee.firstToUppercase=Fa,ee.flattenObject=or,ee.formatDate=Ra,ee.formatMoney=Ma,ee.generateCodeChallenge=Td,ee.generateCodeVerifier=Md,ee.generateId=Xa,ee.generatePkcePair=gx,ee.generateState=bx,ee.getAccordionLocalization=hx,ee.getAddressFormLabels=dx,ee.getAuthCookieOptions=px,ee.getBrowserLocale=ga,ee.getDeclinationFromNumber=Ba,ee.getDeepCopyObject=oi,ee.getLocalStorage=so,ee.getNowDate=Ta,ee.getSessionStorage=lo,ee.getSharedCookieDomain=kd,ee.getSupportedLocales=nr,ee.getUniqueKey=pi,ee.getValueFromArr=ya,ee.getValueFromObjectItem=rr,ee.groupBy=Ua,ee.hasMatch=vo,ee.hasPermission=lr,ee.hasRole=bo,ee.helpers=Xg,ee.initEmailMask=Ca,ee.initInnMask=Ea,ee.initKppMask=ka,ee.initPassportMask=xa,ee.initPhoneMask=Aa,ee.initSnilsMask=Sa,ee.isArraysEqual=Ka,ee.isEqual=ar,ee.isObject=Qa,ee.isValidDate=sr,ee.isValidEmail=to,ee.isValidLocale=ba,ee.isValidPhone=io,ee.isValidUrl=no,ee.kebabCase=Na,ee.lerp=po,ee.maskDate=Va,ee.memoize=co,ee.mountSubFilter=zi,ee.omit=Za,ee.once=ho,ee.pick=$a,ee.prepareResponse=yo,ee.prepareSelectOptions=fa,ee.random=mo,ee.removeLocalStorage=ao,ee.removeSessionStorage=uo,ee.required=eo,ee.roundToDecimals=go,ee.runLogoutFlow=fx,ee.scrollToElement=ma,ee.scrollToError=pa,ee.setLocalStorage=ro,ee.setSessionStorage=oo,ee.snakeCase=Ia,ee.sortBy=Ga,ee.sumOfArrayNumbers=wa,ee.tableColumnsUtils=sx,ee.throttle=va,ee.truncate=Ha,ee.unflatenObject=qa,ee.unique=Wa,ee.useBreadcrumbs=lx,ee.usePermissionChecker=cx,ee.useTableColumns=qo,ee.useTableColumnsEnhanced=Ed,ee.useTableColumnsIntegration=ax,ee.useTableDefault=rx,ee.useTableStorage=bd,Object.defineProperty(ee,Symbol.toStringTag,{value:"Module"})}));
54
+ `),r=i[0]=="Error"?i[2]:i[1],r[0]==" "?e=r.trim().split(" ")[1].split(".")[1]:e=r.trim().split("@")[0]),console.warn("Table Not Initialized - Calling the "+e+" function before the table is initialized may result in inconsistent behavior, Please wait for the `tableBuilt` event before calling this function."+(t?" "+t:""))),this.initialized}blockRedraw(){this.initGuard(),this.eventBus.dispatch("redraw-blocking"),this.rowManager.blockRedraw(),this.columnManager.blockRedraw(),this.eventBus.dispatch("redraw-blocked")}restoreRedraw(){this.initGuard(),this.eventBus.dispatch("redraw-restoring"),this.rowManager.restoreRedraw(),this.columnManager.restoreRedraw(),this.eventBus.dispatch("redraw-restored")}setData(e,t,i){return this.initGuard(!1,"To set initial data please use the 'data' property in the table constructor."),this.dataLoader.load(e,t,i,!1)}clearData(){this.initGuard(),this.dataLoader.blockActiveLoad(),this.rowManager.clearData()}getData(e){return this.rowManager.getData(e)}getDataCount(e){return this.rowManager.getDataCount(e)}replaceData(e,t,i){return this.initGuard(),this.dataLoader.load(e,t,i,!0,!0)}updateData(e){var t=0;return this.initGuard(),new Promise((i,r)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e&&e.length>0?e.forEach(s=>{var o=this.rowManager.findRow(s[this.options.index]);o?(t++,o.updateData(s).then(()=>{t--,t||i()}).catch(l=>{r("Update Error - Unable to update row",s,l)})):r("Update Error - Unable to find row",s)}):(console.warn("Update Error - No data provided"),r("Update Error - No data provided"))})}addData(e,t,i){return this.initGuard(),new Promise((r,s)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e?this.rowManager.addRows(e,t,i).then(o=>{var l=[];o.forEach(function(u){l.push(u.getComponent())}),r(l)}):(console.warn("Update Error - No data provided"),s("Update Error - No data provided"))})}updateOrAddData(e){var t=[],i=0;return this.initGuard(),new Promise((r,s)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e&&e.length>0?e.forEach(o=>{var l=this.rowManager.findRow(o[this.options.index]);i++,l?l.updateData(o).then(()=>{i--,t.push(l.getComponent()),i||r(t)}):this.rowManager.addRows(o).then(u=>{i--,t.push(u[0].getComponent()),i||r(t)})}):(console.warn("Update Error - No data provided"),s("Update Error - No data provided"))})}getRow(e){var t=this.rowManager.findRow(e);return t?t.getComponent():(console.warn("Find Error - No matching row found:",e),!1)}getRowFromPosition(e){var t=this.rowManager.getRowFromPosition(e);return t?t.getComponent():(console.warn("Find Error - No matching row found:",e),!1)}deleteRow(e){var t=[];this.initGuard(),Array.isArray(e)||(e=[e]);for(let i of e){let r=this.rowManager.findRow(i,!0);if(r)t.push(r);else return console.error("Delete Error - No matching row found:",i),Promise.reject("Delete Error - No matching row found")}return t.sort((i,r)=>this.rowManager.rows.indexOf(i)>this.rowManager.rows.indexOf(r)?1:-1),t.forEach(i=>{i.delete()}),this.rowManager.reRenderInPosition(),Promise.resolve()}addRow(e,t,i){return this.initGuard(),typeof e=="string"&&(e=JSON.parse(e)),this.rowManager.addRows(e,t,i,!0).then(r=>r[0].getComponent())}updateOrAddRow(e,t){var i=this.rowManager.findRow(e);return this.initGuard(),typeof t=="string"&&(t=JSON.parse(t)),i?i.updateData(t).then(()=>i.getComponent()):this.rowManager.addRows(t).then(r=>r[0].getComponent())}updateRow(e,t){var i=this.rowManager.findRow(e);return this.initGuard(),typeof t=="string"&&(t=JSON.parse(t)),i?i.updateData(t).then(()=>Promise.resolve(i.getComponent())):(console.warn("Update Error - No matching row found:",e),Promise.reject("Update Error - No matching row found"))}scrollToRow(e,t,i){var r=this.rowManager.findRow(e);return r?this.rowManager.scrollToRow(r,t,i):(console.warn("Scroll Error - No matching row found:",e),Promise.reject("Scroll Error - No matching row found"))}moveRow(e,t,i){var r=this.rowManager.findRow(e);this.initGuard(),r?r.moveToRow(t,i):console.warn("Move Error - No matching row found:",e)}getRows(e){return this.rowManager.getComponents(e)}getRowPosition(e){var t=this.rowManager.findRow(e);return t?t.getPosition():(console.warn("Position Error - No matching row found:",e),!1)}setColumns(e){this.initGuard(!1,"To set initial columns please use the 'columns' property in the table constructor"),this.columnManager.setColumns(e)}getColumns(e){return this.columnManager.getComponents(e)}getColumn(e){var t=this.columnManager.findColumn(e);return t?t.getComponent():(console.warn("Find Error - No matching column found:",e),!1)}getColumnDefinitions(){return this.columnManager.getDefinitionTree()}showColumn(e){var t=this.columnManager.findColumn(e);if(this.initGuard(),t)t.show();else return console.warn("Column Show Error - No matching column found:",e),!1}hideColumn(e){var t=this.columnManager.findColumn(e);if(this.initGuard(),t)t.hide();else return console.warn("Column Hide Error - No matching column found:",e),!1}toggleColumn(e){var t=this.columnManager.findColumn(e);if(this.initGuard(),t)t.visible?t.hide():t.show();else return console.warn("Column Visibility Toggle Error - No matching column found:",e),!1}addColumn(e,t,i){var r=this.columnManager.findColumn(i);return this.initGuard(),this.columnManager.addColumn(e,t,r).then(s=>s.getComponent())}deleteColumn(e){var t=this.columnManager.findColumn(e);return this.initGuard(),t?t.delete():(console.warn("Column Delete Error - No matching column found:",e),Promise.reject())}updateColumnDefinition(e,t){var i=this.columnManager.findColumn(e);return this.initGuard(),i?i.updateDefinition(t):(console.warn("Column Update Error - No matching column found:",e),Promise.reject())}moveColumn(e,t,i){var r=this.columnManager.findColumn(e),s=this.columnManager.findColumn(t);this.initGuard(),r?s?this.columnManager.moveColumn(r,s,i):console.warn("Move Error - No matching column found:",s):console.warn("Move Error - No matching column found:",e)}scrollToColumn(e,t,i){return new Promise((r,s)=>{var o=this.columnManager.findColumn(e);return o?this.columnManager.scrollToColumn(o,t,i):(console.warn("Scroll Error - No matching column found:",e),Promise.reject("Scroll Error - No matching column found"))})}redraw(e){this.initGuard(),this.columnManager.redraw(e),this.rowManager.redraw(e)}setHeight(e){this.options.height=isNaN(e)?e:e+"px",this.element.style.height=this.options.height,this.rowManager.initializeRenderer(),this.rowManager.redraw(!0)}on(e,t){this.externalEvents.subscribe(e,t)}off(e,t){this.externalEvents.unsubscribe(e,t)}dispatchEvent(){var e=Array.from(arguments);e.shift(),this.externalEvents.dispatch(...arguments)}alert(e,t){this.initGuard(),this.alertManager.alert(e,t)}clearAlert(){this.initGuard(),this.alertManager.clear()}modExists(e,t){return this.modules[e]?!0:(t&&console.error("Tabulator Module Not Installed: "+e),!1)}module(e){var t=this.modules[e];return t||console.error("Tabulator module not installed: "+e),t}}var Rn=gi;class fS extends Rn{static extendModule(){Rn.initializeModuleBinder(Yo),Rn._extendModule(...arguments)}static registerModule(){Rn.initializeModuleBinder(Yo),Rn._registerModule(...arguments)}constructor(e,t,i){super(e,t,Yo)}}var pS=fS;const mS={key:0,class:"bi bi-chevron-up"},gS={key:1,class:"bi bi-chevron-down"},sd=Ie({__name:"SubFilterToggleBtn",props:["modelValue"],emits:["update:modelValue"],setup(n,{emit:e}){const t=e,i=n,r=()=>{t("update:modelValue",!i.modelValue)};return(s,o)=>(a.openBlock(),a.createElementBlock("div",{class:"icon",onClick:r},[n.modelValue?(a.openBlock(),a.createElementBlock("i",mS)):(a.openBlock(),a.createElementBlock("i",gS))]))}},[["__scopeId","data-v-4810f2ed"]]),Ko={gender:{MALE:1,FEMALE:2},timeTypes:{HOUR:1,DAY:2,WEEK:3,MONTH:4,YEAR:5},customPerPageOptions:[{id:10,label:10},{id:40,label:40},{id:100,label:100},{id:150,label:150},{id:200,label:200}],mask_regex:{INTEGER:"^[0-9]*$",DECIMAL:"^[0-9]{1,10}[.]?[0-9]{1}$",HUNDREDTHS:"^([0]{1}[.][0-9]{1,2}|[1-9][0-9]*[.]?[0-9]{1,2})$",THOUSANDS:"^([0]{1}[.][0-9]{1,2}|[1-9][0-9]*[.]?[0-9]{1,3})$",NO_LIMIT_AFTER_DOT:"^[0-9]{1,10}[.]?[0-9]*$",ABOVE_ONE:"^[1-9]+[0-9]*$",NO_START_SPACE:"^[^ ]+.*$",NO_SPACE:"[^ ]*"}};Object.preventExtensions(Ko);function bS(){return{}}const vS="data:image/gif;base64,R0lGODlhQABAANUAAAQCBISGhMTGxERCROTm5KSmpCQiJGRiZNTW1LS2tPT29BQSFJSWlFRSVDQyNHR2dMzOzOzu7KyurGxqbNze3Ly+vFxaXAwKDIyOjCwqLPz+/BweHKSipDw6PMzKzExKTOzq7KyqrCQmJGRmZNza3Ly6vPz6/BQWFJyanFRWVDQ2NHx+fNTS1PTy9LSytGxubOTi5MTCxFxeXAwODJSSlP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAgA1ACwAAAAAQABAAAAG/sCacEgsGo/IpHLJbDqf0Kh0Sq1ar9isdsvteikPiHfcAGxa424AAFilua0NG/behtipulbTYcf0WRBsDiaAWCNsKIZXBDMAJ2iLVRhsLpJHFA0BCkomBymRezAInE0PbBshGpIgHgIeFE4QcmwdYnotCAK7HqFMLStsbCMgaQoUvB4whVEwKcIzGMxaJgSuHjGkVjEOwgdcyLssEVkKKCcAFlwkryDTWREJvlgm7pf3+Pn6+/yLFAkAAwZkUYcAhYMIEc4TEuGCsIfC/owhgIFGxYsWK5Yi0hAiRIleKGIYSRLjRiL/BAq8lQYECRgvY5KgsLCfzZs4c+oE1MJF+80qCiD8pGLiXDouGFIcqPCuCjdvXBg0SNHgAQIrzqBJ42LChQ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WRUWCSocglgLeReJVzAyCQZojlUveRCVRxUJAZRIKQssn1kpCAIwTioAAB0iiIkpMQoiIplNEB2sADa3dhMXtQQvE08wNLsAJHVjDBC1IhItKVIxJrs1D9RbphLQqFYzFLsGXCDQCsVYDCgrABZcAtEVsFoTCqncBaSa/f7/AAMKtFNBgcGDB1vYiYGgoUOH6opMyJCsIoAZaSo00NCgo8eOKvIRmWgxGcYxGjtyXMkx5CaEMH2NKfCwJrOBOHPq3MlTE/6MFyKzMJgRFEuKdu+40PAQQUK9cONYldsSgIIHDzJkVrvGKts2LSkIhLDqAUMBKQyQ7SJxdsyED1cp2EDBT0muXb0EIdBw1YOLEqpYufrKh4MCFx4oLHBSolNdIikMWCiaBIYFEoSNMNigIgaXB6xeOJHAao+mETUArIg4RMBJIjDc1biZiAQrFEYgsNJ6AwUrEpV0A6BQ9wQrBUZSROU9hsMAVo2MKDh+5AIrG0/TiGBlAsl0AMiPcHVjh4EuAJ6PfA9vpILgx1RZ0UiyPonaAHYStKI8pD4S8wAkYEcJKjDXH3VJQKACYAL511MRDj44RAUZ1CCGhBLRhuGGHAPiFAQAOw==",yS={class:"position-relative",style:{"min-height":"300px"}},wS={class:"placeholder-glow"},CS={class:"tabulator hide-to-print sticky-bottom bg-white"},AS={class:"row"},ES={key:0,class:"col-auto"},kS={class:"col"},SS={class:"tabulator-footer",ref:"footer"},xS=["id"],RS=["disabled"],MS={key:0,class:"spinner-border spinner-border-sm",role:"status","aria-hidden":"true"},TS=a.defineComponent({__name:"Table",props:{langs:{type:Object,default:()=>({})},paginationPage:{type:Number,default:null},locale:{type:String,default:"en-en"},columnHide:{type:String,default:""},columnShow:{type:String,default:""},options:{type:Object,default:()=>({}),required:!0},filters:{type:[Array,Function,Object],default:()=>[]},tableData:{type:Array,default:()=>[]},showAllColumnsIfAllHidden:{type:Boolean,default:!1},parentComponent:{type:Object,default:()=>({})},selectedRowsStorage:{type:Array,default:()=>[]},isVisibleColumnSubFilter:{type:Boolean,default:null},loadMoreText:{type:String,default:"Load More"},noDataText:{type:String,default:"No data found"},paginationLimitText:{type:String,default:"Please use pagination to navigate"}},emits:["selectedRow","unselectedRow","updateSelectedRows","updateUnselectedRows","updateTable","onHideColumn","onShowColumn","onTableRowClick","onCellClick","onTableRowMoved","pageLoaded","savePaginationPage","updateIsVisibleColumnSubFilter"],setup(n,{emit:e}){const t=n,i=e,r=a.inject("selectedTabIndex",a.ref()),s=a.inject("selectAll",a.ref(0)),o=a.ref(""),l=a.ref(null),u=a.ref({data:[],rows:[]}),c=a.ref(new Set(t.selectedRowsStorage)),d=a.ref(!1),f=a.ref(pi()),p=a.ref(null),h=a.ref(null),x=a.ref(!1),y=a.ref(null),A=a.ref(!1),C=a.computed(()=>t.options?.paginationMode==="remote"),m=a.computed(()=>Ko.customPerPageOptions),D=a.useSlots(),g=V=>!!D[V],M=()=>{o.value=""},v=V=>!V||!V.length?[]:V.map(W=>W),S=()=>{if(!p.value)return;const V=p.value.querySelector(".tabulator-header");!V||t.isVisibleColumnSubFilter===null||zi(V,sd,{modelValue:t.isVisibleColumnSubFilter,"onUpdate:modelValue":W=>i("updateIsVisibleColumnSubFilter",W)})},w=()=>{if(!p.value)return;const V=p.value.querySelector(".tabulator-header");V&&(V.classList.add("position-relative"),S())},k=()=>{if(!h.value)return null;const V=h.value;if(typeof V.getPageMax=="function"){const le=V.getPageMax();if(le!=null&&!Number.isNaN(Number(le)))return Number(le)}const W=V.last_page;return W!=null&&W!==""&&!Number.isNaN(Number(W))?Number(W):null},b=()=>{if(!h.value)return;const V=p.value?.parentNode?.querySelector(".tabulator-footer"),W=p.value?.parentNode?.querySelector(".tabulator-pages"),le=k();if(le==null||le<1||Number.isNaN(le)){V&&V.classList.add("d-none");return}le>1?(V&&V.classList.remove("d-none"),W&&W.style.display==="none"&&(W.style.display="")):V&&V.classList.add("d-none")},T=()=>{A.value||(x.value=!0)},R=()=>{A.value},L=V=>{x.value=!1,A.value},N=()=>{A.value||(d.value=!0,i("updateTable",h.value),h.value&&h.value.selectRow(Array.from(c.value)))},j=V=>{A.value||(setTimeout(()=>{A.value||i("savePaginationPage",V)}),C.value&&b(),s.value>0&&i("pageLoaded"),w())},G=V=>{if(A.value)return;const W=V.getData(),le=h.value?.options?.index||"id",oe=W[le]??null;oe!==null&&(c.value.add(oe),u.value.data.push(W),u.value.rows.push(V),i("updateSelectedRows",{data:u.value.data,row:u.value.rows}),i("selectedRow",{data:W,row:V}))},I=V=>{if(A.value)return;const W=V.getData(),le=h.value?.options?.index||"id",oe=W[le]??null;if(oe===null)return;c.value.delete(oe);const ye=u.value.data.findIndex(we=>we[le]===oe);ye!==-1&&(u.value.data.splice(ye,1),u.value.rows.splice(ye,1)),i("updateUnselectedRows",{data:W,row:V}),i("unselectedRow",{data:W,row:V})},H=function(){A.value||(h.value&&h.value.selectRow(Array.from(c.value)),x.value=!1,C.value&&b())},J=(V,W)=>{if(A.value)return;if(W?._cell?.column?.definition?.hasCellClickHandler){i("onCellClick",V,W);return}const le=[],oe=V.target;for(let ye=0;ye<oe.childNodes.length;ye++){const we=oe.childNodes[ye];we.nodeName==="INPUT"&&we.type==="checkbox"&&le.push("checkbox")}le.includes("checkbox")||i("onTableRowClick",V,W._cell.row,t.parentComponent)},F=V=>{A.value||h.value&&i("onTableRowMoved",h.value.getColumnLayout())},P=()=>{A.value||setTimeout(()=>{A.value})},Q=()=>{A.value||setTimeout(()=>{if(A.value)return;const V=p.value?.parentElement?.querySelector(".tabulator-paginator");V&&!y.value&&(y.value=new MutationObserver(()=>{const W=p.value?.parentElement?.querySelector(".tabulator-pages"),le=k();W&&le!=null&&!Number.isNaN(le)&&le>1&&W.style.display==="none"&&(W.style.display="")}),y.value.observe(V,{childList:!0,subtree:!0,attributes:!0})),de()})},z=()=>{d.value=!1},q=()=>{if(!p.value||C.value&&!t.options.ajaxResponse||h.value)return;x.value=!0;const V=bS(),W=t.langs&&typeof t.langs=="object"?t.langs:{},le={...t.options,...C.value?{}:{data:t.tableData},langs:{...V,...W},locale:t.locale,columns:v(t.options.columns),dataLoaderLoading:`<img alt="" src="${vS}">`,placeholder:t.noDataText,...t.options.ajaxResponse?{ajaxResponse:t.options.ajaxResponse}:{}};C.value&&(delete le.ajaxURL,le.footerElement=`#tabulator-footer${f.value}`),h.value=new pS(p.value,le),h.value.on("dataLoading",T),h.value.on("dataLoaded",R),h.value.on("dataLoadError",L),h.value.on("tableBuilt",N),h.value.on("pageLoaded",j),h.value.on("rowSelected",G),h.value.on("rowDeselected",I),h.value.on("dataProcessed",H),h.value.on("cellClick",J),h.value.on("columnMoved",F),h.value.on("renderStarted",P),h.value.on("renderComplete",Q),h.value.on("tableDestroyed",z)},X=V=>{if(A.value||!d.value||!V||!h.value)return;const W=h.value.options.ajaxParams;W&&(W.per_page=Number(V)),h.value.options.paginationSize=Number(V),h.value.setPageSize(V)},K=()=>{if(A.value||!h.value)return;const V=640,W=h.value.options;if(C.value){const le=W.ajaxParams?.per_page??W.paginationSize??h.value.getPageSize()??10,oe=Number(le);if(!Number.isFinite(oe)||oe<1)return;if(oe>=V){o.value=t.paginationLimitText;return}const we=Math.min(oe+oe,V);W.ajaxParams||(W.ajaxParams={}),W.ajaxParams.per_page=we,W.paginationSize=we,h.value.setPageSize(we),we>=V&&(o.value=t.paginationLimitText);return}else{const le=h.value.getPageSize();if(typeof le=="number"&&le<V){const oe=le;h.value.setPageSize(Math.min(le+oe,V))}}W.paginationSize>=V&&(o.value=t.paginationLimitText)},se=V=>{A.value||V===""||!h.value||(h.value.showColumn(V),i("onShowColumn",h.value.getColumnLayout()))},U=V=>{A.value||V===""||!h.value||(h.value.hideColumn(V),i("onHideColumn",h.value.getColumnLayout()))},Z=V=>{A.value||!h.value||(V.filter(({visible:W})=>!W).length===V.length?V.map(({field:W})=>{a.nextTick(()=>{!A.value&&h.value&&h.value.showColumn(W)})}):V.map(({field:W,visible:le})=>{!A.value&&h.value&&(le?h.value.showColumn(W):h.value.hideColumn(W))}))},de=()=>{a.nextTick(()=>{if(A.value||!h.value||h.value.getPage()!==1||!t.paginationPage||t.paginationPage===h.value.getPage())return!1;h.value.setPage(t.paginationPage)})};return a.onMounted(()=>{q()}),a.onBeforeUnmount(()=>{A.value=!0,y.value&&(y.value.disconnect(),y.value=null),h.value&&(h.value.destroy(),h.value=null)}),a.watch(()=>t.columnShow,V=>{V&&se(V)}),a.watch(()=>t.columnHide,V=>{V&&U(V)}),a.watch(()=>t.filters,V=>{A.value||!h.value||h.value.setFilter(V)},{deep:!0}),a.watch(()=>t.tableData,V=>{A.value||!h.value||C.value||h.value.setData(V)},{deep:!1}),a.watch(()=>t.options.ajaxResponse,V=>{A.value||(h.value&&V?h.value.options.ajaxResponse=V:C.value&&V&&!h.value&&a.nextTick(()=>{A.value||!p.value||q()}))}),a.watch(()=>t.options,V=>{A.value||C.value&&V.ajaxResponse&&!h.value&&a.nextTick(()=>{A.value||!p.value||q()})},{deep:!0}),a.watch(r,()=>{A.value||!h.value||h.value.deselectRow()}),a.watch(s,V=>{A.value||V<=0||!h.value||h.value.selectRow()}),a.watch(()=>t.options.columns,V=>{A.value||!d.value||!h.value||!V||(!V.find(({visible:W})=>W)&&t.showAllColumnsIfAllHidden?Z(V):h.value.setColumns(V))},{deep:!0}),a.watch(()=>t.selectedRowsStorage,V=>{A.value||!V||(c.value=new Set(V))},{deep:!0}),a.watch(d,V=>{A.value||!V||(t.showAllColumnsIfAllHidden&&Z(t.options.columns||[]),t.tableData.length>0&&!C.value&&h.value&&h.value.setData(t.tableData))},{deep:!0}),(V,W)=>(a.openBlock(),a.createElementBlock("div",yS,[a.withDirectives(a.createElementVNode("p",wS,[...W[2]||(W[2]=[a.createStaticVNode('<span class="placeholder col-12 mb-1" style="min-height:50px;"></span><span class="placeholder col-12 mb-1" style="min-height:50px;"></span><span class="placeholder col-12 mb-1" style="min-height:50px;"></span><span class="placeholder col-12 mb-1" style="min-height:50px;"></span><span class="placeholder col-12 mb-1" style="min-height:50px;"></span><span class="placeholder col-12 mb-1" style="min-height:50px;"></span><span class="placeholder col-12 mb-1" style="min-height:50px;"></span><span class="placeholder col-12 mb-1" style="min-height:50px;"></span><span class="placeholder col-12 mb-1" style="min-height:50px;"></span><span class="placeholder col-12 mb-1" style="min-height:50px;"></span>',10)])],512),[[a.vShow,x.value]]),a.withDirectives(a.createElementVNode("div",{ref_key:"tableRef",ref:p},null,512),[[a.vShow,!x.value]]),a.withDirectives(a.createElementVNode("div",CS,[a.createElementVNode("div",AS,[g("table-footer-left")?(a.openBlock(),a.createElementBlock("div",ES,[a.renderSlot(V.$slots,"table-footer-left")])):a.createCommentVNode("",!0),a.createElementVNode("div",kS,[a.createElementVNode("div",SS,[a.createElementVNode("div",{class:"tabulator-footer-contents d-flex",id:`tabulator-footer${f.value}`},[a.createElementVNode("button",{class:"btn btn-primary me-3",id:"loadMoreButton",onClick:K,disabled:x.value},[a.createTextVNode(a.toDisplayString(n.loadMoreText)+" ",1),W[3]||(W[3]=a.createElementVNode("i",{class:"bi bi-plus-lg"},null,-1)),x.value?(a.openBlock(),a.createElementBlock("div",MS)):a.createCommentVNode("",!0)],8,RS),a.createVNode(Vt,{class:"me-3",style:{"min-width":"150px"},modelValue:l.value,"onUpdate:modelValue":[W[0]||(W[0]=le=>l.value=le),W[1]||(W[1]=le=>X(le))],allowClear:!1,options:m.value,dropDownPlacement:"top"},null,8,["modelValue","options"])],8,xS)],512)])])],512),[[a.vShow,C.value]]),a.createVNode(Jc,{message:o.value,onClearMessage:M},null,8,["message"])]))}}),DS={class:"r3-table-count__wrapper px-3"},OS={class:"r3-table-count__label pe-2"},LS={class:"r3-table-count__value"},BS=Ie(a.defineComponent({__name:"TableCount",props:{label:{default:""},count:{default:0},defaultLabel:{default:"-"},defaultCount:{default:"-"},size:{default:"medium"},showSeparator:{type:Boolean,default:!0}},setup(n){const e=n,t=a.computed(()=>e.label||e.defaultLabel),i=a.computed(()=>e.count===null||e.count===void 0||e.count===""?e.defaultCount:e.count);return(r,s)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["r3-table-count",[`r3-table-count--${r.size}`]])},[a.createElementVNode("div",DS,[a.createElementVNode("span",OS,a.toDisplayString(t.value)+":",1),a.createElementVNode("span",LS,a.toDisplayString(i.value),1)])],2))}}),[["__scopeId","data-v-87be8b13"]]),FS=Ie(a.defineComponent({__name:"ColumnSubFilter",props:{tableRefEl:{default:void 0},columnField:{default:""},mountedComponent:{default:void 0},dataProps:{default:()=>({})},table:{default:void 0},isVisible:{type:Boolean,default:!1}},setup(n){const e=n;function t(){if(!e?.tableRefEl)return!1;const i=`[tabulator-field='${e.columnField}']`,r=e.tableRefEl?.querySelector(i);if(!e.table||!r)return!1;if(e.isVisible&&r&&e.mountedComponent)return zi(r,e.mountedComponent,e.dataProps),!1;zi(r,null,{},!0)}return a.watch(()=>e,()=>{t()},{deep:!0}),a.onMounted(()=>{t()}),(i,r)=>null}}),[["__scopeId","data-v-0ddbb5a3"]]),_S=Ie(a.defineComponent({__name:"TableAppliedFiltersStorage",props:{tableName:{},filters:{}},emits:["update:filters"],setup(n,{expose:e,emit:t}){const i=n,r=t,s=a.computed(()=>"default-page"),o=a.toRef(i,"filters");function l(){let p=localStorage.getItem("filters"),h=p?JSON.parse(p):{};h={...oi(h),[s.value]:{[i.tableName]:d(o.value)}};const x=JSON.stringify(h);return localStorage.setItem("filters",x),p=localStorage.getItem("filters"),p?JSON.parse(p):{}}function u(p){return!(!p||!p[s.value]||!p[s.value][i.tableName])}function c(p){const h=JSON.parse(p);return u(h)?(p=localStorage.getItem("filters")||"{}",JSON.parse(p)):l()}function d(p){const h={};for(const[x,y]of Object.entries(p))h[x]=oi(y._value||y);return h}function f(){let p=localStorage.getItem("filters");if(!p)return r("update:filters",{}),!1;let h=c(p);if(!h[s.value]||!h[s.value][i.tableName])return r("update:filters",{}),!1;const x=d(h[s.value][i.tableName]);return r("update:filters",{...x}),!0}return e({getFilters:f,saveFilters:l}),(p,h)=>a.createCommentVNode("",!0)}}),[["__scopeId","data-v-08a5ac04"]]),PS={class:"row pt-3"},NS={class:"col-12"},IS=["onClick"],HS=Ie(a.defineComponent({__name:"TableQuickFilterComponent",props:{filterList:{},defaultSelected:{default:""}},emits:["emitSelected"],setup(n,{emit:e}){const t=e,i=r=>{t("emitSelected",r)};return(r,s)=>(a.openBlock(),a.createElementBlock("div",PS,[a.createElementVNode("div",NS,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(r.filterList,(o,l)=>(a.openBlock(),a.createElementBlock("button",{onClick:u=>i(o.name),class:a.normalizeClass(["btn filter-item",{active:r.defaultSelected===o.name,disabled:o.disabled}]),key:l},a.toDisplayString(o.title),11,IS))),128))])]))}}),[["__scopeId","data-v-cdf25b7c"]]),VS={key:0,class:"col-4 mb-2"},zS={class:"form-check"},jS=["checked","id","onChange"],WS=["for"],US=["innerHTML"],GS={class:"col-auto"},YS={class:"col-auto ps-0"},QS={class:"col-auto ps-0"},Jo=Ie(a.defineComponent({__name:"EditTableColumns",props:{title:{default:"Table Data"},modalVisibility:{type:Boolean,default:!1},columns:{default:()=>[]},applyText:{default:"Apply"},selectAllText:{default:"Select All"},unselectAllText:{default:"Unselect All"}},emits:["emitModalVisibility","columnVisibilityChange","apply","selectAll","unselectAll"],setup(n,{emit:e}){const t=n,i=e,r=a.ref([...t.columns]),s=a.ref([...t.columns]);a.watch(()=>t.columns,h=>{JSON.stringify(h)!==JSON.stringify(s.value)&&(r.value=[...h],s.value=[...h],l())},{deep:!0});const o=a.ref(!0);function l(){const x=r.value.filter(y=>y.title).some(y=>!y.visible);o.value=x,a.triggerRef(o)}l();const u=h=>{i("emitModalVisibility",h)},c=(h,x)=>{const y=h.target,A=r.value.findIndex(C=>C.field===x);A!==-1&&(r.value[A].visible=y.checked,l()),i("columnVisibilityChange",h,x)},d=()=>{i("apply",r.value)},f=()=>{const h=r.value.map(x=>({...x,visible:x.title?!0:x.visible}));r.value=h,s.value=[...h],l(),i("selectAll")},p=()=>{const h=r.value.map(x=>({...x,visible:x.title?!1:x.visible}));r.value=h,s.value=[...h],l(),i("unselectAll")};return(h,x)=>(a.openBlock(),a.createBlock(Uc,{title:h.title,"modal-visibility":h.modalVisibility,onEmitModalVisibility:u},{"modal-body":a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(r.value,(y,A)=>(a.openBlock(),a.createElementBlock(a.Fragment,{key:A},[y.title?(a.openBlock(),a.createElementBlock("div",VS,[a.createElementVNode("div",zS,[a.createElementVNode("input",{checked:y.visible,class:"form-check-input",type:"checkbox",id:y.field,ref_for:!0,ref:"editColumns",onChange:C=>c(C,y.field)},null,40,jS),a.createElementVNode("label",{class:"form-check-label",for:y.field},[a.createElementVNode("span",{class:"lh-sm",innerHTML:y.title},null,8,US)],8,WS)])])):a.createCommentVNode("",!0)],64))),128))]),"modal-footer":a.withCtx(()=>[a.createElementVNode("div",GS,[a.createElementVNode("button",{type:"button",class:"btn btn-primary px-4",onClick:d},a.toDisplayString(h.applyText),1)]),a.createElementVNode("div",YS,[a.createElementVNode("div",QS,[o.value?(a.openBlock(),a.createElementBlock("button",{key:"select-all",type:"button",class:"btn btn-light",onClick:f},a.toDisplayString(h.selectAllText),1)):a.createCommentVNode("",!0),o.value?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("button",{key:"unselect-all",type:"button",class:"btn btn-light",onClick:p},a.toDisplayString(h.unselectAllText),1))])])]),_:1},8,["title","modal-visibility"]))}}),[["__scopeId","data-v-7c63c539"]]);function qo(n,e){const t=a.ref(!1),i=a.ref([...n]);a.watch(()=>n,x=>{i.value=[...x]},{deep:!0});function r(x){t.value=x}function s(x,y){const A=x.target,C=i.value.map(m=>m.field===y?{...m,visible:A.checked}:m);i.value=C,e&&e.value&&(e.value.columns=C)}function o(x){console.log("useTableColumns handleColumnsApply called, received columns:",x),console.log("useTableColumns current tableColumns before update:",i.value),t.value=!1,l(x),u()}function l(x){x&&(i.value=[...x],console.log("useTableColumns tableColumns after update:",i.value))}function u(){if(!e||!e.value){console.log("useTableColumns tableOptions not available");return}console.log("useTableColumns updating tableOptions.columns:",i.value),e.value.columns=i.value,console.log("useTableColumns tableOptions.columns after update:",e.value.columns)}function c(){const x=i.value.map(y=>({...y,visible:y.title?!0:y.visible}));i.value=x,e&&e.value&&(e.value.columns=x)}function d(){const x=i.value.map(y=>({...y,visible:y.title?!1:y.visible}));i.value=x,e&&e.value&&(e.value.columns=x)}const f=a.computed(()=>i.value.filter(x=>x.visible));function p(x){i.value=[...x],e&&e.value&&(e.value.columns=x)}function h(){i.value=[...n],e&&e.value&&(e.value.columns=[...n])}return{columnsModalVisibility:t,tableColumns:i,visibleColumns:f,handleColumnsModalVisibility:r,handleColumnVisibilityChange:s,handleColumnsApply:o,handleColumnsSelectAll:c,handleColumnsUnselectAll:d,updateColumns:p,resetColumns:h}}const KS=a.defineComponent({__name:"TableColumnsButton",props:{columns:{},tableOptions:{},title:{default:"Table Columns Settings"},applyText:{default:"Apply"},selectAllText:{default:"Select All"},unselectAllText:{default:"Unselect All"}},emits:["columns-changed","apply"],setup(n,{emit:e}){const t=n,i=e,{columnsModalVisibility:r,tableColumns:s,handleColumnsModalVisibility:o,handleColumnVisibilityChange:l,handleColumnsSelectAll:u,handleColumnsUnselectAll:c,updateColumns:d}=qo(t.columns,t.tableOptions);a.watch(()=>t.columns,h=>{d(h)},{deep:!0});function f(){r.value=!0}function p(h){r.value=!1,h&&Array.isArray(h)&&(s.value=[...h],i("columns-changed",h)),i("apply")}return(h,x)=>(a.openBlock(),a.createElementBlock("div",null,[a.createVNode(Fr,{styles:"light",onSubmit:f,icon:"gear-fill"}),a.createVNode(Jo,{title:h.title,"modal-visibility":a.unref(r),columns:a.unref(s),"apply-text":h.applyText,"select-all-text":h.selectAllText,"unselect-all-text":h.unselectAllText,onEmitModalVisibility:a.unref(o),onColumnVisibilityChange:a.unref(l),onApply:p,onSelectAll:a.unref(u),onUnselectAll:a.unref(c)},null,8,["title","modal-visibility","columns","apply-text","select-all-text","unselect-all-text","onEmitModalVisibility","onColumnVisibilityChange","onSelectAll","onUnselectAll"])]))}}),JS=a.defineComponent({__name:"TableColumnsModal",props:{columns:{},tableOptions:{},title:{default:"Настройка колонок таблицы"},applyText:{default:"Применить"},selectAllText:{default:"Выбрать все"},unselectAllText:{default:"Снять все"}},emits:["columns-changed","apply"],setup(n,{emit:e}){const t=n,i=e,{columnsModalVisibility:r,tableColumns:s,handleColumnsModalVisibility:o,handleColumnVisibilityChange:l,handleColumnsSelectAll:u,handleColumnsUnselectAll:c,updateColumns:d}=qo(t.columns,t.tableOptions);a.watch(()=>t.columns,h=>{d(h)},{deep:!0});function f(){r.value=!0}function p(h){r.value=!1,h&&Array.isArray(h)&&(s.value=[...h],i("columns-changed",h)),i("apply")}return(h,x)=>(a.openBlock(),a.createElementBlock("div",null,[a.createVNode(Fr,{styles:"light",onSubmit:f,icon:"gear-fill"}),a.createVNode(Jo,{title:h.title,"modal-visibility":a.unref(r),columns:a.unref(s),"apply-text":h.applyText,"select-all-text":h.selectAllText,"unselect-all-text":h.unselectAllText,onEmitModalVisibility:a.unref(o),onColumnVisibilityChange:a.unref(l),onApply:p,onSelectAll:a.unref(u),onUnselectAll:a.unref(c)},null,8,["title","modal-visibility","columns","apply-text","select-all-text","unselect-all-text","onEmitModalVisibility","onColumnVisibilityChange","onSelectAll","onUnselectAll"])]))}}),qS={"data-test":"ToggleAllTableRowButtons",class:"toggle-all-rows-controls"},$S={key:2,class:"selected-count"},ZS=Ie(a.defineComponent({__name:"ToggleAllTableRowButtons",props:{selectedRows:{default:()=>[]},selectAllText:{default:"Выбрать все"},unselectAllText:{default:"Снять все"},selectedText:{default:"Выбрано"},showCount:{type:Boolean,default:!0}},emits:["selectAll","unselectAll"],setup(n,{emit:e}){const t=e,i=()=>{t("selectAll")},r=()=>{t("unselectAll")};return(s,o)=>(a.openBlock(),a.createElementBlock("div",qS,[s.selectedRows.length>0?(a.openBlock(),a.createElementBlock("button",{key:0,class:"btn btn-light me-3",onClick:r},a.toDisplayString(s.unselectAllText),1)):a.createCommentVNode("",!0),s.selectedRows.length===0?(a.openBlock(),a.createElementBlock("button",{key:1,class:"btn btn-primary me-3",onClick:i},a.toDisplayString(s.selectAllText),1)):a.createCommentVNode("",!0),s.showCount?(a.openBlock(),a.createElementBlock("div",$S,a.toDisplayString(s.selectedText)+": "+a.toDisplayString(s.selectedRows.length),1)):a.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-010ff090"]]),XS={class:"row pt-3"},e1={class:"col-12"},t1=["onClick"],i1=Ie(a.defineComponent({__name:"MultipleQuickFilterComponent",props:{filterList:{},defaultSelected:{default:()=>({})}},emits:["emitSelected"],setup(n,{emit:e}){const t=n,i=e,r=s=>{t.filterList[s].disabled||(t.filterList[s].value=!t.filterList[s].value,i("emitSelected",t.filterList))};return a.watch(()=>t.defaultSelected,s=>{s&&Object.keys(s).length>0&&t.filterList.forEach((o,l)=>{const u=Object.keys(s)[l];u&&s[u]!==void 0&&(o.value=s[u])})},{immediate:!0}),(s,o)=>(a.openBlock(),a.createElementBlock("div",XS,[a.createElementVNode("div",e1,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(s.filterList,(l,u)=>(a.openBlock(),a.createElementBlock("button",{onClick:c=>r(u),class:a.normalizeClass(["btn filter-item",{active:s.filterList[u].value,disabled:s.filterList[u].disabled}]),key:u},a.toDisplayString(l.title),11,t1))),128))])]))}}),[["__scopeId","data-v-1a1bfba2"]]);var bi;(function(n){n.Range="range",n.Steps="steps",n.Positions="positions",n.Count="count",n.Values="values"})(bi||(bi={}));var bt;(function(n){n[n.None=-1]="None",n[n.NoValue=0]="NoValue",n[n.LargeValue=1]="LargeValue",n[n.SmallValue=2]="SmallValue"})(bt||(bt={}));function n1(n){return Rr(n)&&typeof n.from=="function"}function Rr(n){return typeof n=="object"&&typeof n.to=="function"}function ad(n){n.parentElement.removeChild(n)}function $o(n){return n!=null}function od(n){n.preventDefault()}function r1(n){return n.filter(function(e){return this[e]?!1:this[e]=!0},{})}function s1(n,e){return Math.round(n/e)*e}function a1(n,e){var t=n.getBoundingClientRect(),i=n.ownerDocument,r=i.documentElement,s=cd(i);return/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(s.x=0),e?t.top+s.y-r.clientTop:t.left+s.x-r.clientLeft}function zt(n){return typeof n=="number"&&!isNaN(n)&&isFinite(n)}function ld(n,e,t){t>0&&(mt(n,e),setTimeout(function(){Tr(n,e)},t))}function ud(n){return Math.max(Math.min(n,100),0)}function Mr(n){return Array.isArray(n)?n:[n]}function o1(n){n=String(n);var e=n.split(".");return e.length>1?e[1].length:0}function mt(n,e){n.classList&&!/\s/.test(e)?n.classList.add(e):n.className+=" "+e}function Tr(n,e){n.classList&&!/\s/.test(e)?n.classList.remove(e):n.className=n.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," ")}function l1(n,e){return n.classList?n.classList.contains(e):new RegExp("\\b"+e+"\\b").test(n.className)}function cd(n){var e=window.pageXOffset!==void 0,t=(n.compatMode||"")==="CSS1Compat",i=e?window.pageXOffset:t?n.documentElement.scrollLeft:n.body.scrollLeft,r=e?window.pageYOffset:t?n.documentElement.scrollTop:n.body.scrollTop;return{x:i,y:r}}function u1(){return window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"}}function c1(){var n=!1;try{var e=Object.defineProperty({},"passive",{get:function(){n=!0}});window.addEventListener("test",null,e)}catch{}return n}function d1(){return window.CSS&&CSS.supports&&CSS.supports("touch-action","none")}function Zo(n,e){return 100/(e-n)}function Xo(n,e,t){return e*100/(n[t+1]-n[t])}function h1(n,e){return Xo(n,n[0]<0?e+Math.abs(n[0]):e-n[0],0)}function f1(n,e){return e*(n[1]-n[0])/100+n[0]}function Mn(n,e){for(var t=1;n>=e[t];)t+=1;return t}function p1(n,e,t){if(t>=n.slice(-1)[0])return 100;var i=Mn(t,n),r=n[i-1],s=n[i],o=e[i-1],l=e[i];return o+h1([r,s],t)/Zo(o,l)}function m1(n,e,t){if(t>=100)return n.slice(-1)[0];var i=Mn(t,e),r=n[i-1],s=n[i],o=e[i-1],l=e[i];return f1([r,s],(t-o)*Zo(o,l))}function g1(n,e,t,i){if(i===100)return i;var r=Mn(i,n),s=n[r-1],o=n[r];return t?i-s>(o-s)/2?o:s:e[r-1]?n[r-1]+s1(i-n[r-1],e[r-1]):i}var dd=(function(){function n(e,t,i){this.xPct=[],this.xVal=[],this.xSteps=[],this.xNumSteps=[],this.xHighestCompleteStep=[],this.xSteps=[i||!1],this.xNumSteps=[!1],this.snap=t;var r,s=[];for(Object.keys(e).forEach(function(o){s.push([Mr(e[o]),o])}),s.sort(function(o,l){return o[0][0]-l[0][0]}),r=0;r<s.length;r++)this.handleEntryPoint(s[r][1],s[r][0]);for(this.xNumSteps=this.xSteps.slice(0),r=0;r<this.xNumSteps.length;r++)this.handleStepPoint(r,this.xNumSteps[r])}return n.prototype.getDistance=function(e){for(var t=[],i=0;i<this.xNumSteps.length-1;i++)t[i]=Xo(this.xVal,e,i);return t},n.prototype.getAbsoluteDistance=function(e,t,i){var r=0;if(e<this.xPct[this.xPct.length-1])for(;e>this.xPct[r+1];)r++;else e===this.xPct[this.xPct.length-1]&&(r=this.xPct.length-2);!i&&e===this.xPct[r+1]&&r++,t===null&&(t=[]);var s,o=1,l=t[r],u=0,c=0,d=0,f=0;for(i?s=(e-this.xPct[r])/(this.xPct[r+1]-this.xPct[r]):s=(this.xPct[r+1]-e)/(this.xPct[r+1]-this.xPct[r]);l>0;)u=this.xPct[r+1+f]-this.xPct[r+f],t[r+f]*o+100-s*100>100?(c=u*s,o=(l-100*s)/t[r+f],s=1):(c=t[r+f]*u/100*o,o=0),i?(d=d-c,this.xPct.length+f>=1&&f--):(d=d+c,this.xPct.length-f>=1&&f++),l=t[r+f]*o;return e+d},n.prototype.toStepping=function(e){return e=p1(this.xVal,this.xPct,e),e},n.prototype.fromStepping=function(e){return m1(this.xVal,this.xPct,e)},n.prototype.getStep=function(e){return e=g1(this.xPct,this.xSteps,this.snap,e),e},n.prototype.getDefaultStep=function(e,t,i){var r=Mn(e,this.xPct);return(e===100||t&&e===this.xPct[r-1])&&(r=Math.max(r-1,1)),(this.xVal[r]-this.xVal[r-1])/i},n.prototype.getNearbySteps=function(e){var t=Mn(e,this.xPct);return{stepBefore:{startValue:this.xVal[t-2],step:this.xNumSteps[t-2],highestStep:this.xHighestCompleteStep[t-2]},thisStep:{startValue:this.xVal[t-1],step:this.xNumSteps[t-1],highestStep:this.xHighestCompleteStep[t-1]},stepAfter:{startValue:this.xVal[t],step:this.xNumSteps[t],highestStep:this.xHighestCompleteStep[t]}}},n.prototype.countStepDecimals=function(){var e=this.xNumSteps.map(o1);return Math.max.apply(null,e)},n.prototype.hasNoSize=function(){return this.xVal[0]===this.xVal[this.xVal.length-1]},n.prototype.convert=function(e){return this.getStep(this.toStepping(e))},n.prototype.handleEntryPoint=function(e,t){var i;if(e==="min"?i=0:e==="max"?i=100:i=parseFloat(e),!zt(i)||!zt(t[0]))throw new Error("noUiSlider: 'range' value isn't numeric.");this.xPct.push(i),this.xVal.push(t[0]);var r=Number(t[1]);i?this.xSteps.push(isNaN(r)?!1:r):isNaN(r)||(this.xSteps[0]=r),this.xHighestCompleteStep.push(0)},n.prototype.handleStepPoint=function(e,t){if(t){if(this.xVal[e]===this.xVal[e+1]){this.xSteps[e]=this.xHighestCompleteStep[e]=this.xVal[e];return}this.xSteps[e]=Xo([this.xVal[e],this.xVal[e+1]],t,0)/Zo(this.xPct[e],this.xPct[e+1]);var i=(this.xVal[e+1]-this.xVal[e])/this.xNumSteps[e],r=Math.ceil(Number(i.toFixed(3))-1),s=this.xVal[e]+this.xNumSteps[e]*r;this.xHighestCompleteStep[e]=s}},n})(),hd={to:function(n){return n===void 0?"":n.toFixed(2)},from:Number},fd={target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",touchArea:"touch-area",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",connects:"connects",ltr:"ltr",rtl:"rtl",textDirectionLtr:"txt-dir-ltr",textDirectionRtl:"txt-dir-rtl",draggable:"draggable",drag:"state-drag",tap:"state-tap",active:"active",tooltip:"tooltip",pips:"pips",pipsHorizontal:"pips-horizontal",pipsVertical:"pips-vertical",marker:"marker",markerHorizontal:"marker-horizontal",markerVertical:"marker-vertical",markerNormal:"marker-normal",markerLarge:"marker-large",markerSub:"marker-sub",value:"value",valueHorizontal:"value-horizontal",valueVertical:"value-vertical",valueNormal:"value-normal",valueLarge:"value-large",valueSub:"value-sub"},vi={tooltips:".__tooltips",aria:".__aria"};function b1(n,e){if(!zt(e))throw new Error("noUiSlider: 'step' is not numeric.");n.singleStep=e}function v1(n,e){if(!zt(e))throw new Error("noUiSlider: 'keyboardPageMultiplier' is not numeric.");n.keyboardPageMultiplier=e}function y1(n,e){if(!zt(e))throw new Error("noUiSlider: 'keyboardMultiplier' is not numeric.");n.keyboardMultiplier=e}function w1(n,e){if(!zt(e))throw new Error("noUiSlider: 'keyboardDefaultStep' is not numeric.");n.keyboardDefaultStep=e}function C1(n,e){if(typeof e!="object"||Array.isArray(e))throw new Error("noUiSlider: 'range' is not an object.");if(e.min===void 0||e.max===void 0)throw new Error("noUiSlider: Missing 'min' or 'max' in 'range'.");n.spectrum=new dd(e,n.snap||!1,n.singleStep)}function A1(n,e){if(e=Mr(e),!Array.isArray(e)||!e.length)throw new Error("noUiSlider: 'start' option is incorrect.");n.handles=e.length,n.start=e}function E1(n,e){if(typeof e!="boolean")throw new Error("noUiSlider: 'snap' option must be a boolean.");n.snap=e}function k1(n,e){if(typeof e!="boolean")throw new Error("noUiSlider: 'animate' option must be a boolean.");n.animate=e}function S1(n,e){if(typeof e!="number")throw new Error("noUiSlider: 'animationDuration' option must be a number.");n.animationDuration=e}function pd(n,e){var t=[!1],i;if(e==="lower"?e=[!0,!1]:e==="upper"&&(e=[!1,!0]),e===!0||e===!1){for(i=1;i<n.handles;i++)t.push(e);t.push(!1)}else{if(!Array.isArray(e)||!e.length||e.length!==n.handles+1)throw new Error("noUiSlider: 'connect' option doesn't match handle count.");t=e}n.connect=t}function x1(n,e){switch(e){case"horizontal":n.ort=0;break;case"vertical":n.ort=1;break;default:throw new Error("noUiSlider: 'orientation' option is invalid.")}}function md(n,e){if(!zt(e))throw new Error("noUiSlider: 'margin' option must be numeric.");e!==0&&(n.margin=n.spectrum.getDistance(e))}function R1(n,e){if(!zt(e))throw new Error("noUiSlider: 'limit' option must be numeric.");if(n.limit=n.spectrum.getDistance(e),!n.limit||n.handles<2)throw new Error("noUiSlider: 'limit' option is only supported on linear sliders with 2 or more handles.")}function M1(n,e){var t;if(!zt(e)&&!Array.isArray(e))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(Array.isArray(e)&&!(e.length===2||zt(e[0])||zt(e[1])))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(e!==0){for(Array.isArray(e)||(e=[e,e]),n.padding=[n.spectrum.getDistance(e[0]),n.spectrum.getDistance(e[1])],t=0;t<n.spectrum.xNumSteps.length-1;t++)if(n.padding[0][t]<0||n.padding[1][t]<0)throw new Error("noUiSlider: 'padding' option must be a positive number(s).");var i=e[0]+e[1],r=n.spectrum.xVal[0],s=n.spectrum.xVal[n.spectrum.xVal.length-1];if(i/(s-r)>1)throw new Error("noUiSlider: 'padding' option must not exceed 100% of the range.")}}function T1(n,e){switch(e){case"ltr":n.dir=0;break;case"rtl":n.dir=1;break;default:throw new Error("noUiSlider: 'direction' option was not recognized.")}}function D1(n,e){if(typeof e!="string")throw new Error("noUiSlider: 'behaviour' must be a string containing options.");var t=e.indexOf("tap")>=0,i=e.indexOf("drag")>=0,r=e.indexOf("fixed")>=0,s=e.indexOf("snap")>=0,o=e.indexOf("hover")>=0,l=e.indexOf("unconstrained")>=0,u=e.indexOf("invert-connects")>=0,c=e.indexOf("drag-all")>=0,d=e.indexOf("smooth-steps")>=0;if(r){if(n.handles!==2)throw new Error("noUiSlider: 'fixed' behaviour must be used with 2 handles");md(n,n.start[1]-n.start[0])}if(u&&n.handles!==2)throw new Error("noUiSlider: 'invert-connects' behaviour must be used with 2 handles");if(l&&(n.margin||n.limit))throw new Error("noUiSlider: 'unconstrained' behaviour cannot be used with margin or limit");n.events={tap:t||s,drag:i,dragAll:c,smoothSteps:d,fixed:r,snap:s,hover:o,unconstrained:l,invertConnects:u}}function O1(n,e){if(e!==!1)if(e===!0||Rr(e)){n.tooltips=[];for(var t=0;t<n.handles;t++)n.tooltips.push(e)}else{if(e=Mr(e),e.length!==n.handles)throw new Error("noUiSlider: must pass a formatter for all handles.");e.forEach(function(i){if(typeof i!="boolean"&&!Rr(i))throw new Error("noUiSlider: 'tooltips' must be passed a formatter or 'false'.")}),n.tooltips=e}}function L1(n,e){if(e.length!==n.handles)throw new Error("noUiSlider: must pass a attributes for all handles.");n.handleAttributes=e}function B1(n,e){if(!Rr(e))throw new Error("noUiSlider: 'ariaFormat' requires 'to' method.");n.ariaFormat=e}function F1(n,e){if(!n1(e))throw new Error("noUiSlider: 'format' requires 'to' and 'from' methods.");n.format=e}function _1(n,e){if(typeof e!="boolean")throw new Error("noUiSlider: 'keyboardSupport' option must be a boolean.");n.keyboardSupport=e}function P1(n,e){n.documentElement=e}function N1(n,e){if(typeof e!="string"&&e!==!1)throw new Error("noUiSlider: 'cssPrefix' must be a string or `false`.");n.cssPrefix=e}function I1(n,e){if(typeof e!="object")throw new Error("noUiSlider: 'cssClasses' must be an object.");typeof n.cssPrefix=="string"?(n.cssClasses={},Object.keys(e).forEach(function(t){n.cssClasses[t]=n.cssPrefix+e[t]})):n.cssClasses=e}function gd(n){var e={margin:null,limit:null,padding:null,animate:!0,animationDuration:300,ariaFormat:hd,format:hd},t={step:{r:!1,t:b1},keyboardPageMultiplier:{r:!1,t:v1},keyboardMultiplier:{r:!1,t:y1},keyboardDefaultStep:{r:!1,t:w1},start:{r:!0,t:A1},connect:{r:!0,t:pd},direction:{r:!0,t:T1},snap:{r:!1,t:E1},animate:{r:!1,t:k1},animationDuration:{r:!1,t:S1},range:{r:!0,t:C1},orientation:{r:!1,t:x1},margin:{r:!1,t:md},limit:{r:!1,t:R1},padding:{r:!1,t:M1},behaviour:{r:!0,t:D1},ariaFormat:{r:!1,t:B1},format:{r:!1,t:F1},tooltips:{r:!1,t:O1},keyboardSupport:{r:!0,t:_1},documentElement:{r:!1,t:P1},cssPrefix:{r:!0,t:N1},cssClasses:{r:!0,t:I1},handleAttributes:{r:!1,t:L1}},i={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal",keyboardSupport:!0,cssPrefix:"noUi-",cssClasses:fd,keyboardPageMultiplier:5,keyboardMultiplier:1,keyboardDefaultStep:10};n.format&&!n.ariaFormat&&(n.ariaFormat=n.format),Object.keys(t).forEach(function(u){if(!$o(n[u])&&i[u]===void 0){if(t[u].r)throw new Error("noUiSlider: '"+u+"' is required.");return}t[u].t(e,$o(n[u])?n[u]:i[u])}),e.pips=n.pips;var r=document.createElement("div"),s=r.style.msTransform!==void 0,o=r.style.transform!==void 0;e.transformRule=o?"transform":s?"msTransform":"webkitTransform";var l=[["left","top"],["right","bottom"]];return e.style=l[e.dir][e.ort],e}function H1(n,e,t){var i=u1(),r=d1(),s=r&&c1(),o=n,l,u,c,d,f,p,h=e.spectrum,x=[],y=[],A=[],C=0,m={},D=!1,g=n.ownerDocument,M=e.documentElement||g.documentElement,v=g.body,S=g.dir==="rtl"||e.ort===1?0:100;function w(E,O){var _=g.createElement("div");return O&&mt(_,O),E.appendChild(_),_}function k(E,O){var _=w(E,e.cssClasses.origin),Y=w(_,e.cssClasses.handle);if(w(Y,e.cssClasses.touchArea),Y.setAttribute("data-handle",String(O)),e.keyboardSupport&&(Y.setAttribute("tabindex","0"),Y.addEventListener("keydown",function(ue){return Fe(ue,O)})),e.handleAttributes!==void 0){var ne=e.handleAttributes[O];Object.keys(ne).forEach(function(ue){Y.setAttribute(ue,ne[ue])})}return Y.setAttribute("role","slider"),Y.setAttribute("aria-orientation",e.ort?"vertical":"horizontal"),O===0?mt(Y,e.cssClasses.handleLower):O===e.handles-1&&mt(Y,e.cssClasses.handleUpper),_.handle=Y,_}function b(E,O){return O?w(E,e.cssClasses.connect):!1}function T(E,O){u=w(O,e.cssClasses.connects),c=[],d=[],d.push(b(u,E[0]));for(var _=0;_<e.handles;_++)c.push(k(O,_)),A[_]=_,d.push(b(u,E[_+1]))}function R(E){mt(E,e.cssClasses.target),e.dir===0?mt(E,e.cssClasses.ltr):mt(E,e.cssClasses.rtl),e.ort===0?mt(E,e.cssClasses.horizontal):mt(E,e.cssClasses.vertical);var O=getComputedStyle(E).direction;return O==="rtl"?mt(E,e.cssClasses.textDirectionRtl):mt(E,e.cssClasses.textDirectionLtr),w(E,e.cssClasses.base)}function L(E,O){return!e.tooltips||!e.tooltips[O]?!1:w(E.firstChild,e.cssClasses.tooltip)}function N(){return o.hasAttribute("disabled")}function j(E){var O=c[E];return O.hasAttribute("disabled")}function G(E){E!=null?(c[E].setAttribute("disabled",""),c[E].handle.removeAttribute("tabindex")):(o.setAttribute("disabled",""),c.forEach(function(O){O.handle.removeAttribute("tabindex")}))}function I(E){E!=null?(c[E].removeAttribute("disabled"),c[E].handle.setAttribute("tabindex","0")):(o.removeAttribute("disabled"),c.forEach(function(O){O.removeAttribute("disabled"),O.handle.setAttribute("tabindex","0")}))}function H(){p&&($("update"+vi.tooltips),p.forEach(function(E){E&&ad(E)}),p=null)}function J(){H(),p=c.map(L),Ne("update"+vi.tooltips,function(E,O,_){if(!(!p||!e.tooltips)&&p[O]!==!1){var Y=E[O];e.tooltips[O]!==!0&&(Y=e.tooltips[O].to(_[O])),p[O].innerHTML=Y}})}function F(){$("update"+vi.aria),Ne("update"+vi.aria,function(E,O,_,Y,ne){A.forEach(function(ue){var fe=c[ue],pe=me(y,ue,0,!0,!0,!0),be=me(y,ue,100,!0,!0,!0),Ce=ne[ue],De=String(e.ariaFormat.to(_[ue]));pe=h.fromStepping(pe).toFixed(1),be=h.fromStepping(be).toFixed(1),Ce=h.fromStepping(Ce).toFixed(1),fe.children[0].setAttribute("aria-valuemin",pe),fe.children[0].setAttribute("aria-valuemax",be),fe.children[0].setAttribute("aria-valuenow",Ce),fe.children[0].setAttribute("aria-valuetext",De)})})}function P(E){if(E.mode===bi.Range||E.mode===bi.Steps)return h.xVal;if(E.mode===bi.Count){if(E.values<2)throw new Error("noUiSlider: 'values' (>= 2) required for mode 'count'.");for(var O=E.values-1,_=100/O,Y=[];O--;)Y[O]=O*_;return Y.push(100),Q(Y,E.stepped)}return E.mode===bi.Positions?Q(E.values,E.stepped):E.mode===bi.Values?E.stepped?E.values.map(function(ne){return h.fromStepping(h.getStep(h.toStepping(ne)))}):E.values:[]}function Q(E,O){return E.map(function(_){return h.fromStepping(O?h.getStep(_):_)})}function z(E){function O(Ce,De){return Number((Ce+De).toFixed(7))}var _=P(E),Y={},ne=h.xVal[0],ue=h.xVal[h.xVal.length-1],fe=!1,pe=!1,be=0;return _=r1(_.slice().sort(function(Ce,De){return Ce-De})),_[0]!==ne&&(_.unshift(ne),fe=!0),_[_.length-1]!==ue&&(_.push(ue),pe=!0),_.forEach(function(Ce,De){var We,Be,qe,Xe=Ce,at=_[De+1],nt,yi,Ti,ci,jt,$t,Xi,Di=E.mode===bi.Steps;for(Di&&(We=h.xNumSteps[De]),We||(We=at-Xe),at===void 0&&(at=Xe),We=Math.max(We,1e-7),Be=Xe;Be<=at;Be=O(Be,We)){for(nt=h.toStepping(Be),yi=nt-be,jt=yi/(E.density||1),$t=Math.round(jt),Xi=yi/$t,qe=1;qe<=$t;qe+=1)Ti=be+qe*Xi,Y[Ti.toFixed(5)]=[h.fromStepping(Ti),0];ci=_.indexOf(Be)>-1?bt.LargeValue:Di?bt.SmallValue:bt.NoValue,!De&&fe&&Be!==at&&(ci=0),Be===at&&pe||(Y[nt.toFixed(5)]=[Be,ci]),be=nt}}),Y}function q(E,O,_){var Y,ne,ue=g.createElement("div"),fe=(Y={},Y[bt.None]="",Y[bt.NoValue]=e.cssClasses.valueNormal,Y[bt.LargeValue]=e.cssClasses.valueLarge,Y[bt.SmallValue]=e.cssClasses.valueSub,Y),pe=(ne={},ne[bt.None]="",ne[bt.NoValue]=e.cssClasses.markerNormal,ne[bt.LargeValue]=e.cssClasses.markerLarge,ne[bt.SmallValue]=e.cssClasses.markerSub,ne),be=[e.cssClasses.valueHorizontal,e.cssClasses.valueVertical],Ce=[e.cssClasses.markerHorizontal,e.cssClasses.markerVertical];mt(ue,e.cssClasses.pips),mt(ue,e.ort===0?e.cssClasses.pipsHorizontal:e.cssClasses.pipsVertical);function De(Be,qe){var Xe=qe===e.cssClasses.value,at=Xe?be:Ce,nt=Xe?fe:pe;return qe+" "+at[e.ort]+" "+nt[Be]}function We(Be,qe,Xe){if(Xe=O?O(qe,Xe):Xe,Xe!==bt.None){var at=w(ue,!1);at.className=De(Xe,e.cssClasses.marker),at.style[e.style]=Be+"%",Xe>bt.NoValue&&(at=w(ue,!1),at.className=De(Xe,e.cssClasses.value),at.setAttribute("data-value",String(qe)),at.style[e.style]=Be+"%",at.innerHTML=String(_.to(qe)))}}return Object.keys(E).forEach(function(Be){We(Be,E[Be][0],E[Be][1])}),ue}function X(){f&&(ad(f),f=null)}function K(E){X();var O=z(E),_=E.filter,Y=E.format||{to:function(ne){return String(Math.round(ne))}};return f=o.appendChild(q(O,_,Y)),f}function se(){var E=l.getBoundingClientRect(),O="offset"+["Width","Height"][e.ort];return e.ort===0?E.width||l[O]:E.height||l[O]}function U(E,O,_,Y){var ne=function(fe){var pe=Z(fe,Y.pageOffset,Y.target||O);if(!pe||N()&&!Y.doNotReject||l1(o,e.cssClasses.tap)&&!Y.doNotReject||E===i.start&&pe.buttons!==void 0&&pe.buttons>1||Y.hover&&pe.buttons)return!1;s||pe.preventDefault(),pe.calcPoint=pe.points[e.ort],_(pe,Y)},ue=[];return E.split(" ").forEach(function(fe){O.addEventListener(fe,ne,s?{passive:!0}:!1),ue.push([fe,ne])}),ue}function Z(E,O,_){var Y=E.type.indexOf("touch")===0,ne=E.type.indexOf("mouse")===0,ue=E.type.indexOf("pointer")===0,fe=0,pe=0;if(E.type.indexOf("MSPointer")===0&&(ue=!0),E.type==="mousedown"&&!E.buttons&&!E.touches)return!1;if(Y){var be=function(We){var Be=We.target;return Be===_||_.contains(Be)||E.composed&&E.composedPath().shift()===_};if(E.type==="touchstart"){var Ce=Array.prototype.filter.call(E.touches,be);if(Ce.length>1)return!1;fe=Ce[0].pageX,pe=Ce[0].pageY}else{var De=Array.prototype.find.call(E.changedTouches,be);if(!De)return!1;fe=De.pageX,pe=De.pageY}}return O=O||cd(g),(ne||ue)&&(fe=E.clientX+O.x,pe=E.clientY+O.y),E.pageOffset=O,E.points=[fe,pe],E.cursor=ne||ue,E}function de(E){var O=E-a1(l,e.ort),_=O*100/se();return _=ud(_),e.dir?100-_:_}function V(E){var O=100,_=!1;return c.forEach(function(Y,ne){if(!j(ne)){var ue=y[ne],fe=Math.abs(ue-E),pe=fe===100&&O===100,be=fe<O,Ce=fe<=O&&E>ue;(be||Ce||pe)&&(_=ne,O=fe)}}),_}function W(E,O){E.type==="mouseout"&&E.target.nodeName==="HTML"&&E.relatedTarget===null&&oe(E,O)}function le(E,O){if(navigator.appVersion.indexOf("MSIE 9")===-1&&E.buttons===0&&O.buttonsProperty!==0)return oe(E,O);var _=(e.dir?-1:1)*(E.calcPoint-O.startCalcPoint),Y=_*100/O.baseSize;ke(_>0,Y,O.locations,O.handleNumbers,O.connect)}function oe(E,O){O.handle&&(Tr(O.handle,e.cssClasses.active),C-=1),O.listeners.forEach(function(_){M.removeEventListener(_[0],_[1])}),C===0&&(Tr(o,e.cssClasses.drag),Se(),E.cursor&&(v.style.cursor="",v.removeEventListener("selectstart",od))),e.events.smoothSteps&&(O.handleNumbers.forEach(function(_){Le(_,y[_],!0,!0,!1,!1)}),O.handleNumbers.forEach(function(_){ie("update",_)})),O.handleNumbers.forEach(function(_){ie("change",_),ie("set",_),ie("end",_)})}function ye(E,O){if(!O.handleNumbers.some(j)){var _;if(O.handleNumbers.length===1){var Y=c[O.handleNumbers[0]];_=Y.children[0],C+=1,mt(_,e.cssClasses.active)}E.stopPropagation();var ne=[],ue=U(i.move,M,le,{target:E.target,handle:_,connect:O.connect,listeners:ne,startCalcPoint:E.calcPoint,baseSize:se(),pageOffset:E.pageOffset,handleNumbers:O.handleNumbers,buttonsProperty:E.buttons,locations:y.slice()}),fe=U(i.end,M,oe,{target:E.target,handle:_,listeners:ne,doNotReject:!0,handleNumbers:O.handleNumbers}),pe=U("mouseout",M,W,{target:E.target,handle:_,listeners:ne,doNotReject:!0,handleNumbers:O.handleNumbers});ne.push.apply(ne,ue.concat(fe,pe)),E.cursor&&(v.style.cursor=getComputedStyle(E.target).cursor,c.length>1&&mt(o,e.cssClasses.drag),v.addEventListener("selectstart",od,!1)),O.handleNumbers.forEach(function(be){ie("start",be)})}}function we(E){E.stopPropagation();var O=de(E.calcPoint),_=V(O);_!==!1&&(e.events.snap||ld(o,e.cssClasses.tap,e.animationDuration),Le(_,O,!0,!0),Se(),ie("slide",_,!0),ie("update",_,!0),e.events.snap?ye(E,{handleNumbers:[_]}):(ie("change",_,!0),ie("set",_,!0)))}function xe(E){var O=de(E.calcPoint),_=h.getStep(O),Y=h.fromStepping(_);Object.keys(m).forEach(function(ne){ne.split(".")[0]==="hover"&&m[ne].forEach(function(ue){ue.call(B,Y)})})}function Fe(E,O){if(N()||j(O))return!1;var _=["Left","Right"],Y=["Down","Up"],ne=["PageDown","PageUp"],ue=["Home","End"];e.dir&&!e.ort?_.reverse():e.ort&&!e.dir&&(Y.reverse(),ne.reverse());var fe=E.key.replace("Arrow",""),pe=fe===ne[0],be=fe===ne[1],Ce=fe===Y[0]||fe===_[0]||pe,De=fe===Y[1]||fe===_[1]||be,We=fe===ue[0],Be=fe===ue[1];if(!Ce&&!De&&!We&&!Be)return!0;E.preventDefault();var qe;if(De||Ce){var Xe=Ce?0:1,at=Pe(O),nt=at[Xe];if(nt===null)return!1;nt===!1&&(nt=h.getDefaultStep(y[O],Ce,e.keyboardDefaultStep)),be||pe?nt*=e.keyboardPageMultiplier:nt*=e.keyboardMultiplier,nt=Math.max(nt,1e-7),nt=(Ce?-1:1)*nt,qe=x[O]+nt}else Be?qe=e.spectrum.xVal[e.spectrum.xVal.length-1]:qe=e.spectrum.xVal[0];return Le(O,h.toStepping(qe),!0,!0),ie("slide",O),ie("update",O),ie("change",O),ie("set",O),!1}function _e(E){E.fixed||c.forEach(function(O,_){U(i.start,O.children[0],ye,{handleNumbers:[_]})}),E.tap&&U(i.start,l,we,{}),E.hover&&U(i.move,l,xe,{hover:!0}),E.drag&&d.forEach(function(O,_){if(!(O===!1||_===0||_===d.length-1)){var Y=c[_-1],ne=c[_],ue=[O],fe=[Y,ne],pe=[_-1,_];mt(O,e.cssClasses.draggable),E.fixed&&(ue.push(Y.children[0]),ue.push(ne.children[0])),E.dragAll&&(fe=c,pe=A),ue.forEach(function(be){U(i.start,be,ye,{handles:fe,handleNumbers:pe,connect:O})})}})}function Ne(E,O){m[E]=m[E]||[],m[E].push(O),E.split(".")[0]==="update"&&c.forEach(function(_,Y){ie("update",Y)})}function ce(E){return E===vi.aria||E===vi.tooltips}function $(E){var O=E&&E.split(".")[0],_=O?E.substring(O.length):E;Object.keys(m).forEach(function(Y){var ne=Y.split(".")[0],ue=Y.substring(ne.length);(!O||O===ne)&&(!_||_===ue)&&(!ce(ue)||_===ue)&&delete m[Y]})}function ie(E,O,_){Object.keys(m).forEach(function(Y){var ne=Y.split(".")[0];E===ne&&m[Y].forEach(function(ue){ue.call(B,x.map(e.format.to),O,x.slice(),_||!1,y.slice(),B)})})}function me(E,O,_,Y,ne,ue,fe){var pe;return c.length>1&&!e.events.unconstrained&&(Y&&O>0&&(pe=h.getAbsoluteDistance(E[O-1],e.margin,!1),_=Math.max(_,pe)),ne&&O<c.length-1&&(pe=h.getAbsoluteDistance(E[O+1],e.margin,!0),_=Math.min(_,pe))),c.length>1&&e.limit&&(Y&&O>0&&(pe=h.getAbsoluteDistance(E[O-1],e.limit,!1),_=Math.min(_,pe)),ne&&O<c.length-1&&(pe=h.getAbsoluteDistance(E[O+1],e.limit,!0),_=Math.max(_,pe))),e.padding&&(O===0&&(pe=h.getAbsoluteDistance(0,e.padding[0],!1),_=Math.max(_,pe)),O===c.length-1&&(pe=h.getAbsoluteDistance(100,e.padding[1],!0),_=Math.min(_,pe))),fe||(_=h.getStep(_)),_=ud(_),_===E[O]&&!ue?!1:_}function he(E,O){var _=e.ort;return(_?O:E)+", "+(_?E:O)}function ke(E,O,_,Y,ne){var ue=_.slice(),fe=Y[0],pe=e.events.smoothSteps,be=[!E,E],Ce=[E,!E];Y=Y.slice(),E&&Y.reverse(),Y.length>1?Y.forEach(function(We,Be){var qe=me(ue,We,ue[We]+O,be[Be],Ce[Be],!1,pe);qe===!1?O=0:(O=qe-ue[We],ue[We]=qe)}):be=Ce=[!0];var De=!1;Y.forEach(function(We,Be){De=Le(We,_[We]+O,be[Be],Ce[Be],!1,pe)||De}),De&&(Y.forEach(function(We){ie("update",We),ie("slide",We)}),ne!=null&&ie("drag",fe))}function Me(E,O){return e.dir?100-E-O:E}function ae(E,O){y[E]=O,x[E]=h.fromStepping(O);var _=Me(O,0)-S,Y="translate("+he(_+"%","0")+")";if(c[E].style[e.transformRule]=Y,e.events.invertConnects&&y.length>1){var ne=y.every(function(ue,fe,pe){return fe===0||ue>=pe[fe-1]});if(D!==!ne){ct();return}}et(E),et(E+1),D&&(et(E-1),et(E+2))}function Se(){A.forEach(function(E){var O=y[E]>50?-1:1,_=3+(c.length+O*E);c[E].style.zIndex=String(_)})}function Le(E,O,_,Y,ne,ue){return ne||(O=me(y,E,O,_,Y,!1,ue)),O===!1?!1:(ae(E,O),!0)}function et(E){if(d[E]){var O=y.slice();D&&O.sort(function(pe,be){return pe-be});var _=0,Y=100;E!==0&&(_=O[E-1]),E!==d.length-1&&(Y=O[E]);var ne=Y-_,ue="translate("+he(Me(_,ne)+"%","0")+")",fe="scale("+he(ne/100,"1")+")";d[E].style[e.transformRule]=ue+" "+fe}}function je(E,O){return E===null||E===!1||E===void 0||(typeof E=="number"&&(E=String(E)),E=e.format.from(E),E!==!1&&(E=h.toStepping(E)),E===!1||isNaN(E))?y[O]:E}function Rt(E,O,_){var Y=Mr(E),ne=y[0]===void 0;O=O===void 0?!0:O,e.animate&&!ne&&ld(o,e.cssClasses.tap,e.animationDuration),A.forEach(function(pe){Le(pe,je(Y[pe],pe),!0,!1,_)});var ue=A.length===1?0:1;if(ne&&h.hasNoSize()&&(_=!0,y[0]=0,A.length>1)){var fe=100/(A.length-1);A.forEach(function(pe){y[pe]=pe*fe})}for(;ue<A.length;++ue)A.forEach(function(pe){Le(pe,y[pe],!0,!0,_)});Se(),A.forEach(function(pe){ie("update",pe),Y[pe]!==null&&O&&ie("set",pe)})}function At(E){Rt(e.start,E)}function Ge(E,O,_,Y){if(E=Number(E),!(E>=0&&E<A.length))throw new Error("noUiSlider: invalid handle number, got: "+E);Le(E,je(O,E),!0,!0,Y),ie("update",E),_&&ie("set",E)}function te(E){if(E===void 0&&(E=!1),E)return x.length===1?x[0]:x.slice(0);var O=x.map(e.format.to);return O.length===1?O[0]:O}function re(){for($(vi.aria),$(vi.tooltips),Object.keys(e.cssClasses).forEach(function(E){Tr(o,e.cssClasses[E])});o.firstChild;)o.removeChild(o.firstChild);delete o.noUiSlider}function Pe(E){var O=y[E],_=h.getNearbySteps(O),Y=x[E],ne=_.thisStep.step,ue=null;if(e.snap)return[Y-_.stepBefore.startValue||null,_.stepAfter.startValue-Y||null];ne!==!1&&Y+ne>_.stepAfter.startValue&&(ne=_.stepAfter.startValue-Y),Y>_.thisStep.startValue?ue=_.thisStep.step:_.stepBefore.step===!1?ue=!1:ue=Y-_.stepBefore.highestStep,O===100?ne=null:O===0&&(ue=null);var fe=h.countStepDecimals();return ne!==null&&ne!==!1&&(ne=Number(ne.toFixed(fe))),ue!==null&&ue!==!1&&(ue=Number(ue.toFixed(fe))),[ue,ne]}function ze(){return A.map(Pe)}function Oe(E,O){var _=te(),Y=["margin","limit","padding","range","animate","snap","step","format","pips","tooltips","connect"];Y.forEach(function(ue){E[ue]!==void 0&&(t[ue]=E[ue])});var ne=gd(t);Y.forEach(function(ue){E[ue]!==void 0&&(e[ue]=ne[ue])}),h=ne.spectrum,e.margin=ne.margin,e.limit=ne.limit,e.padding=ne.padding,e.pips?K(e.pips):X(),e.tooltips?J():H(),y=[],Rt($o(E.start)?E.start:_,O),E.connect&&Re()}function Re(){for(;u.firstChild;)u.removeChild(u.firstChild);for(var E=0;E<=e.handles;E++)d[E]=b(u,e.connect[E]),et(E);_e({drag:e.events.drag,fixed:!0})}function ct(){D=!D,pd(e,e.connect.map(function(E){return!E})),Re()}function ge(){l=R(o),T(e.connect,l),_e(e.events),Rt(e.start),e.pips&&K(e.pips),e.tooltips&&J(),F()}ge();var B={destroy:re,steps:ze,on:Ne,off:$,get:te,set:Rt,setHandle:Ge,reset:At,disable:G,enable:I,__moveHandles:function(E,O,_){ke(E,O,y,_)},options:t,updateOptions:Oe,target:o,removePips:X,removeTooltips:H,getPositions:function(){return y.slice()},getTooltips:function(){return p},getOrigins:function(){return c},pips:K};return B}function V1(n,e){if(!n||!n.nodeName)throw new Error("noUiSlider: create requires a single element, got: "+n);if(n.noUiSlider)throw new Error("noUiSlider: Slider was already initialized.");var t=gd(e),i=H1(n,t,e);return n.noUiSlider=i,i}const z1={__spectrum:dd,cssClasses:fd,create:V1},j1={class:"slider-container"},W1={class:"slider-wrapper",style:{position:"relative"}},U1=["id"],G1=["value"],Y1=["value"],Q1=Ie(a.defineComponent({__name:"Slider",props:{minCount:{default:0},maxCount:{default:100},minValue:{default:0},maxValue:{default:100},step:{default:1},tooltips:{type:Boolean,default:!0},connect:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},sliderId:{default:"slider-range"}},emits:["updateMinValue","updateMaxValue","change"],setup(n,{expose:e,emit:t}){const i=n,r=t,s=a.ref(null),o=a.ref(null),l=a.ref(null);let u=null;const c=a.ref(i.minValue),d=a.ref(i.maxValue),f=()=>{if(!s.value)return;u&&u.destroy();const y=Array(i.maxCount-i.minCount+1).fill(0).map((C,m)=>i.minCount+m),A={to:C=>{const m=Math.round(C);return y[m]||y[0]},from:C=>{const m=Number(C);return y.indexOf(m)}};try{u=z1.create(s.value,{start:[c.value,d.value],connect:i.connect,step:i.step,tooltips:i.tooltips,format:A,range:{min:0,max:y.length-1}}),u.on("change",C=>{const m=Number(C[0]),D=Number(C[1]);c.value!==m&&(c.value=m,r("updateMinValue",m)),d.value!==D&&(d.value=D,r("updateMaxValue",D)),r("change",[m,D])}),u.on("update",C=>{const m=Number(C[0]),D=Number(C[1]);c.value=m,d.value=D})}catch(C){console.error("Error creating slider:",C)}},p=()=>{a.nextTick(()=>{f()})},h=(y,A)=>{if(u)try{u.set([y,A])}catch(C){console.error("Error updating slider values:",C)}},x=y=>{u&&(y?u.disable():u.enable())};return a.watch(()=>[i.minValue,i.maxValue],([y,A])=>{(y!==c.value||A!==d.value)&&(c.value=y,d.value=A,h(y,A))},{immediate:!1}),a.watch(()=>i.disabled,y=>{x(y)}),a.watch(()=>[i.minCount,i.maxCount],()=>{p()}),a.onMounted(()=>{p()}),a.onUnmounted(()=>{u&&(u.destroy(),u=null)}),e({updateValues:h,getValues:()=>u?.get(),reset:()=>{u&&u.reset()},destroy:()=>{u&&(u.destroy(),u=null)}}),(y,A)=>(a.openBlock(),a.createElementBlock("div",j1,[a.createElementVNode("div",W1,[a.createElementVNode("div",{ref_key:"sliderElement",ref:s,id:y.sliderId},null,8,U1)]),a.createElementVNode("input",{type:"hidden",ref_key:"minValueRef",ref:o,value:y.minValue},null,8,G1),a.createElementVNode("input",{type:"hidden",ref_key:"maxValueRef",ref:l,value:y.maxValue},null,8,Y1)]))}}),[["__scopeId","data-v-892dca90"]]),K1=["title"],J1=Ie(a.defineComponent({__name:"QuestionIcon",props:{title:{default:""},size:{default:"md"},color:{default:"#999999"},iconClass:{default:""},tooltipPosition:{default:"top"},clickToShow:{type:Boolean,default:!0}},setup(n){const e=n,t=a.ref(),i=a.ref(!1),r=a.computed(()=>({color:e.color})),s=a.computed(()=>{switch(e.size){case"sm":return"question-icon--sm";case"lg":return"question-icon--lg";default:return"question-icon--md"}}),o=a.computed(()=>`question-tooltip--${e.tooltipPosition}`),l=()=>{e.clickToShow&&e.title&&(i.value=!i.value)},u=c=>{t.value&&!t.value.contains(c.target)&&(i.value=!1)};return a.onMounted(()=>{e.clickToShow&&document.addEventListener("click",u)}),a.onUnmounted(()=>{e.clickToShow&&document.removeEventListener("click",u)}),(c,d)=>(a.openBlock(),a.createElementBlock("div",{class:"question-icon-wrapper",ref_key:"wrapperRef",ref:t},[a.createElementVNode("i",{class:a.normalizeClass(["bi bi-question-circle-fill question-icon",[c.iconClass,s.value]]),title:c.title,style:a.normalizeStyle(r.value),onClick:l},null,14,K1),i.value&&c.title?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["question-tooltip",o.value])},[a.createTextVNode(a.toDisplayString(c.title)+" ",1),d[0]||(d[0]=a.createElementVNode("div",{class:"question-tooltip-arrow"},null,-1))],2)):a.createCommentVNode("",!0)],512))}}),[["__scopeId","data-v-2c102103"]]),q1={class:"container-fluid rounded overflow-hidden bg-light"},$1={class:"row w-100"},Z1={class:"text-secondary"},X1={class:"d-flex py-3 px-2 onlyPrint"},ex={class:"row w-100"},tx={class:"text-secondary"},ix={class:"row"},nx=Ie(a.defineComponent({__name:"FilterValuesPanel",props:{filterValues:{default:null},filterTitles:{}},emits:["showFilter"],setup(n,{emit:e}){const t=n,i=a.ref(!1),r=a.ref([]);a.computed(()=>t.filterValues?Object.entries(t.filterValues).filter(([o,l])=>l).map(([o,l])=>({name:t.filterTitles[o]||o,value:String(l),key:o})):[]);function s(o){if(!o){r.value=[];return}r.value=Object.entries(o).filter(([l,u])=>u).map(([l,u])=>({name:t.filterTitles[l]||l,value:String(u),key:l}))}return a.watch(()=>t.filterValues,o=>{const l=a.isRef(o)?o.value:o;s(l)},{deep:!0,immediate:!0}),(o,l)=>(a.openBlock(),a.createElementBlock("div",q1,[a.createElementVNode("div",{style:a.normalizeStyle({overflow:"hidden",maxHeight:i.value?"initial":"83px"}),class:"d-flex py-3 px-2 noPrint"},[a.createElementVNode("div",$1,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(r.value,(u,c)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["mb-2",c===r.value.length-1?"col":"col-auto"]),key:u.key},[a.createElementVNode("div",Z1,a.toDisplayString(u.name)+":",1),a.createElementVNode("div",null,[a.createElementVNode("strong",null,a.toDisplayString(u.value),1)])],2))),128))]),a.createElementVNode("div",null,[a.createElementVNode("div",{role:"button",class:"expand-btn expand-btn-right rounded",onClick:l[0]||(l[0]=u=>o.$emit("showFilter"))},[...l[2]||(l[2]=[a.createElementVNode("i",{class:"bi bi-chevron-right i-hidden"},null,-1)])])])],4),a.createElementVNode("div",X1,[a.createElementVNode("div",ex,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(r.value,(u,c)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["mb-2",c===r.value.length-1?"col":"col-auto"]),key:u.key},[a.createElementVNode("div",tx,a.toDisplayString(u.name)+":",1),a.createElementVNode("div",null,[a.createElementVNode("strong",null,a.toDisplayString(u.value),1)])],2))),128))])]),a.createElementVNode("div",ix,[a.createElementVNode("div",{role:"button",class:"expand-btn expand-btn-bottom hide-to-print",onClick:l[1]||(l[1]=u=>i.value=!i.value)},[a.createElementVNode("i",{class:a.normalizeClass({"bi lh-normal":!0,"bi-chevron-down":!i.value,"bi-chevron-up":i.value})},null,2)])])]))}}),[["__scopeId","data-v-5fb2b7d8"]]),bd=(n={})=>{n.hasOwnProperty("KEY")||(n.KEY="tables");const{KEY:e}=n;function t(o,l){const u=localStorage.getItem(e);let c=JSON.parse(u);return c={...c,[o]:l},localStorage.setItem(e,JSON.stringify(c)),!0}function i(o){return o?(localStorage.setItem(e,JSON.stringify(o)),!0):!1}function r(o){const l=localStorage.getItem(e),u=JSON.parse(l);return u?.hasOwnProperty(o)&&delete u[o],i(u),!0}function s(o){const l=localStorage.getItem(e);return(JSON.parse(l)||{})[o]||null}return{setItemStorage:t,removeItemStorage:r,getItemStorage:s}},rx=({localStorageKey:n=null,getAjaxUrl:e,getAjaxResponse:t,getColumns:i,tableOptions:r,initialFilters:s=()=>({empty:"empty"}),initialFilterTitles:o=()=>({empty:"empty"}),selectedQuickFilter:l=null})=>{const u=a.ref({}),c=a.ref(0),d=a.ref(""),f=a.ref(""),p=a.ref({}),h=a.ref(!1),x=a.ref(!1),y=a.ref(!1),A=a.ref(s()),C=a.ref(!1),{setItemStorage:m,removeItemStorage:D,getItemStorage:g}=bd();async function M(){A.value=s(),p.value={}}function v(K){if(!n)return!1;m(n,K)}const S=a.readonly({...o()});function w(K,se){p.value[K]=se}const k=a.computed(()=>Object.values(p.value).some(Boolean));function b(){c.value+=1}async function T(K){if(!K||!K.options)return;const se=r.value.ajaxURL;se&&(K.options.ajaxURL=se),r.value.columns&&(K.options.columns=r.value.columns,K.setColumns(r.value.columns),await R(K)),se&&K.replaceData(se)}async function R(K){const se=typeof K.hideColumn=="function",U=typeof K.showColumn=="function";if(!se||!U){b();return}for(const Z of r.value.columns)Z.visible===!1?K.hideColumn(Z.field):K.showColumn(Z.field)}function L(K){if(!n)return!1;m(n,j(K))}async function N(K){const se=r.value?.paginationMode==="remote";if(!(se&&(!K||!K.replaceData))&&!(C.value||x.value)){x.value=!0;try{if(await H(),C.value||(await a.nextTick(),C.value))return;if(!se){b();return}await T(K),h.value=!1}finally{x.value=!1}}}function j(K){return K.map(U=>{let Z=JSON.parse(JSON.stringify(U));return U.visible===!1&&(delete Z.width,delete Z.minWidth),Z})}function G(K){if(!n)return!1;m(n,j(K))}function I(){const K={};for(const[se,U]of Object.entries({...A.value}))!U||U?.length<1||Array.isArray(U)&&(U[0]===null||U[0]===void 0||U[0]==="")||(K[se]=U);return K}async function H(){if(C.value)return;const K=e(),se=await t();if(C.value)return;const U=Q();r.value={...r.value,ajaxURL:K,ajaxResponse:se,columns:U,ajaxParams:{...r.value.ajaxParams,per_page:r.value.paginationSize}}}const J=a.computed(()=>{let K=[];return r.value.columns.map(se=>{se.title&&K.push(se.visible)}),K.includes(!1)});async function F(K,se){K.target.checked==!1?(d.value=se,f.value=""):(f.value=se,d.value="")}async function P(){D(n),r.value.columns=Q()}function Q(){const K=g(n);return K||i({selectedQuickFilter:l?.value})}async function z(){D(n),r.value.columns.map(K=>K.visible=!1),G(r.value.columns)}function q(K){r.value.columns=K,n&&m(n,K)}function X(){r.value.columns=r.value.columns}return a.onBeforeUnmount(()=>{C.value=!0}),a.provide("setFilterParamsStrings",w),a.provide("selectedFilterTitles",S),a.provide("tableFilters",A),a.provide("filterModalVisibility",h),a.provide("resetFilters",M),a.provide("applyFilters",N),a.provide("editTableColumnsModalVisibility",y),a.provide("tableOptions",r),a.provide("editTableColumnVisibility",F),a.provide("isTableCoumnsHidden",J),a.provide("unselectAllTableColumnCheckboxes",z),a.provide("selectAllTableColumnCheckboxes",P),a.provide("handleColumnsChanged",q),a.provide("handleColumnsApply",X),a.provide("table",u),{selectAllTableColumnCheckboxes:P,unselectAllTableColumnCheckboxes:z,isTableCoumnsHidden:J,editTableColumnVisibility:F,fetchData:H,onHideColumn:G,getFilterData:I,applyFilters:N,reRenderTable:b,resetFilters:M,onTableRowMoved:v,onShowColumn:L,table:u,tableKey:c,columnHide:d,columnShow:f,selectedFilterTitles:S,setFilterParamsStrings:w,filterParamsStrings:p,isSelectedFiltersVisible:k,filterModalVisibility:h,editTableColumnsModalVisibility:y,tableFilters:A,tableOptions:r,handleColumnsChanged:q,handleColumnsApply:X}};function vd(n){return n.map(e=>{const t=JSON.parse(JSON.stringify(e));return e.visible===!1&&(delete t.width,delete t.minWidth),t})}function yd(n){return n.filter(e=>e.visible===!0)}function wd(n,e){return n.map(t=>t.field===e?{...t,visible:!t.visible}:t)}function Dr(n){return n.map(e=>({...e,visible:e.title?!0:e.visible}))}function el(n){return n.map(e=>({...e,visible:e.title?!1:e.visible}))}function Tn(n){if(!Array.isArray(n))return console.warn("validateColumns: columns must be an array"),!1;for(const e of n){if(!e.field||typeof e.field!="string")return console.warn("validateColumns: column.field must be a non-empty string",e),!1;if(typeof e.visible!="boolean")return console.warn("validateColumns: column.visible must be a boolean",e),!1}return!0}function Cd(n){return n.some(e=>e.title&&!e.visible)}function Ad(n,e){return n.find(t=>t.field===e)}function Or(n,e,t){return n.map(i=>i.field===e?{...i,...t}:i)}const sx=Object.freeze(Object.defineProperty({__proto__:null,getColumnByField:Ad,getVisibleColumns:yd,hasHiddenColumns:Cd,hideAllColumns:el,prepareColumnsToSave:vd,resetColumnsToDefault:Dr,toggleColumnVisibility:wd,updateColumn:Or,validateColumns:Tn},Symbol.toStringTag,{value:"Module"}));function Ed(n){const{initialColumns:e,localStorageKey:t,tableOptions:i,autoSave:r=!0,onColumnsChange:s,onApply:o,validateOnChange:l=!0}=n;Tn(e)||console.error("useTableColumnsEnhanced: invalid initialColumns provided");const u=a.ref(!1),c=a.ref([...e]),d=a.ref(!1);if(t&&typeof window<"u")try{const I=localStorage.getItem(t);if(I){const H=JSON.parse(I);Tn(H)&&(c.value=H)}}catch(I){console.warn("useTableColumnsEnhanced: failed to load columns from localStorage",I)}const f=a.computed(()=>yd(c.value)),p=a.computed(()=>Cd(c.value)),h=a.computed(()=>c.value.length),x=a.computed(()=>f.value.length);function y(I){if(!(!t||typeof window>"u"||!r))try{const H=vd(I);localStorage.setItem(t,JSON.stringify(H))}catch(H){console.warn("useTableColumnsEnhanced: failed to save columns to localStorage",H)}}function A(){if(!t||typeof window>"u")return null;try{const I=localStorage.getItem(t);if(I){const H=JSON.parse(I);if(Tn(H))return H}}catch(I){console.warn("useTableColumnsEnhanced: failed to load columns from localStorage",I)}return null}function C(){if(!(!t||typeof window>"u"))try{localStorage.removeItem(t)}catch(I){console.warn("useTableColumnsEnhanced: failed to clear localStorage",I)}}function m(I){if(l&&!Tn(I)){console.error("useTableColumnsEnhanced: invalid columns provided to updateColumns");return}c.value=[...I],y(I),s?.(I)}function D(I,H){const J=I.target,F=Or(c.value,H,{visible:J.checked});m(F)}function g(I){u.value=I}function M(I){const H=I||c.value;m(H),u.value=!1,o?.(H)}function v(){const I=Dr(c.value);m(I)}function S(){const I=el(c.value);m(I)}function w(I){const H=wd(c.value,I);m(H)}function k(I){const H=Or(c.value,I,{visible:!0});m(H)}function b(I){const H=Or(c.value,I,{visible:!1});m(H)}function T(){const I=Dr(e);m(I)}function R(){const I=Dr(c.value);m(I)}function L(){const I=el(c.value);m(I)}function N(I){return Ad(c.value,I)}function j(I){return N(I)?.visible??!1}function G(){i?.value&&(i.value.columns=c.value)}return a.watch(c,()=>{G()},{deep:!0}),a.watch(()=>e,I=>{d.value||(c.value=[...I],d.value=!0)},{deep:!0,immediate:!0}),d.value||(d.value=!0,G()),{columnsModalVisibility:u,tableColumns:c,visibleColumns:f,hasHidden:p,columnsCount:h,visibleCount:x,isInitialized:d,handleColumnsModalVisibility:g,handleColumnVisibilityChange:D,handleColumnsApply:M,handleColumnsSelectAll:v,handleColumnsUnselectAll:S,updateColumns:m,toggleColumn:w,showColumn:k,hideColumn:b,resetToDefault:T,showAll:R,hideAll:L,getColumn:N,isColumnVisible:j,saveToLocalStorage:y,loadFromLocalStorage:A,clearLocalStorage:C,syncWithTableOptions:G}}function ax(n){const{localStorageKey:e,getColumns:t,tableOptions:i,tableDefault:r,onColumnsChange:s,onApply:o}=n,l=Ed({initialColumns:t(),localStorageKey:e,tableOptions:i,autoSave:!0,onColumnsChange:h=>{s?.(h),r?.applyFilters&&r.applyFilters()},onApply:h=>{o?.(h),r?.applyFilters&&r.applyFilters()}});function u(h){console.log("useTableColumnsIntegration handleColumnsChanged called, received columns:",h),l.updateColumns(h)}function c(){console.log("useTableColumnsIntegration handleColumnsApply called"),l.handleColumnsApply()}function d(){if(r){if(r.onShowColumn){const h=r.onShowColumn;r.onShowColumn=x=>{console.log("useTableColumnsIntegration onShowColumn called with columns:",x),l.updateColumns(x),h?.(x)}}if(r.onHideColumn){const h=r.onHideColumn;r.onHideColumn=x=>{console.log("useTableColumnsIntegration onHideColumn called with columns:",x),l.updateColumns(x),h?.(x)}}}}function f(){i?.value&&(i.value.columns=l.tableColumns.value)}function p(){r?.tableOptions&&(r.tableOptions.columns=l.tableColumns.value)}return a.watch(()=>t(),h=>{console.log("useTableColumnsIntegration getColumns changed, updating columns:",h),l.updateColumns(h)},{deep:!0}),d(),{...l,handleColumnsChanged:u,handleColumnsApply:c,syncWithTableOptions:f,syncWithTable:p,setupTableDefaultIntegration:d}}function ox(n){const{tableColumns:e,tableOptions:t,tableDefault:i,onApply:r}=n;function s(l){console.log("createColumnHandlers handleColumnsChanged called, received columns:",l),e.value=l,t.value.columns=l,i?.tableOptions&&(i.tableOptions.columns=l)}function o(){console.log("createColumnHandlers handleColumnsApply called"),console.log("createColumnHandlers current tableColumns:",e.value),t.value.columns=e.value,i?.tableOptions&&(i.tableOptions.columns=e.value),r?.()}return{handleColumnsChanged:s,handleColumnsApply:o}}const lx=(n={})=>{const{navigate:e=y=>console.warn("useBreadcrumbs: navigate function not provided"),translate:t=y=>y,getCurrentRoute:i=()=>({path:"/",name:"home"}),maxItems:r=5,storageKey:s="breadcrumbs"}=n,o=a.ref([]);function l(y){e(y)}function u(y,A){if(!Array.isArray(y))return[];const C=JSON.parse(JSON.stringify(y));return C.length>A&&C.splice(0,C.length-A),C}function c(){const y=i(),A={path:y.path,name:y.name},C=o.value||[],m=C[C.length-1];if(JSON.stringify(m)===JSON.stringify(A))return!1;C.push(A),o.value=u(C,r),localStorage.setItem(s,JSON.stringify(o.value))}function d(){const y=JSON.parse(localStorage.getItem(s)||"[]");y?.length||c(),o.value=y}const f=a.computed(()=>o.value.map((y,A)=>({text:t(`routes.${y.name}`),href:y.path,isActive:A===o.value.length-1})));function p(){c()}function h(){o.value=[],localStorage.removeItem(s)}function x(y){const A=o.value||[];A.push(y),o.value=u(A,r),localStorage.setItem(s,JSON.stringify(o.value))}return a.onMounted(()=>{d()}),{goTo:l,crumbs:f,breadcrumbs:o,updateBreadcrumbs:p,clearBreadcrumbs:h,addBreadcrumb:x}};function ux(n){return n?.length?n.map(e=>typeof e=="string"?e:e?.name??"").filter(e=>!!e):[]}function cx(n){const e=a.computed(()=>{const t=a.toValue(n);return ux(t)});return t=>lr(t,e.value)}const ui={country:"country",region:"region",district:"district",locality:"locality",street:"street",house:"house",building:"building",apartment:"apartment"};function dx(n){return{countryLabel:n(ui.country),regionLabel:n(ui.region),districtLabel:n(ui.district),localityLabel:n(ui.locality),streetLabel:n(ui.street),houseLabel:n(ui.house),buildingLabel:n(ui.building),apartmentLabel:n(ui.apartment)}}const tl={expandAll:"accordion.expand_all",collapseAll:"accordion.collapse_all"};function hx(n){return{expandText:n(tl.expandAll),collapseText:n(tl.collapseAll)}}async function fx(n){const{logOutSSO:e,nextTick:t,navigateTo:i,redirect:r,onReset:s,redirectPath:o="/login",onError:l=c=>console.error(c)}=n,u=typeof e=="function"?e:async()=>{};try{await u()}catch(c){l(c)}finally{const c=r??i;if(r){s(),c(o);return}await t(()=>{s(),c(o)})}}const kd=n=>{if(typeof n=="string"&&n.length!==0&&!n.toLowerCase().includes("localhost"))return n},px=({origin:n,authCookieDomain:e,httpOnly:t})=>{const i=kd(e);return{path:"/",sameSite:"lax",secure:n?.startsWith("https://")??!1,...typeof t=="boolean"?{httpOnly:t}:{},...i?{domain:i}:{}}},Sd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";function xd(){const n=globalThis.crypto;if(!n)throw new Error("Web Crypto API is not available.");if(!n.getRandomValues)throw new Error("Web Crypto getRandomValues is not available.");if(!n.subtle?.digest)throw new Error("Web Crypto subtle digest is not available.");return n}function Rd(n){const e=xd(),t=new Uint8Array(n);e.getRandomValues(t);let i="";return t.forEach(r=>{i+=Sd[r%Sd.length]}),i}function mx(n){const e=new Uint8Array(n);let t="";return e.forEach(i=>{t+=String.fromCharCode(i)}),btoa(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/g,"")}function Md(n=64){if(!Number.isInteger(n)||n<43||n>128)throw new Error("PKCE code_verifier length must be between 43 and 128.");return Rd(n)}async function Td(n){const e=xd(),i=new TextEncoder().encode(n),r=await e.subtle.digest("SHA-256",i);return mx(r)}async function gx(n=64){const e=Md(n),t=await Td(e);return{codeVerifier:e,codeChallenge:t}}function bx(n=32){if(!Number.isInteger(n)||n<16||n>128)throw new Error("OAuth state length must be between 16 and 128.");return Rd(n)}function vx(n,e,t){return{current_page:e,data:[],first_page_url:n,from:0,last_page:1,last_page_url:n,links:[],next_page_url:null,path:n,per_page:t,prev_page_url:null,to:0,total:0}}function yx(n={}){const e=(i,r)=>i==null||i===""?[]:Array.isArray(i)?i.flatMap((s,o)=>e(s,r?`${r}[${o}]`:String(o))):typeof i=="object"?Object.entries(i).flatMap(([s,o])=>e(o,r?`${r}[${s}]`:s)):r?[{key:r,value:String(i)}]:[],t=i=>i==null||i===""?!0:Array.isArray(i)?i.length===0:typeof i=="object"?Object.keys(i).length===0:!1;return async(i,r,s)=>{const o=(r.method||"GET").toUpperCase();let l=i;if(o==="GET"&&s&&typeof s=="object"){const c=new URL(i,typeof window<"u"?window.location.origin:"http://localhost");Object.entries(s).forEach(([d,f])=>{if(t(f))return;e(f,d).forEach(({key:h,value:x})=>{c.searchParams.set(h,x)})}),l=c.toString()}const u=await fetch(l,r);if(u.status===401)throw n.onUnauthorized?.(u),u;if(u.status===404&&n.onNotFound)return n.onNotFound({url:l,params:s,response:u});if(!u.ok)throw u;return await u.json()}}function wx(n,e){return{[`${e}-${e}`]:{pagination:{first:n("table_pagination.first"),first_title:n("table_pagination.first_title"),last:n("table_pagination.last"),last_title:n("table_pagination.last_title"),prev:n("table_pagination.prev"),prev_title:n("table_pagination.prev_title"),next:n("table_pagination.next"),next_title:n("table_pagination.next_title"),all:n("table_pagination.all"),counter:{showing:n("table_pagination.showing"),of:n("table_pagination.of"),rows:n("table_pagination.rows"),pages:n("table_pagination.pages")}},data:{loading:n("table_pagination.loading"),error:n("table_pagination.error")}}}}const Dn="/api/services/handbook/overpass/",Cx=n=>({searchCountries:(e={})=>n(`${Dn}countries`,{method:"GET",params:e}),getRegionsByCountry:e=>n(`${Dn}countries/${e}/regions`,{method:"GET"}),getDistrictsByRegion:e=>n(`${Dn}regions/${e}/districts`,{method:"GET"}),getLocalitiesByDistrict:e=>n(`${Dn}districts/${e}/cities`,{method:"GET"}),getStreetsByLocality:e=>n(`${Dn}cities/${e}/streets`,{method:"GET"})});ee.ACCORDION_LOCALIZATION_KEYS=tl,ee.ADDRESS_FORM_TRANSLATIONS=ui,ee.AddButton=il,ee.AddressForm=rw,ee.AgeFromAgeTo=vw,ee.BooleanCheckbox=Nc,ee.Breadcrumbs=kA,ee.Card=vC,ee.CardInfo=FA,ee.Checkbox=ub,ee.ClearFormButton=jd,ee.CollapseButton=Nd,ee.CollapsedSidebarLink=Qc,ee.ColumnSubFilter=FS,ee.ConfirmationModal=Kw,ee.CustomInput=ur,ee.DefaultAccordion=mE,ee.DefaultButton=Fr,ee.DefaultDropDown=Po,ee.DefaultModal=Wc,ee.Divider=No,ee.EditTableColumns=Jo,ee.EditTableColumnsModalComponent=Uc,ee.ErrorMessageComponent=uE,ee.ExportButton=Id,ee.ExportComponent=Dh,ee.FilterValuesPanel=nx,ee.Flatpickr=Ny,ee.Footer=wC,ee.FormError=ki,ee.Header=PC,ee.HeaderSearchForm=zy,ee.Icon=Br,ee.KindCheckboxesAccordion=RE,ee.LanguageSelector=SA,ee.Logo=Gc,ee.MainComponent=gA,ee.MultiCheckbox=yy,ee.MultiInput=ky,ee.MultipleQuickFilterComponent=i1,ee.PageCard=tE,ee.PageTitle=mC,ee.PasswordInput=sb,ee.PrintButton=Hd,ee.QuestionIcon=J1,ee.Sidebar=Kc,ee.SidebarLink=Yc,ee.Slider=Q1,ee.Spinner=Lr,ee.SubFilterToggleBtn=sd,ee.Table=TS,ee.TableAppliedFiltersStorage=_S,ee.TableColumnsButton=KS,ee.TableColumnsModal=JS,ee.TableCount=BS,ee.TableFilterModalComponent=iC,ee.TableQuickFilterComponent=HS,ee.Toast=Jc,ee.ToggleAllTableRowButtons=ZS,ee.ToggleButtons=Gd,ee.VSelect=Vt,ee.addDays=Da,ee.addMonths=Oa,ee.addYears=La,ee.areArraysEqual=Ja,ee.arrayToCutString=ja,ee.camelCase=Pa,ee.capitalize=_a,ee.chunk=Ya,ee.clamp=fo,ee.constants=Ko,ee.createAddressService=Cx,ee.createColumnHandlers=ox,ee.createEmptyRemotePageResponse=vx,ee.createTableAjaxRequestFunc=yx,ee.createTabulatorLangsFromT=wx,ee.cutString=za,ee.debounce=hn,ee.findAll=ha,ee.findOne=da,ee.firstToUppercase=Fa,ee.flattenObject=or,ee.formatDate=Ra,ee.formatMoney=Ma,ee.generateCodeChallenge=Td,ee.generateCodeVerifier=Md,ee.generateId=Xa,ee.generatePkcePair=gx,ee.generateState=bx,ee.getAccordionLocalization=hx,ee.getAddressFormLabels=dx,ee.getAuthCookieOptions=px,ee.getBrowserLocale=ga,ee.getDeclinationFromNumber=Ba,ee.getDeepCopyObject=oi,ee.getLocalStorage=so,ee.getNowDate=Ta,ee.getSessionStorage=lo,ee.getSharedCookieDomain=kd,ee.getSupportedLocales=nr,ee.getUniqueKey=pi,ee.getValueFromArr=ya,ee.getValueFromObjectItem=rr,ee.groupBy=Ua,ee.hasMatch=vo,ee.hasPermission=lr,ee.hasRole=bo,ee.helpers=Xg,ee.initEmailMask=Ca,ee.initInnMask=Ea,ee.initKppMask=ka,ee.initPassportMask=xa,ee.initPhoneMask=Aa,ee.initSnilsMask=Sa,ee.isArraysEqual=Ka,ee.isEqual=ar,ee.isObject=Qa,ee.isValidDate=sr,ee.isValidEmail=to,ee.isValidLocale=ba,ee.isValidPhone=io,ee.isValidUrl=no,ee.kebabCase=Na,ee.lerp=po,ee.maskDate=Va,ee.memoize=co,ee.mountSubFilter=zi,ee.omit=Za,ee.once=ho,ee.pick=$a,ee.prepareResponse=yo,ee.prepareSelectOptions=fa,ee.random=mo,ee.removeLocalStorage=ao,ee.removeSessionStorage=uo,ee.required=eo,ee.roundToDecimals=go,ee.runLogoutFlow=fx,ee.scrollToElement=ma,ee.scrollToError=pa,ee.setLocalStorage=ro,ee.setSessionStorage=oo,ee.snakeCase=Ia,ee.sortBy=Ga,ee.sumOfArrayNumbers=wa,ee.tableColumnsUtils=sx,ee.throttle=va,ee.truncate=Ha,ee.unflatenObject=qa,ee.unique=Wa,ee.useBreadcrumbs=lx,ee.usePermissionChecker=cx,ee.useTableColumns=qo,ee.useTableColumnsEnhanced=Ed,ee.useTableColumnsIntegration=ax,ee.useTableDefault=rx,ee.useTableStorage=bd,Object.defineProperty(ee,Symbol.toStringTag,{value:"Module"})}));