@creopse/vue 0.0.10 → 0.0.12

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 CHANGED
@@ -1 +1,13 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),k=["src","alt","title","width","height","loading"],h=e.defineComponent({__name:"AsyncImg",props:{load:{type:Function},alt:{},width:{},height:{},title:{},loading:{},style:{}},setup(o){const t=o,n=e.ref("");return(async()=>{n.value=await t.load()})(),(s,r)=>(e.openBlock(),e.createElementBlock("img",{src:e.unref(n),alt:t.alt,title:t.title,style:e.normalizeStyle(t.style),width:t.width,height:t.height,loading:t.loading},null,12,k))}}),S=e.defineComponent({__name:"CustomTransition",props:{name:{default:"fade"},mode:{default:"out-in"},appear:{type:Boolean,default:!1}},setup(o){const t=o;return(n,l)=>(e.openBlock(),e.createBlock(e.Transition,{name:t.name,mode:t.mode,appear:t.appear},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default",{},void 0,!0)]),_:3},8,["name","mode","appear"]))}}),C=(o,t)=>{const n=o.__vccOpts||o;for(const[l,s]of t)n[l]=s;return n},g=C(S,[["__scopeId","data-v-30b5e62e"]]),_=e.defineComponent({__name:"MountedTeleport",props:{to:{}},setup(o){const t=o,n=e.ref(!1);return e.onMounted(()=>{n.value=!0}),e.onUnmounted(()=>{n.value=!1}),(l,s)=>e.unref(n)?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:t.to},[e.renderSlot(l.$slots,"default")],8,["to"])):e.createCommentVNode("",!0)}}),B=["innerHTML"],z=["href"],E=["href"],w=e.defineComponent({__name:"ReadMore",props:{moreStr:{default:"Read more"},lessStr:{default:""},text:{},link:{default:"#"},maxChars:{default:100}},setup(o){const t=o,n=e.ref(!1),l=e.computed(()=>!n.value&&t.text.length>t.maxChars?t.text.substring(0,t.maxChars)+"...":t.text),s=(r,i)=>{t.link=="#"&&r.preventDefault(),t.lessStr&&(n.value=i)};return(r,i)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("span",{innerHTML:e.unref(l)},null,8,B),e.withDirectives(e.createElementVNode("span",null,[e.withDirectives(e.createElementVNode("a",{id:"readmore",href:t.link,onClick:i[0]||(i[0]=a=>s(a,!0))},e.toDisplayString(t.moreStr),9,z),[[e.vShow,!e.unref(n)]]),e.withDirectives(e.createElementVNode("a",{id:"readmore",href:t.link,onClick:i[1]||(i[1]=a=>s(a,!1))},e.toDisplayString(t.lessStr),9,E),[[e.vShow,e.unref(n)]])],512),[[e.vShow,t.text.length>t.maxChars]])]))}}),y=e.defineComponent({__name:"StickyBottom",props:{bottom:{default:0},zIndex:{default:1},className:{default:""}},setup(o){const t=o,n=e.ref(null),l=e.ref(!1),s=e.ref(""),r=e.ref(void 0),i=e.ref(void 0),a=e.ref(!1);e.onMounted(()=>{i.value=n.value?.getBoundingClientRect().height,window.addEventListener("scroll",u),window.addEventListener("resize",f),u()}),e.onActivated(()=>{u()}),e.onUnmounted(()=>{window.removeEventListener("scroll",u),window.removeEventListener("resize",f)});const m=()=>{l.value||(s.value="fixed",l.value=!0,r.value=r.value+"px",a.value=!0)},p=()=>{l.value&&v()},v=()=>{s.value="",r.value="auto",l.value=!1,a.value=!1},u=()=>{const d=n.value?.getBoundingClientRect().width;if(r.value=d||"auto",(n.value?.getBoundingClientRect().bottom||0)>t.bottom){m();return}p()},f=()=>{a.value&&(r.value=n.value?.getBoundingClientRect().width+"px")};return(d,c)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"el",ref:n,style:e.normalizeStyle({height:e.unref(i)+"px",zIndex:t.zIndex})},[e.createElementVNode("div",{class:e.normalizeClass(t.className),style:e.normalizeStyle({bottom:e.unref(a)?t.bottom+"px":"",zIndex:t.zIndex,position:e.unref(s),width:e.unref(r),height:e.unref(i)+"px"})},[e.renderSlot(d.$slots,"default",{},()=>[c[0]||(c[0]=e.createElementVNode("div",null,"Sticky Bottom",-1))])],6)],4))}}),x=e.defineComponent({__name:"StickyTop",props:{top:{default:0},zIndex:{default:1},className:{default:""}},setup(o){const t=o,n=e.ref(null),l=e.ref(!1),s=e.ref(""),r=e.ref(void 0),i=e.ref(void 0),a=e.ref(!1);e.onMounted(()=>{i.value=n.value?.getBoundingClientRect().height,window.addEventListener("scroll",u),window.addEventListener("resize",f)}),e.onActivated(()=>{u()}),e.onUnmounted(()=>{window.removeEventListener("scroll",u),window.removeEventListener("resize",f)});const m=()=>{l.value||(s.value="fixed",l.value=!0,r.value=r.value+"px",a.value=!0)},p=()=>{l.value&&v()},v=()=>{s.value="",r.value="auto",l.value=!1,a.value=!1},u=()=>{const d=n.value?.getBoundingClientRect().width;if(r.value=d||"auto",(n.value?.getBoundingClientRect().top||0)<t.top){m();return}p()},f=()=>{a.value&&(r.value=n.value?.getBoundingClientRect().width+"px")};return(d,c)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"el",ref:n,style:e.normalizeStyle({height:e.unref(i)+"px",zIndex:t.zIndex})},[e.createElementVNode("div",{class:e.normalizeClass(t.className),style:e.normalizeStyle({top:e.unref(a)?t.top+"px":"",zIndex:t.zIndex,position:e.unref(s),width:e.unref(r),height:e.unref(i)+"px"})},[e.renderSlot(d.$slots,"default",{},()=>[c[0]||(c[0]=e.createElementVNode("div",null,"Sticky Top",-1))])],6)],4))}}),R={install(o){o.component("CustomTransition",g),o.component("MountedTeleport",_),o.component("StickyBottom",y),o.component("StickyTop",x),o.component("ReadMore",w),o.component("AsyncImg",h)}};exports.AsyncImg=h;exports.CustomTransition=g;exports.MountedTeleport=_;exports.ReadMore=w;exports.StickyBottom=y;exports.StickyTop=x;exports.default=R;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue");var xt;(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"})(xt||(xt={}));var Nt;(function(e){e[e.DRAFT=1]="DRAFT",e[e.PENDING=2]="PENDING",e[e.PUBLISHED=3]="PUBLISHED",e[e.TRASH=4]="TRASH"})(Nt||(Nt={}));var bt;(function(e){e.VERTICAL="vertical",e.HORIZONTAL="horizontal"})(bt||(bt={}));var Et;(function(e){e.SELF_HOSTED="self-hosted",e.YOUTUBE="youtube"})(Et||(Et={}));function Js(e){const t=document.getElementById(e);t?t.scrollIntoView({behavior:"smooth",block:"start"}):console.error(`Element with ID "${e}" not found.`)}//! moment.js
2
+ //! version : 2.30.1
3
+ //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
4
+ //! license : MIT
5
+ //! momentjs.com
6
+ var Qt;function d(){return Qt.apply(null,arguments)}function Qs(e){Qt=e}function W(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function ae(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function w(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function it(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(w(e,t))return!1;return!0}function b(e){return e===void 0}function q(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function pe(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Kt(e,t){var s=[],r,n=e.length;for(r=0;r<n;++r)s.push(t(e[r],r));return s}function K(e,t){for(var s in t)w(t,s)&&(e[s]=t[s]);return w(t,"toString")&&(e.toString=t.toString),w(t,"valueOf")&&(e.valueOf=t.valueOf),e}function H(e,t,s,r){return Ss(e,t,s,r,!0).utc()}function Ks(){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 m(e){return e._pf==null&&(e._pf=Ks()),e._pf}var Xe;Array.prototype.some?Xe=Array.prototype.some:Xe=function(e){var t=Object(this),s=t.length>>>0,r;for(r=0;r<s;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};function ot(e){var t=null,s=!1,r=e._d&&!isNaN(e._d.getTime());if(r&&(t=m(e),s=Xe.call(t.parsedDateParts,function(n){return n!=null}),r=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&s),e._strict&&(r=r&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=r;else return r;return e._isValid}function Fe(e){var t=H(NaN);return e!=null?K(m(t),e):m(t).userInvalidated=!0,t}var Rt=d.momentProperties=[],Ze=!1;function lt(e,t){var s,r,n,a=Rt.length;if(b(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),b(t._i)||(e._i=t._i),b(t._f)||(e._f=t._f),b(t._l)||(e._l=t._l),b(t._strict)||(e._strict=t._strict),b(t._tzm)||(e._tzm=t._tzm),b(t._isUTC)||(e._isUTC=t._isUTC),b(t._offset)||(e._offset=t._offset),b(t._pf)||(e._pf=m(t)),b(t._locale)||(e._locale=t._locale),a>0)for(s=0;s<a;s++)r=Rt[s],n=t[r],b(n)||(e[r]=n);return e}function Me(e){lt(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Ze===!1&&(Ze=!0,d.updateOffset(this),Ze=!1)}function F(e){return e instanceof Me||e!=null&&e._isAMomentObject!=null}function Xt(e){d.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function I(e,t){var s=!0;return K(function(){if(d.deprecationHandler!=null&&d.deprecationHandler(null,e),s){var r=[],n,a,i,u=arguments.length;for(a=0;a<u;a++){if(n="",typeof arguments[a]=="object"){n+=`
7
+ [`+a+"] ";for(i in arguments[0])w(arguments[0],i)&&(n+=i+": "+arguments[0][i]+", ");n=n.slice(0,-2)}else n=arguments[a];r.push(n)}Xt(e+`
8
+ Arguments: `+Array.prototype.slice.call(r).join("")+`
9
+ `+new Error().stack),s=!1}return t.apply(this,arguments)},t)}var It={};function es(e,t){d.deprecationHandler!=null&&d.deprecationHandler(e,t),It[e]||(Xt(t),It[e]=!0)}d.suppressDeprecationWarnings=!1;d.deprecationHandler=null;function V(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Xs(e){var t,s;for(s in e)w(e,s)&&(t=e[s],V(t)?this[s]=t:this["_"+s]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function et(e,t){var s=K({},e),r;for(r in t)w(t,r)&&(ae(e[r])&&ae(t[r])?(s[r]={},K(s[r],e[r]),K(s[r],t[r])):t[r]!=null?s[r]=t[r]:delete s[r]);for(r in e)w(e,r)&&!w(t,r)&&ae(e[r])&&(s[r]=K({},s[r]));return s}function ut(e){e!=null&&this.set(e)}var tt;Object.keys?tt=Object.keys:tt=function(e){var t,s=[];for(t in e)w(e,t)&&s.push(t);return s};var er={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function tr(e,t,s){var r=this._calendar[e]||this._calendar.sameElse;return V(r)?r.call(t,s):r}function C(e,t,s){var r=""+Math.abs(e),n=t-r.length,a=e>=0;return(a?s?"+":"":"-")+Math.pow(10,Math.max(0,n)).toString().substr(1)+r}var dt=/(\[[^\[]*\])|(\\)?([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,Te=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,qe={},de={};function h(e,t,s,r){var n=r;typeof r=="string"&&(n=function(){return this[r]()}),e&&(de[e]=n),t&&(de[t[0]]=function(){return C(n.apply(this,arguments),t[1],t[2])}),s&&(de[s]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function sr(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function rr(e){var t=e.match(dt),s,r;for(s=0,r=t.length;s<r;s++)de[t[s]]?t[s]=de[t[s]]:t[s]=sr(t[s]);return function(n){var a="",i;for(i=0;i<r;i++)a+=V(t[i])?t[i].call(n,e):t[i];return a}}function Ne(e,t){return e.isValid()?(t=ts(t,e.localeData()),qe[t]=qe[t]||rr(t),qe[t](e)):e.localeData().invalidDate()}function ts(e,t){var s=5;function r(n){return t.longDateFormat(n)||n}for(Te.lastIndex=0;s>=0&&Te.test(e);)e=e.replace(Te,r),Te.lastIndex=0,s-=1;return e}var nr={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 ar(e){var t=this._longDateFormat[e],s=this._longDateFormat[e.toUpperCase()];return t||!s?t:(this._longDateFormat[e]=s.match(dt).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var ir="Invalid date";function or(){return this._invalidDate}var lr="%d",ur=/\d{1,2}/;function dr(e){return this._ordinal.replace("%d",e)}var fr={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 hr(e,t,s,r){var n=this._relativeTime[s];return V(n)?n(e,t,s,r):n.replace(/%d/i,e)}function cr(e,t){var s=this._relativeTime[e>0?"future":"past"];return V(s)?s(t):s.replace(/%s/i,t)}var Lt={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 L(e){return typeof e=="string"?Lt[e]||Lt[e.toLowerCase()]:void 0}function ft(e){var t={},s,r;for(r in e)w(e,r)&&(s=L(r),s&&(t[s]=e[r]));return t}var mr={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 _r(e){var t=[],s;for(s in e)w(e,s)&&t.push({unit:s,priority:mr[s]});return t.sort(function(r,n){return r.priority-n.priority}),t}var ss=/\d/,E=/\d\d/,rs=/\d{3}/,ht=/\d{4}/,Ae=/[+-]?\d{6}/,D=/\d\d?/,ns=/\d\d\d\d?/,as=/\d\d\d\d\d\d?/,Ue=/\d{1,3}/,ct=/\d{1,4}/,Ce=/[+-]?\d{1,6}/,ce=/\d+/,He=/[+-]?\d+/,yr=/Z|[+-]\d\d:?\d\d/gi,Ve=/Z|[+-]\d\d(?::?\d\d)?/gi,vr=/[+-]?\d+(\.\d{1,3})?/,Ye=/[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,me=/^[1-9]\d?/,mt=/^([1-9]\d|\d)/,Re;Re={};function f(e,t,s){Re[e]=V(t)?t:function(r,n){return r&&s?s:t}}function wr(e,t){return w(Re,e)?Re[e](t._strict,t._locale):new RegExp(gr(e))}function gr(e){return $(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,s,r,n,a){return s||r||n||a}))}function $(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function R(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function y(e){var t=+e,s=0;return t!==0&&isFinite(t)&&(s=R(t)),s}var st={};function k(e,t){var s,r=t,n;for(typeof e=="string"&&(e=[e]),q(t)&&(r=function(a,i){i[t]=y(a)}),n=e.length,s=0;s<n;s++)st[e[s]]=r}function Oe(e,t){k(e,function(s,r,n,a){n._w=n._w||{},t(s,n._w,n,a)})}function kr(e,t,s){t!=null&&w(st,e)&&st[e](t,s._a,s,e)}function Ge(e){return e%4===0&&e%100!==0||e%400===0}var x=0,z=1,U=2,O=3,P=4,B=5,ne=6,Sr=7,Dr=8;h("Y",0,0,function(){var e=this.year();return e<=9999?C(e,4):"+"+e});h(0,["YY",2],0,function(){return this.year()%100});h(0,["YYYY",4],0,"year");h(0,["YYYYY",5],0,"year");h(0,["YYYYYY",6,!0],0,"year");f("Y",He);f("YY",D,E);f("YYYY",ct,ht);f("YYYYY",Ce,Ae);f("YYYYYY",Ce,Ae);k(["YYYYY","YYYYYY"],x);k("YYYY",function(e,t){t[x]=e.length===2?d.parseTwoDigitYear(e):y(e)});k("YY",function(e,t){t[x]=d.parseTwoDigitYear(e)});k("Y",function(e,t){t[x]=parseInt(e,10)});function we(e){return Ge(e)?366:365}d.parseTwoDigitYear=function(e){return y(e)+(y(e)>68?1900:2e3)};var is=_e("FullYear",!0);function pr(){return Ge(this.year())}function _e(e,t){return function(s){return s!=null?(os(this,e,s),d.updateOffset(this,t),this):ge(this,e)}}function ge(e,t){if(!e.isValid())return NaN;var s=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?s.getUTCMilliseconds():s.getMilliseconds();case"Seconds":return r?s.getUTCSeconds():s.getSeconds();case"Minutes":return r?s.getUTCMinutes():s.getMinutes();case"Hours":return r?s.getUTCHours():s.getHours();case"Date":return r?s.getUTCDate():s.getDate();case"Day":return r?s.getUTCDay():s.getDay();case"Month":return r?s.getUTCMonth():s.getMonth();case"FullYear":return r?s.getUTCFullYear():s.getFullYear();default:return NaN}}function os(e,t,s){var r,n,a,i,u;if(!(!e.isValid()||isNaN(s))){switch(r=e._d,n=e._isUTC,t){case"Milliseconds":return void(n?r.setUTCMilliseconds(s):r.setMilliseconds(s));case"Seconds":return void(n?r.setUTCSeconds(s):r.setSeconds(s));case"Minutes":return void(n?r.setUTCMinutes(s):r.setMinutes(s));case"Hours":return void(n?r.setUTCHours(s):r.setHours(s));case"Date":return void(n?r.setUTCDate(s):r.setDate(s));case"FullYear":break;default:return}a=s,i=e.month(),u=e.date(),u=u===29&&i===1&&!Ge(a)?28:u,n?r.setUTCFullYear(a,i,u):r.setFullYear(a,i,u)}}function Mr(e){return e=L(e),V(this[e])?this[e]():this}function Yr(e,t){if(typeof e=="object"){e=ft(e);var s=_r(e),r,n=s.length;for(r=0;r<n;r++)this[s[r].unit](e[s[r].unit])}else if(e=L(e),V(this[e]))return this[e](t);return this}function Or(e,t){return(e%t+t)%t}var M;Array.prototype.indexOf?M=Array.prototype.indexOf:M=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function _t(e,t){if(isNaN(e)||isNaN(t))return NaN;var s=Or(t,12);return e+=(t-s)/12,s===1?Ge(e)?29:28:31-s%7%2}h("M",["MM",2],"Mo",function(){return this.month()+1});h("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});h("MMMM",0,0,function(e){return this.localeData().months(this,e)});f("M",D,me);f("MM",D,E);f("MMM",function(e,t){return t.monthsShortRegex(e)});f("MMMM",function(e,t){return t.monthsRegex(e)});k(["M","MM"],function(e,t){t[z]=y(e)-1});k(["MMM","MMMM"],function(e,t,s,r){var n=s._locale.monthsParse(e,r,s._strict);n!=null?t[z]=n:m(s).invalidMonth=e});var Tr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ls="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),us=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,xr=Ye,Nr=Ye;function br(e,t){return e?W(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||us).test(t)?"format":"standalone"][e.month()]:W(this._months)?this._months:this._months.standalone}function Er(e,t){return e?W(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[us.test(t)?"format":"standalone"][e.month()]:W(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Rr(e,t,s){var r,n,a,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=H([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return s?t==="MMM"?(n=M.call(this._shortMonthsParse,i),n!==-1?n:null):(n=M.call(this._longMonthsParse,i),n!==-1?n:null):t==="MMM"?(n=M.call(this._shortMonthsParse,i),n!==-1?n:(n=M.call(this._longMonthsParse,i),n!==-1?n:null)):(n=M.call(this._longMonthsParse,i),n!==-1?n:(n=M.call(this._shortMonthsParse,i),n!==-1?n:null))}function Ir(e,t,s){var r,n,a;if(this._monthsParseExact)return Rr.call(this,e,t,s);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(n=H([2e3,r]),s&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),!s&&!this._monthsParse[r]&&(a="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),s&&t==="MMMM"&&this._longMonthsParse[r].test(e))return r;if(s&&t==="MMM"&&this._shortMonthsParse[r].test(e))return r;if(!s&&this._monthsParse[r].test(e))return r}}function ds(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=y(t);else if(t=e.localeData().monthsParse(t),!q(t))return e}var s=t,r=e.date();return r=r<29?r:Math.min(r,_t(e.year(),s)),e._isUTC?e._d.setUTCMonth(s,r):e._d.setMonth(s,r),e}function fs(e){return e!=null?(ds(this,e),d.updateOffset(this,!0),this):ge(this,"Month")}function Lr(){return _t(this.year(),this.month())}function Pr(e){return this._monthsParseExact?(w(this,"_monthsRegex")||hs.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(w(this,"_monthsShortRegex")||(this._monthsShortRegex=xr),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Wr(e){return this._monthsParseExact?(w(this,"_monthsRegex")||hs.call(this),e?this._monthsStrictRegex:this._monthsRegex):(w(this,"_monthsRegex")||(this._monthsRegex=Nr),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function hs(){function e(c,_){return _.length-c.length}var t=[],s=[],r=[],n,a,i,u;for(n=0;n<12;n++)a=H([2e3,n]),i=$(this.monthsShort(a,"")),u=$(this.months(a,"")),t.push(i),s.push(u),r.push(u),r.push(i);t.sort(e),s.sort(e),r.sort(e),this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Fr(e,t,s,r,n,a,i){var u;return e<100&&e>=0?(u=new Date(e+400,t,s,r,n,a,i),isFinite(u.getFullYear())&&u.setFullYear(e)):u=new Date(e,t,s,r,n,a,i),u}function ke(e){var t,s;return e<100&&e>=0?(s=Array.prototype.slice.call(arguments),s[0]=e+400,t=new Date(Date.UTC.apply(null,s)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ie(e,t,s){var r=7+t-s,n=(7+ke(e,0,r).getUTCDay()-t)%7;return-n+r-1}function cs(e,t,s,r,n){var a=(7+s-r)%7,i=Ie(e,r,n),u=1+7*(t-1)+a+i,c,_;return u<=0?(c=e-1,_=we(c)+u):u>we(e)?(c=e+1,_=u-we(e)):(c=e,_=u),{year:c,dayOfYear:_}}function Se(e,t,s){var r=Ie(e.year(),t,s),n=Math.floor((e.dayOfYear()-r-1)/7)+1,a,i;return n<1?(i=e.year()-1,a=n+Z(i,t,s)):n>Z(e.year(),t,s)?(a=n-Z(e.year(),t,s),i=e.year()+1):(i=e.year(),a=n),{week:a,year:i}}function Z(e,t,s){var r=Ie(e,t,s),n=Ie(e+1,t,s);return(we(e)-r+n)/7}h("w",["ww",2],"wo","week");h("W",["WW",2],"Wo","isoWeek");f("w",D,me);f("ww",D,E);f("W",D,me);f("WW",D,E);Oe(["w","ww","W","WW"],function(e,t,s,r){t[r.substr(0,1)]=y(e)});function Ar(e){return Se(e,this._week.dow,this._week.doy).week}var Ur={dow:0,doy:6};function Cr(){return this._week.dow}function Hr(){return this._week.doy}function Vr(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Gr(e){var t=Se(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}h("d",0,"do","day");h("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});h("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});h("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});h("e",0,0,"weekday");h("E",0,0,"isoWeekday");f("d",D);f("e",D);f("E",D);f("dd",function(e,t){return t.weekdaysMinRegex(e)});f("ddd",function(e,t){return t.weekdaysShortRegex(e)});f("dddd",function(e,t){return t.weekdaysRegex(e)});Oe(["dd","ddd","dddd"],function(e,t,s,r){var n=s._locale.weekdaysParse(e,r,s._strict);n!=null?t.d=n:m(s).invalidWeekday=e});Oe(["d","e","E"],function(e,t,s,r){t[r]=y(e)});function jr(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function zr(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function yt(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Br="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ms="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),$r="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Zr=Ye,qr=Ye,Jr=Ye;function Qr(e,t){var s=W(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?yt(s,this._week.dow):e?s[e.day()]:s}function Kr(e){return e===!0?yt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Xr(e){return e===!0?yt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function en(e,t,s){var r,n,a,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=H([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 s?t==="dddd"?(n=M.call(this._weekdaysParse,i),n!==-1?n:null):t==="ddd"?(n=M.call(this._shortWeekdaysParse,i),n!==-1?n:null):(n=M.call(this._minWeekdaysParse,i),n!==-1?n:null):t==="dddd"?(n=M.call(this._weekdaysParse,i),n!==-1||(n=M.call(this._shortWeekdaysParse,i),n!==-1)?n:(n=M.call(this._minWeekdaysParse,i),n!==-1?n:null)):t==="ddd"?(n=M.call(this._shortWeekdaysParse,i),n!==-1||(n=M.call(this._weekdaysParse,i),n!==-1)?n:(n=M.call(this._minWeekdaysParse,i),n!==-1?n:null)):(n=M.call(this._minWeekdaysParse,i),n!==-1||(n=M.call(this._weekdaysParse,i),n!==-1)?n:(n=M.call(this._shortWeekdaysParse,i),n!==-1?n:null))}function tn(e,t,s){var r,n,a;if(this._weekdaysParseExact)return en.call(this,e,t,s);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(n=H([2e3,1]).day(r),s&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),s&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(s&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(s&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!s&&this._weekdaysParse[r].test(e))return r}}function sn(e){if(!this.isValid())return e!=null?this:NaN;var t=ge(this,"Day");return e!=null?(e=jr(e,this.localeData()),this.add(e-t,"d")):t}function rn(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 nn(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=zr(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function an(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||vt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(w(this,"_weekdaysRegex")||(this._weekdaysRegex=Zr),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function on(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||vt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(w(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qr),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ln(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||vt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(w(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Jr),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function vt(){function e(Y,T){return T.length-Y.length}var t=[],s=[],r=[],n=[],a,i,u,c,_;for(a=0;a<7;a++)i=H([2e3,1]).day(a),u=$(this.weekdaysMin(i,"")),c=$(this.weekdaysShort(i,"")),_=$(this.weekdays(i,"")),t.push(u),s.push(c),r.push(_),n.push(u),n.push(c),n.push(_);t.sort(e),s.sort(e),r.sort(e),n.sort(e),this._weekdaysRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function wt(){return this.hours()%12||12}function un(){return this.hours()||24}h("H",["HH",2],0,"hour");h("h",["hh",2],0,wt);h("k",["kk",2],0,un);h("hmm",0,0,function(){return""+wt.apply(this)+C(this.minutes(),2)});h("hmmss",0,0,function(){return""+wt.apply(this)+C(this.minutes(),2)+C(this.seconds(),2)});h("Hmm",0,0,function(){return""+this.hours()+C(this.minutes(),2)});h("Hmmss",0,0,function(){return""+this.hours()+C(this.minutes(),2)+C(this.seconds(),2)});function _s(e,t){h(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}_s("a",!0);_s("A",!1);function ys(e,t){return t._meridiemParse}f("a",ys);f("A",ys);f("H",D,mt);f("h",D,me);f("k",D,me);f("HH",D,E);f("hh",D,E);f("kk",D,E);f("hmm",ns);f("hmmss",as);f("Hmm",ns);f("Hmmss",as);k(["H","HH"],O);k(["k","kk"],function(e,t,s){var r=y(e);t[O]=r===24?0:r});k(["a","A"],function(e,t,s){s._isPm=s._locale.isPM(e),s._meridiem=e});k(["h","hh"],function(e,t,s){t[O]=y(e),m(s).bigHour=!0});k("hmm",function(e,t,s){var r=e.length-2;t[O]=y(e.substr(0,r)),t[P]=y(e.substr(r)),m(s).bigHour=!0});k("hmmss",function(e,t,s){var r=e.length-4,n=e.length-2;t[O]=y(e.substr(0,r)),t[P]=y(e.substr(r,2)),t[B]=y(e.substr(n)),m(s).bigHour=!0});k("Hmm",function(e,t,s){var r=e.length-2;t[O]=y(e.substr(0,r)),t[P]=y(e.substr(r))});k("Hmmss",function(e,t,s){var r=e.length-4,n=e.length-2;t[O]=y(e.substr(0,r)),t[P]=y(e.substr(r,2)),t[B]=y(e.substr(n))});function dn(e){return(e+"").toLowerCase().charAt(0)==="p"}var fn=/[ap]\.?m?\.?/i,hn=_e("Hours",!0);function cn(e,t,s){return e>11?s?"pm":"PM":s?"am":"AM"}var vs={calendar:er,longDateFormat:nr,invalidDate:ir,ordinal:lr,dayOfMonthOrdinalParse:ur,relativeTime:fr,months:Tr,monthsShort:ls,week:Ur,weekdays:Br,weekdaysMin:$r,weekdaysShort:ms,meridiemParse:fn},p={},ye={},De;function mn(e,t){var s,r=Math.min(e.length,t.length);for(s=0;s<r;s+=1)if(e[s]!==t[s])return s;return r}function Pt(e){return e&&e.toLowerCase().replace("_","-")}function _n(e){for(var t=0,s,r,n,a;t<e.length;){for(a=Pt(e[t]).split("-"),s=a.length,r=Pt(e[t+1]),r=r?r.split("-"):null;s>0;){if(n=je(a.slice(0,s).join("-")),n)return n;if(r&&r.length>=s&&mn(a,r)>=s-1)break;s--}t++}return De}function yn(e){return!!(e&&e.match("^[^/\\\\]*$"))}function je(e){var t=null,s;if(p[e]===void 0&&typeof module<"u"&&module&&module.exports&&yn(e))try{t=De._abbr,s=require,s("./locale/"+e),ee(t)}catch{p[e]=null}return p[e]}function ee(e,t){var s;return e&&(b(t)?s=J(e):s=gt(e,t),s?De=s:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),De._abbr}function gt(e,t){if(t!==null){var s,r=vs;if(t.abbr=e,p[e]!=null)es("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=p[e]._config;else if(t.parentLocale!=null)if(p[t.parentLocale]!=null)r=p[t.parentLocale]._config;else if(s=je(t.parentLocale),s!=null)r=s._config;else return ye[t.parentLocale]||(ye[t.parentLocale]=[]),ye[t.parentLocale].push({name:e,config:t}),null;return p[e]=new ut(et(r,t)),ye[e]&&ye[e].forEach(function(n){gt(n.name,n.config)}),ee(e),p[e]}else return delete p[e],null}function vn(e,t){if(t!=null){var s,r,n=vs;p[e]!=null&&p[e].parentLocale!=null?p[e].set(et(p[e]._config,t)):(r=je(e),r!=null&&(n=r._config),t=et(n,t),r==null&&(t.abbr=e),s=new ut(t),s.parentLocale=p[e],p[e]=s),ee(e)}else p[e]!=null&&(p[e].parentLocale!=null?(p[e]=p[e].parentLocale,e===ee()&&ee(e)):p[e]!=null&&delete p[e]);return p[e]}function J(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return De;if(!W(e)){if(t=je(e),t)return t;e=[e]}return _n(e)}function wn(){return tt(p)}function kt(e){var t,s=e._a;return s&&m(e).overflow===-2&&(t=s[z]<0||s[z]>11?z:s[U]<1||s[U]>_t(s[x],s[z])?U:s[O]<0||s[O]>24||s[O]===24&&(s[P]!==0||s[B]!==0||s[ne]!==0)?O:s[P]<0||s[P]>59?P:s[B]<0||s[B]>59?B:s[ne]<0||s[ne]>999?ne:-1,m(e)._overflowDayOfYear&&(t<x||t>U)&&(t=U),m(e)._overflowWeeks&&t===-1&&(t=Sr),m(e)._overflowWeekday&&t===-1&&(t=Dr),m(e).overflow=t),e}var gn=/^\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)?)?$/,kn=/^\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)?)?$/,Sn=/Z|[+-]\d\d(?::?\d\d)?/,xe=[["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]],Je=[["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/]],Dn=/^\/?Date\((-?\d+)/i,pn=/^(?:(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}))$/,Mn={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 ws(e){var t,s,r=e._i,n=gn.exec(r)||kn.exec(r),a,i,u,c,_=xe.length,Y=Je.length;if(n){for(m(e).iso=!0,t=0,s=_;t<s;t++)if(xe[t][1].exec(n[1])){i=xe[t][0],a=xe[t][2]!==!1;break}if(i==null){e._isValid=!1;return}if(n[3]){for(t=0,s=Y;t<s;t++)if(Je[t][1].exec(n[3])){u=(n[2]||" ")+Je[t][0];break}if(u==null){e._isValid=!1;return}}if(!a&&u!=null){e._isValid=!1;return}if(n[4])if(Sn.exec(n[4]))c="Z";else{e._isValid=!1;return}e._f=i+(u||"")+(c||""),Dt(e)}else e._isValid=!1}function Yn(e,t,s,r,n,a){var i=[On(e),ls.indexOf(t),parseInt(s,10),parseInt(r,10),parseInt(n,10)];return a&&i.push(parseInt(a,10)),i}function On(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Tn(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function xn(e,t,s){if(e){var r=ms.indexOf(e),n=new Date(t[0],t[1],t[2]).getDay();if(r!==n)return m(s).weekdayMismatch=!0,s._isValid=!1,!1}return!0}function Nn(e,t,s){if(e)return Mn[e];if(t)return 0;var r=parseInt(s,10),n=r%100,a=(r-n)/100;return a*60+n}function gs(e){var t=pn.exec(Tn(e._i)),s;if(t){if(s=Yn(t[4],t[3],t[2],t[5],t[6],t[7]),!xn(t[1],s,e))return;e._a=s,e._tzm=Nn(t[8],t[9],t[10]),e._d=ke.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),m(e).rfc2822=!0}else e._isValid=!1}function bn(e){var t=Dn.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(ws(e),e._isValid===!1)delete e._isValid;else return;if(gs(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:d.createFromInputFallback(e)}d.createFromInputFallback=I("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 le(e,t,s){return e??t??s}function En(e){var t=new Date(d.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function St(e){var t,s,r=[],n,a,i;if(!e._d){for(n=En(e),e._w&&e._a[U]==null&&e._a[z]==null&&Rn(e),e._dayOfYear!=null&&(i=le(e._a[x],n[x]),(e._dayOfYear>we(i)||e._dayOfYear===0)&&(m(e)._overflowDayOfYear=!0),s=ke(i,0,e._dayOfYear),e._a[z]=s.getUTCMonth(),e._a[U]=s.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=n[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[O]===24&&e._a[P]===0&&e._a[B]===0&&e._a[ne]===0&&(e._nextDay=!0,e._a[O]=0),e._d=(e._useUTC?ke:Fr).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[O]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==a&&(m(e).weekdayMismatch=!0)}}function Rn(e){var t,s,r,n,a,i,u,c,_;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(a=1,i=4,s=le(t.GG,e._a[x],Se(S(),1,4).year),r=le(t.W,1),n=le(t.E,1),(n<1||n>7)&&(c=!0)):(a=e._locale._week.dow,i=e._locale._week.doy,_=Se(S(),a,i),s=le(t.gg,e._a[x],_.year),r=le(t.w,_.week),t.d!=null?(n=t.d,(n<0||n>6)&&(c=!0)):t.e!=null?(n=t.e+a,(t.e<0||t.e>6)&&(c=!0)):n=a),r<1||r>Z(s,a,i)?m(e)._overflowWeeks=!0:c!=null?m(e)._overflowWeekday=!0:(u=cs(s,r,n,a,i),e._a[x]=u.year,e._dayOfYear=u.dayOfYear)}d.ISO_8601=function(){};d.RFC_2822=function(){};function Dt(e){if(e._f===d.ISO_8601){ws(e);return}if(e._f===d.RFC_2822){gs(e);return}e._a=[],m(e).empty=!0;var t=""+e._i,s,r,n,a,i,u=t.length,c=0,_,Y;for(n=ts(e._f,e._locale).match(dt)||[],Y=n.length,s=0;s<Y;s++)a=n[s],r=(t.match(wr(a,e))||[])[0],r&&(i=t.substr(0,t.indexOf(r)),i.length>0&&m(e).unusedInput.push(i),t=t.slice(t.indexOf(r)+r.length),c+=r.length),de[a]?(r?m(e).empty=!1:m(e).unusedTokens.push(a),kr(a,r,e)):e._strict&&!r&&m(e).unusedTokens.push(a);m(e).charsLeftOver=u-c,t.length>0&&m(e).unusedInput.push(t),e._a[O]<=12&&m(e).bigHour===!0&&e._a[O]>0&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[O]=In(e._locale,e._a[O],e._meridiem),_=m(e).era,_!==null&&(e._a[x]=e._locale.erasConvertYear(_,e._a[x])),St(e),kt(e)}function In(e,t,s){var r;return s==null?t:e.meridiemHour!=null?e.meridiemHour(t,s):(e.isPM!=null&&(r=e.isPM(s),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function Ln(e){var t,s,r,n,a,i,u=!1,c=e._f.length;if(c===0){m(e).invalidFormat=!0,e._d=new Date(NaN);return}for(n=0;n<c;n++)a=0,i=!1,t=lt({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[n],Dt(t),ot(t)&&(i=!0),a+=m(t).charsLeftOver,a+=m(t).unusedTokens.length*10,m(t).score=a,u?a<r&&(r=a,s=t):(r==null||a<r||i)&&(r=a,s=t,i&&(u=!0));K(e,s||t)}function Pn(e){if(!e._d){var t=ft(e._i),s=t.day===void 0?t.date:t.day;e._a=Kt([t.year,t.month,s,t.hour,t.minute,t.second,t.millisecond],function(r){return r&&parseInt(r,10)}),St(e)}}function Wn(e){var t=new Me(kt(ks(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function ks(e){var t=e._i,s=e._f;return e._locale=e._locale||J(e._l),t===null||s===void 0&&t===""?Fe({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),F(t)?new Me(kt(t)):(pe(t)?e._d=t:W(s)?Ln(e):s?Dt(e):Fn(e),ot(e)||(e._d=null),e))}function Fn(e){var t=e._i;b(t)?e._d=new Date(d.now()):pe(t)?e._d=new Date(t.valueOf()):typeof t=="string"?bn(e):W(t)?(e._a=Kt(t.slice(0),function(s){return parseInt(s,10)}),St(e)):ae(t)?Pn(e):q(t)?e._d=new Date(t):d.createFromInputFallback(e)}function Ss(e,t,s,r,n){var a={};return(t===!0||t===!1)&&(r=t,t=void 0),(s===!0||s===!1)&&(r=s,s=void 0),(ae(e)&&it(e)||W(e)&&e.length===0)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=n,a._l=s,a._i=e,a._f=t,a._strict=r,Wn(a)}function S(e,t,s,r){return Ss(e,t,s,r,!1)}var An=I("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=S.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Fe()}),Un=I("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=S.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Fe()});function Ds(e,t){var s,r;if(t.length===1&&W(t[0])&&(t=t[0]),!t.length)return S();for(s=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](s))&&(s=t[r]);return s}function Cn(){var e=[].slice.call(arguments,0);return Ds("isBefore",e)}function Hn(){var e=[].slice.call(arguments,0);return Ds("isAfter",e)}var Vn=function(){return Date.now?Date.now():+new Date},ve=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Gn(e){var t,s=!1,r,n=ve.length;for(t in e)if(w(e,t)&&!(M.call(ve,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<n;++r)if(e[ve[r]]){if(s)return!1;parseFloat(e[ve[r]])!==y(e[ve[r]])&&(s=!0)}return!0}function jn(){return this._isValid}function zn(){return A(NaN)}function ze(e){var t=ft(e),s=t.year||0,r=t.quarter||0,n=t.month||0,a=t.week||t.isoWeek||0,i=t.day||0,u=t.hour||0,c=t.minute||0,_=t.second||0,Y=t.millisecond||0;this._isValid=Gn(t),this._milliseconds=+Y+_*1e3+c*6e4+u*1e3*60*60,this._days=+i+a*7,this._months=+n+r*3+s*12,this._data={},this._locale=J(),this._bubble()}function be(e){return e instanceof ze}function rt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Bn(e,t,s){var r=Math.min(e.length,t.length),n=Math.abs(e.length-t.length),a=0,i;for(i=0;i<r;i++)y(e[i])!==y(t[i])&&a++;return a+n}function ps(e,t){h(e,0,0,function(){var s=this.utcOffset(),r="+";return s<0&&(s=-s,r="-"),r+C(~~(s/60),2)+t+C(~~s%60,2)})}ps("Z",":");ps("ZZ","");f("Z",Ve);f("ZZ",Ve);k(["Z","ZZ"],function(e,t,s){s._useUTC=!0,s._tzm=pt(Ve,e)});var $n=/([\+\-]|\d\d)/gi;function pt(e,t){var s=(t||"").match(e),r,n,a;return s===null?null:(r=s[s.length-1]||[],n=(r+"").match($n)||["-",0,0],a=+(n[1]*60)+y(n[2]),a===0?0:n[0]==="+"?a:-a)}function Mt(e,t){var s,r;return t._isUTC?(s=t.clone(),r=(F(e)||pe(e)?e.valueOf():S(e).valueOf())-s.valueOf(),s._d.setTime(s._d.valueOf()+r),d.updateOffset(s,!1),s):S(e).local()}function nt(e){return-Math.round(e._d.getTimezoneOffset())}d.updateOffset=function(){};function Zn(e,t,s){var r=this._offset||0,n;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=pt(Ve,e),e===null)return this}else Math.abs(e)<16&&!s&&(e=e*60);return!this._isUTC&&t&&(n=nt(this)),this._offset=e,this._isUTC=!0,n!=null&&this.add(n,"m"),r!==e&&(!t||this._changeInProgress?Os(this,A(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,d.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:nt(this)}function qn(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Jn(e){return this.utcOffset(0,e)}function Qn(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(nt(this),"m")),this}function Kn(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=pt(yr,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Xn(e){return this.isValid()?(e=e?S(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function ea(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function ta(){if(!b(this._isDSTShifted))return this._isDSTShifted;var e={},t;return lt(e,this),e=ks(e),e._a?(t=e._isUTC?H(e._a):S(e._a),this._isDSTShifted=this.isValid()&&Bn(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function sa(){return this.isValid()?!this._isUTC:!1}function ra(){return this.isValid()?this._isUTC:!1}function Ms(){return this.isValid()?this._isUTC&&this._offset===0:!1}var na=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,aa=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function A(e,t){var s=e,r=null,n,a,i;return be(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:q(e)||!isNaN(+e)?(s={},t?s[t]=+e:s.milliseconds=+e):(r=na.exec(e))?(n=r[1]==="-"?-1:1,s={y:0,d:y(r[U])*n,h:y(r[O])*n,m:y(r[P])*n,s:y(r[B])*n,ms:y(rt(r[ne]*1e3))*n}):(r=aa.exec(e))?(n=r[1]==="-"?-1:1,s={y:re(r[2],n),M:re(r[3],n),w:re(r[4],n),d:re(r[5],n),h:re(r[6],n),m:re(r[7],n),s:re(r[8],n)}):s==null?s={}:typeof s=="object"&&("from"in s||"to"in s)&&(i=ia(S(s.from),S(s.to)),s={},s.ms=i.milliseconds,s.M=i.months),a=new ze(s),be(e)&&w(e,"_locale")&&(a._locale=e._locale),be(e)&&w(e,"_isValid")&&(a._isValid=e._isValid),a}A.fn=ze.prototype;A.invalid=zn;function re(e,t){var s=e&&parseFloat(e.replace(",","."));return(isNaN(s)?0:s)*t}function Wt(e,t){var s={};return s.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(s.months,"M").isAfter(t)&&--s.months,s.milliseconds=+t-+e.clone().add(s.months,"M"),s}function ia(e,t){var s;return e.isValid()&&t.isValid()?(t=Mt(t,e),e.isBefore(t)?s=Wt(e,t):(s=Wt(t,e),s.milliseconds=-s.milliseconds,s.months=-s.months),s):{milliseconds:0,months:0}}function Ys(e,t){return function(s,r){var n,a;return r!==null&&!isNaN(+r)&&(es(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=s,s=r,r=a),n=A(s,r),Os(this,n,e),this}}function Os(e,t,s,r){var n=t._milliseconds,a=rt(t._days),i=rt(t._months);e.isValid()&&(r=r??!0,i&&ds(e,ge(e,"Month")+i*s),a&&os(e,"Date",ge(e,"Date")+a*s),n&&e._d.setTime(e._d.valueOf()+n*s),r&&d.updateOffset(e,a||i))}var oa=Ys(1,"add"),la=Ys(-1,"subtract");function Ts(e){return typeof e=="string"||e instanceof String}function ua(e){return F(e)||pe(e)||Ts(e)||q(e)||fa(e)||da(e)||e===null||e===void 0}function da(e){var t=ae(e)&&!it(e),s=!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"],n,a,i=r.length;for(n=0;n<i;n+=1)a=r[n],s=s||w(e,a);return t&&s}function fa(e){var t=W(e),s=!1;return t&&(s=e.filter(function(r){return!q(r)&&Ts(e)}).length===0),t&&s}function ha(e){var t=ae(e)&&!it(e),s=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],n,a;for(n=0;n<r.length;n+=1)a=r[n],s=s||w(e,a);return t&&s}function ca(e,t){var s=e.diff(t,"days",!0);return s<-6?"sameElse":s<-1?"lastWeek":s<0?"lastDay":s<1?"sameDay":s<2?"nextDay":s<7?"nextWeek":"sameElse"}function ma(e,t){arguments.length===1&&(arguments[0]?ua(arguments[0])?(e=arguments[0],t=void 0):ha(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var s=e||S(),r=Mt(s,this).startOf("day"),n=d.calendarFormat(this,r)||"sameElse",a=t&&(V(t[n])?t[n].call(this,s):t[n]);return this.format(a||this.localeData().calendar(n,this,S(s)))}function _a(){return new Me(this)}function ya(e,t){var s=F(e)?e:S(e);return this.isValid()&&s.isValid()?(t=L(t)||"millisecond",t==="millisecond"?this.valueOf()>s.valueOf():s.valueOf()<this.clone().startOf(t).valueOf()):!1}function va(e,t){var s=F(e)?e:S(e);return this.isValid()&&s.isValid()?(t=L(t)||"millisecond",t==="millisecond"?this.valueOf()<s.valueOf():this.clone().endOf(t).valueOf()<s.valueOf()):!1}function wa(e,t,s,r){var n=F(e)?e:S(e),a=F(t)?t:S(t);return this.isValid()&&n.isValid()&&a.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(n,s):!this.isBefore(n,s))&&(r[1]===")"?this.isBefore(a,s):!this.isAfter(a,s))):!1}function ga(e,t){var s=F(e)?e:S(e),r;return this.isValid()&&s.isValid()?(t=L(t)||"millisecond",t==="millisecond"?this.valueOf()===s.valueOf():(r=s.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function ka(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Sa(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Da(e,t,s){var r,n,a;if(!this.isValid())return NaN;if(r=Mt(e,this),!r.isValid())return NaN;switch(n=(r.utcOffset()-this.utcOffset())*6e4,t=L(t),t){case"year":a=Ee(this,r)/12;break;case"month":a=Ee(this,r);break;case"quarter":a=Ee(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-n)/864e5;break;case"week":a=(this-r-n)/6048e5;break;default:a=this-r}return s?a:R(a)}function Ee(e,t){if(e.date()<t.date())return-Ee(t,e);var s=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(s,"months"),n,a;return t-r<0?(n=e.clone().add(s-1,"months"),a=(t-r)/(r-n)):(n=e.clone().add(s+1,"months"),a=(t-r)/(n-r)),-(s+a)||0}d.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";d.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function pa(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Ma(e){if(!this.isValid())return null;var t=e!==!0,s=t?this.clone().utc():this;return s.year()<0||s.year()>9999?Ne(s,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):V(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Ne(s,"Z")):Ne(s,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Ya(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",s,r,n,a;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),s="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",a=t+'[")]',this.format(s+r+n+a)}function Oa(e){e||(e=this.isUtc()?d.defaultFormatUtc:d.defaultFormat);var t=Ne(this,e);return this.localeData().postformat(t)}function Ta(e,t){return this.isValid()&&(F(e)&&e.isValid()||S(e).isValid())?A({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function xa(e){return this.from(S(),e)}function Na(e,t){return this.isValid()&&(F(e)&&e.isValid()||S(e).isValid())?A({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ba(e){return this.to(S(),e)}function xs(e){var t;return e===void 0?this._locale._abbr:(t=J(e),t!=null&&(this._locale=t),this)}var Ns=I("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 bs(){return this._locale}var Le=1e3,fe=60*Le,Pe=60*fe,Es=(365*400+97)*24*Pe;function he(e,t){return(e%t+t)%t}function Rs(e,t,s){return e<100&&e>=0?new Date(e+400,t,s)-Es:new Date(e,t,s).valueOf()}function Is(e,t,s){return e<100&&e>=0?Date.UTC(e+400,t,s)-Es:Date.UTC(e,t,s)}function Ea(e){var t,s;if(e=L(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?Is:Rs,e){case"year":t=s(this.year(),0,1);break;case"quarter":t=s(this.year(),this.month()-this.month()%3,1);break;case"month":t=s(this.year(),this.month(),1);break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=s(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=he(t+(this._isUTC?0:this.utcOffset()*fe),Pe);break;case"minute":t=this._d.valueOf(),t-=he(t,fe);break;case"second":t=this._d.valueOf(),t-=he(t,Le);break}return this._d.setTime(t),d.updateOffset(this,!0),this}function Ra(e){var t,s;if(e=L(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?Is:Rs,e){case"year":t=s(this.year()+1,0,1)-1;break;case"quarter":t=s(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=s(this.year(),this.month()+1,1)-1;break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=s(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Pe-he(t+(this._isUTC?0:this.utcOffset()*fe),Pe)-1;break;case"minute":t=this._d.valueOf(),t+=fe-he(t,fe)-1;break;case"second":t=this._d.valueOf(),t+=Le-he(t,Le)-1;break}return this._d.setTime(t),d.updateOffset(this,!0),this}function Ia(){return this._d.valueOf()-(this._offset||0)*6e4}function La(){return Math.floor(this.valueOf()/1e3)}function Pa(){return new Date(this.valueOf())}function Wa(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Fa(){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 Aa(){return this.isValid()?this.toISOString():null}function Ua(){return ot(this)}function Ca(){return K({},m(this))}function Ha(){return m(this).overflow}function Va(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}h("N",0,0,"eraAbbr");h("NN",0,0,"eraAbbr");h("NNN",0,0,"eraAbbr");h("NNNN",0,0,"eraName");h("NNNNN",0,0,"eraNarrow");h("y",["y",1],"yo","eraYear");h("y",["yy",2],0,"eraYear");h("y",["yyy",3],0,"eraYear");h("y",["yyyy",4],0,"eraYear");f("N",Yt);f("NN",Yt);f("NNN",Yt);f("NNNN",Xa);f("NNNNN",ei);k(["N","NN","NNN","NNNN","NNNNN"],function(e,t,s,r){var n=s._locale.erasParse(e,r,s._strict);n?m(s).era=n:m(s).invalidEra=e});f("y",ce);f("yy",ce);f("yyy",ce);f("yyyy",ce);f("yo",ti);k(["y","yy","yyy","yyyy"],x);k(["yo"],function(e,t,s,r){var n;s._locale._eraYearOrdinalRegex&&(n=e.match(s._locale._eraYearOrdinalRegex)),s._locale.eraYearOrdinalParse?t[x]=s._locale.eraYearOrdinalParse(e,n):t[x]=parseInt(e,10)});function Ga(e,t){var s,r,n,a=this._eras||J("en")._eras;for(s=0,r=a.length;s<r;++s){switch(typeof a[s].since){case"string":n=d(a[s].since).startOf("day"),a[s].since=n.valueOf();break}switch(typeof a[s].until){case"undefined":a[s].until=1/0;break;case"string":n=d(a[s].until).startOf("day").valueOf(),a[s].until=n.valueOf();break}}return a}function ja(e,t,s){var r,n,a=this.eras(),i,u,c;for(e=e.toUpperCase(),r=0,n=a.length;r<n;++r)if(i=a[r].name.toUpperCase(),u=a[r].abbr.toUpperCase(),c=a[r].narrow.toUpperCase(),s)switch(t){case"N":case"NN":case"NNN":if(u===e)return a[r];break;case"NNNN":if(i===e)return a[r];break;case"NNNNN":if(c===e)return a[r];break}else if([i,u,c].indexOf(e)>=0)return a[r]}function za(e,t){var s=e.since<=e.until?1:-1;return t===void 0?d(e.since).year():d(e.since).year()+(t-e.offset)*s}function Ba(){var e,t,s,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),r[e].since<=s&&s<=r[e].until||r[e].until<=s&&s<=r[e].since)return r[e].name;return""}function $a(){var e,t,s,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),r[e].since<=s&&s<=r[e].until||r[e].until<=s&&s<=r[e].since)return r[e].narrow;return""}function Za(){var e,t,s,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),r[e].since<=s&&s<=r[e].until||r[e].until<=s&&s<=r[e].since)return r[e].abbr;return""}function qa(){var e,t,s,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(s=n[e].since<=n[e].until?1:-1,r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return(this.year()-d(n[e].since).year())*s+n[e].offset;return this.year()}function Ja(e){return w(this,"_erasNameRegex")||Ot.call(this),e?this._erasNameRegex:this._erasRegex}function Qa(e){return w(this,"_erasAbbrRegex")||Ot.call(this),e?this._erasAbbrRegex:this._erasRegex}function Ka(e){return w(this,"_erasNarrowRegex")||Ot.call(this),e?this._erasNarrowRegex:this._erasRegex}function Yt(e,t){return t.erasAbbrRegex(e)}function Xa(e,t){return t.erasNameRegex(e)}function ei(e,t){return t.erasNarrowRegex(e)}function ti(e,t){return t._eraYearOrdinalRegex||ce}function Ot(){var e=[],t=[],s=[],r=[],n,a,i,u,c,_=this.eras();for(n=0,a=_.length;n<a;++n)i=$(_[n].name),u=$(_[n].abbr),c=$(_[n].narrow),t.push(i),e.push(u),s.push(c),r.push(i),r.push(u),r.push(c);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("^("+s.join("|")+")","i")}h(0,["gg",2],0,function(){return this.weekYear()%100});h(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Be(e,t){h(0,[e,e.length],0,t)}Be("gggg","weekYear");Be("ggggg","weekYear");Be("GGGG","isoWeekYear");Be("GGGGG","isoWeekYear");f("G",He);f("g",He);f("GG",D,E);f("gg",D,E);f("GGGG",ct,ht);f("gggg",ct,ht);f("GGGGG",Ce,Ae);f("ggggg",Ce,Ae);Oe(["gggg","ggggg","GGGG","GGGGG"],function(e,t,s,r){t[r.substr(0,2)]=y(e)});Oe(["gg","GG"],function(e,t,s,r){t[r]=d.parseTwoDigitYear(e)});function si(e){return Ls.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function ri(e){return Ls.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function ni(){return Z(this.year(),1,4)}function ai(){return Z(this.isoWeekYear(),1,4)}function ii(){var e=this.localeData()._week;return Z(this.year(),e.dow,e.doy)}function oi(){var e=this.localeData()._week;return Z(this.weekYear(),e.dow,e.doy)}function Ls(e,t,s,r,n){var a;return e==null?Se(this,r,n).year:(a=Z(e,r,n),t>a&&(t=a),li.call(this,e,t,s,r,n))}function li(e,t,s,r,n){var a=cs(e,t,s,r,n),i=ke(a.year,0,a.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}h("Q",0,"Qo","quarter");f("Q",ss);k("Q",function(e,t){t[z]=(y(e)-1)*3});function ui(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}h("D",["DD",2],"Do","date");f("D",D,me);f("DD",D,E);f("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});k(["D","DD"],U);k("Do",function(e,t){t[U]=y(e.match(D)[0])});var Ps=_e("Date",!0);h("DDD",["DDDD",3],"DDDo","dayOfYear");f("DDD",Ue);f("DDDD",rs);k(["DDD","DDDD"],function(e,t,s){s._dayOfYear=y(e)});function di(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}h("m",["mm",2],0,"minute");f("m",D,mt);f("mm",D,E);k(["m","mm"],P);var fi=_e("Minutes",!1);h("s",["ss",2],0,"second");f("s",D,mt);f("ss",D,E);k(["s","ss"],B);var hi=_e("Seconds",!1);h("S",0,0,function(){return~~(this.millisecond()/100)});h(0,["SS",2],0,function(){return~~(this.millisecond()/10)});h(0,["SSS",3],0,"millisecond");h(0,["SSSS",4],0,function(){return this.millisecond()*10});h(0,["SSSSS",5],0,function(){return this.millisecond()*100});h(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});h(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});h(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});h(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});f("S",Ue,ss);f("SS",Ue,E);f("SSS",Ue,rs);var X,Ws;for(X="SSSS";X.length<=9;X+="S")f(X,ce);function ci(e,t){t[ne]=y(("0."+e)*1e3)}for(X="S";X.length<=9;X+="S")k(X,ci);Ws=_e("Milliseconds",!1);h("z",0,0,"zoneAbbr");h("zz",0,0,"zoneName");function mi(){return this._isUTC?"UTC":""}function _i(){return this._isUTC?"Coordinated Universal Time":""}var l=Me.prototype;l.add=oa;l.calendar=ma;l.clone=_a;l.diff=Da;l.endOf=Ra;l.format=Oa;l.from=Ta;l.fromNow=xa;l.to=Na;l.toNow=ba;l.get=Mr;l.invalidAt=Ha;l.isAfter=ya;l.isBefore=va;l.isBetween=wa;l.isSame=ga;l.isSameOrAfter=ka;l.isSameOrBefore=Sa;l.isValid=Ua;l.lang=Ns;l.locale=xs;l.localeData=bs;l.max=Un;l.min=An;l.parsingFlags=Ca;l.set=Yr;l.startOf=Ea;l.subtract=la;l.toArray=Wa;l.toObject=Fa;l.toDate=Pa;l.toISOString=Ma;l.inspect=Ya;typeof Symbol<"u"&&Symbol.for!=null&&(l[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});l.toJSON=Aa;l.toString=pa;l.unix=La;l.valueOf=Ia;l.creationData=Va;l.eraName=Ba;l.eraNarrow=$a;l.eraAbbr=Za;l.eraYear=qa;l.year=is;l.isLeapYear=pr;l.weekYear=si;l.isoWeekYear=ri;l.quarter=l.quarters=ui;l.month=fs;l.daysInMonth=Lr;l.week=l.weeks=Vr;l.isoWeek=l.isoWeeks=Gr;l.weeksInYear=ii;l.weeksInWeekYear=oi;l.isoWeeksInYear=ni;l.isoWeeksInISOWeekYear=ai;l.date=Ps;l.day=l.days=sn;l.weekday=rn;l.isoWeekday=nn;l.dayOfYear=di;l.hour=l.hours=hn;l.minute=l.minutes=fi;l.second=l.seconds=hi;l.millisecond=l.milliseconds=Ws;l.utcOffset=Zn;l.utc=Jn;l.local=Qn;l.parseZone=Kn;l.hasAlignedHourOffset=Xn;l.isDST=ea;l.isLocal=sa;l.isUtcOffset=ra;l.isUtc=Ms;l.isUTC=Ms;l.zoneAbbr=mi;l.zoneName=_i;l.dates=I("dates accessor is deprecated. Use date instead.",Ps);l.months=I("months accessor is deprecated. Use month instead",fs);l.years=I("years accessor is deprecated. Use year instead",is);l.zone=I("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",qn);l.isDSTShifted=I("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",ta);function yi(e){return S(e*1e3)}function vi(){return S.apply(null,arguments).parseZone()}function Fs(e){return e}var g=ut.prototype;g.calendar=tr;g.longDateFormat=ar;g.invalidDate=or;g.ordinal=dr;g.preparse=Fs;g.postformat=Fs;g.relativeTime=hr;g.pastFuture=cr;g.set=Xs;g.eras=Ga;g.erasParse=ja;g.erasConvertYear=za;g.erasAbbrRegex=Qa;g.erasNameRegex=Ja;g.erasNarrowRegex=Ka;g.months=br;g.monthsShort=Er;g.monthsParse=Ir;g.monthsRegex=Wr;g.monthsShortRegex=Pr;g.week=Ar;g.firstDayOfYear=Hr;g.firstDayOfWeek=Cr;g.weekdays=Qr;g.weekdaysMin=Xr;g.weekdaysShort=Kr;g.weekdaysParse=tn;g.weekdaysRegex=an;g.weekdaysShortRegex=on;g.weekdaysMinRegex=ln;g.isPM=dn;g.meridiem=cn;function We(e,t,s,r){var n=J(),a=H().set(r,t);return n[s](a,e)}function As(e,t,s){if(q(e)&&(t=e,e=void 0),e=e||"",t!=null)return We(e,t,s,"month");var r,n=[];for(r=0;r<12;r++)n[r]=We(e,r,s,"month");return n}function Tt(e,t,s,r){typeof e=="boolean"?(q(t)&&(s=t,t=void 0),t=t||""):(t=e,s=t,e=!1,q(t)&&(s=t,t=void 0),t=t||"");var n=J(),a=e?n._week.dow:0,i,u=[];if(s!=null)return We(t,(s+a)%7,r,"day");for(i=0;i<7;i++)u[i]=We(t,(i+a)%7,r,"day");return u}function wi(e,t){return As(e,t,"months")}function gi(e,t){return As(e,t,"monthsShort")}function ki(e,t,s){return Tt(e,t,s,"weekdays")}function Si(e,t,s){return Tt(e,t,s,"weekdaysShort")}function Di(e,t,s){return Tt(e,t,s,"weekdaysMin")}ee("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,s=y(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+s}});d.lang=I("moment.lang is deprecated. Use moment.locale instead.",ee);d.langData=I("moment.langData is deprecated. Use moment.localeData instead.",J);var G=Math.abs;function pi(){var e=this._data;return this._milliseconds=G(this._milliseconds),this._days=G(this._days),this._months=G(this._months),e.milliseconds=G(e.milliseconds),e.seconds=G(e.seconds),e.minutes=G(e.minutes),e.hours=G(e.hours),e.months=G(e.months),e.years=G(e.years),this}function Us(e,t,s,r){var n=A(t,s);return e._milliseconds+=r*n._milliseconds,e._days+=r*n._days,e._months+=r*n._months,e._bubble()}function Mi(e,t){return Us(this,e,t,1)}function Yi(e,t){return Us(this,e,t,-1)}function Ft(e){return e<0?Math.floor(e):Math.ceil(e)}function Oi(){var e=this._milliseconds,t=this._days,s=this._months,r=this._data,n,a,i,u,c;return e>=0&&t>=0&&s>=0||e<=0&&t<=0&&s<=0||(e+=Ft(at(s)+t)*864e5,t=0,s=0),r.milliseconds=e%1e3,n=R(e/1e3),r.seconds=n%60,a=R(n/60),r.minutes=a%60,i=R(a/60),r.hours=i%24,t+=R(i/24),c=R(Cs(t)),s+=c,t-=Ft(at(c)),u=R(s/12),s%=12,r.days=t,r.months=s,r.years=u,this}function Cs(e){return e*4800/146097}function at(e){return e*146097/4800}function Ti(e){if(!this.isValid())return NaN;var t,s,r=this._milliseconds;if(e=L(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,s=this._months+Cs(t),e){case"month":return s;case"quarter":return s/3;case"year":return s/12}else switch(t=this._days+Math.round(at(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 Q(e){return function(){return this.as(e)}}var Hs=Q("ms"),xi=Q("s"),Ni=Q("m"),bi=Q("h"),Ei=Q("d"),Ri=Q("w"),Ii=Q("M"),Li=Q("Q"),Pi=Q("y"),Wi=Hs;function Fi(){return A(this)}function Ai(e){return e=L(e),this.isValid()?this[e+"s"]():NaN}function ie(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ui=ie("milliseconds"),Ci=ie("seconds"),Hi=ie("minutes"),Vi=ie("hours"),Gi=ie("days"),ji=ie("months"),zi=ie("years");function Bi(){return R(this.days()/7)}var j=Math.round,ue={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function $i(e,t,s,r,n){return n.relativeTime(t||1,!!s,e,r)}function Zi(e,t,s,r){var n=A(e).abs(),a=j(n.as("s")),i=j(n.as("m")),u=j(n.as("h")),c=j(n.as("d")),_=j(n.as("M")),Y=j(n.as("w")),T=j(n.as("y")),N=a<=s.ss&&["s",a]||a<s.s&&["ss",a]||i<=1&&["m"]||i<s.m&&["mm",i]||u<=1&&["h"]||u<s.h&&["hh",u]||c<=1&&["d"]||c<s.d&&["dd",c];return s.w!=null&&(N=N||Y<=1&&["w"]||Y<s.w&&["ww",Y]),N=N||_<=1&&["M"]||_<s.M&&["MM",_]||T<=1&&["y"]||["yy",T],N[2]=t,N[3]=+e>0,N[4]=r,$i.apply(null,N)}function qi(e){return e===void 0?j:typeof e=="function"?(j=e,!0):!1}function Ji(e,t){return ue[e]===void 0?!1:t===void 0?ue[e]:(ue[e]=t,e==="s"&&(ue.ss=t-1),!0)}function Qi(e,t){if(!this.isValid())return this.localeData().invalidDate();var s=!1,r=ue,n,a;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(s=e),typeof t=="object"&&(r=Object.assign({},ue,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),n=this.localeData(),a=Zi(this,!s,r,n),s&&(a=n.pastFuture(+this,a)),n.postformat(a)}var Qe=Math.abs;function oe(e){return(e>0)-(e<0)||+e}function $e(){if(!this.isValid())return this.localeData().invalidDate();var e=Qe(this._milliseconds)/1e3,t=Qe(this._days),s=Qe(this._months),r,n,a,i,u=this.asSeconds(),c,_,Y,T;return u?(r=R(e/60),n=R(r/60),e%=60,r%=60,a=R(s/12),s%=12,i=e?e.toFixed(3).replace(/\.?0+$/,""):"",c=u<0?"-":"",_=oe(this._months)!==oe(u)?"-":"",Y=oe(this._days)!==oe(u)?"-":"",T=oe(this._milliseconds)!==oe(u)?"-":"",c+"P"+(a?_+a+"Y":"")+(s?_+s+"M":"")+(t?Y+t+"D":"")+(n||r||e?"T":"")+(n?T+n+"H":"")+(r?T+r+"M":"")+(e?T+i+"S":"")):"P0D"}var v=ze.prototype;v.isValid=jn;v.abs=pi;v.add=Mi;v.subtract=Yi;v.as=Ti;v.asMilliseconds=Hs;v.asSeconds=xi;v.asMinutes=Ni;v.asHours=bi;v.asDays=Ei;v.asWeeks=Ri;v.asMonths=Ii;v.asQuarters=Li;v.asYears=Pi;v.valueOf=Wi;v._bubble=Oi;v.clone=Fi;v.get=Ai;v.milliseconds=Ui;v.seconds=Ci;v.minutes=Hi;v.hours=Vi;v.days=Gi;v.weeks=Bi;v.months=ji;v.years=zi;v.humanize=Qi;v.toISOString=$e;v.toString=$e;v.toJSON=$e;v.locale=xs;v.localeData=bs;v.toIsoString=I("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",$e);v.lang=Ns;h("X",0,0,"unix");h("x",0,0,"valueOf");f("x",He);f("X",vr);k("X",function(e,t,s){s._d=new Date(parseFloat(e)*1e3)});k("x",function(e,t,s){s._d=new Date(y(e))});//! moment.js
10
+ d.version="2.30.1";Qs(S);d.fn=l;d.min=Cn;d.max=Hn;d.now=Vn;d.utc=H;d.unix=yi;d.months=wi;d.isDate=pe;d.locale=ee;d.invalid=Fe;d.duration=A;d.isMoment=F;d.weekdays=ki;d.parseZone=vi;d.localeData=J;d.isDuration=be;d.monthsShort=gi;d.weekdaysMin=Di;d.defineLocale=gt;d.updateLocale=vn;d.locales=wn;d.weekdaysShort=Si;d.normalizeUnits=L;d.relativeTimeRounding=qi;d.relativeTimeThreshold=Ji;d.calendarFormat=ca;d.prototype=l;d.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
+ //! locale : French [fr]
12
+ //! author : John Fischer : https://github.com/jfroffice
13
+ var Ki=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,Xi=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,At=/(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,Ke=[/^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];d.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:At,monthsShortRegex:At,monthsStrictRegex:Ki,monthsShortStrictRegex:Xi,monthsParse:Ke,longMonthsParse:Ke,shortMonthsParse:Ke,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 Ut;(function(e){e[e.DISABLED=0]="DISABLED",e[e.ENABLED=1]="ENABLED"})(Ut||(Ut={}));var Ct;(function(e){e.IMAGE="image",e.VIDEO="video"})(Ct||(Ct={}));var Ht;(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"})(Ht||(Ht={}));var Vt;(function(e){e[e.FALSE=0]="FALSE",e[e.TRUE=1]="TRUE"})(Vt||(Vt={}));var Gt;(function(e){e.NEWS_TAG="news-tag",e.NEWS_CATEGORY="news-category",e.NEWS_ARTICLE="news-article",e.CONTENT_MODEL="content-model"})(Gt||(Gt={}));var jt;(function(e){e.EXTERNAL_LINK="external-link",e.PAGE_LINK="page-link",e.CONTENT_LINK="content-link"})(jt||(jt={}));var zt;(function(e){e[e.SYSTEM=1]="SYSTEM",e[e.USER=2]="USER"})(zt||(zt={}));var Bt;(function(e){e.WELCOME_USER="App\\Notifications\\WelcomeUser"})(Bt||(Bt={}));var $t;(function(e){e.NEWS_TAG="news-tag",e.NEWS_CATEGORY="news-category",e.NEWS_ARTICLE="news-article",e.CONTENT_MODEL="content-model"})($t||($t={}));var Zt;(function(e){e.SUBSCRIBER="App\\Models\\SubscriberProfile"})(Zt||(Zt={}));var qt;(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"})(qt||(qt={}));var Jt;(function(e){e.SUPER_ADMIN="super-admin",e.ADMIN="admin",e.USER="user"})(Jt||(Jt={}));const eo=["id"],to=o.defineComponent({__name:"RootContainer",props:{page:{},sections:{default:()=>[]},components:{default:()=>({})}},setup(e){const t=e;return o.onMounted(()=>{setTimeout(()=>{const s=t.page.props.sectionData;s&&t.sections.find(r=>r.slug==s.slug&&r.pivot?.linkId==s.pivot?.linkId)&&Js(`${s.slug}__${s.pivot?.linkId}-container`)},1e3)}),(s,r)=>(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.sections,(n,a)=>(o.openBlock(),o.createElementBlock("section",{key:"section-"+a,id:`${n.slug}__${n.pivot?.linkId}-container`,class:"reset-styles"},[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(s.components[n.name]),{data:n.pivot?.data,setings:n.pivot?.settings,"section-key":`${n.slug}__${n.pivot?.linkId}`,metadata:{slug:n.slug,name:n.name,title:n.title,linkId:n.pivot?.linkId,createdAt:n.createdAt,updatedAt:n.updatedAt}},null,8,["data","setings","section-key","metadata"]))],8,eo))),128))}}),Vs=(e,t)=>{const s=e.__vccOpts||e;for(const[r,n]of t)s[r]=n;return s},Gs=Vs(to,[["__scopeId","data-v-0ceb2bac"]]),so=["src","alt","title","width","height","loading"],js=o.defineComponent({__name:"AsyncImg",props:{load:{type:Function},alt:{},width:{},height:{},title:{},loading:{},style:{}},setup(e){const t=e,s=o.ref("");return(async()=>{s.value=await t.load()})(),(n,a)=>(o.openBlock(),o.createElementBlock("img",{src:o.unref(s),alt:t.alt,title:t.title,style:o.normalizeStyle(t.style),width:t.width,height:t.height,loading:t.loading},null,12,so))}}),ro=o.defineComponent({__name:"CustomTransition",props:{name:{default:"fade"},mode:{default:"out-in"},appear:{type:Boolean,default:!1}},setup(e){const t=e;return(s,r)=>(o.openBlock(),o.createBlock(o.Transition,{name:t.name,mode:t.mode,appear:t.appear},{default:o.withCtx(()=>[o.renderSlot(s.$slots,"default",{},void 0,!0)]),_:3},8,["name","mode","appear"]))}}),zs=Vs(ro,[["__scopeId","data-v-30b5e62e"]]),Bs=o.defineComponent({__name:"MountedTeleport",props:{to:{}},setup(e){const t=e,s=o.ref(!1);return o.onMounted(()=>{s.value=!0}),o.onUnmounted(()=>{s.value=!1}),(r,n)=>o.unref(s)?(o.openBlock(),o.createBlock(o.Teleport,{key:0,to:t.to},[o.renderSlot(r.$slots,"default")],8,["to"])):o.createCommentVNode("",!0)}}),no=["innerHTML"],ao=["href"],io=["href"],$s=o.defineComponent({__name:"ReadMore",props:{moreStr:{default:"Read more"},lessStr:{default:""},text:{},link:{default:"#"},maxChars:{default:100}},setup(e){const t=e,s=o.ref(!1),r=o.computed(()=>!s.value&&t.text.length>t.maxChars?t.text.substring(0,t.maxChars)+"...":t.text),n=(a,i)=>{t.link=="#"&&a.preventDefault(),t.lessStr&&(s.value=i)};return(a,i)=>(o.openBlock(),o.createElementBlock("div",null,[o.createElementVNode("span",{innerHTML:o.unref(r)},null,8,no),o.withDirectives(o.createElementVNode("span",null,[o.withDirectives(o.createElementVNode("a",{id:"readmore",href:t.link,onClick:i[0]||(i[0]=u=>n(u,!0))},o.toDisplayString(t.moreStr),9,ao),[[o.vShow,!o.unref(s)]]),o.withDirectives(o.createElementVNode("a",{id:"readmore",href:t.link,onClick:i[1]||(i[1]=u=>n(u,!1))},o.toDisplayString(t.lessStr),9,io),[[o.vShow,o.unref(s)]])],512),[[o.vShow,t.text.length>t.maxChars]])]))}}),Zs=o.defineComponent({__name:"StickyBottom",props:{bottom:{default:0},zIndex:{default:1},className:{default:""}},setup(e){const t=e,s=o.ref(null),r=o.ref(!1),n=o.ref(""),a=o.ref(void 0),i=o.ref(void 0),u=o.ref(!1);o.onMounted(()=>{i.value=s.value?.getBoundingClientRect().height,window.addEventListener("scroll",T),window.addEventListener("resize",N),T()}),o.onActivated(()=>{T()}),o.onUnmounted(()=>{window.removeEventListener("scroll",T),window.removeEventListener("resize",N)});const c=()=>{r.value||(n.value="fixed",r.value=!0,a.value=a.value+"px",u.value=!0)},_=()=>{r.value&&Y()},Y=()=>{n.value="",a.value="auto",r.value=!1,u.value=!1},T=()=>{const te=s.value?.getBoundingClientRect().width;if(a.value=te||"auto",(s.value?.getBoundingClientRect().bottom||0)>t.bottom){c();return}_()},N=()=>{u.value&&(a.value=s.value?.getBoundingClientRect().width+"px")};return(te,se)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"el",ref:s,style:o.normalizeStyle({height:o.unref(i)+"px",zIndex:t.zIndex})},[o.createElementVNode("div",{class:o.normalizeClass(t.className),style:o.normalizeStyle({bottom:o.unref(u)?t.bottom+"px":"",zIndex:t.zIndex,position:o.unref(n),width:o.unref(a),height:o.unref(i)+"px"})},[o.renderSlot(te.$slots,"default",{},()=>[se[0]||(se[0]=o.createElementVNode("div",null,"Sticky Bottom",-1))])],6)],4))}}),qs=o.defineComponent({__name:"StickyTop",props:{top:{default:0},zIndex:{default:1},className:{default:""}},setup(e){const t=e,s=o.ref(null),r=o.ref(!1),n=o.ref(""),a=o.ref(void 0),i=o.ref(void 0),u=o.ref(!1);o.onMounted(()=>{i.value=s.value?.getBoundingClientRect().height,window.addEventListener("scroll",T),window.addEventListener("resize",N)}),o.onActivated(()=>{T()}),o.onUnmounted(()=>{window.removeEventListener("scroll",T),window.removeEventListener("resize",N)});const c=()=>{r.value||(n.value="fixed",r.value=!0,a.value=a.value+"px",u.value=!0)},_=()=>{r.value&&Y()},Y=()=>{n.value="",a.value="auto",r.value=!1,u.value=!1},T=()=>{const te=s.value?.getBoundingClientRect().width;if(a.value=te||"auto",(s.value?.getBoundingClientRect().top||0)<t.top){c();return}_()},N=()=>{u.value&&(a.value=s.value?.getBoundingClientRect().width+"px")};return(te,se)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"el",ref:s,style:o.normalizeStyle({height:o.unref(i)+"px",zIndex:t.zIndex})},[o.createElementVNode("div",{class:o.normalizeClass(t.className),style:o.normalizeStyle({top:o.unref(u)?t.top+"px":"",zIndex:t.zIndex,position:o.unref(n),width:o.unref(a),height:o.unref(i)+"px"})},[o.renderSlot(te.$slots,"default",{},()=>[se[0]||(se[0]=o.createElementVNode("div",null,"Sticky Top",-1))])],6)],4))}}),oo={install(e){e.component("RootContainer",Gs),e.component("CustomTransition",zs),e.component("MountedTeleport",Bs),e.component("StickyBottom",Zs),e.component("StickyTop",qs),e.component("ReadMore",$s),e.component("AsyncImg",js)}};exports.AsyncImg=js;exports.CustomTransition=zs;exports.MountedTeleport=Bs;exports.ReadMore=$s;exports.RootContainer=Gs;exports.StickyBottom=Zs;exports.StickyTop=qs;exports.default=oo;
package/dist/index.js CHANGED
@@ -1 +1,13 @@
1
- var CreopseVueToolkit=function(d,e){"use strict";const x=["src","alt","title","width","height","loading"],_=e.defineComponent({__name:"AsyncImg",props:{load:{type:Function},alt:{},width:{},height:{},title:{},loading:{},style:{}},setup(o){const t=o,n=e.ref("");return(async()=>{n.value=await t.load()})(),(i,r)=>(e.openBlock(),e.createElementBlock("img",{src:e.unref(n),alt:t.alt,title:t.title,style:e.normalizeStyle(t.style),width:t.width,height:t.height,loading:t.loading},null,12,x))}}),w=((o,t)=>{const n=o.__vccOpts||o;for(const[l,i]of t)n[l]=i;return n})(e.defineComponent({__name:"CustomTransition",props:{name:{default:"fade"},mode:{default:"out-in"},appear:{type:Boolean,default:!1}},setup(o){const t=o;return(n,l)=>(e.openBlock(),e.createBlock(e.Transition,{name:t.name,mode:t.mode,appear:t.appear},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default",{},void 0,!0)]),_:3},8,["name","mode","appear"]))}}),[["__scopeId","data-v-30b5e62e"]]),y=e.defineComponent({__name:"MountedTeleport",props:{to:{}},setup(o){const t=o,n=e.ref(!1);return e.onMounted(()=>{n.value=!0}),e.onUnmounted(()=>{n.value=!1}),(l,i)=>e.unref(n)?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:t.to},[e.renderSlot(l.$slots,"default")],8,["to"])):e.createCommentVNode("",!0)}}),B=["innerHTML"],z=["href"],E=["href"],k=e.defineComponent({__name:"ReadMore",props:{moreStr:{default:"Read more"},lessStr:{default:""},text:{},link:{default:"#"},maxChars:{default:100}},setup(o){const t=o,n=e.ref(!1),l=e.computed(()=>!n.value&&t.text.length>t.maxChars?t.text.substring(0,t.maxChars)+"...":t.text),i=(r,a)=>{t.link=="#"&&r.preventDefault(),t.lessStr&&(n.value=a)};return(r,a)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("span",{innerHTML:e.unref(l)},null,8,B),e.withDirectives(e.createElementVNode("span",null,[e.withDirectives(e.createElementVNode("a",{id:"readmore",href:t.link,onClick:a[0]||(a[0]=s=>i(s,!0))},e.toDisplayString(t.moreStr),9,z),[[e.vShow,!e.unref(n)]]),e.withDirectives(e.createElementVNode("a",{id:"readmore",href:t.link,onClick:a[1]||(a[1]=s=>i(s,!1))},e.toDisplayString(t.lessStr),9,E),[[e.vShow,e.unref(n)]])],512),[[e.vShow,t.text.length>t.maxChars]])]))}}),S=e.defineComponent({__name:"StickyBottom",props:{bottom:{default:0},zIndex:{default:1},className:{default:""}},setup(o){const t=o,n=e.ref(null),l=e.ref(!1),i=e.ref(""),r=e.ref(void 0),a=e.ref(void 0),s=e.ref(!1);e.onMounted(()=>{a.value=n.value?.getBoundingClientRect().height,window.addEventListener("scroll",c),window.addEventListener("resize",p),c()}),e.onActivated(()=>{c()}),e.onUnmounted(()=>{window.removeEventListener("scroll",c),window.removeEventListener("resize",p)});const u=()=>{l.value||(i.value="fixed",l.value=!0,r.value=r.value+"px",s.value=!0)},h=()=>{l.value&&g()},g=()=>{i.value="",r.value="auto",l.value=!1,s.value=!1},c=()=>{const f=n.value?.getBoundingClientRect().width;if(r.value=f||"auto",(n.value?.getBoundingClientRect().bottom||0)>t.bottom){u();return}h()},p=()=>{s.value&&(r.value=n.value?.getBoundingClientRect().width+"px")};return(f,m)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"el",ref:n,style:e.normalizeStyle({height:e.unref(a)+"px",zIndex:t.zIndex})},[e.createElementVNode("div",{class:e.normalizeClass(t.className),style:e.normalizeStyle({bottom:e.unref(s)?t.bottom+"px":"",zIndex:t.zIndex,position:e.unref(i),width:e.unref(r),height:e.unref(a)+"px"})},[e.renderSlot(f.$slots,"default",{},()=>[m[0]||(m[0]=e.createElementVNode("div",null,"Sticky Bottom",-1))])],6)],4))}}),C=e.defineComponent({__name:"StickyTop",props:{top:{default:0},zIndex:{default:1},className:{default:""}},setup(o){const t=o,n=e.ref(null),l=e.ref(!1),i=e.ref(""),r=e.ref(void 0),a=e.ref(void 0),s=e.ref(!1);e.onMounted(()=>{a.value=n.value?.getBoundingClientRect().height,window.addEventListener("scroll",c),window.addEventListener("resize",p)}),e.onActivated(()=>{c()}),e.onUnmounted(()=>{window.removeEventListener("scroll",c),window.removeEventListener("resize",p)});const u=()=>{l.value||(i.value="fixed",l.value=!0,r.value=r.value+"px",s.value=!0)},h=()=>{l.value&&g()},g=()=>{i.value="",r.value="auto",l.value=!1,s.value=!1},c=()=>{const f=n.value?.getBoundingClientRect().width;if(r.value=f||"auto",(n.value?.getBoundingClientRect().top||0)<t.top){u();return}h()},p=()=>{s.value&&(r.value=n.value?.getBoundingClientRect().width+"px")};return(f,m)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"el",ref:n,style:e.normalizeStyle({height:e.unref(a)+"px",zIndex:t.zIndex})},[e.createElementVNode("div",{class:e.normalizeClass(t.className),style:e.normalizeStyle({top:e.unref(s)?t.top+"px":"",zIndex:t.zIndex,position:e.unref(i),width:e.unref(r),height:e.unref(a)+"px"})},[e.renderSlot(f.$slots,"default",{},()=>[m[0]||(m[0]=e.createElementVNode("div",null,"Sticky Top",-1))])],6)],4))}}),T={install(o){o.component("CustomTransition",w),o.component("MountedTeleport",y),o.component("StickyBottom",S),o.component("StickyTop",C),o.component("ReadMore",k),o.component("AsyncImg",_)}};return d.AsyncImg=_,d.CustomTransition=w,d.MountedTeleport=y,d.ReadMore=k,d.StickyBottom=S,d.StickyTop=C,d.default=T,Object.defineProperties(d,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),d}({},Vue);
1
+ var CreopseVueToolkit=function(U,o){"use strict";var Nt;(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"})(Nt||(Nt={}));var bt;(function(e){e[e.DRAFT=1]="DRAFT",e[e.PENDING=2]="PENDING",e[e.PUBLISHED=3]="PUBLISHED",e[e.TRASH=4]="TRASH"})(bt||(bt={}));var Et;(function(e){e.VERTICAL="vertical",e.HORIZONTAL="horizontal"})(Et||(Et={}));var Rt;(function(e){e.SELF_HOSTED="self-hosted",e.YOUTUBE="youtube"})(Rt||(Rt={}));function Qs(e){const t=document.getElementById(e);t?t.scrollIntoView({behavior:"smooth",block:"start"}):console.error(`Element with ID "${e}" not found.`)}//! moment.js
2
+ //! version : 2.30.1
3
+ //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
4
+ //! license : MIT
5
+ //! momentjs.com
6
+ var It;function d(){return It.apply(null,arguments)}function Ks(e){It=e}function P(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function se(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function g(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function qe(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(g(e,t))return!1;return!0}function N(e){return e===void 0}function j(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function we(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Lt(e,t){var s=[],r,n=e.length;for(r=0;r<n;++r)s.push(t(e[r],r));return s}function X(e,t){for(var s in t)g(t,s)&&(e[s]=t[s]);return g(t,"toString")&&(e.toString=t.toString),g(t,"valueOf")&&(e.valueOf=t.valueOf),e}function C(e,t,s,r){return os(e,t,s,r,!0).utc()}function Xs(){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 m(e){return e._pf==null&&(e._pf=Xs()),e._pf}var Je;Array.prototype.some?Je=Array.prototype.some:Je=function(e){var t=Object(this),s=t.length>>>0,r;for(r=0;r<s;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};function Qe(e){var t=null,s=!1,r=e._d&&!isNaN(e._d.getTime());if(r&&(t=m(e),s=Je.call(t.parsedDateParts,function(n){return n!=null}),r=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&s),e._strict&&(r=r&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=r;else return r;return e._isValid}function xe(e){var t=C(NaN);return e!=null?X(m(t),e):m(t).userInvalidated=!0,t}var Pt=d.momentProperties=[],Ke=!1;function Xe(e,t){var s,r,n,a=Pt.length;if(N(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),N(t._i)||(e._i=t._i),N(t._f)||(e._f=t._f),N(t._l)||(e._l=t._l),N(t._strict)||(e._strict=t._strict),N(t._tzm)||(e._tzm=t._tzm),N(t._isUTC)||(e._isUTC=t._isUTC),N(t._offset)||(e._offset=t._offset),N(t._pf)||(e._pf=m(t)),N(t._locale)||(e._locale=t._locale),a>0)for(s=0;s<a;s++)r=Pt[s],n=t[r],N(n)||(e[r]=n);return e}function ge(e){Xe(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Ke===!1&&(Ke=!0,d.updateOffset(this),Ke=!1)}function W(e){return e instanceof ge||e!=null&&e._isAMomentObject!=null}function Wt(e){d.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function R(e,t){var s=!0;return X(function(){if(d.deprecationHandler!=null&&d.deprecationHandler(null,e),s){var r=[],n,a,i,u=arguments.length;for(a=0;a<u;a++){if(n="",typeof arguments[a]=="object"){n+=`
7
+ [`+a+"] ";for(i in arguments[0])g(arguments[0],i)&&(n+=i+": "+arguments[0][i]+", ");n=n.slice(0,-2)}else n=arguments[a];r.push(n)}Wt(e+`
8
+ Arguments: `+Array.prototype.slice.call(r).join("")+`
9
+ `+new Error().stack),s=!1}return t.apply(this,arguments)},t)}var Ft={};function At(e,t){d.deprecationHandler!=null&&d.deprecationHandler(e,t),Ft[e]||(Wt(t),Ft[e]=!0)}d.suppressDeprecationWarnings=!1,d.deprecationHandler=null;function H(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function er(e){var t,s;for(s in e)g(e,s)&&(t=e[s],H(t)?this[s]=t:this["_"+s]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function et(e,t){var s=X({},e),r;for(r in t)g(t,r)&&(se(e[r])&&se(t[r])?(s[r]={},X(s[r],e[r]),X(s[r],t[r])):t[r]!=null?s[r]=t[r]:delete s[r]);for(r in e)g(e,r)&&!g(t,r)&&se(e[r])&&(s[r]=X({},s[r]));return s}function tt(e){e!=null&&this.set(e)}var st;Object.keys?st=Object.keys:st=function(e){var t,s=[];for(t in e)g(e,t)&&s.push(t);return s};var tr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function sr(e,t,s){var r=this._calendar[e]||this._calendar.sameElse;return H(r)?r.call(t,s):r}function V(e,t,s){var r=""+Math.abs(e),n=t-r.length,a=e>=0;return(a?s?"+":"":"-")+Math.pow(10,Math.max(0,n)).toString().substr(1)+r}var rt=/(\[[^\[]*\])|(\\)?([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,Ne=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,nt={},le={};function h(e,t,s,r){var n=r;typeof r=="string"&&(n=function(){return this[r]()}),e&&(le[e]=n),t&&(le[t[0]]=function(){return V(n.apply(this,arguments),t[1],t[2])}),s&&(le[s]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function rr(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function nr(e){var t=e.match(rt),s,r;for(s=0,r=t.length;s<r;s++)le[t[s]]?t[s]=le[t[s]]:t[s]=rr(t[s]);return function(n){var a="",i;for(i=0;i<r;i++)a+=H(t[i])?t[i].call(n,e):t[i];return a}}function be(e,t){return e.isValid()?(t=Ut(t,e.localeData()),nt[t]=nt[t]||nr(t),nt[t](e)):e.localeData().invalidDate()}function Ut(e,t){var s=5;function r(n){return t.longDateFormat(n)||n}for(Ne.lastIndex=0;s>=0&&Ne.test(e);)e=e.replace(Ne,r),Ne.lastIndex=0,s-=1;return e}var ar={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 ir(e){var t=this._longDateFormat[e],s=this._longDateFormat[e.toUpperCase()];return t||!s?t:(this._longDateFormat[e]=s.match(rt).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var or="Invalid date";function lr(){return this._invalidDate}var ur="%d",dr=/\d{1,2}/;function fr(e){return this._ordinal.replace("%d",e)}var hr={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 cr(e,t,s,r){var n=this._relativeTime[s];return H(n)?n(e,t,s,r):n.replace(/%d/i,e)}function mr(e,t){var s=this._relativeTime[e>0?"future":"past"];return H(s)?s(t):s.replace(/%s/i,t)}var Ct={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 I(e){return typeof e=="string"?Ct[e]||Ct[e.toLowerCase()]:void 0}function at(e){var t={},s,r;for(r in e)g(e,r)&&(s=I(r),s&&(t[s]=e[r]));return t}var _r={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 yr(e){var t=[],s;for(s in e)g(e,s)&&t.push({unit:s,priority:_r[s]});return t.sort(function(r,n){return r.priority-n.priority}),t}var Ht=/\d/,E=/\d\d/,Vt=/\d{3}/,it=/\d{4}/,Ee=/[+-]?\d{6}/,D=/\d\d?/,Gt=/\d\d\d\d?/,jt=/\d\d\d\d\d\d?/,Re=/\d{1,3}/,ot=/\d{1,4}/,Ie=/[+-]?\d{1,6}/,ue=/\d+/,Le=/[+-]?\d+/,wr=/Z|[+-]\d\d:?\d\d/gi,Pe=/Z|[+-]\d\d(?::?\d\d)?/gi,gr=/[+-]?\d+(\.\d{1,3})?/,ke=/[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,de=/^[1-9]\d?/,lt=/^([1-9]\d|\d)/,We;We={};function f(e,t,s){We[e]=H(t)?t:function(r,n){return r&&s?s:t}}function kr(e,t){return g(We,e)?We[e](t._strict,t._locale):new RegExp(Sr(e))}function Sr(e){return z(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,s,r,n,a){return s||r||n||a}))}function z(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function L(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function y(e){var t=+e,s=0;return t!==0&&isFinite(t)&&(s=L(t)),s}var ut={};function S(e,t){var s,r=t,n;for(typeof e=="string"&&(e=[e]),j(t)&&(r=function(a,i){i[t]=y(a)}),n=e.length,s=0;s<n;s++)ut[e[s]]=r}function Se(e,t){S(e,function(s,r,n,a){n._w=n._w||{},t(s,n._w,n,a)})}function Dr(e,t,s){t!=null&&g(ut,e)&&ut[e](t,s._a,s,e)}function Fe(e){return e%4===0&&e%100!==0||e%400===0}var x=0,B=1,G=2,Y=3,F=4,$=5,re=6,Mr=7,pr=8;h("Y",0,0,function(){var e=this.year();return e<=9999?V(e,4):"+"+e}),h(0,["YY",2],0,function(){return this.year()%100}),h(0,["YYYY",4],0,"year"),h(0,["YYYYY",5],0,"year"),h(0,["YYYYYY",6,!0],0,"year"),f("Y",Le),f("YY",D,E),f("YYYY",ot,it),f("YYYYY",Ie,Ee),f("YYYYYY",Ie,Ee),S(["YYYYY","YYYYYY"],x),S("YYYY",function(e,t){t[x]=e.length===2?d.parseTwoDigitYear(e):y(e)}),S("YY",function(e,t){t[x]=d.parseTwoDigitYear(e)}),S("Y",function(e,t){t[x]=parseInt(e,10)});function De(e){return Fe(e)?366:365}d.parseTwoDigitYear=function(e){return y(e)+(y(e)>68?1900:2e3)};var zt=fe("FullYear",!0);function vr(){return Fe(this.year())}function fe(e,t){return function(s){return s!=null?(Bt(this,e,s),d.updateOffset(this,t),this):Me(this,e)}}function Me(e,t){if(!e.isValid())return NaN;var s=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?s.getUTCMilliseconds():s.getMilliseconds();case"Seconds":return r?s.getUTCSeconds():s.getSeconds();case"Minutes":return r?s.getUTCMinutes():s.getMinutes();case"Hours":return r?s.getUTCHours():s.getHours();case"Date":return r?s.getUTCDate():s.getDate();case"Day":return r?s.getUTCDay():s.getDay();case"Month":return r?s.getUTCMonth():s.getMonth();case"FullYear":return r?s.getUTCFullYear():s.getFullYear();default:return NaN}}function Bt(e,t,s){var r,n,a,i,u;if(!(!e.isValid()||isNaN(s))){switch(r=e._d,n=e._isUTC,t){case"Milliseconds":return void(n?r.setUTCMilliseconds(s):r.setMilliseconds(s));case"Seconds":return void(n?r.setUTCSeconds(s):r.setSeconds(s));case"Minutes":return void(n?r.setUTCMinutes(s):r.setMinutes(s));case"Hours":return void(n?r.setUTCHours(s):r.setHours(s));case"Date":return void(n?r.setUTCDate(s):r.setDate(s));case"FullYear":break;default:return}a=s,i=e.month(),u=e.date(),u=u===29&&i===1&&!Fe(a)?28:u,n?r.setUTCFullYear(a,i,u):r.setFullYear(a,i,u)}}function Yr(e){return e=I(e),H(this[e])?this[e]():this}function Or(e,t){if(typeof e=="object"){e=at(e);var s=yr(e),r,n=s.length;for(r=0;r<n;r++)this[s[r].unit](e[s[r].unit])}else if(e=I(e),H(this[e]))return this[e](t);return this}function Tr(e,t){return(e%t+t)%t}var v;Array.prototype.indexOf?v=Array.prototype.indexOf:v=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function dt(e,t){if(isNaN(e)||isNaN(t))return NaN;var s=Tr(t,12);return e+=(t-s)/12,s===1?Fe(e)?29:28:31-s%7%2}h("M",["MM",2],"Mo",function(){return this.month()+1}),h("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),h("MMMM",0,0,function(e){return this.localeData().months(this,e)}),f("M",D,de),f("MM",D,E),f("MMM",function(e,t){return t.monthsShortRegex(e)}),f("MMMM",function(e,t){return t.monthsRegex(e)}),S(["M","MM"],function(e,t){t[B]=y(e)-1}),S(["MMM","MMMM"],function(e,t,s,r){var n=s._locale.monthsParse(e,r,s._strict);n!=null?t[B]=n:m(s).invalidMonth=e});var xr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),$t="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Zt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Nr=ke,br=ke;function Er(e,t){return e?P(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Zt).test(t)?"format":"standalone"][e.month()]:P(this._months)?this._months:this._months.standalone}function Rr(e,t){return e?P(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Zt.test(t)?"format":"standalone"][e.month()]:P(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Ir(e,t,s){var r,n,a,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=C([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return s?t==="MMM"?(n=v.call(this._shortMonthsParse,i),n!==-1?n:null):(n=v.call(this._longMonthsParse,i),n!==-1?n:null):t==="MMM"?(n=v.call(this._shortMonthsParse,i),n!==-1?n:(n=v.call(this._longMonthsParse,i),n!==-1?n:null)):(n=v.call(this._longMonthsParse,i),n!==-1?n:(n=v.call(this._shortMonthsParse,i),n!==-1?n:null))}function Lr(e,t,s){var r,n,a;if(this._monthsParseExact)return Ir.call(this,e,t,s);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(n=C([2e3,r]),s&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),!s&&!this._monthsParse[r]&&(a="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),s&&t==="MMMM"&&this._longMonthsParse[r].test(e))return r;if(s&&t==="MMM"&&this._shortMonthsParse[r].test(e))return r;if(!s&&this._monthsParse[r].test(e))return r}}function qt(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=y(t);else if(t=e.localeData().monthsParse(t),!j(t))return e}var s=t,r=e.date();return r=r<29?r:Math.min(r,dt(e.year(),s)),e._isUTC?e._d.setUTCMonth(s,r):e._d.setMonth(s,r),e}function Jt(e){return e!=null?(qt(this,e),d.updateOffset(this,!0),this):Me(this,"Month")}function Pr(){return dt(this.year(),this.month())}function Wr(e){return this._monthsParseExact?(g(this,"_monthsRegex")||Qt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=Nr),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Fr(e){return this._monthsParseExact?(g(this,"_monthsRegex")||Qt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=br),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Qt(){function e(c,_){return _.length-c.length}var t=[],s=[],r=[],n,a,i,u;for(n=0;n<12;n++)a=C([2e3,n]),i=z(this.monthsShort(a,"")),u=z(this.months(a,"")),t.push(i),s.push(u),r.push(u),r.push(i);t.sort(e),s.sort(e),r.sort(e),this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Ar(e,t,s,r,n,a,i){var u;return e<100&&e>=0?(u=new Date(e+400,t,s,r,n,a,i),isFinite(u.getFullYear())&&u.setFullYear(e)):u=new Date(e,t,s,r,n,a,i),u}function pe(e){var t,s;return e<100&&e>=0?(s=Array.prototype.slice.call(arguments),s[0]=e+400,t=new Date(Date.UTC.apply(null,s)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ae(e,t,s){var r=7+t-s,n=(7+pe(e,0,r).getUTCDay()-t)%7;return-n+r-1}function Kt(e,t,s,r,n){var a=(7+s-r)%7,i=Ae(e,r,n),u=1+7*(t-1)+a+i,c,_;return u<=0?(c=e-1,_=De(c)+u):u>De(e)?(c=e+1,_=u-De(e)):(c=e,_=u),{year:c,dayOfYear:_}}function ve(e,t,s){var r=Ae(e.year(),t,s),n=Math.floor((e.dayOfYear()-r-1)/7)+1,a,i;return n<1?(i=e.year()-1,a=n+Z(i,t,s)):n>Z(e.year(),t,s)?(a=n-Z(e.year(),t,s),i=e.year()+1):(i=e.year(),a=n),{week:a,year:i}}function Z(e,t,s){var r=Ae(e,t,s),n=Ae(e+1,t,s);return(De(e)-r+n)/7}h("w",["ww",2],"wo","week"),h("W",["WW",2],"Wo","isoWeek"),f("w",D,de),f("ww",D,E),f("W",D,de),f("WW",D,E),Se(["w","ww","W","WW"],function(e,t,s,r){t[r.substr(0,1)]=y(e)});function Ur(e){return ve(e,this._week.dow,this._week.doy).week}var Cr={dow:0,doy:6};function Hr(){return this._week.dow}function Vr(){return this._week.doy}function Gr(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function jr(e){var t=ve(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}h("d",0,"do","day"),h("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),h("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),h("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),h("e",0,0,"weekday"),h("E",0,0,"isoWeekday"),f("d",D),f("e",D),f("E",D),f("dd",function(e,t){return t.weekdaysMinRegex(e)}),f("ddd",function(e,t){return t.weekdaysShortRegex(e)}),f("dddd",function(e,t){return t.weekdaysRegex(e)}),Se(["dd","ddd","dddd"],function(e,t,s,r){var n=s._locale.weekdaysParse(e,r,s._strict);n!=null?t.d=n:m(s).invalidWeekday=e}),Se(["d","e","E"],function(e,t,s,r){t[r]=y(e)});function zr(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Br(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ft(e,t){return e.slice(t,7).concat(e.slice(0,t))}var $r="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Xt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Zr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),qr=ke,Jr=ke,Qr=ke;function Kr(e,t){var s=P(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?ft(s,this._week.dow):e?s[e.day()]:s}function Xr(e){return e===!0?ft(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function en(e){return e===!0?ft(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function tn(e,t,s){var r,n,a,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=C([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 s?t==="dddd"?(n=v.call(this._weekdaysParse,i),n!==-1?n:null):t==="ddd"?(n=v.call(this._shortWeekdaysParse,i),n!==-1?n:null):(n=v.call(this._minWeekdaysParse,i),n!==-1?n:null):t==="dddd"?(n=v.call(this._weekdaysParse,i),n!==-1||(n=v.call(this._shortWeekdaysParse,i),n!==-1)?n:(n=v.call(this._minWeekdaysParse,i),n!==-1?n:null)):t==="ddd"?(n=v.call(this._shortWeekdaysParse,i),n!==-1||(n=v.call(this._weekdaysParse,i),n!==-1)?n:(n=v.call(this._minWeekdaysParse,i),n!==-1?n:null)):(n=v.call(this._minWeekdaysParse,i),n!==-1||(n=v.call(this._weekdaysParse,i),n!==-1)?n:(n=v.call(this._shortWeekdaysParse,i),n!==-1?n:null))}function sn(e,t,s){var r,n,a;if(this._weekdaysParseExact)return tn.call(this,e,t,s);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(n=C([2e3,1]).day(r),s&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),s&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(s&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(s&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!s&&this._weekdaysParse[r].test(e))return r}}function rn(e){if(!this.isValid())return e!=null?this:NaN;var t=Me(this,"Day");return e!=null?(e=zr(e,this.localeData()),this.add(e-t,"d")):t}function nn(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 an(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Br(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function on(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||ht.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=qr),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function ln(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||ht.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Jr),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function un(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||ht.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Qr),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ht(){function e(O,T){return T.length-O.length}var t=[],s=[],r=[],n=[],a,i,u,c,_;for(a=0;a<7;a++)i=C([2e3,1]).day(a),u=z(this.weekdaysMin(i,"")),c=z(this.weekdaysShort(i,"")),_=z(this.weekdays(i,"")),t.push(u),s.push(c),r.push(_),n.push(u),n.push(c),n.push(_);t.sort(e),s.sort(e),r.sort(e),n.sort(e),this._weekdaysRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function ct(){return this.hours()%12||12}function dn(){return this.hours()||24}h("H",["HH",2],0,"hour"),h("h",["hh",2],0,ct),h("k",["kk",2],0,dn),h("hmm",0,0,function(){return""+ct.apply(this)+V(this.minutes(),2)}),h("hmmss",0,0,function(){return""+ct.apply(this)+V(this.minutes(),2)+V(this.seconds(),2)}),h("Hmm",0,0,function(){return""+this.hours()+V(this.minutes(),2)}),h("Hmmss",0,0,function(){return""+this.hours()+V(this.minutes(),2)+V(this.seconds(),2)});function es(e,t){h(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}es("a",!0),es("A",!1);function ts(e,t){return t._meridiemParse}f("a",ts),f("A",ts),f("H",D,lt),f("h",D,de),f("k",D,de),f("HH",D,E),f("hh",D,E),f("kk",D,E),f("hmm",Gt),f("hmmss",jt),f("Hmm",Gt),f("Hmmss",jt),S(["H","HH"],Y),S(["k","kk"],function(e,t,s){var r=y(e);t[Y]=r===24?0:r}),S(["a","A"],function(e,t,s){s._isPm=s._locale.isPM(e),s._meridiem=e}),S(["h","hh"],function(e,t,s){t[Y]=y(e),m(s).bigHour=!0}),S("hmm",function(e,t,s){var r=e.length-2;t[Y]=y(e.substr(0,r)),t[F]=y(e.substr(r)),m(s).bigHour=!0}),S("hmmss",function(e,t,s){var r=e.length-4,n=e.length-2;t[Y]=y(e.substr(0,r)),t[F]=y(e.substr(r,2)),t[$]=y(e.substr(n)),m(s).bigHour=!0}),S("Hmm",function(e,t,s){var r=e.length-2;t[Y]=y(e.substr(0,r)),t[F]=y(e.substr(r))}),S("Hmmss",function(e,t,s){var r=e.length-4,n=e.length-2;t[Y]=y(e.substr(0,r)),t[F]=y(e.substr(r,2)),t[$]=y(e.substr(n))});function fn(e){return(e+"").toLowerCase().charAt(0)==="p"}var hn=/[ap]\.?m?\.?/i,cn=fe("Hours",!0);function mn(e,t,s){return e>11?s?"pm":"PM":s?"am":"AM"}var ss={calendar:tr,longDateFormat:ar,invalidDate:or,ordinal:ur,dayOfMonthOrdinalParse:dr,relativeTime:hr,months:xr,monthsShort:$t,week:Cr,weekdays:$r,weekdaysMin:Zr,weekdaysShort:Xt,meridiemParse:hn},p={},Ye={},Oe;function _n(e,t){var s,r=Math.min(e.length,t.length);for(s=0;s<r;s+=1)if(e[s]!==t[s])return s;return r}function rs(e){return e&&e.toLowerCase().replace("_","-")}function yn(e){for(var t=0,s,r,n,a;t<e.length;){for(a=rs(e[t]).split("-"),s=a.length,r=rs(e[t+1]),r=r?r.split("-"):null;s>0;){if(n=Ue(a.slice(0,s).join("-")),n)return n;if(r&&r.length>=s&&_n(a,r)>=s-1)break;s--}t++}return Oe}function wn(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Ue(e){var t=null,s;if(p[e]===void 0&&typeof module<"u"&&module&&module.exports&&wn(e))try{t=Oe._abbr,s=require,s("./locale/"+e),ee(t)}catch{p[e]=null}return p[e]}function ee(e,t){var s;return e&&(N(t)?s=q(e):s=mt(e,t),s?Oe=s:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Oe._abbr}function mt(e,t){if(t!==null){var s,r=ss;if(t.abbr=e,p[e]!=null)At("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=p[e]._config;else if(t.parentLocale!=null)if(p[t.parentLocale]!=null)r=p[t.parentLocale]._config;else if(s=Ue(t.parentLocale),s!=null)r=s._config;else return Ye[t.parentLocale]||(Ye[t.parentLocale]=[]),Ye[t.parentLocale].push({name:e,config:t}),null;return p[e]=new tt(et(r,t)),Ye[e]&&Ye[e].forEach(function(n){mt(n.name,n.config)}),ee(e),p[e]}else return delete p[e],null}function gn(e,t){if(t!=null){var s,r,n=ss;p[e]!=null&&p[e].parentLocale!=null?p[e].set(et(p[e]._config,t)):(r=Ue(e),r!=null&&(n=r._config),t=et(n,t),r==null&&(t.abbr=e),s=new tt(t),s.parentLocale=p[e],p[e]=s),ee(e)}else p[e]!=null&&(p[e].parentLocale!=null?(p[e]=p[e].parentLocale,e===ee()&&ee(e)):p[e]!=null&&delete p[e]);return p[e]}function q(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Oe;if(!P(e)){if(t=Ue(e),t)return t;e=[e]}return yn(e)}function kn(){return st(p)}function _t(e){var t,s=e._a;return s&&m(e).overflow===-2&&(t=s[B]<0||s[B]>11?B:s[G]<1||s[G]>dt(s[x],s[B])?G:s[Y]<0||s[Y]>24||s[Y]===24&&(s[F]!==0||s[$]!==0||s[re]!==0)?Y:s[F]<0||s[F]>59?F:s[$]<0||s[$]>59?$:s[re]<0||s[re]>999?re:-1,m(e)._overflowDayOfYear&&(t<x||t>G)&&(t=G),m(e)._overflowWeeks&&t===-1&&(t=Mr),m(e)._overflowWeekday&&t===-1&&(t=pr),m(e).overflow=t),e}var Sn=/^\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)?)?$/,Dn=/^\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)?)?$/,Mn=/Z|[+-]\d\d(?::?\d\d)?/,Ce=[["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]],yt=[["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/]],pn=/^\/?Date\((-?\d+)/i,vn=/^(?:(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}))$/,Yn={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 ns(e){var t,s,r=e._i,n=Sn.exec(r)||Dn.exec(r),a,i,u,c,_=Ce.length,O=yt.length;if(n){for(m(e).iso=!0,t=0,s=_;t<s;t++)if(Ce[t][1].exec(n[1])){i=Ce[t][0],a=Ce[t][2]!==!1;break}if(i==null){e._isValid=!1;return}if(n[3]){for(t=0,s=O;t<s;t++)if(yt[t][1].exec(n[3])){u=(n[2]||" ")+yt[t][0];break}if(u==null){e._isValid=!1;return}}if(!a&&u!=null){e._isValid=!1;return}if(n[4])if(Mn.exec(n[4]))c="Z";else{e._isValid=!1;return}e._f=i+(u||"")+(c||""),gt(e)}else e._isValid=!1}function On(e,t,s,r,n,a){var i=[Tn(e),$t.indexOf(t),parseInt(s,10),parseInt(r,10),parseInt(n,10)];return a&&i.push(parseInt(a,10)),i}function Tn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function xn(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Nn(e,t,s){if(e){var r=Xt.indexOf(e),n=new Date(t[0],t[1],t[2]).getDay();if(r!==n)return m(s).weekdayMismatch=!0,s._isValid=!1,!1}return!0}function bn(e,t,s){if(e)return Yn[e];if(t)return 0;var r=parseInt(s,10),n=r%100,a=(r-n)/100;return a*60+n}function as(e){var t=vn.exec(xn(e._i)),s;if(t){if(s=On(t[4],t[3],t[2],t[5],t[6],t[7]),!Nn(t[1],s,e))return;e._a=s,e._tzm=bn(t[8],t[9],t[10]),e._d=pe.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),m(e).rfc2822=!0}else e._isValid=!1}function En(e){var t=pn.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(ns(e),e._isValid===!1)delete e._isValid;else return;if(as(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:d.createFromInputFallback(e)}d.createFromInputFallback=R("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 he(e,t,s){return e??t??s}function Rn(e){var t=new Date(d.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function wt(e){var t,s,r=[],n,a,i;if(!e._d){for(n=Rn(e),e._w&&e._a[G]==null&&e._a[B]==null&&In(e),e._dayOfYear!=null&&(i=he(e._a[x],n[x]),(e._dayOfYear>De(i)||e._dayOfYear===0)&&(m(e)._overflowDayOfYear=!0),s=pe(i,0,e._dayOfYear),e._a[B]=s.getUTCMonth(),e._a[G]=s.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=n[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[Y]===24&&e._a[F]===0&&e._a[$]===0&&e._a[re]===0&&(e._nextDay=!0,e._a[Y]=0),e._d=(e._useUTC?pe:Ar).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[Y]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==a&&(m(e).weekdayMismatch=!0)}}function In(e){var t,s,r,n,a,i,u,c,_;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(a=1,i=4,s=he(t.GG,e._a[x],ve(M(),1,4).year),r=he(t.W,1),n=he(t.E,1),(n<1||n>7)&&(c=!0)):(a=e._locale._week.dow,i=e._locale._week.doy,_=ve(M(),a,i),s=he(t.gg,e._a[x],_.year),r=he(t.w,_.week),t.d!=null?(n=t.d,(n<0||n>6)&&(c=!0)):t.e!=null?(n=t.e+a,(t.e<0||t.e>6)&&(c=!0)):n=a),r<1||r>Z(s,a,i)?m(e)._overflowWeeks=!0:c!=null?m(e)._overflowWeekday=!0:(u=Kt(s,r,n,a,i),e._a[x]=u.year,e._dayOfYear=u.dayOfYear)}d.ISO_8601=function(){},d.RFC_2822=function(){};function gt(e){if(e._f===d.ISO_8601){ns(e);return}if(e._f===d.RFC_2822){as(e);return}e._a=[],m(e).empty=!0;var t=""+e._i,s,r,n,a,i,u=t.length,c=0,_,O;for(n=Ut(e._f,e._locale).match(rt)||[],O=n.length,s=0;s<O;s++)a=n[s],r=(t.match(kr(a,e))||[])[0],r&&(i=t.substr(0,t.indexOf(r)),i.length>0&&m(e).unusedInput.push(i),t=t.slice(t.indexOf(r)+r.length),c+=r.length),le[a]?(r?m(e).empty=!1:m(e).unusedTokens.push(a),Dr(a,r,e)):e._strict&&!r&&m(e).unusedTokens.push(a);m(e).charsLeftOver=u-c,t.length>0&&m(e).unusedInput.push(t),e._a[Y]<=12&&m(e).bigHour===!0&&e._a[Y]>0&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[Y]=Ln(e._locale,e._a[Y],e._meridiem),_=m(e).era,_!==null&&(e._a[x]=e._locale.erasConvertYear(_,e._a[x])),wt(e),_t(e)}function Ln(e,t,s){var r;return s==null?t:e.meridiemHour!=null?e.meridiemHour(t,s):(e.isPM!=null&&(r=e.isPM(s),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function Pn(e){var t,s,r,n,a,i,u=!1,c=e._f.length;if(c===0){m(e).invalidFormat=!0,e._d=new Date(NaN);return}for(n=0;n<c;n++)a=0,i=!1,t=Xe({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[n],gt(t),Qe(t)&&(i=!0),a+=m(t).charsLeftOver,a+=m(t).unusedTokens.length*10,m(t).score=a,u?a<r&&(r=a,s=t):(r==null||a<r||i)&&(r=a,s=t,i&&(u=!0));X(e,s||t)}function Wn(e){if(!e._d){var t=at(e._i),s=t.day===void 0?t.date:t.day;e._a=Lt([t.year,t.month,s,t.hour,t.minute,t.second,t.millisecond],function(r){return r&&parseInt(r,10)}),wt(e)}}function Fn(e){var t=new ge(_t(is(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function is(e){var t=e._i,s=e._f;return e._locale=e._locale||q(e._l),t===null||s===void 0&&t===""?xe({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),W(t)?new ge(_t(t)):(we(t)?e._d=t:P(s)?Pn(e):s?gt(e):An(e),Qe(e)||(e._d=null),e))}function An(e){var t=e._i;N(t)?e._d=new Date(d.now()):we(t)?e._d=new Date(t.valueOf()):typeof t=="string"?En(e):P(t)?(e._a=Lt(t.slice(0),function(s){return parseInt(s,10)}),wt(e)):se(t)?Wn(e):j(t)?e._d=new Date(t):d.createFromInputFallback(e)}function os(e,t,s,r,n){var a={};return(t===!0||t===!1)&&(r=t,t=void 0),(s===!0||s===!1)&&(r=s,s=void 0),(se(e)&&qe(e)||P(e)&&e.length===0)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=n,a._l=s,a._i=e,a._f=t,a._strict=r,Fn(a)}function M(e,t,s,r){return os(e,t,s,r,!1)}var Un=R("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=M.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:xe()}),Cn=R("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=M.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:xe()});function ls(e,t){var s,r;if(t.length===1&&P(t[0])&&(t=t[0]),!t.length)return M();for(s=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](s))&&(s=t[r]);return s}function Hn(){var e=[].slice.call(arguments,0);return ls("isBefore",e)}function Vn(){var e=[].slice.call(arguments,0);return ls("isAfter",e)}var Gn=function(){return Date.now?Date.now():+new Date},Te=["year","quarter","month","week","day","hour","minute","second","millisecond"];function jn(e){var t,s=!1,r,n=Te.length;for(t in e)if(g(e,t)&&!(v.call(Te,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<n;++r)if(e[Te[r]]){if(s)return!1;parseFloat(e[Te[r]])!==y(e[Te[r]])&&(s=!0)}return!0}function zn(){return this._isValid}function Bn(){return A(NaN)}function He(e){var t=at(e),s=t.year||0,r=t.quarter||0,n=t.month||0,a=t.week||t.isoWeek||0,i=t.day||0,u=t.hour||0,c=t.minute||0,_=t.second||0,O=t.millisecond||0;this._isValid=jn(t),this._milliseconds=+O+_*1e3+c*6e4+u*1e3*60*60,this._days=+i+a*7,this._months=+n+r*3+s*12,this._data={},this._locale=q(),this._bubble()}function Ve(e){return e instanceof He}function kt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function $n(e,t,s){var r=Math.min(e.length,t.length),n=Math.abs(e.length-t.length),a=0,i;for(i=0;i<r;i++)y(e[i])!==y(t[i])&&a++;return a+n}function us(e,t){h(e,0,0,function(){var s=this.utcOffset(),r="+";return s<0&&(s=-s,r="-"),r+V(~~(s/60),2)+t+V(~~s%60,2)})}us("Z",":"),us("ZZ",""),f("Z",Pe),f("ZZ",Pe),S(["Z","ZZ"],function(e,t,s){s._useUTC=!0,s._tzm=St(Pe,e)});var Zn=/([\+\-]|\d\d)/gi;function St(e,t){var s=(t||"").match(e),r,n,a;return s===null?null:(r=s[s.length-1]||[],n=(r+"").match(Zn)||["-",0,0],a=+(n[1]*60)+y(n[2]),a===0?0:n[0]==="+"?a:-a)}function Dt(e,t){var s,r;return t._isUTC?(s=t.clone(),r=(W(e)||we(e)?e.valueOf():M(e).valueOf())-s.valueOf(),s._d.setTime(s._d.valueOf()+r),d.updateOffset(s,!1),s):M(e).local()}function Mt(e){return-Math.round(e._d.getTimezoneOffset())}d.updateOffset=function(){};function qn(e,t,s){var r=this._offset||0,n;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=St(Pe,e),e===null)return this}else Math.abs(e)<16&&!s&&(e=e*60);return!this._isUTC&&t&&(n=Mt(this)),this._offset=e,this._isUTC=!0,n!=null&&this.add(n,"m"),r!==e&&(!t||this._changeInProgress?cs(this,A(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,d.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:Mt(this)}function Jn(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Qn(e){return this.utcOffset(0,e)}function Kn(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Mt(this),"m")),this}function Xn(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=St(wr,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function ea(e){return this.isValid()?(e=e?M(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function ta(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function sa(){if(!N(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Xe(e,this),e=is(e),e._a?(t=e._isUTC?C(e._a):M(e._a),this._isDSTShifted=this.isValid()&&$n(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function ra(){return this.isValid()?!this._isUTC:!1}function na(){return this.isValid()?this._isUTC:!1}function ds(){return this.isValid()?this._isUTC&&this._offset===0:!1}var aa=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,ia=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function A(e,t){var s=e,r=null,n,a,i;return Ve(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:j(e)||!isNaN(+e)?(s={},t?s[t]=+e:s.milliseconds=+e):(r=aa.exec(e))?(n=r[1]==="-"?-1:1,s={y:0,d:y(r[G])*n,h:y(r[Y])*n,m:y(r[F])*n,s:y(r[$])*n,ms:y(kt(r[re]*1e3))*n}):(r=ia.exec(e))?(n=r[1]==="-"?-1:1,s={y:ne(r[2],n),M:ne(r[3],n),w:ne(r[4],n),d:ne(r[5],n),h:ne(r[6],n),m:ne(r[7],n),s:ne(r[8],n)}):s==null?s={}:typeof s=="object"&&("from"in s||"to"in s)&&(i=oa(M(s.from),M(s.to)),s={},s.ms=i.milliseconds,s.M=i.months),a=new He(s),Ve(e)&&g(e,"_locale")&&(a._locale=e._locale),Ve(e)&&g(e,"_isValid")&&(a._isValid=e._isValid),a}A.fn=He.prototype,A.invalid=Bn;function ne(e,t){var s=e&&parseFloat(e.replace(",","."));return(isNaN(s)?0:s)*t}function fs(e,t){var s={};return s.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(s.months,"M").isAfter(t)&&--s.months,s.milliseconds=+t-+e.clone().add(s.months,"M"),s}function oa(e,t){var s;return e.isValid()&&t.isValid()?(t=Dt(t,e),e.isBefore(t)?s=fs(e,t):(s=fs(t,e),s.milliseconds=-s.milliseconds,s.months=-s.months),s):{milliseconds:0,months:0}}function hs(e,t){return function(s,r){var n,a;return r!==null&&!isNaN(+r)&&(At(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=s,s=r,r=a),n=A(s,r),cs(this,n,e),this}}function cs(e,t,s,r){var n=t._milliseconds,a=kt(t._days),i=kt(t._months);e.isValid()&&(r=r??!0,i&&qt(e,Me(e,"Month")+i*s),a&&Bt(e,"Date",Me(e,"Date")+a*s),n&&e._d.setTime(e._d.valueOf()+n*s),r&&d.updateOffset(e,a||i))}var la=hs(1,"add"),ua=hs(-1,"subtract");function ms(e){return typeof e=="string"||e instanceof String}function da(e){return W(e)||we(e)||ms(e)||j(e)||ha(e)||fa(e)||e===null||e===void 0}function fa(e){var t=se(e)&&!qe(e),s=!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"],n,a,i=r.length;for(n=0;n<i;n+=1)a=r[n],s=s||g(e,a);return t&&s}function ha(e){var t=P(e),s=!1;return t&&(s=e.filter(function(r){return!j(r)&&ms(e)}).length===0),t&&s}function ca(e){var t=se(e)&&!qe(e),s=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],n,a;for(n=0;n<r.length;n+=1)a=r[n],s=s||g(e,a);return t&&s}function ma(e,t){var s=e.diff(t,"days",!0);return s<-6?"sameElse":s<-1?"lastWeek":s<0?"lastDay":s<1?"sameDay":s<2?"nextDay":s<7?"nextWeek":"sameElse"}function _a(e,t){arguments.length===1&&(arguments[0]?da(arguments[0])?(e=arguments[0],t=void 0):ca(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var s=e||M(),r=Dt(s,this).startOf("day"),n=d.calendarFormat(this,r)||"sameElse",a=t&&(H(t[n])?t[n].call(this,s):t[n]);return this.format(a||this.localeData().calendar(n,this,M(s)))}function ya(){return new ge(this)}function wa(e,t){var s=W(e)?e:M(e);return this.isValid()&&s.isValid()?(t=I(t)||"millisecond",t==="millisecond"?this.valueOf()>s.valueOf():s.valueOf()<this.clone().startOf(t).valueOf()):!1}function ga(e,t){var s=W(e)?e:M(e);return this.isValid()&&s.isValid()?(t=I(t)||"millisecond",t==="millisecond"?this.valueOf()<s.valueOf():this.clone().endOf(t).valueOf()<s.valueOf()):!1}function ka(e,t,s,r){var n=W(e)?e:M(e),a=W(t)?t:M(t);return this.isValid()&&n.isValid()&&a.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(n,s):!this.isBefore(n,s))&&(r[1]===")"?this.isBefore(a,s):!this.isAfter(a,s))):!1}function Sa(e,t){var s=W(e)?e:M(e),r;return this.isValid()&&s.isValid()?(t=I(t)||"millisecond",t==="millisecond"?this.valueOf()===s.valueOf():(r=s.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function Da(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Ma(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function pa(e,t,s){var r,n,a;if(!this.isValid())return NaN;if(r=Dt(e,this),!r.isValid())return NaN;switch(n=(r.utcOffset()-this.utcOffset())*6e4,t=I(t),t){case"year":a=Ge(this,r)/12;break;case"month":a=Ge(this,r);break;case"quarter":a=Ge(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-n)/864e5;break;case"week":a=(this-r-n)/6048e5;break;default:a=this-r}return s?a:L(a)}function Ge(e,t){if(e.date()<t.date())return-Ge(t,e);var s=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(s,"months"),n,a;return t-r<0?(n=e.clone().add(s-1,"months"),a=(t-r)/(r-n)):(n=e.clone().add(s+1,"months"),a=(t-r)/(n-r)),-(s+a)||0}d.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",d.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function va(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Ya(e){if(!this.isValid())return null;var t=e!==!0,s=t?this.clone().utc():this;return s.year()<0||s.year()>9999?be(s,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):H(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",be(s,"Z")):be(s,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Oa(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",s,r,n,a;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),s="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",a=t+'[")]',this.format(s+r+n+a)}function Ta(e){e||(e=this.isUtc()?d.defaultFormatUtc:d.defaultFormat);var t=be(this,e);return this.localeData().postformat(t)}function xa(e,t){return this.isValid()&&(W(e)&&e.isValid()||M(e).isValid())?A({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Na(e){return this.from(M(),e)}function ba(e,t){return this.isValid()&&(W(e)&&e.isValid()||M(e).isValid())?A({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Ea(e){return this.to(M(),e)}function _s(e){var t;return e===void 0?this._locale._abbr:(t=q(e),t!=null&&(this._locale=t),this)}var ys=R("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 ws(){return this._locale}var je=1e3,ce=60*je,ze=60*ce,gs=(365*400+97)*24*ze;function me(e,t){return(e%t+t)%t}function ks(e,t,s){return e<100&&e>=0?new Date(e+400,t,s)-gs:new Date(e,t,s).valueOf()}function Ss(e,t,s){return e<100&&e>=0?Date.UTC(e+400,t,s)-gs:Date.UTC(e,t,s)}function Ra(e){var t,s;if(e=I(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?Ss:ks,e){case"year":t=s(this.year(),0,1);break;case"quarter":t=s(this.year(),this.month()-this.month()%3,1);break;case"month":t=s(this.year(),this.month(),1);break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=s(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=me(t+(this._isUTC?0:this.utcOffset()*ce),ze);break;case"minute":t=this._d.valueOf(),t-=me(t,ce);break;case"second":t=this._d.valueOf(),t-=me(t,je);break}return this._d.setTime(t),d.updateOffset(this,!0),this}function Ia(e){var t,s;if(e=I(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?Ss:ks,e){case"year":t=s(this.year()+1,0,1)-1;break;case"quarter":t=s(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=s(this.year(),this.month()+1,1)-1;break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=s(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=ze-me(t+(this._isUTC?0:this.utcOffset()*ce),ze)-1;break;case"minute":t=this._d.valueOf(),t+=ce-me(t,ce)-1;break;case"second":t=this._d.valueOf(),t+=je-me(t,je)-1;break}return this._d.setTime(t),d.updateOffset(this,!0),this}function La(){return this._d.valueOf()-(this._offset||0)*6e4}function Pa(){return Math.floor(this.valueOf()/1e3)}function Wa(){return new Date(this.valueOf())}function Fa(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Aa(){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 Ua(){return this.isValid()?this.toISOString():null}function Ca(){return Qe(this)}function Ha(){return X({},m(this))}function Va(){return m(this).overflow}function Ga(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}h("N",0,0,"eraAbbr"),h("NN",0,0,"eraAbbr"),h("NNN",0,0,"eraAbbr"),h("NNNN",0,0,"eraName"),h("NNNNN",0,0,"eraNarrow"),h("y",["y",1],"yo","eraYear"),h("y",["yy",2],0,"eraYear"),h("y",["yyy",3],0,"eraYear"),h("y",["yyyy",4],0,"eraYear"),f("N",pt),f("NN",pt),f("NNN",pt),f("NNNN",ei),f("NNNNN",ti),S(["N","NN","NNN","NNNN","NNNNN"],function(e,t,s,r){var n=s._locale.erasParse(e,r,s._strict);n?m(s).era=n:m(s).invalidEra=e}),f("y",ue),f("yy",ue),f("yyy",ue),f("yyyy",ue),f("yo",si),S(["y","yy","yyy","yyyy"],x),S(["yo"],function(e,t,s,r){var n;s._locale._eraYearOrdinalRegex&&(n=e.match(s._locale._eraYearOrdinalRegex)),s._locale.eraYearOrdinalParse?t[x]=s._locale.eraYearOrdinalParse(e,n):t[x]=parseInt(e,10)});function ja(e,t){var s,r,n,a=this._eras||q("en")._eras;for(s=0,r=a.length;s<r;++s){switch(typeof a[s].since){case"string":n=d(a[s].since).startOf("day"),a[s].since=n.valueOf();break}switch(typeof a[s].until){case"undefined":a[s].until=1/0;break;case"string":n=d(a[s].until).startOf("day").valueOf(),a[s].until=n.valueOf();break}}return a}function za(e,t,s){var r,n,a=this.eras(),i,u,c;for(e=e.toUpperCase(),r=0,n=a.length;r<n;++r)if(i=a[r].name.toUpperCase(),u=a[r].abbr.toUpperCase(),c=a[r].narrow.toUpperCase(),s)switch(t){case"N":case"NN":case"NNN":if(u===e)return a[r];break;case"NNNN":if(i===e)return a[r];break;case"NNNNN":if(c===e)return a[r];break}else if([i,u,c].indexOf(e)>=0)return a[r]}function Ba(e,t){var s=e.since<=e.until?1:-1;return t===void 0?d(e.since).year():d(e.since).year()+(t-e.offset)*s}function $a(){var e,t,s,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),r[e].since<=s&&s<=r[e].until||r[e].until<=s&&s<=r[e].since)return r[e].name;return""}function Za(){var e,t,s,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),r[e].since<=s&&s<=r[e].until||r[e].until<=s&&s<=r[e].since)return r[e].narrow;return""}function qa(){var e,t,s,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),r[e].since<=s&&s<=r[e].until||r[e].until<=s&&s<=r[e].since)return r[e].abbr;return""}function Ja(){var e,t,s,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(s=n[e].since<=n[e].until?1:-1,r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return(this.year()-d(n[e].since).year())*s+n[e].offset;return this.year()}function Qa(e){return g(this,"_erasNameRegex")||vt.call(this),e?this._erasNameRegex:this._erasRegex}function Ka(e){return g(this,"_erasAbbrRegex")||vt.call(this),e?this._erasAbbrRegex:this._erasRegex}function Xa(e){return g(this,"_erasNarrowRegex")||vt.call(this),e?this._erasNarrowRegex:this._erasRegex}function pt(e,t){return t.erasAbbrRegex(e)}function ei(e,t){return t.erasNameRegex(e)}function ti(e,t){return t.erasNarrowRegex(e)}function si(e,t){return t._eraYearOrdinalRegex||ue}function vt(){var e=[],t=[],s=[],r=[],n,a,i,u,c,_=this.eras();for(n=0,a=_.length;n<a;++n)i=z(_[n].name),u=z(_[n].abbr),c=z(_[n].narrow),t.push(i),e.push(u),s.push(c),r.push(i),r.push(u),r.push(c);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("^("+s.join("|")+")","i")}h(0,["gg",2],0,function(){return this.weekYear()%100}),h(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Be(e,t){h(0,[e,e.length],0,t)}Be("gggg","weekYear"),Be("ggggg","weekYear"),Be("GGGG","isoWeekYear"),Be("GGGGG","isoWeekYear"),f("G",Le),f("g",Le),f("GG",D,E),f("gg",D,E),f("GGGG",ot,it),f("gggg",ot,it),f("GGGGG",Ie,Ee),f("ggggg",Ie,Ee),Se(["gggg","ggggg","GGGG","GGGGG"],function(e,t,s,r){t[r.substr(0,2)]=y(e)}),Se(["gg","GG"],function(e,t,s,r){t[r]=d.parseTwoDigitYear(e)});function ri(e){return Ds.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function ni(e){return Ds.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function ai(){return Z(this.year(),1,4)}function ii(){return Z(this.isoWeekYear(),1,4)}function oi(){var e=this.localeData()._week;return Z(this.year(),e.dow,e.doy)}function li(){var e=this.localeData()._week;return Z(this.weekYear(),e.dow,e.doy)}function Ds(e,t,s,r,n){var a;return e==null?ve(this,r,n).year:(a=Z(e,r,n),t>a&&(t=a),ui.call(this,e,t,s,r,n))}function ui(e,t,s,r,n){var a=Kt(e,t,s,r,n),i=pe(a.year,0,a.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}h("Q",0,"Qo","quarter"),f("Q",Ht),S("Q",function(e,t){t[B]=(y(e)-1)*3});function di(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}h("D",["DD",2],"Do","date"),f("D",D,de),f("DD",D,E),f("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),S(["D","DD"],G),S("Do",function(e,t){t[G]=y(e.match(D)[0])});var Ms=fe("Date",!0);h("DDD",["DDDD",3],"DDDo","dayOfYear"),f("DDD",Re),f("DDDD",Vt),S(["DDD","DDDD"],function(e,t,s){s._dayOfYear=y(e)});function fi(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}h("m",["mm",2],0,"minute"),f("m",D,lt),f("mm",D,E),S(["m","mm"],F);var hi=fe("Minutes",!1);h("s",["ss",2],0,"second"),f("s",D,lt),f("ss",D,E),S(["s","ss"],$);var ci=fe("Seconds",!1);h("S",0,0,function(){return~~(this.millisecond()/100)}),h(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),h(0,["SSS",3],0,"millisecond"),h(0,["SSSS",4],0,function(){return this.millisecond()*10}),h(0,["SSSSS",5],0,function(){return this.millisecond()*100}),h(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),h(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),h(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),h(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),f("S",Re,Ht),f("SS",Re,E),f("SSS",Re,Vt);var te,ps;for(te="SSSS";te.length<=9;te+="S")f(te,ue);function mi(e,t){t[re]=y(("0."+e)*1e3)}for(te="S";te.length<=9;te+="S")S(te,mi);ps=fe("Milliseconds",!1),h("z",0,0,"zoneAbbr"),h("zz",0,0,"zoneName");function _i(){return this._isUTC?"UTC":""}function yi(){return this._isUTC?"Coordinated Universal Time":""}var l=ge.prototype;l.add=la,l.calendar=_a,l.clone=ya,l.diff=pa,l.endOf=Ia,l.format=Ta,l.from=xa,l.fromNow=Na,l.to=ba,l.toNow=Ea,l.get=Yr,l.invalidAt=Va,l.isAfter=wa,l.isBefore=ga,l.isBetween=ka,l.isSame=Sa,l.isSameOrAfter=Da,l.isSameOrBefore=Ma,l.isValid=Ca,l.lang=ys,l.locale=_s,l.localeData=ws,l.max=Cn,l.min=Un,l.parsingFlags=Ha,l.set=Or,l.startOf=Ra,l.subtract=ua,l.toArray=Fa,l.toObject=Aa,l.toDate=Wa,l.toISOString=Ya,l.inspect=Oa,typeof Symbol<"u"&&Symbol.for!=null&&(l[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),l.toJSON=Ua,l.toString=va,l.unix=Pa,l.valueOf=La,l.creationData=Ga,l.eraName=$a,l.eraNarrow=Za,l.eraAbbr=qa,l.eraYear=Ja,l.year=zt,l.isLeapYear=vr,l.weekYear=ri,l.isoWeekYear=ni,l.quarter=l.quarters=di,l.month=Jt,l.daysInMonth=Pr,l.week=l.weeks=Gr,l.isoWeek=l.isoWeeks=jr,l.weeksInYear=oi,l.weeksInWeekYear=li,l.isoWeeksInYear=ai,l.isoWeeksInISOWeekYear=ii,l.date=Ms,l.day=l.days=rn,l.weekday=nn,l.isoWeekday=an,l.dayOfYear=fi,l.hour=l.hours=cn,l.minute=l.minutes=hi,l.second=l.seconds=ci,l.millisecond=l.milliseconds=ps,l.utcOffset=qn,l.utc=Qn,l.local=Kn,l.parseZone=Xn,l.hasAlignedHourOffset=ea,l.isDST=ta,l.isLocal=ra,l.isUtcOffset=na,l.isUtc=ds,l.isUTC=ds,l.zoneAbbr=_i,l.zoneName=yi,l.dates=R("dates accessor is deprecated. Use date instead.",Ms),l.months=R("months accessor is deprecated. Use month instead",Jt),l.years=R("years accessor is deprecated. Use year instead",zt),l.zone=R("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Jn),l.isDSTShifted=R("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",sa);function wi(e){return M(e*1e3)}function gi(){return M.apply(null,arguments).parseZone()}function vs(e){return e}var k=tt.prototype;k.calendar=sr,k.longDateFormat=ir,k.invalidDate=lr,k.ordinal=fr,k.preparse=vs,k.postformat=vs,k.relativeTime=cr,k.pastFuture=mr,k.set=er,k.eras=ja,k.erasParse=za,k.erasConvertYear=Ba,k.erasAbbrRegex=Ka,k.erasNameRegex=Qa,k.erasNarrowRegex=Xa,k.months=Er,k.monthsShort=Rr,k.monthsParse=Lr,k.monthsRegex=Fr,k.monthsShortRegex=Wr,k.week=Ur,k.firstDayOfYear=Vr,k.firstDayOfWeek=Hr,k.weekdays=Kr,k.weekdaysMin=en,k.weekdaysShort=Xr,k.weekdaysParse=sn,k.weekdaysRegex=on,k.weekdaysShortRegex=ln,k.weekdaysMinRegex=un,k.isPM=fn,k.meridiem=mn;function $e(e,t,s,r){var n=q(),a=C().set(r,t);return n[s](a,e)}function Ys(e,t,s){if(j(e)&&(t=e,e=void 0),e=e||"",t!=null)return $e(e,t,s,"month");var r,n=[];for(r=0;r<12;r++)n[r]=$e(e,r,s,"month");return n}function Yt(e,t,s,r){typeof e=="boolean"?(j(t)&&(s=t,t=void 0),t=t||""):(t=e,s=t,e=!1,j(t)&&(s=t,t=void 0),t=t||"");var n=q(),a=e?n._week.dow:0,i,u=[];if(s!=null)return $e(t,(s+a)%7,r,"day");for(i=0;i<7;i++)u[i]=$e(t,(i+a)%7,r,"day");return u}function ki(e,t){return Ys(e,t,"months")}function Si(e,t){return Ys(e,t,"monthsShort")}function Di(e,t,s){return Yt(e,t,s,"weekdays")}function Mi(e,t,s){return Yt(e,t,s,"weekdaysShort")}function pi(e,t,s){return Yt(e,t,s,"weekdaysMin")}ee("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,s=y(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+s}}),d.lang=R("moment.lang is deprecated. Use moment.locale instead.",ee),d.langData=R("moment.langData is deprecated. Use moment.localeData instead.",q);var J=Math.abs;function vi(){var e=this._data;return this._milliseconds=J(this._milliseconds),this._days=J(this._days),this._months=J(this._months),e.milliseconds=J(e.milliseconds),e.seconds=J(e.seconds),e.minutes=J(e.minutes),e.hours=J(e.hours),e.months=J(e.months),e.years=J(e.years),this}function Os(e,t,s,r){var n=A(t,s);return e._milliseconds+=r*n._milliseconds,e._days+=r*n._days,e._months+=r*n._months,e._bubble()}function Yi(e,t){return Os(this,e,t,1)}function Oi(e,t){return Os(this,e,t,-1)}function Ts(e){return e<0?Math.floor(e):Math.ceil(e)}function Ti(){var e=this._milliseconds,t=this._days,s=this._months,r=this._data,n,a,i,u,c;return e>=0&&t>=0&&s>=0||e<=0&&t<=0&&s<=0||(e+=Ts(Ot(s)+t)*864e5,t=0,s=0),r.milliseconds=e%1e3,n=L(e/1e3),r.seconds=n%60,a=L(n/60),r.minutes=a%60,i=L(a/60),r.hours=i%24,t+=L(i/24),c=L(xs(t)),s+=c,t-=Ts(Ot(c)),u=L(s/12),s%=12,r.days=t,r.months=s,r.years=u,this}function xs(e){return e*4800/146097}function Ot(e){return e*146097/4800}function xi(e){if(!this.isValid())return NaN;var t,s,r=this._milliseconds;if(e=I(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,s=this._months+xs(t),e){case"month":return s;case"quarter":return s/3;case"year":return s/12}else switch(t=this._days+Math.round(Ot(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 Q(e){return function(){return this.as(e)}}var Ns=Q("ms"),Ni=Q("s"),bi=Q("m"),Ei=Q("h"),Ri=Q("d"),Ii=Q("w"),Li=Q("M"),Pi=Q("Q"),Wi=Q("y"),Fi=Ns;function Ai(){return A(this)}function Ui(e){return e=I(e),this.isValid()?this[e+"s"]():NaN}function ae(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ci=ae("milliseconds"),Hi=ae("seconds"),Vi=ae("minutes"),Gi=ae("hours"),ji=ae("days"),zi=ae("months"),Bi=ae("years");function $i(){return L(this.days()/7)}var K=Math.round,_e={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Zi(e,t,s,r,n){return n.relativeTime(t||1,!!s,e,r)}function qi(e,t,s,r){var n=A(e).abs(),a=K(n.as("s")),i=K(n.as("m")),u=K(n.as("h")),c=K(n.as("d")),_=K(n.as("M")),O=K(n.as("w")),T=K(n.as("y")),b=a<=s.ss&&["s",a]||a<s.s&&["ss",a]||i<=1&&["m"]||i<s.m&&["mm",i]||u<=1&&["h"]||u<s.h&&["hh",u]||c<=1&&["d"]||c<s.d&&["dd",c];return s.w!=null&&(b=b||O<=1&&["w"]||O<s.w&&["ww",O]),b=b||_<=1&&["M"]||_<s.M&&["MM",_]||T<=1&&["y"]||["yy",T],b[2]=t,b[3]=+e>0,b[4]=r,Zi.apply(null,b)}function Ji(e){return e===void 0?K:typeof e=="function"?(K=e,!0):!1}function Qi(e,t){return _e[e]===void 0?!1:t===void 0?_e[e]:(_e[e]=t,e==="s"&&(_e.ss=t-1),!0)}function Ki(e,t){if(!this.isValid())return this.localeData().invalidDate();var s=!1,r=_e,n,a;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(s=e),typeof t=="object"&&(r=Object.assign({},_e,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),n=this.localeData(),a=qi(this,!s,r,n),s&&(a=n.pastFuture(+this,a)),n.postformat(a)}var Tt=Math.abs;function ye(e){return(e>0)-(e<0)||+e}function Ze(){if(!this.isValid())return this.localeData().invalidDate();var e=Tt(this._milliseconds)/1e3,t=Tt(this._days),s=Tt(this._months),r,n,a,i,u=this.asSeconds(),c,_,O,T;return u?(r=L(e/60),n=L(r/60),e%=60,r%=60,a=L(s/12),s%=12,i=e?e.toFixed(3).replace(/\.?0+$/,""):"",c=u<0?"-":"",_=ye(this._months)!==ye(u)?"-":"",O=ye(this._days)!==ye(u)?"-":"",T=ye(this._milliseconds)!==ye(u)?"-":"",c+"P"+(a?_+a+"Y":"")+(s?_+s+"M":"")+(t?O+t+"D":"")+(n||r||e?"T":"")+(n?T+n+"H":"")+(r?T+r+"M":"")+(e?T+i+"S":"")):"P0D"}var w=He.prototype;w.isValid=zn,w.abs=vi,w.add=Yi,w.subtract=Oi,w.as=xi,w.asMilliseconds=Ns,w.asSeconds=Ni,w.asMinutes=bi,w.asHours=Ei,w.asDays=Ri,w.asWeeks=Ii,w.asMonths=Li,w.asQuarters=Pi,w.asYears=Wi,w.valueOf=Fi,w._bubble=Ti,w.clone=Ai,w.get=Ui,w.milliseconds=Ci,w.seconds=Hi,w.minutes=Vi,w.hours=Gi,w.days=ji,w.weeks=$i,w.months=zi,w.years=Bi,w.humanize=Ki,w.toISOString=Ze,w.toString=Ze,w.toJSON=Ze,w.locale=_s,w.localeData=ws,w.toIsoString=R("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ze),w.lang=ys,h("X",0,0,"unix"),h("x",0,0,"valueOf"),f("x",Le),f("X",gr),S("X",function(e,t,s){s._d=new Date(parseFloat(e)*1e3)}),S("x",function(e,t,s){s._d=new Date(y(e))});//! moment.js
10
+ d.version="2.30.1",Ks(M),d.fn=l,d.min=Hn,d.max=Vn,d.now=Gn,d.utc=C,d.unix=wi,d.months=ki,d.isDate=we,d.locale=ee,d.invalid=xe,d.duration=A,d.isMoment=W,d.weekdays=Di,d.parseZone=gi,d.localeData=q,d.isDuration=Ve,d.monthsShort=Si,d.weekdaysMin=pi,d.defineLocale=mt,d.updateLocale=gn,d.locales=kn,d.weekdaysShort=Mi,d.normalizeUnits=I,d.relativeTimeRounding=Ji,d.relativeTimeThreshold=Qi,d.calendarFormat=ma,d.prototype=l,d.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
+ //! locale : French [fr]
12
+ //! author : John Fischer : https://github.com/jfroffice
13
+ var Xi=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,eo=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,bs=/(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,xt=[/^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];d.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:bs,monthsShortRegex:bs,monthsStrictRegex:Xi,monthsShortStrictRegex:eo,monthsParse:xt,longMonthsParse:xt,shortMonthsParse:xt,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 Es;(function(e){e[e.DISABLED=0]="DISABLED",e[e.ENABLED=1]="ENABLED"})(Es||(Es={}));var Rs;(function(e){e.IMAGE="image",e.VIDEO="video"})(Rs||(Rs={}));var Is;(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"})(Is||(Is={}));var Ls;(function(e){e[e.FALSE=0]="FALSE",e[e.TRUE=1]="TRUE"})(Ls||(Ls={}));var Ps;(function(e){e.NEWS_TAG="news-tag",e.NEWS_CATEGORY="news-category",e.NEWS_ARTICLE="news-article",e.CONTENT_MODEL="content-model"})(Ps||(Ps={}));var Ws;(function(e){e.EXTERNAL_LINK="external-link",e.PAGE_LINK="page-link",e.CONTENT_LINK="content-link"})(Ws||(Ws={}));var Fs;(function(e){e[e.SYSTEM=1]="SYSTEM",e[e.USER=2]="USER"})(Fs||(Fs={}));var As;(function(e){e.WELCOME_USER="App\\Notifications\\WelcomeUser"})(As||(As={}));var Us;(function(e){e.NEWS_TAG="news-tag",e.NEWS_CATEGORY="news-category",e.NEWS_ARTICLE="news-article",e.CONTENT_MODEL="content-model"})(Us||(Us={}));var Cs;(function(e){e.SUBSCRIBER="App\\Models\\SubscriberProfile"})(Cs||(Cs={}));var Hs;(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"})(Hs||(Hs={}));var Vs;(function(e){e.SUPER_ADMIN="super-admin",e.ADMIN="admin",e.USER="user"})(Vs||(Vs={}));const to=["id"],so=o.defineComponent({__name:"RootContainer",props:{page:{},sections:{default:()=>[]},components:{default:()=>({})}},setup(e){const t=e;return o.onMounted(()=>{setTimeout(()=>{const s=t.page.props.sectionData;s&&t.sections.find(r=>r.slug==s.slug&&r.pivot?.linkId==s.pivot?.linkId)&&Qs(`${s.slug}__${s.pivot?.linkId}-container`)},1e3)}),(s,r)=>(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.sections,(n,a)=>(o.openBlock(),o.createElementBlock("section",{key:"section-"+a,id:`${n.slug}__${n.pivot?.linkId}-container`,class:"reset-styles"},[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(s.components[n.name]),{data:n.pivot?.data,setings:n.pivot?.settings,"section-key":`${n.slug}__${n.pivot?.linkId}`,metadata:{slug:n.slug,name:n.name,title:n.title,linkId:n.pivot?.linkId,createdAt:n.createdAt,updatedAt:n.updatedAt}},null,8,["data","setings","section-key","metadata"]))],8,to))),128))}}),Gs=(e,t)=>{const s=e.__vccOpts||e;for(const[r,n]of t)s[r]=n;return s},js=Gs(so,[["__scopeId","data-v-0ceb2bac"]]),ro=["src","alt","title","width","height","loading"],zs=o.defineComponent({__name:"AsyncImg",props:{load:{type:Function},alt:{},width:{},height:{},title:{},loading:{},style:{}},setup(e){const t=e,s=o.ref("");return(async()=>{s.value=await t.load()})(),(n,a)=>(o.openBlock(),o.createElementBlock("img",{src:o.unref(s),alt:t.alt,title:t.title,style:o.normalizeStyle(t.style),width:t.width,height:t.height,loading:t.loading},null,12,ro))}}),Bs=Gs(o.defineComponent({__name:"CustomTransition",props:{name:{default:"fade"},mode:{default:"out-in"},appear:{type:Boolean,default:!1}},setup(e){const t=e;return(s,r)=>(o.openBlock(),o.createBlock(o.Transition,{name:t.name,mode:t.mode,appear:t.appear},{default:o.withCtx(()=>[o.renderSlot(s.$slots,"default",{},void 0,!0)]),_:3},8,["name","mode","appear"]))}}),[["__scopeId","data-v-30b5e62e"]]),$s=o.defineComponent({__name:"MountedTeleport",props:{to:{}},setup(e){const t=e,s=o.ref(!1);return o.onMounted(()=>{s.value=!0}),o.onUnmounted(()=>{s.value=!1}),(r,n)=>o.unref(s)?(o.openBlock(),o.createBlock(o.Teleport,{key:0,to:t.to},[o.renderSlot(r.$slots,"default")],8,["to"])):o.createCommentVNode("",!0)}}),no=["innerHTML"],ao=["href"],io=["href"],Zs=o.defineComponent({__name:"ReadMore",props:{moreStr:{default:"Read more"},lessStr:{default:""},text:{},link:{default:"#"},maxChars:{default:100}},setup(e){const t=e,s=o.ref(!1),r=o.computed(()=>!s.value&&t.text.length>t.maxChars?t.text.substring(0,t.maxChars)+"...":t.text),n=(a,i)=>{t.link=="#"&&a.preventDefault(),t.lessStr&&(s.value=i)};return(a,i)=>(o.openBlock(),o.createElementBlock("div",null,[o.createElementVNode("span",{innerHTML:o.unref(r)},null,8,no),o.withDirectives(o.createElementVNode("span",null,[o.withDirectives(o.createElementVNode("a",{id:"readmore",href:t.link,onClick:i[0]||(i[0]=u=>n(u,!0))},o.toDisplayString(t.moreStr),9,ao),[[o.vShow,!o.unref(s)]]),o.withDirectives(o.createElementVNode("a",{id:"readmore",href:t.link,onClick:i[1]||(i[1]=u=>n(u,!1))},o.toDisplayString(t.lessStr),9,io),[[o.vShow,o.unref(s)]])],512),[[o.vShow,t.text.length>t.maxChars]])]))}}),qs=o.defineComponent({__name:"StickyBottom",props:{bottom:{default:0},zIndex:{default:1},className:{default:""}},setup(e){const t=e,s=o.ref(null),r=o.ref(!1),n=o.ref(""),a=o.ref(void 0),i=o.ref(void 0),u=o.ref(!1);o.onMounted(()=>{i.value=s.value?.getBoundingClientRect().height,window.addEventListener("scroll",T),window.addEventListener("resize",b),T()}),o.onActivated(()=>{T()}),o.onUnmounted(()=>{window.removeEventListener("scroll",T),window.removeEventListener("resize",b)});const c=()=>{r.value||(n.value="fixed",r.value=!0,a.value=a.value+"px",u.value=!0)},_=()=>{r.value&&O()},O=()=>{n.value="",a.value="auto",r.value=!1,u.value=!1},T=()=>{const ie=s.value?.getBoundingClientRect().width;if(a.value=ie||"auto",(s.value?.getBoundingClientRect().bottom||0)>t.bottom){c();return}_()},b=()=>{u.value&&(a.value=s.value?.getBoundingClientRect().width+"px")};return(ie,oe)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"el",ref:s,style:o.normalizeStyle({height:o.unref(i)+"px",zIndex:t.zIndex})},[o.createElementVNode("div",{class:o.normalizeClass(t.className),style:o.normalizeStyle({bottom:o.unref(u)?t.bottom+"px":"",zIndex:t.zIndex,position:o.unref(n),width:o.unref(a),height:o.unref(i)+"px"})},[o.renderSlot(ie.$slots,"default",{},()=>[oe[0]||(oe[0]=o.createElementVNode("div",null,"Sticky Bottom",-1))])],6)],4))}}),Js=o.defineComponent({__name:"StickyTop",props:{top:{default:0},zIndex:{default:1},className:{default:""}},setup(e){const t=e,s=o.ref(null),r=o.ref(!1),n=o.ref(""),a=o.ref(void 0),i=o.ref(void 0),u=o.ref(!1);o.onMounted(()=>{i.value=s.value?.getBoundingClientRect().height,window.addEventListener("scroll",T),window.addEventListener("resize",b)}),o.onActivated(()=>{T()}),o.onUnmounted(()=>{window.removeEventListener("scroll",T),window.removeEventListener("resize",b)});const c=()=>{r.value||(n.value="fixed",r.value=!0,a.value=a.value+"px",u.value=!0)},_=()=>{r.value&&O()},O=()=>{n.value="",a.value="auto",r.value=!1,u.value=!1},T=()=>{const ie=s.value?.getBoundingClientRect().width;if(a.value=ie||"auto",(s.value?.getBoundingClientRect().top||0)<t.top){c();return}_()},b=()=>{u.value&&(a.value=s.value?.getBoundingClientRect().width+"px")};return(ie,oe)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"el",ref:s,style:o.normalizeStyle({height:o.unref(i)+"px",zIndex:t.zIndex})},[o.createElementVNode("div",{class:o.normalizeClass(t.className),style:o.normalizeStyle({top:o.unref(u)?t.top+"px":"",zIndex:t.zIndex,position:o.unref(n),width:o.unref(a),height:o.unref(i)+"px"})},[o.renderSlot(ie.$slots,"default",{},()=>[oe[0]||(oe[0]=o.createElementVNode("div",null,"Sticky Top",-1))])],6)],4))}}),oo={install(e){e.component("RootContainer",js),e.component("CustomTransition",Bs),e.component("MountedTeleport",$s),e.component("StickyBottom",qs),e.component("StickyTop",Js),e.component("ReadMore",Zs),e.component("AsyncImg",zs)}};return U.AsyncImg=zs,U.CustomTransition=Bs,U.MountedTeleport=$s,U.ReadMore=Zs,U.RootContainer=js,U.StickyBottom=qs,U.StickyTop=Js,U.default=oo,Object.defineProperties(U,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),U}({},Vue);