var $s=Object.defineProperty;var Pt=Object.getOwnPropertySymbols;var Zs=Object.prototype.hasOwnProperty,qs=Object.prototype.propertyIsEnumerable;var Wt=(e,t,s)=>t in e?$s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Rt=(e,t)=>{for(var s in t||(t={}))Zs.call(t,s)&&Wt(e,s,t[s]);if(Pt)for(var s of Pt(t))qs.call(t,s)&&Wt(e,s,t[s]);return e};const Bs=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))r(n);new MutationObserver(n=>{for(const i of n)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function s(n){const i={};return n.integrity&&(i.integrity=n.integrity),n.referrerpolicy&&(i.referrerPolicy=n.referrerpolicy),n.crossorigin==="use-credentials"?i.credentials="include":n.crossorigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(n){if(n.ep)return;n.ep=!0;const i=s(n);fetch(n.href,i)}};Bs();var Ue={exports:{}},de=typeof Reflect=="object"?Reflect:null,Et=de&&typeof de.apply=="function"?de.apply:function(t,s,r){return Function.prototype.apply.call(t,s,r)},Le;de&&typeof de.ownKeys=="function"?Le=de.ownKeys:Object.getOwnPropertySymbols?Le=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Le=function(t){return Object.getOwnPropertyNames(t)};function Js(e){console&&console.warn&&console.warn(e)}var zt=Number.isNaN||function(t){return t!==t};function v(){v.init.call(this)}Ue.exports=v;Ue.exports.once=er;v.EventEmitter=v;v.prototype._events=void 0;v.prototype._eventsCount=0;v.prototype._maxListeners=void 0;var Ft=10;function He(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(v,"defaultMaxListeners",{enumerable:!0,get:function(){return Ft},set:function(e){if(typeof e!="number"||e<0||zt(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");Ft=e}});v.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};v.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||zt(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this};function Gt(e){return e._maxListeners===void 0?v.defaultMaxListeners:e._maxListeners}v.prototype.getMaxListeners=function(){return Gt(this)};v.prototype.emit=function(t){for(var s=[],r=1;r0&&(a=s[0]),a instanceof Error)throw a;var l=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw l.context=a,l}var f=i[t];if(f===void 0)return!1;if(typeof f=="function")Et(f,this,s);else for(var m=f.length,O=Jt(f,m),r=0;r0&&a.length>n&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,Js(l)}return e}v.prototype.addListener=function(t,s){return $t(this,t,s,!1)};v.prototype.on=v.prototype.addListener;v.prototype.prependListener=function(t,s){return $t(this,t,s,!0)};function Qs(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function Zt(e,t,s){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:s},n=Qs.bind(r);return n.listener=s,r.wrapFn=n,n}v.prototype.once=function(t,s){return He(s),this.on(t,Zt(this,t,s)),this};v.prototype.prependOnceListener=function(t,s){return He(s),this.prependListener(t,Zt(this,t,s)),this};v.prototype.removeListener=function(t,s){var r,n,i,a,l;if(He(s),n=this._events,n===void 0)return this;if(r=n[t],r===void 0)return this;if(r===s||r.listener===s)--this._eventsCount===0?this._events=Object.create(null):(delete n[t],n.removeListener&&this.emit("removeListener",t,r.listener||s));else if(typeof r!="function"){for(i=-1,a=r.length-1;a>=0;a--)if(r[a]===s||r[a].listener===s){l=r[a].listener,i=a;break}if(i<0)return this;i===0?r.shift():Ks(r,i),r.length===1&&(n[t]=r[0]),n.removeListener!==void 0&&this.emit("removeListener",t,l||s)}return this};v.prototype.off=v.prototype.removeListener;v.prototype.removeAllListeners=function(t){var s,r,n;if(r=this._events,r===void 0)return this;if(r.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):r[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete r[t]),this;if(arguments.length===0){var i=Object.keys(r),a;for(n=0;n=0;n--)this.removeListener(t,s[n]);return this};function qt(e,t,s){var r=e._events;if(r===void 0)return[];var n=r[t];return n===void 0?[]:typeof n=="function"?s?[n.listener||n]:[n]:s?Xs(n):Jt(n,n.length)}v.prototype.listeners=function(t){return qt(this,t,!0)};v.prototype.rawListeners=function(t){return qt(this,t,!1)};v.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):Bt.call(e,t)};v.prototype.listenerCount=Bt;function Bt(e){var t=this._events;if(t!==void 0){var s=t[e];if(typeof s=="function")return 1;if(s!==void 0)return s.length}return 0}v.prototype.eventNames=function(){return this._eventsCount>0?Le(this._events):[]};function Jt(e,t){for(var s=new Array(t),r=0;r=0,this.isIpad=/(iPad).*OS\s([\d_]+)/.test(t),this.isIos=this.isIphone||this.isIpad,this.isAndroid=t.indexOf("Android")>=0,this.isAndroidPad=this.isAndroid&&t.indexOf("Mobile")<0,this.isMac=t.indexOf("Macintosh")>=0,this.isWin=t.indexOf("Windows")>=0,this.isMqq=/QQ\/([\d.]+)/.test(t),this.isWechat=t.indexOf("MicroMessenger")>=0&&t.indexOf("wxwork")<0,this.isWeb=!this.isIos&&!this.isAndroid&&!/(WebOS|BlackBerry)/.test(t),Object.entries(s).forEach(([r,n])=>{this[r]=n})}}const nt="magic:common:events:",Kt="magic:common:actions:",Ye={SHOW:"show",HIDE:"hide",SCROLL_TO_VIEW:"scrollIntoView",SCROLL_TO_TOP:"scrollToTop"},rr=[{label:"\u70B9\u51FB",value:`${nt}click`}],Xt=(e,t)=>{const s=`${e}:${t}`;return e.startsWith(nt)?s:`${nt}${s}`},nr=e=>e.startsWith(Kt),es=(e,t)=>{var r;if(!e)return!1;if(!e.id)return es(e.parentElement,t);const s=(r=t.page)==null?void 0:r.getNode(e.id);return s||!1},Ct=(e,t,s)=>{const r=es(s.target,e);if(r){const{instance:n,data:i}=r;e.emit(Xt(t,i.id),n)}},ir=e=>{window.document.body.addEventListener("click",t=>{Ct(e,"click",t)}),window.document.body.addEventListener("click",t=>{Ct(e,"click:capture",t)},!0)},ar=(e,t)=>{const{instance:s}=t;switch(e.replace(Kt,"")){case Ye.SHOW:s.show();break;case Ye.HIDE:s.hide();break;case Ye.SCROLL_TO_VIEW:s.$el.scrollIntoView({behavior:"smooth"});break;case Ye.SCROLL_TO_TOP:window.scrollTo({top:0,behavior:"smooth"});break}};class It extends Ue.exports.EventEmitter{constructor(t){super();const{events:s}=t;this.data=t,this.events=s,this.listenLifeSafe(),this.once("destroy",()=>{this.instance=null,typeof this.data.destroy=="function"&&this.data.destroy(this),this.listenLifeSafe()})}listenLifeSafe(){this.once("created",t=>{this.instance=t,typeof this.data.created=="function"&&this.data.created(this)}),this.once("mounted",t=>{this.instance=t,typeof this.data.mounted=="function"&&this.data.mounted(this)})}}class or extends It{constructor(t){super(t.config),this.nodes=new Map,this.setNode(t.config.id,this),this.initNode(t.config)}initNode(t){var s;this.setNode(t.id,new It(t)),(s=t.items)==null||s.forEach(r=>{this.initNode(r)})}getNode(t){return this.nodes.get(t)}setNode(t,s){this.nodes.set(t,s)}deleteNode(t){this.nodes.delete(t)}}const lr=e=>{if(typeof e!="string")return e;const t={};return e.split(";").forEach(s=>{if(!s)return;const r=s.split(":");let n=r.shift(),i=r.join(":");!n||(n=n.replace(/^\s*/,"").replace(/\s*$/,""),i=i.replace(/^\s*/,"").replace(/\s*$/,""),n=n.split("-").map((a,l)=>l>0?`${a[0].toUpperCase()}${a.substr(1)}`:a).join(""),t[n]=i)}),t},ur=e=>e&&!/^url/.test(e)&&!/^linear-gradient/.test(e)?`url(${e})`:e;class mo extends Ue.exports.EventEmitter{constructor(t){if(super(),this.pages=new Map,this.platform="mobile",this.jsEngine="browser",this.components=new Map,this.env=new sr(t.ua),t.platform&&(this.platform=t.platform),t.jsEngine&&(this.jsEngine=t.jsEngine),this.platform==="mobile"||this.platform==="editor"){const s=()=>{let{width:r}=document.documentElement.getBoundingClientRect();r=Math.min(800,r);const n=r/3.75;document.documentElement.style.fontSize=`${n}px`};s(),document.body.style.fontSize="14px",globalThis.addEventListener("resize",s)}t.transformStyle&&(this.transformStyle=t.transformStyle),t.config&&this.setConfig(t.config,t.curPage),ir(this)}transformStyle(t){if(!t)return{};let s={};const r={};typeof t=="string"?s=lr(t):s=Rt({},t);const n=["zIndex","opacity","fontWeight"];return Object.entries(s).forEach(([i,a])=>{i==="backgroundImage"?a&&(r[i]=ur(a)):i==="transform"&&typeof a!="string"?r[i]=Object.entries(a).map(([l,f])=>{let m=0;return l==="scale"&&(m=1),`${l}(${f||m})`}).join(" "):!n.includes(i)&&a&&/^[-]?[0-9]*[.]?[0-9]*$/.test(a)?r[i]=`${a/100}rem`:r[i]=a}),r}setConfig(t,s){var r,n,i;this.pages=new Map,(r=t.items)==null||r.forEach(a=>{this.pages.set(a.id,new or({config:a}))}),this.setPage(s||((i=(n=this.page)==null?void 0:n.data)==null?void 0:i.id))}setPage(t){let s;t&&(s=this.pages.get(t)),s||(s=this.pages.get(this.pages.keys().next().value)),this.page=s,this.platform!=="magic"&&this.bindEvents()}registerComponent(t,s){this.components.set(t,s)}unregisterComponent(t){this.components.delete(t)}resolveComponent(t){return this.components.get(t)}bindEvents(){var t;if(!!this.page){this.removeAllListeners();for(const[,s]of this.page.nodes)(t=s.events)==null||t.forEach(r=>{let{name:n}=r;rr.findIndex(i=>i.value===n)>-1&&(n=Xt(n,`${s.data.id}`)),this.on(n,(i,...a)=>{var m;if(!this.page)throw new Error("\u5F53\u524D\u6CA1\u6709\u9875\u9762");const l=this.page.getNode(r.to);if(!l)throw`ID\u4E3A${r.to}\u7684\u7EC4\u4EF6\u4E0D\u5B58\u5728`;const{method:f}=r;if(nr(f))return ar(f,l);typeof((m=l.instance)==null?void 0:m[f])=="function"&&l.instance[f](i,...a)})})}}destroy(){this.removeAllListeners(),this.pages.clear()}}//! moment.js //! version : 2.29.3 //! authors : Tim Wood, Iskren Chernev, Moment.js contributors //! license : MIT //! momentjs.com var ts;function u(){return ts.apply(null,arguments)}function dr(e){ts=e}function C(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function ie(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function ht(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(p(e,t))return!1;return!0}function L(e){return e===void 0}function J(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function Me(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function ss(e,t){var s=[],r,n=e.length;for(r=0;r>>0,r;for(r=0;r0)for(s=0;s=0;return(i?s?"+":"":"-")+Math.pow(10,Math.max(0,n)).toString().substr(1)+r}var yt=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,xe=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,tt={},fe={};function h(e,t,s,r){var n=r;typeof r=="string"&&(n=function(){return this[r]()}),e&&(fe[e]=n),t&&(fe[t[0]]=function(){return H(n.apply(this,arguments),t[1],t[2])}),s&&(fe[s]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function _r(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function yr(e){var t=e.match(yt),s,r;for(s=0,r=t.length;s=0&&xe.test(e);)e=e.replace(xe,r),xe.lastIndex=0,s-=1;return e}var pr={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 gr(e){var t=this._longDateFormat[e],s=this._longDateFormat[e.toUpperCase()];return t||!s?t:(this._longDateFormat[e]=s.match(yt).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var vr="Invalid date";function wr(){return this._invalidDate}var kr="%d",Sr=/\d{1,2}/;function Mr(e){return this._ordinal.replace("%d",e)}var br={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 Dr(e,t,s,r){var n=this._relativeTime[s];return V(n)?n(e,t,s,r):n.replace(/%d/i,e)}function Or(e,t){var s=this._relativeTime[e>0?"future":"past"];return V(s)?s(t):s.replace(/%s/i,t)}var ge={};function x(e,t){var s=e.toLowerCase();ge[s]=ge[s+"s"]=ge[t]=e}function E(e){return typeof e=="string"?ge[e]||ge[e.toLowerCase()]:void 0}function pt(e){var t={},s,r;for(r in e)p(e,r)&&(s=E(r),s&&(t[s]=e[r]));return t}var as={};function T(e,t){as[e]=t}function Yr(e){var t=[],s;for(s in e)p(e,s)&&t.push({unit:s,priority:as[s]});return t.sort(function(r,n){return r.priority-n.priority}),t}function Ve(e){return e%4===0&&e%100!==0||e%400===0}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}function me(e,t){return function(s){return s!=null?(os(this,e,s),u.updateOffset(this,t),this):Re(this,e)}}function Re(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function os(e,t,s){e.isValid()&&!isNaN(s)&&(t==="FullYear"&&Ve(e.year())&&e.month()===1&&e.date()===29?(s=_(s),e._d["set"+(e._isUTC?"UTC":"")+t](s,e.month(),Be(s,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](s))}function xr(e){return e=E(e),V(this[e])?this[e]():this}function Tr(e,t){if(typeof e=="object"){e=pt(e);var s=Yr(e),r,n=s.length;for(r=0;r68?1900:2e3)};var ps=me("FullYear",!0);function qr(){return Ve(this.year())}function Br(e,t,s,r,n,i,a){var l;return e<100&&e>=0?(l=new Date(e+400,t,s,r,n,i,a),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,s,r,n,i,a),l}function we(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 Fe(e,t,s){var r=7+t-s,n=(7+we(e,0,r).getUTCDay()-t)%7;return-n+r-1}function gs(e,t,s,r,n){var i=(7+s-r)%7,a=Fe(e,r,n),l=1+7*(t-1)+i+a,f,m;return l<=0?(f=e-1,m=ve(f)+l):l>ve(e)?(f=e+1,m=l-ve(e)):(f=e,m=l),{year:f,dayOfYear:m}}function ke(e,t,s){var r=Fe(e.year(),t,s),n=Math.floor((e.dayOfYear()-r-1)/7)+1,i,a;return n<1?(a=e.year()-1,i=n+B(a,t,s)):n>B(e.year(),t,s)?(i=n-B(e.year(),t,s),a=e.year()+1):(a=e.year(),i=n),{week:i,year:a}}function B(e,t,s){var r=Fe(e,t,s),n=Fe(e+1,t,s);return(ve(e)-r+n)/7}h("w",["ww",2],"wo","week");h("W",["WW",2],"Wo","isoWeek");x("week","w");x("isoWeek","W");T("week",5);T("isoWeek",5);d("w",S);d("ww",S,P);d("W",S);d("WW",S,P);Oe(["w","ww","W","WW"],function(e,t,s,r){t[r.substr(0,1)]=_(e)});function Jr(e){return ke(e,this._week.dow,this._week.doy).week}var Qr={dow:0,doy:6};function Kr(){return this._week.dow}function Xr(){return this._week.doy}function en(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function tn(e){var t=ke(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");x("day","d");x("weekday","e");x("isoWeekday","E");T("day",11);T("weekday",11);T("isoWeekday",11);d("d",S);d("e",S);d("E",S);d("dd",function(e,t){return t.weekdaysMinRegex(e)});d("ddd",function(e,t){return t.weekdaysShortRegex(e)});d("dddd",function(e,t){return t.weekdaysRegex(e)});Oe(["dd","ddd","dddd"],function(e,t,s,r){var n=s._locale.weekdaysParse(e,r,s._strict);n!=null?t.d=n:c(s).invalidWeekday=e});Oe(["d","e","E"],function(e,t,s,r){t[r]=_(e)});function sn(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function rn(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function wt(e,t){return e.slice(t,7).concat(e.slice(0,t))}var nn="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),vs="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),an="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),on=De,ln=De,un=De;function dn(e,t){var s=C(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?wt(s,this._week.dow):e?s[e.day()]:s}function fn(e){return e===!0?wt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function hn(e){return e===!0?wt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function cn(e,t,s){var r,n,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=j([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return s?t==="dddd"?(n=b.call(this._weekdaysParse,a),n!==-1?n:null):t==="ddd"?(n=b.call(this._shortWeekdaysParse,a),n!==-1?n:null):(n=b.call(this._minWeekdaysParse,a),n!==-1?n:null):t==="dddd"?(n=b.call(this._weekdaysParse,a),n!==-1||(n=b.call(this._shortWeekdaysParse,a),n!==-1)?n:(n=b.call(this._minWeekdaysParse,a),n!==-1?n:null)):t==="ddd"?(n=b.call(this._shortWeekdaysParse,a),n!==-1||(n=b.call(this._weekdaysParse,a),n!==-1)?n:(n=b.call(this._minWeekdaysParse,a),n!==-1?n:null)):(n=b.call(this._minWeekdaysParse,a),n!==-1||(n=b.call(this._weekdaysParse,a),n!==-1)?n:(n=b.call(this._shortWeekdaysParse,a),n!==-1?n:null))}function mn(e,t,s){var r,n,i;if(this._weekdaysParseExact)return cn.call(this,e,t,s);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(n=j([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]||(i="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[r]=new RegExp(i.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 _n(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=sn(e,this.localeData()),this.add(e-t,"d")):t}function yn(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function pn(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=rn(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function gn(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||kt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=on),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function vn(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||kt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ln),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function wn(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||kt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=un),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function kt(){function e(O,z){return z.length-O.length}var t=[],s=[],r=[],n=[],i,a,l,f,m;for(i=0;i<7;i++)a=j([2e3,1]).day(i),l=N(this.weekdaysMin(a,"")),f=N(this.weekdaysShort(a,"")),m=N(this.weekdays(a,"")),t.push(l),s.push(f),r.push(m),n.push(l),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 St(){return this.hours()%12||12}function kn(){return this.hours()||24}h("H",["HH",2],0,"hour");h("h",["hh",2],0,St);h("k",["kk",2],0,kn);h("hmm",0,0,function(){return""+St.apply(this)+H(this.minutes(),2)});h("hmmss",0,0,function(){return""+St.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 ws(e,t){h(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}ws("a",!0);ws("A",!1);x("hour","h");T("hour",13);function ks(e,t){return t._meridiemParse}d("a",ks);d("A",ks);d("H",S);d("h",S);d("k",S);d("HH",S,P);d("hh",S,P);d("kk",S,P);d("hmm",ds);d("hmmss",fs);d("Hmm",ds);d("Hmmss",fs);w(["H","HH"],D);w(["k","kk"],function(e,t,s){var r=_(e);t[D]=r===24?0:r});w(["a","A"],function(e,t,s){s._isPm=s._locale.isPM(e),s._meridiem=e});w(["h","hh"],function(e,t,s){t[D]=_(e),c(s).bigHour=!0});w("hmm",function(e,t,s){var r=e.length-2;t[D]=_(e.substr(0,r)),t[F]=_(e.substr(r)),c(s).bigHour=!0});w("hmmss",function(e,t,s){var r=e.length-4,n=e.length-2;t[D]=_(e.substr(0,r)),t[F]=_(e.substr(r,2)),t[q]=_(e.substr(n)),c(s).bigHour=!0});w("Hmm",function(e,t,s){var r=e.length-2;t[D]=_(e.substr(0,r)),t[F]=_(e.substr(r))});w("Hmmss",function(e,t,s){var r=e.length-4,n=e.length-2;t[D]=_(e.substr(0,r)),t[F]=_(e.substr(r,2)),t[q]=_(e.substr(n))});function Sn(e){return(e+"").toLowerCase().charAt(0)==="p"}var Mn=/[ap]\.?m?\.?/i,bn=me("Hours",!0);function Dn(e,t,s){return e>11?s?"pm":"PM":s?"am":"AM"}var Ss={calendar:cr,longDateFormat:pr,invalidDate:vr,ordinal:kr,dayOfMonthOrdinalParse:Sr,relativeTime:br,months:Ir,monthsShort:hs,week:Qr,weekdays:nn,weekdaysMin:an,weekdaysShort:vs,meridiemParse:Mn},M={},ye={},Se;function On(e,t){var s,r=Math.min(e.length,t.length);for(s=0;s0;){if(n=Je(i.slice(0,s).join("-")),n)return n;if(r&&r.length>=s&&On(i,r)>=s-1)break;s--}t++}return Se}function xn(e){return e.match("^[^/\\\\]*$")!=null}function Je(e){var t=null,s;if(M[e]===void 0&&typeof module!="undefined"&&module&&module.exports&&xn(e))try{t=Se._abbr,s=require,s("./locale/"+e),se(t)}catch{M[e]=null}return M[e]}function se(e,t){var s;return e&&(L(t)?s=Q(e):s=Mt(e,t),s?Se=s:typeof console!="undefined"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Se._abbr}function Mt(e,t){if(t!==null){var s,r=Ss;if(t.abbr=e,M[e]!=null)ns("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=M[e]._config;else if(t.parentLocale!=null)if(M[t.parentLocale]!=null)r=M[t.parentLocale]._config;else if(s=Je(t.parentLocale),s!=null)r=s._config;else return ye[t.parentLocale]||(ye[t.parentLocale]=[]),ye[t.parentLocale].push({name:e,config:t}),null;return M[e]=new _t(at(r,t)),ye[e]&&ye[e].forEach(function(n){Mt(n.name,n.config)}),se(e),M[e]}else return delete M[e],null}function Tn(e,t){if(t!=null){var s,r,n=Ss;M[e]!=null&&M[e].parentLocale!=null?M[e].set(at(M[e]._config,t)):(r=Je(e),r!=null&&(n=r._config),t=at(n,t),r==null&&(t.abbr=e),s=new _t(t),s.parentLocale=M[e],M[e]=s),se(e)}else M[e]!=null&&(M[e].parentLocale!=null?(M[e]=M[e].parentLocale,e===se()&&se(e)):M[e]!=null&&delete M[e]);return M[e]}function Q(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Se;if(!C(e)){if(t=Je(e),t)return t;e=[e]}return Yn(e)}function Ln(){return ot(M)}function bt(e){var t,s=e._a;return s&&c(e).overflow===-2&&(t=s[Z]<0||s[Z]>11?Z:s[U]<1||s[U]>Be(s[Y],s[Z])?U:s[D]<0||s[D]>24||s[D]===24&&(s[F]!==0||s[q]!==0||s[ne]!==0)?D:s[F]<0||s[F]>59?F:s[q]<0||s[q]>59?q:s[ne]<0||s[ne]>999?ne:-1,c(e)._overflowDayOfYear&&(tU)&&(t=U),c(e)._overflowWeeks&&t===-1&&(t=Er),c(e)._overflowWeekday&&t===-1&&(t=Fr),c(e).overflow=t),e}var Nn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Pn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Wn=/Z|[+-]\d\d(?::?\d\d)?/,Te=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],st=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Rn=/^\/?Date\((-?\d+)/i,En=/^(?:(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}))$/,Fn={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Ms(e){var t,s,r=e._i,n=Nn.exec(r)||Pn.exec(r),i,a,l,f,m=Te.length,O=st.length;if(n){for(c(e).iso=!0,t=0,s=m;tve(a)||e._dayOfYear===0)&&(c(e)._overflowDayOfYear=!0),s=we(a,0,e._dayOfYear),e._a[Z]=s.getUTCMonth(),e._a[U]=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[D]===24&&e._a[F]===0&&e._a[q]===0&&e._a[ne]===0&&(e._nextDay=!0,e._a[D]=0),e._d=(e._useUTC?we:Br).apply(null,r),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[D]=24),e._w&&typeof e._w.d!="undefined"&&e._w.d!==i&&(c(e).weekdayMismatch=!0)}}function zn(e){var t,s,r,n,i,a,l,f,m;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,a=4,s=le(t.GG,e._a[Y],ke(k(),1,4).year),r=le(t.W,1),n=le(t.E,1),(n<1||n>7)&&(f=!0)):(i=e._locale._week.dow,a=e._locale._week.doy,m=ke(k(),i,a),s=le(t.gg,e._a[Y],m.year),r=le(t.w,m.week),t.d!=null?(n=t.d,(n<0||n>6)&&(f=!0)):t.e!=null?(n=t.e+i,(t.e<0||t.e>6)&&(f=!0)):n=i),r<1||r>B(s,i,a)?c(e)._overflowWeeks=!0:f!=null?c(e)._overflowWeekday=!0:(l=gs(s,r,n,i,a),e._a[Y]=l.year,e._dayOfYear=l.dayOfYear)}u.ISO_8601=function(){};u.RFC_2822=function(){};function Ot(e){if(e._f===u.ISO_8601){Ms(e);return}if(e._f===u.RFC_2822){bs(e);return}e._a=[],c(e).empty=!0;var t=""+e._i,s,r,n,i,a,l=t.length,f=0,m,O;for(n=is(e._f,e._locale).match(yt)||[],O=n.length,s=0;s0&&c(e).unusedInput.push(a),t=t.slice(t.indexOf(r)+r.length),f+=r.length),fe[i]?(r?c(e).empty=!1:c(e).unusedTokens.push(i),Rr(i,r,e)):e._strict&&!r&&c(e).unusedTokens.push(i);c(e).charsLeftOver=l-f,t.length>0&&c(e).unusedInput.push(t),e._a[D]<=12&&c(e).bigHour===!0&&e._a[D]>0&&(c(e).bigHour=void 0),c(e).parsedDateParts=e._a.slice(0),c(e).meridiem=e._meridiem,e._a[D]=Gn(e._locale,e._a[D],e._meridiem),m=c(e).era,m!==null&&(e._a[Y]=e._locale.erasConvertYear(m,e._a[Y])),Dt(e),bt(e)}function Gn(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 $n(e){var t,s,r,n,i,a,l=!1,f=e._f.length;if(f===0){c(e).invalidFormat=!0,e._d=new Date(NaN);return}for(n=0;nthis?this:e:je()});function Ys(e,t){var s,r;if(t.length===1&&C(t[0])&&(t=t[0]),!t.length)return k();for(s=t[0],r=1;rthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function ci(){if(!L(this._isDSTShifted))return this._isDSTShifted;var e={},t;return mt(e,this),e=Ds(e),e._a?(t=e._isUTC?j(e._a):k(e._a),this._isDSTShifted=this.isValid()&&ni(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function mi(){return this.isValid()?!this._isUTC:!1}function _i(){return this.isValid()?this._isUTC:!1}function Ts(){return this.isValid()?this._isUTC&&this._offset===0:!1}var yi=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,pi=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function A(e,t){var s=e,r=null,n,i,a;return Pe(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:J(e)||!isNaN(+e)?(s={},t?s[t]=+e:s.milliseconds=+e):(r=yi.exec(e))?(n=r[1]==="-"?-1:1,s={y:0,d:_(r[U])*n,h:_(r[D])*n,m:_(r[F])*n,s:_(r[q])*n,ms:_(ut(r[ne]*1e3))*n}):(r=pi.exec(e))?(n=r[1]==="-"?-1:1,s={y:re(r[2],n),M:re(r[3],n),w:re(r[4],n),d:re(r[5],n),h:re(r[6],n),m:re(r[7],n),s:re(r[8],n)}):s==null?s={}:typeof s=="object"&&("from"in s||"to"in s)&&(a=gi(k(s.from),k(s.to)),s={},s.ms=a.milliseconds,s.M=a.months),i=new Qe(s),Pe(e)&&p(e,"_locale")&&(i._locale=e._locale),Pe(e)&&p(e,"_isValid")&&(i._isValid=e._isValid),i}A.fn=Qe.prototype;A.invalid=ri;function re(e,t){var s=e&&parseFloat(e.replace(",","."));return(isNaN(s)?0:s)*t}function jt(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 gi(e,t){var s;return e.isValid()&&t.isValid()?(t=xt(t,e),e.isBefore(t)?s=jt(e,t):(s=jt(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,i;return r!==null&&!isNaN(+r)&&(ns(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."),i=s,s=r,r=i),n=A(s,r),Ns(this,n,e),this}}function Ns(e,t,s,r){var n=t._milliseconds,i=ut(t._days),a=ut(t._months);!e.isValid()||(r=r==null?!0:r,a&&ms(e,Re(e,"Month")+a*s),i&&os(e,"Date",Re(e,"Date")+i*s),n&&e._d.setTime(e._d.valueOf()+n*s),r&&u.updateOffset(e,i||a))}var vi=Ls(1,"add"),wi=Ls(-1,"subtract");function Ps(e){return typeof e=="string"||e instanceof String}function ki(e){return I(e)||Me(e)||Ps(e)||J(e)||Mi(e)||Si(e)||e===null||e===void 0}function Si(e){var t=ie(e)&&!ht(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,i,a=r.length;for(n=0;ns.valueOf():s.valueOf()9999?Ne(s,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):V(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Ne(s,"Z")):Ne(s,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Ci(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",s,r,n,i;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",i=t+'[")]',this.format(s+r+n+i)}function Ii(e){e||(e=this.isUtc()?u.defaultFormatUtc:u.defaultFormat);var t=Ne(this,e);return this.localeData().postformat(t)}function Ai(e,t){return this.isValid()&&(I(e)&&e.isValid()||k(e).isValid())?A({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Ui(e){return this.from(k(),e)}function Hi(e,t){return this.isValid()&&(I(e)&&e.isValid()||k(e).isValid())?A({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ji(e){return this.to(k(),e)}function Ws(e){var t;return e===void 0?this._locale._abbr:(t=Q(e),t!=null&&(this._locale=t),this)}var Rs=R("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Es(){return this._locale}var Ce=1e3,he=60*Ce,Ie=60*he,Fs=(365*400+97)*24*Ie;function ce(e,t){return(e%t+t)%t}function Cs(e,t,s){return e<100&&e>=0?new Date(e+400,t,s)-Fs:new Date(e,t,s).valueOf()}function Is(e,t,s){return e<100&&e>=0?Date.UTC(e+400,t,s)-Fs:Date.UTC(e,t,s)}function Vi(e){var t,s;if(e=E(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?Is:Cs,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-=ce(t+(this._isUTC?0:this.utcOffset()*he),Ie);break;case"minute":t=this._d.valueOf(),t-=ce(t,he);break;case"second":t=this._d.valueOf(),t-=ce(t,Ce);break}return this._d.setTime(t),u.updateOffset(this,!0),this}function zi(e){var t,s;if(e=E(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?Is:Cs,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+=Ie-ce(t+(this._isUTC?0:this.utcOffset()*he),Ie)-1;break;case"minute":t=this._d.valueOf(),t+=he-ce(t,he)-1;break;case"second":t=this._d.valueOf(),t+=Ce-ce(t,Ce)-1;break}return this._d.setTime(t),u.updateOffset(this,!0),this}function Gi(){return this._d.valueOf()-(this._offset||0)*6e4}function $i(){return Math.floor(this.valueOf()/1e3)}function Zi(){return new Date(this.valueOf())}function qi(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Bi(){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 Ji(){return this.isValid()?this.toISOString():null}function Qi(){return ct(this)}function Ki(){return ee({},c(this))}function Xi(){return c(this).overflow}function ea(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}h("N",0,0,"eraAbbr");h("NN",0,0,"eraAbbr");h("NNN",0,0,"eraAbbr");h("NNNN",0,0,"eraName");h("NNNNN",0,0,"eraNarrow");h("y",["y",1],"yo","eraYear");h("y",["yy",2],0,"eraYear");h("y",["yyy",3],0,"eraYear");h("y",["yyyy",4],0,"eraYear");d("N",Tt);d("NN",Tt);d("NNN",Tt);d("NNNN",fa);d("NNNNN",ha);w(["N","NN","NNN","NNNN","NNNNN"],function(e,t,s,r){var n=s._locale.erasParse(e,r,s._strict);n?c(s).era=n:c(s).invalidEra=e});d("y",_e);d("yy",_e);d("yyy",_e);d("yyyy",_e);d("yo",ca);w(["y","yy","yyy","yyyy"],Y);w(["yo"],function(e,t,s,r){var n;s._locale._eraYearOrdinalRegex&&(n=e.match(s._locale._eraYearOrdinalRegex)),s._locale.eraYearOrdinalParse?t[Y]=s._locale.eraYearOrdinalParse(e,n):t[Y]=parseInt(e,10)});function ta(e,t){var s,r,n,i=this._eras||Q("en")._eras;for(s=0,r=i.length;s=0)return i[r]}function ra(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 na(){var e,t,s,r=this.localeData().eras();for(e=0,t=r.length;ei&&(t=i),wa.call(this,e,t,s,r,n))}function wa(e,t,s,r,n){var i=gs(e,t,s,r,n),a=we(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}h("Q",0,"Qo","quarter");x("quarter","Q");T("quarter",7);d("Q",ls);w("Q",function(e,t){t[Z]=(_(e)-1)*3});function ka(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}h("D",["DD",2],"Do","date");x("date","D");T("date",9);d("D",S);d("DD",S,P);d("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});w(["D","DD"],U);w("Do",function(e,t){t[U]=_(e.match(S)[0])});var Us=me("Date",!0);h("DDD",["DDDD",3],"DDDo","dayOfYear");x("dayOfYear","DDD");T("dayOfYear",4);d("DDD",Ge);d("DDDD",us);w(["DDD","DDDD"],function(e,t,s){s._dayOfYear=_(e)});function Sa(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");x("minute","m");T("minute",14);d("m",S);d("mm",S,P);w(["m","mm"],F);var Ma=me("Minutes",!1);h("s",["ss",2],0,"second");x("second","s");T("second",15);d("s",S);d("ss",S,P);w(["s","ss"],q);var ba=me("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});x("millisecond","ms");T("millisecond",16);d("S",Ge,ls);d("SS",Ge,P);d("SSS",Ge,us);var te,Hs;for(te="SSSS";te.length<=9;te+="S")d(te,_e);function Da(e,t){t[ne]=_(("0."+e)*1e3)}for(te="S";te.length<=9;te+="S")w(te,Da);Hs=me("Milliseconds",!1);h("z",0,0,"zoneAbbr");h("zz",0,0,"zoneName");function Oa(){return this._isUTC?"UTC":""}function Ya(){return this._isUTC?"Coordinated Universal Time":""}var o=be.prototype;o.add=vi;o.calendar=Oi;o.clone=Yi;o.diff=Ri;o.endOf=zi;o.format=Ii;o.from=Ai;o.fromNow=Ui;o.to=Hi;o.toNow=ji;o.get=xr;o.invalidAt=Xi;o.isAfter=xi;o.isBefore=Ti;o.isBetween=Li;o.isSame=Ni;o.isSameOrAfter=Pi;o.isSameOrBefore=Wi;o.isValid=Qi;o.lang=Rs;o.locale=Ws;o.localeData=Es;o.max=Qn;o.min=Jn;o.parsingFlags=Ki;o.set=Tr;o.startOf=Vi;o.subtract=wi;o.toArray=qi;o.toObject=Bi;o.toDate=Zi;o.toISOString=Fi;o.inspect=Ci;typeof Symbol!="undefined"&&Symbol.for!=null&&(o[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});o.toJSON=Ji;o.toString=Ei;o.unix=$i;o.valueOf=Gi;o.creationData=ea;o.eraName=na;o.eraNarrow=ia;o.eraAbbr=aa;o.eraYear=oa;o.year=ps;o.isLeapYear=qr;o.weekYear=ma;o.isoWeekYear=_a;o.quarter=o.quarters=ka;o.month=_s;o.daysInMonth=Gr;o.week=o.weeks=en;o.isoWeek=o.isoWeeks=tn;o.weeksInYear=ga;o.weeksInWeekYear=va;o.isoWeeksInYear=ya;o.isoWeeksInISOWeekYear=pa;o.date=Us;o.day=o.days=_n;o.weekday=yn;o.isoWeekday=pn;o.dayOfYear=Sa;o.hour=o.hours=bn;o.minute=o.minutes=Ma;o.second=o.seconds=ba;o.millisecond=o.milliseconds=Hs;o.utcOffset=ai;o.utc=li;o.local=ui;o.parseZone=di;o.hasAlignedHourOffset=fi;o.isDST=hi;o.isLocal=mi;o.isUtcOffset=_i;o.isUtc=Ts;o.isUTC=Ts;o.zoneAbbr=Oa;o.zoneName=Ya;o.dates=R("dates accessor is deprecated. Use date instead.",Us);o.months=R("months accessor is deprecated. Use month instead",_s);o.years=R("years accessor is deprecated. Use year instead",ps);o.zone=R("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",oi);o.isDSTShifted=R("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",ci);function xa(e){return k(e*1e3)}function Ta(){return k.apply(null,arguments).parseZone()}function js(e){return e}var g=_t.prototype;g.calendar=mr;g.longDateFormat=gr;g.invalidDate=wr;g.ordinal=Mr;g.preparse=js;g.postformat=js;g.relativeTime=Dr;g.pastFuture=Or;g.set=hr;g.eras=ta;g.erasParse=sa;g.erasConvertYear=ra;g.erasAbbrRegex=ua;g.erasNameRegex=la;g.erasNarrowRegex=da;g.months=Hr;g.monthsShort=jr;g.monthsParse=zr;g.monthsRegex=Zr;g.monthsShortRegex=$r;g.week=Jr;g.firstDayOfYear=Xr;g.firstDayOfWeek=Kr;g.weekdays=dn;g.weekdaysMin=hn;g.weekdaysShort=fn;g.weekdaysParse=mn;g.weekdaysRegex=gn;g.weekdaysShortRegex=vn;g.weekdaysMinRegex=wn;g.isPM=Sn;g.meridiem=Dn;function Ae(e,t,s,r){var n=Q(),i=j().set(r,t);return n[s](i,e)}function Vs(e,t,s){if(J(e)&&(t=e,e=void 0),e=e||"",t!=null)return Ae(e,t,s,"month");var r,n=[];for(r=0;r<12;r++)n[r]=Ae(e,r,s,"month");return n}function Nt(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(),i=e?n._week.dow:0,a,l=[];if(s!=null)return Ae(t,(s+i)%7,r,"day");for(a=0;a<7;a++)l[a]=Ae(t,(a+i)%7,r,"day");return l}function La(e,t){return Vs(e,t,"months")}function Na(e,t){return Vs(e,t,"monthsShort")}function Pa(e,t,s){return Nt(e,t,s,"weekdays")}function Wa(e,t,s){return Nt(e,t,s,"weekdaysShort")}function Ra(e,t,s){return Nt(e,t,s,"weekdaysMin")}se("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=R("moment.lang is deprecated. Use moment.locale instead.",se);u.langData=R("moment.langData is deprecated. Use moment.localeData instead.",Q);var G=Math.abs;function Ea(){var e=this._data;return this._milliseconds=G(this._milliseconds),this._days=G(this._days),this._months=G(this._months),e.milliseconds=G(e.milliseconds),e.seconds=G(e.seconds),e.minutes=G(e.minutes),e.hours=G(e.hours),e.months=G(e.months),e.years=G(e.years),this}function zs(e,t,s,r){var n=A(t,s);return e._milliseconds+=r*n._milliseconds,e._days+=r*n._days,e._months+=r*n._months,e._bubble()}function Fa(e,t){return zs(this,e,t,1)}function Ca(e,t){return zs(this,e,t,-1)}function Vt(e){return e<0?Math.floor(e):Math.ceil(e)}function Ia(){var e=this._milliseconds,t=this._days,s=this._months,r=this._data,n,i,a,l,f;return e>=0&&t>=0&&s>=0||e<=0&&t<=0&&s<=0||(e+=Vt(ft(s)+t)*864e5,t=0,s=0),r.milliseconds=e%1e3,n=W(e/1e3),r.seconds=n%60,i=W(n/60),r.minutes=i%60,a=W(i/60),r.hours=a%24,t+=W(a/24),f=W(Gs(t)),s+=f,t-=Vt(ft(f)),l=W(s/12),s%=12,r.days=t,r.months=s,r.years=l,this}function Gs(e){return e*4800/146097}function ft(e){return e*146097/4800}function Aa(e){if(!this.isValid())return NaN;var t,s,r=this._milliseconds;if(e=E(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,s=this._months+Gs(t),e){case"month":return s;case"quarter":return s/3;case"year":return s/12}else switch(t=this._days+Math.round(ft(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 Ua(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+_(this._months/12)*31536e6:NaN}function K(e){return function(){return this.as(e)}}var Ha=K("ms"),ja=K("s"),Va=K("m"),za=K("h"),Ga=K("d"),$a=K("w"),Za=K("M"),qa=K("Q"),Ba=K("y");function Ja(){return A(this)}function Qa(e){return e=E(e),this.isValid()?this[e+"s"]():NaN}function ae(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ka=ae("milliseconds"),Xa=ae("seconds"),eo=ae("minutes"),to=ae("hours"),so=ae("days"),ro=ae("months"),no=ae("years");function io(){return W(this.days()/7)}var $=Math.round,ue={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ao(e,t,s,r,n){return n.relativeTime(t||1,!!s,e,r)}function oo(e,t,s,r){var n=A(e).abs(),i=$(n.as("s")),a=$(n.as("m")),l=$(n.as("h")),f=$(n.as("d")),m=$(n.as("M")),O=$(n.as("w")),z=$(n.as("y")),X=i<=s.ss&&["s",i]||i0,X[4]=r,ao.apply(null,X)}function lo(e){return e===void 0?$:typeof e=="function"?($=e,!0):!1}function uo(e,t){return ue[e]===void 0?!1:t===void 0?ue[e]:(ue[e]=t,e==="s"&&(ue.ss=t-1),!0)}function fo(e,t){if(!this.isValid())return this.localeData().invalidDate();var s=!1,r=ue,n,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(s=e),typeof t=="object"&&(r=Object.assign({},ue,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),n=this.localeData(),i=oo(this,!s,r,n),s&&(i=n.pastFuture(+this,i)),n.postformat(i)}var rt=Math.abs;function oe(e){return(e>0)-(e<0)||+e}function Xe(){if(!this.isValid())return this.localeData().invalidDate();var e=rt(this._milliseconds)/1e3,t=rt(this._days),s=rt(this._months),r,n,i,a,l=this.asSeconds(),f,m,O,z;return l?(r=W(e/60),n=W(r/60),e%=60,r%=60,i=W(s/12),s%=12,a=e?e.toFixed(3).replace(/\.?0+$/,""):"",f=l<0?"-":"",m=oe(this._months)!==oe(l)?"-":"",O=oe(this._days)!==oe(l)?"-":"",z=oe(this._milliseconds)!==oe(l)?"-":"",f+"P"+(i?m+i+"Y":"")+(s?m+s+"M":"")+(t?O+t+"D":"")+(n||r||e?"T":"")+(n?z+n+"H":"")+(r?z+r+"M":"")+(e?z+a+"S":"")):"P0D"}var y=Qe.prototype;y.isValid=si;y.abs=Ea;y.add=Fa;y.subtract=Ca;y.as=Aa;y.asMilliseconds=Ha;y.asSeconds=ja;y.asMinutes=Va;y.asHours=za;y.asDays=Ga;y.asWeeks=$a;y.asMonths=Za;y.asQuarters=qa;y.asYears=Ba;y.valueOf=Ua;y._bubble=Ia;y.clone=Ja;y.get=Qa;y.milliseconds=Ka;y.seconds=Xa;y.minutes=eo;y.hours=to;y.days=so;y.weeks=io;y.months=ro;y.years=no;y.humanize=fo;y.toISOString=Xe;y.toString=Xe;y.toJSON=Xe;y.locale=Ws;y.localeData=Es;y.toIsoString=R("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Xe);y.lang=Rs;h("X",0,0,"unix");h("x",0,0,"valueOf");d("x",Ze);d("X",Nr);w("X",function(e,t,s){s._d=new Date(parseFloat(e)*1e3)});w("x",function(e,t,s){s._d=new Date(_(e))});//! moment.js u.version="2.29.3";dr(k);u.fn=o;u.min=Kn;u.max=Xn;u.now=ei;u.utc=j;u.unix=xa;u.months=La;u.isDate=Me;u.locale=se;u.invalid=je;u.duration=A;u.isMoment=I;u.weekdays=Pa;u.parseZone=Ta;u.localeData=Q;u.isDuration=Pe;u.monthsShort=Na;u.weekdaysMin=Ra;u.defineLocale=Mt;u.updateLocale=Tn;u.locales=Ln;u.weekdaysShort=Wa;u.normalizeUnits=E;u.relativeTimeRounding=lo;u.relativeTimeThreshold=uo;u.calendarFormat=Di;u.prototype=o;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 _o=(e="")=>e.replace(/\B([A-Z])/g,"-$1").toLowerCase(),yo=(e,t=[])=>{const s=[],r=function(n,i){if(!Array.isArray(i))return null;for(let a=0,l=i.length;ae.replace(//g,">").replace(/"/g,""").replace(/'/g,"'"),po=(e,t)=>{const s=t||location.href,r=new RegExp(`[?&#]${e}=([^&#]+)`,"gi"),n=s.match(r);let i;return n&&n.length>0?(i=n[n.length-1].split("="),i&&i.length>1?ho(i[1]):""):""};var go=(e,t)=>{const s=e.__vccOpts||e;for(const[r,n]of t)s[r]=n;return s};export{mo as A,go as _,yo as a,po as g,_o as t}; //# sourceMappingURL=plugin-vue_export-helper.8f6f5b47.js.map