r3ui-lib 1.1.4 → 1.1.6

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 +1 @@
1
- {"version":3,"file":"CustomInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/CustomInput.vue"],"names":[],"mappings":";WAwUkB,OAAO,IAAI;YADV,OAAO,CAAC,OAAO,KAAK,CAAC;;;;;;;;;;;;AAtJxC,6FAAkE;AAvClE;;;;;;;;;;EAqCG"}
1
+ {"version":3,"file":"CustomInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/CustomInput.vue"],"names":[],"mappings":";WA2TkB,OAAO,IAAI;YADV,OAAO,CAAC,OAAO,KAAK,CAAC;;;;;;;;;;;;AAtJxC,6FAAkE;AAvClE;;;;;;;;;;EAqCG"}
@@ -8880,7 +8880,7 @@ const zg = {
8880
8880
  ct(dn, { errors: l.value }, null, 8, ["errors"])
8881
8881
  ]));
8882
8882
  }
8883
- }, Xs = /* @__PURE__ */ Ye($g, [["__scopeId", "data-v-294d9aac"]]), Wg = { class: "position-relative" }, Gg = ["type", "value"], Yg = {
8883
+ }, Xs = /* @__PURE__ */ Ye($g, [["__scopeId", "data-v-107c8fc8"]]), Wg = { class: "position-relative" }, Gg = ["type", "value"], Yg = {
8884
8884
  __name: "PasswordInput",
8885
8885
  props: {
8886
8886
  modelValue: {
@@ -22,7 +22,7 @@ var Mo;function pe(){return Mo.apply(null,arguments)}function Bd(n){Mo=n}functio
22
22
  [`+s+"] ";for(a in arguments[0])je(arguments[0],a)&&(r+=a+": "+arguments[0][a]+", ");r=r.slice(0,-2)}else r=arguments[s];i.push(r)}Do(n+`
23
23
  Arguments: `+Array.prototype.slice.call(i).join("")+`
24
24
  `+new Error().stack),t=!1}return e.apply(this,arguments)},e)}var Oo={};function Lo(n,e){pe.deprecationHandler!=null&&pe.deprecationHandler(n,e),Oo[n]||(Do(e),Oo[n]=!0)}pe.suppressDeprecationWarnings=!1,pe.deprecationHandler=null;function Pt(n){return typeof Function<"u"&&n instanceof Function||Object.prototype.toString.call(n)==="[object Function]"}function Vd(n){var e,t;for(t in n)je(n,t)&&(e=n[t],Pt(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 cs(n,e){var t=Qt({},n),i;for(i in e)je(e,i)&&(oi(n[i])&&oi(e[i])?(t[i]={},Qt(t[i],n[i]),Qt(t[i],e[i])):e[i]!=null?t[i]=e[i]:delete t[i]);for(i in n)je(n,i)&&!je(e,i)&&oi(n[i])&&(t[i]=Qt({},t[i]));return t}function ds(n){n!=null&&this.set(n)}var hs;Object.keys?hs=Object.keys:hs=function(n){var e,t=[];for(e in n)je(n,e)&&t.push(e);return t};var Hd={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function zd(n,e,t){var i=this._calendar[n]||this._calendar.sameElse;return Pt(i)?i.call(e,t):i}function At(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 fs=/(\[[^\[]*\])|(\\)?([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,wn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ps={},yi={};function Ee(n,e,t,i){var r=i;typeof i=="string"&&(r=function(){return this[i]()}),n&&(yi[n]=r),e&&(yi[e[0]]=function(){return At(r.apply(this,arguments),e[1],e[2])}),t&&(yi[t]=function(){return this.localeData().ordinal(r.apply(this,arguments),n)})}function Id(n){return n.match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"")}function $d(n){var e=n.match(fs),t,i;for(t=0,i=e.length;t<i;t++)yi[e[t]]?e[t]=yi[e[t]]:e[t]=Id(e[t]);return function(r){var s="",a;for(a=0;a<i;a++)s+=Pt(e[a])?e[a].call(r,n):e[a];return s}}function Cn(n,e){return n.isValid()?(e=Po(e,n.localeData()),ps[e]=ps[e]||$d(e),ps[e](n)):n.localeData().invalidDate()}function Po(n,e){var t=5;function i(r){return e.longDateFormat(r)||r}for(wn.lastIndex=0;t>=0&&wn.test(n);)n=n.replace(wn,i),wn.lastIndex=0,t-=1;return n}var jd={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 Wd(n){var e=this._longDateFormat[n],t=this._longDateFormat[n.toUpperCase()];return e||!t?e:(this._longDateFormat[n]=t.match(fs).map(function(i){return i==="MMMM"||i==="MM"||i==="DD"||i==="dddd"?i.slice(1):i}).join(""),this._longDateFormat[n])}var Gd="Invalid date";function Yd(){return this._invalidDate}var Ud="%d",qd=/\d{1,2}/;function Kd(n){return this._ordinal.replace("%d",n)}var Jd={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 Xd(n,e,t,i){var r=this._relativeTime[t];return Pt(r)?r(n,e,t,i):r.replace(/%d/i,n)}function Zd(n,e){var t=this._relativeTime[n>0?"future":"past"];return Pt(t)?t(e):t.replace(/%s/i,e)}var Ao={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 Ct(n){return typeof n=="string"?Ao[n]||Ao[n.toLowerCase()]:void 0}function ms(n){var e={},t,i;for(i in n)je(n,i)&&(t=Ct(i),t&&(e[t]=n[i]));return e}var Qd={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 eh(n){var e=[],t;for(t in n)je(n,t)&&e.push({unit:t,priority:Qd[t]});return e.sort(function(i,r){return i.priority-r.priority}),e}var Fo=/\d/,gt=/\d\d/,Bo=/\d{3}/,gs=/\d{4}/,En=/[+-]?\d{6}/,Je=/\d\d?/,No=/\d\d\d\d?/,Vo=/\d\d\d\d\d\d?/,kn=/\d{1,3}/,bs=/\d{1,4}/,Sn=/[+-]?\d{1,6}/,wi=/\d+/,xn=/[+-]?\d+/,th=/Z|[+-]\d\d:?\d\d/gi,_n=/Z|[+-]\d\d(?::?\d\d)?/gi,ih=/[+-]?\d+(\.\d{1,3})?/,$i=/[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,Ci=/^[1-9]\d?/,vs=/^([1-9]\d|\d)/,Mn;Mn={};function ge(n,e,t){Mn[n]=Pt(e)?e:function(i,r){return i&&t?t:e}}function nh(n,e){return je(Mn,n)?Mn[n](e._strict,e._locale):new RegExp(rh(n))}function rh(n){return $t(n.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,i,r,s){return t||i||r||s}))}function $t(n){return n.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Et(n){return n<0?Math.ceil(n)||0:Math.floor(n)}function He(n){var e=+n,t=0;return e!==0&&isFinite(e)&&(t=Et(e)),t}var ys={};function qe(n,e){var t,i=e,r;for(typeof n=="string"&&(n=[n]),It(e)&&(i=function(s,a){a[e]=He(s)}),r=n.length,t=0;t<r;t++)ys[n[t]]=i}function ji(n,e){qe(n,function(t,i,r,s){r._w=r._w||{},e(t,r._w,r,s)})}function sh(n,e,t){e!=null&&je(ys,n)&&ys[n](e,t._a,t,n)}function Rn(n){return n%4===0&&n%100!==0||n%400===0}var st=0,jt=1,Ft=2,nt=3,Dt=4,Wt=5,li=6,ah=7,oh=8;Ee("Y",0,0,function(){var n=this.year();return n<=9999?At(n,4):"+"+n}),Ee(0,["YY",2],0,function(){return this.year()%100}),Ee(0,["YYYY",4],0,"year"),Ee(0,["YYYYY",5],0,"year"),Ee(0,["YYYYYY",6,!0],0,"year"),ge("Y",xn),ge("YY",Je,gt),ge("YYYY",bs,gs),ge("YYYYY",Sn,En),ge("YYYYYY",Sn,En),qe(["YYYYY","YYYYYY"],st),qe("YYYY",function(n,e){e[st]=n.length===2?pe.parseTwoDigitYear(n):He(n)}),qe("YY",function(n,e){e[st]=pe.parseTwoDigitYear(n)}),qe("Y",function(n,e){e[st]=parseInt(n,10)});function Wi(n){return Rn(n)?366:365}pe.parseTwoDigitYear=function(n){return He(n)+(He(n)>68?1900:2e3)};var Ho=Ei("FullYear",!0);function lh(){return Rn(this.year())}function Ei(n,e){return function(t){return t!=null?(zo(this,n,t),pe.updateOffset(this,e),this):Gi(this,n)}}function Gi(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 zo(n,e,t){var i,r,s,a,o;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,a=n.month(),o=n.date(),o=o===29&&a===1&&!Rn(s)?28:o,r?i.setUTCFullYear(s,a,o):i.setFullYear(s,a,o)}}function uh(n){return n=Ct(n),Pt(this[n])?this[n]():this}function ch(n,e){if(typeof n=="object"){n=ms(n);var t=eh(n),i,r=t.length;for(i=0;i<r;i++)this[t[i].unit](n[t[i].unit])}else if(n=Ct(n),Pt(this[n]))return this[n](e);return this}function dh(n,e){return(n%e+e)%e}var tt;Array.prototype.indexOf?tt=Array.prototype.indexOf:tt=function(n){var e;for(e=0;e<this.length;++e)if(this[e]===n)return e;return-1};function ws(n,e){if(isNaN(n)||isNaN(e))return NaN;var t=dh(e,12);return n+=(e-t)/12,t===1?Rn(n)?29:28:31-t%7%2}Ee("M",["MM",2],"Mo",function(){return this.month()+1}),Ee("MMM",0,0,function(n){return this.localeData().monthsShort(this,n)}),Ee("MMMM",0,0,function(n){return this.localeData().months(this,n)}),ge("M",Je,Ci),ge("MM",Je,gt),ge("MMM",function(n,e){return e.monthsShortRegex(n)}),ge("MMMM",function(n,e){return e.monthsRegex(n)}),qe(["M","MM"],function(n,e){e[jt]=He(n)-1}),qe(["MMM","MMMM"],function(n,e,t,i){var r=t._locale.monthsParse(n,i,t._strict);r!=null?e[jt]=r:Oe(t).invalidMonth=n});var hh="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Io="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),$o=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,fh=$i,ph=$i;function mh(n,e){return n?Rt(this._months)?this._months[n.month()]:this._months[(this._months.isFormat||$o).test(e)?"format":"standalone"][n.month()]:Rt(this._months)?this._months:this._months.standalone}function gh(n,e){return n?Rt(this._monthsShort)?this._monthsShort[n.month()]:this._monthsShort[$o.test(e)?"format":"standalone"][n.month()]:Rt(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function bh(n,e,t){var i,r,s,a=n.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)s=Lt([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(s,"").toLocaleLowerCase();return t?e==="MMM"?(r=tt.call(this._shortMonthsParse,a),r!==-1?r:null):(r=tt.call(this._longMonthsParse,a),r!==-1?r:null):e==="MMM"?(r=tt.call(this._shortMonthsParse,a),r!==-1?r:(r=tt.call(this._longMonthsParse,a),r!==-1?r:null)):(r=tt.call(this._longMonthsParse,a),r!==-1?r:(r=tt.call(this._shortMonthsParse,a),r!==-1?r:null))}function vh(n,e,t){var i,r,s;if(this._monthsParseExact)return bh.call(this,n,e,t);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=Lt([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 jo(n,e){if(!n.isValid())return n;if(typeof e=="string"){if(/^\d+$/.test(e))e=He(e);else if(e=n.localeData().monthsParse(e),!It(e))return n}var t=e,i=n.date();return i=i<29?i:Math.min(i,ws(n.year(),t)),n._isUTC?n._d.setUTCMonth(t,i):n._d.setMonth(t,i),n}function Wo(n){return n!=null?(jo(this,n),pe.updateOffset(this,!0),this):Gi(this,"Month")}function yh(){return ws(this.year(),this.month())}function wh(n){return this._monthsParseExact?(je(this,"_monthsRegex")||Go.call(this),n?this._monthsShortStrictRegex:this._monthsShortRegex):(je(this,"_monthsShortRegex")||(this._monthsShortRegex=fh),this._monthsShortStrictRegex&&n?this._monthsShortStrictRegex:this._monthsShortRegex)}function Ch(n){return this._monthsParseExact?(je(this,"_monthsRegex")||Go.call(this),n?this._monthsStrictRegex:this._monthsRegex):(je(this,"_monthsRegex")||(this._monthsRegex=ph),this._monthsStrictRegex&&n?this._monthsStrictRegex:this._monthsRegex)}function Go(){function n(u,c){return c.length-u.length}var e=[],t=[],i=[],r,s,a,o;for(r=0;r<12;r++)s=Lt([2e3,r]),a=$t(this.monthsShort(s,"")),o=$t(this.months(s,"")),e.push(a),t.push(o),i.push(o),i.push(a);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 Eh(n,e,t,i,r,s,a){var o;return n<100&&n>=0?(o=new Date(n+400,e,t,i,r,s,a),isFinite(o.getFullYear())&&o.setFullYear(n)):o=new Date(n,e,t,i,r,s,a),o}function Yi(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 Tn(n,e,t){var i=7+e-t,r=(7+Yi(n,0,i).getUTCDay()-e)%7;return-r+i-1}function Yo(n,e,t,i,r){var s=(7+t-i)%7,a=Tn(n,i,r),o=1+7*(e-1)+s+a,u,c;return o<=0?(u=n-1,c=Wi(u)+o):o>Wi(n)?(u=n+1,c=o-Wi(n)):(u=n,c=o),{year:u,dayOfYear:c}}function Ui(n,e,t){var i=Tn(n.year(),e,t),r=Math.floor((n.dayOfYear()-i-1)/7)+1,s,a;return r<1?(a=n.year()-1,s=r+Gt(a,e,t)):r>Gt(n.year(),e,t)?(s=r-Gt(n.year(),e,t),a=n.year()+1):(a=n.year(),s=r),{week:s,year:a}}function Gt(n,e,t){var i=Tn(n,e,t),r=Tn(n+1,e,t);return(Wi(n)-i+r)/7}Ee("w",["ww",2],"wo","week"),Ee("W",["WW",2],"Wo","isoWeek"),ge("w",Je,Ci),ge("ww",Je,gt),ge("W",Je,Ci),ge("WW",Je,gt),ji(["w","ww","W","WW"],function(n,e,t,i){e[i.substr(0,1)]=He(n)});function kh(n){return Ui(n,this._week.dow,this._week.doy).week}var Sh={dow:0,doy:6};function xh(){return this._week.dow}function _h(){return this._week.doy}function Mh(n){var e=this.localeData().week(this);return n==null?e:this.add((n-e)*7,"d")}function Rh(n){var e=Ui(this,1,4).week;return n==null?e:this.add((n-e)*7,"d")}Ee("d",0,"do","day"),Ee("dd",0,0,function(n){return this.localeData().weekdaysMin(this,n)}),Ee("ddd",0,0,function(n){return this.localeData().weekdaysShort(this,n)}),Ee("dddd",0,0,function(n){return this.localeData().weekdays(this,n)}),Ee("e",0,0,"weekday"),Ee("E",0,0,"isoWeekday"),ge("d",Je),ge("e",Je),ge("E",Je),ge("dd",function(n,e){return e.weekdaysMinRegex(n)}),ge("ddd",function(n,e){return e.weekdaysShortRegex(n)}),ge("dddd",function(n,e){return e.weekdaysRegex(n)}),ji(["dd","ddd","dddd"],function(n,e,t,i){var r=t._locale.weekdaysParse(n,i,t._strict);r!=null?e.d=r:Oe(t).invalidWeekday=n}),ji(["d","e","E"],function(n,e,t,i){e[i]=He(n)});function Th(n,e){return typeof n!="string"?n:isNaN(n)?(n=e.weekdaysParse(n),typeof n=="number"?n:null):parseInt(n,10)}function Dh(n,e){return typeof n=="string"?e.weekdaysParse(n)%7||7:isNaN(n)?null:n}function Cs(n,e){return n.slice(e,7).concat(n.slice(0,e))}var Oh="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Uo="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Lh="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ph=$i,Ah=$i,Fh=$i;function Bh(n,e){var t=Rt(this._weekdays)?this._weekdays:this._weekdays[n&&n!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return n===!0?Cs(t,this._week.dow):n?t[n.day()]:t}function Nh(n){return n===!0?Cs(this._weekdaysShort,this._week.dow):n?this._weekdaysShort[n.day()]:this._weekdaysShort}function Vh(n){return n===!0?Cs(this._weekdaysMin,this._week.dow):n?this._weekdaysMin[n.day()]:this._weekdaysMin}function Hh(n,e,t){var i,r,s,a=n.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)s=Lt([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=tt.call(this._weekdaysParse,a),r!==-1?r:null):e==="ddd"?(r=tt.call(this._shortWeekdaysParse,a),r!==-1?r:null):(r=tt.call(this._minWeekdaysParse,a),r!==-1?r:null):e==="dddd"?(r=tt.call(this._weekdaysParse,a),r!==-1||(r=tt.call(this._shortWeekdaysParse,a),r!==-1)?r:(r=tt.call(this._minWeekdaysParse,a),r!==-1?r:null)):e==="ddd"?(r=tt.call(this._shortWeekdaysParse,a),r!==-1||(r=tt.call(this._weekdaysParse,a),r!==-1)?r:(r=tt.call(this._minWeekdaysParse,a),r!==-1?r:null)):(r=tt.call(this._minWeekdaysParse,a),r!==-1||(r=tt.call(this._weekdaysParse,a),r!==-1)?r:(r=tt.call(this._shortWeekdaysParse,a),r!==-1?r:null))}function zh(n,e,t){var i,r,s;if(this._weekdaysParseExact)return Hh.call(this,n,e,t);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=Lt([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 Ih(n){if(!this.isValid())return n!=null?this:NaN;var e=Gi(this,"Day");return n!=null?(n=Th(n,this.localeData()),this.add(n-e,"d")):e}function $h(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 jh(n){if(!this.isValid())return n!=null?this:NaN;if(n!=null){var e=Dh(n,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function Wh(n){return this._weekdaysParseExact?(je(this,"_weekdaysRegex")||Es.call(this),n?this._weekdaysStrictRegex:this._weekdaysRegex):(je(this,"_weekdaysRegex")||(this._weekdaysRegex=Ph),this._weekdaysStrictRegex&&n?this._weekdaysStrictRegex:this._weekdaysRegex)}function Gh(n){return this._weekdaysParseExact?(je(this,"_weekdaysRegex")||Es.call(this),n?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(je(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ah),this._weekdaysShortStrictRegex&&n?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Yh(n){return this._weekdaysParseExact?(je(this,"_weekdaysRegex")||Es.call(this),n?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(je(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Fh),this._weekdaysMinStrictRegex&&n?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Es(){function n(d,p){return p.length-d.length}var e=[],t=[],i=[],r=[],s,a,o,u,c;for(s=0;s<7;s++)a=Lt([2e3,1]).day(s),o=$t(this.weekdaysMin(a,"")),u=$t(this.weekdaysShort(a,"")),c=$t(this.weekdays(a,"")),e.push(o),t.push(u),i.push(c),r.push(o),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 ks(){return this.hours()%12||12}function Uh(){return this.hours()||24}Ee("H",["HH",2],0,"hour"),Ee("h",["hh",2],0,ks),Ee("k",["kk",2],0,Uh),Ee("hmm",0,0,function(){return""+ks.apply(this)+At(this.minutes(),2)}),Ee("hmmss",0,0,function(){return""+ks.apply(this)+At(this.minutes(),2)+At(this.seconds(),2)}),Ee("Hmm",0,0,function(){return""+this.hours()+At(this.minutes(),2)}),Ee("Hmmss",0,0,function(){return""+this.hours()+At(this.minutes(),2)+At(this.seconds(),2)});function qo(n,e){Ee(n,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}qo("a",!0),qo("A",!1);function Ko(n,e){return e._meridiemParse}ge("a",Ko),ge("A",Ko),ge("H",Je,vs),ge("h",Je,Ci),ge("k",Je,Ci),ge("HH",Je,gt),ge("hh",Je,gt),ge("kk",Je,gt),ge("hmm",No),ge("hmmss",Vo),ge("Hmm",No),ge("Hmmss",Vo),qe(["H","HH"],nt),qe(["k","kk"],function(n,e,t){var i=He(n);e[nt]=i===24?0:i}),qe(["a","A"],function(n,e,t){t._isPm=t._locale.isPM(n),t._meridiem=n}),qe(["h","hh"],function(n,e,t){e[nt]=He(n),Oe(t).bigHour=!0}),qe("hmm",function(n,e,t){var i=n.length-2;e[nt]=He(n.substr(0,i)),e[Dt]=He(n.substr(i)),Oe(t).bigHour=!0}),qe("hmmss",function(n,e,t){var i=n.length-4,r=n.length-2;e[nt]=He(n.substr(0,i)),e[Dt]=He(n.substr(i,2)),e[Wt]=He(n.substr(r)),Oe(t).bigHour=!0}),qe("Hmm",function(n,e,t){var i=n.length-2;e[nt]=He(n.substr(0,i)),e[Dt]=He(n.substr(i))}),qe("Hmmss",function(n,e,t){var i=n.length-4,r=n.length-2;e[nt]=He(n.substr(0,i)),e[Dt]=He(n.substr(i,2)),e[Wt]=He(n.substr(r))});function qh(n){return(n+"").toLowerCase().charAt(0)==="p"}var Kh=/[ap]\.?m?\.?/i,Jh=Ei("Hours",!0);function Xh(n,e,t){return n>11?t?"pm":"PM":t?"am":"AM"}var Jo={calendar:Hd,longDateFormat:jd,invalidDate:Gd,ordinal:Ud,dayOfMonthOrdinalParse:qd,relativeTime:Jd,months:hh,monthsShort:Io,week:Sh,weekdays:Oh,weekdaysMin:Lh,weekdaysShort:Uo,meridiemParse:Kh},Ze={},qi={},Ki;function Zh(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 Xo(n){return n&&n.toLowerCase().replace("_","-")}function Qh(n){for(var e=0,t,i,r,s;e<n.length;){for(s=Xo(n[e]).split("-"),t=s.length,i=Xo(n[e+1]),i=i?i.split("-"):null;t>0;){if(r=Dn(s.slice(0,t).join("-")),r)return r;if(i&&i.length>=t&&Zh(s,i)>=t-1)break;t--}e++}return Ki}function ef(n){return!!(n&&n.match("^[^/\\\\]*$"))}function Dn(n){var e=null,t;if(Ze[n]===void 0&&typeof module<"u"&&module&&module.exports&&ef(n))try{e=Ki._abbr,t=require,t("./locale/"+n),ei(e)}catch{Ze[n]=null}return Ze[n]}function ei(n,e){var t;return n&&(ct(e)?t=Yt(n):t=Ss(n,e),t?Ki=t:typeof console<"u"&&console.warn&&console.warn("Locale "+n+" not found. Did you forget to load it?")),Ki._abbr}function Ss(n,e){if(e!==null){var t,i=Jo;if(e.abbr=n,Ze[n]!=null)Lo("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=Ze[n]._config;else if(e.parentLocale!=null)if(Ze[e.parentLocale]!=null)i=Ze[e.parentLocale]._config;else if(t=Dn(e.parentLocale),t!=null)i=t._config;else return qi[e.parentLocale]||(qi[e.parentLocale]=[]),qi[e.parentLocale].push({name:n,config:e}),null;return Ze[n]=new ds(cs(i,e)),qi[n]&&qi[n].forEach(function(r){Ss(r.name,r.config)}),ei(n),Ze[n]}else return delete Ze[n],null}function tf(n,e){if(e!=null){var t,i,r=Jo;Ze[n]!=null&&Ze[n].parentLocale!=null?Ze[n].set(cs(Ze[n]._config,e)):(i=Dn(n),i!=null&&(r=i._config),e=cs(r,e),i==null&&(e.abbr=n),t=new ds(e),t.parentLocale=Ze[n],Ze[n]=t),ei(n)}else Ze[n]!=null&&(Ze[n].parentLocale!=null?(Ze[n]=Ze[n].parentLocale,n===ei()&&ei(n)):Ze[n]!=null&&delete Ze[n]);return Ze[n]}function Yt(n){var e;if(n&&n._locale&&n._locale._abbr&&(n=n._locale._abbr),!n)return Ki;if(!Rt(n)){if(e=Dn(n),e)return e;n=[n]}return Qh(n)}function nf(){return hs(Ze)}function xs(n){var e,t=n._a;return t&&Oe(n).overflow===-2&&(e=t[jt]<0||t[jt]>11?jt:t[Ft]<1||t[Ft]>ws(t[st],t[jt])?Ft:t[nt]<0||t[nt]>24||t[nt]===24&&(t[Dt]!==0||t[Wt]!==0||t[li]!==0)?nt:t[Dt]<0||t[Dt]>59?Dt:t[Wt]<0||t[Wt]>59?Wt:t[li]<0||t[li]>999?li:-1,Oe(n)._overflowDayOfYear&&(e<st||e>Ft)&&(e=Ft),Oe(n)._overflowWeeks&&e===-1&&(e=ah),Oe(n)._overflowWeekday&&e===-1&&(e=oh),Oe(n).overflow=e),n}var rf=/^\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)?)?$/,sf=/^\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)?)?$/,af=/Z|[+-]\d\d(?::?\d\d)?/,On=[["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]],_s=[["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/]],of=/^\/?Date\((-?\d+)/i,lf=/^(?:(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}))$/,uf={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Zo(n){var e,t,i=n._i,r=rf.exec(i)||sf.exec(i),s,a,o,u,c=On.length,d=_s.length;if(r){for(Oe(n).iso=!0,e=0,t=c;e<t;e++)if(On[e][1].exec(r[1])){a=On[e][0],s=On[e][2]!==!1;break}if(a==null){n._isValid=!1;return}if(r[3]){for(e=0,t=d;e<t;e++)if(_s[e][1].exec(r[3])){o=(r[2]||" ")+_s[e][0];break}if(o==null){n._isValid=!1;return}}if(!s&&o!=null){n._isValid=!1;return}if(r[4])if(af.exec(r[4]))u="Z";else{n._isValid=!1;return}n._f=a+(o||"")+(u||""),Rs(n)}else n._isValid=!1}function cf(n,e,t,i,r,s){var a=[df(n),Io.indexOf(e),parseInt(t,10),parseInt(i,10),parseInt(r,10)];return s&&a.push(parseInt(s,10)),a}function df(n){var e=parseInt(n,10);return e<=49?2e3+e:e<=999?1900+e:e}function hf(n){return n.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function ff(n,e,t){if(n){var i=Uo.indexOf(n),r=new Date(e[0],e[1],e[2]).getDay();if(i!==r)return Oe(t).weekdayMismatch=!0,t._isValid=!1,!1}return!0}function pf(n,e,t){if(n)return uf[n];if(e)return 0;var i=parseInt(t,10),r=i%100,s=(i-r)/100;return s*60+r}function Qo(n){var e=lf.exec(hf(n._i)),t;if(e){if(t=cf(e[4],e[3],e[2],e[5],e[6],e[7]),!ff(e[1],t,n))return;n._a=t,n._tzm=pf(e[8],e[9],e[10]),n._d=Yi.apply(null,n._a),n._d.setUTCMinutes(n._d.getUTCMinutes()-n._tzm),Oe(n).rfc2822=!0}else n._isValid=!1}function mf(n){var e=of.exec(n._i);if(e!==null){n._d=new Date(+e[1]);return}if(Zo(n),n._isValid===!1)delete n._isValid;else return;if(Qo(n),n._isValid===!1)delete n._isValid;else return;n._strict?n._isValid=!1:pe.createFromInputFallback(n)}pe.createFromInputFallback=wt("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 ki(n,e,t){return n??e??t}function gf(n){var e=new Date(pe.now());return n._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function Ms(n){var e,t,i=[],r,s,a;if(!n._d){for(r=gf(n),n._w&&n._a[Ft]==null&&n._a[jt]==null&&bf(n),n._dayOfYear!=null&&(a=ki(n._a[st],r[st]),(n._dayOfYear>Wi(a)||n._dayOfYear===0)&&(Oe(n)._overflowDayOfYear=!0),t=Yi(a,0,n._dayOfYear),n._a[jt]=t.getUTCMonth(),n._a[Ft]=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[nt]===24&&n._a[Dt]===0&&n._a[Wt]===0&&n._a[li]===0&&(n._nextDay=!0,n._a[nt]=0),n._d=(n._useUTC?Yi:Eh).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[nt]=24),n._w&&typeof n._w.d<"u"&&n._w.d!==s&&(Oe(n).weekdayMismatch=!0)}}function bf(n){var e,t,i,r,s,a,o,u,c;e=n._w,e.GG!=null||e.W!=null||e.E!=null?(s=1,a=4,t=ki(e.GG,n._a[st],Ui(Xe(),1,4).year),i=ki(e.W,1),r=ki(e.E,1),(r<1||r>7)&&(u=!0)):(s=n._locale._week.dow,a=n._locale._week.doy,c=Ui(Xe(),s,a),t=ki(e.gg,n._a[st],c.year),i=ki(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>Gt(t,s,a)?Oe(n)._overflowWeeks=!0:u!=null?Oe(n)._overflowWeekday=!0:(o=Yo(t,i,r,s,a),n._a[st]=o.year,n._dayOfYear=o.dayOfYear)}pe.ISO_8601=function(){},pe.RFC_2822=function(){};function Rs(n){if(n._f===pe.ISO_8601){Zo(n);return}if(n._f===pe.RFC_2822){Qo(n);return}n._a=[],Oe(n).empty=!0;var e=""+n._i,t,i,r,s,a,o=e.length,u=0,c,d;for(r=Po(n._f,n._locale).match(fs)||[],d=r.length,t=0;t<d;t++)s=r[t],i=(e.match(nh(s,n))||[])[0],i&&(a=e.substr(0,e.indexOf(i)),a.length>0&&Oe(n).unusedInput.push(a),e=e.slice(e.indexOf(i)+i.length),u+=i.length),yi[s]?(i?Oe(n).empty=!1:Oe(n).unusedTokens.push(s),sh(s,i,n)):n._strict&&!i&&Oe(n).unusedTokens.push(s);Oe(n).charsLeftOver=o-u,e.length>0&&Oe(n).unusedInput.push(e),n._a[nt]<=12&&Oe(n).bigHour===!0&&n._a[nt]>0&&(Oe(n).bigHour=void 0),Oe(n).parsedDateParts=n._a.slice(0),Oe(n).meridiem=n._meridiem,n._a[nt]=vf(n._locale,n._a[nt],n._meridiem),c=Oe(n).era,c!==null&&(n._a[st]=n._locale.erasConvertYear(c,n._a[st])),Ms(n),xs(n)}function vf(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 yf(n){var e,t,i,r,s,a,o=!1,u=n._f.length;if(u===0){Oe(n).invalidFormat=!0,n._d=new Date(NaN);return}for(r=0;r<u;r++)s=0,a=!1,e=us({},n),n._useUTC!=null&&(e._useUTC=n._useUTC),e._f=n._f[r],Rs(e),os(e)&&(a=!0),s+=Oe(e).charsLeftOver,s+=Oe(e).unusedTokens.length*10,Oe(e).score=s,o?s<i&&(i=s,t=e):(i==null||s<i||a)&&(i=s,t=e,a&&(o=!0));Qt(n,t||e)}function wf(n){if(!n._d){var e=ms(n._i),t=e.day===void 0?e.date:e.day;n._a=Ro([e.year,e.month,t,e.hour,e.minute,e.second,e.millisecond],function(i){return i&&parseInt(i,10)}),Ms(n)}}function Cf(n){var e=new Ii(xs(el(n)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function el(n){var e=n._i,t=n._f;return n._locale=n._locale||Yt(n._l),e===null||t===void 0&&e===""?yn({nullInput:!0}):(typeof e=="string"&&(n._i=e=n._locale.preparse(e)),Tt(e)?new Ii(xs(e)):(zi(e)?n._d=e:Rt(t)?yf(n):t?Rs(n):Ef(n),os(n)||(n._d=null),n))}function Ef(n){var e=n._i;ct(e)?n._d=new Date(pe.now()):zi(e)?n._d=new Date(e.valueOf()):typeof e=="string"?mf(n):Rt(e)?(n._a=Ro(e.slice(0),function(t){return parseInt(t,10)}),Ms(n)):oi(e)?wf(n):It(e)?n._d=new Date(e):pe.createFromInputFallback(n)}function tl(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),(oi(n)&&ss(n)||Rt(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,Cf(s)}function Xe(n,e,t,i){return tl(n,e,t,i,!1)}var kf=wt("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var n=Xe.apply(null,arguments);return this.isValid()&&n.isValid()?n<this?this:n:yn()}),Sf=wt("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var n=Xe.apply(null,arguments);return this.isValid()&&n.isValid()?n>this?this:n:yn()});function il(n,e){var t,i;if(e.length===1&&Rt(e[0])&&(e=e[0]),!e.length)return Xe();for(t=e[0],i=1;i<e.length;++i)(!e[i].isValid()||e[i][n](t))&&(t=e[i]);return t}function xf(){var n=[].slice.call(arguments,0);return il("isBefore",n)}function _f(){var n=[].slice.call(arguments,0);return il("isAfter",n)}var Mf=function(){return Date.now?Date.now():+new Date},Ji=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Rf(n){var e,t=!1,i,r=Ji.length;for(e in n)if(je(n,e)&&!(tt.call(Ji,e)!==-1&&(n[e]==null||!isNaN(n[e]))))return!1;for(i=0;i<r;++i)if(n[Ji[i]]){if(t)return!1;parseFloat(n[Ji[i]])!==He(n[Ji[i]])&&(t=!0)}return!0}function Tf(){return this._isValid}function Df(){return Ot(NaN)}function Ln(n){var e=ms(n),t=e.year||0,i=e.quarter||0,r=e.month||0,s=e.week||e.isoWeek||0,a=e.day||0,o=e.hour||0,u=e.minute||0,c=e.second||0,d=e.millisecond||0;this._isValid=Rf(e),this._milliseconds=+d+c*1e3+u*6e4+o*1e3*60*60,this._days=+a+s*7,this._months=+r+i*3+t*12,this._data={},this._locale=Yt(),this._bubble()}function Pn(n){return n instanceof Ln}function Ts(n){return n<0?Math.round(-1*n)*-1:Math.round(n)}function Of(n,e,t){var i=Math.min(n.length,e.length),r=Math.abs(n.length-e.length),s=0,a;for(a=0;a<i;a++)He(n[a])!==He(e[a])&&s++;return s+r}function nl(n,e){Ee(n,0,0,function(){var t=this.utcOffset(),i="+";return t<0&&(t=-t,i="-"),i+At(~~(t/60),2)+e+At(~~t%60,2)})}nl("Z",":"),nl("ZZ",""),ge("Z",_n),ge("ZZ",_n),qe(["Z","ZZ"],function(n,e,t){t._useUTC=!0,t._tzm=Ds(_n,n)});var Lf=/([\+\-]|\d\d)/gi;function Ds(n,e){var t=(e||"").match(n),i,r,s;return t===null?null:(i=t[t.length-1]||[],r=(i+"").match(Lf)||["-",0,0],s=+(r[1]*60)+He(r[2]),s===0?0:r[0]==="+"?s:-s)}function Os(n,e){var t,i;return e._isUTC?(t=e.clone(),i=(Tt(n)||zi(n)?n.valueOf():Xe(n).valueOf())-t.valueOf(),t._d.setTime(t._d.valueOf()+i),pe.updateOffset(t,!1),t):Xe(n).local()}function Ls(n){return-Math.round(n._d.getTimezoneOffset())}pe.updateOffset=function(){};function Pf(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=Ds(_n,n),n===null)return this}else Math.abs(n)<16&&!t&&(n=n*60);return!this._isUTC&&e&&(r=Ls(this)),this._offset=n,this._isUTC=!0,r!=null&&this.add(r,"m"),i!==n&&(!e||this._changeInProgress?ol(this,Ot(n-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,pe.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?i:Ls(this)}function Af(n,e){return n!=null?(typeof n!="string"&&(n=-n),this.utcOffset(n,e),this):-this.utcOffset()}function Ff(n){return this.utcOffset(0,n)}function Bf(n){return this._isUTC&&(this.utcOffset(0,n),this._isUTC=!1,n&&this.subtract(Ls(this),"m")),this}function Nf(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var n=Ds(th,this._i);n!=null?this.utcOffset(n):this.utcOffset(0,!0)}return this}function Vf(n){return this.isValid()?(n=n?Xe(n).utcOffset():0,(this.utcOffset()-n)%60===0):!1}function Hf(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function zf(){if(!ct(this._isDSTShifted))return this._isDSTShifted;var n={},e;return us(n,this),n=el(n),n._a?(e=n._isUTC?Lt(n._a):Xe(n._a),this._isDSTShifted=this.isValid()&&Of(n._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function If(){return this.isValid()?!this._isUTC:!1}function $f(){return this.isValid()?this._isUTC:!1}function rl(){return this.isValid()?this._isUTC&&this._offset===0:!1}var jf=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Wf=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ot(n,e){var t=n,i=null,r,s,a;return Pn(n)?t={ms:n._milliseconds,d:n._days,M:n._months}:It(n)||!isNaN(+n)?(t={},e?t[e]=+n:t.milliseconds=+n):(i=jf.exec(n))?(r=i[1]==="-"?-1:1,t={y:0,d:He(i[Ft])*r,h:He(i[nt])*r,m:He(i[Dt])*r,s:He(i[Wt])*r,ms:He(Ts(i[li]*1e3))*r}):(i=Wf.exec(n))?(r=i[1]==="-"?-1:1,t={y:ui(i[2],r),M:ui(i[3],r),w:ui(i[4],r),d:ui(i[5],r),h:ui(i[6],r),m:ui(i[7],r),s:ui(i[8],r)}):t==null?t={}:typeof t=="object"&&("from"in t||"to"in t)&&(a=Gf(Xe(t.from),Xe(t.to)),t={},t.ms=a.milliseconds,t.M=a.months),s=new Ln(t),Pn(n)&&je(n,"_locale")&&(s._locale=n._locale),Pn(n)&&je(n,"_isValid")&&(s._isValid=n._isValid),s}Ot.fn=Ln.prototype,Ot.invalid=Df;function ui(n,e){var t=n&&parseFloat(n.replace(",","."));return(isNaN(t)?0:t)*e}function sl(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 Gf(n,e){var t;return n.isValid()&&e.isValid()?(e=Os(e,n),n.isBefore(e)?t=sl(n,e):(t=sl(e,n),t.milliseconds=-t.milliseconds,t.months=-t.months),t):{milliseconds:0,months:0}}function al(n,e){return function(t,i){var r,s;return i!==null&&!isNaN(+i)&&(Lo(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=Ot(t,i),ol(this,r,n),this}}function ol(n,e,t,i){var r=e._milliseconds,s=Ts(e._days),a=Ts(e._months);n.isValid()&&(i=i??!0,a&&jo(n,Gi(n,"Month")+a*t),s&&zo(n,"Date",Gi(n,"Date")+s*t),r&&n._d.setTime(n._d.valueOf()+r*t),i&&pe.updateOffset(n,s||a))}var Yf=al(1,"add"),Uf=al(-1,"subtract");function ll(n){return typeof n=="string"||n instanceof String}function qf(n){return Tt(n)||zi(n)||ll(n)||It(n)||Jf(n)||Kf(n)||n===null||n===void 0}function Kf(n){var e=oi(n)&&!ss(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,a=i.length;for(r=0;r<a;r+=1)s=i[r],t=t||je(n,s);return e&&t}function Jf(n){var e=Rt(n),t=!1;return e&&(t=n.filter(function(i){return!It(i)&&ll(n)}).length===0),e&&t}function Xf(n){var e=oi(n)&&!ss(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||je(n,s);return e&&t}function Zf(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 Qf(n,e){arguments.length===1&&(arguments[0]?qf(arguments[0])?(n=arguments[0],e=void 0):Xf(arguments[0])&&(e=arguments[0],n=void 0):(n=void 0,e=void 0));var t=n||Xe(),i=Os(t,this).startOf("day"),r=pe.calendarFormat(this,i)||"sameElse",s=e&&(Pt(e[r])?e[r].call(this,t):e[r]);return this.format(s||this.localeData().calendar(r,this,Xe(t)))}function ep(){return new Ii(this)}function tp(n,e){var t=Tt(n)?n:Xe(n);return this.isValid()&&t.isValid()?(e=Ct(e)||"millisecond",e==="millisecond"?this.valueOf()>t.valueOf():t.valueOf()<this.clone().startOf(e).valueOf()):!1}function ip(n,e){var t=Tt(n)?n:Xe(n);return this.isValid()&&t.isValid()?(e=Ct(e)||"millisecond",e==="millisecond"?this.valueOf()<t.valueOf():this.clone().endOf(e).valueOf()<t.valueOf()):!1}function np(n,e,t,i){var r=Tt(n)?n:Xe(n),s=Tt(e)?e:Xe(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 rp(n,e){var t=Tt(n)?n:Xe(n),i;return this.isValid()&&t.isValid()?(e=Ct(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 sp(n,e){return this.isSame(n,e)||this.isAfter(n,e)}function ap(n,e){return this.isSame(n,e)||this.isBefore(n,e)}function op(n,e,t){var i,r,s;if(!this.isValid())return NaN;if(i=Os(n,this),!i.isValid())return NaN;switch(r=(i.utcOffset()-this.utcOffset())*6e4,e=Ct(e),e){case"year":s=An(this,i)/12;break;case"month":s=An(this,i);break;case"quarter":s=An(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:Et(s)}function An(n,e){if(n.date()<e.date())return-An(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}pe.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",pe.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function lp(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function up(n){if(!this.isValid())return null;var e=n!==!0,t=e?this.clone().utc():this;return t.year()<0||t.year()>9999?Cn(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Pt(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Cn(t,"Z")):Cn(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function cp(){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 dp(n){n||(n=this.isUtc()?pe.defaultFormatUtc:pe.defaultFormat);var e=Cn(this,n);return this.localeData().postformat(e)}function hp(n,e){return this.isValid()&&(Tt(n)&&n.isValid()||Xe(n).isValid())?Ot({to:this,from:n}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function fp(n){return this.from(Xe(),n)}function pp(n,e){return this.isValid()&&(Tt(n)&&n.isValid()||Xe(n).isValid())?Ot({from:this,to:n}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function mp(n){return this.to(Xe(),n)}function ul(n){var e;return n===void 0?this._locale._abbr:(e=Yt(n),e!=null&&(this._locale=e),this)}var cl=wt("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 dl(){return this._locale}var Fn=1e3,Si=60*Fn,Bn=60*Si,hl=(365*400+97)*24*Bn;function xi(n,e){return(n%e+e)%e}function fl(n,e,t){return n<100&&n>=0?new Date(n+400,e,t)-hl:new Date(n,e,t).valueOf()}function pl(n,e,t){return n<100&&n>=0?Date.UTC(n+400,e,t)-hl:Date.UTC(n,e,t)}function gp(n){var e,t;if(n=Ct(n),n===void 0||n==="millisecond"||!this.isValid())return this;switch(t=this._isUTC?pl:fl,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-=xi(e+(this._isUTC?0:this.utcOffset()*Si),Bn);break;case"minute":e=this._d.valueOf(),e-=xi(e,Si);break;case"second":e=this._d.valueOf(),e-=xi(e,Fn);break}return this._d.setTime(e),pe.updateOffset(this,!0),this}function bp(n){var e,t;if(n=Ct(n),n===void 0||n==="millisecond"||!this.isValid())return this;switch(t=this._isUTC?pl:fl,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+=Bn-xi(e+(this._isUTC?0:this.utcOffset()*Si),Bn)-1;break;case"minute":e=this._d.valueOf(),e+=Si-xi(e,Si)-1;break;case"second":e=this._d.valueOf(),e+=Fn-xi(e,Fn)-1;break}return this._d.setTime(e),pe.updateOffset(this,!0),this}function vp(){return this._d.valueOf()-(this._offset||0)*6e4}function yp(){return Math.floor(this.valueOf()/1e3)}function wp(){return new Date(this.valueOf())}function Cp(){var n=this;return[n.year(),n.month(),n.date(),n.hour(),n.minute(),n.second(),n.millisecond()]}function Ep(){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 kp(){return this.isValid()?this.toISOString():null}function Sp(){return os(this)}function xp(){return Qt({},Oe(this))}function _p(){return Oe(this).overflow}function Mp(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}Ee("N",0,0,"eraAbbr"),Ee("NN",0,0,"eraAbbr"),Ee("NNN",0,0,"eraAbbr"),Ee("NNNN",0,0,"eraName"),Ee("NNNNN",0,0,"eraNarrow"),Ee("y",["y",1],"yo","eraYear"),Ee("y",["yy",2],0,"eraYear"),Ee("y",["yyy",3],0,"eraYear"),Ee("y",["yyyy",4],0,"eraYear"),ge("N",Ps),ge("NN",Ps),ge("NNN",Ps),ge("NNNN",Vp),ge("NNNNN",Hp),qe(["N","NN","NNN","NNNN","NNNNN"],function(n,e,t,i){var r=t._locale.erasParse(n,i,t._strict);r?Oe(t).era=r:Oe(t).invalidEra=n}),ge("y",wi),ge("yy",wi),ge("yyy",wi),ge("yyyy",wi),ge("yo",zp),qe(["y","yy","yyy","yyyy"],st),qe(["yo"],function(n,e,t,i){var r;t._locale._eraYearOrdinalRegex&&(r=n.match(t._locale._eraYearOrdinalRegex)),t._locale.eraYearOrdinalParse?e[st]=t._locale.eraYearOrdinalParse(n,r):e[st]=parseInt(n,10)});function Rp(n,e){var t,i,r,s=this._eras||Yt("en")._eras;for(t=0,i=s.length;t<i;++t){switch(typeof s[t].since){case"string":r=pe(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=pe(s[t].until).startOf("day").valueOf(),s[t].until=r.valueOf();break}}return s}function Tp(n,e,t){var i,r,s=this.eras(),a,o,u;for(n=n.toUpperCase(),i=0,r=s.length;i<r;++i)if(a=s[i].name.toUpperCase(),o=s[i].abbr.toUpperCase(),u=s[i].narrow.toUpperCase(),t)switch(e){case"N":case"NN":case"NNN":if(o===n)return s[i];break;case"NNNN":if(a===n)return s[i];break;case"NNNNN":if(u===n)return s[i];break}else if([a,o,u].indexOf(n)>=0)return s[i]}function Dp(n,e){var t=n.since<=n.until?1:-1;return e===void 0?pe(n.since).year():pe(n.since).year()+(e-n.offset)*t}function Op(){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 Lp(){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 Pp(){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 Ap(){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()-pe(r[n].since).year())*t+r[n].offset;return this.year()}function Fp(n){return je(this,"_erasNameRegex")||As.call(this),n?this._erasNameRegex:this._erasRegex}function Bp(n){return je(this,"_erasAbbrRegex")||As.call(this),n?this._erasAbbrRegex:this._erasRegex}function Np(n){return je(this,"_erasNarrowRegex")||As.call(this),n?this._erasNarrowRegex:this._erasRegex}function Ps(n,e){return e.erasAbbrRegex(n)}function Vp(n,e){return e.erasNameRegex(n)}function Hp(n,e){return e.erasNarrowRegex(n)}function zp(n,e){return e._eraYearOrdinalRegex||wi}function As(){var n=[],e=[],t=[],i=[],r,s,a,o,u,c=this.eras();for(r=0,s=c.length;r<s;++r)a=$t(c[r].name),o=$t(c[r].abbr),u=$t(c[r].narrow),e.push(a),n.push(o),t.push(u),i.push(a),i.push(o),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")}Ee(0,["gg",2],0,function(){return this.weekYear()%100}),Ee(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Nn(n,e){Ee(0,[n,n.length],0,e)}Nn("gggg","weekYear"),Nn("ggggg","weekYear"),Nn("GGGG","isoWeekYear"),Nn("GGGGG","isoWeekYear"),ge("G",xn),ge("g",xn),ge("GG",Je,gt),ge("gg",Je,gt),ge("GGGG",bs,gs),ge("gggg",bs,gs),ge("GGGGG",Sn,En),ge("ggggg",Sn,En),ji(["gggg","ggggg","GGGG","GGGGG"],function(n,e,t,i){e[i.substr(0,2)]=He(n)}),ji(["gg","GG"],function(n,e,t,i){e[i]=pe.parseTwoDigitYear(n)});function Ip(n){return ml.call(this,n,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function $p(n){return ml.call(this,n,this.isoWeek(),this.isoWeekday(),1,4)}function jp(){return Gt(this.year(),1,4)}function Wp(){return Gt(this.isoWeekYear(),1,4)}function Gp(){var n=this.localeData()._week;return Gt(this.year(),n.dow,n.doy)}function Yp(){var n=this.localeData()._week;return Gt(this.weekYear(),n.dow,n.doy)}function ml(n,e,t,i,r){var s;return n==null?Ui(this,i,r).year:(s=Gt(n,i,r),e>s&&(e=s),Up.call(this,n,e,t,i,r))}function Up(n,e,t,i,r){var s=Yo(n,e,t,i,r),a=Yi(s.year,0,s.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}Ee("Q",0,"Qo","quarter"),ge("Q",Fo),qe("Q",function(n,e){e[jt]=(He(n)-1)*3});function qp(n){return n==null?Math.ceil((this.month()+1)/3):this.month((n-1)*3+this.month()%3)}Ee("D",["DD",2],"Do","date"),ge("D",Je,Ci),ge("DD",Je,gt),ge("Do",function(n,e){return n?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),qe(["D","DD"],Ft),qe("Do",function(n,e){e[Ft]=He(n.match(Je)[0])});var gl=Ei("Date",!0);Ee("DDD",["DDDD",3],"DDDo","dayOfYear"),ge("DDD",kn),ge("DDDD",Bo),qe(["DDD","DDDD"],function(n,e,t){t._dayOfYear=He(n)});function Kp(n){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return n==null?e:this.add(n-e,"d")}Ee("m",["mm",2],0,"minute"),ge("m",Je,vs),ge("mm",Je,gt),qe(["m","mm"],Dt);var Jp=Ei("Minutes",!1);Ee("s",["ss",2],0,"second"),ge("s",Je,vs),ge("ss",Je,gt),qe(["s","ss"],Wt);var Xp=Ei("Seconds",!1);Ee("S",0,0,function(){return~~(this.millisecond()/100)}),Ee(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Ee(0,["SSS",3],0,"millisecond"),Ee(0,["SSSS",4],0,function(){return this.millisecond()*10}),Ee(0,["SSSSS",5],0,function(){return this.millisecond()*100}),Ee(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),Ee(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),Ee(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),Ee(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),ge("S",kn,Fo),ge("SS",kn,gt),ge("SSS",kn,Bo);var ti,bl;for(ti="SSSS";ti.length<=9;ti+="S")ge(ti,wi);function Zp(n,e){e[li]=He(("0."+n)*1e3)}for(ti="S";ti.length<=9;ti+="S")qe(ti,Zp);bl=Ei("Milliseconds",!1),Ee("z",0,0,"zoneAbbr"),Ee("zz",0,0,"zoneName");function Qp(){return this._isUTC?"UTC":""}function em(){return this._isUTC?"Coordinated Universal Time":""}var he=Ii.prototype;he.add=Yf,he.calendar=Qf,he.clone=ep,he.diff=op,he.endOf=bp,he.format=dp,he.from=hp,he.fromNow=fp,he.to=pp,he.toNow=mp,he.get=uh,he.invalidAt=_p,he.isAfter=tp,he.isBefore=ip,he.isBetween=np,he.isSame=rp,he.isSameOrAfter=sp,he.isSameOrBefore=ap,he.isValid=Sp,he.lang=cl,he.locale=ul,he.localeData=dl,he.max=Sf,he.min=kf,he.parsingFlags=xp,he.set=ch,he.startOf=gp,he.subtract=Uf,he.toArray=Cp,he.toObject=Ep,he.toDate=wp,he.toISOString=up,he.inspect=cp,typeof Symbol<"u"&&Symbol.for!=null&&(he[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),he.toJSON=kp,he.toString=lp,he.unix=yp,he.valueOf=vp,he.creationData=Mp,he.eraName=Op,he.eraNarrow=Lp,he.eraAbbr=Pp,he.eraYear=Ap,he.year=Ho,he.isLeapYear=lh,he.weekYear=Ip,he.isoWeekYear=$p,he.quarter=he.quarters=qp,he.month=Wo,he.daysInMonth=yh,he.week=he.weeks=Mh,he.isoWeek=he.isoWeeks=Rh,he.weeksInYear=Gp,he.weeksInWeekYear=Yp,he.isoWeeksInYear=jp,he.isoWeeksInISOWeekYear=Wp,he.date=gl,he.day=he.days=Ih,he.weekday=$h,he.isoWeekday=jh,he.dayOfYear=Kp,he.hour=he.hours=Jh,he.minute=he.minutes=Jp,he.second=he.seconds=Xp,he.millisecond=he.milliseconds=bl,he.utcOffset=Pf,he.utc=Ff,he.local=Bf,he.parseZone=Nf,he.hasAlignedHourOffset=Vf,he.isDST=Hf,he.isLocal=If,he.isUtcOffset=$f,he.isUtc=rl,he.isUTC=rl,he.zoneAbbr=Qp,he.zoneName=em,he.dates=wt("dates accessor is deprecated. Use date instead.",gl),he.months=wt("months accessor is deprecated. Use month instead",Wo),he.years=wt("years accessor is deprecated. Use year instead",Ho),he.zone=wt("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Af),he.isDSTShifted=wt("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",zf);function tm(n){return Xe(n*1e3)}function im(){return Xe.apply(null,arguments).parseZone()}function vl(n){return n}var We=ds.prototype;We.calendar=zd,We.longDateFormat=Wd,We.invalidDate=Yd,We.ordinal=Kd,We.preparse=vl,We.postformat=vl,We.relativeTime=Xd,We.pastFuture=Zd,We.set=Vd,We.eras=Rp,We.erasParse=Tp,We.erasConvertYear=Dp,We.erasAbbrRegex=Bp,We.erasNameRegex=Fp,We.erasNarrowRegex=Np,We.months=mh,We.monthsShort=gh,We.monthsParse=vh,We.monthsRegex=Ch,We.monthsShortRegex=wh,We.week=kh,We.firstDayOfYear=_h,We.firstDayOfWeek=xh,We.weekdays=Bh,We.weekdaysMin=Vh,We.weekdaysShort=Nh,We.weekdaysParse=zh,We.weekdaysRegex=Wh,We.weekdaysShortRegex=Gh,We.weekdaysMinRegex=Yh,We.isPM=qh,We.meridiem=Xh;function Vn(n,e,t,i){var r=Yt(),s=Lt().set(i,e);return r[t](s,n)}function yl(n,e,t){if(It(n)&&(e=n,n=void 0),n=n||"",e!=null)return Vn(n,e,t,"month");var i,r=[];for(i=0;i<12;i++)r[i]=Vn(n,i,t,"month");return r}function Fs(n,e,t,i){typeof n=="boolean"?(It(e)&&(t=e,e=void 0),e=e||""):(e=n,t=e,n=!1,It(e)&&(t=e,e=void 0),e=e||"");var r=Yt(),s=n?r._week.dow:0,a,o=[];if(t!=null)return Vn(e,(t+s)%7,i,"day");for(a=0;a<7;a++)o[a]=Vn(e,(a+s)%7,i,"day");return o}function nm(n,e){return yl(n,e,"months")}function rm(n,e){return yl(n,e,"monthsShort")}function sm(n,e,t){return Fs(n,e,t,"weekdays")}function am(n,e,t){return Fs(n,e,t,"weekdaysShort")}function om(n,e,t){return Fs(n,e,t,"weekdaysMin")}ei("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=He(n%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th";return n+t}}),pe.lang=wt("moment.lang is deprecated. Use moment.locale instead.",ei),pe.langData=wt("moment.langData is deprecated. Use moment.localeData instead.",Yt);var Ut=Math.abs;function lm(){var n=this._data;return this._milliseconds=Ut(this._milliseconds),this._days=Ut(this._days),this._months=Ut(this._months),n.milliseconds=Ut(n.milliseconds),n.seconds=Ut(n.seconds),n.minutes=Ut(n.minutes),n.hours=Ut(n.hours),n.months=Ut(n.months),n.years=Ut(n.years),this}function wl(n,e,t,i){var r=Ot(e,t);return n._milliseconds+=i*r._milliseconds,n._days+=i*r._days,n._months+=i*r._months,n._bubble()}function um(n,e){return wl(this,n,e,1)}function cm(n,e){return wl(this,n,e,-1)}function Cl(n){return n<0?Math.floor(n):Math.ceil(n)}function dm(){var n=this._milliseconds,e=this._days,t=this._months,i=this._data,r,s,a,o,u;return n>=0&&e>=0&&t>=0||n<=0&&e<=0&&t<=0||(n+=Cl(Bs(t)+e)*864e5,e=0,t=0),i.milliseconds=n%1e3,r=Et(n/1e3),i.seconds=r%60,s=Et(r/60),i.minutes=s%60,a=Et(s/60),i.hours=a%24,e+=Et(a/24),u=Et(El(e)),t+=u,e-=Cl(Bs(u)),o=Et(t/12),t%=12,i.days=e,i.months=t,i.years=o,this}function El(n){return n*4800/146097}function Bs(n){return n*146097/4800}function hm(n){if(!this.isValid())return NaN;var e,t,i=this._milliseconds;if(n=Ct(n),n==="month"||n==="quarter"||n==="year")switch(e=this._days+i/864e5,t=this._months+El(e),n){case"month":return t;case"quarter":return t/3;case"year":return t/12}else switch(e=this._days+Math.round(Bs(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 qt(n){return function(){return this.as(n)}}var kl=qt("ms"),fm=qt("s"),pm=qt("m"),mm=qt("h"),gm=qt("d"),bm=qt("w"),vm=qt("M"),ym=qt("Q"),wm=qt("y"),Cm=kl;function Em(){return Ot(this)}function km(n){return n=Ct(n),this.isValid()?this[n+"s"]():NaN}function ci(n){return function(){return this.isValid()?this._data[n]:NaN}}var Sm=ci("milliseconds"),xm=ci("seconds"),_m=ci("minutes"),Mm=ci("hours"),Rm=ci("days"),Tm=ci("months"),Dm=ci("years");function Om(){return Et(this.days()/7)}var Kt=Math.round,_i={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Lm(n,e,t,i,r){return r.relativeTime(e||1,!!t,n,i)}function Pm(n,e,t,i){var r=Ot(n).abs(),s=Kt(r.as("s")),a=Kt(r.as("m")),o=Kt(r.as("h")),u=Kt(r.as("d")),c=Kt(r.as("M")),d=Kt(r.as("w")),p=Kt(r.as("y")),h=s<=t.ss&&["s",s]||s<t.s&&["ss",s]||a<=1&&["m"]||a<t.m&&["mm",a]||o<=1&&["h"]||o<t.h&&["hh",o]||u<=1&&["d"]||u<t.d&&["dd",u];return t.w!=null&&(h=h||d<=1&&["w"]||d<t.w&&["ww",d]),h=h||c<=1&&["M"]||c<t.M&&["MM",c]||p<=1&&["y"]||["yy",p],h[2]=e,h[3]=+n>0,h[4]=i,Lm.apply(null,h)}function Am(n){return n===void 0?Kt:typeof n=="function"?(Kt=n,!0):!1}function Fm(n,e){return _i[n]===void 0?!1:e===void 0?_i[n]:(_i[n]=e,n==="s"&&(_i.ss=e-1),!0)}function Bm(n,e){if(!this.isValid())return this.localeData().invalidDate();var t=!1,i=_i,r,s;return typeof n=="object"&&(e=n,n=!1),typeof n=="boolean"&&(t=n),typeof e=="object"&&(i=Object.assign({},_i,e),e.s!=null&&e.ss==null&&(i.ss=e.s-1)),r=this.localeData(),s=Pm(this,!t,i,r),t&&(s=r.pastFuture(+this,s)),r.postformat(s)}var Ns=Math.abs;function Mi(n){return(n>0)-(n<0)||+n}function Hn(){if(!this.isValid())return this.localeData().invalidDate();var n=Ns(this._milliseconds)/1e3,e=Ns(this._days),t=Ns(this._months),i,r,s,a,o=this.asSeconds(),u,c,d,p;return o?(i=Et(n/60),r=Et(i/60),n%=60,i%=60,s=Et(t/12),t%=12,a=n?n.toFixed(3).replace(/\.?0+$/,""):"",u=o<0?"-":"",c=Mi(this._months)!==Mi(o)?"-":"",d=Mi(this._days)!==Mi(o)?"-":"",p=Mi(this._milliseconds)!==Mi(o)?"-":"",u+"P"+(s?c+s+"Y":"")+(t?c+t+"M":"")+(e?d+e+"D":"")+(r||i||n?"T":"")+(r?p+r+"H":"")+(i?p+i+"M":"")+(n?p+a+"S":"")):"P0D"}var $e=Ln.prototype;$e.isValid=Tf,$e.abs=lm,$e.add=um,$e.subtract=cm,$e.as=hm,$e.asMilliseconds=kl,$e.asSeconds=fm,$e.asMinutes=pm,$e.asHours=mm,$e.asDays=gm,$e.asWeeks=bm,$e.asMonths=vm,$e.asQuarters=ym,$e.asYears=wm,$e.valueOf=Cm,$e._bubble=dm,$e.clone=Em,$e.get=km,$e.milliseconds=Sm,$e.seconds=xm,$e.minutes=_m,$e.hours=Mm,$e.days=Rm,$e.weeks=Om,$e.months=Tm,$e.years=Dm,$e.humanize=Bm,$e.toISOString=Hn,$e.toString=Hn,$e.toJSON=Hn,$e.locale=ul,$e.localeData=dl,$e.toIsoString=wt("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Hn),$e.lang=cl,Ee("X",0,0,"unix"),Ee("x",0,0,"valueOf"),ge("x",xn),ge("X",ih),qe("X",function(n,e,t){t._d=new Date(parseFloat(n)*1e3)}),qe("x",function(n,e,t){t._d=new Date(He(n))});//! moment.js
25
- pe.version="2.30.1",Bd(Xe),pe.fn=he,pe.min=xf,pe.max=_f,pe.now=Mf,pe.utc=Lt,pe.unix=tm,pe.months=nm,pe.isDate=zi,pe.locale=ei,pe.invalid=yn,pe.duration=Ot,pe.isMoment=Tt,pe.weekdays=sm,pe.parseZone=im,pe.localeData=Yt,pe.isDuration=Pn,pe.monthsShort=rm,pe.weekdaysMin=om,pe.defineLocale=Ss,pe.updateLocale=tf,pe.locales=nf,pe.weekdaysShort=am,pe.normalizeUnits=Ct,pe.relativeTimeRounding=Am,pe.relativeTimeThreshold=Fm,pe.calendarFormat=Zf,pe.prototype=he,pe.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 Sl=n=>n===void 0||n==="auto"||n==="instant"||n==="smooth";function Nm(n,e){this.scrollLeft=n,this.scrollTop=e}const xl=(n,e,t="cannot convert to dictionary.")=>`Failed to execute '${n}' on '${e}': ${t}`,_l=(n,e,t)=>xl(n,e,`The provided value '${t}' is not a valid enum value of type ScrollBehavior.`),Ml=(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},Vm=n=>{const e=typeof n;return n!==null&&(e==="object"||e==="function")},Vs=n=>n.ownerDocument.scrollingElement||n.ownerDocument.documentElement;function Hm(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 zm=n=>.5*(1-Math.cos(Math.PI*n));function Hs(){var n;let e;return!((n=window.performance)===null||n===void 0)&&n.now?e=()=>window.performance.now():e=()=>window.Date.now(),Hs=e,e()}const Im=500,Rl=n=>{const t=(Hs()-n.timeStamp)/(n.duration||Im);if(t>1){n.method(n.targetX,n.targetY),n.callback();return}const i=(n.timingFunc||zm)(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(()=>{Rl(n)})},zn=n=>isFinite(n)?Number(n):0,$m=n=>{var e;return(e=n.isConnected)!==null&&e!==void 0?e:!n.ownerDocument||!(n.ownerDocument.compareDocumentPosition(n)&1)},jm=(n,e,t)=>{var i,r;if(!$m(n))return;const s=n.scrollLeft,a=n.scrollTop,o=zn((i=e.left)!==null&&i!==void 0?i:s),u=zn((r=e.top)!==null&&r!==void 0?r:a);if(o===s&&u===a)return;const c=Ml(HTMLElement.prototype,"scroll",Nm),d=Ml(Object.getPrototypeOf(n),"scroll",c).bind(n);if(e.behavior!=="smooth"){d(o,u);return}const p=()=>{window.removeEventListener("wheel",_),window.removeEventListener("touchmove",_)},h=()=>{p();const k=n.nodeType===9;n.dispatchEvent(Hm(k))},f=Object.assign(Object.assign({},t),{timeStamp:Hs(),startX:s,startY:a,targetX:o,targetY:u,rafId:0,method:d,callback:h}),_=()=>{window.cancelAnimationFrame(f.rafId),p()};window.addEventListener("wheel",_,{passive:!0,once:!0}),window.addEventListener("touchmove",_,{passive:!0,once:!0}),Rl(f)},Wm=n=>n.window===n,Gm=(n=>(e,t,i)=>{const[r,s]=Wm(e)?[Vs(e.document.documentElement),"Window"]:[e,"Element"],a=t??{};if(!Vm(a))throw new TypeError(xl(n,s));if(!Sl(a.behavior))throw new TypeError(_l(n,s,a.behavior));n==="scrollBy"&&(a.left=zn(a.left)+r.scrollLeft,a.top=zn(a.top)+r.scrollTop),jm(r,a,i)})("scroll"),Tl=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},Dl=(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]},Ym=n=>(Dl(Tl(n.writingMode),n.direction!=="rtl",void 0,void 0)[0]&1)===1,Um=(n,e,t)=>{const[i,r,s]=Dl(e,t,n.block||"start",n.inline||"nearest");return[r,s].map((a,o)=>{switch(a){case"center":return 1;case"nearest":return 0;default:{const u=i>>o&1;return a==="start"==!u?2:3}}})},Ol=(n,e,t,i,r,s,a)=>n!==0?n:r<e&&s>t||r>e&&s<t?null:r<=e&&a<=i||s>=t&&a>=i?2:s>t&&a<i||r<e&&a>i?3:null,Ll=n=>n!=="visible"&&n!=="clip",qm=n=>{var e;try{return((e=n.ownerDocument.defaultView)===null||e===void 0?void 0:e.frameElement)||null}catch{return null}},Km=(n,e)=>n.clientHeight<n.scrollHeight||n.clientWidth<n.scrollWidth?Ll(e.overflowY)||Ll(e.overflowX)||n===Vs(n):!1,Pl=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 qm(n)}return t},zs=(n,e,t)=>n<e?e:n>t?t:n,Jm=n=>["scroll-margin","scroll-snap-margin"].filter(e=>e in n.documentElement.style)[0],Xm=(n,e,t)=>{const{top:i,right:r,bottom:s,left:a}=e,o=Jm(n.ownerDocument);if(!o)return[i,r,s,a];const u=c=>{const d=t.getPropertyValue(`${o}-${c}`);return parseInt(d,10)||0};return[i-u("top"),r+u("right"),s+u("bottom"),a-u("left")]},In=(n,e,t)=>{switch(n){case 1:return(e+t)/2;case 3:return t;case 2:case 0:return e}},Zm=(n,e)=>{var t,i,r;const s=(t=n.ownerDocument.defaultView)===null||t===void 0?void 0:t.visualViewport,[a,o,u,c]=n===Vs(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=a+n.clientLeft,p=o+n.clientTop,h=d+u,f=p+c;return[p,h,f,d]},Qm=(n,e)=>{const t=[];let i=n.ownerDocument,r=i.defaultView;if(!r)return t;const s=window.getComputedStyle(n),a=s.direction!=="rtl",o=Tl(s.writingMode||s.getPropertyValue("-webkit-writing-mode")||s.getPropertyValue("-ms-writing-mode")),[u,c]=Um(e,o,a);let[d,p,h,f]=Xm(n,n.getBoundingClientRect(),s);for(let _=Pl(n);_!==null;_=Pl(_)){if(i!==_.ownerDocument){if(i=_.ownerDocument,r=i.defaultView,!r)break;const{left:T,top:M}=_.getBoundingClientRect();d+=M,p+=T,h+=M,f+=T}const k=r.getComputedStyle(_);if(k.position==="fixed")break;if(!Km(_,k))continue;const C=_.getBoundingClientRect(),[y,v,R,m]=Zm(_,C),x=Ol(u,m,v,_.clientWidth,f,p,p-f),g=Ol(c,y,R,_.clientHeight,d,h,h-d),S=x===null?0:In(x,f,p)-In(x,m,v),w=g===null?0:In(g,d,h)-In(g,y,R),E=Ym(k)?zs(S,-_.scrollWidth+_.clientWidth-_.scrollLeft,-_.scrollLeft):zs(S,-_.scrollLeft,_.scrollWidth-_.clientWidth-_.scrollLeft),b=zs(w,-_.scrollTop,_.scrollHeight-_.clientHeight-_.scrollTop);t.push([_,{left:_.scrollLeft+E,top:_.scrollTop+b,behavior:e.behavior}]),d=Math.max(d-b,y),p=Math.min(p-E,v),h=Math.min(h-b,R),f=Math.max(f-E,m)}return t},Al=(n,e,t)=>{const i=e||{};if(!Sl(i.behavior))throw new TypeError(_l("scrollIntoView","Element",i.behavior));Qm(n,i).forEach(([s,a])=>{Gm(s,a,t)})},Fl=(n,e)=>e.some(t=>n.includes(t)),Bl=(n,e)=>e.every(t=>n.includes(t));function Nl(n){return Array.isArray(n)?n.map(e=>({id:e.id,label:e.name,all:e})):[]}function Vl(){setTimeout(()=>{const e=document.querySelectorAll(".not-valid")[0];e&&Al(e,{behavior:"smooth",block:"center"})})}function Hl(n,e){const t=document.querySelector(n);t&&Al(t,{behavior:"smooth",block:"center",...e})}function zl(){return navigator?.language?.split("-")[0]}function Is(){return["ru","en","kz"]}function Il(n){return Is().includes(n)}function $s(n,e){let t;return function(...i){t&&clearTimeout(t),t=setTimeout(()=>{n(...i)},e)}}function $l(n,e){let t;return function(...i){t||(n(...i),t=!0,setTimeout(()=>t=!1,e))}}function js(n){const e={};for(const[t,i]of Object.entries(n))i&&(e[t]=i);return e}function jl(n){return n.map(e=>js(e))}function Wl(n){return n.reduce((e,t)=>e+t,0)}const Gl=()=>({alias:"email"}),Yl=(n="ru")=>({ru:{mask:"+7(999)999-99-99"},kz:{mask:"+7(999)999-99-99"},us:{mask:"+1(999)999-9999"}})[n],Ul=()=>({regex:"^[0-9]{10,12}$"}),ql=()=>({mask:"999999999"}),Kl=()=>({mask:"999-999-999 99"}),Jl=()=>({mask:"9999 999999"});function Ws(n){return typeof n!="string"?!1:pe(n).isValid()}function Xl(n,e={}){const{withTime:t=!1,locale:i="ru"}=e;if(!n||n.length===0||!Ws(n))return"";const r=new Date(n),s=r.getHours()>=10?r.getHours():`0${r.getHours()}`,a=r.getMinutes()>=10?r.getMinutes():`0${r.getMinutes()}`,o=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}.${o} ${s}:${a}`:`${c}.${u}.${o}`:t?`${u}.${c}.${o} ${s}:${a}`:`${u}.${c}.${o}`}function Zl(n,e={}){const{locale:t="ru",currency:i="RUB"}=e,r={ru:"ru-RU",en:"en-US",kz:"kk-KZ"},a={style:"currency",maximumSignificantDigits:2,currency:{ru:"RUB",en:"USD",kz:"KZT"}[t]||i};return new Intl.NumberFormat(r[t]||"en-US",a).format(Number(n))}function Ql(n){return pe(new Date).format(n)}function eu(n,e){const t=new Date(n);return t.setDate(t.getDate()+e),t}function tu(n,e){const t=new Date(n);return t.setMonth(t.getMonth()+e),t}function iu(n,e){const t=new Date(n);return t.setFullYear(t.getFullYear()+e),t}function nu(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 ru(n){return!n||n.length===0?n:n[0].toUpperCase()+n.slice(1)}function su(n){return n.replace(/\b\w/g,e=>e.toUpperCase())}function au(n){return n.replace(/(?:^\w|[A-Z]|\b\w)/g,(e,t)=>t===0?e.toLowerCase():e.toUpperCase()).replace(/\s+/g,"")}function ou(n){return n.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase()}function lu(n){return n.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1_$2").toLowerCase()}function uu(n,e,t="..."){return n.length<=e?n:n.substring(0,e)+t}function cu(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 du({str:n,limit:e=null}){return!e||!n?n:n.substring(0,e)}function hu(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 a=n.length-(i+1);const o=a>0?`+${a}`:"";t=`${t.substr(0,e)}...${o}`;break}}return t}function fu(n){return[...new Set(n)]}function pu(n,e){return n.reduce((t,i)=>{const r=String(i[e]);return t[r]=t[r]||[],t[r].push(i),t},{})}function mu(n,e,t="asc"){return[...n].sort((i,r)=>{const s=i[e],a=r[e];return s<a?t==="asc"?-1:1:s>a?t==="asc"?1:-1:0})}function gu(n,e){const t=[];for(let i=0;i<n.length;i+=e)t.push(n.slice(i,i+e));return t}function bu(n){return typeof n=="object"&&n!==null}function ii(n){return n===void 0?n:JSON.parse(JSON.stringify(n))}function Gs(n,e){return JSON.stringify(n)===JSON.stringify(e)}function vu(n,e){return n.sort().toString()===e.sort().toString()}function yu(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 wu=n=>{const e=ii(n),t={};for(const[i,r]of Object.entries(e)){const s=i.split(".");let a=t;for(const[u,c]of s.slice(0,-1).entries()){if(!a[c]){const d=Number.isInteger(Number(s[+u+1]));a[c]=d?[]:{}}a=a[c]}const o=s.pop();o&&(a[o]=r)}return t},Ys=n=>{let e=ii(n),t={};for(const i in e){if(typeof e[i]!="object"||e[i]===null){t[i]=e[i];continue}const r=Ys(e[i]);for(const s in r)t[`${i}.${s}`]=r[s]}return t};function Cu(n,e){const t={};return e.forEach(i=>{i in n&&(t[i]=n[i])}),t}function Eu(n,e){const t={...n};return e.forEach(i=>{delete t[i]}),t}function Xi(n,e,t,i=!1){if(i)return l.render(null,n),!0;const r=l.h(e,t);return l.render(r,n),!0}function di(){const n=Date.now(),e=Math.floor(Math.random()*9999);return n+e}function ku(n=""){return`${n}${Date.now()}-${Math.random().toString(36).substr(2,9)}`}function Su(n){throw new Error(`${n} is required.`)}function xu(n){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(n)}function _u(n){return/^[\+]?[1-9][\d]{0,15}$/.test(n.replace(/\D/g,""))}function Mu(n){try{return new URL(n),!0}catch{return!1}}function Ru(n,e){try{localStorage.setItem(n,JSON.stringify(e))}catch(t){console.error("Error saving to localStorage:",t)}}function Tu(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 Du(n){try{localStorage.removeItem(n)}catch(e){console.error("Error removing from localStorage:",e)}}function Ou(n,e){try{sessionStorage.setItem(n,JSON.stringify(e))}catch(t){console.error("Error saving to sessionStorage:",t)}}function Lu(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 Pu(n){try{sessionStorage.removeItem(n)}catch(e){console.error("Error removing from sessionStorage:",e)}}function Au(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 Fu(n){let e=!1,t;return((...i)=>(e||(e=!0,t=n(...i)),t))}function Bu(n,e,t){return Math.min(Math.max(n,e),t)}function Nu(n,e,t){return n+(e-n)*t}function Vu(n,e){return Math.floor(Math.random()*(e-n+1))+n}function Hu(n,e){return Math.round(n*Math.pow(10,e))/Math.pow(10,e)}const eg=Object.freeze(Object.defineProperty({__proto__:null,addDays:eu,addMonths:tu,addYears:iu,areArraysEqual:yu,arrayToCutString:hu,camelCase:au,capitalize:su,chunk:gu,clamp:Bu,cutString:du,debounce:$s,default:{prepareSelectOptions:Nl,scrollToError:Vl,scrollToElement:Hl,getBrowserLocale:zl,getSupportedLocales:Is,isValidLocale:Il,debounce:$s,throttle:$l,getValueFromObjectItem:js,getValueFromArr:jl,sumOfArrayNumbers:Wl,initEmailMask:Gl,initPhoneMask:Yl,initInnMask:Ul,initKppMask:ql,initSnilsMask:Kl,initPassportMask:Jl,isValidDate:Ws,formatDate:Xl,formatMoney:Zl,getNowDate:Ql,addDays:eu,addMonths:tu,addYears:iu,getDeclinationFromNumber:nu,firstToUppercase:ru,capitalize:su,camelCase:au,kebabCase:ou,snakeCase:lu,truncate:uu,maskDate:cu,cutString:du,arrayToCutString:hu,findOne:Fl,findAll:Bl,unique:fu,groupBy:pu,sortBy:mu,chunk:gu,isObject:bu,getDeepCopyObject:ii,isEqual:Gs,isArraysEqual:vu,areArraysEqual:yu,unflatenObject:wu,flattenObject:Ys,pick:Cu,omit:Eu,mountSubFilter:Xi,getUniqueKey:di,generateId:ku,required:Su,isValidEmail:xu,isValidPhone:_u,isValidUrl:Mu,setLocalStorage:Ru,getLocalStorage:Tu,removeLocalStorage:Du,setSessionStorage:Ou,getSessionStorage:Lu,removeSessionStorage:Pu,memoize:Au,once:Fu,clamp:Bu,lerp:Nu,random:Vu,roundToDecimals:Hu},findAll:Bl,findOne:Fl,firstToUppercase:ru,flattenObject:Ys,formatDate:Xl,formatMoney:Zl,generateId:ku,getBrowserLocale:zl,getDeclinationFromNumber:nu,getDeepCopyObject:ii,getLocalStorage:Tu,getNowDate:Ql,getSessionStorage:Lu,getSupportedLocales:Is,getUniqueKey:di,getValueFromArr:jl,getValueFromObjectItem:js,groupBy:pu,initEmailMask:Gl,initInnMask:Ul,initKppMask:ql,initPassportMask:Jl,initPhoneMask:Yl,initSnilsMask:Kl,isArraysEqual:vu,isEqual:Gs,isObject:bu,isValidDate:Ws,isValidEmail:xu,isValidLocale:Il,isValidPhone:_u,isValidUrl:Mu,kebabCase:ou,lerp:Nu,maskDate:cu,memoize:Au,mountSubFilter:Xi,omit:Eu,once:Fu,pick:Cu,prepareSelectOptions:Nl,random:Vu,removeLocalStorage:Du,removeSessionStorage:Pu,required:Su,roundToDecimals:Hu,scrollToElement:Hl,scrollToError:Vl,setLocalStorage:Ru,setSessionStorage:Ou,snakeCase:lu,sortBy:mu,sumOfArrayNumbers:Wl,throttle:$l,truncate:uu,unflatenObject:wu,unique:fu},Symbol.toStringTag,{value:"Module"})),tg={class:"lh-1","data-test":"FormError"},hi={__name:"FormError",props:{errors:{type:Array,default:()=>[]}},setup(n){return(e,t)=>(l.openBlock(),l.createElementBlock("div",tg,[n.errors?.length?(l.openBlock(!0),l.createElementBlock(l.Fragment,{key:0},l.renderList(n.errors,(i,r)=>(l.openBlock(),l.createElementBlock("div",{class:"text-danger small",key:r},l.toDisplayString(i),1))),128)):l.createCommentVNode("",!0)]))}},ig={class:"position-relative"},ng=["value","placeholder","disabled"],$n=Ve({__name:"CustomInput",props:{modelValue:{type:[String,Number],default:""},titleClass:{type:String,default:""},title:{type:String,default:""},placeholder:{type:String,default:""},disabled:{type:Boolean,default:!1},inputClass:{type:[String,Object],default:""},error:{type:[String,Array],default:""},maskOptions:{type:Object,default:()=>({})},maxNumber:{type:Number,default:null}},emits:["change","blur","update:modelValue"],setup(n,{emit:e}){const t=n,i=e,r=l.ref(null),s=c=>{let d=c.target.value;t.maxNumber!==null&&Number(d)>=t.maxNumber&&(d=t.maxNumber.toString(),c.target.value=d),i("update:modelValue",d)},a=()=>{i("update:modelValue",""),i("change","")},o=()=>{Object.keys(t.maskOptions).length!==0&&r.value&&Fd(t.maskOptions).mask(r.value)};l.onMounted(()=>{o()}),l.watch(()=>t.maskOptions,(c,d)=>{Gs(c,d)||o()},{deep:!0});const u=l.computed(()=>Array.isArray(t.error)?t.error.filter(Boolean):typeof t.error=="string"&&t.error?[t.error]:[]);return(c,d)=>(l.openBlock(),l.createElementBlock("div",null,[n.title?(l.openBlock(),l.createElementBlock("div",{key:0,class:l.normalizeClass(["mb-1 fw-bold",[n.titleClass]])},l.toDisplayString(n.title),3)):l.createCommentVNode("",!0),l.createElementVNode("div",ig,[l.createElementVNode("input",{ref_key:"inputEl",ref:r,type:"text",class:l.normalizeClass(["form-control outline-none",{[n.inputClass]:n.inputClass,"is-invalid":u.value.length>0}]),value:n.modelValue,placeholder:n.placeholder,disabled:n.disabled,onBlur:d[0]||(d[0]=p=>i("blur")),onInput:s},null,42,ng),n.modelValue&&!n.disabled?(l.openBlock(),l.createElementBlock("i",{key:0,class:"bi bi-x-lg remove-button position-absolute",onClick:a})):l.createCommentVNode("",!0)]),l.createVNode(hi,{errors:u.value},null,8,["errors"])]))}},[["__scopeId","data-v-294d9aac"]]),rg={class:"position-relative"},sg=["type","value"],ag=Ve({__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=l.ref(e.initialVisibility);l.watch(()=>e.initialVisibility,r=>{t.value=r});const i=l.computed(()=>Array.isArray(e.error)?e.error.filter(Boolean):typeof e.error=="string"&&e.error?[e.error]:[]);return(r,s)=>(l.openBlock(),l.createElementBlock("div",null,[l.createElementVNode("div",rg,[l.createElementVNode("input",{class:l.normalizeClass(["form-control password-input outline-none",{"is-invalid":i.value.length>0}]),type:t.value?"text":"password",value:n.modelValue,autocomplete:"new-password",onInput:s[0]||(s[0]=a=>r.$emit("update:modelValue",a.target.value))},null,42,sg),l.createElementVNode("div",{class:"toggle-pass",onClick:s[1]||(s[1]=a=>t.value=!t.value)},[l.createElementVNode("i",{class:l.normalizeClass(["bi",[t.value?"bi-eye-slash-fill":"bi-eye-fill"]]),style:{"font-size":"20px"}},null,2)])]),l.createVNode(hi,{errors:i.value},null,8,["errors"])]))}},[["__scopeId","data-v-7b5f1918"]]),og={class:"form-check d-flex align-items-center"},lg=["id","name","checked"],ug=["for"],cg={__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=l.ref(null),s=l.computed(()=>t.size==="sm"?"5px":t.size==="md"?"10px":t.size==="lg"?"15px":"5px"),a=o=>{i("update:modelValue",o.target.checked)};return l.watch(()=>t.indeterminate,o=>{r.value&&(r.value.indeterminate=o)}),l.onMounted(()=>{r.value&&(r.value.indeterminate=t.indeterminate)}),(o,u)=>(l.openBlock(),l.createElementBlock("div",og,[l.createElementVNode("input",{ref_key:"inputRef",ref:r,class:"form-check-input mr-2 mt-0",type:"checkbox",id:n.id,name:n.name,style:l.normalizeStyle({padding:s.value}),checked:n.modelValue,onChange:a},null,44,lg),n.label?(l.openBlock(),l.createElementBlock("label",{key:0,class:l.normalizeClass(["form-check-label lh-n",{"cursor-pointer":n.clickableLabel}]),for:n.clickableLabel?n.id:void 0},l.toDisplayString(n.label),11,ug)):l.createCommentVNode("",!0)]))}};var dg=Object.defineProperty,hg=Object.defineProperties,fg=Object.getOwnPropertyDescriptors,zu=Object.getOwnPropertySymbols,pg=Object.prototype.hasOwnProperty,mg=Object.prototype.propertyIsEnumerable,Iu=(n,e,t)=>e in n?dg(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,Ri=(n,e)=>{for(var t in e||(e={}))pg.call(e,t)&&Iu(n,t,e[t]);if(zu)for(var t of zu(e))mg.call(e,t)&&Iu(n,t,e[t]);return n},$u=(n,e)=>hg(n,fg(e));const gg={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}}}},bg={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}}},vg={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}}},Us=(n,e)=>{const t=n.__vccOpts||n;for(const[i,r]of e)t[i]=r;return t},yg={},wg={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10"},Cg=l.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),Eg=[Cg];function kg(n,e){return l.openBlock(),l.createElementBlock("svg",wg,Eg)}const Sg=Us(yg,[["render",kg]]),xg={},_g={xmlns:"http://www.w3.org/2000/svg",width:"14",height:"10"},Mg=l.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),Rg=[Mg];function Tg(n,e){return l.openBlock(),l.createElementBlock("svg",_g,Rg)}const Dg=Us(xg,[["render",Tg]]),ju={Deselect:Sg,OpenIndicator:Dg},Og={mounted(n,{instance:e}){if(e.appendToBody){const{height:t,top:i,left:r,width:s}=e.$refs.toggle.getBoundingClientRect();let a=window.scrollX||window.pageXOffset,o=window.scrollY||window.pageYOffset;n.unbindPosition=e.calculatePosition(n,e,{width:s+"px",left:a+r+"px",top:o+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 Lg(n){const e={};return Object.keys(n).sort().forEach(t=>{e[t]=n[t]}),JSON.stringify(e)}let Pg=0;function Ag(){return++Pg}const Fg={components:Ri({},ju),directives:{appendToBody:Og},mixins:[gg,bg,vg],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)}.
25
+ pe.version="2.30.1",Bd(Xe),pe.fn=he,pe.min=xf,pe.max=_f,pe.now=Mf,pe.utc=Lt,pe.unix=tm,pe.months=nm,pe.isDate=zi,pe.locale=ei,pe.invalid=yn,pe.duration=Ot,pe.isMoment=Tt,pe.weekdays=sm,pe.parseZone=im,pe.localeData=Yt,pe.isDuration=Pn,pe.monthsShort=rm,pe.weekdaysMin=om,pe.defineLocale=Ss,pe.updateLocale=tf,pe.locales=nf,pe.weekdaysShort=am,pe.normalizeUnits=Ct,pe.relativeTimeRounding=Am,pe.relativeTimeThreshold=Fm,pe.calendarFormat=Zf,pe.prototype=he,pe.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 Sl=n=>n===void 0||n==="auto"||n==="instant"||n==="smooth";function Nm(n,e){this.scrollLeft=n,this.scrollTop=e}const xl=(n,e,t="cannot convert to dictionary.")=>`Failed to execute '${n}' on '${e}': ${t}`,_l=(n,e,t)=>xl(n,e,`The provided value '${t}' is not a valid enum value of type ScrollBehavior.`),Ml=(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},Vm=n=>{const e=typeof n;return n!==null&&(e==="object"||e==="function")},Vs=n=>n.ownerDocument.scrollingElement||n.ownerDocument.documentElement;function Hm(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 zm=n=>.5*(1-Math.cos(Math.PI*n));function Hs(){var n;let e;return!((n=window.performance)===null||n===void 0)&&n.now?e=()=>window.performance.now():e=()=>window.Date.now(),Hs=e,e()}const Im=500,Rl=n=>{const t=(Hs()-n.timeStamp)/(n.duration||Im);if(t>1){n.method(n.targetX,n.targetY),n.callback();return}const i=(n.timingFunc||zm)(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(()=>{Rl(n)})},zn=n=>isFinite(n)?Number(n):0,$m=n=>{var e;return(e=n.isConnected)!==null&&e!==void 0?e:!n.ownerDocument||!(n.ownerDocument.compareDocumentPosition(n)&1)},jm=(n,e,t)=>{var i,r;if(!$m(n))return;const s=n.scrollLeft,a=n.scrollTop,o=zn((i=e.left)!==null&&i!==void 0?i:s),u=zn((r=e.top)!==null&&r!==void 0?r:a);if(o===s&&u===a)return;const c=Ml(HTMLElement.prototype,"scroll",Nm),d=Ml(Object.getPrototypeOf(n),"scroll",c).bind(n);if(e.behavior!=="smooth"){d(o,u);return}const p=()=>{window.removeEventListener("wheel",_),window.removeEventListener("touchmove",_)},h=()=>{p();const k=n.nodeType===9;n.dispatchEvent(Hm(k))},f=Object.assign(Object.assign({},t),{timeStamp:Hs(),startX:s,startY:a,targetX:o,targetY:u,rafId:0,method:d,callback:h}),_=()=>{window.cancelAnimationFrame(f.rafId),p()};window.addEventListener("wheel",_,{passive:!0,once:!0}),window.addEventListener("touchmove",_,{passive:!0,once:!0}),Rl(f)},Wm=n=>n.window===n,Gm=(n=>(e,t,i)=>{const[r,s]=Wm(e)?[Vs(e.document.documentElement),"Window"]:[e,"Element"],a=t??{};if(!Vm(a))throw new TypeError(xl(n,s));if(!Sl(a.behavior))throw new TypeError(_l(n,s,a.behavior));n==="scrollBy"&&(a.left=zn(a.left)+r.scrollLeft,a.top=zn(a.top)+r.scrollTop),jm(r,a,i)})("scroll"),Tl=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},Dl=(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]},Ym=n=>(Dl(Tl(n.writingMode),n.direction!=="rtl",void 0,void 0)[0]&1)===1,Um=(n,e,t)=>{const[i,r,s]=Dl(e,t,n.block||"start",n.inline||"nearest");return[r,s].map((a,o)=>{switch(a){case"center":return 1;case"nearest":return 0;default:{const u=i>>o&1;return a==="start"==!u?2:3}}})},Ol=(n,e,t,i,r,s,a)=>n!==0?n:r<e&&s>t||r>e&&s<t?null:r<=e&&a<=i||s>=t&&a>=i?2:s>t&&a<i||r<e&&a>i?3:null,Ll=n=>n!=="visible"&&n!=="clip",qm=n=>{var e;try{return((e=n.ownerDocument.defaultView)===null||e===void 0?void 0:e.frameElement)||null}catch{return null}},Km=(n,e)=>n.clientHeight<n.scrollHeight||n.clientWidth<n.scrollWidth?Ll(e.overflowY)||Ll(e.overflowX)||n===Vs(n):!1,Pl=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 qm(n)}return t},zs=(n,e,t)=>n<e?e:n>t?t:n,Jm=n=>["scroll-margin","scroll-snap-margin"].filter(e=>e in n.documentElement.style)[0],Xm=(n,e,t)=>{const{top:i,right:r,bottom:s,left:a}=e,o=Jm(n.ownerDocument);if(!o)return[i,r,s,a];const u=c=>{const d=t.getPropertyValue(`${o}-${c}`);return parseInt(d,10)||0};return[i-u("top"),r+u("right"),s+u("bottom"),a-u("left")]},In=(n,e,t)=>{switch(n){case 1:return(e+t)/2;case 3:return t;case 2:case 0:return e}},Zm=(n,e)=>{var t,i,r;const s=(t=n.ownerDocument.defaultView)===null||t===void 0?void 0:t.visualViewport,[a,o,u,c]=n===Vs(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=a+n.clientLeft,p=o+n.clientTop,h=d+u,f=p+c;return[p,h,f,d]},Qm=(n,e)=>{const t=[];let i=n.ownerDocument,r=i.defaultView;if(!r)return t;const s=window.getComputedStyle(n),a=s.direction!=="rtl",o=Tl(s.writingMode||s.getPropertyValue("-webkit-writing-mode")||s.getPropertyValue("-ms-writing-mode")),[u,c]=Um(e,o,a);let[d,p,h,f]=Xm(n,n.getBoundingClientRect(),s);for(let _=Pl(n);_!==null;_=Pl(_)){if(i!==_.ownerDocument){if(i=_.ownerDocument,r=i.defaultView,!r)break;const{left:T,top:M}=_.getBoundingClientRect();d+=M,p+=T,h+=M,f+=T}const k=r.getComputedStyle(_);if(k.position==="fixed")break;if(!Km(_,k))continue;const C=_.getBoundingClientRect(),[y,v,R,m]=Zm(_,C),x=Ol(u,m,v,_.clientWidth,f,p,p-f),g=Ol(c,y,R,_.clientHeight,d,h,h-d),S=x===null?0:In(x,f,p)-In(x,m,v),w=g===null?0:In(g,d,h)-In(g,y,R),E=Ym(k)?zs(S,-_.scrollWidth+_.clientWidth-_.scrollLeft,-_.scrollLeft):zs(S,-_.scrollLeft,_.scrollWidth-_.clientWidth-_.scrollLeft),b=zs(w,-_.scrollTop,_.scrollHeight-_.clientHeight-_.scrollTop);t.push([_,{left:_.scrollLeft+E,top:_.scrollTop+b,behavior:e.behavior}]),d=Math.max(d-b,y),p=Math.min(p-E,v),h=Math.min(h-b,R),f=Math.max(f-E,m)}return t},Al=(n,e,t)=>{const i=e||{};if(!Sl(i.behavior))throw new TypeError(_l("scrollIntoView","Element",i.behavior));Qm(n,i).forEach(([s,a])=>{Gm(s,a,t)})},Fl=(n,e)=>e.some(t=>n.includes(t)),Bl=(n,e)=>e.every(t=>n.includes(t));function Nl(n){return Array.isArray(n)?n.map(e=>({id:e.id,label:e.name,all:e})):[]}function Vl(){setTimeout(()=>{const e=document.querySelectorAll(".not-valid")[0];e&&Al(e,{behavior:"smooth",block:"center"})})}function Hl(n,e){const t=document.querySelector(n);t&&Al(t,{behavior:"smooth",block:"center",...e})}function zl(){return navigator?.language?.split("-")[0]}function Is(){return["ru","en","kz"]}function Il(n){return Is().includes(n)}function $s(n,e){let t;return function(...i){t&&clearTimeout(t),t=setTimeout(()=>{n(...i)},e)}}function $l(n,e){let t;return function(...i){t||(n(...i),t=!0,setTimeout(()=>t=!1,e))}}function js(n){const e={};for(const[t,i]of Object.entries(n))i&&(e[t]=i);return e}function jl(n){return n.map(e=>js(e))}function Wl(n){return n.reduce((e,t)=>e+t,0)}const Gl=()=>({alias:"email"}),Yl=(n="ru")=>({ru:{mask:"+7(999)999-99-99"},kz:{mask:"+7(999)999-99-99"},us:{mask:"+1(999)999-9999"}})[n],Ul=()=>({regex:"^[0-9]{10,12}$"}),ql=()=>({mask:"999999999"}),Kl=()=>({mask:"999-999-999 99"}),Jl=()=>({mask:"9999 999999"});function Ws(n){return typeof n!="string"?!1:pe(n).isValid()}function Xl(n,e={}){const{withTime:t=!1,locale:i="ru"}=e;if(!n||n.length===0||!Ws(n))return"";const r=new Date(n),s=r.getHours()>=10?r.getHours():`0${r.getHours()}`,a=r.getMinutes()>=10?r.getMinutes():`0${r.getMinutes()}`,o=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}.${o} ${s}:${a}`:`${c}.${u}.${o}`:t?`${u}.${c}.${o} ${s}:${a}`:`${u}.${c}.${o}`}function Zl(n,e={}){const{locale:t="ru",currency:i="RUB"}=e,r={ru:"ru-RU",en:"en-US",kz:"kk-KZ"},a={style:"currency",maximumSignificantDigits:2,currency:{ru:"RUB",en:"USD",kz:"KZT"}[t]||i};return new Intl.NumberFormat(r[t]||"en-US",a).format(Number(n))}function Ql(n){return pe(new Date).format(n)}function eu(n,e){const t=new Date(n);return t.setDate(t.getDate()+e),t}function tu(n,e){const t=new Date(n);return t.setMonth(t.getMonth()+e),t}function iu(n,e){const t=new Date(n);return t.setFullYear(t.getFullYear()+e),t}function nu(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 ru(n){return!n||n.length===0?n:n[0].toUpperCase()+n.slice(1)}function su(n){return n.replace(/\b\w/g,e=>e.toUpperCase())}function au(n){return n.replace(/(?:^\w|[A-Z]|\b\w)/g,(e,t)=>t===0?e.toLowerCase():e.toUpperCase()).replace(/\s+/g,"")}function ou(n){return n.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase()}function lu(n){return n.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1_$2").toLowerCase()}function uu(n,e,t="..."){return n.length<=e?n:n.substring(0,e)+t}function cu(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 du({str:n,limit:e=null}){return!e||!n?n:n.substring(0,e)}function hu(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 a=n.length-(i+1);const o=a>0?`+${a}`:"";t=`${t.substr(0,e)}...${o}`;break}}return t}function fu(n){return[...new Set(n)]}function pu(n,e){return n.reduce((t,i)=>{const r=String(i[e]);return t[r]=t[r]||[],t[r].push(i),t},{})}function mu(n,e,t="asc"){return[...n].sort((i,r)=>{const s=i[e],a=r[e];return s<a?t==="asc"?-1:1:s>a?t==="asc"?1:-1:0})}function gu(n,e){const t=[];for(let i=0;i<n.length;i+=e)t.push(n.slice(i,i+e));return t}function bu(n){return typeof n=="object"&&n!==null}function ii(n){return n===void 0?n:JSON.parse(JSON.stringify(n))}function Gs(n,e){return JSON.stringify(n)===JSON.stringify(e)}function vu(n,e){return n.sort().toString()===e.sort().toString()}function yu(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 wu=n=>{const e=ii(n),t={};for(const[i,r]of Object.entries(e)){const s=i.split(".");let a=t;for(const[u,c]of s.slice(0,-1).entries()){if(!a[c]){const d=Number.isInteger(Number(s[+u+1]));a[c]=d?[]:{}}a=a[c]}const o=s.pop();o&&(a[o]=r)}return t},Ys=n=>{let e=ii(n),t={};for(const i in e){if(typeof e[i]!="object"||e[i]===null){t[i]=e[i];continue}const r=Ys(e[i]);for(const s in r)t[`${i}.${s}`]=r[s]}return t};function Cu(n,e){const t={};return e.forEach(i=>{i in n&&(t[i]=n[i])}),t}function Eu(n,e){const t={...n};return e.forEach(i=>{delete t[i]}),t}function Xi(n,e,t,i=!1){if(i)return l.render(null,n),!0;const r=l.h(e,t);return l.render(r,n),!0}function di(){const n=Date.now(),e=Math.floor(Math.random()*9999);return n+e}function ku(n=""){return`${n}${Date.now()}-${Math.random().toString(36).substr(2,9)}`}function Su(n){throw new Error(`${n} is required.`)}function xu(n){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(n)}function _u(n){return/^[\+]?[1-9][\d]{0,15}$/.test(n.replace(/\D/g,""))}function Mu(n){try{return new URL(n),!0}catch{return!1}}function Ru(n,e){try{localStorage.setItem(n,JSON.stringify(e))}catch(t){console.error("Error saving to localStorage:",t)}}function Tu(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 Du(n){try{localStorage.removeItem(n)}catch(e){console.error("Error removing from localStorage:",e)}}function Ou(n,e){try{sessionStorage.setItem(n,JSON.stringify(e))}catch(t){console.error("Error saving to sessionStorage:",t)}}function Lu(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 Pu(n){try{sessionStorage.removeItem(n)}catch(e){console.error("Error removing from sessionStorage:",e)}}function Au(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 Fu(n){let e=!1,t;return((...i)=>(e||(e=!0,t=n(...i)),t))}function Bu(n,e,t){return Math.min(Math.max(n,e),t)}function Nu(n,e,t){return n+(e-n)*t}function Vu(n,e){return Math.floor(Math.random()*(e-n+1))+n}function Hu(n,e){return Math.round(n*Math.pow(10,e))/Math.pow(10,e)}const eg=Object.freeze(Object.defineProperty({__proto__:null,addDays:eu,addMonths:tu,addYears:iu,areArraysEqual:yu,arrayToCutString:hu,camelCase:au,capitalize:su,chunk:gu,clamp:Bu,cutString:du,debounce:$s,default:{prepareSelectOptions:Nl,scrollToError:Vl,scrollToElement:Hl,getBrowserLocale:zl,getSupportedLocales:Is,isValidLocale:Il,debounce:$s,throttle:$l,getValueFromObjectItem:js,getValueFromArr:jl,sumOfArrayNumbers:Wl,initEmailMask:Gl,initPhoneMask:Yl,initInnMask:Ul,initKppMask:ql,initSnilsMask:Kl,initPassportMask:Jl,isValidDate:Ws,formatDate:Xl,formatMoney:Zl,getNowDate:Ql,addDays:eu,addMonths:tu,addYears:iu,getDeclinationFromNumber:nu,firstToUppercase:ru,capitalize:su,camelCase:au,kebabCase:ou,snakeCase:lu,truncate:uu,maskDate:cu,cutString:du,arrayToCutString:hu,findOne:Fl,findAll:Bl,unique:fu,groupBy:pu,sortBy:mu,chunk:gu,isObject:bu,getDeepCopyObject:ii,isEqual:Gs,isArraysEqual:vu,areArraysEqual:yu,unflatenObject:wu,flattenObject:Ys,pick:Cu,omit:Eu,mountSubFilter:Xi,getUniqueKey:di,generateId:ku,required:Su,isValidEmail:xu,isValidPhone:_u,isValidUrl:Mu,setLocalStorage:Ru,getLocalStorage:Tu,removeLocalStorage:Du,setSessionStorage:Ou,getSessionStorage:Lu,removeSessionStorage:Pu,memoize:Au,once:Fu,clamp:Bu,lerp:Nu,random:Vu,roundToDecimals:Hu},findAll:Bl,findOne:Fl,firstToUppercase:ru,flattenObject:Ys,formatDate:Xl,formatMoney:Zl,generateId:ku,getBrowserLocale:zl,getDeclinationFromNumber:nu,getDeepCopyObject:ii,getLocalStorage:Tu,getNowDate:Ql,getSessionStorage:Lu,getSupportedLocales:Is,getUniqueKey:di,getValueFromArr:jl,getValueFromObjectItem:js,groupBy:pu,initEmailMask:Gl,initInnMask:Ul,initKppMask:ql,initPassportMask:Jl,initPhoneMask:Yl,initSnilsMask:Kl,isArraysEqual:vu,isEqual:Gs,isObject:bu,isValidDate:Ws,isValidEmail:xu,isValidLocale:Il,isValidPhone:_u,isValidUrl:Mu,kebabCase:ou,lerp:Nu,maskDate:cu,memoize:Au,mountSubFilter:Xi,omit:Eu,once:Fu,pick:Cu,prepareSelectOptions:Nl,random:Vu,removeLocalStorage:Du,removeSessionStorage:Pu,required:Su,roundToDecimals:Hu,scrollToElement:Hl,scrollToError:Vl,setLocalStorage:Ru,setSessionStorage:Ou,snakeCase:lu,sortBy:mu,sumOfArrayNumbers:Wl,throttle:$l,truncate:uu,unflatenObject:wu,unique:fu},Symbol.toStringTag,{value:"Module"})),tg={class:"lh-1","data-test":"FormError"},hi={__name:"FormError",props:{errors:{type:Array,default:()=>[]}},setup(n){return(e,t)=>(l.openBlock(),l.createElementBlock("div",tg,[n.errors?.length?(l.openBlock(!0),l.createElementBlock(l.Fragment,{key:0},l.renderList(n.errors,(i,r)=>(l.openBlock(),l.createElementBlock("div",{class:"text-danger small",key:r},l.toDisplayString(i),1))),128)):l.createCommentVNode("",!0)]))}},ig={class:"position-relative"},ng=["value","placeholder","disabled"],$n=Ve({__name:"CustomInput",props:{modelValue:{type:[String,Number],default:""},titleClass:{type:String,default:""},title:{type:String,default:""},placeholder:{type:String,default:""},disabled:{type:Boolean,default:!1},inputClass:{type:[String,Object],default:""},error:{type:[String,Array],default:""},maskOptions:{type:Object,default:()=>({})},maxNumber:{type:Number,default:null}},emits:["change","blur","update:modelValue"],setup(n,{emit:e}){const t=n,i=e,r=l.ref(null),s=c=>{let d=c.target.value;t.maxNumber!==null&&Number(d)>=t.maxNumber&&(d=t.maxNumber.toString(),c.target.value=d),i("update:modelValue",d)},a=()=>{i("update:modelValue",""),i("change","")},o=()=>{Object.keys(t.maskOptions).length!==0&&r.value&&Fd(t.maskOptions).mask(r.value)};l.onMounted(()=>{o()}),l.watch(()=>t.maskOptions,(c,d)=>{Gs(c,d)||o()},{deep:!0});const u=l.computed(()=>Array.isArray(t.error)?t.error.filter(Boolean):typeof t.error=="string"&&t.error?[t.error]:[]);return(c,d)=>(l.openBlock(),l.createElementBlock("div",null,[n.title?(l.openBlock(),l.createElementBlock("div",{key:0,class:l.normalizeClass(["mb-1 fw-bold",[n.titleClass]])},l.toDisplayString(n.title),3)):l.createCommentVNode("",!0),l.createElementVNode("div",ig,[l.createElementVNode("input",{ref_key:"inputEl",ref:r,type:"text",class:l.normalizeClass(["form-control outline-none",{[n.inputClass]:n.inputClass,"is-invalid":u.value.length>0}]),value:n.modelValue,placeholder:n.placeholder,disabled:n.disabled,onBlur:d[0]||(d[0]=p=>i("blur")),onInput:s},null,42,ng),n.modelValue&&!n.disabled?(l.openBlock(),l.createElementBlock("i",{key:0,class:"bi bi-x-lg remove-button position-absolute",onClick:a})):l.createCommentVNode("",!0)]),l.createVNode(hi,{errors:u.value},null,8,["errors"])]))}},[["__scopeId","data-v-107c8fc8"]]),rg={class:"position-relative"},sg=["type","value"],ag=Ve({__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=l.ref(e.initialVisibility);l.watch(()=>e.initialVisibility,r=>{t.value=r});const i=l.computed(()=>Array.isArray(e.error)?e.error.filter(Boolean):typeof e.error=="string"&&e.error?[e.error]:[]);return(r,s)=>(l.openBlock(),l.createElementBlock("div",null,[l.createElementVNode("div",rg,[l.createElementVNode("input",{class:l.normalizeClass(["form-control password-input outline-none",{"is-invalid":i.value.length>0}]),type:t.value?"text":"password",value:n.modelValue,autocomplete:"new-password",onInput:s[0]||(s[0]=a=>r.$emit("update:modelValue",a.target.value))},null,42,sg),l.createElementVNode("div",{class:"toggle-pass",onClick:s[1]||(s[1]=a=>t.value=!t.value)},[l.createElementVNode("i",{class:l.normalizeClass(["bi",[t.value?"bi-eye-slash-fill":"bi-eye-fill"]]),style:{"font-size":"20px"}},null,2)])]),l.createVNode(hi,{errors:i.value},null,8,["errors"])]))}},[["__scopeId","data-v-7b5f1918"]]),og={class:"form-check d-flex align-items-center"},lg=["id","name","checked"],ug=["for"],cg={__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=l.ref(null),s=l.computed(()=>t.size==="sm"?"5px":t.size==="md"?"10px":t.size==="lg"?"15px":"5px"),a=o=>{i("update:modelValue",o.target.checked)};return l.watch(()=>t.indeterminate,o=>{r.value&&(r.value.indeterminate=o)}),l.onMounted(()=>{r.value&&(r.value.indeterminate=t.indeterminate)}),(o,u)=>(l.openBlock(),l.createElementBlock("div",og,[l.createElementVNode("input",{ref_key:"inputRef",ref:r,class:"form-check-input mr-2 mt-0",type:"checkbox",id:n.id,name:n.name,style:l.normalizeStyle({padding:s.value}),checked:n.modelValue,onChange:a},null,44,lg),n.label?(l.openBlock(),l.createElementBlock("label",{key:0,class:l.normalizeClass(["form-check-label lh-n",{"cursor-pointer":n.clickableLabel}]),for:n.clickableLabel?n.id:void 0},l.toDisplayString(n.label),11,ug)):l.createCommentVNode("",!0)]))}};var dg=Object.defineProperty,hg=Object.defineProperties,fg=Object.getOwnPropertyDescriptors,zu=Object.getOwnPropertySymbols,pg=Object.prototype.hasOwnProperty,mg=Object.prototype.propertyIsEnumerable,Iu=(n,e,t)=>e in n?dg(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,Ri=(n,e)=>{for(var t in e||(e={}))pg.call(e,t)&&Iu(n,t,e[t]);if(zu)for(var t of zu(e))mg.call(e,t)&&Iu(n,t,e[t]);return n},$u=(n,e)=>hg(n,fg(e));const gg={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}}}},bg={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}}},vg={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}}},Us=(n,e)=>{const t=n.__vccOpts||n;for(const[i,r]of e)t[i]=r;return t},yg={},wg={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10"},Cg=l.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),Eg=[Cg];function kg(n,e){return l.openBlock(),l.createElementBlock("svg",wg,Eg)}const Sg=Us(yg,[["render",kg]]),xg={},_g={xmlns:"http://www.w3.org/2000/svg",width:"14",height:"10"},Mg=l.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),Rg=[Mg];function Tg(n,e){return l.openBlock(),l.createElementBlock("svg",_g,Rg)}const Dg=Us(xg,[["render",Tg]]),ju={Deselect:Sg,OpenIndicator:Dg},Og={mounted(n,{instance:e}){if(e.appendToBody){const{height:t,top:i,left:r,width:s}=e.$refs.toggle.getBoundingClientRect();let a=window.scrollX||window.pageXOffset,o=window.scrollY||window.pageYOffset;n.unbindPosition=e.calculatePosition(n,e,{width:s+"px",left:a+r+"px",top:o+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 Lg(n){const e={};return Object.keys(n).sort().forEach(t=>{e[t]=n[t]}),JSON.stringify(e)}let Pg=0;function Ag(){return++Pg}const Fg={components:Ri({},ju),directives:{appendToBody:Og},mixins:[gg,bg,vg],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:Lg(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
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:()=>Ag()}},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:Ri({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:$u(Ri({},n),{deselect:this.deselect}),footer:$u(Ri({},n),{deselect:this.deselect})}},childComponents(){return Ri(Ri({},ju),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)}}},Bg=["dir"],Ng=["id","aria-expanded","aria-owns"],Vg={ref:"selectedOptions",class:"vs__selected-options"},Hg=["disabled","title","aria-label","onClick"],zg={ref:"actions",class:"vs__actions"},Ig=["disabled"],$g={class:"vs__spinner"},jg=["id"],Wg=["id","aria-selected","onMouseover","onClick"],Gg={key:0,class:"vs__no-options"},Yg=l.createTextVNode(" Sorry, no matching options. "),Ug=["id"];function qg(n,e,t,i,r,s){const a=l.resolveDirective("append-to-body");return l.openBlock(),l.createElementBlock("div",{dir:t.dir,class:l.normalizeClass(["v-select",s.stateClasses])},[l.renderSlot(n.$slots,"header",l.normalizeProps(l.guardReactiveProps(s.scope.header))),l.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]=o=>s.toggleDropdown(o))},[l.createElementVNode("div",Vg,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(s.selectedValue,(o,u)=>l.renderSlot(n.$slots,"selected-option-container",{option:s.normalizeOptionForSlot(o),deselect:s.deselect,multiple:t.multiple,disabled:t.disabled},()=>[(l.openBlock(),l.createElementBlock("span",{key:t.getOptionKey(o),class:"vs__selected"},[l.renderSlot(n.$slots,"selected-option",l.normalizeProps(l.guardReactiveProps(s.normalizeOptionForSlot(o))),()=>[l.createTextVNode(l.toDisplayString(t.getOptionLabel(o)),1)]),t.multiple?(l.openBlock(),l.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(o)}`,"aria-label":`Deselect ${t.getOptionLabel(o)}`,onClick:c=>s.deselect(o)},[(l.openBlock(),l.createBlock(l.resolveDynamicComponent(s.childComponents.Deselect)))],8,Hg)):l.createCommentVNode("",!0)]))])),256)),l.renderSlot(n.$slots,"search",l.normalizeProps(l.guardReactiveProps(s.scope.search)),()=>[l.createElementVNode("input",l.mergeProps({class:"vs__search"},s.scope.search.attributes,l.toHandlers(s.scope.search.events)),null,16)])],512),l.createElementVNode("div",zg,[l.withDirectives(l.createElementVNode("button",{ref:"clearButton",disabled:t.disabled,type:"button",class:"vs__clear",title:"Clear Selected","aria-label":"Clear Selected",onClick:e[0]||(e[0]=(...o)=>s.clearSelection&&s.clearSelection(...o))},[(l.openBlock(),l.createBlock(l.resolveDynamicComponent(s.childComponents.Deselect)))],8,Ig),[[l.vShow,s.showClearButton]]),l.renderSlot(n.$slots,"open-indicator",l.normalizeProps(l.guardReactiveProps(s.scope.openIndicator)),()=>[t.noDrop?l.createCommentVNode("",!0):(l.openBlock(),l.createBlock(l.resolveDynamicComponent(s.childComponents.OpenIndicator),l.normalizeProps(l.mergeProps({key:0},s.scope.openIndicator.attributes)),null,16))]),l.renderSlot(n.$slots,"spinner",l.normalizeProps(l.guardReactiveProps(s.scope.spinner)),()=>[l.withDirectives(l.createElementVNode("div",$g,"Loading...",512),[[l.vShow,n.mutableLoading]])])],512)],40,Ng),l.createVNode(l.Transition,{name:t.transition},{default:l.withCtx(()=>[s.dropdownOpen?l.withDirectives((l.openBlock(),l.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]=l.withModifiers((...o)=>s.onMousedown&&s.onMousedown(...o),["prevent"])),onMouseup:e[3]||(e[3]=(...o)=>s.onMouseUp&&s.onMouseUp(...o))},[l.renderSlot(n.$slots,"list-header",l.normalizeProps(l.guardReactiveProps(s.scope.listHeader))),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(s.filteredOptions,(o,u)=>(l.openBlock(),l.createElementBlock("li",{id:`vs${t.uid}__option-${u}`,key:t.getOptionKey(o),role:"option",class:l.normalizeClass(["vs__dropdown-option",{"vs__dropdown-option--deselect":s.isOptionDeselectable(o)&&u===n.typeAheadPointer,"vs__dropdown-option--selected":s.isOptionSelected(o),"vs__dropdown-option--highlight":u===n.typeAheadPointer,"vs__dropdown-option--disabled":!t.selectable(o)}]),"aria-selected":u===n.typeAheadPointer?!0:null,onMouseover:c=>t.selectable(o)?n.typeAheadPointer=u:null,onClick:l.withModifiers(c=>t.selectable(o)?s.select(o):null,["prevent","stop"])},[l.renderSlot(n.$slots,"option",l.normalizeProps(l.guardReactiveProps(s.normalizeOptionForSlot(o))),()=>[l.createTextVNode(l.toDisplayString(t.getOptionLabel(o)),1)])],42,Wg))),128)),s.filteredOptions.length===0?(l.openBlock(),l.createElementBlock("li",Gg,[l.renderSlot(n.$slots,"no-options",l.normalizeProps(l.guardReactiveProps(s.scope.noOptions)),()=>[Yg])])):l.createCommentVNode("",!0),l.renderSlot(n.$slots,"list-footer",l.normalizeProps(l.guardReactiveProps(s.scope.listFooter)))],40,jg)),[[a]]):(l.openBlock(),l.createElementBlock("ul",{key:1,id:`vs${t.uid}__listbox`,role:"listbox",style:{display:"none",visibility:"hidden"}},null,8,Ug))]),_:3},8,["name"]),l.renderSlot(n.$slots,"footer",l.normalizeProps(l.guardReactiveProps(s.scope.footer)))],10,Bg)}const Kg=Us(Fg,[["render",qg]]);var dt="top",kt="bottom",St="right",ht="left",qs="auto",Zi=[dt,kt,St,ht],Ti="start",Qi="end",Jg="clippingParents",Wu="viewport",en="popper",Xg="reference",Gu=Zi.reduce(function(n,e){return n.concat([e+"-"+Ti,e+"-"+Qi])},[]),Yu=[].concat(Zi,[qs]).reduce(function(n,e){return n.concat([e,e+"-"+Ti,e+"-"+Qi])},[]),Zg="beforeRead",Qg="read",eb="afterRead",tb="beforeMain",ib="main",nb="afterMain",rb="beforeWrite",sb="write",ab="afterWrite",ob=[Zg,Qg,eb,tb,ib,nb,rb,sb,ab];function Bt(n){return n?(n.nodeName||"").toLowerCase():null}function bt(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var e=n.ownerDocument;return e&&e.defaultView||window}return n}function fi(n){var e=bt(n).Element;return n instanceof e||n instanceof Element}function xt(n){var e=bt(n).HTMLElement;return n instanceof e||n instanceof HTMLElement}function Ks(n){if(typeof ShadowRoot>"u")return!1;var e=bt(n).ShadowRoot;return n instanceof e||n instanceof ShadowRoot}function lb(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];!xt(s)||!Bt(s)||(Object.assign(s.style,i),Object.keys(r).forEach(function(a){var o=r[a];o===!1?s.removeAttribute(a):s.setAttribute(a,o===!0?"":o)}))})}function ub(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]||{},a=Object.keys(e.styles.hasOwnProperty(i)?e.styles[i]:t[i]),o=a.reduce(function(u,c){return u[c]="",u},{});!xt(r)||!Bt(r)||(Object.assign(r.style,o),Object.keys(s).forEach(function(u){r.removeAttribute(u)}))})}}const cb={name:"applyStyles",enabled:!0,phase:"write",fn:lb,effect:ub,requires:["computeStyles"]};function Nt(n){return n.split("-")[0]}var pi=Math.max,jn=Math.min,Di=Math.round;function Js(){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 Uu(){return!/^((?!chrome|android).)*safari/i.test(Js())}function Oi(n,e,t){e===void 0&&(e=!1),t===void 0&&(t=!1);var i=n.getBoundingClientRect(),r=1,s=1;e&&xt(n)&&(r=n.offsetWidth>0&&Di(i.width)/n.offsetWidth||1,s=n.offsetHeight>0&&Di(i.height)/n.offsetHeight||1);var a=fi(n)?bt(n):window,o=a.visualViewport,u=!Uu()&&t,c=(i.left+(u&&o?o.offsetLeft:0))/r,d=(i.top+(u&&o?o.offsetTop:0))/s,p=i.width/r,h=i.height/s;return{width:p,height:h,top:d,right:c+p,bottom:d+h,left:c,x:c,y:d}}function Xs(n){var e=Oi(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 qu(n,e){var t=e.getRootNode&&e.getRootNode();if(n.contains(e))return!0;if(t&&Ks(t)){var i=e;do{if(i&&n.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Jt(n){return bt(n).getComputedStyle(n)}function db(n){return["table","td","th"].indexOf(Bt(n))>=0}function ni(n){return((fi(n)?n.ownerDocument:n.document)||window.document).documentElement}function Wn(n){return Bt(n)==="html"?n:n.assignedSlot||n.parentNode||(Ks(n)?n.host:null)||ni(n)}function Ku(n){return!xt(n)||Jt(n).position==="fixed"?null:n.offsetParent}function hb(n){var e=/firefox/i.test(Js()),t=/Trident/i.test(Js());if(t&&xt(n)){var i=Jt(n);if(i.position==="fixed")return null}var r=Wn(n);for(Ks(r)&&(r=r.host);xt(r)&&["html","body"].indexOf(Bt(r))<0;){var s=Jt(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 tn(n){for(var e=bt(n),t=Ku(n);t&&db(t)&&Jt(t).position==="static";)t=Ku(t);return t&&(Bt(t)==="html"||Bt(t)==="body"&&Jt(t).position==="static")?e:t||hb(n)||e}function Zs(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function nn(n,e,t){return pi(n,jn(e,t))}function fb(n,e,t){var i=nn(n,e,t);return i>t?t:i}function Ju(){return{top:0,right:0,bottom:0,left:0}}function Xu(n){return Object.assign({},Ju(),n)}function Zu(n,e){return e.reduce(function(t,i){return t[i]=n,t},{})}var pb=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,Xu(typeof e!="number"?e:Zu(e,Zi))};function mb(n){var e,t=n.state,i=n.name,r=n.options,s=t.elements.arrow,a=t.modifiersData.popperOffsets,o=Nt(t.placement),u=Zs(o),c=[ht,St].indexOf(o)>=0,d=c?"height":"width";if(!(!s||!a)){var p=pb(r.padding,t),h=Xs(s),f=u==="y"?dt:ht,_=u==="y"?kt:St,k=t.rects.reference[d]+t.rects.reference[u]-a[u]-t.rects.popper[d],C=a[u]-t.rects.reference[u],y=tn(s),v=y?u==="y"?y.clientHeight||0:y.clientWidth||0:0,R=k/2-C/2,m=p[f],x=v-h[d]-p[_],g=v/2-h[d]/2+R,S=nn(m,g,x),w=u;t.modifiersData[i]=(e={},e[w]=S,e.centerOffset=S-g,e)}}function gb(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)||qu(e.elements.popper,r)&&(e.elements.arrow=r))}const bb={name:"arrow",enabled:!0,phase:"main",fn:mb,effect:gb,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Li(n){return n.split("-")[1]}var vb={top:"auto",right:"auto",bottom:"auto",left:"auto"};function yb(n,e){var t=n.x,i=n.y,r=e.devicePixelRatio||1;return{x:Di(t*r)/r||0,y:Di(i*r)/r||0}}function Qu(n){var e,t=n.popper,i=n.popperRect,r=n.placement,s=n.variation,a=n.offsets,o=n.position,u=n.gpuAcceleration,c=n.adaptive,d=n.roundOffsets,p=n.isFixed,h=a.x,f=h===void 0?0:h,_=a.y,k=_===void 0?0:_,C=typeof d=="function"?d({x:f,y:k}):{x:f,y:k};f=C.x,k=C.y;var y=a.hasOwnProperty("x"),v=a.hasOwnProperty("y"),R=ht,m=dt,x=window;if(c){var g=tn(t),S="clientHeight",w="clientWidth";if(g===bt(t)&&(g=ni(t),Jt(g).position!=="static"&&o==="absolute"&&(S="scrollHeight",w="scrollWidth")),g=g,r===dt||(r===ht||r===St)&&s===Qi){m=kt;var E=p&&g===x&&x.visualViewport?x.visualViewport.height:g[S];k-=E-i.height,k*=u?1:-1}if(r===ht||(r===dt||r===kt)&&s===Qi){R=St;var b=p&&g===x&&x.visualViewport?x.visualViewport.width:g[w];f-=b-i.width,f*=u?1:-1}}var T=Object.assign({position:o},c&&vb),M=d===!0?yb({x:f,y:k},bt(t)):{x:f,y:k};if(f=M.x,k=M.y,u){var O;return Object.assign({},T,(O={},O[m]=v?"0":"",O[R]=y?"0":"",O.transform=(x.devicePixelRatio||1)<=1?"translate("+f+"px, "+k+"px)":"translate3d("+f+"px, "+k+"px, 0)",O))}return Object.assign({},T,(e={},e[m]=v?k+"px":"",e[R]=y?f+"px":"",e.transform="",e))}function wb(n){var e=n.state,t=n.options,i=t.gpuAcceleration,r=i===void 0?!0:i,s=t.adaptive,a=s===void 0?!0:s,o=t.roundOffsets,u=o===void 0?!0:o,c={placement:Nt(e.placement),variation:Li(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,Qu(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:u})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Qu(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 Cb={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:wb,data:{}};var Gn={passive:!0};function Eb(n){var e=n.state,t=n.instance,i=n.options,r=i.scroll,s=r===void 0?!0:r,a=i.resize,o=a===void 0?!0:a,u=bt(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&c.forEach(function(d){d.addEventListener("scroll",t.update,Gn)}),o&&u.addEventListener("resize",t.update,Gn),function(){s&&c.forEach(function(d){d.removeEventListener("scroll",t.update,Gn)}),o&&u.removeEventListener("resize",t.update,Gn)}}const kb={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Eb,data:{}};var Sb={left:"right",right:"left",bottom:"top",top:"bottom"};function Yn(n){return n.replace(/left|right|bottom|top/g,function(e){return Sb[e]})}var xb={start:"end",end:"start"};function ec(n){return n.replace(/start|end/g,function(e){return xb[e]})}function Qs(n){var e=bt(n),t=e.pageXOffset,i=e.pageYOffset;return{scrollLeft:t,scrollTop:i}}function ea(n){return Oi(ni(n)).left+Qs(n).scrollLeft}function _b(n,e){var t=bt(n),i=ni(n),r=t.visualViewport,s=i.clientWidth,a=i.clientHeight,o=0,u=0;if(r){s=r.width,a=r.height;var c=Uu();(c||!c&&e==="fixed")&&(o=r.offsetLeft,u=r.offsetTop)}return{width:s,height:a,x:o+ea(n),y:u}}function Mb(n){var e,t=ni(n),i=Qs(n),r=(e=n.ownerDocument)==null?void 0:e.body,s=pi(t.scrollWidth,t.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=pi(t.scrollHeight,t.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),o=-i.scrollLeft+ea(n),u=-i.scrollTop;return Jt(r||t).direction==="rtl"&&(o+=pi(t.clientWidth,r?r.clientWidth:0)-s),{width:s,height:a,x:o,y:u}}function ta(n){var e=Jt(n),t=e.overflow,i=e.overflowX,r=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+r+i)}function tc(n){return["html","body","#document"].indexOf(Bt(n))>=0?n.ownerDocument.body:xt(n)&&ta(n)?n:tc(Wn(n))}function rn(n,e){var t;e===void 0&&(e=[]);var i=tc(n),r=i===((t=n.ownerDocument)==null?void 0:t.body),s=bt(i),a=r?[s].concat(s.visualViewport||[],ta(i)?i:[]):i,o=e.concat(a);return r?o:o.concat(rn(Wn(a)))}function ia(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function Rb(n,e){var t=Oi(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 ic(n,e,t){return e===Wu?ia(_b(n,t)):fi(e)?Rb(e,t):ia(Mb(ni(n)))}function Tb(n){var e=rn(Wn(n)),t=["absolute","fixed"].indexOf(Jt(n).position)>=0,i=t&&xt(n)?tn(n):n;return fi(i)?e.filter(function(r){return fi(r)&&qu(r,i)&&Bt(r)!=="body"}):[]}function Db(n,e,t,i){var r=e==="clippingParents"?Tb(n):[].concat(e),s=[].concat(r,[t]),a=s[0],o=s.reduce(function(u,c){var d=ic(n,c,i);return u.top=pi(d.top,u.top),u.right=jn(d.right,u.right),u.bottom=jn(d.bottom,u.bottom),u.left=pi(d.left,u.left),u},ic(n,a,i));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function nc(n){var e=n.reference,t=n.element,i=n.placement,r=i?Nt(i):null,s=i?Li(i):null,a=e.x+e.width/2-t.width/2,o=e.y+e.height/2-t.height/2,u;switch(r){case dt:u={x:a,y:e.y-t.height};break;case kt:u={x:a,y:e.y+e.height};break;case St:u={x:e.x+e.width,y:o};break;case ht:u={x:e.x-t.width,y:o};break;default:u={x:e.x,y:e.y}}var c=r?Zs(r):null;if(c!=null){var d=c==="y"?"height":"width";switch(s){case Ti:u[c]=u[c]-(e[d]/2-t[d]/2);break;case Qi:u[c]=u[c]+(e[d]/2-t[d]/2);break}}return u}function sn(n,e){e===void 0&&(e={});var t=e,i=t.placement,r=i===void 0?n.placement:i,s=t.strategy,a=s===void 0?n.strategy:s,o=t.boundary,u=o===void 0?Jg:o,c=t.rootBoundary,d=c===void 0?Wu:c,p=t.elementContext,h=p===void 0?en:p,f=t.altBoundary,_=f===void 0?!1:f,k=t.padding,C=k===void 0?0:k,y=Xu(typeof C!="number"?C:Zu(C,Zi)),v=h===en?Xg:en,R=n.rects.popper,m=n.elements[_?v:h],x=Db(fi(m)?m:m.contextElement||ni(n.elements.popper),u,d,a),g=Oi(n.elements.reference),S=nc({reference:g,element:R,placement:r}),w=ia(Object.assign({},R,S)),E=h===en?w:g,b={top:x.top-E.top+y.top,bottom:E.bottom-x.bottom+y.bottom,left:x.left-E.left+y.left,right:E.right-x.right+y.right},T=n.modifiersData.offset;if(h===en&&T){var M=T[r];Object.keys(b).forEach(function(O){var F=[St,kt].indexOf(O)>=0?1:-1,z=[dt,kt].indexOf(O)>=0?"y":"x";b[O]+=M[z]*F})}return b}function Ob(n,e){e===void 0&&(e={});var t=e,i=t.placement,r=t.boundary,s=t.rootBoundary,a=t.padding,o=t.flipVariations,u=t.allowedAutoPlacements,c=u===void 0?Yu:u,d=Li(i),p=d?o?Gu:Gu.filter(function(_){return Li(_)===d}):Zi,h=p.filter(function(_){return c.indexOf(_)>=0});h.length===0&&(h=p);var f=h.reduce(function(_,k){return _[k]=sn(n,{placement:k,boundary:r,rootBoundary:s,padding:a})[Nt(k)],_},{});return Object.keys(f).sort(function(_,k){return f[_]-f[k]})}function Lb(n){if(Nt(n)===qs)return[];var e=Yn(n);return[ec(n),e,ec(e)]}function Pb(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,a=t.altAxis,o=a===void 0?!0:a,u=t.fallbackPlacements,c=t.padding,d=t.boundary,p=t.rootBoundary,h=t.altBoundary,f=t.flipVariations,_=f===void 0?!0:f,k=t.allowedAutoPlacements,C=e.options.placement,y=Nt(C),v=y===C,R=u||(v||!_?[Yn(C)]:Lb(C)),m=[C].concat(R).reduce(function(Y,X){return Y.concat(Nt(X)===qs?Ob(e,{placement:X,boundary:d,rootBoundary:p,padding:c,flipVariations:_,allowedAutoPlacements:k}):X)},[]),x=e.rects.reference,g=e.rects.popper,S=new Map,w=!0,E=m[0],b=0;b<m.length;b++){var T=m[b],M=Nt(T),O=Li(T)===Ti,F=[dt,kt].indexOf(M)>=0,z=F?"width":"height",$=sn(e,{placement:T,boundary:d,rootBoundary:p,altBoundary:h,padding:c}),H=F?O?St:ht:O?kt:dt;x[z]>g[z]&&(H=Yn(H));var V=Yn(H),G=[];if(s&&G.push($[M]<=0),o&&G.push($[H]<=0,$[V]<=0),G.every(function(Y){return Y})){E=T,w=!1;break}S.set(T,G)}if(w)for(var D=_?3:1,P=function(X){var ne=m.find(function(se){var W=S.get(se);if(W)return W.slice(0,X).every(function(B){return B})});if(ne)return E=ne,"break"},I=D;I>0;I--){var N=P(I);if(N==="break")break}e.placement!==E&&(e.modifiersData[i]._skip=!0,e.placement=E,e.reset=!0)}}const Ab={name:"flip",enabled:!0,phase:"main",fn:Pb,requiresIfExists:["offset"],data:{_skip:!1}};function rc(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 sc(n){return[dt,St,kt,ht].some(function(e){return n[e]>=0})}function Fb(n){var e=n.state,t=n.name,i=e.rects.reference,r=e.rects.popper,s=e.modifiersData.preventOverflow,a=sn(e,{elementContext:"reference"}),o=sn(e,{altBoundary:!0}),u=rc(a,i),c=rc(o,r,s),d=sc(u),p=sc(c);e.modifiersData[t]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:p},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":p})}const Bb={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Fb};function Nb(n,e,t){var i=Nt(n),r=[ht,dt].indexOf(i)>=0?-1:1,s=typeof t=="function"?t(Object.assign({},e,{placement:n})):t,a=s[0],o=s[1];return a=a||0,o=(o||0)*r,[ht,St].indexOf(i)>=0?{x:o,y:a}:{x:a,y:o}}function Vb(n){var e=n.state,t=n.options,i=n.name,r=t.offset,s=r===void 0?[0,0]:r,a=Yu.reduce(function(d,p){return d[p]=Nb(p,e.rects,s),d},{}),o=a[e.placement],u=o.x,c=o.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=c),e.modifiersData[i]=a}const Hb={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Vb};function zb(n){var e=n.state,t=n.name;e.modifiersData[t]=nc({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})}const Ib={name:"popperOffsets",enabled:!0,phase:"read",fn:zb,data:{}};function $b(n){return n==="x"?"y":"x"}function jb(n){var e=n.state,t=n.options,i=n.name,r=t.mainAxis,s=r===void 0?!0:r,a=t.altAxis,o=a===void 0?!1:a,u=t.boundary,c=t.rootBoundary,d=t.altBoundary,p=t.padding,h=t.tether,f=h===void 0?!0:h,_=t.tetherOffset,k=_===void 0?0:_,C=sn(e,{boundary:u,rootBoundary:c,padding:p,altBoundary:d}),y=Nt(e.placement),v=Li(e.placement),R=!v,m=Zs(y),x=$b(m),g=e.modifiersData.popperOffsets,S=e.rects.reference,w=e.rects.popper,E=typeof k=="function"?k(Object.assign({},e.rects,{placement:e.placement})):k,b=typeof E=="number"?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),T=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,M={x:0,y:0};if(g){if(s){var O,F=m==="y"?dt:ht,z=m==="y"?kt:St,$=m==="y"?"height":"width",H=g[m],V=H+C[F],G=H-C[z],D=f?-w[$]/2:0,P=v===Ti?S[$]:w[$],I=v===Ti?-w[$]:-S[$],N=e.elements.arrow,Y=f&&N?Xs(N):{width:0,height:0},X=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Ju(),ne=X[F],se=X[z],W=nn(0,S[$],Y[$]),B=R?S[$]/2-D-W-ne-b.mainAxis:P-W-ne-b.mainAxis,Z=R?-S[$]/2+D+W+se+b.mainAxis:I+W+se+b.mainAxis,K=e.elements.arrow&&tn(e.elements.arrow),U=K?m==="y"?K.clientTop||0:K.clientLeft||0:0,le=(O=T?.[m])!=null?O:0,re=H+B-le-U,te=H+Z-le,fe=nn(f?jn(V,re):V,H,f?pi(G,te):G);g[m]=fe,M[m]=fe-H}if(o){var we,Ae=m==="x"?dt:ht,Fe=m==="x"?kt:St,Ne=g[x],ae=x==="y"?"height":"width",q=Ne+C[Ae],ie=Ne-C[Fe],ue=[dt,ht].indexOf(y)!==-1,oe=(we=T?.[x])!=null?we:0,ve=ue?q:Ne-S[ae]-w[ae]-oe+b.altAxis,Re=ue?Ne+S[ae]+w[ae]-oe-b.altAxis:ie,Se=f&&ue?fb(ve,Ne,Re):nn(f?ve:q,Ne,f?Re:ie);g[x]=Se,M[x]=Se-Ne}e.modifiersData[i]=M}}const Wb={name:"preventOverflow",enabled:!0,phase:"main",fn:jb,requiresIfExists:["offset"]};function Gb(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function Yb(n){return n===bt(n)||!xt(n)?Qs(n):Gb(n)}function Ub(n){var e=n.getBoundingClientRect(),t=Di(e.width)/n.offsetWidth||1,i=Di(e.height)/n.offsetHeight||1;return t!==1||i!==1}function qb(n,e,t){t===void 0&&(t=!1);var i=xt(e),r=xt(e)&&Ub(e),s=ni(e),a=Oi(n,r,t),o={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!t)&&((Bt(e)!=="body"||ta(s))&&(o=Yb(e)),xt(e)?(u=Oi(e,!0),u.x+=e.clientLeft,u.y+=e.clientTop):s&&(u.x=ea(s))),{x:a.left+o.scrollLeft-u.x,y:a.top+o.scrollTop-u.y,width:a.width,height:a.height}}function Kb(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 a=[].concat(s.requires||[],s.requiresIfExists||[]);a.forEach(function(o){if(!t.has(o)){var u=e.get(o);u&&r(u)}}),i.push(s)}return n.forEach(function(s){t.has(s.name)||r(s)}),i}function Jb(n){var e=Kb(n);return ob.reduce(function(t,i){return t.concat(e.filter(function(r){return r.phase===i}))},[])}function Xb(n){var e;return function(){return e||(e=new Promise(function(t){Promise.resolve().then(function(){e=void 0,t(n())})})),e}}function Zb(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 ac={placement:"bottom",modifiers:[],strategy:"absolute"};function oc(){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 Qb(n){n===void 0&&(n={});var e=n,t=e.defaultModifiers,i=t===void 0?[]:t,r=e.defaultOptions,s=r===void 0?ac:r;return function(o,u,c){c===void 0&&(c=s);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},ac,s),modifiersData:{},elements:{reference:o,popper:u},attributes:{},styles:{}},p=[],h=!1,f={state:d,setOptions:function(y){var v=typeof y=="function"?y(d.options):y;k(),d.options=Object.assign({},s,d.options,v),d.scrollParents={reference:fi(o)?rn(o):o.contextElement?rn(o.contextElement):[],popper:rn(u)};var R=Jb(Zb([].concat(i,d.options.modifiers)));return d.orderedModifiers=R.filter(function(m){return m.enabled}),_(),f.update()},forceUpdate:function(){if(!h){var y=d.elements,v=y.reference,R=y.popper;if(oc(v,R)){d.rects={reference:qb(v,tn(R),d.options.strategy==="fixed"),popper:Xs(R)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(b){return d.modifiersData[b.name]=Object.assign({},b.data)});for(var m=0;m<d.orderedModifiers.length;m++){if(d.reset===!0){d.reset=!1,m=-1;continue}var x=d.orderedModifiers[m],g=x.fn,S=x.options,w=S===void 0?{}:S,E=x.name;typeof g=="function"&&(d=g({state:d,options:w,name:E,instance:f})||d)}}}},update:Xb(function(){return new Promise(function(C){f.forceUpdate(),C(d)})}),destroy:function(){k(),h=!0}};if(!oc(o,u))return f;f.setOptions(c).then(function(C){!h&&c.onFirstUpdate&&c.onFirstUpdate(C)});function _(){d.orderedModifiers.forEach(function(C){var y=C.name,v=C.options,R=v===void 0?{}:v,m=C.effect;if(typeof m=="function"){var x=m({state:d,name:y,instance:f,options:R}),g=function(){};p.push(x||g)}})}function k(){p.forEach(function(C){return C()}),p=[]}return f}}var ev=[kb,Ib,Cb,cb,Hb,Ab,Wb,bb,Bb],tv=Qb({defaultModifiers:ev});function iv(n,e,{width:t}){n.style.width=t;const i=tv(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 nv={class:"text-muted"},rv={key:0,class:"py-1"},sv={class:"text-wrap"},av=["innerHTML"],ov={key:1,class:"text-muted p-0"},lv={class:"text-wrap"},uv={key:2,class:"text-muted p-0 small d-flex justify-content-center"},cv={class:"text-wrap px-2"},dv={class:"selected"},hv=["innerHTML"],fv={key:0,style:{"border-left-color":"rgba(88, 151, 251, 0.71)"},class:"vs__spinner"},Xt={__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;l.getCurrentInstance();const s=l.ref(r),a=$s(u,i.searchTimout),o=l.computed(()=>{const p=ii(i.options);return p?p.map(h=>{const f=i.modelValue;return f?{...h,disabled:h.id===f}:h}):[]});function u(p){t("search",p)}const c=p=>!(!p.id||p.disabled),d=l.computed(()=>Array.isArray(i.error)?i.error?.filter(Boolean):typeof i.error=="string"&&i.error?[i.error]:[]);return l.watch(()=>i.modelValue,p=>{s.value=i.modelValue},{deep:!0}),l.watch(()=>s.value,p=>{t("update:modelValue",p)},{deep:!0}),l.onMounted(()=>{s.value=i.modelValue}),(p,h)=>(l.openBlock(),l.createElementBlock(l.Fragment,null,[n.title?(l.openBlock(),l.createElementBlock("div",{key:0,class:l.normalizeClass(p.titleClass)},l.toDisplayString(n.title),3)):l.createCommentVNode("",!0),l.createVNode(l.unref(Kg),l.mergeProps({class:"style-chooser"},p.$attrs,{modelValue:s.value,"onUpdate:modelValue":h[0]||(h[0]=f=>s.value=f),reduce:n.reduce,options:o.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":l.unref(iv),selectable:f=>c(f),"onSearch:blur":h[1]||(h[1]=f=>t("blur")),"onSearch:focus":h[2]||(h[2]=f=>t("focus")),onSearch:l.unref(a),class:[...n.classes,n.error?"not-valid":""]}),{"no-options":l.withCtx(({search:f,searching:_,loading:k})=>[l.createElementVNode("span",nv,l.toDisplayString(n.hint),1)]),option:l.withCtx(({label:f,html:_,id:k,disabled:C})=>[k?(l.openBlock(),l.createElementBlock("div",rv,[l.createElementVNode("div",sv,l.toDisplayString(f),1),_?(l.openBlock(),l.createElementBlock("div",{key:0,innerHTML:_},null,8,av)):l.createCommentVNode("",!0)])):C?(l.openBlock(),l.createElementBlock("div",ov,[l.createElementVNode("div",lv,l.toDisplayString(f)+"disabled",1)])):(l.openBlock(),l.createElementBlock("div",uv,[h[3]||(h[3]=l.createElementVNode("span",null,"-",-1)),l.createElementVNode("span",cv,l.toDisplayString(f),1),h[4]||(h[4]=l.createElementVNode("span",null,"-",-1))]))]),"selected-option":l.withCtx(({label:f,html:_})=>[l.createElementVNode("div",dv,[l.createElementVNode("div",null,l.toDisplayString(f),1),_?(l.openBlock(),l.createElementBlock("div",{key:0,innerHTML:_},null,8,hv)):l.createCommentVNode("",!0)])]),spinner:l.withCtx(({loading:f})=>[f?(l.openBlock(),l.createElementBlock("div",fv)):l.createCommentVNode("",!0)]),_:1},16,["modelValue","reduce","options","multiple","placeholder","disabled","loading","clearable","placement","appendToBody","calculate-position","selectable","onSearch","class"]),l.createVNode(hi,{errors:d.value},null,8,["errors"])],64))}},pv={class:"form-check"},mv=["type","id","name"],gv=["for"],lc=Ve(l.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=l.ref(),s=di(),a=l.computed(()=>t.group.length?t.group:t.name),o=()=>{i("update:modelValue",r.value?.checked?t.trueValue:t.defaultValue)},u=l.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 p=r.value?.checked?"Да":null;t.setFilterParamsStringsHandler(t.name,p)},d=l.computed(()=>Array.isArray(t.error)?t.error?.filter(Boolean)||[]:typeof t.error=="string"&&t.error?[t.error]:[]);return l.watch(()=>t.modelValue,p=>{r.value&&(r.value.checked=!!p)}),(p,h)=>(l.openBlock(),l.createElementBlock(l.Fragment,null,[l.createElementVNode("div",pv,[(l.openBlock(),l.createElementBlock("input",{class:l.normalizeClass(["form-check-input",[p.error?"not-valid":""]]),ref_key:"input",ref:r,type:p.type,id:String(l.unref(s)),name:a.value,key:String(u.value),onClick:o},null,10,mv)),l.createElementVNode("label",{class:l.normalizeClass(["form-check-label",[p.error?"text-danger":""]]),for:String(l.unref(s))},l.toDisplayString(p.label),11,gv)]),l.createVNode(hi,{errors:d.value},null,8,["errors"])],64))}}),[["__scopeId","data-v-b2a37180"]]),bv={class:"multi-checkbox"},vv=["checked","onClick","id","value","name"],yv=["for"],wv=Ve(l.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=l.toRef(t,"modelValue"),s=l.toRef(t,"options"),a=l.toRef(t,"name");function o(p,h){const f=String(h);let _=[...r.value];r.value.includes(f)?_=r.value.filter(k=>String(k)!==f):_.push(f),i("update:modelValue",_)}const u=l.computed(()=>p=>r.value.includes(String(p)));function c(p){if(!t.setFilterParamsStringsHandler)return;let h=p.map(_=>String(_));const f=s.value.filter(_=>h.includes(String(_.id))).map(_=>_.text);if(h.length===0){t.setFilterParamsStringsHandler(a.value,null);return}t.setFilterParamsStringsHandler(a.value,f.join(", "))}const d=l.computed(()=>Array.isArray(t.error)?t.error?.filter(Boolean)||[]:typeof t.error=="string"&&t.error?[t.error]:[]);return l.watch(()=>r.value,p=>{c(p)},{deep:!0}),(p,h)=>(l.openBlock(),l.createElementBlock("div",bv,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(s.value,f=>(l.openBlock(),l.createElementBlock("div",{class:"form-check",key:f.id},[l.createElementVNode("input",{class:l.normalizeClass(["form-check-input",[p.inputClass,{"not-valid":p.error}]]),type:"checkbox",checked:u.value(f.id),onClick:_=>o(_,f.id),id:`${a.value}-${f.id}`,value:f.id,name:`${a.value}-${f.id}`},null,10,vv),l.createElementVNode("label",{class:"form-check-label d-block",for:`${a.value}-${f.id}`},l.toDisplayString(f.text),9,yv)]))),128)),l.createVNode(hi,{errors:d.value},null,8,["errors"])]))}}),[["__scopeId","data-v-e23ac74b"]]),Cv={class:"multi-input"},Ev={class:"col"},kv={class:"col-auto"},Sv=["onClick"],xv=Ve(l.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=l.toRef(t,"modelValue");l.toRef(t,"title");const s=l.toRef(t,"placeholder");l.toRef(t,"disabled");const a=l.toRef(t,"error"),o=l.toRef(t,"maskOptions"),u=l.ref([]),c=l.ref(!1),d={value:"",disabled:!1,uniqueKey:1};function p(){const y=ii(d);y.uniqueKey=di(),u.value.push(y)}function h(y,v){y.value=v}const f=l.computed(()=>u.value.length>1);function _(y){u.value=u.value.filter(v=>v.uniqueKey!==y.uniqueKey)}function k(){u.value=[],p()}function C(y){const v=y.map(m=>m.value);if(i("update:modelValue",v),!t.setFilterParamsStringsHandler)return;const R=v.filter(m=>m&&m.length>0);if(R.length===0){t.setFilterParamsStringsHandler(t.name,null);return}t.setFilterParamsStringsHandler(t.name,R.join(", "))}return l.watch(()=>u.value,y=>{c.value||C(y)},{deep:!0}),l.watch(()=>r.value,y=>{c.value=!0,!y||y.length===0?k():u.value.length!==y.length?u.value=y.map((v,R)=>({value:v,disabled:!1,uniqueKey:di()+R})):y.forEach((v,R)=>{u.value[R]&&(u.value[R].value=v)}),l.nextTick(()=>{c.value=!1})},{deep:!0}),l.onMounted(()=>{r.value&&r.value.length>0?u.value=r.value.map((y,v)=>({value:y,disabled:!1,uniqueKey:di()+v})):p()}),(y,v)=>(l.openBlock(),l.createElementBlock("div",Cv,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(u.value,(R,m)=>(l.openBlock(),l.createElementBlock("div",{class:"row mb-2",key:R.uniqueKey},[l.createElementVNode("div",Ev,[l.createVNode($n,{"model-value":R.value,"onUpdate:modelValue":x=>h(R,x),name:y.name,placeholder:s.value,class:l.normalizeClass(y.inputClass),disabled:R.disabled,"mask-options":o.value,error:a.value},null,8,["model-value","onUpdate:modelValue","name","placeholder","class","disabled","mask-options","error"])]),l.createElementVNode("div",kv,[f.value?(l.openBlock(),l.createElementBlock("div",{key:0,class:"d-flex remove-button p-2",style:{cursor:"pointer"},onClick:x=>_(R)},[...v[0]||(v[0]=[l.createElementVNode("i",{class:"bi bi-trash-fill"},null,-1)])],8,Sv)):l.createCommentVNode("",!0)])]))),128)),l.createVNode(Ca,{onClick:p})]))}}),[["__scopeId","data-v-9337052b"]]);var na=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],Pi={_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},an={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},ft=function(n,e){return e===void 0&&(e=2),("000"+n).slice(e*-1)},_t=function(n){return n===!0?1:0};function uc(n,e){var t;return function(){var i=this,r=arguments;clearTimeout(t),t=setTimeout(function(){return n.apply(i,r)},e)}}var ra=function(n){return n instanceof Array?n:[n]};function ut(n,e,t){if(t===!0)return n.classList.add(e);n.classList.remove(e)}function Ge(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 Un(n){for(;n.firstChild;)n.removeChild(n.firstChild)}function cc(n,e){if(e(n))return n;if(n.parentNode)return cc(n.parentNode,e)}function qn(n,e){var t=Ge("div","numInputWrapper"),i=Ge("input","numInput "+n),r=Ge("span","arrowUp"),s=Ge("span","arrowDown");if(navigator.userAgent.indexOf("MSIE 9.0")===-1?i.type="number":(i.type="text",i.pattern="\\d*"),e!==void 0)for(var a in e)i.setAttribute(a,e[a]);return t.appendChild(i),t.appendChild(r),t.appendChild(s),t}function vt(n){try{if(typeof n.composedPath=="function"){var e=n.composedPath();return e[0]}return n.target}catch{return n.target}}var sa=function(){},Kn=function(n,e,t){return t.months[e?"shorthand":"longhand"][n]},_v={D:sa,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*_t(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:sa,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:sa,y:function(n,e){n.setFullYear(2e3+parseFloat(e))}},mi={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})"},on={Z:function(n){return n.toISOString()},D:function(n,e,t){return e.weekdays.shorthand[on.w(n,e,t)]},F:function(n,e,t){return Kn(on.n(n,e,t)-1,!1,e)},G:function(n,e,t){return ft(on.h(n,e,t))},H:function(n){return ft(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[_t(n.getHours()>11)]},M:function(n,e){return Kn(n.getMonth(),!0,e)},S:function(n){return ft(n.getSeconds())},U:function(n){return n.getTime()/1e3},W:function(n,e,t){return t.getWeek(n)},Y:function(n){return ft(n.getFullYear(),4)},d:function(n){return ft(n.getDate())},h:function(n){return n.getHours()%12?n.getHours()%12:12},i:function(n){return ft(n.getMinutes())},j:function(n){return n.getDate()},l:function(n,e){return e.weekdays.longhand[n.getDay()]},m:function(n){return ft(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)}},dc=function(n){var e=n.config,t=e===void 0?Pi:e,i=n.l10n,r=i===void 0?an:i,s=n.isMobile,a=s===void 0?!1:s;return function(o,u,c){var d=c||r;return t.formatDate!==void 0&&!a?t.formatDate(o,u,d):u.split("").map(function(p,h,f){return on[p]&&f[h-1]!=="\\"?on[p](o,d,t):p!=="\\"?p:""}).join("")}},aa=function(n){var e=n.config,t=e===void 0?Pi:e,i=n.l10n,r=i===void 0?an:i;return function(s,a,o,u){if(!(s!==0&&!s)){var c=u||r,d,p=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 h=a||(t||Pi).dateFormat,f=String(s).trim();if(f==="today")d=new Date,o=!0;else if(t&&t.parseDate)d=t.parseDate(s,h);else if(/Z$/.test(f)||/GMT$/.test(f))d=new Date(s);else{for(var _=void 0,k=[],C=0,y=0,v="";C<h.length;C++){var R=h[C],m=R==="\\",x=h[C-1]==="\\"||m;if(mi[R]&&!x){v+=mi[R];var g=new RegExp(v).exec(s);g&&(_=!0)&&k[R!=="Y"?"push":"unshift"]({fn:_v[R],val:g[++y]})}else m||(v+=".")}d=!t||!t.noCalendar?new Date(new Date().getFullYear(),0,1,0,0,0,0):new Date(new Date().setHours(0,0,0,0)),k.forEach(function(S){var w=S.fn,E=S.val;return d=w(d,E,c)||d}),d=_?d:void 0}}if(!(d instanceof Date&&!isNaN(d.getTime()))){t.errorHandler(new Error("Invalid date provided: "+p));return}return o===!0&&d.setHours(0,0,0,0),d}}};function yt(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 Mv=function(n,e,t){return n>Math.min(e,t)&&n<Math.max(e,t)},oa=function(n,e,t){return n*3600+e*60+t},Rv=function(n){var e=Math.floor(n/3600),t=(n-e*3600)/60;return[e,t,n-e*3600-t*60]},Tv={DAY:864e5};function la(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(),a=n.minDate.getSeconds();e<r&&(e=r),e===r&&t<s&&(t=s),e===r&&t===s&&i<a&&(i=n.minDate.getSeconds())}if(n.maxDate!==void 0){var o=n.maxDate.getHours(),u=n.maxDate.getMinutes();e=Math.min(e,o),e===o&&(t=Math.min(u,t)),e===o&&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(o){o&&Object.keys(o).forEach(function(u){return n[u]=o[u]})},r=0,s=e;r<s.length;r++){var a=s[r];i(a)}return n});var at=function(){return at=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},at.apply(this,arguments)},hc=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],a=0,o=s.length;a<o;a++,r++)i[r]=s[a];return i},Dv=300;function Ov(n,e){var t={config:at(at({},Pi),it.defaultConfig),l10n:an};t.parseDate=aa({config:t.config,l10n:t.l10n}),t._handlers=[],t.pluginElements=[],t.loadedPlugins=[],t._bind=k,t._setHoursFromDate=h,t._positionCalendar=Fe,t.changeMonth=P,t.changeYear=se,t.clear=I,t.close=N,t.onMouseOver=U,t._createElement=Ge,t.createDay=g,t.destroy=Y,t.isEnabled=W,t.jumpToDate=v,t.updateValue=ke,t.open=re,t.redraw=q,t.set=ve,t.setDate=Se,t.toggle=Zt;function i(){t.utils={getDaysInMonth:function(L,A){return L===void 0&&(L=t.currentMonth),A===void 0&&(A=t.currentYear),L===1&&(A%4===0&&A%100!==0||A%400===0)?29:t.l10n.daysInMonth[L]}}}function r(){t.element=t.input=n,t.isOpen=!1,fe(),Ae(),Le(),ce(),i(),t.isMobile||x(),y(),(t.selectedDates.length||t.config.noCalendar)&&(t.config.enableTime&&h(t.config.noCalendar?t.latestSelectedDateObj:void 0),ke(!1)),o();var L=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!t.isMobile&&L&&Fe(),Ue("onReady")}function s(){var L;return((L=t.calendarContainer)===null||L===void 0?void 0:L.getRootNode()).activeElement||document.activeElement}function a(L){return L.bind(t)}function o(){var L=t.config;L.weekNumbers===!1&&L.showMonths===1||L.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 A=(t.days.offsetWidth+1)*L.showMonths;t.daysContainer.style.width=A+"px",t.calendarContainer.style.width=A+(t.weekWrapper!==void 0?t.weekWrapper.offsetWidth:0)+"px",t.calendarContainer.style.removeProperty("visibility"),t.calendarContainer.style.removeProperty("display")}})}function u(L){if(t.selectedDates.length===0){var A=t.config.minDate===void 0||yt(new Date,t.config.minDate)>=0?new Date:new Date(t.config.minDate.getTime()),j=la(t.config);A.setHours(j.hours,j.minutes,j.seconds,A.getMilliseconds()),t.selectedDates=[A],t.latestSelectedDateObj=A}L!==void 0&&L.type!=="blur"&&et(L);var ee=t._input.value;p(),ke(),t._input.value!==ee&&t._debouncedChange()}function c(L,A){return L%12+12*_t(A===t.l10n.amPM[1])}function d(L){switch(L%24){case 0:case 12:return 12;default:return L%12}}function p(){if(!(t.hourElement===void 0||t.minuteElement===void 0)){var L=(parseInt(t.hourElement.value.slice(-2),10)||0)%24,A=(parseInt(t.minuteElement.value,10)||0)%60,j=t.secondElement!==void 0?(parseInt(t.secondElement.value,10)||0)%60:0;t.amPM!==void 0&&(L=c(L,t.amPM.textContent));var ee=t.config.minTime!==void 0||t.config.minDate&&t.minDateHasTime&&t.latestSelectedDateObj&&yt(t.latestSelectedDateObj,t.config.minDate,!0)===0,de=t.config.maxTime!==void 0||t.config.maxDate&&t.maxDateHasTime&&t.latestSelectedDateObj&&yt(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 me=oa(t.config.minTime.getHours(),t.config.minTime.getMinutes(),t.config.minTime.getSeconds()),Te=oa(t.config.maxTime.getHours(),t.config.maxTime.getMinutes(),t.config.maxTime.getSeconds()),ye=oa(L,A,j);if(ye>Te&&ye<me){var De=Rv(me);L=De[0],A=De[1],j=De[2]}}else{if(de){var be=t.config.maxTime!==void 0?t.config.maxTime:t.config.maxDate;L=Math.min(L,be.getHours()),L===be.getHours()&&(A=Math.min(A,be.getMinutes())),A===be.getMinutes()&&(j=Math.min(j,be.getSeconds()))}if(ee){var xe=t.config.minTime!==void 0?t.config.minTime:t.config.minDate;L=Math.max(L,xe.getHours()),L===xe.getHours()&&A<xe.getMinutes()&&(A=xe.getMinutes()),A===xe.getMinutes()&&(j=Math.max(j,xe.getSeconds()))}}f(L,A,j)}}function h(L){var A=L||t.latestSelectedDateObj;A&&A instanceof Date&&f(A.getHours(),A.getMinutes(),A.getSeconds())}function f(L,A,j){t.latestSelectedDateObj!==void 0&&t.latestSelectedDateObj.setHours(L%24,A,j||0,0),!(!t.hourElement||!t.minuteElement||t.isMobile)&&(t.hourElement.value=ft(t.config.time_24hr?L:(12+L)%12+12*_t(L%12===0)),t.minuteElement.value=ft(A),t.amPM!==void 0&&(t.amPM.textContent=t.l10n.amPM[_t(L>=12)]),t.secondElement!==void 0&&(t.secondElement.value=ft(j)))}function _(L){var A=vt(L),j=parseInt(A.value)+(L.delta||0);(j/1e3>1||L.key==="Enter"&&!/[^\d]/.test(j.toString()))&&se(j)}function k(L,A,j,ee){if(A instanceof Array)return A.forEach(function(de){return k(L,de,j,ee)});if(L instanceof Array)return L.forEach(function(de){return k(de,A,j,ee)});L.addEventListener(A,j,ee),t._handlers.push({remove:function(){return L.removeEventListener(A,j,ee)}})}function C(){Ue("onChange")}function y(){if(t.config.wrap&&["open","close","toggle","clear"].forEach(function(j){Array.prototype.forEach.call(t.element.querySelectorAll("[data-"+j+"]"),function(ee){return k(ee,"click",t[j])})}),t.isMobile){pn();return}var L=uc(le,50);if(t._debouncedChange=uc(C,Dv),t.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&k(t.daysContainer,"mouseover",function(j){t.config.mode==="range"&&U(vt(j))}),k(t._input,"keydown",K),t.calendarContainer!==void 0&&k(t.calendarContainer,"keydown",K),!t.config.inline&&!t.config.static&&k(window,"resize",L),window.ontouchstart!==void 0?k(window.document,"touchstart",ne):k(window.document,"mousedown",ne),k(window.document,"focus",ne,{capture:!0}),t.config.clickOpens===!0&&(k(t._input,"focus",t.open),k(t._input,"click",t.open)),t.daysContainer!==void 0&&(k(t.monthNav,"click",pt),k(t.monthNav,["keyup","increment"],_),k(t.daysContainer,"click",ue)),t.timeContainer!==void 0&&t.minuteElement!==void 0&&t.hourElement!==void 0){var A=function(j){return vt(j).select()};k(t.timeContainer,["increment"],u),k(t.timeContainer,"blur",u,{capture:!0}),k(t.timeContainer,"click",R),k([t.hourElement,t.minuteElement],["focus","click"],A),t.secondElement!==void 0&&k(t.secondElement,"focus",function(){return t.secondElement&&t.secondElement.select()}),t.amPM!==void 0&&k(t.amPM,"click",function(j){u(j)})}t.config.allowInput&&k(t._input,"blur",Z)}function v(L,A){var j=L!==void 0?t.parseDate(L):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),ee=t.currentYear,de=t.currentMonth;try{j!==void 0&&(t.currentYear=j.getFullYear(),t.currentMonth=j.getMonth())}catch(me){me.message="Invalid date supplied: "+j,t.config.errorHandler(me)}A&&t.currentYear!==ee&&(Ue("onYearChange"),O()),A&&(t.currentYear!==ee||t.currentMonth!==de)&&Ue("onMonthChange"),t.redraw()}function R(L){var A=vt(L);~A.className.indexOf("arrow")&&m(L,A.classList.contains("arrowUp")?1:-1)}function m(L,A,j){var ee=L&&vt(L),de=j||ee&&ee.parentNode&&ee.parentNode.firstChild,me=J("increment");me.delta=A,de&&de.dispatchEvent(me)}function x(){var L=window.document.createDocumentFragment();if(t.calendarContainer=Ge("div","flatpickr-calendar"),t.calendarContainer.tabIndex=-1,!t.config.noCalendar){if(L.appendChild($()),t.innerContainer=Ge("div","flatpickr-innerContainer"),t.config.weekNumbers){var A=D(),j=A.weekWrapper,ee=A.weekNumbers;t.innerContainer.appendChild(j),t.weekNumbers=ee,t.weekWrapper=j}t.rContainer=Ge("div","flatpickr-rContainer"),t.rContainer.appendChild(V()),t.daysContainer||(t.daysContainer=Ge("div","flatpickr-days"),t.daysContainer.tabIndex=-1),M(),t.rContainer.appendChild(t.daysContainer),t.innerContainer.appendChild(t.rContainer),L.appendChild(t.innerContainer)}t.config.enableTime&&L.appendChild(H()),ut(t.calendarContainer,"rangeMode",t.config.mode==="range"),ut(t.calendarContainer,"animate",t.config.animate===!0),ut(t.calendarContainer,"multiMonth",t.config.showMonths>1),t.calendarContainer.appendChild(L);var de=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&&(!de&&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 me=Ge("div","flatpickr-wrapper");t.element.parentNode&&t.element.parentNode.insertBefore(me,t.element),me.appendChild(t.element),t.altInput&&me.appendChild(t.altInput),me.appendChild(t.calendarContainer)}!t.config.static&&!t.config.inline&&(t.config.appendTo!==void 0?t.config.appendTo:window.document.body).appendChild(t.calendarContainer)}function g(L,A,j,ee){var de=W(A,!0),me=Ge("span",L,A.getDate().toString());return me.dateObj=A,me.$i=ee,me.setAttribute("aria-label",t.formatDate(A,t.config.ariaDateFormat)),L.indexOf("hidden")===-1&&yt(A,t.now)===0&&(t.todayDateElem=me,me.classList.add("today"),me.setAttribute("aria-current","date")),de?(me.tabIndex=-1,Q(A)&&(me.classList.add("selected"),t.selectedDateElem=me,t.config.mode==="range"&&(ut(me,"startRange",t.selectedDates[0]&&yt(A,t.selectedDates[0],!0)===0),ut(me,"endRange",t.selectedDates[1]&&yt(A,t.selectedDates[1],!0)===0),L==="nextMonthDay"&&me.classList.add("inRange")))):me.classList.add("flatpickr-disabled"),t.config.mode==="range"&&Be(A)&&!Q(A)&&me.classList.add("inRange"),t.weekNumbers&&t.config.showMonths===1&&L!=="prevMonthDay"&&ee%7===6&&t.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+t.config.getWeek(A)+"</span>"),Ue("onDayCreate",me),me}function S(L){L.focus(),t.config.mode==="range"&&U(L)}function w(L){for(var A=L>0?0:t.config.showMonths-1,j=L>0?t.config.showMonths:-1,ee=A;ee!=j;ee+=L)for(var de=t.daysContainer.children[ee],me=L>0?0:de.children.length-1,Te=L>0?de.children.length:-1,ye=me;ye!=Te;ye+=L){var De=de.children[ye];if(De.className.indexOf("hidden")===-1&&W(De.dateObj))return De}}function E(L,A){for(var j=L.className.indexOf("Month")===-1?L.dateObj.getMonth():t.currentMonth,ee=A>0?t.config.showMonths:-1,de=A>0?1:-1,me=j-t.currentMonth;me!=ee;me+=de)for(var Te=t.daysContainer.children[me],ye=j-t.currentMonth===me?L.$i+A:A<0?Te.children.length-1:0,De=Te.children.length,be=ye;be>=0&&be<De&&be!=(A>0?De:-1);be+=de){var xe=Te.children[be];if(xe.className.indexOf("hidden")===-1&&W(xe.dateObj)&&Math.abs(L.$i-be)>=Math.abs(A))return S(xe)}t.changeMonth(de),b(w(de),0)}function b(L,A){var j=s(),ee=B(j||document.body),de=L!==void 0?L:ee?j:t.selectedDateElem!==void 0&&B(t.selectedDateElem)?t.selectedDateElem:t.todayDateElem!==void 0&&B(t.todayDateElem)?t.todayDateElem:w(A>0?1:-1);de===void 0?t._input.focus():ee?E(de,A):S(de)}function T(L,A){for(var j=(new Date(L,A,1).getDay()-t.l10n.firstDayOfWeek+7)%7,ee=t.utils.getDaysInMonth((A-1+12)%12,L),de=t.utils.getDaysInMonth(A,L),me=window.document.createDocumentFragment(),Te=t.config.showMonths>1,ye=Te?"prevMonthDay hidden":"prevMonthDay",De=Te?"nextMonthDay hidden":"nextMonthDay",be=ee+1-j,xe=0;be<=ee;be++,xe++)me.appendChild(g("flatpickr-day "+ye,new Date(L,A-1,be),be,xe));for(be=1;be<=de;be++,xe++)me.appendChild(g("flatpickr-day",new Date(L,A,be),be,xe));for(var Ye=de+1;Ye<=42-j&&(t.config.showMonths===1||xe%7!==0);Ye++,xe++)me.appendChild(g("flatpickr-day "+De,new Date(L,A+1,Ye%de),Ye,xe));var mt=Ge("div","dayContainer");return mt.appendChild(me),mt}function M(){if(t.daysContainer!==void 0){Un(t.daysContainer),t.weekNumbers&&Un(t.weekNumbers);for(var L=document.createDocumentFragment(),A=0;A<t.config.showMonths;A++){var j=new Date(t.currentYear,t.currentMonth,1);j.setMonth(t.currentMonth+A),L.appendChild(T(j.getFullYear(),j.getMonth()))}t.daysContainer.appendChild(L),t.days=t.daysContainer.firstChild,t.config.mode==="range"&&t.selectedDates.length===1&&U()}}function O(){if(!(t.config.showMonths>1||t.config.monthSelectorType!=="dropdown")){var L=function(ee){return t.config.minDate!==void 0&&t.currentYear===t.config.minDate.getFullYear()&&ee<t.config.minDate.getMonth()?!1:!(t.config.maxDate!==void 0&&t.currentYear===t.config.maxDate.getFullYear()&&ee>t.config.maxDate.getMonth())};t.monthsDropdownContainer.tabIndex=-1,t.monthsDropdownContainer.innerHTML="";for(var A=0;A<12;A++)if(L(A)){var j=Ge("option","flatpickr-monthDropdown-month");j.value=new Date(t.currentYear,A).getMonth().toString(),j.textContent=Kn(A,t.config.shorthandCurrentMonth,t.l10n),j.tabIndex=-1,t.currentMonth===A&&(j.selected=!0),t.monthsDropdownContainer.appendChild(j)}}}function F(){var L=Ge("div","flatpickr-month"),A=window.document.createDocumentFragment(),j;t.config.showMonths>1||t.config.monthSelectorType==="static"?j=Ge("span","cur-month"):(t.monthsDropdownContainer=Ge("select","flatpickr-monthDropdown-months"),t.monthsDropdownContainer.setAttribute("aria-label",t.l10n.monthAriaLabel),k(t.monthsDropdownContainer,"change",function(Te){var ye=vt(Te),De=parseInt(ye.value,10);t.changeMonth(De-t.currentMonth),Ue("onMonthChange")}),O(),j=t.monthsDropdownContainer);var ee=qn("cur-year",{tabindex:"-1"}),de=ee.getElementsByTagName("input")[0];de.setAttribute("aria-label",t.l10n.yearAriaLabel),t.config.minDate&&de.setAttribute("min",t.config.minDate.getFullYear().toString()),t.config.maxDate&&(de.setAttribute("max",t.config.maxDate.getFullYear().toString()),de.disabled=!!t.config.minDate&&t.config.minDate.getFullYear()===t.config.maxDate.getFullYear());var me=Ge("div","flatpickr-current-month");return me.appendChild(j),me.appendChild(ee),A.appendChild(me),L.appendChild(A),{container:L,yearElement:de,monthElement:j}}function z(){Un(t.monthNav),t.monthNav.appendChild(t.prevMonthNav),t.config.showMonths&&(t.yearElements=[],t.monthElements=[]);for(var L=t.config.showMonths;L--;){var A=F();t.yearElements.push(A.yearElement),t.monthElements.push(A.monthElement),t.monthNav.appendChild(A.container)}t.monthNav.appendChild(t.nextMonthNav)}function $(){return t.monthNav=Ge("div","flatpickr-months"),t.yearElements=[],t.monthElements=[],t.prevMonthNav=Ge("span","flatpickr-prev-month"),t.prevMonthNav.innerHTML=t.config.prevArrow,t.nextMonthNav=Ge("span","flatpickr-next-month"),t.nextMonthNav.innerHTML=t.config.nextArrow,z(),Object.defineProperty(t,"_hidePrevMonthArrow",{get:function(){return t.__hidePrevMonthArrow},set:function(L){t.__hidePrevMonthArrow!==L&&(ut(t.prevMonthNav,"flatpickr-disabled",L),t.__hidePrevMonthArrow=L)}}),Object.defineProperty(t,"_hideNextMonthArrow",{get:function(){return t.__hideNextMonthArrow},set:function(L){t.__hideNextMonthArrow!==L&&(ut(t.nextMonthNav,"flatpickr-disabled",L),t.__hideNextMonthArrow=L)}}),t.currentYearElement=t.yearElements[0],Ie(),t.monthNav}function H(){t.calendarContainer.classList.add("hasTime"),t.config.noCalendar&&t.calendarContainer.classList.add("noCalendar");var L=la(t.config);t.timeContainer=Ge("div","flatpickr-time"),t.timeContainer.tabIndex=-1;var A=Ge("span","flatpickr-time-separator",":"),j=qn("flatpickr-hour",{"aria-label":t.l10n.hourAriaLabel});t.hourElement=j.getElementsByTagName("input")[0];var ee=qn("flatpickr-minute",{"aria-label":t.l10n.minuteAriaLabel});if(t.minuteElement=ee.getElementsByTagName("input")[0],t.hourElement.tabIndex=t.minuteElement.tabIndex=-1,t.hourElement.value=ft(t.latestSelectedDateObj?t.latestSelectedDateObj.getHours():t.config.time_24hr?L.hours:d(L.hours)),t.minuteElement.value=ft(t.latestSelectedDateObj?t.latestSelectedDateObj.getMinutes():L.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(j),t.timeContainer.appendChild(A),t.timeContainer.appendChild(ee),t.config.time_24hr&&t.timeContainer.classList.add("time24hr"),t.config.enableSeconds){t.timeContainer.classList.add("hasSeconds");var de=qn("flatpickr-second");t.secondElement=de.getElementsByTagName("input")[0],t.secondElement.value=ft(t.latestSelectedDateObj?t.latestSelectedDateObj.getSeconds():L.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(Ge("span","flatpickr-time-separator",":")),t.timeContainer.appendChild(de)}return t.config.time_24hr||(t.amPM=Ge("span","flatpickr-am-pm",t.l10n.amPM[_t((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 V(){t.weekdayContainer?Un(t.weekdayContainer):t.weekdayContainer=Ge("div","flatpickr-weekdays");for(var L=t.config.showMonths;L--;){var A=Ge("div","flatpickr-weekdaycontainer");t.weekdayContainer.appendChild(A)}return G(),t.weekdayContainer}function G(){if(t.weekdayContainer){var L=t.l10n.firstDayOfWeek,A=hc(t.l10n.weekdays.shorthand);L>0&&L<A.length&&(A=hc(A.splice(L,A.length),A.splice(0,L)));for(var j=t.config.showMonths;j--;)t.weekdayContainer.children[j].innerHTML=`
28
28
  <span class='flatpickr-weekday'>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "r3ui-lib",
3
3
  "private": false,
4
- "version": "1.1.4",
4
+ "version": "1.1.6",
5
5
  "description": "Modern Vue 3 UI component library with TypeScript support",
6
6
  "keywords": [
7
7
  "vue",