r3ui-lib 1.2.26 → 1.2.29

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 (38) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/login.css +1 -0
  3. package/dist/login.es.js +2937 -0
  4. package/dist/login.umd.js +10 -0
  5. package/dist/r3ui-lib.css +1 -1
  6. package/dist/r3ui-lib.es.js +3036 -2940
  7. package/dist/r3ui-lib.umd.js +25 -25
  8. package/dist/types/components/Divider.vue.d.ts +2 -2
  9. package/dist/types/components/SsoLoginPending.vue.d.ts +7 -0
  10. package/dist/types/components/SsoLoginPending.vue.d.ts.map +1 -0
  11. package/dist/types/components/form/Checkbox.vue.d.ts +4 -4
  12. package/dist/types/components/form/CustomInput.vue.d.ts +4 -4
  13. package/dist/types/components/forms/AgeFromAgeTo.vue.d.ts +1 -1
  14. package/dist/types/components/forms/AgeFromAgeTo.vue.d.ts.map +1 -1
  15. package/dist/types/components/forms/BooleanCheckbox.vue.d.ts +2 -2
  16. package/dist/types/components/forms/BooleanCheckbox.vue.d.ts.map +1 -1
  17. package/dist/types/components/forms/Flatpickr.vue.d.ts +2 -2
  18. package/dist/types/components/forms/Flatpickr.vue.d.ts.map +1 -1
  19. package/dist/types/components/forms/MultiCheckbox.vue.d.ts +1 -1
  20. package/dist/types/components/forms/MultiCheckbox.vue.d.ts.map +1 -1
  21. package/dist/types/components/forms/MultiInput.vue.d.ts +2 -2
  22. package/dist/types/components/forms/MultiInput.vue.d.ts.map +1 -1
  23. package/dist/types/components/icons/QuestionIcon.vue.d.ts +2 -2
  24. package/dist/types/components/icons/QuestionIcon.vue.d.ts.map +1 -1
  25. package/dist/types/components/logo/Logo.vue.d.ts +3 -3
  26. package/dist/types/components/logo/Logo.vue.d.ts.map +1 -1
  27. package/dist/types/components/modals/ConfirmationModal.vue.d.ts +1 -1
  28. package/dist/types/components/modals/ConfirmationModal.vue.d.ts.map +1 -1
  29. package/dist/types/components/modals/DefaultModal.vue.d.ts +1 -1
  30. package/dist/types/login-entry.d.ts +7 -0
  31. package/dist/types/login-entry.d.ts.map +1 -0
  32. package/dist/types/main-simple.d.ts +2 -1
  33. package/dist/types/main-simple.d.ts.map +1 -1
  34. package/dist/types/main.d.ts +3 -1
  35. package/dist/types/main.d.ts.map +1 -1
  36. package/dist/types/utils/auth/signInWithSSO.d.ts +28 -0
  37. package/dist/types/utils/auth/signInWithSSO.d.ts.map +1 -0
  38. 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},xs={class:"custom-dropdown"},Ns={style:{"border-bottom":"2px solid #000"}},Ps={class:"dropdown-list-wrapper"},Ws={key:0,class:"custom-dropdown-menu"},Cs=["onMousedown"],Rs=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",xs,[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",Ns,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",Ps,[s.value?(o.openBlock(),o.createElementBlock("ul",Ws,[(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,Cs))]))),128))])):o.createCommentVNode("",!0)])]))}},[["__scopeId","data-v-81ded822"]]),As="data:image/svg+xml,%3csvg%20width='222'%20height='72'%20viewBox='0%200%20222%2072'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20width='222'%20height='72'%20fill='url(%23pattern0)'/%3e%3cdefs%3e%3cpattern%20id='pattern0'%20patternContentUnits='objectBoundingBox'%20width='1'%20height='1'%3e%3cuse%20xlink:href='%23image0_3427_23538'%20transform='matrix(0.00490002%200%200%200.0151084%200%20-0.00125339)'/%3e%3c/pattern%3e%3cimage%20id='image0_3427_23538'%20width='205'%20height='59'%20xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAM0AAAA7CAYAAADYdw5tAAAQ9UlEQVR4nO1dzW7bSLb+DinJns69uOzF4CodIKMM0EkHdxFl0YAjqhFmN7s4TxD5CaJ+AstPEPsJojxBO08QGonkAFlYvRh42hlMGDQa7eAuWsHt221bYp1ZsKSQxSJFWf6Lmh+ghSiqeETVV3XOd04VCTk+KTiOYw0Gg3VmZsMwnr58+dI9b5v+aKDzNiDH8VCr1VaJqMXMHhG1Op3O0/O26Y+CnDSfMGq1WoOIHgOwmNkTQtx79eqVd952zT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Y4hF6ZN/SSCHBcDmg1qckwDz/P6V69ePQTwN+WjpCJRr1QqPfA87+D0rctxGshJcwL48ccfX129evUDgCUAiymnuqVS6V7+FOZPG7l7doIYVQfgYx1cX75cIcRm/kjA+cC/AdgTzC0pucD7AAAAAElFTkSuQmCC'/%3e%3c/defs%3e%3c/svg%3e",Es=["src","alt"],Tt=ve(o.defineComponent({__name:"Logo",props:{src:{default:As},alt:{default:"Logo"},width:{default:154},height:{default:50},className:{default:"logo"},style:{default:()=>({})},brandText:{default:void 0},textSize:{default:12},textColor:{default:"#000"},textWeight:{default:"normal"},showText:{type:Boolean,default:!0}},setup(e){const t=e,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,Es),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"]]),Is={class:"navbar navbar-expand-md navbar-light bg-white border-bottom hide-to-print r3ui-header"},Ls={class:"row align-items-center"},Fs={class:"col-auto pe-0"},Vs={class:"col-auto ps-0 text-wrap mx-3 r3ui-header-label"},Us={class:"row"},Hs={class:"col-auto d-flex align-items-center"},Gs={key:1,class:"text-muted"},js={class:"col-auto"},zs=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",Is,[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",Ls,[o.createElementVNode("div",Fs,[o.renderSlot(a.$slots,"logo",{},()=>[o.createVNode(Tt,{class:"r3ui-header-logo",brandText:s.brandText},null,8,["brandText"])],!0)]),o.createElementVNode("div",Vs,o.toDisplayString(s.brandText),1)])]),o.createElementVNode("div",Us,[o.createElementVNode("div",Hs,[s.isAuthenticated?(o.openBlock(),o.createBlock(Rs,{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",Gs,o.toDisplayString(s.loginText),1))]),o.createElementVNode("div",js,[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 xt;function u(){return xt.apply(null,arguments)}function Bs(e){xt=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 Nt(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 rs(e,t,s,r,!0).utc()}function Zs(){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=Zs()),e._pf}var Je;Array.prototype.some?Je=Array.prototype.some:Je=function(e){var t=Object(this),s=t.length>>>0,r;for(r=0;r<s;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};function Ke(e){var t=null,s=!1,r=e._d&&!isNaN(e._d.getTime());if(r&&(t=y(e),s=Je.call(t.parsedDateParts,function(n){return n!=null}),r=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&s),e._strict&&(r=r&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=r;else return r;return e._isValid}function be(e){var t=V(NaN);return e!=null?$(y(t),e):y(t).userInvalidated=!0,t}var Pt=u.momentProperties=[],Xe=!1;function $e(e,t){var s,r,n,a=Pt.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=Pt[s],n=t[r],T(n)||(e[r]=n);return e}function _e(e){$e(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Xe===!1&&(Xe=!0,u.updateOffset(this),Xe=!1)}function A(e){return e instanceof _e||e!=null&&e._isAMomentObject!=null}function Wt(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)}Wt(e+`
8
+ Arguments: `+Array.prototype.slice.call(r).join("")+`
9
+ `+new Error().stack),s=!1}return t.apply(this,arguments)},t)}var Ct={};function Rt(e,t){u.deprecationHandler!=null&&u.deprecationHandler(e,t),Ct[e]||(Wt(t),Ct[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 qs(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 et(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 tt(e){e!=null&&this.set(e)}var st;Object.keys?st=Object.keys:st=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 Js(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 rt=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Te=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,nt={},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 Ks(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Xs(e){var t=e.match(rt),s,r;for(s=0,r=t.length;s<r;s++)ie[t[s]]?t[s]=ie[t[s]]:t[s]=Ks(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=At(t,e.localeData()),nt[t]=nt[t]||Xs(t),nt[t](e)):e.localeData().invalidDate()}function At(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 $s={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 er(e){var t=this._longDateFormat[e],s=this._longDateFormat[e.toUpperCase()];return t||!s?t:(this._longDateFormat[e]=s.match(rt).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var tr="Invalid date";function sr(){return this._invalidDate}var rr="%d",nr=/\d{1,2}/;function ar(e){return this._ordinal.replace("%d",e)}var ir={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 or(e,t,s,r){var n=this._relativeTime[s];return U(n)?n(e,t,s,r):n.replace(/%d/i,e)}function lr(e,t){var s=this._relativeTime[e>0?"future":"past"];return U(s)?s(t):s.replace(/%s/i,t)}var Et={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"?Et[e]||Et[e.toLowerCase()]:void 0}function at(e){var t={},s,r;for(r in e)w(e,r)&&(s=P(r),s&&(t[s]=e[r]));return t}var dr={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 ur(e){var t=[],s;for(s in e)w(e,s)&&t.push({unit:s,priority:dr[s]});return t.sort(function(r,n){return r.priority-n.priority}),t}var It=/\d/,x=/\d\d/,Lt=/\d{3}/,it=/\d{4}/,Ne=/[+-]?\d{6}/,S=/\d\d?/,Ft=/\d\d\d\d?/,Vt=/\d\d\d\d\d\d?/,Pe=/\d{1,3}/,ot=/\d{1,4}/,We=/[+-]?\d{1,6}/,oe=/\d+/,Ce=/[+-]?\d+/,cr=/Z|[+-]\d\d:?\d\d/gi,Re=/Z|[+-]\d\d(?::?\d\d)?/gi,hr=/[+-]?\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?/,lt=/^([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 fr(e,t){return w(Ae,e)?Ae[e](t._strict,t._locale):new RegExp(mr(e))}function mr(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 dt={};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++)dt[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 yr(e,t,s){t!=null&&w(dt,e)&&dt[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,_r=7,gr=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",ot,it),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 Ut=de("FullYear",!0);function wr(){return Ee(this.year())}function de(e,t){return function(s){return s!=null?(Ht(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 Ht(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 pr(e){return e=P(e),U(this[e])?this[e]():this}function kr(e,t){if(typeof e=="object"){e=at(e);var s=ur(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 Sr(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 ut(e,t){if(isNaN(e)||isNaN(t))return NaN;var s=Sr(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 Mr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Gt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),jt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Dr=ge,Yr=ge;function Or(e,t){return e?R(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||jt).test(t)?"format":"standalone"][e.month()]:R(this._months)?this._months:this._months.standalone}function vr(e,t){return e?R(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[jt.test(t)?"format":"standalone"][e.month()]:R(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function br(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 Tr(e,t,s){var r,n,a;if(this._monthsParseExact)return br.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 zt(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,ut(e.year(),s)),e._isUTC?e._d.setUTCMonth(s,r):e._d.setMonth(s,r),e}function Bt(e){return e!=null?(zt(this,e),u.updateOffset(this,!0),this):ke(this,"Month")}function xr(){return ut(this.year(),this.month())}function Nr(e){return this._monthsParseExact?(w(this,"_monthsRegex")||Zt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(w(this,"_monthsShortRegex")||(this._monthsShortRegex=Dr),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Pr(e){return this._monthsParseExact?(w(this,"_monthsRegex")||Zt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(w(this,"_monthsRegex")||(this._monthsRegex=Yr),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Zt(){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 Wr(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 qt(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 Cr(e){return Me(e,this._week.dow,this._week.doy).week}var Rr={dow:0,doy:6};function Ar(){return this._week.dow}function Er(){return this._week.doy}function Ir(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Lr(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 Fr(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Vr(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ct(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Ur="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Qt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Hr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Gr=ge,jr=ge,zr=ge;function Br(e,t){var s=R(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?ct(s,this._week.dow):e?s[e.day()]:s}function Zr(e){return e===!0?ct(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function qr(e){return e===!0?ct(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 Jr(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 Kr(e){if(!this.isValid())return e!=null?this:NaN;var t=ke(this,"Day");return e!=null?(e=Fr(e,this.localeData()),this.add(e-t,"d")):t}function Xr(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 $r(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Vr(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function en(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||ht.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(w(this,"_weekdaysRegex")||(this._weekdaysRegex=Gr),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function tn(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||ht.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(w(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=jr),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function sn(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||ht.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(w(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=zr),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ht(){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 ft(){return this.hours()%12||12}function rn(){return this.hours()||24}h("H",["HH",2],0,"hour"),h("h",["hh",2],0,ft),h("k",["kk",2],0,rn),h("hmm",0,0,function(){return""+ft.apply(this)+H(this.minutes(),2)}),h("hmmss",0,0,function(){return""+ft.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 Jt(e,t){h(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Jt("a",!0),Jt("A",!1);function Kt(e,t){return t._meridiemParse}c("a",Kt),c("A",Kt),c("H",S,lt),c("h",S,le),c("k",S,le),c("HH",S,x),c("hh",S,x),c("kk",S,x),c("hmm",Ft),c("hmmss",Vt),c("Hmm",Ft),c("Hmmss",Vt),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 nn(e){return(e+"").toLowerCase().charAt(0)==="p"}var an=/[ap]\.?m?\.?/i,on=de("Hours",!0);function ln(e,t,s){return e>11?s?"pm":"PM":s?"am":"AM"}var Xt={calendar:Qs,longDateFormat:$s,invalidDate:tr,ordinal:rr,dayOfMonthOrdinalParse:nr,relativeTime:ir,months:Mr,monthsShort:Gt,week:Rr,weekdays:Ur,weekdaysMin:Hr,weekdaysShort:Qt,meridiemParse:an},D={},De={},Ye;function dn(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 $t(e){return e&&e.toLowerCase().replace("_","-")}function un(e){for(var t=0,s,r,n,a;t<e.length;){for(a=$t(e[t]).split("-"),s=a.length,r=$t(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&&dn(a,r)>=s-1)break;s--}t++}return Ye}function cn(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Le(e){var t=null,s;if(D[e]===void 0&&typeof module<"u"&&module&&module.exports&&cn(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=mt(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 mt(e,t){if(t!==null){var s,r=Xt;if(t.abbr=e,D[e]!=null)Rt("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 tt(et(r,t)),De[e]&&De[e].forEach(function(n){mt(n.name,n.config)}),ee(e),D[e]}else return delete D[e],null}function hn(e,t){if(t!=null){var s,r,n=Xt;D[e]!=null&&D[e].parentLocale!=null?D[e].set(et(D[e]._config,t)):(r=Le(e),r!=null&&(n=r._config),t=et(n,t),r==null&&(t.abbr=e),s=new tt(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 un(e)}function fn(){return st(D)}function yt(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]>ut(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=_r),y(e)._overflowWeekday&&t===-1&&(t=gr),y(e).overflow=t),e}var 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=/^\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)?)?$/,_n=/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]],_t=[["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/]],gn=/^\/?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}))$/,pn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function es(e){var t,s,r=e._i,n=mn.exec(r)||yn.exec(r),a,i,d,f,m=Fe.length,O=_t.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(_t[t][1].exec(n[3])){d=(n[2]||" ")+_t[t][0];break}if(d==null){e._isValid=!1;return}}if(!a&&d!=null){e._isValid=!1;return}if(n[4])if(_n.exec(n[4]))f="Z";else{e._isValid=!1;return}e._f=i+(d||"")+(f||""),wt(e)}else e._isValid=!1}function kn(e,t,s,r,n,a){var i=[Sn(e),Gt.indexOf(t),parseInt(s,10),parseInt(r,10),parseInt(n,10)];return a&&i.push(parseInt(a,10)),i}function Sn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Mn(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Dn(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 Yn(e,t,s){if(e)return pn[e];if(t)return 0;var r=parseInt(s,10),n=r%100,a=(r-n)/100;return a*60+n}function ts(e){var t=wn.exec(Mn(e._i)),s;if(t){if(s=kn(t[4],t[3],t[2],t[5],t[6],t[7]),!Dn(t[1],s,e))return;e._a=s,e._tzm=Yn(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 On(e){var t=gn.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(es(e),e._isValid===!1)delete e._isValid;else return;if(ts(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 vn(e){var t=new Date(u.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function gt(e){var t,s,r=[],n,a,i;if(!e._d){for(n=vn(e),e._w&&e._a[G]==null&&e._a[B]==null&&bn(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:Wr).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 bn(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=qt(s,r,n,a,i),e._a[b]=d.year,e._dayOfYear=d.dayOfYear)}u.ISO_8601=function(){},u.RFC_2822=function(){};function wt(e){if(e._f===u.ISO_8601){es(e);return}if(e._f===u.RFC_2822){ts(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=At(e._f,e._locale).match(rt)||[],O=n.length,s=0;s<O;s++)a=n[s],r=(t.match(fr(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),yr(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]=Tn(e._locale,e._a[v],e._meridiem),m=y(e).era,m!==null&&(e._a[b]=e._locale.erasConvertYear(m,e._a[b])),gt(e),yt(e)}function Tn(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 xn(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=$e({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[n],wt(t),Ke(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 Nn(e){if(!e._d){var t=at(e._i),s=t.day===void 0?t.date:t.day;e._a=Nt([t.year,t.month,s,t.hour,t.minute,t.second,t.millisecond],function(r){return r&&parseInt(r,10)}),gt(e)}}function Pn(e){var t=new _e(yt(ss(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function ss(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(yt(t)):(ye(t)?e._d=t:R(s)?xn(e):s?wt(e):Wn(e),Ke(e)||(e._d=null),e))}function Wn(e){var t=e._i;T(t)?e._d=new Date(u.now()):ye(t)?e._d=new Date(t.valueOf()):typeof t=="string"?On(e):R(t)?(e._a=Nt(t.slice(0),function(s){return parseInt(s,10)}),gt(e)):se(t)?Nn(e):j(t)?e._d=new Date(t):u.createFromInputFallback(e)}function rs(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,Pn(a)}function M(e,t,s,r){return rs(e,t,s,r,!1)}var Cn=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()}),Rn=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 ns(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 An(){var e=[].slice.call(arguments,0);return ns("isBefore",e)}function En(){var e=[].slice.call(arguments,0);return ns("isAfter",e)}var In=function(){return Date.now?Date.now():+new Date},Oe=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ln(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 Fn(){return this._isValid}function Vn(){return I(NaN)}function Ve(e){var t=at(e),s=t.year||0,r=t.quarter||0,n=t.month||0,a=t.week||t.isoWeek||0,i=t.day||0,d=t.hour||0,f=t.minute||0,m=t.second||0,O=t.millisecond||0;this._isValid=Ln(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 pt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Un(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 as(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)})}as("Z",":"),as("ZZ",""),c("Z",Re),c("ZZ",Re),k(["Z","ZZ"],function(e,t,s){s._useUTC=!0,s._tzm=kt(Re,e)});var Hn=/([\+\-]|\d\d)/gi;function kt(e,t){var s=(t||"").match(e),r,n,a;return s===null?null:(r=s[s.length-1]||[],n=(r+"").match(Hn)||["-",0,0],a=+(n[1]*60)+_(n[2]),a===0?0:n[0]==="+"?a:-a)}function St(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 Mt(e){return-Math.round(e._d.getTimezoneOffset())}u.updateOffset=function(){};function Gn(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=kt(Re,e),e===null)return this}else Math.abs(e)<16&&!s&&(e=e*60);return!this._isUTC&&t&&(n=Mt(this)),this._offset=e,this._isUTC=!0,n!=null&&this.add(n,"m"),r!==e&&(!t||this._changeInProgress?ds(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:Mt(this)}function jn(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function zn(e){return this.utcOffset(0,e)}function Bn(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Mt(this),"m")),this}function Zn(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=kt(cr,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function qn(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 Jn(){if(!T(this._isDSTShifted))return this._isDSTShifted;var e={},t;return $e(e,this),e=ss(e),e._a?(t=e._isUTC?V(e._a):M(e._a),this._isDSTShifted=this.isValid()&&Un(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Kn(){return this.isValid()?!this._isUTC:!1}function Xn(){return this.isValid()?this._isUTC:!1}function is(){return this.isValid()?this._isUTC&&this._offset===0:!1}var $n=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,ea=/^(-|\+)?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=$n.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:_(pt(r[re]*1e3))*n}):(r=ea.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=ta(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=Vn;function ne(e,t){var s=e&&parseFloat(e.replace(",","."));return(isNaN(s)?0:s)*t}function os(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 ta(e,t){var s;return e.isValid()&&t.isValid()?(t=St(t,e),e.isBefore(t)?s=os(e,t):(s=os(t,e),s.milliseconds=-s.milliseconds,s.months=-s.months),s):{milliseconds:0,months:0}}function ls(e,t){return function(s,r){var n,a;return r!==null&&!isNaN(+r)&&(Rt(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),ds(this,n,e),this}}function ds(e,t,s,r){var n=t._milliseconds,a=pt(t._days),i=pt(t._months);e.isValid()&&(r=r??!0,i&&zt(e,ke(e,"Month")+i*s),a&&Ht(e,"Date",ke(e,"Date")+a*s),n&&e._d.setTime(e._d.valueOf()+n*s),r&&u.updateOffset(e,a||i))}var sa=ls(1,"add"),ra=ls(-1,"subtract");function us(e){return typeof e=="string"||e instanceof String}function na(e){return A(e)||ye(e)||us(e)||j(e)||ia(e)||aa(e)||e===null||e===void 0}function aa(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 ia(e){var t=R(e),s=!1;return t&&(s=e.filter(function(r){return!j(r)&&us(e)}).length===0),t&&s}function oa(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 la(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 da(e,t){arguments.length===1&&(arguments[0]?na(arguments[0])?(e=arguments[0],t=void 0):oa(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var s=e||M(),r=St(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 ua(){return new _e(this)}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():s.valueOf()<this.clone().startOf(t).valueOf()):!1}function ha(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 fa(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 ma(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 ya(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function _a(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function ga(e,t,s){var r,n,a;if(!this.isValid())return NaN;if(r=St(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 wa(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function pa(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 ka(){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 Sa(e){e||(e=this.isUtc()?u.defaultFormatUtc:u.defaultFormat);var t=xe(this,e);return this.localeData().postformat(t)}function Ma(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 Da(e){return this.from(M(),e)}function Ya(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 Oa(e){return this.to(M(),e)}function cs(e){var t;return e===void 0?this._locale._abbr:(t=Q(e),t!=null&&(this._locale=t),this)}var hs=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 fs(){return this._locale}var Ge=1e3,ce=60*Ge,je=60*ce,ms=(365*400+97)*24*je;function he(e,t){return(e%t+t)%t}function ys(e,t,s){return e<100&&e>=0?new Date(e+400,t,s)-ms:new Date(e,t,s).valueOf()}function _s(e,t,s){return e<100&&e>=0?Date.UTC(e+400,t,s)-ms:Date.UTC(e,t,s)}function va(e){var t,s;if(e=P(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?_s:ys,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 ba(e){var t,s;if(e=P(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?_s:ys,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 Ta(){return this._d.valueOf()-(this._offset||0)*6e4}function xa(){return Math.floor(this.valueOf()/1e3)}function Na(){return new Date(this.valueOf())}function Pa(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Wa(){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 Ca(){return this.isValid()?this.toISOString():null}function Ra(){return Ke(this)}function Aa(){return $({},y(this))}function Ea(){return y(this).overflow}function Ia(){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",Dt),c("NN",Dt),c("NNN",Dt),c("NNNN",qa),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",Ja),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 La(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 Fa(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 Va(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 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].name;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].narrow;return""}function Ga(){var e,t,s,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),r[e].since<=s&&s<=r[e].until||r[e].until<=s&&s<=r[e].since)return r[e].abbr;return""}function ja(){var e,t,s,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(s=n[e].since<=n[e].until?1:-1,r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return(this.year()-u(n[e].since).year())*s+n[e].offset;return this.year()}function za(e){return w(this,"_erasNameRegex")||Yt.call(this),e?this._erasNameRegex:this._erasRegex}function Ba(e){return w(this,"_erasAbbrRegex")||Yt.call(this),e?this._erasAbbrRegex:this._erasRegex}function Za(e){return w(this,"_erasNarrowRegex")||Yt.call(this),e?this._erasNarrowRegex:this._erasRegex}function Dt(e,t){return t.erasAbbrRegex(e)}function qa(e,t){return t.erasNameRegex(e)}function Qa(e,t){return t.erasNarrowRegex(e)}function Ja(e,t){return t._eraYearOrdinalRegex||oe}function Yt(){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",ot,it),c("gggg",ot,it),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 Ka(e){return gs.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Xa(e){return gs.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function $a(){return q(this.year(),1,4)}function ei(){return q(this.isoWeekYear(),1,4)}function ti(){var e=this.localeData()._week;return q(this.year(),e.dow,e.doy)}function si(){var e=this.localeData()._week;return q(this.weekYear(),e.dow,e.doy)}function gs(e,t,s,r,n){var a;return e==null?Me(this,r,n).year:(a=q(e,r,n),t>a&&(t=a),ri.call(this,e,t,s,r,n))}function ri(e,t,s,r,n){var a=qt(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",It),k("Q",function(e,t){t[B]=(_(e)-1)*3});function ni(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 ws=de("Date",!0);h("DDD",["DDDD",3],"DDDo","dayOfYear"),c("DDD",Pe),c("DDDD",Lt),k(["DDD","DDDD"],function(e,t,s){s._dayOfYear=_(e)});function ai(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,lt),c("mm",S,x),k(["m","mm"],E);var ii=de("Minutes",!1);h("s",["ss",2],0,"second"),c("s",S,lt),c("ss",S,x),k(["s","ss"],Z);var oi=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,It),c("SS",Pe,x),c("SSS",Pe,Lt);var te,ps;for(te="SSSS";te.length<=9;te+="S")c(te,oe);function li(e,t){t[re]=_(("0."+e)*1e3)}for(te="S";te.length<=9;te+="S")k(te,li);ps=de("Milliseconds",!1),h("z",0,0,"zoneAbbr"),h("zz",0,0,"zoneName");function di(){return this._isUTC?"UTC":""}function ui(){return this._isUTC?"Coordinated Universal Time":""}var l=_e.prototype;l.add=sa,l.calendar=da,l.clone=ua,l.diff=ga,l.endOf=ba,l.format=Sa,l.from=Ma,l.fromNow=Da,l.to=Ya,l.toNow=Oa,l.get=pr,l.invalidAt=Ea,l.isAfter=ca,l.isBefore=ha,l.isBetween=fa,l.isSame=ma,l.isSameOrAfter=ya,l.isSameOrBefore=_a,l.isValid=Ra,l.lang=hs,l.locale=cs,l.localeData=fs,l.max=Rn,l.min=Cn,l.parsingFlags=Aa,l.set=kr,l.startOf=va,l.subtract=ra,l.toArray=Pa,l.toObject=Wa,l.toDate=Na,l.toISOString=pa,l.inspect=ka,typeof Symbol<"u"&&Symbol.for!=null&&(l[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),l.toJSON=Ca,l.toString=wa,l.unix=xa,l.valueOf=Ta,l.creationData=Ia,l.eraName=Ua,l.eraNarrow=Ha,l.eraAbbr=Ga,l.eraYear=ja,l.year=Ut,l.isLeapYear=wr,l.weekYear=Ka,l.isoWeekYear=Xa,l.quarter=l.quarters=ni,l.month=Bt,l.daysInMonth=xr,l.week=l.weeks=Ir,l.isoWeek=l.isoWeeks=Lr,l.weeksInYear=ti,l.weeksInWeekYear=si,l.isoWeeksInYear=$a,l.isoWeeksInISOWeekYear=ei,l.date=ws,l.day=l.days=Kr,l.weekday=Xr,l.isoWeekday=$r,l.dayOfYear=ai,l.hour=l.hours=on,l.minute=l.minutes=ii,l.second=l.seconds=oi,l.millisecond=l.milliseconds=ps,l.utcOffset=Gn,l.utc=zn,l.local=Bn,l.parseZone=Zn,l.hasAlignedHourOffset=qn,l.isDST=Qn,l.isLocal=Kn,l.isUtcOffset=Xn,l.isUtc=is,l.isUTC=is,l.zoneAbbr=di,l.zoneName=ui,l.dates=N("dates accessor is deprecated. Use date instead.",ws),l.months=N("months accessor is deprecated. Use month instead",Bt),l.years=N("years accessor is deprecated. Use year instead",Ut),l.zone=N("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",jn),l.isDSTShifted=N("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Jn);function ci(e){return M(e*1e3)}function hi(){return M.apply(null,arguments).parseZone()}function ks(e){return e}var p=tt.prototype;p.calendar=Js,p.longDateFormat=er,p.invalidDate=sr,p.ordinal=ar,p.preparse=ks,p.postformat=ks,p.relativeTime=or,p.pastFuture=lr,p.set=qs,p.eras=La,p.erasParse=Fa,p.erasConvertYear=Va,p.erasAbbrRegex=Ba,p.erasNameRegex=za,p.erasNarrowRegex=Za,p.months=Or,p.monthsShort=vr,p.monthsParse=Tr,p.monthsRegex=Pr,p.monthsShortRegex=Nr,p.week=Cr,p.firstDayOfYear=Er,p.firstDayOfWeek=Ar,p.weekdays=Br,p.weekdaysMin=qr,p.weekdaysShort=Zr,p.weekdaysParse=Jr,p.weekdaysRegex=en,p.weekdaysShortRegex=tn,p.weekdaysMinRegex=sn,p.isPM=nn,p.meridiem=ln;function Be(e,t,s,r){var n=Q(),a=V().set(r,t);return n[s](a,e)}function Ss(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 Ot(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 fi(e,t){return Ss(e,t,"months")}function mi(e,t){return Ss(e,t,"monthsShort")}function yi(e,t,s){return Ot(e,t,s,"weekdays")}function _i(e,t,s){return Ot(e,t,s,"weekdaysShort")}function gi(e,t,s){return Ot(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 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 Ms(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 pi(e,t){return Ms(this,e,t,1)}function ki(e,t){return Ms(this,e,t,-1)}function Ds(e){return e<0?Math.floor(e):Math.ceil(e)}function Si(){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+=Ds(vt(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(Ys(t)),s+=f,t-=Ds(vt(f)),d=W(s/12),s%=12,r.days=t,r.months=s,r.years=d,this}function Ys(e){return e*4800/146097}function vt(e){return e*146097/4800}function Mi(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+Ys(t),e){case"month":return s;case"quarter":return s/3;case"year":return s/12}else switch(t=this._days+Math.round(vt(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 Os=K("ms"),Di=K("s"),Yi=K("m"),Oi=K("h"),vi=K("d"),bi=K("w"),Ti=K("M"),xi=K("Q"),Ni=K("y"),Pi=Os;function Wi(){return I(this)}function Ci(e){return e=P(e),this.isValid()?this[e+"s"]():NaN}function ae(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ri=ae("milliseconds"),Ai=ae("seconds"),Ei=ae("minutes"),Ii=ae("hours"),Li=ae("days"),Fi=ae("months"),Vi=ae("years");function Ui(){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 Hi(e,t,s,r,n){return n.relativeTime(t||1,!!s,e,r)}function Gi(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,Hi.apply(null,F)}function ji(e){return e===void 0?X:typeof e=="function"?(X=e,!0):!1}function zi(e,t){return fe[e]===void 0?!1:t===void 0?fe[e]:(fe[e]=t,e==="s"&&(fe.ss=t-1),!0)}function Bi(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=Gi(this,!s,r,n),s&&(a=n.pastFuture(+this,a)),n.postformat(a)}var bt=Math.abs;function me(e){return(e>0)-(e<0)||+e}function Ze(){if(!this.isValid())return this.localeData().invalidDate();var e=bt(this._milliseconds)/1e3,t=bt(this._days),s=bt(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=Fn,g.abs=wi,g.add=pi,g.subtract=ki,g.as=Mi,g.asMilliseconds=Os,g.asSeconds=Di,g.asMinutes=Yi,g.asHours=Oi,g.asDays=vi,g.asWeeks=bi,g.asMonths=Ti,g.asQuarters=xi,g.asYears=Ni,g.valueOf=Pi,g._bubble=Si,g.clone=Wi,g.get=Ci,g.milliseconds=Ri,g.seconds=Ai,g.minutes=Ei,g.hours=Ii,g.days=Li,g.weeks=Ui,g.months=Fi,g.years=Vi,g.humanize=Bi,g.toISOString=Ze,g.toString=Ze,g.toJSON=Ze,g.locale=cs,g.localeData=fs,g.toIsoString=N("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ze),g.lang=hs,h("X",0,0,"unix"),h("x",0,0,"valueOf"),c("x",Ce),c("X",hr),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",Bs(M),u.fn=l,u.min=An,u.max=En,u.now=In,u.utc=V,u.unix=ci,u.months=fi,u.isDate=ye,u.locale=ee,u.invalid=be,u.duration=I,u.isMoment=A,u.weekdays=yi,u.parseZone=hi,u.localeData=Q,u.isDuration=Ue,u.monthsShort=mi,u.weekdaysMin=gi,u.defineLocale=mt,u.updateLocale=hn,u.locales=fn,u.weekdaysShort=_i,u.normalizeUnits=P,u.relativeTimeRounding=ji,u.relativeTimeThreshold=zi,u.calendarFormat=la,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 Zi={class:"d-flex align-items-center justify-content-center bg-white shadow-sm py-3"},qi=o.defineComponent({__name:"Footer",props:{copyrightText:{type:String,required:!0}},setup(e){const t=e;return(s,r)=>(o.openBlock(),o.createElementBlock("footer",Zi,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))}},Ji={class:"container","data-test":"SsoLoginPending"},Ki={class:"row justify-content-center"},Xi={class:"col-md-8"},$i={class:"card"},eo={class:"card-header"},to={class:"card-body"},so={class:"login-spinner text-center",role:"status","aria-live":"polite"},ro={class:"visually-hidden","data-test":"SsoLoginPending-status"},no=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",Ji,[o.createElementVNode("div",Ki,[o.createElementVNode("div",Xi,[o.createElementVNode("div",$i,[o.createElementVNode("div",eo,o.toDisplayString(s.title),1),o.createElementVNode("div",to,[o.createElementVNode("div",so,[o.createVNode(Qi),o.createElementVNode("span",ro,o.toDisplayString(s.statusText),1)])])])])])]))}}),[["__scopeId","data-v-6eb41b83"]]),vs="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";function bs(){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 Ts(e){const t=bs(),s=new Uint8Array(e);t.getRandomValues(s);let r="";return s.forEach(n=>{r+=vs[n%vs.length]}),r}function ao(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 io(e=64){if(!Number.isInteger(e)||e<43||e>128)throw new Error("PKCE code_verifier length must be between 43 and 128.");return Ts(e)}async function oo(e){const t=bs(),r=new TextEncoder().encode(e),n=await t.subtle.digest("SHA-256",r);return ao(n)}async function lo(e=64){const t=io(e),s=await oo(t);return{codeVerifier:t,codeChallenge:s}}function uo(e=32){if(!Number.isInteger(e)||e<16||e>128)throw new Error("OAuth state length must be between 16 and 128.");return Ts(e)}const co="Web Crypto API недоступен. Используйте HTTPS или обновите браузер.";let qe=!1;async function ho(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"||qe)return;qe=!0,e.setLoading(!0);const t=e.generatePkcePair??lo,s=e.generateState??uo,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{qe=!1,e.setLoading(!1),e.showError({statusCode:500,statusMessage:co});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 fo=`${d}/api/auth/callback`,mo=`${a}/oauth/authorize?`+new URLSearchParams({client_id:i,redirect_uri:fo,response_type:"code",scope:"*",code_challenge:m,code_challenge_method:"S256",state:O});r(mo)}catch{qe=!1,e.setLoading(!1)}}C.Footer=qi,C.Header=zs,C.Logo=Tt,C.SsoLoginPending=no,C.signInWithSSO=ho,Object.defineProperty(C,Symbol.toStringTag,{value:"Module"})}));