r3ui-lib 1.3.13 → 1.3.14

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.
Files changed (34) hide show
  1. package/README.md +10 -0
  2. package/dist/login.css +1 -1
  3. package/dist/login.es.js +1222 -1209
  4. package/dist/login.umd.js +5 -5
  5. package/dist/r3ui-lib.css +1 -1
  6. package/dist/r3ui-lib.es.js +15956 -14299
  7. package/dist/r3ui-lib.umd.js +34 -32
  8. package/dist/types/components/dropdowns/DefaultDropDown.vue.d.ts.map +1 -1
  9. package/dist/types/components/form/CustomInput.vue.d.ts.map +1 -1
  10. package/dist/types/components/form/PasswordInput.vue.d.ts +4 -0
  11. package/dist/types/components/form/PasswordInput.vue.d.ts.map +1 -1
  12. package/dist/types/components/form/VSelect.vue.d.ts +2 -2
  13. package/dist/types/components/form/VSelect.vue.d.ts.map +1 -1
  14. package/dist/types/components/forms/AddressForm.vue.d.ts +16 -5
  15. package/dist/types/components/forms/AddressForm.vue.d.ts.map +1 -1
  16. package/dist/types/components/forms/BooleanCheckbox.vue.d.ts +4 -4
  17. package/dist/types/components/forms/BooleanCheckbox.vue.d.ts.map +1 -1
  18. package/dist/types/components/forms/Flatpickr.vue.d.ts.map +1 -1
  19. package/dist/types/components/modals/ConfirmationModal.vue.d.ts +1 -1
  20. package/dist/types/components/modals/ConfirmationModal.vue.d.ts.map +1 -1
  21. package/dist/types/components/modals/DefaultModal.vue.d.ts.map +1 -1
  22. package/dist/types/components/modals/TableFilterModalComponent.vue.d.ts.map +1 -1
  23. package/dist/types/components/notifications/ErrorMessageComponent.vue.d.ts.map +1 -1
  24. package/dist/types/components/notifications/NotificationMessage.vue.d.ts +6 -0
  25. package/dist/types/components/notifications/NotificationMessage.vue.d.ts.map +1 -0
  26. package/dist/types/components/notifications/Toast.vue.d.ts +6 -0
  27. package/dist/types/components/notifications/Toast.vue.d.ts.map +1 -1
  28. package/dist/types/composables/forms/useAddressForm.d.ts +23 -17
  29. package/dist/types/composables/forms/useAddressForm.d.ts.map +1 -1
  30. package/dist/types/composables/modals/useModalLayer.d.ts +4 -0
  31. package/dist/types/composables/modals/useModalLayer.d.ts.map +1 -0
  32. package/dist/types/utils/addressFormTranslations.d.ts +3 -0
  33. package/dist/types/utils/addressFormTranslations.d.ts.map +1 -1
  34. package/package.json +2 -1
package/dist/login.umd.js CHANGED
@@ -1,10 +1,10 @@
1
- (function(N,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],o):(N=typeof globalThis<"u"?globalThis:N||self,o(N.R3uiLibLogin={},N.Vue))})(this,(function(N,o){"use strict";const be=(e,t)=>{const r=e.__vccOpts||e;for(const[s,n]of t)r[s]=n;return r},Gr={class:"custom-dropdown"},jr={style:{"border-bottom":"2px solid #000"}},zr={class:"dropdown-list-wrapper"},Br={key:0,class:"custom-dropdown-menu"},Zr=["disabled","onClick","onKeydown"],qr=be({__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=u=>{u&&(u.preventDefault(),u.stopPropagation()),r.value=!r.value},n=u=>{if(typeof u!="function"){s();return}u(),s()},a=u=>{u&&(u.preventDefault(),u.stopPropagation()),setTimeout(()=>{r.value=!1},100)},i=o.computed(()=>t.type==="profile");return(u,c)=>(o.openBlock(),o.createElementBlock("div",Gr,[i.value?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",class:"cursor-pointer nav-link dropdown-toggle d-flex align-items-center border rounded p-2",onClick:s,onBlur:a},[c[1]||(c[1]=o.createElementVNode("div",{class:"circl"},null,-1)),o.createTextVNode(" "+o.toDisplayString(e.title),1)],32)):(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",class:"link-dark",type:"button",onClick:s,onBlur:a},[o.createElementVNode("span",jr,o.toDisplayString(e.title),1),c[2]||(c[2]=o.createElementVNode("i",{class:"bi bi-chevron-up dropdown-edit",style:{"font-size":"12px","padding-inline-start":"5px"}},null,-1))],32)),o.createElementVNode("div",zr,[r.value?(o.openBlock(),o.createElementBlock("ul",Br,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.links,(m,Y)=>(o.openBlock(),o.createElementBlock("li",{key:Y},[m.hidden?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",class:o.normalizeClass(["dropdown-item",{disabled:m?.disabled}]),disabled:!!m?.disabled,onMousedown:c[0]||(c[0]=o.withModifiers(()=>{},["prevent"])),onClick:x=>n(m?.action),onKeydown:[o.withKeys(o.withModifiers(x=>n(m?.action),["prevent"]),["enter"]),o.withKeys(o.withModifiers(x=>n(m?.action),["prevent"]),["space"])]},o.toDisplayString(m?.title),43,Zr))]))),128))])):o.createCommentVNode("",!0)])]))}},[["__scopeId","data-v-93106856"]]),Qr="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,iVBORw0KGgoAAAANSUhEUgAAAM0AAAA7CAYAAADYdw5tAAAQ9UlEQVR4nO1dzW7bSLb+DinJns69uOzF4CodIKMM0EkHdxFl0YAjqhFmN7s4TxD5CaJ+AstPEPsJojxBO08QGonkAFlYvRh42hlMGDQa7eAuWsHt221bYp1ZsKSQxSJFWf6Lmh+ghSiqeETVV3XOd04VCTk+KTiOYw0Gg3VmZsMwnr58+dI9b5v+aKDzNiDH8VCr1VaJ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cNLNjlOyziOh5eG80x3EsmeCMlbBPuyQhx8VBLjnPCCk57yBeNqMWlY4hF6ZN/SSCHBcDmg1qckwDz/P6V69ePQTwN+WjpCJRr1QqPfA87+D0rctxGshJcwL48ccfX129evUDgCUAiymnuqVS6V7+FOZPG7l7doIYVQfgYx1cX75cIcRm/kjA+cC/AdgTzC0pucD7AAAAAElFTkSuQmCC'/%3e%3c/defs%3e%3c/svg%3e",Jr=["src","alt"],Je=be(o.defineComponent({__name:"Logo",props:{src:{default:Qr},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,c)=>(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,Jr),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"]]),Kr={class:"navbar navbar-expand-md navbar-light bg-white border-bottom hide-to-print r3ui-header"},$r={class:"row align-items-center"},Xr={class:"col-auto pe-0"},es={class:"col-auto ps-0 text-wrap mx-3 r3ui-header-label"},ts={class:"row"},rs={class:"col-auto d-flex align-items-center"},ss={key:1,class:"text-muted"},ns={class:"col-auto"},At=be(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",Kr,[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",$r,[o.createElementVNode("div",Xr,[o.renderSlot(a.$slots,"logo",{},()=>[o.createVNode(Je,{class:"r3ui-header-logo",brandText:r.brandText},null,8,["brandText"])],!0)]),o.createElementVNode("div",es,o.toDisplayString(r.brandText),1)])]),o.createElementVNode("div",ts,[o.createElementVNode("div",rs,[r.isAuthenticated?(o.openBlock(),o.createBlock(qr,{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",ss,o.toDisplayString(r.loginText),1))]),o.createElementVNode("div",ns,[o.renderSlot(a.$slots,"language-selector",{},void 0,!0)])])],2)]))}}),[["__scopeId","data-v-a63a7e7f"]]);//! moment.js
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,iVBORw0KGgoAAAANSUhEUgAAAM0AAAA7CAYAAADYdw5tAAAQ9UlEQVR4nO1dzW7bSLb+DinJns69uOzF4CodIKMM0EkHdxFl0YAjqhFmN7s4TxD5CaJ+AstPEPsJojxBO08QGonkAFlYvRh42hlMGDQa7eAuWsHt221bYp1ZsKSQxSJFWf6Lmh+ghSiqeETVV3XOd04VCTk+KTiOYw0Gg3VmZsMwnr58+dI9b5v+aKDzNiDH8VCr1VaJqMXMHhG1Op3O0/O26Y+CnDSfMGq1WoOIHgOwmNkTQtx79eqVd952zTty0nzicBynMhgMngOoyEPrxWJxzXXd/nnaNc/ISTMHkMT5DkAVAJjZA/Cg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xGshJcwL48ccfX129evUDgCUAiymnuqVS6V7+FOZPG7l7doIYVQfgYx1cX75cIcRm/kjA+cC/AdgTzC0pucD7AAAAAElFTkSuQmCC'/%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
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 Lt;function d(){return Lt.apply(null,arguments)}function as(e){Lt=e}function R(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function re(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function w(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Ke(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 v(e){return e===void 0}function j(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function ye(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function It(e,t){var r=[],s,n=e.length;for(s=0;s<n;++s)r.push(t(e[s],s));return r}function X(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 cr(e,t,r,s,!0).utc()}function is(){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=is()),e._pf}var $e;Array.prototype.some?$e=Array.prototype.some:$e=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 Xe(e){var t=null,r=!1,s=e._d&&!isNaN(e._d.getTime());if(s&&(t=y(e),r=$e.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 Te(e){var t=V(NaN);return e!=null?X(y(t),e):y(t).userInvalidated=!0,t}var Ft=d.momentProperties=[],et=!1;function tt(e,t){var r,s,n,a=Ft.length;if(v(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),v(t._i)||(e._i=t._i),v(t._f)||(e._f=t._f),v(t._l)||(e._l=t._l),v(t._strict)||(e._strict=t._strict),v(t._tzm)||(e._tzm=t._tzm),v(t._isUTC)||(e._isUTC=t._isUTC),v(t._offset)||(e._offset=t._offset),v(t._pf)||(e._pf=y(t)),v(t._locale)||(e._locale=t._locale),a>0)for(r=0;r<a;r++)s=Ft[r],n=t[s],v(n)||(e[s]=n);return e}function _e(e){tt(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),et===!1&&(et=!0,d.updateOffset(this),et=!1)}function A(e){return e instanceof _e||e!=null&&e._isAMomentObject!=null}function Vt(e){d.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function C(e,t){var r=!0;return X(function(){if(d.deprecationHandler!=null&&d.deprecationHandler(null,e),r){var s=[],n,a,i,u=arguments.length;for(a=0;a<u;a++){if(n="",typeof arguments[a]=="object"){n+=`
7
- [`+a+"] ";for(i in arguments[0])w(arguments[0],i)&&(n+=i+": "+arguments[0][i]+", ");n=n.slice(0,-2)}else n=arguments[a];s.push(n)}Vt(e+`
6
+ var Vt;function d(){return Vt.apply(null,arguments)}function ls(e){Vt=e}function A(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function ne(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function w(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function et(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 v(e){return e===void 0}function j(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function we(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Ut(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 mr(e,t,r,s,!0).utc()}function us(){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=us()),e._pf}var tt;Array.prototype.some?tt=Array.prototype.some:tt=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 rt(e){var t=null,r=!1,s=e._d&&!isNaN(e._d.getTime());if(s&&(t=y(e),r=tt.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 Ne(e){var t=V(NaN);return e!=null?te(y(t),e):y(t).userInvalidated=!0,t}var Ht=d.momentProperties=[],st=!1;function nt(e,t){var r,s,n,a=Ht.length;if(v(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),v(t._i)||(e._i=t._i),v(t._f)||(e._f=t._f),v(t._l)||(e._l=t._l),v(t._strict)||(e._strict=t._strict),v(t._tzm)||(e._tzm=t._tzm),v(t._isUTC)||(e._isUTC=t._isUTC),v(t._offset)||(e._offset=t._offset),v(t._pf)||(e._pf=y(t)),v(t._locale)||(e._locale=t._locale),a>0)for(r=0;r<a;r++)s=Ht[r],n=t[s],v(n)||(e[s]=n);return e}function pe(e){nt(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),st===!1&&(st=!0,d.updateOffset(this),st=!1)}function L(e){return e instanceof pe||e!=null&&e._isAMomentObject!=null}function Gt(e){d.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function R(e,t){var r=!0;return te(function(){if(d.deprecationHandler!=null&&d.deprecationHandler(null,e),r){var s=[],n,a,i,u=arguments.length;for(a=0;a<u;a++){if(n="",typeof arguments[a]=="object"){n+=`
7
+ [`+a+"] ";for(i in arguments[0])w(arguments[0],i)&&(n+=i+": "+arguments[0][i]+", ");n=n.slice(0,-2)}else n=arguments[a];s.push(n)}Gt(e+`
8
8
  Arguments: `+Array.prototype.slice.call(s).join("")+`
9
- `+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var Ut={};function Ht(e,t){d.deprecationHandler!=null&&d.deprecationHandler(e,t),Ut[e]||(Vt(t),Ut[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 os(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 rt(e,t){var r=X({},e),s;for(s in t)w(t,s)&&(re(e[s])&&re(t[s])?(r[s]={},X(r[s],e[s]),X(r[s],t[s])):t[s]!=null?r[s]=t[s]:delete r[s]);for(s in e)w(e,s)&&!w(t,s)&&re(e[s])&&(r[s]=X({},r[s]));return r}function st(e){e!=null&&this.set(e)}var nt;Object.keys?nt=Object.keys:nt=function(e){var t,r=[];for(t in e)w(e,t)&&r.push(t);return r};var ls={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function us(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 at=/(\[[^\[]*\])|(\\)?([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,xe=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,it={},ie={};function h(e,t,r,s){var n=s;typeof s=="string"&&(n=function(){return this[s]()}),e&&(ie[e]=n),t&&(ie[t[0]]=function(){return H(n.apply(this,arguments),t[1],t[2])}),r&&(ie[r]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function ds(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function cs(e){var t=e.match(at),r,s;for(r=0,s=t.length;r<s;r++)ie[t[r]]?t[r]=ie[t[r]]:t[r]=ds(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 ve(e,t){return e.isValid()?(t=Gt(t,e.localeData()),it[t]=it[t]||cs(t),it[t](e)):e.localeData().invalidDate()}function Gt(e,t){var r=5;function s(n){return t.longDateFormat(n)||n}for(xe.lastIndex=0;r>=0&&xe.test(e);)e=e.replace(xe,s),xe.lastIndex=0,r-=1;return e}var fs={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 hs(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(at).map(function(s){return s==="MMMM"||s==="MM"||s==="DD"||s==="dddd"?s.slice(1):s}).join(""),this._longDateFormat[e])}var ms="Invalid date";function ys(){return this._invalidDate}var _s="%d",gs=/\d{1,2}/;function ws(e){return this._ordinal.replace("%d",e)}var ps={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 ks(e,t,r,s){var n=this._relativeTime[r];return U(n)?n(e,t,r,s):n.replace(/%d/i,e)}function Ss(e,t){var r=this._relativeTime[e>0?"future":"past"];return U(r)?r(t):r.replace(/%s/i,t)}var jt={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"?jt[e]||jt[e.toLowerCase()]:void 0}function ot(e){var t={},r,s;for(s in e)w(e,s)&&(r=W(s),r&&(t[r]=e[s]));return t}var Ms={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 Ds(e){var t=[],r;for(r in e)w(e,r)&&t.push({unit:r,priority:Ms[r]});return t.sort(function(s,n){return s.priority-n.priority}),t}var zt=/\d/,P=/\d\d/,Bt=/\d{3}/,lt=/\d{4}/,Ne=/[+-]?\d{6}/,S=/\d\d?/,Zt=/\d\d\d\d?/,qt=/\d\d\d\d\d\d?/,Pe=/\d{1,3}/,ut=/\d{1,4}/,Ce=/[+-]?\d{1,6}/,oe=/\d+/,We=/[+-]?\d+/,Ys=/Z|[+-]\d\d:?\d\d/gi,Ee=/Z|[+-]\d\d(?::?\d\d)?/gi,Os=/[+-]?\d+(\.\d{1,3})?/,ge=/[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,le=/^[1-9]\d?/,dt=/^([1-9]\d|\d)/,Re;Re={};function f(e,t,r){Re[e]=U(t)?t:function(s,n){return s&&r?r:t}}function bs(e,t){return w(Re,e)?Re[e](t._strict,t._locale):new RegExp(Ts(e))}function Ts(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 ct={};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++)ct[e[r]]=s}function we(e,t){k(e,function(r,s,n,a){n._w=n._w||{},t(r,n._w,n,a)})}function xs(e,t,r){t!=null&&w(ct,e)&&ct[e](t,r._a,r,e)}function Ae(e){return e%4===0&&e%100!==0||e%400===0}var T=0,B=1,G=2,b=3,L=4,Z=5,se=6,vs=7,Ns=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"),f("Y",We),f("YY",S,P),f("YYYY",ut,lt),f("YYYYY",Ce,Ne),f("YYYYYY",Ce,Ne),k(["YYYYY","YYYYYY"],T),k("YYYY",function(e,t){t[T]=e.length===2?d.parseTwoDigitYear(e):_(e)}),k("YY",function(e,t){t[T]=d.parseTwoDigitYear(e)}),k("Y",function(e,t){t[T]=parseInt(e,10)});function pe(e){return Ae(e)?366:365}d.parseTwoDigitYear=function(e){return _(e)+(_(e)>68?1900:2e3)};var Qt=ue("FullYear",!0);function Ps(){return Ae(this.year())}function ue(e,t){return function(r){return r!=null?(Jt(this,e,r),d.updateOffset(this,t),this):ke(this,e)}}function ke(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 Jt(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&&!Ae(a)?28:u,n?s.setUTCFullYear(a,i,u):s.setFullYear(a,i,u)}}function Cs(e){return e=W(e),U(this[e])?this[e]():this}function Ws(e,t){if(typeof e=="object"){e=ot(e);var r=Ds(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 Es(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 ft(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=Es(t,12);return e+=(t-r)/12,r===1?Ae(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)}),f("M",S,le),f("MM",S,P),f("MMM",function(e,t){return t.monthsShortRegex(e)}),f("MMMM",function(e,t){return t.monthsRegex(e)}),k(["M","MM"],function(e,t){t[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 Rs="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Kt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),$t=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,As=ge,Ls=ge;function Is(e,t){return e?R(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||$t).test(t)?"format":"standalone"][e.month()]:R(this._months)?this._months:this._months.standalone}function Fs(e,t){return e?R(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[$t.test(t)?"format":"standalone"][e.month()]:R(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Vs(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 Us(e,t,r){var s,n,a;if(this._monthsParseExact)return Vs.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 Xt(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,ft(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,s):e._d.setMonth(r,s),e}function er(e){return e!=null?(Xt(this,e),d.updateOffset(this,!0),this):ke(this,"Month")}function Hs(){return ft(this.year(),this.month())}function Gs(e){return this._monthsParseExact?(w(this,"_monthsRegex")||tr.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(w(this,"_monthsShortRegex")||(this._monthsShortRegex=As),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function js(e){return this._monthsParseExact?(w(this,"_monthsRegex")||tr.call(this),e?this._monthsStrictRegex:this._monthsRegex):(w(this,"_monthsRegex")||(this._monthsRegex=Ls),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function tr(){function e(c,m){return m.length-c.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 zs(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 Se(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 Le(e,t,r){var s=7+t-r,n=(7+Se(e,0,s).getUTCDay()-t)%7;return-n+s-1}function rr(e,t,r,s,n){var a=(7+r-s)%7,i=Le(e,s,n),u=1+7*(t-1)+a+i,c,m;return u<=0?(c=e-1,m=pe(c)+u):u>pe(e)?(c=e+1,m=u-pe(e)):(c=e,m=u),{year:c,dayOfYear:m}}function Me(e,t,r){var s=Le(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=Le(e,t,r),n=Le(e+1,t,r);return(pe(e)-s+n)/7}h("w",["ww",2],"wo","week"),h("W",["WW",2],"Wo","isoWeek"),f("w",S,le),f("ww",S,P),f("W",S,le),f("WW",S,P),we(["w","ww","W","WW"],function(e,t,r,s){t[s.substr(0,1)]=_(e)});function Bs(e){return Me(e,this._week.dow,this._week.doy).week}var Zs={dow:0,doy:6};function qs(){return this._week.dow}function Qs(){return this._week.doy}function Js(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Ks(e){var t=Me(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}h("d",0,"do","day"),h("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),h("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),h("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),h("e",0,0,"weekday"),h("E",0,0,"isoWeekday"),f("d",S),f("e",S),f("E",S),f("dd",function(e,t){return t.weekdaysMinRegex(e)}),f("ddd",function(e,t){return t.weekdaysShortRegex(e)}),f("dddd",function(e,t){return t.weekdaysRegex(e)}),we(["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}),we(["d","e","E"],function(e,t,r,s){t[s]=_(e)});function $s(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Xs(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ht(e,t){return e.slice(t,7).concat(e.slice(0,t))}var en="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),sr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),tn="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),rn=ge,sn=ge,nn=ge;function an(e,t){var r=R(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?ht(r,this._week.dow):e?r[e.day()]:r}function on(e){return e===!0?ht(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function ln(e){return e===!0?ht(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function un(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 dn(e,t,r){var s,n,a;if(this._weekdaysParseExact)return un.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 cn(e){if(!this.isValid())return e!=null?this:NaN;var t=ke(this,"Day");return e!=null?(e=$s(e,this.localeData()),this.add(e-t,"d")):t}function fn(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 hn(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Xs(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function mn(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||mt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(w(this,"_weekdaysRegex")||(this._weekdaysRegex=rn),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function yn(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||mt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(w(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=sn),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function _n(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||mt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(w(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nn),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function mt(){function e(Y,x){return x.length-Y.length}var t=[],r=[],s=[],n=[],a,i,u,c,m;for(a=0;a<7;a++)i=V([2e3,1]).day(a),u=z(this.weekdaysMin(i,"")),c=z(this.weekdaysShort(i,"")),m=z(this.weekdays(i,"")),t.push(u),r.push(c),s.push(m),n.push(u),n.push(c),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 yt(){return this.hours()%12||12}function gn(){return this.hours()||24}h("H",["HH",2],0,"hour"),h("h",["hh",2],0,yt),h("k",["kk",2],0,gn),h("hmm",0,0,function(){return""+yt.apply(this)+H(this.minutes(),2)}),h("hmmss",0,0,function(){return""+yt.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 nr(e,t){h(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}nr("a",!0),nr("A",!1);function ar(e,t){return t._meridiemParse}f("a",ar),f("A",ar),f("H",S,dt),f("h",S,le),f("k",S,le),f("HH",S,P),f("hh",S,P),f("kk",S,P),f("hmm",Zt),f("hmmss",qt),f("Hmm",Zt),f("Hmmss",qt),k(["H","HH"],b),k(["k","kk"],function(e,t,r){var s=_(e);t[b]=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[b]=_(e),y(r).bigHour=!0}),k("hmm",function(e,t,r){var s=e.length-2;t[b]=_(e.substr(0,s)),t[L]=_(e.substr(s)),y(r).bigHour=!0}),k("hmmss",function(e,t,r){var s=e.length-4,n=e.length-2;t[b]=_(e.substr(0,s)),t[L]=_(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[b]=_(e.substr(0,s)),t[L]=_(e.substr(s))}),k("Hmmss",function(e,t,r){var s=e.length-4,n=e.length-2;t[b]=_(e.substr(0,s)),t[L]=_(e.substr(s,2)),t[Z]=_(e.substr(n))});function wn(e){return(e+"").toLowerCase().charAt(0)==="p"}var pn=/[ap]\.?m?\.?/i,kn=ue("Hours",!0);function Sn(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var ir={calendar:ls,longDateFormat:fs,invalidDate:ms,ordinal:_s,dayOfMonthOrdinalParse:gs,relativeTime:ps,months:Rs,monthsShort:Kt,week:Zs,weekdays:en,weekdaysMin:tn,weekdaysShort:sr,meridiemParse:pn},D={},De={},Ye;function Mn(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 or(e){return e&&e.toLowerCase().replace("_","-")}function Dn(e){for(var t=0,r,s,n,a;t<e.length;){for(a=or(e[t]).split("-"),r=a.length,s=or(e[t+1]),s=s?s.split("-"):null;r>0;){if(n=Ie(a.slice(0,r).join("-")),n)return n;if(s&&s.length>=r&&Mn(a,s)>=r-1)break;r--}t++}return Ye}function Yn(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Ie(e){var t=null,r;if(D[e]===void 0&&typeof module<"u"&&module&&module.exports&&Yn(e))try{t=Ye._abbr,r=require,r("./locale/"+e),ee(t)}catch{D[e]=null}return D[e]}function ee(e,t){var r;return e&&(v(t)?r=Q(e):r=_t(e,t),r?Ye=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Ye._abbr}function _t(e,t){if(t!==null){var r,s=ir;if(t.abbr=e,D[e]!=null)Ht("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=D[e]._config;else if(t.parentLocale!=null)if(D[t.parentLocale]!=null)s=D[t.parentLocale]._config;else if(r=Ie(t.parentLocale),r!=null)s=r._config;else return De[t.parentLocale]||(De[t.parentLocale]=[]),De[t.parentLocale].push({name:e,config:t}),null;return D[e]=new st(rt(s,t)),De[e]&&De[e].forEach(function(n){_t(n.name,n.config)}),ee(e),D[e]}else return delete D[e],null}function On(e,t){if(t!=null){var r,s,n=ir;D[e]!=null&&D[e].parentLocale!=null?D[e].set(rt(D[e]._config,t)):(s=Ie(e),s!=null&&(n=s._config),t=rt(n,t),s==null&&(t.abbr=e),r=new st(t),r.parentLocale=D[e],D[e]=r),ee(e)}else D[e]!=null&&(D[e].parentLocale!=null?(D[e]=D[e].parentLocale,e===ee()&&ee(e)):D[e]!=null&&delete D[e]);return D[e]}function Q(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ye;if(!R(e)){if(t=Ie(e),t)return t;e=[e]}return Dn(e)}function bn(){return nt(D)}function gt(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]>ft(r[T],r[B])?G:r[b]<0||r[b]>24||r[b]===24&&(r[L]!==0||r[Z]!==0||r[se]!==0)?b:r[L]<0||r[L]>59?L:r[Z]<0||r[Z]>59?Z:r[se]<0||r[se]>999?se:-1,y(e)._overflowDayOfYear&&(t<T||t>G)&&(t=G),y(e)._overflowWeeks&&t===-1&&(t=vs),y(e)._overflowWeekday&&t===-1&&(t=Ns),y(e).overflow=t),e}var Tn=/^\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)?)?$/,xn=/^\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)?)?$/,vn=/Z|[+-]\d\d(?::?\d\d)?/,Fe=[["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]],wt=[["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/]],Nn=/^\/?Date\((-?\d+)/i,Pn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Cn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function lr(e){var t,r,s=e._i,n=Tn.exec(s)||xn.exec(s),a,i,u,c,m=Fe.length,Y=wt.length;if(n){for(y(e).iso=!0,t=0,r=m;t<r;t++)if(Fe[t][1].exec(n[1])){i=Fe[t][0],a=Fe[t][2]!==!1;break}if(i==null){e._isValid=!1;return}if(n[3]){for(t=0,r=Y;t<r;t++)if(wt[t][1].exec(n[3])){u=(n[2]||" ")+wt[t][0];break}if(u==null){e._isValid=!1;return}}if(!a&&u!=null){e._isValid=!1;return}if(n[4])if(vn.exec(n[4]))c="Z";else{e._isValid=!1;return}e._f=i+(u||"")+(c||""),kt(e)}else e._isValid=!1}function Wn(e,t,r,s,n,a){var i=[En(e),Kt.indexOf(t),parseInt(r,10),parseInt(s,10),parseInt(n,10)];return a&&i.push(parseInt(a,10)),i}function En(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Rn(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function An(e,t,r){if(e){var s=sr.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 Ln(e,t,r){if(e)return Cn[e];if(t)return 0;var s=parseInt(r,10),n=s%100,a=(s-n)/100;return a*60+n}function ur(e){var t=Pn.exec(Rn(e._i)),r;if(t){if(r=Wn(t[4],t[3],t[2],t[5],t[6],t[7]),!An(t[1],r,e))return;e._a=r,e._tzm=Ln(t[8],t[9],t[10]),e._d=Se.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),y(e).rfc2822=!0}else e._isValid=!1}function In(e){var t=Nn.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(lr(e),e._isValid===!1)delete e._isValid;else return;if(ur(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:d.createFromInputFallback(e)}d.createFromInputFallback=C("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 de(e,t,r){return e??t??r}function Fn(e){var t=new Date(d.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function pt(e){var t,r,s=[],n,a,i;if(!e._d){for(n=Fn(e),e._w&&e._a[G]==null&&e._a[B]==null&&Vn(e),e._dayOfYear!=null&&(i=de(e._a[T],n[T]),(e._dayOfYear>pe(i)||e._dayOfYear===0)&&(y(e)._overflowDayOfYear=!0),r=Se(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[b]===24&&e._a[L]===0&&e._a[Z]===0&&e._a[se]===0&&(e._nextDay=!0,e._a[b]=0),e._d=(e._useUTC?Se:zs).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[b]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==a&&(y(e).weekdayMismatch=!0)}}function Vn(e){var t,r,s,n,a,i,u,c,m;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(a=1,i=4,r=de(t.GG,e._a[T],Me(M(),1,4).year),s=de(t.W,1),n=de(t.E,1),(n<1||n>7)&&(c=!0)):(a=e._locale._week.dow,i=e._locale._week.doy,m=Me(M(),a,i),r=de(t.gg,e._a[T],m.year),s=de(t.w,m.week),t.d!=null?(n=t.d,(n<0||n>6)&&(c=!0)):t.e!=null?(n=t.e+a,(t.e<0||t.e>6)&&(c=!0)):n=a),s<1||s>q(r,a,i)?y(e)._overflowWeeks=!0:c!=null?y(e)._overflowWeekday=!0:(u=rr(r,s,n,a,i),e._a[T]=u.year,e._dayOfYear=u.dayOfYear)}d.ISO_8601=function(){},d.RFC_2822=function(){};function kt(e){if(e._f===d.ISO_8601){lr(e);return}if(e._f===d.RFC_2822){ur(e);return}e._a=[],y(e).empty=!0;var t=""+e._i,r,s,n,a,i,u=t.length,c=0,m,Y;for(n=Gt(e._f,e._locale).match(at)||[],Y=n.length,r=0;r<Y;r++)a=n[r],s=(t.match(bs(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),c+=s.length),ie[a]?(s?y(e).empty=!1:y(e).unusedTokens.push(a),xs(a,s,e)):e._strict&&!s&&y(e).unusedTokens.push(a);y(e).charsLeftOver=u-c,t.length>0&&y(e).unusedInput.push(t),e._a[b]<=12&&y(e).bigHour===!0&&e._a[b]>0&&(y(e).bigHour=void 0),y(e).parsedDateParts=e._a.slice(0),y(e).meridiem=e._meridiem,e._a[b]=Un(e._locale,e._a[b],e._meridiem),m=y(e).era,m!==null&&(e._a[T]=e._locale.erasConvertYear(m,e._a[T])),pt(e),gt(e)}function Un(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 Hn(e){var t,r,s,n,a,i,u=!1,c=e._f.length;if(c===0){y(e).invalidFormat=!0,e._d=new Date(NaN);return}for(n=0;n<c;n++)a=0,i=!1,t=tt({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[n],kt(t),Xe(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));X(e,r||t)}function Gn(e){if(!e._d){var t=ot(e._i),r=t.day===void 0?t.date:t.day;e._a=It([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(s){return s&&parseInt(s,10)}),pt(e)}}function jn(e){var t=new _e(gt(dr(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function dr(e){var t=e._i,r=e._f;return e._locale=e._locale||Q(e._l),t===null||r===void 0&&t===""?Te({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),A(t)?new _e(gt(t)):(ye(t)?e._d=t:R(r)?Hn(e):r?kt(e):zn(e),Xe(e)||(e._d=null),e))}function zn(e){var t=e._i;v(t)?e._d=new Date(d.now()):ye(t)?e._d=new Date(t.valueOf()):typeof t=="string"?In(e):R(t)?(e._a=It(t.slice(0),function(r){return parseInt(r,10)}),pt(e)):re(t)?Gn(e):j(t)?e._d=new Date(t):d.createFromInputFallback(e)}function cr(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),(re(e)&&Ke(e)||R(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,jn(a)}function M(e,t,r,s){return cr(e,t,r,s,!1)}var Bn=C("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:Te()}),Zn=C("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:Te()});function fr(e,t){var r,s;if(t.length===1&&R(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 qn(){var e=[].slice.call(arguments,0);return fr("isBefore",e)}function Qn(){var e=[].slice.call(arguments,0);return fr("isAfter",e)}var Jn=function(){return Date.now?Date.now():+new Date},Oe=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Kn(e){var t,r=!1,s,n=Oe.length;for(t in e)if(w(e,t)&&!(O.call(Oe,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(s=0;s<n;++s)if(e[Oe[s]]){if(r)return!1;parseFloat(e[Oe[s]])!==_(e[Oe[s]])&&(r=!0)}return!0}function $n(){return this._isValid}function Xn(){return I(NaN)}function Ve(e){var t=ot(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,c=t.minute||0,m=t.second||0,Y=t.millisecond||0;this._isValid=Kn(t),this._milliseconds=+Y+m*1e3+c*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 Ue(e){return e instanceof Ve}function St(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function ea(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 hr(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)})}hr("Z",":"),hr("ZZ",""),f("Z",Ee),f("ZZ",Ee),k(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Mt(Ee,e)});var ta=/([\+\-]|\d\d)/gi;function Mt(e,t){var r=(t||"").match(e),s,n,a;return r===null?null:(s=r[r.length-1]||[],n=(s+"").match(ta)||["-",0,0],a=+(n[1]*60)+_(n[2]),a===0?0:n[0]==="+"?a:-a)}function Dt(e,t){var r,s;return t._isUTC?(r=t.clone(),s=(A(e)||ye(e)?e.valueOf():M(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+s),d.updateOffset(r,!1),r):M(e).local()}function Yt(e){return-Math.round(e._d.getTimezoneOffset())}d.updateOffset=function(){};function ra(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=Mt(Ee,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(n=Yt(this)),this._offset=e,this._isUTC=!0,n!=null&&this.add(n,"m"),s!==e&&(!t||this._changeInProgress?gr(this,I(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,d.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?s:Yt(this)}function sa(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function na(e){return this.utcOffset(0,e)}function aa(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Yt(this),"m")),this}function ia(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Mt(Ys,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function oa(e){return this.isValid()?(e=e?M(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function la(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function ua(){if(!v(this._isDSTShifted))return this._isDSTShifted;var e={},t;return tt(e,this),e=dr(e),e._a?(t=e._isUTC?V(e._a):M(e._a),this._isDSTShifted=this.isValid()&&ea(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function da(){return this.isValid()?!this._isUTC:!1}function ca(){return this.isValid()?this._isUTC:!1}function mr(){return this.isValid()?this._isUTC&&this._offset===0:!1}var fa=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,ha=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function I(e,t){var r=e,s=null,n,a,i;return Ue(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:j(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(s=fa.exec(e))?(n=s[1]==="-"?-1:1,r={y:0,d:_(s[G])*n,h:_(s[b])*n,m:_(s[L])*n,s:_(s[Z])*n,ms:_(St(s[se]*1e3))*n}):(s=ha.exec(e))?(n=s[1]==="-"?-1:1,r={y:ne(s[2],n),M:ne(s[3],n),w:ne(s[4],n),d:ne(s[5],n),h:ne(s[6],n),m:ne(s[7],n),s:ne(s[8],n)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(i=ma(M(r.from),M(r.to)),r={},r.ms=i.milliseconds,r.M=i.months),a=new Ve(r),Ue(e)&&w(e,"_locale")&&(a._locale=e._locale),Ue(e)&&w(e,"_isValid")&&(a._isValid=e._isValid),a}I.fn=Ve.prototype,I.invalid=Xn;function ne(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function yr(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 ma(e,t){var r;return e.isValid()&&t.isValid()?(t=Dt(t,e),e.isBefore(t)?r=yr(e,t):(r=yr(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function _r(e,t){return function(r,s){var n,a;return s!==null&&!isNaN(+s)&&(Ht(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=I(r,s),gr(this,n,e),this}}function gr(e,t,r,s){var n=t._milliseconds,a=St(t._days),i=St(t._months);e.isValid()&&(s=s??!0,i&&Xt(e,ke(e,"Month")+i*r),a&&Jt(e,"Date",ke(e,"Date")+a*r),n&&e._d.setTime(e._d.valueOf()+n*r),s&&d.updateOffset(e,a||i))}var ya=_r(1,"add"),_a=_r(-1,"subtract");function wr(e){return typeof e=="string"||e instanceof String}function ga(e){return A(e)||ye(e)||wr(e)||j(e)||pa(e)||wa(e)||e===null||e===void 0}function wa(e){var t=re(e)&&!Ke(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 pa(e){var t=R(e),r=!1;return t&&(r=e.filter(function(s){return!j(s)&&wr(e)}).length===0),t&&r}function ka(e){var t=re(e)&&!Ke(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 Sa(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 Ma(e,t){arguments.length===1&&(arguments[0]?ga(arguments[0])?(e=arguments[0],t=void 0):ka(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||M(),s=Dt(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 Da(){return new _e(this)}function Ya(e,t){var r=A(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 Oa(e,t){var r=A(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 ba(e,t,r,s){var n=A(e)?e:M(e),a=A(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 Ta(e,t){var r=A(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 xa(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function va(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Na(e,t,r){var s,n,a;if(!this.isValid())return NaN;if(s=Dt(e,this),!s.isValid())return NaN;switch(n=(s.utcOffset()-this.utcOffset())*6e4,t=W(t),t){case"year":a=He(this,s)/12;break;case"month":a=He(this,s);break;case"quarter":a=He(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 He(e,t){if(e.date()<t.date())return-He(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 Pa(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Ca(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?ve(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",ve(r,"Z")):ve(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Wa(){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 Ea(e){e||(e=this.isUtc()?d.defaultFormatUtc:d.defaultFormat);var t=ve(this,e);return this.localeData().postformat(t)}function Ra(e,t){return this.isValid()&&(A(e)&&e.isValid()||M(e).isValid())?I({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Aa(e){return this.from(M(),e)}function La(e,t){return this.isValid()&&(A(e)&&e.isValid()||M(e).isValid())?I({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Ia(e){return this.to(M(),e)}function pr(e){var t;return e===void 0?this._locale._abbr:(t=Q(e),t!=null&&(this._locale=t),this)}var kr=C("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 Sr(){return this._locale}var Ge=1e3,ce=60*Ge,je=60*ce,Mr=(365*400+97)*24*je;function fe(e,t){return(e%t+t)%t}function Dr(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-Mr:new Date(e,t,r).valueOf()}function Yr(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-Mr:Date.UTC(e,t,r)}function Fa(e){var t,r;if(e=W(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Yr:Dr,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-=fe(t+(this._isUTC?0:this.utcOffset()*ce),je);break;case"minute":t=this._d.valueOf(),t-=fe(t,ce);break;case"second":t=this._d.valueOf(),t-=fe(t,Ge);break}return this._d.setTime(t),d.updateOffset(this,!0),this}function Va(e){var t,r;if(e=W(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Yr:Dr,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+=je-fe(t+(this._isUTC?0:this.utcOffset()*ce),je)-1;break;case"minute":t=this._d.valueOf(),t+=ce-fe(t,ce)-1;break;case"second":t=this._d.valueOf(),t+=Ge-fe(t,Ge)-1;break}return this._d.setTime(t),d.updateOffset(this,!0),this}function Ua(){return this._d.valueOf()-(this._offset||0)*6e4}function Ha(){return Math.floor(this.valueOf()/1e3)}function Ga(){return new Date(this.valueOf())}function ja(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function za(){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 Ba(){return this.isValid()?this.toISOString():null}function Za(){return Xe(this)}function qa(){return X({},y(this))}function Qa(){return y(this).overflow}function Ja(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}h("N",0,0,"eraAbbr"),h("NN",0,0,"eraAbbr"),h("NNN",0,0,"eraAbbr"),h("NNNN",0,0,"eraName"),h("NNNNN",0,0,"eraNarrow"),h("y",["y",1],"yo","eraYear"),h("y",["yy",2],0,"eraYear"),h("y",["yyy",3],0,"eraYear"),h("y",["yyyy",4],0,"eraYear"),f("N",Ot),f("NN",Ot),f("NNN",Ot),f("NNNN",oi),f("NNNNN",li),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}),f("y",oe),f("yy",oe),f("yyy",oe),f("yyyy",oe),f("yo",ui),k(["y","yy","yyy","yyyy"],T),k(["yo"],function(e,t,r,s){var n;r._locale._eraYearOrdinalRegex&&(n=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[T]=r._locale.eraYearOrdinalParse(e,n):t[T]=parseInt(e,10)});function Ka(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 $a(e,t,r){var s,n,a=this.eras(),i,u,c;for(e=e.toUpperCase(),s=0,n=a.length;s<n;++s)if(i=a[s].name.toUpperCase(),u=a[s].abbr.toUpperCase(),c=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(c===e)return a[s];break}else if([i,u,c].indexOf(e)>=0)return a[s]}function Xa(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 ei(){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 ti(){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 ri(){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 si(){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 ni(e){return w(this,"_erasNameRegex")||bt.call(this),e?this._erasNameRegex:this._erasRegex}function ai(e){return w(this,"_erasAbbrRegex")||bt.call(this),e?this._erasAbbrRegex:this._erasRegex}function ii(e){return w(this,"_erasNarrowRegex")||bt.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ot(e,t){return t.erasAbbrRegex(e)}function oi(e,t){return t.erasNameRegex(e)}function li(e,t){return t.erasNarrowRegex(e)}function ui(e,t){return t._eraYearOrdinalRegex||oe}function bt(){var e=[],t=[],r=[],s=[],n,a,i,u,c,m=this.eras();for(n=0,a=m.length;n<a;++n)i=z(m[n].name),u=z(m[n].abbr),c=z(m[n].narrow),t.push(i),e.push(u),r.push(c),s.push(i),s.push(u),s.push(c);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 ze(e,t){h(0,[e,e.length],0,t)}ze("gggg","weekYear"),ze("ggggg","weekYear"),ze("GGGG","isoWeekYear"),ze("GGGGG","isoWeekYear"),f("G",We),f("g",We),f("GG",S,P),f("gg",S,P),f("GGGG",ut,lt),f("gggg",ut,lt),f("GGGGG",Ce,Ne),f("ggggg",Ce,Ne),we(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,s){t[s.substr(0,2)]=_(e)}),we(["gg","GG"],function(e,t,r,s){t[s]=d.parseTwoDigitYear(e)});function di(e){return Or.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function ci(e){return Or.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function fi(){return q(this.year(),1,4)}function hi(){return q(this.isoWeekYear(),1,4)}function mi(){var e=this.localeData()._week;return q(this.year(),e.dow,e.doy)}function yi(){var e=this.localeData()._week;return q(this.weekYear(),e.dow,e.doy)}function Or(e,t,r,s,n){var a;return e==null?Me(this,s,n).year:(a=q(e,s,n),t>a&&(t=a),_i.call(this,e,t,r,s,n))}function _i(e,t,r,s,n){var a=rr(e,t,r,s,n),i=Se(a.year,0,a.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}h("Q",0,"Qo","quarter"),f("Q",zt),k("Q",function(e,t){t[B]=(_(e)-1)*3});function gi(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}h("D",["DD",2],"Do","date"),f("D",S,le),f("DD",S,P),f("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 br=ue("Date",!0);h("DDD",["DDDD",3],"DDDo","dayOfYear"),f("DDD",Pe),f("DDDD",Bt),k(["DDD","DDDD"],function(e,t,r){r._dayOfYear=_(e)});function wi(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}h("m",["mm",2],0,"minute"),f("m",S,dt),f("mm",S,P),k(["m","mm"],L);var pi=ue("Minutes",!1);h("s",["ss",2],0,"second"),f("s",S,dt),f("ss",S,P),k(["s","ss"],Z);var ki=ue("Seconds",!1);h("S",0,0,function(){return~~(this.millisecond()/100)}),h(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),h(0,["SSS",3],0,"millisecond"),h(0,["SSSS",4],0,function(){return this.millisecond()*10}),h(0,["SSSSS",5],0,function(){return this.millisecond()*100}),h(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),h(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),h(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),h(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),f("S",Pe,zt),f("SS",Pe,P),f("SSS",Pe,Bt);var te,Tr;for(te="SSSS";te.length<=9;te+="S")f(te,oe);function Si(e,t){t[se]=_(("0."+e)*1e3)}for(te="S";te.length<=9;te+="S")k(te,Si);Tr=ue("Milliseconds",!1),h("z",0,0,"zoneAbbr"),h("zz",0,0,"zoneName");function Mi(){return this._isUTC?"UTC":""}function Di(){return this._isUTC?"Coordinated Universal Time":""}var l=_e.prototype;l.add=ya,l.calendar=Ma,l.clone=Da,l.diff=Na,l.endOf=Va,l.format=Ea,l.from=Ra,l.fromNow=Aa,l.to=La,l.toNow=Ia,l.get=Cs,l.invalidAt=Qa,l.isAfter=Ya,l.isBefore=Oa,l.isBetween=ba,l.isSame=Ta,l.isSameOrAfter=xa,l.isSameOrBefore=va,l.isValid=Za,l.lang=kr,l.locale=pr,l.localeData=Sr,l.max=Zn,l.min=Bn,l.parsingFlags=qa,l.set=Ws,l.startOf=Fa,l.subtract=_a,l.toArray=ja,l.toObject=za,l.toDate=Ga,l.toISOString=Ca,l.inspect=Wa,typeof Symbol<"u"&&Symbol.for!=null&&(l[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),l.toJSON=Ba,l.toString=Pa,l.unix=Ha,l.valueOf=Ua,l.creationData=Ja,l.eraName=ei,l.eraNarrow=ti,l.eraAbbr=ri,l.eraYear=si,l.year=Qt,l.isLeapYear=Ps,l.weekYear=di,l.isoWeekYear=ci,l.quarter=l.quarters=gi,l.month=er,l.daysInMonth=Hs,l.week=l.weeks=Js,l.isoWeek=l.isoWeeks=Ks,l.weeksInYear=mi,l.weeksInWeekYear=yi,l.isoWeeksInYear=fi,l.isoWeeksInISOWeekYear=hi,l.date=br,l.day=l.days=cn,l.weekday=fn,l.isoWeekday=hn,l.dayOfYear=wi,l.hour=l.hours=kn,l.minute=l.minutes=pi,l.second=l.seconds=ki,l.millisecond=l.milliseconds=Tr,l.utcOffset=ra,l.utc=na,l.local=aa,l.parseZone=ia,l.hasAlignedHourOffset=oa,l.isDST=la,l.isLocal=da,l.isUtcOffset=ca,l.isUtc=mr,l.isUTC=mr,l.zoneAbbr=Mi,l.zoneName=Di,l.dates=C("dates accessor is deprecated. Use date instead.",br),l.months=C("months accessor is deprecated. Use month instead",er),l.years=C("years accessor is deprecated. Use year instead",Qt),l.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",sa),l.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",ua);function Yi(e){return M(e*1e3)}function Oi(){return M.apply(null,arguments).parseZone()}function xr(e){return e}var p=st.prototype;p.calendar=us,p.longDateFormat=hs,p.invalidDate=ys,p.ordinal=ws,p.preparse=xr,p.postformat=xr,p.relativeTime=ks,p.pastFuture=Ss,p.set=os,p.eras=Ka,p.erasParse=$a,p.erasConvertYear=Xa,p.erasAbbrRegex=ai,p.erasNameRegex=ni,p.erasNarrowRegex=ii,p.months=Is,p.monthsShort=Fs,p.monthsParse=Us,p.monthsRegex=js,p.monthsShortRegex=Gs,p.week=Bs,p.firstDayOfYear=Qs,p.firstDayOfWeek=qs,p.weekdays=an,p.weekdaysMin=ln,p.weekdaysShort=on,p.weekdaysParse=dn,p.weekdaysRegex=mn,p.weekdaysShortRegex=yn,p.weekdaysMinRegex=_n,p.isPM=wn,p.meridiem=Sn;function Be(e,t,r,s){var n=Q(),a=V().set(s,t);return n[r](a,e)}function vr(e,t,r){if(j(e)&&(t=e,e=void 0),e=e||"",t!=null)return Be(e,t,r,"month");var s,n=[];for(s=0;s<12;s++)n[s]=Be(e,s,r,"month");return n}function Tt(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 Be(t,(r+a)%7,s,"day");for(i=0;i<7;i++)u[i]=Be(t,(i+a)%7,s,"day");return u}function bi(e,t){return vr(e,t,"months")}function Ti(e,t){return vr(e,t,"monthsShort")}function xi(e,t,r){return Tt(e,t,r,"weekdays")}function vi(e,t,r){return Tt(e,t,r,"weekdaysShort")}function Ni(e,t,r){return Tt(e,t,r,"weekdaysMin")}ee("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=_(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}}),d.lang=C("moment.lang is deprecated. Use moment.locale instead.",ee),d.langData=C("moment.langData is deprecated. Use moment.localeData instead.",Q);var J=Math.abs;function Pi(){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 Nr(e,t,r,s){var n=I(t,r);return e._milliseconds+=s*n._milliseconds,e._days+=s*n._days,e._months+=s*n._months,e._bubble()}function Ci(e,t){return Nr(this,e,t,1)}function Wi(e,t){return Nr(this,e,t,-1)}function Pr(e){return e<0?Math.floor(e):Math.ceil(e)}function Ei(){var e=this._milliseconds,t=this._days,r=this._months,s=this._data,n,a,i,u,c;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=Pr(xt(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),c=E(Cr(t)),r+=c,t-=Pr(xt(c)),u=E(r/12),r%=12,s.days=t,s.months=r,s.years=u,this}function Cr(e){return e*4800/146097}function xt(e){return e*146097/4800}function Ri(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+Cr(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(xt(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 Wr=K("ms"),Ai=K("s"),Li=K("m"),Ii=K("h"),Fi=K("d"),Vi=K("w"),Ui=K("M"),Hi=K("Q"),Gi=K("y"),ji=Wr;function zi(){return I(this)}function Bi(e){return e=W(e),this.isValid()?this[e+"s"]():NaN}function ae(e){return function(){return this.isValid()?this._data[e]:NaN}}var Zi=ae("milliseconds"),qi=ae("seconds"),Qi=ae("minutes"),Ji=ae("hours"),Ki=ae("days"),$i=ae("months"),Xi=ae("years");function eo(){return E(this.days()/7)}var $=Math.round,he={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function to(e,t,r,s,n){return n.relativeTime(t||1,!!r,e,s)}function ro(e,t,r,s){var n=I(e).abs(),a=$(n.as("s")),i=$(n.as("m")),u=$(n.as("h")),c=$(n.as("d")),m=$(n.as("M")),Y=$(n.as("w")),x=$(n.as("y")),F=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]||c<=1&&["d"]||c<r.d&&["dd",c];return r.w!=null&&(F=F||Y<=1&&["w"]||Y<r.w&&["ww",Y]),F=F||m<=1&&["M"]||m<r.M&&["MM",m]||x<=1&&["y"]||["yy",x],F[2]=t,F[3]=+e>0,F[4]=s,to.apply(null,F)}function so(e){return e===void 0?$:typeof e=="function"?($=e,!0):!1}function no(e,t){return he[e]===void 0?!1:t===void 0?he[e]:(he[e]=t,e==="s"&&(he.ss=t-1),!0)}function ao(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,s=he,n,a;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(s=Object.assign({},he,t),t.s!=null&&t.ss==null&&(s.ss=t.s-1)),n=this.localeData(),a=ro(this,!r,s,n),r&&(a=n.pastFuture(+this,a)),n.postformat(a)}var vt=Math.abs;function me(e){return(e>0)-(e<0)||+e}function Ze(){if(!this.isValid())return this.localeData().invalidDate();var e=vt(this._milliseconds)/1e3,t=vt(this._days),r=vt(this._months),s,n,a,i,u=this.asSeconds(),c,m,Y,x;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+$/,""):"",c=u<0?"-":"",m=me(this._months)!==me(u)?"-":"",Y=me(this._days)!==me(u)?"-":"",x=me(this._milliseconds)!==me(u)?"-":"",c+"P"+(a?m+a+"Y":"")+(r?m+r+"M":"")+(t?Y+t+"D":"")+(n||s||e?"T":"")+(n?x+n+"H":"")+(s?x+s+"M":"")+(e?x+i+"S":"")):"P0D"}var g=Ve.prototype;g.isValid=$n,g.abs=Pi,g.add=Ci,g.subtract=Wi,g.as=Ri,g.asMilliseconds=Wr,g.asSeconds=Ai,g.asMinutes=Li,g.asHours=Ii,g.asDays=Fi,g.asWeeks=Vi,g.asMonths=Ui,g.asQuarters=Hi,g.asYears=Gi,g.valueOf=ji,g._bubble=Ei,g.clone=zi,g.get=Bi,g.milliseconds=Zi,g.seconds=qi,g.minutes=Qi,g.hours=Ji,g.days=Ki,g.weeks=eo,g.months=$i,g.years=Xi,g.humanize=ao,g.toISOString=Ze,g.toString=Ze,g.toJSON=Ze,g.locale=pr,g.localeData=Sr,g.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ze),g.lang=kr,h("X",0,0,"unix"),h("x",0,0,"valueOf"),f("x",We),f("X",Os),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",as(M),d.fn=l,d.min=qn,d.max=Qn,d.now=Jn,d.utc=V,d.unix=Yi,d.months=bi,d.isDate=ye,d.locale=ee,d.invalid=Te,d.duration=I,d.isMoment=A,d.weekdays=xi,d.parseZone=Oi,d.localeData=Q,d.isDuration=Ue,d.monthsShort=Ti,d.weekdaysMin=Ni,d.defineLocale=_t,d.updateLocale=On,d.locales=bn,d.weekdaysShort=vi,d.normalizeUnits=W,d.relativeTimeRounding=so,d.relativeTimeThreshold=no,d.calendarFormat=Sa,d.prototype=l,d.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const io={class:"d-flex align-items-center justify-content-center bg-white shadow-sm py-3"},Er=o.defineComponent({__name:"Footer",props:{copyrightText:{type:String,required:!0}},setup(e){const t=e;return(r,s)=>(o.openBlock(),o.createElementBlock("footer",io,o.toDisplayString(t.copyrightText)+" "+o.toDisplayString(o.unref(d)().year()),1))}}),oo=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(At,{"is-authenticated":!1,"login-text":r.loginText,"raw-dropdown-links":[],"brand-text":r.brandText},{logo:o.withCtx(()=>[o.createVNode(Je)]),"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(Er,{"copyright-text":r.copyrightText},null,8,["copyright-text"])],64))}}),lo={__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))}},uo={class:"container","data-test":"SsoLoginPending"},co={class:"row justify-content-center"},fo={class:"col-md-8"},ho={class:"card"},mo={class:"card-header"},yo={class:"card-body"},_o={class:"login-spinner text-center",role:"status","aria-live":"polite"},go={class:"visually-hidden","data-test":"SsoLoginPending-status"},Rr=be(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",uo,[o.createElementVNode("div",co,[o.createElementVNode("div",fo,[o.createElementVNode("div",ho,[o.createElementVNode("div",mo,o.toDisplayString(r.title),1),o.createElementVNode("div",yo,[o.createElementVNode("div",_o,[o.createVNode(lo),o.createElementVNode("span",go,o.toDisplayString(r.statusText),1)])])])])])]))}}),[["__scopeId","data-v-6eb41b83"]]),Ar="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";function Lr(){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 Ir(e){const t=Lr(),r=new Uint8Array(e);t.getRandomValues(r);let s="";return r.forEach(n=>{s+=Ar[n%Ar.length]}),s}function wo(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 po(e=64){if(!Number.isInteger(e)||e<43||e>128)throw new Error("PKCE code_verifier length must be between 43 and 128.");return Ir(e)}async function ko(e){const t=Lr(),s=new TextEncoder().encode(e),n=await t.subtle.digest("SHA-256",s);return wo(n)}async function So(e=64){const t=po(e),r=await ko(t);return{codeVerifier:t,codeChallenge:r}}function Mo(e=32){if(!Number.isInteger(e)||e<16||e>128)throw new Error("OAuth state length must be between 16 and 128.");return Ir(e)}function qe(e){return Number.isInteger(e)&&Number(e)>=400&&Number(e)<600}function Nt(e,t=new Set){if(e==null)return;if(typeof e=="number")return qe(e)?e:void 0;if(typeof e!="object"||t.has(e))return;if(t.add(e),typeof Response<"u"&&e instanceof Response)return qe(e.status)?e.status:void 0;const r=e;if(qe(r.status))return r.status;if(qe(r.statusCode))return r.statusCode;const s=Nt(r.response,t);return s!==void 0?s:Nt(r.cause,t)}function Fr(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 Pt(e,t=500){return Nt(e)??t}const Do="Web Crypto API недоступен. Используйте HTTPS или обновите браузер.",Yo="NUXT_PUBLIC_ORIGIN не совпадает с адресом вкладки. Откройте приложение по origin из конфига.",Ct="r3ui-sso-start-lock",Wt="r3ui-sso-auth-url";let Qe=!1;function Oo(){try{return sessionStorage.getItem(Ct)==="1"}catch{return!1}}function bo(){try{const e=sessionStorage.getItem(Wt);return typeof e=="string"&&e.length>0?e:null}catch{return null}}function Vr(){try{sessionStorage.setItem(Ct,"1")}catch{}}function To(e){try{sessionStorage.setItem(Wt,e)}catch{}}function Et(){Qe=!1;try{sessionStorage.removeItem(Ct),sessionStorage.removeItem(Wt)}catch{}}async function Ur(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??(c=>{window.location.href=c}),s={maxAge:300,sameSite:"lax",secure:(e.isSecure??(()=>window.location.protocol==="https:"))(),path:"/"},n=()=>{const c=e.useCookie("pkce_state",s).value;return typeof c=="string"&&c.length>0?c:null},a=()=>{const c=bo();return!n()||!c?!1:(Qe=!0,Vr(),t(c),!0)};if(Qe)return;if(Oo()){if(a())return;Et()}e.setLoading(!0);const i=e.generatePkcePair??So,u=e.generateState??Mo;try{const{authApiUrl:c,ssoClientId:m,origin:Y}=e.getPublicConfig();if(!c||!m)throw new Error("Не настроены CLIENT_ID или NUXT_AUTH_API_URL");if(typeof Y!="string"||Y!==window.location.origin){e.setLoading(!1),e.showError({statusCode:400,statusMessage:Yo});return}if(a()){e.setLoading(!1);return}Qe=!0,Vr();let x,F,Rt;try{({codeVerifier:x,codeChallenge:F}=await i()),Rt=u()}catch{Et(),e.setLoading(!1),e.showError({statusCode:500,statusMessage:Do});return}e.useCookie("pkce_verifier",s).value=x,e.useCookie("pkce_state",s).value=Rt;const vo=`${Y}/api/auth/callback`,Hr=`${c}/oauth/authorize?`+new URLSearchParams({client_id:m,redirect_uri:vo,response_type:"code",code_challenge:F,code_challenge_method:"S256",state:Rt});To(Hr),t(Hr)}catch(c){Et(),e.setLoading(!1);const m=Pt(c,500),Y=c instanceof Error&&c.message.trim()?c.message:Fr(m);e.showError({statusCode:m,statusMessage:Y,cause:c})}}const xo=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 обязателен");return Ur({setLoading:()=>{},getPublicConfig:t.getPublicConfig,useCookie:t.useCookie,showError:t.showError}).catch(r=>{t.showError({statusCode:Pt(r,500),statusMessage:r instanceof Error&&r.message.trim()?r.message:Fr(Pt(r,500)),cause:r})}),(r,s)=>(o.openBlock(),o.createBlock(Rr,{title:r.title,"status-text":r.statusText},null,8,["title","status-text"]))}});N.Footer=Er,N.Header=At,N.LoginLayoutFrame=oo,N.Logo=Je,N.SsoLoginPending=Rr,N.SsoLoginScreen=xo,N.signInWithSSO=Ur,Object.defineProperty(N,Symbol.toStringTag,{value:"Module"})}));
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",ls(M),d.fn=l,d.min=Kn,d.max=Xn,d.now=$n,d.utc=V,d.unix=Ti,d.months=vi,d.isDate=we,d.locale=re,d.invalid=Ne,d.duration=F,d.isMoment=L,d.weekdays=Pi,d.parseZone=xi,d.localeData=Q,d.isDuration=je,d.monthsShort=Ni,d.weekdaysMin=Ri,d.defineLocale=pt,d.updateLocale=xn,d.locales=vn,d.weekdaysShort=Ci,d.normalizeUnits=W,d.relativeTimeRounding=io,d.relativeTimeThreshold=oo,d.calendarFormat=Ya,d.prototype=l,d.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const uo={class:"d-flex align-items-center justify-content-center bg-white shadow-sm py-3"},Lr=o.defineComponent({__name:"Footer",props:{copyrightText:{type:String,required:!0}},setup(e){const t=e;return(r,s)=>(o.openBlock(),o.createElementBlock("footer",uo,o.toDisplayString(t.copyrightText)+" "+o.toDisplayString(o.unref(d)().year()),1))}}),co=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(Ft,{"is-authenticated":!1,"login-text":r.loginText,"raw-dropdown-links":[],"brand-text":r.brandText},{logo:o.withCtx(()=>[o.createVNode($e)]),"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(Lr,{"copyright-text":r.copyrightText},null,8,["copyright-text"])],64))}}),fo={__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))}},ho={class:"container","data-test":"SsoLoginPending"},mo={class:"row justify-content-center"},yo={class:"col-md-8"},_o={class:"card"},go={class:"card-header"},wo={class:"card-body"},po={class:"login-spinner text-center",role:"status","aria-live":"polite"},ko={class:"visually-hidden","data-test":"SsoLoginPending-status"},Ir=ve(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",ho,[o.createElementVNode("div",mo,[o.createElementVNode("div",yo,[o.createElementVNode("div",_o,[o.createElementVNode("div",go,o.toDisplayString(r.title),1),o.createElementVNode("div",wo,[o.createElementVNode("div",po,[o.createVNode(fo),o.createElementVNode("span",ko,o.toDisplayString(r.statusText),1)])])])])])]))}}),[["__scopeId","data-v-6eb41b83"]]),Fr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";function Vr(){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 Ur(e){const t=Vr(),r=new Uint8Array(e);t.getRandomValues(r);let s="";return r.forEach(n=>{s+=Fr[n%Fr.length]}),s}function So(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 Mo(e=64){if(!Number.isInteger(e)||e<43||e>128)throw new Error("PKCE code_verifier length must be between 43 and 128.");return Ur(e)}async function Do(e){const t=Vr(),s=new TextEncoder().encode(e),n=await t.subtle.digest("SHA-256",s);return So(n)}async function Yo(e=64){const t=Mo(e),r=await Do(t);return{codeVerifier:t,codeChallenge:r}}function bo(e=32){if(!Number.isInteger(e)||e<16||e>128)throw new Error("OAuth state length must be between 16 and 128.");return Ur(e)}function Ke(e){return Number.isInteger(e)&&Number(e)>=400&&Number(e)<600}function Rt(e,t=new Set){if(e==null)return;if(typeof e=="number")return Ke(e)?e:void 0;if(typeof e!="object"||t.has(e))return;if(t.add(e),typeof Response<"u"&&e instanceof Response)return Ke(e.status)?e.status:void 0;const r=e;if(Ke(r.status))return r.status;if(Ke(r.statusCode))return r.statusCode;const s=Rt(r.response,t);return s!==void 0?s:Rt(r.cause,t)}function Hr(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 Wt(e,t=500){return Rt(e)??t}const Oo="Web Crypto API недоступен. Используйте HTTPS или обновите браузер.",To="NUXT_PUBLIC_ORIGIN не совпадает с адресом вкладки. Откройте приложение по origin из конфига.",Et="r3ui-sso-start-lock",At="r3ui-sso-auth-url";let Xe=!1;function xo(){try{return sessionStorage.getItem(Et)==="1"}catch{return!1}}function vo(){try{const e=sessionStorage.getItem(At);return typeof e=="string"&&e.length>0?e:null}catch{return null}}function Gr(){try{sessionStorage.setItem(Et,"1")}catch{}}function No(e){try{sessionStorage.setItem(At,e)}catch{}}function Lt(){Xe=!1;try{sessionStorage.removeItem(Et),sessionStorage.removeItem(At)}catch{}}async function jr(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??(f=>{window.location.href=f}),s={maxAge:300,sameSite:"lax",secure:(e.isSecure??(()=>window.location.protocol==="https:"))(),path:"/"},n=()=>{const f=e.useCookie("pkce_state",s).value;return typeof f=="string"&&f.length>0?f:null},a=()=>{const f=vo();return!n()||!f?!1:(Xe=!0,Gr(),t(f),!0)};if(Xe)return;if(xo()){if(a())return;Lt()}e.setLoading(!0);const i=e.generatePkcePair??Yo,u=e.generateState??bo;try{const{authApiUrl:f,ssoClientId:m,origin:b}=e.getPublicConfig();if(!f||!m)throw new Error("Не настроены CLIENT_ID или NUXT_AUTH_API_URL");if(typeof b!="string"||b!==window.location.origin){e.setLoading(!1),e.showError({statusCode:400,statusMessage:To});return}if(a()){e.setLoading(!1);return}Xe=!0,Gr();let N,D,$;try{({codeVerifier:N,codeChallenge:D}=await i()),$=u()}catch{Lt(),e.setLoading(!1),e.showError({statusCode:500,statusMessage:Oo});return}e.useCookie("pkce_verifier",s).value=N,e.useCookie("pkce_state",s).value=$;const ee=`${b}/api/auth/callback`,le=`${f}/oauth/authorize?`+new URLSearchParams({client_id:m,redirect_uri:ee,response_type:"code",code_challenge:D,code_challenge_method:"S256",state:$});No(le),t(le)}catch(f){Lt(),e.setLoading(!1);const m=Wt(f,500),b=f instanceof Error&&f.message.trim()?f.message:Hr(m);e.showError({statusCode:m,statusMessage:b,cause:f})}}const Po=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 обязателен");return jr({setLoading:()=>{},getPublicConfig:t.getPublicConfig,useCookie:t.useCookie,showError:t.showError}).catch(r=>{t.showError({statusCode:Wt(r,500),statusMessage:r instanceof Error&&r.message.trim()?r.message:Hr(Wt(r,500)),cause:r})}),(r,s)=>(o.openBlock(),o.createBlock(Ir,{title:r.title,"status-text":r.statusText},null,8,["title","status-text"]))}});P.Footer=Lr,P.Header=Ft,P.LoginLayoutFrame=co,P.Logo=$e,P.SsoLoginPending=Ir,P.SsoLoginScreen=Po,P.signInWithSSO=jr,Object.defineProperty(P,Symbol.toStringTag,{value:"Module"})}));