r3ui-lib 1.3.18 → 1.3.20
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/login.es.js +1242 -1220
- package/dist/login.umd.js +5 -5
- package/dist/r3ui-lib.css +1 -1
- package/dist/r3ui-lib.es.js +6886 -6819
- package/dist/r3ui-lib.umd.js +30 -30
- package/dist/types/components/SsoLoginScreen.vue.d.ts.map +1 -1
- package/dist/types/components/form/CustomInput.vue.d.ts.map +1 -1
- package/dist/types/components/form/PasswordInput.vue.d.ts.map +1 -1
- package/dist/types/components/form/VSelect.vue.d.ts +2 -0
- package/dist/types/components/form/VSelect.vue.d.ts.map +1 -1
- package/dist/types/components/forms/AddressForm.vue.d.ts.map +1 -1
- package/dist/types/components/modals/ConfirmationModal.vue.d.ts +1 -1
- package/dist/types/components/modals/ConfirmationModal.vue.d.ts.map +1 -1
- package/dist/types/components/notifications/ErrorMessageComponent.vue.d.ts.map +1 -1
- package/dist/types/composables/forms/useFieldError.d.ts +10 -0
- package/dist/types/composables/forms/useFieldError.d.ts.map +1 -0
- package/dist/types/utils/auth/signInWithSSO.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/login.umd.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
(function(P,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],o):(P=typeof globalThis<"u"?globalThis:P||self,o(P.R3uiLibLogin={},P.Vue))})(this,(function(P,o){"use strict";const ve=(e,t)=>{const r=e.__vccOpts||e;for(const[s,n]of t)r[s]=n;return r},zr=["aria-expanded","aria-controls"],Br=["aria-expanded","aria-controls"],Zr={style:{"border-bottom":"2px solid #000"}},qr={class:"dropdown-list-wrapper"},Qr=["id"],Jr=["disabled","onClick"],Kr=ve({__name:"DefaultDropDown",props:{links:{type:Array,required:!0},title:{type:String,default:"Actions"},type:{type:String,default:"actions",validator:function(e){return["actions","profile"].includes(e)}}},setup(e){const t=e,r=o.ref(!1),s=o.ref(null),n=o.ref(null),a=o.useId(),i=()=>{r.value=!r.value},u=(D=!1)=>{r.value=!1,D&&n.value?.focus({preventScroll:!0})},f=D=>{u(!0),typeof D=="function"&&D()},m=D=>{s.value?.contains(D.relatedTarget)||u()},b=D=>{!r.value||D.isComposing||(D.preventDefault(),D.stopPropagation(),u(!0))};o.watch(r,(D,$,ee)=>{if(!D)return;const le=s.value.ownerDocument,It=Co=>{s.value?.contains(Co.target)||u()};le.addEventListener("pointerdown",It,!0),ee(()=>le.removeEventListener("pointerdown",It,!0))}),o.onDeactivated(()=>u());const N=o.computed(()=>t.type==="profile");return(D,$)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"wrapperRef",ref:s,class:"custom-dropdown",onFocusout:m,onKeydown:o.withKeys(b,["esc"])},[N.value?(o.openBlock(),o.createElementBlock("button",{key:0,ref_key:"triggerRef",ref:n,type:"button",class:"dropdown-trigger cursor-pointer nav-link dropdown-toggle d-flex align-items-center border rounded p-2","aria-expanded":r.value,"aria-controls":o.unref(a),onClick:o.withModifiers(i,["stop"])},[$[0]||($[0]=o.createElementVNode("div",{class:"circl"},null,-1)),o.createTextVNode(" "+o.toDisplayString(e.title),1)],8,zr)):(o.openBlock(),o.createElementBlock("button",{key:1,ref_key:"triggerRef",ref:n,class:"dropdown-trigger link-dark",type:"button","aria-expanded":r.value,"aria-controls":o.unref(a),onClick:o.withModifiers(i,["stop"])},[o.createElementVNode("span",Zr,o.toDisplayString(e.title),1),$[1]||($[1]=o.createElementVNode("i",{class:"bi bi-chevron-up dropdown-edit",style:{"font-size":"12px","padding-inline-start":"5px"}},null,-1))],8,Br)),o.createElementVNode("div",qr,[r.value?(o.openBlock(),o.createElementBlock("ul",{key:0,id:o.unref(a),class:"custom-dropdown-menu"},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.links,(ee,le)=>(o.openBlock(),o.createElementBlock("li",{key:le},[ee.hidden?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",class:o.normalizeClass(["dropdown-item",{disabled:ee?.disabled}]),disabled:!!ee?.disabled,onClick:It=>f(ee?.action)},o.toDisplayString(ee?.title),11,Jr))]))),128))],8,Qr)):o.createCommentVNode("",!0)])],544))}},[["__scopeId","data-v-ffaf1261"]]),Xr="data:image/svg+xml,%3csvg%20width='222'%20height='72'%20viewBox='0%200%20222%2072'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20width='222'%20height='72'%20fill='url(%23pattern0)'/%3e%3cdefs%3e%3cpattern%20id='pattern0'%20patternContentUnits='objectBoundingBox'%20width='1'%20height='1'%3e%3cuse%20xlink:href='%23image0_3427_23538'%20transform='matrix(0.00490002%200%200%200.0151084%200%20-0.00125339)'/%3e%3c/pattern%3e%3cimage%20id='image0_3427_23538'%20width='205'%20height='59'%20xlink:href='data:image/png;base64,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'/%3e%3c/defs%3e%3c/svg%3e",$r=["src","alt"],$e=ve(o.defineComponent({__name:"Logo",props:{src:{default:Xr},alt:{default:"Logo"},width:{default:154},height:{default:50},className:{default:"logo"},style:{default:()=>({})},brandText:{default:void 0},textSize:{default:12},textColor:{default:"#000"},textWeight:{default:"normal"},showText:{type:Boolean,default:!0}},setup(e){const t=e,r=o.computed(()=>t.src?.startsWith("~/")?t.src.replace("~/","/"):t.src),s=o.computed(()=>{const u="r3ui-logo";return t.className?`${u} ${t.className}`:u}),n=o.computed(()=>({width:typeof t.width=="number"?`${t.width}px`:t.width,height:typeof t.height=="number"?`${t.height}px`:t.height,...t.style})),a=o.computed(()=>"r3ui-logo-container"),i=o.computed(()=>({fontSize:typeof t.textSize=="number"?`${t.textSize}px`:t.textSize,color:t.textColor,fontWeight:t.textWeight}));return(u,f)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["r3ui-logo-container",a.value])},[o.createElementVNode("img",{src:r.value,alt:u.alt,class:o.normalizeClass(s.value),style:o.normalizeStyle(n.value)},null,14,$r),u.brandText&&u.brandText.trim()&&u.showText?(o.openBlock(),o.createElementBlock("span",{key:0,class:"r3ui-logo-text",style:o.normalizeStyle(i.value)},o.toDisplayString(u.brandText),5)):o.createCommentVNode("",!0)],2))}}),[["__scopeId","data-v-57bc5457"]]),es={class:"navbar navbar-expand-md navbar-light bg-white border-bottom hide-to-print r3ui-header"},ts={class:"row align-items-center"},rs={class:"col-auto pe-0"},ss={class:"col-auto ps-0 text-wrap mx-3 r3ui-header-label"},ns={class:"row"},as={class:"col-auto d-flex align-items-center"},is={key:1,class:"text-muted"},os={class:"col-auto"},Ft=ve(o.defineComponent({__name:"Header",props:{isAuthenticated:{type:Boolean,default:!1},user:{type:Object,default:null},brandText:{type:String,required:!0},loginText:{type:String,default:"Authorization"},rawDropdownLinks:{type:Array,default:()=>[]}},emits:["navigate","logout"],setup(e,{emit:t}){const r=e,s=t,n=o.computed(()=>r.rawDropdownLinks.map(a=>a.name==="logout"?{...a,action:()=>s("logout")}:a.name.includes("http")?{...a,action:()=>s("navigate",a.name,{external:!0})}:{...a,action:()=>s("navigate",`/${a.name}`)}));return(a,i)=>(o.openBlock(),o.createElementBlock("div",es,[o.createElementVNode("div",{class:o.normalizeClass([r.isAuthenticated?"container-fluid":"container"])},[o.createElementVNode("a",{href:"/",onClick:i[0]||(i[0]=o.withModifiers(()=>s("navigate","/"),["prevent"])),class:"text-decoration-none r3ui-header-link"},[o.createElementVNode("div",ts,[o.createElementVNode("div",rs,[o.renderSlot(a.$slots,"logo",{},()=>[o.createVNode($e,{class:"r3ui-header-logo",brandText:r.brandText},null,8,["brandText"])],!0)]),o.createElementVNode("div",ss,o.toDisplayString(r.brandText),1)])]),o.createElementVNode("div",ns,[o.createElementVNode("div",as,[r.isAuthenticated?(o.openBlock(),o.createBlock(Kr,{key:0,type:"profile",title:r.user?.name||"",links:n.value},null,8,["title","links"])):o.createCommentVNode("",!0),r.isAuthenticated?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",is,o.toDisplayString(r.loginText),1))]),o.createElementVNode("div",os,[o.renderSlot(a.$slots,"language-selector",{},void 0,!0)])])],2)]))}}),[["__scopeId","data-v-a63a7e7f"]]);//! moment.js
|
|
1
|
+
(function(C,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],o):(C=typeof globalThis<"u"?globalThis:C||self,o(C.R3uiLibLogin={},C.Vue))})(this,(function(C,o){"use strict";const Re=(e,t)=>{const r=e.__vccOpts||e;for(const[s,n]of t)r[s]=n;return r},$r=["aria-expanded","aria-controls"],Xr=["aria-expanded","aria-controls"],es={style:{"border-bottom":"2px solid #000"}},ts={class:"dropdown-list-wrapper"},rs=["id"],ss=["disabled","onClick"],ns=Re({__name:"DefaultDropDown",props:{links:{type:Array,required:!0},title:{type:String,default:"Actions"},type:{type:String,default:"actions",validator:function(e){return["actions","profile"].includes(e)}}},setup(e){const t=e,r=o.ref(!1),s=o.ref(null),n=o.ref(null),a=o.useId(),i=()=>{r.value=!r.value},l=(k=!1)=>{r.value=!1,k&&n.value?.focus({preventScroll:!0})},f=k=>{l(!0),typeof k=="function"&&k()},m=k=>{s.value?.contains(k.relatedTarget)||l()},O=k=>{!r.value||k.isComposing||(k.preventDefault(),k.stopPropagation(),l(!0))};o.watch(r,(k,ne,ee)=>{if(!k)return;const v=s.value.ownerDocument,Ne=Pe=>{s.value?.contains(Pe.target)||l()};v.addEventListener("pointerdown",Ne,!0),ee(()=>v.removeEventListener("pointerdown",Ne,!0))}),o.onDeactivated(()=>l());const T=o.computed(()=>t.type==="profile");return(k,ne)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"wrapperRef",ref:s,class:"custom-dropdown",onFocusout:m,onKeydown:o.withKeys(O,["esc"])},[T.value?(o.openBlock(),o.createElementBlock("button",{key:0,ref_key:"triggerRef",ref:n,type:"button",class:"dropdown-trigger cursor-pointer nav-link dropdown-toggle d-flex align-items-center border rounded p-2","aria-expanded":r.value,"aria-controls":o.unref(a),onClick:o.withModifiers(i,["stop"])},[ne[0]||(ne[0]=o.createElementVNode("div",{class:"circl"},null,-1)),o.createTextVNode(" "+o.toDisplayString(e.title),1)],8,$r)):(o.openBlock(),o.createElementBlock("button",{key:1,ref_key:"triggerRef",ref:n,class:"dropdown-trigger link-dark",type:"button","aria-expanded":r.value,"aria-controls":o.unref(a),onClick:o.withModifiers(i,["stop"])},[o.createElementVNode("span",es,o.toDisplayString(e.title),1),ne[1]||(ne[1]=o.createElementVNode("i",{class:"bi bi-chevron-up dropdown-edit",style:{"font-size":"12px","padding-inline-start":"5px"}},null,-1))],8,Xr)),o.createElementVNode("div",ts,[r.value?(o.openBlock(),o.createElementBlock("ul",{key:0,id:o.unref(a),class:"custom-dropdown-menu"},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.links,(ee,v)=>(o.openBlock(),o.createElementBlock("li",{key:v},[ee.hidden?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",class:o.normalizeClass(["dropdown-item",{disabled:ee?.disabled}]),disabled:!!ee?.disabled,onClick:Ne=>f(ee?.action)},o.toDisplayString(ee?.title),11,ss))]))),128))],8,rs)):o.createCommentVNode("",!0)])],544))}},[["__scopeId","data-v-ffaf1261"]]),as="data:image/svg+xml,%3csvg%20width='222'%20height='72'%20viewBox='0%200%20222%2072'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20width='222'%20height='72'%20fill='url(%23pattern0)'/%3e%3cdefs%3e%3cpattern%20id='pattern0'%20patternContentUnits='objectBoundingBox'%20width='1'%20height='1'%3e%3cuse%20xlink:href='%23image0_3427_23538'%20transform='matrix(0.00490002%200%200%200.0151084%200%20-0.00125339)'/%3e%3c/pattern%3e%3cimage%20id='image0_3427_23538'%20width='205'%20height='59'%20xlink:href='data:image/png;base64,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'/%3e%3c/defs%3e%3c/svg%3e",is=["src","alt"],nt=Re(o.defineComponent({__name:"Logo",props:{src:{default:as},alt:{default:"Logo"},width:{default:154},height:{default:50},className:{default:"logo"},style:{default:()=>({})},brandText:{default:void 0},textSize:{default:12},textColor:{default:"#000"},textWeight:{default:"normal"},showText:{type:Boolean,default:!0}},setup(e){const t=e,r=o.computed(()=>t.src?.startsWith("~/")?t.src.replace("~/","/"):t.src),s=o.computed(()=>{const l="r3ui-logo";return t.className?`${l} ${t.className}`:l}),n=o.computed(()=>({width:typeof t.width=="number"?`${t.width}px`:t.width,height:typeof t.height=="number"?`${t.height}px`:t.height,...t.style})),a=o.computed(()=>"r3ui-logo-container"),i=o.computed(()=>({fontSize:typeof t.textSize=="number"?`${t.textSize}px`:t.textSize,color:t.textColor,fontWeight:t.textWeight}));return(l,f)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["r3ui-logo-container",a.value])},[o.createElementVNode("img",{src:r.value,alt:l.alt,class:o.normalizeClass(s.value),style:o.normalizeStyle(n.value)},null,14,is),l.brandText&&l.brandText.trim()&&l.showText?(o.openBlock(),o.createElementBlock("span",{key:0,class:"r3ui-logo-text",style:o.normalizeStyle(i.value)},o.toDisplayString(l.brandText),5)):o.createCommentVNode("",!0)],2))}}),[["__scopeId","data-v-57bc5457"]]),os={class:"navbar navbar-expand-md navbar-light bg-white border-bottom hide-to-print r3ui-header"},ls={class:"row align-items-center"},us={class:"col-auto pe-0"},ds={class:"col-auto ps-0 text-wrap mx-3 r3ui-header-label"},cs={class:"row"},fs={class:"col-auto d-flex align-items-center"},hs={key:1,class:"text-muted"},ms={class:"col-auto"},Gt=Re(o.defineComponent({__name:"Header",props:{isAuthenticated:{type:Boolean,default:!1},user:{type:Object,default:null},brandText:{type:String,required:!0},loginText:{type:String,default:"Authorization"},rawDropdownLinks:{type:Array,default:()=>[]}},emits:["navigate","logout"],setup(e,{emit:t}){const r=e,s=t,n=o.computed(()=>r.rawDropdownLinks.map(a=>a.name==="logout"?{...a,action:()=>s("logout")}:a.name.includes("http")?{...a,action:()=>s("navigate",a.name,{external:!0})}:{...a,action:()=>s("navigate",`/${a.name}`)}));return(a,i)=>(o.openBlock(),o.createElementBlock("div",os,[o.createElementVNode("div",{class:o.normalizeClass([r.isAuthenticated?"container-fluid":"container"])},[o.createElementVNode("a",{href:"/",onClick:i[0]||(i[0]=o.withModifiers(()=>s("navigate","/"),["prevent"])),class:"text-decoration-none r3ui-header-link"},[o.createElementVNode("div",ls,[o.createElementVNode("div",us,[o.renderSlot(a.$slots,"logo",{},()=>[o.createVNode(nt,{class:"r3ui-header-logo",brandText:r.brandText},null,8,["brandText"])],!0)]),o.createElementVNode("div",ds,o.toDisplayString(r.brandText),1)])]),o.createElementVNode("div",cs,[o.createElementVNode("div",fs,[r.isAuthenticated?(o.openBlock(),o.createBlock(ns,{key:0,type:"profile",title:r.user?.name||"",links:n.value},null,8,["title","links"])):o.createCommentVNode("",!0),r.isAuthenticated?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",hs,o.toDisplayString(r.loginText),1))]),o.createElementVNode("div",ms,[o.renderSlot(a.$slots,"language-selector",{},void 0,!0)])])],2)]))}}),[["__scopeId","data-v-a63a7e7f"]]);//! moment.js
|
|
2
2
|
//! version : 2.30.1
|
|
3
3
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
4
4
|
//! license : MIT
|
|
5
5
|
//! momentjs.com
|
|
6
|
-
var
|
|
7
|
-
[`+a+"] ";for(i in arguments[0])w(arguments[0],i)&&(n+=i+": "+arguments[0][i]+", ");n=n.slice(0,-2)}else n=arguments[a];s.push(n)}
|
|
6
|
+
var jt;function d(){return jt.apply(null,arguments)}function ys(e){jt=e}function L(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 at(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 P(e){return e===void 0}function z(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 zt(e,t){var r=[],s,n=e.length;for(s=0;s<n;++s)r.push(t(e[s],s));return r}function te(e,t){for(var r in t)w(t,r)&&(e[r]=t[r]);return w(t,"toString")&&(e.toString=t.toString),w(t,"valueOf")&&(e.valueOf=t.valueOf),e}function V(e,t,r,s){return wr(e,t,r,s,!0).utc()}function _s(){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 y(e){return e._pf==null&&(e._pf=_s()),e._pf}var it;Array.prototype.some?it=Array.prototype.some:it=function(e){var t=Object(this),r=t.length>>>0,s;for(s=0;s<r;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1};function ot(e){var t=null,r=!1,s=e._d&&!isNaN(e._d.getTime());if(s&&(t=y(e),r=it.call(t.parsedDateParts,function(n){return n!=null}),s=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r),e._strict&&(s=s&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=s;else return s;return e._isValid}function Ee(e){var t=V(NaN);return e!=null?te(y(t),e):y(t).userInvalidated=!0,t}var Bt=d.momentProperties=[],lt=!1;function ut(e,t){var r,s,n,a=Bt.length;if(P(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),P(t._i)||(e._i=t._i),P(t._f)||(e._f=t._f),P(t._l)||(e._l=t._l),P(t._strict)||(e._strict=t._strict),P(t._tzm)||(e._tzm=t._tzm),P(t._isUTC)||(e._isUTC=t._isUTC),P(t._offset)||(e._offset=t._offset),P(t._pf)||(e._pf=y(t)),P(t._locale)||(e._locale=t._locale),a>0)for(r=0;r<a;r++)s=Bt[r],n=t[s],P(n)||(e[s]=n);return e}function ke(e){ut(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),lt===!1&&(lt=!0,d.updateOffset(this),lt=!1)}function I(e){return e instanceof ke||e!=null&&e._isAMomentObject!=null}function Zt(e){d.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function E(e,t){var r=!0;return te(function(){if(d.deprecationHandler!=null&&d.deprecationHandler(null,e),r){var s=[],n,a,i,l=arguments.length;for(a=0;a<l;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];s.push(n)}Zt(e+`
|
|
8
8
|
Arguments: `+Array.prototype.slice.call(s).join("")+`
|
|
9
|
-
`+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var jt={};function zt(e,t){d.deprecationHandler!=null&&d.deprecationHandler(e,t),jt[e]||(Gt(t),jt[e]=!0)}d.suppressDeprecationWarnings=!1,d.deprecationHandler=null;function U(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function ds(e){var t,r;for(r in e)w(e,r)&&(t=e[r],U(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function at(e,t){var r=te({},e),s;for(s in t)w(t,s)&&(ne(e[s])&&ne(t[s])?(r[s]={},te(r[s],e[s]),te(r[s],t[s])):t[s]!=null?r[s]=t[s]:delete r[s]);for(s in e)w(e,s)&&!w(t,s)&&ne(e[s])&&(r[s]=te({},r[s]));return r}function it(e){e!=null&&this.set(e)}var ot;Object.keys?ot=Object.keys:ot=function(e){var t,r=[];for(t in e)w(e,t)&&r.push(t);return r};var cs={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function fs(e,t,r){var s=this._calendar[e]||this._calendar.sameElse;return U(s)?s.call(t,r):s}function H(e,t,r){var s=""+Math.abs(e),n=t-s.length,a=e>=0;return(a?r?"+":"":"-")+Math.pow(10,Math.max(0,n)).toString().substr(1)+s}var lt=/(\[[^\[]*\])|(\\)?([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,Pe=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ut={},ue={};function h(e,t,r,s){var n=s;typeof s=="string"&&(n=function(){return this[s]()}),e&&(ue[e]=n),t&&(ue[t[0]]=function(){return H(n.apply(this,arguments),t[1],t[2])}),r&&(ue[r]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function hs(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function ms(e){var t=e.match(lt),r,s;for(r=0,s=t.length;r<s;r++)ue[t[r]]?t[r]=ue[t[r]]:t[r]=hs(t[r]);return function(n){var a="",i;for(i=0;i<s;i++)a+=U(t[i])?t[i].call(n,e):t[i];return a}}function Ce(e,t){return e.isValid()?(t=Bt(t,e.localeData()),ut[t]=ut[t]||ms(t),ut[t](e)):e.localeData().invalidDate()}function Bt(e,t){var r=5;function s(n){return t.longDateFormat(n)||n}for(Pe.lastIndex=0;r>=0&&Pe.test(e);)e=e.replace(Pe,s),Pe.lastIndex=0,r-=1;return e}var ys={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 _s(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(lt).map(function(s){return s==="MMMM"||s==="MM"||s==="DD"||s==="dddd"?s.slice(1):s}).join(""),this._longDateFormat[e])}var gs="Invalid date";function ws(){return this._invalidDate}var ps="%d",ks=/\d{1,2}/;function Ss(e){return this._ordinal.replace("%d",e)}var Ms={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 Ds(e,t,r,s){var n=this._relativeTime[r];return U(n)?n(e,t,r,s):n.replace(/%d/i,e)}function Ys(e,t){var r=this._relativeTime[e>0?"future":"past"];return U(r)?r(t):r.replace(/%s/i,t)}var Zt={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 W(e){return typeof e=="string"?Zt[e]||Zt[e.toLowerCase()]:void 0}function dt(e){var t={},r,s;for(s in e)w(e,s)&&(r=W(s),r&&(t[r]=e[s]));return t}var bs={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 Os(e){var t=[],r;for(r in e)w(e,r)&&t.push({unit:r,priority:bs[r]});return t.sort(function(s,n){return s.priority-n.priority}),t}var qt=/\d/,C=/\d\d/,Qt=/\d{3}/,ct=/\d{4}/,Re=/[+-]?\d{6}/,S=/\d\d?/,Jt=/\d\d\d\d?/,Kt=/\d\d\d\d\d\d?/,We=/\d{1,3}/,ft=/\d{1,4}/,Ee=/[+-]?\d{1,6}/,de=/\d+/,Ae=/[+-]?\d+/,Ts=/Z|[+-]\d\d:?\d\d/gi,Le=/Z|[+-]\d\d(?::?\d\d)?/gi,xs=/[+-]?\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,ce=/^[1-9]\d?/,ht=/^([1-9]\d|\d)/,Ie;Ie={};function c(e,t,r){Ie[e]=U(t)?t:function(s,n){return s&&r?r:t}}function vs(e,t){return w(Ie,e)?Ie[e](t._strict,t._locale):new RegExp(Ns(e))}function Ns(e){return z(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,s,n,a){return r||s||n||a}))}function z(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function E(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function _(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=E(t)),r}var mt={};function k(e,t){var r,s=t,n;for(typeof e=="string"&&(e=[e]),j(t)&&(s=function(a,i){i[t]=_(a)}),n=e.length,r=0;r<n;r++)mt[e[r]]=s}function Se(e,t){k(e,function(r,s,n,a){n._w=n._w||{},t(r,n._w,n,a)})}function Ps(e,t,r){t!=null&&w(mt,e)&&mt[e](t,r._a,r,e)}function Fe(e){return e%4===0&&e%100!==0||e%400===0}var x=0,B=1,G=2,T=3,I=4,Z=5,ae=6,Cs=7,Rs=8;h("Y",0,0,function(){var e=this.year();return e<=9999?H(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"),c("Y",Ae),c("YY",S,C),c("YYYY",ft,ct),c("YYYYY",Ee,Re),c("YYYYYY",Ee,Re),k(["YYYYY","YYYYYY"],x),k("YYYY",function(e,t){t[x]=e.length===2?d.parseTwoDigitYear(e):_(e)}),k("YY",function(e,t){t[x]=d.parseTwoDigitYear(e)}),k("Y",function(e,t){t[x]=parseInt(e,10)});function Me(e){return Fe(e)?366:365}d.parseTwoDigitYear=function(e){return _(e)+(_(e)>68?1900:2e3)};var Xt=fe("FullYear",!0);function Ws(){return Fe(this.year())}function fe(e,t){return function(r){return r!=null?($t(this,e,r),d.updateOffset(this,t),this):De(this,e)}}function De(e,t){if(!e.isValid())return NaN;var r=e._d,s=e._isUTC;switch(t){case"Milliseconds":return s?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return s?r.getUTCSeconds():r.getSeconds();case"Minutes":return s?r.getUTCMinutes():r.getMinutes();case"Hours":return s?r.getUTCHours():r.getHours();case"Date":return s?r.getUTCDate():r.getDate();case"Day":return s?r.getUTCDay():r.getDay();case"Month":return s?r.getUTCMonth():r.getMonth();case"FullYear":return s?r.getUTCFullYear():r.getFullYear();default:return NaN}}function $t(e,t,r){var s,n,a,i,u;if(!(!e.isValid()||isNaN(r))){switch(s=e._d,n=e._isUTC,t){case"Milliseconds":return void(n?s.setUTCMilliseconds(r):s.setMilliseconds(r));case"Seconds":return void(n?s.setUTCSeconds(r):s.setSeconds(r));case"Minutes":return void(n?s.setUTCMinutes(r):s.setMinutes(r));case"Hours":return void(n?s.setUTCHours(r):s.setHours(r));case"Date":return void(n?s.setUTCDate(r):s.setDate(r));case"FullYear":break;default:return}a=r,i=e.month(),u=e.date(),u=u===29&&i===1&&!Fe(a)?28:u,n?s.setUTCFullYear(a,i,u):s.setFullYear(a,i,u)}}function Es(e){return e=W(e),U(this[e])?this[e]():this}function As(e,t){if(typeof e=="object"){e=dt(e);var r=Os(e),s,n=r.length;for(s=0;s<n;s++)this[r[s].unit](e[r[s].unit])}else if(e=W(e),U(this[e]))return this[e](t);return this}function Ls(e,t){return(e%t+t)%t}var O;Array.prototype.indexOf?O=Array.prototype.indexOf:O=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function yt(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=Ls(t,12);return e+=(t-r)/12,r===1?Fe(e)?29:28:31-r%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)}),c("M",S,ce),c("MM",S,C),c("MMM",function(e,t){return t.monthsShortRegex(e)}),c("MMMM",function(e,t){return t.monthsRegex(e)}),k(["M","MM"],function(e,t){t[B]=_(e)-1}),k(["MMM","MMMM"],function(e,t,r,s){var n=r._locale.monthsParse(e,s,r._strict);n!=null?t[B]=n:y(r).invalidMonth=e});var Is="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),er="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),tr=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Fs=ke,Vs=ke;function Us(e,t){return e?A(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||tr).test(t)?"format":"standalone"][e.month()]:A(this._months)?this._months:this._months.standalone}function Hs(e,t){return e?A(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[tr.test(t)?"format":"standalone"][e.month()]:A(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Gs(e,t,r){var s,n,a,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)a=V([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(a,"").toLocaleLowerCase();return r?t==="MMM"?(n=O.call(this._shortMonthsParse,i),n!==-1?n:null):(n=O.call(this._longMonthsParse,i),n!==-1?n:null):t==="MMM"?(n=O.call(this._shortMonthsParse,i),n!==-1?n:(n=O.call(this._longMonthsParse,i),n!==-1?n:null)):(n=O.call(this._longMonthsParse,i),n!==-1?n:(n=O.call(this._shortMonthsParse,i),n!==-1?n:null))}function js(e,t,r){var s,n,a;if(this._monthsParseExact)return Gs.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(n=V([2e3,s]),r&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),!r&&!this._monthsParse[s]&&(a="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[s]=new RegExp(a.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[s].test(e))return s;if(r&&t==="MMM"&&this._shortMonthsParse[s].test(e))return s;if(!r&&this._monthsParse[s].test(e))return s}}function rr(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=_(t);else if(t=e.localeData().monthsParse(t),!j(t))return e}var r=t,s=e.date();return s=s<29?s:Math.min(s,yt(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,s):e._d.setMonth(r,s),e}function sr(e){return e!=null?(rr(this,e),d.updateOffset(this,!0),this):De(this,"Month")}function zs(){return yt(this.year(),this.month())}function Bs(e){return this._monthsParseExact?(w(this,"_monthsRegex")||nr.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(w(this,"_monthsShortRegex")||(this._monthsShortRegex=Fs),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Zs(e){return this._monthsParseExact?(w(this,"_monthsRegex")||nr.call(this),e?this._monthsStrictRegex:this._monthsRegex):(w(this,"_monthsRegex")||(this._monthsRegex=Vs),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function nr(){function e(f,m){return m.length-f.length}var t=[],r=[],s=[],n,a,i,u;for(n=0;n<12;n++)a=V([2e3,n]),i=z(this.monthsShort(a,"")),u=z(this.months(a,"")),t.push(i),r.push(u),s.push(u),s.push(i);t.sort(e),r.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function qs(e,t,r,s,n,a,i){var u;return e<100&&e>=0?(u=new Date(e+400,t,r,s,n,a,i),isFinite(u.getFullYear())&&u.setFullYear(e)):u=new Date(e,t,r,s,n,a,i),u}function Ye(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ve(e,t,r){var s=7+t-r,n=(7+Ye(e,0,s).getUTCDay()-t)%7;return-n+s-1}function ar(e,t,r,s,n){var a=(7+r-s)%7,i=Ve(e,s,n),u=1+7*(t-1)+a+i,f,m;return u<=0?(f=e-1,m=Me(f)+u):u>Me(e)?(f=e+1,m=u-Me(e)):(f=e,m=u),{year:f,dayOfYear:m}}function be(e,t,r){var s=Ve(e.year(),t,r),n=Math.floor((e.dayOfYear()-s-1)/7)+1,a,i;return n<1?(i=e.year()-1,a=n+q(i,t,r)):n>q(e.year(),t,r)?(a=n-q(e.year(),t,r),i=e.year()+1):(i=e.year(),a=n),{week:a,year:i}}function q(e,t,r){var s=Ve(e,t,r),n=Ve(e+1,t,r);return(Me(e)-s+n)/7}h("w",["ww",2],"wo","week"),h("W",["WW",2],"Wo","isoWeek"),c("w",S,ce),c("ww",S,C),c("W",S,ce),c("WW",S,C),Se(["w","ww","W","WW"],function(e,t,r,s){t[s.substr(0,1)]=_(e)});function Qs(e){return be(e,this._week.dow,this._week.doy).week}var Js={dow:0,doy:6};function Ks(){return this._week.dow}function Xs(){return this._week.doy}function $s(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function en(e){var t=be(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"),c("d",S),c("e",S),c("E",S),c("dd",function(e,t){return t.weekdaysMinRegex(e)}),c("ddd",function(e,t){return t.weekdaysShortRegex(e)}),c("dddd",function(e,t){return t.weekdaysRegex(e)}),Se(["dd","ddd","dddd"],function(e,t,r,s){var n=r._locale.weekdaysParse(e,s,r._strict);n!=null?t.d=n:y(r).invalidWeekday=e}),Se(["d","e","E"],function(e,t,r,s){t[s]=_(e)});function tn(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function rn(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function _t(e,t){return e.slice(t,7).concat(e.slice(0,t))}var sn="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ir="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),nn="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),an=ke,on=ke,ln=ke;function un(e,t){var r=A(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?_t(r,this._week.dow):e?r[e.day()]:r}function dn(e){return e===!0?_t(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function cn(e){return e===!0?_t(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function fn(e,t,r){var s,n,a,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)a=V([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(a,"").toLocaleLowerCase();return r?t==="dddd"?(n=O.call(this._weekdaysParse,i),n!==-1?n:null):t==="ddd"?(n=O.call(this._shortWeekdaysParse,i),n!==-1?n:null):(n=O.call(this._minWeekdaysParse,i),n!==-1?n:null):t==="dddd"?(n=O.call(this._weekdaysParse,i),n!==-1||(n=O.call(this._shortWeekdaysParse,i),n!==-1)?n:(n=O.call(this._minWeekdaysParse,i),n!==-1?n:null)):t==="ddd"?(n=O.call(this._shortWeekdaysParse,i),n!==-1||(n=O.call(this._weekdaysParse,i),n!==-1)?n:(n=O.call(this._minWeekdaysParse,i),n!==-1?n:null)):(n=O.call(this._minWeekdaysParse,i),n!==-1||(n=O.call(this._weekdaysParse,i),n!==-1)?n:(n=O.call(this._shortWeekdaysParse,i),n!==-1?n:null))}function hn(e,t,r){var s,n,a;if(this._weekdaysParseExact)return fn.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(n=V([2e3,1]).day(s),r&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(a="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[s]=new RegExp(a.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[s].test(e))return s;if(r&&t==="ddd"&&this._shortWeekdaysParse[s].test(e))return s;if(r&&t==="dd"&&this._minWeekdaysParse[s].test(e))return s;if(!r&&this._weekdaysParse[s].test(e))return s}}function mn(e){if(!this.isValid())return e!=null?this:NaN;var t=De(this,"Day");return e!=null?(e=tn(e,this.localeData()),this.add(e-t,"d")):t}function yn(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 _n(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=rn(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function gn(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||gt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(w(this,"_weekdaysRegex")||(this._weekdaysRegex=an),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function wn(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||gt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(w(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=on),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function pn(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||gt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(w(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ln),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function gt(){function e(b,N){return N.length-b.length}var t=[],r=[],s=[],n=[],a,i,u,f,m;for(a=0;a<7;a++)i=V([2e3,1]).day(a),u=z(this.weekdaysMin(i,"")),f=z(this.weekdaysShort(i,"")),m=z(this.weekdays(i,"")),t.push(u),r.push(f),s.push(m),n.push(u),n.push(f),n.push(m);t.sort(e),r.sort(e),s.sort(e),n.sort(e),this._weekdaysRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function wt(){return this.hours()%12||12}function kn(){return this.hours()||24}h("H",["HH",2],0,"hour"),h("h",["hh",2],0,wt),h("k",["kk",2],0,kn),h("hmm",0,0,function(){return""+wt.apply(this)+H(this.minutes(),2)}),h("hmmss",0,0,function(){return""+wt.apply(this)+H(this.minutes(),2)+H(this.seconds(),2)}),h("Hmm",0,0,function(){return""+this.hours()+H(this.minutes(),2)}),h("Hmmss",0,0,function(){return""+this.hours()+H(this.minutes(),2)+H(this.seconds(),2)});function or(e,t){h(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}or("a",!0),or("A",!1);function lr(e,t){return t._meridiemParse}c("a",lr),c("A",lr),c("H",S,ht),c("h",S,ce),c("k",S,ce),c("HH",S,C),c("hh",S,C),c("kk",S,C),c("hmm",Jt),c("hmmss",Kt),c("Hmm",Jt),c("Hmmss",Kt),k(["H","HH"],T),k(["k","kk"],function(e,t,r){var s=_(e);t[T]=s===24?0:s}),k(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),k(["h","hh"],function(e,t,r){t[T]=_(e),y(r).bigHour=!0}),k("hmm",function(e,t,r){var s=e.length-2;t[T]=_(e.substr(0,s)),t[I]=_(e.substr(s)),y(r).bigHour=!0}),k("hmmss",function(e,t,r){var s=e.length-4,n=e.length-2;t[T]=_(e.substr(0,s)),t[I]=_(e.substr(s,2)),t[Z]=_(e.substr(n)),y(r).bigHour=!0}),k("Hmm",function(e,t,r){var s=e.length-2;t[T]=_(e.substr(0,s)),t[I]=_(e.substr(s))}),k("Hmmss",function(e,t,r){var s=e.length-4,n=e.length-2;t[T]=_(e.substr(0,s)),t[I]=_(e.substr(s,2)),t[Z]=_(e.substr(n))});function Sn(e){return(e+"").toLowerCase().charAt(0)==="p"}var Mn=/[ap]\.?m?\.?/i,Dn=fe("Hours",!0);function Yn(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var ur={calendar:cs,longDateFormat:ys,invalidDate:gs,ordinal:ps,dayOfMonthOrdinalParse:ks,relativeTime:Ms,months:Is,monthsShort:er,week:Js,weekdays:sn,weekdaysMin:nn,weekdaysShort:ir,meridiemParse:Mn},Y={},Oe={},Te;function bn(e,t){var r,s=Math.min(e.length,t.length);for(r=0;r<s;r+=1)if(e[r]!==t[r])return r;return s}function dr(e){return e&&e.toLowerCase().replace("_","-")}function On(e){for(var t=0,r,s,n,a;t<e.length;){for(a=dr(e[t]).split("-"),r=a.length,s=dr(e[t+1]),s=s?s.split("-"):null;r>0;){if(n=Ue(a.slice(0,r).join("-")),n)return n;if(s&&s.length>=r&&bn(a,s)>=r-1)break;r--}t++}return Te}function Tn(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Ue(e){var t=null,r;if(Y[e]===void 0&&typeof module<"u"&&module&&module.exports&&Tn(e))try{t=Te._abbr,r=require,r("./locale/"+e),re(t)}catch{Y[e]=null}return Y[e]}function re(e,t){var r;return e&&(v(t)?r=Q(e):r=pt(e,t),r?Te=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Te._abbr}function pt(e,t){if(t!==null){var r,s=ur;if(t.abbr=e,Y[e]!=null)zt("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."),s=Y[e]._config;else if(t.parentLocale!=null)if(Y[t.parentLocale]!=null)s=Y[t.parentLocale]._config;else if(r=Ue(t.parentLocale),r!=null)s=r._config;else return Oe[t.parentLocale]||(Oe[t.parentLocale]=[]),Oe[t.parentLocale].push({name:e,config:t}),null;return Y[e]=new it(at(s,t)),Oe[e]&&Oe[e].forEach(function(n){pt(n.name,n.config)}),re(e),Y[e]}else return delete Y[e],null}function xn(e,t){if(t!=null){var r,s,n=ur;Y[e]!=null&&Y[e].parentLocale!=null?Y[e].set(at(Y[e]._config,t)):(s=Ue(e),s!=null&&(n=s._config),t=at(n,t),s==null&&(t.abbr=e),r=new it(t),r.parentLocale=Y[e],Y[e]=r),re(e)}else Y[e]!=null&&(Y[e].parentLocale!=null?(Y[e]=Y[e].parentLocale,e===re()&&re(e)):Y[e]!=null&&delete Y[e]);return Y[e]}function Q(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Te;if(!A(e)){if(t=Ue(e),t)return t;e=[e]}return On(e)}function vn(){return ot(Y)}function kt(e){var t,r=e._a;return r&&y(e).overflow===-2&&(t=r[B]<0||r[B]>11?B:r[G]<1||r[G]>yt(r[x],r[B])?G:r[T]<0||r[T]>24||r[T]===24&&(r[I]!==0||r[Z]!==0||r[ae]!==0)?T:r[I]<0||r[I]>59?I:r[Z]<0||r[Z]>59?Z:r[ae]<0||r[ae]>999?ae:-1,y(e)._overflowDayOfYear&&(t<x||t>G)&&(t=G),y(e)._overflowWeeks&&t===-1&&(t=Cs),y(e)._overflowWeekday&&t===-1&&(t=Rs),y(e).overflow=t),e}var Nn=/^\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)?)?$/,Pn=/^\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)?)?$/,Cn=/Z|[+-]\d\d(?::?\d\d)?/,He=[["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]],St=[["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/]],Rn=/^\/?Date\((-?\d+)/i,Wn=/^(?:(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}))$/,En={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function cr(e){var t,r,s=e._i,n=Nn.exec(s)||Pn.exec(s),a,i,u,f,m=He.length,b=St.length;if(n){for(y(e).iso=!0,t=0,r=m;t<r;t++)if(He[t][1].exec(n[1])){i=He[t][0],a=He[t][2]!==!1;break}if(i==null){e._isValid=!1;return}if(n[3]){for(t=0,r=b;t<r;t++)if(St[t][1].exec(n[3])){u=(n[2]||" ")+St[t][0];break}if(u==null){e._isValid=!1;return}}if(!a&&u!=null){e._isValid=!1;return}if(n[4])if(Cn.exec(n[4]))f="Z";else{e._isValid=!1;return}e._f=i+(u||"")+(f||""),Dt(e)}else e._isValid=!1}function An(e,t,r,s,n,a){var i=[Ln(e),er.indexOf(t),parseInt(r,10),parseInt(s,10),parseInt(n,10)];return a&&i.push(parseInt(a,10)),i}function Ln(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function In(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Fn(e,t,r){if(e){var s=ir.indexOf(e),n=new Date(t[0],t[1],t[2]).getDay();if(s!==n)return y(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function Vn(e,t,r){if(e)return En[e];if(t)return 0;var s=parseInt(r,10),n=s%100,a=(s-n)/100;return a*60+n}function fr(e){var t=Wn.exec(In(e._i)),r;if(t){if(r=An(t[4],t[3],t[2],t[5],t[6],t[7]),!Fn(t[1],r,e))return;e._a=r,e._tzm=Vn(t[8],t[9],t[10]),e._d=Ye.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),y(e).rfc2822=!0}else e._isValid=!1}function Un(e){var t=Rn.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(cr(e),e._isValid===!1)delete e._isValid;else return;if(fr(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,r){return e??t??r}function Hn(e){var t=new Date(d.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Mt(e){var t,r,s=[],n,a,i;if(!e._d){for(n=Hn(e),e._w&&e._a[G]==null&&e._a[B]==null&&Gn(e),e._dayOfYear!=null&&(i=he(e._a[x],n[x]),(e._dayOfYear>Me(i)||e._dayOfYear===0)&&(y(e)._overflowDayOfYear=!0),r=Ye(i,0,e._dayOfYear),e._a[B]=r.getUTCMonth(),e._a[G]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=s[t]=n[t];for(;t<7;t++)e._a[t]=s[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[T]===24&&e._a[I]===0&&e._a[Z]===0&&e._a[ae]===0&&(e._nextDay=!0,e._a[T]=0),e._d=(e._useUTC?Ye:qs).apply(null,s),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[T]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==a&&(y(e).weekdayMismatch=!0)}}function Gn(e){var t,r,s,n,a,i,u,f,m;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(a=1,i=4,r=he(t.GG,e._a[x],be(M(),1,4).year),s=he(t.W,1),n=he(t.E,1),(n<1||n>7)&&(f=!0)):(a=e._locale._week.dow,i=e._locale._week.doy,m=be(M(),a,i),r=he(t.gg,e._a[x],m.year),s=he(t.w,m.week),t.d!=null?(n=t.d,(n<0||n>6)&&(f=!0)):t.e!=null?(n=t.e+a,(t.e<0||t.e>6)&&(f=!0)):n=a),s<1||s>q(r,a,i)?y(e)._overflowWeeks=!0:f!=null?y(e)._overflowWeekday=!0:(u=ar(r,s,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){cr(e);return}if(e._f===d.RFC_2822){fr(e);return}e._a=[],y(e).empty=!0;var t=""+e._i,r,s,n,a,i,u=t.length,f=0,m,b;for(n=Bt(e._f,e._locale).match(lt)||[],b=n.length,r=0;r<b;r++)a=n[r],s=(t.match(vs(a,e))||[])[0],s&&(i=t.substr(0,t.indexOf(s)),i.length>0&&y(e).unusedInput.push(i),t=t.slice(t.indexOf(s)+s.length),f+=s.length),ue[a]?(s?y(e).empty=!1:y(e).unusedTokens.push(a),Ps(a,s,e)):e._strict&&!s&&y(e).unusedTokens.push(a);y(e).charsLeftOver=u-f,t.length>0&&y(e).unusedInput.push(t),e._a[T]<=12&&y(e).bigHour===!0&&e._a[T]>0&&(y(e).bigHour=void 0),y(e).parsedDateParts=e._a.slice(0),y(e).meridiem=e._meridiem,e._a[T]=jn(e._locale,e._a[T],e._meridiem),m=y(e).era,m!==null&&(e._a[x]=e._locale.erasConvertYear(m,e._a[x])),Mt(e),kt(e)}function jn(e,t,r){var s;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(s=e.isPM(r),s&&t<12&&(t+=12),!s&&t===12&&(t=0)),t)}function zn(e){var t,r,s,n,a,i,u=!1,f=e._f.length;if(f===0){y(e).invalidFormat=!0,e._d=new Date(NaN);return}for(n=0;n<f;n++)a=0,i=!1,t=nt({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[n],Dt(t),rt(t)&&(i=!0),a+=y(t).charsLeftOver,a+=y(t).unusedTokens.length*10,y(t).score=a,u?a<s&&(s=a,r=t):(s==null||a<s||i)&&(s=a,r=t,i&&(u=!0));te(e,r||t)}function Bn(e){if(!e._d){var t=dt(e._i),r=t.day===void 0?t.date:t.day;e._a=Ut([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(s){return s&&parseInt(s,10)}),Mt(e)}}function Zn(e){var t=new pe(kt(hr(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function hr(e){var t=e._i,r=e._f;return e._locale=e._locale||Q(e._l),t===null||r===void 0&&t===""?Ne({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),L(t)?new pe(kt(t)):(we(t)?e._d=t:A(r)?zn(e):r?Dt(e):qn(e),rt(e)||(e._d=null),e))}function qn(e){var t=e._i;v(t)?e._d=new Date(d.now()):we(t)?e._d=new Date(t.valueOf()):typeof t=="string"?Un(e):A(t)?(e._a=Ut(t.slice(0),function(r){return parseInt(r,10)}),Mt(e)):ne(t)?Bn(e):j(t)?e._d=new Date(t):d.createFromInputFallback(e)}function mr(e,t,r,s,n){var a={};return(t===!0||t===!1)&&(s=t,t=void 0),(r===!0||r===!1)&&(s=r,r=void 0),(ne(e)&&et(e)||A(e)&&e.length===0)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=n,a._l=r,a._i=e,a._f=t,a._strict=s,Zn(a)}function M(e,t,r,s){return mr(e,t,r,s,!1)}var Qn=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:Ne()}),Jn=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:Ne()});function yr(e,t){var r,s;if(t.length===1&&A(t[0])&&(t=t[0]),!t.length)return M();for(r=t[0],s=1;s<t.length;++s)(!t[s].isValid()||t[s][e](r))&&(r=t[s]);return r}function Kn(){var e=[].slice.call(arguments,0);return yr("isBefore",e)}function Xn(){var e=[].slice.call(arguments,0);return yr("isAfter",e)}var $n=function(){return Date.now?Date.now():+new Date},xe=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ea(e){var t,r=!1,s,n=xe.length;for(t in e)if(w(e,t)&&!(O.call(xe,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(s=0;s<n;++s)if(e[xe[s]]){if(r)return!1;parseFloat(e[xe[s]])!==_(e[xe[s]])&&(r=!0)}return!0}function ta(){return this._isValid}function ra(){return F(NaN)}function Ge(e){var t=dt(e),r=t.year||0,s=t.quarter||0,n=t.month||0,a=t.week||t.isoWeek||0,i=t.day||0,u=t.hour||0,f=t.minute||0,m=t.second||0,b=t.millisecond||0;this._isValid=ea(t),this._milliseconds=+b+m*1e3+f*6e4+u*1e3*60*60,this._days=+i+a*7,this._months=+n+s*3+r*12,this._data={},this._locale=Q(),this._bubble()}function je(e){return e instanceof Ge}function Yt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function sa(e,t,r){var s=Math.min(e.length,t.length),n=Math.abs(e.length-t.length),a=0,i;for(i=0;i<s;i++)_(e[i])!==_(t[i])&&a++;return a+n}function _r(e,t){h(e,0,0,function(){var r=this.utcOffset(),s="+";return r<0&&(r=-r,s="-"),s+H(~~(r/60),2)+t+H(~~r%60,2)})}_r("Z",":"),_r("ZZ",""),c("Z",Le),c("ZZ",Le),k(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=bt(Le,e)});var na=/([\+\-]|\d\d)/gi;function bt(e,t){var r=(t||"").match(e),s,n,a;return r===null?null:(s=r[r.length-1]||[],n=(s+"").match(na)||["-",0,0],a=+(n[1]*60)+_(n[2]),a===0?0:n[0]==="+"?a:-a)}function Ot(e,t){var r,s;return t._isUTC?(r=t.clone(),s=(L(e)||we(e)?e.valueOf():M(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+s),d.updateOffset(r,!1),r):M(e).local()}function Tt(e){return-Math.round(e._d.getTimezoneOffset())}d.updateOffset=function(){};function aa(e,t,r){var s=this._offset||0,n;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=bt(Le,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(n=Tt(this)),this._offset=e,this._isUTC=!0,n!=null&&this.add(n,"m"),s!==e&&(!t||this._changeInProgress?kr(this,F(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,d.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?s:Tt(this)}function ia(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function oa(e){return this.utcOffset(0,e)}function la(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Tt(this),"m")),this}function ua(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=bt(Ts,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function da(e){return this.isValid()?(e=e?M(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function ca(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function fa(){if(!v(this._isDSTShifted))return this._isDSTShifted;var e={},t;return nt(e,this),e=hr(e),e._a?(t=e._isUTC?V(e._a):M(e._a),this._isDSTShifted=this.isValid()&&sa(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function ha(){return this.isValid()?!this._isUTC:!1}function ma(){return this.isValid()?this._isUTC:!1}function gr(){return this.isValid()?this._isUTC&&this._offset===0:!1}var ya=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,_a=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function F(e,t){var r=e,s=null,n,a,i;return je(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:j(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(s=ya.exec(e))?(n=s[1]==="-"?-1:1,r={y:0,d:_(s[G])*n,h:_(s[T])*n,m:_(s[I])*n,s:_(s[Z])*n,ms:_(Yt(s[ae]*1e3))*n}):(s=_a.exec(e))?(n=s[1]==="-"?-1:1,r={y:ie(s[2],n),M:ie(s[3],n),w:ie(s[4],n),d:ie(s[5],n),h:ie(s[6],n),m:ie(s[7],n),s:ie(s[8],n)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(i=ga(M(r.from),M(r.to)),r={},r.ms=i.milliseconds,r.M=i.months),a=new Ge(r),je(e)&&w(e,"_locale")&&(a._locale=e._locale),je(e)&&w(e,"_isValid")&&(a._isValid=e._isValid),a}F.fn=Ge.prototype,F.invalid=ra;function ie(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function wr(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function ga(e,t){var r;return e.isValid()&&t.isValid()?(t=Ot(t,e),e.isBefore(t)?r=wr(e,t):(r=wr(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function pr(e,t){return function(r,s){var n,a;return s!==null&&!isNaN(+s)&&(zt(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=r,r=s,s=a),n=F(r,s),kr(this,n,e),this}}function kr(e,t,r,s){var n=t._milliseconds,a=Yt(t._days),i=Yt(t._months);e.isValid()&&(s=s??!0,i&&rr(e,De(e,"Month")+i*r),a&&$t(e,"Date",De(e,"Date")+a*r),n&&e._d.setTime(e._d.valueOf()+n*r),s&&d.updateOffset(e,a||i))}var wa=pr(1,"add"),pa=pr(-1,"subtract");function Sr(e){return typeof e=="string"||e instanceof String}function ka(e){return L(e)||we(e)||Sr(e)||j(e)||Ma(e)||Sa(e)||e===null||e===void 0}function Sa(e){var t=ne(e)&&!et(e),r=!1,s=["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=s.length;for(n=0;n<i;n+=1)a=s[n],r=r||w(e,a);return t&&r}function Ma(e){var t=A(e),r=!1;return t&&(r=e.filter(function(s){return!j(s)&&Sr(e)}).length===0),t&&r}function Da(e){var t=ne(e)&&!et(e),r=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],n,a;for(n=0;n<s.length;n+=1)a=s[n],r=r||w(e,a);return t&&r}function Ya(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function ba(e,t){arguments.length===1&&(arguments[0]?ka(arguments[0])?(e=arguments[0],t=void 0):Da(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||M(),s=Ot(r,this).startOf("day"),n=d.calendarFormat(this,s)||"sameElse",a=t&&(U(t[n])?t[n].call(this,r):t[n]);return this.format(a||this.localeData().calendar(n,this,M(r)))}function Oa(){return new pe(this)}function Ta(e,t){var r=L(e)?e:M(e);return this.isValid()&&r.isValid()?(t=W(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function xa(e,t){var r=L(e)?e:M(e);return this.isValid()&&r.isValid()?(t=W(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function va(e,t,r,s){var n=L(e)?e:M(e),a=L(t)?t:M(t);return this.isValid()&&n.isValid()&&a.isValid()?(s=s||"()",(s[0]==="("?this.isAfter(n,r):!this.isBefore(n,r))&&(s[1]===")"?this.isBefore(a,r):!this.isAfter(a,r))):!1}function Na(e,t){var r=L(e)?e:M(e),s;return this.isValid()&&r.isValid()?(t=W(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(s=r.valueOf(),this.clone().startOf(t).valueOf()<=s&&s<=this.clone().endOf(t).valueOf())):!1}function Pa(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Ca(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Ra(e,t,r){var s,n,a;if(!this.isValid())return NaN;if(s=Ot(e,this),!s.isValid())return NaN;switch(n=(s.utcOffset()-this.utcOffset())*6e4,t=W(t),t){case"year":a=ze(this,s)/12;break;case"month":a=ze(this,s);break;case"quarter":a=ze(this,s)/3;break;case"second":a=(this-s)/1e3;break;case"minute":a=(this-s)/6e4;break;case"hour":a=(this-s)/36e5;break;case"day":a=(this-s-n)/864e5;break;case"week":a=(this-s-n)/6048e5;break;default:a=this-s}return r?a:E(a)}function ze(e,t){if(e.date()<t.date())return-ze(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),s=e.clone().add(r,"months"),n,a;return t-s<0?(n=e.clone().add(r-1,"months"),a=(t-s)/(s-n)):(n=e.clone().add(r+1,"months"),a=(t-s)/(n-s)),-(r+a)||0}d.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",d.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Wa(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Ea(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?Ce(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):U(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Ce(r,"Z")):Ce(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Aa(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,s,n,a;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",a=t+'[")]',this.format(r+s+n+a)}function La(e){e||(e=this.isUtc()?d.defaultFormatUtc:d.defaultFormat);var t=Ce(this,e);return this.localeData().postformat(t)}function Ia(e,t){return this.isValid()&&(L(e)&&e.isValid()||M(e).isValid())?F({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Fa(e){return this.from(M(),e)}function Va(e,t){return this.isValid()&&(L(e)&&e.isValid()||M(e).isValid())?F({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Ua(e){return this.to(M(),e)}function Mr(e){var t;return e===void 0?this._locale._abbr:(t=Q(e),t!=null&&(this._locale=t),this)}var Dr=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 Yr(){return this._locale}var Be=1e3,me=60*Be,Ze=60*me,br=(365*400+97)*24*Ze;function ye(e,t){return(e%t+t)%t}function Or(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-br:new Date(e,t,r).valueOf()}function Tr(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-br:Date.UTC(e,t,r)}function Ha(e){var t,r;if(e=W(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Tr:Or,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=ye(t+(this._isUTC?0:this.utcOffset()*me),Ze);break;case"minute":t=this._d.valueOf(),t-=ye(t,me);break;case"second":t=this._d.valueOf(),t-=ye(t,Be);break}return this._d.setTime(t),d.updateOffset(this,!0),this}function Ga(e){var t,r;if(e=W(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Tr:Or,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Ze-ye(t+(this._isUTC?0:this.utcOffset()*me),Ze)-1;break;case"minute":t=this._d.valueOf(),t+=me-ye(t,me)-1;break;case"second":t=this._d.valueOf(),t+=Be-ye(t,Be)-1;break}return this._d.setTime(t),d.updateOffset(this,!0),this}function ja(){return this._d.valueOf()-(this._offset||0)*6e4}function za(){return Math.floor(this.valueOf()/1e3)}function Ba(){return new Date(this.valueOf())}function Za(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function qa(){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 Qa(){return this.isValid()?this.toISOString():null}function Ja(){return rt(this)}function Ka(){return te({},y(this))}function Xa(){return y(this).overflow}function $a(){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"),c("N",xt),c("NN",xt),c("NNN",xt),c("NNNN",di),c("NNNNN",ci),k(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,s){var n=r._locale.erasParse(e,s,r._strict);n?y(r).era=n:y(r).invalidEra=e}),c("y",de),c("yy",de),c("yyy",de),c("yyyy",de),c("yo",fi),k(["y","yy","yyy","yyyy"],x),k(["yo"],function(e,t,r,s){var n;r._locale._eraYearOrdinalRegex&&(n=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[x]=r._locale.eraYearOrdinalParse(e,n):t[x]=parseInt(e,10)});function ei(e,t){var r,s,n,a=this._eras||Q("en")._eras;for(r=0,s=a.length;r<s;++r){switch(typeof a[r].since){case"string":n=d(a[r].since).startOf("day"),a[r].since=n.valueOf();break}switch(typeof a[r].until){case"undefined":a[r].until=1/0;break;case"string":n=d(a[r].until).startOf("day").valueOf(),a[r].until=n.valueOf();break}}return a}function ti(e,t,r){var s,n,a=this.eras(),i,u,f;for(e=e.toUpperCase(),s=0,n=a.length;s<n;++s)if(i=a[s].name.toUpperCase(),u=a[s].abbr.toUpperCase(),f=a[s].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(u===e)return a[s];break;case"NNNN":if(i===e)return a[s];break;case"NNNNN":if(f===e)return a[s];break}else if([i,u,f].indexOf(e)>=0)return a[s]}function ri(e,t){var r=e.since<=e.until?1:-1;return t===void 0?d(e.since).year():d(e.since).year()+(t-e.offset)*r}function si(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].name;return""}function ni(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].narrow;return""}function ai(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].abbr;return""}function ii(){var e,t,r,s,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=n[e].since<=n[e].until?1:-1,s=this.clone().startOf("day").valueOf(),n[e].since<=s&&s<=n[e].until||n[e].until<=s&&s<=n[e].since)return(this.year()-d(n[e].since).year())*r+n[e].offset;return this.year()}function oi(e){return w(this,"_erasNameRegex")||vt.call(this),e?this._erasNameRegex:this._erasRegex}function li(e){return w(this,"_erasAbbrRegex")||vt.call(this),e?this._erasAbbrRegex:this._erasRegex}function ui(e){return w(this,"_erasNarrowRegex")||vt.call(this),e?this._erasNarrowRegex:this._erasRegex}function xt(e,t){return t.erasAbbrRegex(e)}function di(e,t){return t.erasNameRegex(e)}function ci(e,t){return t.erasNarrowRegex(e)}function fi(e,t){return t._eraYearOrdinalRegex||de}function vt(){var e=[],t=[],r=[],s=[],n,a,i,u,f,m=this.eras();for(n=0,a=m.length;n<a;++n)i=z(m[n].name),u=z(m[n].abbr),f=z(m[n].narrow),t.push(i),e.push(u),r.push(f),s.push(i),s.push(u),s.push(f);this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}h(0,["gg",2],0,function(){return this.weekYear()%100}),h(0,["GG",2],0,function(){return this.isoWeekYear()%100});function qe(e,t){h(0,[e,e.length],0,t)}qe("gggg","weekYear"),qe("ggggg","weekYear"),qe("GGGG","isoWeekYear"),qe("GGGGG","isoWeekYear"),c("G",Ae),c("g",Ae),c("GG",S,C),c("gg",S,C),c("GGGG",ft,ct),c("gggg",ft,ct),c("GGGGG",Ee,Re),c("ggggg",Ee,Re),Se(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,s){t[s.substr(0,2)]=_(e)}),Se(["gg","GG"],function(e,t,r,s){t[s]=d.parseTwoDigitYear(e)});function hi(e){return xr.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function mi(e){return xr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function yi(){return q(this.year(),1,4)}function _i(){return q(this.isoWeekYear(),1,4)}function gi(){var e=this.localeData()._week;return q(this.year(),e.dow,e.doy)}function wi(){var e=this.localeData()._week;return q(this.weekYear(),e.dow,e.doy)}function xr(e,t,r,s,n){var a;return e==null?be(this,s,n).year:(a=q(e,s,n),t>a&&(t=a),pi.call(this,e,t,r,s,n))}function pi(e,t,r,s,n){var a=ar(e,t,r,s,n),i=Ye(a.year,0,a.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}h("Q",0,"Qo","quarter"),c("Q",qt),k("Q",function(e,t){t[B]=(_(e)-1)*3});function ki(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}h("D",["DD",2],"Do","date"),c("D",S,ce),c("DD",S,C),c("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),k(["D","DD"],G),k("Do",function(e,t){t[G]=_(e.match(S)[0])});var vr=fe("Date",!0);h("DDD",["DDDD",3],"DDDo","dayOfYear"),c("DDD",We),c("DDDD",Qt),k(["DDD","DDDD"],function(e,t,r){r._dayOfYear=_(e)});function Si(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"),c("m",S,ht),c("mm",S,C),k(["m","mm"],I);var Mi=fe("Minutes",!1);h("s",["ss",2],0,"second"),c("s",S,ht),c("ss",S,C),k(["s","ss"],Z);var Di=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}),c("S",We,qt),c("SS",We,C),c("SSS",We,Qt);var se,Nr;for(se="SSSS";se.length<=9;se+="S")c(se,de);function Yi(e,t){t[ae]=_(("0."+e)*1e3)}for(se="S";se.length<=9;se+="S")k(se,Yi);Nr=fe("Milliseconds",!1),h("z",0,0,"zoneAbbr"),h("zz",0,0,"zoneName");function bi(){return this._isUTC?"UTC":""}function Oi(){return this._isUTC?"Coordinated Universal Time":""}var l=pe.prototype;l.add=wa,l.calendar=ba,l.clone=Oa,l.diff=Ra,l.endOf=Ga,l.format=La,l.from=Ia,l.fromNow=Fa,l.to=Va,l.toNow=Ua,l.get=Es,l.invalidAt=Xa,l.isAfter=Ta,l.isBefore=xa,l.isBetween=va,l.isSame=Na,l.isSameOrAfter=Pa,l.isSameOrBefore=Ca,l.isValid=Ja,l.lang=Dr,l.locale=Mr,l.localeData=Yr,l.max=Jn,l.min=Qn,l.parsingFlags=Ka,l.set=As,l.startOf=Ha,l.subtract=pa,l.toArray=Za,l.toObject=qa,l.toDate=Ba,l.toISOString=Ea,l.inspect=Aa,typeof Symbol<"u"&&Symbol.for!=null&&(l[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),l.toJSON=Qa,l.toString=Wa,l.unix=za,l.valueOf=ja,l.creationData=$a,l.eraName=si,l.eraNarrow=ni,l.eraAbbr=ai,l.eraYear=ii,l.year=Xt,l.isLeapYear=Ws,l.weekYear=hi,l.isoWeekYear=mi,l.quarter=l.quarters=ki,l.month=sr,l.daysInMonth=zs,l.week=l.weeks=$s,l.isoWeek=l.isoWeeks=en,l.weeksInYear=gi,l.weeksInWeekYear=wi,l.isoWeeksInYear=yi,l.isoWeeksInISOWeekYear=_i,l.date=vr,l.day=l.days=mn,l.weekday=yn,l.isoWeekday=_n,l.dayOfYear=Si,l.hour=l.hours=Dn,l.minute=l.minutes=Mi,l.second=l.seconds=Di,l.millisecond=l.milliseconds=Nr,l.utcOffset=aa,l.utc=oa,l.local=la,l.parseZone=ua,l.hasAlignedHourOffset=da,l.isDST=ca,l.isLocal=ha,l.isUtcOffset=ma,l.isUtc=gr,l.isUTC=gr,l.zoneAbbr=bi,l.zoneName=Oi,l.dates=R("dates accessor is deprecated. Use date instead.",vr),l.months=R("months accessor is deprecated. Use month instead",sr),l.years=R("years accessor is deprecated. Use year instead",Xt),l.zone=R("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",ia),l.isDSTShifted=R("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",fa);function Ti(e){return M(e*1e3)}function xi(){return M.apply(null,arguments).parseZone()}function Pr(e){return e}var p=it.prototype;p.calendar=fs,p.longDateFormat=_s,p.invalidDate=ws,p.ordinal=Ss,p.preparse=Pr,p.postformat=Pr,p.relativeTime=Ds,p.pastFuture=Ys,p.set=ds,p.eras=ei,p.erasParse=ti,p.erasConvertYear=ri,p.erasAbbrRegex=li,p.erasNameRegex=oi,p.erasNarrowRegex=ui,p.months=Us,p.monthsShort=Hs,p.monthsParse=js,p.monthsRegex=Zs,p.monthsShortRegex=Bs,p.week=Qs,p.firstDayOfYear=Xs,p.firstDayOfWeek=Ks,p.weekdays=un,p.weekdaysMin=cn,p.weekdaysShort=dn,p.weekdaysParse=hn,p.weekdaysRegex=gn,p.weekdaysShortRegex=wn,p.weekdaysMinRegex=pn,p.isPM=Sn,p.meridiem=Yn;function Qe(e,t,r,s){var n=Q(),a=V().set(s,t);return n[r](a,e)}function Cr(e,t,r){if(j(e)&&(t=e,e=void 0),e=e||"",t!=null)return Qe(e,t,r,"month");var s,n=[];for(s=0;s<12;s++)n[s]=Qe(e,s,r,"month");return n}function Nt(e,t,r,s){typeof e=="boolean"?(j(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,j(t)&&(r=t,t=void 0),t=t||"");var n=Q(),a=e?n._week.dow:0,i,u=[];if(r!=null)return Qe(t,(r+a)%7,s,"day");for(i=0;i<7;i++)u[i]=Qe(t,(i+a)%7,s,"day");return u}function vi(e,t){return Cr(e,t,"months")}function Ni(e,t){return Cr(e,t,"monthsShort")}function Pi(e,t,r){return Nt(e,t,r,"weekdays")}function Ci(e,t,r){return Nt(e,t,r,"weekdaysShort")}function Ri(e,t,r){return Nt(e,t,r,"weekdaysMin")}re("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=_(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}}),d.lang=R("moment.lang is deprecated. Use moment.locale instead.",re),d.langData=R("moment.langData is deprecated. Use moment.localeData instead.",Q);var J=Math.abs;function Wi(){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 Rr(e,t,r,s){var n=F(t,r);return e._milliseconds+=s*n._milliseconds,e._days+=s*n._days,e._months+=s*n._months,e._bubble()}function Ei(e,t){return Rr(this,e,t,1)}function Ai(e,t){return Rr(this,e,t,-1)}function Wr(e){return e<0?Math.floor(e):Math.ceil(e)}function Li(){var e=this._milliseconds,t=this._days,r=this._months,s=this._data,n,a,i,u,f;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=Wr(Pt(r)+t)*864e5,t=0,r=0),s.milliseconds=e%1e3,n=E(e/1e3),s.seconds=n%60,a=E(n/60),s.minutes=a%60,i=E(a/60),s.hours=i%24,t+=E(i/24),f=E(Er(t)),r+=f,t-=Wr(Pt(f)),u=E(r/12),r%=12,s.days=t,s.months=r,s.years=u,this}function Er(e){return e*4800/146097}function Pt(e){return e*146097/4800}function Ii(e){if(!this.isValid())return NaN;var t,r,s=this._milliseconds;if(e=W(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+s/864e5,r=this._months+Er(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Pt(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return t*24+s/36e5;case"minute":return t*1440+s/6e4;case"second":return t*86400+s/1e3;case"millisecond":return Math.floor(t*864e5)+s;default:throw new Error("Unknown unit "+e)}}function K(e){return function(){return this.as(e)}}var Ar=K("ms"),Fi=K("s"),Vi=K("m"),Ui=K("h"),Hi=K("d"),Gi=K("w"),ji=K("M"),zi=K("Q"),Bi=K("y"),Zi=Ar;function qi(){return F(this)}function Qi(e){return e=W(e),this.isValid()?this[e+"s"]():NaN}function oe(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ji=oe("milliseconds"),Ki=oe("seconds"),Xi=oe("minutes"),$i=oe("hours"),eo=oe("days"),to=oe("months"),ro=oe("years");function so(){return E(this.days()/7)}var X=Math.round,_e={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function no(e,t,r,s,n){return n.relativeTime(t||1,!!r,e,s)}function ao(e,t,r,s){var n=F(e).abs(),a=X(n.as("s")),i=X(n.as("m")),u=X(n.as("h")),f=X(n.as("d")),m=X(n.as("M")),b=X(n.as("w")),N=X(n.as("y")),D=a<=r.ss&&["s",a]||a<r.s&&["ss",a]||i<=1&&["m"]||i<r.m&&["mm",i]||u<=1&&["h"]||u<r.h&&["hh",u]||f<=1&&["d"]||f<r.d&&["dd",f];return r.w!=null&&(D=D||b<=1&&["w"]||b<r.w&&["ww",b]),D=D||m<=1&&["M"]||m<r.M&&["MM",m]||N<=1&&["y"]||["yy",N],D[2]=t,D[3]=+e>0,D[4]=s,no.apply(null,D)}function io(e){return e===void 0?X:typeof e=="function"?(X=e,!0):!1}function oo(e,t){return _e[e]===void 0?!1:t===void 0?_e[e]:(_e[e]=t,e==="s"&&(_e.ss=t-1),!0)}function lo(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,s=_e,n,a;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(s=Object.assign({},_e,t),t.s!=null&&t.ss==null&&(s.ss=t.s-1)),n=this.localeData(),a=ao(this,!r,s,n),r&&(a=n.pastFuture(+this,a)),n.postformat(a)}var Ct=Math.abs;function ge(e){return(e>0)-(e<0)||+e}function Je(){if(!this.isValid())return this.localeData().invalidDate();var e=Ct(this._milliseconds)/1e3,t=Ct(this._days),r=Ct(this._months),s,n,a,i,u=this.asSeconds(),f,m,b,N;return u?(s=E(e/60),n=E(s/60),e%=60,s%=60,a=E(r/12),r%=12,i=e?e.toFixed(3).replace(/\.?0+$/,""):"",f=u<0?"-":"",m=ge(this._months)!==ge(u)?"-":"",b=ge(this._days)!==ge(u)?"-":"",N=ge(this._milliseconds)!==ge(u)?"-":"",f+"P"+(a?m+a+"Y":"")+(r?m+r+"M":"")+(t?b+t+"D":"")+(n||s||e?"T":"")+(n?N+n+"H":"")+(s?N+s+"M":"")+(e?N+i+"S":"")):"P0D"}var g=Ge.prototype;g.isValid=ta,g.abs=Wi,g.add=Ei,g.subtract=Ai,g.as=Ii,g.asMilliseconds=Ar,g.asSeconds=Fi,g.asMinutes=Vi,g.asHours=Ui,g.asDays=Hi,g.asWeeks=Gi,g.asMonths=ji,g.asQuarters=zi,g.asYears=Bi,g.valueOf=Zi,g._bubble=Li,g.clone=qi,g.get=Qi,g.milliseconds=Ji,g.seconds=Ki,g.minutes=Xi,g.hours=$i,g.days=eo,g.weeks=so,g.months=to,g.years=ro,g.humanize=lo,g.toISOString=Je,g.toString=Je,g.toJSON=Je,g.locale=Mr,g.localeData=Yr,g.toIsoString=R("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Je),g.lang=Dr,h("X",0,0,"unix"),h("x",0,0,"valueOf"),c("x",Ae),c("X",xs),k("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)}),k("x",function(e,t,r){r._d=new Date(_(e))});//! moment.js
|
|
10
|
-
d.version="2.30.1",
|
|
9
|
+
`+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var qt={};function Qt(e,t){d.deprecationHandler!=null&&d.deprecationHandler(e,t),qt[e]||(Zt(t),qt[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 gs(e){var t,r;for(r in e)w(e,r)&&(t=e[r],H(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function dt(e,t){var r=te({},e),s;for(s in t)w(t,s)&&(ae(e[s])&&ae(t[s])?(r[s]={},te(r[s],e[s]),te(r[s],t[s])):t[s]!=null?r[s]=t[s]:delete r[s]);for(s in e)w(e,s)&&!w(t,s)&&ae(e[s])&&(r[s]=te({},r[s]));return r}function ct(e){e!=null&&this.set(e)}var ft;Object.keys?ft=Object.keys:ft=function(e){var t,r=[];for(t in e)w(e,t)&&r.push(t);return r};var ws={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function ps(e,t,r){var s=this._calendar[e]||this._calendar.sameElse;return H(s)?s.call(t,r):s}function G(e,t,r){var s=""+Math.abs(e),n=t-s.length,a=e>=0;return(a?r?"+":"":"-")+Math.pow(10,Math.max(0,n)).toString().substr(1)+s}var ht=/(\[[^\[]*\])|(\\)?([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,We=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,mt={},de={};function h(e,t,r,s){var n=s;typeof s=="string"&&(n=function(){return this[s]()}),e&&(de[e]=n),t&&(de[t[0]]=function(){return G(n.apply(this,arguments),t[1],t[2])}),r&&(de[r]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function ks(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Ss(e){var t=e.match(ht),r,s;for(r=0,s=t.length;r<s;r++)de[t[r]]?t[r]=de[t[r]]:t[r]=ks(t[r]);return function(n){var a="",i;for(i=0;i<s;i++)a+=H(t[i])?t[i].call(n,e):t[i];return a}}function Ae(e,t){return e.isValid()?(t=Jt(t,e.localeData()),mt[t]=mt[t]||Ss(t),mt[t](e)):e.localeData().invalidDate()}function Jt(e,t){var r=5;function s(n){return t.longDateFormat(n)||n}for(We.lastIndex=0;r>=0&&We.test(e);)e=e.replace(We,s),We.lastIndex=0,r-=1;return e}var Ms={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 Ds(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(ht).map(function(s){return s==="MMMM"||s==="MM"||s==="DD"||s==="dddd"?s.slice(1):s}).join(""),this._longDateFormat[e])}var Ys="Invalid date";function bs(){return this._invalidDate}var Os="%d",Ts=/\d{1,2}/;function xs(e){return this._ordinal.replace("%d",e)}var vs={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 Ns(e,t,r,s){var n=this._relativeTime[r];return H(n)?n(e,t,r,s):n.replace(/%d/i,e)}function Ps(e,t){var r=this._relativeTime[e>0?"future":"past"];return H(r)?r(t):r.replace(/%s/i,t)}var Kt={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 W(e){return typeof e=="string"?Kt[e]||Kt[e.toLowerCase()]:void 0}function yt(e){var t={},r,s;for(s in e)w(e,s)&&(r=W(s),r&&(t[r]=e[s]));return t}var Cs={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 Rs(e){var t=[],r;for(r in e)w(e,r)&&t.push({unit:r,priority:Cs[r]});return t.sort(function(s,n){return s.priority-n.priority}),t}var $t=/\d/,R=/\d\d/,Xt=/\d{3}/,_t=/\d{4}/,Le=/[+-]?\d{6}/,M=/\d\d?/,er=/\d\d\d\d?/,tr=/\d\d\d\d\d\d?/,Ie=/\d{1,3}/,gt=/\d{1,4}/,Fe=/[+-]?\d{1,6}/,ce=/\d+/,Ue=/[+-]?\d+/,Es=/Z|[+-]\d\d:?\d\d/gi,Ve=/Z|[+-]\d\d(?::?\d\d)?/gi,Ws=/[+-]?\d+(\.\d{1,3})?/,Se=/[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,fe=/^[1-9]\d?/,wt=/^([1-9]\d|\d)/,He;He={};function c(e,t,r){He[e]=H(t)?t:function(s,n){return s&&r?r:t}}function As(e,t){return w(He,e)?He[e](t._strict,t._locale):new RegExp(Ls(e))}function Ls(e){return B(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,s,n,a){return r||s||n||a}))}function B(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function A(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function _(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=A(t)),r}var pt={};function S(e,t){var r,s=t,n;for(typeof e=="string"&&(e=[e]),z(t)&&(s=function(a,i){i[t]=_(a)}),n=e.length,r=0;r<n;r++)pt[e[r]]=s}function Me(e,t){S(e,function(r,s,n,a){n._w=n._w||{},t(r,n._w,n,a)})}function Is(e,t,r){t!=null&&w(pt,e)&&pt[e](t,r._a,r,e)}function Ge(e){return e%4===0&&e%100!==0||e%400===0}var N=0,Z=1,j=2,x=3,F=4,q=5,ie=6,Fs=7,Us=8;h("Y",0,0,function(){var e=this.year();return e<=9999?G(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"),c("Y",Ue),c("YY",M,R),c("YYYY",gt,_t),c("YYYYY",Fe,Le),c("YYYYYY",Fe,Le),S(["YYYYY","YYYYYY"],N),S("YYYY",function(e,t){t[N]=e.length===2?d.parseTwoDigitYear(e):_(e)}),S("YY",function(e,t){t[N]=d.parseTwoDigitYear(e)}),S("Y",function(e,t){t[N]=parseInt(e,10)});function De(e){return Ge(e)?366:365}d.parseTwoDigitYear=function(e){return _(e)+(_(e)>68?1900:2e3)};var rr=he("FullYear",!0);function Vs(){return Ge(this.year())}function he(e,t){return function(r){return r!=null?(sr(this,e,r),d.updateOffset(this,t),this):Ye(this,e)}}function Ye(e,t){if(!e.isValid())return NaN;var r=e._d,s=e._isUTC;switch(t){case"Milliseconds":return s?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return s?r.getUTCSeconds():r.getSeconds();case"Minutes":return s?r.getUTCMinutes():r.getMinutes();case"Hours":return s?r.getUTCHours():r.getHours();case"Date":return s?r.getUTCDate():r.getDate();case"Day":return s?r.getUTCDay():r.getDay();case"Month":return s?r.getUTCMonth():r.getMonth();case"FullYear":return s?r.getUTCFullYear():r.getFullYear();default:return NaN}}function sr(e,t,r){var s,n,a,i,l;if(!(!e.isValid()||isNaN(r))){switch(s=e._d,n=e._isUTC,t){case"Milliseconds":return void(n?s.setUTCMilliseconds(r):s.setMilliseconds(r));case"Seconds":return void(n?s.setUTCSeconds(r):s.setSeconds(r));case"Minutes":return void(n?s.setUTCMinutes(r):s.setMinutes(r));case"Hours":return void(n?s.setUTCHours(r):s.setHours(r));case"Date":return void(n?s.setUTCDate(r):s.setDate(r));case"FullYear":break;default:return}a=r,i=e.month(),l=e.date(),l=l===29&&i===1&&!Ge(a)?28:l,n?s.setUTCFullYear(a,i,l):s.setFullYear(a,i,l)}}function Hs(e){return e=W(e),H(this[e])?this[e]():this}function Gs(e,t){if(typeof e=="object"){e=yt(e);var r=Rs(e),s,n=r.length;for(s=0;s<n;s++)this[r[s].unit](e[r[s].unit])}else if(e=W(e),H(this[e]))return this[e](t);return this}function js(e,t){return(e%t+t)%t}var b;Array.prototype.indexOf?b=Array.prototype.indexOf:b=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function kt(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=js(t,12);return e+=(t-r)/12,r===1?Ge(e)?29:28:31-r%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)}),c("M",M,fe),c("MM",M,R),c("MMM",function(e,t){return t.monthsShortRegex(e)}),c("MMMM",function(e,t){return t.monthsRegex(e)}),S(["M","MM"],function(e,t){t[Z]=_(e)-1}),S(["MMM","MMMM"],function(e,t,r,s){var n=r._locale.monthsParse(e,s,r._strict);n!=null?t[Z]=n:y(r).invalidMonth=e});var zs="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),nr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ar=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Bs=Se,Zs=Se;function qs(e,t){return e?L(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ar).test(t)?"format":"standalone"][e.month()]:L(this._months)?this._months:this._months.standalone}function Qs(e,t){return e?L(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ar.test(t)?"format":"standalone"][e.month()]:L(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Js(e,t,r){var s,n,a,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)a=V([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(a,"").toLocaleLowerCase();return r?t==="MMM"?(n=b.call(this._shortMonthsParse,i),n!==-1?n:null):(n=b.call(this._longMonthsParse,i),n!==-1?n:null):t==="MMM"?(n=b.call(this._shortMonthsParse,i),n!==-1?n:(n=b.call(this._longMonthsParse,i),n!==-1?n:null)):(n=b.call(this._longMonthsParse,i),n!==-1?n:(n=b.call(this._shortMonthsParse,i),n!==-1?n:null))}function Ks(e,t,r){var s,n,a;if(this._monthsParseExact)return Js.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(n=V([2e3,s]),r&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),!r&&!this._monthsParse[s]&&(a="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[s]=new RegExp(a.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[s].test(e))return s;if(r&&t==="MMM"&&this._shortMonthsParse[s].test(e))return s;if(!r&&this._monthsParse[s].test(e))return s}}function ir(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=_(t);else if(t=e.localeData().monthsParse(t),!z(t))return e}var r=t,s=e.date();return s=s<29?s:Math.min(s,kt(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,s):e._d.setMonth(r,s),e}function or(e){return e!=null?(ir(this,e),d.updateOffset(this,!0),this):Ye(this,"Month")}function $s(){return kt(this.year(),this.month())}function Xs(e){return this._monthsParseExact?(w(this,"_monthsRegex")||lr.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(w(this,"_monthsShortRegex")||(this._monthsShortRegex=Bs),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function en(e){return this._monthsParseExact?(w(this,"_monthsRegex")||lr.call(this),e?this._monthsStrictRegex:this._monthsRegex):(w(this,"_monthsRegex")||(this._monthsRegex=Zs),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function lr(){function e(f,m){return m.length-f.length}var t=[],r=[],s=[],n,a,i,l;for(n=0;n<12;n++)a=V([2e3,n]),i=B(this.monthsShort(a,"")),l=B(this.months(a,"")),t.push(i),r.push(l),s.push(l),s.push(i);t.sort(e),r.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function tn(e,t,r,s,n,a,i){var l;return e<100&&e>=0?(l=new Date(e+400,t,r,s,n,a,i),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,r,s,n,a,i),l}function be(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function je(e,t,r){var s=7+t-r,n=(7+be(e,0,s).getUTCDay()-t)%7;return-n+s-1}function ur(e,t,r,s,n){var a=(7+r-s)%7,i=je(e,s,n),l=1+7*(t-1)+a+i,f,m;return l<=0?(f=e-1,m=De(f)+l):l>De(e)?(f=e+1,m=l-De(e)):(f=e,m=l),{year:f,dayOfYear:m}}function Oe(e,t,r){var s=je(e.year(),t,r),n=Math.floor((e.dayOfYear()-s-1)/7)+1,a,i;return n<1?(i=e.year()-1,a=n+Q(i,t,r)):n>Q(e.year(),t,r)?(a=n-Q(e.year(),t,r),i=e.year()+1):(i=e.year(),a=n),{week:a,year:i}}function Q(e,t,r){var s=je(e,t,r),n=je(e+1,t,r);return(De(e)-s+n)/7}h("w",["ww",2],"wo","week"),h("W",["WW",2],"Wo","isoWeek"),c("w",M,fe),c("ww",M,R),c("W",M,fe),c("WW",M,R),Me(["w","ww","W","WW"],function(e,t,r,s){t[s.substr(0,1)]=_(e)});function rn(e){return Oe(e,this._week.dow,this._week.doy).week}var sn={dow:0,doy:6};function nn(){return this._week.dow}function an(){return this._week.doy}function on(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function ln(e){var t=Oe(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"),c("d",M),c("e",M),c("E",M),c("dd",function(e,t){return t.weekdaysMinRegex(e)}),c("ddd",function(e,t){return t.weekdaysShortRegex(e)}),c("dddd",function(e,t){return t.weekdaysRegex(e)}),Me(["dd","ddd","dddd"],function(e,t,r,s){var n=r._locale.weekdaysParse(e,s,r._strict);n!=null?t.d=n:y(r).invalidWeekday=e}),Me(["d","e","E"],function(e,t,r,s){t[s]=_(e)});function un(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function dn(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function St(e,t){return e.slice(t,7).concat(e.slice(0,t))}var cn="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),dr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),fn="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),hn=Se,mn=Se,yn=Se;function _n(e,t){var r=L(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?St(r,this._week.dow):e?r[e.day()]:r}function gn(e){return e===!0?St(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function wn(e){return e===!0?St(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function pn(e,t,r){var s,n,a,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)a=V([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(a,"").toLocaleLowerCase();return r?t==="dddd"?(n=b.call(this._weekdaysParse,i),n!==-1?n:null):t==="ddd"?(n=b.call(this._shortWeekdaysParse,i),n!==-1?n:null):(n=b.call(this._minWeekdaysParse,i),n!==-1?n:null):t==="dddd"?(n=b.call(this._weekdaysParse,i),n!==-1||(n=b.call(this._shortWeekdaysParse,i),n!==-1)?n:(n=b.call(this._minWeekdaysParse,i),n!==-1?n:null)):t==="ddd"?(n=b.call(this._shortWeekdaysParse,i),n!==-1||(n=b.call(this._weekdaysParse,i),n!==-1)?n:(n=b.call(this._minWeekdaysParse,i),n!==-1?n:null)):(n=b.call(this._minWeekdaysParse,i),n!==-1||(n=b.call(this._weekdaysParse,i),n!==-1)?n:(n=b.call(this._shortWeekdaysParse,i),n!==-1?n:null))}function kn(e,t,r){var s,n,a;if(this._weekdaysParseExact)return pn.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(n=V([2e3,1]).day(s),r&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(a="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[s]=new RegExp(a.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[s].test(e))return s;if(r&&t==="ddd"&&this._shortWeekdaysParse[s].test(e))return s;if(r&&t==="dd"&&this._minWeekdaysParse[s].test(e))return s;if(!r&&this._weekdaysParse[s].test(e))return s}}function Sn(e){if(!this.isValid())return e!=null?this:NaN;var t=Ye(this,"Day");return e!=null?(e=un(e,this.localeData()),this.add(e-t,"d")):t}function Mn(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 Dn(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=dn(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Yn(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||Mt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(w(this,"_weekdaysRegex")||(this._weekdaysRegex=hn),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function bn(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||Mt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(w(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=mn),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function On(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||Mt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(w(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=yn),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Mt(){function e(O,T){return T.length-O.length}var t=[],r=[],s=[],n=[],a,i,l,f,m;for(a=0;a<7;a++)i=V([2e3,1]).day(a),l=B(this.weekdaysMin(i,"")),f=B(this.weekdaysShort(i,"")),m=B(this.weekdays(i,"")),t.push(l),r.push(f),s.push(m),n.push(l),n.push(f),n.push(m);t.sort(e),r.sort(e),s.sort(e),n.sort(e),this._weekdaysRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Dt(){return this.hours()%12||12}function Tn(){return this.hours()||24}h("H",["HH",2],0,"hour"),h("h",["hh",2],0,Dt),h("k",["kk",2],0,Tn),h("hmm",0,0,function(){return""+Dt.apply(this)+G(this.minutes(),2)}),h("hmmss",0,0,function(){return""+Dt.apply(this)+G(this.minutes(),2)+G(this.seconds(),2)}),h("Hmm",0,0,function(){return""+this.hours()+G(this.minutes(),2)}),h("Hmmss",0,0,function(){return""+this.hours()+G(this.minutes(),2)+G(this.seconds(),2)});function cr(e,t){h(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}cr("a",!0),cr("A",!1);function fr(e,t){return t._meridiemParse}c("a",fr),c("A",fr),c("H",M,wt),c("h",M,fe),c("k",M,fe),c("HH",M,R),c("hh",M,R),c("kk",M,R),c("hmm",er),c("hmmss",tr),c("Hmm",er),c("Hmmss",tr),S(["H","HH"],x),S(["k","kk"],function(e,t,r){var s=_(e);t[x]=s===24?0:s}),S(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),S(["h","hh"],function(e,t,r){t[x]=_(e),y(r).bigHour=!0}),S("hmm",function(e,t,r){var s=e.length-2;t[x]=_(e.substr(0,s)),t[F]=_(e.substr(s)),y(r).bigHour=!0}),S("hmmss",function(e,t,r){var s=e.length-4,n=e.length-2;t[x]=_(e.substr(0,s)),t[F]=_(e.substr(s,2)),t[q]=_(e.substr(n)),y(r).bigHour=!0}),S("Hmm",function(e,t,r){var s=e.length-2;t[x]=_(e.substr(0,s)),t[F]=_(e.substr(s))}),S("Hmmss",function(e,t,r){var s=e.length-4,n=e.length-2;t[x]=_(e.substr(0,s)),t[F]=_(e.substr(s,2)),t[q]=_(e.substr(n))});function xn(e){return(e+"").toLowerCase().charAt(0)==="p"}var vn=/[ap]\.?m?\.?/i,Nn=he("Hours",!0);function Pn(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var hr={calendar:ws,longDateFormat:Ms,invalidDate:Ys,ordinal:Os,dayOfMonthOrdinalParse:Ts,relativeTime:vs,months:zs,monthsShort:nr,week:sn,weekdays:cn,weekdaysMin:fn,weekdaysShort:dr,meridiemParse:vn},Y={},Te={},xe;function Cn(e,t){var r,s=Math.min(e.length,t.length);for(r=0;r<s;r+=1)if(e[r]!==t[r])return r;return s}function mr(e){return e&&e.toLowerCase().replace("_","-")}function Rn(e){for(var t=0,r,s,n,a;t<e.length;){for(a=mr(e[t]).split("-"),r=a.length,s=mr(e[t+1]),s=s?s.split("-"):null;r>0;){if(n=ze(a.slice(0,r).join("-")),n)return n;if(s&&s.length>=r&&Cn(a,s)>=r-1)break;r--}t++}return xe}function En(e){return!!(e&&e.match("^[^/\\\\]*$"))}function ze(e){var t=null,r;if(Y[e]===void 0&&typeof module<"u"&&module&&module.exports&&En(e))try{t=xe._abbr,r=require,r("./locale/"+e),re(t)}catch{Y[e]=null}return Y[e]}function re(e,t){var r;return e&&(P(t)?r=J(e):r=Yt(e,t),r?xe=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),xe._abbr}function Yt(e,t){if(t!==null){var r,s=hr;if(t.abbr=e,Y[e]!=null)Qt("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."),s=Y[e]._config;else if(t.parentLocale!=null)if(Y[t.parentLocale]!=null)s=Y[t.parentLocale]._config;else if(r=ze(t.parentLocale),r!=null)s=r._config;else return Te[t.parentLocale]||(Te[t.parentLocale]=[]),Te[t.parentLocale].push({name:e,config:t}),null;return Y[e]=new ct(dt(s,t)),Te[e]&&Te[e].forEach(function(n){Yt(n.name,n.config)}),re(e),Y[e]}else return delete Y[e],null}function Wn(e,t){if(t!=null){var r,s,n=hr;Y[e]!=null&&Y[e].parentLocale!=null?Y[e].set(dt(Y[e]._config,t)):(s=ze(e),s!=null&&(n=s._config),t=dt(n,t),s==null&&(t.abbr=e),r=new ct(t),r.parentLocale=Y[e],Y[e]=r),re(e)}else Y[e]!=null&&(Y[e].parentLocale!=null?(Y[e]=Y[e].parentLocale,e===re()&&re(e)):Y[e]!=null&&delete Y[e]);return Y[e]}function J(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return xe;if(!L(e)){if(t=ze(e),t)return t;e=[e]}return Rn(e)}function An(){return ft(Y)}function bt(e){var t,r=e._a;return r&&y(e).overflow===-2&&(t=r[Z]<0||r[Z]>11?Z:r[j]<1||r[j]>kt(r[N],r[Z])?j:r[x]<0||r[x]>24||r[x]===24&&(r[F]!==0||r[q]!==0||r[ie]!==0)?x:r[F]<0||r[F]>59?F:r[q]<0||r[q]>59?q:r[ie]<0||r[ie]>999?ie:-1,y(e)._overflowDayOfYear&&(t<N||t>j)&&(t=j),y(e)._overflowWeeks&&t===-1&&(t=Fs),y(e)._overflowWeekday&&t===-1&&(t=Us),y(e).overflow=t),e}var Ln=/^\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)?)?$/,In=/^\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)?)?$/,Fn=/Z|[+-]\d\d(?::?\d\d)?/,Be=[["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]],Ot=[["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/]],Un=/^\/?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}))$/,Hn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function yr(e){var t,r,s=e._i,n=Ln.exec(s)||In.exec(s),a,i,l,f,m=Be.length,O=Ot.length;if(n){for(y(e).iso=!0,t=0,r=m;t<r;t++)if(Be[t][1].exec(n[1])){i=Be[t][0],a=Be[t][2]!==!1;break}if(i==null){e._isValid=!1;return}if(n[3]){for(t=0,r=O;t<r;t++)if(Ot[t][1].exec(n[3])){l=(n[2]||" ")+Ot[t][0];break}if(l==null){e._isValid=!1;return}}if(!a&&l!=null){e._isValid=!1;return}if(n[4])if(Fn.exec(n[4]))f="Z";else{e._isValid=!1;return}e._f=i+(l||"")+(f||""),xt(e)}else e._isValid=!1}function Gn(e,t,r,s,n,a){var i=[jn(e),nr.indexOf(t),parseInt(r,10),parseInt(s,10),parseInt(n,10)];return a&&i.push(parseInt(a,10)),i}function jn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function zn(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Bn(e,t,r){if(e){var s=dr.indexOf(e),n=new Date(t[0],t[1],t[2]).getDay();if(s!==n)return y(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function Zn(e,t,r){if(e)return Hn[e];if(t)return 0;var s=parseInt(r,10),n=s%100,a=(s-n)/100;return a*60+n}function _r(e){var t=Vn.exec(zn(e._i)),r;if(t){if(r=Gn(t[4],t[3],t[2],t[5],t[6],t[7]),!Bn(t[1],r,e))return;e._a=r,e._tzm=Zn(t[8],t[9],t[10]),e._d=be.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),y(e).rfc2822=!0}else e._isValid=!1}function qn(e){var t=Un.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(yr(e),e._isValid===!1)delete e._isValid;else return;if(_r(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:d.createFromInputFallback(e)}d.createFromInputFallback=E("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 me(e,t,r){return e??t??r}function Qn(e){var t=new Date(d.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Tt(e){var t,r,s=[],n,a,i;if(!e._d){for(n=Qn(e),e._w&&e._a[j]==null&&e._a[Z]==null&&Jn(e),e._dayOfYear!=null&&(i=me(e._a[N],n[N]),(e._dayOfYear>De(i)||e._dayOfYear===0)&&(y(e)._overflowDayOfYear=!0),r=be(i,0,e._dayOfYear),e._a[Z]=r.getUTCMonth(),e._a[j]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=s[t]=n[t];for(;t<7;t++)e._a[t]=s[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[x]===24&&e._a[F]===0&&e._a[q]===0&&e._a[ie]===0&&(e._nextDay=!0,e._a[x]=0),e._d=(e._useUTC?be:tn).apply(null,s),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[x]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==a&&(y(e).weekdayMismatch=!0)}}function Jn(e){var t,r,s,n,a,i,l,f,m;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(a=1,i=4,r=me(t.GG,e._a[N],Oe(D(),1,4).year),s=me(t.W,1),n=me(t.E,1),(n<1||n>7)&&(f=!0)):(a=e._locale._week.dow,i=e._locale._week.doy,m=Oe(D(),a,i),r=me(t.gg,e._a[N],m.year),s=me(t.w,m.week),t.d!=null?(n=t.d,(n<0||n>6)&&(f=!0)):t.e!=null?(n=t.e+a,(t.e<0||t.e>6)&&(f=!0)):n=a),s<1||s>Q(r,a,i)?y(e)._overflowWeeks=!0:f!=null?y(e)._overflowWeekday=!0:(l=ur(r,s,n,a,i),e._a[N]=l.year,e._dayOfYear=l.dayOfYear)}d.ISO_8601=function(){},d.RFC_2822=function(){};function xt(e){if(e._f===d.ISO_8601){yr(e);return}if(e._f===d.RFC_2822){_r(e);return}e._a=[],y(e).empty=!0;var t=""+e._i,r,s,n,a,i,l=t.length,f=0,m,O;for(n=Jt(e._f,e._locale).match(ht)||[],O=n.length,r=0;r<O;r++)a=n[r],s=(t.match(As(a,e))||[])[0],s&&(i=t.substr(0,t.indexOf(s)),i.length>0&&y(e).unusedInput.push(i),t=t.slice(t.indexOf(s)+s.length),f+=s.length),de[a]?(s?y(e).empty=!1:y(e).unusedTokens.push(a),Is(a,s,e)):e._strict&&!s&&y(e).unusedTokens.push(a);y(e).charsLeftOver=l-f,t.length>0&&y(e).unusedInput.push(t),e._a[x]<=12&&y(e).bigHour===!0&&e._a[x]>0&&(y(e).bigHour=void 0),y(e).parsedDateParts=e._a.slice(0),y(e).meridiem=e._meridiem,e._a[x]=Kn(e._locale,e._a[x],e._meridiem),m=y(e).era,m!==null&&(e._a[N]=e._locale.erasConvertYear(m,e._a[N])),Tt(e),bt(e)}function Kn(e,t,r){var s;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(s=e.isPM(r),s&&t<12&&(t+=12),!s&&t===12&&(t=0)),t)}function $n(e){var t,r,s,n,a,i,l=!1,f=e._f.length;if(f===0){y(e).invalidFormat=!0,e._d=new Date(NaN);return}for(n=0;n<f;n++)a=0,i=!1,t=ut({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[n],xt(t),ot(t)&&(i=!0),a+=y(t).charsLeftOver,a+=y(t).unusedTokens.length*10,y(t).score=a,l?a<s&&(s=a,r=t):(s==null||a<s||i)&&(s=a,r=t,i&&(l=!0));te(e,r||t)}function Xn(e){if(!e._d){var t=yt(e._i),r=t.day===void 0?t.date:t.day;e._a=zt([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(s){return s&&parseInt(s,10)}),Tt(e)}}function ea(e){var t=new ke(bt(gr(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function gr(e){var t=e._i,r=e._f;return e._locale=e._locale||J(e._l),t===null||r===void 0&&t===""?Ee({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),I(t)?new ke(bt(t)):(pe(t)?e._d=t:L(r)?$n(e):r?xt(e):ta(e),ot(e)||(e._d=null),e))}function ta(e){var t=e._i;P(t)?e._d=new Date(d.now()):pe(t)?e._d=new Date(t.valueOf()):typeof t=="string"?qn(e):L(t)?(e._a=zt(t.slice(0),function(r){return parseInt(r,10)}),Tt(e)):ae(t)?Xn(e):z(t)?e._d=new Date(t):d.createFromInputFallback(e)}function wr(e,t,r,s,n){var a={};return(t===!0||t===!1)&&(s=t,t=void 0),(r===!0||r===!1)&&(s=r,r=void 0),(ae(e)&&at(e)||L(e)&&e.length===0)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=n,a._l=r,a._i=e,a._f=t,a._strict=s,ea(a)}function D(e,t,r,s){return wr(e,t,r,s,!1)}var ra=E("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=D.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Ee()}),sa=E("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=D.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Ee()});function pr(e,t){var r,s;if(t.length===1&&L(t[0])&&(t=t[0]),!t.length)return D();for(r=t[0],s=1;s<t.length;++s)(!t[s].isValid()||t[s][e](r))&&(r=t[s]);return r}function na(){var e=[].slice.call(arguments,0);return pr("isBefore",e)}function aa(){var e=[].slice.call(arguments,0);return pr("isAfter",e)}var ia=function(){return Date.now?Date.now():+new Date},ve=["year","quarter","month","week","day","hour","minute","second","millisecond"];function oa(e){var t,r=!1,s,n=ve.length;for(t in e)if(w(e,t)&&!(b.call(ve,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(s=0;s<n;++s)if(e[ve[s]]){if(r)return!1;parseFloat(e[ve[s]])!==_(e[ve[s]])&&(r=!0)}return!0}function la(){return this._isValid}function ua(){return U(NaN)}function Ze(e){var t=yt(e),r=t.year||0,s=t.quarter||0,n=t.month||0,a=t.week||t.isoWeek||0,i=t.day||0,l=t.hour||0,f=t.minute||0,m=t.second||0,O=t.millisecond||0;this._isValid=oa(t),this._milliseconds=+O+m*1e3+f*6e4+l*1e3*60*60,this._days=+i+a*7,this._months=+n+s*3+r*12,this._data={},this._locale=J(),this._bubble()}function qe(e){return e instanceof Ze}function vt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function da(e,t,r){var s=Math.min(e.length,t.length),n=Math.abs(e.length-t.length),a=0,i;for(i=0;i<s;i++)_(e[i])!==_(t[i])&&a++;return a+n}function kr(e,t){h(e,0,0,function(){var r=this.utcOffset(),s="+";return r<0&&(r=-r,s="-"),s+G(~~(r/60),2)+t+G(~~r%60,2)})}kr("Z",":"),kr("ZZ",""),c("Z",Ve),c("ZZ",Ve),S(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Nt(Ve,e)});var ca=/([\+\-]|\d\d)/gi;function Nt(e,t){var r=(t||"").match(e),s,n,a;return r===null?null:(s=r[r.length-1]||[],n=(s+"").match(ca)||["-",0,0],a=+(n[1]*60)+_(n[2]),a===0?0:n[0]==="+"?a:-a)}function Pt(e,t){var r,s;return t._isUTC?(r=t.clone(),s=(I(e)||pe(e)?e.valueOf():D(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+s),d.updateOffset(r,!1),r):D(e).local()}function Ct(e){return-Math.round(e._d.getTimezoneOffset())}d.updateOffset=function(){};function fa(e,t,r){var s=this._offset||0,n;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Nt(Ve,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(n=Ct(this)),this._offset=e,this._isUTC=!0,n!=null&&this.add(n,"m"),s!==e&&(!t||this._changeInProgress?Yr(this,U(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,d.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?s:Ct(this)}function ha(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function ma(e){return this.utcOffset(0,e)}function ya(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ct(this),"m")),this}function _a(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Nt(Es,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function ga(e){return this.isValid()?(e=e?D(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function wa(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function pa(){if(!P(this._isDSTShifted))return this._isDSTShifted;var e={},t;return ut(e,this),e=gr(e),e._a?(t=e._isUTC?V(e._a):D(e._a),this._isDSTShifted=this.isValid()&&da(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function ka(){return this.isValid()?!this._isUTC:!1}function Sa(){return this.isValid()?this._isUTC:!1}function Sr(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Ma=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Da=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function U(e,t){var r=e,s=null,n,a,i;return qe(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:z(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(s=Ma.exec(e))?(n=s[1]==="-"?-1:1,r={y:0,d:_(s[j])*n,h:_(s[x])*n,m:_(s[F])*n,s:_(s[q])*n,ms:_(vt(s[ie]*1e3))*n}):(s=Da.exec(e))?(n=s[1]==="-"?-1:1,r={y:oe(s[2],n),M:oe(s[3],n),w:oe(s[4],n),d:oe(s[5],n),h:oe(s[6],n),m:oe(s[7],n),s:oe(s[8],n)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(i=Ya(D(r.from),D(r.to)),r={},r.ms=i.milliseconds,r.M=i.months),a=new Ze(r),qe(e)&&w(e,"_locale")&&(a._locale=e._locale),qe(e)&&w(e,"_isValid")&&(a._isValid=e._isValid),a}U.fn=Ze.prototype,U.invalid=ua;function oe(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function Mr(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Ya(e,t){var r;return e.isValid()&&t.isValid()?(t=Pt(t,e),e.isBefore(t)?r=Mr(e,t):(r=Mr(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function Dr(e,t){return function(r,s){var n,a;return s!==null&&!isNaN(+s)&&(Qt(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=r,r=s,s=a),n=U(r,s),Yr(this,n,e),this}}function Yr(e,t,r,s){var n=t._milliseconds,a=vt(t._days),i=vt(t._months);e.isValid()&&(s=s??!0,i&&ir(e,Ye(e,"Month")+i*r),a&&sr(e,"Date",Ye(e,"Date")+a*r),n&&e._d.setTime(e._d.valueOf()+n*r),s&&d.updateOffset(e,a||i))}var ba=Dr(1,"add"),Oa=Dr(-1,"subtract");function br(e){return typeof e=="string"||e instanceof String}function Ta(e){return I(e)||pe(e)||br(e)||z(e)||va(e)||xa(e)||e===null||e===void 0}function xa(e){var t=ae(e)&&!at(e),r=!1,s=["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=s.length;for(n=0;n<i;n+=1)a=s[n],r=r||w(e,a);return t&&r}function va(e){var t=L(e),r=!1;return t&&(r=e.filter(function(s){return!z(s)&&br(e)}).length===0),t&&r}function Na(e){var t=ae(e)&&!at(e),r=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],n,a;for(n=0;n<s.length;n+=1)a=s[n],r=r||w(e,a);return t&&r}function Pa(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function Ca(e,t){arguments.length===1&&(arguments[0]?Ta(arguments[0])?(e=arguments[0],t=void 0):Na(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||D(),s=Pt(r,this).startOf("day"),n=d.calendarFormat(this,s)||"sameElse",a=t&&(H(t[n])?t[n].call(this,r):t[n]);return this.format(a||this.localeData().calendar(n,this,D(r)))}function Ra(){return new ke(this)}function Ea(e,t){var r=I(e)?e:D(e);return this.isValid()&&r.isValid()?(t=W(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function Wa(e,t){var r=I(e)?e:D(e);return this.isValid()&&r.isValid()?(t=W(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function Aa(e,t,r,s){var n=I(e)?e:D(e),a=I(t)?t:D(t);return this.isValid()&&n.isValid()&&a.isValid()?(s=s||"()",(s[0]==="("?this.isAfter(n,r):!this.isBefore(n,r))&&(s[1]===")"?this.isBefore(a,r):!this.isAfter(a,r))):!1}function La(e,t){var r=I(e)?e:D(e),s;return this.isValid()&&r.isValid()?(t=W(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(s=r.valueOf(),this.clone().startOf(t).valueOf()<=s&&s<=this.clone().endOf(t).valueOf())):!1}function Ia(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Fa(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Ua(e,t,r){var s,n,a;if(!this.isValid())return NaN;if(s=Pt(e,this),!s.isValid())return NaN;switch(n=(s.utcOffset()-this.utcOffset())*6e4,t=W(t),t){case"year":a=Qe(this,s)/12;break;case"month":a=Qe(this,s);break;case"quarter":a=Qe(this,s)/3;break;case"second":a=(this-s)/1e3;break;case"minute":a=(this-s)/6e4;break;case"hour":a=(this-s)/36e5;break;case"day":a=(this-s-n)/864e5;break;case"week":a=(this-s-n)/6048e5;break;default:a=this-s}return r?a:A(a)}function Qe(e,t){if(e.date()<t.date())return-Qe(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),s=e.clone().add(r,"months"),n,a;return t-s<0?(n=e.clone().add(r-1,"months"),a=(t-s)/(s-n)):(n=e.clone().add(r+1,"months"),a=(t-s)/(n-s)),-(r+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 Ha(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?Ae(r,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",Ae(r,"Z")):Ae(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Ga(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,s,n,a;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",a=t+'[")]',this.format(r+s+n+a)}function ja(e){e||(e=this.isUtc()?d.defaultFormatUtc:d.defaultFormat);var t=Ae(this,e);return this.localeData().postformat(t)}function za(e,t){return this.isValid()&&(I(e)&&e.isValid()||D(e).isValid())?U({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Ba(e){return this.from(D(),e)}function Za(e,t){return this.isValid()&&(I(e)&&e.isValid()||D(e).isValid())?U({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function qa(e){return this.to(D(),e)}function Or(e){var t;return e===void 0?this._locale._abbr:(t=J(e),t!=null&&(this._locale=t),this)}var Tr=E("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 xr(){return this._locale}var Je=1e3,ye=60*Je,Ke=60*ye,vr=(365*400+97)*24*Ke;function _e(e,t){return(e%t+t)%t}function Nr(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-vr:new Date(e,t,r).valueOf()}function Pr(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-vr:Date.UTC(e,t,r)}function Qa(e){var t,r;if(e=W(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Pr:Nr,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=_e(t+(this._isUTC?0:this.utcOffset()*ye),Ke);break;case"minute":t=this._d.valueOf(),t-=_e(t,ye);break;case"second":t=this._d.valueOf(),t-=_e(t,Je);break}return this._d.setTime(t),d.updateOffset(this,!0),this}function Ja(e){var t,r;if(e=W(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Pr:Nr,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Ke-_e(t+(this._isUTC?0:this.utcOffset()*ye),Ke)-1;break;case"minute":t=this._d.valueOf(),t+=ye-_e(t,ye)-1;break;case"second":t=this._d.valueOf(),t+=Je-_e(t,Je)-1;break}return this._d.setTime(t),d.updateOffset(this,!0),this}function Ka(){return this._d.valueOf()-(this._offset||0)*6e4}function $a(){return Math.floor(this.valueOf()/1e3)}function Xa(){return new Date(this.valueOf())}function ei(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function ti(){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 ri(){return this.isValid()?this.toISOString():null}function si(){return ot(this)}function ni(){return te({},y(this))}function ai(){return y(this).overflow}function ii(){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"),c("N",Rt),c("NN",Rt),c("NNN",Rt),c("NNNN",gi),c("NNNNN",wi),S(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,s){var n=r._locale.erasParse(e,s,r._strict);n?y(r).era=n:y(r).invalidEra=e}),c("y",ce),c("yy",ce),c("yyy",ce),c("yyyy",ce),c("yo",pi),S(["y","yy","yyy","yyyy"],N),S(["yo"],function(e,t,r,s){var n;r._locale._eraYearOrdinalRegex&&(n=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[N]=r._locale.eraYearOrdinalParse(e,n):t[N]=parseInt(e,10)});function oi(e,t){var r,s,n,a=this._eras||J("en")._eras;for(r=0,s=a.length;r<s;++r){switch(typeof a[r].since){case"string":n=d(a[r].since).startOf("day"),a[r].since=n.valueOf();break}switch(typeof a[r].until){case"undefined":a[r].until=1/0;break;case"string":n=d(a[r].until).startOf("day").valueOf(),a[r].until=n.valueOf();break}}return a}function li(e,t,r){var s,n,a=this.eras(),i,l,f;for(e=e.toUpperCase(),s=0,n=a.length;s<n;++s)if(i=a[s].name.toUpperCase(),l=a[s].abbr.toUpperCase(),f=a[s].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(l===e)return a[s];break;case"NNNN":if(i===e)return a[s];break;case"NNNNN":if(f===e)return a[s];break}else if([i,l,f].indexOf(e)>=0)return a[s]}function ui(e,t){var r=e.since<=e.until?1:-1;return t===void 0?d(e.since).year():d(e.since).year()+(t-e.offset)*r}function di(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].name;return""}function ci(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].narrow;return""}function fi(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].abbr;return""}function hi(){var e,t,r,s,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=n[e].since<=n[e].until?1:-1,s=this.clone().startOf("day").valueOf(),n[e].since<=s&&s<=n[e].until||n[e].until<=s&&s<=n[e].since)return(this.year()-d(n[e].since).year())*r+n[e].offset;return this.year()}function mi(e){return w(this,"_erasNameRegex")||Et.call(this),e?this._erasNameRegex:this._erasRegex}function yi(e){return w(this,"_erasAbbrRegex")||Et.call(this),e?this._erasAbbrRegex:this._erasRegex}function _i(e){return w(this,"_erasNarrowRegex")||Et.call(this),e?this._erasNarrowRegex:this._erasRegex}function Rt(e,t){return t.erasAbbrRegex(e)}function gi(e,t){return t.erasNameRegex(e)}function wi(e,t){return t.erasNarrowRegex(e)}function pi(e,t){return t._eraYearOrdinalRegex||ce}function Et(){var e=[],t=[],r=[],s=[],n,a,i,l,f,m=this.eras();for(n=0,a=m.length;n<a;++n)i=B(m[n].name),l=B(m[n].abbr),f=B(m[n].narrow),t.push(i),e.push(l),r.push(f),s.push(i),s.push(l),s.push(f);this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}h(0,["gg",2],0,function(){return this.weekYear()%100}),h(0,["GG",2],0,function(){return this.isoWeekYear()%100});function $e(e,t){h(0,[e,e.length],0,t)}$e("gggg","weekYear"),$e("ggggg","weekYear"),$e("GGGG","isoWeekYear"),$e("GGGGG","isoWeekYear"),c("G",Ue),c("g",Ue),c("GG",M,R),c("gg",M,R),c("GGGG",gt,_t),c("gggg",gt,_t),c("GGGGG",Fe,Le),c("ggggg",Fe,Le),Me(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,s){t[s.substr(0,2)]=_(e)}),Me(["gg","GG"],function(e,t,r,s){t[s]=d.parseTwoDigitYear(e)});function ki(e){return Cr.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Si(e){return Cr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Mi(){return Q(this.year(),1,4)}function Di(){return Q(this.isoWeekYear(),1,4)}function Yi(){var e=this.localeData()._week;return Q(this.year(),e.dow,e.doy)}function bi(){var e=this.localeData()._week;return Q(this.weekYear(),e.dow,e.doy)}function Cr(e,t,r,s,n){var a;return e==null?Oe(this,s,n).year:(a=Q(e,s,n),t>a&&(t=a),Oi.call(this,e,t,r,s,n))}function Oi(e,t,r,s,n){var a=ur(e,t,r,s,n),i=be(a.year,0,a.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}h("Q",0,"Qo","quarter"),c("Q",$t),S("Q",function(e,t){t[Z]=(_(e)-1)*3});function Ti(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}h("D",["DD",2],"Do","date"),c("D",M,fe),c("DD",M,R),c("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),S(["D","DD"],j),S("Do",function(e,t){t[j]=_(e.match(M)[0])});var Rr=he("Date",!0);h("DDD",["DDDD",3],"DDDo","dayOfYear"),c("DDD",Ie),c("DDDD",Xt),S(["DDD","DDDD"],function(e,t,r){r._dayOfYear=_(e)});function xi(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"),c("m",M,wt),c("mm",M,R),S(["m","mm"],F);var vi=he("Minutes",!1);h("s",["ss",2],0,"second"),c("s",M,wt),c("ss",M,R),S(["s","ss"],q);var Ni=he("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}),c("S",Ie,$t),c("SS",Ie,R),c("SSS",Ie,Xt);var se,Er;for(se="SSSS";se.length<=9;se+="S")c(se,ce);function Pi(e,t){t[ie]=_(("0."+e)*1e3)}for(se="S";se.length<=9;se+="S")S(se,Pi);Er=he("Milliseconds",!1),h("z",0,0,"zoneAbbr"),h("zz",0,0,"zoneName");function Ci(){return this._isUTC?"UTC":""}function Ri(){return this._isUTC?"Coordinated Universal Time":""}var u=ke.prototype;u.add=ba,u.calendar=Ca,u.clone=Ra,u.diff=Ua,u.endOf=Ja,u.format=ja,u.from=za,u.fromNow=Ba,u.to=Za,u.toNow=qa,u.get=Hs,u.invalidAt=ai,u.isAfter=Ea,u.isBefore=Wa,u.isBetween=Aa,u.isSame=La,u.isSameOrAfter=Ia,u.isSameOrBefore=Fa,u.isValid=si,u.lang=Tr,u.locale=Or,u.localeData=xr,u.max=sa,u.min=ra,u.parsingFlags=ni,u.set=Gs,u.startOf=Qa,u.subtract=Oa,u.toArray=ei,u.toObject=ti,u.toDate=Xa,u.toISOString=Ha,u.inspect=Ga,typeof Symbol<"u"&&Symbol.for!=null&&(u[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),u.toJSON=ri,u.toString=Va,u.unix=$a,u.valueOf=Ka,u.creationData=ii,u.eraName=di,u.eraNarrow=ci,u.eraAbbr=fi,u.eraYear=hi,u.year=rr,u.isLeapYear=Vs,u.weekYear=ki,u.isoWeekYear=Si,u.quarter=u.quarters=Ti,u.month=or,u.daysInMonth=$s,u.week=u.weeks=on,u.isoWeek=u.isoWeeks=ln,u.weeksInYear=Yi,u.weeksInWeekYear=bi,u.isoWeeksInYear=Mi,u.isoWeeksInISOWeekYear=Di,u.date=Rr,u.day=u.days=Sn,u.weekday=Mn,u.isoWeekday=Dn,u.dayOfYear=xi,u.hour=u.hours=Nn,u.minute=u.minutes=vi,u.second=u.seconds=Ni,u.millisecond=u.milliseconds=Er,u.utcOffset=fa,u.utc=ma,u.local=ya,u.parseZone=_a,u.hasAlignedHourOffset=ga,u.isDST=wa,u.isLocal=ka,u.isUtcOffset=Sa,u.isUtc=Sr,u.isUTC=Sr,u.zoneAbbr=Ci,u.zoneName=Ri,u.dates=E("dates accessor is deprecated. Use date instead.",Rr),u.months=E("months accessor is deprecated. Use month instead",or),u.years=E("years accessor is deprecated. Use year instead",rr),u.zone=E("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",ha),u.isDSTShifted=E("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",pa);function Ei(e){return D(e*1e3)}function Wi(){return D.apply(null,arguments).parseZone()}function Wr(e){return e}var p=ct.prototype;p.calendar=ps,p.longDateFormat=Ds,p.invalidDate=bs,p.ordinal=xs,p.preparse=Wr,p.postformat=Wr,p.relativeTime=Ns,p.pastFuture=Ps,p.set=gs,p.eras=oi,p.erasParse=li,p.erasConvertYear=ui,p.erasAbbrRegex=yi,p.erasNameRegex=mi,p.erasNarrowRegex=_i,p.months=qs,p.monthsShort=Qs,p.monthsParse=Ks,p.monthsRegex=en,p.monthsShortRegex=Xs,p.week=rn,p.firstDayOfYear=an,p.firstDayOfWeek=nn,p.weekdays=_n,p.weekdaysMin=wn,p.weekdaysShort=gn,p.weekdaysParse=kn,p.weekdaysRegex=Yn,p.weekdaysShortRegex=bn,p.weekdaysMinRegex=On,p.isPM=xn,p.meridiem=Pn;function Xe(e,t,r,s){var n=J(),a=V().set(s,t);return n[r](a,e)}function Ar(e,t,r){if(z(e)&&(t=e,e=void 0),e=e||"",t!=null)return Xe(e,t,r,"month");var s,n=[];for(s=0;s<12;s++)n[s]=Xe(e,s,r,"month");return n}function Wt(e,t,r,s){typeof e=="boolean"?(z(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,z(t)&&(r=t,t=void 0),t=t||"");var n=J(),a=e?n._week.dow:0,i,l=[];if(r!=null)return Xe(t,(r+a)%7,s,"day");for(i=0;i<7;i++)l[i]=Xe(t,(i+a)%7,s,"day");return l}function Ai(e,t){return Ar(e,t,"months")}function Li(e,t){return Ar(e,t,"monthsShort")}function Ii(e,t,r){return Wt(e,t,r,"weekdays")}function Fi(e,t,r){return Wt(e,t,r,"weekdaysShort")}function Ui(e,t,r){return Wt(e,t,r,"weekdaysMin")}re("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=_(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}}),d.lang=E("moment.lang is deprecated. Use moment.locale instead.",re),d.langData=E("moment.langData is deprecated. Use moment.localeData instead.",J);var K=Math.abs;function Vi(){var e=this._data;return this._milliseconds=K(this._milliseconds),this._days=K(this._days),this._months=K(this._months),e.milliseconds=K(e.milliseconds),e.seconds=K(e.seconds),e.minutes=K(e.minutes),e.hours=K(e.hours),e.months=K(e.months),e.years=K(e.years),this}function Lr(e,t,r,s){var n=U(t,r);return e._milliseconds+=s*n._milliseconds,e._days+=s*n._days,e._months+=s*n._months,e._bubble()}function Hi(e,t){return Lr(this,e,t,1)}function Gi(e,t){return Lr(this,e,t,-1)}function Ir(e){return e<0?Math.floor(e):Math.ceil(e)}function ji(){var e=this._milliseconds,t=this._days,r=this._months,s=this._data,n,a,i,l,f;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=Ir(At(r)+t)*864e5,t=0,r=0),s.milliseconds=e%1e3,n=A(e/1e3),s.seconds=n%60,a=A(n/60),s.minutes=a%60,i=A(a/60),s.hours=i%24,t+=A(i/24),f=A(Fr(t)),r+=f,t-=Ir(At(f)),l=A(r/12),r%=12,s.days=t,s.months=r,s.years=l,this}function Fr(e){return e*4800/146097}function At(e){return e*146097/4800}function zi(e){if(!this.isValid())return NaN;var t,r,s=this._milliseconds;if(e=W(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+s/864e5,r=this._months+Fr(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(At(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return t*24+s/36e5;case"minute":return t*1440+s/6e4;case"second":return t*86400+s/1e3;case"millisecond":return Math.floor(t*864e5)+s;default:throw new Error("Unknown unit "+e)}}function $(e){return function(){return this.as(e)}}var Ur=$("ms"),Bi=$("s"),Zi=$("m"),qi=$("h"),Qi=$("d"),Ji=$("w"),Ki=$("M"),$i=$("Q"),Xi=$("y"),eo=Ur;function to(){return U(this)}function ro(e){return e=W(e),this.isValid()?this[e+"s"]():NaN}function le(e){return function(){return this.isValid()?this._data[e]:NaN}}var so=le("milliseconds"),no=le("seconds"),ao=le("minutes"),io=le("hours"),oo=le("days"),lo=le("months"),uo=le("years");function co(){return A(this.days()/7)}var X=Math.round,ge={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function fo(e,t,r,s,n){return n.relativeTime(t||1,!!r,e,s)}function ho(e,t,r,s){var n=U(e).abs(),a=X(n.as("s")),i=X(n.as("m")),l=X(n.as("h")),f=X(n.as("d")),m=X(n.as("M")),O=X(n.as("w")),T=X(n.as("y")),k=a<=r.ss&&["s",a]||a<r.s&&["ss",a]||i<=1&&["m"]||i<r.m&&["mm",i]||l<=1&&["h"]||l<r.h&&["hh",l]||f<=1&&["d"]||f<r.d&&["dd",f];return r.w!=null&&(k=k||O<=1&&["w"]||O<r.w&&["ww",O]),k=k||m<=1&&["M"]||m<r.M&&["MM",m]||T<=1&&["y"]||["yy",T],k[2]=t,k[3]=+e>0,k[4]=s,fo.apply(null,k)}function mo(e){return e===void 0?X:typeof e=="function"?(X=e,!0):!1}function yo(e,t){return ge[e]===void 0?!1:t===void 0?ge[e]:(ge[e]=t,e==="s"&&(ge.ss=t-1),!0)}function _o(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,s=ge,n,a;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(s=Object.assign({},ge,t),t.s!=null&&t.ss==null&&(s.ss=t.s-1)),n=this.localeData(),a=ho(this,!r,s,n),r&&(a=n.pastFuture(+this,a)),n.postformat(a)}var Lt=Math.abs;function we(e){return(e>0)-(e<0)||+e}function et(){if(!this.isValid())return this.localeData().invalidDate();var e=Lt(this._milliseconds)/1e3,t=Lt(this._days),r=Lt(this._months),s,n,a,i,l=this.asSeconds(),f,m,O,T;return l?(s=A(e/60),n=A(s/60),e%=60,s%=60,a=A(r/12),r%=12,i=e?e.toFixed(3).replace(/\.?0+$/,""):"",f=l<0?"-":"",m=we(this._months)!==we(l)?"-":"",O=we(this._days)!==we(l)?"-":"",T=we(this._milliseconds)!==we(l)?"-":"",f+"P"+(a?m+a+"Y":"")+(r?m+r+"M":"")+(t?O+t+"D":"")+(n||s||e?"T":"")+(n?T+n+"H":"")+(s?T+s+"M":"")+(e?T+i+"S":"")):"P0D"}var g=Ze.prototype;g.isValid=la,g.abs=Vi,g.add=Hi,g.subtract=Gi,g.as=zi,g.asMilliseconds=Ur,g.asSeconds=Bi,g.asMinutes=Zi,g.asHours=qi,g.asDays=Qi,g.asWeeks=Ji,g.asMonths=Ki,g.asQuarters=$i,g.asYears=Xi,g.valueOf=eo,g._bubble=ji,g.clone=to,g.get=ro,g.milliseconds=so,g.seconds=no,g.minutes=ao,g.hours=io,g.days=oo,g.weeks=co,g.months=lo,g.years=uo,g.humanize=_o,g.toISOString=et,g.toString=et,g.toJSON=et,g.locale=Or,g.localeData=xr,g.toIsoString=E("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",et),g.lang=Tr,h("X",0,0,"unix"),h("x",0,0,"valueOf"),c("x",Ue),c("X",Ws),S("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)}),S("x",function(e,t,r){r._d=new Date(_(e))});//! moment.js
|
|
10
|
+
d.version="2.30.1",ys(D),d.fn=u,d.min=na,d.max=aa,d.now=ia,d.utc=V,d.unix=Ei,d.months=Ai,d.isDate=pe,d.locale=re,d.invalid=Ee,d.duration=U,d.isMoment=I,d.weekdays=Ii,d.parseZone=Wi,d.localeData=J,d.isDuration=qe,d.monthsShort=Li,d.weekdaysMin=Ui,d.defineLocale=Yt,d.updateLocale=Wn,d.locales=An,d.weekdaysShort=Fi,d.normalizeUnits=W,d.relativeTimeRounding=mo,d.relativeTimeThreshold=yo,d.calendarFormat=Pa,d.prototype=u,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"};const go={class:"d-flex align-items-center justify-content-center bg-white shadow-sm py-3"},Vr=o.defineComponent({__name:"Footer",props:{copyrightText:{type:String,required:!0}},setup(e){const t=e;return(r,s)=>(o.openBlock(),o.createElementBlock("footer",go,o.toDisplayString(t.copyrightText)+" "+o.toDisplayString(o.unref(d)().year()),1))}}),wo=o.defineComponent({__name:"LoginLayoutFrame",props:{loginText:{},brandText:{},copyrightText:{},mainClass:{default:"my-5"}},setup(e){const t=e;if(typeof t.loginText!="string")throw new Error("LoginLayoutFrame: loginText обязателен");if(!t.brandText.trim())throw new Error("LoginLayoutFrame: brandText обязателен");if(!t.copyrightText.trim())throw new Error("LoginLayoutFrame: copyrightText обязателен");return(r,s)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createVNode(Gt,{"is-authenticated":!1,"login-text":r.loginText,"raw-dropdown-links":[],"brand-text":r.brandText},{logo:o.withCtx(()=>[o.createVNode(nt)]),"language-selector":o.withCtx(()=>[o.renderSlot(r.$slots,"language-selector")]),_:3},8,["login-text","brand-text"]),o.createElementVNode("main",{class:o.normalizeClass(r.mainClass),style:{"min-height":"80vh"}},[o.renderSlot(r.$slots,"default")],2),o.createVNode(Vr,{"copyright-text":r.copyrightText},null,8,["copyright-text"])],64))}}),po={__name:"Spinner",props:{isSmall:{type:Boolean,default:!1}},setup(e){return(t,r)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["spinner-border",{"spinner-border-sm":e.isSmall}]),role:"status"},null,2))}},ko={class:"container","data-test":"SsoLoginPending"},So={class:"row justify-content-center"},Mo={class:"col-md-8"},Do={class:"card"},Yo={class:"card-header"},bo={class:"card-body"},Oo={class:"login-spinner text-center",role:"status","aria-live":"polite"},To={class:"visually-hidden","data-test":"SsoLoginPending-status"},Hr=Re(o.defineComponent({__name:"SsoLoginPending",props:{title:{},statusText:{}},setup(e){const t=e;if(!t.title.trim())throw new Error("SsoLoginPending: title обязателен");if(!t.statusText.trim())throw new Error("SsoLoginPending: statusText обязателен");return(r,s)=>(o.openBlock(),o.createElementBlock("div",ko,[o.createElementVNode("div",So,[o.createElementVNode("div",Mo,[o.createElementVNode("div",Do,[o.createElementVNode("div",Yo,o.toDisplayString(r.title),1),o.createElementVNode("div",bo,[o.createElementVNode("div",Oo,[o.createVNode(po),o.createElementVNode("span",To,o.toDisplayString(r.statusText),1)])])])])])]))}}),[["__scopeId","data-v-6eb41b83"]]),Gr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";function jr(){const e=globalThis.crypto;if(!e)throw new Error("Web Crypto API is not available.");if(!e.getRandomValues)throw new Error("Web Crypto getRandomValues is not available.");if(!e.subtle?.digest)throw new Error("Web Crypto subtle digest is not available.");return e}function zr(e){const t=jr(),r=new Uint8Array(e);t.getRandomValues(r);let s="";return r.forEach(n=>{s+=Gr[n%Gr.length]}),s}function xo(e){const t=new Uint8Array(e);let r="";return t.forEach(s=>{r+=String.fromCharCode(s)}),btoa(r).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/g,"")}function vo(e=64){if(!Number.isInteger(e)||e<43||e>128)throw new Error("PKCE code_verifier length must be between 43 and 128.");return zr(e)}async function No(e){const t=jr(),s=new TextEncoder().encode(e),n=await t.subtle.digest("SHA-256",s);return xo(n)}async function Po(e=64){const t=vo(e),r=await No(t);return{codeVerifier:t,codeChallenge:r}}function Co(e=32){if(!Number.isInteger(e)||e<16||e>128)throw new Error("OAuth state length must be between 16 and 128.");return zr(e)}function tt(e){return Number.isInteger(e)&&Number(e)>=400&&Number(e)<600}function It(e,t=new Set){if(e==null)return;if(typeof e=="number")return tt(e)?e:void 0;if(typeof e!="object"||t.has(e))return;if(t.add(e),typeof Response<"u"&&e instanceof Response)return tt(e.status)?e.status:void 0;const r=e;if(tt(r.status))return r.status;if(tt(r.statusCode))return r.statusCode;const s=It(r.response,t);return s!==void 0?s:It(r.cause,t)}function Br(e){return e===400?"Bad Request":e===401?"Unauthorized":e===403?"Forbidden":e===404?"Not Found":e===409?"Conflict":e===422?"Unprocessable Entity":e===429?"Too Many Requests":e===502?"Bad Gateway":e===503?"Service Unavailable":e===504?"Gateway Timeout":e>=500?"Internal Server Error":"Request failed"}function Ft(e,t=500){return It(e)??t}const Ro="Web Crypto API недоступен. Используйте HTTPS или обновите браузер.",Eo="NUXT_PUBLIC_ORIGIN не совпадает с адресом вкладки. Откройте приложение по origin из конфига.",Zr="r3ui-sso-start-lock",Ut="r3ui-sso-auth-url";let ue;function Wo(){try{const e=sessionStorage.getItem(Ut);return typeof e=="string"&&e.length>0?e:null}catch{return null}}function qr(){try{sessionStorage.setItem(Zr,"1")}catch{}}function Ao(e){try{sessionStorage.setItem(Ut,e)}catch{}}function Vt(){ue=void 0;try{sessionStorage.removeItem(Zr),sessionStorage.removeItem(Ut)}catch{}}async function Qr(e){if(!e||typeof e.setLoading!="function")throw new Error("signInWithSSO: deps.setLoading обязателен");if(typeof e.getPublicConfig!="function")throw new Error("signInWithSSO: deps.getPublicConfig обязателен");if(typeof e.useCookie!="function")throw new Error("signInWithSSO: deps.useCookie обязателен");if(typeof e.showError!="function")throw new Error("signInWithSSO: deps.showError обязателен");if(typeof window>"u")return;const t=e.redirectTo??(l=>{window.location.href=l}),s={maxAge:300,sameSite:"lax",secure:(e.isSecure??(()=>window.location.protocol==="https:"))(),path:"/"},n=l=>{const f=e.useCookie(l,s).value;return typeof f=="string"&&f.length>0?f:null};if(ue?.url===null)return;e.setLoading(!0);const a=e.generatePkcePair??Po,i=e.generateState??Co;try{const{authApiUrl:l,ssoClientId:f,origin:m}=e.getPublicConfig();if(!l||!f)throw new Error("Не настроены CLIENT_ID или NUXT_AUTH_API_URL");if(typeof m!="string"||m!==window.location.origin){e.setLoading(!1),e.showError({statusCode:400,statusMessage:Eo});return}const O=`${m}/api/auth/callback`,T=new URL(`${l.replace(/\/+$/,"")}/oauth/authorize`);if(!["https:","http:"].includes(T.protocol)||T.username||T.password||T.search||T.hash)throw new Error("Некорректный NUXT_AUTH_API_URL");const k=ue?.url??Wo(),ne=n("pkce_state"),ee=n("pkce_verifier");let v;if(k&&ne&&ee)try{v=new URL(k)}catch{}const Ne={client_id:f,redirect_uri:O,response_type:"code",code_challenge_method:"S256",state:ne};if(k&&v&&v.origin===T.origin&&v.pathname===T.pathname&&!v.username&&!v.password&&!v.hash&&!v.searchParams.has("scope")&&v.searchParams.getAll("code_challenge").length===1&&v.searchParams.get("code_challenge")&&Object.entries(Ne).every(([st,Ce])=>v.searchParams.getAll(st).length===1&&v.searchParams.get(st)===Ce)){ue?.url!==k&&(ue={url:k},qr(),t(k));return}Vt(),ue={url:null},qr();let Pe,Jr,rt;try{({codeVerifier:Pe,codeChallenge:Jr}=await a()),rt=i()}catch{Vt(),e.setLoading(!1),e.showError({statusCode:500,statusMessage:Ro});return}e.useCookie("pkce_verifier",s).value=Pe,e.useCookie("pkce_state",s).value=rt,await o.nextTick();const Kr=st=>document.cookie.split(";").map(Ce=>Ce.trim()).find(Ce=>Ce.startsWith(`${st}=`));if(Kr("pkce_verifier")!==`pkce_verifier=${encodeURIComponent(Pe)}`||Kr("pkce_state")!==`pkce_state=${encodeURIComponent(rt)}`)throw new Error("Не удалось сохранить данные входа. Разрешите cookie в браузере и повторите вход.");const Ht=`${T.href}?`+new URLSearchParams({client_id:f,redirect_uri:O,response_type:"code",code_challenge:Jr,code_challenge_method:"S256",state:rt});ue={url:Ht},Ao(Ht),t(Ht)}catch(l){Vt(),e.setLoading(!1);const f=Ft(l,500),m=l instanceof Error&&l.message.trim()?l.message:Br(f);e.showError({statusCode:f,statusMessage:m,cause:l})}}const Lo=o.defineComponent({__name:"SsoLoginScreen",props:{title:{},statusText:{},getPublicConfig:{type:Function},useCookie:{type:Function},showError:{type:Function}},setup(e){const t=e;if(!t.title.trim())throw new Error("SsoLoginScreen: title обязателен");if(!t.statusText.trim())throw new Error("SsoLoginScreen: statusText обязателен");if(typeof t.getPublicConfig!="function")throw new Error("SsoLoginScreen: getPublicConfig обязателен");if(typeof t.useCookie!="function")throw new Error("SsoLoginScreen: useCookie обязателен");if(typeof t.showError!="function")throw new Error("SsoLoginScreen: showError обязателен");function r(){Qr({setLoading:()=>{},getPublicConfig:t.getPublicConfig,useCookie:t.useCookie,showError:t.showError}).catch(a=>{t.showError({statusCode:Ft(a,500),statusMessage:a instanceof Error&&a.message.trim()?a.message:Br(Ft(a,500)),cause:a})})}let s=!0;function n(a){s&&a.persisted&&window.location.reload()}return o.onMounted(()=>window.addEventListener("pageshow",n)),o.onUnmounted(()=>window.removeEventListener("pageshow",n)),o.onActivated(()=>{s=!0,r()}),o.onDeactivated(()=>{s=!1}),r(),(a,i)=>(o.openBlock(),o.createBlock(Hr,{title:a.title,"status-text":a.statusText},null,8,["title","status-text"]))}});C.Footer=Vr,C.Header=Gt,C.LoginLayoutFrame=wo,C.Logo=nt,C.SsoLoginPending=Hr,C.SsoLoginScreen=Lo,C.signInWithSSO=Qr,Object.defineProperty(C,Symbol.toStringTag,{value:"Module"})}));
|