@creopse/vue 0.0.17 → 0.0.18
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/index.cjs +6 -6
- package/dist/index.js +7 -7
- package/dist/index.mjs +1434 -1435
- package/package.json +1 -1
- package/types/composables/api.d.ts +1 -1
- package/types/composables/helper.d.ts +4 -5
- package/types/core/symbols.d.ts +2 -1
- package/types/types/plugin.d.ts +2 -3
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
var CreopseVueToolkit=function($,l){"use strict";var
|
|
1
|
+
var CreopseVueToolkit=function($,l,en){"use strict";var tn;(function(e){e[e.DOCUMENT=1]="DOCUMENT",e[e.IMAGE=2]="IMAGE",e[e.VIDEO=3]="VIDEO",e[e.AUDIO=4]="AUDIO",e[e.OTHER=5]="OTHER"})(tn||(tn={}));var rn;(function(e){e[e.DRAFT=1]="DRAFT",e[e.PENDING=2]="PENDING",e[e.PUBLISHED=3]="PUBLISHED",e[e.TRASH=4]="TRASH"})(rn||(rn={}));var nn;(function(e){e.VERTICAL="vertical",e.HORIZONTAL="horizontal"})(nn||(nn={}));var sn;(function(e){e.SELF_HOSTED="self-hosted",e.YOUTUBE="youtube"})(sn||(sn={}));function ia(e){return e.length>1&&e.charAt(e.length-1)==="/"?e.substring(0,e.length-1):e}function oa(e){return e.startsWith("/")?e.slice(1):e}function la(){return window.location.protocol+"//"+window.location.hostname}function an(e){const t=document.getElementById(e);t?t.scrollIntoView({behavior:"smooth",block:"start"}):console.error(`Element with ID "${e}" not found.`)}function on(e){if(!e||typeof e!="string")return!1;let t=e.trim();t.includes("://")||(t="http://"+t);let r;try{r=new URL(t)}catch{return!1}const n=r.protocol.replace(":","");if(!["http","https","ftp"].includes(n)||!r.hostname)return!1;const s=r.hostname.toLowerCase();if(s.includes("_"))return!1;if(r.port){const f=parseInt(r.port,10);if(isNaN(f)||f<1||f>65535)return!1}const a=s==="localhost",o=/^(?:(?:\d{1,3}\.){3}\d{1,3})$/i.test(s),c=/^\[([0-9a-f:]+)\]$/i.test(s)||/^([0-9a-f:]+)$/i.test(s);if(!a&&!o&&!c){const f=s.split(".");if(f.length<2||f.some(D=>!D)||f[f.length-1].length<1)return!1}return!(!/^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i.test(s)&&!a&&!o&&!c)}//! moment.js
|
|
2
2
|
//! version : 2.30.1
|
|
3
3
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
4
4
|
//! license : MIT
|
|
5
5
|
//! momentjs.com
|
|
6
|
-
var
|
|
7
|
-
[`+a+"] ";for(o in arguments[0])
|
|
8
|
-
Arguments: `+Array.prototype.slice.call(
|
|
9
|
-
`+new Error().stack),n=!1}return t.apply(this,arguments)},t)}var fr={};function hr(e,t){m.deprecationHandler!=null&&m.deprecationHandler(e,t),fr[e]||(dr(t),fr[e]=!0)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;function ue(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function ua(e){var t,n;for(n in e)A(e,n)&&(t=e[n],ue(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function cn(e,t){var n=De({},e),r;for(r in t)A(t,r)&&(Ae(e[r])&&Ae(t[r])?(n[r]={},De(n[r],e[r]),De(n[r],t[r])):t[r]!=null?n[r]=t[r]:delete n[r]);for(r in e)A(e,r)&&!A(t,r)&&Ae(e[r])&&(n[r]=De({},n[r]));return n}function dn(e){e!=null&&this.set(e)}var fn;Object.keys?fn=Object.keys:fn=function(e){var t,n=[];for(t in e)A(e,t)&&n.push(t);return n};var ca={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function da(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return ue(r)?r.call(t,n):r}function ce(e,t,n){var r=""+Math.abs(e),s=t-r.length,a=e>=0;return(a?n?"+":"":"-")+Math.pow(10,Math.max(0,s)).toString().substr(1)+r}var hn=/(\[[^\[]*\])|(\\)?([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,Et=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,mn={},je={};function v(e,t,n,r){var s=r;typeof r=="string"&&(s=function(){return this[r]()}),e&&(je[e]=s),t&&(je[t[0]]=function(){return ce(s.apply(this,arguments),t[1],t[2])}),n&&(je[n]=function(){return this.localeData().ordinal(s.apply(this,arguments),e)})}function fa(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function ha(e){var t=e.match(hn),n,r;for(n=0,r=t.length;n<r;n++)je[t[n]]?t[n]=je[t[n]]:t[n]=fa(t[n]);return function(s){var a="",o;for(o=0;o<r;o++)a+=ue(t[o])?t[o].call(s,e):t[o];return a}}function It(e,t){return e.isValid()?(t=mr(t,e.localeData()),mn[t]=mn[t]||ha(t),mn[t](e)):e.localeData().invalidDate()}function mr(e,t){var n=5;function r(s){return t.longDateFormat(s)||s}for(Et.lastIndex=0;n>=0&&Et.test(e);)e=e.replace(Et,r),Et.lastIndex=0,n-=1;return e}var ma={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 _a(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(hn).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var pa="Invalid date";function ga(){return this._invalidDate}var ya="%d",Sa=/\d{1,2}/;function wa(e){return this._ordinal.replace("%d",e)}var ka={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 va(e,t,n,r){var s=this._relativeTime[n];return ue(s)?s(e,t,n,r):s.replace(/%d/i,e)}function Da(e,t){var n=this._relativeTime[e>0?"future":"past"];return ue(n)?n(t):n.replace(/%s/i,t)}var _r={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 te(e){return typeof e=="string"?_r[e]||_r[e.toLowerCase()]:void 0}function _n(e){var t={},n,r;for(r in e)A(e,r)&&(n=te(r),n&&(t[n]=e[r]));return t}var Ma={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 Oa(e){var t=[],n;for(n in e)A(e,n)&&t.push({unit:n,priority:Ma[n]});return t.sort(function(r,s){return r.priority-s.priority}),t}var pr=/\d/,J=/\d\d/,gr=/\d{3}/,pn=/\d{4}/,Yt=/[+-]?\d{6}/,P=/\d\d?/,yr=/\d\d\d\d?/,Sr=/\d\d\d\d\d\d?/,Nt=/\d{1,3}/,gn=/\d{1,4}/,xt=/[+-]?\d{1,6}/,$e=/\d+/,At=/[+-]?\d+/,Ta=/Z|[+-]\d\d:?\d\d/gi,Ct=/Z|[+-]\d\d(?::?\d\d)?/gi,ba=/[+-]?\d+(\.\d{1,3})?/,ft=/[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,Ge=/^[1-9]\d?/,yn=/^([1-9]\d|\d)/,Lt;Lt={};function g(e,t,n){Lt[e]=ue(t)?t:function(r,s){return r&&n?n:t}}function Ea(e,t){return A(Lt,e)?Lt[e](t._strict,t._locale):new RegExp(Ia(e))}function Ia(e){return he(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,r,s,a){return n||r||s||a}))}function he(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ne(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function E(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=ne(t)),n}var Sn={};function L(e,t){var n,r=t,s;for(typeof e=="string"&&(e=[e]),fe(t)&&(r=function(a,o){o[t]=E(a)}),s=e.length,n=0;n<s;n++)Sn[e[n]]=r}function ht(e,t){L(e,function(n,r,s,a){s._w=s._w||{},t(n,s._w,s,a)})}function Ya(e,t,n){t!=null&&A(Sn,e)&&Sn[e](t,n._a,n,e)}function Rt(e){return e%4===0&&e%100!==0||e%400===0}var V=0,me=1,de=2,j=3,ie=4,_e=5,Ce=6,Na=7,xa=8;v("Y",0,0,function(){var e=this.year();return e<=9999?ce(e,4):"+"+e}),v(0,["YY",2],0,function(){return this.year()%100}),v(0,["YYYY",4],0,"year"),v(0,["YYYYY",5],0,"year"),v(0,["YYYYYY",6,!0],0,"year"),g("Y",At),g("YY",P,J),g("YYYY",gn,pn),g("YYYYY",xt,Yt),g("YYYYYY",xt,Yt),L(["YYYYY","YYYYYY"],V),L("YYYY",function(e,t){t[V]=e.length===2?m.parseTwoDigitYear(e):E(e)}),L("YY",function(e,t){t[V]=m.parseTwoDigitYear(e)}),L("Y",function(e,t){t[V]=parseInt(e,10)});function mt(e){return Rt(e)?366:365}m.parseTwoDigitYear=function(e){return E(e)+(E(e)>68?1900:2e3)};var wr=Ve("FullYear",!0);function Aa(){return Rt(this.year())}function Ve(e,t){return function(n){return n!=null?(kr(this,e,n),m.updateOffset(this,t),this):_t(this,e)}}function _t(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function kr(e,t,n){var r,s,a,o,c;if(!(!e.isValid()||isNaN(n))){switch(r=e._d,s=e._isUTC,t){case"Milliseconds":return void(s?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(s?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(s?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(s?r.setUTCHours(n):r.setHours(n));case"Date":return void(s?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}a=n,o=e.month(),c=e.date(),c=c===29&&o===1&&!Rt(a)?28:c,s?r.setUTCFullYear(a,o,c):r.setFullYear(a,o,c)}}function Ca(e){return e=te(e),ue(this[e])?this[e]():this}function La(e,t){if(typeof e=="object"){e=_n(e);var n=Oa(e),r,s=n.length;for(r=0;r<s;r++)this[n[r].unit](e[n[r].unit])}else if(e=te(e),ue(this[e]))return this[e](t);return this}function Ra(e,t){return(e%t+t)%t}var H;Array.prototype.indexOf?H=Array.prototype.indexOf:H=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function wn(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Ra(t,12);return e+=(t-n)/12,n===1?Rt(e)?29:28:31-n%7%2}v("M",["MM",2],"Mo",function(){return this.month()+1}),v("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),v("MMMM",0,0,function(e){return this.localeData().months(this,e)}),g("M",P,Ge),g("MM",P,J),g("MMM",function(e,t){return t.monthsShortRegex(e)}),g("MMMM",function(e,t){return t.monthsRegex(e)}),L(["M","MM"],function(e,t){t[me]=E(e)-1}),L(["MMM","MMMM"],function(e,t,n,r){var s=n._locale.monthsParse(e,r,n._strict);s!=null?t[me]=s:O(n).invalidMonth=e});var Pa="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),vr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Dr=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Wa=ft,Ua=ft;function Fa(e,t){return e?se(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Dr).test(t)?"format":"standalone"][e.month()]:se(this._months)?this._months:this._months.standalone}function Ha(e,t){return e?se(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Dr.test(t)?"format":"standalone"][e.month()]:se(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ja(e,t,n){var r,s,a,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=le([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?t==="MMM"?(s=H.call(this._shortMonthsParse,o),s!==-1?s:null):(s=H.call(this._longMonthsParse,o),s!==-1?s:null):t==="MMM"?(s=H.call(this._shortMonthsParse,o),s!==-1?s:(s=H.call(this._longMonthsParse,o),s!==-1?s:null)):(s=H.call(this._longMonthsParse,o),s!==-1?s:(s=H.call(this._shortMonthsParse,o),s!==-1?s:null))}function $a(e,t,n){var r,s,a;if(this._monthsParseExact)return ja.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(s=le([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),!n&&!this._monthsParse[r]&&(a="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),n&&t==="MMMM"&&this._longMonthsParse[r].test(e))return r;if(n&&t==="MMM"&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function Mr(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=E(t);else if(t=e.localeData().monthsParse(t),!fe(t))return e}var n=t,r=e.date();return r=r<29?r:Math.min(r,wn(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,r):e._d.setMonth(n,r),e}function Or(e){return e!=null?(Mr(this,e),m.updateOffset(this,!0),this):_t(this,"Month")}function Ga(){return wn(this.year(),this.month())}function Va(e){return this._monthsParseExact?(A(this,"_monthsRegex")||Tr.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(A(this,"_monthsShortRegex")||(this._monthsShortRegex=Wa),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Ba(e){return this._monthsParseExact?(A(this,"_monthsRegex")||Tr.call(this),e?this._monthsStrictRegex:this._monthsRegex):(A(this,"_monthsRegex")||(this._monthsRegex=Ua),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Tr(){function e(_,f){return f.length-_.length}var t=[],n=[],r=[],s,a,o,c;for(s=0;s<12;s++)a=le([2e3,s]),o=he(this.monthsShort(a,"")),c=he(this.months(a,"")),t.push(o),n.push(c),r.push(c),r.push(o);t.sort(e),n.sort(e),r.sort(e),this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function za(e,t,n,r,s,a,o){var c;return e<100&&e>=0?(c=new Date(e+400,t,n,r,s,a,o),isFinite(c.getFullYear())&&c.setFullYear(e)):c=new Date(e,t,n,r,s,a,o),c}function pt(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Pt(e,t,n){var r=7+t-n,s=(7+pt(e,0,r).getUTCDay()-t)%7;return-s+r-1}function br(e,t,n,r,s){var a=(7+n-r)%7,o=Pt(e,r,s),c=1+7*(t-1)+a+o,_,f;return c<=0?(_=e-1,f=mt(_)+c):c>mt(e)?(_=e+1,f=c-mt(e)):(_=e,f=c),{year:_,dayOfYear:f}}function gt(e,t,n){var r=Pt(e.year(),t,n),s=Math.floor((e.dayOfYear()-r-1)/7)+1,a,o;return s<1?(o=e.year()-1,a=s+pe(o,t,n)):s>pe(e.year(),t,n)?(a=s-pe(e.year(),t,n),o=e.year()+1):(o=e.year(),a=s),{week:a,year:o}}function pe(e,t,n){var r=Pt(e,t,n),s=Pt(e+1,t,n);return(mt(e)-r+s)/7}v("w",["ww",2],"wo","week"),v("W",["WW",2],"Wo","isoWeek"),g("w",P,Ge),g("ww",P,J),g("W",P,Ge),g("WW",P,J),ht(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=E(e)});function Za(e){return gt(e,this._week.dow,this._week.doy).week}var qa={dow:0,doy:6};function Ka(){return this._week.dow}function Ja(){return this._week.doy}function Qa(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Xa(e){var t=gt(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}v("d",0,"do","day"),v("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),v("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),v("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),v("e",0,0,"weekday"),v("E",0,0,"isoWeekday"),g("d",P),g("e",P),g("E",P),g("dd",function(e,t){return t.weekdaysMinRegex(e)}),g("ddd",function(e,t){return t.weekdaysShortRegex(e)}),g("dddd",function(e,t){return t.weekdaysRegex(e)}),ht(["dd","ddd","dddd"],function(e,t,n,r){var s=n._locale.weekdaysParse(e,r,n._strict);s!=null?t.d=s:O(n).invalidWeekday=e}),ht(["d","e","E"],function(e,t,n,r){t[r]=E(e)});function ei(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function ti(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function kn(e,t){return e.slice(t,7).concat(e.slice(0,t))}var ni="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Er="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ri="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),si=ft,ai=ft,ii=ft;function oi(e,t){var n=se(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?kn(n,this._week.dow):e?n[e.day()]:n}function li(e){return e===!0?kn(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function ui(e){return e===!0?kn(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function ci(e,t,n){var r,s,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=le([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?t==="dddd"?(s=H.call(this._weekdaysParse,o),s!==-1?s:null):t==="ddd"?(s=H.call(this._shortWeekdaysParse,o),s!==-1?s:null):(s=H.call(this._minWeekdaysParse,o),s!==-1?s:null):t==="dddd"?(s=H.call(this._weekdaysParse,o),s!==-1||(s=H.call(this._shortWeekdaysParse,o),s!==-1)?s:(s=H.call(this._minWeekdaysParse,o),s!==-1?s:null)):t==="ddd"?(s=H.call(this._shortWeekdaysParse,o),s!==-1||(s=H.call(this._weekdaysParse,o),s!==-1)?s:(s=H.call(this._minWeekdaysParse,o),s!==-1?s:null)):(s=H.call(this._minWeekdaysParse,o),s!==-1||(s=H.call(this._weekdaysParse,o),s!==-1)?s:(s=H.call(this._shortWeekdaysParse,o),s!==-1?s:null))}function di(e,t,n){var r,s,a;if(this._weekdaysParseExact)return ci.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(s=le([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(n&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(n&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function fi(e){if(!this.isValid())return e!=null?this:NaN;var t=_t(this,"Day");return e!=null?(e=ei(e,this.localeData()),this.add(e-t,"d")):t}function hi(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function mi(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=ti(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function _i(e){return this._weekdaysParseExact?(A(this,"_weekdaysRegex")||vn.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(A(this,"_weekdaysRegex")||(this._weekdaysRegex=si),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function pi(e){return this._weekdaysParseExact?(A(this,"_weekdaysRegex")||vn.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(A(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ai),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function gi(e){return this._weekdaysParseExact?(A(this,"_weekdaysRegex")||vn.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(A(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ii),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function vn(){function e(M,T){return T.length-M.length}var t=[],n=[],r=[],s=[],a,o,c,_,f;for(a=0;a<7;a++)o=le([2e3,1]).day(a),c=he(this.weekdaysMin(o,"")),_=he(this.weekdaysShort(o,"")),f=he(this.weekdays(o,"")),t.push(c),n.push(_),r.push(f),s.push(c),s.push(_),s.push(f);t.sort(e),n.sort(e),r.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Dn(){return this.hours()%12||12}function yi(){return this.hours()||24}v("H",["HH",2],0,"hour"),v("h",["hh",2],0,Dn),v("k",["kk",2],0,yi),v("hmm",0,0,function(){return""+Dn.apply(this)+ce(this.minutes(),2)}),v("hmmss",0,0,function(){return""+Dn.apply(this)+ce(this.minutes(),2)+ce(this.seconds(),2)}),v("Hmm",0,0,function(){return""+this.hours()+ce(this.minutes(),2)}),v("Hmmss",0,0,function(){return""+this.hours()+ce(this.minutes(),2)+ce(this.seconds(),2)});function Ir(e,t){v(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Ir("a",!0),Ir("A",!1);function Yr(e,t){return t._meridiemParse}g("a",Yr),g("A",Yr),g("H",P,yn),g("h",P,Ge),g("k",P,Ge),g("HH",P,J),g("hh",P,J),g("kk",P,J),g("hmm",yr),g("hmmss",Sr),g("Hmm",yr),g("Hmmss",Sr),L(["H","HH"],j),L(["k","kk"],function(e,t,n){var r=E(e);t[j]=r===24?0:r}),L(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),L(["h","hh"],function(e,t,n){t[j]=E(e),O(n).bigHour=!0}),L("hmm",function(e,t,n){var r=e.length-2;t[j]=E(e.substr(0,r)),t[ie]=E(e.substr(r)),O(n).bigHour=!0}),L("hmmss",function(e,t,n){var r=e.length-4,s=e.length-2;t[j]=E(e.substr(0,r)),t[ie]=E(e.substr(r,2)),t[_e]=E(e.substr(s)),O(n).bigHour=!0}),L("Hmm",function(e,t,n){var r=e.length-2;t[j]=E(e.substr(0,r)),t[ie]=E(e.substr(r))}),L("Hmmss",function(e,t,n){var r=e.length-4,s=e.length-2;t[j]=E(e.substr(0,r)),t[ie]=E(e.substr(r,2)),t[_e]=E(e.substr(s))});function Si(e){return(e+"").toLowerCase().charAt(0)==="p"}var wi=/[ap]\.?m?\.?/i,ki=Ve("Hours",!0);function vi(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var Nr={calendar:ca,longDateFormat:ma,invalidDate:pa,ordinal:ya,dayOfMonthOrdinalParse:Sa,relativeTime:ka,months:Pa,monthsShort:vr,week:qa,weekdays:ni,weekdaysMin:ri,weekdaysShort:Er,meridiemParse:wi},U={},yt={},St;function Di(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function xr(e){return e&&e.toLowerCase().replace("_","-")}function Mi(e){for(var t=0,n,r,s,a;t<e.length;){for(a=xr(e[t]).split("-"),n=a.length,r=xr(e[t+1]),r=r?r.split("-"):null;n>0;){if(s=Wt(a.slice(0,n).join("-")),s)return s;if(r&&r.length>=n&&Di(a,r)>=n-1)break;n--}t++}return St}function Oi(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Wt(e){var t=null,n;if(U[e]===void 0&&typeof module<"u"&&module&&module.exports&&Oi(e))try{t=St._abbr,n=require,n("./locale/"+e),Me(t)}catch{U[e]=null}return U[e]}function Me(e,t){var n;return e&&(z(t)?n=ge(e):n=Mn(e,t),n?St=n:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),St._abbr}function Mn(e,t){if(t!==null){var n,r=Nr;if(t.abbr=e,U[e]!=null)hr("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=U[e]._config;else if(t.parentLocale!=null)if(U[t.parentLocale]!=null)r=U[t.parentLocale]._config;else if(n=Wt(t.parentLocale),n!=null)r=n._config;else return yt[t.parentLocale]||(yt[t.parentLocale]=[]),yt[t.parentLocale].push({name:e,config:t}),null;return U[e]=new dn(cn(r,t)),yt[e]&&yt[e].forEach(function(s){Mn(s.name,s.config)}),Me(e),U[e]}else return delete U[e],null}function Ti(e,t){if(t!=null){var n,r,s=Nr;U[e]!=null&&U[e].parentLocale!=null?U[e].set(cn(U[e]._config,t)):(r=Wt(e),r!=null&&(s=r._config),t=cn(s,t),r==null&&(t.abbr=e),n=new dn(t),n.parentLocale=U[e],U[e]=n),Me(e)}else U[e]!=null&&(U[e].parentLocale!=null?(U[e]=U[e].parentLocale,e===Me()&&Me(e)):U[e]!=null&&delete U[e]);return U[e]}function ge(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return St;if(!se(e)){if(t=Wt(e),t)return t;e=[e]}return Mi(e)}function bi(){return fn(U)}function On(e){var t,n=e._a;return n&&O(e).overflow===-2&&(t=n[me]<0||n[me]>11?me:n[de]<1||n[de]>wn(n[V],n[me])?de:n[j]<0||n[j]>24||n[j]===24&&(n[ie]!==0||n[_e]!==0||n[Ce]!==0)?j:n[ie]<0||n[ie]>59?ie:n[_e]<0||n[_e]>59?_e:n[Ce]<0||n[Ce]>999?Ce:-1,O(e)._overflowDayOfYear&&(t<V||t>de)&&(t=de),O(e)._overflowWeeks&&t===-1&&(t=Na),O(e)._overflowWeekday&&t===-1&&(t=xa),O(e).overflow=t),e}var Ei=/^\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)?)?$/,Ii=/^\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)?)?$/,Yi=/Z|[+-]\d\d(?::?\d\d)?/,Ut=[["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]],Tn=[["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/]],Ni=/^\/?Date\((-?\d+)/i,xi=/^(?:(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}))$/,Ai={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 Ar(e){var t,n,r=e._i,s=Ei.exec(r)||Ii.exec(r),a,o,c,_,f=Ut.length,M=Tn.length;if(s){for(O(e).iso=!0,t=0,n=f;t<n;t++)if(Ut[t][1].exec(s[1])){o=Ut[t][0],a=Ut[t][2]!==!1;break}if(o==null){e._isValid=!1;return}if(s[3]){for(t=0,n=M;t<n;t++)if(Tn[t][1].exec(s[3])){c=(s[2]||" ")+Tn[t][0];break}if(c==null){e._isValid=!1;return}}if(!a&&c!=null){e._isValid=!1;return}if(s[4])if(Yi.exec(s[4]))_="Z";else{e._isValid=!1;return}e._f=o+(c||"")+(_||""),En(e)}else e._isValid=!1}function Ci(e,t,n,r,s,a){var o=[Li(e),vr.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(s,10)];return a&&o.push(parseInt(a,10)),o}function Li(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Ri(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Pi(e,t,n){if(e){var r=Er.indexOf(e),s=new Date(t[0],t[1],t[2]).getDay();if(r!==s)return O(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function Wi(e,t,n){if(e)return Ai[e];if(t)return 0;var r=parseInt(n,10),s=r%100,a=(r-s)/100;return a*60+s}function Cr(e){var t=xi.exec(Ri(e._i)),n;if(t){if(n=Ci(t[4],t[3],t[2],t[5],t[6],t[7]),!Pi(t[1],n,e))return;e._a=n,e._tzm=Wi(t[8],t[9],t[10]),e._d=pt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),O(e).rfc2822=!0}else e._isValid=!1}function Ui(e){var t=Ni.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(Ar(e),e._isValid===!1)delete e._isValid;else return;if(Cr(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:m.createFromInputFallback(e)}m.createFromInputFallback=ee("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 Be(e,t,n){return e??t??n}function Fi(e){var t=new Date(m.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function bn(e){var t,n,r=[],s,a,o;if(!e._d){for(s=Fi(e),e._w&&e._a[de]==null&&e._a[me]==null&&Hi(e),e._dayOfYear!=null&&(o=Be(e._a[V],s[V]),(e._dayOfYear>mt(o)||e._dayOfYear===0)&&(O(e)._overflowDayOfYear=!0),n=pt(o,0,e._dayOfYear),e._a[me]=n.getUTCMonth(),e._a[de]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=s[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[j]===24&&e._a[ie]===0&&e._a[_e]===0&&e._a[Ce]===0&&(e._nextDay=!0,e._a[j]=0),e._d=(e._useUTC?pt:za).apply(null,r),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[j]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==a&&(O(e).weekdayMismatch=!0)}}function Hi(e){var t,n,r,s,a,o,c,_,f;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(a=1,o=4,n=Be(t.GG,e._a[V],gt(W(),1,4).year),r=Be(t.W,1),s=Be(t.E,1),(s<1||s>7)&&(_=!0)):(a=e._locale._week.dow,o=e._locale._week.doy,f=gt(W(),a,o),n=Be(t.gg,e._a[V],f.year),r=Be(t.w,f.week),t.d!=null?(s=t.d,(s<0||s>6)&&(_=!0)):t.e!=null?(s=t.e+a,(t.e<0||t.e>6)&&(_=!0)):s=a),r<1||r>pe(n,a,o)?O(e)._overflowWeeks=!0:_!=null?O(e)._overflowWeekday=!0:(c=br(n,r,s,a,o),e._a[V]=c.year,e._dayOfYear=c.dayOfYear)}m.ISO_8601=function(){},m.RFC_2822=function(){};function En(e){if(e._f===m.ISO_8601){Ar(e);return}if(e._f===m.RFC_2822){Cr(e);return}e._a=[],O(e).empty=!0;var t=""+e._i,n,r,s,a,o,c=t.length,_=0,f,M;for(s=mr(e._f,e._locale).match(hn)||[],M=s.length,n=0;n<M;n++)a=s[n],r=(t.match(Ea(a,e))||[])[0],r&&(o=t.substr(0,t.indexOf(r)),o.length>0&&O(e).unusedInput.push(o),t=t.slice(t.indexOf(r)+r.length),_+=r.length),je[a]?(r?O(e).empty=!1:O(e).unusedTokens.push(a),Ya(a,r,e)):e._strict&&!r&&O(e).unusedTokens.push(a);O(e).charsLeftOver=c-_,t.length>0&&O(e).unusedInput.push(t),e._a[j]<=12&&O(e).bigHour===!0&&e._a[j]>0&&(O(e).bigHour=void 0),O(e).parsedDateParts=e._a.slice(0),O(e).meridiem=e._meridiem,e._a[j]=ji(e._locale,e._a[j],e._meridiem),f=O(e).era,f!==null&&(e._a[V]=e._locale.erasConvertYear(f,e._a[V])),bn(e),On(e)}function ji(e,t,n){var r;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):(e.isPM!=null&&(r=e.isPM(n),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function $i(e){var t,n,r,s,a,o,c=!1,_=e._f.length;if(_===0){O(e).invalidFormat=!0,e._d=new Date(NaN);return}for(s=0;s<_;s++)a=0,o=!1,t=un({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[s],En(t),on(t)&&(o=!0),a+=O(t).charsLeftOver,a+=O(t).unusedTokens.length*10,O(t).score=a,c?a<r&&(r=a,n=t):(r==null||a<r||o)&&(r=a,n=t,o&&(c=!0));De(e,n||t)}function Gi(e){if(!e._d){var t=_n(e._i),n=t.day===void 0?t.date:t.day;e._a=ur([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(r){return r&&parseInt(r,10)}),bn(e)}}function Vi(e){var t=new dt(On(Lr(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Lr(e){var t=e._i,n=e._f;return e._locale=e._locale||ge(e._l),t===null||n===void 0&&t===""?bt({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),ae(t)?new dt(On(t)):(ct(t)?e._d=t:se(n)?$i(e):n?En(e):Bi(e),on(e)||(e._d=null),e))}function Bi(e){var t=e._i;z(t)?e._d=new Date(m.now()):ct(t)?e._d=new Date(t.valueOf()):typeof t=="string"?Ui(e):se(t)?(e._a=ur(t.slice(0),function(n){return parseInt(n,10)}),bn(e)):Ae(t)?Gi(e):fe(t)?e._d=new Date(t):m.createFromInputFallback(e)}function Rr(e,t,n,r,s){var a={};return(t===!0||t===!1)&&(r=t,t=void 0),(n===!0||n===!1)&&(r=n,n=void 0),(Ae(e)&&sn(e)||se(e)&&e.length===0)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=s,a._l=n,a._i=e,a._f=t,a._strict=r,Vi(a)}function W(e,t,n,r){return Rr(e,t,n,r,!1)}var zi=ee("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=W.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:bt()}),Zi=ee("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=W.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:bt()});function Pr(e,t){var n,r;if(t.length===1&&se(t[0])&&(t=t[0]),!t.length)return W();for(n=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](n))&&(n=t[r]);return n}function qi(){var e=[].slice.call(arguments,0);return Pr("isBefore",e)}function Ki(){var e=[].slice.call(arguments,0);return Pr("isAfter",e)}var Ji=function(){return Date.now?Date.now():+new Date},wt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Qi(e){var t,n=!1,r,s=wt.length;for(t in e)if(A(e,t)&&!(H.call(wt,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<s;++r)if(e[wt[r]]){if(n)return!1;parseFloat(e[wt[r]])!==E(e[wt[r]])&&(n=!0)}return!0}function Xi(){return this._isValid}function eo(){return oe(NaN)}function Ft(e){var t=_n(e),n=t.year||0,r=t.quarter||0,s=t.month||0,a=t.week||t.isoWeek||0,o=t.day||0,c=t.hour||0,_=t.minute||0,f=t.second||0,M=t.millisecond||0;this._isValid=Qi(t),this._milliseconds=+M+f*1e3+_*6e4+c*1e3*60*60,this._days=+o+a*7,this._months=+s+r*3+n*12,this._data={},this._locale=ge(),this._bubble()}function Ht(e){return e instanceof Ft}function In(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function to(e,t,n){var r=Math.min(e.length,t.length),s=Math.abs(e.length-t.length),a=0,o;for(o=0;o<r;o++)E(e[o])!==E(t[o])&&a++;return a+s}function Wr(e,t){v(e,0,0,function(){var n=this.utcOffset(),r="+";return n<0&&(n=-n,r="-"),r+ce(~~(n/60),2)+t+ce(~~n%60,2)})}Wr("Z",":"),Wr("ZZ",""),g("Z",Ct),g("ZZ",Ct),L(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Yn(Ct,e)});var no=/([\+\-]|\d\d)/gi;function Yn(e,t){var n=(t||"").match(e),r,s,a;return n===null?null:(r=n[n.length-1]||[],s=(r+"").match(no)||["-",0,0],a=+(s[1]*60)+E(s[2]),a===0?0:s[0]==="+"?a:-a)}function Nn(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(ae(e)||ct(e)?e.valueOf():W(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),m.updateOffset(n,!1),n):W(e).local()}function xn(e){return-Math.round(e._d.getTimezoneOffset())}m.updateOffset=function(){};function ro(e,t,n){var r=this._offset||0,s;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Yn(Ct,e),e===null)return this}else Math.abs(e)<16&&!n&&(e=e*60);return!this._isUTC&&t&&(s=xn(this)),this._offset=e,this._isUTC=!0,s!=null&&this.add(s,"m"),r!==e&&(!t||this._changeInProgress?jr(this,oe(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:xn(this)}function so(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function ao(e){return this.utcOffset(0,e)}function io(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(xn(this),"m")),this}function oo(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Yn(Ta,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function lo(e){return this.isValid()?(e=e?W(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function uo(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function co(){if(!z(this._isDSTShifted))return this._isDSTShifted;var e={},t;return un(e,this),e=Lr(e),e._a?(t=e._isUTC?le(e._a):W(e._a),this._isDSTShifted=this.isValid()&&to(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function fo(){return this.isValid()?!this._isUTC:!1}function ho(){return this.isValid()?this._isUTC:!1}function Ur(){return this.isValid()?this._isUTC&&this._offset===0:!1}var mo=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,_o=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function oe(e,t){var n=e,r=null,s,a,o;return Ht(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:fe(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(r=mo.exec(e))?(s=r[1]==="-"?-1:1,n={y:0,d:E(r[de])*s,h:E(r[j])*s,m:E(r[ie])*s,s:E(r[_e])*s,ms:E(In(r[Ce]*1e3))*s}):(r=_o.exec(e))?(s=r[1]==="-"?-1:1,n={y:Le(r[2],s),M:Le(r[3],s),w:Le(r[4],s),d:Le(r[5],s),h:Le(r[6],s),m:Le(r[7],s),s:Le(r[8],s)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(o=po(W(n.from),W(n.to)),n={},n.ms=o.milliseconds,n.M=o.months),a=new Ft(n),Ht(e)&&A(e,"_locale")&&(a._locale=e._locale),Ht(e)&&A(e,"_isValid")&&(a._isValid=e._isValid),a}oe.fn=Ft.prototype,oe.invalid=eo;function Le(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Fr(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function po(e,t){var n;return e.isValid()&&t.isValid()?(t=Nn(t,e),e.isBefore(t)?n=Fr(e,t):(n=Fr(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Hr(e,t){return function(n,r){var s,a;return r!==null&&!isNaN(+r)&&(hr(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=n,n=r,r=a),s=oe(n,r),jr(this,s,e),this}}function jr(e,t,n,r){var s=t._milliseconds,a=In(t._days),o=In(t._months);e.isValid()&&(r=r??!0,o&&Mr(e,_t(e,"Month")+o*n),a&&kr(e,"Date",_t(e,"Date")+a*n),s&&e._d.setTime(e._d.valueOf()+s*n),r&&m.updateOffset(e,a||o))}var go=Hr(1,"add"),yo=Hr(-1,"subtract");function $r(e){return typeof e=="string"||e instanceof String}function So(e){return ae(e)||ct(e)||$r(e)||fe(e)||ko(e)||wo(e)||e===null||e===void 0}function wo(e){var t=Ae(e)&&!sn(e),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s,a,o=r.length;for(s=0;s<o;s+=1)a=r[s],n=n||A(e,a);return t&&n}function ko(e){var t=se(e),n=!1;return t&&(n=e.filter(function(r){return!fe(r)&&$r(e)}).length===0),t&&n}function vo(e){var t=Ae(e)&&!sn(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],s,a;for(s=0;s<r.length;s+=1)a=r[s],n=n||A(e,a);return t&&n}function Do(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Mo(e,t){arguments.length===1&&(arguments[0]?So(arguments[0])?(e=arguments[0],t=void 0):vo(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||W(),r=Nn(n,this).startOf("day"),s=m.calendarFormat(this,r)||"sameElse",a=t&&(ue(t[s])?t[s].call(this,n):t[s]);return this.format(a||this.localeData().calendar(s,this,W(n)))}function Oo(){return new dt(this)}function To(e,t){var n=ae(e)?e:W(e);return this.isValid()&&n.isValid()?(t=te(t)||"millisecond",t==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf()):!1}function bo(e,t){var n=ae(e)?e:W(e);return this.isValid()&&n.isValid()?(t=te(t)||"millisecond",t==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf()):!1}function Eo(e,t,n,r){var s=ae(e)?e:W(e),a=ae(t)?t:W(t);return this.isValid()&&s.isValid()&&a.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(s,n):!this.isBefore(s,n))&&(r[1]===")"?this.isBefore(a,n):!this.isAfter(a,n))):!1}function Io(e,t){var n=ae(e)?e:W(e),r;return this.isValid()&&n.isValid()?(t=te(t)||"millisecond",t==="millisecond"?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function Yo(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function No(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function xo(e,t,n){var r,s,a;if(!this.isValid())return NaN;if(r=Nn(e,this),!r.isValid())return NaN;switch(s=(r.utcOffset()-this.utcOffset())*6e4,t=te(t),t){case"year":a=jt(this,r)/12;break;case"month":a=jt(this,r);break;case"quarter":a=jt(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-s)/864e5;break;case"week":a=(this-r-s)/6048e5;break;default:a=this-r}return n?a:ne(a)}function jt(e,t){if(e.date()<t.date())return-jt(t,e);var n=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(n,"months"),s,a;return t-r<0?(s=e.clone().add(n-1,"months"),a=(t-r)/(r-s)):(s=e.clone().add(n+1,"months"),a=(t-r)/(s-r)),-(n+a)||0}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Ao(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Co(e){if(!this.isValid())return null;var t=e!==!0,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?It(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ue(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",It(n,"Z")):It(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Lo(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,r,s,a;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",s="-MM-DD[T]HH:mm:ss.SSS",a=t+'[")]',this.format(n+r+s+a)}function Ro(e){e||(e=this.isUtc()?m.defaultFormatUtc:m.defaultFormat);var t=It(this,e);return this.localeData().postformat(t)}function Po(e,t){return this.isValid()&&(ae(e)&&e.isValid()||W(e).isValid())?oe({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Wo(e){return this.from(W(),e)}function Uo(e,t){return this.isValid()&&(ae(e)&&e.isValid()||W(e).isValid())?oe({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Fo(e){return this.to(W(),e)}function Gr(e){var t;return e===void 0?this._locale._abbr:(t=ge(e),t!=null&&(this._locale=t),this)}var Vr=ee("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 Br(){return this._locale}var $t=1e3,ze=60*$t,Gt=60*ze,zr=(365*400+97)*24*Gt;function Ze(e,t){return(e%t+t)%t}function Zr(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-zr:new Date(e,t,n).valueOf()}function qr(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-zr:Date.UTC(e,t,n)}function Ho(e){var t,n;if(e=te(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?qr:Zr,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Ze(t+(this._isUTC?0:this.utcOffset()*ze),Gt);break;case"minute":t=this._d.valueOf(),t-=Ze(t,ze);break;case"second":t=this._d.valueOf(),t-=Ze(t,$t);break}return this._d.setTime(t),m.updateOffset(this,!0),this}function jo(e){var t,n;if(e=te(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?qr:Zr,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Gt-Ze(t+(this._isUTC?0:this.utcOffset()*ze),Gt)-1;break;case"minute":t=this._d.valueOf(),t+=ze-Ze(t,ze)-1;break;case"second":t=this._d.valueOf(),t+=$t-Ze(t,$t)-1;break}return this._d.setTime(t),m.updateOffset(this,!0),this}function $o(){return this._d.valueOf()-(this._offset||0)*6e4}function Go(){return Math.floor(this.valueOf()/1e3)}function Vo(){return new Date(this.valueOf())}function Bo(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function zo(){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 Zo(){return this.isValid()?this.toISOString():null}function qo(){return on(this)}function Ko(){return De({},O(this))}function Jo(){return O(this).overflow}function Qo(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}v("N",0,0,"eraAbbr"),v("NN",0,0,"eraAbbr"),v("NNN",0,0,"eraAbbr"),v("NNNN",0,0,"eraName"),v("NNNNN",0,0,"eraNarrow"),v("y",["y",1],"yo","eraYear"),v("y",["yy",2],0,"eraYear"),v("y",["yyy",3],0,"eraYear"),v("y",["yyyy",4],0,"eraYear"),g("N",An),g("NN",An),g("NNN",An),g("NNNN",ul),g("NNNNN",cl),L(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var s=n._locale.erasParse(e,r,n._strict);s?O(n).era=s:O(n).invalidEra=e}),g("y",$e),g("yy",$e),g("yyy",$e),g("yyyy",$e),g("yo",dl),L(["y","yy","yyy","yyyy"],V),L(["yo"],function(e,t,n,r){var s;n._locale._eraYearOrdinalRegex&&(s=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[V]=n._locale.eraYearOrdinalParse(e,s):t[V]=parseInt(e,10)});function Xo(e,t){var n,r,s,a=this._eras||ge("en")._eras;for(n=0,r=a.length;n<r;++n){switch(typeof a[n].since){case"string":s=m(a[n].since).startOf("day"),a[n].since=s.valueOf();break}switch(typeof a[n].until){case"undefined":a[n].until=1/0;break;case"string":s=m(a[n].until).startOf("day").valueOf(),a[n].until=s.valueOf();break}}return a}function el(e,t,n){var r,s,a=this.eras(),o,c,_;for(e=e.toUpperCase(),r=0,s=a.length;r<s;++r)if(o=a[r].name.toUpperCase(),c=a[r].abbr.toUpperCase(),_=a[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(c===e)return a[r];break;case"NNNN":if(o===e)return a[r];break;case"NNNNN":if(_===e)return a[r];break}else if([o,c,_].indexOf(e)>=0)return a[r]}function tl(e,t){var n=e.since<=e.until?1:-1;return t===void 0?m(e.since).year():m(e.since).year()+(t-e.offset)*n}function nl(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].name;return""}function rl(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].narrow;return""}function sl(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].abbr;return""}function al(){var e,t,n,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(n=s[e].since<=s[e].until?1:-1,r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return(this.year()-m(s[e].since).year())*n+s[e].offset;return this.year()}function il(e){return A(this,"_erasNameRegex")||Cn.call(this),e?this._erasNameRegex:this._erasRegex}function ol(e){return A(this,"_erasAbbrRegex")||Cn.call(this),e?this._erasAbbrRegex:this._erasRegex}function ll(e){return A(this,"_erasNarrowRegex")||Cn.call(this),e?this._erasNarrowRegex:this._erasRegex}function An(e,t){return t.erasAbbrRegex(e)}function ul(e,t){return t.erasNameRegex(e)}function cl(e,t){return t.erasNarrowRegex(e)}function dl(e,t){return t._eraYearOrdinalRegex||$e}function Cn(){var e=[],t=[],n=[],r=[],s,a,o,c,_,f=this.eras();for(s=0,a=f.length;s<a;++s)o=he(f[s].name),c=he(f[s].abbr),_=he(f[s].narrow),t.push(o),e.push(c),n.push(_),r.push(o),r.push(c),r.push(_);this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}v(0,["gg",2],0,function(){return this.weekYear()%100}),v(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Vt(e,t){v(0,[e,e.length],0,t)}Vt("gggg","weekYear"),Vt("ggggg","weekYear"),Vt("GGGG","isoWeekYear"),Vt("GGGGG","isoWeekYear"),g("G",At),g("g",At),g("GG",P,J),g("gg",P,J),g("GGGG",gn,pn),g("gggg",gn,pn),g("GGGGG",xt,Yt),g("ggggg",xt,Yt),ht(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=E(e)}),ht(["gg","GG"],function(e,t,n,r){t[r]=m.parseTwoDigitYear(e)});function fl(e){return Kr.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function hl(e){return Kr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function ml(){return pe(this.year(),1,4)}function _l(){return pe(this.isoWeekYear(),1,4)}function pl(){var e=this.localeData()._week;return pe(this.year(),e.dow,e.doy)}function gl(){var e=this.localeData()._week;return pe(this.weekYear(),e.dow,e.doy)}function Kr(e,t,n,r,s){var a;return e==null?gt(this,r,s).year:(a=pe(e,r,s),t>a&&(t=a),yl.call(this,e,t,n,r,s))}function yl(e,t,n,r,s){var a=br(e,t,n,r,s),o=pt(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}v("Q",0,"Qo","quarter"),g("Q",pr),L("Q",function(e,t){t[me]=(E(e)-1)*3});function Sl(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}v("D",["DD",2],"Do","date"),g("D",P,Ge),g("DD",P,J),g("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),L(["D","DD"],de),L("Do",function(e,t){t[de]=E(e.match(P)[0])});var Jr=Ve("Date",!0);v("DDD",["DDDD",3],"DDDo","dayOfYear"),g("DDD",Nt),g("DDDD",gr),L(["DDD","DDDD"],function(e,t,n){n._dayOfYear=E(e)});function wl(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}v("m",["mm",2],0,"minute"),g("m",P,yn),g("mm",P,J),L(["m","mm"],ie);var kl=Ve("Minutes",!1);v("s",["ss",2],0,"second"),g("s",P,yn),g("ss",P,J),L(["s","ss"],_e);var vl=Ve("Seconds",!1);v("S",0,0,function(){return~~(this.millisecond()/100)}),v(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),v(0,["SSS",3],0,"millisecond"),v(0,["SSSS",4],0,function(){return this.millisecond()*10}),v(0,["SSSSS",5],0,function(){return this.millisecond()*100}),v(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),v(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),v(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),v(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),g("S",Nt,pr),g("SS",Nt,J),g("SSS",Nt,gr);var Oe,Qr;for(Oe="SSSS";Oe.length<=9;Oe+="S")g(Oe,$e);function Dl(e,t){t[Ce]=E(("0."+e)*1e3)}for(Oe="S";Oe.length<=9;Oe+="S")L(Oe,Dl);Qr=Ve("Milliseconds",!1),v("z",0,0,"zoneAbbr"),v("zz",0,0,"zoneName");function Ml(){return this._isUTC?"UTC":""}function Ol(){return this._isUTC?"Coordinated Universal Time":""}var h=dt.prototype;h.add=go,h.calendar=Mo,h.clone=Oo,h.diff=xo,h.endOf=jo,h.format=Ro,h.from=Po,h.fromNow=Wo,h.to=Uo,h.toNow=Fo,h.get=Ca,h.invalidAt=Jo,h.isAfter=To,h.isBefore=bo,h.isBetween=Eo,h.isSame=Io,h.isSameOrAfter=Yo,h.isSameOrBefore=No,h.isValid=qo,h.lang=Vr,h.locale=Gr,h.localeData=Br,h.max=Zi,h.min=zi,h.parsingFlags=Ko,h.set=La,h.startOf=Ho,h.subtract=yo,h.toArray=Bo,h.toObject=zo,h.toDate=Vo,h.toISOString=Co,h.inspect=Lo,typeof Symbol<"u"&&Symbol.for!=null&&(h[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),h.toJSON=Zo,h.toString=Ao,h.unix=Go,h.valueOf=$o,h.creationData=Qo,h.eraName=nl,h.eraNarrow=rl,h.eraAbbr=sl,h.eraYear=al,h.year=wr,h.isLeapYear=Aa,h.weekYear=fl,h.isoWeekYear=hl,h.quarter=h.quarters=Sl,h.month=Or,h.daysInMonth=Ga,h.week=h.weeks=Qa,h.isoWeek=h.isoWeeks=Xa,h.weeksInYear=pl,h.weeksInWeekYear=gl,h.isoWeeksInYear=ml,h.isoWeeksInISOWeekYear=_l,h.date=Jr,h.day=h.days=fi,h.weekday=hi,h.isoWeekday=mi,h.dayOfYear=wl,h.hour=h.hours=ki,h.minute=h.minutes=kl,h.second=h.seconds=vl,h.millisecond=h.milliseconds=Qr,h.utcOffset=ro,h.utc=ao,h.local=io,h.parseZone=oo,h.hasAlignedHourOffset=lo,h.isDST=uo,h.isLocal=fo,h.isUtcOffset=ho,h.isUtc=Ur,h.isUTC=Ur,h.zoneAbbr=Ml,h.zoneName=Ol,h.dates=ee("dates accessor is deprecated. Use date instead.",Jr),h.months=ee("months accessor is deprecated. Use month instead",Or),h.years=ee("years accessor is deprecated. Use year instead",wr),h.zone=ee("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",so),h.isDSTShifted=ee("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",co);function Tl(e){return W(e*1e3)}function bl(){return W.apply(null,arguments).parseZone()}function Xr(e){return e}var C=dn.prototype;C.calendar=da,C.longDateFormat=_a,C.invalidDate=ga,C.ordinal=wa,C.preparse=Xr,C.postformat=Xr,C.relativeTime=va,C.pastFuture=Da,C.set=ua,C.eras=Xo,C.erasParse=el,C.erasConvertYear=tl,C.erasAbbrRegex=ol,C.erasNameRegex=il,C.erasNarrowRegex=ll,C.months=Fa,C.monthsShort=Ha,C.monthsParse=$a,C.monthsRegex=Ba,C.monthsShortRegex=Va,C.week=Za,C.firstDayOfYear=Ja,C.firstDayOfWeek=Ka,C.weekdays=oi,C.weekdaysMin=ui,C.weekdaysShort=li,C.weekdaysParse=di,C.weekdaysRegex=_i,C.weekdaysShortRegex=pi,C.weekdaysMinRegex=gi,C.isPM=Si,C.meridiem=vi;function Bt(e,t,n,r){var s=ge(),a=le().set(r,t);return s[n](a,e)}function es(e,t,n){if(fe(e)&&(t=e,e=void 0),e=e||"",t!=null)return Bt(e,t,n,"month");var r,s=[];for(r=0;r<12;r++)s[r]=Bt(e,r,n,"month");return s}function Ln(e,t,n,r){typeof e=="boolean"?(fe(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,fe(t)&&(n=t,t=void 0),t=t||"");var s=ge(),a=e?s._week.dow:0,o,c=[];if(n!=null)return Bt(t,(n+a)%7,r,"day");for(o=0;o<7;o++)c[o]=Bt(t,(o+a)%7,r,"day");return c}function El(e,t){return es(e,t,"months")}function Il(e,t){return es(e,t,"monthsShort")}function Yl(e,t,n){return Ln(e,t,n,"weekdays")}function Nl(e,t,n){return Ln(e,t,n,"weekdaysShort")}function xl(e,t,n){return Ln(e,t,n,"weekdaysMin")}Me("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 t=e%10,n=E(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}}),m.lang=ee("moment.lang is deprecated. Use moment.locale instead.",Me),m.langData=ee("moment.langData is deprecated. Use moment.localeData instead.",ge);var ye=Math.abs;function Al(){var e=this._data;return this._milliseconds=ye(this._milliseconds),this._days=ye(this._days),this._months=ye(this._months),e.milliseconds=ye(e.milliseconds),e.seconds=ye(e.seconds),e.minutes=ye(e.minutes),e.hours=ye(e.hours),e.months=ye(e.months),e.years=ye(e.years),this}function ts(e,t,n,r){var s=oe(t,n);return e._milliseconds+=r*s._milliseconds,e._days+=r*s._days,e._months+=r*s._months,e._bubble()}function Cl(e,t){return ts(this,e,t,1)}function Ll(e,t){return ts(this,e,t,-1)}function ns(e){return e<0?Math.floor(e):Math.ceil(e)}function Rl(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data,s,a,o,c,_;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=ns(Rn(n)+t)*864e5,t=0,n=0),r.milliseconds=e%1e3,s=ne(e/1e3),r.seconds=s%60,a=ne(s/60),r.minutes=a%60,o=ne(a/60),r.hours=o%24,t+=ne(o/24),_=ne(rs(t)),n+=_,t-=ns(Rn(_)),c=ne(n/12),n%=12,r.days=t,r.months=n,r.years=c,this}function rs(e){return e*4800/146097}function Rn(e){return e*146097/4800}function Pl(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=te(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,n=this._months+rs(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Rn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function Se(e){return function(){return this.as(e)}}var ss=Se("ms"),Wl=Se("s"),Ul=Se("m"),Fl=Se("h"),Hl=Se("d"),jl=Se("w"),$l=Se("M"),Gl=Se("Q"),Vl=Se("y"),Bl=ss;function zl(){return oe(this)}function Zl(e){return e=te(e),this.isValid()?this[e+"s"]():NaN}function Re(e){return function(){return this.isValid()?this._data[e]:NaN}}var ql=Re("milliseconds"),Kl=Re("seconds"),Jl=Re("minutes"),Ql=Re("hours"),Xl=Re("days"),eu=Re("months"),tu=Re("years");function nu(){return ne(this.days()/7)}var we=Math.round,qe={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ru(e,t,n,r,s){return s.relativeTime(t||1,!!n,e,r)}function su(e,t,n,r){var s=oe(e).abs(),a=we(s.as("s")),o=we(s.as("m")),c=we(s.as("h")),_=we(s.as("d")),f=we(s.as("M")),M=we(s.as("w")),T=we(s.as("y")),N=a<=n.ss&&["s",a]||a<n.s&&["ss",a]||o<=1&&["m"]||o<n.m&&["mm",o]||c<=1&&["h"]||c<n.h&&["hh",c]||_<=1&&["d"]||_<n.d&&["dd",_];return n.w!=null&&(N=N||M<=1&&["w"]||M<n.w&&["ww",M]),N=N||f<=1&&["M"]||f<n.M&&["MM",f]||T<=1&&["y"]||["yy",T],N[2]=t,N[3]=+e>0,N[4]=r,ru.apply(null,N)}function au(e){return e===void 0?we:typeof e=="function"?(we=e,!0):!1}function iu(e,t){return qe[e]===void 0?!1:t===void 0?qe[e]:(qe[e]=t,e==="s"&&(qe.ss=t-1),!0)}function ou(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=qe,s,a;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(r=Object.assign({},qe,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),s=this.localeData(),a=su(this,!n,r,s),n&&(a=s.pastFuture(+this,a)),s.postformat(a)}var Pn=Math.abs;function Ke(e){return(e>0)-(e<0)||+e}function zt(){if(!this.isValid())return this.localeData().invalidDate();var e=Pn(this._milliseconds)/1e3,t=Pn(this._days),n=Pn(this._months),r,s,a,o,c=this.asSeconds(),_,f,M,T;return c?(r=ne(e/60),s=ne(r/60),e%=60,r%=60,a=ne(n/12),n%=12,o=e?e.toFixed(3).replace(/\.?0+$/,""):"",_=c<0?"-":"",f=Ke(this._months)!==Ke(c)?"-":"",M=Ke(this._days)!==Ke(c)?"-":"",T=Ke(this._milliseconds)!==Ke(c)?"-":"",_+"P"+(a?f+a+"Y":"")+(n?f+n+"M":"")+(t?M+t+"D":"")+(s||r||e?"T":"")+(s?T+s+"H":"")+(r?T+r+"M":"")+(e?T+o+"S":"")):"P0D"}var Y=Ft.prototype;Y.isValid=Xi,Y.abs=Al,Y.add=Cl,Y.subtract=Ll,Y.as=Pl,Y.asMilliseconds=ss,Y.asSeconds=Wl,Y.asMinutes=Ul,Y.asHours=Fl,Y.asDays=Hl,Y.asWeeks=jl,Y.asMonths=$l,Y.asQuarters=Gl,Y.asYears=Vl,Y.valueOf=Bl,Y._bubble=Rl,Y.clone=zl,Y.get=Zl,Y.milliseconds=ql,Y.seconds=Kl,Y.minutes=Jl,Y.hours=Ql,Y.days=Xl,Y.weeks=nu,Y.months=eu,Y.years=tu,Y.humanize=ou,Y.toISOString=zt,Y.toString=zt,Y.toJSON=zt,Y.locale=Gr,Y.localeData=Br,Y.toIsoString=ee("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",zt),Y.lang=Vr,v("X",0,0,"unix"),v("x",0,0,"valueOf"),g("x",At),g("X",ba),L("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)}),L("x",function(e,t,n){n._d=new Date(E(e))});//! moment.js
|
|
10
|
-
|
|
6
|
+
var ln;function _(){return ln.apply(null,arguments)}function ua(e){ln=e}function ae(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function Ce(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function N(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function nr(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(N(e,t))return!1;return!0}function q(e){return e===void 0}function _e(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function ut(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function un(e,t){var r=[],n,s=e.length;for(n=0;n<s;++n)r.push(t(e[n],n));return r}function be(e,t){for(var r in t)N(t,r)&&(e[r]=t[r]);return N(t,"toString")&&(e.toString=t.toString),N(t,"valueOf")&&(e.valueOf=t.valueOf),e}function ce(e,t,r,n){return Ln(e,t,r,n,!0).utc()}function ca(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function O(e){return e._pf==null&&(e._pf=ca()),e._pf}var sr;Array.prototype.some?sr=Array.prototype.some:sr=function(e){var t=Object(this),r=t.length>>>0,n;for(n=0;n<r;n++)if(n in t&&e.call(this,t[n],n,t))return!0;return!1};function ar(e){var t=null,r=!1,n=e._d&&!isNaN(e._d.getTime());if(n&&(t=O(e),r=sr.call(t.parsedDateParts,function(s){return s!=null}),n=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r),e._strict&&(n=n&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=n;else return n;return e._isValid}function bt(e){var t=ce(NaN);return e!=null?be(O(t),e):O(t).userInvalidated=!0,t}var cn=_.momentProperties=[],ir=!1;function or(e,t){var r,n,s,a=cn.length;if(q(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),q(t._i)||(e._i=t._i),q(t._f)||(e._f=t._f),q(t._l)||(e._l=t._l),q(t._strict)||(e._strict=t._strict),q(t._tzm)||(e._tzm=t._tzm),q(t._isUTC)||(e._isUTC=t._isUTC),q(t._offset)||(e._offset=t._offset),q(t._pf)||(e._pf=O(t)),q(t._locale)||(e._locale=t._locale),a>0)for(r=0;r<a;r++)n=cn[r],s=t[n],q(s)||(e[n]=s);return e}function ct(e){or(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),ir===!1&&(ir=!0,_.updateOffset(this),ir=!1)}function ie(e){return e instanceof ct||e!=null&&e._isAMomentObject!=null}function dn(e){_.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function re(e,t){var r=!0;return be(function(){if(_.deprecationHandler!=null&&_.deprecationHandler(null,e),r){var n=[],s,a,o,c=arguments.length;for(a=0;a<c;a++){if(s="",typeof arguments[a]=="object"){s+=`
|
|
7
|
+
[`+a+"] ";for(o in arguments[0])N(arguments[0],o)&&(s+=o+": "+arguments[0][o]+", ");s=s.slice(0,-2)}else s=arguments[a];n.push(s)}dn(e+`
|
|
8
|
+
Arguments: `+Array.prototype.slice.call(n).join("")+`
|
|
9
|
+
`+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var fn={};function hn(e,t){_.deprecationHandler!=null&&_.deprecationHandler(e,t),fn[e]||(dn(t),fn[e]=!0)}_.suppressDeprecationWarnings=!1,_.deprecationHandler=null;function de(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function da(e){var t,r;for(r in e)N(e,r)&&(t=e[r],de(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function lr(e,t){var r=be({},e),n;for(n in t)N(t,n)&&(Ce(e[n])&&Ce(t[n])?(r[n]={},be(r[n],e[n]),be(r[n],t[n])):t[n]!=null?r[n]=t[n]:delete r[n]);for(n in e)N(e,n)&&!N(t,n)&&Ce(e[n])&&(r[n]=be({},r[n]));return r}function ur(e){e!=null&&this.set(e)}var cr;Object.keys?cr=Object.keys:cr=function(e){var t,r=[];for(t in e)N(e,t)&&r.push(t);return r};var fa={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function ha(e,t,r){var n=this._calendar[e]||this._calendar.sameElse;return de(n)?n.call(t,r):n}function fe(e,t,r){var n=""+Math.abs(e),s=t-n.length,a=e>=0;return(a?r?"+":"":"-")+Math.pow(10,Math.max(0,s)).toString().substr(1)+n}var dr=/(\[[^\[]*\])|(\\)?([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,Tt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,fr={},Ge={};function v(e,t,r,n){var s=n;typeof n=="string"&&(s=function(){return this[n]()}),e&&(Ge[e]=s),t&&(Ge[t[0]]=function(){return fe(s.apply(this,arguments),t[1],t[2])}),r&&(Ge[r]=function(){return this.localeData().ordinal(s.apply(this,arguments),e)})}function ma(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function _a(e){var t=e.match(dr),r,n;for(r=0,n=t.length;r<n;r++)Ge[t[r]]?t[r]=Ge[t[r]]:t[r]=ma(t[r]);return function(s){var a="",o;for(o=0;o<n;o++)a+=de(t[o])?t[o].call(s,e):t[o];return a}}function Et(e,t){return e.isValid()?(t=mn(t,e.localeData()),fr[t]=fr[t]||_a(t),fr[t](e)):e.localeData().invalidDate()}function mn(e,t){var r=5;function n(s){return t.longDateFormat(s)||s}for(Tt.lastIndex=0;r>=0&&Tt.test(e);)e=e.replace(Tt,n),Tt.lastIndex=0,r-=1;return e}var pa={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 ga(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(dr).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[e])}var ya="Invalid date";function Sa(){return this._invalidDate}var wa="%d",ka=/\d{1,2}/;function va(e){return this._ordinal.replace("%d",e)}var Da={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 Ma(e,t,r,n){var s=this._relativeTime[r];return de(s)?s(e,t,r,n):s.replace(/%d/i,e)}function Oa(e,t){var r=this._relativeTime[e>0?"future":"past"];return de(r)?r(t):r.replace(/%s/i,t)}var _n={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 ne(e){return typeof e=="string"?_n[e]||_n[e.toLowerCase()]:void 0}function hr(e){var t={},r,n;for(n in e)N(e,n)&&(r=ne(n),r&&(t[r]=e[n]));return t}var ba={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 Ta(e){var t=[],r;for(r in e)N(e,r)&&t.push({unit:r,priority:ba[r]});return t.sort(function(n,s){return n.priority-s.priority}),t}var pn=/\d/,ee=/\d\d/,gn=/\d{3}/,mr=/\d{4}/,It=/[+-]?\d{6}/,P=/\d\d?/,yn=/\d\d\d\d?/,Sn=/\d\d\d\d\d\d?/,Yt=/\d{1,3}/,_r=/\d{1,4}/,Nt=/[+-]?\d{1,6}/,Ve=/\d+/,xt=/[+-]?\d+/,Ea=/Z|[+-]\d\d:?\d\d/gi,At=/Z|[+-]\d\d(?::?\d\d)?/gi,Ia=/[+-]?\d+(\.\d{1,3})?/,dt=/[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,Be=/^[1-9]\d?/,pr=/^([1-9]\d|\d)/,Rt;Rt={};function g(e,t,r){Rt[e]=de(t)?t:function(n,s){return n&&r?r:t}}function Ya(e,t){return N(Rt,e)?Rt[e](t._strict,t._locale):new RegExp(Na(e))}function Na(e){return pe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,n,s,a){return r||n||s||a}))}function pe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function se(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function b(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=se(t)),r}var gr={};function R(e,t){var r,n=t,s;for(typeof e=="string"&&(e=[e]),_e(t)&&(n=function(a,o){o[t]=b(a)}),s=e.length,r=0;r<s;r++)gr[e[r]]=n}function ft(e,t){R(e,function(r,n,s,a){s._w=s._w||{},t(r,s._w,s,a)})}function xa(e,t,r){t!=null&&N(gr,e)&&gr[e](t,r._a,r,e)}function Ct(e){return e%4===0&&e%100!==0||e%400===0}var z=0,ge=1,he=2,j=3,oe=4,ye=5,Le=6,Aa=7,Ra=8;v("Y",0,0,function(){var e=this.year();return e<=9999?fe(e,4):"+"+e}),v(0,["YY",2],0,function(){return this.year()%100}),v(0,["YYYY",4],0,"year"),v(0,["YYYYY",5],0,"year"),v(0,["YYYYYY",6,!0],0,"year"),g("Y",xt),g("YY",P,ee),g("YYYY",_r,mr),g("YYYYY",Nt,It),g("YYYYYY",Nt,It),R(["YYYYY","YYYYYY"],z),R("YYYY",function(e,t){t[z]=e.length===2?_.parseTwoDigitYear(e):b(e)}),R("YY",function(e,t){t[z]=_.parseTwoDigitYear(e)}),R("Y",function(e,t){t[z]=parseInt(e,10)});function ht(e){return Ct(e)?366:365}_.parseTwoDigitYear=function(e){return b(e)+(b(e)>68?1900:2e3)};var wn=ze("FullYear",!0);function Ca(){return Ct(this.year())}function ze(e,t){return function(r){return r!=null?(kn(this,e,r),_.updateOffset(this,t),this):mt(this,e)}}function mt(e,t){if(!e.isValid())return NaN;var r=e._d,n=e._isUTC;switch(t){case"Milliseconds":return n?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return n?r.getUTCSeconds():r.getSeconds();case"Minutes":return n?r.getUTCMinutes():r.getMinutes();case"Hours":return n?r.getUTCHours():r.getHours();case"Date":return n?r.getUTCDate():r.getDate();case"Day":return n?r.getUTCDay():r.getDay();case"Month":return n?r.getUTCMonth():r.getMonth();case"FullYear":return n?r.getUTCFullYear():r.getFullYear();default:return NaN}}function kn(e,t,r){var n,s,a,o,c;if(!(!e.isValid()||isNaN(r))){switch(n=e._d,s=e._isUTC,t){case"Milliseconds":return void(s?n.setUTCMilliseconds(r):n.setMilliseconds(r));case"Seconds":return void(s?n.setUTCSeconds(r):n.setSeconds(r));case"Minutes":return void(s?n.setUTCMinutes(r):n.setMinutes(r));case"Hours":return void(s?n.setUTCHours(r):n.setHours(r));case"Date":return void(s?n.setUTCDate(r):n.setDate(r));case"FullYear":break;default:return}a=r,o=e.month(),c=e.date(),c=c===29&&o===1&&!Ct(a)?28:c,s?n.setUTCFullYear(a,o,c):n.setFullYear(a,o,c)}}function La(e){return e=ne(e),de(this[e])?this[e]():this}function Pa(e,t){if(typeof e=="object"){e=hr(e);var r=Ta(e),n,s=r.length;for(n=0;n<s;n++)this[r[n].unit](e[r[n].unit])}else if(e=ne(e),de(this[e]))return this[e](t);return this}function Wa(e,t){return(e%t+t)%t}var H;Array.prototype.indexOf?H=Array.prototype.indexOf:H=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function yr(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=Wa(t,12);return e+=(t-r)/12,r===1?Ct(e)?29:28:31-r%7%2}v("M",["MM",2],"Mo",function(){return this.month()+1}),v("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),v("MMMM",0,0,function(e){return this.localeData().months(this,e)}),g("M",P,Be),g("MM",P,ee),g("MMM",function(e,t){return t.monthsShortRegex(e)}),g("MMMM",function(e,t){return t.monthsRegex(e)}),R(["M","MM"],function(e,t){t[ge]=b(e)-1}),R(["MMM","MMMM"],function(e,t,r,n){var s=r._locale.monthsParse(e,n,r._strict);s!=null?t[ge]=s:O(r).invalidMonth=e});var Ua="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),vn="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Dn=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Fa=dt,Ha=dt;function ja(e,t){return e?ae(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Dn).test(t)?"format":"standalone"][e.month()]:ae(this._months)?this._months:this._months.standalone}function $a(e,t){return e?ae(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Dn.test(t)?"format":"standalone"][e.month()]:ae(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Ga(e,t,r){var n,s,a,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)a=ce([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(a,"").toLocaleLowerCase();return r?t==="MMM"?(s=H.call(this._shortMonthsParse,o),s!==-1?s:null):(s=H.call(this._longMonthsParse,o),s!==-1?s:null):t==="MMM"?(s=H.call(this._shortMonthsParse,o),s!==-1?s:(s=H.call(this._longMonthsParse,o),s!==-1?s:null)):(s=H.call(this._longMonthsParse,o),s!==-1?s:(s=H.call(this._shortMonthsParse,o),s!==-1?s:null))}function Va(e,t,r){var n,s,a;if(this._monthsParseExact)return Ga.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(s=ce([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),!r&&!this._monthsParse[n]&&(a="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[n]=new RegExp(a.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[n].test(e))return n;if(r&&t==="MMM"&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}}function Mn(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=b(t);else if(t=e.localeData().monthsParse(t),!_e(t))return e}var r=t,n=e.date();return n=n<29?n:Math.min(n,yr(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,n):e._d.setMonth(r,n),e}function On(e){return e!=null?(Mn(this,e),_.updateOffset(this,!0),this):mt(this,"Month")}function Ba(){return yr(this.year(),this.month())}function za(e){return this._monthsParseExact?(N(this,"_monthsRegex")||bn.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(N(this,"_monthsShortRegex")||(this._monthsShortRegex=Fa),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Za(e){return this._monthsParseExact?(N(this,"_monthsRegex")||bn.call(this),e?this._monthsStrictRegex:this._monthsRegex):(N(this,"_monthsRegex")||(this._monthsRegex=Ha),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function bn(){function e(m,f){return f.length-m.length}var t=[],r=[],n=[],s,a,o,c;for(s=0;s<12;s++)a=ce([2e3,s]),o=pe(this.monthsShort(a,"")),c=pe(this.months(a,"")),t.push(o),r.push(c),n.push(c),n.push(o);t.sort(e),r.sort(e),n.sort(e),this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function qa(e,t,r,n,s,a,o){var c;return e<100&&e>=0?(c=new Date(e+400,t,r,n,s,a,o),isFinite(c.getFullYear())&&c.setFullYear(e)):c=new Date(e,t,r,n,s,a,o),c}function _t(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Lt(e,t,r){var n=7+t-r,s=(7+_t(e,0,n).getUTCDay()-t)%7;return-s+n-1}function Tn(e,t,r,n,s){var a=(7+r-n)%7,o=Lt(e,n,s),c=1+7*(t-1)+a+o,m,f;return c<=0?(m=e-1,f=ht(m)+c):c>ht(e)?(m=e+1,f=c-ht(e)):(m=e,f=c),{year:m,dayOfYear:f}}function pt(e,t,r){var n=Lt(e.year(),t,r),s=Math.floor((e.dayOfYear()-n-1)/7)+1,a,o;return s<1?(o=e.year()-1,a=s+Se(o,t,r)):s>Se(e.year(),t,r)?(a=s-Se(e.year(),t,r),o=e.year()+1):(o=e.year(),a=s),{week:a,year:o}}function Se(e,t,r){var n=Lt(e,t,r),s=Lt(e+1,t,r);return(ht(e)-n+s)/7}v("w",["ww",2],"wo","week"),v("W",["WW",2],"Wo","isoWeek"),g("w",P,Be),g("ww",P,ee),g("W",P,Be),g("WW",P,ee),ft(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=b(e)});function Ka(e){return pt(e,this._week.dow,this._week.doy).week}var Ja={dow:0,doy:6};function Qa(){return this._week.dow}function Xa(){return this._week.doy}function ei(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function ti(e){var t=pt(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}v("d",0,"do","day"),v("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),v("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),v("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),v("e",0,0,"weekday"),v("E",0,0,"isoWeekday"),g("d",P),g("e",P),g("E",P),g("dd",function(e,t){return t.weekdaysMinRegex(e)}),g("ddd",function(e,t){return t.weekdaysShortRegex(e)}),g("dddd",function(e,t){return t.weekdaysRegex(e)}),ft(["dd","ddd","dddd"],function(e,t,r,n){var s=r._locale.weekdaysParse(e,n,r._strict);s!=null?t.d=s:O(r).invalidWeekday=e}),ft(["d","e","E"],function(e,t,r,n){t[n]=b(e)});function ri(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function ni(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Sr(e,t){return e.slice(t,7).concat(e.slice(0,t))}var si="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),En="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ai="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ii=dt,oi=dt,li=dt;function ui(e,t){var r=ae(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Sr(r,this._week.dow):e?r[e.day()]:r}function ci(e){return e===!0?Sr(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function di(e){return e===!0?Sr(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function fi(e,t,r){var n,s,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)a=ce([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(a,"").toLocaleLowerCase();return r?t==="dddd"?(s=H.call(this._weekdaysParse,o),s!==-1?s:null):t==="ddd"?(s=H.call(this._shortWeekdaysParse,o),s!==-1?s:null):(s=H.call(this._minWeekdaysParse,o),s!==-1?s:null):t==="dddd"?(s=H.call(this._weekdaysParse,o),s!==-1||(s=H.call(this._shortWeekdaysParse,o),s!==-1)?s:(s=H.call(this._minWeekdaysParse,o),s!==-1?s:null)):t==="ddd"?(s=H.call(this._shortWeekdaysParse,o),s!==-1||(s=H.call(this._weekdaysParse,o),s!==-1)?s:(s=H.call(this._minWeekdaysParse,o),s!==-1?s:null)):(s=H.call(this._minWeekdaysParse,o),s!==-1||(s=H.call(this._weekdaysParse,o),s!==-1)?s:(s=H.call(this._shortWeekdaysParse,o),s!==-1?s:null))}function hi(e,t,r){var n,s,a;if(this._weekdaysParseExact)return fi.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(s=ce([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(a="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[n]=new RegExp(a.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[n].test(e))return n;if(r&&t==="ddd"&&this._shortWeekdaysParse[n].test(e))return n;if(r&&t==="dd"&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}}function mi(e){if(!this.isValid())return e!=null?this:NaN;var t=mt(this,"Day");return e!=null?(e=ri(e,this.localeData()),this.add(e-t,"d")):t}function _i(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function pi(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=ni(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function gi(e){return this._weekdaysParseExact?(N(this,"_weekdaysRegex")||wr.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(N(this,"_weekdaysRegex")||(this._weekdaysRegex=ii),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function yi(e){return this._weekdaysParseExact?(N(this,"_weekdaysRegex")||wr.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(N(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=oi),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Si(e){return this._weekdaysParseExact?(N(this,"_weekdaysRegex")||wr.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(N(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=li),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function wr(){function e(D,T){return T.length-D.length}var t=[],r=[],n=[],s=[],a,o,c,m,f;for(a=0;a<7;a++)o=ce([2e3,1]).day(a),c=pe(this.weekdaysMin(o,"")),m=pe(this.weekdaysShort(o,"")),f=pe(this.weekdays(o,"")),t.push(c),r.push(m),n.push(f),s.push(c),s.push(m),s.push(f);t.sort(e),r.sort(e),n.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function kr(){return this.hours()%12||12}function wi(){return this.hours()||24}v("H",["HH",2],0,"hour"),v("h",["hh",2],0,kr),v("k",["kk",2],0,wi),v("hmm",0,0,function(){return""+kr.apply(this)+fe(this.minutes(),2)}),v("hmmss",0,0,function(){return""+kr.apply(this)+fe(this.minutes(),2)+fe(this.seconds(),2)}),v("Hmm",0,0,function(){return""+this.hours()+fe(this.minutes(),2)}),v("Hmmss",0,0,function(){return""+this.hours()+fe(this.minutes(),2)+fe(this.seconds(),2)});function In(e,t){v(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}In("a",!0),In("A",!1);function Yn(e,t){return t._meridiemParse}g("a",Yn),g("A",Yn),g("H",P,pr),g("h",P,Be),g("k",P,Be),g("HH",P,ee),g("hh",P,ee),g("kk",P,ee),g("hmm",yn),g("hmmss",Sn),g("Hmm",yn),g("Hmmss",Sn),R(["H","HH"],j),R(["k","kk"],function(e,t,r){var n=b(e);t[j]=n===24?0:n}),R(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),R(["h","hh"],function(e,t,r){t[j]=b(e),O(r).bigHour=!0}),R("hmm",function(e,t,r){var n=e.length-2;t[j]=b(e.substr(0,n)),t[oe]=b(e.substr(n)),O(r).bigHour=!0}),R("hmmss",function(e,t,r){var n=e.length-4,s=e.length-2;t[j]=b(e.substr(0,n)),t[oe]=b(e.substr(n,2)),t[ye]=b(e.substr(s)),O(r).bigHour=!0}),R("Hmm",function(e,t,r){var n=e.length-2;t[j]=b(e.substr(0,n)),t[oe]=b(e.substr(n))}),R("Hmmss",function(e,t,r){var n=e.length-4,s=e.length-2;t[j]=b(e.substr(0,n)),t[oe]=b(e.substr(n,2)),t[ye]=b(e.substr(s))});function ki(e){return(e+"").toLowerCase().charAt(0)==="p"}var vi=/[ap]\.?m?\.?/i,Di=ze("Hours",!0);function Mi(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var Nn={calendar:fa,longDateFormat:pa,invalidDate:ya,ordinal:wa,dayOfMonthOrdinalParse:ka,relativeTime:Da,months:Ua,monthsShort:vn,week:Ja,weekdays:si,weekdaysMin:ai,weekdaysShort:En,meridiemParse:vi},U={},gt={},yt;function Oi(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}function xn(e){return e&&e.toLowerCase().replace("_","-")}function bi(e){for(var t=0,r,n,s,a;t<e.length;){for(a=xn(e[t]).split("-"),r=a.length,n=xn(e[t+1]),n=n?n.split("-"):null;r>0;){if(s=Pt(a.slice(0,r).join("-")),s)return s;if(n&&n.length>=r&&Oi(a,n)>=r-1)break;r--}t++}return yt}function Ti(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Pt(e){var t=null,r;if(U[e]===void 0&&typeof module<"u"&&module&&module.exports&&Ti(e))try{t=yt._abbr,r=require,r("./locale/"+e),Te(t)}catch{U[e]=null}return U[e]}function Te(e,t){var r;return e&&(q(t)?r=we(e):r=vr(e,t),r?yt=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),yt._abbr}function vr(e,t){if(t!==null){var r,n=Nn;if(t.abbr=e,U[e]!=null)hn("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."),n=U[e]._config;else if(t.parentLocale!=null)if(U[t.parentLocale]!=null)n=U[t.parentLocale]._config;else if(r=Pt(t.parentLocale),r!=null)n=r._config;else return gt[t.parentLocale]||(gt[t.parentLocale]=[]),gt[t.parentLocale].push({name:e,config:t}),null;return U[e]=new ur(lr(n,t)),gt[e]&>[e].forEach(function(s){vr(s.name,s.config)}),Te(e),U[e]}else return delete U[e],null}function Ei(e,t){if(t!=null){var r,n,s=Nn;U[e]!=null&&U[e].parentLocale!=null?U[e].set(lr(U[e]._config,t)):(n=Pt(e),n!=null&&(s=n._config),t=lr(s,t),n==null&&(t.abbr=e),r=new ur(t),r.parentLocale=U[e],U[e]=r),Te(e)}else U[e]!=null&&(U[e].parentLocale!=null?(U[e]=U[e].parentLocale,e===Te()&&Te(e)):U[e]!=null&&delete U[e]);return U[e]}function we(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return yt;if(!ae(e)){if(t=Pt(e),t)return t;e=[e]}return bi(e)}function Ii(){return cr(U)}function Dr(e){var t,r=e._a;return r&&O(e).overflow===-2&&(t=r[ge]<0||r[ge]>11?ge:r[he]<1||r[he]>yr(r[z],r[ge])?he:r[j]<0||r[j]>24||r[j]===24&&(r[oe]!==0||r[ye]!==0||r[Le]!==0)?j:r[oe]<0||r[oe]>59?oe:r[ye]<0||r[ye]>59?ye:r[Le]<0||r[Le]>999?Le:-1,O(e)._overflowDayOfYear&&(t<z||t>he)&&(t=he),O(e)._overflowWeeks&&t===-1&&(t=Aa),O(e)._overflowWeekday&&t===-1&&(t=Ra),O(e).overflow=t),e}var Yi=/^\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)?)?$/,Ni=/^\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)?)?$/,xi=/Z|[+-]\d\d(?::?\d\d)?/,Wt=[["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]],Mr=[["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/]],Ai=/^\/?Date\((-?\d+)/i,Ri=/^(?:(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}))$/,Ci={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 An(e){var t,r,n=e._i,s=Yi.exec(n)||Ni.exec(n),a,o,c,m,f=Wt.length,D=Mr.length;if(s){for(O(e).iso=!0,t=0,r=f;t<r;t++)if(Wt[t][1].exec(s[1])){o=Wt[t][0],a=Wt[t][2]!==!1;break}if(o==null){e._isValid=!1;return}if(s[3]){for(t=0,r=D;t<r;t++)if(Mr[t][1].exec(s[3])){c=(s[2]||" ")+Mr[t][0];break}if(c==null){e._isValid=!1;return}}if(!a&&c!=null){e._isValid=!1;return}if(s[4])if(xi.exec(s[4]))m="Z";else{e._isValid=!1;return}e._f=o+(c||"")+(m||""),br(e)}else e._isValid=!1}function Li(e,t,r,n,s,a){var o=[Pi(e),vn.indexOf(t),parseInt(r,10),parseInt(n,10),parseInt(s,10)];return a&&o.push(parseInt(a,10)),o}function Pi(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Wi(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Ui(e,t,r){if(e){var n=En.indexOf(e),s=new Date(t[0],t[1],t[2]).getDay();if(n!==s)return O(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function Fi(e,t,r){if(e)return Ci[e];if(t)return 0;var n=parseInt(r,10),s=n%100,a=(n-s)/100;return a*60+s}function Rn(e){var t=Ri.exec(Wi(e._i)),r;if(t){if(r=Li(t[4],t[3],t[2],t[5],t[6],t[7]),!Ui(t[1],r,e))return;e._a=r,e._tzm=Fi(t[8],t[9],t[10]),e._d=_t.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),O(e).rfc2822=!0}else e._isValid=!1}function Hi(e){var t=Ai.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(An(e),e._isValid===!1)delete e._isValid;else return;if(Rn(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:_.createFromInputFallback(e)}_.createFromInputFallback=re("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,t,r){return e??t??r}function ji(e){var t=new Date(_.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Or(e){var t,r,n=[],s,a,o;if(!e._d){for(s=ji(e),e._w&&e._a[he]==null&&e._a[ge]==null&&$i(e),e._dayOfYear!=null&&(o=Ze(e._a[z],s[z]),(e._dayOfYear>ht(o)||e._dayOfYear===0)&&(O(e)._overflowDayOfYear=!0),r=_t(o,0,e._dayOfYear),e._a[ge]=r.getUTCMonth(),e._a[he]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=n[t]=s[t];for(;t<7;t++)e._a[t]=n[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[j]===24&&e._a[oe]===0&&e._a[ye]===0&&e._a[Le]===0&&(e._nextDay=!0,e._a[j]=0),e._d=(e._useUTC?_t:qa).apply(null,n),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[j]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==a&&(O(e).weekdayMismatch=!0)}}function $i(e){var t,r,n,s,a,o,c,m,f;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(a=1,o=4,r=Ze(t.GG,e._a[z],pt(W(),1,4).year),n=Ze(t.W,1),s=Ze(t.E,1),(s<1||s>7)&&(m=!0)):(a=e._locale._week.dow,o=e._locale._week.doy,f=pt(W(),a,o),r=Ze(t.gg,e._a[z],f.year),n=Ze(t.w,f.week),t.d!=null?(s=t.d,(s<0||s>6)&&(m=!0)):t.e!=null?(s=t.e+a,(t.e<0||t.e>6)&&(m=!0)):s=a),n<1||n>Se(r,a,o)?O(e)._overflowWeeks=!0:m!=null?O(e)._overflowWeekday=!0:(c=Tn(r,n,s,a,o),e._a[z]=c.year,e._dayOfYear=c.dayOfYear)}_.ISO_8601=function(){},_.RFC_2822=function(){};function br(e){if(e._f===_.ISO_8601){An(e);return}if(e._f===_.RFC_2822){Rn(e);return}e._a=[],O(e).empty=!0;var t=""+e._i,r,n,s,a,o,c=t.length,m=0,f,D;for(s=mn(e._f,e._locale).match(dr)||[],D=s.length,r=0;r<D;r++)a=s[r],n=(t.match(Ya(a,e))||[])[0],n&&(o=t.substr(0,t.indexOf(n)),o.length>0&&O(e).unusedInput.push(o),t=t.slice(t.indexOf(n)+n.length),m+=n.length),Ge[a]?(n?O(e).empty=!1:O(e).unusedTokens.push(a),xa(a,n,e)):e._strict&&!n&&O(e).unusedTokens.push(a);O(e).charsLeftOver=c-m,t.length>0&&O(e).unusedInput.push(t),e._a[j]<=12&&O(e).bigHour===!0&&e._a[j]>0&&(O(e).bigHour=void 0),O(e).parsedDateParts=e._a.slice(0),O(e).meridiem=e._meridiem,e._a[j]=Gi(e._locale,e._a[j],e._meridiem),f=O(e).era,f!==null&&(e._a[z]=e._locale.erasConvertYear(f,e._a[z])),Or(e),Dr(e)}function Gi(e,t,r){var n;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(n=e.isPM(r),n&&t<12&&(t+=12),!n&&t===12&&(t=0)),t)}function Vi(e){var t,r,n,s,a,o,c=!1,m=e._f.length;if(m===0){O(e).invalidFormat=!0,e._d=new Date(NaN);return}for(s=0;s<m;s++)a=0,o=!1,t=or({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[s],br(t),ar(t)&&(o=!0),a+=O(t).charsLeftOver,a+=O(t).unusedTokens.length*10,O(t).score=a,c?a<n&&(n=a,r=t):(n==null||a<n||o)&&(n=a,r=t,o&&(c=!0));be(e,r||t)}function Bi(e){if(!e._d){var t=hr(e._i),r=t.day===void 0?t.date:t.day;e._a=un([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(n){return n&&parseInt(n,10)}),Or(e)}}function zi(e){var t=new ct(Dr(Cn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Cn(e){var t=e._i,r=e._f;return e._locale=e._locale||we(e._l),t===null||r===void 0&&t===""?bt({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),ie(t)?new ct(Dr(t)):(ut(t)?e._d=t:ae(r)?Vi(e):r?br(e):Zi(e),ar(e)||(e._d=null),e))}function Zi(e){var t=e._i;q(t)?e._d=new Date(_.now()):ut(t)?e._d=new Date(t.valueOf()):typeof t=="string"?Hi(e):ae(t)?(e._a=un(t.slice(0),function(r){return parseInt(r,10)}),Or(e)):Ce(t)?Bi(e):_e(t)?e._d=new Date(t):_.createFromInputFallback(e)}function Ln(e,t,r,n,s){var a={};return(t===!0||t===!1)&&(n=t,t=void 0),(r===!0||r===!1)&&(n=r,r=void 0),(Ce(e)&&nr(e)||ae(e)&&e.length===0)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=s,a._l=r,a._i=e,a._f=t,a._strict=n,zi(a)}function W(e,t,r,n){return Ln(e,t,r,n,!1)}var qi=re("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=W.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:bt()}),Ki=re("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=W.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:bt()});function Pn(e,t){var r,n;if(t.length===1&&ae(t[0])&&(t=t[0]),!t.length)return W();for(r=t[0],n=1;n<t.length;++n)(!t[n].isValid()||t[n][e](r))&&(r=t[n]);return r}function Ji(){var e=[].slice.call(arguments,0);return Pn("isBefore",e)}function Qi(){var e=[].slice.call(arguments,0);return Pn("isAfter",e)}var Xi=function(){return Date.now?Date.now():+new Date},St=["year","quarter","month","week","day","hour","minute","second","millisecond"];function eo(e){var t,r=!1,n,s=St.length;for(t in e)if(N(e,t)&&!(H.call(St,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(n=0;n<s;++n)if(e[St[n]]){if(r)return!1;parseFloat(e[St[n]])!==b(e[St[n]])&&(r=!0)}return!0}function to(){return this._isValid}function ro(){return le(NaN)}function Ut(e){var t=hr(e),r=t.year||0,n=t.quarter||0,s=t.month||0,a=t.week||t.isoWeek||0,o=t.day||0,c=t.hour||0,m=t.minute||0,f=t.second||0,D=t.millisecond||0;this._isValid=eo(t),this._milliseconds=+D+f*1e3+m*6e4+c*1e3*60*60,this._days=+o+a*7,this._months=+s+n*3+r*12,this._data={},this._locale=we(),this._bubble()}function Ft(e){return e instanceof Ut}function Tr(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function no(e,t,r){var n=Math.min(e.length,t.length),s=Math.abs(e.length-t.length),a=0,o;for(o=0;o<n;o++)b(e[o])!==b(t[o])&&a++;return a+s}function Wn(e,t){v(e,0,0,function(){var r=this.utcOffset(),n="+";return r<0&&(r=-r,n="-"),n+fe(~~(r/60),2)+t+fe(~~r%60,2)})}Wn("Z",":"),Wn("ZZ",""),g("Z",At),g("ZZ",At),R(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Er(At,e)});var so=/([\+\-]|\d\d)/gi;function Er(e,t){var r=(t||"").match(e),n,s,a;return r===null?null:(n=r[r.length-1]||[],s=(n+"").match(so)||["-",0,0],a=+(s[1]*60)+b(s[2]),a===0?0:s[0]==="+"?a:-a)}function Ir(e,t){var r,n;return t._isUTC?(r=t.clone(),n=(ie(e)||ut(e)?e.valueOf():W(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),_.updateOffset(r,!1),r):W(e).local()}function Yr(e){return-Math.round(e._d.getTimezoneOffset())}_.updateOffset=function(){};function ao(e,t,r){var n=this._offset||0,s;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Er(At,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(s=Yr(this)),this._offset=e,this._isUTC=!0,s!=null&&this.add(s,"m"),n!==e&&(!t||this._changeInProgress?jn(this,le(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,_.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:Yr(this)}function io(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function oo(e){return this.utcOffset(0,e)}function lo(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Yr(this),"m")),this}function uo(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Er(Ea,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function co(e){return this.isValid()?(e=e?W(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function fo(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function ho(){if(!q(this._isDSTShifted))return this._isDSTShifted;var e={},t;return or(e,this),e=Cn(e),e._a?(t=e._isUTC?ce(e._a):W(e._a),this._isDSTShifted=this.isValid()&&no(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function mo(){return this.isValid()?!this._isUTC:!1}function _o(){return this.isValid()?this._isUTC:!1}function Un(){return this.isValid()?this._isUTC&&this._offset===0:!1}var po=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,go=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function le(e,t){var r=e,n=null,s,a,o;return Ft(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:_e(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(n=po.exec(e))?(s=n[1]==="-"?-1:1,r={y:0,d:b(n[he])*s,h:b(n[j])*s,m:b(n[oe])*s,s:b(n[ye])*s,ms:b(Tr(n[Le]*1e3))*s}):(n=go.exec(e))?(s=n[1]==="-"?-1:1,r={y:Pe(n[2],s),M:Pe(n[3],s),w:Pe(n[4],s),d:Pe(n[5],s),h:Pe(n[6],s),m:Pe(n[7],s),s:Pe(n[8],s)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(o=yo(W(r.from),W(r.to)),r={},r.ms=o.milliseconds,r.M=o.months),a=new Ut(r),Ft(e)&&N(e,"_locale")&&(a._locale=e._locale),Ft(e)&&N(e,"_isValid")&&(a._isValid=e._isValid),a}le.fn=Ut.prototype,le.invalid=ro;function Pe(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function Fn(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function yo(e,t){var r;return e.isValid()&&t.isValid()?(t=Ir(t,e),e.isBefore(t)?r=Fn(e,t):(r=Fn(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function Hn(e,t){return function(r,n){var s,a;return n!==null&&!isNaN(+n)&&(hn(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=r,r=n,n=a),s=le(r,n),jn(this,s,e),this}}function jn(e,t,r,n){var s=t._milliseconds,a=Tr(t._days),o=Tr(t._months);e.isValid()&&(n=n??!0,o&&Mn(e,mt(e,"Month")+o*r),a&&kn(e,"Date",mt(e,"Date")+a*r),s&&e._d.setTime(e._d.valueOf()+s*r),n&&_.updateOffset(e,a||o))}var So=Hn(1,"add"),wo=Hn(-1,"subtract");function $n(e){return typeof e=="string"||e instanceof String}function ko(e){return ie(e)||ut(e)||$n(e)||_e(e)||Do(e)||vo(e)||e===null||e===void 0}function vo(e){var t=Ce(e)&&!nr(e),r=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s,a,o=n.length;for(s=0;s<o;s+=1)a=n[s],r=r||N(e,a);return t&&r}function Do(e){var t=ae(e),r=!1;return t&&(r=e.filter(function(n){return!_e(n)&&$n(e)}).length===0),t&&r}function Mo(e){var t=Ce(e)&&!nr(e),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],s,a;for(s=0;s<n.length;s+=1)a=n[s],r=r||N(e,a);return t&&r}function Oo(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function bo(e,t){arguments.length===1&&(arguments[0]?ko(arguments[0])?(e=arguments[0],t=void 0):Mo(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||W(),n=Ir(r,this).startOf("day"),s=_.calendarFormat(this,n)||"sameElse",a=t&&(de(t[s])?t[s].call(this,r):t[s]);return this.format(a||this.localeData().calendar(s,this,W(r)))}function To(){return new ct(this)}function Eo(e,t){var r=ie(e)?e:W(e);return this.isValid()&&r.isValid()?(t=ne(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function Io(e,t){var r=ie(e)?e:W(e);return this.isValid()&&r.isValid()?(t=ne(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function Yo(e,t,r,n){var s=ie(e)?e:W(e),a=ie(t)?t:W(t);return this.isValid()&&s.isValid()&&a.isValid()?(n=n||"()",(n[0]==="("?this.isAfter(s,r):!this.isBefore(s,r))&&(n[1]===")"?this.isBefore(a,r):!this.isAfter(a,r))):!1}function No(e,t){var r=ie(e)?e:W(e),n;return this.isValid()&&r.isValid()?(t=ne(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf())):!1}function xo(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Ao(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Ro(e,t,r){var n,s,a;if(!this.isValid())return NaN;if(n=Ir(e,this),!n.isValid())return NaN;switch(s=(n.utcOffset()-this.utcOffset())*6e4,t=ne(t),t){case"year":a=Ht(this,n)/12;break;case"month":a=Ht(this,n);break;case"quarter":a=Ht(this,n)/3;break;case"second":a=(this-n)/1e3;break;case"minute":a=(this-n)/6e4;break;case"hour":a=(this-n)/36e5;break;case"day":a=(this-n-s)/864e5;break;case"week":a=(this-n-s)/6048e5;break;default:a=this-n}return r?a:se(a)}function Ht(e,t){if(e.date()<t.date())return-Ht(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),n=e.clone().add(r,"months"),s,a;return t-n<0?(s=e.clone().add(r-1,"months"),a=(t-n)/(n-s)):(s=e.clone().add(r+1,"months"),a=(t-n)/(s-n)),-(r+a)||0}_.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",_.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Co(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Lo(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?Et(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):de(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Et(r,"Z")):Et(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Po(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,n,s,a;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",s="-MM-DD[T]HH:mm:ss.SSS",a=t+'[")]',this.format(r+n+s+a)}function Wo(e){e||(e=this.isUtc()?_.defaultFormatUtc:_.defaultFormat);var t=Et(this,e);return this.localeData().postformat(t)}function Uo(e,t){return this.isValid()&&(ie(e)&&e.isValid()||W(e).isValid())?le({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Fo(e){return this.from(W(),e)}function Ho(e,t){return this.isValid()&&(ie(e)&&e.isValid()||W(e).isValid())?le({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function jo(e){return this.to(W(),e)}function Gn(e){var t;return e===void 0?this._locale._abbr:(t=we(e),t!=null&&(this._locale=t),this)}var Vn=re("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 Bn(){return this._locale}var jt=1e3,qe=60*jt,$t=60*qe,zn=(365*400+97)*24*$t;function Ke(e,t){return(e%t+t)%t}function Zn(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-zn:new Date(e,t,r).valueOf()}function qn(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-zn:Date.UTC(e,t,r)}function $o(e){var t,r;if(e=ne(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?qn:Zn,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Ke(t+(this._isUTC?0:this.utcOffset()*qe),$t);break;case"minute":t=this._d.valueOf(),t-=Ke(t,qe);break;case"second":t=this._d.valueOf(),t-=Ke(t,jt);break}return this._d.setTime(t),_.updateOffset(this,!0),this}function Go(e){var t,r;if(e=ne(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?qn:Zn,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=$t-Ke(t+(this._isUTC?0:this.utcOffset()*qe),$t)-1;break;case"minute":t=this._d.valueOf(),t+=qe-Ke(t,qe)-1;break;case"second":t=this._d.valueOf(),t+=jt-Ke(t,jt)-1;break}return this._d.setTime(t),_.updateOffset(this,!0),this}function Vo(){return this._d.valueOf()-(this._offset||0)*6e4}function Bo(){return Math.floor(this.valueOf()/1e3)}function zo(){return new Date(this.valueOf())}function Zo(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function qo(){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 Ko(){return this.isValid()?this.toISOString():null}function Jo(){return ar(this)}function Qo(){return be({},O(this))}function Xo(){return O(this).overflow}function el(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}v("N",0,0,"eraAbbr"),v("NN",0,0,"eraAbbr"),v("NNN",0,0,"eraAbbr"),v("NNNN",0,0,"eraName"),v("NNNNN",0,0,"eraNarrow"),v("y",["y",1],"yo","eraYear"),v("y",["yy",2],0,"eraYear"),v("y",["yyy",3],0,"eraYear"),v("y",["yyyy",4],0,"eraYear"),g("N",Nr),g("NN",Nr),g("NNN",Nr),g("NNNN",dl),g("NNNNN",fl),R(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,n){var s=r._locale.erasParse(e,n,r._strict);s?O(r).era=s:O(r).invalidEra=e}),g("y",Ve),g("yy",Ve),g("yyy",Ve),g("yyyy",Ve),g("yo",hl),R(["y","yy","yyy","yyyy"],z),R(["yo"],function(e,t,r,n){var s;r._locale._eraYearOrdinalRegex&&(s=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[z]=r._locale.eraYearOrdinalParse(e,s):t[z]=parseInt(e,10)});function tl(e,t){var r,n,s,a=this._eras||we("en")._eras;for(r=0,n=a.length;r<n;++r){switch(typeof a[r].since){case"string":s=_(a[r].since).startOf("day"),a[r].since=s.valueOf();break}switch(typeof a[r].until){case"undefined":a[r].until=1/0;break;case"string":s=_(a[r].until).startOf("day").valueOf(),a[r].until=s.valueOf();break}}return a}function rl(e,t,r){var n,s,a=this.eras(),o,c,m;for(e=e.toUpperCase(),n=0,s=a.length;n<s;++n)if(o=a[n].name.toUpperCase(),c=a[n].abbr.toUpperCase(),m=a[n].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(c===e)return a[n];break;case"NNNN":if(o===e)return a[n];break;case"NNNNN":if(m===e)return a[n];break}else if([o,c,m].indexOf(e)>=0)return a[n]}function nl(e,t){var r=e.since<=e.until?1:-1;return t===void 0?_(e.since).year():_(e.since).year()+(t-e.offset)*r}function sl(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].name;return""}function al(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].narrow;return""}function il(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].abbr;return""}function ol(){var e,t,r,n,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=s[e].since<=s[e].until?1:-1,n=this.clone().startOf("day").valueOf(),s[e].since<=n&&n<=s[e].until||s[e].until<=n&&n<=s[e].since)return(this.year()-_(s[e].since).year())*r+s[e].offset;return this.year()}function ll(e){return N(this,"_erasNameRegex")||xr.call(this),e?this._erasNameRegex:this._erasRegex}function ul(e){return N(this,"_erasAbbrRegex")||xr.call(this),e?this._erasAbbrRegex:this._erasRegex}function cl(e){return N(this,"_erasNarrowRegex")||xr.call(this),e?this._erasNarrowRegex:this._erasRegex}function Nr(e,t){return t.erasAbbrRegex(e)}function dl(e,t){return t.erasNameRegex(e)}function fl(e,t){return t.erasNarrowRegex(e)}function hl(e,t){return t._eraYearOrdinalRegex||Ve}function xr(){var e=[],t=[],r=[],n=[],s,a,o,c,m,f=this.eras();for(s=0,a=f.length;s<a;++s)o=pe(f[s].name),c=pe(f[s].abbr),m=pe(f[s].narrow),t.push(o),e.push(c),r.push(m),n.push(o),n.push(c),n.push(m);this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}v(0,["gg",2],0,function(){return this.weekYear()%100}),v(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Gt(e,t){v(0,[e,e.length],0,t)}Gt("gggg","weekYear"),Gt("ggggg","weekYear"),Gt("GGGG","isoWeekYear"),Gt("GGGGG","isoWeekYear"),g("G",xt),g("g",xt),g("GG",P,ee),g("gg",P,ee),g("GGGG",_r,mr),g("gggg",_r,mr),g("GGGGG",Nt,It),g("ggggg",Nt,It),ft(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,n){t[n.substr(0,2)]=b(e)}),ft(["gg","GG"],function(e,t,r,n){t[n]=_.parseTwoDigitYear(e)});function ml(e){return Kn.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function _l(e){return Kn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function pl(){return Se(this.year(),1,4)}function gl(){return Se(this.isoWeekYear(),1,4)}function yl(){var e=this.localeData()._week;return Se(this.year(),e.dow,e.doy)}function Sl(){var e=this.localeData()._week;return Se(this.weekYear(),e.dow,e.doy)}function Kn(e,t,r,n,s){var a;return e==null?pt(this,n,s).year:(a=Se(e,n,s),t>a&&(t=a),wl.call(this,e,t,r,n,s))}function wl(e,t,r,n,s){var a=Tn(e,t,r,n,s),o=_t(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}v("Q",0,"Qo","quarter"),g("Q",pn),R("Q",function(e,t){t[ge]=(b(e)-1)*3});function kl(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}v("D",["DD",2],"Do","date"),g("D",P,Be),g("DD",P,ee),g("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),R(["D","DD"],he),R("Do",function(e,t){t[he]=b(e.match(P)[0])});var Jn=ze("Date",!0);v("DDD",["DDDD",3],"DDDo","dayOfYear"),g("DDD",Yt),g("DDDD",gn),R(["DDD","DDDD"],function(e,t,r){r._dayOfYear=b(e)});function vl(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}v("m",["mm",2],0,"minute"),g("m",P,pr),g("mm",P,ee),R(["m","mm"],oe);var Dl=ze("Minutes",!1);v("s",["ss",2],0,"second"),g("s",P,pr),g("ss",P,ee),R(["s","ss"],ye);var Ml=ze("Seconds",!1);v("S",0,0,function(){return~~(this.millisecond()/100)}),v(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),v(0,["SSS",3],0,"millisecond"),v(0,["SSSS",4],0,function(){return this.millisecond()*10}),v(0,["SSSSS",5],0,function(){return this.millisecond()*100}),v(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),v(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),v(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),v(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),g("S",Yt,pn),g("SS",Yt,ee),g("SSS",Yt,gn);var Ee,Qn;for(Ee="SSSS";Ee.length<=9;Ee+="S")g(Ee,Ve);function Ol(e,t){t[Le]=b(("0."+e)*1e3)}for(Ee="S";Ee.length<=9;Ee+="S")R(Ee,Ol);Qn=ze("Milliseconds",!1),v("z",0,0,"zoneAbbr"),v("zz",0,0,"zoneName");function bl(){return this._isUTC?"UTC":""}function Tl(){return this._isUTC?"Coordinated Universal Time":""}var h=ct.prototype;h.add=So,h.calendar=bo,h.clone=To,h.diff=Ro,h.endOf=Go,h.format=Wo,h.from=Uo,h.fromNow=Fo,h.to=Ho,h.toNow=jo,h.get=La,h.invalidAt=Xo,h.isAfter=Eo,h.isBefore=Io,h.isBetween=Yo,h.isSame=No,h.isSameOrAfter=xo,h.isSameOrBefore=Ao,h.isValid=Jo,h.lang=Vn,h.locale=Gn,h.localeData=Bn,h.max=Ki,h.min=qi,h.parsingFlags=Qo,h.set=Pa,h.startOf=$o,h.subtract=wo,h.toArray=Zo,h.toObject=qo,h.toDate=zo,h.toISOString=Lo,h.inspect=Po,typeof Symbol<"u"&&Symbol.for!=null&&(h[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),h.toJSON=Ko,h.toString=Co,h.unix=Bo,h.valueOf=Vo,h.creationData=el,h.eraName=sl,h.eraNarrow=al,h.eraAbbr=il,h.eraYear=ol,h.year=wn,h.isLeapYear=Ca,h.weekYear=ml,h.isoWeekYear=_l,h.quarter=h.quarters=kl,h.month=On,h.daysInMonth=Ba,h.week=h.weeks=ei,h.isoWeek=h.isoWeeks=ti,h.weeksInYear=yl,h.weeksInWeekYear=Sl,h.isoWeeksInYear=pl,h.isoWeeksInISOWeekYear=gl,h.date=Jn,h.day=h.days=mi,h.weekday=_i,h.isoWeekday=pi,h.dayOfYear=vl,h.hour=h.hours=Di,h.minute=h.minutes=Dl,h.second=h.seconds=Ml,h.millisecond=h.milliseconds=Qn,h.utcOffset=ao,h.utc=oo,h.local=lo,h.parseZone=uo,h.hasAlignedHourOffset=co,h.isDST=fo,h.isLocal=mo,h.isUtcOffset=_o,h.isUtc=Un,h.isUTC=Un,h.zoneAbbr=bl,h.zoneName=Tl,h.dates=re("dates accessor is deprecated. Use date instead.",Jn),h.months=re("months accessor is deprecated. Use month instead",On),h.years=re("years accessor is deprecated. Use year instead",wn),h.zone=re("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",io),h.isDSTShifted=re("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",ho);function El(e){return W(e*1e3)}function Il(){return W.apply(null,arguments).parseZone()}function Xn(e){return e}var x=ur.prototype;x.calendar=ha,x.longDateFormat=ga,x.invalidDate=Sa,x.ordinal=va,x.preparse=Xn,x.postformat=Xn,x.relativeTime=Ma,x.pastFuture=Oa,x.set=da,x.eras=tl,x.erasParse=rl,x.erasConvertYear=nl,x.erasAbbrRegex=ul,x.erasNameRegex=ll,x.erasNarrowRegex=cl,x.months=ja,x.monthsShort=$a,x.monthsParse=Va,x.monthsRegex=Za,x.monthsShortRegex=za,x.week=Ka,x.firstDayOfYear=Xa,x.firstDayOfWeek=Qa,x.weekdays=ui,x.weekdaysMin=di,x.weekdaysShort=ci,x.weekdaysParse=hi,x.weekdaysRegex=gi,x.weekdaysShortRegex=yi,x.weekdaysMinRegex=Si,x.isPM=ki,x.meridiem=Mi;function Vt(e,t,r,n){var s=we(),a=ce().set(n,t);return s[r](a,e)}function es(e,t,r){if(_e(e)&&(t=e,e=void 0),e=e||"",t!=null)return Vt(e,t,r,"month");var n,s=[];for(n=0;n<12;n++)s[n]=Vt(e,n,r,"month");return s}function Ar(e,t,r,n){typeof e=="boolean"?(_e(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,_e(t)&&(r=t,t=void 0),t=t||"");var s=we(),a=e?s._week.dow:0,o,c=[];if(r!=null)return Vt(t,(r+a)%7,n,"day");for(o=0;o<7;o++)c[o]=Vt(t,(o+a)%7,n,"day");return c}function Yl(e,t){return es(e,t,"months")}function Nl(e,t){return es(e,t,"monthsShort")}function xl(e,t,r){return Ar(e,t,r,"weekdays")}function Al(e,t,r){return Ar(e,t,r,"weekdaysShort")}function Rl(e,t,r){return Ar(e,t,r,"weekdaysMin")}Te("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 t=e%10,r=b(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}}),_.lang=re("moment.lang is deprecated. Use moment.locale instead.",Te),_.langData=re("moment.langData is deprecated. Use moment.localeData instead.",we);var ke=Math.abs;function Cl(){var e=this._data;return this._milliseconds=ke(this._milliseconds),this._days=ke(this._days),this._months=ke(this._months),e.milliseconds=ke(e.milliseconds),e.seconds=ke(e.seconds),e.minutes=ke(e.minutes),e.hours=ke(e.hours),e.months=ke(e.months),e.years=ke(e.years),this}function ts(e,t,r,n){var s=le(t,r);return e._milliseconds+=n*s._milliseconds,e._days+=n*s._days,e._months+=n*s._months,e._bubble()}function Ll(e,t){return ts(this,e,t,1)}function Pl(e,t){return ts(this,e,t,-1)}function rs(e){return e<0?Math.floor(e):Math.ceil(e)}function Wl(){var e=this._milliseconds,t=this._days,r=this._months,n=this._data,s,a,o,c,m;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=rs(Rr(r)+t)*864e5,t=0,r=0),n.milliseconds=e%1e3,s=se(e/1e3),n.seconds=s%60,a=se(s/60),n.minutes=a%60,o=se(a/60),n.hours=o%24,t+=se(o/24),m=se(ns(t)),r+=m,t-=rs(Rr(m)),c=se(r/12),r%=12,n.days=t,n.months=r,n.years=c,this}function ns(e){return e*4800/146097}function Rr(e){return e*146097/4800}function Ul(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if(e=ne(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+n/864e5,r=this._months+ns(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Rr(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return t*24+n/36e5;case"minute":return t*1440+n/6e4;case"second":return t*86400+n/1e3;case"millisecond":return Math.floor(t*864e5)+n;default:throw new Error("Unknown unit "+e)}}function ve(e){return function(){return this.as(e)}}var ss=ve("ms"),Fl=ve("s"),Hl=ve("m"),jl=ve("h"),$l=ve("d"),Gl=ve("w"),Vl=ve("M"),Bl=ve("Q"),zl=ve("y"),Zl=ss;function ql(){return le(this)}function Kl(e){return e=ne(e),this.isValid()?this[e+"s"]():NaN}function We(e){return function(){return this.isValid()?this._data[e]:NaN}}var Jl=We("milliseconds"),Ql=We("seconds"),Xl=We("minutes"),eu=We("hours"),tu=We("days"),ru=We("months"),nu=We("years");function su(){return se(this.days()/7)}var De=Math.round,Je={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function au(e,t,r,n,s){return s.relativeTime(t||1,!!r,e,n)}function iu(e,t,r,n){var s=le(e).abs(),a=De(s.as("s")),o=De(s.as("m")),c=De(s.as("h")),m=De(s.as("d")),f=De(s.as("M")),D=De(s.as("w")),T=De(s.as("y")),E=a<=r.ss&&["s",a]||a<r.s&&["ss",a]||o<=1&&["m"]||o<r.m&&["mm",o]||c<=1&&["h"]||c<r.h&&["hh",c]||m<=1&&["d"]||m<r.d&&["dd",m];return r.w!=null&&(E=E||D<=1&&["w"]||D<r.w&&["ww",D]),E=E||f<=1&&["M"]||f<r.M&&["MM",f]||T<=1&&["y"]||["yy",T],E[2]=t,E[3]=+e>0,E[4]=n,au.apply(null,E)}function ou(e){return e===void 0?De:typeof e=="function"?(De=e,!0):!1}function lu(e,t){return Je[e]===void 0?!1:t===void 0?Je[e]:(Je[e]=t,e==="s"&&(Je.ss=t-1),!0)}function uu(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=Je,s,a;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(n=Object.assign({},Je,t),t.s!=null&&t.ss==null&&(n.ss=t.s-1)),s=this.localeData(),a=iu(this,!r,n,s),r&&(a=s.pastFuture(+this,a)),s.postformat(a)}var Cr=Math.abs;function Qe(e){return(e>0)-(e<0)||+e}function Bt(){if(!this.isValid())return this.localeData().invalidDate();var e=Cr(this._milliseconds)/1e3,t=Cr(this._days),r=Cr(this._months),n,s,a,o,c=this.asSeconds(),m,f,D,T;return c?(n=se(e/60),s=se(n/60),e%=60,n%=60,a=se(r/12),r%=12,o=e?e.toFixed(3).replace(/\.?0+$/,""):"",m=c<0?"-":"",f=Qe(this._months)!==Qe(c)?"-":"",D=Qe(this._days)!==Qe(c)?"-":"",T=Qe(this._milliseconds)!==Qe(c)?"-":"",m+"P"+(a?f+a+"Y":"")+(r?f+r+"M":"")+(t?D+t+"D":"")+(s||n||e?"T":"")+(s?T+s+"H":"")+(n?T+n+"M":"")+(e?T+o+"S":"")):"P0D"}var I=Ut.prototype;I.isValid=to,I.abs=Cl,I.add=Ll,I.subtract=Pl,I.as=Ul,I.asMilliseconds=ss,I.asSeconds=Fl,I.asMinutes=Hl,I.asHours=jl,I.asDays=$l,I.asWeeks=Gl,I.asMonths=Vl,I.asQuarters=Bl,I.asYears=zl,I.valueOf=Zl,I._bubble=Wl,I.clone=ql,I.get=Kl,I.milliseconds=Jl,I.seconds=Ql,I.minutes=Xl,I.hours=eu,I.days=tu,I.weeks=su,I.months=ru,I.years=nu,I.humanize=uu,I.toISOString=Bt,I.toString=Bt,I.toJSON=Bt,I.locale=Gn,I.localeData=Bn,I.toIsoString=re("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Bt),I.lang=Vn,v("X",0,0,"unix"),v("x",0,0,"valueOf"),g("x",xt),g("X",Ia),R("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)}),R("x",function(e,t,r){r._d=new Date(b(e))});//! moment.js
|
|
10
|
+
_.version="2.30.1",ua(W),_.fn=h,_.min=Ji,_.max=Qi,_.now=Xi,_.utc=ce,_.unix=El,_.months=Yl,_.isDate=ut,_.locale=Te,_.invalid=bt,_.duration=le,_.isMoment=ie,_.weekdays=xl,_.parseZone=Il,_.localeData=we,_.isDuration=Ft,_.monthsShort=Nl,_.weekdaysMin=Rl,_.defineLocale=vr,_.updateLocale=Ei,_.locales=Ii,_.weekdaysShort=Al,_.normalizeUnits=ne,_.relativeTimeRounding=ou,_.relativeTimeThreshold=lu,_.calendarFormat=Oo,_.prototype=h,_.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"};//! moment.js locale configuration
|
|
11
11
|
//! locale : French [fr]
|
|
12
12
|
//! author : John Fischer : https://github.com/jfroffice
|
|
13
|
-
var lu=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,uu=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,as=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,Wn=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i];m.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:as,monthsShortRegex:as,monthsStrictRegex:lu,monthsShortStrictRegex:uu,monthsParse:Wn,longMonthsParse:Wn,shortMonthsParse:Wn,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(e===1?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(e===1?"er":"e");case"w":case"W":return e+(e===1?"re":"e")}},week:{dow:1,doy:4}});var is;(function(e){e.USER="user",e.ADMIN="admin",e.SYSTEM="system"})(is||(is={}));var os;(function(e){e.INTERNAL="internal",e.USER_EDITABLE="user-editable"})(os||(os={}));var ls;(function(e){e.EDITORIAL_CONTENT="editorial-content",e.USER_DATA="user-data",e.SYSTEM_DATA="system-data"})(ls||(ls={}));var us;(function(e){e[e.DISABLED=0]="DISABLED",e[e.ENABLED=1]="ENABLED"})(us||(us={}));var cs;(function(e){e.IMAGE="image",e.VIDEO="video"})(cs||(cs={}));var ds;(function(e){e[e.UNDEFINED=0]="UNDEFINED",e[e.EMAIL_PASSWORD=1]="EMAIL_PASSWORD",e[e.PHONE=2]="PHONE",e[e.GOOGLE=3]="GOOGLE",e[e.FACEBOOK=4]="FACEBOOK",e[e.TWITTER=5]="TWITTER"})(ds||(ds={}));var Zt;(function(e){e[e.FALSE=0]="FALSE",e[e.TRUE=1]="TRUE"})(Zt||(Zt={}));var fs;(function(e){e.NEWS_TAG="news-tag",e.NEWS_CATEGORY="news-category",e.NEWS_ARTICLE="news-article",e.CONTENT_MODEL="content-model"})(fs||(fs={}));var Q;(function(e){e.RELOAD="reload",e.RELOAD_COMPLETE="reload-complete",e.ENABLE_EDITION_MODE="enable-edition-mode",e.DESELECT_ALL_SECTIONS="deselect-all-sections",e.SELECT_PREVIEW_SECTION="select-preview-section",e.SELECT_SIDEBAR_SECTION="select-sidebar-section",e.SEND_BASE_SECTION_SETTINGS="send-base-section-settings",e.SEND_BASE_SECTION_DATA="send-base-section-data",e.SEND_SECTION_SETTINGS="send-section-settings",e.SEND_SECTION_DATA="send-section-data",e.SEND_PAGE_SECTIONS="send-page-sections"})(Q||(Q={}));var qt;(function(e){e.EXTERNAL_LINK="external-link",e.PAGE_LINK="page-link",e.CONTENT_LINK="content-link"})(qt||(qt={}));var hs;(function(e){e[e.SYSTEM=1]="SYSTEM",e[e.USER=2]="USER"})(hs||(hs={}));var ms;(function(e){e.WELCOME_USER="App\\Notifications\\WelcomeUser"})(ms||(ms={}));var _s;(function(e){e.NEWS_TAG="news-tag",e.NEWS_CATEGORY="news-category",e.NEWS_ARTICLE="news-article",e.CONTENT_MODEL="content-model"})(_s||(_s={}));var ps;(function(e){e.SUBSCRIBER="App\\Models\\SubscriberProfile"})(ps||(ps={}));var gs;(function(e){e.FORM_INVALID_DATA="form/invalid_data",e.AUTH_LOGIN_FAILED="auth/login_failed",e.AUTH_REGISTRATION_FAILED="auth/registration_failed",e.AUTH_MISSING_DATA="auth/missing_data",e.AUTH_WRONG_PASSWORD="auth/wrong_password",e.AUTH_USER_DISABLED="auth/user_disabled",e.AUTH_USER_NOT_FOUND="auth/user_not_found",e.AUTH_PROFILE_TYPE_NOT_FOUND="auth/profile_type_not_found",e.AUTH_EMAIL_ALREADY_USED="auth/email_already_used",e.AUTH_EMAIL_ALREADY_VERIFIED="auth/email_already_verified",e.AUTH_PROFILE_ALREADY_EXISTS="auth/profile_already_exists",e.AUTH_PROFILE_NOT_FOUND="auth/profile_not_found",e.AUTH_INVALID_TOKEN="auth/invalid_token",e.AUTH_CODE_SENDING_FAILED="auth/code_sending_failed",e.AUTH_CODE_VERIFICATION_FAILED="auth/code_verification_failed",e.AUTH_CODE_EXPIRED="auth/code_expired"})(gs||(gs={}));var ys;(function(e){e.SUPER_ADMIN="super-admin",e.ADMIN="admin",e.USER="user"})(ys||(ys={}));const cu=["id"],du=l.defineComponent({__name:"RootContainer",props:{page:{},sections:{default:()=>[]},components:{default:()=>({})}},setup(e){const t=e;l.onMounted(()=>{setTimeout(()=>{const r=t.page.props.sectionData;r&&t.sections.find(s=>s.slug==r.slug&&s.pivot?.linkId==r.pivot?.linkId)&&ir(`${r.slug}__${r.pivot?.linkId}-container`)},1e3)});const n=l.ref({});return l.onMounted(()=>{const r=()=>{Object.keys(n.value).forEach(a=>{n.value[a].isActive=!1;const o=document.getElementById(a);o&&(o.style.border="none",o.style.boxShadow="none")})},s=a=>{switch(a.data?.type){case Q.RELOAD:sessionStorage.setItem("shouldNotifyReload","1"),sessionStorage.setItem("replyOrigin",a.origin),window.location.reload();break;case Q.ENABLE_EDITION_MODE:{const o=a.data?.primaryColor??"blue";sessionStorage.setItem("replyOrigin",a.origin),sessionStorage.setItem("primaryColor",o),t.sections?.forEach((c,_)=>{if(c.slug&&c.pivot?.linkId){const f=`${c.slug}__${c.pivot?.linkId}-container`,M=document.getElementById(f);M&&(n.value[f]={element:M,clickCount:0,isActive:!1},M.addEventListener("click",function(T){r(),n.value[this.id].clickCount++,n.value[this.id].isActive=!0,this.style.border=`5px solid ${o}`,this.style.boxShadow=`0 0 10px ${o}`,window.parent.postMessage({type:Q.SELECT_PREVIEW_SECTION,slug:c.slug,linkId:c.pivot?.linkId},a.origin)}),M.style.cursor="pointer",M.style.transition="all 0.3s ease")}});break}case Q.DESELECT_ALL_SECTIONS:r();break;case Q.SELECT_SIDEBAR_SECTION:{setTimeout(()=>{t.sections.find(_=>_.slug==a.data?.slug&&_.pivot?.linkId==a.data?.linkId)&&ir(`${a.data?.slug}__${a.data?.linkId}-container`)},1e3);const o=`${a.data?.slug}__${a.data?.linkId}-container`,c=document.getElementById(o);c&&(r(),n.value[o].clickCount++,n.value[o].isActive=!0,c.style.border=`5px solid ${sessionStorage.getItem("primaryColor")}`,c.style.boxShadow=`0 0 10px ${sessionStorage.getItem("primaryColor")}`);break}case Q.SEND_BASE_SECTION_SETTINGS:break;case Q.SEND_BASE_SECTION_DATA:break;case Q.SEND_SECTION_SETTINGS:break;case Q.SEND_SECTION_DATA:break;case Q.SEND_PAGE_SECTIONS:break}};if(window.addEventListener("message",s),sessionStorage.getItem("shouldNotifyReload")==="1"){const a=sessionStorage.getItem("replyOrigin")||"*";window.parent.postMessage({type:Q.RELOAD_COMPLETE},a),sessionStorage.removeItem("shouldNotifyReload"),sessionStorage.removeItem("replyOrigin")}}),(r,s)=>(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.sections,(a,o)=>(l.openBlock(),l.createElementBlock("section",{key:"section-"+o,id:`${a.slug}__${a.pivot?.linkId}-container`,class:"reset-styles"},[(l.openBlock(),l.createBlock(l.resolveDynamicComponent(e.components[a.name]),{data:a.pivot?.data,setings:a.pivot?.settings,"section-key":`${a.slug}__${a.pivot?.linkId}`,metadata:{slug:a.slug,name:a.name,title:a.title,linkId:a.pivot?.linkId,createdAt:a.createdAt,updatedAt:a.updatedAt}},null,8,["data","setings","section-key","metadata"]))],8,cu))),128))}}),Ss=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},ws=Ss(du,[["__scopeId","data-v-9e4f90fa"]]),fu=["src","alt","title","width","height","loading"],Un=l.defineComponent({__name:"AsyncImg",props:{load:{type:Function},alt:{},width:{},height:{},title:{},loading:{},style:{}},setup(e){const t=e,n=l.ref("");return(async()=>{n.value=await t.load()})(),(s,a)=>(l.openBlock(),l.createElementBlock("img",{src:l.unref(n),alt:t.alt,title:t.title,style:l.normalizeStyle(t.style),width:t.width,height:t.height,loading:t.loading},null,12,fu))}}),ks=Ss(l.defineComponent({__name:"CustomTransition",props:{name:{default:"fade"},mode:{default:"out-in"},appear:{type:Boolean,default:!1}},setup(e){const t=e;return(n,r)=>(l.openBlock(),l.createBlock(l.Transition,{name:t.name,mode:t.mode,appear:t.appear},{default:l.withCtx(()=>[l.renderSlot(n.$slots,"default",{},void 0,!0)]),_:3},8,["name","mode","appear"]))}}),[["__scopeId","data-v-30b5e62e"]]),Fn=new WeakMap,hu=(...e)=>{var t;const n=e[0],r=(t=l.getCurrentInstance())===null||t===void 0?void 0:t.proxy,s=r??l.getCurrentScope();if(s==null&&!l.hasInjectionContext())throw new Error("injectLocal must be called in setup");return s&&Fn.has(s)&&n in Fn.get(s)?Fn.get(s)[n]:l.inject(...e)},mu=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const _u=Object.prototype.toString,pu=e=>_u.call(e)==="[object Object]";function vs(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function Hn(e){return Array.isArray(e)?e:[e]}function gu(e,t,n){return l.watch(e,t,{...n,immediate:!0})}const Ds=mu?window:void 0;function yu(e){var t;const n=l.toValue(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function Su(...e){const t=(r,s,a,o)=>(r.addEventListener(s,a,o),()=>r.removeEventListener(s,a,o)),n=l.computed(()=>{const r=Hn(l.toValue(e[0])).filter(s=>s!=null);return r.every(s=>typeof s!="string")?r:void 0});return gu(()=>{var r,s;return[(r=(s=n.value)===null||s===void 0?void 0:s.map(a=>yu(a)))!==null&&r!==void 0?r:[Ds].filter(a=>a!=null),Hn(l.toValue(n.value?e[1]:e[0])),Hn(l.unref(n.value?e[2]:e[1])),l.toValue(n.value?e[3]:e[2])]},([r,s,a,o],c,_)=>{if(!r?.length||!s?.length||!a?.length)return;const f=pu(o)?{...o}:o,M=r.flatMap(T=>s.flatMap(N=>a.map(R=>t(T,N,R,f))));_(()=>{M.forEach(T=>T())})},{flush:"post"})}function wu(){const e=l.shallowRef(!1),t=l.getCurrentInstance();return t&&l.onMounted(()=>{e.value=!0},t),e}function ku(e){const t=wu();return l.computed(()=>(t.value,!!e()))}const vu=Symbol("vueuse-ssr-width");function Du(){const e=l.hasInjectionContext()?hu(vu,null):null;return typeof e=="number"?e:void 0}function kt(e,t={}){const{window:n=Ds,ssrWidth:r=Du()}=t,s=ku(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),a=l.shallowRef(typeof r=="number"),o=l.shallowRef(),c=l.shallowRef(!1),_=f=>{c.value=f.matches};return l.watchEffect(()=>{if(a.value){a.value=!s.value,c.value=l.toValue(e).split(",").some(f=>{const M=f.includes("not all"),T=f.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),N=f.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let R=!!(T||N);return T&&R&&(R=r>=vs(T[1])),N&&R&&(R=r<=vs(N[1])),M?!R:R});return}s.value&&(o.value=n.matchMedia(l.toValue(e)),c.value=o.value.matches)}),Su(o,"change",_,{passive:!0}),l.computed(()=>c.value)}const Ms=Symbol("Props"),Os=Symbol("Config"),Ts=Symbol("ResolveSections"),jn=()=>{const e=l.inject(Os);if(!e)throw new Error("[@creopse/vue] Plugin not installed");const t=sa(e.appUrl||ia());return{...e,apiBaseUrl:t,apiUrl:`${t}/api`,apiRequestHeaders:{"X-API-Key":e.xApiKey}}},Kt=()=>{const{apiUrl:e,apiRequestHeaders:t}=jn(),n=f=>{},r=async f=>{const M=useAuthStore();let T=!1,N=null,R=null;try{const F=t;F.Authorization=`Bearer ${M.accessToken}`,N=await axios.request({method:f.method||"get",params:f.params||{},data:f.data||{},url:f.url||"/",baseURL:e,headers:F}),T=!0}catch(F){R=F,T=!1,F.response&&F.response.status==401&&(M.resetAuthData(),router.get("/login",{},{replace:!0}))}return{success:T,failure:!T,result:N?N.data:null,error:R}};return{request:r,getItem:async f=>await r({url:`/${f.routeBase}/${f.id}`}),addItem:async f=>await r({url:`/${f.routeBase}`,method:"post",data:f.data}),updateItem:async f=>await r({url:`/${f.routeBase}/${f.id}`,method:"put",data:f.data}),deleteItem:async f=>await r({url:`/${f.routeBase}/${f.id}`,method:"delete"}),getAllItems:async f=>await r({url:`/${f.routeBase}`}),handleError:n}},bs=()=>{const e=getActiveLanguage();return{defaultPrefs:l.ref({inAppNotifEnabled:Zt.TRUE,emailNotifEnabled:Zt.TRUE,locale:e})}},$n=()=>{const e=usePage(),t=getActiveLanguage(),n=useUserInterfaceStore(),{request:r}=Kt(),{apiBaseUrl:s,langKey:a}=jn(),{defaultPrefs:o}=bs(),c=l.computed(()=>e.url),_=D=>or(D)?D:`${s}/${aa(D)}`,f=D=>D?or(D)?D:`${s}/storage/${D}`:"",M=async(D,I="original")=>{const X=["small","medium","large"],re=D.split("/").pop();let Z=!1;for(let b=0;b<X.length;b++)if(X[b]===I&&(Z=!0),Z)try{const st=f(`thumbnails/${X[b]}/${re}`);if((await axios.head(st)).status===200)return st}catch{}return f(D)},T=D=>{let I;try{I=JSON.parse(D)}catch{I={}}return I&&(I[t.toUpperCase()]||I[t]||I.en)||""},N=D=>T(D),R=(D,I)=>n.isLightTheme?D:I,F=D=>{if(!D)return"";let I=T(D).replace(new RegExp("{{BASE_URL}}article","g"),`${s}/article`).replace(new RegExp("{{BASE_URL}}","g"),`${s}/storage`);const X=I.match(/\[audio\](.*?)\[\/?audio\]/g),re=I.match(/\[video\](.*?)\[\/?video\]/g);return X?.forEach(Z=>{const b=Z.replace(/\[\/?audio\]/g,"");I=I.replace(Z,`<br><p><audio preload="all" controls style="width: 100%"><source src="${f(b)}"></audio></p><br>`)}),re?.forEach(Z=>{const b=Z.replace(/\[\/?video\]/g,"");I=I.replace(Z,`<br><p><video controls style="width: 100%"><source src="${f(b)}"></video></p><br>`)}),I},Pe=D=>F(D),Je=kt("(min-width: 1536px)"),Te=kt("(min-width: 1280px) and (max-width: 1535px)"),Qe=kt("(min-width: 1024px) and (max-width: 1279px)"),Xe=kt("(min-width: 768px) and (max-width: 1023px)"),be=kt("(max-width: 767px)"),Ee=[{label:"French",value:"fr",flag:"flag:fr-1x1"},{label:"English",value:"en",flag:"flag:gb-1x1"}];return{is2XlScreen:Je,isXlScreen:Te,isLgScreen:Qe,isMdScreen:Xe,isSmScreen:be,getTranslation:T,getLangageLabel:D=>Ee.find(I=>I.value==D)?.label,getLanguageValue:D=>Ee.find(I=>I.label==D)?.value,getLinkCursorClass:D=>!D||D==="#"?"tw:cursor-default":"tw:cursor-pointer",ckEditorToolbarItems:["fullScreen","|","heading","|","uploadImage","|","bold","italic","underline","strikethrough","code","subscript","superscript","selectAll","|","fontSize","fontFamily","fontColor","fontBackgroundColor","|","horizontalLine","blockQuote","bulletedList","numberedList","alignment","|","outdent","indent","|","link","insertTable","mediaEmbed","|","undo","redo"],displayFormErrors:(D,I)=>{if(D)for(const[X,re]of Object.entries(D))for(const Z of re)I(Z)},resolveHtmlLinks:F,pickByTheme:R,resolveUrl:_,updateLang:async(D,I=!0,X=!0)=>{if(localStorage.setItem(a,D),e.props.isUserLoggedIn&&X){const re=e.props.userData?.preferences||o.value;re.locale=D,await r({url:`/users/self/${e.props.userData?.id}`,method:"put",data:{preferences:re}})}I&&location.reload()},languages:Ee,getImage:M,fileUrl:f,currentRoutePath:c,openLink:D=>{_v.isURL(D)?window.open(D,"_blank"):router.get(D)},openMenu:D=>{switch(D?.targetType){case qt.EXTERNAL_LINK:window.open(D?.url??"#");break;case qt.PAGE_LINK:router.get(D?.path??"/");break}},getMenuHref:D=>D?.targetType==="external-link"?D?.url||"":D?.path||"",rHtml:Pe,tr:N}},Mu=["src"],Es=l.defineComponent({__name:"Image",props:{src:{},alt:{default:""},width:{default:void 0},height:{default:void 0},title:{default:void 0},loading:{default:void 0},style:{default:void 0},size:{default:"original"},sync:{type:Boolean,default:!1}},setup(e){const t=e,{getImage:n}=$n(),{src:r,size:s,sync:a}=l.toRefs(t),o=l.computed(()=>{const{src:c,size:_,sync:f,...M}=t;return M});return(c,_)=>{const f=Un;return l.unref(a)?(l.openBlock(),l.createElementBlock("img",l.mergeProps({key:0,src:l.unref(r)},l.unref(o)),null,16,Mu)):(l.openBlock(),l.createBlock(f,l.mergeProps({key:1,load:()=>l.unref(n)(l.unref(r),l.unref(s))},l.unref(o)),null,16,["load"]))}}}),Is=l.defineComponent({__name:"MountedTeleport",props:{to:{}},setup(e){const t=e,n=l.ref(!1);return l.onMounted(()=>{n.value=!0}),l.onUnmounted(()=>{n.value=!1}),(r,s)=>l.unref(n)?(l.openBlock(),l.createBlock(l.Teleport,{key:0,to:t.to},[l.renderSlot(r.$slots,"default")],8,["to"])):l.createCommentVNode("",!0)}}),Ou=["innerHTML"],Tu=["href"],bu=["href"],Ys=l.defineComponent({__name:"ReadMore",props:{moreStr:{default:"Read more"},lessStr:{default:""},text:{},link:{default:"#"},maxChars:{default:100}},setup(e){const t=e,n=l.ref(!1),r=l.computed(()=>!n.value&&t.text.length>t.maxChars?t.text.substring(0,t.maxChars)+"...":t.text),s=(a,o)=>{t.link=="#"&&a.preventDefault(),t.lessStr&&(n.value=o)};return(a,o)=>(l.openBlock(),l.createElementBlock("div",null,[l.createElementVNode("span",{innerHTML:l.unref(r)},null,8,Ou),l.withDirectives(l.createElementVNode("span",null,[l.withDirectives(l.createElementVNode("a",{id:"readmore",href:t.link,onClick:o[0]||(o[0]=c=>s(c,!0))},l.toDisplayString(t.moreStr),9,Tu),[[l.vShow,!l.unref(n)]]),l.withDirectives(l.createElementVNode("a",{id:"readmore",href:t.link,onClick:o[1]||(o[1]=c=>s(c,!1))},l.toDisplayString(t.lessStr),9,bu),[[l.vShow,l.unref(n)]])],512),[[l.vShow,t.text.length>t.maxChars]])]))}}),Ns=l.defineComponent({__name:"StickyBottom",props:{bottom:{default:0},zIndex:{default:1},className:{default:""}},setup(e){const t=e,n=l.ref(null),r=l.ref(!1),s=l.ref(""),a=l.ref(void 0),o=l.ref(void 0),c=l.ref(!1);l.onMounted(()=>{o.value=n.value?.getBoundingClientRect().height,window.addEventListener("scroll",T),window.addEventListener("resize",N),T()}),l.onActivated(()=>{T()}),l.onUnmounted(()=>{window.removeEventListener("scroll",T),window.removeEventListener("resize",N)});const _=()=>{r.value||(s.value="fixed",r.value=!0,a.value=a.value+"px",c.value=!0)},f=()=>{r.value&&M()},M=()=>{s.value="",a.value="auto",r.value=!1,c.value=!1},T=()=>{const R=n.value?.getBoundingClientRect().width;if(a.value=R||"auto",(n.value?.getBoundingClientRect().bottom||0)>t.bottom){_();return}f()},N=()=>{c.value&&(a.value=n.value?.getBoundingClientRect().width+"px")};return(R,F)=>(l.openBlock(),l.createElementBlock("div",{ref_key:"el",ref:n,style:l.normalizeStyle({height:l.unref(o)+"px",zIndex:t.zIndex})},[l.createElementVNode("div",{class:l.normalizeClass(t.className),style:l.normalizeStyle({bottom:l.unref(c)?t.bottom+"px":"",zIndex:t.zIndex,position:l.unref(s),width:l.unref(a),height:l.unref(o)+"px"})},[l.renderSlot(R.$slots,"default",{},()=>[F[0]||(F[0]=l.createElementVNode("div",null,"Sticky Bottom",-1))])],6)],4))}}),xs=l.defineComponent({__name:"StickyTop",props:{top:{default:0},zIndex:{default:1},className:{default:""}},setup(e){const t=e,n=l.ref(null),r=l.ref(!1),s=l.ref(""),a=l.ref(void 0),o=l.ref(void 0),c=l.ref(!1);l.onMounted(()=>{o.value=n.value?.getBoundingClientRect().height,window.addEventListener("scroll",T),window.addEventListener("resize",N)}),l.onActivated(()=>{T()}),l.onUnmounted(()=>{window.removeEventListener("scroll",T),window.removeEventListener("resize",N)});const _=()=>{r.value||(s.value="fixed",r.value=!0,a.value=a.value+"px",c.value=!0)},f=()=>{r.value&&M()},M=()=>{s.value="",a.value="auto",r.value=!1,c.value=!1},T=()=>{const R=n.value?.getBoundingClientRect().width;if(a.value=R||"auto",(n.value?.getBoundingClientRect().top||0)<t.top){_();return}f()},N=()=>{c.value&&(a.value=n.value?.getBoundingClientRect().width+"px")};return(R,F)=>(l.openBlock(),l.createElementBlock("div",{ref_key:"el",ref:n,style:l.normalizeStyle({height:l.unref(o)+"px",zIndex:t.zIndex})},[l.createElementVNode("div",{class:l.normalizeClass(t.className),style:l.normalizeStyle({top:l.unref(c)?t.top+"px":"",zIndex:t.zIndex,position:l.unref(s),width:l.unref(a),height:l.unref(o)+"px"})},[l.renderSlot(R.$slots,"default",{},()=>[F[0]||(F[0]=l.createElementVNode("div",null,"Sticky Top",-1))])],6)],4))}});class Eu{state;constructor(t){this.state=l.reactive({props:t})}update(t){this.state.props=this.deepMerge(this.state.props,t)}getState(){return l.readonly(this.state)}sync(t){this.state.props=t}deepMerge(t,n){const r={...t};return this.isObject(t)&&this.isObject(n)&&Object.keys(n).forEach(s=>{this.isObject(n[s])&&s in t?r[s]=this.deepMerge(t[s],n[s]):r[s]=n[s]}),r}isObject(t){return t&&typeof t=="object"&&!Array.isArray(t)}}const Iu=()=>{const e=l.inject(Ms);if(!e)throw new Error("[@creopse/vue] Plugin not installed");return e.getState().props};var Jt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Yu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var vt={exports:{}};vt.exports;var As;function Nu(){return As||(As=1,function(e,t){var n=200,r="__lodash_hash_undefined__",s=9007199254740991,a="[object Arguments]",o="[object Array]",c="[object Boolean]",_="[object Date]",f="[object Error]",M="[object Function]",T="[object GeneratorFunction]",N="[object Map]",R="[object Number]",F="[object Object]",Pe="[object Promise]",Je="[object RegExp]",Te="[object Set]",Qe="[object String]",Xe="[object Symbol]",be="[object WeakMap]",Ee="[object ArrayBuffer]",We="[object DataView]",et="[object Float32Array]",tt="[object Float64Array]",Ie="[object Int8Array]",Dt="[object Int16Array]",Ye="[object Int32Array]",nt="[object Uint8Array]",rt="[object Uint8ClampedArray]",Mt="[object Uint16Array]",D="[object Uint32Array]",I=/[\\^$.*+?()[\]{}|]/g,X=/\w*$/,re=/^\[object .+?Constructor\]$/,Z=/^(?:0|[1-9]\d*)$/,b={};b[a]=b[o]=b[Ee]=b[We]=b[c]=b[_]=b[et]=b[tt]=b[Ie]=b[Dt]=b[Ye]=b[N]=b[R]=b[F]=b[Je]=b[Te]=b[Qe]=b[Xe]=b[nt]=b[rt]=b[Mt]=b[D]=!0,b[f]=b[M]=b[be]=!1;var st=typeof Jt=="object"&&Jt&&Jt.Object===Object&&Jt,y=typeof self=="object"&&self&&self.Object===Object&&self,S=st||y||Function("return this")(),w=t&&!t.nodeType&&t,p=w&&!0&&e&&!e.nodeType&&e,x=p&&p.exports===w;function B(i,u){return i.set(u[0],u[1]),i}function at(i,u){return i.add(u),i}function Ne(i,u){for(var d=-1,k=i?i.length:0;++d<k&&u(i[d],d,i)!==!1;);return i}function Gn(i,u){for(var d=-1,k=u.length,G=i.length;++d<k;)i[G+d]=u[d];return i}function Ls(i,u,d,k){for(var G=-1,q=i?i.length:0;++G<q;)d=u(d,i[G],G,i);return d}function Ru(i,u){for(var d=-1,k=Array(i);++d<i;)k[d]=u(d);return k}function Pu(i,u){return i?.[u]}function Rs(i){var u=!1;if(i!=null&&typeof i.toString!="function")try{u=!!(i+"")}catch{}return u}function Ps(i){var u=-1,d=Array(i.size);return i.forEach(function(k,G){d[++u]=[G,k]}),d}function Vn(i,u){return function(d){return i(u(d))}}function Ws(i){var u=-1,d=Array(i.size);return i.forEach(function(k){d[++u]=k}),d}var Wu=Array.prototype,Uu=Function.prototype,Qt=Object.prototype,Bn=S["__core-js_shared__"],Us=function(){var i=/[^.]+$/.exec(Bn&&Bn.keys&&Bn.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}(),Fs=Uu.toString,xe=Qt.hasOwnProperty,Xt=Qt.toString,Fu=RegExp("^"+Fs.call(xe).replace(I,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Hs=x?S.Buffer:void 0,js=S.Symbol,$s=S.Uint8Array,Hu=Vn(Object.getPrototypeOf,Object),ju=Object.create,$u=Qt.propertyIsEnumerable,Gu=Wu.splice,Gs=Object.getOwnPropertySymbols,Vu=Hs?Hs.isBuffer:void 0,Bu=Vn(Object.keys,Object),zn=lt(S,"DataView"),Ot=lt(S,"Map"),Zn=lt(S,"Promise"),qn=lt(S,"Set"),Kn=lt(S,"WeakMap"),Tt=lt(Object,"create"),zu=He(zn),Zu=He(Ot),qu=He(Zn),Ku=He(qn),Ju=He(Kn),Vs=js?js.prototype:void 0,Bs=Vs?Vs.valueOf:void 0;function Ue(i){var u=-1,d=i?i.length:0;for(this.clear();++u<d;){var k=i[u];this.set(k[0],k[1])}}function Qu(){this.__data__=Tt?Tt(null):{}}function Xu(i){return this.has(i)&&delete this.__data__[i]}function ec(i){var u=this.__data__;if(Tt){var d=u[i];return d===r?void 0:d}return xe.call(u,i)?u[i]:void 0}function tc(i){var u=this.__data__;return Tt?u[i]!==void 0:xe.call(u,i)}function nc(i,u){var d=this.__data__;return d[i]=Tt&&u===void 0?r:u,this}Ue.prototype.clear=Qu,Ue.prototype.delete=Xu,Ue.prototype.get=ec,Ue.prototype.has=tc,Ue.prototype.set=nc;function ke(i){var u=-1,d=i?i.length:0;for(this.clear();++u<d;){var k=i[u];this.set(k[0],k[1])}}function rc(){this.__data__=[]}function sc(i){var u=this.__data__,d=en(u,i);if(d<0)return!1;var k=u.length-1;return d==k?u.pop():Gu.call(u,d,1),!0}function ac(i){var u=this.__data__,d=en(u,i);return d<0?void 0:u[d][1]}function ic(i){return en(this.__data__,i)>-1}function oc(i,u){var d=this.__data__,k=en(d,i);return k<0?d.push([i,u]):d[k][1]=u,this}ke.prototype.clear=rc,ke.prototype.delete=sc,ke.prototype.get=ac,ke.prototype.has=ic,ke.prototype.set=oc;function it(i){var u=-1,d=i?i.length:0;for(this.clear();++u<d;){var k=i[u];this.set(k[0],k[1])}}function lc(){this.__data__={hash:new Ue,map:new(Ot||ke),string:new Ue}}function uc(i){return tn(this,i).delete(i)}function cc(i){return tn(this,i).get(i)}function dc(i){return tn(this,i).has(i)}function fc(i,u){return tn(this,i).set(i,u),this}it.prototype.clear=lc,it.prototype.delete=uc,it.prototype.get=cc,it.prototype.has=dc,it.prototype.set=fc;function ot(i){this.__data__=new ke(i)}function hc(){this.__data__=new ke}function mc(i){return this.__data__.delete(i)}function _c(i){return this.__data__.get(i)}function pc(i){return this.__data__.has(i)}function gc(i,u){var d=this.__data__;if(d instanceof ke){var k=d.__data__;if(!Ot||k.length<n-1)return k.push([i,u]),this;d=this.__data__=new it(k)}return d.set(i,u),this}ot.prototype.clear=hc,ot.prototype.delete=mc,ot.prototype.get=_c,ot.prototype.has=pc,ot.prototype.set=gc;function yc(i,u){var d=Xn(i)||jc(i)?Ru(i.length,String):[],k=d.length,G=!!k;for(var q in i)xe.call(i,q)&&!(G&&(q=="length"||Wc(q,k)))&&d.push(q);return d}function zs(i,u,d){var k=i[u];(!(xe.call(i,u)&&Js(k,d))||d===void 0&&!(u in i))&&(i[u]=d)}function en(i,u){for(var d=i.length;d--;)if(Js(i[d][0],u))return d;return-1}function Sc(i,u){return i&&Zs(u,er(u),i)}function Jn(i,u,d,k,G,q,ve){var K;if(k&&(K=q?k(i,G,q,ve):k(i)),K!==void 0)return K;if(!nn(i))return i;var ea=Xn(i);if(ea){if(K=Lc(i),!u)return xc(i,K)}else{var ut=Fe(i),ta=ut==M||ut==T;if(Gc(i))return Oc(i,u);if(ut==F||ut==a||ta&&!q){if(Rs(i))return q?i:{};if(K=Rc(ta?{}:i),!u)return Ac(i,Sc(K,i))}else{if(!b[ut])return q?i:{};K=Pc(i,ut,Jn,u)}}ve||(ve=new ot);var na=ve.get(i);if(na)return na;if(ve.set(i,K),!ea)var ra=d?Cc(i):er(i);return Ne(ra||i,function(tr,rn){ra&&(rn=tr,tr=i[rn]),zs(K,rn,Jn(tr,u,d,k,rn,i,ve))}),K}function wc(i){return nn(i)?ju(i):{}}function kc(i,u,d){var k=u(i);return Xn(i)?k:Gn(k,d(i))}function vc(i){return Xt.call(i)}function Dc(i){if(!nn(i)||Fc(i))return!1;var u=Xs(i)||Rs(i)?Fu:re;return u.test(He(i))}function Mc(i){if(!Ks(i))return Bu(i);var u=[];for(var d in Object(i))xe.call(i,d)&&d!="constructor"&&u.push(d);return u}function Oc(i,u){if(u)return i.slice();var d=new i.constructor(i.length);return i.copy(d),d}function Qn(i){var u=new i.constructor(i.byteLength);return new $s(u).set(new $s(i)),u}function Tc(i,u){var d=u?Qn(i.buffer):i.buffer;return new i.constructor(d,i.byteOffset,i.byteLength)}function bc(i,u,d){var k=u?d(Ps(i),!0):Ps(i);return Ls(k,B,new i.constructor)}function Ec(i){var u=new i.constructor(i.source,X.exec(i));return u.lastIndex=i.lastIndex,u}function Ic(i,u,d){var k=u?d(Ws(i),!0):Ws(i);return Ls(k,at,new i.constructor)}function Yc(i){return Bs?Object(Bs.call(i)):{}}function Nc(i,u){var d=u?Qn(i.buffer):i.buffer;return new i.constructor(d,i.byteOffset,i.length)}function xc(i,u){var d=-1,k=i.length;for(u||(u=Array(k));++d<k;)u[d]=i[d];return u}function Zs(i,u,d,k){d||(d={});for(var G=-1,q=u.length;++G<q;){var ve=u[G],K=void 0;zs(d,ve,K===void 0?i[ve]:K)}return d}function Ac(i,u){return Zs(i,qs(i),u)}function Cc(i){return kc(i,er,qs)}function tn(i,u){var d=i.__data__;return Uc(u)?d[typeof u=="string"?"string":"hash"]:d.map}function lt(i,u){var d=Pu(i,u);return Dc(d)?d:void 0}var qs=Gs?Vn(Gs,Object):zc,Fe=vc;(zn&&Fe(new zn(new ArrayBuffer(1)))!=We||Ot&&Fe(new Ot)!=N||Zn&&Fe(Zn.resolve())!=Pe||qn&&Fe(new qn)!=Te||Kn&&Fe(new Kn)!=be)&&(Fe=function(i){var u=Xt.call(i),d=u==F?i.constructor:void 0,k=d?He(d):void 0;if(k)switch(k){case zu:return We;case Zu:return N;case qu:return Pe;case Ku:return Te;case Ju:return be}return u});function Lc(i){var u=i.length,d=i.constructor(u);return u&&typeof i[0]=="string"&&xe.call(i,"index")&&(d.index=i.index,d.input=i.input),d}function Rc(i){return typeof i.constructor=="function"&&!Ks(i)?wc(Hu(i)):{}}function Pc(i,u,d,k){var G=i.constructor;switch(u){case Ee:return Qn(i);case c:case _:return new G(+i);case We:return Tc(i,k);case et:case tt:case Ie:case Dt:case Ye:case nt:case rt:case Mt:case D:return Nc(i,k);case N:return bc(i,k,d);case R:case Qe:return new G(i);case Je:return Ec(i);case Te:return Ic(i,k,d);case Xe:return Yc(i)}}function Wc(i,u){return u=u??s,!!u&&(typeof i=="number"||Z.test(i))&&i>-1&&i%1==0&&i<u}function Uc(i){var u=typeof i;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?i!=="__proto__":i===null}function Fc(i){return!!Us&&Us in i}function Ks(i){var u=i&&i.constructor,d=typeof u=="function"&&u.prototype||Qt;return i===d}function He(i){if(i!=null){try{return Fs.call(i)}catch{}try{return i+""}catch{}}return""}function Hc(i){return Jn(i,!0,!0)}function Js(i,u){return i===u||i!==i&&u!==u}function jc(i){return $c(i)&&xe.call(i,"callee")&&(!$u.call(i,"callee")||Xt.call(i)==a)}var Xn=Array.isArray;function Qs(i){return i!=null&&Vc(i.length)&&!Xs(i)}function $c(i){return Bc(i)&&Qs(i)}var Gc=Vu||Zc;function Xs(i){var u=nn(i)?Xt.call(i):"";return u==M||u==T}function Vc(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=s}function nn(i){var u=typeof i;return!!i&&(u=="object"||u=="function")}function Bc(i){return!!i&&typeof i=="object"}function er(i){return Qs(i)?yc(i):Mc(i)}function zc(){return[]}function Zc(){return!1}e.exports=Hc}(vt,vt.exports)),vt.exports}var xu=Nu();const Cs=Yu(xu),Au=()=>{const{request:e}=Kt(),{fileUrl:t}=$n(),n=usePage(),r=()=>n.props,s=n.props.pageData,a=n.props.article,o=n.props.category,c=n.props.tag,_=n.props.contentModelItem,f=l.inject(Ts),M=y=>{if(!y)return null;const S=y.split("__"),w=S.length?S[0]:"",p=S.length>1?S[1]:"";return n.props.pageData?.sections?.find(x=>x.slug==w&&x.pivot?.linkId==p)?.pivot?.data||null},T=y=>M(y)?.index,N=y=>{if(!y)return null;const S=y.split("__"),w=S.length?S[0]:"",p=S.length>1?S[1]:"";return n.props.pageData?.sections?.find(x=>x.slug==w&&x.pivot?.linkId==p)?.pivot?.settings||null},R=(y,S)=>N(y)?.[S],F=(y,S,w)=>R(y,S)?.[w],Pe=()=>{const y=s?.sections,S=s?.sectionsOrder,w=[];if(Array.isArray(y)&&Array.isArray(S)){for(const p of S)if(p){const x=y.find(B=>`${B.slug}__${B.pivot?.linkId}`===p);x&&w.push(x)}}return w.length?w:y||[]},Je=()=>{const y=Pe(),S=s?.sectionsDisabled;return y.filter(w=>!S?.includes(`${w.slug}__${w.pivot?.linkId}`))},Te=async(y,S,w="default")=>{const p=await e({url:`section-data/${y}/source/${S}/link/${w}`});return p.success&&p.result?p.result.data:null},Qe=()=>{const y={};if(!f)throw new Error("[@creopse/vue] resolveSections is required");const S=f();for(const[p,x]of Object.entries(S)){var w=p.replace(/^\.\/(.*)\.\w+$/,"$1");const B=w.split("/"),at=B[B.length-1]?.split(".")[0];y[at]=x.default}return y},Xe=y=>n.props?.contentModels?.find(S=>S.name===y),be=y=>{const{index:S,...w}=y.contentModelData;return{...y,data:{...y.contentModelData?.index,...w}}},Ee=async(y,S=!0)=>{const w=await e({url:`content-model/items?contentModelName=${y}${S?"&isActive=true":""}`});return w.success&&w.result?(w.result.data||[]).map(p=>be(p)):[]},We=async(y,S,w=!0)=>{const p=await e({url:`content-model/items?pageSize=${S}&contentModelName=${y}${w?"&isActive=true":""}`});if(p.success&&p.result){const x=(p.result.data?.items||[]).map(Ne=>be(Ne)),B=p.result.data?.meta?.total||0,at=p.result.data?.meta?.currentPage||1;return{items:x,total:B,currentPage:at}}return{items:[],total:0,currentPage:1}},et=(y,S=!0)=>{const w=n.props?.menus?.find(p=>p.name===y);return w&&(w.items=Cs(w.items?.filter(p=>!S||p.isActive)?.sort((p,x)=>p.position-x.position))),w},tt=(y,S=!0)=>{const w=n.props?.menus?.find(p=>p.location?.name===y);return w&&(w.items=Cs(w.items?.filter(p=>!S||p.isActive)?.sort((p,x)=>p.position-x.position))),w},Ie=(y,S=!0)=>et(y)?.items?.filter(w=>!S||w.isVisible)?.sort((w,p)=>w.position-p.position),Dt=y=>{const S=[];return(n.props?.menus||[]).forEach(p=>{Array.isArray(p.items)&&S.push(...p.items)}),S.find(p=>p.id===y)},Ye=(y,S=!0)=>tt(y)?.items?.filter(w=>!S||w.isVisible)?.sort((w,p)=>w.position-p.position),nt=(y,S=!1,w=!0)=>{const p=[],x=S?Ye(y,w):Ie(y,w);if(x){for(const B of x)if(!p.find(Ne=>Ne.id===B.menuItemGroupId)){const Ne=n.props?.menuItemGroups?.find(Gn=>Gn.id===B.menuItemGroupId);Ne&&p.push(Ne)}}return p},rt=(y,S,w=!1,p=!0)=>(w?Ye(y,p):Ie(y,p))?.filter(B=>B.menuItemGroupId===S),Mt=(y,S=!1,w=!0)=>nt(y,S).map(x=>({group:x,items:rt(y,x.id||0,S,w)})),D=(y,S=!1,w=!0)=>(S?Ye(y,w):Ie(y,w))?.filter(x=>!x.menuItemGroupId),I=(y,S="string")=>{const p=n.props.appInformation.find(B=>B.key===y);let x="";switch(S){case"number":x=p&&parseInt(p.value)&&!isNaN(parseInt(p.value))?parseInt(p.value):0;break;case"boolean":x=p&&!isNaN(parseInt(p.value))&&parseInt(p.value)>0;break;case"object":x=p&&p.value?JSON.parse(p.value):{};break;case"array":x=p&&p.value?JSON.parse(p.value):[];break;default:x=p&&p.value?p.value:"";break}return x},X=l.computed(()=>I("primaryColor")||void 0),re=l.computed(()=>I("secondaryColor")||void 0),Z=l.computed(()=>I("accentColor")||void 0),b=l.computed(()=>{const y=I("icon");return t(y)||""});return{logo:l.computed(()=>{const y=I("logo");return t(y)||""}),icon:b,page:n,pageData:s,newsArticle:a,newsCategory:o,newsTag:c,contentModelItem:_,getProps:r,getMenu:et,getMenuByLocation:tt,getMenuItems:Ie,getMenuItemById:Dt,getMenuItemsByLocation:Ye,getMenuGroups:nt,getMenuItemsByGroup:rt,getMenuGroupedItems:Mt,getMenuUngroupedItems:D,getSectionData:M,getSectionSettings:N,getSectionSettingsGroup:R,getSectionSetting:F,getAnySectionData:Te,getSectionsInOrder:Pe,getFinalPageSections:Je,getSectionRootData:T,getComponents:Qe,getContentModel:Xe,getContentModelItems:Ee,getPaginatedContentModelItems:We,getAppInformationValue:I,appAccentColor:Z,appPrimaryColor:X,appSecondaryColor:re}},Cu=()=>{const{request:e}=Kt(),t=l.ref(!1),n=async(a,o=void 0,c=void 0)=>{await s("email",a,o,c)},r=async(a,o=void 0,c=void 0)=>{await s("phone",a.replace(/\s+/g,""),o,c)},s=async(a,o,c=void 0,_=void 0)=>{t.value=!0;const f=await e({url:`newsletter/${a}s`,method:"post",data:a==="email"?{email:o}:{phone:o}});f.failure&&f.error?_&&_(f.error?.response?.data):c&&c(),t.value=!1};return{subscribePhone:r,subscribeEmail:n,isLoading:t}},Lu={install(e,t){if(!t?.initialProps)throw new Error("[@creopse/vue] initialProps is required");if(!t?.config)throw new Error("[@creopse/vue] config is required");if(!t?.resolveSections)throw new Error("[@creopse/vue] resolveSections is required");const n=new Eu(t.initialProps);t?.router?t.router.on("navigate",r=>{n.update(r.detail.page.props)}):console.warn("[@creopse/vue] No router - props won't sync"),e.provide(Ms,n),e.config.globalProperties.$props=n,e.provide(Os,t.config),e.config.globalProperties.$config=t.config,e.provide(Ts,t.resolveSections),e.config.globalProperties.$resolveSections=t.resolveSections,e.component("RootContainer",ws),e.component("CustomTransition",ks),e.component("MountedTeleport",Is),e.component("StickyBottom",Ns),e.component("StickyTop",xs),e.component("ReadMore",Ys),e.component("AsyncImg",Un),e.component("Image",Es)}};return $.AsyncImg=Un,$.CustomTransition=ks,$.Image=Es,$.MountedTeleport=Is,$.ReadMore=Ys,$.RootContainer=ws,$.StickyBottom=Ns,$.StickyTop=xs,$.default=Lu,$.useApi=Kt,$.useConfig=jn,$.useContent=Au,$.useHelper=$n,$.useNewsletter=Cu,$.useProps=Iu,$.useUserPreference=bs,Object.defineProperties($,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),$}({},Vue);
|
|
13
|
+
var cu=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,du=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,as=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,Lr=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i];_.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:as,monthsShortRegex:as,monthsStrictRegex:cu,monthsShortStrictRegex:du,monthsParse:Lr,longMonthsParse:Lr,shortMonthsParse:Lr,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(e===1?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(e===1?"er":"e");case"w":case"W":return e+(e===1?"re":"e")}},week:{dow:1,doy:4}});var is;(function(e){e.USER="user",e.ADMIN="admin",e.SYSTEM="system"})(is||(is={}));var os;(function(e){e.INTERNAL="internal",e.USER_EDITABLE="user-editable"})(os||(os={}));var ls;(function(e){e.EDITORIAL_CONTENT="editorial-content",e.USER_DATA="user-data",e.SYSTEM_DATA="system-data"})(ls||(ls={}));var us;(function(e){e[e.DISABLED=0]="DISABLED",e[e.ENABLED=1]="ENABLED"})(us||(us={}));var cs;(function(e){e.IMAGE="image",e.VIDEO="video"})(cs||(cs={}));var ds;(function(e){e[e.UNDEFINED=0]="UNDEFINED",e[e.EMAIL_PASSWORD=1]="EMAIL_PASSWORD",e[e.PHONE=2]="PHONE",e[e.GOOGLE=3]="GOOGLE",e[e.FACEBOOK=4]="FACEBOOK",e[e.TWITTER=5]="TWITTER"})(ds||(ds={}));var zt;(function(e){e[e.FALSE=0]="FALSE",e[e.TRUE=1]="TRUE"})(zt||(zt={}));var fs;(function(e){e.NEWS_TAG="news-tag",e.NEWS_CATEGORY="news-category",e.NEWS_ARTICLE="news-article",e.CONTENT_MODEL="content-model"})(fs||(fs={}));var te;(function(e){e.RELOAD="reload",e.RELOAD_COMPLETE="reload-complete",e.ENABLE_EDITION_MODE="enable-edition-mode",e.DESELECT_ALL_SECTIONS="deselect-all-sections",e.SELECT_PREVIEW_SECTION="select-preview-section",e.SELECT_SIDEBAR_SECTION="select-sidebar-section",e.SEND_BASE_SECTION_SETTINGS="send-base-section-settings",e.SEND_BASE_SECTION_DATA="send-base-section-data",e.SEND_SECTION_SETTINGS="send-section-settings",e.SEND_SECTION_DATA="send-section-data",e.SEND_PAGE_SECTIONS="send-page-sections"})(te||(te={}));var Zt;(function(e){e.EXTERNAL_LINK="external-link",e.PAGE_LINK="page-link",e.CONTENT_LINK="content-link"})(Zt||(Zt={}));var hs;(function(e){e[e.SYSTEM=1]="SYSTEM",e[e.USER=2]="USER"})(hs||(hs={}));var ms;(function(e){e.WELCOME_USER="App\\Notifications\\WelcomeUser"})(ms||(ms={}));var _s;(function(e){e.NEWS_TAG="news-tag",e.NEWS_CATEGORY="news-category",e.NEWS_ARTICLE="news-article",e.CONTENT_MODEL="content-model"})(_s||(_s={}));var ps;(function(e){e.SUBSCRIBER="App\\Models\\SubscriberProfile"})(ps||(ps={}));var gs;(function(e){e.FORM_INVALID_DATA="form/invalid_data",e.AUTH_LOGIN_FAILED="auth/login_failed",e.AUTH_REGISTRATION_FAILED="auth/registration_failed",e.AUTH_MISSING_DATA="auth/missing_data",e.AUTH_WRONG_PASSWORD="auth/wrong_password",e.AUTH_USER_DISABLED="auth/user_disabled",e.AUTH_USER_NOT_FOUND="auth/user_not_found",e.AUTH_PROFILE_TYPE_NOT_FOUND="auth/profile_type_not_found",e.AUTH_EMAIL_ALREADY_USED="auth/email_already_used",e.AUTH_EMAIL_ALREADY_VERIFIED="auth/email_already_verified",e.AUTH_PROFILE_ALREADY_EXISTS="auth/profile_already_exists",e.AUTH_PROFILE_NOT_FOUND="auth/profile_not_found",e.AUTH_INVALID_TOKEN="auth/invalid_token",e.AUTH_CODE_SENDING_FAILED="auth/code_sending_failed",e.AUTH_CODE_VERIFICATION_FAILED="auth/code_verification_failed",e.AUTH_CODE_EXPIRED="auth/code_expired"})(gs||(gs={}));var ys;(function(e){e.SUPER_ADMIN="super-admin",e.ADMIN="admin",e.USER="user"})(ys||(ys={}));const fu=["id"],hu=l.defineComponent({__name:"RootContainer",props:{page:{},sections:{default:()=>[]},components:{default:()=>({})}},setup(e){const t=e;l.onMounted(()=>{setTimeout(()=>{const n=t.page.props.sectionData;n&&t.sections.find(s=>s.slug==n.slug&&s.pivot?.linkId==n.pivot?.linkId)&&an(`${n.slug}__${n.pivot?.linkId}-container`)},1e3)});const r=l.ref({});return l.onMounted(()=>{const n=()=>{Object.keys(r.value).forEach(a=>{r.value[a].isActive=!1;const o=document.getElementById(a);o&&(o.style.border="none",o.style.boxShadow="none")})},s=a=>{switch(a.data?.type){case te.RELOAD:sessionStorage.setItem("shouldNotifyReload","1"),sessionStorage.setItem("replyOrigin",a.origin),window.location.reload();break;case te.ENABLE_EDITION_MODE:{const o=a.data?.primaryColor??"blue";sessionStorage.setItem("replyOrigin",a.origin),sessionStorage.setItem("primaryColor",o),t.sections?.forEach((c,m)=>{if(c.slug&&c.pivot?.linkId){const f=`${c.slug}__${c.pivot?.linkId}-container`,D=document.getElementById(f);D&&(r.value[f]={element:D,clickCount:0,isActive:!1},D.addEventListener("click",function(T){n(),r.value[this.id].clickCount++,r.value[this.id].isActive=!0,this.style.border=`5px solid ${o}`,this.style.boxShadow=`0 0 10px ${o}`,window.parent.postMessage({type:te.SELECT_PREVIEW_SECTION,slug:c.slug,linkId:c.pivot?.linkId},a.origin)}),D.style.cursor="pointer",D.style.transition="all 0.3s ease")}});break}case te.DESELECT_ALL_SECTIONS:n();break;case te.SELECT_SIDEBAR_SECTION:{setTimeout(()=>{t.sections.find(m=>m.slug==a.data?.slug&&m.pivot?.linkId==a.data?.linkId)&&an(`${a.data?.slug}__${a.data?.linkId}-container`)},1e3);const o=`${a.data?.slug}__${a.data?.linkId}-container`,c=document.getElementById(o);c&&(n(),r.value[o].clickCount++,r.value[o].isActive=!0,c.style.border=`5px solid ${sessionStorage.getItem("primaryColor")}`,c.style.boxShadow=`0 0 10px ${sessionStorage.getItem("primaryColor")}`);break}case te.SEND_BASE_SECTION_SETTINGS:break;case te.SEND_BASE_SECTION_DATA:break;case te.SEND_SECTION_SETTINGS:break;case te.SEND_SECTION_DATA:break;case te.SEND_PAGE_SECTIONS:break}};if(window.addEventListener("message",s),sessionStorage.getItem("shouldNotifyReload")==="1"){const a=sessionStorage.getItem("replyOrigin")||"*";window.parent.postMessage({type:te.RELOAD_COMPLETE},a),sessionStorage.removeItem("shouldNotifyReload"),sessionStorage.removeItem("replyOrigin")}}),(n,s)=>(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.sections,(a,o)=>(l.openBlock(),l.createElementBlock("section",{key:"section-"+o,id:`${a.slug}__${a.pivot?.linkId}-container`,class:"reset-styles"},[(l.openBlock(),l.createBlock(l.resolveDynamicComponent(e.components[a.name]),{data:a.pivot?.data,setings:a.pivot?.settings,"section-key":`${a.slug}__${a.pivot?.linkId}`,metadata:{slug:a.slug,name:a.name,title:a.title,linkId:a.pivot?.linkId,createdAt:a.createdAt,updatedAt:a.updatedAt}},null,8,["data","setings","section-key","metadata"]))],8,fu))),128))}}),Ss=(e,t)=>{const r=e.__vccOpts||e;for(const[n,s]of t)r[n]=s;return r},ws=Ss(hu,[["__scopeId","data-v-9e4f90fa"]]),mu=["src","alt","title","width","height","loading"],Pr=l.defineComponent({__name:"AsyncImg",props:{load:{type:Function},alt:{},width:{},height:{},title:{},loading:{},style:{}},setup(e){const t=e,r=l.ref("");return(async()=>{r.value=await t.load()})(),(s,a)=>(l.openBlock(),l.createElementBlock("img",{src:l.unref(r),alt:t.alt,title:t.title,style:l.normalizeStyle(t.style),width:t.width,height:t.height,loading:t.loading},null,12,mu))}}),ks=Ss(l.defineComponent({__name:"CustomTransition",props:{name:{default:"fade"},mode:{default:"out-in"},appear:{type:Boolean,default:!1}},setup(e){const t=e;return(r,n)=>(l.openBlock(),l.createBlock(l.Transition,{name:t.name,mode:t.mode,appear:t.appear},{default:l.withCtx(()=>[l.renderSlot(r.$slots,"default",{},void 0,!0)]),_:3},8,["name","mode","appear"]))}}),[["__scopeId","data-v-30b5e62e"]]),vs=Symbol("Props"),Ds=Symbol("Config"),Ms=Symbol("Router"),Os=Symbol("ResolveSections"),Wr=new WeakMap,_u=(...e)=>{var t;const r=e[0],n=(t=l.getCurrentInstance())===null||t===void 0?void 0:t.proxy,s=n??l.getCurrentScope();if(s==null&&!l.hasInjectionContext())throw new Error("injectLocal must be called in setup");return s&&Wr.has(s)&&r in Wr.get(s)?Wr.get(s)[r]:l.inject(...e)},pu=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const gu=Object.prototype.toString,yu=e=>gu.call(e)==="[object Object]";function bs(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function Ur(e){return Array.isArray(e)?e:[e]}function Su(e,t,r){return l.watch(e,t,{...r,immediate:!0})}const Ts=pu?window:void 0;function wu(e){var t;const r=l.toValue(e);return(t=r?.$el)!==null&&t!==void 0?t:r}function ku(...e){const t=(n,s,a,o)=>(n.addEventListener(s,a,o),()=>n.removeEventListener(s,a,o)),r=l.computed(()=>{const n=Ur(l.toValue(e[0])).filter(s=>s!=null);return n.every(s=>typeof s!="string")?n:void 0});return Su(()=>{var n,s;return[(n=(s=r.value)===null||s===void 0?void 0:s.map(a=>wu(a)))!==null&&n!==void 0?n:[Ts].filter(a=>a!=null),Ur(l.toValue(r.value?e[1]:e[0])),Ur(l.unref(r.value?e[2]:e[1])),l.toValue(r.value?e[3]:e[2])]},([n,s,a,o],c,m)=>{if(!n?.length||!s?.length||!a?.length)return;const f=yu(o)?{...o}:o,D=n.flatMap(T=>s.flatMap(E=>a.map(C=>t(T,E,C,f))));m(()=>{D.forEach(T=>T())})},{flush:"post"})}function vu(){const e=l.shallowRef(!1),t=l.getCurrentInstance();return t&&l.onMounted(()=>{e.value=!0},t),e}function Du(e){const t=vu();return l.computed(()=>(t.value,!!e()))}const Mu=Symbol("vueuse-ssr-width");function Ou(){const e=l.hasInjectionContext()?_u(Mu,null):null;return typeof e=="number"?e:void 0}function wt(e,t={}){const{window:r=Ts,ssrWidth:n=Ou()}=t,s=Du(()=>r&&"matchMedia"in r&&typeof r.matchMedia=="function"),a=l.shallowRef(typeof n=="number"),o=l.shallowRef(),c=l.shallowRef(!1),m=f=>{c.value=f.matches};return l.watchEffect(()=>{if(a.value){a.value=!s.value,c.value=l.toValue(e).split(",").some(f=>{const D=f.includes("not all"),T=f.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),E=f.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let C=!!(T||E);return T&&C&&(C=n>=bs(T[1])),E&&C&&(C=n<=bs(E[1])),D?!C:C});return}s.value&&(o.value=r.matchMedia(l.toValue(e)),c.value=o.value.matches)}),ku(o,"change",m,{passive:!0}),l.computed(()=>c.value)}const Fr=()=>{const e=l.inject(Ds);if(!e)throw new Error("[@creopse/vue] Plugin not installed");const t=ia(e.appUrl||la());return{...e,apiBaseUrl:t,apiUrl:`${t}/api`,apiRequestHeaders:{"X-API-Key":e.xApiKey}}},qt=()=>{const{apiUrl:e,apiRequestHeaders:t}=Fr(),r=f=>{},n=async(f,D,T)=>{let E=!1,C=null,G=null;try{const K=t;K.Authorization=`Bearer ${D}`,C=await axios.request({method:f.method||"get",params:f.params||{},data:f.data||{},url:f.url||"/",baseURL:e,headers:K}),E=!0}catch(K){G=K,E=!1,K.response&&K.response.status==401&&T?.()}return{success:E,failure:!E,result:C?C.data:null,error:G}};return{request:n,getItem:async f=>await n({url:`/${f.routeBase}/${f.id}`}),addItem:async f=>await n({url:`/${f.routeBase}`,method:"post",data:f.data}),updateItem:async f=>await n({url:`/${f.routeBase}/${f.id}`,method:"put",data:f.data}),deleteItem:async f=>await n({url:`/${f.routeBase}/${f.id}`,method:"delete"}),getAllItems:async f=>await n({url:`/${f.routeBase}`}),handleError:r}},Es=()=>{const e=getActiveLanguage();return{defaultPrefs:l.ref({inAppNotifEnabled:zt.TRUE,emailNotifEnabled:zt.TRUE,locale:e})}},Hr=()=>{const e=en.usePage(),t=l.inject(Ms),{request:r}=qt(),{apiBaseUrl:n,langKey:s}=Fr(),{defaultPrefs:a}=Es(),o=l.computed(()=>e.url),c=M=>on(M)?M:`${n}/${oa(M)}`,m=M=>M?on(M)?M:`${n}/storage/${M}`:"",f=async(M,F="original")=>{const L=["small","medium","large"],V=M.split("/").pop();let me=!1;for(let J=0;J<L.length;J++)if(L[J]===F&&(me=!0),me)try{const ue=m(`thumbnails/${L[J]}/${V}`);if((await axios.head(ue)).status===200)return ue}catch{}return m(M)},D=(M,F)=>{let L;try{L=JSON.parse(M)}catch{L={}}return L&&(L[F.toUpperCase()]||L[F]||L.en)||""},T=(M,F)=>D(M,F),E=(M,F)=>{if(!M)return"";let L=D(M,F).replace(new RegExp("{{BASE_URL}}article","g"),`${n}/article`).replace(new RegExp("{{BASE_URL}}","g"),`${n}/storage`);const V=L.match(/\[audio\](.*?)\[\/?audio\]/g),me=L.match(/\[video\](.*?)\[\/?video\]/g);return V?.forEach(J=>{const ue=J.replace(/\[\/?audio\]/g,"");L=L.replace(J,`<br><p><audio preload="all" controls style="width: 100%"><source src="${m(ue)}"></audio></p><br>`)}),me?.forEach(J=>{const ue=J.replace(/\[\/?video\]/g,"");L=L.replace(J,`<br><p><video controls style="width: 100%"><source src="${m(ue)}"></video></p><br>`)}),L},C=(M,F)=>E(M,F),G=wt("(min-width: 1536px)"),K=wt("(min-width: 1280px) and (max-width: 1535px)"),Xe=wt("(min-width: 1024px) and (max-width: 1279px)"),Ie=wt("(min-width: 768px) and (max-width: 1023px)"),et=wt("(max-width: 767px)"),Ye=[{label:"French",value:"fr",flag:"flag:fr-1x1"},{label:"English",value:"en",flag:"flag:gb-1x1"}];return{is2XlScreen:G,isXlScreen:K,isLgScreen:Xe,isMdScreen:Ie,isSmScreen:et,getTranslation:D,getLangageLabel:M=>Ye.find(F=>F.value==M)?.label,getLanguageValue:M=>Ye.find(F=>F.label==M)?.value,getLinkCursorClass:M=>!M||M==="#"?"tw:cursor-default":"tw:cursor-pointer",ckEditorToolbarItems:["fullScreen","|","heading","|","uploadImage","|","bold","italic","underline","strikethrough","code","subscript","superscript","selectAll","|","fontSize","fontFamily","fontColor","fontBackgroundColor","|","horizontalLine","blockQuote","bulletedList","numberedList","alignment","|","outdent","indent","|","link","insertTable","mediaEmbed","|","undo","redo"],displayFormErrors:(M,F)=>{if(M)for(const[L,V]of Object.entries(M))for(const me of V)F(me)},resolveHtmlLinks:E,resolveUrl:c,updateLang:async(M,F=!0,L=!0)=>{if(localStorage.setItem(s,M),e.props.isUserLoggedIn&&L){const V=e.props.userData?.preferences||a.value;V.locale=M,await r({url:`/users/self/${e.props.userData?.id}`,method:"put",data:{preferences:V}})}F&&location.reload()},languages:Ye,getImage:f,fileUrl:m,currentRoutePath:o,openLink:M=>{_v.isURL(M)?window.open(M,"_blank"):t?.get(M)},openMenu:M=>{switch(M?.targetType){case Zt.EXTERNAL_LINK:window.open(M?.url??"#");break;case Zt.PAGE_LINK:t?.get(M?.path??"/");break}},getMenuHref:M=>M?.targetType==="external-link"?M?.url||"":M?.path||"",rHtml:C,tr:T}},bu=["src"],Is=l.defineComponent({__name:"Image",props:{src:{},alt:{default:""},width:{default:void 0},height:{default:void 0},title:{default:void 0},loading:{default:void 0},style:{default:void 0},size:{default:"original"},sync:{type:Boolean,default:!1}},setup(e){const t=e,{getImage:r}=Hr(),{src:n,size:s,sync:a}=l.toRefs(t),o=l.computed(()=>{const{src:c,size:m,sync:f,...D}=t;return D});return(c,m)=>{const f=Pr;return l.unref(a)?(l.openBlock(),l.createElementBlock("img",l.mergeProps({key:0,src:l.unref(n)},l.unref(o)),null,16,bu)):(l.openBlock(),l.createBlock(f,l.mergeProps({key:1,load:()=>l.unref(r)(l.unref(n),l.unref(s))},l.unref(o)),null,16,["load"]))}}}),Ys=l.defineComponent({__name:"MountedTeleport",props:{to:{}},setup(e){const t=e,r=l.ref(!1);return l.onMounted(()=>{r.value=!0}),l.onUnmounted(()=>{r.value=!1}),(n,s)=>l.unref(r)?(l.openBlock(),l.createBlock(l.Teleport,{key:0,to:t.to},[l.renderSlot(n.$slots,"default")],8,["to"])):l.createCommentVNode("",!0)}}),Tu=["innerHTML"],Eu=["href"],Iu=["href"],Ns=l.defineComponent({__name:"ReadMore",props:{moreStr:{default:"Read more"},lessStr:{default:""},text:{},link:{default:"#"},maxChars:{default:100}},setup(e){const t=e,r=l.ref(!1),n=l.computed(()=>!r.value&&t.text.length>t.maxChars?t.text.substring(0,t.maxChars)+"...":t.text),s=(a,o)=>{t.link=="#"&&a.preventDefault(),t.lessStr&&(r.value=o)};return(a,o)=>(l.openBlock(),l.createElementBlock("div",null,[l.createElementVNode("span",{innerHTML:l.unref(n)},null,8,Tu),l.withDirectives(l.createElementVNode("span",null,[l.withDirectives(l.createElementVNode("a",{id:"readmore",href:t.link,onClick:o[0]||(o[0]=c=>s(c,!0))},l.toDisplayString(t.moreStr),9,Eu),[[l.vShow,!l.unref(r)]]),l.withDirectives(l.createElementVNode("a",{id:"readmore",href:t.link,onClick:o[1]||(o[1]=c=>s(c,!1))},l.toDisplayString(t.lessStr),9,Iu),[[l.vShow,l.unref(r)]])],512),[[l.vShow,t.text.length>t.maxChars]])]))}}),xs=l.defineComponent({__name:"StickyBottom",props:{bottom:{default:0},zIndex:{default:1},className:{default:""}},setup(e){const t=e,r=l.ref(null),n=l.ref(!1),s=l.ref(""),a=l.ref(void 0),o=l.ref(void 0),c=l.ref(!1);l.onMounted(()=>{o.value=r.value?.getBoundingClientRect().height,window.addEventListener("scroll",T),window.addEventListener("resize",E),T()}),l.onActivated(()=>{T()}),l.onUnmounted(()=>{window.removeEventListener("scroll",T),window.removeEventListener("resize",E)});const m=()=>{n.value||(s.value="fixed",n.value=!0,a.value=a.value+"px",c.value=!0)},f=()=>{n.value&&D()},D=()=>{s.value="",a.value="auto",n.value=!1,c.value=!1},T=()=>{const C=r.value?.getBoundingClientRect().width;if(a.value=C||"auto",(r.value?.getBoundingClientRect().bottom||0)>t.bottom){m();return}f()},E=()=>{c.value&&(a.value=r.value?.getBoundingClientRect().width+"px")};return(C,G)=>(l.openBlock(),l.createElementBlock("div",{ref_key:"el",ref:r,style:l.normalizeStyle({height:l.unref(o)+"px",zIndex:t.zIndex})},[l.createElementVNode("div",{class:l.normalizeClass(t.className),style:l.normalizeStyle({bottom:l.unref(c)?t.bottom+"px":"",zIndex:t.zIndex,position:l.unref(s),width:l.unref(a),height:l.unref(o)+"px"})},[l.renderSlot(C.$slots,"default",{},()=>[G[0]||(G[0]=l.createElementVNode("div",null,"Sticky Bottom",-1))])],6)],4))}}),As=l.defineComponent({__name:"StickyTop",props:{top:{default:0},zIndex:{default:1},className:{default:""}},setup(e){const t=e,r=l.ref(null),n=l.ref(!1),s=l.ref(""),a=l.ref(void 0),o=l.ref(void 0),c=l.ref(!1);l.onMounted(()=>{o.value=r.value?.getBoundingClientRect().height,window.addEventListener("scroll",T),window.addEventListener("resize",E)}),l.onActivated(()=>{T()}),l.onUnmounted(()=>{window.removeEventListener("scroll",T),window.removeEventListener("resize",E)});const m=()=>{n.value||(s.value="fixed",n.value=!0,a.value=a.value+"px",c.value=!0)},f=()=>{n.value&&D()},D=()=>{s.value="",a.value="auto",n.value=!1,c.value=!1},T=()=>{const C=r.value?.getBoundingClientRect().width;if(a.value=C||"auto",(r.value?.getBoundingClientRect().top||0)<t.top){m();return}f()},E=()=>{c.value&&(a.value=r.value?.getBoundingClientRect().width+"px")};return(C,G)=>(l.openBlock(),l.createElementBlock("div",{ref_key:"el",ref:r,style:l.normalizeStyle({height:l.unref(o)+"px",zIndex:t.zIndex})},[l.createElementVNode("div",{class:l.normalizeClass(t.className),style:l.normalizeStyle({top:l.unref(c)?t.top+"px":"",zIndex:t.zIndex,position:l.unref(s),width:l.unref(a),height:l.unref(o)+"px"})},[l.renderSlot(C.$slots,"default",{},()=>[G[0]||(G[0]=l.createElementVNode("div",null,"Sticky Top",-1))])],6)],4))}});class Yu{state;constructor(t){this.state=l.reactive({props:t})}update(t){this.state.props=this.deepMerge(this.state.props,t)}getState(){return l.readonly(this.state)}sync(t){this.state.props=t}deepMerge(t,r){const n={...t};return this.isObject(t)&&this.isObject(r)&&Object.keys(r).forEach(s=>{this.isObject(r[s])&&s in t?n[s]=this.deepMerge(t[s],r[s]):n[s]=r[s]}),n}isObject(t){return t&&typeof t=="object"&&!Array.isArray(t)}}const Nu=()=>{const e=l.inject(vs);if(!e)throw new Error("[@creopse/vue] Plugin not installed");return e.getState().props};var Kt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var kt={exports:{}};kt.exports;var Rs;function Au(){return Rs||(Rs=1,function(e,t){var r=200,n="__lodash_hash_undefined__",s=9007199254740991,a="[object Arguments]",o="[object Array]",c="[object Boolean]",m="[object Date]",f="[object Error]",D="[object Function]",T="[object GeneratorFunction]",E="[object Map]",C="[object Number]",G="[object Object]",K="[object Promise]",Xe="[object RegExp]",Ie="[object Set]",et="[object String]",Ye="[object Symbol]",Ue="[object WeakMap]",vt="[object ArrayBuffer]",Fe="[object DataView]",tt="[object Float32Array]",rt="[object Float64Array]",Ne="[object Int8Array]",Dt="[object Int16Array]",xe="[object Int32Array]",nt="[object Uint8Array]",M="[object Uint8ClampedArray]",F="[object Uint16Array]",L="[object Uint32Array]",V=/[\\^$.*+?()[\]{}|]/g,me=/\w*$/,J=/^\[object .+?Constructor\]$/,ue=/^(?:0|[1-9]\d*)$/,A={};A[a]=A[o]=A[vt]=A[Fe]=A[c]=A[m]=A[tt]=A[rt]=A[Ne]=A[Dt]=A[xe]=A[E]=A[C]=A[G]=A[Xe]=A[Ie]=A[et]=A[Ye]=A[nt]=A[M]=A[F]=A[L]=!0,A[f]=A[D]=A[Ue]=!1;var Ls=typeof Kt=="object"&&Kt&&Kt.Object===Object&&Kt,y=typeof self=="object"&&self&&self.Object===Object&&self,S=Ls||y||Function("return this")(),w=t&&!t.nodeType&&t,p=w&&!0&&e&&!e.nodeType&&e,Y=p&&p.exports===w;function Z(i,u){return i.set(u[0],u[1]),i}function st(i,u){return i.add(u),i}function Ae(i,u){for(var d=-1,k=i?i.length:0;++d<k&&u(i[d],d,i)!==!1;);return i}function jr(i,u){for(var d=-1,k=u.length,B=i.length;++d<k;)i[B+d]=u[d];return i}function Ps(i,u,d,k){for(var B=-1,Q=i?i.length:0;++B<Q;)d=u(d,i[B],B,i);return d}function Wu(i,u){for(var d=-1,k=Array(i);++d<i;)k[d]=u(d);return k}function Uu(i,u){return i?.[u]}function Ws(i){var u=!1;if(i!=null&&typeof i.toString!="function")try{u=!!(i+"")}catch{}return u}function Us(i){var u=-1,d=Array(i.size);return i.forEach(function(k,B){d[++u]=[B,k]}),d}function $r(i,u){return function(d){return i(u(d))}}function Fs(i){var u=-1,d=Array(i.size);return i.forEach(function(k){d[++u]=k}),d}var Fu=Array.prototype,Hu=Function.prototype,Jt=Object.prototype,Gr=S["__core-js_shared__"],Hs=function(){var i=/[^.]+$/.exec(Gr&&Gr.keys&&Gr.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}(),js=Hu.toString,Re=Jt.hasOwnProperty,Qt=Jt.toString,ju=RegExp("^"+js.call(Re).replace(V,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),$s=Y?S.Buffer:void 0,Gs=S.Symbol,Vs=S.Uint8Array,$u=$r(Object.getPrototypeOf,Object),Gu=Object.create,Vu=Jt.propertyIsEnumerable,Bu=Fu.splice,Bs=Object.getOwnPropertySymbols,zu=$s?$s.isBuffer:void 0,Zu=$r(Object.keys,Object),Vr=ot(S,"DataView"),Mt=ot(S,"Map"),Br=ot(S,"Promise"),zr=ot(S,"Set"),Zr=ot(S,"WeakMap"),Ot=ot(Object,"create"),qu=$e(Vr),Ku=$e(Mt),Ju=$e(Br),Qu=$e(zr),Xu=$e(Zr),zs=Gs?Gs.prototype:void 0,Zs=zs?zs.valueOf:void 0;function He(i){var u=-1,d=i?i.length:0;for(this.clear();++u<d;){var k=i[u];this.set(k[0],k[1])}}function ec(){this.__data__=Ot?Ot(null):{}}function tc(i){return this.has(i)&&delete this.__data__[i]}function rc(i){var u=this.__data__;if(Ot){var d=u[i];return d===n?void 0:d}return Re.call(u,i)?u[i]:void 0}function nc(i){var u=this.__data__;return Ot?u[i]!==void 0:Re.call(u,i)}function sc(i,u){var d=this.__data__;return d[i]=Ot&&u===void 0?n:u,this}He.prototype.clear=ec,He.prototype.delete=tc,He.prototype.get=rc,He.prototype.has=nc,He.prototype.set=sc;function Me(i){var u=-1,d=i?i.length:0;for(this.clear();++u<d;){var k=i[u];this.set(k[0],k[1])}}function ac(){this.__data__=[]}function ic(i){var u=this.__data__,d=Xt(u,i);if(d<0)return!1;var k=u.length-1;return d==k?u.pop():Bu.call(u,d,1),!0}function oc(i){var u=this.__data__,d=Xt(u,i);return d<0?void 0:u[d][1]}function lc(i){return Xt(this.__data__,i)>-1}function uc(i,u){var d=this.__data__,k=Xt(d,i);return k<0?d.push([i,u]):d[k][1]=u,this}Me.prototype.clear=ac,Me.prototype.delete=ic,Me.prototype.get=oc,Me.prototype.has=lc,Me.prototype.set=uc;function at(i){var u=-1,d=i?i.length:0;for(this.clear();++u<d;){var k=i[u];this.set(k[0],k[1])}}function cc(){this.__data__={hash:new He,map:new(Mt||Me),string:new He}}function dc(i){return er(this,i).delete(i)}function fc(i){return er(this,i).get(i)}function hc(i){return er(this,i).has(i)}function mc(i,u){return er(this,i).set(i,u),this}at.prototype.clear=cc,at.prototype.delete=dc,at.prototype.get=fc,at.prototype.has=hc,at.prototype.set=mc;function it(i){this.__data__=new Me(i)}function _c(){this.__data__=new Me}function pc(i){return this.__data__.delete(i)}function gc(i){return this.__data__.get(i)}function yc(i){return this.__data__.has(i)}function Sc(i,u){var d=this.__data__;if(d instanceof Me){var k=d.__data__;if(!Mt||k.length<r-1)return k.push([i,u]),this;d=this.__data__=new at(k)}return d.set(i,u),this}it.prototype.clear=_c,it.prototype.delete=pc,it.prototype.get=gc,it.prototype.has=yc,it.prototype.set=Sc;function wc(i,u){var d=Jr(i)||Gc(i)?Wu(i.length,String):[],k=d.length,B=!!k;for(var Q in i)Re.call(i,Q)&&!(B&&(Q=="length"||Fc(Q,k)))&&d.push(Q);return d}function qs(i,u,d){var k=i[u];(!(Re.call(i,u)&&Xs(k,d))||d===void 0&&!(u in i))&&(i[u]=d)}function Xt(i,u){for(var d=i.length;d--;)if(Xs(i[d][0],u))return d;return-1}function kc(i,u){return i&&Ks(u,Qr(u),i)}function qr(i,u,d,k,B,Q,Oe){var X;if(k&&(X=Q?k(i,B,Q,Oe):k(i)),X!==void 0)return X;if(!tr(i))return i;var ra=Jr(i);if(ra){if(X=Pc(i),!u)return Rc(i,X)}else{var lt=je(i),na=lt==D||lt==T;if(Bc(i))return Tc(i,u);if(lt==G||lt==a||na&&!Q){if(Ws(i))return Q?i:{};if(X=Wc(na?{}:i),!u)return Cc(i,kc(X,i))}else{if(!A[lt])return Q?i:{};X=Uc(i,lt,qr,u)}}Oe||(Oe=new it);var sa=Oe.get(i);if(sa)return sa;if(Oe.set(i,X),!ra)var aa=d?Lc(i):Qr(i);return Ae(aa||i,function(Xr,rr){aa&&(rr=Xr,Xr=i[rr]),qs(X,rr,qr(Xr,u,d,k,rr,i,Oe))}),X}function vc(i){return tr(i)?Gu(i):{}}function Dc(i,u,d){var k=u(i);return Jr(i)?k:jr(k,d(i))}function Mc(i){return Qt.call(i)}function Oc(i){if(!tr(i)||jc(i))return!1;var u=ta(i)||Ws(i)?ju:J;return u.test($e(i))}function bc(i){if(!Qs(i))return Zu(i);var u=[];for(var d in Object(i))Re.call(i,d)&&d!="constructor"&&u.push(d);return u}function Tc(i,u){if(u)return i.slice();var d=new i.constructor(i.length);return i.copy(d),d}function Kr(i){var u=new i.constructor(i.byteLength);return new Vs(u).set(new Vs(i)),u}function Ec(i,u){var d=u?Kr(i.buffer):i.buffer;return new i.constructor(d,i.byteOffset,i.byteLength)}function Ic(i,u,d){var k=u?d(Us(i),!0):Us(i);return Ps(k,Z,new i.constructor)}function Yc(i){var u=new i.constructor(i.source,me.exec(i));return u.lastIndex=i.lastIndex,u}function Nc(i,u,d){var k=u?d(Fs(i),!0):Fs(i);return Ps(k,st,new i.constructor)}function xc(i){return Zs?Object(Zs.call(i)):{}}function Ac(i,u){var d=u?Kr(i.buffer):i.buffer;return new i.constructor(d,i.byteOffset,i.length)}function Rc(i,u){var d=-1,k=i.length;for(u||(u=Array(k));++d<k;)u[d]=i[d];return u}function Ks(i,u,d,k){d||(d={});for(var B=-1,Q=u.length;++B<Q;){var Oe=u[B],X=void 0;qs(d,Oe,X===void 0?i[Oe]:X)}return d}function Cc(i,u){return Ks(i,Js(i),u)}function Lc(i){return Dc(i,Qr,Js)}function er(i,u){var d=i.__data__;return Hc(u)?d[typeof u=="string"?"string":"hash"]:d.map}function ot(i,u){var d=Uu(i,u);return Oc(d)?d:void 0}var Js=Bs?$r(Bs,Object):qc,je=Mc;(Vr&&je(new Vr(new ArrayBuffer(1)))!=Fe||Mt&&je(new Mt)!=E||Br&&je(Br.resolve())!=K||zr&&je(new zr)!=Ie||Zr&&je(new Zr)!=Ue)&&(je=function(i){var u=Qt.call(i),d=u==G?i.constructor:void 0,k=d?$e(d):void 0;if(k)switch(k){case qu:return Fe;case Ku:return E;case Ju:return K;case Qu:return Ie;case Xu:return Ue}return u});function Pc(i){var u=i.length,d=i.constructor(u);return u&&typeof i[0]=="string"&&Re.call(i,"index")&&(d.index=i.index,d.input=i.input),d}function Wc(i){return typeof i.constructor=="function"&&!Qs(i)?vc($u(i)):{}}function Uc(i,u,d,k){var B=i.constructor;switch(u){case vt:return Kr(i);case c:case m:return new B(+i);case Fe:return Ec(i,k);case tt:case rt:case Ne:case Dt:case xe:case nt:case M:case F:case L:return Ac(i,k);case E:return Ic(i,k,d);case C:case et:return new B(i);case Xe:return Yc(i);case Ie:return Nc(i,k,d);case Ye:return xc(i)}}function Fc(i,u){return u=u??s,!!u&&(typeof i=="number"||ue.test(i))&&i>-1&&i%1==0&&i<u}function Hc(i){var u=typeof i;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?i!=="__proto__":i===null}function jc(i){return!!Hs&&Hs in i}function Qs(i){var u=i&&i.constructor,d=typeof u=="function"&&u.prototype||Jt;return i===d}function $e(i){if(i!=null){try{return js.call(i)}catch{}try{return i+""}catch{}}return""}function $c(i){return qr(i,!0,!0)}function Xs(i,u){return i===u||i!==i&&u!==u}function Gc(i){return Vc(i)&&Re.call(i,"callee")&&(!Vu.call(i,"callee")||Qt.call(i)==a)}var Jr=Array.isArray;function ea(i){return i!=null&&zc(i.length)&&!ta(i)}function Vc(i){return Zc(i)&&ea(i)}var Bc=zu||Kc;function ta(i){var u=tr(i)?Qt.call(i):"";return u==D||u==T}function zc(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=s}function tr(i){var u=typeof i;return!!i&&(u=="object"||u=="function")}function Zc(i){return!!i&&typeof i=="object"}function Qr(i){return ea(i)?wc(i):bc(i)}function qc(){return[]}function Kc(){return!1}e.exports=$c}(kt,kt.exports)),kt.exports}var Ru=Au();const Cs=xu(Ru),Cu=()=>{const{request:e}=qt(),{fileUrl:t}=Hr(),r=en.usePage(),n=()=>r.props,s=r.props.pageData,a=r.props.article,o=r.props.category,c=r.props.tag,m=r.props.contentModelItem,f=l.inject(Os),D=y=>{if(!y)return null;const S=y.split("__"),w=S.length?S[0]:"",p=S.length>1?S[1]:"";return r.props.pageData?.sections?.find(Y=>Y.slug==w&&Y.pivot?.linkId==p)?.pivot?.data||null},T=y=>D(y)?.index,E=y=>{if(!y)return null;const S=y.split("__"),w=S.length?S[0]:"",p=S.length>1?S[1]:"";return r.props.pageData?.sections?.find(Y=>Y.slug==w&&Y.pivot?.linkId==p)?.pivot?.settings||null},C=(y,S)=>E(y)?.[S],G=(y,S,w)=>C(y,S)?.[w],K=()=>{const y=s?.sections,S=s?.sectionsOrder,w=[];if(Array.isArray(y)&&Array.isArray(S)){for(const p of S)if(p){const Y=y.find(Z=>`${Z.slug}__${Z.pivot?.linkId}`===p);Y&&w.push(Y)}}return w.length?w:y||[]},Xe=()=>{const y=K(),S=s?.sectionsDisabled;return y.filter(w=>!S?.includes(`${w.slug}__${w.pivot?.linkId}`))},Ie=async(y,S,w="default")=>{const p=await e({url:`section-data/${y}/source/${S}/link/${w}`});return p.success&&p.result?p.result.data:null},et=()=>{const y={};if(!f)throw new Error("[@creopse/vue] resolveSections is required");const S=f();for(const[p,Y]of Object.entries(S)){var w=p.replace(/^\.\/(.*)\.\w+$/,"$1");const Z=w.split("/"),st=Z[Z.length-1]?.split(".")[0];y[st]=Y.default}return y},Ye=y=>r.props?.contentModels?.find(S=>S.name===y),Ue=y=>{const{index:S,...w}=y.contentModelData;return{...y,data:{...y.contentModelData?.index,...w}}},vt=async(y,S=!0)=>{const w=await e({url:`content-model/items?contentModelName=${y}${S?"&isActive=true":""}`});return w.success&&w.result?(w.result.data||[]).map(p=>Ue(p)):[]},Fe=async(y,S,w=!0)=>{const p=await e({url:`content-model/items?pageSize=${S}&contentModelName=${y}${w?"&isActive=true":""}`});if(p.success&&p.result){const Y=(p.result.data?.items||[]).map(Ae=>Ue(Ae)),Z=p.result.data?.meta?.total||0,st=p.result.data?.meta?.currentPage||1;return{items:Y,total:Z,currentPage:st}}return{items:[],total:0,currentPage:1}},tt=(y,S=!0)=>{const w=r.props?.menus?.find(p=>p.name===y);return w&&(w.items=Cs(w.items?.filter(p=>!S||p.isActive)?.sort((p,Y)=>p.position-Y.position))),w},rt=(y,S=!0)=>{const w=r.props?.menus?.find(p=>p.location?.name===y);return w&&(w.items=Cs(w.items?.filter(p=>!S||p.isActive)?.sort((p,Y)=>p.position-Y.position))),w},Ne=(y,S=!0)=>tt(y)?.items?.filter(w=>!S||w.isVisible)?.sort((w,p)=>w.position-p.position),Dt=y=>{const S=[];return(r.props?.menus||[]).forEach(p=>{Array.isArray(p.items)&&S.push(...p.items)}),S.find(p=>p.id===y)},xe=(y,S=!0)=>rt(y)?.items?.filter(w=>!S||w.isVisible)?.sort((w,p)=>w.position-p.position),nt=(y,S=!1,w=!0)=>{const p=[],Y=S?xe(y,w):Ne(y,w);if(Y){for(const Z of Y)if(!p.find(Ae=>Ae.id===Z.menuItemGroupId)){const Ae=r.props?.menuItemGroups?.find(jr=>jr.id===Z.menuItemGroupId);Ae&&p.push(Ae)}}return p},M=(y,S,w=!1,p=!0)=>(w?xe(y,p):Ne(y,p))?.filter(Z=>Z.menuItemGroupId===S),F=(y,S=!1,w=!0)=>nt(y,S).map(Y=>({group:Y,items:M(y,Y.id||0,S,w)})),L=(y,S=!1,w=!0)=>(S?xe(y,w):Ne(y,w))?.filter(Y=>!Y.menuItemGroupId),V=(y,S="string")=>{const p=r.props.appInformation.find(Z=>Z.key===y);let Y="";switch(S){case"number":Y=p&&parseInt(p.value)&&!isNaN(parseInt(p.value))?parseInt(p.value):0;break;case"boolean":Y=p&&!isNaN(parseInt(p.value))&&parseInt(p.value)>0;break;case"object":Y=p&&p.value?JSON.parse(p.value):{};break;case"array":Y=p&&p.value?JSON.parse(p.value):[];break;default:Y=p&&p.value?p.value:"";break}return Y},me=l.computed(()=>V("primaryColor")||void 0),J=l.computed(()=>V("secondaryColor")||void 0),ue=l.computed(()=>V("accentColor")||void 0),A=l.computed(()=>{const y=V("icon");return t(y)||""});return{logo:l.computed(()=>{const y=V("logo");return t(y)||""}),icon:A,page:r,pageData:s,newsArticle:a,newsCategory:o,newsTag:c,contentModelItem:m,getProps:n,getMenu:tt,getMenuByLocation:rt,getMenuItems:Ne,getMenuItemById:Dt,getMenuItemsByLocation:xe,getMenuGroups:nt,getMenuItemsByGroup:M,getMenuGroupedItems:F,getMenuUngroupedItems:L,getSectionData:D,getSectionSettings:E,getSectionSettingsGroup:C,getSectionSetting:G,getAnySectionData:Ie,getSectionsInOrder:K,getFinalPageSections:Xe,getSectionRootData:T,getComponents:et,getContentModel:Ye,getContentModelItems:vt,getPaginatedContentModelItems:Fe,getAppInformationValue:V,appAccentColor:ue,appPrimaryColor:me,appSecondaryColor:J}},Lu=()=>{const{request:e}=qt(),t=l.ref(!1),r=async(a,o=void 0,c=void 0)=>{await s("email",a,o,c)},n=async(a,o=void 0,c=void 0)=>{await s("phone",a.replace(/\s+/g,""),o,c)},s=async(a,o,c=void 0,m=void 0)=>{t.value=!0;const f=await e({url:`newsletter/${a}s`,method:"post",data:a==="email"?{email:o}:{phone:o}});f.failure&&f.error?m&&m(f.error?.response?.data):c&&c(),t.value=!1};return{subscribePhone:n,subscribeEmail:r,isLoading:t}},Pu={install(e,t){if(!t?.initialProps)throw new Error("[@creopse/vue] initialProps is required");if(!t?.config)throw new Error("[@creopse/vue] config is required");if(!t?.resolveSections)throw new Error("[@creopse/vue] resolveSections is required");const r=new Yu(t.initialProps);t?.router?(t.router.on("navigate",n=>{r.update(n.detail.page.props)}),e.provide(Ms,t.router),e.config.globalProperties.$router=t.router):console.warn("[@creopse/vue] No router - props won't sync"),e.provide(vs,r),e.config.globalProperties.$props=r,e.provide(Ds,t.config),e.config.globalProperties.$config=t.config,e.provide(Os,t.resolveSections),e.config.globalProperties.$resolveSections=t.resolveSections,e.component("RootContainer",ws),e.component("CustomTransition",ks),e.component("MountedTeleport",Ys),e.component("StickyBottom",xs),e.component("StickyTop",As),e.component("ReadMore",Ns),e.component("AsyncImg",Pr),e.component("Image",Is)}};return $.AsyncImg=Pr,$.CustomTransition=ks,$.Image=Is,$.MountedTeleport=Ys,$.ReadMore=Ns,$.RootContainer=ws,$.StickyBottom=xs,$.StickyTop=As,$.default=Pu,$.useApi=qt,$.useConfig=Fr,$.useContent=Cu,$.useHelper=Hr,$.useNewsletter=Lu,$.useProps=Nu,$.useUserPreference=Es,Object.defineProperties($,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),$}({},Vue,InertiaVue3);
|