pangea-lib 2.11.464 → 2.11.466

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/main.cjs.js CHANGED
@@ -774,7 +774,7 @@ var hM;function A1(){return hM.apply(null,arguments)}function $91(e){hM=e}functi
774
774
  [`+n+"] ";for(i in arguments[0])s2(arguments[0],i)&&(r+=i+": "+arguments[0][i]+", ");r=r.slice(0,-2)}else r=arguments[n];c.push(r)}mM(e+`
775
775
  Arguments: `+Array.prototype.slice.call(c).join("")+`
776
776
  `+new Error().stack),t=!1}return a.apply(this,arguments)},a)}var _s={};function pM(e,a){A1.deprecationHandler!=null&&A1.deprecationHandler(e,a),_s[e]||(mM(a),_s[e]=!0)}A1.suppressDeprecationWarnings=!1;A1.deprecationHandler=null;function s0(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function W91(e){var a,t;for(t in e)s2(e,t)&&(a=e[t],s0(a)?this[t]=a:this["_"+t]=a);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function cr(e,a){var t=G0({},e),c;for(c in a)s2(a,c)&&($6(e[c])&&$6(a[c])?(t[c]={},G0(t[c],e[c]),G0(t[c],a[c])):a[c]!=null?t[c]=a[c]:delete t[c]);for(c in e)s2(e,c)&&!s2(a,c)&&$6(e[c])&&(t[c]=G0({},t[c]));return t}function rn(e){e!=null&&this.set(e)}var rr;Object.keys?rr=Object.keys:rr=function(e){var a,t=[];for(a in e)s2(e,a)&&t.push(a);return t};var Y91={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function q91(e,a,t){var c=this._calendar[e]||this._calendar.sameElse;return s0(c)?c.call(a,t):c}function c0(e,a,t){var c=""+Math.abs(e),r=a-c.length,n=e>=0;return(n?t?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+c}var nn=/(\[[^\[]*\])|(\\)?([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,ha=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Xt={},Ae={};function R1(e,a,t,c){var r=c;typeof c=="string"&&(r=function(){return this[c]()}),e&&(Ae[e]=r),a&&(Ae[a[0]]=function(){return c0(r.apply(this,arguments),a[1],a[2])}),t&&(Ae[t]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function G91(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function j91(e){var a=e.match(nn),t,c;for(t=0,c=a.length;t<c;t++)Ae[a[t]]?a[t]=Ae[a[t]]:a[t]=G91(a[t]);return function(r){var n="",i;for(i=0;i<c;i++)n+=s0(a[i])?a[i].call(r,e):a[i];return n}}function $a(e,a){return e.isValid()?(a=vM(a,e.localeData()),Xt[a]=Xt[a]||j91(a),Xt[a](e)):e.localeData().invalidDate()}function vM(e,a){var t=5;function c(r){return a.longDateFormat(r)||r}for(ha.lastIndex=0;t>=0&&ha.test(e);)e=e.replace(ha,c),ha.lastIndex=0,t-=1;return e}var X91={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 Z91(e){var a=this._longDateFormat[e],t=this._longDateFormat[e.toUpperCase()];return a||!t?a:(this._longDateFormat[e]=t.match(nn).map(function(c){return c==="MMMM"||c==="MM"||c==="DD"||c==="dddd"?c.slice(1):c}).join(""),this._longDateFormat[e])}var Q91="Invalid date";function K91(){return this._invalidDate}var J91="%d",en1=/\d{1,2}/;function an1(e){return this._ordinal.replace("%d",e)}var tn1={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 cn1(e,a,t,c){var r=this._relativeTime[t];return s0(r)?r(e,a,t,c):r.replace(/%d/i,e)}function rn1(e,a){var t=this._relativeTime[e>0?"future":"past"];return s0(t)?t(a):t.replace(/%s/i,a)}var As={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 d4(e){return typeof e=="string"?As[e]||As[e.toLowerCase()]:void 0}function sn(e){var a={},t,c;for(c in e)s2(e,c)&&(t=d4(c),t&&(a[t]=e[c]));return a}var nn1={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 in1(e){var a=[],t;for(t in e)s2(e,t)&&a.push({unit:t,priority:nn1[t]});return a.sort(function(c,r){return c.priority-r.priority}),a}var gM=/\d/,r4=/\d\d/,xM=/\d{3}/,on=/\d{4}/,pt=/[+-]?\d{6}/,w2=/\d\d?/,zM=/\d\d\d\d?/,CM=/\d\d\d\d\d\d?/,vt=/\d{1,3}/,ln=/\d{1,4}/,gt=/[+-]?\d{1,6}/,Ze=/\d+/,xt=/[+-]?\d+/,sn1=/Z|[+-]\d\d:?\d\d/gi,zt=/Z|[+-]\d\d(?::?\d\d)?/gi,on1=/[+-]?\d+(\.\d{1,3})?/,O5=/[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,Qe=/^[1-9]\d?/,fn=/^([1-9]\d|\d)/,o7;o7={};function N1(e,a,t){o7[e]=s0(a)?a:function(c,r){return c&&t?t:a}}function ln1(e,a){return s2(o7,e)?o7[e](a._strict,a._locale):new RegExp(fn1(e))}function fn1(e){return H0(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(a,t,c,r,n){return t||c||r||n}))}function H0(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function l4(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function J1(e){var a=+e,t=0;return a!==0&&isFinite(a)&&(t=l4(a)),t}var nr={};function p2(e,a){var t,c=a,r;for(typeof e=="string"&&(e=[e]),_0(a)&&(c=function(n,i){i[a]=J1(n)}),r=e.length,t=0;t<r;t++)nr[e[t]]=c}function R5(e,a){p2(e,function(t,c,r,n){r._w=r._w||{},a(t,r._w,r,n)})}function un1(e,a,t){a!=null&&s2(nr,e)&&nr[e](a,t._a,t,e)}function Ct(e){return e%4===0&&e%100!==0||e%400===0}var k3=0,x0=1,q4=2,i3=3,y4=4,z0=5,O6=6,hn1=7,dn1=8;R1("Y",0,0,function(){var e=this.year();return e<=9999?c0(e,4):"+"+e});R1(0,["YY",2],0,function(){return this.year()%100});R1(0,["YYYY",4],0,"year");R1(0,["YYYYY",5],0,"year");R1(0,["YYYYYY",6,!0],0,"year");N1("Y",xt);N1("YY",w2,r4);N1("YYYY",ln,on);N1("YYYYY",gt,pt);N1("YYYYYY",gt,pt);p2(["YYYYY","YYYYYY"],k3);p2("YYYY",function(e,a){a[k3]=e.length===2?A1.parseTwoDigitYear(e):J1(e)});p2("YY",function(e,a){a[k3]=A1.parseTwoDigitYear(e)});p2("Y",function(e,a){a[k3]=parseInt(e,10)});function E8(e){return Ct(e)?366:365}A1.parseTwoDigitYear=function(e){return J1(e)+(J1(e)>68?1900:2e3)};var MM=Ke("FullYear",!0);function mn1(){return Ct(this.year())}function Ke(e,a){return function(t){return t!=null?(HM(this,e,t),A1.updateOffset(this,a),this):i5(this,e)}}function i5(e,a){if(!e.isValid())return NaN;var t=e._d,c=e._isUTC;switch(a){case"Milliseconds":return c?t.getUTCMilliseconds():t.getMilliseconds();case"Seconds":return c?t.getUTCSeconds():t.getSeconds();case"Minutes":return c?t.getUTCMinutes():t.getMinutes();case"Hours":return c?t.getUTCHours():t.getHours();case"Date":return c?t.getUTCDate():t.getDate();case"Day":return c?t.getUTCDay():t.getDay();case"Month":return c?t.getUTCMonth():t.getMonth();case"FullYear":return c?t.getUTCFullYear():t.getFullYear();default:return NaN}}function HM(e,a,t){var c,r,n,i,s;if(!(!e.isValid()||isNaN(t))){switch(c=e._d,r=e._isUTC,a){case"Milliseconds":return void(r?c.setUTCMilliseconds(t):c.setMilliseconds(t));case"Seconds":return void(r?c.setUTCSeconds(t):c.setSeconds(t));case"Minutes":return void(r?c.setUTCMinutes(t):c.setMinutes(t));case"Hours":return void(r?c.setUTCHours(t):c.setHours(t));case"Date":return void(r?c.setUTCDate(t):c.setDate(t));case"FullYear":break;default:return}n=t,i=e.month(),s=e.date(),s=s===29&&i===1&&!Ct(n)?28:s,r?c.setUTCFullYear(n,i,s):c.setFullYear(n,i,s)}}function pn1(e){return e=d4(e),s0(this[e])?this[e]():this}function vn1(e,a){if(typeof e=="object"){e=sn(e);var t=in1(e),c,r=t.length;for(c=0;c<r;c++)this[t[c].unit](e[t[c].unit])}else if(e=d4(e),s0(this[e]))return this[e](a);return this}function gn1(e,a){return(e%a+a)%a}var q2;Array.prototype.indexOf?q2=Array.prototype.indexOf:q2=function(e){var a;for(a=0;a<this.length;++a)if(this[a]===e)return a;return-1};function un(e,a){if(isNaN(e)||isNaN(a))return NaN;var t=gn1(a,12);return e+=(a-t)/12,t===1?Ct(e)?29:28:31-t%7%2}R1("M",["MM",2],"Mo",function(){return this.month()+1});R1("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});R1("MMMM",0,0,function(e){return this.localeData().months(this,e)});N1("M",w2,Qe);N1("MM",w2,r4);N1("MMM",function(e,a){return a.monthsShortRegex(e)});N1("MMMM",function(e,a){return a.monthsRegex(e)});p2(["M","MM"],function(e,a){a[x0]=J1(e)-1});p2(["MMM","MMMM"],function(e,a,t,c){var r=t._locale.monthsParse(e,c,t._strict);r!=null?a[x0]=r:G1(t).invalidMonth=e});var xn1="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),VM="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),yM=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,zn1=O5,Cn1=O5;function Mn1(e,a){return e?N4(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||yM).test(a)?"format":"standalone"][e.month()]:N4(this._months)?this._months:this._months.standalone}function Hn1(e,a){return e?N4(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[yM.test(a)?"format":"standalone"][e.month()]:N4(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Vn1(e,a,t){var c,r,n,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],c=0;c<12;++c)n=i0([2e3,c]),this._shortMonthsParse[c]=this.monthsShort(n,"").toLocaleLowerCase(),this._longMonthsParse[c]=this.months(n,"").toLocaleLowerCase();return t?a==="MMM"?(r=q2.call(this._shortMonthsParse,i),r!==-1?r:null):(r=q2.call(this._longMonthsParse,i),r!==-1?r:null):a==="MMM"?(r=q2.call(this._shortMonthsParse,i),r!==-1?r:(r=q2.call(this._longMonthsParse,i),r!==-1?r:null)):(r=q2.call(this._longMonthsParse,i),r!==-1?r:(r=q2.call(this._shortMonthsParse,i),r!==-1?r:null))}function yn1(e,a,t){var c,r,n;if(this._monthsParseExact)return Vn1.call(this,e,a,t);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),c=0;c<12;c++){if(r=i0([2e3,c]),t&&!this._longMonthsParse[c]&&(this._longMonthsParse[c]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[c]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),!t&&!this._monthsParse[c]&&(n="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[c]=new RegExp(n.replace(".",""),"i")),t&&a==="MMMM"&&this._longMonthsParse[c].test(e))return c;if(t&&a==="MMM"&&this._shortMonthsParse[c].test(e))return c;if(!t&&this._monthsParse[c].test(e))return c}}function bM(e,a){if(!e.isValid())return e;if(typeof a=="string"){if(/^\d+$/.test(a))a=J1(a);else if(a=e.localeData().monthsParse(a),!_0(a))return e}var t=a,c=e.date();return c=c<29?c:Math.min(c,un(e.year(),t)),e._isUTC?e._d.setUTCMonth(t,c):e._d.setMonth(t,c),e}function wM(e){return e!=null?(bM(this,e),A1.updateOffset(this,!0),this):i5(this,"Month")}function bn1(){return un(this.year(),this.month())}function wn1(e){return this._monthsParseExact?(s2(this,"_monthsRegex")||kM.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s2(this,"_monthsShortRegex")||(this._monthsShortRegex=zn1),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function kn1(e){return this._monthsParseExact?(s2(this,"_monthsRegex")||kM.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s2(this,"_monthsRegex")||(this._monthsRegex=Cn1),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function kM(){function e(l,f){return f.length-l.length}var a=[],t=[],c=[],r,n,i,s;for(r=0;r<12;r++)n=i0([2e3,r]),i=H0(this.monthsShort(n,"")),s=H0(this.months(n,"")),a.push(i),t.push(s),c.push(s),c.push(i);a.sort(e),t.sort(e),c.sort(e),this._monthsRegex=new RegExp("^("+c.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+t.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ln1(e,a,t,c,r,n,i){var s;return e<100&&e>=0?(s=new Date(e+400,a,t,c,r,n,i),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,a,t,c,r,n,i),s}function s5(e){var a,t;return e<100&&e>=0?(t=Array.prototype.slice.call(arguments),t[0]=e+400,a=new Date(Date.UTC.apply(null,t)),isFinite(a.getUTCFullYear())&&a.setUTCFullYear(e)):a=new Date(Date.UTC.apply(null,arguments)),a}function l7(e,a,t){var c=7+a-t,r=(7+s5(e,0,c).getUTCDay()-a)%7;return-r+c-1}function LM(e,a,t,c,r){var n=(7+t-c)%7,i=l7(e,c,r),s=1+7*(a-1)+n+i,l,f;return s<=0?(l=e-1,f=E8(l)+s):s>E8(e)?(l=e+1,f=s-E8(e)):(l=e,f=s),{year:l,dayOfYear:f}}function o5(e,a,t){var c=l7(e.year(),a,t),r=Math.floor((e.dayOfYear()-c-1)/7)+1,n,i;return r<1?(i=e.year()-1,n=r+V0(i,a,t)):r>V0(e.year(),a,t)?(n=r-V0(e.year(),a,t),i=e.year()+1):(i=e.year(),n=r),{week:n,year:i}}function V0(e,a,t){var c=l7(e,a,t),r=l7(e+1,a,t);return(E8(e)-c+r)/7}R1("w",["ww",2],"wo","week");R1("W",["WW",2],"Wo","isoWeek");N1("w",w2,Qe);N1("ww",w2,r4);N1("W",w2,Qe);N1("WW",w2,r4);R5(["w","ww","W","WW"],function(e,a,t,c){a[c.substr(0,1)]=J1(e)});function _n1(e){return o5(e,this._week.dow,this._week.doy).week}var An1={dow:0,doy:6};function Sn1(){return this._week.dow}function Nn1(){return this._week.doy}function Tn1(e){var a=this.localeData().week(this);return e==null?a:this.add((e-a)*7,"d")}function En1(e){var a=o5(this,1,4).week;return e==null?a:this.add((e-a)*7,"d")}R1("d",0,"do","day");R1("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});R1("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});R1("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});R1("e",0,0,"weekday");R1("E",0,0,"isoWeekday");N1("d",w2);N1("e",w2);N1("E",w2);N1("dd",function(e,a){return a.weekdaysMinRegex(e)});N1("ddd",function(e,a){return a.weekdaysShortRegex(e)});N1("dddd",function(e,a){return a.weekdaysRegex(e)});R5(["dd","ddd","dddd"],function(e,a,t,c){var r=t._locale.weekdaysParse(e,c,t._strict);r!=null?a.d=r:G1(t).invalidWeekday=e});R5(["d","e","E"],function(e,a,t,c){a[c]=J1(e)});function Fn1(e,a){return typeof e!="string"?e:isNaN(e)?(e=a.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Pn1(e,a){return typeof e=="string"?a.weekdaysParse(e)%7||7:isNaN(e)?null:e}function hn(e,a){return e.slice(a,7).concat(e.slice(0,a))}var Dn1="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),_M="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Bn1="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),On1=O5,Rn1=O5,In1=O5;function $n1(e,a){var t=N4(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(a)?"format":"standalone"];return e===!0?hn(t,this._week.dow):e?t[e.day()]:t}function Un1(e){return e===!0?hn(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Wn1(e){return e===!0?hn(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Yn1(e,a,t){var c,r,n,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],c=0;c<7;++c)n=i0([2e3,1]).day(c),this._minWeekdaysParse[c]=this.weekdaysMin(n,"").toLocaleLowerCase(),this._shortWeekdaysParse[c]=this.weekdaysShort(n,"").toLocaleLowerCase(),this._weekdaysParse[c]=this.weekdays(n,"").toLocaleLowerCase();return t?a==="dddd"?(r=q2.call(this._weekdaysParse,i),r!==-1?r:null):a==="ddd"?(r=q2.call(this._shortWeekdaysParse,i),r!==-1?r:null):(r=q2.call(this._minWeekdaysParse,i),r!==-1?r:null):a==="dddd"?(r=q2.call(this._weekdaysParse,i),r!==-1||(r=q2.call(this._shortWeekdaysParse,i),r!==-1)?r:(r=q2.call(this._minWeekdaysParse,i),r!==-1?r:null)):a==="ddd"?(r=q2.call(this._shortWeekdaysParse,i),r!==-1||(r=q2.call(this._weekdaysParse,i),r!==-1)?r:(r=q2.call(this._minWeekdaysParse,i),r!==-1?r:null)):(r=q2.call(this._minWeekdaysParse,i),r!==-1||(r=q2.call(this._weekdaysParse,i),r!==-1)?r:(r=q2.call(this._shortWeekdaysParse,i),r!==-1?r:null))}function qn1(e,a,t){var c,r,n;if(this._weekdaysParseExact)return Yn1.call(this,e,a,t);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),c=0;c<7;c++){if(r=i0([2e3,1]).day(c),t&&!this._fullWeekdaysParse[c]&&(this._fullWeekdaysParse[c]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[c]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[c]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[c]||(n="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[c]=new RegExp(n.replace(".",""),"i")),t&&a==="dddd"&&this._fullWeekdaysParse[c].test(e))return c;if(t&&a==="ddd"&&this._shortWeekdaysParse[c].test(e))return c;if(t&&a==="dd"&&this._minWeekdaysParse[c].test(e))return c;if(!t&&this._weekdaysParse[c].test(e))return c}}function Gn1(e){if(!this.isValid())return e!=null?this:NaN;var a=i5(this,"Day");return e!=null?(e=Fn1(e,this.localeData()),this.add(e-a,"d")):a}function jn1(e){if(!this.isValid())return e!=null?this:NaN;var a=(this.day()+7-this.localeData()._week.dow)%7;return e==null?a:this.add(e-a,"d")}function Xn1(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var a=Pn1(e,this.localeData());return this.day(this.day()%7?a:a-7)}else return this.day()||7}function Zn1(e){return this._weekdaysParseExact?(s2(this,"_weekdaysRegex")||dn.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s2(this,"_weekdaysRegex")||(this._weekdaysRegex=On1),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Qn1(e){return this._weekdaysParseExact?(s2(this,"_weekdaysRegex")||dn.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s2(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Rn1),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Kn1(e){return this._weekdaysParseExact?(s2(this,"_weekdaysRegex")||dn.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s2(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=In1),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function dn(){function e(u,h){return h.length-u.length}var a=[],t=[],c=[],r=[],n,i,s,l,f;for(n=0;n<7;n++)i=i0([2e3,1]).day(n),s=H0(this.weekdaysMin(i,"")),l=H0(this.weekdaysShort(i,"")),f=H0(this.weekdays(i,"")),a.push(s),t.push(l),c.push(f),r.push(s),r.push(l),r.push(f);a.sort(e),t.sort(e),c.sort(e),r.sort(e),this._weekdaysRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+t.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function mn(){return this.hours()%12||12}function Jn1(){return this.hours()||24}R1("H",["HH",2],0,"hour");R1("h",["hh",2],0,mn);R1("k",["kk",2],0,Jn1);R1("hmm",0,0,function(){return""+mn.apply(this)+c0(this.minutes(),2)});R1("hmmss",0,0,function(){return""+mn.apply(this)+c0(this.minutes(),2)+c0(this.seconds(),2)});R1("Hmm",0,0,function(){return""+this.hours()+c0(this.minutes(),2)});R1("Hmmss",0,0,function(){return""+this.hours()+c0(this.minutes(),2)+c0(this.seconds(),2)});function AM(e,a){R1(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),a)})}AM("a",!0);AM("A",!1);function SM(e,a){return a._meridiemParse}N1("a",SM);N1("A",SM);N1("H",w2,fn);N1("h",w2,Qe);N1("k",w2,Qe);N1("HH",w2,r4);N1("hh",w2,r4);N1("kk",w2,r4);N1("hmm",zM);N1("hmmss",CM);N1("Hmm",zM);N1("Hmmss",CM);p2(["H","HH"],i3);p2(["k","kk"],function(e,a,t){var c=J1(e);a[i3]=c===24?0:c});p2(["a","A"],function(e,a,t){t._isPm=t._locale.isPM(e),t._meridiem=e});p2(["h","hh"],function(e,a,t){a[i3]=J1(e),G1(t).bigHour=!0});p2("hmm",function(e,a,t){var c=e.length-2;a[i3]=J1(e.substr(0,c)),a[y4]=J1(e.substr(c)),G1(t).bigHour=!0});p2("hmmss",function(e,a,t){var c=e.length-4,r=e.length-2;a[i3]=J1(e.substr(0,c)),a[y4]=J1(e.substr(c,2)),a[z0]=J1(e.substr(r)),G1(t).bigHour=!0});p2("Hmm",function(e,a,t){var c=e.length-2;a[i3]=J1(e.substr(0,c)),a[y4]=J1(e.substr(c))});p2("Hmmss",function(e,a,t){var c=e.length-4,r=e.length-2;a[i3]=J1(e.substr(0,c)),a[y4]=J1(e.substr(c,2)),a[z0]=J1(e.substr(r))});function ei1(e){return(e+"").toLowerCase().charAt(0)==="p"}var ai1=/[ap]\.?m?\.?/i,ti1=Ke("Hours",!0);function ci1(e,a,t){return e>11?t?"pm":"PM":t?"am":"AM"}var NM={calendar:Y91,longDateFormat:X91,invalidDate:Q91,ordinal:J91,dayOfMonthOrdinalParse:en1,relativeTime:tn1,months:xn1,monthsShort:VM,week:An1,weekdays:Dn1,weekdaysMin:Bn1,weekdaysShort:_M,meridiemParse:ai1},L2={},s8={},l5;function ri1(e,a){var t,c=Math.min(e.length,a.length);for(t=0;t<c;t+=1)if(e[t]!==a[t])return t;return c}function Ss(e){return e&&e.toLowerCase().replace("_","-")}function ni1(e){for(var a=0,t,c,r,n;a<e.length;){for(n=Ss(e[a]).split("-"),t=n.length,c=Ss(e[a+1]),c=c?c.split("-"):null;t>0;){if(r=Mt(n.slice(0,t).join("-")),r)return r;if(c&&c.length>=t&&ri1(n,c)>=t-1)break;t--}a++}return l5}function ii1(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Mt(e){var a=null,t;if(L2[e]===void 0&&typeof module<"u"&&module&&module.exports&&ii1(e))try{a=l5._abbr,t=require,t("./locale/"+e),n6(a)}catch{L2[e]=null}return L2[e]}function n6(e,a){var t;return e&&(W3(a)?t=T0(e):t=pn(e,a),t?l5=t:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),l5._abbr}function pn(e,a){if(a!==null){var t,c=NM;if(a.abbr=e,L2[e]!=null)pM("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),c=L2[e]._config;else if(a.parentLocale!=null)if(L2[a.parentLocale]!=null)c=L2[a.parentLocale]._config;else if(t=Mt(a.parentLocale),t!=null)c=t._config;else return s8[a.parentLocale]||(s8[a.parentLocale]=[]),s8[a.parentLocale].push({name:e,config:a}),null;return L2[e]=new rn(cr(c,a)),s8[e]&&s8[e].forEach(function(r){pn(r.name,r.config)}),n6(e),L2[e]}else return delete L2[e],null}function si1(e,a){if(a!=null){var t,c,r=NM;L2[e]!=null&&L2[e].parentLocale!=null?L2[e].set(cr(L2[e]._config,a)):(c=Mt(e),c!=null&&(r=c._config),a=cr(r,a),c==null&&(a.abbr=e),t=new rn(a),t.parentLocale=L2[e],L2[e]=t),n6(e)}else L2[e]!=null&&(L2[e].parentLocale!=null?(L2[e]=L2[e].parentLocale,e===n6()&&n6(e)):L2[e]!=null&&delete L2[e]);return L2[e]}function T0(e){var a;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return l5;if(!N4(e)){if(a=Mt(e),a)return a;e=[e]}return ni1(e)}function oi1(){return rr(L2)}function vn(e){var a,t=e._a;return t&&G1(e).overflow===-2&&(a=t[x0]<0||t[x0]>11?x0:t[q4]<1||t[q4]>un(t[k3],t[x0])?q4:t[i3]<0||t[i3]>24||t[i3]===24&&(t[y4]!==0||t[z0]!==0||t[O6]!==0)?i3:t[y4]<0||t[y4]>59?y4:t[z0]<0||t[z0]>59?z0:t[O6]<0||t[O6]>999?O6:-1,G1(e)._overflowDayOfYear&&(a<k3||a>q4)&&(a=q4),G1(e)._overflowWeeks&&a===-1&&(a=hn1),G1(e)._overflowWeekday&&a===-1&&(a=dn1),G1(e).overflow=a),e}var li1=/^\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)?)?$/,fi1=/^\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)?)?$/,ui1=/Z|[+-]\d\d(?::?\d\d)?/,da=[["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]],Zt=[["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/]],hi1=/^\/?Date\((-?\d+)/i,di1=/^(?:(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}))$/,mi1={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function TM(e){var a,t,c=e._i,r=li1.exec(c)||fi1.exec(c),n,i,s,l,f=da.length,u=Zt.length;if(r){for(G1(e).iso=!0,a=0,t=f;a<t;a++)if(da[a][1].exec(r[1])){i=da[a][0],n=da[a][2]!==!1;break}if(i==null){e._isValid=!1;return}if(r[3]){for(a=0,t=u;a<t;a++)if(Zt[a][1].exec(r[3])){s=(r[2]||" ")+Zt[a][0];break}if(s==null){e._isValid=!1;return}}if(!n&&s!=null){e._isValid=!1;return}if(r[4])if(ui1.exec(r[4]))l="Z";else{e._isValid=!1;return}e._f=i+(s||"")+(l||""),xn(e)}else e._isValid=!1}function pi1(e,a,t,c,r,n){var i=[vi1(e),VM.indexOf(a),parseInt(t,10),parseInt(c,10),parseInt(r,10)];return n&&i.push(parseInt(n,10)),i}function vi1(e){var a=parseInt(e,10);return a<=49?2e3+a:a<=999?1900+a:a}function gi1(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function xi1(e,a,t){if(e){var c=_M.indexOf(e),r=new Date(a[0],a[1],a[2]).getDay();if(c!==r)return G1(t).weekdayMismatch=!0,t._isValid=!1,!1}return!0}function zi1(e,a,t){if(e)return mi1[e];if(a)return 0;var c=parseInt(t,10),r=c%100,n=(c-r)/100;return n*60+r}function EM(e){var a=di1.exec(gi1(e._i)),t;if(a){if(t=pi1(a[4],a[3],a[2],a[5],a[6],a[7]),!xi1(a[1],t,e))return;e._a=t,e._tzm=zi1(a[8],a[9],a[10]),e._d=s5.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),G1(e).rfc2822=!0}else e._isValid=!1}function Ci1(e){var a=hi1.exec(e._i);if(a!==null){e._d=new Date(+a[1]);return}if(TM(e),e._isValid===!1)delete e._isValid;else return;if(EM(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:A1.createFromInputFallback(e)}A1.createFromInputFallback=h4("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(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function ze(e,a,t){return e??a??t}function Mi1(e){var a=new Date(A1.now());return e._useUTC?[a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate()]:[a.getFullYear(),a.getMonth(),a.getDate()]}function gn(e){var a,t,c=[],r,n,i;if(!e._d){for(r=Mi1(e),e._w&&e._a[q4]==null&&e._a[x0]==null&&Hi1(e),e._dayOfYear!=null&&(i=ze(e._a[k3],r[k3]),(e._dayOfYear>E8(i)||e._dayOfYear===0)&&(G1(e)._overflowDayOfYear=!0),t=s5(i,0,e._dayOfYear),e._a[x0]=t.getUTCMonth(),e._a[q4]=t.getUTCDate()),a=0;a<3&&e._a[a]==null;++a)e._a[a]=c[a]=r[a];for(;a<7;a++)e._a[a]=c[a]=e._a[a]==null?a===2?1:0:e._a[a];e._a[i3]===24&&e._a[y4]===0&&e._a[z0]===0&&e._a[O6]===0&&(e._nextDay=!0,e._a[i3]=0),e._d=(e._useUTC?s5:Ln1).apply(null,c),n=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[i3]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==n&&(G1(e).weekdayMismatch=!0)}}function Hi1(e){var a,t,c,r,n,i,s,l,f;a=e._w,a.GG!=null||a.W!=null||a.E!=null?(n=1,i=4,t=ze(a.GG,e._a[k3],o5(b2(),1,4).year),c=ze(a.W,1),r=ze(a.E,1),(r<1||r>7)&&(l=!0)):(n=e._locale._week.dow,i=e._locale._week.doy,f=o5(b2(),n,i),t=ze(a.gg,e._a[k3],f.year),c=ze(a.w,f.week),a.d!=null?(r=a.d,(r<0||r>6)&&(l=!0)):a.e!=null?(r=a.e+n,(a.e<0||a.e>6)&&(l=!0)):r=n),c<1||c>V0(t,n,i)?G1(e)._overflowWeeks=!0:l!=null?G1(e)._overflowWeekday=!0:(s=LM(t,c,r,n,i),e._a[k3]=s.year,e._dayOfYear=s.dayOfYear)}A1.ISO_8601=function(){};A1.RFC_2822=function(){};function xn(e){if(e._f===A1.ISO_8601){TM(e);return}if(e._f===A1.RFC_2822){EM(e);return}e._a=[],G1(e).empty=!0;var a=""+e._i,t,c,r,n,i,s=a.length,l=0,f,u;for(r=vM(e._f,e._locale).match(nn)||[],u=r.length,t=0;t<u;t++)n=r[t],c=(a.match(ln1(n,e))||[])[0],c&&(i=a.substr(0,a.indexOf(c)),i.length>0&&G1(e).unusedInput.push(i),a=a.slice(a.indexOf(c)+c.length),l+=c.length),Ae[n]?(c?G1(e).empty=!1:G1(e).unusedTokens.push(n),un1(n,c,e)):e._strict&&!c&&G1(e).unusedTokens.push(n);G1(e).charsLeftOver=s-l,a.length>0&&G1(e).unusedInput.push(a),e._a[i3]<=12&&G1(e).bigHour===!0&&e._a[i3]>0&&(G1(e).bigHour=void 0),G1(e).parsedDateParts=e._a.slice(0),G1(e).meridiem=e._meridiem,e._a[i3]=Vi1(e._locale,e._a[i3],e._meridiem),f=G1(e).era,f!==null&&(e._a[k3]=e._locale.erasConvertYear(f,e._a[k3])),gn(e),vn(e)}function Vi1(e,a,t){var c;return t==null?a:e.meridiemHour!=null?e.meridiemHour(a,t):(e.isPM!=null&&(c=e.isPM(t),c&&a<12&&(a+=12),!c&&a===12&&(a=0)),a)}function yi1(e){var a,t,c,r,n,i,s=!1,l=e._f.length;if(l===0){G1(e).invalidFormat=!0,e._d=new Date(NaN);return}for(r=0;r<l;r++)n=0,i=!1,a=cn({},e),e._useUTC!=null&&(a._useUTC=e._useUTC),a._f=e._f[r],xn(a),tn(a)&&(i=!0),n+=G1(a).charsLeftOver,n+=G1(a).unusedTokens.length*10,G1(a).score=n,s?n<c&&(c=n,t=a):(c==null||n<c||i)&&(c=n,t=a,i&&(s=!0));G0(e,t||a)}function bi1(e){if(!e._d){var a=sn(e._i),t=a.day===void 0?a.date:a.day;e._a=dM([a.year,a.month,t,a.hour,a.minute,a.second,a.millisecond],function(c){return c&&parseInt(c,10)}),gn(e)}}function wi1(e){var a=new B5(vn(FM(e)));return a._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function FM(e){var a=e._i,t=e._f;return e._locale=e._locale||T0(e._l),a===null||t===void 0&&a===""?mt({nullInput:!0}):(typeof a=="string"&&(e._i=a=e._locale.preparse(a)),T4(a)?new B5(vn(a)):(D5(a)?e._d=a:N4(t)?yi1(e):t?xn(e):ki1(e),tn(e)||(e._d=null),e))}function ki1(e){var a=e._i;W3(a)?e._d=new Date(A1.now()):D5(a)?e._d=new Date(a.valueOf()):typeof a=="string"?Ci1(e):N4(a)?(e._a=dM(a.slice(0),function(t){return parseInt(t,10)}),gn(e)):$6(a)?bi1(e):_0(a)?e._d=new Date(a):A1.createFromInputFallback(e)}function PM(e,a,t,c,r){var n={};return(a===!0||a===!1)&&(c=a,a=void 0),(t===!0||t===!1)&&(c=t,t=void 0),($6(e)&&an(e)||N4(e)&&e.length===0)&&(e=void 0),n._isAMomentObject=!0,n._useUTC=n._isUTC=r,n._l=t,n._i=e,n._f=a,n._strict=c,wi1(n)}function b2(e,a,t,c){return PM(e,a,t,c,!1)}var Li1=h4("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=b2.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:mt()}),_i1=h4("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=b2.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:mt()});function DM(e,a){var t,c;if(a.length===1&&N4(a[0])&&(a=a[0]),!a.length)return b2();for(t=a[0],c=1;c<a.length;++c)(!a[c].isValid()||a[c][e](t))&&(t=a[c]);return t}function Ai1(){var e=[].slice.call(arguments,0);return DM("isBefore",e)}function Si1(){var e=[].slice.call(arguments,0);return DM("isAfter",e)}var Ni1=function(){return Date.now?Date.now():+new Date},o8=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ti1(e){var a,t=!1,c,r=o8.length;for(a in e)if(s2(e,a)&&!(q2.call(o8,a)!==-1&&(e[a]==null||!isNaN(e[a]))))return!1;for(c=0;c<r;++c)if(e[o8[c]]){if(t)return!1;parseFloat(e[o8[c]])!==J1(e[o8[c]])&&(t=!0)}return!0}function Ei1(){return this._isValid}function Fi1(){return F4(NaN)}function Ht(e){var a=sn(e),t=a.year||0,c=a.quarter||0,r=a.month||0,n=a.week||a.isoWeek||0,i=a.day||0,s=a.hour||0,l=a.minute||0,f=a.second||0,u=a.millisecond||0;this._isValid=Ti1(a),this._milliseconds=+u+f*1e3+l*6e4+s*1e3*60*60,this._days=+i+n*7,this._months=+r+c*3+t*12,this._data={},this._locale=T0(),this._bubble()}function Ua(e){return e instanceof Ht}function ir(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Pi1(e,a,t){var c=Math.min(e.length,a.length),r=Math.abs(e.length-a.length),n=0,i;for(i=0;i<c;i++)(t&&e[i]!==a[i]||!t&&J1(e[i])!==J1(a[i]))&&n++;return n+r}function BM(e,a){R1(e,0,0,function(){var t=this.utcOffset(),c="+";return t<0&&(t=-t,c="-"),c+c0(~~(t/60),2)+a+c0(~~t%60,2)})}BM("Z",":");BM("ZZ","");N1("Z",zt);N1("ZZ",zt);p2(["Z","ZZ"],function(e,a,t){t._useUTC=!0,t._tzm=zn(zt,e)});var Di1=/([\+\-]|\d\d)/gi;function zn(e,a){var t=(a||"").match(e),c,r,n;return t===null?null:(c=t[t.length-1]||[],r=(c+"").match(Di1)||["-",0,0],n=+(r[1]*60)+J1(r[2]),n===0?0:r[0]==="+"?n:-n)}function Cn(e,a){var t,c;return a._isUTC?(t=a.clone(),c=(T4(e)||D5(e)?e.valueOf():b2(e).valueOf())-t.valueOf(),t._d.setTime(t._d.valueOf()+c),A1.updateOffset(t,!1),t):b2(e).local()}function sr(e){return-Math.round(e._d.getTimezoneOffset())}A1.updateOffset=function(){};function Bi1(e,a,t){var c=this._offset||0,r;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=zn(zt,e),e===null)return this}else Math.abs(e)<16&&!t&&(e=e*60);return!this._isUTC&&a&&(r=sr(this)),this._offset=e,this._isUTC=!0,r!=null&&this.add(r,"m"),c!==e&&(!a||this._changeInProgress?IM(this,F4(e-c,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,A1.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?c:sr(this)}function Oi1(e,a){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,a),this):-this.utcOffset()}function Ri1(e){return this.utcOffset(0,e)}function Ii1(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(sr(this),"m")),this}function $i1(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=zn(sn1,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Ui1(e){return this.isValid()?(e=e?b2(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function Wi1(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Yi1(){if(!W3(this._isDSTShifted))return this._isDSTShifted;var e={},a;return cn(e,this),e=FM(e),e._a?(a=e._isUTC?i0(e._a):b2(e._a),this._isDSTShifted=this.isValid()&&Pi1(e._a,a.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function qi1(){return this.isValid()?!this._isUTC:!1}function Gi1(){return this.isValid()?this._isUTC:!1}function OM(){return this.isValid()?this._isUTC&&this._offset===0:!1}var ji1=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Xi1=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function F4(e,a){var t=e,c=null,r,n,i;return Ua(e)?t={ms:e._milliseconds,d:e._days,M:e._months}:_0(e)||!isNaN(+e)?(t={},a?t[a]=+e:t.milliseconds=+e):(c=ji1.exec(e))?(r=c[1]==="-"?-1:1,t={y:0,d:J1(c[q4])*r,h:J1(c[i3])*r,m:J1(c[y4])*r,s:J1(c[z0])*r,ms:J1(ir(c[O6]*1e3))*r}):(c=Xi1.exec(e))?(r=c[1]==="-"?-1:1,t={y:w6(c[2],r),M:w6(c[3],r),w:w6(c[4],r),d:w6(c[5],r),h:w6(c[6],r),m:w6(c[7],r),s:w6(c[8],r)}):t==null?t={}:typeof t=="object"&&("from"in t||"to"in t)&&(i=Zi1(b2(t.from),b2(t.to)),t={},t.ms=i.milliseconds,t.M=i.months),n=new Ht(t),Ua(e)&&s2(e,"_locale")&&(n._locale=e._locale),Ua(e)&&s2(e,"_isValid")&&(n._isValid=e._isValid),n}F4.fn=Ht.prototype;F4.invalid=Fi1;function w6(e,a){var t=e&&parseFloat(e.replace(",","."));return(isNaN(t)?0:t)*a}function Ns(e,a){var t={};return t.months=a.month()-e.month()+(a.year()-e.year())*12,e.clone().add(t.months,"M").isAfter(a)&&--t.months,t.milliseconds=+a-+e.clone().add(t.months,"M"),t}function Zi1(e,a){var t;return e.isValid()&&a.isValid()?(a=Cn(a,e),e.isBefore(a)?t=Ns(e,a):(t=Ns(a,e),t.milliseconds=-t.milliseconds,t.months=-t.months),t):{milliseconds:0,months:0}}function RM(e,a){return function(t,c){var r,n;return c!==null&&!isNaN(+c)&&(pM(a,"moment()."+a+"(period, number) is deprecated. Please use moment()."+a+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=t,t=c,c=n),r=F4(t,c),IM(this,r,e),this}}function IM(e,a,t,c){var r=a._milliseconds,n=ir(a._days),i=ir(a._months);e.isValid()&&(c=c??!0,i&&bM(e,i5(e,"Month")+i*t),n&&HM(e,"Date",i5(e,"Date")+n*t),r&&e._d.setTime(e._d.valueOf()+r*t),c&&A1.updateOffset(e,n||i))}var Qi1=RM(1,"add"),Ki1=RM(-1,"subtract");function $M(e){return typeof e=="string"||e instanceof String}function Ji1(e){return T4(e)||D5(e)||$M(e)||_0(e)||as1(e)||es1(e)||e===null||e===void 0}function es1(e){var a=$6(e)&&!an(e),t=!1,c=["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,n,i=c.length;for(r=0;r<i;r+=1)n=c[r],t=t||s2(e,n);return a&&t}function as1(e){var a=N4(e),t=!1;return a&&(t=e.filter(function(c){return!_0(c)&&$M(e)}).length===0),a&&t}function ts1(e){var a=$6(e)&&!an(e),t=!1,c=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r,n;for(r=0;r<c.length;r+=1)n=c[r],t=t||s2(e,n);return a&&t}function cs1(e,a){var t=e.diff(a,"days",!0);return t<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"}function rs1(e,a){arguments.length===1&&(arguments[0]?Ji1(arguments[0])?(e=arguments[0],a=void 0):ts1(arguments[0])&&(a=arguments[0],e=void 0):(e=void 0,a=void 0));var t=e||b2(),c=Cn(t,this).startOf("day"),r=A1.calendarFormat(this,c)||"sameElse",n=a&&(s0(a[r])?a[r].call(this,t):a[r]);return this.format(n||this.localeData().calendar(r,this,b2(t)))}function ns1(){return new B5(this)}function is1(e,a){var t=T4(e)?e:b2(e);return this.isValid()&&t.isValid()?(a=d4(a)||"millisecond",a==="millisecond"?this.valueOf()>t.valueOf():t.valueOf()<this.clone().startOf(a).valueOf()):!1}function ss1(e,a){var t=T4(e)?e:b2(e);return this.isValid()&&t.isValid()?(a=d4(a)||"millisecond",a==="millisecond"?this.valueOf()<t.valueOf():this.clone().endOf(a).valueOf()<t.valueOf()):!1}function os1(e,a,t,c){var r=T4(e)?e:b2(e),n=T4(a)?a:b2(a);return this.isValid()&&r.isValid()&&n.isValid()?(c=c||"()",(c[0]==="("?this.isAfter(r,t):!this.isBefore(r,t))&&(c[1]===")"?this.isBefore(n,t):!this.isAfter(n,t))):!1}function ls1(e,a){var t=T4(e)?e:b2(e),c;return this.isValid()&&t.isValid()?(a=d4(a)||"millisecond",a==="millisecond"?this.valueOf()===t.valueOf():(c=t.valueOf(),this.clone().startOf(a).valueOf()<=c&&c<=this.clone().endOf(a).valueOf())):!1}function fs1(e,a){return this.isSame(e,a)||this.isAfter(e,a)}function us1(e,a){return this.isSame(e,a)||this.isBefore(e,a)}function hs1(e,a,t){var c,r,n;if(!this.isValid())return NaN;if(c=Cn(e,this),!c.isValid())return NaN;switch(r=(c.utcOffset()-this.utcOffset())*6e4,a=d4(a),a){case"year":n=Wa(this,c)/12;break;case"month":n=Wa(this,c);break;case"quarter":n=Wa(this,c)/3;break;case"second":n=(this-c)/1e3;break;case"minute":n=(this-c)/6e4;break;case"hour":n=(this-c)/36e5;break;case"day":n=(this-c-r)/864e5;break;case"week":n=(this-c-r)/6048e5;break;default:n=this-c}return t?n:l4(n)}function Wa(e,a){if(e.date()<a.date())return-Wa(a,e);var t=(a.year()-e.year())*12+(a.month()-e.month()),c=e.clone().add(t,"months"),r,n;return a-c<0?(r=e.clone().add(t-1,"months"),n=(a-c)/(c-r)):(r=e.clone().add(t+1,"months"),n=(a-c)/(r-c)),-(t+n)||0}A1.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";A1.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function ds1(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ms1(e){if(!this.isValid())return null;var a=e!==!0,t=a?this.clone().utc():this;return t.year()<0||t.year()>9999?$a(t,a?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):s0(Date.prototype.toISOString)?a?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",$a(t,"Z")):$a(t,a?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ps1(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",a="",t,c,r,n;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",a="Z"),t="["+e+'("]',c=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r="-MM-DD[T]HH:mm:ss.SSS",n=a+'[")]',this.format(t+c+r+n)}function vs1(e){e||(e=this.isUtc()?A1.defaultFormatUtc:A1.defaultFormat);var a=$a(this,e);return this.localeData().postformat(a)}function gs1(e,a){return this.isValid()&&(T4(e)&&e.isValid()||b2(e).isValid())?F4({to:this,from:e}).locale(this.locale()).humanize(!a):this.localeData().invalidDate()}function xs1(e){return this.from(b2(),e)}function zs1(e,a){return this.isValid()&&(T4(e)&&e.isValid()||b2(e).isValid())?F4({from:this,to:e}).locale(this.locale()).humanize(!a):this.localeData().invalidDate()}function Cs1(e){return this.to(b2(),e)}function UM(e){var a;return e===void 0?this._locale._abbr:(a=T0(e),a!=null&&(this._locale=a),this)}var WM=h4("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function YM(){return this._locale}var f7=1e3,Se=60*f7,u7=60*Se,qM=(365*400+97)*24*u7;function Ne(e,a){return(e%a+a)%a}function GM(e,a,t){return e<100&&e>=0?new Date(e+400,a,t)-qM:new Date(e,a,t).valueOf()}function jM(e,a,t){return e<100&&e>=0?Date.UTC(e+400,a,t)-qM:Date.UTC(e,a,t)}function Ms1(e){var a,t;if(e=d4(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(t=this._isUTC?jM:GM,e){case"year":a=t(this.year(),0,1);break;case"quarter":a=t(this.year(),this.month()-this.month()%3,1);break;case"month":a=t(this.year(),this.month(),1);break;case"week":a=t(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":a=t(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":a=t(this.year(),this.month(),this.date());break;case"hour":a=this._d.valueOf(),a-=Ne(a+(this._isUTC?0:this.utcOffset()*Se),u7);break;case"minute":a=this._d.valueOf(),a-=Ne(a,Se);break;case"second":a=this._d.valueOf(),a-=Ne(a,f7);break}return this._d.setTime(a),A1.updateOffset(this,!0),this}function Hs1(e){var a,t;if(e=d4(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(t=this._isUTC?jM:GM,e){case"year":a=t(this.year()+1,0,1)-1;break;case"quarter":a=t(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":a=t(this.year(),this.month()+1,1)-1;break;case"week":a=t(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":a=t(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":a=t(this.year(),this.month(),this.date()+1)-1;break;case"hour":a=this._d.valueOf(),a+=u7-Ne(a+(this._isUTC?0:this.utcOffset()*Se),u7)-1;break;case"minute":a=this._d.valueOf(),a+=Se-Ne(a,Se)-1;break;case"second":a=this._d.valueOf(),a+=f7-Ne(a,f7)-1;break}return this._d.setTime(a),A1.updateOffset(this,!0),this}function Vs1(){return this._d.valueOf()-(this._offset||0)*6e4}function ys1(){return Math.floor(this.valueOf()/1e3)}function bs1(){return new Date(this.valueOf())}function ws1(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function ks1(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Ls1(){return this.isValid()?this.toISOString():null}function _s1(){return tn(this)}function As1(){return G0({},G1(this))}function Ss1(){return G1(this).overflow}function Ns1(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}R1("N",0,0,"eraAbbr");R1("NN",0,0,"eraAbbr");R1("NNN",0,0,"eraAbbr");R1("NNNN",0,0,"eraName");R1("NNNNN",0,0,"eraNarrow");R1("y",["y",1],"yo","eraYear");R1("y",["yy",2],0,"eraYear");R1("y",["yyy",3],0,"eraYear");R1("y",["yyyy",4],0,"eraYear");N1("N",Mn);N1("NN",Mn);N1("NNN",Mn);N1("NNNN",Us1);N1("NNNNN",Ws1);p2(["N","NN","NNN","NNNN","NNNNN"],function(e,a,t,c){var r=t._locale.erasParse(e,c,t._strict);r?G1(t).era=r:G1(t).invalidEra=e});N1("y",Ze);N1("yy",Ze);N1("yyy",Ze);N1("yyyy",Ze);N1("yo",Ys1);p2(["y","yy","yyy","yyyy"],k3);p2(["yo"],function(e,a,t,c){var r;t._locale._eraYearOrdinalRegex&&(r=e.match(t._locale._eraYearOrdinalRegex)),t._locale.eraYearOrdinalParse?a[k3]=t._locale.eraYearOrdinalParse(e,r):a[k3]=parseInt(e,10)});function Ts1(e,a){var t,c,r,n=this._eras||T0("en")._eras;for(t=0,c=n.length;t<c;++t){switch(typeof n[t].since){case"string":r=A1(n[t].since).startOf("day"),n[t].since=r.valueOf();break}switch(typeof n[t].until){case"undefined":n[t].until=1/0;break;case"string":r=A1(n[t].until).startOf("day").valueOf(),n[t].until=r.valueOf();break}}return n}function Es1(e,a,t){var c,r,n=this.eras(),i,s,l;for(e=e.toUpperCase(),c=0,r=n.length;c<r;++c)if(i=n[c].name.toUpperCase(),s=n[c].abbr.toUpperCase(),l=n[c].narrow.toUpperCase(),t)switch(a){case"N":case"NN":case"NNN":if(s===e)return n[c];break;case"NNNN":if(i===e)return n[c];break;case"NNNNN":if(l===e)return n[c];break}else if([i,s,l].indexOf(e)>=0)return n[c]}function Fs1(e,a){var t=e.since<=e.until?1:-1;return a===void 0?A1(e.since).year():A1(e.since).year()+(a-e.offset)*t}function Ps1(){var e,a,t,c=this.localeData().eras();for(e=0,a=c.length;e<a;++e)if(t=this.clone().startOf("day").valueOf(),c[e].since<=t&&t<=c[e].until||c[e].until<=t&&t<=c[e].since)return c[e].name;return""}function Ds1(){var e,a,t,c=this.localeData().eras();for(e=0,a=c.length;e<a;++e)if(t=this.clone().startOf("day").valueOf(),c[e].since<=t&&t<=c[e].until||c[e].until<=t&&t<=c[e].since)return c[e].narrow;return""}function Bs1(){var e,a,t,c=this.localeData().eras();for(e=0,a=c.length;e<a;++e)if(t=this.clone().startOf("day").valueOf(),c[e].since<=t&&t<=c[e].until||c[e].until<=t&&t<=c[e].since)return c[e].abbr;return""}function Os1(){var e,a,t,c,r=this.localeData().eras();for(e=0,a=r.length;e<a;++e)if(t=r[e].since<=r[e].until?1:-1,c=this.clone().startOf("day").valueOf(),r[e].since<=c&&c<=r[e].until||r[e].until<=c&&c<=r[e].since)return(this.year()-A1(r[e].since).year())*t+r[e].offset;return this.year()}function Rs1(e){return s2(this,"_erasNameRegex")||Hn.call(this),e?this._erasNameRegex:this._erasRegex}function Is1(e){return s2(this,"_erasAbbrRegex")||Hn.call(this),e?this._erasAbbrRegex:this._erasRegex}function $s1(e){return s2(this,"_erasNarrowRegex")||Hn.call(this),e?this._erasNarrowRegex:this._erasRegex}function Mn(e,a){return a.erasAbbrRegex(e)}function Us1(e,a){return a.erasNameRegex(e)}function Ws1(e,a){return a.erasNarrowRegex(e)}function Ys1(e,a){return a._eraYearOrdinalRegex||Ze}function Hn(){var e=[],a=[],t=[],c=[],r,n,i,s,l,f=this.eras();for(r=0,n=f.length;r<n;++r)i=H0(f[r].name),s=H0(f[r].abbr),l=H0(f[r].narrow),a.push(i),e.push(s),t.push(l),c.push(i),c.push(s),c.push(l);this._erasRegex=new RegExp("^("+c.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+a.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+t.join("|")+")","i")}R1(0,["gg",2],0,function(){return this.weekYear()%100});R1(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Vt(e,a){R1(0,[e,e.length],0,a)}Vt("gggg","weekYear");Vt("ggggg","weekYear");Vt("GGGG","isoWeekYear");Vt("GGGGG","isoWeekYear");N1("G",xt);N1("g",xt);N1("GG",w2,r4);N1("gg",w2,r4);N1("GGGG",ln,on);N1("gggg",ln,on);N1("GGGGG",gt,pt);N1("ggggg",gt,pt);R5(["gggg","ggggg","GGGG","GGGGG"],function(e,a,t,c){a[c.substr(0,2)]=J1(e)});R5(["gg","GG"],function(e,a,t,c){a[c]=A1.parseTwoDigitYear(e)});function qs1(e){return XM.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Gs1(e){return XM.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function js1(){return V0(this.year(),1,4)}function Xs1(){return V0(this.isoWeekYear(),1,4)}function Zs1(){var e=this.localeData()._week;return V0(this.year(),e.dow,e.doy)}function Qs1(){var e=this.localeData()._week;return V0(this.weekYear(),e.dow,e.doy)}function XM(e,a,t,c,r){var n;return e==null?o5(this,c,r).year:(n=V0(e,c,r),a>n&&(a=n),Ks1.call(this,e,a,t,c,r))}function Ks1(e,a,t,c,r){var n=LM(e,a,t,c,r),i=s5(n.year,0,n.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}R1("Q",0,"Qo","quarter");N1("Q",gM);p2("Q",function(e,a){a[x0]=(J1(e)-1)*3});function Js1(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}R1("D",["DD",2],"Do","date");N1("D",w2,Qe);N1("DD",w2,r4);N1("Do",function(e,a){return e?a._dayOfMonthOrdinalParse||a._ordinalParse:a._dayOfMonthOrdinalParseLenient});p2(["D","DD"],q4);p2("Do",function(e,a){a[q4]=J1(e.match(w2)[0])});var ZM=Ke("Date",!0);R1("DDD",["DDDD",3],"DDDo","dayOfYear");N1("DDD",vt);N1("DDDD",xM);p2(["DDD","DDDD"],function(e,a,t){t._dayOfYear=J1(e)});function eo1(e){var a=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?a:this.add(e-a,"d")}R1("m",["mm",2],0,"minute");N1("m",w2,fn);N1("mm",w2,r4);p2(["m","mm"],y4);var ao1=Ke("Minutes",!1);R1("s",["ss",2],0,"second");N1("s",w2,fn);N1("ss",w2,r4);p2(["s","ss"],z0);var to1=Ke("Seconds",!1);R1("S",0,0,function(){return~~(this.millisecond()/100)});R1(0,["SS",2],0,function(){return~~(this.millisecond()/10)});R1(0,["SSS",3],0,"millisecond");R1(0,["SSSS",4],0,function(){return this.millisecond()*10});R1(0,["SSSSS",5],0,function(){return this.millisecond()*100});R1(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});R1(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});R1(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});R1(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});N1("S",vt,gM);N1("SS",vt,r4);N1("SSS",vt,xM);var j0,QM;for(j0="SSSS";j0.length<=9;j0+="S")N1(j0,Ze);function co1(e,a){a[O6]=J1(("0."+e)*1e3)}for(j0="S";j0.length<=9;j0+="S")p2(j0,co1);QM=Ke("Milliseconds",!1);R1("z",0,0,"zoneAbbr");R1("zz",0,0,"zoneName");function ro1(){return this._isUTC?"UTC":""}function no1(){return this._isUTC?"Coordinated Universal Time":""}var k1=B5.prototype;k1.add=Qi1;k1.calendar=rs1;k1.clone=ns1;k1.diff=hs1;k1.endOf=Hs1;k1.format=vs1;k1.from=gs1;k1.fromNow=xs1;k1.to=zs1;k1.toNow=Cs1;k1.get=pn1;k1.invalidAt=Ss1;k1.isAfter=is1;k1.isBefore=ss1;k1.isBetween=os1;k1.isSame=ls1;k1.isSameOrAfter=fs1;k1.isSameOrBefore=us1;k1.isValid=_s1;k1.lang=WM;k1.locale=UM;k1.localeData=YM;k1.max=_i1;k1.min=Li1;k1.parsingFlags=As1;k1.set=vn1;k1.startOf=Ms1;k1.subtract=Ki1;k1.toArray=ws1;k1.toObject=ks1;k1.toDate=bs1;k1.toISOString=ms1;k1.inspect=ps1;typeof Symbol<"u"&&Symbol.for!=null&&(k1[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});k1.toJSON=Ls1;k1.toString=ds1;k1.unix=ys1;k1.valueOf=Vs1;k1.creationData=Ns1;k1.eraName=Ps1;k1.eraNarrow=Ds1;k1.eraAbbr=Bs1;k1.eraYear=Os1;k1.year=MM;k1.isLeapYear=mn1;k1.weekYear=qs1;k1.isoWeekYear=Gs1;k1.quarter=k1.quarters=Js1;k1.month=wM;k1.daysInMonth=bn1;k1.week=k1.weeks=Tn1;k1.isoWeek=k1.isoWeeks=En1;k1.weeksInYear=Zs1;k1.weeksInWeekYear=Qs1;k1.isoWeeksInYear=js1;k1.isoWeeksInISOWeekYear=Xs1;k1.date=ZM;k1.day=k1.days=Gn1;k1.weekday=jn1;k1.isoWeekday=Xn1;k1.dayOfYear=eo1;k1.hour=k1.hours=ti1;k1.minute=k1.minutes=ao1;k1.second=k1.seconds=to1;k1.millisecond=k1.milliseconds=QM;k1.utcOffset=Bi1;k1.utc=Ri1;k1.local=Ii1;k1.parseZone=$i1;k1.hasAlignedHourOffset=Ui1;k1.isDST=Wi1;k1.isLocal=qi1;k1.isUtcOffset=Gi1;k1.isUtc=OM;k1.isUTC=OM;k1.zoneAbbr=ro1;k1.zoneName=no1;k1.dates=h4("dates accessor is deprecated. Use date instead.",ZM);k1.months=h4("months accessor is deprecated. Use month instead",wM);k1.years=h4("years accessor is deprecated. Use year instead",MM);k1.zone=h4("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Oi1);k1.isDSTShifted=h4("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Yi1);function io1(e){return b2(e*1e3)}function so1(){return b2.apply(null,arguments).parseZone()}function KM(e){return e}var o2=rn.prototype;o2.calendar=q91;o2.longDateFormat=Z91;o2.invalidDate=K91;o2.ordinal=an1;o2.preparse=KM;o2.postformat=KM;o2.relativeTime=cn1;o2.pastFuture=rn1;o2.set=W91;o2.eras=Ts1;o2.erasParse=Es1;o2.erasConvertYear=Fs1;o2.erasAbbrRegex=Is1;o2.erasNameRegex=Rs1;o2.erasNarrowRegex=$s1;o2.months=Mn1;o2.monthsShort=Hn1;o2.monthsParse=yn1;o2.monthsRegex=kn1;o2.monthsShortRegex=wn1;o2.week=_n1;o2.firstDayOfYear=Nn1;o2.firstDayOfWeek=Sn1;o2.weekdays=$n1;o2.weekdaysMin=Wn1;o2.weekdaysShort=Un1;o2.weekdaysParse=qn1;o2.weekdaysRegex=Zn1;o2.weekdaysShortRegex=Qn1;o2.weekdaysMinRegex=Kn1;o2.isPM=ei1;o2.meridiem=ci1;function h7(e,a,t,c){var r=T0(),n=i0().set(c,a);return r[t](n,e)}function JM(e,a,t){if(_0(e)&&(a=e,e=void 0),e=e||"",a!=null)return h7(e,a,t,"month");var c,r=[];for(c=0;c<12;c++)r[c]=h7(e,c,t,"month");return r}function Vn(e,a,t,c){typeof e=="boolean"?(_0(a)&&(t=a,a=void 0),a=a||""):(a=e,t=a,e=!1,_0(a)&&(t=a,a=void 0),a=a||"");var r=T0(),n=e?r._week.dow:0,i,s=[];if(t!=null)return h7(a,(t+n)%7,c,"day");for(i=0;i<7;i++)s[i]=h7(a,(i+n)%7,c,"day");return s}function oo1(e,a){return JM(e,a,"months")}function lo1(e,a){return JM(e,a,"monthsShort")}function fo1(e,a,t){return Vn(e,a,t,"weekdays")}function uo1(e,a,t){return Vn(e,a,t,"weekdaysShort")}function ho1(e,a,t){return Vn(e,a,t,"weekdaysMin")}n6("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(e){var a=e%10,t=J1(e%100/10)===1?"th":a===1?"st":a===2?"nd":a===3?"rd":"th";return e+t}});A1.lang=h4("moment.lang is deprecated. Use moment.locale instead.",n6);A1.langData=h4("moment.langData is deprecated. Use moment.localeData instead.",T0);var u0=Math.abs;function do1(){var e=this._data;return this._milliseconds=u0(this._milliseconds),this._days=u0(this._days),this._months=u0(this._months),e.milliseconds=u0(e.milliseconds),e.seconds=u0(e.seconds),e.minutes=u0(e.minutes),e.hours=u0(e.hours),e.months=u0(e.months),e.years=u0(e.years),this}function eH(e,a,t,c){var r=F4(a,t);return e._milliseconds+=c*r._milliseconds,e._days+=c*r._days,e._months+=c*r._months,e._bubble()}function mo1(e,a){return eH(this,e,a,1)}function po1(e,a){return eH(this,e,a,-1)}function Ts(e){return e<0?Math.floor(e):Math.ceil(e)}function vo1(){var e=this._milliseconds,a=this._days,t=this._months,c=this._data,r,n,i,s,l;return e>=0&&a>=0&&t>=0||e<=0&&a<=0&&t<=0||(e+=Ts(or(t)+a)*864e5,a=0,t=0),c.milliseconds=e%1e3,r=l4(e/1e3),c.seconds=r%60,n=l4(r/60),c.minutes=n%60,i=l4(n/60),c.hours=i%24,a+=l4(i/24),l=l4(aH(a)),t+=l,a-=Ts(or(l)),s=l4(t/12),t%=12,c.days=a,c.months=t,c.years=s,this}function aH(e){return e*4800/146097}function or(e){return e*146097/4800}function go1(e){if(!this.isValid())return NaN;var a,t,c=this._milliseconds;if(e=d4(e),e==="month"||e==="quarter"||e==="year")switch(a=this._days+c/864e5,t=this._months+aH(a),e){case"month":return t;case"quarter":return t/3;case"year":return t/12}else switch(a=this._days+Math.round(or(this._months)),e){case"week":return a/7+c/6048e5;case"day":return a+c/864e5;case"hour":return a*24+c/36e5;case"minute":return a*1440+c/6e4;case"second":return a*86400+c/1e3;case"millisecond":return Math.floor(a*864e5)+c;default:throw new Error("Unknown unit "+e)}}function E0(e){return function(){return this.as(e)}}var tH=E0("ms"),xo1=E0("s"),zo1=E0("m"),Co1=E0("h"),Mo1=E0("d"),Ho1=E0("w"),Vo1=E0("M"),yo1=E0("Q"),bo1=E0("y"),wo1=tH;function ko1(){return F4(this)}function Lo1(e){return e=d4(e),this.isValid()?this[e+"s"]():NaN}function te(e){return function(){return this.isValid()?this._data[e]:NaN}}var _o1=te("milliseconds"),Ao1=te("seconds"),So1=te("minutes"),No1=te("hours"),To1=te("days"),Eo1=te("months"),Fo1=te("years");function Po1(){return l4(this.days()/7)}var p0=Math.round,ye={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Do1(e,a,t,c,r){return r.relativeTime(a||1,!!t,e,c)}function Bo1(e,a,t,c){var r=F4(e).abs(),n=p0(r.as("s")),i=p0(r.as("m")),s=p0(r.as("h")),l=p0(r.as("d")),f=p0(r.as("M")),u=p0(r.as("w")),h=p0(r.as("y")),d=n<=t.ss&&["s",n]||n<t.s&&["ss",n]||i<=1&&["m"]||i<t.m&&["mm",i]||s<=1&&["h"]||s<t.h&&["hh",s]||l<=1&&["d"]||l<t.d&&["dd",l];return t.w!=null&&(d=d||u<=1&&["w"]||u<t.w&&["ww",u]),d=d||f<=1&&["M"]||f<t.M&&["MM",f]||h<=1&&["y"]||["yy",h],d[2]=a,d[3]=+e>0,d[4]=c,Do1.apply(null,d)}function Oo1(e){return e===void 0?p0:typeof e=="function"?(p0=e,!0):!1}function Ro1(e,a){return ye[e]===void 0?!1:a===void 0?ye[e]:(ye[e]=a,e==="s"&&(ye.ss=a-1),!0)}function Io1(e,a){if(!this.isValid())return this.localeData().invalidDate();var t=!1,c=ye,r,n;return typeof e=="object"&&(a=e,e=!1),typeof e=="boolean"&&(t=e),typeof a=="object"&&(c=Object.assign({},ye,a),a.s!=null&&a.ss==null&&(c.ss=a.s-1)),r=this.localeData(),n=Bo1(this,!t,c,r),t&&(n=r.pastFuture(+this,n)),r.postformat(n)}var Qt=Math.abs;function de(e){return(e>0)-(e<0)||+e}function yt(){if(!this.isValid())return this.localeData().invalidDate();var e=Qt(this._milliseconds)/1e3,a=Qt(this._days),t=Qt(this._months),c,r,n,i,s=this.asSeconds(),l,f,u,h;return s?(c=l4(e/60),r=l4(c/60),e%=60,c%=60,n=l4(t/12),t%=12,i=e?e.toFixed(3).replace(/\.?0+$/,""):"",l=s<0?"-":"",f=de(this._months)!==de(s)?"-":"",u=de(this._days)!==de(s)?"-":"",h=de(this._milliseconds)!==de(s)?"-":"",l+"P"+(n?f+n+"Y":"")+(t?f+t+"M":"")+(a?u+a+"D":"")+(r||c||e?"T":"")+(r?h+r+"H":"")+(c?h+c+"M":"")+(e?h+i+"S":"")):"P0D"}var r2=Ht.prototype;r2.isValid=Ei1;r2.abs=do1;r2.add=mo1;r2.subtract=po1;r2.as=go1;r2.asMilliseconds=tH;r2.asSeconds=xo1;r2.asMinutes=zo1;r2.asHours=Co1;r2.asDays=Mo1;r2.asWeeks=Ho1;r2.asMonths=Vo1;r2.asQuarters=yo1;r2.asYears=bo1;r2.valueOf=wo1;r2._bubble=vo1;r2.clone=ko1;r2.get=Lo1;r2.milliseconds=_o1;r2.seconds=Ao1;r2.minutes=So1;r2.hours=No1;r2.days=To1;r2.weeks=Po1;r2.months=Eo1;r2.years=Fo1;r2.humanize=Io1;r2.toISOString=yt;r2.toString=yt;r2.toJSON=yt;r2.locale=UM;r2.localeData=YM;r2.toIsoString=h4("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",yt);r2.lang=WM;R1("X",0,0,"unix");R1("x",0,0,"valueOf");N1("x",xt);N1("X",on1);p2("X",function(e,a,t){t._d=new Date(parseFloat(e)*1e3)});p2("x",function(e,a,t){t._d=new Date(J1(e))});//! moment.js
777
- A1.version="2.30.1";$91(b2);A1.fn=k1;A1.min=Ai1;A1.max=Si1;A1.now=Ni1;A1.utc=i0;A1.unix=io1;A1.months=oo1;A1.isDate=D5;A1.locale=n6;A1.invalid=mt;A1.duration=F4;A1.isMoment=T4;A1.weekdays=fo1;A1.parseZone=so1;A1.localeData=T0;A1.isDuration=Ua;A1.monthsShort=lo1;A1.weekdaysMin=ho1;A1.defineLocale=pn;A1.updateLocale=si1;A1.locales=oi1;A1.weekdaysShort=uo1;A1.normalizeUnits=d4;A1.relativeTimeRounding=Oo1;A1.relativeTimeThreshold=Ro1;A1.calendarFormat=cs1;A1.prototype=k1;A1.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"};function $o1(e,a,t){a&&Object.keys(a).forEach(c=>{if(e.hasOwnProperty(c)&&a[c]!==void 0){if(a[c]===null){e[c]=null;return}if(a[c]instanceof File){const r=a[c];e[c]=new File([r],r.name,{type:r.type,lastModified:r.lastModified});return}if(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z$/.test(a[c])&&A1(a[c],A1.ISO_8601,!0).isValid()){e[c]=new Date(a[c]);return}if(typeof a[c]=="object"){if(t!=null&&t[c]){if(Array.isArray(a[c])){e[c]=a[c].map(r=>new t[c](r));return}e[c]=new t[c](a[c]);return}if(Array.isArray(a[c])){e[c]=a[c].slice();return}e[c]=JSON.parse(JSON.stringify(a[c]));return}e[c]=a[c]}})}function Uo1(e){if(!e)return!1;let a=e;const t=["http://","https://"];for(const c of t)if(e.startsWith(c)){a=e.replace(c,"");break}return a=a.replace(/:(\d*)$/,""),window.location.href.includes(a)}function cH(){window.scrollTo({top:0,behavior:"smooth"})}const Wo1=["textContent"],Yo1=o.defineComponent({__name:"PgaDisplayText",props:{text:{type:[String,Function]},icon:{},withUnderlineOnHover:{type:Boolean}},setup(e){const a=e,t=o.computed(()=>typeof a.text=="string"?a.text:a.text());return(c,r)=>(o.openBlock(),o.createElementBlock("span",{class:o.normalizeClass(["text",{"text__with-underline-on-hover":c.withUnderlineOnHover}])},[c.icon?(o.openBlock(),o.createBlock(A3,{key:0,icon:c.icon},null,8,["icon"])):o.createCommentVNode("",!0),o.createElementVNode("span",{textContent:o.toDisplayString(t.value)},null,8,Wo1)],2))}});const F0=Q1(Yo1,[["__scopeId","data-v-003f57da"]]),qo1=["type","disabled"],Go1={key:1,class:"button--content"},jo1=["textContent"],Xo1=o.defineComponent({__name:"PgaButton",props:{type:{default:"button"},icon:{},text:{},buttonType:{},size:{default:"m"},color:{default:"primary"},disabled:{type:Boolean},isLoading:{type:Boolean},numberToDisplay:{}},setup(e){o.useCssVars(d=>({fd0bbc34:r.value,"509115e8":o.unref(t).input.height,b0b44c3e:s.value,"12e6a003":o.unref(t).input.borderRadius,"06bb7ba6":n.value,d20cd5c2:i.value,"1ac2ab4b":l.value,"79e7185d":h.value,"46db8e91":f.value,"6ecc8d42":u.value}));const a=e,{formOptions:t}=_3.storeToRefs(j3()),c=o.computed(()=>a.buttonType?a.buttonType:j3().buttonOptions.buttonType),r=o.computed(()=>{if(a.size==="xs")return"0.8em";if(a.size==="s")return"0.9em";if(a.size==="m")return"1em";if(a.size==="l")return"1.1em";if(a.size==="xl")return"1.2em"}),n=o.computed(()=>c.value==="filled"?`var(--pga-color-${a.color}-contrast)`:`var(--pga-color-${a.color})`),i=o.computed(()=>c.value==="filled"?`var(--pga-color-${a.color})`:`rgba(var(--pga-color-${a.color}-rgb), 0.1)`),s=o.computed(()=>c.value==="filled"||c.value==="flat"?"none":`var(--pga-color-${a.color})`),l=o.computed(()=>c.value==="filled"?`rgba(var(--pga-color-${a.color}-rgb), 0.9)`:`rgba(var(--pga-color-${a.color}-rgb), 0.2)`),f=o.computed(()=>c.value==="filled"?`var(--pga-color-${a.color})`:`var(--pga-color-${a.color}-contrast)`),u=o.computed(()=>c.value==="filled"?`var(--pga-color-${a.color}-contrast)`:`var(--pga-color-${a.color})`),h=o.computed(()=>c.value==="flat"?"none":c.value==="filled"?`var(--pga-color-${a.color})`:"none");return(d,m)=>(o.openBlock(),o.createElementBlock("button",{class:o.normalizeClass(["button",{button__disabled:d.disabled,"button__is-loading":d.isLoading}]),type:d.type,disabled:d.disabled||d.isLoading},[d.isLoading?(o.openBlock(),o.createBlock(P5,{key:0,class:"button--spinner",color:d.color},null,8,["color"])):(o.openBlock(),o.createElementBlock("div",Go1,[d.icon?(o.openBlock(),o.createBlock(A3,{key:0,icon:d.icon},null,8,["icon"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createBlock(F0,{key:1,text:d.text},null,8,["text"])):o.createCommentVNode("",!0),!d.icon&&!d.text?o.renderSlot(d.$slots,"default",{key:2},void 0,!0):o.createCommentVNode("",!0)])),d.numberToDisplay?(o.openBlock(),o.createElementBlock("div",{key:2,class:"button--number-to-display",onClick:m[0]||(m[0]=o.withModifiers(()=>{},["stop"]))},[o.createElementVNode("span",{class:"number-to-display--number",textContent:o.toDisplayString(d.numberToDisplay)},null,8,jo1)])):o.createCommentVNode("",!0)],10,qo1))}});const r0=Q1(Xo1,[["__scopeId","data-v-5f90b3ec"]]),Zo1={es:{alertTitle:"¿Estás seguro?",cancelBtn:"Cancelar",acceptBtn:"Eliminar"}},Qo1={es:{logoutBtn:"Cerrar sesión"}},Ko1={es:{noItemsText:"No hay resultados"}},Jo1={es:{cancelBtn:"Cancelar",selectBtn:"Seleccionar"}},el1={es:{selectFileLabel:"Seleccione un archivo",removeBtn:"Eliminar archivo",newFileError:"Formato inválido"}},al1={es:{optionalLabel:"Opcional"}},tl1={es:{emptyOptionsText:"No hay opciones"}},cl1={es:{inputLabelUsername:"Usuario",inputLabelPassword:"Contraseña",inputValidationErrorUsernameRequired:"Debe ingresar un usuario",inputValidationErrorPasswordRequired:"Debe ingresar una contraseña",loginBtn:"Iniciar sesión"}},rl1={es:{columnTitleEdit:"Editar",columnTitleDelete:"Eliminar",selectAllBtn:"Seleccionar todo",withTheSelectedItemsText:"Con los seleccionados:"}},nl1={es:{cancelBtn:"Cancelar",acceptBtn:"Guardar"}},il1={es:{removeAllBtn:"Eliminar todo"}},sl1={alert:Zo1,pgaLogoutButton:Qo1,pgaDisplayNoItems:Ko1,pgaDatePicker:Jo1,pgaInputFile:el1,pgaInputGroup:al1,pgaInputSelect:tl1,pgaLoginForm:cl1,pgaTable:rl1,pgaModal:nl1,notifications:il1};function ol1(e,a){return _3.defineStore(e,()=>({language:o.ref(a)}),{persist:!0})}function rH(e,a,t){const c=ol1(e,a);function r(){return c().language}function n(s){c().language=s}function i(s,l){return function(f,u={}){const h=c().language,d=t==null?void 0:t[s],m=d==null?void 0:d[h],p=l?`${l}__${f}`:f,v=(m==null?void 0:m[p])||"",g=u.count?u.count:0,z=v.split("|").map(x=>x.trim());let M=z[0];z.length===2?M=g===1?z[0]:z[1]:z.length===3&&(M=g===0?z[0]:g===1?z[1]:z[2]),M=M.replace(new RegExp("{count}","g"),g.toString());for(const x in u)x!=="count"&&u[x]&&(M=M.replace(new RegExp(`{${x}}`,"g"),u[x].toString()));return M}}return{getLanguage:r,setLanguage:n,useI18n:i}}const{getLanguage:d7,setLanguage:ll1,useI18n:P4}=rH("pga-i18n","es",sl1),fl1={class:"modal--header"},ul1=["textContent"],hl1={class:"modal--body"},dl1={key:0,class:"modal--footer"},ml1=o.defineComponent({__name:"PgaModal",props:o.mergeModels({title:{},confirmButtons:{type:Boolean},isLoading:{type:Boolean}},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:o.mergeModels(["accept"],["update:modelValue"]),setup(e,{emit:a}){const t=o.useModel(e,"modelValue"),c=a,r=P4("pgaModal");return o.watch(t,n=>s7(!n)),(n,i)=>t.value?(o.openBlock(),o.createElementBlock("div",{key:0,class:"modal",onMousedown:i[4]||(i[4]=s=>t.value=!1)},[o.createElementVNode("div",{class:"modal--content",onMousedown:i[3]||(i[3]=o.withModifiers(()=>{},["stop"]))},[o.createElementVNode("div",fl1,[o.createElementVNode("span",{class:"modal--title",textContent:o.toDisplayString(n.title)},null,8,ul1),o.createElementVNode("div",{class:"close-icon",onClick:i[0]||(i[0]=s=>t.value=!1)},[o.createVNode(A3,{icon:"xmark"})])]),o.createElementVNode("div",hl1,[o.renderSlot(n.$slots,"default",{},void 0,!0)]),n.confirmButtons?(o.openBlock(),o.createElementBlock("div",dl1,[n.isLoading?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(r0,{key:0,text:o.unref(r)("cancelBtn"),color:"danger",onClick:i[1]||(i[1]=s=>t.value=!1)},null,8,["text"])),o.createVNode(r0,{text:o.unref(r)("acceptBtn"),color:"success",isLoading:n.isLoading,onClick:i[2]||(i[2]=s=>c("accept"))},null,8,["text","isLoading"])])):o.createCommentVNode("",!0)],32)],32)):o.createCommentVNode("",!0)}});const pl1=Q1(ml1,[["__scopeId","data-v-43977872"]]);const vl1={},gl1={class:"separator"};function xl1(e,a){return o.openBlock(),o.createElementBlock("div",gl1)}const zl1=Q1(vl1,[["render",xl1],["__scopeId","data-v-0efe914f"]]),Cl1={delayTime:300},Ml1={class:"user-menu"},Hl1={key:0,class:"user-menu--dropdown"},Vl1=["onClick"],yl1=o.defineComponent({__name:"PgaUserMenu",props:{dropdownOptions:{}},setup(e){let a=!1,t;const c=o.ref(!1);function r(){a||(c.value=!0)}function n(){clearTimeout(t),a=!0,c.value=!1,t=setTimeout(()=>a=!1,Cl1.delayTime)}function i(s){s.handleClickFn(),c.value=!1}return(s,l)=>{const f=o.resolveComponent("PgaIcon"),u=o.resolveComponent("PgaDisplayText"),h=o.resolveDirective("click-outside");return o.openBlock(),o.createElementBlock("div",Ml1,[o.createElementVNode("div",{class:"user-menu--icon-container",onClick:l[0]||(l[0]=d=>r())},[o.createVNode(f,{class:"user-menu--user-icon",icon:["far","user"]})]),c.value?o.withDirectives((o.openBlock(),o.createElementBlock("div",Hl1,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(s.dropdownOptions,(d,m)=>(o.openBlock(),o.createElementBlock("div",{key:m,class:"dropdown--option",style:o.normalizeStyle({color:d.color}),onClick:p=>i(d)},[o.createVNode(f,{class:"option--icon",icon:d.icon},null,8,["icon"]),o.createVNode(u,{class:"option--label",text:d.label},null,8,["text"])],12,Vl1))),128))])),[[h,n]]):o.createCommentVNode("",!0)])}}});const bl1=Q1(yl1,[["__scopeId","data-v-4d1e5d6c"]]),wl1={class:"button-link",type:"button"},kl1=o.defineComponent({__name:"PgaButtonLink",props:{text:{},icon:{},size:{default:"inherit"},color:{default:"link"},preventUnderline:{type:Boolean}},setup(e){o.useCssVars(r=>({"59a441d3":r.size,"0c87aff2":t.value,"1de55f2c":c.value}));const a=e,t=o.computed(()=>`var(--pga-color-${a.color})`),c=o.computed(()=>`rgba(var(--pga-color-${a.color}-rgb), 0.8)`);return(r,n)=>(o.openBlock(),o.createElementBlock("button",wl1,[r.text?(o.openBlock(),o.createBlock(F0,{key:0,class:o.normalizeClass(["button-link--text",{"button-link--text__with-underline":!r.preventUnderline}]),text:r.text,icon:r.icon},null,8,["class","text","icon"])):o.renderSlot(r.$slots,"default",{key:1},void 0,!0)]))}});const yn=Q1(kl1,[["__scopeId","data-v-5ce19627"]]),Ll1={class:"alert"},_l1={class:"alert--content"},Al1=["textContent"],Sl1={class:"alert--buttons"},Nl1=o.defineComponent({__name:"Alert",props:{message:{type:[String,Function]},handleAcceptFn:{type:Function},handleCloseFn:{type:Function}},setup(e){const a=Pr.directive,t=P4("alert");return o.onMounted(()=>s7(!1)),o.onUnmounted(()=>s7(!0)),(c,r)=>(o.openBlock(),o.createElementBlock("div",Ll1,[o.withDirectives((o.openBlock(),o.createElementBlock("div",_l1,[o.createVNode(A3,{class:"alert--icon",icon:"land-mine-on"}),o.createElementVNode("span",{class:"alert--title",textContent:o.toDisplayString(o.unref(t)("alertTitle"))},null,8,Al1),o.createVNode(F0,{class:"alert--message",text:c.message},null,8,["text"]),o.createElementVNode("div",Sl1,[o.createVNode(r0,{class:"alert--button",text:o.unref(t)("cancelBtn"),buttonType:"filled",color:"grey",onClick:r[0]||(r[0]=n=>c.handleCloseFn())},null,8,["text"]),o.createVNode(r0,{class:"alert--button",text:o.unref(t)("acceptBtn"),buttonType:"filled",color:"danger",onClick:r[1]||(r[1]=n=>c.handleAcceptFn())},null,8,["text"])])])),[[o.unref(a),()=>c.handleCloseFn()]])]))}});const Tl1=Q1(Nl1,[["__scopeId","data-v-d071fd0a"]]);function nH(e,a){const t=document.createElement("div");document.body.appendChild(t);const c=o.createApp({render(){return o.h(Tl1,{message:e,handleAcceptFn:n,handleCloseFn:r})}});c.mount(t);function r(){c.unmount(),document.body.removeChild(t)}function n(){r(),a()}}const iH=o.defineComponent({__name:"PgaDeleteButton",props:{confirmDeleteText:{type:[String,Function]}},emits:["deleteConfirmed"],setup(e,{emit:a}){const t=e,c=a;function r(){nH(t.confirmDeleteText,()=>c("deleteConfirmed"))}return(n,i)=>{const s=o.resolveComponent("PgaButton");return o.openBlock(),o.createBlock(s,{class:"delete-button",buttonType:"flat",icon:["fas","trash"],size:"xs",color:"danger",onClick:r})}}}),El1={};function Fl1(e,a){const t=o.resolveComponent("PgaButton");return o.openBlock(),o.createBlock(t,{class:"edit-button",buttonType:"flat",icon:["far","pen-to-square"],size:"xs"})}const sH=Q1(El1,[["render",Fl1]]),Pl1=["href","target"],Dl1=o.defineComponent({__name:"PgaLink",props:{text:{},href:{},target:{default:"_blank"}},setup(e){return(a,t)=>(o.openBlock(),o.createElementBlock("a",{class:"hyperlink",href:a.href,target:a.target},[o.createVNode(F0,{text:a.text,withUnderlineOnHover:""},null,8,["text"])],8,Pl1))}});const Bl1=Q1(Dl1,[["__scopeId","data-v-b946d5e6"]]),Ol1=o.defineComponent({__name:"PgaLogoutButton",emits:["click"],setup(e,{emit:a}){const t=a,c=P4("pgaLogoutButton");return(r,n)=>(o.openBlock(),o.createBlock(r0,{icon:["fas","right-from-bracket"],text:o.unref(c)("logoutBtn"),color:"danger",onClick:n[0]||(n[0]=i=>t("click",i))},null,8,["text"]))}});/*!
777
+ A1.version="2.30.1";$91(b2);A1.fn=k1;A1.min=Ai1;A1.max=Si1;A1.now=Ni1;A1.utc=i0;A1.unix=io1;A1.months=oo1;A1.isDate=D5;A1.locale=n6;A1.invalid=mt;A1.duration=F4;A1.isMoment=T4;A1.weekdays=fo1;A1.parseZone=so1;A1.localeData=T0;A1.isDuration=Ua;A1.monthsShort=lo1;A1.weekdaysMin=ho1;A1.defineLocale=pn;A1.updateLocale=si1;A1.locales=oi1;A1.weekdaysShort=uo1;A1.normalizeUnits=d4;A1.relativeTimeRounding=Oo1;A1.relativeTimeThreshold=Ro1;A1.calendarFormat=cs1;A1.prototype=k1;A1.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"};function $o1(e,a,t){a&&Object.keys(a).forEach(c=>{if(e.hasOwnProperty(c)&&a[c]!==void 0){if(a[c]===null){e[c]=null;return}if(a[c]instanceof File){const r=a[c];e[c]=new File([r],r.name,{type:r.type,lastModified:r.lastModified});return}if(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z$/.test(a[c])&&A1(a[c],A1.ISO_8601,!0).isValid()){e[c]=new Date(a[c]);return}if(typeof a[c]=="object"){if(t!=null&&t[c]){if(Array.isArray(a[c])){e[c]=a[c].map(r=>new t[c](r));return}e[c]=new t[c](a[c]);return}if(Array.isArray(a[c])){e[c]=a[c].map(r=>JSON.parse(JSON.stringify(r)));return}e[c]=JSON.parse(JSON.stringify(a[c]));return}e[c]=a[c]}})}function Uo1(e){if(!e)return!1;let a=e;const t=["http://","https://"];for(const c of t)if(e.startsWith(c)){a=e.replace(c,"");break}return a=a.replace(/:(\d*)$/,""),window.location.href.includes(a)}function cH(){window.scrollTo({top:0,behavior:"smooth"})}const Wo1=["textContent"],Yo1=o.defineComponent({__name:"PgaDisplayText",props:{text:{type:[String,Function]},icon:{},withUnderlineOnHover:{type:Boolean}},setup(e){const a=e,t=o.computed(()=>typeof a.text=="string"?a.text:a.text());return(c,r)=>(o.openBlock(),o.createElementBlock("span",{class:o.normalizeClass(["text",{"text__with-underline-on-hover":c.withUnderlineOnHover}])},[c.icon?(o.openBlock(),o.createBlock(A3,{key:0,icon:c.icon},null,8,["icon"])):o.createCommentVNode("",!0),o.createElementVNode("span",{textContent:o.toDisplayString(t.value)},null,8,Wo1)],2))}});const F0=Q1(Yo1,[["__scopeId","data-v-003f57da"]]),qo1=["type","disabled"],Go1={key:1,class:"button--content"},jo1=["textContent"],Xo1=o.defineComponent({__name:"PgaButton",props:{type:{default:"button"},icon:{},text:{},buttonType:{},size:{default:"m"},color:{default:"primary"},disabled:{type:Boolean},isLoading:{type:Boolean},numberToDisplay:{}},setup(e){o.useCssVars(d=>({fd0bbc34:r.value,"509115e8":o.unref(t).input.height,b0b44c3e:s.value,"12e6a003":o.unref(t).input.borderRadius,"06bb7ba6":n.value,d20cd5c2:i.value,"1ac2ab4b":l.value,"79e7185d":h.value,"46db8e91":f.value,"6ecc8d42":u.value}));const a=e,{formOptions:t}=_3.storeToRefs(j3()),c=o.computed(()=>a.buttonType?a.buttonType:j3().buttonOptions.buttonType),r=o.computed(()=>{if(a.size==="xs")return"0.8em";if(a.size==="s")return"0.9em";if(a.size==="m")return"1em";if(a.size==="l")return"1.1em";if(a.size==="xl")return"1.2em"}),n=o.computed(()=>c.value==="filled"?`var(--pga-color-${a.color}-contrast)`:`var(--pga-color-${a.color})`),i=o.computed(()=>c.value==="filled"?`var(--pga-color-${a.color})`:`rgba(var(--pga-color-${a.color}-rgb), 0.1)`),s=o.computed(()=>c.value==="filled"||c.value==="flat"?"none":`var(--pga-color-${a.color})`),l=o.computed(()=>c.value==="filled"?`rgba(var(--pga-color-${a.color}-rgb), 0.9)`:`rgba(var(--pga-color-${a.color}-rgb), 0.2)`),f=o.computed(()=>c.value==="filled"?`var(--pga-color-${a.color})`:`var(--pga-color-${a.color}-contrast)`),u=o.computed(()=>c.value==="filled"?`var(--pga-color-${a.color}-contrast)`:`var(--pga-color-${a.color})`),h=o.computed(()=>c.value==="flat"?"none":c.value==="filled"?`var(--pga-color-${a.color})`:"none");return(d,m)=>(o.openBlock(),o.createElementBlock("button",{class:o.normalizeClass(["button",{button__disabled:d.disabled,"button__is-loading":d.isLoading}]),type:d.type,disabled:d.disabled||d.isLoading},[d.isLoading?(o.openBlock(),o.createBlock(P5,{key:0,class:"button--spinner",color:d.color},null,8,["color"])):(o.openBlock(),o.createElementBlock("div",Go1,[d.icon?(o.openBlock(),o.createBlock(A3,{key:0,icon:d.icon},null,8,["icon"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createBlock(F0,{key:1,text:d.text},null,8,["text"])):o.createCommentVNode("",!0),!d.icon&&!d.text?o.renderSlot(d.$slots,"default",{key:2},void 0,!0):o.createCommentVNode("",!0)])),d.numberToDisplay?(o.openBlock(),o.createElementBlock("div",{key:2,class:"button--number-to-display",onClick:m[0]||(m[0]=o.withModifiers(()=>{},["stop"]))},[o.createElementVNode("span",{class:"number-to-display--number",textContent:o.toDisplayString(d.numberToDisplay)},null,8,jo1)])):o.createCommentVNode("",!0)],10,qo1))}});const r0=Q1(Xo1,[["__scopeId","data-v-5f90b3ec"]]),Zo1={es:{alertTitle:"¿Estás seguro?",cancelBtn:"Cancelar",acceptBtn:"Eliminar"}},Qo1={es:{logoutBtn:"Cerrar sesión"}},Ko1={es:{noItemsText:"No hay resultados"}},Jo1={es:{cancelBtn:"Cancelar",selectBtn:"Seleccionar"}},el1={es:{selectFileLabel:"Seleccione un archivo",removeBtn:"Eliminar archivo",newFileError:"Formato inválido"}},al1={es:{optionalLabel:"Opcional"}},tl1={es:{emptyOptionsText:"No hay opciones"}},cl1={es:{inputLabelUsername:"Usuario",inputLabelPassword:"Contraseña",inputValidationErrorUsernameRequired:"Debe ingresar un usuario",inputValidationErrorPasswordRequired:"Debe ingresar una contraseña",loginBtn:"Iniciar sesión"}},rl1={es:{columnTitleEdit:"Editar",columnTitleDelete:"Eliminar",selectAllBtn:"Seleccionar todo",withTheSelectedItemsText:"Con los seleccionados:"}},nl1={es:{cancelBtn:"Cancelar",acceptBtn:"Guardar"}},il1={es:{removeAllBtn:"Eliminar todo"}},sl1={alert:Zo1,pgaLogoutButton:Qo1,pgaDisplayNoItems:Ko1,pgaDatePicker:Jo1,pgaInputFile:el1,pgaInputGroup:al1,pgaInputSelect:tl1,pgaLoginForm:cl1,pgaTable:rl1,pgaModal:nl1,notifications:il1};function ol1(e,a){return _3.defineStore(e,()=>({language:o.ref(a)}),{persist:!0})}function rH(e,a,t){const c=ol1(e,a);function r(){return c().language}function n(s){c().language=s}function i(s,l){return function(f,u={}){const h=c().language,d=t==null?void 0:t[s],m=d==null?void 0:d[h],p=l?`${l}__${f}`:f,v=(m==null?void 0:m[p])||"",g=u.count?u.count:0,z=v.split("|").map(x=>x.trim());let M=z[0];z.length===2?M=g===1?z[0]:z[1]:z.length===3&&(M=g===0?z[0]:g===1?z[1]:z[2]),M=M.replace(new RegExp("{count}","g"),g.toString());for(const x in u)x!=="count"&&u[x]&&(M=M.replace(new RegExp(`{${x}}`,"g"),u[x].toString()));return M}}return{getLanguage:r,setLanguage:n,useI18n:i}}const{getLanguage:d7,setLanguage:ll1,useI18n:P4}=rH("pga-i18n","es",sl1),fl1={class:"modal--header"},ul1=["textContent"],hl1={class:"modal--body"},dl1={key:0,class:"modal--footer"},ml1=o.defineComponent({__name:"PgaModal",props:o.mergeModels({title:{},confirmButtons:{type:Boolean},isLoading:{type:Boolean}},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:o.mergeModels(["accept"],["update:modelValue"]),setup(e,{emit:a}){const t=o.useModel(e,"modelValue"),c=a,r=P4("pgaModal");return o.watch(t,n=>s7(!n)),(n,i)=>t.value?(o.openBlock(),o.createElementBlock("div",{key:0,class:"modal",onMousedown:i[4]||(i[4]=s=>t.value=!1)},[o.createElementVNode("div",{class:"modal--content",onMousedown:i[3]||(i[3]=o.withModifiers(()=>{},["stop"]))},[o.createElementVNode("div",fl1,[o.createElementVNode("span",{class:"modal--title",textContent:o.toDisplayString(n.title)},null,8,ul1),o.createElementVNode("div",{class:"close-icon",onClick:i[0]||(i[0]=s=>t.value=!1)},[o.createVNode(A3,{icon:"xmark"})])]),o.createElementVNode("div",hl1,[o.renderSlot(n.$slots,"default",{},void 0,!0)]),n.confirmButtons?(o.openBlock(),o.createElementBlock("div",dl1,[n.isLoading?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(r0,{key:0,text:o.unref(r)("cancelBtn"),color:"danger",onClick:i[1]||(i[1]=s=>t.value=!1)},null,8,["text"])),o.createVNode(r0,{text:o.unref(r)("acceptBtn"),color:"success",isLoading:n.isLoading,onClick:i[2]||(i[2]=s=>c("accept"))},null,8,["text","isLoading"])])):o.createCommentVNode("",!0)],32)],32)):o.createCommentVNode("",!0)}});const pl1=Q1(ml1,[["__scopeId","data-v-43977872"]]);const vl1={},gl1={class:"separator"};function xl1(e,a){return o.openBlock(),o.createElementBlock("div",gl1)}const zl1=Q1(vl1,[["render",xl1],["__scopeId","data-v-0efe914f"]]),Cl1={delayTime:300},Ml1={class:"user-menu"},Hl1={key:0,class:"user-menu--dropdown"},Vl1=["onClick"],yl1=o.defineComponent({__name:"PgaUserMenu",props:{dropdownOptions:{}},setup(e){let a=!1,t;const c=o.ref(!1);function r(){a||(c.value=!0)}function n(){clearTimeout(t),a=!0,c.value=!1,t=setTimeout(()=>a=!1,Cl1.delayTime)}function i(s){s.handleClickFn(),c.value=!1}return(s,l)=>{const f=o.resolveComponent("PgaIcon"),u=o.resolveComponent("PgaDisplayText"),h=o.resolveDirective("click-outside");return o.openBlock(),o.createElementBlock("div",Ml1,[o.createElementVNode("div",{class:"user-menu--icon-container",onClick:l[0]||(l[0]=d=>r())},[o.createVNode(f,{class:"user-menu--user-icon",icon:["far","user"]})]),c.value?o.withDirectives((o.openBlock(),o.createElementBlock("div",Hl1,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(s.dropdownOptions,(d,m)=>(o.openBlock(),o.createElementBlock("div",{key:m,class:"dropdown--option",style:o.normalizeStyle({color:d.color}),onClick:p=>i(d)},[o.createVNode(f,{class:"option--icon",icon:d.icon},null,8,["icon"]),o.createVNode(u,{class:"option--label",text:d.label},null,8,["text"])],12,Vl1))),128))])),[[h,n]]):o.createCommentVNode("",!0)])}}});const bl1=Q1(yl1,[["__scopeId","data-v-4d1e5d6c"]]),wl1={class:"button-link",type:"button"},kl1=o.defineComponent({__name:"PgaButtonLink",props:{text:{},icon:{},size:{default:"inherit"},color:{default:"link"},preventUnderline:{type:Boolean}},setup(e){o.useCssVars(r=>({"59a441d3":r.size,"0c87aff2":t.value,"1de55f2c":c.value}));const a=e,t=o.computed(()=>`var(--pga-color-${a.color})`),c=o.computed(()=>`rgba(var(--pga-color-${a.color}-rgb), 0.8)`);return(r,n)=>(o.openBlock(),o.createElementBlock("button",wl1,[r.text?(o.openBlock(),o.createBlock(F0,{key:0,class:o.normalizeClass(["button-link--text",{"button-link--text__with-underline":!r.preventUnderline}]),text:r.text,icon:r.icon},null,8,["class","text","icon"])):o.renderSlot(r.$slots,"default",{key:1},void 0,!0)]))}});const yn=Q1(kl1,[["__scopeId","data-v-5ce19627"]]),Ll1={class:"alert"},_l1={class:"alert--content"},Al1=["textContent"],Sl1={class:"alert--buttons"},Nl1=o.defineComponent({__name:"Alert",props:{message:{type:[String,Function]},handleAcceptFn:{type:Function},handleCloseFn:{type:Function}},setup(e){const a=Pr.directive,t=P4("alert");return o.onMounted(()=>s7(!1)),o.onUnmounted(()=>s7(!0)),(c,r)=>(o.openBlock(),o.createElementBlock("div",Ll1,[o.withDirectives((o.openBlock(),o.createElementBlock("div",_l1,[o.createVNode(A3,{class:"alert--icon",icon:"land-mine-on"}),o.createElementVNode("span",{class:"alert--title",textContent:o.toDisplayString(o.unref(t)("alertTitle"))},null,8,Al1),o.createVNode(F0,{class:"alert--message",text:c.message},null,8,["text"]),o.createElementVNode("div",Sl1,[o.createVNode(r0,{class:"alert--button",text:o.unref(t)("cancelBtn"),buttonType:"filled",color:"grey",onClick:r[0]||(r[0]=n=>c.handleCloseFn())},null,8,["text"]),o.createVNode(r0,{class:"alert--button",text:o.unref(t)("acceptBtn"),buttonType:"filled",color:"danger",onClick:r[1]||(r[1]=n=>c.handleAcceptFn())},null,8,["text"])])])),[[o.unref(a),()=>c.handleCloseFn()]])]))}});const Tl1=Q1(Nl1,[["__scopeId","data-v-d071fd0a"]]);function nH(e,a){const t=document.createElement("div");document.body.appendChild(t);const c=o.createApp({render(){return o.h(Tl1,{message:e,handleAcceptFn:n,handleCloseFn:r})}});c.mount(t);function r(){c.unmount(),document.body.removeChild(t)}function n(){r(),a()}}const iH=o.defineComponent({__name:"PgaDeleteButton",props:{confirmDeleteText:{type:[String,Function]}},emits:["deleteConfirmed"],setup(e,{emit:a}){const t=e,c=a;function r(){nH(t.confirmDeleteText,()=>c("deleteConfirmed"))}return(n,i)=>{const s=o.resolveComponent("PgaButton");return o.openBlock(),o.createBlock(s,{class:"delete-button",buttonType:"flat",icon:["fas","trash"],size:"xs",color:"danger",onClick:r})}}}),El1={};function Fl1(e,a){const t=o.resolveComponent("PgaButton");return o.openBlock(),o.createBlock(t,{class:"edit-button",buttonType:"flat",icon:["far","pen-to-square"],size:"xs"})}const sH=Q1(El1,[["render",Fl1]]),Pl1=["href","target"],Dl1=o.defineComponent({__name:"PgaLink",props:{text:{},href:{},target:{default:"_blank"}},setup(e){return(a,t)=>(o.openBlock(),o.createElementBlock("a",{class:"hyperlink",href:a.href,target:a.target},[o.createVNode(F0,{text:a.text,withUnderlineOnHover:""},null,8,["text"])],8,Pl1))}});const Bl1=Q1(Dl1,[["__scopeId","data-v-b946d5e6"]]),Ol1=o.defineComponent({__name:"PgaLogoutButton",emits:["click"],setup(e,{emit:a}){const t=a,c=P4("pgaLogoutButton");return(r,n)=>(o.openBlock(),o.createBlock(r0,{icon:["fas","right-from-bracket"],text:o.unref(c)("logoutBtn"),color:"danger",onClick:n[0]||(n[0]=i=>t("click",i))},null,8,["text"]))}});/*!
778
778
  * @kurkle/color v0.3.2
779
779
  * https://github.com/kurkle/color#readme
780
780
  * (c) 2023 Jukka Kurkela
package/dist/main.es.js CHANGED
@@ -20326,7 +20326,7 @@ function VA1(e, a, t) {
20326
20326
  return;
20327
20327
  }
20328
20328
  if (Array.isArray(a[c])) {
20329
- e[c] = a[c].slice();
20329
+ e[c] = a[c].map((r) => JSON.parse(JSON.stringify(r)));
20330
20330
  return;
20331
20331
  }
20332
20332
  e[c] = JSON.parse(JSON.stringify(a[c]));
@@ -1 +1,9 @@
1
- export declare function copyModelFields(objTo: any, objFrom: any, relations?: any): void;
1
+ type ObjectTo = {
2
+ [key: string]: any;
3
+ };
4
+ type ObjectFrom = Partial<ObjectTo>;
5
+ type Relations = {
6
+ [K in keyof ObjectTo]?: any;
7
+ };
8
+ export declare function copyModelFields(objTo: ObjectTo, objFrom: ObjectFrom, relations?: Relations): void;
9
+ export {};
@@ -8,7 +8,7 @@ export type Column = {
8
8
  fitContent?: boolean;
9
9
  hide?: boolean;
10
10
  };
11
- export type Columns = Record<ColumnName, Column>;
11
+ export type Columns<T extends ColumnName = ColumnName> = Record<T, Column>;
12
12
  export type SearchParams = {
13
13
  page?: number;
14
14
  pageSize?: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pangea-lib",
3
3
  "description": "",
4
- "version": "2.11.464",
4
+ "version": "2.11.466",
5
5
  "author": "Gianfranco Raselli",
6
6
  "license": "ISC",
7
7
  "homepage": "https://github.com/GianfrancoRaselli/pangea#readme",