123 |
- /*! For license information please see 6297-6297.js.LICENSE.txt */
- "use strict";(self.webpackChunknextcloud=self.webpackChunknextcloud||[]).push([[6297],{35370:(e,t,n)=>{n.d(t,{Z:()=>o});var i=n(87537),s=n.n(i),r=n(23645),a=n.n(r)()(s());a.push([e.id,".node-picker__wrapper[data-v-cc039314]:not(:last-of-type) {\n border-bottom: 1px solid var(--color-border);\n}\n.node-picker[data-v-cc039314] {\n display: flex;\n align-items: center;\n height: 64px;\n}\n.node-picker__icon[data-v-cc039314],\n.node-picker__preview[data-v-cc039314] {\n height: 64px;\n width: 64px;\n margin: 0 var(--secondary-margin);\n display: block;\n flex: 0 0 64px;\n}\n.node-picker__icon[data-v-cc039314] {\n color: var(--color-text-maxcontrast);\n}\n.node-picker__preview[data-v-cc039314] {\n overflow: hidden;\n border-radius: calc(var(--border-radius) * 2);\n background-position: center;\n background-size: cover;\n}\n.node-picker__desc[data-v-cc039314] {\n display: flex;\n flex-direction: column;\n}\n.node-picker__desc span[data-v-cc039314] {\n white-space: nowrap;\n}\n[data-v-9de22627] .modal-container__content {\n display: flex;\n overflow: visible;\n flex-direction: column;\n}\n.conflict-picker[data-v-9de22627] {\n --margin: 36px;\n --secondary-margin: 18px;\n}\n.conflict-picker__header[data-v-9de22627] {\n position: sticky;\n z-index: 10;\n top: 0;\n padding: var(--margin);\n padding-bottom: 0;\n}\n.conflict-picker__form[data-v-9de22627] {\n position: relative;\n overflow: auto;\n padding: 0 var(--margin);\n padding-bottom: 12px;\n margin-bottom: -12px;\n}\n.conflict-picker fieldset[data-v-9de22627] {\n display: grid;\n width: 100%;\n margin-top: calc(var(--secondary-margin) * 1.5);\n padding-bottom: var(--secondary-margin);\n grid-template-columns: 1fr 1fr;\n}\n.conflict-picker fieldset[data-v-9de22627] legend {\n display: flex;\n align-items: center;\n width: 100%;\n margin-bottom: calc(var(--secondary-margin) / 2);\n}\n.conflict-picker fieldset.conflict-picker__all[data-v-9de22627] {\n position: sticky;\n top: 0;\n margin: 0;\n padding: var(--secondary-margin) 0;\n background-image: linear-gradient(to top, transparent, var(--color-main-background-blur) 10%, var(--color-main-background) 15%);\n}\n.conflict-picker fieldset.conflict-picker__all + fieldset[data-v-9de22627] {\n margin-top: 0;\n}\n.conflict-picker fieldset.conflict-picker__all[data-v-9de22627] label {\n font-weight: 700;\n}\n.conflict-picker__controls[data-v-9de22627] {\n z-index: 10;\n display: flex;\n justify-content: flex-end;\n padding: var(--secondary-margin);\n border-radius: var(--border-radius-large);\n background-image: linear-gradient(to bottom, transparent, var(--color-main-background-blur) 10%, var(--color-main-background) 15%);\n}\n.conflict-picker__controls button[data-v-9de22627] {\n margin-left: var(--secondary-margin);\n}\n.conflict-picker__controls button.button-vue--disabled[data-v-9de22627] {\n cursor: default;\n opacity: .5;\n filter: saturate(.7);\n}\n@media screen and (max-width: 768px) {\n .conflict-picker[data-v-9de22627] {\n --margin: var(--secondary-margin) !important;\n }\n .conflict-picker__description[data-v-9de22627] {\n display: none !important;\n }\n .conflict-picker fieldset[data-v-9de22627] {\n grid-template-columns: 1fr !important;\n }\n .conflict-picker fieldset.conflict-picker__all[data-v-9de22627] {\n position: static;\n }\n}\n","",{version:3,sources:["webpack://./node_modules/@nextcloud/upload/dist/assets/ConflictPicker-8e1eb7d1.css"],names:[],mappings:"AAAA;EACE,4CAA4C;AAC9C;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,YAAY;AACd;AACA;;EAEE,YAAY;EACZ,WAAW;EACX,iCAAiC;EACjC,cAAc;EACd,cAAc;AAChB;AACA;EACE,oCAAoC;AACtC;AACA;EACE,gBAAgB;EAChB,6CAA6C;EAC7C,2BAA2B;EAC3B,sBAAsB;AACxB;AACA;EACE,aAAa;EACb,sBAAsB;AACxB;AACA;EACE,mBAAmB;AACrB;AACA;EACE,aAAa;EACb,iBAAiB;EACjB,sBAAsB;AACxB;AACA;EACE,cAAc;EACd,wBAAwB;AAC1B;AACA;EACE,gBAAgB;EAChB,WAAW;EACX,MAAM;EACN,sBAAsB;EACtB,iBAAiB;AACnB;AACA;EACE,kBAAkB;EAClB,cAAc;EACd,wBAAwB;EACxB,oBAAoB;EACpB,oBAAoB;AACtB;AACA;EACE,aAAa;EACb,WAAW;EACX,+CAA+C;EAC/C,uCAAuC;EACvC,8BAA8B;AAChC;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,WAAW;EACX,gDAAgD;AAClD;AACA;EACE,gBAAgB;EAChB,MAAM;EACN,SAAS;EACT,kCAAkC;EAClC,+HAA+H;AACjI;AACA;EACE,aAAa;AACf;AACA;EACE,gBAAgB;AAClB;AACA;EACE,WAAW;EACX,aAAa;EACb,yBAAyB;EACzB,gCAAgC;EAChC,yCAAyC;EACzC,kIAAkI;AACpI;AACA;EACE,oCAAoC;AACtC;AACA;EACE,eAAe;EACf,WAAW;EACX,oBAAoB;AACtB;AACA;EACE;IACE,4CAA4C;EAC9C;EACA;IACE,wBAAwB;EAC1B;EACA;IACE,qCAAqC;EACvC;EACA;IACE,gBAAgB;EAClB;AACF",sourcesContent:[".node-picker__wrapper[data-v-cc039314]:not(:last-of-type) {\n border-bottom: 1px solid var(--color-border);\n}\n.node-picker[data-v-cc039314] {\n display: flex;\n align-items: center;\n height: 64px;\n}\n.node-picker__icon[data-v-cc039314],\n.node-picker__preview[data-v-cc039314] {\n height: 64px;\n width: 64px;\n margin: 0 var(--secondary-margin);\n display: block;\n flex: 0 0 64px;\n}\n.node-picker__icon[data-v-cc039314] {\n color: var(--color-text-maxcontrast);\n}\n.node-picker__preview[data-v-cc039314] {\n overflow: hidden;\n border-radius: calc(var(--border-radius) * 2);\n background-position: center;\n background-size: cover;\n}\n.node-picker__desc[data-v-cc039314] {\n display: flex;\n flex-direction: column;\n}\n.node-picker__desc span[data-v-cc039314] {\n white-space: nowrap;\n}\n[data-v-9de22627] .modal-container__content {\n display: flex;\n overflow: visible;\n flex-direction: column;\n}\n.conflict-picker[data-v-9de22627] {\n --margin: 36px;\n --secondary-margin: 18px;\n}\n.conflict-picker__header[data-v-9de22627] {\n position: sticky;\n z-index: 10;\n top: 0;\n padding: var(--margin);\n padding-bottom: 0;\n}\n.conflict-picker__form[data-v-9de22627] {\n position: relative;\n overflow: auto;\n padding: 0 var(--margin);\n padding-bottom: 12px;\n margin-bottom: -12px;\n}\n.conflict-picker fieldset[data-v-9de22627] {\n display: grid;\n width: 100%;\n margin-top: calc(var(--secondary-margin) * 1.5);\n padding-bottom: var(--secondary-margin);\n grid-template-columns: 1fr 1fr;\n}\n.conflict-picker fieldset[data-v-9de22627] legend {\n display: flex;\n align-items: center;\n width: 100%;\n margin-bottom: calc(var(--secondary-margin) / 2);\n}\n.conflict-picker fieldset.conflict-picker__all[data-v-9de22627] {\n position: sticky;\n top: 0;\n margin: 0;\n padding: var(--secondary-margin) 0;\n background-image: linear-gradient(to top, transparent, var(--color-main-background-blur) 10%, var(--color-main-background) 15%);\n}\n.conflict-picker fieldset.conflict-picker__all + fieldset[data-v-9de22627] {\n margin-top: 0;\n}\n.conflict-picker fieldset.conflict-picker__all[data-v-9de22627] label {\n font-weight: 700;\n}\n.conflict-picker__controls[data-v-9de22627] {\n z-index: 10;\n display: flex;\n justify-content: flex-end;\n padding: var(--secondary-margin);\n border-radius: var(--border-radius-large);\n background-image: linear-gradient(to bottom, transparent, var(--color-main-background-blur) 10%, var(--color-main-background) 15%);\n}\n.conflict-picker__controls button[data-v-9de22627] {\n margin-left: var(--secondary-margin);\n}\n.conflict-picker__controls button.button-vue--disabled[data-v-9de22627] {\n cursor: default;\n opacity: .5;\n filter: saturate(.7);\n}\n@media screen and (max-width: 768px) {\n .conflict-picker[data-v-9de22627] {\n --margin: var(--secondary-margin) !important;\n }\n .conflict-picker__description[data-v-9de22627] {\n display: none !important;\n }\n .conflict-picker fieldset[data-v-9de22627] {\n grid-template-columns: 1fr !important;\n }\n .conflict-picker fieldset.conflict-picker__all[data-v-9de22627] {\n position: static;\n }\n}\n"],sourceRoot:""}]);const o=a},16297:(e,t,n)=>{n.d(t,{default:()=>es});var i=n(93379),s=n.n(i),r=n(7795),a=n.n(r),o=n(90569),l=n.n(o),c=n(3565),d=n.n(c),u=n(19216),h=n.n(u),f=n(44589),m=n.n(f),_=n(35370),p={};p.styleTagTransform=m(),p.setAttributes=d(),p.insert=l().bind(null,"head"),p.domAPI=a(),p.insertStyleElement=h(),s()(_.Z,p),_.Z&&_.Z.locals&&_.Z.locals;var g=n(62520),y=n(5656),v=n(64024),k=n(50924),w=n(74628),A=n(10038),S=n(25475),C=n(79753),b=n(25108);const M={name:"ArrowRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var x=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon arrow-right-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(t){return e.$emit("click",t)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},D=[];const Y=(0,k.n)(M,x,D,!1,null,null,null,null).exports,O={name:"CloseIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var N=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon close-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(t){return e.$emit("click",t)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},E=[];const T=(0,k.n)(O,N,E,!1,null,null,null,null).exports;var P,R;function W(){return P.apply(null,arguments)}function L(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function U(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function B(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function F(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(B(e,t))return!1;return!0}function H(e){return void 0===e}function V(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function I(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function G(e,t){var n,i=[],s=e.length;for(n=0;n<s;++n)i.push(t(e[n],n));return i}function z(e,t){for(var n in t)B(t,n)&&(e[n]=t[n]);return B(t,"toString")&&(e.toString=t.toString),B(t,"valueOf")&&(e.valueOf=t.valueOf),e}function j(e,t,n,i){return mn(e,t,n,i,!0).utc()}function Z(e){return null==e._pf&&(e._pf={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}),e._pf}function $(e){if(null==e._isValid){var t=Z(e),n=R.call(t.parsedDateParts,(function(e){return null!=e})),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function q(e){var t=j(NaN);return null!=e?z(Z(t),e):Z(t).userInvalidated=!0,t}R=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),i=n.length>>>0;for(t=0;t<i;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var J=W.momentProperties=[],X=!1;function Q(e,t){var n,i,s,r=J.length;if(H(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),H(t._i)||(e._i=t._i),H(t._f)||(e._f=t._f),H(t._l)||(e._l=t._l),H(t._strict)||(e._strict=t._strict),H(t._tzm)||(e._tzm=t._tzm),H(t._isUTC)||(e._isUTC=t._isUTC),H(t._offset)||(e._offset=t._offset),H(t._pf)||(e._pf=Z(t)),H(t._locale)||(e._locale=t._locale),r>0)for(n=0;n<r;n++)H(s=t[i=J[n]])||(e[i]=s);return e}function K(e){Q(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===X&&(X=!0,W.updateOffset(this),X=!1)}function ee(e){return e instanceof K||null!=e&&null!=e._isAMomentObject}function te(e){!1===W.suppressDeprecationWarnings&&typeof b<"u"&&b.warn&&b.warn("Deprecation warning: "+e)}function ne(e,t){var n=!0;return z((function(){if(null!=W.deprecationHandler&&W.deprecationHandler(null,e),n){var i,s,r,a=[],o=arguments.length;for(s=0;s<o;s++){if(i="","object"==typeof arguments[s]){for(r in i+="\n["+s+"] ",arguments[0])B(arguments[0],r)&&(i+=r+": "+arguments[0][r]+", ");i=i.slice(0,-2)}else i=arguments[s];a.push(i)}te(e+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var ie,se={};function re(e,t){null!=W.deprecationHandler&&W.deprecationHandler(e,t),se[e]||(te(t),se[e]=!0)}function ae(e){return typeof Function<"u"&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function oe(e,t){var n,i=z({},e);for(n in t)B(t,n)&&(U(e[n])&&U(t[n])?(i[n]={},z(i[n],e[n]),z(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)B(e,n)&&!B(t,n)&&U(e[n])&&(i[n]=z({},i[n]));return i}function le(e){null!=e&&this.set(e)}function ce(e,t,n){var i=""+Math.abs(e),s=t-i.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,s)).toString().substr(1)+i}W.suppressDeprecationWarnings=!1,W.deprecationHandler=null,ie=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)B(e,t)&&n.push(t);return n};var de=/(\[[^\[]*\])|(\\)?([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,ue=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,he={},fe={};function me(e,t,n,i){var s=i;"string"==typeof i&&(s=function(){return this[i]()}),e&&(fe[e]=s),t&&(fe[t[0]]=function(){return ce(s.apply(this,arguments),t[1],t[2])}),n&&(fe[n]=function(){return this.localeData().ordinal(s.apply(this,arguments),e)})}function _e(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function pe(e,t){return e.isValid()?(t=ge(t,e.localeData()),he[t]=he[t]||function(e){var t,n,i=e.match(de);for(t=0,n=i.length;t<n;t++)fe[i[t]]?i[t]=fe[i[t]]:i[t]=_e(i[t]);return function(t){var s,r="";for(s=0;s<n;s++)r+=ae(i[s])?i[s].call(t,e):i[s];return r}}(t),he[t](e)):e.localeData().invalidDate()}function ge(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(ue.lastIndex=0;n>=0&&ue.test(e);)e=e.replace(ue,i),ue.lastIndex=0,n-=1;return e}var ye={};function ve(e,t){var n=e.toLowerCase();ye[n]=ye[n+"s"]=ye[t]=e}function ke(e){return"string"==typeof e?ye[e]||ye[e.toLowerCase()]:void 0}function we(e){var t,n,i={};for(n in e)B(e,n)&&(t=ke(n))&&(i[t]=e[n]);return i}var Ae={};function Se(e,t){Ae[e]=t}function Ce(e){return e%4==0&&e%100!=0||e%400==0}function be(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Me(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=be(t)),n}function xe(e,t){return function(n){return null!=n?(Ye(this,e,n),W.updateOffset(this,t),this):De(this,e)}}function De(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Ye(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&Ce(e.year())&&1===e.month()&&29===e.date()?(n=Me(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),dt(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var Oe,Ne=/\d/,Ee=/\d\d/,Te=/\d{3}/,Pe=/\d{4}/,Re=/[+-]?\d{6}/,We=/\d\d?/,Le=/\d\d\d\d?/,Ue=/\d\d\d\d\d\d?/,Be=/\d{1,3}/,Fe=/\d{1,4}/,He=/[+-]?\d{1,6}/,Ve=/\d+/,Ie=/[+-]?\d+/,Ge=/Z|[+-]\d\d:?\d\d/gi,ze=/Z|[+-]\d\d(?::?\d\d)?/gi,je=/[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;function Ze(e,t,n){Oe[e]=ae(t)?t:function(e,i){return e&&n?n:t}}function $e(e,t){return B(Oe,e)?Oe[e](t._strict,t._locale):new RegExp(function(e){return qe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,i,s){return t||n||i||s})))}(e))}function qe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Oe={};var Je={};function Xe(e,t){var n,i,s=t;for("string"==typeof e&&(e=[e]),V(t)&&(s=function(e,n){n[t]=Me(e)}),i=e.length,n=0;n<i;n++)Je[e[n]]=s}function Qe(e,t){Xe(e,(function(e,n,i,s){i._w=i._w||{},t(e,i._w,i,s)}))}function Ke(e,t,n){null!=t&&B(Je,e)&&Je[e](t,n._a,n,e)}var et,tt=0,nt=1,it=2,st=3,rt=4,at=5,ot=6,lt=7,ct=8;function dt(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=function(e,t){return(e%12+12)%12}(t);return e+=(t-n)/12,1===n?Ce(e)?29:28:31-n%7%2}et=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},me("M",["MM",2],"Mo",(function(){return this.month()+1})),me("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),me("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),ve("month","M"),Se("month",8),Ze("M",We),Ze("MM",We,Ee),Ze("MMM",(function(e,t){return t.monthsShortRegex(e)})),Ze("MMMM",(function(e,t){return t.monthsRegex(e)})),Xe(["M","MM"],(function(e,t){t[nt]=Me(e)-1})),Xe(["MMM","MMMM"],(function(e,t,n,i){var s=n._locale.monthsParse(e,i,n._strict);null!=s?t[nt]=s:Z(n).invalidMonth=e}));var ut="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("_"),ft=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,mt=je,_t=je;function pt(e,t,n){var i,s,r,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)r=j([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(s=et.call(this._shortMonthsParse,a))?s:null:-1!==(s=et.call(this._longMonthsParse,a))?s:null:"MMM"===t?-1!==(s=et.call(this._shortMonthsParse,a))||-1!==(s=et.call(this._longMonthsParse,a))?s:null:-1!==(s=et.call(this._longMonthsParse,a))||-1!==(s=et.call(this._shortMonthsParse,a))?s:null}function gt(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=Me(t);else if(!V(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),dt(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function yt(e){return null!=e?(gt(this,e),W.updateOffset(this,!0),this):De(this,"Month")}function vt(){function e(e,t){return t.length-e.length}var t,n,i=[],s=[],r=[];for(t=0;t<12;t++)n=j([2e3,t]),i.push(this.monthsShort(n,"")),s.push(this.months(n,"")),r.push(this.months(n,"")),r.push(this.monthsShort(n,""));for(i.sort(e),s.sort(e),r.sort(e),t=0;t<12;t++)i[t]=qe(i[t]),s[t]=qe(s[t]);for(t=0;t<24;t++)r[t]=qe(r[t]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function kt(e){return Ce(e)?366:365}me("Y",0,0,(function(){var e=this.year();return e<=9999?ce(e,4):"+"+e})),me(0,["YY",2],0,(function(){return this.year()%100})),me(0,["YYYY",4],0,"year"),me(0,["YYYYY",5],0,"year"),me(0,["YYYYYY",6,!0],0,"year"),ve("year","y"),Se("year",1),Ze("Y",Ie),Ze("YY",We,Ee),Ze("YYYY",Fe,Pe),Ze("YYYYY",He,Re),Ze("YYYYYY",He,Re),Xe(["YYYYY","YYYYYY"],tt),Xe("YYYY",(function(e,t){t[tt]=2===e.length?W.parseTwoDigitYear(e):Me(e)})),Xe("YY",(function(e,t){t[tt]=W.parseTwoDigitYear(e)})),Xe("Y",(function(e,t){t[tt]=parseInt(e,10)})),W.parseTwoDigitYear=function(e){return Me(e)+(Me(e)>68?1900:2e3)};var wt=xe("FullYear",!0);function At(e,t,n,i,s,r,a){var o;return e<100&&e>=0?(o=new Date(e+400,t,n,i,s,r,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,i,s,r,a),o}function St(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ct(e,t,n){var i=7+t-n;return-(7+St(e,0,i).getUTCDay()-t)%7+i-1}function bt(e,t,n,i,s){var r,a,o=1+7*(t-1)+(7+n-i)%7+Ct(e,i,s);return o<=0?a=kt(r=e-1)+o:o>kt(e)?(r=e+1,a=o-kt(e)):(r=e,a=o),{year:r,dayOfYear:a}}function Mt(e,t,n){var i,s,r=Ct(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1;return a<1?i=a+xt(s=e.year()-1,t,n):a>xt(e.year(),t,n)?(i=a-xt(e.year(),t,n),s=e.year()+1):(s=e.year(),i=a),{week:i,year:s}}function xt(e,t,n){var i=Ct(e,t,n),s=Ct(e+1,t,n);return(kt(e)-i+s)/7}function Dt(e,t){return e.slice(t,7).concat(e.slice(0,t))}me("w",["ww",2],"wo","week"),me("W",["WW",2],"Wo","isoWeek"),ve("week","w"),ve("isoWeek","W"),Se("week",5),Se("isoWeek",5),Ze("w",We),Ze("ww",We,Ee),Ze("W",We),Ze("WW",We,Ee),Qe(["w","ww","W","WW"],(function(e,t,n,i){t[i.substr(0,1)]=Me(e)})),me("d",0,"do","day"),me("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),me("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),me("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),me("e",0,0,"weekday"),me("E",0,0,"isoWeekday"),ve("day","d"),ve("weekday","e"),ve("isoWeekday","E"),Se("day",11),Se("weekday",11),Se("isoWeekday",11),Ze("d",We),Ze("e",We),Ze("E",We),Ze("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Ze("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Ze("dddd",(function(e,t){return t.weekdaysRegex(e)})),Qe(["dd","ddd","dddd"],(function(e,t,n,i){var s=n._locale.weekdaysParse(e,i,n._strict);null!=s?t.d=s:Z(n).invalidWeekday=e})),Qe(["d","e","E"],(function(e,t,n,i){t[i]=Me(e)}));var Yt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ot="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Nt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Et=je,Tt=je,Pt=je;function Rt(e,t,n){var i,s,r,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)r=j([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(s=et.call(this._weekdaysParse,a))?s:null:"ddd"===t?-1!==(s=et.call(this._shortWeekdaysParse,a))?s:null:-1!==(s=et.call(this._minWeekdaysParse,a))?s:null:"dddd"===t?-1!==(s=et.call(this._weekdaysParse,a))||-1!==(s=et.call(this._shortWeekdaysParse,a))||-1!==(s=et.call(this._minWeekdaysParse,a))?s:null:"ddd"===t?-1!==(s=et.call(this._shortWeekdaysParse,a))||-1!==(s=et.call(this._weekdaysParse,a))||-1!==(s=et.call(this._minWeekdaysParse,a))?s:null:-1!==(s=et.call(this._minWeekdaysParse,a))||-1!==(s=et.call(this._weekdaysParse,a))||-1!==(s=et.call(this._shortWeekdaysParse,a))?s:null}function Wt(){function e(e,t){return t.length-e.length}var t,n,i,s,r,a=[],o=[],l=[],c=[];for(t=0;t<7;t++)n=j([2e3,1]).day(t),i=qe(this.weekdaysMin(n,"")),s=qe(this.weekdaysShort(n,"")),r=qe(this.weekdays(n,"")),a.push(i),o.push(s),l.push(r),c.push(i),c.push(s),c.push(r);a.sort(e),o.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Lt(){return this.hours()%12||12}function Ut(e,t){me(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Bt(e,t){return t._meridiemParse}me("H",["HH",2],0,"hour"),me("h",["hh",2],0,Lt),me("k",["kk",2],0,(function(){return this.hours()||24})),me("hmm",0,0,(function(){return""+Lt.apply(this)+ce(this.minutes(),2)})),me("hmmss",0,0,(function(){return""+Lt.apply(this)+ce(this.minutes(),2)+ce(this.seconds(),2)})),me("Hmm",0,0,(function(){return""+this.hours()+ce(this.minutes(),2)})),me("Hmmss",0,0,(function(){return""+this.hours()+ce(this.minutes(),2)+ce(this.seconds(),2)})),Ut("a",!0),Ut("A",!1),ve("hour","h"),Se("hour",13),Ze("a",Bt),Ze("A",Bt),Ze("H",We),Ze("h",We),Ze("k",We),Ze("HH",We,Ee),Ze("hh",We,Ee),Ze("kk",We,Ee),Ze("hmm",Le),Ze("hmmss",Ue),Ze("Hmm",Le),Ze("Hmmss",Ue),Xe(["H","HH"],st),Xe(["k","kk"],(function(e,t,n){var i=Me(e);t[st]=24===i?0:i})),Xe(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Xe(["h","hh"],(function(e,t,n){t[st]=Me(e),Z(n).bigHour=!0})),Xe("hmm",(function(e,t,n){var i=e.length-2;t[st]=Me(e.substr(0,i)),t[rt]=Me(e.substr(i)),Z(n).bigHour=!0})),Xe("hmmss",(function(e,t,n){var i=e.length-4,s=e.length-2;t[st]=Me(e.substr(0,i)),t[rt]=Me(e.substr(i,2)),t[at]=Me(e.substr(s)),Z(n).bigHour=!0})),Xe("Hmm",(function(e,t,n){var i=e.length-2;t[st]=Me(e.substr(0,i)),t[rt]=Me(e.substr(i))})),Xe("Hmmss",(function(e,t,n){var i=e.length-4,s=e.length-2;t[st]=Me(e.substr(0,i)),t[rt]=Me(e.substr(i,2)),t[at]=Me(e.substr(s))}));var Ft,Ht=xe("Hours",!0),Vt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{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"},months:ut,monthsShort:ht,week:{dow:0,doy:6},weekdays:Yt,weekdaysMin:Nt,weekdaysShort:Ot,meridiemParse:/[ap]\.?m?\.?/i},It={},Gt={};function zt(e,t){var n,i=Math.min(e.length,t.length);for(n=0;n<i;n+=1)if(e[n]!==t[n])return n;return i}function jt(e){return e&&e.toLowerCase().replace("_","-")}function Zt(e){var t=null;if(void 0===It[e]&&typeof module<"u"&&module&&module.exports&&function(e){return null!=e.match("^[^/\\\\]*$")}(e))try{t=Ft._abbr,require("./locale/"+e),$t(t)}catch{It[e]=null}return It[e]}function $t(e,t){var n;return e&&((n=H(t)?Jt(e):qt(e,t))?Ft=n:typeof b<"u"&&b.warn&&b.warn("Locale "+e+" not found. Did you forget to load it?")),Ft._abbr}function qt(e,t){if(null!==t){var n,i=Vt;if(t.abbr=e,null!=It[e])re("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."),i=It[e]._config;else if(null!=t.parentLocale)if(null!=It[t.parentLocale])i=It[t.parentLocale]._config;else{if(null==(n=Zt(t.parentLocale)))return Gt[t.parentLocale]||(Gt[t.parentLocale]=[]),Gt[t.parentLocale].push({name:e,config:t}),null;i=n._config}return It[e]=new le(oe(i,t)),Gt[e]&&Gt[e].forEach((function(e){qt(e.name,e.config)})),$t(e),It[e]}return delete It[e],null}function Jt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ft;if(!L(e)){if(t=Zt(e))return t;e=[e]}return function(e){for(var t,n,i,s,r=0;r<e.length;){for(t=(s=jt(e[r]).split("-")).length,n=(n=jt(e[r+1]))?n.split("-"):null;t>0;){if(i=Zt(s.slice(0,t).join("-")))return i;if(n&&n.length>=t&&zt(s,n)>=t-1)break;t--}r++}return Ft}(e)}function Xt(e){var t,n=e._a;return n&&-2===Z(e).overflow&&(t=n[nt]<0||n[nt]>11?nt:n[it]<1||n[it]>dt(n[tt],n[nt])?it:n[st]<0||n[st]>24||24===n[st]&&(0!==n[rt]||0!==n[at]||0!==n[ot])?st:n[rt]<0||n[rt]>59?rt:n[at]<0||n[at]>59?at:n[ot]<0||n[ot]>999?ot:-1,Z(e)._overflowDayOfYear&&(t<tt||t>it)&&(t=it),Z(e)._overflowWeeks&&-1===t&&(t=lt),Z(e)._overflowWeekday&&-1===t&&(t=ct),Z(e).overflow=t),e}var Qt=/^\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)?)?$/,Kt=/^\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)?)?$/,en=/Z|[+-]\d\d(?::?\d\d)?/,tn=[["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]],nn=[["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/]],sn=/^\/?Date\((-?\d+)/i,rn=/^(?:(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}))$/,an={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function on(e){var t,n,i,s,r,a,o=e._i,l=Qt.exec(o)||Kt.exec(o),c=tn.length,d=nn.length;if(l){for(Z(e).iso=!0,t=0,n=c;t<n;t++)if(tn[t][1].exec(l[1])){s=tn[t][0],i=!1!==tn[t][2];break}if(null==s)return void(e._isValid=!1);if(l[3]){for(t=0,n=d;t<n;t++)if(nn[t][1].exec(l[3])){r=(l[2]||" ")+nn[t][0];break}if(null==r)return void(e._isValid=!1)}if(!i&&null!=r)return void(e._isValid=!1);if(l[4]){if(!en.exec(l[4]))return void(e._isValid=!1);a="Z"}e._f=s+(r||"")+(a||""),hn(e)}else e._isValid=!1}function ln(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function cn(e){var t,n=rn.exec(function(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(e._i));if(n){if(t=function(e,t,n,i,s,r){var a=[ln(e),ht.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(s,10)];return r&&a.push(parseInt(r,10)),a}(n[4],n[3],n[2],n[5],n[6],n[7]),!function(e,t,n){return!e||Ot.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(Z(n).weekdayMismatch=!0,n._isValid=!1,!1)}(n[1],t,e))return;e._a=t,e._tzm=function(e,t,n){if(e)return an[e];if(t)return 0;var i=parseInt(n,10),s=i%100;return(i-s)/100*60+s}(n[8],n[9],n[10]),e._d=St.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),Z(e).rfc2822=!0}else e._isValid=!1}function dn(e,t,n){return e??t??n}function un(e){var t,n,i,s,r,a=[];if(!e._d){for(i=function(e){var t=new Date(W.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[it]&&null==e._a[nt]&&function(e){var t,n,i,s,r,a,o,l,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(r=1,a=4,n=dn(t.GG,e._a[tt],Mt(_n(),1,4).year),i=dn(t.W,1),((s=dn(t.E,1))<1||s>7)&&(l=!0)):(r=e._locale._week.dow,a=e._locale._week.doy,c=Mt(_n(),r,a),n=dn(t.gg,e._a[tt],c.year),i=dn(t.w,c.week),null!=t.d?((s=t.d)<0||s>6)&&(l=!0):null!=t.e?(s=t.e+r,(t.e<0||t.e>6)&&(l=!0)):s=r),i<1||i>xt(n,r,a)?Z(e)._overflowWeeks=!0:null!=l?Z(e)._overflowWeekday=!0:(o=bt(n,i,s,r,a),e._a[tt]=o.year,e._dayOfYear=o.dayOfYear)}(e),null!=e._dayOfYear&&(r=dn(e._a[tt],i[tt]),(e._dayOfYear>kt(r)||0===e._dayOfYear)&&(Z(e)._overflowDayOfYear=!0),n=St(r,0,e._dayOfYear),e._a[nt]=n.getUTCMonth(),e._a[it]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=i[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[st]&&0===e._a[rt]&&0===e._a[at]&&0===e._a[ot]&&(e._nextDay=!0,e._a[st]=0),e._d=(e._useUTC?St:At).apply(null,a),s=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[st]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==s&&(Z(e).weekdayMismatch=!0)}}function hn(e){if(e._f!==W.ISO_8601)if(e._f!==W.RFC_2822){e._a=[],Z(e).empty=!0;var t,n,i,s,r,a,o,l=""+e._i,c=l.length,d=0;for(o=(i=ge(e._f,e._locale).match(de)||[]).length,t=0;t<o;t++)s=i[t],(n=(l.match($e(s,e))||[])[0])&&((r=l.substr(0,l.indexOf(n))).length>0&&Z(e).unusedInput.push(r),l=l.slice(l.indexOf(n)+n.length),d+=n.length),fe[s]?(n?Z(e).empty=!1:Z(e).unusedTokens.push(s),Ke(s,n,e)):e._strict&&!n&&Z(e).unusedTokens.push(s);Z(e).charsLeftOver=c-d,l.length>0&&Z(e).unusedInput.push(l),e._a[st]<=12&&!0===Z(e).bigHour&&e._a[st]>0&&(Z(e).bigHour=void 0),Z(e).parsedDateParts=e._a.slice(0),Z(e).meridiem=e._meridiem,e._a[st]=function(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):(null!=e.isPM&&((i=e.isPM(n))&&t<12&&(t+=12),!i&&12===t&&(t=0)),t)}(e._locale,e._a[st],e._meridiem),null!==(a=Z(e).era)&&(e._a[tt]=e._locale.erasConvertYear(a,e._a[tt])),un(e),Xt(e)}else cn(e);else on(e)}function fn(e){var t=e._i,n=e._f;return e._locale=e._locale||Jt(e._l),null===t||void 0===n&&""===t?q({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),ee(t)?new K(Xt(t)):(I(t)?e._d=t:L(n)?function(e){var t,n,i,s,r,a,o=!1,l=e._f.length;if(0===l)return Z(e).invalidFormat=!0,void(e._d=new Date(NaN));for(s=0;s<l;s++)r=0,a=!1,t=Q({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[s],hn(t),$(t)&&(a=!0),r+=Z(t).charsLeftOver,r+=10*Z(t).unusedTokens.length,Z(t).score=r,o?r<i&&(i=r,n=t):(null==i||r<i||a)&&(i=r,n=t,a&&(o=!0));z(e,n||t)}(e):n?hn(e):function(e){var t=e._i;H(t)?e._d=new Date(W.now()):I(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=sn.exec(e._i);null===t?(on(e),!1===e._isValid&&(delete e._isValid,cn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:W.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):L(t)?(e._a=G(t.slice(0),(function(e){return parseInt(e,10)})),un(e)):U(t)?function(e){if(!e._d){var t=we(e._i),n=void 0===t.day?t.date:t.day;e._a=G([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),un(e)}}(e):V(t)?e._d=new Date(t):W.createFromInputFallback(e)}(e),$(e)||(e._d=null),e))}function mn(e,t,n,i,s){var r={};return(!0===t||!1===t)&&(i=t,t=void 0),(!0===n||!1===n)&&(i=n,n=void 0),(U(e)&&F(e)||L(e)&&0===e.length)&&(e=void 0),r._isAMomentObject=!0,r._useUTC=r._isUTC=s,r._l=n,r._i=e,r._f=t,r._strict=i,function(e){var t=new K(Xt(fn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}(r)}function _n(e,t,n,i){return mn(e,t,n,i,!1)}W.createFromInputFallback=ne("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":""))})),W.ISO_8601=function(){},W.RFC_2822=function(){};var pn=ne("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=_n.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:q()})),gn=ne("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=_n.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:q()}));function yn(e,t){var n,i;if(1===t.length&&L(t[0])&&(t=t[0]),!t.length)return _n();for(n=t[0],i=1;i<t.length;++i)(!t[i].isValid()||t[i][e](n))&&(n=t[i]);return n}var vn=["year","quarter","month","week","day","hour","minute","second","millisecond"];function kn(e){var t=we(e),n=t.year||0,i=t.quarter||0,s=t.month||0,r=t.week||t.isoWeek||0,a=t.day||0,o=t.hour||0,l=t.minute||0,c=t.second||0,d=t.millisecond||0;this._isValid=function(e){var t,n,i=!1,s=vn.length;for(t in e)if(B(e,t)&&(-1===et.call(vn,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<s;++n)if(e[vn[n]]){if(i)return!1;parseFloat(e[vn[n]])!==Me(e[vn[n]])&&(i=!0)}return!0}(t),this._milliseconds=+d+1e3*c+6e4*l+1e3*o*60*60,this._days=+a+7*r,this._months=+s+3*i+12*n,this._data={},this._locale=Jt(),this._bubble()}function wn(e){return e instanceof kn}function An(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Sn(e,t){me(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+ce(~~(e/60),2)+t+ce(~~e%60,2)}))}Sn("Z",":"),Sn("ZZ",""),Ze("Z",ze),Ze("ZZ",ze),Xe(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=bn(ze,e)}));var Cn=/([\+\-]|\d\d)/gi;function bn(e,t){var n,i,s=(t||"").match(e);return null===s?null:0===(i=60*(n=((s[s.length-1]||[])+"").match(Cn)||["-",0,0])[1]+Me(n[2]))?0:"+"===n[0]?i:-i}function Mn(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(ee(e)||I(e)?e.valueOf():_n(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),W.updateOffset(n,!1),n):_n(e).local()}function xn(e){return-Math.round(e._d.getTimezoneOffset())}function Dn(){return!!this.isValid()&&this._isUTC&&0===this._offset}W.updateOffset=function(){};var Yn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,On=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Nn(e,t){var n,i,s,r=e,a=null;return wn(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:V(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(a=Yn.exec(e))?(n="-"===a[1]?-1:1,r={y:0,d:Me(a[it])*n,h:Me(a[st])*n,m:Me(a[rt])*n,s:Me(a[at])*n,ms:Me(An(1e3*a[ot]))*n}):(a=On.exec(e))?(n="-"===a[1]?-1:1,r={y:En(a[2],n),M:En(a[3],n),w:En(a[4],n),d:En(a[5],n),h:En(a[6],n),m:En(a[7],n),s:En(a[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(s=function(e,t){var n;return e.isValid()&&t.isValid()?(t=Mn(t,e),e.isBefore(t)?n=Tn(e,t):((n=Tn(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}(_n(r.from),_n(r.to)),(r={}).ms=s.milliseconds,r.M=s.months),i=new kn(r),wn(e)&&B(e,"_locale")&&(i._locale=e._locale),wn(e)&&B(e,"_isValid")&&(i._isValid=e._isValid),i}function En(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Tn(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Pn(e,t){return function(n,i){var s;return null!==i&&!isNaN(+i)&&(re(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."),s=n,n=i,i=s),Rn(this,Nn(n,i),e),this}}function Rn(e,t,n,i){var s=t._milliseconds,r=An(t._days),a=An(t._months);e.isValid()&&(i=i??!0,a&>(e,De(e,"Month")+a*n),r&&Ye(e,"Date",De(e,"Date")+r*n),s&&e._d.setTime(e._d.valueOf()+s*n),i&&W.updateOffset(e,r||a))}Nn.fn=kn.prototype,Nn.invalid=function(){return Nn(NaN)};var Wn=Pn(1,"add"),Ln=Pn(-1,"subtract");function Un(e){return"string"==typeof e||e instanceof String}function Bn(e,t){if(e.date()<t.date())return-Bn(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(n+1,"months")-i)))||0}function Fn(e){var t;return void 0===e?this._locale._abbr:(null!=(t=Jt(e))&&(this._locale=t),this)}W.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",W.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Hn=ne("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function Vn(){return this._locale}var In=1e3,Gn=6e4,zn=60*Gn,jn=3506328*zn;function Zn(e,t){return(e%t+t)%t}function $n(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-jn:new Date(e,t,n).valueOf()}function qn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-jn:Date.UTC(e,t,n)}function Jn(e,t){return t.erasAbbrRegex(e)}function Xn(){var e,t,n=[],i=[],s=[],r=[],a=this.eras();for(e=0,t=a.length;e<t;++e)i.push(qe(a[e].name)),n.push(qe(a[e].abbr)),s.push(qe(a[e].narrow)),r.push(qe(a[e].name)),r.push(qe(a[e].abbr)),r.push(qe(a[e].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+i.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+s.join("|")+")","i")}function Qn(e,t){me(0,[e,e.length],0,t)}function Kn(e,t,n,i,s){var r;return null==e?Mt(this,i,s).year:(t>(r=xt(e,i,s))&&(t=r),ei.call(this,e,t,n,i,s))}function ei(e,t,n,i,s){var r=bt(e,t,n,i,s),a=St(r.year,0,r.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}me("N",0,0,"eraAbbr"),me("NN",0,0,"eraAbbr"),me("NNN",0,0,"eraAbbr"),me("NNNN",0,0,"eraName"),me("NNNNN",0,0,"eraNarrow"),me("y",["y",1],"yo","eraYear"),me("y",["yy",2],0,"eraYear"),me("y",["yyy",3],0,"eraYear"),me("y",["yyyy",4],0,"eraYear"),Ze("N",Jn),Ze("NN",Jn),Ze("NNN",Jn),Ze("NNNN",(function(e,t){return t.erasNameRegex(e)})),Ze("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),Xe(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,i){var s=n._locale.erasParse(e,i,n._strict);s?Z(n).era=s:Z(n).invalidEra=e})),Ze("y",Ve),Ze("yy",Ve),Ze("yyy",Ve),Ze("yyyy",Ve),Ze("yo",(function(e,t){return t._eraYearOrdinalRegex||Ve})),Xe(["y","yy","yyy","yyyy"],tt),Xe(["yo"],(function(e,t,n,i){var s;n._locale._eraYearOrdinalRegex&&(s=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[tt]=n._locale.eraYearOrdinalParse(e,s):t[tt]=parseInt(e,10)})),me(0,["gg",2],0,(function(){return this.weekYear()%100})),me(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Qn("gggg","weekYear"),Qn("ggggg","weekYear"),Qn("GGGG","isoWeekYear"),Qn("GGGGG","isoWeekYear"),ve("weekYear","gg"),ve("isoWeekYear","GG"),Se("weekYear",1),Se("isoWeekYear",1),Ze("G",Ie),Ze("g",Ie),Ze("GG",We,Ee),Ze("gg",We,Ee),Ze("GGGG",Fe,Pe),Ze("gggg",Fe,Pe),Ze("GGGGG",He,Re),Ze("ggggg",He,Re),Qe(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,i){t[i.substr(0,2)]=Me(e)})),Qe(["gg","GG"],(function(e,t,n,i){t[i]=W.parseTwoDigitYear(e)})),me("Q",0,"Qo","quarter"),ve("quarter","Q"),Se("quarter",7),Ze("Q",Ne),Xe("Q",(function(e,t){t[nt]=3*(Me(e)-1)})),me("D",["DD",2],"Do","date"),ve("date","D"),Se("date",9),Ze("D",We),Ze("DD",We,Ee),Ze("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Xe(["D","DD"],it),Xe("Do",(function(e,t){t[it]=Me(e.match(We)[0])}));var ti=xe("Date",!0);me("DDD",["DDDD",3],"DDDo","dayOfYear"),ve("dayOfYear","DDD"),Se("dayOfYear",4),Ze("DDD",Be),Ze("DDDD",Te),Xe(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=Me(e)})),me("m",["mm",2],0,"minute"),ve("minute","m"),Se("minute",14),Ze("m",We),Ze("mm",We,Ee),Xe(["m","mm"],rt);var ni=xe("Minutes",!1);me("s",["ss",2],0,"second"),ve("second","s"),Se("second",15),Ze("s",We),Ze("ss",We,Ee),Xe(["s","ss"],at);var ii,si,ri=xe("Seconds",!1);for(me("S",0,0,(function(){return~~(this.millisecond()/100)})),me(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),me(0,["SSS",3],0,"millisecond"),me(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),me(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),me(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),me(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),me(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),me(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),ve("millisecond","ms"),Se("millisecond",16),Ze("S",Be,Ne),Ze("SS",Be,Ee),Ze("SSS",Be,Te),ii="SSSS";ii.length<=9;ii+="S")Ze(ii,Ve);function ai(e,t){t[ot]=Me(1e3*("0."+e))}for(ii="S";ii.length<=9;ii+="S")Xe(ii,ai);si=xe("Milliseconds",!1),me("z",0,0,"zoneAbbr"),me("zz",0,0,"zoneName");var oi=K.prototype;function li(e){return e}oi.add=Wn,oi.calendar=function(e,t){1===arguments.length&&(arguments[0]?function(e){return ee(e)||I(e)||Un(e)||V(e)||function(e){var t=L(e),n=!1;return t&&(n=0===e.filter((function(t){return!V(t)&&Un(e)})).length),t&&n}(e)||function(e){var t,n=U(e)&&!F(e),i=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],r=s.length;for(t=0;t<r;t+=1)i=i||B(e,s[t]);return n&&i}(e)||null==e}(arguments[0])?(e=arguments[0],t=void 0):function(e){var t,n=U(e)&&!F(e),i=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<s.length;t+=1)i=i||B(e,s[t]);return n&&i}(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||_n(),i=Mn(n,this).startOf("day"),s=W.calendarFormat(this,i)||"sameElse",r=t&&(ae(t[s])?t[s].call(this,n):t[s]);return this.format(r||this.localeData().calendar(s,this,_n(n)))},oi.clone=function(){return new K(this)},oi.diff=function(e,t,n){var i,s,r;if(!this.isValid())return NaN;if(!(i=Mn(e,this)).isValid())return NaN;switch(s=6e4*(i.utcOffset()-this.utcOffset()),t=ke(t)){case"year":r=Bn(this,i)/12;break;case"month":r=Bn(this,i);break;case"quarter":r=Bn(this,i)/3;break;case"second":r=(this-i)/1e3;break;case"minute":r=(this-i)/6e4;break;case"hour":r=(this-i)/36e5;break;case"day":r=(this-i-s)/864e5;break;case"week":r=(this-i-s)/6048e5;break;default:r=this-i}return n?r:be(r)},oi.endOf=function(e){var t,n;if(void 0===(e=ke(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?qn:$n,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=zn-Zn(t+(this._isUTC?0:this.utcOffset()*Gn),zn)-1;break;case"minute":t=this._d.valueOf(),t+=Gn-Zn(t,Gn)-1;break;case"second":t=this._d.valueOf(),t+=In-Zn(t,In)-1}return this._d.setTime(t),W.updateOffset(this,!0),this},oi.format=function(e){e||(e=this.isUtc()?W.defaultFormatUtc:W.defaultFormat);var t=pe(this,e);return this.localeData().postformat(t)},oi.from=function(e,t){return this.isValid()&&(ee(e)&&e.isValid()||_n(e).isValid())?Nn({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},oi.fromNow=function(e){return this.from(_n(),e)},oi.to=function(e,t){return this.isValid()&&(ee(e)&&e.isValid()||_n(e).isValid())?Nn({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},oi.toNow=function(e){return this.to(_n(),e)},oi.get=function(e){return ae(this[e=ke(e)])?this[e]():this},oi.invalidAt=function(){return Z(this).overflow},oi.isAfter=function(e,t){var n=ee(e)?e:_n(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=ke(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},oi.isBefore=function(e,t){var n=ee(e)?e:_n(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=ke(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},oi.isBetween=function(e,t,n,i){var s=ee(e)?e:_n(e),r=ee(t)?t:_n(t);return!!(this.isValid()&&s.isValid()&&r.isValid())&&("("===(i=i||"()")[0]?this.isAfter(s,n):!this.isBefore(s,n))&&(")"===i[1]?this.isBefore(r,n):!this.isAfter(r,n))},oi.isSame=function(e,t){var n,i=ee(e)?e:_n(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=ke(t)||"millisecond")?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},oi.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},oi.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},oi.isValid=function(){return $(this)},oi.lang=Hn,oi.locale=Fn,oi.localeData=Vn,oi.max=gn,oi.min=pn,oi.parsingFlags=function(){return z({},Z(this))},oi.set=function(e,t){if("object"==typeof e){var n,i=function(e){var t,n=[];for(t in e)B(e,t)&&n.push({unit:t,priority:Ae[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}(e=we(e)),s=i.length;for(n=0;n<s;n++)this[i[n].unit](e[i[n].unit])}else if(ae(this[e=ke(e)]))return this[e](t);return this},oi.startOf=function(e){var t,n;if(void 0===(e=ke(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?qn:$n,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Zn(t+(this._isUTC?0:this.utcOffset()*Gn),zn);break;case"minute":t=this._d.valueOf(),t-=Zn(t,Gn);break;case"second":t=this._d.valueOf(),t-=Zn(t,In)}return this._d.setTime(t),W.updateOffset(this,!0),this},oi.subtract=Ln,oi.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},oi.toObject=function(){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()}},oi.toDate=function(){return new Date(this.valueOf())},oi.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?pe(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ae(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",pe(n,"Z")):pe(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},oi.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,i="moment",s="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",s="Z"),e="["+i+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=s+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},typeof Symbol<"u"&&null!=Symbol.for&&(oi[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),oi.toJSON=function(){return this.isValid()?this.toISOString():null},oi.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},oi.unix=function(){return Math.floor(this.valueOf()/1e3)},oi.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},oi.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},oi.eraName=function(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until||i[e].until<=n&&n<=i[e].since)return i[e].name;return""},oi.eraNarrow=function(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until||i[e].until<=n&&n<=i[e].since)return i[e].narrow;return""},oi.eraAbbr=function(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until||i[e].until<=n&&n<=i[e].since)return i[e].abbr;return""},oi.eraYear=function(){var e,t,n,i,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(n=s[e].since<=s[e].until?1:-1,i=this.clone().startOf("day").valueOf(),s[e].since<=i&&i<=s[e].until||s[e].until<=i&&i<=s[e].since)return(this.year()-W(s[e].since).year())*n+s[e].offset;return this.year()},oi.year=wt,oi.isLeapYear=function(){return Ce(this.year())},oi.weekYear=function(e){return Kn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},oi.isoWeekYear=function(e){return Kn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},oi.quarter=oi.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},oi.month=yt,oi.daysInMonth=function(){return dt(this.year(),this.month())},oi.week=oi.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},oi.isoWeek=oi.isoWeeks=function(e){var t=Mt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},oi.weeksInYear=function(){var e=this.localeData()._week;return xt(this.year(),e.dow,e.doy)},oi.weeksInWeekYear=function(){var e=this.localeData()._week;return xt(this.weekYear(),e.dow,e.doy)},oi.isoWeeksInYear=function(){return xt(this.year(),1,4)},oi.isoWeeksInISOWeekYear=function(){return xt(this.isoWeekYear(),1,4)},oi.date=ti,oi.day=oi.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},oi.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},oi.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},oi.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},oi.hour=oi.hours=Ht,oi.minute=oi.minutes=ni,oi.second=oi.seconds=ri,oi.millisecond=oi.milliseconds=si,oi.utcOffset=function(e,t,n){var i,s=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=bn(ze,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=xn(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),s!==e&&(!t||this._changeInProgress?Rn(this,Nn(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,W.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?s:xn(this)},oi.utc=function(e){return this.utcOffset(0,e)},oi.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(xn(this),"m")),this},oi.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=bn(Ge,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},oi.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?_n(e).utcOffset():0,(this.utcOffset()-e)%60==0)},oi.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},oi.isLocal=function(){return!!this.isValid()&&!this._isUTC},oi.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},oi.isUtc=Dn,oi.isUTC=Dn,oi.zoneAbbr=function(){return this._isUTC?"UTC":""},oi.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},oi.dates=ne("dates accessor is deprecated. Use date instead.",ti),oi.months=ne("months accessor is deprecated. Use month instead",yt),oi.years=ne("years accessor is deprecated. Use year instead",wt),oi.zone=ne("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),oi.isDSTShifted=ne("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!H(this._isDSTShifted))return this._isDSTShifted;var e,t={};return Q(t,this),(t=fn(t))._a?(e=t._isUTC?j(t._a):_n(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var i,s=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),a=0;for(i=0;i<s;i++)Me(e[i])!==Me(t[i])&&a++;return a+r}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var ci=le.prototype;function di(e,t,n,i){var s=Jt(),r=j().set(i,t);return s[n](r,e)}function ui(e,t,n){if(V(e)&&(t=e,e=void 0),e=e||"",null!=t)return di(e,t,n,"month");var i,s=[];for(i=0;i<12;i++)s[i]=di(e,i,n,"month");return s}function hi(e,t,n,i){"boolean"==typeof e?(V(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,V(t)&&(n=t,t=void 0),t=t||"");var s,r=Jt(),a=e?r._week.dow:0,o=[];if(null!=n)return di(t,(n+a)%7,i,"day");for(s=0;s<7;s++)o[s]=di(t,(s+a)%7,i,"day");return o}ci.calendar=function(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return ae(i)?i.call(t,n):i},ci.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(de).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},ci.invalidDate=function(){return this._invalidDate},ci.ordinal=function(e){return this._ordinal.replace("%d",e)},ci.preparse=li,ci.postformat=li,ci.relativeTime=function(e,t,n,i){var s=this._relativeTime[n];return ae(s)?s(e,t,n,i):s.replace(/%d/i,e)},ci.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return ae(n)?n(t):n.replace(/%s/i,t)},ci.set=function(e){var t,n;for(n in e)B(e,n)&&(ae(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},ci.eras=function(e,t){var n,i,s,r=this._eras||Jt("en")._eras;for(n=0,i=r.length;n<i;++n)switch("string"==typeof r[n].since&&(s=W(r[n].since).startOf("day"),r[n].since=s.valueOf()),typeof r[n].until){case"undefined":r[n].until=1/0;break;case"string":s=W(r[n].until).startOf("day").valueOf(),r[n].until=s.valueOf()}return r},ci.erasParse=function(e,t,n){var i,s,r,a,o,l=this.eras();for(e=e.toUpperCase(),i=0,s=l.length;i<s;++i)if(r=l[i].name.toUpperCase(),a=l[i].abbr.toUpperCase(),o=l[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[i];break;case"NNNN":if(r===e)return l[i];break;case"NNNNN":if(o===e)return l[i]}else if([r,a,o].indexOf(e)>=0)return l[i]},ci.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?W(e.since).year():W(e.since).year()+(t-e.offset)*n},ci.erasAbbrRegex=function(e){return B(this,"_erasAbbrRegex")||Xn.call(this),e?this._erasAbbrRegex:this._erasRegex},ci.erasNameRegex=function(e){return B(this,"_erasNameRegex")||Xn.call(this),e?this._erasNameRegex:this._erasRegex},ci.erasNarrowRegex=function(e){return B(this,"_erasNarrowRegex")||Xn.call(this),e?this._erasNarrowRegex:this._erasRegex},ci.months=function(e,t){return e?L(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ft).test(t)?"format":"standalone"][e.month()]:L(this._months)?this._months:this._months.standalone},ci.monthsShort=function(e,t){return e?L(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ft.test(t)?"format":"standalone"][e.month()]:L(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},ci.monthsParse=function(e,t,n){var i,s,r;if(this._monthsParseExact)return pt.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(s=j([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),!n&&!this._monthsParse[i]&&(r="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[i]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},ci.monthsRegex=function(e){return this._monthsParseExact?(B(this,"_monthsRegex")||vt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(B(this,"_monthsRegex")||(this._monthsRegex=_t),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},ci.monthsShortRegex=function(e){return this._monthsParseExact?(B(this,"_monthsRegex")||vt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(B(this,"_monthsShortRegex")||(this._monthsShortRegex=mt),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},ci.week=function(e){return Mt(e,this._week.dow,this._week.doy).week},ci.firstDayOfYear=function(){return this._week.doy},ci.firstDayOfWeek=function(){return this._week.dow},ci.weekdays=function(e,t){var n=L(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Dt(n,this._week.dow):e?n[e.day()]:n},ci.weekdaysMin=function(e){return!0===e?Dt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},ci.weekdaysShort=function(e){return!0===e?Dt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},ci.weekdaysParse=function(e,t,n){var i,s,r;if(this._weekdaysParseExact)return Rt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(s=j([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(r="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[i]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},ci.weekdaysRegex=function(e){return this._weekdaysParseExact?(B(this,"_weekdaysRegex")||Wt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(B(this,"_weekdaysRegex")||(this._weekdaysRegex=Et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},ci.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(B(this,"_weekdaysRegex")||Wt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(B(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},ci.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(B(this,"_weekdaysRegex")||Wt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(B(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Pt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},ci.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},ci.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},$t("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;return e+(1===Me(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),W.lang=ne("moment.lang is deprecated. Use moment.locale instead.",$t),W.langData=ne("moment.langData is deprecated. Use moment.localeData instead.",Jt);var fi=Math.abs;function mi(e,t,n,i){var s=Nn(t,n);return e._milliseconds+=i*s._milliseconds,e._days+=i*s._days,e._months+=i*s._months,e._bubble()}function _i(e){return e<0?Math.floor(e):Math.ceil(e)}function pi(e){return 4800*e/146097}function gi(e){return 146097*e/4800}function yi(e){return function(){return this.as(e)}}var vi=yi("ms"),ki=yi("s"),wi=yi("m"),Ai=yi("h"),Si=yi("d"),Ci=yi("w"),bi=yi("M"),Mi=yi("Q"),xi=yi("y");function Di(e){return function(){return this.isValid()?this._data[e]:NaN}}var Yi=Di("milliseconds"),Oi=Di("seconds"),Ni=Di("minutes"),Ei=Di("hours"),Ti=Di("days"),Pi=Di("months"),Ri=Di("years"),Wi=Math.round,Li={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Ui(e,t,n,i,s){return s.relativeTime(t||1,!!n,e,i)}var Bi=Math.abs;function Fi(e){return(e>0)-(e<0)||+e}function Hi(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,s,r,a,o,l=Bi(this._milliseconds)/1e3,c=Bi(this._days),d=Bi(this._months),u=this.asSeconds();return u?(e=be(l/60),t=be(e/60),l%=60,e%=60,n=be(d/12),d%=12,i=l?l.toFixed(3).replace(/\.?0+$/,""):"",s=u<0?"-":"",r=Fi(this._months)!==Fi(u)?"-":"",a=Fi(this._days)!==Fi(u)?"-":"",o=Fi(this._milliseconds)!==Fi(u)?"-":"",s+"P"+(n?r+n+"Y":"")+(d?r+d+"M":"")+(c?a+c+"D":"")+(t||e||l?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(l?o+i+"S":"")):"P0D"}var Vi=kn.prototype;Vi.isValid=function(){return this._isValid},Vi.abs=function(){var e=this._data;return this._milliseconds=fi(this._milliseconds),this._days=fi(this._days),this._months=fi(this._months),e.milliseconds=fi(e.milliseconds),e.seconds=fi(e.seconds),e.minutes=fi(e.minutes),e.hours=fi(e.hours),e.months=fi(e.months),e.years=fi(e.years),this},Vi.add=function(e,t){return mi(this,e,t,1)},Vi.subtract=function(e,t){return mi(this,e,t,-1)},Vi.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=ke(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+pi(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(gi(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},Vi.asMilliseconds=vi,Vi.asSeconds=ki,Vi.asMinutes=wi,Vi.asHours=Ai,Vi.asDays=Si,Vi.asWeeks=Ci,Vi.asMonths=bi,Vi.asQuarters=Mi,Vi.asYears=xi,Vi.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Me(this._months/12):NaN},Vi._bubble=function(){var e,t,n,i,s,r=this._milliseconds,a=this._days,o=this._months,l=this._data;return r>=0&&a>=0&&o>=0||r<=0&&a<=0&&o<=0||(r+=864e5*_i(gi(o)+a),a=0,o=0),l.milliseconds=r%1e3,e=be(r/1e3),l.seconds=e%60,t=be(e/60),l.minutes=t%60,n=be(t/60),l.hours=n%24,a+=be(n/24),o+=s=be(pi(a)),a-=_i(gi(s)),i=be(o/12),o%=12,l.days=a,l.months=o,l.years=i,this},Vi.clone=function(){return Nn(this)},Vi.get=function(e){return e=ke(e),this.isValid()?this[e+"s"]():NaN},Vi.milliseconds=Yi,Vi.seconds=Oi,Vi.minutes=Ni,Vi.hours=Ei,Vi.days=Ti,Vi.weeks=function(){return be(this.days()/7)},Vi.months=Pi,Vi.years=Ri,Vi.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,i,s=!1,r=Li;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(s=e),"object"==typeof t&&(r=Object.assign({},Li,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),i=function(e,t,n,i){var s=Nn(e).abs(),r=Wi(s.as("s")),a=Wi(s.as("m")),o=Wi(s.as("h")),l=Wi(s.as("d")),c=Wi(s.as("M")),d=Wi(s.as("w")),u=Wi(s.as("y")),h=r<=n.ss&&["s",r]||r<n.s&&["ss",r]||a<=1&&["m"]||a<n.m&&["mm",a]||o<=1&&["h"]||o<n.h&&["hh",o]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(h=h||d<=1&&["w"]||d<n.w&&["ww",d]),(h=h||c<=1&&["M"]||c<n.M&&["MM",c]||u<=1&&["y"]||["yy",u])[2]=t,h[3]=+e>0,h[4]=i,Ui.apply(null,h)}(this,!s,r,n=this.localeData()),s&&(i=n.pastFuture(+this,i)),n.postformat(i)},Vi.toISOString=Hi,Vi.toString=Hi,Vi.toJSON=Hi,Vi.locale=Fn,Vi.localeData=Vn,Vi.toIsoString=ne("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Hi),Vi.lang=Hn,me("X",0,0,"unix"),me("x",0,0,"valueOf"),Ze("x",Ie),Ze("X",/[+-]?\d+(\.\d{1,3})?/),Xe("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Xe("x",(function(e,t,n){n._d=new Date(Me(e))})),W.version="2.29.4",P=_n,W.fn=oi,W.min=function(){return yn("isBefore",[].slice.call(arguments,0))},W.max=function(){return yn("isAfter",[].slice.call(arguments,0))},W.now=function(){return Date.now?Date.now():+new Date},W.utc=j,W.unix=function(e){return _n(1e3*e)},W.months=function(e,t){return ui(e,t,"months")},W.isDate=I,W.locale=$t,W.invalid=q,W.duration=Nn,W.isMoment=ee,W.weekdays=function(e,t,n){return hi(e,t,n,"weekdays")},W.parseZone=function(){return _n.apply(null,arguments).parseZone()},W.localeData=Jt,W.isDuration=wn,W.monthsShort=function(e,t){return ui(e,t,"monthsShort")},W.weekdaysMin=function(e,t,n){return hi(e,t,n,"weekdaysMin")},W.defineLocale=qt,W.updateLocale=function(e,t){if(null!=t){var n,i,s=Vt;null!=It[e]&&null!=It[e].parentLocale?It[e].set(oe(It[e]._config,t)):(null!=(i=Zt(e))&&(s=i._config),t=oe(s,t),null==i&&(t.abbr=e),(n=new le(t)).parentLocale=It[e],It[e]=n),$t(e)}else null!=It[e]&&(null!=It[e].parentLocale?(It[e]=It[e].parentLocale,e===$t()&&$t(e)):null!=It[e]&&delete It[e]);return It[e]},W.locales=function(){return ie(It)},W.weekdaysShort=function(e,t,n){return hi(e,t,n,"weekdaysShort")},W.normalizeUnits=ke,W.relativeTimeRounding=function(e){return void 0===e?Wi:"function"==typeof e&&(Wi=e,!0)},W.relativeTimeThreshold=function(e,t){return void 0!==Li[e]&&(void 0===t?Li[e]:(Li[e]=t,"s"===e&&(Li.ss=t-1),!0))},W.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},W.prototype=oi,W.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 Ii={name:"FileIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Gi=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon file-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(t){return e.$emit("click",t)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M13,9V3.5L18.5,9M6,2C4.89,2 4,2.89 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2H6Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},zi=[];const ji=(0,k.n)(Ii,Gi,zi,!1,null,null,null,null).exports,Zi=k.V.extend({name:"NodesPicker",components:{FileSvg:ji,NcCheckboxRadioSwitch:A.Z},props:{incoming:{type:[y.NB,File,y.$B,y.gt],required:!0},existing:{type:[y.$B,y.gt],required:!0},newSelected:{type:Array,required:!0},oldSelected:{type:Array,required:!0}},data:()=>({asyncPreview:null}),computed:{isEnoughSelected(){return this.isChecked(this.incoming,this.newSelected)||this.isChecked(this.existing,this.oldSelected)},incomingPreview(){return this.asyncPreview?this.asyncPreview:this.previewUrl(this.incoming)},existingPreview(){return this.previewUrl(this.existing)}},methods:{lastModified(e){const t=e instanceof File?new Date(e.lastModified):e.mtime;return t?W(t).format("LLL"):(0,k.t)("Last modified date unknown")},size:e=>e.size?(0,y.sS)(e.size,!0):(0,k.t)("Unknown size"),previewUrl(e){if(e instanceof File)this.previewImage(e).then((e=>{this.asyncPreview=e}));else{if(e.type===y.Tv.Folder)return null;try{const t=e.attributes.previewUrl||(0,C.generateUrl)("/core/preview?fileId={fileid}",{fileid:e.fileid}),n=new URL(window.location.origin+t);return n.searchParams.set("x",64..toString()),n.searchParams.set("y",64..toString()),n.searchParams.set("mimeFallback","true"),n.href}catch{return null}}},isChecked:(e,t)=>t.includes(e),onUpdateChecked(e,t){this.$emit(`update:${t}`,...args)},onUpdateIncomingChecked(e){e?this.$emit("update:newSelected",[this.incoming,...this.newSelected]):this.$emit("update:newSelected",this.newSelected.filter((e=>e!==this.incoming)))},onUpdateExistingChecked(e){e?this.$emit("update:oldSelected",[this.existing,...this.oldSelected]):this.$emit("update:oldSelected",this.oldSelected.filter((e=>e!==this.existing)))},previewImage:async e=>new Promise((t=>{if(e.type.startsWith("image/")){const n=new FileReader;n.onload=async n=>{const i=n?.target?.result;if(i instanceof ArrayBuffer){const n=new Blob([i],{type:e.type}),s=URL.createObjectURL(n);t(s)}else t(null)},n.readAsArrayBuffer(e)}})),t:k.t}});var $i=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("fieldset",{staticClass:"node-picker__wrapper",attrs:{"data-cy-conflict-picker-fieldset":e.existing.basename}},[t("legend",[e._v(e._s(e.existing.basename))]),t("NcCheckboxRadioSwitch",{attrs:{checked:e.isChecked(e.incoming,e.newSelected),required:!e.isEnoughSelected,"data-cy-conflict-picker-input-incoming":e.existing.basename},on:{"update:checked":e.onUpdateIncomingChecked}},[t("span",{staticClass:"node-picker node-picker--incoming"},[e.incomingPreview?t("img",{staticClass:"node-picker__preview",attrs:{src:e.incomingPreview,alt:e.t("Preview image"),loading:"lazy"}}):t("FileSvg",{staticClass:"node-picker__icon",attrs:{size:48}}),t("span",{staticClass:"node-picker__desc"},[t("span",{staticClass:"node-picker__name"},[e._v(e._s(e.t("New version")))]),t("span",{staticClass:"node-picker__mtime"},[e._v(e._s(e.lastModified(e.incoming)))]),t("span",{staticClass:"node-picker__size"},[e._v(e._s(e.size(e.incoming)))])])],1)]),t("NcCheckboxRadioSwitch",{attrs:{checked:e.isChecked(e.existing,e.oldSelected),required:!e.isEnoughSelected,"data-cy-conflict-picker-input-existing":e.existing.basename},on:{"update:checked":e.onUpdateExistingChecked}},[t("span",{staticClass:"node-picker node-picker--existing"},[e.existingPreview?t("img",{staticClass:"node-picker__preview",attrs:{src:e.existingPreview,alt:e.t("Preview image"),loading:"lazy"}}):t("FileSvg",{staticClass:"node-picker__icon",attrs:{size:48}}),t("span",{staticClass:"node-picker__desc"},[t("span",{staticClass:"node-picker__name"},[e._v(e._s(e.t("Existing version")))]),t("span",{staticClass:"node-picker__mtime"},[e._v(e._s(e.lastModified(e.existing)))]),t("span",{staticClass:"node-picker__size"},[e._v(e._s(e.size(e.existing)))])])],1)])],1)},qi=[];const Ji=(0,k.n)(Zi,$i,qi,!1,null,"cc039314",null,null).exports,Xi=k.V.extend({name:"ConflictPicker",components:{ArrowRight:Y,Close:T,NcButton:w.Z,NcCheckboxRadioSwitch:A.Z,NcModal:S.Z,NodesPicker:Ji},props:{dirname:{type:String,default:""},content:{type:Array,required:!0},conflicts:{type:Array,required:!0}},data:()=>({files:[],opened:!0,blockedTitle:(0,k.t)("You need to select at least one version of each file to continue."),newSelected:[],oldSelected:[]}),computed:{name(){return""!==this?.dirname?.trim?.()?(0,k.a)("{count} file conflict in {dirname}","{count} file conflicts in {dirname}",this.conflicts.length,{count:this.conflicts.length,dirname:this.dirname}):(0,k.a)("{count} file conflict","{count} files conflict",this.conflicts.length,{count:this.conflicts.length})},skipButtonLabel(){return(0,k.a)("Skip this file","Skip {count} files",this.conflicts.length,{count:this.conflicts.length})},selectAllNewBind(){const e=this.isNoneNewSelected||this.isSomeNewSelected?this.t("Select all"):this.t("Unselect all");return{"aria-label":e,checked:this.isAllNewSelected,indeterminate:this.isSomeNewSelected,title:e}},isAllNewSelected(){return this.newSelected.length===this.conflicts.length},isNoneNewSelected(){return 0===this.newSelected.length},isSomeNewSelected(){return!this.isAllNewSelected&&!this.isNoneNewSelected},selectAllOldBind(){const e=this.isNoneOldSelected||this.isSomeOldSelected?this.t("Select all"):this.t("Unselect all");return{"aria-label":e,checked:this.isAllOldSelected,indeterminate:this.isSomeOldSelected,title:e}},isAllOldSelected(){return this.oldSelected.length===this.files.length},isNoneOldSelected(){return 0===this.oldSelected.length},isSomeOldSelected(){return!this.isAllOldSelected&&!this.isNoneOldSelected},isEnoughSelected(){return!(!this.isAllOldSelected&&!this.isAllNewSelected)||this.$refs?.nodesPicker?.every?.((e=>e.isEnoughSelected))}},beforeMount(){if(this.files=this.conflicts.map((e=>{const t=e instanceof File?e.name:e.basename;return this.content.find((e=>e.basename===t))})).filter(Boolean),k.l.debug("ConflictPicker initialised",{files:this.files,conflicts:this.conflicts,content:this.content}),0===this.conflicts.length||0===this.files.length){const e=new Error("ConflictPicker: files and conflicts must not be empty");throw this.onCancel(e),e}if(this.conflicts.length!==this.files.length){const e=new Error("ConflictPicker: files and conflicts must have the same length");throw this.onCancel(e),e}},methods:{onCancel(e){this.opened=!1,this.$emit("cancel",e)},onSkip(){k.l.debug("Conflict skipped. Ignoring all conflicting files"),this.opened=!1,this.$emit("submit",{selected:[],renamed:[]})},onSubmit(){if(!this.isEnoughSelected)return this.scrollValidityInputIntoView(),this.$refs.form.reportValidity(),void(0,v.x2)(this.blockedTitle);const e=this.oldSelected.map((e=>e.basename)),t=this.content.map((e=>e.basename)),n=[],i=this.newSelected.filter((t=>{const n=t instanceof File?t.name:t.basename;return e.includes(n)}));i.length>0&&i.forEach((e=>{const i=e instanceof File?e.name:e.basename,s=this.getUniqueName(i,t);if(e instanceof File)return e=new File([e],s,{type:e.type,lastModified:e.lastModified}),void n.push(e);e.rename(s),n.push(e)}));const s=this.newSelected.filter((t=>{const n=t instanceof File?t.name:t.basename;return!e.includes(n)}));k.l.debug("Conflict resolved",{selected:s,renamed:n}),this.opened=!1,this.$emit("submit",{selected:s,renamed:n})},getUniqueName(e,t){let n=e,i=1;for(;t.includes(n);){const t=(0,g.extname)(e);n=`${(0,g.basename)(e,t)} (${i++})${t}`}return n},scrollValidityInputIntoView(){const e='.checkbox-radio-switch input[type="checkbox"]';[...this.$el.querySelectorAll(e)].forEach((e=>e?.setCustomValidity?.("")));const t=this.$el.querySelector(e+":invalid");t&&(t.setCustomValidity(this.blockedTitle),t.scrollIntoView({behavior:"instant",block:"center"}))},onSelectAllNew(e){e?(k.l.debug("Selected all new files"),this.newSelected=this.conflicts):(k.l.debug("Cleared new selection"),this.newSelected=[])},onSelectAllOld(e){e?(k.l.debug("Selected all existing files"),this.oldSelected=this.files):(k.l.debug("Cleared old selection"),this.oldSelected=[])},t:k.t}});var Qi=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("NcModal",{staticClass:"conflict-picker",attrs:{"data-cy-conflict-picker":"","close-on-click-outside":!1,show:e.opened,size:"large"},on:{close:e.onCancel}},[t("div",{staticClass:"conflict-picker__header"},[t("h2",{staticClass:"conflict-picker__title",domProps:{textContent:e._s(e.name)}}),t("p",{staticClass:"conflict-picker__description",attrs:{id:"conflict-picker-description"}},[e._v(" "+e._s(e.t("Which files do you want to keep?"))),t("br"),e._v(" "+e._s(e.t("If you select both versions, the copied file will have a number added to its name."))+" ")])]),t("form",{ref:"form",staticClass:"conflict-picker__form",attrs:{"aria-labelledby":"conflict-picker-description","data-cy-conflict-picker-form":""},on:{submit:function(t){return t.preventDefault(),t.stopPropagation(),e.onSubmit.apply(null,arguments)}}},[t("fieldset",{staticClass:"conflict-picker__all",attrs:{"data-cy-conflict-picker-fieldset":"all"}},[t("legend",{staticClass:"hidden-visually"},[e._v(e._s(e.t("Select all checkboxes")))]),t("NcCheckboxRadioSwitch",e._b({attrs:{"data-cy-conflict-picker-input-incoming":"all"},on:{"update:checked":e.onSelectAllNew}},"NcCheckboxRadioSwitch",e.selectAllNewBind,!1),[e._v(" "+e._s(e.t("Select all new files"))+" ")]),t("NcCheckboxRadioSwitch",e._b({attrs:{"data-cy-conflict-picker-input-existing":"all"},on:{"update:checked":e.onSelectAllOld}},"NcCheckboxRadioSwitch",e.selectAllOldBind,!1),[e._v(" "+e._s(e.t("Select all existing files"))+" ")])],1),e._l(e.files,(function(n,i){return t("NodesPicker",{key:n.fileid,ref:"nodesPicker",refInFor:!0,attrs:{incoming:e.conflicts[i],existing:e.files[i],"new-selected":e.newSelected,"old-selected":e.oldSelected},on:{"update:newSelected":function(t){e.newSelected=t},"update:new-selected":function(t){e.newSelected=t},"update:oldSelected":function(t){e.oldSelected=t},"update:old-selected":function(t){e.oldSelected=t}}})}))],2),t("div",{staticClass:"conflict-picker__controls"},[t("NcButton",{attrs:{"data-cy-conflict-picker-skip":""},on:{click:e.onSkip},scopedSlots:e._u([{key:"icon",fn:function(){return[t("Close")]},proxy:!0}])},[e._v(" "+e._s(e.skipButtonLabel)+" ")]),t("NcButton",{class:{"button-vue--disabled":!e.isEnoughSelected},attrs:{type:"primary",title:e.isEnoughSelected?"":e.blockedTitle,"native-type":"submit","data-cy-conflict-picker-submit":""},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.onSubmit.apply(null,arguments)}},scopedSlots:e._u([{key:"icon",fn:function(){return[t("ArrowRight")]},proxy:!0}])},[e._v(" "+e._s(e.t("Continue"))+" ")])],1)])},Ki=[];const es=(0,k.n)(Xi,Qi,Ki,!1,null,"9de22627",null,null).exports}}]);
- //# sourceMappingURL=6297-6297.js.map?v=1e84ac24774ea94e83ae
|