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