r3ui-lib 1.2.3-32 → 1.2.3-33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/r3ui-lib.es.js
CHANGED
|
@@ -8360,11 +8360,7 @@ function mc(n) {
|
|
|
8360
8360
|
function gc(n) {
|
|
8361
8361
|
return n.reduce((e, t) => e + t, 0);
|
|
8362
8362
|
}
|
|
8363
|
-
const vc = () => ({ alias: "email" }), bc = (
|
|
8364
|
-
ru: { mask: "+7(999)999-99-99" },
|
|
8365
|
-
kz: { mask: "+7(999)999-99-99" },
|
|
8366
|
-
us: { mask: "+1(999)999-9999" }
|
|
8367
|
-
})[n], yc = () => ({ regex: "^[0-9]{10,12}$" }), wc = () => ({ mask: "999999999" }), Cc = () => ({ mask: "999-999-999 99" }), Ac = () => ({ mask: "9999 999999" });
|
|
8363
|
+
const vc = () => ({ alias: "email" }), bc = () => ({ regex: "^[0-9]{9,16}$" }), yc = () => ({ regex: "^[0-9]{10,12}$" }), wc = () => ({ mask: "999999999" }), Cc = () => ({ mask: "999-999-999 99" }), Ac = () => ({ mask: "9999 999999" });
|
|
8368
8364
|
function $a(n) {
|
|
8369
8365
|
return typeof n != "string" ? !1 : Me(n).isValid();
|
|
8370
8366
|
}
|
package/dist/r3ui-lib.umd.js
CHANGED
|
@@ -22,7 +22,7 @@ var su;function Ae(){return su.apply(null,arguments)}function Rh(n){su=n}functio
|
|
|
22
22
|
[`+s+"] ";for(o in arguments[0])Qe(arguments[0],o)&&(r+=o+": "+arguments[0][o]+", ");r=r.slice(0,-2)}else r=arguments[s];i.push(r)}lu(n+`
|
|
23
23
|
Arguments: `+Array.prototype.slice.call(i).join("")+`
|
|
24
24
|
`+new Error().stack),t=!1}return e.apply(this,arguments)},e)}var uu={};function cu(n,e){Ae.deprecationHandler!=null&&Ae.deprecationHandler(n,e),uu[n]||(lu(e),uu[n]=!0)}Ae.suppressDeprecationWarnings=!1,Ae.deprecationHandler=null;function Ut(n){return typeof Function<"u"&&n instanceof Function||Object.prototype.toString.call(n)==="[object Function]"}function Th(n){var e,t;for(t in n)Qe(n,t)&&(e=n[t],Ut(e)?this[t]=e:this["_"+t]=e);this._config=n,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Ls(n,e){var t=di({},n),i;for(i in e)Qe(e,i)&&(wi(n[i])&&wi(e[i])?(t[i]={},di(t[i],n[i]),di(t[i],e[i])):e[i]!=null?t[i]=e[i]:delete t[i]);for(i in n)Qe(n,i)&&!Qe(e,i)&&wi(n[i])&&(t[i]=di({},t[i]));return t}function Bs(n){n!=null&&this.set(n)}var Fs;Object.keys?Fs=Object.keys:Fs=function(n){var e,t=[];for(e in n)Qe(n,e)&&t.push(e);return t};var Dh={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Oh(n,e,t){var i=this._calendar[n]||this._calendar.sameElse;return Ut(i)?i.call(e,t):i}function Gt(n,e,t){var i=""+Math.abs(n),r=e-i.length,s=n>=0;return(s?t?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}var _s=/(\[[^\[]*\])|(\\)?([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,Bn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ps={},Li={};function Te(n,e,t,i){var r=i;typeof i=="string"&&(r=function(){return this[i]()}),n&&(Li[n]=r),e&&(Li[e[0]]=function(){return Gt(r.apply(this,arguments),e[1],e[2])}),t&&(Li[t]=function(){return this.localeData().ordinal(r.apply(this,arguments),n)})}function Lh(n){return n.match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"")}function Bh(n){var e=n.match(_s),t,i;for(t=0,i=e.length;t<i;t++)Li[e[t]]?e[t]=Li[e[t]]:e[t]=Lh(e[t]);return function(r){var s="",o;for(o=0;o<i;o++)s+=Ut(e[o])?e[o].call(r,n):e[o];return s}}function Fn(n,e){return n.isValid()?(e=du(e,n.localeData()),Ps[e]=Ps[e]||Bh(e),Ps[e](n)):n.localeData().invalidDate()}function du(n,e){var t=5;function i(r){return e.longDateFormat(r)||r}for(Bn.lastIndex=0;t>=0&&Bn.test(n);)n=n.replace(Bn,i),Bn.lastIndex=0,t-=1;return n}var Fh={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 _h(n){var e=this._longDateFormat[n],t=this._longDateFormat[n.toUpperCase()];return e||!t?e:(this._longDateFormat[n]=t.match(_s).map(function(i){return i==="MMMM"||i==="MM"||i==="DD"||i==="dddd"?i.slice(1):i}).join(""),this._longDateFormat[n])}var Ph="Invalid date";function Nh(){return this._invalidDate}var Ih="%d",Hh=/\d{1,2}/;function Vh(n){return this._ordinal.replace("%d",n)}var zh={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 jh(n,e,t,i){var r=this._relativeTime[t];return Ut(r)?r(n,e,t,i):r.replace(/%d/i,n)}function Wh(n,e){var t=this._relativeTime[n>0?"future":"past"];return Ut(t)?t(e):t.replace(/%s/i,e)}var hu={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function Tt(n){return typeof n=="string"?hu[n]||hu[n.toLowerCase()]:void 0}function Ns(n){var e={},t,i;for(i in n)Qe(n,i)&&(t=Tt(i),t&&(e[t]=n[i]));return e}var Uh={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 Gh(n){var e=[],t;for(t in n)Qe(n,t)&&e.push({unit:t,priority:Uh[t]});return e.sort(function(i,r){return i.priority-r.priority}),e}var fu=/\d/,Et=/\d\d/,pu=/\d{3}/,Is=/\d{4}/,_n=/[+-]?\d{6}/,tt=/\d\d?/,mu=/\d\d\d\d?/,gu=/\d\d\d\d\d\d?/,Pn=/\d{1,3}/,Hs=/\d{1,4}/,Nn=/[+-]?\d{1,6}/,Bi=/\d+/,In=/[+-]?\d+/,Yh=/Z|[+-]\d\d:?\d\d/gi,Hn=/Z|[+-]\d\d(?::?\d\d)?/gi,Qh=/[+-]?\d+(\.\d{1,3})?/,nn=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Fi=/^[1-9]\d?/,Vs=/^([1-9]\d|\d)/,Vn;Vn={};function Ee(n,e,t){Vn[n]=Ut(e)?e:function(i,r){return i&&t?t:e}}function Kh(n,e){return Qe(Vn,n)?Vn[n](e._strict,e._locale):new RegExp(Jh(n))}function Jh(n){return Xt(n.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,i,r,s){return t||i||r||s}))}function Xt(n){return n.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Dt(n){return n<0?Math.ceil(n)||0:Math.floor(n)}function Ue(n){var e=+n,t=0;return e!==0&&isFinite(e)&&(t=Dt(e)),t}var zs={};function $e(n,e){var t,i=e,r;for(typeof n=="string"&&(n=[n]),Zt(e)&&(i=function(s,o){o[e]=Ue(s)}),r=n.length,t=0;t<r;t++)zs[n[t]]=i}function rn(n,e){$e(n,function(t,i,r,s){r._w=r._w||{},e(t,r._w,r,s)})}function qh(n,e,t){e!=null&&Qe(zs,n)&&zs[n](e,t._a,t,n)}function zn(n){return n%4===0&&n%100!==0||n%400===0}var ht=0,ei=1,Yt=2,ut=3,It=4,ti=5,Ci=6,$h=7,Zh=8;Te("Y",0,0,function(){var n=this.year();return n<=9999?Gt(n,4):"+"+n}),Te(0,["YY",2],0,function(){return this.year()%100}),Te(0,["YYYY",4],0,"year"),Te(0,["YYYYY",5],0,"year"),Te(0,["YYYYYY",6,!0],0,"year"),Ee("Y",In),Ee("YY",tt,Et),Ee("YYYY",Hs,Is),Ee("YYYYY",Nn,_n),Ee("YYYYYY",Nn,_n),$e(["YYYYY","YYYYYY"],ht),$e("YYYY",function(n,e){e[ht]=n.length===2?Ae.parseTwoDigitYear(n):Ue(n)}),$e("YY",function(n,e){e[ht]=Ae.parseTwoDigitYear(n)}),$e("Y",function(n,e){e[ht]=parseInt(n,10)});function sn(n){return zn(n)?366:365}Ae.parseTwoDigitYear=function(n){return Ue(n)+(Ue(n)>68?1900:2e3)};var bu=_i("FullYear",!0);function Xh(){return zn(this.year())}function _i(n,e){return function(t){return t!=null?(vu(this,n,t),Ae.updateOffset(this,e),this):an(this,n)}}function an(n,e){if(!n.isValid())return NaN;var t=n._d,i=n._isUTC;switch(e){case"Milliseconds":return i?t.getUTCMilliseconds():t.getMilliseconds();case"Seconds":return i?t.getUTCSeconds():t.getSeconds();case"Minutes":return i?t.getUTCMinutes():t.getMinutes();case"Hours":return i?t.getUTCHours():t.getHours();case"Date":return i?t.getUTCDate():t.getDate();case"Day":return i?t.getUTCDay():t.getDay();case"Month":return i?t.getUTCMonth():t.getMonth();case"FullYear":return i?t.getUTCFullYear():t.getFullYear();default:return NaN}}function vu(n,e,t){var i,r,s,o,l;if(!(!n.isValid()||isNaN(t))){switch(i=n._d,r=n._isUTC,e){case"Milliseconds":return void(r?i.setUTCMilliseconds(t):i.setMilliseconds(t));case"Seconds":return void(r?i.setUTCSeconds(t):i.setSeconds(t));case"Minutes":return void(r?i.setUTCMinutes(t):i.setMinutes(t));case"Hours":return void(r?i.setUTCHours(t):i.setHours(t));case"Date":return void(r?i.setUTCDate(t):i.setDate(t));case"FullYear":break;default:return}s=t,o=n.month(),l=n.date(),l=l===29&&o===1&&!zn(s)?28:l,r?i.setUTCFullYear(s,o,l):i.setFullYear(s,o,l)}}function ef(n){return n=Tt(n),Ut(this[n])?this[n]():this}function tf(n,e){if(typeof n=="object"){n=Ns(n);var t=Gh(n),i,r=t.length;for(i=0;i<r;i++)this[t[i].unit](n[t[i].unit])}else if(n=Tt(n),Ut(this[n]))return this[n](e);return this}function nf(n,e){return(n%e+e)%e}var lt;Array.prototype.indexOf?lt=Array.prototype.indexOf:lt=function(n){var e;for(e=0;e<this.length;++e)if(this[e]===n)return e;return-1};function js(n,e){if(isNaN(n)||isNaN(e))return NaN;var t=nf(e,12);return n+=(e-t)/12,t===1?zn(n)?29:28:31-t%7%2}Te("M",["MM",2],"Mo",function(){return this.month()+1}),Te("MMM",0,0,function(n){return this.localeData().monthsShort(this,n)}),Te("MMMM",0,0,function(n){return this.localeData().months(this,n)}),Ee("M",tt,Fi),Ee("MM",tt,Et),Ee("MMM",function(n,e){return e.monthsShortRegex(n)}),Ee("MMMM",function(n,e){return e.monthsRegex(n)}),$e(["M","MM"],function(n,e){e[ei]=Ue(n)-1}),$e(["MMM","MMMM"],function(n,e,t,i){var r=t._locale.monthsParse(n,i,t._strict);r!=null?e[ei]=r:He(t).invalidMonth=n});var rf="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),yu="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),wu=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,sf=nn,af=nn;function of(n,e){return n?Pt(this._months)?this._months[n.month()]:this._months[(this._months.isFormat||wu).test(e)?"format":"standalone"][n.month()]:Pt(this._months)?this._months:this._months.standalone}function lf(n,e){return n?Pt(this._monthsShort)?this._monthsShort[n.month()]:this._monthsShort[wu.test(e)?"format":"standalone"][n.month()]:Pt(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function uf(n,e,t){var i,r,s,o=n.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)s=Wt([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(s,"").toLocaleLowerCase();return t?e==="MMM"?(r=lt.call(this._shortMonthsParse,o),r!==-1?r:null):(r=lt.call(this._longMonthsParse,o),r!==-1?r:null):e==="MMM"?(r=lt.call(this._shortMonthsParse,o),r!==-1?r:(r=lt.call(this._longMonthsParse,o),r!==-1?r:null)):(r=lt.call(this._longMonthsParse,o),r!==-1?r:(r=lt.call(this._shortMonthsParse,o),r!==-1?r:null))}function cf(n,e,t){var i,r,s;if(this._monthsParseExact)return uf.call(this,n,e,t);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=Wt([2e3,i]),t&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),!t&&!this._monthsParse[i]&&(s="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(s.replace(".",""),"i")),t&&e==="MMMM"&&this._longMonthsParse[i].test(n))return i;if(t&&e==="MMM"&&this._shortMonthsParse[i].test(n))return i;if(!t&&this._monthsParse[i].test(n))return i}}function Cu(n,e){if(!n.isValid())return n;if(typeof e=="string"){if(/^\d+$/.test(e))e=Ue(e);else if(e=n.localeData().monthsParse(e),!Zt(e))return n}var t=e,i=n.date();return i=i<29?i:Math.min(i,js(n.year(),t)),n._isUTC?n._d.setUTCMonth(t,i):n._d.setMonth(t,i),n}function Au(n){return n!=null?(Cu(this,n),Ae.updateOffset(this,!0),this):an(this,"Month")}function df(){return js(this.year(),this.month())}function hf(n){return this._monthsParseExact?(Qe(this,"_monthsRegex")||Eu.call(this),n?this._monthsShortStrictRegex:this._monthsShortRegex):(Qe(this,"_monthsShortRegex")||(this._monthsShortRegex=sf),this._monthsShortStrictRegex&&n?this._monthsShortStrictRegex:this._monthsShortRegex)}function ff(n){return this._monthsParseExact?(Qe(this,"_monthsRegex")||Eu.call(this),n?this._monthsStrictRegex:this._monthsRegex):(Qe(this,"_monthsRegex")||(this._monthsRegex=af),this._monthsStrictRegex&&n?this._monthsStrictRegex:this._monthsRegex)}function Eu(){function n(u,c){return c.length-u.length}var e=[],t=[],i=[],r,s,o,l;for(r=0;r<12;r++)s=Wt([2e3,r]),o=Xt(this.monthsShort(s,"")),l=Xt(this.months(s,"")),e.push(o),t.push(l),i.push(l),i.push(o);e.sort(n),t.sort(n),i.sort(n),this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+t.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+e.join("|")+")","i")}function pf(n,e,t,i,r,s,o){var l;return n<100&&n>=0?(l=new Date(n+400,e,t,i,r,s,o),isFinite(l.getFullYear())&&l.setFullYear(n)):l=new Date(n,e,t,i,r,s,o),l}function on(n){var e,t;return n<100&&n>=0?(t=Array.prototype.slice.call(arguments),t[0]=n+400,e=new Date(Date.UTC.apply(null,t)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(n)):e=new Date(Date.UTC.apply(null,arguments)),e}function jn(n,e,t){var i=7+e-t,r=(7+on(n,0,i).getUTCDay()-e)%7;return-r+i-1}function ku(n,e,t,i,r){var s=(7+t-i)%7,o=jn(n,i,r),l=1+7*(e-1)+s+o,u,c;return l<=0?(u=n-1,c=sn(u)+l):l>sn(n)?(u=n+1,c=l-sn(n)):(u=n,c=l),{year:u,dayOfYear:c}}function ln(n,e,t){var i=jn(n.year(),e,t),r=Math.floor((n.dayOfYear()-i-1)/7)+1,s,o;return r<1?(o=n.year()-1,s=r+ii(o,e,t)):r>ii(n.year(),e,t)?(s=r-ii(n.year(),e,t),o=n.year()+1):(o=n.year(),s=r),{week:s,year:o}}function ii(n,e,t){var i=jn(n,e,t),r=jn(n+1,e,t);return(sn(n)-i+r)/7}Te("w",["ww",2],"wo","week"),Te("W",["WW",2],"Wo","isoWeek"),Ee("w",tt,Fi),Ee("ww",tt,Et),Ee("W",tt,Fi),Ee("WW",tt,Et),rn(["w","ww","W","WW"],function(n,e,t,i){e[i.substr(0,1)]=Ue(n)});function mf(n){return ln(n,this._week.dow,this._week.doy).week}var gf={dow:0,doy:6};function bf(){return this._week.dow}function vf(){return this._week.doy}function yf(n){var e=this.localeData().week(this);return n==null?e:this.add((n-e)*7,"d")}function wf(n){var e=ln(this,1,4).week;return n==null?e:this.add((n-e)*7,"d")}Te("d",0,"do","day"),Te("dd",0,0,function(n){return this.localeData().weekdaysMin(this,n)}),Te("ddd",0,0,function(n){return this.localeData().weekdaysShort(this,n)}),Te("dddd",0,0,function(n){return this.localeData().weekdays(this,n)}),Te("e",0,0,"weekday"),Te("E",0,0,"isoWeekday"),Ee("d",tt),Ee("e",tt),Ee("E",tt),Ee("dd",function(n,e){return e.weekdaysMinRegex(n)}),Ee("ddd",function(n,e){return e.weekdaysShortRegex(n)}),Ee("dddd",function(n,e){return e.weekdaysRegex(n)}),rn(["dd","ddd","dddd"],function(n,e,t,i){var r=t._locale.weekdaysParse(n,i,t._strict);r!=null?e.d=r:He(t).invalidWeekday=n}),rn(["d","e","E"],function(n,e,t,i){e[i]=Ue(n)});function Cf(n,e){return typeof n!="string"?n:isNaN(n)?(n=e.weekdaysParse(n),typeof n=="number"?n:null):parseInt(n,10)}function Af(n,e){return typeof n=="string"?e.weekdaysParse(n)%7||7:isNaN(n)?null:n}function Ws(n,e){return n.slice(e,7).concat(n.slice(0,e))}var Ef="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Su="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),kf="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Sf=nn,xf=nn,Rf=nn;function Mf(n,e){var t=Pt(this._weekdays)?this._weekdays:this._weekdays[n&&n!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return n===!0?Ws(t,this._week.dow):n?t[n.day()]:t}function Tf(n){return n===!0?Ws(this._weekdaysShort,this._week.dow):n?this._weekdaysShort[n.day()]:this._weekdaysShort}function Df(n){return n===!0?Ws(this._weekdaysMin,this._week.dow):n?this._weekdaysMin[n.day()]:this._weekdaysMin}function Of(n,e,t){var i,r,s,o=n.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)s=Wt([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(s,"").toLocaleLowerCase();return t?e==="dddd"?(r=lt.call(this._weekdaysParse,o),r!==-1?r:null):e==="ddd"?(r=lt.call(this._shortWeekdaysParse,o),r!==-1?r:null):(r=lt.call(this._minWeekdaysParse,o),r!==-1?r:null):e==="dddd"?(r=lt.call(this._weekdaysParse,o),r!==-1||(r=lt.call(this._shortWeekdaysParse,o),r!==-1)?r:(r=lt.call(this._minWeekdaysParse,o),r!==-1?r:null)):e==="ddd"?(r=lt.call(this._shortWeekdaysParse,o),r!==-1||(r=lt.call(this._weekdaysParse,o),r!==-1)?r:(r=lt.call(this._minWeekdaysParse,o),r!==-1?r:null)):(r=lt.call(this._minWeekdaysParse,o),r!==-1||(r=lt.call(this._weekdaysParse,o),r!==-1)?r:(r=lt.call(this._shortWeekdaysParse,o),r!==-1?r:null))}function Lf(n,e,t){var i,r,s;if(this._weekdaysParseExact)return Of.call(this,n,e,t);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=Wt([2e3,1]).day(i),t&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(s="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(s.replace(".",""),"i")),t&&e==="dddd"&&this._fullWeekdaysParse[i].test(n))return i;if(t&&e==="ddd"&&this._shortWeekdaysParse[i].test(n))return i;if(t&&e==="dd"&&this._minWeekdaysParse[i].test(n))return i;if(!t&&this._weekdaysParse[i].test(n))return i}}function Bf(n){if(!this.isValid())return n!=null?this:NaN;var e=an(this,"Day");return n!=null?(n=Cf(n,this.localeData()),this.add(n-e,"d")):e}function Ff(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 _f(n){if(!this.isValid())return n!=null?this:NaN;if(n!=null){var e=Af(n,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function Pf(n){return this._weekdaysParseExact?(Qe(this,"_weekdaysRegex")||Us.call(this),n?this._weekdaysStrictRegex:this._weekdaysRegex):(Qe(this,"_weekdaysRegex")||(this._weekdaysRegex=Sf),this._weekdaysStrictRegex&&n?this._weekdaysStrictRegex:this._weekdaysRegex)}function Nf(n){return this._weekdaysParseExact?(Qe(this,"_weekdaysRegex")||Us.call(this),n?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Qe(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=xf),this._weekdaysShortStrictRegex&&n?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function If(n){return this._weekdaysParseExact?(Qe(this,"_weekdaysRegex")||Us.call(this),n?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Qe(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Rf),this._weekdaysMinStrictRegex&&n?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Us(){function n(d,f){return f.length-d.length}var e=[],t=[],i=[],r=[],s,o,l,u,c;for(s=0;s<7;s++)o=Wt([2e3,1]).day(s),l=Xt(this.weekdaysMin(o,"")),u=Xt(this.weekdaysShort(o,"")),c=Xt(this.weekdays(o,"")),e.push(l),t.push(u),i.push(c),r.push(l),r.push(u),r.push(c);e.sort(n),t.sort(n),i.sort(n),r.sort(n),this._weekdaysRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+t.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+e.join("|")+")","i")}function Gs(){return this.hours()%12||12}function Hf(){return this.hours()||24}Te("H",["HH",2],0,"hour"),Te("h",["hh",2],0,Gs),Te("k",["kk",2],0,Hf),Te("hmm",0,0,function(){return""+Gs.apply(this)+Gt(this.minutes(),2)}),Te("hmmss",0,0,function(){return""+Gs.apply(this)+Gt(this.minutes(),2)+Gt(this.seconds(),2)}),Te("Hmm",0,0,function(){return""+this.hours()+Gt(this.minutes(),2)}),Te("Hmmss",0,0,function(){return""+this.hours()+Gt(this.minutes(),2)+Gt(this.seconds(),2)});function xu(n,e){Te(n,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}xu("a",!0),xu("A",!1);function Ru(n,e){return e._meridiemParse}Ee("a",Ru),Ee("A",Ru),Ee("H",tt,Vs),Ee("h",tt,Fi),Ee("k",tt,Fi),Ee("HH",tt,Et),Ee("hh",tt,Et),Ee("kk",tt,Et),Ee("hmm",mu),Ee("hmmss",gu),Ee("Hmm",mu),Ee("Hmmss",gu),$e(["H","HH"],ut),$e(["k","kk"],function(n,e,t){var i=Ue(n);e[ut]=i===24?0:i}),$e(["a","A"],function(n,e,t){t._isPm=t._locale.isPM(n),t._meridiem=n}),$e(["h","hh"],function(n,e,t){e[ut]=Ue(n),He(t).bigHour=!0}),$e("hmm",function(n,e,t){var i=n.length-2;e[ut]=Ue(n.substr(0,i)),e[It]=Ue(n.substr(i)),He(t).bigHour=!0}),$e("hmmss",function(n,e,t){var i=n.length-4,r=n.length-2;e[ut]=Ue(n.substr(0,i)),e[It]=Ue(n.substr(i,2)),e[ti]=Ue(n.substr(r)),He(t).bigHour=!0}),$e("Hmm",function(n,e,t){var i=n.length-2;e[ut]=Ue(n.substr(0,i)),e[It]=Ue(n.substr(i))}),$e("Hmmss",function(n,e,t){var i=n.length-4,r=n.length-2;e[ut]=Ue(n.substr(0,i)),e[It]=Ue(n.substr(i,2)),e[ti]=Ue(n.substr(r))});function Vf(n){return(n+"").toLowerCase().charAt(0)==="p"}var zf=/[ap]\.?m?\.?/i,jf=_i("Hours",!0);function Wf(n,e,t){return n>11?t?"pm":"PM":t?"am":"AM"}var Mu={calendar:Dh,longDateFormat:Fh,invalidDate:Ph,ordinal:Ih,dayOfMonthOrdinalParse:Hh,relativeTime:zh,months:rf,monthsShort:yu,week:gf,weekdays:Ef,weekdaysMin:kf,weekdaysShort:Su,meridiemParse:zf},rt={},un={},cn;function Uf(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 Tu(n){return n&&n.toLowerCase().replace("_","-")}function Gf(n){for(var e=0,t,i,r,s;e<n.length;){for(s=Tu(n[e]).split("-"),t=s.length,i=Tu(n[e+1]),i=i?i.split("-"):null;t>0;){if(r=Wn(s.slice(0,t).join("-")),r)return r;if(i&&i.length>=t&&Uf(s,i)>=t-1)break;t--}e++}return cn}function Yf(n){return!!(n&&n.match("^[^/\\\\]*$"))}function Wn(n){var e=null,t;if(rt[n]===void 0&&typeof module<"u"&&module&&module.exports&&Yf(n))try{e=cn._abbr,t=require,t("./locale/"+n),hi(e)}catch{rt[n]=null}return rt[n]}function hi(n,e){var t;return n&&(vt(e)?t=ni(n):t=Ys(n,e),t?cn=t:typeof console<"u"&&console.warn&&console.warn("Locale "+n+" not found. Did you forget to load it?")),cn._abbr}function Ys(n,e){if(e!==null){var t,i=Mu;if(e.abbr=n,rt[n]!=null)cu("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=rt[n]._config;else if(e.parentLocale!=null)if(rt[e.parentLocale]!=null)i=rt[e.parentLocale]._config;else if(t=Wn(e.parentLocale),t!=null)i=t._config;else return un[e.parentLocale]||(un[e.parentLocale]=[]),un[e.parentLocale].push({name:n,config:e}),null;return rt[n]=new Bs(Ls(i,e)),un[n]&&un[n].forEach(function(r){Ys(r.name,r.config)}),hi(n),rt[n]}else return delete rt[n],null}function Qf(n,e){if(e!=null){var t,i,r=Mu;rt[n]!=null&&rt[n].parentLocale!=null?rt[n].set(Ls(rt[n]._config,e)):(i=Wn(n),i!=null&&(r=i._config),e=Ls(r,e),i==null&&(e.abbr=n),t=new Bs(e),t.parentLocale=rt[n],rt[n]=t),hi(n)}else rt[n]!=null&&(rt[n].parentLocale!=null?(rt[n]=rt[n].parentLocale,n===hi()&&hi(n)):rt[n]!=null&&delete rt[n]);return rt[n]}function ni(n){var e;if(n&&n._locale&&n._locale._abbr&&(n=n._locale._abbr),!n)return cn;if(!Pt(n)){if(e=Wn(n),e)return e;n=[n]}return Gf(n)}function Kf(){return Fs(rt)}function Qs(n){var e,t=n._a;return t&&He(n).overflow===-2&&(e=t[ei]<0||t[ei]>11?ei:t[Yt]<1||t[Yt]>js(t[ht],t[ei])?Yt:t[ut]<0||t[ut]>24||t[ut]===24&&(t[It]!==0||t[ti]!==0||t[Ci]!==0)?ut:t[It]<0||t[It]>59?It:t[ti]<0||t[ti]>59?ti:t[Ci]<0||t[Ci]>999?Ci:-1,He(n)._overflowDayOfYear&&(e<ht||e>Yt)&&(e=Yt),He(n)._overflowWeeks&&e===-1&&(e=$h),He(n)._overflowWeekday&&e===-1&&(e=Zh),He(n).overflow=e),n}var Jf=/^\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)?)?$/,qf=/^\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)?)?$/,$f=/Z|[+-]\d\d(?::?\d\d)?/,Un=[["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]],Ks=[["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/]],Zf=/^\/?Date\((-?\d+)/i,Xf=/^(?:(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}))$/,ep={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Du(n){var e,t,i=n._i,r=Jf.exec(i)||qf.exec(i),s,o,l,u,c=Un.length,d=Ks.length;if(r){for(He(n).iso=!0,e=0,t=c;e<t;e++)if(Un[e][1].exec(r[1])){o=Un[e][0],s=Un[e][2]!==!1;break}if(o==null){n._isValid=!1;return}if(r[3]){for(e=0,t=d;e<t;e++)if(Ks[e][1].exec(r[3])){l=(r[2]||" ")+Ks[e][0];break}if(l==null){n._isValid=!1;return}}if(!s&&l!=null){n._isValid=!1;return}if(r[4])if($f.exec(r[4]))u="Z";else{n._isValid=!1;return}n._f=o+(l||"")+(u||""),qs(n)}else n._isValid=!1}function tp(n,e,t,i,r,s){var o=[ip(n),yu.indexOf(e),parseInt(t,10),parseInt(i,10),parseInt(r,10)];return s&&o.push(parseInt(s,10)),o}function ip(n){var e=parseInt(n,10);return e<=49?2e3+e:e<=999?1900+e:e}function np(n){return n.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function rp(n,e,t){if(n){var i=Su.indexOf(n),r=new Date(e[0],e[1],e[2]).getDay();if(i!==r)return He(t).weekdayMismatch=!0,t._isValid=!1,!1}return!0}function sp(n,e,t){if(n)return ep[n];if(e)return 0;var i=parseInt(t,10),r=i%100,s=(i-r)/100;return s*60+r}function Ou(n){var e=Xf.exec(np(n._i)),t;if(e){if(t=tp(e[4],e[3],e[2],e[5],e[6],e[7]),!rp(e[1],t,n))return;n._a=t,n._tzm=sp(e[8],e[9],e[10]),n._d=on.apply(null,n._a),n._d.setUTCMinutes(n._d.getUTCMinutes()-n._tzm),He(n).rfc2822=!0}else n._isValid=!1}function ap(n){var e=Zf.exec(n._i);if(e!==null){n._d=new Date(+e[1]);return}if(Du(n),n._isValid===!1)delete n._isValid;else return;if(Ou(n),n._isValid===!1)delete n._isValid;else return;n._strict?n._isValid=!1:Ae.createFromInputFallback(n)}Ae.createFromInputFallback=Mt("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(n){n._d=new Date(n._i+(n._useUTC?" UTC":""))});function Pi(n,e,t){return n??e??t}function op(n){var e=new Date(Ae.now());return n._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function Js(n){var e,t,i=[],r,s,o;if(!n._d){for(r=op(n),n._w&&n._a[Yt]==null&&n._a[ei]==null&&lp(n),n._dayOfYear!=null&&(o=Pi(n._a[ht],r[ht]),(n._dayOfYear>sn(o)||n._dayOfYear===0)&&(He(n)._overflowDayOfYear=!0),t=on(o,0,n._dayOfYear),n._a[ei]=t.getUTCMonth(),n._a[Yt]=t.getUTCDate()),e=0;e<3&&n._a[e]==null;++e)n._a[e]=i[e]=r[e];for(;e<7;e++)n._a[e]=i[e]=n._a[e]==null?e===2?1:0:n._a[e];n._a[ut]===24&&n._a[It]===0&&n._a[ti]===0&&n._a[Ci]===0&&(n._nextDay=!0,n._a[ut]=0),n._d=(n._useUTC?on:pf).apply(null,i),s=n._useUTC?n._d.getUTCDay():n._d.getDay(),n._tzm!=null&&n._d.setUTCMinutes(n._d.getUTCMinutes()-n._tzm),n._nextDay&&(n._a[ut]=24),n._w&&typeof n._w.d<"u"&&n._w.d!==s&&(He(n).weekdayMismatch=!0)}}function lp(n){var e,t,i,r,s,o,l,u,c;e=n._w,e.GG!=null||e.W!=null||e.E!=null?(s=1,o=4,t=Pi(e.GG,n._a[ht],ln(it(),1,4).year),i=Pi(e.W,1),r=Pi(e.E,1),(r<1||r>7)&&(u=!0)):(s=n._locale._week.dow,o=n._locale._week.doy,c=ln(it(),s,o),t=Pi(e.gg,n._a[ht],c.year),i=Pi(e.w,c.week),e.d!=null?(r=e.d,(r<0||r>6)&&(u=!0)):e.e!=null?(r=e.e+s,(e.e<0||e.e>6)&&(u=!0)):r=s),i<1||i>ii(t,s,o)?He(n)._overflowWeeks=!0:u!=null?He(n)._overflowWeekday=!0:(l=ku(t,i,r,s,o),n._a[ht]=l.year,n._dayOfYear=l.dayOfYear)}Ae.ISO_8601=function(){},Ae.RFC_2822=function(){};function qs(n){if(n._f===Ae.ISO_8601){Du(n);return}if(n._f===Ae.RFC_2822){Ou(n);return}n._a=[],He(n).empty=!0;var e=""+n._i,t,i,r,s,o,l=e.length,u=0,c,d;for(r=du(n._f,n._locale).match(_s)||[],d=r.length,t=0;t<d;t++)s=r[t],i=(e.match(Kh(s,n))||[])[0],i&&(o=e.substr(0,e.indexOf(i)),o.length>0&&He(n).unusedInput.push(o),e=e.slice(e.indexOf(i)+i.length),u+=i.length),Li[s]?(i?He(n).empty=!1:He(n).unusedTokens.push(s),qh(s,i,n)):n._strict&&!i&&He(n).unusedTokens.push(s);He(n).charsLeftOver=l-u,e.length>0&&He(n).unusedInput.push(e),n._a[ut]<=12&&He(n).bigHour===!0&&n._a[ut]>0&&(He(n).bigHour=void 0),He(n).parsedDateParts=n._a.slice(0),He(n).meridiem=n._meridiem,n._a[ut]=up(n._locale,n._a[ut],n._meridiem),c=He(n).era,c!==null&&(n._a[ht]=n._locale.erasConvertYear(c,n._a[ht])),Js(n),Qs(n)}function up(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 cp(n){var e,t,i,r,s,o,l=!1,u=n._f.length;if(u===0){He(n).invalidFormat=!0,n._d=new Date(NaN);return}for(r=0;r<u;r++)s=0,o=!1,e=Os({},n),n._useUTC!=null&&(e._useUTC=n._useUTC),e._f=n._f[r],qs(e),Ts(e)&&(o=!0),s+=He(e).charsLeftOver,s+=He(e).unusedTokens.length*10,He(e).score=s,l?s<i&&(i=s,t=e):(i==null||s<i||o)&&(i=s,t=e,o&&(l=!0));di(n,t||e)}function dp(n){if(!n._d){var e=Ns(n._i),t=e.day===void 0?e.date:e.day;n._a=au([e.year,e.month,t,e.hour,e.minute,e.second,e.millisecond],function(i){return i&&parseInt(i,10)}),Js(n)}}function hp(n){var e=new tn(Qs(Lu(n)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Lu(n){var e=n._i,t=n._f;return n._locale=n._locale||ni(n._l),e===null||t===void 0&&e===""?Ln({nullInput:!0}):(typeof e=="string"&&(n._i=e=n._locale.preparse(e)),Nt(e)?new tn(Qs(e)):(en(e)?n._d=e:Pt(t)?cp(n):t?qs(n):fp(n),Ts(n)||(n._d=null),n))}function fp(n){var e=n._i;vt(e)?n._d=new Date(Ae.now()):en(e)?n._d=new Date(e.valueOf()):typeof e=="string"?ap(n):Pt(e)?(n._a=au(e.slice(0),function(t){return parseInt(t,10)}),Js(n)):wi(e)?dp(n):Zt(e)?n._d=new Date(e):Ae.createFromInputFallback(n)}function Bu(n,e,t,i,r){var s={};return(e===!0||e===!1)&&(i=e,e=void 0),(t===!0||t===!1)&&(i=t,t=void 0),(wi(n)&&Rs(n)||Pt(n)&&n.length===0)&&(n=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=r,s._l=t,s._i=n,s._f=e,s._strict=i,hp(s)}function it(n,e,t,i){return Bu(n,e,t,i,!1)}var pp=Mt("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var n=it.apply(null,arguments);return this.isValid()&&n.isValid()?n<this?this:n:Ln()}),mp=Mt("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var n=it.apply(null,arguments);return this.isValid()&&n.isValid()?n>this?this:n:Ln()});function Fu(n,e){var t,i;if(e.length===1&&Pt(e[0])&&(e=e[0]),!e.length)return it();for(t=e[0],i=1;i<e.length;++i)(!e[i].isValid()||e[i][n](t))&&(t=e[i]);return t}function gp(){var n=[].slice.call(arguments,0);return Fu("isBefore",n)}function bp(){var n=[].slice.call(arguments,0);return Fu("isAfter",n)}var vp=function(){return Date.now?Date.now():+new Date},dn=["year","quarter","month","week","day","hour","minute","second","millisecond"];function yp(n){var e,t=!1,i,r=dn.length;for(e in n)if(Qe(n,e)&&!(lt.call(dn,e)!==-1&&(n[e]==null||!isNaN(n[e]))))return!1;for(i=0;i<r;++i)if(n[dn[i]]){if(t)return!1;parseFloat(n[dn[i]])!==Ue(n[dn[i]])&&(t=!0)}return!0}function wp(){return this._isValid}function Cp(){return Ht(NaN)}function Gn(n){var e=Ns(n),t=e.year||0,i=e.quarter||0,r=e.month||0,s=e.week||e.isoWeek||0,o=e.day||0,l=e.hour||0,u=e.minute||0,c=e.second||0,d=e.millisecond||0;this._isValid=yp(e),this._milliseconds=+d+c*1e3+u*6e4+l*1e3*60*60,this._days=+o+s*7,this._months=+r+i*3+t*12,this._data={},this._locale=ni(),this._bubble()}function Yn(n){return n instanceof Gn}function $s(n){return n<0?Math.round(-1*n)*-1:Math.round(n)}function Ap(n,e,t){var i=Math.min(n.length,e.length),r=Math.abs(n.length-e.length),s=0,o;for(o=0;o<i;o++)Ue(n[o])!==Ue(e[o])&&s++;return s+r}function _u(n,e){Te(n,0,0,function(){var t=this.utcOffset(),i="+";return t<0&&(t=-t,i="-"),i+Gt(~~(t/60),2)+e+Gt(~~t%60,2)})}_u("Z",":"),_u("ZZ",""),Ee("Z",Hn),Ee("ZZ",Hn),$e(["Z","ZZ"],function(n,e,t){t._useUTC=!0,t._tzm=Zs(Hn,n)});var Ep=/([\+\-]|\d\d)/gi;function Zs(n,e){var t=(e||"").match(n),i,r,s;return t===null?null:(i=t[t.length-1]||[],r=(i+"").match(Ep)||["-",0,0],s=+(r[1]*60)+Ue(r[2]),s===0?0:r[0]==="+"?s:-s)}function Xs(n,e){var t,i;return e._isUTC?(t=e.clone(),i=(Nt(n)||en(n)?n.valueOf():it(n).valueOf())-t.valueOf(),t._d.setTime(t._d.valueOf()+i),Ae.updateOffset(t,!1),t):it(n).local()}function ea(n){return-Math.round(n._d.getTimezoneOffset())}Ae.updateOffset=function(){};function kp(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=Zs(Hn,n),n===null)return this}else Math.abs(n)<16&&!t&&(n=n*60);return!this._isUTC&&e&&(r=ea(this)),this._offset=n,this._isUTC=!0,r!=null&&this.add(r,"m"),i!==n&&(!e||this._changeInProgress?Hu(this,Ht(n-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,Ae.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?i:ea(this)}function Sp(n,e){return n!=null?(typeof n!="string"&&(n=-n),this.utcOffset(n,e),this):-this.utcOffset()}function xp(n){return this.utcOffset(0,n)}function Rp(n){return this._isUTC&&(this.utcOffset(0,n),this._isUTC=!1,n&&this.subtract(ea(this),"m")),this}function Mp(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var n=Zs(Yh,this._i);n!=null?this.utcOffset(n):this.utcOffset(0,!0)}return this}function Tp(n){return this.isValid()?(n=n?it(n).utcOffset():0,(this.utcOffset()-n)%60===0):!1}function Dp(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Op(){if(!vt(this._isDSTShifted))return this._isDSTShifted;var n={},e;return Os(n,this),n=Lu(n),n._a?(e=n._isUTC?Wt(n._a):it(n._a),this._isDSTShifted=this.isValid()&&Ap(n._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Lp(){return this.isValid()?!this._isUTC:!1}function Bp(){return this.isValid()?this._isUTC:!1}function Pu(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Fp=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,_p=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ht(n,e){var t=n,i=null,r,s,o;return Yn(n)?t={ms:n._milliseconds,d:n._days,M:n._months}:Zt(n)||!isNaN(+n)?(t={},e?t[e]=+n:t.milliseconds=+n):(i=Fp.exec(n))?(r=i[1]==="-"?-1:1,t={y:0,d:Ue(i[Yt])*r,h:Ue(i[ut])*r,m:Ue(i[It])*r,s:Ue(i[ti])*r,ms:Ue($s(i[Ci]*1e3))*r}):(i=_p.exec(n))?(r=i[1]==="-"?-1:1,t={y:Ai(i[2],r),M:Ai(i[3],r),w:Ai(i[4],r),d:Ai(i[5],r),h:Ai(i[6],r),m:Ai(i[7],r),s:Ai(i[8],r)}):t==null?t={}:typeof t=="object"&&("from"in t||"to"in t)&&(o=Pp(it(t.from),it(t.to)),t={},t.ms=o.milliseconds,t.M=o.months),s=new Gn(t),Yn(n)&&Qe(n,"_locale")&&(s._locale=n._locale),Yn(n)&&Qe(n,"_isValid")&&(s._isValid=n._isValid),s}Ht.fn=Gn.prototype,Ht.invalid=Cp;function Ai(n,e){var t=n&&parseFloat(n.replace(",","."));return(isNaN(t)?0:t)*e}function Nu(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 Pp(n,e){var t;return n.isValid()&&e.isValid()?(e=Xs(e,n),n.isBefore(e)?t=Nu(n,e):(t=Nu(e,n),t.milliseconds=-t.milliseconds,t.months=-t.months),t):{milliseconds:0,months:0}}function Iu(n,e){return function(t,i){var r,s;return i!==null&&!isNaN(+i)&&(cu(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),s=t,t=i,i=s),r=Ht(t,i),Hu(this,r,n),this}}function Hu(n,e,t,i){var r=e._milliseconds,s=$s(e._days),o=$s(e._months);n.isValid()&&(i=i??!0,o&&Cu(n,an(n,"Month")+o*t),s&&vu(n,"Date",an(n,"Date")+s*t),r&&n._d.setTime(n._d.valueOf()+r*t),i&&Ae.updateOffset(n,s||o))}var Np=Iu(1,"add"),Ip=Iu(-1,"subtract");function Vu(n){return typeof n=="string"||n instanceof String}function Hp(n){return Nt(n)||en(n)||Vu(n)||Zt(n)||zp(n)||Vp(n)||n===null||n===void 0}function Vp(n){var e=wi(n)&&!Rs(n),t=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],r,s,o=i.length;for(r=0;r<o;r+=1)s=i[r],t=t||Qe(n,s);return e&&t}function zp(n){var e=Pt(n),t=!1;return e&&(t=n.filter(function(i){return!Zt(i)&&Vu(n)}).length===0),e&&t}function jp(n){var e=wi(n)&&!Rs(n),t=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r,s;for(r=0;r<i.length;r+=1)s=i[r],t=t||Qe(n,s);return e&&t}function Wp(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 Up(n,e){arguments.length===1&&(arguments[0]?Hp(arguments[0])?(n=arguments[0],e=void 0):jp(arguments[0])&&(e=arguments[0],n=void 0):(n=void 0,e=void 0));var t=n||it(),i=Xs(t,this).startOf("day"),r=Ae.calendarFormat(this,i)||"sameElse",s=e&&(Ut(e[r])?e[r].call(this,t):e[r]);return this.format(s||this.localeData().calendar(r,this,it(t)))}function Gp(){return new tn(this)}function Yp(n,e){var t=Nt(n)?n:it(n);return this.isValid()&&t.isValid()?(e=Tt(e)||"millisecond",e==="millisecond"?this.valueOf()>t.valueOf():t.valueOf()<this.clone().startOf(e).valueOf()):!1}function Qp(n,e){var t=Nt(n)?n:it(n);return this.isValid()&&t.isValid()?(e=Tt(e)||"millisecond",e==="millisecond"?this.valueOf()<t.valueOf():this.clone().endOf(e).valueOf()<t.valueOf()):!1}function Kp(n,e,t,i){var r=Nt(n)?n:it(n),s=Nt(e)?e:it(e);return this.isValid()&&r.isValid()&&s.isValid()?(i=i||"()",(i[0]==="("?this.isAfter(r,t):!this.isBefore(r,t))&&(i[1]===")"?this.isBefore(s,t):!this.isAfter(s,t))):!1}function Jp(n,e){var t=Nt(n)?n:it(n),i;return this.isValid()&&t.isValid()?(e=Tt(e)||"millisecond",e==="millisecond"?this.valueOf()===t.valueOf():(i=t.valueOf(),this.clone().startOf(e).valueOf()<=i&&i<=this.clone().endOf(e).valueOf())):!1}function qp(n,e){return this.isSame(n,e)||this.isAfter(n,e)}function $p(n,e){return this.isSame(n,e)||this.isBefore(n,e)}function Zp(n,e,t){var i,r,s;if(!this.isValid())return NaN;if(i=Xs(n,this),!i.isValid())return NaN;switch(r=(i.utcOffset()-this.utcOffset())*6e4,e=Tt(e),e){case"year":s=Qn(this,i)/12;break;case"month":s=Qn(this,i);break;case"quarter":s=Qn(this,i)/3;break;case"second":s=(this-i)/1e3;break;case"minute":s=(this-i)/6e4;break;case"hour":s=(this-i)/36e5;break;case"day":s=(this-i-r)/864e5;break;case"week":s=(this-i-r)/6048e5;break;default:s=this-i}return t?s:Dt(s)}function Qn(n,e){if(n.date()<e.date())return-Qn(e,n);var t=(e.year()-n.year())*12+(e.month()-n.month()),i=n.clone().add(t,"months"),r,s;return e-i<0?(r=n.clone().add(t-1,"months"),s=(e-i)/(i-r)):(r=n.clone().add(t+1,"months"),s=(e-i)/(r-i)),-(t+s)||0}Ae.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",Ae.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Xp(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function em(n){if(!this.isValid())return null;var e=n!==!0,t=e?this.clone().utc():this;return t.year()<0||t.year()>9999?Fn(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Ut(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Fn(t,"Z")):Fn(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function tm(){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 im(n){n||(n=this.isUtc()?Ae.defaultFormatUtc:Ae.defaultFormat);var e=Fn(this,n);return this.localeData().postformat(e)}function nm(n,e){return this.isValid()&&(Nt(n)&&n.isValid()||it(n).isValid())?Ht({to:this,from:n}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function rm(n){return this.from(it(),n)}function sm(n,e){return this.isValid()&&(Nt(n)&&n.isValid()||it(n).isValid())?Ht({from:this,to:n}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function am(n){return this.to(it(),n)}function zu(n){var e;return n===void 0?this._locale._abbr:(e=ni(n),e!=null&&(this._locale=e),this)}var ju=Mt("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(n){return n===void 0?this.localeData():this.locale(n)});function Wu(){return this._locale}var Kn=1e3,Ni=60*Kn,Jn=60*Ni,Uu=(365*400+97)*24*Jn;function Ii(n,e){return(n%e+e)%e}function Gu(n,e,t){return n<100&&n>=0?new Date(n+400,e,t)-Uu:new Date(n,e,t).valueOf()}function Yu(n,e,t){return n<100&&n>=0?Date.UTC(n+400,e,t)-Uu:Date.UTC(n,e,t)}function om(n){var e,t;if(n=Tt(n),n===void 0||n==="millisecond"||!this.isValid())return this;switch(t=this._isUTC?Yu:Gu,n){case"year":e=t(this.year(),0,1);break;case"quarter":e=t(this.year(),this.month()-this.month()%3,1);break;case"month":e=t(this.year(),this.month(),1);break;case"week":e=t(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=t(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=t(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=Ii(e+(this._isUTC?0:this.utcOffset()*Ni),Jn);break;case"minute":e=this._d.valueOf(),e-=Ii(e,Ni);break;case"second":e=this._d.valueOf(),e-=Ii(e,Kn);break}return this._d.setTime(e),Ae.updateOffset(this,!0),this}function lm(n){var e,t;if(n=Tt(n),n===void 0||n==="millisecond"||!this.isValid())return this;switch(t=this._isUTC?Yu:Gu,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+=Jn-Ii(e+(this._isUTC?0:this.utcOffset()*Ni),Jn)-1;break;case"minute":e=this._d.valueOf(),e+=Ni-Ii(e,Ni)-1;break;case"second":e=this._d.valueOf(),e+=Kn-Ii(e,Kn)-1;break}return this._d.setTime(e),Ae.updateOffset(this,!0),this}function um(){return this._d.valueOf()-(this._offset||0)*6e4}function cm(){return Math.floor(this.valueOf()/1e3)}function dm(){return new Date(this.valueOf())}function hm(){var n=this;return[n.year(),n.month(),n.date(),n.hour(),n.minute(),n.second(),n.millisecond()]}function fm(){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 pm(){return this.isValid()?this.toISOString():null}function mm(){return Ts(this)}function gm(){return di({},He(this))}function bm(){return He(this).overflow}function vm(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}Te("N",0,0,"eraAbbr"),Te("NN",0,0,"eraAbbr"),Te("NNN",0,0,"eraAbbr"),Te("NNNN",0,0,"eraName"),Te("NNNNN",0,0,"eraNarrow"),Te("y",["y",1],"yo","eraYear"),Te("y",["yy",2],0,"eraYear"),Te("y",["yyy",3],0,"eraYear"),Te("y",["yyyy",4],0,"eraYear"),Ee("N",ta),Ee("NN",ta),Ee("NNN",ta),Ee("NNNN",Tm),Ee("NNNNN",Dm),$e(["N","NN","NNN","NNNN","NNNNN"],function(n,e,t,i){var r=t._locale.erasParse(n,i,t._strict);r?He(t).era=r:He(t).invalidEra=n}),Ee("y",Bi),Ee("yy",Bi),Ee("yyy",Bi),Ee("yyyy",Bi),Ee("yo",Om),$e(["y","yy","yyy","yyyy"],ht),$e(["yo"],function(n,e,t,i){var r;t._locale._eraYearOrdinalRegex&&(r=n.match(t._locale._eraYearOrdinalRegex)),t._locale.eraYearOrdinalParse?e[ht]=t._locale.eraYearOrdinalParse(n,r):e[ht]=parseInt(n,10)});function ym(n,e){var t,i,r,s=this._eras||ni("en")._eras;for(t=0,i=s.length;t<i;++t){switch(typeof s[t].since){case"string":r=Ae(s[t].since).startOf("day"),s[t].since=r.valueOf();break}switch(typeof s[t].until){case"undefined":s[t].until=1/0;break;case"string":r=Ae(s[t].until).startOf("day").valueOf(),s[t].until=r.valueOf();break}}return s}function wm(n,e,t){var i,r,s=this.eras(),o,l,u;for(n=n.toUpperCase(),i=0,r=s.length;i<r;++i)if(o=s[i].name.toUpperCase(),l=s[i].abbr.toUpperCase(),u=s[i].narrow.toUpperCase(),t)switch(e){case"N":case"NN":case"NNN":if(l===n)return s[i];break;case"NNNN":if(o===n)return s[i];break;case"NNNNN":if(u===n)return s[i];break}else if([o,l,u].indexOf(n)>=0)return s[i]}function Cm(n,e){var t=n.since<=n.until?1:-1;return e===void 0?Ae(n.since).year():Ae(n.since).year()+(e-n.offset)*t}function Am(){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 Em(){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 km(){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 Sm(){var n,e,t,i,r=this.localeData().eras();for(n=0,e=r.length;n<e;++n)if(t=r[n].since<=r[n].until?1:-1,i=this.clone().startOf("day").valueOf(),r[n].since<=i&&i<=r[n].until||r[n].until<=i&&i<=r[n].since)return(this.year()-Ae(r[n].since).year())*t+r[n].offset;return this.year()}function xm(n){return Qe(this,"_erasNameRegex")||ia.call(this),n?this._erasNameRegex:this._erasRegex}function Rm(n){return Qe(this,"_erasAbbrRegex")||ia.call(this),n?this._erasAbbrRegex:this._erasRegex}function Mm(n){return Qe(this,"_erasNarrowRegex")||ia.call(this),n?this._erasNarrowRegex:this._erasRegex}function ta(n,e){return e.erasAbbrRegex(n)}function Tm(n,e){return e.erasNameRegex(n)}function Dm(n,e){return e.erasNarrowRegex(n)}function Om(n,e){return e._eraYearOrdinalRegex||Bi}function ia(){var n=[],e=[],t=[],i=[],r,s,o,l,u,c=this.eras();for(r=0,s=c.length;r<s;++r)o=Xt(c[r].name),l=Xt(c[r].abbr),u=Xt(c[r].narrow),e.push(o),n.push(l),t.push(u),i.push(o),i.push(l),i.push(u);this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+t.join("|")+")","i")}Te(0,["gg",2],0,function(){return this.weekYear()%100}),Te(0,["GG",2],0,function(){return this.isoWeekYear()%100});function qn(n,e){Te(0,[n,n.length],0,e)}qn("gggg","weekYear"),qn("ggggg","weekYear"),qn("GGGG","isoWeekYear"),qn("GGGGG","isoWeekYear"),Ee("G",In),Ee("g",In),Ee("GG",tt,Et),Ee("gg",tt,Et),Ee("GGGG",Hs,Is),Ee("gggg",Hs,Is),Ee("GGGGG",Nn,_n),Ee("ggggg",Nn,_n),rn(["gggg","ggggg","GGGG","GGGGG"],function(n,e,t,i){e[i.substr(0,2)]=Ue(n)}),rn(["gg","GG"],function(n,e,t,i){e[i]=Ae.parseTwoDigitYear(n)});function Lm(n){return Qu.call(this,n,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Bm(n){return Qu.call(this,n,this.isoWeek(),this.isoWeekday(),1,4)}function Fm(){return ii(this.year(),1,4)}function _m(){return ii(this.isoWeekYear(),1,4)}function Pm(){var n=this.localeData()._week;return ii(this.year(),n.dow,n.doy)}function Nm(){var n=this.localeData()._week;return ii(this.weekYear(),n.dow,n.doy)}function Qu(n,e,t,i,r){var s;return n==null?ln(this,i,r).year:(s=ii(n,i,r),e>s&&(e=s),Im.call(this,n,e,t,i,r))}function Im(n,e,t,i,r){var s=ku(n,e,t,i,r),o=on(s.year,0,s.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}Te("Q",0,"Qo","quarter"),Ee("Q",fu),$e("Q",function(n,e){e[ei]=(Ue(n)-1)*3});function Hm(n){return n==null?Math.ceil((this.month()+1)/3):this.month((n-1)*3+this.month()%3)}Te("D",["DD",2],"Do","date"),Ee("D",tt,Fi),Ee("DD",tt,Et),Ee("Do",function(n,e){return n?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),$e(["D","DD"],Yt),$e("Do",function(n,e){e[Yt]=Ue(n.match(tt)[0])});var Ku=_i("Date",!0);Te("DDD",["DDDD",3],"DDDo","dayOfYear"),Ee("DDD",Pn),Ee("DDDD",pu),$e(["DDD","DDDD"],function(n,e,t){t._dayOfYear=Ue(n)});function Vm(n){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return n==null?e:this.add(n-e,"d")}Te("m",["mm",2],0,"minute"),Ee("m",tt,Vs),Ee("mm",tt,Et),$e(["m","mm"],It);var zm=_i("Minutes",!1);Te("s",["ss",2],0,"second"),Ee("s",tt,Vs),Ee("ss",tt,Et),$e(["s","ss"],ti);var jm=_i("Seconds",!1);Te("S",0,0,function(){return~~(this.millisecond()/100)}),Te(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Te(0,["SSS",3],0,"millisecond"),Te(0,["SSSS",4],0,function(){return this.millisecond()*10}),Te(0,["SSSSS",5],0,function(){return this.millisecond()*100}),Te(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),Te(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),Te(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),Te(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),Ee("S",Pn,fu),Ee("SS",Pn,Et),Ee("SSS",Pn,pu);var fi,Ju;for(fi="SSSS";fi.length<=9;fi+="S")Ee(fi,Bi);function Wm(n,e){e[Ci]=Ue(("0."+n)*1e3)}for(fi="S";fi.length<=9;fi+="S")$e(fi,Wm);Ju=_i("Milliseconds",!1),Te("z",0,0,"zoneAbbr"),Te("zz",0,0,"zoneName");function Um(){return this._isUTC?"UTC":""}function Gm(){return this._isUTC?"Coordinated Universal Time":""}var ve=tn.prototype;ve.add=Np,ve.calendar=Up,ve.clone=Gp,ve.diff=Zp,ve.endOf=lm,ve.format=im,ve.from=nm,ve.fromNow=rm,ve.to=sm,ve.toNow=am,ve.get=ef,ve.invalidAt=bm,ve.isAfter=Yp,ve.isBefore=Qp,ve.isBetween=Kp,ve.isSame=Jp,ve.isSameOrAfter=qp,ve.isSameOrBefore=$p,ve.isValid=mm,ve.lang=ju,ve.locale=zu,ve.localeData=Wu,ve.max=mp,ve.min=pp,ve.parsingFlags=gm,ve.set=tf,ve.startOf=om,ve.subtract=Ip,ve.toArray=hm,ve.toObject=fm,ve.toDate=dm,ve.toISOString=em,ve.inspect=tm,typeof Symbol<"u"&&Symbol.for!=null&&(ve[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ve.toJSON=pm,ve.toString=Xp,ve.unix=cm,ve.valueOf=um,ve.creationData=vm,ve.eraName=Am,ve.eraNarrow=Em,ve.eraAbbr=km,ve.eraYear=Sm,ve.year=bu,ve.isLeapYear=Xh,ve.weekYear=Lm,ve.isoWeekYear=Bm,ve.quarter=ve.quarters=Hm,ve.month=Au,ve.daysInMonth=df,ve.week=ve.weeks=yf,ve.isoWeek=ve.isoWeeks=wf,ve.weeksInYear=Pm,ve.weeksInWeekYear=Nm,ve.isoWeeksInYear=Fm,ve.isoWeeksInISOWeekYear=_m,ve.date=Ku,ve.day=ve.days=Bf,ve.weekday=Ff,ve.isoWeekday=_f,ve.dayOfYear=Vm,ve.hour=ve.hours=jf,ve.minute=ve.minutes=zm,ve.second=ve.seconds=jm,ve.millisecond=ve.milliseconds=Ju,ve.utcOffset=kp,ve.utc=xp,ve.local=Rp,ve.parseZone=Mp,ve.hasAlignedHourOffset=Tp,ve.isDST=Dp,ve.isLocal=Lp,ve.isUtcOffset=Bp,ve.isUtc=Pu,ve.isUTC=Pu,ve.zoneAbbr=Um,ve.zoneName=Gm,ve.dates=Mt("dates accessor is deprecated. Use date instead.",Ku),ve.months=Mt("months accessor is deprecated. Use month instead",Au),ve.years=Mt("years accessor is deprecated. Use year instead",bu),ve.zone=Mt("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Sp),ve.isDSTShifted=Mt("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Op);function Ym(n){return it(n*1e3)}function Qm(){return it.apply(null,arguments).parseZone()}function qu(n){return n}var Ke=Bs.prototype;Ke.calendar=Oh,Ke.longDateFormat=_h,Ke.invalidDate=Nh,Ke.ordinal=Vh,Ke.preparse=qu,Ke.postformat=qu,Ke.relativeTime=jh,Ke.pastFuture=Wh,Ke.set=Th,Ke.eras=ym,Ke.erasParse=wm,Ke.erasConvertYear=Cm,Ke.erasAbbrRegex=Rm,Ke.erasNameRegex=xm,Ke.erasNarrowRegex=Mm,Ke.months=of,Ke.monthsShort=lf,Ke.monthsParse=cf,Ke.monthsRegex=ff,Ke.monthsShortRegex=hf,Ke.week=mf,Ke.firstDayOfYear=vf,Ke.firstDayOfWeek=bf,Ke.weekdays=Mf,Ke.weekdaysMin=Df,Ke.weekdaysShort=Tf,Ke.weekdaysParse=Lf,Ke.weekdaysRegex=Pf,Ke.weekdaysShortRegex=Nf,Ke.weekdaysMinRegex=If,Ke.isPM=Vf,Ke.meridiem=Wf;function $n(n,e,t,i){var r=ni(),s=Wt().set(i,e);return r[t](s,n)}function $u(n,e,t){if(Zt(n)&&(e=n,n=void 0),n=n||"",e!=null)return $n(n,e,t,"month");var i,r=[];for(i=0;i<12;i++)r[i]=$n(n,i,t,"month");return r}function na(n,e,t,i){typeof n=="boolean"?(Zt(e)&&(t=e,e=void 0),e=e||""):(e=n,t=e,n=!1,Zt(e)&&(t=e,e=void 0),e=e||"");var r=ni(),s=n?r._week.dow:0,o,l=[];if(t!=null)return $n(e,(t+s)%7,i,"day");for(o=0;o<7;o++)l[o]=$n(e,(o+s)%7,i,"day");return l}function Km(n,e){return $u(n,e,"months")}function Jm(n,e){return $u(n,e,"monthsShort")}function qm(n,e,t){return na(n,e,t,"weekdays")}function $m(n,e,t){return na(n,e,t,"weekdaysShort")}function Zm(n,e,t){return na(n,e,t,"weekdaysMin")}hi("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(n){var e=n%10,t=Ue(n%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th";return n+t}}),Ae.lang=Mt("moment.lang is deprecated. Use moment.locale instead.",hi),Ae.langData=Mt("moment.langData is deprecated. Use moment.localeData instead.",ni);var ri=Math.abs;function Xm(){var n=this._data;return this._milliseconds=ri(this._milliseconds),this._days=ri(this._days),this._months=ri(this._months),n.milliseconds=ri(n.milliseconds),n.seconds=ri(n.seconds),n.minutes=ri(n.minutes),n.hours=ri(n.hours),n.months=ri(n.months),n.years=ri(n.years),this}function Zu(n,e,t,i){var r=Ht(e,t);return n._milliseconds+=i*r._milliseconds,n._days+=i*r._days,n._months+=i*r._months,n._bubble()}function eg(n,e){return Zu(this,n,e,1)}function tg(n,e){return Zu(this,n,e,-1)}function Xu(n){return n<0?Math.floor(n):Math.ceil(n)}function ig(){var n=this._milliseconds,e=this._days,t=this._months,i=this._data,r,s,o,l,u;return n>=0&&e>=0&&t>=0||n<=0&&e<=0&&t<=0||(n+=Xu(ra(t)+e)*864e5,e=0,t=0),i.milliseconds=n%1e3,r=Dt(n/1e3),i.seconds=r%60,s=Dt(r/60),i.minutes=s%60,o=Dt(s/60),i.hours=o%24,e+=Dt(o/24),u=Dt(ec(e)),t+=u,e-=Xu(ra(u)),l=Dt(t/12),t%=12,i.days=e,i.months=t,i.years=l,this}function ec(n){return n*4800/146097}function ra(n){return n*146097/4800}function ng(n){if(!this.isValid())return NaN;var e,t,i=this._milliseconds;if(n=Tt(n),n==="month"||n==="quarter"||n==="year")switch(e=this._days+i/864e5,t=this._months+ec(e),n){case"month":return t;case"quarter":return t/3;case"year":return t/12}else switch(e=this._days+Math.round(ra(this._months)),n){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return e*24+i/36e5;case"minute":return e*1440+i/6e4;case"second":return e*86400+i/1e3;case"millisecond":return Math.floor(e*864e5)+i;default:throw new Error("Unknown unit "+n)}}function si(n){return function(){return this.as(n)}}var tc=si("ms"),rg=si("s"),sg=si("m"),ag=si("h"),og=si("d"),lg=si("w"),ug=si("M"),cg=si("Q"),dg=si("y"),hg=tc;function fg(){return Ht(this)}function pg(n){return n=Tt(n),this.isValid()?this[n+"s"]():NaN}function Ei(n){return function(){return this.isValid()?this._data[n]:NaN}}var mg=Ei("milliseconds"),gg=Ei("seconds"),bg=Ei("minutes"),vg=Ei("hours"),yg=Ei("days"),wg=Ei("months"),Cg=Ei("years");function Ag(){return Dt(this.days()/7)}var ai=Math.round,Hi={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Eg(n,e,t,i,r){return r.relativeTime(e||1,!!t,n,i)}function kg(n,e,t,i){var r=Ht(n).abs(),s=ai(r.as("s")),o=ai(r.as("m")),l=ai(r.as("h")),u=ai(r.as("d")),c=ai(r.as("M")),d=ai(r.as("w")),f=ai(r.as("y")),p=s<=t.ss&&["s",s]||s<t.s&&["ss",s]||o<=1&&["m"]||o<t.m&&["mm",o]||l<=1&&["h"]||l<t.h&&["hh",l]||u<=1&&["d"]||u<t.d&&["dd",u];return t.w!=null&&(p=p||d<=1&&["w"]||d<t.w&&["ww",d]),p=p||c<=1&&["M"]||c<t.M&&["MM",c]||f<=1&&["y"]||["yy",f],p[2]=e,p[3]=+n>0,p[4]=i,Eg.apply(null,p)}function Sg(n){return n===void 0?ai:typeof n=="function"?(ai=n,!0):!1}function xg(n,e){return Hi[n]===void 0?!1:e===void 0?Hi[n]:(Hi[n]=e,n==="s"&&(Hi.ss=e-1),!0)}function Rg(n,e){if(!this.isValid())return this.localeData().invalidDate();var t=!1,i=Hi,r,s;return typeof n=="object"&&(e=n,n=!1),typeof n=="boolean"&&(t=n),typeof e=="object"&&(i=Object.assign({},Hi,e),e.s!=null&&e.ss==null&&(i.ss=e.s-1)),r=this.localeData(),s=kg(this,!t,i,r),t&&(s=r.pastFuture(+this,s)),r.postformat(s)}var sa=Math.abs;function Vi(n){return(n>0)-(n<0)||+n}function Zn(){if(!this.isValid())return this.localeData().invalidDate();var n=sa(this._milliseconds)/1e3,e=sa(this._days),t=sa(this._months),i,r,s,o,l=this.asSeconds(),u,c,d,f;return l?(i=Dt(n/60),r=Dt(i/60),n%=60,i%=60,s=Dt(t/12),t%=12,o=n?n.toFixed(3).replace(/\.?0+$/,""):"",u=l<0?"-":"",c=Vi(this._months)!==Vi(l)?"-":"",d=Vi(this._days)!==Vi(l)?"-":"",f=Vi(this._milliseconds)!==Vi(l)?"-":"",u+"P"+(s?c+s+"Y":"")+(t?c+t+"M":"")+(e?d+e+"D":"")+(r||i||n?"T":"")+(r?f+r+"H":"")+(i?f+i+"M":"")+(n?f+o+"S":"")):"P0D"}var Ye=Gn.prototype;Ye.isValid=wp,Ye.abs=Xm,Ye.add=eg,Ye.subtract=tg,Ye.as=ng,Ye.asMilliseconds=tc,Ye.asSeconds=rg,Ye.asMinutes=sg,Ye.asHours=ag,Ye.asDays=og,Ye.asWeeks=lg,Ye.asMonths=ug,Ye.asQuarters=cg,Ye.asYears=dg,Ye.valueOf=hg,Ye._bubble=ig,Ye.clone=fg,Ye.get=pg,Ye.milliseconds=mg,Ye.seconds=gg,Ye.minutes=bg,Ye.hours=vg,Ye.days=yg,Ye.weeks=Ag,Ye.months=wg,Ye.years=Cg,Ye.humanize=Rg,Ye.toISOString=Zn,Ye.toString=Zn,Ye.toJSON=Zn,Ye.locale=zu,Ye.localeData=Wu,Ye.toIsoString=Mt("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Zn),Ye.lang=ju,Te("X",0,0,"unix"),Te("x",0,0,"valueOf"),Ee("x",In),Ee("X",Qh),$e("X",function(n,e,t){t._d=new Date(parseFloat(n)*1e3)}),$e("x",function(n,e,t){t._d=new Date(Ue(n))});//! moment.js
|
|
25
|
-
Ae.version="2.30.1",Rh(it),Ae.fn=ve,Ae.min=gp,Ae.max=bp,Ae.now=vp,Ae.utc=Wt,Ae.unix=Ym,Ae.months=Km,Ae.isDate=en,Ae.locale=hi,Ae.invalid=Ln,Ae.duration=Ht,Ae.isMoment=Nt,Ae.weekdays=qm,Ae.parseZone=Qm,Ae.localeData=ni,Ae.isDuration=Yn,Ae.monthsShort=Jm,Ae.weekdaysMin=Zm,Ae.defineLocale=Ys,Ae.updateLocale=Qf,Ae.locales=Kf,Ae.weekdaysShort=$m,Ae.normalizeUnits=Tt,Ae.relativeTimeRounding=Sg,Ae.relativeTimeThreshold=xg,Ae.calendarFormat=Wp,Ae.prototype=ve,Ae.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const ic=n=>n===void 0||n==="auto"||n==="instant"||n==="smooth";function Mg(n,e){this.scrollLeft=n,this.scrollTop=e}const nc=(n,e,t="cannot convert to dictionary.")=>`Failed to execute '${n}' on '${e}': ${t}`,rc=(n,e,t)=>nc(n,e,`The provided value '${t}' is not a valid enum value of type ScrollBehavior.`),sc=(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},Tg=n=>{const e=typeof n;return n!==null&&(e==="object"||e==="function")},aa=n=>n.ownerDocument.scrollingElement||n.ownerDocument.documentElement;function Dg(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 Og=n=>.5*(1-Math.cos(Math.PI*n));function oa(){var n;let e;return!((n=window.performance)===null||n===void 0)&&n.now?e=()=>window.performance.now():e=()=>window.Date.now(),oa=e,e()}const Lg=500,ac=n=>{const t=(oa()-n.timeStamp)/(n.duration||Lg);if(t>1){n.method(n.targetX,n.targetY),n.callback();return}const i=(n.timingFunc||Og)(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(()=>{ac(n)})},Xn=n=>isFinite(n)?Number(n):0,Bg=n=>{var e;return(e=n.isConnected)!==null&&e!==void 0?e:!n.ownerDocument||!(n.ownerDocument.compareDocumentPosition(n)&1)},Fg=(n,e,t)=>{var i,r;if(!Bg(n))return;const s=n.scrollLeft,o=n.scrollTop,l=Xn((i=e.left)!==null&&i!==void 0?i:s),u=Xn((r=e.top)!==null&&r!==void 0?r:o);if(l===s&&u===o)return;const c=sc(HTMLElement.prototype,"scroll",Mg),d=sc(Object.getPrototypeOf(n),"scroll",c).bind(n);if(e.behavior!=="smooth"){d(l,u);return}const f=()=>{window.removeEventListener("wheel",x),window.removeEventListener("touchmove",x)},p=()=>{f();const b=n.nodeType===9;n.dispatchEvent(Dg(b))},h=Object.assign(Object.assign({},t),{timeStamp:oa(),startX:s,startY:o,targetX:l,targetY:u,rafId:0,method:d,callback:p}),x=()=>{window.cancelAnimationFrame(h.rafId),f()};window.addEventListener("wheel",x,{passive:!0,once:!0}),window.addEventListener("touchmove",x,{passive:!0,once:!0}),ac(h)},_g=n=>n.window===n,Pg=(n=>(e,t,i)=>{const[r,s]=_g(e)?[aa(e.document.documentElement),"Window"]:[e,"Element"],o=t??{};if(!Tg(o))throw new TypeError(nc(n,s));if(!ic(o.behavior))throw new TypeError(rc(n,s,o.behavior));n==="scrollBy"&&(o.left=Xn(o.left)+r.scrollLeft,o.top=Xn(o.top)+r.scrollTop),Fg(r,o,i)})("scroll"),oc=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},lc=(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]},Ng=n=>(lc(oc(n.writingMode),n.direction!=="rtl",void 0,void 0)[0]&1)===1,Ig=(n,e,t)=>{const[i,r,s]=lc(e,t,n.block||"start",n.inline||"nearest");return[r,s].map((o,l)=>{switch(o){case"center":return 1;case"nearest":return 0;default:{const u=i>>l&1;return o==="start"==!u?2:3}}})},uc=(n,e,t,i,r,s,o)=>n!==0?n:r<e&&s>t||r>e&&s<t?null:r<=e&&o<=i||s>=t&&o>=i?2:s>t&&o<i||r<e&&o>i?3:null,cc=n=>n!=="visible"&&n!=="clip",Hg=n=>{var e;try{return((e=n.ownerDocument.defaultView)===null||e===void 0?void 0:e.frameElement)||null}catch{return null}},Vg=(n,e)=>n.clientHeight<n.scrollHeight||n.clientWidth<n.scrollWidth?cc(e.overflowY)||cc(e.overflowX)||n===aa(n):!1,dc=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 Hg(n)}return t},la=(n,e,t)=>n<e?e:n>t?t:n,zg=n=>["scroll-margin","scroll-snap-margin"].filter(e=>e in n.documentElement.style)[0],jg=(n,e,t)=>{const{top:i,right:r,bottom:s,left:o}=e,l=zg(n.ownerDocument);if(!l)return[i,r,s,o];const u=c=>{const d=t.getPropertyValue(`${l}-${c}`);return parseInt(d,10)||0};return[i-u("top"),r+u("right"),s+u("bottom"),o-u("left")]},er=(n,e,t)=>{switch(n){case 1:return(e+t)/2;case 3:return t;case 2:case 0:return e}},Wg=(n,e)=>{var t,i,r;const s=(t=n.ownerDocument.defaultView)===null||t===void 0?void 0:t.visualViewport,[o,l,u,c]=n===aa(n)?[0,0,(i=s?.width)!==null&&i!==void 0?i:n.clientWidth,(r=s?.height)!==null&&r!==void 0?r:n.clientHeight]:[e.left,e.top,n.clientWidth,n.clientHeight],d=o+n.clientLeft,f=l+n.clientTop,p=d+u,h=f+c;return[f,p,h,d]},Ug=(n,e)=>{const t=[];let i=n.ownerDocument,r=i.defaultView;if(!r)return t;const s=window.getComputedStyle(n),o=s.direction!=="rtl",l=oc(s.writingMode||s.getPropertyValue("-webkit-writing-mode")||s.getPropertyValue("-ms-writing-mode")),[u,c]=Ig(e,l,o);let[d,f,p,h]=jg(n,n.getBoundingClientRect(),s);for(let x=dc(n);x!==null;x=dc(x)){if(i!==x.ownerDocument){if(i=x.ownerDocument,r=i.defaultView,!r)break;const{left:T,top:R}=x.getBoundingClientRect();d+=R,f+=T,p+=R,h+=T}const b=r.getComputedStyle(x);if(b.position==="fixed")break;if(!Vg(x,b))continue;const S=x.getBoundingClientRect(),[C,m,D,g]=Wg(x,S),M=uc(u,g,m,x.clientWidth,h,f,f-h),y=uc(c,C,D,x.clientHeight,d,p,p-d),k=M===null?0:er(M,h,f)-er(M,g,m),w=y===null?0:er(y,d,p)-er(y,C,D),E=Ng(b)?la(k,-x.scrollWidth+x.clientWidth-x.scrollLeft,-x.scrollLeft):la(k,-x.scrollLeft,x.scrollWidth-x.clientWidth-x.scrollLeft),v=la(w,-x.scrollTop,x.scrollHeight-x.clientHeight-x.scrollTop);t.push([x,{left:x.scrollLeft+E,top:x.scrollTop+v,behavior:e.behavior}]),d=Math.max(d-v,C),f=Math.min(f-E,m),p=Math.min(p-v,D),h=Math.max(h-E,g)}return t},hc=(n,e,t)=>{const i=e||{};if(!ic(i.behavior))throw new TypeError(rc("scrollIntoView","Element",i.behavior));Ug(n,i).forEach(([s,o])=>{Pg(s,o,t)})},ua=(n,e)=>e.some(t=>n.includes(t)),ca=(n,e)=>e.every(t=>n.includes(t));function da(n){return Array.isArray(n)?n.map(e=>({id:e.id,label:e.name,all:e})):[]}function ha(){setTimeout(()=>{const e=document.querySelectorAll(".not-valid")[0];e&&hc(e,{behavior:"smooth",block:"center"})})}function fa(n,e){const t=document.querySelector(n);t&&hc(t,{behavior:"smooth",block:"center",...e})}function pa(){return navigator?.language?.split("-")[0]}function tr(){return["ru","en","kz"]}function ma(n){return tr().includes(n)}function ir(n,e){let t;return function(...i){t&&clearTimeout(t),t=setTimeout(()=>{n(...i)},e)}}function ga(n,e){let t;return function(...i){t||(n(...i),t=!0,setTimeout(()=>t=!1,e))}}function nr(n){const e={};for(const[t,i]of Object.entries(n))i&&(e[t]=i);return e}function ba(n){return n.map(e=>nr(e))}function va(n){return n.reduce((e,t)=>e+t,0)}const ya=()=>({alias:"email"}),wa=(n="ru")=>({ru:{mask:"+7(999)999-99-99"},kz:{mask:"+7(999)999-99-99"},us:{mask:"+1(999)999-9999"}})[n],Ca=()=>({regex:"^[0-9]{10,12}$"}),Aa=()=>({mask:"999999999"}),Ea=()=>({mask:"999-999-999 99"}),ka=()=>({mask:"9999 999999"});function rr(n){return typeof n!="string"?!1:Ae(n).isValid()}function Sa(n,e={}){const{withTime:t=!1,locale:i="ru"}=e;if(!n||n.length===0||!rr(n))return"";const r=new Date(n),s=r.getHours()>=10?r.getHours():`0${r.getHours()}`,o=r.getMinutes()>=10?r.getMinutes():`0${r.getMinutes()}`,l=r.getFullYear(),u=r.getMonth()+1>=10?r.getMonth()+1:`0${r.getMonth()+1}`,c=r.getDate()>=10?r.getDate():`0${r.getDate()}`;return i==="ru"?t?`${c}.${u}.${l} ${s}:${o}`:`${c}.${u}.${l}`:t?`${u}.${c}.${l} ${s}:${o}`:`${u}.${c}.${l}`}function xa(n,e={}){const{locale:t="ru",currency:i="RUB"}=e,r={ru:"ru-RU",en:"en-US",kz:"kk-KZ"},o={style:"currency",maximumSignificantDigits:2,currency:{ru:"RUB",en:"USD",kz:"KZT"}[t]||i};return new Intl.NumberFormat(r[t]||"en-US",o).format(Number(n))}function Ra(n){return Ae(new Date).format(n)}function Ma(n,e){const t=new Date(n);return t.setDate(t.getDate()+e),t}function Ta(n,e){const t=new Date(n);return t.setMonth(t.getMonth()+e),t}function Da(n,e){const t=new Date(n);return t.setFullYear(t.getFullYear()+e),t}function Oa(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 La(n){return!n||n.length===0?n:n[0].toUpperCase()+n.slice(1)}function Ba(n){return n.replace(/\b\w/g,e=>e.toUpperCase())}function Fa(n){return n.replace(/(?:^\w|[A-Z]|\b\w)/g,(e,t)=>t===0?e.toLowerCase():e.toUpperCase()).replace(/\s+/g,"")}function _a(n){return n.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase()}function Pa(n){return n.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1_$2").toLowerCase()}function Na(n,e,t="..."){return n.length<=e?n:n.substring(0,e)+t}function Ia(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 Ha({str:n,limit:e=null}){return!e||!n?n:n.substring(0,e)}function Va(n,e){let t="";for(const[i,r]of n.entries()){const s=n.length>i+1?", ":" ";if(t+=`${r.name}${s}`,t.length>e){let o=n.length-(i+1);const l=o>0?`+${o}`:"";t=`${t.substr(0,e)}...${l}`;break}}return t}function za(n){return[...new Set(n)]}function ja(n,e){return n.reduce((t,i)=>{const r=String(i[e]);return t[r]=t[r]||[],t[r].push(i),t},{})}function Wa(n,e,t="asc"){return[...n].sort((i,r)=>{const s=i[e],o=r[e];return s<o?t==="asc"?-1:1:s>o?t==="asc"?1:-1:0})}function Ua(n,e){const t=[];for(let i=0;i<n.length;i+=e)t.push(n.slice(i,i+e));return t}function Ga(n){return typeof n=="object"&&n!==null}function oi(n){return n===void 0?n:JSON.parse(JSON.stringify(n))}function sr(n,e){return JSON.stringify(n)===JSON.stringify(e)}function Ya(n,e){return n.sort().toString()===e.sort().toString()}function Qa(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 Ka=n=>{const e=oi(n),t={};for(const[i,r]of Object.entries(e)){const s=i.split(".");let o=t;for(const[u,c]of s.slice(0,-1).entries()){if(!o[c]){const d=Number.isInteger(Number(s[+u+1]));o[c]=d?[]:{}}o=o[c]}const l=s.pop();l&&(o[l]=r)}return t},ar=n=>{let e=oi(n),t={};for(const i in e){if(typeof e[i]!="object"||e[i]===null){t[i]=e[i];continue}const r=ar(e[i]);for(const s in r)t[`${i}.${s}`]=r[s]}return t};function Ja(n,e){const t={};return e.forEach(i=>{i in n&&(t[i]=n[i])}),t}function qa(n,e){const t={...n};return e.forEach(i=>{delete t[i]}),t}function zi(n,e,t,i=!1){if(i)return a.render(null,n),!0;const r=a.h(e,t);return a.render(r,n),!0}function pi(){const n=Date.now(),e=Math.floor(Math.random()*9999);return n+e}function $a(n=""){return`${n}${Date.now()}-${Math.random().toString(36).substr(2,9)}`}function Za(n){throw new Error(`${n} is required.`)}function Xa(n){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(n)}function eo(n){return/^[\+]?[1-9][\d]{0,15}$/.test(n.replace(/\D/g,""))}function to(n){try{return new URL(n),!0}catch{return!1}}function io(n,e){try{localStorage.setItem(n,JSON.stringify(e))}catch(t){console.error("Error saving to localStorage:",t)}}function no(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 ro(n){try{localStorage.removeItem(n)}catch(e){console.error("Error removing from localStorage:",e)}}function so(n,e){try{sessionStorage.setItem(n,JSON.stringify(e))}catch(t){console.error("Error saving to sessionStorage:",t)}}function ao(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 oo(n){try{sessionStorage.removeItem(n)}catch(e){console.error("Error removing from sessionStorage:",e)}}function lo(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 uo(n){let e=!1,t;return((...i)=>(e||(e=!0,t=n(...i)),t))}function co(n,e,t){return Math.min(Math.max(n,e),t)}function ho(n,e,t){return n+(e-n)*t}function fo(n,e){return Math.floor(Math.random()*(e-n+1))+n}function po(n,e){return Math.round(n*Math.pow(10,e))/Math.pow(10,e)}function mo(n,e){return n.includes(e)}function go(n,e){return e.some(t=>n.includes(t))}function bo(n){if(typeof n=="string")try{return JSON.parse(n)}catch{return n}return n}const Gg=Object.freeze(Object.defineProperty({__proto__:null,addDays:Ma,addMonths:Ta,addYears:Da,areArraysEqual:Qa,arrayToCutString:Va,camelCase:Fa,capitalize:Ba,chunk:Ua,clamp:co,cutString:Ha,debounce:ir,default:{prepareSelectOptions:da,scrollToError:ha,scrollToElement:fa,getBrowserLocale:pa,getSupportedLocales:tr,isValidLocale:ma,debounce:ir,throttle:ga,getValueFromObjectItem:nr,getValueFromArr:ba,sumOfArrayNumbers:va,initEmailMask:ya,initPhoneMask:wa,initInnMask:Ca,initKppMask:Aa,initSnilsMask:Ea,initPassportMask:ka,isValidDate:rr,formatDate:Sa,formatMoney:xa,getNowDate:Ra,addDays:Ma,addMonths:Ta,addYears:Da,getDeclinationFromNumber:Oa,firstToUppercase:La,capitalize:Ba,camelCase:Fa,kebabCase:_a,snakeCase:Pa,truncate:Na,maskDate:Ia,cutString:Ha,arrayToCutString:Va,findOne:ua,findAll:ca,unique:za,groupBy:ja,sortBy:Wa,chunk:Ua,isObject:Ga,getDeepCopyObject:oi,isEqual:sr,isArraysEqual:Ya,areArraysEqual:Qa,unflatenObject:Ka,flattenObject:ar,pick:Ja,omit:qa,mountSubFilter:zi,getUniqueKey:pi,generateId:$a,required:Za,isValidEmail:Xa,isValidPhone:eo,isValidUrl:to,setLocalStorage:io,getLocalStorage:no,removeLocalStorage:ro,setSessionStorage:so,getSessionStorage:ao,removeSessionStorage:oo,memoize:lo,once:uo,clamp:co,lerp:ho,random:fo,roundToDecimals:po,hasRole:mo,hasMatch:go,prepareResponse:bo},findAll:ca,findOne:ua,firstToUppercase:La,flattenObject:ar,formatDate:Sa,formatMoney:xa,generateId:$a,getBrowserLocale:pa,getDeclinationFromNumber:Oa,getDeepCopyObject:oi,getLocalStorage:no,getNowDate:Ra,getSessionStorage:ao,getSupportedLocales:tr,getUniqueKey:pi,getValueFromArr:ba,getValueFromObjectItem:nr,groupBy:ja,hasMatch:go,hasRole:mo,initEmailMask:ya,initInnMask:Ca,initKppMask:Aa,initPassportMask:ka,initPhoneMask:wa,initSnilsMask:Ea,isArraysEqual:Ya,isEqual:sr,isObject:Ga,isValidDate:rr,isValidEmail:Xa,isValidLocale:ma,isValidPhone:eo,isValidUrl:to,kebabCase:_a,lerp:ho,maskDate:Ia,memoize:lo,mountSubFilter:zi,omit:qa,once:uo,pick:Ja,prepareResponse:bo,prepareSelectOptions:da,random:fo,removeLocalStorage:ro,removeSessionStorage:oo,required:Za,roundToDecimals:po,scrollToElement:fa,scrollToError:ha,setLocalStorage:io,setSessionStorage:so,snakeCase:Pa,sortBy:Wa,sumOfArrayNumbers:va,throttle:ga,truncate:Na,unflatenObject:Ka,unique:za},Symbol.toStringTag,{value:"Module"})),Yg={class:"lh-1","data-test":"FormError"},ki={__name:"FormError",props:{errors:{type:Array,default:()=>[]}},setup(n){return(e,t)=>(a.openBlock(),a.createElementBlock("div",Yg,[n.errors?.length?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(n.errors,(i,r)=>(a.openBlock(),a.createElementBlock("div",{class:"text-danger small",key:r},a.toDisplayString(i),1))),128)):a.createCommentVNode("",!0)]))}},Qg={class:"position-relative"},Kg=["type","name","value","placeholder","disabled"],or=Ne({__name:"CustomInput",props:{modelValue:{type:[String,Number],default:""},titleClass:{type:String,default:""},title:{type:String,default:""},name:{type:String,default:""},min:{type:[String,Number],default:""},max:{type:[String,Number],default:""},placeholder:{type:String,default:""},disabled:{type:Boolean,default:!1},inputClass:{type:[String,Object],default:""},type:{type:String,default:"text"},error:{type:[String,Object,Array],default:""},maskOptions:{type:[String,Object],default:()=>({})},maxNumber:{type:[String,Number],default:null}},emits:["change","blur","update:modelValue"],setup(n,{emit:e}){const t=n,i=e,r=a.ref(null),s=f=>{let p=f.target.value;t.max&&(p=o(p),f.target.value=p),t.maxNumber&&(Number(p)>=Number(t.maxNumber)&&(p=t.maxNumber.toString()),f.target.value=p),i("update:modelValue",p)},o=f=>f.substring(0,t.max),l=()=>{i("update:modelValue",null),i("change",null),r.value&&(r.value.value=null)},u=()=>{if(t.maskOptions===""||!r.value)return!1;xh({...t.maskOptions}).mask(r.value)};a.onMounted(()=>{u()}),a.watch(()=>t.maskOptions,(f,p)=>{sr(f,p)||u()},{deep:!0});const c=a.computed(()=>!(!t.modelValue||t.disabled)),d=a.computed(()=>Array.isArray(t.error)?t.error.filter(Boolean):typeof t.error=="string"&&t.error?[t.error]:[]);return(f,p)=>(a.openBlock(),a.createElementBlock("div",null,[n.title?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["mb-1 fw-bold",[n.titleClass]])},a.toDisplayString(n.title),3)):a.createCommentVNode("",!0),a.createElementVNode("div",Qg,[a.createElementVNode("input",{ref_key:"inputEl",ref:r,type:n.type,name:n.name,class:a.normalizeClass(["form-control outline-none",{[n.inputClass]:n.inputClass,"not-valid":d.value.length>0,"is-invalid":d.value.length>0}]),value:n.modelValue,placeholder:n.placeholder,disabled:n.disabled,onBlur:p[0]||(p[0]=h=>i("blur")),onInput:s},null,42,Kg),c.value?(a.openBlock(),a.createElementBlock("i",{key:0,class:a.normalizeClass(["bi bi-x-lg remove-button position-absolute",[n.modelValue?"":"d-none",n.disabled?"d-none":""]]),onClick:l},null,2)):a.createCommentVNode("",!0)]),a.createVNode(ki,{errors:d.value},null,8,["errors"])]))}},[["__scopeId","data-v-7b055e3b"]]),Jg={class:"position-relative"},qg=["type","value"],$g=Ne({__name:"PasswordInput",props:{modelValue:{type:String,default:""},error:{type:[String,Array],default:""},initialVisibility:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(n){const e=n,t=a.ref(e.initialVisibility);a.watch(()=>e.initialVisibility,r=>{t.value=r});const i=a.computed(()=>Array.isArray(e.error)?e.error.filter(Boolean):typeof e.error=="string"&&e.error?[e.error]:[]);return(r,s)=>(a.openBlock(),a.createElementBlock("div",null,[a.createElementVNode("div",Jg,[a.createElementVNode("input",a.mergeProps({class:["form-control password-input outline-none",{"is-invalid":i.value.length>0}],type:t.value?"text":"password",value:n.modelValue},r.$attrs,{autocomplete:"new-password",onInput:s[0]||(s[0]=o=>r.$emit("update:modelValue",o.target.value))}),null,16,qg),a.createElementVNode("div",{class:"toggle-pass",onClick:s[1]||(s[1]=o=>t.value=!t.value)},[a.createElementVNode("i",{class:a.normalizeClass(["bi",[t.value?"bi-eye-slash-fill":"bi-eye-fill"]]),style:{"font-size":"20px"}},null,2)])]),a.createVNode(ki,{errors:i.value},null,8,["errors"])]))}},[["__scopeId","data-v-380938cd"]]),Zg={class:"form-check d-flex align-items-center"},Xg=["id","name","checked"],eb=["for"],tb={__name:"Checkbox",props:{modelValue:{type:Boolean,default:!1},name:{type:String,required:!0},label:{type:String,default:""},id:{type:String,default:()=>`checkbox-${Math.random().toString(36).slice(2,9)}`},size:{type:String,default:"sm",validator:n=>["sm","md","lg"].includes(n)},clickableLabel:{type:Boolean,default:!0},indeterminate:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(n,{emit:e}){const t=n,i=e,r=a.ref(null),s=a.computed(()=>t.size==="sm"?"5px":t.size==="md"?"10px":t.size==="lg"?"15px":"5px"),o=l=>{i("update:modelValue",l.target.checked)};return a.watch(()=>t.indeterminate,l=>{r.value&&(r.value.indeterminate=l)}),a.onMounted(()=>{r.value&&(r.value.indeterminate=t.indeterminate)}),(l,u)=>(a.openBlock(),a.createElementBlock("div",Zg,[a.createElementVNode("input",{ref_key:"inputRef",ref:r,class:"form-check-input mr-2 mt-0",type:"checkbox",id:n.id,name:n.name,style:a.normalizeStyle({padding:s.value}),checked:n.modelValue,onChange:o},null,44,Xg),n.label?(a.openBlock(),a.createElementBlock("label",{key:0,class:a.normalizeClass(["form-check-label lh-n",{"cursor-pointer":n.clickableLabel}]),for:n.clickableLabel?n.id:void 0},a.toDisplayString(n.label),11,eb)):a.createCommentVNode("",!0)]))}};var ib=Object.defineProperty,nb=Object.defineProperties,rb=Object.getOwnPropertyDescriptors,fc=Object.getOwnPropertySymbols,sb=Object.prototype.hasOwnProperty,ab=Object.prototype.propertyIsEnumerable,pc=(n,e,t)=>e in n?ib(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,ji=(n,e)=>{for(var t in e||(e={}))sb.call(e,t)&&pc(n,t,e[t]);if(fc)for(var t of fc(e))ab.call(e,t)&&pc(n,t,e[t]);return n},mc=(n,e)=>nb(n,rb(e));const ob={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}}}},lb={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}}},ub={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}}},vo=(n,e)=>{const t=n.__vccOpts||n;for(const[i,r]of e)t[i]=r;return t},cb={},db={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10"},hb=a.createElementVNode("path",{d:"M6.895455 5l2.842897-2.842898c.348864-.348863.348864-.914488 0-1.263636L9.106534.261648c-.348864-.348864-.914489-.348864-1.263636 0L5 3.104545 2.157102.261648c-.348863-.348864-.914488-.348864-1.263636 0L.261648.893466c-.348864.348864-.348864.914489 0 1.263636L3.104545 5 .261648 7.842898c-.348864.348863-.348864.914488 0 1.263636l.631818.631818c.348864.348864.914773.348864 1.263636 0L5 6.895455l2.842898 2.842897c.348863.348864.914772.348864 1.263636 0l.631818-.631818c.348864-.348864.348864-.914489 0-1.263636L6.895455 5z"},null,-1),fb=[hb];function pb(n,e){return a.openBlock(),a.createElementBlock("svg",db,fb)}const mb=vo(cb,[["render",pb]]),gb={},bb={xmlns:"http://www.w3.org/2000/svg",width:"14",height:"10"},vb=a.createElementVNode("path",{d:"M9.211364 7.59931l4.48338-4.867229c.407008-.441854.407008-1.158247 0-1.60046l-.73712-.80023c-.407008-.441854-1.066904-.441854-1.474243 0L7 5.198617 2.51662.33139c-.407008-.441853-1.066904-.441853-1.474243 0l-.737121.80023c-.407008.441854-.407008 1.158248 0 1.600461l4.48338 4.867228L7 10l2.211364-2.40069z"},null,-1),yb=[vb];function wb(n,e){return a.openBlock(),a.createElementBlock("svg",bb,yb)}const Cb=vo(gb,[["render",wb]]),gc={Deselect:mb,OpenIndicator:Cb},Ab={mounted(n,{instance:e}){if(e.appendToBody){const{height:t,top:i,left:r,width:s}=e.$refs.toggle.getBoundingClientRect();let o=window.scrollX||window.pageXOffset,l=window.scrollY||window.pageYOffset;n.unbindPosition=e.calculatePosition(n,e,{width:s+"px",left:o+r+"px",top:l+i+t+"px"}),document.body.appendChild(n)}},unmounted(n,{instance:e}){e.appendToBody&&(n.unbindPosition&&typeof n.unbindPosition=="function"&&n.unbindPosition(),n.parentNode&&n.parentNode.removeChild(n))}};function Eb(n){const e={};return Object.keys(n).sort().forEach(t=>{e[t]=n[t]}),JSON.stringify(e)}let kb=0;function Sb(){return++kb}const xb={components:ji({},gc),directives:{appendToBody:Ab},mixins:[ob,lb,ub],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
|
+
Ae.version="2.30.1",Rh(it),Ae.fn=ve,Ae.min=gp,Ae.max=bp,Ae.now=vp,Ae.utc=Wt,Ae.unix=Ym,Ae.months=Km,Ae.isDate=en,Ae.locale=hi,Ae.invalid=Ln,Ae.duration=Ht,Ae.isMoment=Nt,Ae.weekdays=qm,Ae.parseZone=Qm,Ae.localeData=ni,Ae.isDuration=Yn,Ae.monthsShort=Jm,Ae.weekdaysMin=Zm,Ae.defineLocale=Ys,Ae.updateLocale=Qf,Ae.locales=Kf,Ae.weekdaysShort=$m,Ae.normalizeUnits=Tt,Ae.relativeTimeRounding=Sg,Ae.relativeTimeThreshold=xg,Ae.calendarFormat=Wp,Ae.prototype=ve,Ae.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const ic=n=>n===void 0||n==="auto"||n==="instant"||n==="smooth";function Mg(n,e){this.scrollLeft=n,this.scrollTop=e}const nc=(n,e,t="cannot convert to dictionary.")=>`Failed to execute '${n}' on '${e}': ${t}`,rc=(n,e,t)=>nc(n,e,`The provided value '${t}' is not a valid enum value of type ScrollBehavior.`),sc=(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},Tg=n=>{const e=typeof n;return n!==null&&(e==="object"||e==="function")},aa=n=>n.ownerDocument.scrollingElement||n.ownerDocument.documentElement;function Dg(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 Og=n=>.5*(1-Math.cos(Math.PI*n));function oa(){var n;let e;return!((n=window.performance)===null||n===void 0)&&n.now?e=()=>window.performance.now():e=()=>window.Date.now(),oa=e,e()}const Lg=500,ac=n=>{const t=(oa()-n.timeStamp)/(n.duration||Lg);if(t>1){n.method(n.targetX,n.targetY),n.callback();return}const i=(n.timingFunc||Og)(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(()=>{ac(n)})},Xn=n=>isFinite(n)?Number(n):0,Bg=n=>{var e;return(e=n.isConnected)!==null&&e!==void 0?e:!n.ownerDocument||!(n.ownerDocument.compareDocumentPosition(n)&1)},Fg=(n,e,t)=>{var i,r;if(!Bg(n))return;const s=n.scrollLeft,o=n.scrollTop,l=Xn((i=e.left)!==null&&i!==void 0?i:s),u=Xn((r=e.top)!==null&&r!==void 0?r:o);if(l===s&&u===o)return;const c=sc(HTMLElement.prototype,"scroll",Mg),d=sc(Object.getPrototypeOf(n),"scroll",c).bind(n);if(e.behavior!=="smooth"){d(l,u);return}const f=()=>{window.removeEventListener("wheel",x),window.removeEventListener("touchmove",x)},p=()=>{f();const b=n.nodeType===9;n.dispatchEvent(Dg(b))},h=Object.assign(Object.assign({},t),{timeStamp:oa(),startX:s,startY:o,targetX:l,targetY:u,rafId:0,method:d,callback:p}),x=()=>{window.cancelAnimationFrame(h.rafId),f()};window.addEventListener("wheel",x,{passive:!0,once:!0}),window.addEventListener("touchmove",x,{passive:!0,once:!0}),ac(h)},_g=n=>n.window===n,Pg=(n=>(e,t,i)=>{const[r,s]=_g(e)?[aa(e.document.documentElement),"Window"]:[e,"Element"],o=t??{};if(!Tg(o))throw new TypeError(nc(n,s));if(!ic(o.behavior))throw new TypeError(rc(n,s,o.behavior));n==="scrollBy"&&(o.left=Xn(o.left)+r.scrollLeft,o.top=Xn(o.top)+r.scrollTop),Fg(r,o,i)})("scroll"),oc=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},lc=(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]},Ng=n=>(lc(oc(n.writingMode),n.direction!=="rtl",void 0,void 0)[0]&1)===1,Ig=(n,e,t)=>{const[i,r,s]=lc(e,t,n.block||"start",n.inline||"nearest");return[r,s].map((o,l)=>{switch(o){case"center":return 1;case"nearest":return 0;default:{const u=i>>l&1;return o==="start"==!u?2:3}}})},uc=(n,e,t,i,r,s,o)=>n!==0?n:r<e&&s>t||r>e&&s<t?null:r<=e&&o<=i||s>=t&&o>=i?2:s>t&&o<i||r<e&&o>i?3:null,cc=n=>n!=="visible"&&n!=="clip",Hg=n=>{var e;try{return((e=n.ownerDocument.defaultView)===null||e===void 0?void 0:e.frameElement)||null}catch{return null}},Vg=(n,e)=>n.clientHeight<n.scrollHeight||n.clientWidth<n.scrollWidth?cc(e.overflowY)||cc(e.overflowX)||n===aa(n):!1,dc=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 Hg(n)}return t},la=(n,e,t)=>n<e?e:n>t?t:n,zg=n=>["scroll-margin","scroll-snap-margin"].filter(e=>e in n.documentElement.style)[0],jg=(n,e,t)=>{const{top:i,right:r,bottom:s,left:o}=e,l=zg(n.ownerDocument);if(!l)return[i,r,s,o];const u=c=>{const d=t.getPropertyValue(`${l}-${c}`);return parseInt(d,10)||0};return[i-u("top"),r+u("right"),s+u("bottom"),o-u("left")]},er=(n,e,t)=>{switch(n){case 1:return(e+t)/2;case 3:return t;case 2:case 0:return e}},Wg=(n,e)=>{var t,i,r;const s=(t=n.ownerDocument.defaultView)===null||t===void 0?void 0:t.visualViewport,[o,l,u,c]=n===aa(n)?[0,0,(i=s?.width)!==null&&i!==void 0?i:n.clientWidth,(r=s?.height)!==null&&r!==void 0?r:n.clientHeight]:[e.left,e.top,n.clientWidth,n.clientHeight],d=o+n.clientLeft,f=l+n.clientTop,p=d+u,h=f+c;return[f,p,h,d]},Ug=(n,e)=>{const t=[];let i=n.ownerDocument,r=i.defaultView;if(!r)return t;const s=window.getComputedStyle(n),o=s.direction!=="rtl",l=oc(s.writingMode||s.getPropertyValue("-webkit-writing-mode")||s.getPropertyValue("-ms-writing-mode")),[u,c]=Ig(e,l,o);let[d,f,p,h]=jg(n,n.getBoundingClientRect(),s);for(let x=dc(n);x!==null;x=dc(x)){if(i!==x.ownerDocument){if(i=x.ownerDocument,r=i.defaultView,!r)break;const{left:T,top:R}=x.getBoundingClientRect();d+=R,f+=T,p+=R,h+=T}const b=r.getComputedStyle(x);if(b.position==="fixed")break;if(!Vg(x,b))continue;const S=x.getBoundingClientRect(),[C,m,D,g]=Wg(x,S),M=uc(u,g,m,x.clientWidth,h,f,f-h),y=uc(c,C,D,x.clientHeight,d,p,p-d),k=M===null?0:er(M,h,f)-er(M,g,m),w=y===null?0:er(y,d,p)-er(y,C,D),E=Ng(b)?la(k,-x.scrollWidth+x.clientWidth-x.scrollLeft,-x.scrollLeft):la(k,-x.scrollLeft,x.scrollWidth-x.clientWidth-x.scrollLeft),v=la(w,-x.scrollTop,x.scrollHeight-x.clientHeight-x.scrollTop);t.push([x,{left:x.scrollLeft+E,top:x.scrollTop+v,behavior:e.behavior}]),d=Math.max(d-v,C),f=Math.min(f-E,m),p=Math.min(p-v,D),h=Math.max(h-E,g)}return t},hc=(n,e,t)=>{const i=e||{};if(!ic(i.behavior))throw new TypeError(rc("scrollIntoView","Element",i.behavior));Ug(n,i).forEach(([s,o])=>{Pg(s,o,t)})},ua=(n,e)=>e.some(t=>n.includes(t)),ca=(n,e)=>e.every(t=>n.includes(t));function da(n){return Array.isArray(n)?n.map(e=>({id:e.id,label:e.name,all:e})):[]}function ha(){setTimeout(()=>{const e=document.querySelectorAll(".not-valid")[0];e&&hc(e,{behavior:"smooth",block:"center"})})}function fa(n,e){const t=document.querySelector(n);t&&hc(t,{behavior:"smooth",block:"center",...e})}function pa(){return navigator?.language?.split("-")[0]}function tr(){return["ru","en","kz"]}function ma(n){return tr().includes(n)}function ir(n,e){let t;return function(...i){t&&clearTimeout(t),t=setTimeout(()=>{n(...i)},e)}}function ga(n,e){let t;return function(...i){t||(n(...i),t=!0,setTimeout(()=>t=!1,e))}}function nr(n){const e={};for(const[t,i]of Object.entries(n))i&&(e[t]=i);return e}function ba(n){return n.map(e=>nr(e))}function va(n){return n.reduce((e,t)=>e+t,0)}const ya=()=>({alias:"email"}),wa=()=>({regex:"^[0-9]{9,16}$"}),Ca=()=>({regex:"^[0-9]{10,12}$"}),Aa=()=>({mask:"999999999"}),Ea=()=>({mask:"999-999-999 99"}),ka=()=>({mask:"9999 999999"});function rr(n){return typeof n!="string"?!1:Ae(n).isValid()}function Sa(n,e={}){const{withTime:t=!1,locale:i="ru"}=e;if(!n||n.length===0||!rr(n))return"";const r=new Date(n),s=r.getHours()>=10?r.getHours():`0${r.getHours()}`,o=r.getMinutes()>=10?r.getMinutes():`0${r.getMinutes()}`,l=r.getFullYear(),u=r.getMonth()+1>=10?r.getMonth()+1:`0${r.getMonth()+1}`,c=r.getDate()>=10?r.getDate():`0${r.getDate()}`;return i==="ru"?t?`${c}.${u}.${l} ${s}:${o}`:`${c}.${u}.${l}`:t?`${u}.${c}.${l} ${s}:${o}`:`${u}.${c}.${l}`}function xa(n,e={}){const{locale:t="ru",currency:i="RUB"}=e,r={ru:"ru-RU",en:"en-US",kz:"kk-KZ"},o={style:"currency",maximumSignificantDigits:2,currency:{ru:"RUB",en:"USD",kz:"KZT"}[t]||i};return new Intl.NumberFormat(r[t]||"en-US",o).format(Number(n))}function Ra(n){return Ae(new Date).format(n)}function Ma(n,e){const t=new Date(n);return t.setDate(t.getDate()+e),t}function Ta(n,e){const t=new Date(n);return t.setMonth(t.getMonth()+e),t}function Da(n,e){const t=new Date(n);return t.setFullYear(t.getFullYear()+e),t}function Oa(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 La(n){return!n||n.length===0?n:n[0].toUpperCase()+n.slice(1)}function Ba(n){return n.replace(/\b\w/g,e=>e.toUpperCase())}function Fa(n){return n.replace(/(?:^\w|[A-Z]|\b\w)/g,(e,t)=>t===0?e.toLowerCase():e.toUpperCase()).replace(/\s+/g,"")}function _a(n){return n.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase()}function Pa(n){return n.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1_$2").toLowerCase()}function Na(n,e,t="..."){return n.length<=e?n:n.substring(0,e)+t}function Ia(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 Ha({str:n,limit:e=null}){return!e||!n?n:n.substring(0,e)}function Va(n,e){let t="";for(const[i,r]of n.entries()){const s=n.length>i+1?", ":" ";if(t+=`${r.name}${s}`,t.length>e){let o=n.length-(i+1);const l=o>0?`+${o}`:"";t=`${t.substr(0,e)}...${l}`;break}}return t}function za(n){return[...new Set(n)]}function ja(n,e){return n.reduce((t,i)=>{const r=String(i[e]);return t[r]=t[r]||[],t[r].push(i),t},{})}function Wa(n,e,t="asc"){return[...n].sort((i,r)=>{const s=i[e],o=r[e];return s<o?t==="asc"?-1:1:s>o?t==="asc"?1:-1:0})}function Ua(n,e){const t=[];for(let i=0;i<n.length;i+=e)t.push(n.slice(i,i+e));return t}function Ga(n){return typeof n=="object"&&n!==null}function oi(n){return n===void 0?n:JSON.parse(JSON.stringify(n))}function sr(n,e){return JSON.stringify(n)===JSON.stringify(e)}function Ya(n,e){return n.sort().toString()===e.sort().toString()}function Qa(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 Ka=n=>{const e=oi(n),t={};for(const[i,r]of Object.entries(e)){const s=i.split(".");let o=t;for(const[u,c]of s.slice(0,-1).entries()){if(!o[c]){const d=Number.isInteger(Number(s[+u+1]));o[c]=d?[]:{}}o=o[c]}const l=s.pop();l&&(o[l]=r)}return t},ar=n=>{let e=oi(n),t={};for(const i in e){if(typeof e[i]!="object"||e[i]===null){t[i]=e[i];continue}const r=ar(e[i]);for(const s in r)t[`${i}.${s}`]=r[s]}return t};function Ja(n,e){const t={};return e.forEach(i=>{i in n&&(t[i]=n[i])}),t}function qa(n,e){const t={...n};return e.forEach(i=>{delete t[i]}),t}function zi(n,e,t,i=!1){if(i)return a.render(null,n),!0;const r=a.h(e,t);return a.render(r,n),!0}function pi(){const n=Date.now(),e=Math.floor(Math.random()*9999);return n+e}function $a(n=""){return`${n}${Date.now()}-${Math.random().toString(36).substr(2,9)}`}function Za(n){throw new Error(`${n} is required.`)}function Xa(n){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(n)}function eo(n){return/^[\+]?[1-9][\d]{0,15}$/.test(n.replace(/\D/g,""))}function to(n){try{return new URL(n),!0}catch{return!1}}function io(n,e){try{localStorage.setItem(n,JSON.stringify(e))}catch(t){console.error("Error saving to localStorage:",t)}}function no(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 ro(n){try{localStorage.removeItem(n)}catch(e){console.error("Error removing from localStorage:",e)}}function so(n,e){try{sessionStorage.setItem(n,JSON.stringify(e))}catch(t){console.error("Error saving to sessionStorage:",t)}}function ao(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 oo(n){try{sessionStorage.removeItem(n)}catch(e){console.error("Error removing from sessionStorage:",e)}}function lo(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 uo(n){let e=!1,t;return((...i)=>(e||(e=!0,t=n(...i)),t))}function co(n,e,t){return Math.min(Math.max(n,e),t)}function ho(n,e,t){return n+(e-n)*t}function fo(n,e){return Math.floor(Math.random()*(e-n+1))+n}function po(n,e){return Math.round(n*Math.pow(10,e))/Math.pow(10,e)}function mo(n,e){return n.includes(e)}function go(n,e){return e.some(t=>n.includes(t))}function bo(n){if(typeof n=="string")try{return JSON.parse(n)}catch{return n}return n}const Gg=Object.freeze(Object.defineProperty({__proto__:null,addDays:Ma,addMonths:Ta,addYears:Da,areArraysEqual:Qa,arrayToCutString:Va,camelCase:Fa,capitalize:Ba,chunk:Ua,clamp:co,cutString:Ha,debounce:ir,default:{prepareSelectOptions:da,scrollToError:ha,scrollToElement:fa,getBrowserLocale:pa,getSupportedLocales:tr,isValidLocale:ma,debounce:ir,throttle:ga,getValueFromObjectItem:nr,getValueFromArr:ba,sumOfArrayNumbers:va,initEmailMask:ya,initPhoneMask:wa,initInnMask:Ca,initKppMask:Aa,initSnilsMask:Ea,initPassportMask:ka,isValidDate:rr,formatDate:Sa,formatMoney:xa,getNowDate:Ra,addDays:Ma,addMonths:Ta,addYears:Da,getDeclinationFromNumber:Oa,firstToUppercase:La,capitalize:Ba,camelCase:Fa,kebabCase:_a,snakeCase:Pa,truncate:Na,maskDate:Ia,cutString:Ha,arrayToCutString:Va,findOne:ua,findAll:ca,unique:za,groupBy:ja,sortBy:Wa,chunk:Ua,isObject:Ga,getDeepCopyObject:oi,isEqual:sr,isArraysEqual:Ya,areArraysEqual:Qa,unflatenObject:Ka,flattenObject:ar,pick:Ja,omit:qa,mountSubFilter:zi,getUniqueKey:pi,generateId:$a,required:Za,isValidEmail:Xa,isValidPhone:eo,isValidUrl:to,setLocalStorage:io,getLocalStorage:no,removeLocalStorage:ro,setSessionStorage:so,getSessionStorage:ao,removeSessionStorage:oo,memoize:lo,once:uo,clamp:co,lerp:ho,random:fo,roundToDecimals:po,hasRole:mo,hasMatch:go,prepareResponse:bo},findAll:ca,findOne:ua,firstToUppercase:La,flattenObject:ar,formatDate:Sa,formatMoney:xa,generateId:$a,getBrowserLocale:pa,getDeclinationFromNumber:Oa,getDeepCopyObject:oi,getLocalStorage:no,getNowDate:Ra,getSessionStorage:ao,getSupportedLocales:tr,getUniqueKey:pi,getValueFromArr:ba,getValueFromObjectItem:nr,groupBy:ja,hasMatch:go,hasRole:mo,initEmailMask:ya,initInnMask:Ca,initKppMask:Aa,initPassportMask:ka,initPhoneMask:wa,initSnilsMask:Ea,isArraysEqual:Ya,isEqual:sr,isObject:Ga,isValidDate:rr,isValidEmail:Xa,isValidLocale:ma,isValidPhone:eo,isValidUrl:to,kebabCase:_a,lerp:ho,maskDate:Ia,memoize:lo,mountSubFilter:zi,omit:qa,once:uo,pick:Ja,prepareResponse:bo,prepareSelectOptions:da,random:fo,removeLocalStorage:ro,removeSessionStorage:oo,required:Za,roundToDecimals:po,scrollToElement:fa,scrollToError:ha,setLocalStorage:io,setSessionStorage:so,snakeCase:Pa,sortBy:Wa,sumOfArrayNumbers:va,throttle:ga,truncate:Na,unflatenObject:Ka,unique:za},Symbol.toStringTag,{value:"Module"})),Yg={class:"lh-1","data-test":"FormError"},ki={__name:"FormError",props:{errors:{type:Array,default:()=>[]}},setup(n){return(e,t)=>(a.openBlock(),a.createElementBlock("div",Yg,[n.errors?.length?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(n.errors,(i,r)=>(a.openBlock(),a.createElementBlock("div",{class:"text-danger small",key:r},a.toDisplayString(i),1))),128)):a.createCommentVNode("",!0)]))}},Qg={class:"position-relative"},Kg=["type","name","value","placeholder","disabled"],or=Ne({__name:"CustomInput",props:{modelValue:{type:[String,Number],default:""},titleClass:{type:String,default:""},title:{type:String,default:""},name:{type:String,default:""},min:{type:[String,Number],default:""},max:{type:[String,Number],default:""},placeholder:{type:String,default:""},disabled:{type:Boolean,default:!1},inputClass:{type:[String,Object],default:""},type:{type:String,default:"text"},error:{type:[String,Object,Array],default:""},maskOptions:{type:[String,Object],default:()=>({})},maxNumber:{type:[String,Number],default:null}},emits:["change","blur","update:modelValue"],setup(n,{emit:e}){const t=n,i=e,r=a.ref(null),s=f=>{let p=f.target.value;t.max&&(p=o(p),f.target.value=p),t.maxNumber&&(Number(p)>=Number(t.maxNumber)&&(p=t.maxNumber.toString()),f.target.value=p),i("update:modelValue",p)},o=f=>f.substring(0,t.max),l=()=>{i("update:modelValue",null),i("change",null),r.value&&(r.value.value=null)},u=()=>{if(t.maskOptions===""||!r.value)return!1;xh({...t.maskOptions}).mask(r.value)};a.onMounted(()=>{u()}),a.watch(()=>t.maskOptions,(f,p)=>{sr(f,p)||u()},{deep:!0});const c=a.computed(()=>!(!t.modelValue||t.disabled)),d=a.computed(()=>Array.isArray(t.error)?t.error.filter(Boolean):typeof t.error=="string"&&t.error?[t.error]:[]);return(f,p)=>(a.openBlock(),a.createElementBlock("div",null,[n.title?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["mb-1 fw-bold",[n.titleClass]])},a.toDisplayString(n.title),3)):a.createCommentVNode("",!0),a.createElementVNode("div",Qg,[a.createElementVNode("input",{ref_key:"inputEl",ref:r,type:n.type,name:n.name,class:a.normalizeClass(["form-control outline-none",{[n.inputClass]:n.inputClass,"not-valid":d.value.length>0,"is-invalid":d.value.length>0}]),value:n.modelValue,placeholder:n.placeholder,disabled:n.disabled,onBlur:p[0]||(p[0]=h=>i("blur")),onInput:s},null,42,Kg),c.value?(a.openBlock(),a.createElementBlock("i",{key:0,class:a.normalizeClass(["bi bi-x-lg remove-button position-absolute",[n.modelValue?"":"d-none",n.disabled?"d-none":""]]),onClick:l},null,2)):a.createCommentVNode("",!0)]),a.createVNode(ki,{errors:d.value},null,8,["errors"])]))}},[["__scopeId","data-v-7b055e3b"]]),Jg={class:"position-relative"},qg=["type","value"],$g=Ne({__name:"PasswordInput",props:{modelValue:{type:String,default:""},error:{type:[String,Array],default:""},initialVisibility:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(n){const e=n,t=a.ref(e.initialVisibility);a.watch(()=>e.initialVisibility,r=>{t.value=r});const i=a.computed(()=>Array.isArray(e.error)?e.error.filter(Boolean):typeof e.error=="string"&&e.error?[e.error]:[]);return(r,s)=>(a.openBlock(),a.createElementBlock("div",null,[a.createElementVNode("div",Jg,[a.createElementVNode("input",a.mergeProps({class:["form-control password-input outline-none",{"is-invalid":i.value.length>0}],type:t.value?"text":"password",value:n.modelValue},r.$attrs,{autocomplete:"new-password",onInput:s[0]||(s[0]=o=>r.$emit("update:modelValue",o.target.value))}),null,16,qg),a.createElementVNode("div",{class:"toggle-pass",onClick:s[1]||(s[1]=o=>t.value=!t.value)},[a.createElementVNode("i",{class:a.normalizeClass(["bi",[t.value?"bi-eye-slash-fill":"bi-eye-fill"]]),style:{"font-size":"20px"}},null,2)])]),a.createVNode(ki,{errors:i.value},null,8,["errors"])]))}},[["__scopeId","data-v-380938cd"]]),Zg={class:"form-check d-flex align-items-center"},Xg=["id","name","checked"],eb=["for"],tb={__name:"Checkbox",props:{modelValue:{type:Boolean,default:!1},name:{type:String,required:!0},label:{type:String,default:""},id:{type:String,default:()=>`checkbox-${Math.random().toString(36).slice(2,9)}`},size:{type:String,default:"sm",validator:n=>["sm","md","lg"].includes(n)},clickableLabel:{type:Boolean,default:!0},indeterminate:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(n,{emit:e}){const t=n,i=e,r=a.ref(null),s=a.computed(()=>t.size==="sm"?"5px":t.size==="md"?"10px":t.size==="lg"?"15px":"5px"),o=l=>{i("update:modelValue",l.target.checked)};return a.watch(()=>t.indeterminate,l=>{r.value&&(r.value.indeterminate=l)}),a.onMounted(()=>{r.value&&(r.value.indeterminate=t.indeterminate)}),(l,u)=>(a.openBlock(),a.createElementBlock("div",Zg,[a.createElementVNode("input",{ref_key:"inputRef",ref:r,class:"form-check-input mr-2 mt-0",type:"checkbox",id:n.id,name:n.name,style:a.normalizeStyle({padding:s.value}),checked:n.modelValue,onChange:o},null,44,Xg),n.label?(a.openBlock(),a.createElementBlock("label",{key:0,class:a.normalizeClass(["form-check-label lh-n",{"cursor-pointer":n.clickableLabel}]),for:n.clickableLabel?n.id:void 0},a.toDisplayString(n.label),11,eb)):a.createCommentVNode("",!0)]))}};var ib=Object.defineProperty,nb=Object.defineProperties,rb=Object.getOwnPropertyDescriptors,fc=Object.getOwnPropertySymbols,sb=Object.prototype.hasOwnProperty,ab=Object.prototype.propertyIsEnumerable,pc=(n,e,t)=>e in n?ib(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,ji=(n,e)=>{for(var t in e||(e={}))sb.call(e,t)&&pc(n,t,e[t]);if(fc)for(var t of fc(e))ab.call(e,t)&&pc(n,t,e[t]);return n},mc=(n,e)=>nb(n,rb(e));const ob={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}}}},lb={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}}},ub={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}}},vo=(n,e)=>{const t=n.__vccOpts||n;for(const[i,r]of e)t[i]=r;return t},cb={},db={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10"},hb=a.createElementVNode("path",{d:"M6.895455 5l2.842897-2.842898c.348864-.348863.348864-.914488 0-1.263636L9.106534.261648c-.348864-.348864-.914489-.348864-1.263636 0L5 3.104545 2.157102.261648c-.348863-.348864-.914488-.348864-1.263636 0L.261648.893466c-.348864.348864-.348864.914489 0 1.263636L3.104545 5 .261648 7.842898c-.348864.348863-.348864.914488 0 1.263636l.631818.631818c.348864.348864.914773.348864 1.263636 0L5 6.895455l2.842898 2.842897c.348863.348864.914772.348864 1.263636 0l.631818-.631818c.348864-.348864.348864-.914489 0-1.263636L6.895455 5z"},null,-1),fb=[hb];function pb(n,e){return a.openBlock(),a.createElementBlock("svg",db,fb)}const mb=vo(cb,[["render",pb]]),gb={},bb={xmlns:"http://www.w3.org/2000/svg",width:"14",height:"10"},vb=a.createElementVNode("path",{d:"M9.211364 7.59931l4.48338-4.867229c.407008-.441854.407008-1.158247 0-1.60046l-.73712-.80023c-.407008-.441854-1.066904-.441854-1.474243 0L7 5.198617 2.51662.33139c-.407008-.441853-1.066904-.441853-1.474243 0l-.737121.80023c-.407008.441854-.407008 1.158248 0 1.600461l4.48338 4.867228L7 10l2.211364-2.40069z"},null,-1),yb=[vb];function wb(n,e){return a.openBlock(),a.createElementBlock("svg",bb,yb)}const Cb=vo(gb,[["render",wb]]),gc={Deselect:mb,OpenIndicator:Cb},Ab={mounted(n,{instance:e}){if(e.appendToBody){const{height:t,top:i,left:r,width:s}=e.$refs.toggle.getBoundingClientRect();let o=window.scrollX||window.pageXOffset,l=window.scrollY||window.pageYOffset;n.unbindPosition=e.calculatePosition(n,e,{width:s+"px",left:o+r+"px",top:l+i+t+"px"}),document.body.appendChild(n)}},unmounted(n,{instance:e}){e.appendToBody&&(n.unbindPosition&&typeof n.unbindPosition=="function"&&n.unbindPosition(),n.parentNode&&n.parentNode.removeChild(n))}};function Eb(n){const e={};return Object.keys(n).sort().forEach(t=>{e[t]=n[t]}),JSON.stringify(e)}let kb=0;function Sb(){return++kb}const xb={components:ji({},gc),directives:{appendToBody:Ab},mixins:[ob,lb,ub],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:Eb(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:()=>Sb()}},data(){return{search:"",open:!1,isComposing:!1,pushedTags:[],_value:[],deselectButtons:[]}},computed:{isReducingValues(){return this.$props.reduce!==this.$options.props.reduce.default},isTrackingValues(){return typeof this.modelValue>"u"||this.isReducingValues},selectedValue(){let n=this.modelValue;return this.isTrackingValues&&(n=this.$data._value),n!=null&&n!==""?[].concat(n):[]},optionList(){return this.options.concat(this.pushTags?this.pushedTags:[])},searchEl(){return this.$slots.search?this.$refs.selectedOptions.querySelector(this.searchInputQuerySelector):this.$refs.search},scope(){const n={search:this.search,loading:this.loading,searching:this.searching,filteredOptions:this.filteredOptions};return{search:{attributes:ji({disabled:this.disabled,placeholder:this.searchPlaceholder,tabindex:this.tabindex,readonly:!this.searchable,id:this.inputId,"aria-autocomplete":"list","aria-labelledby":`vs${this.uid}__combobox`,"aria-controls":`vs${this.uid}__listbox`,ref:"search",type:"search",autocomplete:this.autocomplete,value:this.search},this.dropdownOpen&&this.filteredOptions[this.typeAheadPointer]?{"aria-activedescendant":`vs${this.uid}__option-${this.typeAheadPointer}`}:{}),events:{compositionstart:()=>this.isComposing=!0,compositionend:()=>this.isComposing=!1,keydown:this.onSearchKeyDown,blur:this.onSearchBlur,focus:this.onSearchFocus,input:e=>this.search=e.target.value}},spinner:{loading:this.mutableLoading},noOptions:{search:this.search,loading:this.mutableLoading,searching:this.searching},openIndicator:{attributes:{ref:"openIndicator",role:"presentation",class:"vs__open-indicator"}},listHeader:n,listFooter:n,header:mc(ji({},n),{deselect:this.deselect}),footer:mc(ji({},n),{deselect:this.deselect})}},childComponents(){return ji(ji({},gc),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)}}},Rb=["dir"],Mb=["id","aria-expanded","aria-owns"],Tb={ref:"selectedOptions",class:"vs__selected-options"},Db=["disabled","title","aria-label","onClick"],Ob={ref:"actions",class:"vs__actions"},Lb=["disabled"],Bb={class:"vs__spinner"},Fb=["id"],_b=["id","aria-selected","onMouseover","onClick"],Pb={key:0,class:"vs__no-options"},Nb=a.createTextVNode(" Sorry, no matching options. "),Ib=["id"];function Hb(n,e,t,i,r,s){const o=a.resolveDirective("append-to-body");return a.openBlock(),a.createElementBlock("div",{dir:t.dir,class:a.normalizeClass(["v-select",s.stateClasses])},[a.renderSlot(n.$slots,"header",a.normalizeProps(a.guardReactiveProps(s.scope.header))),a.createElementVNode("div",{id:`vs${t.uid}__combobox`,ref:"toggle",class:"vs__dropdown-toggle",role:"combobox","aria-expanded":s.dropdownOpen.toString(),"aria-owns":`vs${t.uid}__listbox`,"aria-label":"Search for option",onMousedown:e[1]||(e[1]=l=>s.toggleDropdown(l))},[a.createElementVNode("div",Tb,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(s.selectedValue,(l,u)=>a.renderSlot(n.$slots,"selected-option-container",{option:s.normalizeOptionForSlot(l),deselect:s.deselect,multiple:t.multiple,disabled:t.disabled},()=>[(a.openBlock(),a.createElementBlock("span",{key:t.getOptionKey(l),class:"vs__selected"},[a.renderSlot(n.$slots,"selected-option",a.normalizeProps(a.guardReactiveProps(s.normalizeOptionForSlot(l))),()=>[a.createTextVNode(a.toDisplayString(t.getOptionLabel(l)),1)]),t.multiple?(a.openBlock(),a.createElementBlock("button",{key:0,ref_for:!0,ref:c=>r.deselectButtons[u]=c,disabled:t.disabled,type:"button",class:"vs__deselect",title:`Deselect ${t.getOptionLabel(l)}`,"aria-label":`Deselect ${t.getOptionLabel(l)}`,onClick:c=>s.deselect(l)},[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(s.childComponents.Deselect)))],8,Db)):a.createCommentVNode("",!0)]))])),256)),a.renderSlot(n.$slots,"search",a.normalizeProps(a.guardReactiveProps(s.scope.search)),()=>[a.createElementVNode("input",a.mergeProps({class:"vs__search"},s.scope.search.attributes,a.toHandlers(s.scope.search.events)),null,16)])],512),a.createElementVNode("div",Ob,[a.withDirectives(a.createElementVNode("button",{ref:"clearButton",disabled:t.disabled,type:"button",class:"vs__clear",title:"Clear Selected","aria-label":"Clear Selected",onClick:e[0]||(e[0]=(...l)=>s.clearSelection&&s.clearSelection(...l))},[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(s.childComponents.Deselect)))],8,Lb),[[a.vShow,s.showClearButton]]),a.renderSlot(n.$slots,"open-indicator",a.normalizeProps(a.guardReactiveProps(s.scope.openIndicator)),()=>[t.noDrop?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(a.resolveDynamicComponent(s.childComponents.OpenIndicator),a.normalizeProps(a.mergeProps({key:0},s.scope.openIndicator.attributes)),null,16))]),a.renderSlot(n.$slots,"spinner",a.normalizeProps(a.guardReactiveProps(s.scope.spinner)),()=>[a.withDirectives(a.createElementVNode("div",Bb,"Loading...",512),[[a.vShow,n.mutableLoading]])])],512)],40,Mb),a.createVNode(a.Transition,{name:t.transition},{default:a.withCtx(()=>[s.dropdownOpen?a.withDirectives((a.openBlock(),a.createElementBlock("ul",{id:`vs${t.uid}__listbox`,ref:"dropdownMenu",key:`vs${t.uid}__listbox`,class:"vs__dropdown-menu",role:"listbox",tabindex:"-1",onMousedown:e[2]||(e[2]=a.withModifiers((...l)=>s.onMousedown&&s.onMousedown(...l),["prevent"])),onMouseup:e[3]||(e[3]=(...l)=>s.onMouseUp&&s.onMouseUp(...l))},[a.renderSlot(n.$slots,"list-header",a.normalizeProps(a.guardReactiveProps(s.scope.listHeader))),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(s.filteredOptions,(l,u)=>(a.openBlock(),a.createElementBlock("li",{id:`vs${t.uid}__option-${u}`,key:t.getOptionKey(l),role:"option",class:a.normalizeClass(["vs__dropdown-option",{"vs__dropdown-option--deselect":s.isOptionDeselectable(l)&&u===n.typeAheadPointer,"vs__dropdown-option--selected":s.isOptionSelected(l),"vs__dropdown-option--highlight":u===n.typeAheadPointer,"vs__dropdown-option--disabled":!t.selectable(l)}]),"aria-selected":u===n.typeAheadPointer?!0:null,onMouseover:c=>t.selectable(l)?n.typeAheadPointer=u:null,onClick:a.withModifiers(c=>t.selectable(l)?s.select(l):null,["prevent","stop"])},[a.renderSlot(n.$slots,"option",a.normalizeProps(a.guardReactiveProps(s.normalizeOptionForSlot(l))),()=>[a.createTextVNode(a.toDisplayString(t.getOptionLabel(l)),1)])],42,_b))),128)),s.filteredOptions.length===0?(a.openBlock(),a.createElementBlock("li",Pb,[a.renderSlot(n.$slots,"no-options",a.normalizeProps(a.guardReactiveProps(s.scope.noOptions)),()=>[Nb])])):a.createCommentVNode("",!0),a.renderSlot(n.$slots,"list-footer",a.normalizeProps(a.guardReactiveProps(s.scope.listFooter)))],40,Fb)),[[o]]):(a.openBlock(),a.createElementBlock("ul",{key:1,id:`vs${t.uid}__listbox`,role:"listbox",style:{display:"none",visibility:"hidden"}},null,8,Ib))]),_:3},8,["name"]),a.renderSlot(n.$slots,"footer",a.normalizeProps(a.guardReactiveProps(s.scope.footer)))],10,Rb)}const Vb=vo(xb,[["render",Hb]]);var yt="top",Ot="bottom",Lt="right",wt="left",yo="auto",hn=[yt,Ot,Lt,wt],Wi="start",fn="end",zb="clippingParents",bc="viewport",pn="popper",jb="reference",vc=hn.reduce(function(n,e){return n.concat([e+"-"+Wi,e+"-"+fn])},[]),yc=[].concat(hn,[yo]).reduce(function(n,e){return n.concat([e,e+"-"+Wi,e+"-"+fn])},[]),Wb="beforeRead",Ub="read",Gb="afterRead",Yb="beforeMain",Qb="main",Kb="afterMain",Jb="beforeWrite",qb="write",$b="afterWrite",Zb=[Wb,Ub,Gb,Yb,Qb,Kb,Jb,qb,$b];function Qt(n){return n?(n.nodeName||"").toLowerCase():null}function kt(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var e=n.ownerDocument;return e&&e.defaultView||window}return n}function Si(n){var e=kt(n).Element;return n instanceof e||n instanceof Element}function Bt(n){var e=kt(n).HTMLElement;return n instanceof e||n instanceof HTMLElement}function wo(n){if(typeof ShadowRoot>"u")return!1;var e=kt(n).ShadowRoot;return n instanceof e||n instanceof ShadowRoot}function Xb(n){var e=n.state;Object.keys(e.elements).forEach(function(t){var i=e.styles[t]||{},r=e.attributes[t]||{},s=e.elements[t];!Bt(s)||!Qt(s)||(Object.assign(s.style,i),Object.keys(r).forEach(function(o){var l=r[o];l===!1?s.removeAttribute(o):s.setAttribute(o,l===!0?"":l)}))})}function ev(n){var e=n.state,t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,t.popper),e.styles=t,e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow),function(){Object.keys(e.elements).forEach(function(i){var r=e.elements[i],s=e.attributes[i]||{},o=Object.keys(e.styles.hasOwnProperty(i)?e.styles[i]:t[i]),l=o.reduce(function(u,c){return u[c]="",u},{});!Bt(r)||!Qt(r)||(Object.assign(r.style,l),Object.keys(s).forEach(function(u){r.removeAttribute(u)}))})}}const tv={name:"applyStyles",enabled:!0,phase:"write",fn:Xb,effect:ev,requires:["computeStyles"]};function Kt(n){return n.split("-")[0]}var xi=Math.max,lr=Math.min,Ui=Math.round;function Co(){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 wc(){return!/^((?!chrome|android).)*safari/i.test(Co())}function Gi(n,e,t){e===void 0&&(e=!1),t===void 0&&(t=!1);var i=n.getBoundingClientRect(),r=1,s=1;e&&Bt(n)&&(r=n.offsetWidth>0&&Ui(i.width)/n.offsetWidth||1,s=n.offsetHeight>0&&Ui(i.height)/n.offsetHeight||1);var o=Si(n)?kt(n):window,l=o.visualViewport,u=!wc()&&t,c=(i.left+(u&&l?l.offsetLeft:0))/r,d=(i.top+(u&&l?l.offsetTop:0))/s,f=i.width/r,p=i.height/s;return{width:f,height:p,top:d,right:c+f,bottom:d+p,left:c,x:c,y:d}}function Ao(n){var e=Gi(n),t=n.offsetWidth,i=n.offsetHeight;return Math.abs(e.width-t)<=1&&(t=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:n.offsetLeft,y:n.offsetTop,width:t,height:i}}function Cc(n,e){var t=e.getRootNode&&e.getRootNode();if(n.contains(e))return!0;if(t&&wo(t)){var i=e;do{if(i&&n.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function li(n){return kt(n).getComputedStyle(n)}function iv(n){return["table","td","th"].indexOf(Qt(n))>=0}function mi(n){return((Si(n)?n.ownerDocument:n.document)||window.document).documentElement}function ur(n){return Qt(n)==="html"?n:n.assignedSlot||n.parentNode||(wo(n)?n.host:null)||mi(n)}function Ac(n){return!Bt(n)||li(n).position==="fixed"?null:n.offsetParent}function nv(n){var e=/firefox/i.test(Co()),t=/Trident/i.test(Co());if(t&&Bt(n)){var i=li(n);if(i.position==="fixed")return null}var r=ur(n);for(wo(r)&&(r=r.host);Bt(r)&&["html","body"].indexOf(Qt(r))<0;){var s=li(r);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||e&&s.willChange==="filter"||e&&s.filter&&s.filter!=="none")return r;r=r.parentNode}return null}function mn(n){for(var e=kt(n),t=Ac(n);t&&iv(t)&&li(t).position==="static";)t=Ac(t);return t&&(Qt(t)==="html"||Qt(t)==="body"&&li(t).position==="static")?e:t||nv(n)||e}function Eo(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function gn(n,e,t){return xi(n,lr(e,t))}function rv(n,e,t){var i=gn(n,e,t);return i>t?t:i}function Ec(){return{top:0,right:0,bottom:0,left:0}}function kc(n){return Object.assign({},Ec(),n)}function Sc(n,e){return e.reduce(function(t,i){return t[i]=n,t},{})}var sv=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,kc(typeof e!="number"?e:Sc(e,hn))};function av(n){var e,t=n.state,i=n.name,r=n.options,s=t.elements.arrow,o=t.modifiersData.popperOffsets,l=Kt(t.placement),u=Eo(l),c=[wt,Lt].indexOf(l)>=0,d=c?"height":"width";if(!(!s||!o)){var f=sv(r.padding,t),p=Ao(s),h=u==="y"?yt:wt,x=u==="y"?Ot:Lt,b=t.rects.reference[d]+t.rects.reference[u]-o[u]-t.rects.popper[d],S=o[u]-t.rects.reference[u],C=mn(s),m=C?u==="y"?C.clientHeight||0:C.clientWidth||0:0,D=b/2-S/2,g=f[h],M=m-p[d]-f[x],y=m/2-p[d]/2+D,k=gn(g,y,M),w=u;t.modifiersData[i]=(e={},e[w]=k,e.centerOffset=k-y,e)}}function ov(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)||Cc(e.elements.popper,r)&&(e.elements.arrow=r))}const lv={name:"arrow",enabled:!0,phase:"main",fn:av,effect:ov,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Yi(n){return n.split("-")[1]}var uv={top:"auto",right:"auto",bottom:"auto",left:"auto"};function cv(n,e){var t=n.x,i=n.y,r=e.devicePixelRatio||1;return{x:Ui(t*r)/r||0,y:Ui(i*r)/r||0}}function xc(n){var e,t=n.popper,i=n.popperRect,r=n.placement,s=n.variation,o=n.offsets,l=n.position,u=n.gpuAcceleration,c=n.adaptive,d=n.roundOffsets,f=n.isFixed,p=o.x,h=p===void 0?0:p,x=o.y,b=x===void 0?0:x,S=typeof d=="function"?d({x:h,y:b}):{x:h,y:b};h=S.x,b=S.y;var C=o.hasOwnProperty("x"),m=o.hasOwnProperty("y"),D=wt,g=yt,M=window;if(c){var y=mn(t),k="clientHeight",w="clientWidth";if(y===kt(t)&&(y=mi(t),li(y).position!=="static"&&l==="absolute"&&(k="scrollHeight",w="scrollWidth")),y=y,r===yt||(r===wt||r===Lt)&&s===fn){g=Ot;var E=f&&y===M&&M.visualViewport?M.visualViewport.height:y[k];b-=E-i.height,b*=u?1:-1}if(r===wt||(r===yt||r===Ot)&&s===fn){D=Lt;var v=f&&y===M&&M.visualViewport?M.visualViewport.width:y[w];h-=v-i.width,h*=u?1:-1}}var T=Object.assign({position:l},c&&uv),R=d===!0?cv({x:h,y:b},kt(t)):{x:h,y:b};if(h=R.x,b=R.y,u){var L;return Object.assign({},T,(L={},L[g]=m?"0":"",L[D]=C?"0":"",L.transform=(M.devicePixelRatio||1)<=1?"translate("+h+"px, "+b+"px)":"translate3d("+h+"px, "+b+"px, 0)",L))}return Object.assign({},T,(e={},e[g]=m?b+"px":"",e[D]=C?h+"px":"",e.transform="",e))}function dv(n){var e=n.state,t=n.options,i=t.gpuAcceleration,r=i===void 0?!0:i,s=t.adaptive,o=s===void 0?!0:s,l=t.roundOffsets,u=l===void 0?!0:l,c={placement:Kt(e.placement),variation:Yi(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,xc(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:u})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,xc(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 hv={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:dv,data:{}};var cr={passive:!0};function fv(n){var e=n.state,t=n.instance,i=n.options,r=i.scroll,s=r===void 0?!0:r,o=i.resize,l=o===void 0?!0:o,u=kt(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&c.forEach(function(d){d.addEventListener("scroll",t.update,cr)}),l&&u.addEventListener("resize",t.update,cr),function(){s&&c.forEach(function(d){d.removeEventListener("scroll",t.update,cr)}),l&&u.removeEventListener("resize",t.update,cr)}}const pv={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:fv,data:{}};var mv={left:"right",right:"left",bottom:"top",top:"bottom"};function dr(n){return n.replace(/left|right|bottom|top/g,function(e){return mv[e]})}var gv={start:"end",end:"start"};function Rc(n){return n.replace(/start|end/g,function(e){return gv[e]})}function ko(n){var e=kt(n),t=e.pageXOffset,i=e.pageYOffset;return{scrollLeft:t,scrollTop:i}}function So(n){return Gi(mi(n)).left+ko(n).scrollLeft}function bv(n,e){var t=kt(n),i=mi(n),r=t.visualViewport,s=i.clientWidth,o=i.clientHeight,l=0,u=0;if(r){s=r.width,o=r.height;var c=wc();(c||!c&&e==="fixed")&&(l=r.offsetLeft,u=r.offsetTop)}return{width:s,height:o,x:l+So(n),y:u}}function vv(n){var e,t=mi(n),i=ko(n),r=(e=n.ownerDocument)==null?void 0:e.body,s=xi(t.scrollWidth,t.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=xi(t.scrollHeight,t.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),l=-i.scrollLeft+So(n),u=-i.scrollTop;return li(r||t).direction==="rtl"&&(l+=xi(t.clientWidth,r?r.clientWidth:0)-s),{width:s,height:o,x:l,y:u}}function xo(n){var e=li(n),t=e.overflow,i=e.overflowX,r=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+r+i)}function Mc(n){return["html","body","#document"].indexOf(Qt(n))>=0?n.ownerDocument.body:Bt(n)&&xo(n)?n:Mc(ur(n))}function bn(n,e){var t;e===void 0&&(e=[]);var i=Mc(n),r=i===((t=n.ownerDocument)==null?void 0:t.body),s=kt(i),o=r?[s].concat(s.visualViewport||[],xo(i)?i:[]):i,l=e.concat(o);return r?l:l.concat(bn(ur(o)))}function Ro(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function yv(n,e){var t=Gi(n,!1,e==="fixed");return t.top=t.top+n.clientTop,t.left=t.left+n.clientLeft,t.bottom=t.top+n.clientHeight,t.right=t.left+n.clientWidth,t.width=n.clientWidth,t.height=n.clientHeight,t.x=t.left,t.y=t.top,t}function Tc(n,e,t){return e===bc?Ro(bv(n,t)):Si(e)?yv(e,t):Ro(vv(mi(n)))}function wv(n){var e=bn(ur(n)),t=["absolute","fixed"].indexOf(li(n).position)>=0,i=t&&Bt(n)?mn(n):n;return Si(i)?e.filter(function(r){return Si(r)&&Cc(r,i)&&Qt(r)!=="body"}):[]}function Cv(n,e,t,i){var r=e==="clippingParents"?wv(n):[].concat(e),s=[].concat(r,[t]),o=s[0],l=s.reduce(function(u,c){var d=Tc(n,c,i);return u.top=xi(d.top,u.top),u.right=lr(d.right,u.right),u.bottom=lr(d.bottom,u.bottom),u.left=xi(d.left,u.left),u},Tc(n,o,i));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Dc(n){var e=n.reference,t=n.element,i=n.placement,r=i?Kt(i):null,s=i?Yi(i):null,o=e.x+e.width/2-t.width/2,l=e.y+e.height/2-t.height/2,u;switch(r){case yt:u={x:o,y:e.y-t.height};break;case Ot:u={x:o,y:e.y+e.height};break;case Lt:u={x:e.x+e.width,y:l};break;case wt:u={x:e.x-t.width,y:l};break;default:u={x:e.x,y:e.y}}var c=r?Eo(r):null;if(c!=null){var d=c==="y"?"height":"width";switch(s){case Wi:u[c]=u[c]-(e[d]/2-t[d]/2);break;case fn:u[c]=u[c]+(e[d]/2-t[d]/2);break}}return u}function vn(n,e){e===void 0&&(e={});var t=e,i=t.placement,r=i===void 0?n.placement:i,s=t.strategy,o=s===void 0?n.strategy:s,l=t.boundary,u=l===void 0?zb:l,c=t.rootBoundary,d=c===void 0?bc:c,f=t.elementContext,p=f===void 0?pn:f,h=t.altBoundary,x=h===void 0?!1:h,b=t.padding,S=b===void 0?0:b,C=kc(typeof S!="number"?S:Sc(S,hn)),m=p===pn?jb:pn,D=n.rects.popper,g=n.elements[x?m:p],M=Cv(Si(g)?g:g.contextElement||mi(n.elements.popper),u,d,o),y=Gi(n.elements.reference),k=Dc({reference:y,element:D,placement:r}),w=Ro(Object.assign({},D,k)),E=p===pn?w:y,v={top:M.top-E.top+C.top,bottom:E.bottom-M.bottom+C.bottom,left:M.left-E.left+C.left,right:E.right-M.right+C.right},T=n.modifiersData.offset;if(p===pn&&T){var R=T[r];Object.keys(v).forEach(function(L){var N=[Lt,Ot].indexOf(L)>=0?1:-1,j=[yt,Ot].indexOf(L)>=0?"y":"x";v[L]+=R[j]*N})}return v}function Av(n,e){e===void 0&&(e={});var t=e,i=t.placement,r=t.boundary,s=t.rootBoundary,o=t.padding,l=t.flipVariations,u=t.allowedAutoPlacements,c=u===void 0?yc:u,d=Yi(i),f=d?l?vc:vc.filter(function(x){return Yi(x)===d}):hn,p=f.filter(function(x){return c.indexOf(x)>=0});p.length===0&&(p=f);var h=p.reduce(function(x,b){return x[b]=vn(n,{placement:b,boundary:r,rootBoundary:s,padding:o})[Kt(b)],x},{});return Object.keys(h).sort(function(x,b){return h[x]-h[b]})}function Ev(n){if(Kt(n)===yo)return[];var e=dr(n);return[Rc(n),e,Rc(e)]}function kv(n){var e=n.state,t=n.options,i=n.name;if(!e.modifiersData[i]._skip){for(var r=t.mainAxis,s=r===void 0?!0:r,o=t.altAxis,l=o===void 0?!0:o,u=t.fallbackPlacements,c=t.padding,d=t.boundary,f=t.rootBoundary,p=t.altBoundary,h=t.flipVariations,x=h===void 0?!0:h,b=t.allowedAutoPlacements,S=e.options.placement,C=Kt(S),m=C===S,D=u||(m||!x?[dr(S)]:Ev(S)),g=[S].concat(D).reduce(function(J,$){return J.concat(Kt($)===yo?Av(e,{placement:$,boundary:d,rootBoundary:f,padding:c,flipVariations:x,allowedAutoPlacements:b}):$)},[]),M=e.rects.reference,y=e.rects.popper,k=new Map,w=!0,E=g[0],v=0;v<g.length;v++){var T=g[v],R=Kt(T),L=Yi(T)===Wi,N=[yt,Ot].indexOf(R)>=0,j=N?"width":"height",U=vn(e,{placement:T,boundary:d,rootBoundary:f,altBoundary:p,padding:c}),I=N?L?Lt:wt:L?Ot:yt;M[j]>y[j]&&(I=dr(I));var V=dr(I),K=[];if(s&&K.push(U[R]<=0),l&&K.push(U[I]<=0,U[V]<=0),K.every(function(J){return J})){E=T,w=!1;break}k.set(T,K)}if(w)for(var F=x?3:1,P=function($){var Q=g.find(function(se){var W=k.get(se);if(W)return W.slice(0,$).every(function(H){return H})});if(Q)return E=Q,"break"},Y=F;Y>0;Y--){var z=P(Y);if(z==="break")break}e.placement!==E&&(e.modifiersData[i]._skip=!0,e.placement=E,e.reset=!0)}}const Sv={name:"flip",enabled:!0,phase:"main",fn:kv,requiresIfExists:["offset"],data:{_skip:!1}};function Oc(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 Lc(n){return[yt,Lt,Ot,wt].some(function(e){return n[e]>=0})}function xv(n){var e=n.state,t=n.name,i=e.rects.reference,r=e.rects.popper,s=e.modifiersData.preventOverflow,o=vn(e,{elementContext:"reference"}),l=vn(e,{altBoundary:!0}),u=Oc(o,i),c=Oc(l,r,s),d=Lc(u),f=Lc(c);e.modifiersData[t]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":f})}const Rv={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:xv};function Mv(n,e,t){var i=Kt(n),r=[wt,yt].indexOf(i)>=0?-1:1,s=typeof t=="function"?t(Object.assign({},e,{placement:n})):t,o=s[0],l=s[1];return o=o||0,l=(l||0)*r,[wt,Lt].indexOf(i)>=0?{x:l,y:o}:{x:o,y:l}}function Tv(n){var e=n.state,t=n.options,i=n.name,r=t.offset,s=r===void 0?[0,0]:r,o=yc.reduce(function(d,f){return d[f]=Mv(f,e.rects,s),d},{}),l=o[e.placement],u=l.x,c=l.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=c),e.modifiersData[i]=o}const Dv={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Tv};function Ov(n){var e=n.state,t=n.name;e.modifiersData[t]=Dc({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})}const Lv={name:"popperOffsets",enabled:!0,phase:"read",fn:Ov,data:{}};function Bv(n){return n==="x"?"y":"x"}function Fv(n){var e=n.state,t=n.options,i=n.name,r=t.mainAxis,s=r===void 0?!0:r,o=t.altAxis,l=o===void 0?!1:o,u=t.boundary,c=t.rootBoundary,d=t.altBoundary,f=t.padding,p=t.tether,h=p===void 0?!0:p,x=t.tetherOffset,b=x===void 0?0:x,S=vn(e,{boundary:u,rootBoundary:c,padding:f,altBoundary:d}),C=Kt(e.placement),m=Yi(e.placement),D=!m,g=Eo(C),M=Bv(g),y=e.modifiersData.popperOffsets,k=e.rects.reference,w=e.rects.popper,E=typeof b=="function"?b(Object.assign({},e.rects,{placement:e.placement})):b,v=typeof E=="number"?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),T=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,R={x:0,y:0};if(y){if(s){var L,N=g==="y"?yt:wt,j=g==="y"?Ot:Lt,U=g==="y"?"height":"width",I=y[g],V=I+S[N],K=I-S[j],F=h?-w[U]/2:0,P=m===Wi?k[U]:w[U],Y=m===Wi?-w[U]:-k[U],z=e.elements.arrow,J=h&&z?Ao(z):{width:0,height:0},$=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Ec(),Q=$[N],se=$[j],W=gn(0,k[U],J[U]),H=D?k[U]/2-F-W-Q-v.mainAxis:P-W-Q-v.mainAxis,te=D?-k[U]/2+F+W+se+v.mainAxis:Y+W+se+v.mainAxis,X=e.elements.arrow&&mn(e.elements.arrow),Z=X?g==="y"?X.clientTop||0:X.clientLeft||0:0,fe=(L=T?.[g])!=null?L:0,le=I+H-fe-Z,ye=I+te-fe,we=gn(h?lr(V,le):V,I,h?xi(K,ye):K);y[g]=we,R[g]=we-I}if(l){var xe,Fe=g==="x"?yt:wt,_e=g==="x"?Ot:Lt,Ie=y[M],ce=M==="y"?"height":"width",q=Ie+S[Fe],ie=Ie-S[_e],me=[yt,wt].indexOf(C)!==-1,de=(xe=T?.[M])!=null?xe:0,ke=me?q:Ie-k[ce]-w[ce]-de+v.altAxis,Me=me?Ie+k[ce]+w[ce]-de-v.altAxis:ie,oe=h&&me?rv(ke,Ie,Me):gn(h?ke:q,Ie,h?Me:ie);y[M]=oe,R[M]=oe-Ie}e.modifiersData[i]=R}}const _v={name:"preventOverflow",enabled:!0,phase:"main",fn:Fv,requiresIfExists:["offset"]};function Pv(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function Nv(n){return n===kt(n)||!Bt(n)?ko(n):Pv(n)}function Iv(n){var e=n.getBoundingClientRect(),t=Ui(e.width)/n.offsetWidth||1,i=Ui(e.height)/n.offsetHeight||1;return t!==1||i!==1}function Hv(n,e,t){t===void 0&&(t=!1);var i=Bt(e),r=Bt(e)&&Iv(e),s=mi(e),o=Gi(n,r,t),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!t)&&((Qt(e)!=="body"||xo(s))&&(l=Nv(e)),Bt(e)?(u=Gi(e,!0),u.x+=e.clientLeft,u.y+=e.clientTop):s&&(u.x=So(s))),{x:o.left+l.scrollLeft-u.x,y:o.top+l.scrollTop-u.y,width:o.width,height:o.height}}function Vv(n){var e=new Map,t=new Set,i=[];n.forEach(function(s){e.set(s.name,s)});function r(s){t.add(s.name);var o=[].concat(s.requires||[],s.requiresIfExists||[]);o.forEach(function(l){if(!t.has(l)){var u=e.get(l);u&&r(u)}}),i.push(s)}return n.forEach(function(s){t.has(s.name)||r(s)}),i}function zv(n){var e=Vv(n);return Zb.reduce(function(t,i){return t.concat(e.filter(function(r){return r.phase===i}))},[])}function jv(n){var e;return function(){return e||(e=new Promise(function(t){Promise.resolve().then(function(){e=void 0,t(n())})})),e}}function Wv(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 Bc={placement:"bottom",modifiers:[],strategy:"absolute"};function Fc(){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 Uv(n){n===void 0&&(n={});var e=n,t=e.defaultModifiers,i=t===void 0?[]:t,r=e.defaultOptions,s=r===void 0?Bc:r;return function(l,u,c){c===void 0&&(c=s);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},Bc,s),modifiersData:{},elements:{reference:l,popper:u},attributes:{},styles:{}},f=[],p=!1,h={state:d,setOptions:function(C){var m=typeof C=="function"?C(d.options):C;b(),d.options=Object.assign({},s,d.options,m),d.scrollParents={reference:Si(l)?bn(l):l.contextElement?bn(l.contextElement):[],popper:bn(u)};var D=zv(Wv([].concat(i,d.options.modifiers)));return d.orderedModifiers=D.filter(function(g){return g.enabled}),x(),h.update()},forceUpdate:function(){if(!p){var C=d.elements,m=C.reference,D=C.popper;if(Fc(m,D)){d.rects={reference:Hv(m,mn(D),d.options.strategy==="fixed"),popper:Ao(D)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(v){return d.modifiersData[v.name]=Object.assign({},v.data)});for(var g=0;g<d.orderedModifiers.length;g++){if(d.reset===!0){d.reset=!1,g=-1;continue}var M=d.orderedModifiers[g],y=M.fn,k=M.options,w=k===void 0?{}:k,E=M.name;typeof y=="function"&&(d=y({state:d,options:w,name:E,instance:h})||d)}}}},update:jv(function(){return new Promise(function(S){h.forceUpdate(),S(d)})}),destroy:function(){b(),p=!0}};if(!Fc(l,u))return h;h.setOptions(c).then(function(S){!p&&c.onFirstUpdate&&c.onFirstUpdate(S)});function x(){d.orderedModifiers.forEach(function(S){var C=S.name,m=S.options,D=m===void 0?{}:m,g=S.effect;if(typeof g=="function"){var M=g({state:d,name:C,instance:h,options:D}),y=function(){};f.push(M||y)}})}function b(){f.forEach(function(S){return S()}),f=[]}return h}}var Gv=[pv,Lv,hv,tv,Dv,Sv,_v,lv,Rv],Yv=Uv({defaultModifiers:Gv});function Qv(n,e,{width:t}){n.style.width=t;const i=Yv(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 Kv={class:"text-muted"},Jv={key:0,class:"py-1"},qv={class:"text-wrap"},$v=["innerHTML"],Zv={key:1,class:"text-muted p-0"},Xv={class:"text-wrap"},ey={key:2,class:"text-muted p-0 small d-flex justify-content-center"},ty={class:"text-wrap px-2"},iy={class:"selected"},ny=["innerHTML"],ry={key:0,style:{"border-left-color":"rgba(88, 151, 251, 0.71)"},class:"vs__spinner"},Vt={__name:"VSelect",props:{modelValue:[String,Object,Number],reduce:{type:Function,default:n=>n.id},hint:{type:String,default:""},classes:{type:Array,default:()=>[]},options:{type:Array,default:()=>[]},title:{type:String},disabled:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},multiple:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},allowClear:{type:Boolean,default:!0},searchTimout:{type:Number,default:1e3},dropDownPlacement:{type:String,default:"bottom",validator(n,e){return["bottom","top"].includes(n)}},error:{type:[Array,String],default:null}},emits:["update:modelValue","search","blur","focus"],setup(n,{emit:e}){const t=e,i=n,r=i.multiple?[]:null;a.getCurrentInstance();const s=a.ref(r),o=ir(u,i.searchTimout),l=a.computed(()=>{const f=oi(i.options);return f?f.map(p=>{const h=i.modelValue;return h?{...p,disabled:p.id===h}:p}):[]});function u(f){t("search",f)}const c=f=>!(!f.id||f.disabled),d=a.computed(()=>Array.isArray(i.error)?i.error?.filter(Boolean):typeof i.error=="string"&&i.error?[i.error]:[]);return a.watch(()=>i.modelValue,f=>{s.value=i.modelValue},{deep:!0}),a.watch(()=>s.value,f=>{t("update:modelValue",f)},{deep:!0}),a.onMounted(()=>{s.value=i.modelValue}),(f,p)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[n.title?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(f.titleClass)},a.toDisplayString(n.title),3)):a.createCommentVNode("",!0),a.createVNode(a.unref(Vb),a.mergeProps({class:"style-chooser"},f.$attrs,{modelValue:s.value,"onUpdate:modelValue":p[0]||(p[0]=h=>s.value=h),reduce:n.reduce,options:l.value,multiple:n.multiple,placeholder:n.placeholder,disabled:n.disabled,loading:n.isLoading,clearable:n.allowClear,placement:n.dropDownPlacement,appendToBody:n.dropDownPlacement==="top","calculate-position":a.unref(Qv),selectable:h=>c(h),"onSearch:blur":p[1]||(p[1]=h=>t("blur")),"onSearch:focus":p[2]||(p[2]=h=>t("focus")),onSearch:a.unref(o),class:[...n.classes,n.error?"not-valid":""]}),{"no-options":a.withCtx(({search:h,searching:x,loading:b})=>[a.createElementVNode("span",Kv,a.toDisplayString(n.hint),1)]),option:a.withCtx(({label:h,html:x,id:b,disabled:S})=>[b?(a.openBlock(),a.createElementBlock("div",Jv,[a.createElementVNode("div",qv,a.toDisplayString(h),1),x?(a.openBlock(),a.createElementBlock("div",{key:0,innerHTML:x},null,8,$v)):a.createCommentVNode("",!0)])):S?(a.openBlock(),a.createElementBlock("div",Zv,[a.createElementVNode("div",Xv,a.toDisplayString(h)+"disabled",1)])):(a.openBlock(),a.createElementBlock("div",ey,[p[3]||(p[3]=a.createElementVNode("span",null,"-",-1)),a.createElementVNode("span",ty,a.toDisplayString(h),1),p[4]||(p[4]=a.createElementVNode("span",null,"-",-1))]))]),"selected-option":a.withCtx(({label:h,html:x})=>[a.createElementVNode("div",iy,[a.createElementVNode("div",null,a.toDisplayString(h),1),x?(a.openBlock(),a.createElementBlock("div",{key:0,innerHTML:x},null,8,ny)):a.createCommentVNode("",!0)])]),spinner:a.withCtx(({loading:h})=>[h?(a.openBlock(),a.createElementBlock("div",ry)):a.createCommentVNode("",!0)]),_:1},16,["modelValue","reduce","options","multiple","placeholder","disabled","loading","clearable","placement","appendToBody","calculate-position","selectable","onSearch","class"]),a.createVNode(ki,{errors:d.value},null,8,["errors"])],64))}},sy={class:"form-check"},ay=["type","id","name"],oy=["for"],_c=Ne(a.defineComponent({__name:"BooleanCheckbox",props:{defaultValue:{default:null},trueValue:{default:"1"},modelValue:{default:void 0},name:{default:""},group:{default:""},type:{default:"checkbox"},label:{default:""},error:{default:""},setFilterParamsStringsHandler:{type:Function,default:void 0}},emits:["update:modelValue"],setup(n,{emit:e}){const t=n,i=e,r=a.ref(),s=pi(),o=a.computed(()=>t.group.length?t.group:t.name),l=()=>{i("update:modelValue",r.value?.checked?t.trueValue:t.defaultValue)},u=a.computed(()=>!t.modelValue||t.modelValue!==t.trueValue?(r.value&&(r.value.checked=!1),c(),null):(r.value&&(r.value.checked=!0),c(),!0)),c=()=>{if(!t.setFilterParamsStringsHandler)return!1;const f=r.value?.checked?"Да":null;t.setFilterParamsStringsHandler(t.name,f)},d=a.computed(()=>Array.isArray(t.error)?t.error?.filter(Boolean)||[]:typeof t.error=="string"&&t.error?[t.error]:[]);return a.watch(()=>t.modelValue,f=>{r.value&&(r.value.checked=!!f)}),(f,p)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[a.createElementVNode("div",sy,[(a.openBlock(),a.createElementBlock("input",{class:a.normalizeClass(["form-check-input mb-1",[f.error?"not-valid":""]]),ref_key:"input",ref:r,type:f.type,id:String(a.unref(s)),name:o.value,key:String(u.value),onClick:l},null,10,ay)),a.createElementVNode("label",{class:a.normalizeClass(["form-check-label",[f.error?"text-danger":""]]),for:String(a.unref(s))},a.toDisplayString(f.label),11,oy)]),a.createVNode(ki,{errors:d.value},null,8,["errors"])],64))}}),[["__scopeId","data-v-c1b5c25e"]]),ly={class:"multi-checkbox"},uy=["checked","onClick","id","value","name"],cy=["for"],dy=Ne(a.defineComponent({__name:"MultiCheckbox",props:{modelValue:{default:()=>[]},inputClass:{default:""},options:{default:()=>[]},error:{default:""},setFilterParamsStringsHandler:{type:Function,default:void 0},name:{default:""}},emits:["update:modelValue"],setup(n,{emit:e}){const t=n,i=e,r=a.toRef(t,"modelValue"),s=a.toRef(t,"options"),o=a.toRef(t,"name");function l(f,p){const h=String(p);let x=[...r.value];r.value.includes(h)?x=r.value.filter(b=>String(b)!==h):x.push(h),i("update:modelValue",x)}const u=a.computed(()=>f=>r.value.includes(String(f)));function c(f){if(!t.setFilterParamsStringsHandler)return;let p=f.map(x=>String(x));const h=s.value.filter(x=>p.includes(String(x.id))).map(x=>x.text);if(p.length===0){t.setFilterParamsStringsHandler(o.value,null);return}t.setFilterParamsStringsHandler(o.value,h.join(", "))}const d=a.computed(()=>Array.isArray(t.error)?t.error?.filter(Boolean)||[]:typeof t.error=="string"&&t.error?[t.error]:[]);return a.watch(()=>r.value,f=>{c(f)},{deep:!0}),(f,p)=>(a.openBlock(),a.createElementBlock("div",ly,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(s.value,h=>(a.openBlock(),a.createElementBlock("div",{class:"form-check",key:h.id},[a.createElementVNode("input",{class:a.normalizeClass(["form-check-input",[f.inputClass,{"not-valid":f.error}]]),type:"checkbox",checked:u.value(h.id),onClick:x=>l(x,h.id),id:`${o.value}-${h.id}`,value:h.id,name:`${o.value}-${h.id}`},null,10,uy),a.createElementVNode("label",{class:"form-check-label d-block",for:`${o.value}-${h.id}`},a.toDisplayString(h.text),9,cy)]))),128)),a.createVNode(ki,{errors:d.value},null,8,["errors"])]))}}),[["__scopeId","data-v-e23ac74b"]]),hy={class:"multi-input"},fy={class:"col"},py={class:"col-auto"},my=["onClick"],gy=Ne(a.defineComponent({__name:"MultiInput",props:{modelValue:{default:()=>[]},title:{default:""},setFilterParamsStringsHandler:{type:Function,default:void 0},name:{default:""},placeholder:{default:""},disabled:{type:Boolean,default:!1},inputClass:{default:""},error:{default:""},maskOptions:{default:""}},emits:["update:modelValue"],setup(n,{emit:e}){const t=n,i=e,r=a.toRef(t,"modelValue");a.toRef(t,"title");const s=a.toRef(t,"placeholder");a.toRef(t,"disabled");const o=a.toRef(t,"error"),l=a.toRef(t,"maskOptions"),u=a.ref([]),c=a.ref(!1),d={value:"",disabled:!1,uniqueKey:1};function f(){const C=oi(d);C.uniqueKey=pi(),u.value.push(C)}function p(C,m){C.value=m}const h=a.computed(()=>u.value.length>1);function x(C){u.value=u.value.filter(m=>m.uniqueKey!==C.uniqueKey)}function b(){u.value=[],f()}function S(C){const m=C.map(g=>g.value);if(i("update:modelValue",m),!t.setFilterParamsStringsHandler)return;const D=m.filter(g=>g&&g.length>0);if(D.length===0){t.setFilterParamsStringsHandler(t.name,null);return}t.setFilterParamsStringsHandler(t.name,D.join(", "))}return a.watch(()=>u.value,C=>{c.value||S(C)},{deep:!0}),a.watch(()=>r.value,C=>{c.value=!0,!C||C.length===0?b():u.value.length!==C.length?u.value=C.map((m,D)=>({value:m,disabled:!1,uniqueKey:pi()+D})):C.forEach((m,D)=>{u.value[D]&&(u.value[D].value=m)}),a.nextTick(()=>{c.value=!1})},{deep:!0}),a.onMounted(()=>{r.value&&r.value.length>0?u.value=r.value.map((C,m)=>({value:C,disabled:!1,uniqueKey:pi()+m})):f()}),(C,m)=>(a.openBlock(),a.createElementBlock("div",hy,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(u.value,(D,g)=>(a.openBlock(),a.createElementBlock("div",{class:"row mb-2",key:D.uniqueKey},[a.createElementVNode("div",fy,[a.createVNode(or,{"model-value":D.value,"onUpdate:modelValue":M=>p(D,M),name:C.name,placeholder:s.value,class:a.normalizeClass(C.inputClass),disabled:D.disabled,"mask-options":l.value,error:o.value},null,8,["model-value","onUpdate:modelValue","name","placeholder","class","disabled","mask-options","error"])]),a.createElementVNode("div",py,[h.value?(a.openBlock(),a.createElementBlock("div",{key:0,class:"d-flex remove-button p-2",style:{cursor:"pointer"},onClick:M=>x(D)},[...m[0]||(m[0]=[a.createElementVNode("i",{class:"bi bi-trash-fill"},null,-1)])],8,my)):a.createCommentVNode("",!0)])]))),128)),a.createVNode(el,{onClick:f})]))}}),[["__scopeId","data-v-9337052b"]]);var Mo=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],Qi={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:typeof window=="object"&&window.navigator.userAgent.indexOf("MSIE")===-1,ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:function(n){return typeof console<"u"&&console.warn(n)},getWeek:function(n){var e=new Date(n.getTime());e.setHours(0,0,0,0),e.setDate(e.getDate()+3-(e.getDay()+6)%7);var t=new Date(e.getFullYear(),0,4);return 1+Math.round(((e.getTime()-t.getTime())/864e5-3+(t.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},yn={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(n){var e=n%100;if(e>3&&e<21)return"th";switch(e%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},Ct=function(n,e){return e===void 0&&(e=2),("000"+n).slice(e*-1)},Ft=function(n){return n===!0?1:0};function Pc(n,e){var t;return function(){var i=this,r=arguments;clearTimeout(t),t=setTimeout(function(){return n.apply(i,r)},e)}}var To=function(n){return n instanceof Array?n:[n]};function gt(n,e,t){if(t===!0)return n.classList.add(e);n.classList.remove(e)}function Je(n,e,t){var i=window.document.createElement(n);return e=e||"",t=t||"",i.className=e,t!==void 0&&(i.textContent=t),i}function hr(n){for(;n.firstChild;)n.removeChild(n.firstChild)}function Nc(n,e){if(e(n))return n;if(n.parentNode)return Nc(n.parentNode,e)}function fr(n,e){var t=Je("div","numInputWrapper"),i=Je("input","numInput "+n),r=Je("span","arrowUp"),s=Je("span","arrowDown");if(navigator.userAgent.indexOf("MSIE 9.0")===-1?i.type="number":(i.type="text",i.pattern="\\d*"),e!==void 0)for(var o in e)i.setAttribute(o,e[o]);return t.appendChild(i),t.appendChild(r),t.appendChild(s),t}function St(n){try{if(typeof n.composedPath=="function"){var e=n.composedPath();return e[0]}return n.target}catch{return n.target}}var Do=function(){},pr=function(n,e,t){return t.months[e?"shorthand":"longhand"][n]},by={D:Do,F:function(n,e,t){n.setMonth(t.months.longhand.indexOf(e))},G:function(n,e){n.setHours((n.getHours()>=12?12:0)+parseFloat(e))},H:function(n,e){n.setHours(parseFloat(e))},J:function(n,e){n.setDate(parseFloat(e))},K:function(n,e,t){n.setHours(n.getHours()%12+12*Ft(new RegExp(t.amPM[1],"i").test(e)))},M:function(n,e,t){n.setMonth(t.months.shorthand.indexOf(e))},S:function(n,e){n.setSeconds(parseFloat(e))},U:function(n,e){return new Date(parseFloat(e)*1e3)},W:function(n,e,t){var i=parseInt(e),r=new Date(n.getFullYear(),0,2+(i-1)*7,0,0,0,0);return r.setDate(r.getDate()-r.getDay()+t.firstDayOfWeek),r},Y:function(n,e){n.setFullYear(parseFloat(e))},Z:function(n,e){return new Date(e)},d:function(n,e){n.setDate(parseFloat(e))},h:function(n,e){n.setHours((n.getHours()>=12?12:0)+parseFloat(e))},i:function(n,e){n.setMinutes(parseFloat(e))},j:function(n,e){n.setDate(parseFloat(e))},l:Do,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:Do,y:function(n,e){n.setFullYear(2e3+parseFloat(e))}},Ri={D:"",F:"",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},wn={Z:function(n){return n.toISOString()},D:function(n,e,t){return e.weekdays.shorthand[wn.w(n,e,t)]},F:function(n,e,t){return pr(wn.n(n,e,t)-1,!1,e)},G:function(n,e,t){return Ct(wn.h(n,e,t))},H:function(n){return Ct(n.getHours())},J:function(n,e){return e.ordinal!==void 0?n.getDate()+e.ordinal(n.getDate()):n.getDate()},K:function(n,e){return e.amPM[Ft(n.getHours()>11)]},M:function(n,e){return pr(n.getMonth(),!0,e)},S:function(n){return Ct(n.getSeconds())},U:function(n){return n.getTime()/1e3},W:function(n,e,t){return t.getWeek(n)},Y:function(n){return Ct(n.getFullYear(),4)},d:function(n){return Ct(n.getDate())},h:function(n){return n.getHours()%12?n.getHours()%12:12},i:function(n){return Ct(n.getMinutes())},j:function(n){return n.getDate()},l:function(n,e){return e.weekdays.longhand[n.getDay()]},m:function(n){return Ct(n.getMonth()+1)},n:function(n){return n.getMonth()+1},s:function(n){return n.getSeconds()},u:function(n){return n.getTime()},w:function(n){return n.getDay()},y:function(n){return String(n.getFullYear()).substring(2)}},Ic=function(n){var e=n.config,t=e===void 0?Qi:e,i=n.l10n,r=i===void 0?yn:i,s=n.isMobile,o=s===void 0?!1:s;return function(l,u,c){var d=c||r;return t.formatDate!==void 0&&!o?t.formatDate(l,u,d):u.split("").map(function(f,p,h){return wn[f]&&h[p-1]!=="\\"?wn[f](l,d,t):f!=="\\"?f:""}).join("")}},Oo=function(n){var e=n.config,t=e===void 0?Qi:e,i=n.l10n,r=i===void 0?yn:i;return function(s,o,l,u){if(!(s!==0&&!s)){var c=u||r,d,f=s;if(s instanceof Date)d=new Date(s.getTime());else if(typeof s!="string"&&s.toFixed!==void 0)d=new Date(s);else if(typeof s=="string"){var p=o||(t||Qi).dateFormat,h=String(s).trim();if(h==="today")d=new Date,l=!0;else if(t&&t.parseDate)d=t.parseDate(s,p);else if(/Z$/.test(h)||/GMT$/.test(h))d=new Date(s);else{for(var x=void 0,b=[],S=0,C=0,m="";S<p.length;S++){var D=p[S],g=D==="\\",M=p[S-1]==="\\"||g;if(Ri[D]&&!M){m+=Ri[D];var y=new RegExp(m).exec(s);y&&(x=!0)&&b[D!=="Y"?"push":"unshift"]({fn:by[D],val:y[++C]})}else g||(m+=".")}d=!t||!t.noCalendar?new Date(new Date().getFullYear(),0,1,0,0,0,0):new Date(new Date().setHours(0,0,0,0)),b.forEach(function(k){var w=k.fn,E=k.val;return d=w(d,E,c)||d}),d=x?d:void 0}}if(!(d instanceof Date&&!isNaN(d.getTime()))){t.errorHandler(new Error("Invalid date provided: "+f));return}return l===!0&&d.setHours(0,0,0,0),d}}};function xt(n,e,t){return t===void 0&&(t=!0),t!==!1?new Date(n.getTime()).setHours(0,0,0,0)-new Date(e.getTime()).setHours(0,0,0,0):n.getTime()-e.getTime()}var vy=function(n,e,t){return n>Math.min(e,t)&&n<Math.max(e,t)},Lo=function(n,e,t){return n*3600+e*60+t},yy=function(n){var e=Math.floor(n/3600),t=(n-e*3600)/60;return[e,t,n-e*3600-t*60]},wy={DAY:864e5};function Bo(n){var e=n.defaultHour,t=n.defaultMinute,i=n.defaultSeconds;if(n.minDate!==void 0){var r=n.minDate.getHours(),s=n.minDate.getMinutes(),o=n.minDate.getSeconds();e<r&&(e=r),e===r&&t<s&&(t=s),e===r&&t===s&&i<o&&(i=n.minDate.getSeconds())}if(n.maxDate!==void 0){var l=n.maxDate.getHours(),u=n.maxDate.getMinutes();e=Math.min(e,l),e===l&&(t=Math.min(u,t)),e===l&&t===u&&(i=n.maxDate.getSeconds())}return{hours:e,minutes:t,seconds:i}}typeof Object.assign!="function"&&(Object.assign=function(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];if(!n)throw TypeError("Cannot convert undefined or null to object");for(var i=function(l){l&&Object.keys(l).forEach(function(u){return n[u]=l[u]})},r=0,s=e;r<s.length;r++){var o=s[r];i(o)}return n});var ft=function(){return ft=Object.assign||function(n){for(var e,t=1,i=arguments.length;t<i;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},ft.apply(this,arguments)},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],o=0,l=s.length;o<l;o++,r++)i[r]=s[o];return i},Cy=300;function Ay(n,e){var t={config:ft(ft({},Qi),ot.defaultConfig),l10n:yn};t.parseDate=Oo({config:t.config,l10n:t.l10n}),t._handlers=[],t.pluginElements=[],t.loadedPlugins=[],t._bind=b,t._setHoursFromDate=p,t._positionCalendar=_e,t.changeMonth=P,t.changeYear=se,t.clear=Y,t.close=z,t.onMouseOver=Z,t._createElement=Je,t.createDay=y,t.destroy=J,t.isEnabled=W,t.jumpToDate=m,t.updateValue=Re,t.open=le,t.redraw=q,t.set=ke,t.setDate=oe,t.toggle=At;function i(){t.utils={getDaysInMonth:function(B,A){return B===void 0&&(B=t.currentMonth),A===void 0&&(A=t.currentYear),B===1&&(A%4===0&&A%100!==0||A%400===0)?29:t.l10n.daysInMonth[B]}}}function r(){t.element=t.input=n,t.isOpen=!1,we(),Fe(),et(),Le(),i(),t.isMobile||M(),C(),(t.selectedDates.length||t.config.noCalendar)&&(t.config.enableTime&&p(t.config.noCalendar?t.latestSelectedDateObj:void 0),Re(!1)),l();var B=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!t.isMobile&&B&&_e(),Ge("onReady")}function s(){var B;return((B=t.calendarContainer)===null||B===void 0?void 0:B.getRootNode()).activeElement||document.activeElement}function o(B){return B.bind(t)}function l(){var B=t.config;B.weekNumbers===!1&&B.showMonths===1||B.noCalendar!==!0&&window.requestAnimationFrame(function(){if(t.calendarContainer!==void 0&&(t.calendarContainer.style.visibility="hidden",t.calendarContainer.style.display="block"),t.daysContainer!==void 0){var A=(t.days.offsetWidth+1)*B.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(B){if(t.selectedDates.length===0){var A=t.config.minDate===void 0||xt(new Date,t.config.minDate)>=0?new Date:new Date(t.config.minDate.getTime()),O=Bo(t.config);A.setHours(O.hours,O.minutes,O.seconds,A.getMilliseconds()),t.selectedDates=[A],t.latestSelectedDateObj=A}B!==void 0&&B.type!=="blur"&&ge(B);var _=t._input.value;f(),Re(),t._input.value!==_&&t._debouncedChange()}function c(B,A){return B%12+12*Ft(A===t.l10n.amPM[1])}function d(B){switch(B%24){case 0:case 12:return 12;default:return B%12}}function f(){if(!(t.hourElement===void 0||t.minuteElement===void 0)){var B=(parseInt(t.hourElement.value.slice(-2),10)||0)%24,A=(parseInt(t.minuteElement.value,10)||0)%60,O=t.secondElement!==void 0?(parseInt(t.secondElement.value,10)||0)%60:0;t.amPM!==void 0&&(B=c(B,t.amPM.textContent));var _=t.config.minTime!==void 0||t.config.minDate&&t.minDateHasTime&&t.latestSelectedDateObj&&xt(t.latestSelectedDateObj,t.config.minDate,!0)===0,G=t.config.maxTime!==void 0||t.config.maxDate&&t.maxDateHasTime&&t.latestSelectedDateObj&&xt(t.latestSelectedDateObj,t.config.maxDate,!0)===0;if(t.config.maxTime!==void 0&&t.config.minTime!==void 0&&t.config.minTime>t.config.maxTime){var ne=Lo(t.config.minTime.getHours(),t.config.minTime.getMinutes(),t.config.minTime.getSeconds()),ue=Lo(t.config.maxTime.getHours(),t.config.maxTime.getMinutes(),t.config.maxTime.getSeconds()),he=Lo(B,A,O);if(he>ue&&he<ne){var pe=yy(ne);B=pe[0],A=pe[1],O=pe[2]}}else{if(G){var be=t.config.maxTime!==void 0?t.config.maxTime:t.config.maxDate;B=Math.min(B,be.getHours()),B===be.getHours()&&(A=Math.min(A,be.getMinutes())),A===be.getMinutes()&&(O=Math.min(O,be.getSeconds()))}if(_){var Ce=t.config.minTime!==void 0?t.config.minTime:t.config.minDate;B=Math.max(B,Ce.getHours()),B===Ce.getHours()&&A<Ce.getMinutes()&&(A=Ce.getMinutes()),A===Ce.getMinutes()&&(O=Math.max(O,Ce.getSeconds()))}}h(B,A,O)}}function p(B){var A=B||t.latestSelectedDateObj;A&&A instanceof Date&&h(A.getHours(),A.getMinutes(),A.getSeconds())}function h(B,A,O){t.latestSelectedDateObj!==void 0&&t.latestSelectedDateObj.setHours(B%24,A,O||0,0),!(!t.hourElement||!t.minuteElement||t.isMobile)&&(t.hourElement.value=Ct(t.config.time_24hr?B:(12+B)%12+12*Ft(B%12===0)),t.minuteElement.value=Ct(A),t.amPM!==void 0&&(t.amPM.textContent=t.l10n.amPM[Ft(B>=12)]),t.secondElement!==void 0&&(t.secondElement.value=Ct(O)))}function x(B){var A=St(B),O=parseInt(A.value)+(B.delta||0);(O/1e3>1||B.key==="Enter"&&!/[^\d]/.test(O.toString()))&&se(O)}function b(B,A,O,_){if(A instanceof Array)return A.forEach(function(G){return b(B,G,O,_)});if(B instanceof Array)return B.forEach(function(G){return b(G,A,O,_)});B.addEventListener(A,O,_),t._handlers.push({remove:function(){return B.removeEventListener(A,O,_)}})}function S(){Ge("onChange")}function C(){if(t.config.wrap&&["open","close","toggle","clear"].forEach(function(O){Array.prototype.forEach.call(t.element.querySelectorAll("[data-"+O+"]"),function(_){return b(_,"click",t[O])})}),t.isMobile){Rt();return}var B=Pc(fe,50);if(t._debouncedChange=Pc(S,Cy),t.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&b(t.daysContainer,"mouseover",function(O){t.config.mode==="range"&&Z(St(O))}),b(t._input,"keydown",X),t.calendarContainer!==void 0&&b(t.calendarContainer,"keydown",X),!t.config.inline&&!t.config.static&&b(window,"resize",B),window.ontouchstart!==void 0?b(window.document,"touchstart",Q):b(window.document,"mousedown",Q),b(window.document,"focus",Q,{capture:!0}),t.config.clickOpens===!0&&(b(t._input,"focus",t.open),b(t._input,"click",t.open)),t.daysContainer!==void 0&&(b(t.monthNav,"click",ct),b(t.monthNav,["keyup","increment"],x),b(t.daysContainer,"click",me)),t.timeContainer!==void 0&&t.minuteElement!==void 0&&t.hourElement!==void 0){var A=function(O){return St(O).select()};b(t.timeContainer,["increment"],u),b(t.timeContainer,"blur",u,{capture:!0}),b(t.timeContainer,"click",D),b([t.hourElement,t.minuteElement],["focus","click"],A),t.secondElement!==void 0&&b(t.secondElement,"focus",function(){return t.secondElement&&t.secondElement.select()}),t.amPM!==void 0&&b(t.amPM,"click",function(O){u(O)})}t.config.allowInput&&b(t._input,"blur",te)}function m(B,A){var O=B!==void 0?t.parseDate(B):t.latestSelectedDateObj||(t.config.minDate&&t.config.minDate>t.now?t.config.minDate:t.config.maxDate&&t.config.maxDate<t.now?t.config.maxDate:t.now),_=t.currentYear,G=t.currentMonth;try{O!==void 0&&(t.currentYear=O.getFullYear(),t.currentMonth=O.getMonth())}catch(ne){ne.message="Invalid date supplied: "+O,t.config.errorHandler(ne)}A&&t.currentYear!==_&&(Ge("onYearChange"),L()),A&&(t.currentYear!==_||t.currentMonth!==G)&&Ge("onMonthChange"),t.redraw()}function D(B){var A=St(B);~A.className.indexOf("arrow")&&g(B,A.classList.contains("arrowUp")?1:-1)}function g(B,A,O){var _=B&&St(B),G=O||_&&_.parentNode&&_.parentNode.firstChild,ne=ee("increment");ne.delta=A,G&&G.dispatchEvent(ne)}function M(){var B=window.document.createDocumentFragment();if(t.calendarContainer=Je("div","flatpickr-calendar"),t.calendarContainer.tabIndex=-1,!t.config.noCalendar){if(B.appendChild(U()),t.innerContainer=Je("div","flatpickr-innerContainer"),t.config.weekNumbers){var A=F(),O=A.weekWrapper,_=A.weekNumbers;t.innerContainer.appendChild(O),t.weekNumbers=_,t.weekWrapper=O}t.rContainer=Je("div","flatpickr-rContainer"),t.rContainer.appendChild(V()),t.daysContainer||(t.daysContainer=Je("div","flatpickr-days"),t.daysContainer.tabIndex=-1),R(),t.rContainer.appendChild(t.daysContainer),t.innerContainer.appendChild(t.rContainer),B.appendChild(t.innerContainer)}t.config.enableTime&&B.appendChild(I()),gt(t.calendarContainer,"rangeMode",t.config.mode==="range"),gt(t.calendarContainer,"animate",t.config.animate===!0),gt(t.calendarContainer,"multiMonth",t.config.showMonths>1),t.calendarContainer.appendChild(B);var G=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&&(!G&&t.element.parentNode?t.element.parentNode.insertBefore(t.calendarContainer,t._input.nextSibling):t.config.appendTo!==void 0&&t.config.appendTo.appendChild(t.calendarContainer)),t.config.static)){var ne=Je("div","flatpickr-wrapper");t.element.parentNode&&t.element.parentNode.insertBefore(ne,t.element),ne.appendChild(t.element),t.altInput&&ne.appendChild(t.altInput),ne.appendChild(t.calendarContainer)}!t.config.static&&!t.config.inline&&(t.config.appendTo!==void 0?t.config.appendTo:window.document.body).appendChild(t.calendarContainer)}function y(B,A,O,_){var G=W(A,!0),ne=Je("span",B,A.getDate().toString());return ne.dateObj=A,ne.$i=_,ne.setAttribute("aria-label",t.formatDate(A,t.config.ariaDateFormat)),B.indexOf("hidden")===-1&&xt(A,t.now)===0&&(t.todayDateElem=ne,ne.classList.add("today"),ne.setAttribute("aria-current","date")),G?(ne.tabIndex=-1,re(A)&&(ne.classList.add("selected"),t.selectedDateElem=ne,t.config.mode==="range"&&(gt(ne,"startRange",t.selectedDates[0]&&xt(A,t.selectedDates[0],!0)===0),gt(ne,"endRange",t.selectedDates[1]&&xt(A,t.selectedDates[1],!0)===0),B==="nextMonthDay"&&ne.classList.add("inRange")))):ne.classList.add("flatpickr-disabled"),t.config.mode==="range"&&Pe(A)&&!re(A)&&ne.classList.add("inRange"),t.weekNumbers&&t.config.showMonths===1&&B!=="prevMonthDay"&&_%7===6&&t.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+t.config.getWeek(A)+"</span>"),Ge("onDayCreate",ne),ne}function k(B){B.focus(),t.config.mode==="range"&&Z(B)}function w(B){for(var A=B>0?0:t.config.showMonths-1,O=B>0?t.config.showMonths:-1,_=A;_!=O;_+=B)for(var G=t.daysContainer.children[_],ne=B>0?0:G.children.length-1,ue=B>0?G.children.length:-1,he=ne;he!=ue;he+=B){var pe=G.children[he];if(pe.className.indexOf("hidden")===-1&&W(pe.dateObj))return pe}}function E(B,A){for(var O=B.className.indexOf("Month")===-1?B.dateObj.getMonth():t.currentMonth,_=A>0?t.config.showMonths:-1,G=A>0?1:-1,ne=O-t.currentMonth;ne!=_;ne+=G)for(var ue=t.daysContainer.children[ne],he=O-t.currentMonth===ne?B.$i+A:A<0?ue.children.length-1:0,pe=ue.children.length,be=he;be>=0&&be<pe&&be!=(A>0?pe:-1);be+=G){var Ce=ue.children[be];if(Ce.className.indexOf("hidden")===-1&&W(Ce.dateObj)&&Math.abs(B.$i-be)>=Math.abs(A))return k(Ce)}t.changeMonth(G),v(w(G),0)}function v(B,A){var O=s(),_=H(O||document.body),G=B!==void 0?B:_?O:t.selectedDateElem!==void 0&&H(t.selectedDateElem)?t.selectedDateElem:t.todayDateElem!==void 0&&H(t.todayDateElem)?t.todayDateElem:w(A>0?1:-1);G===void 0?t._input.focus():_?E(G,A):k(G)}function T(B,A){for(var O=(new Date(B,A,1).getDay()-t.l10n.firstDayOfWeek+7)%7,_=t.utils.getDaysInMonth((A-1+12)%12,B),G=t.utils.getDaysInMonth(A,B),ne=window.document.createDocumentFragment(),ue=t.config.showMonths>1,he=ue?"prevMonthDay hidden":"prevMonthDay",pe=ue?"nextMonthDay hidden":"nextMonthDay",be=_+1-O,Ce=0;be<=_;be++,Ce++)ne.appendChild(y("flatpickr-day "+he,new Date(B,A-1,be),be,Ce));for(be=1;be<=G;be++,Ce++)ne.appendChild(y("flatpickr-day",new Date(B,A,be),be,Ce));for(var De=G+1;De<=42-O&&(t.config.showMonths===1||Ce%7!==0);De++,Ce++)ne.appendChild(y("flatpickr-day "+pe,new Date(B,A+1,De%G),De,Ce));var We=Je("div","dayContainer");return We.appendChild(ne),We}function R(){if(t.daysContainer!==void 0){hr(t.daysContainer),t.weekNumbers&&hr(t.weekNumbers);for(var B=document.createDocumentFragment(),A=0;A<t.config.showMonths;A++){var O=new Date(t.currentYear,t.currentMonth,1);O.setMonth(t.currentMonth+A),B.appendChild(T(O.getFullYear(),O.getMonth()))}t.daysContainer.appendChild(B),t.days=t.daysContainer.firstChild,t.config.mode==="range"&&t.selectedDates.length===1&&Z()}}function L(){if(!(t.config.showMonths>1||t.config.monthSelectorType!=="dropdown")){var B=function(_){return t.config.minDate!==void 0&&t.currentYear===t.config.minDate.getFullYear()&&_<t.config.minDate.getMonth()?!1:!(t.config.maxDate!==void 0&&t.currentYear===t.config.maxDate.getFullYear()&&_>t.config.maxDate.getMonth())};t.monthsDropdownContainer.tabIndex=-1,t.monthsDropdownContainer.innerHTML="";for(var A=0;A<12;A++)if(B(A)){var O=Je("option","flatpickr-monthDropdown-month");O.value=new Date(t.currentYear,A).getMonth().toString(),O.textContent=pr(A,t.config.shorthandCurrentMonth,t.l10n),O.tabIndex=-1,t.currentMonth===A&&(O.selected=!0),t.monthsDropdownContainer.appendChild(O)}}}function N(){var B=Je("div","flatpickr-month"),A=window.document.createDocumentFragment(),O;t.config.showMonths>1||t.config.monthSelectorType==="static"?O=Je("span","cur-month"):(t.monthsDropdownContainer=Je("select","flatpickr-monthDropdown-months"),t.monthsDropdownContainer.setAttribute("aria-label",t.l10n.monthAriaLabel),b(t.monthsDropdownContainer,"change",function(ue){var he=St(ue),pe=parseInt(he.value,10);t.changeMonth(pe-t.currentMonth),Ge("onMonthChange")}),L(),O=t.monthsDropdownContainer);var _=fr("cur-year",{tabindex:"-1"}),G=_.getElementsByTagName("input")[0];G.setAttribute("aria-label",t.l10n.yearAriaLabel),t.config.minDate&&G.setAttribute("min",t.config.minDate.getFullYear().toString()),t.config.maxDate&&(G.setAttribute("max",t.config.maxDate.getFullYear().toString()),G.disabled=!!t.config.minDate&&t.config.minDate.getFullYear()===t.config.maxDate.getFullYear());var ne=Je("div","flatpickr-current-month");return ne.appendChild(O),ne.appendChild(_),A.appendChild(ne),B.appendChild(A),{container:B,yearElement:G,monthElement:O}}function j(){hr(t.monthNav),t.monthNav.appendChild(t.prevMonthNav),t.config.showMonths&&(t.yearElements=[],t.monthElements=[]);for(var B=t.config.showMonths;B--;){var A=N();t.yearElements.push(A.yearElement),t.monthElements.push(A.monthElement),t.monthNav.appendChild(A.container)}t.monthNav.appendChild(t.nextMonthNav)}function U(){return t.monthNav=Je("div","flatpickr-months"),t.yearElements=[],t.monthElements=[],t.prevMonthNav=Je("span","flatpickr-prev-month"),t.prevMonthNav.innerHTML=t.config.prevArrow,t.nextMonthNav=Je("span","flatpickr-next-month"),t.nextMonthNav.innerHTML=t.config.nextArrow,j(),Object.defineProperty(t,"_hidePrevMonthArrow",{get:function(){return t.__hidePrevMonthArrow},set:function(B){t.__hidePrevMonthArrow!==B&&(gt(t.prevMonthNav,"flatpickr-disabled",B),t.__hidePrevMonthArrow=B)}}),Object.defineProperty(t,"_hideNextMonthArrow",{get:function(){return t.__hideNextMonthArrow},set:function(B){t.__hideNextMonthArrow!==B&&(gt(t.nextMonthNav,"flatpickr-disabled",B),t.__hideNextMonthArrow=B)}}),t.currentYearElement=t.yearElements[0],ze(),t.monthNav}function I(){t.calendarContainer.classList.add("hasTime"),t.config.noCalendar&&t.calendarContainer.classList.add("noCalendar");var B=Bo(t.config);t.timeContainer=Je("div","flatpickr-time"),t.timeContainer.tabIndex=-1;var A=Je("span","flatpickr-time-separator",":"),O=fr("flatpickr-hour",{"aria-label":t.l10n.hourAriaLabel});t.hourElement=O.getElementsByTagName("input")[0];var _=fr("flatpickr-minute",{"aria-label":t.l10n.minuteAriaLabel});if(t.minuteElement=_.getElementsByTagName("input")[0],t.hourElement.tabIndex=t.minuteElement.tabIndex=-1,t.hourElement.value=Ct(t.latestSelectedDateObj?t.latestSelectedDateObj.getHours():t.config.time_24hr?B.hours:d(B.hours)),t.minuteElement.value=Ct(t.latestSelectedDateObj?t.latestSelectedDateObj.getMinutes():B.minutes),t.hourElement.setAttribute("step",t.config.hourIncrement.toString()),t.minuteElement.setAttribute("step",t.config.minuteIncrement.toString()),t.hourElement.setAttribute("min",t.config.time_24hr?"0":"1"),t.hourElement.setAttribute("max",t.config.time_24hr?"23":"12"),t.hourElement.setAttribute("maxlength","2"),t.minuteElement.setAttribute("min","0"),t.minuteElement.setAttribute("max","59"),t.minuteElement.setAttribute("maxlength","2"),t.timeContainer.appendChild(O),t.timeContainer.appendChild(A),t.timeContainer.appendChild(_),t.config.time_24hr&&t.timeContainer.classList.add("time24hr"),t.config.enableSeconds){t.timeContainer.classList.add("hasSeconds");var G=fr("flatpickr-second");t.secondElement=G.getElementsByTagName("input")[0],t.secondElement.value=Ct(t.latestSelectedDateObj?t.latestSelectedDateObj.getSeconds():B.seconds),t.secondElement.setAttribute("step",t.minuteElement.getAttribute("step")),t.secondElement.setAttribute("min","0"),t.secondElement.setAttribute("max","59"),t.secondElement.setAttribute("maxlength","2"),t.timeContainer.appendChild(Je("span","flatpickr-time-separator",":")),t.timeContainer.appendChild(G)}return t.config.time_24hr||(t.amPM=Je("span","flatpickr-am-pm",t.l10n.amPM[Ft((t.latestSelectedDateObj?t.hourElement.value:t.config.defaultHour)>11)]),t.amPM.title=t.l10n.toggleTitle,t.amPM.tabIndex=-1,t.timeContainer.appendChild(t.amPM)),t.timeContainer}function V(){t.weekdayContainer?hr(t.weekdayContainer):t.weekdayContainer=Je("div","flatpickr-weekdays");for(var B=t.config.showMonths;B--;){var A=Je("div","flatpickr-weekdaycontainer");t.weekdayContainer.appendChild(A)}return K(),t.weekdayContainer}function K(){if(t.weekdayContainer){var B=t.l10n.firstDayOfWeek,A=Hc(t.l10n.weekdays.shorthand);B>0&&B<A.length&&(A=Hc(A.splice(B,A.length),A.splice(0,B)));for(var O=t.config.showMonths;O--;)t.weekdayContainer.children[O].innerHTML=`
|
|
28
28
|
<span class='flatpickr-weekday'>
|
|
@@ -48,7 +48,7 @@ export declare function getValueFromObjectItem(i: {
|
|
|
48
48
|
export declare function getValueFromArr(arr: any[]): any[];
|
|
49
49
|
export declare function sumOfArrayNumbers(arr: number[]): number;
|
|
50
50
|
export declare const initEmailMask: () => MaskConfig;
|
|
51
|
-
export declare const initPhoneMask: (
|
|
51
|
+
export declare const initPhoneMask: () => MaskConfig;
|
|
52
52
|
export declare const initInnMask: () => MaskConfig;
|
|
53
53
|
export declare const initKppMask: () => MaskConfig;
|
|
54
54
|
export declare const initSnilsMask: () => MaskConfig;
|
|
@@ -79,7 +79,7 @@ export declare function unique<T>(arr: T[]): T[];
|
|
|
79
79
|
export declare function groupBy<T>(arr: T[], key: keyof T): {
|
|
80
80
|
[key: string]: T[];
|
|
81
81
|
};
|
|
82
|
-
export declare function sortBy<T>(arr: T[], key: keyof T, direction?:
|
|
82
|
+
export declare function sortBy<T>(arr: T[], key: keyof T, direction?: "asc" | "desc"): T[];
|
|
83
83
|
export declare function chunk<T>(arr: T[], size: number): T[][];
|
|
84
84
|
export declare function isObject(obj: any): boolean;
|
|
85
85
|
export declare function getDeepCopyObject<T>(obj: T): T;
|
|
@@ -133,7 +133,7 @@ declare const _default: {
|
|
|
133
133
|
getValueFromArr: typeof getValueFromArr;
|
|
134
134
|
sumOfArrayNumbers: typeof sumOfArrayNumbers;
|
|
135
135
|
initEmailMask: () => MaskConfig;
|
|
136
|
-
initPhoneMask: (
|
|
136
|
+
initPhoneMask: () => MaskConfig;
|
|
137
137
|
initInnMask: () => MaskConfig;
|
|
138
138
|
initKppMask: () => MaskConfig;
|
|
139
139
|
initSnilsMask: () => MaskConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/utils/helpers.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,KAAK,SAAS,EAAE,MAAM,KAAK,CAAC;AAOhD,UAAU,YAAY;IACpB,EAAE,EAAE,GAAG,CAAC;IACR,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,UAAU,UAAU;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,aAAa;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAMD;;;;;GAKG;AACH,eAAO,MAAM,OAAO,GAAI,UAAU,MAAM,EAAE,EAAE,KAAK,MAAM,EAAE,KAAG,OAE3D,
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/utils/helpers.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,KAAK,SAAS,EAAE,MAAM,KAAK,CAAC;AAOhD,UAAU,YAAY;IACpB,EAAE,EAAE,GAAG,CAAC;IACR,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,UAAU,UAAU;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,aAAa;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAMD;;;;;GAKG;AACH,eAAO,MAAM,OAAO,GAAI,UAAU,MAAM,EAAE,EAAE,KAAK,MAAM,EAAE,KAAG,OAE3D,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,OAAO,GAAI,UAAU,MAAM,EAAE,EAAE,KAAK,MAAM,EAAE,KAAG,OAE3D,CAAC;AAMF,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,YAAY,EAAE,GAClB;IAAE,EAAE,EAAE,GAAG,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,YAAY,CAAA;CAAE,EAAE,CAGjD;AAMD,wBAAgB,aAAa,IAAI,IAAI,CAYpC;AAED,wBAAgB,eAAe,CAC7B,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,qBAAqB,GAC9B,IAAI,CASN;AAMD,wBAAgB,gBAAgB,IAAI,MAAM,GAAG,SAAS,CAErD;AAED,wBAAgB,mBAAmB,IAAI,MAAM,EAAE,CAE9C;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAErD;AAMD,wBAAgB,QAAQ,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EACxD,EAAE,EAAE,CAAC,EACL,IAAI,EAAE,MAAM,GACX,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,KAAK,IAAI,CAWlC;AAED,wBAAgB,QAAQ,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EACxD,EAAE,EAAE,CAAC,EACL,IAAI,EAAE,MAAM,GACX,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,KAAK,IAAI,CASlC;AAMD,wBAAgB,sBAAsB,CAAC,CAAC,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,GAAG;IACjE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB,CAOA;AAED,wBAAgB,eAAe,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,GAAG,EAAE,CAEjD;AAED,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,MAAM,CAEvD;AAMD,eAAO,MAAM,aAAa,QAAO,UAEhC,CAAC;AAWF,eAAO,MAAM,aAAa,QAAO,UAEhC,CAAC;AAEF,eAAO,MAAM,WAAW,QAAO,UAE9B,CAAC;AAEF,eAAO,MAAM,WAAW,QAAO,UAE9B,CAAC;AAEF,eAAO,MAAM,aAAa,QAAO,UAEhC,CAAC;AAEF,eAAO,MAAM,gBAAgB,QAAO,UAEnC,CAAC;AAMF,wBAAgB,WAAW,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAIvD;AAED,wBAAgB,UAAU,CACxB,MAAM,EAAE,MAAM,EACd,OAAO,GAAE,aAAkB,GAC1B,MAAM,CA0BR;AAED,wBAAgB,WAAW,CACzB,MAAM,EAAE,MAAM,GAAG,MAAM,EACvB,OAAO,GAAE,aAAkB,GAC1B,MAAM,CAyBR;AAED,wBAAgB,UAAU,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAGvD;AAED,wBAAgB,OAAO,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAItD;AAED,wBAAgB,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,CAI1D;AAED,wBAAgB,QAAQ,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAIxD;AAMD,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,MAAM,EACd,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,MAAM,GACX,MAAM,CAcR;AAED,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAGpD;AAED,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE9C;AAED,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAM7C;AAED,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE7C;AAED,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE7C;AAED,wBAAgB,QAAQ,CACtB,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,MAAM,EACd,MAAM,GAAE,MAAc,GACrB,MAAM,CAGR;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAQ9C;AAED,wBAAgB,SAAS,CAAC,EACxB,GAAG,EACH,KAAY,GACb,EAAE;IACD,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB,GAAG,MAAM,GAAG,IAAI,CAGhB;AAED,wBAAgB,gBAAgB,CAC9B,GAAG,EAAE;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE,EACvB,KAAK,EAAE,MAAM,GACZ,MAAM,CAcR;AAMD,wBAAgB,MAAM,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,CAEvC;AAED,wBAAgB,OAAO,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE,GAAG,EAAE,MAAM,CAAC,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,EAAE,CAAA;CAAE,CAOzE;AAED,wBAAgB,MAAM,CAAC,CAAC,EACtB,GAAG,EAAE,CAAC,EAAE,EACR,GAAG,EAAE,MAAM,CAAC,EACZ,SAAS,GAAE,KAAK,GAAG,MAAc,GAChC,CAAC,EAAE,CASL;AAED,wBAAgB,KAAK,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE,IAAI,EAAE,MAAM,GAAG,CAAC,EAAE,EAAE,CAMtD;AAMD,wBAAgB,QAAQ,CAAC,GAAG,EAAE,GAAG,GAAG,OAAO,CAE1C;AAED,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,CAG9C;AAED,wBAAgB,OAAO,CAAC,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,GAAG,OAAO,CAExD;AAED,wBAAgB,aAAa,CAAC,UAAU,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,GAAG,EAAE,GAAG,OAAO,CAE5E;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,OAAO,CAYhE;AAED,eAAO,MAAM,cAAc,GAAI,cAAc;IAC3C,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB,KAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAoBvB,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,cAAc;IAC1C,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB,KAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAcvB,CAAC;AAEF,wBAAgB,IAAI,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,MAAM,CAAC,EACtD,GAAG,EAAE,CAAC,EACN,IAAI,EAAE,CAAC,EAAE,GACR,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAQZ;AAED,wBAAgB,IAAI,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,GAAG,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAMxE;AAMD,wBAAgB,cAAc,CAC5B,EAAE,EAAE,WAAW,EACf,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,MAAM,EAChB,SAAS,UAAQ,GAChB,OAAO,CAQT;AAMD,wBAAgB,YAAY,IAAI,MAAM,CAIrC;AAED,wBAAgB,UAAU,CAAC,MAAM,GAAE,MAAW,GAAG,MAAM,CAEtD;AAED,wBAAgB,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,KAAK,CAE/C;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAGnD;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAGnD;AAED,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAO/C;AAMD,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI,CAM7D;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,IAAI,CAQ1E;AAED,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAMpD;AAED,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI,CAM/D;AAED,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,IAAI,CAQ5E;AAED,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAMtD;AAMD,wBAAgB,OAAO,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EAAE,EAAE,EAAE,CAAC,GAAG,CAAC,CAWnE;AAED,wBAAgB,IAAI,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EAAE,EAAE,EAAE,CAAC,GAAG,CAAC,CAUhE;AAMD,wBAAgB,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAErE;AAED,wBAAgB,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAEvE;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAEvD;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAEvE;AAMD,wBAAgB,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAElE;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,OAAO,CAEtE;AAED,wBAAgB,eAAe,CAAC,QAAQ,EAAE,GAAG,GAAG,GAAG,CASlD;;;;;;;;;;;;;yBAliBgC,UAAU;yBAaV,UAAU;uBAIZ,UAAU;uBAIV,UAAU;yBAIR,UAAU;4BAIP,UAAU;;;;;;;;;;;;;;;;;;wBAnKZ,MAAM,EAAE,OAAO,MAAM,EAAE,KAAG,OAAO;wBAUjC,MAAM,EAAE,OAAO,MAAM,EAAE,KAAG,OAAO;;;;;;;;;;mCAyatB;QAC3C,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,KAAG;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE;kCAsBkB;QAC1C,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,KAAG;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE;;;;;;;;;;;;;;;;;;;;;;;;;;AAiO1B,wBAuGE"}
|