@fluid-topics/ft-analytics-sessions-chart 1.1.35 → 1.1.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -49,7 +49,7 @@ const E=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
49
49
  * @license
50
50
  * Copyright 2017 Google LLC
51
51
  * SPDX-License-Identifier: BSD-3-Clause
52
- */const W=globalThis,Y=W.trustedTypes,D=Y?Y.createPolicy("lit-html",{createHTML:t=>t}):void 0,k="$lit$",I=`lit$${(Math.random()+"").slice(9)}$`,L="?"+I,Z=`<${L}>`,K=document,A=()=>K.createComment(""),F=t=>null===t||"object"!=typeof t&&"function"!=typeof t,$=Array.isArray,H="[ \t\n\f\r]",T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,G=/>/g,B=RegExp(`>|${H}(?:([^\\s"'>=/]+)(${H}*=${H}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),z=/'/g,j=/"/g,P=/^(?:script|style|textarea|title)$/i,J=Symbol.for("lit-noChange"),q=Symbol.for("lit-nothing"),Q=new WeakMap,V=K.createTreeWalker(K,129);function X(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==D?D.createHTML(o):o}let tt=class t{constructor({strings:o,_$litType$:e},r){let i;this.parts=[];let n=0,s=0;const a=o.length-1,c=this.parts,[l,h]=((t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",s=T;for(let o=0;o<e;o++){const e=t[o];let a,c,l=-1,h=0;for(;h<e.length&&(s.lastIndex=h,c=s.exec(e),null!==c);)h=s.lastIndex,s===T?"!--"===c[1]?s=_:void 0!==c[1]?s=G:void 0!==c[2]?(P.test(c[2])&&(i=RegExp("</"+c[2],"g")),s=B):void 0!==c[3]&&(s=B):s===B?">"===c[0]?(s=i??T,l=-1):void 0===c[1]?l=-2:(l=s.lastIndex-c[2].length,a=c[1],s=void 0===c[3]?B:'"'===c[3]?j:z):s===j||s===z?s=B:s===_||s===G?s=T:(s=B,i=void 0);const f=s===B&&t[o+1].startsWith("/>")?" ":"";n+=s===T?e+Z:l>=0?(r.push(a),e.slice(0,l)+k+e.slice(l)+I+f):e+I+(-2===l?o:f)}return[X(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]})(o,e);if(this.el=t.createElement(l,r),V.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=V.nextNode())&&c.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(k)){const o=h[s++],e=i.getAttribute(t).split(I),r=/([.?@])?(.*)/.exec(o);c.push({type:1,index:n,name:r[2],strings:e,ctor:"."===r[1]?it:"?"===r[1]?nt:"@"===r[1]?st:rt}),i.removeAttribute(t)}else t.startsWith(I)&&(c.push({type:6,index:n}),i.removeAttribute(t));if(P.test(i.tagName)){const t=i.textContent.split(I),o=t.length-1;if(o>0){i.textContent=Y?Y.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],A()),V.nextNode(),c.push({type:2,index:++n});i.append(t[o],A())}}}else if(8===i.nodeType)if(i.data===L)c.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(I,t+1));)c.push({type:7,index:n}),t+=I.length-1}n++}}static createElement(t,o){const e=K.createElement("template");return e.innerHTML=t,e}};function ot(t,o,e=t,r){if(o===J)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=F(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=ot(t,i._$AS(t,o.values),i,r)),o}let et=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=q,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=ot(this,t,o),F(t)?t===q||null==t||""===t?(this._$AH!==q&&this._$AR(),this._$AH=q):t!==this._$AH&&t!==J&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>$(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==q&&F(this._$AH)?this._$AA.nextSibling.data=t:this.$(K.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=tt.createElement(X(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??K).importNode(o,!0);V.currentNode=r;let i=V.nextNode(),n=0,s=0,a=e[0];for(;void 0!==a;){if(n===a.index){let o;2===a.type?o=new et(i,i.nextSibling,this,t):1===a.type?o=new a.ctor(i,a.name,a.strings,this,t):6===a.type&&(o=new at(i,this,t)),this._$AV.push(o),a=e[++s]}n!==a?.index&&(i=V.nextNode(),n++)}return V.currentNode=K,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=Q.get(t.strings);return void 0===o&&Q.set(t.strings,o=new tt(t)),o}T(o){$(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const n of o)i===e.length?e.push(r=new t(this.k(A()),this.k(A()),this,this.options)):r=e[i],r._$AI(n),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},rt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=q,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=q}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=ot(this,t,o,0),n=!F(t)||t!==this._$AH&&t!==J,n&&(this._$AH=t);else{const r=t;let s,a;for(t=i[0],s=0;s<i.length-1;s++)a=ot(this,r[e+s],o,s),a===J&&(a=this._$AH[s]),n||=!F(a)||a!==this._$AH[s],a===q?t=q:t!==q&&(t+=(a??"")+i[s+1]),this._$AH[s]=a}n&&!r&&this.O(t)}O(t){t===q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},it=class extends rt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===q?void 0:t}},nt=class extends rt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==q)}},st=class extends rt{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=ot(this,t,o,0)??q)===J)return;const e=this._$AH,r=t===q&&e!==q||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==q&&(e===q||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},at=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){ot(this,t)}};const ct=W.litHtmlPolyfillSupport;ct?.(tt,et),(W.litHtmlVersions??=[]).push("3.1.0");
52
+ */const W=globalThis,Y=W.trustedTypes,D=Y?Y.createPolicy("lit-html",{createHTML:t=>t}):void 0,k="$lit$",I=`lit$${(Math.random()+"").slice(9)}$`,L="?"+I,Z=`<${L}>`,K=document,A=()=>K.createComment(""),F=t=>null===t||"object"!=typeof t&&"function"!=typeof t,$=Array.isArray,H="[ \t\n\f\r]",_=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,T=/-->/g,G=/>/g,B=RegExp(`>|${H}(?:([^\\s"'>=/]+)(${H}*=${H}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),z=/'/g,j=/"/g,P=/^(?:script|style|textarea|title)$/i,J=Symbol.for("lit-noChange"),q=Symbol.for("lit-nothing"),Q=new WeakMap,V=K.createTreeWalker(K,129);function X(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==D?D.createHTML(o):o}let tt=class t{constructor({strings:o,_$litType$:e},r){let i;this.parts=[];let n=0,s=0;const a=o.length-1,c=this.parts,[l,h]=((t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",s=_;for(let o=0;o<e;o++){const e=t[o];let a,c,l=-1,h=0;for(;h<e.length&&(s.lastIndex=h,c=s.exec(e),null!==c);)h=s.lastIndex,s===_?"!--"===c[1]?s=T:void 0!==c[1]?s=G:void 0!==c[2]?(P.test(c[2])&&(i=RegExp("</"+c[2],"g")),s=B):void 0!==c[3]&&(s=B):s===B?">"===c[0]?(s=i??_,l=-1):void 0===c[1]?l=-2:(l=s.lastIndex-c[2].length,a=c[1],s=void 0===c[3]?B:'"'===c[3]?j:z):s===j||s===z?s=B:s===T||s===G?s=_:(s=B,i=void 0);const f=s===B&&t[o+1].startsWith("/>")?" ":"";n+=s===_?e+Z:l>=0?(r.push(a),e.slice(0,l)+k+e.slice(l)+I+f):e+I+(-2===l?o:f)}return[X(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]})(o,e);if(this.el=t.createElement(l,r),V.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=V.nextNode())&&c.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(k)){const o=h[s++],e=i.getAttribute(t).split(I),r=/([.?@])?(.*)/.exec(o);c.push({type:1,index:n,name:r[2],strings:e,ctor:"."===r[1]?it:"?"===r[1]?nt:"@"===r[1]?st:rt}),i.removeAttribute(t)}else t.startsWith(I)&&(c.push({type:6,index:n}),i.removeAttribute(t));if(P.test(i.tagName)){const t=i.textContent.split(I),o=t.length-1;if(o>0){i.textContent=Y?Y.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],A()),V.nextNode(),c.push({type:2,index:++n});i.append(t[o],A())}}}else if(8===i.nodeType)if(i.data===L)c.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(I,t+1));)c.push({type:7,index:n}),t+=I.length-1}n++}}static createElement(t,o){const e=K.createElement("template");return e.innerHTML=t,e}};function ot(t,o,e=t,r){if(o===J)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=F(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=ot(t,i._$AS(t,o.values),i,r)),o}let et=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=q,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=ot(this,t,o),F(t)?t===q||null==t||""===t?(this._$AH!==q&&this._$AR(),this._$AH=q):t!==this._$AH&&t!==J&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>$(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==q&&F(this._$AH)?this._$AA.nextSibling.data=t:this.$(K.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=tt.createElement(X(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??K).importNode(o,!0);V.currentNode=r;let i=V.nextNode(),n=0,s=0,a=e[0];for(;void 0!==a;){if(n===a.index){let o;2===a.type?o=new et(i,i.nextSibling,this,t):1===a.type?o=new a.ctor(i,a.name,a.strings,this,t):6===a.type&&(o=new at(i,this,t)),this._$AV.push(o),a=e[++s]}n!==a?.index&&(i=V.nextNode(),n++)}return V.currentNode=K,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=Q.get(t.strings);return void 0===o&&Q.set(t.strings,o=new tt(t)),o}T(o){$(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const n of o)i===e.length?e.push(r=new t(this.k(A()),this.k(A()),this,this.options)):r=e[i],r._$AI(n),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},rt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=q,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=q}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=ot(this,t,o,0),n=!F(t)||t!==this._$AH&&t!==J,n&&(this._$AH=t);else{const r=t;let s,a;for(t=i[0],s=0;s<i.length-1;s++)a=ot(this,r[e+s],o,s),a===J&&(a=this._$AH[s]),n||=!F(a)||a!==this._$AH[s],a===q?t=q:t!==q&&(t+=(a??"")+i[s+1]),this._$AH[s]=a}n&&!r&&this.O(t)}O(t){t===q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},it=class extends rt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===q?void 0:t}},nt=class extends rt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==q)}},st=class extends rt{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=ot(this,t,o,0)??q)===J)return;const e=this._$AH,r=t===q&&e!==q||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==q&&(e===q||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},at=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){ot(this,t)}};const ct=W.litHtmlPolyfillSupport;ct?.(tt,et),(W.litHtmlVersions??=[]).push("3.1.0");
53
53
  /**
54
54
  * @license
55
55
  * Copyright 2019 Google LLC
@@ -66,7 +66,7 @@ const lt=globalThis,ht=lt.ShadowRoot&&(void 0===lt.ShadyCSS||lt.ShadyCSS.nativeS
66
66
  * Copyright 2017 Google LLC
67
67
  * SPDX-License-Identifier: BSD-3-Clause
68
68
  */
69
- const Dt=globalThis,kt=Dt.trustedTypes,It=kt?kt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Lt="$lit$",Zt=`lit$${(Math.random()+"").slice(9)}$`,Kt="?"+Zt,At=`<${Kt}>`,Ft=document,$t=()=>Ft.createComment(""),Ht=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Tt=Array.isArray,_t="[ \t\n\f\r]",Gt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Bt=/-->/g,zt=/>/g,jt=RegExp(`>|${_t}(?:([^\\s"'>=/]+)(${_t}*=${_t}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Pt=/'/g,Jt=/"/g,qt=/^(?:script|style|textarea|title)$/i,Qt=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),Vt=Symbol.for("lit-noChange"),Xt=Symbol.for("lit-nothing"),to=new WeakMap,oo=Ft.createTreeWalker(Ft,129);function eo(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==It?It.createHTML(o):o}const ro=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",s=Gt;for(let o=0;o<e;o++){const e=t[o];let a,c,l=-1,h=0;for(;h<e.length&&(s.lastIndex=h,c=s.exec(e),null!==c);)h=s.lastIndex,s===Gt?"!--"===c[1]?s=Bt:void 0!==c[1]?s=zt:void 0!==c[2]?(qt.test(c[2])&&(i=RegExp("</"+c[2],"g")),s=jt):void 0!==c[3]&&(s=jt):s===jt?">"===c[0]?(s=i??Gt,l=-1):void 0===c[1]?l=-2:(l=s.lastIndex-c[2].length,a=c[1],s=void 0===c[3]?jt:'"'===c[3]?Jt:Pt):s===Jt||s===Pt?s=jt:s===Bt||s===zt?s=Gt:(s=jt,i=void 0);const f=s===jt&&t[o+1].startsWith("/>")?" ":"";n+=s===Gt?e+At:l>=0?(r.push(a),e.slice(0,l)+Lt+e.slice(l)+Zt+f):e+Zt+(-2===l?o:f)}return[eo(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class io{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const s=t.length-1,a=this.parts,[c,l]=ro(t,o);if(this.el=io.createElement(c,e),oo.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=oo.nextNode())&&a.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Lt)){const o=l[n++],e=r.getAttribute(t).split(Zt),s=/([.?@])?(.*)/.exec(o);a.push({type:1,index:i,name:s[2],strings:e,ctor:"."===s[1]?co:"?"===s[1]?lo:"@"===s[1]?ho:ao}),r.removeAttribute(t)}else t.startsWith(Zt)&&(a.push({type:6,index:i}),r.removeAttribute(t));if(qt.test(r.tagName)){const t=r.textContent.split(Zt),o=t.length-1;if(o>0){r.textContent=kt?kt.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],$t()),oo.nextNode(),a.push({type:2,index:++i});r.append(t[o],$t())}}}else if(8===r.nodeType)if(r.data===Kt)a.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(Zt,t+1));)a.push({type:7,index:i}),t+=Zt.length-1}i++}}static createElement(t,o){const e=Ft.createElement("template");return e.innerHTML=t,e}}function no(t,o,e=t,r){if(o===Vt)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=Ht(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=no(t,i._$AS(t,o.values),i,r)),o}class so{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=Xt,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=no(this,t,o),Ht(t)?t===Xt||null==t||""===t?(this._$AH!==Xt&&this._$AR(),this._$AH=Xt):t!==this._$AH&&t!==Vt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Tt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Xt&&Ht(this._$AH)?this._$AA.nextSibling.data=t:this.$(Ft.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=io.createElement(eo(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??Ft).importNode(o,!0);oo.currentNode=r;let i=oo.nextNode(),n=0,s=0,a=e[0];for(;void 0!==a;){if(n===a.index){let o;2===a.type?o=new so(i,i.nextSibling,this,t):1===a.type?o=new a.ctor(i,a.name,a.strings,this,t):6===a.type&&(o=new fo(i,this,t)),this._$AV.push(o),a=e[++s]}n!==a?.index&&(i=oo.nextNode(),n++)}return oo.currentNode=Ft,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=to.get(t.strings);return void 0===o&&to.set(t.strings,o=new io(t)),o}T(t){Tt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new so(this.k($t()),this.k($t()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class ao{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=Xt,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=Xt}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=no(this,t,o,0),n=!Ht(t)||t!==this._$AH&&t!==Vt,n&&(this._$AH=t);else{const r=t;let s,a;for(t=i[0],s=0;s<i.length-1;s++)a=no(this,r[e+s],o,s),a===Vt&&(a=this._$AH[s]),n||=!Ht(a)||a!==this._$AH[s],a===Xt?t=Xt:t!==Xt&&(t+=(a??"")+i[s+1]),this._$AH[s]=a}n&&!r&&this.O(t)}O(t){t===Xt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class co extends ao{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Xt?void 0:t}}class lo extends ao{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Xt)}}class ho extends ao{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=no(this,t,o,0)??Xt)===Vt)return;const e=this._$AH,r=t===Xt&&e!==Xt||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==Xt&&(e===Xt||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class fo{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){no(this,t)}}const uo=Dt.litHtmlPolyfillSupport;uo?.(io,so),(Dt.litHtmlVersions??=[]).push("3.1.0");
69
+ const Dt=globalThis,kt=Dt.trustedTypes,It=kt?kt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Lt="$lit$",Zt=`lit$${(Math.random()+"").slice(9)}$`,Kt="?"+Zt,At=`<${Kt}>`,Ft=document,$t=()=>Ft.createComment(""),Ht=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_t=Array.isArray,Tt="[ \t\n\f\r]",Gt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Bt=/-->/g,zt=/>/g,jt=RegExp(`>|${Tt}(?:([^\\s"'>=/]+)(${Tt}*=${Tt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Pt=/'/g,Jt=/"/g,qt=/^(?:script|style|textarea|title)$/i,Qt=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),Vt=Symbol.for("lit-noChange"),Xt=Symbol.for("lit-nothing"),to=new WeakMap,oo=Ft.createTreeWalker(Ft,129);function eo(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==It?It.createHTML(o):o}const ro=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",s=Gt;for(let o=0;o<e;o++){const e=t[o];let a,c,l=-1,h=0;for(;h<e.length&&(s.lastIndex=h,c=s.exec(e),null!==c);)h=s.lastIndex,s===Gt?"!--"===c[1]?s=Bt:void 0!==c[1]?s=zt:void 0!==c[2]?(qt.test(c[2])&&(i=RegExp("</"+c[2],"g")),s=jt):void 0!==c[3]&&(s=jt):s===jt?">"===c[0]?(s=i??Gt,l=-1):void 0===c[1]?l=-2:(l=s.lastIndex-c[2].length,a=c[1],s=void 0===c[3]?jt:'"'===c[3]?Jt:Pt):s===Jt||s===Pt?s=jt:s===Bt||s===zt?s=Gt:(s=jt,i=void 0);const f=s===jt&&t[o+1].startsWith("/>")?" ":"";n+=s===Gt?e+At:l>=0?(r.push(a),e.slice(0,l)+Lt+e.slice(l)+Zt+f):e+Zt+(-2===l?o:f)}return[eo(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class io{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const s=t.length-1,a=this.parts,[c,l]=ro(t,o);if(this.el=io.createElement(c,e),oo.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=oo.nextNode())&&a.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Lt)){const o=l[n++],e=r.getAttribute(t).split(Zt),s=/([.?@])?(.*)/.exec(o);a.push({type:1,index:i,name:s[2],strings:e,ctor:"."===s[1]?co:"?"===s[1]?lo:"@"===s[1]?ho:ao}),r.removeAttribute(t)}else t.startsWith(Zt)&&(a.push({type:6,index:i}),r.removeAttribute(t));if(qt.test(r.tagName)){const t=r.textContent.split(Zt),o=t.length-1;if(o>0){r.textContent=kt?kt.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],$t()),oo.nextNode(),a.push({type:2,index:++i});r.append(t[o],$t())}}}else if(8===r.nodeType)if(r.data===Kt)a.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(Zt,t+1));)a.push({type:7,index:i}),t+=Zt.length-1}i++}}static createElement(t,o){const e=Ft.createElement("template");return e.innerHTML=t,e}}function no(t,o,e=t,r){if(o===Vt)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=Ht(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=no(t,i._$AS(t,o.values),i,r)),o}class so{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=Xt,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=no(this,t,o),Ht(t)?t===Xt||null==t||""===t?(this._$AH!==Xt&&this._$AR(),this._$AH=Xt):t!==this._$AH&&t!==Vt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>_t(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Xt&&Ht(this._$AH)?this._$AA.nextSibling.data=t:this.$(Ft.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=io.createElement(eo(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??Ft).importNode(o,!0);oo.currentNode=r;let i=oo.nextNode(),n=0,s=0,a=e[0];for(;void 0!==a;){if(n===a.index){let o;2===a.type?o=new so(i,i.nextSibling,this,t):1===a.type?o=new a.ctor(i,a.name,a.strings,this,t):6===a.type&&(o=new fo(i,this,t)),this._$AV.push(o),a=e[++s]}n!==a?.index&&(i=oo.nextNode(),n++)}return oo.currentNode=Ft,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=to.get(t.strings);return void 0===o&&to.set(t.strings,o=new io(t)),o}T(t){_t(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new so(this.k($t()),this.k($t()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class ao{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=Xt,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=Xt}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=no(this,t,o,0),n=!Ht(t)||t!==this._$AH&&t!==Vt,n&&(this._$AH=t);else{const r=t;let s,a;for(t=i[0],s=0;s<i.length-1;s++)a=no(this,r[e+s],o,s),a===Vt&&(a=this._$AH[s]),n||=!Ht(a)||a!==this._$AH[s],a===Xt?t=Xt:t!==Xt&&(t+=(a??"")+i[s+1]),this._$AH[s]=a}n&&!r&&this.O(t)}O(t){t===Xt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class co extends ao{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Xt?void 0:t}}class lo extends ao{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Xt)}}class ho extends ao{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=no(this,t,o,0)??Xt)===Vt)return;const e=this._$AH,r=t===Xt&&e!==Xt||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==Xt&&(e===Xt||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class fo{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){no(this,t)}}const uo=Dt.litHtmlPolyfillSupport;uo?.(io,so),(Dt.litHtmlVersions??=[]).push("3.1.0");
70
70
  /**
71
71
  * @license
72
72
  * Copyright 2017 Google LLC
@@ -78,7 +78,7 @@ class po extends Yt{constructor(){super(...arguments),this.renderOptions={host:t
78
78
  * Copyright 2019 Google LLC
79
79
  * SPDX-License-Identifier: BSD-3-Clause
80
80
  */
81
- const Oo=window,vo=Oo.ShadowRoot&&(void 0===Oo.ShadyCSS||Oo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class So extends po{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{vo?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=Oo.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var wo,xo=function(t,o,e,r){for(var i,n=arguments.length,s=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(o,e,s):i(o,e))||s);return n>3&&s&&Object.defineProperty(o,e,s),s};const Co=Symbol("constructorPrototype"),Eo=Symbol("constructorName"),Mo=Symbol("exportpartsDebouncer");class Ro extends So{constructor(){super(),this[wo]=new o(5),this[Eo]=this.constructor.name,this[Co]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Eo]&&Object.setPrototypeOf(this,this[Co])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Mo].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,i,n,s;const a=t=>null!=t&&t.trim().length>0,c=t.filter(a).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(s=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...o,...e).filter(a).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const h=[...l.values()].flatMap((t=>c.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}wo=Mo,xo([C()],Ro.prototype,"exportpartsPrefix",void 0),xo([U([])],Ro.prototype,"exportpartsPrefixes",void 0),xo([C()],Ro.prototype,"customStylesheet",void 0);const Uo=mo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");function Wo(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Yo,Do,ko;yt`
81
+ const Oo=window,vo=Oo.ShadowRoot&&(void 0===Oo.ShadyCSS||Oo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class So extends po{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{vo?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=Oo.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var wo,xo=function(t,o,e,r){for(var i,n=arguments.length,s=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(o,e,s):i(o,e))||s);return n>3&&s&&Object.defineProperty(o,e,s),s};const Co=Symbol("constructorPrototype"),Eo=Symbol("constructorName"),Mo=Symbol("exportpartsDebouncer");class Ro extends So{constructor(){super(),this[wo]=new o(5),this[Eo]=this.constructor.name,this[Co]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Eo]&&Object.setPrototypeOf(this,this[Co])}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){var t,o,e;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(e=null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)&&void 0!==e&&e)&&this[Mo].run((()=>{var t,o;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,i,n,s;const a=t=>null!=t&&t.trim().length>0,c=t.filter(a).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(s=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...o,...e).filter(a).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const h=[...l.values()].flatMap((t=>c.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}wo=Mo,xo([C()],Ro.prototype,"exportpartsPrefix",void 0),xo([U([])],Ro.prototype,"exportpartsPrefixes",void 0),xo([C()],Ro.prototype,"customStylesheet",void 0);const Uo=mo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");function Wo(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Yo,Do,ko;yt`
82
82
  .highlight-html-match {
83
83
  background: ${Uo};
84
84
  }
@@ -114,21 +114,21 @@ const Oo=window,vo=Oo.ShadowRoot&&(void 0===Oo.ShadyCSS||Oo.ShadyCSS.nativeShado
114
114
  display: inline-block;
115
115
  width: 0;
116
116
  }
117
- `;const Io=Symbol("internalReduxEventsUnsubscribers"),Lo=Symbol("internalStoresUnsubscribers"),Zo=Symbol("internalStores");class Ko extends Ro{constructor(){super(...arguments),this[Yo]=new Map,this[Do]=new Map,this[ko]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[Zo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Zo].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Zo].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Wo(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[Zo].delete(o)}setupStore(t,o){this[Zo].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Zo].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[Lo].has(t.store):this[Lo].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Lo].set(t,o.subscribe((()=>this.updateFromStores()))),Wo(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[Io].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Lo].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Io].forEach((t=>t())),this[Io]=[]}unsubscribeFromStore(t){this[Lo].has(t)&&this[Lo].get(t)(),this[Lo].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}var Ao,Fo,$o,Ho;function To(){return $o.apply(null,arguments)}function _o(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function Go(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function Bo(t,o){return Object.prototype.hasOwnProperty.call(t,o)}function zo(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var o;for(o in t)if(Bo(t,o))return!1;return!0}function jo(t){return void 0===t}function Po(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function Jo(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function qo(t,o){var e,r=[],i=t.length;for(e=0;e<i;++e)r.push(o(t[e],e));return r}function Qo(t,o){for(var e in o)Bo(o,e)&&(t[e]=o[e]);return Bo(o,"toString")&&(t.toString=o.toString),Bo(o,"valueOf")&&(t.valueOf=o.valueOf),t}function Vo(t,o,e,r){return bi(t,o,e,r,!0).utc()}function Xo(t){return null==t._pf&&(t._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}),t._pf}function te(t){if(null==t._isValid){var o=Xo(t),e=Ho.call(o.parsedDateParts,(function(t){return null!=t})),r=!isNaN(t._d.getTime())&&o.overflow<0&&!o.empty&&!o.invalidEra&&!o.invalidMonth&&!o.invalidWeekday&&!o.weekdayMismatch&&!o.nullInput&&!o.invalidFormat&&!o.userInvalidated&&(!o.meridiem||o.meridiem&&e);if(t._strict&&(r=r&&0===o.charsLeftOver&&0===o.unusedTokens.length&&void 0===o.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function oe(t){var o=Vo(NaN);return null!=t?Qo(Xo(o),t):Xo(o).userInvalidated=!0,o}Yo=Lo,Do=Zo,ko=Io,Ko.reduxProperties=new Map,Ko.reduxReactiveProperties=new Set,Ko.reduxEventListeners=new Map,window.ftReduxStores||(window.ftReduxStores={}),navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Fo=null===(Ao=window.safari)||void 0===Ao?void 0:Ao.pushNotification)||void 0===Fo||Fo.toString()),Ho=Array.prototype.some?Array.prototype.some:function(t){var o,e=Object(this),r=e.length>>>0;for(o=0;o<r;o++)if(o in e&&t.call(this,e[o],o,e))return!0;return!1};var ee=To.momentProperties=[],re=!1;function ie(t,o){var e,r,i,n=ee.length;if(jo(o._isAMomentObject)||(t._isAMomentObject=o._isAMomentObject),jo(o._i)||(t._i=o._i),jo(o._f)||(t._f=o._f),jo(o._l)||(t._l=o._l),jo(o._strict)||(t._strict=o._strict),jo(o._tzm)||(t._tzm=o._tzm),jo(o._isUTC)||(t._isUTC=o._isUTC),jo(o._offset)||(t._offset=o._offset),jo(o._pf)||(t._pf=Xo(o)),jo(o._locale)||(t._locale=o._locale),n>0)for(e=0;e<n;e++)jo(i=o[r=ee[e]])||(t[r]=i);return t}function ne(t){ie(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===re&&(re=!0,To.updateOffset(this),re=!1)}function se(t){return t instanceof ne||null!=t&&null!=t._isAMomentObject}function ae(t){!1===To.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function ce(t,o){var e=!0;return Qo((function(){if(null!=To.deprecationHandler&&To.deprecationHandler(null,t),e){var r,i,n,s=[],a=arguments.length;for(i=0;i<a;i++){if(r="","object"==typeof arguments[i]){for(n in r+="\n["+i+"] ",arguments[0])Bo(arguments[0],n)&&(r+=n+": "+arguments[0][n]+", ");r=r.slice(0,-2)}else r=arguments[i];s.push(r)}ae(t+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),e=!1}return o.apply(this,arguments)}),o)}var le,he={};function fe(t,o){null!=To.deprecationHandler&&To.deprecationHandler(t,o),he[t]||(ae(o),he[t]=!0)}function ue(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function de(t,o){var e,r=Qo({},t);for(e in o)Bo(o,e)&&(Go(t[e])&&Go(o[e])?(r[e]={},Qo(r[e],t[e]),Qo(r[e],o[e])):null!=o[e]?r[e]=o[e]:delete r[e]);for(e in t)Bo(t,e)&&!Bo(o,e)&&Go(t[e])&&(r[e]=Qo({},r[e]));return r}function pe(t){null!=t&&this.set(t)}To.suppressDeprecationWarnings=!1,To.deprecationHandler=null,le=Object.keys?Object.keys:function(t){var o,e=[];for(o in t)Bo(t,o)&&e.push(o);return e};function ye(t,o,e){var r=""+Math.abs(t),i=o-r.length;return(t>=0?e?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var ge=/(\[[^\[]*\])|(\\)?([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,me=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,be={},Ne={};function Oe(t,o,e,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),t&&(Ne[t]=i),o&&(Ne[o[0]]=function(){return ye(i.apply(this,arguments),o[1],o[2])}),e&&(Ne[e]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function ve(t,o){return t.isValid()?(o=Se(o,t.localeData()),be[o]=be[o]||function(t){var o,e,r,i=t.match(ge);for(o=0,e=i.length;o<e;o++)Ne[i[o]]?i[o]=Ne[i[o]]:i[o]=(r=i[o]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(o){var r,n="";for(r=0;r<e;r++)n+=ue(i[r])?i[r].call(o,t):i[r];return n}}(o),be[o](t)):t.localeData().invalidDate()}function Se(t,o){var e=5;function r(t){return o.longDateFormat(t)||t}for(me.lastIndex=0;e>=0&&me.test(t);)t=t.replace(me,r),me.lastIndex=0,e-=1;return t}var we={};function xe(t,o){var e=t.toLowerCase();we[e]=we[e+"s"]=we[o]=t}function Ce(t){return"string"==typeof t?we[t]||we[t.toLowerCase()]:void 0}function Ee(t){var o,e,r={};for(e in t)Bo(t,e)&&(o=Ce(e))&&(r[o]=t[e]);return r}var Me={};function Re(t,o){Me[t]=o}function Ue(t){return t%4==0&&t%100!=0||t%400==0}function We(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function Ye(t){var o=+t,e=0;return 0!==o&&isFinite(o)&&(e=We(o)),e}function De(t,o){return function(e){return null!=e?(Ie(this,t,e),To.updateOffset(this,o),this):ke(this,t)}}function ke(t,o){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+o]():NaN}function Ie(t,o,e){t.isValid()&&!isNaN(e)&&("FullYear"===o&&Ue(t.year())&&1===t.month()&&29===t.date()?(e=Ye(e),t._d["set"+(t._isUTC?"UTC":"")+o](e,t.month(),yr(e,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+o](e))}var Le,Ze=/\d/,Ke=/\d\d/,Ae=/\d{3}/,Fe=/\d{4}/,$e=/[+-]?\d{6}/,He=/\d\d?/,Te=/\d\d\d\d?/,_e=/\d\d\d\d\d\d?/,Ge=/\d{1,3}/,Be=/\d{1,4}/,ze=/[+-]?\d{1,6}/,je=/\d+/,Pe=/[+-]?\d+/,Je=/Z|[+-]\d\d:?\d\d/gi,qe=/Z|[+-]\d\d(?::?\d\d)?/gi,Qe=/[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 Ve(t,o,e){Le[t]=ue(o)?o:function(t,r){return t&&e?e:o}}function Xe(t,o){return Bo(Le,t)?Le[t](o._strict,o._locale):new RegExp(function(t){return tr(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,o,e,r,i){return o||e||r||i})))}(t))}function tr(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Le={};var or={};function er(t,o){var e,r,i=o;for("string"==typeof t&&(t=[t]),Po(o)&&(i=function(t,e){e[o]=Ye(t)}),r=t.length,e=0;e<r;e++)or[t[e]]=i}function rr(t,o){er(t,(function(t,e,r,i){r._w=r._w||{},o(t,r._w,r,i)}))}function ir(t,o,e){null!=o&&Bo(or,t)&&or[t](o,e._a,e,t)}var nr,sr=0,ar=1,cr=2,lr=3,hr=4,fr=5,ur=6,dr=7,pr=8;function yr(t,o){if(isNaN(t)||isNaN(o))return NaN;var e=function(t,o){return(t%o+o)%o}(o,12);return t+=(o-e)/12,1===e?Ue(t)?29:28:31-e%7%2}nr=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var o;for(o=0;o<this.length;++o)if(this[o]===t)return o;return-1},Oe("M",["MM",2],"Mo",(function(){return this.month()+1})),Oe("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),Oe("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),xe("month","M"),Re("month",8),Ve("M",He),Ve("MM",He,Ke),Ve("MMM",(function(t,o){return o.monthsShortRegex(t)})),Ve("MMMM",(function(t,o){return o.monthsRegex(t)})),er(["M","MM"],(function(t,o){o[ar]=Ye(t)-1})),er(["MMM","MMMM"],(function(t,o,e,r){var i=e._locale.monthsParse(t,r,e._strict);null!=i?o[ar]=i:Xo(e).invalidMonth=t}));var gr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),mr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),br=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Nr=Qe,Or=Qe;function vr(t,o,e){var r,i,n,s=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)n=Vo([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(n,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(n,"").toLocaleLowerCase();return e?"MMM"===o?-1!==(i=nr.call(this._shortMonthsParse,s))?i:null:-1!==(i=nr.call(this._longMonthsParse,s))?i:null:"MMM"===o?-1!==(i=nr.call(this._shortMonthsParse,s))||-1!==(i=nr.call(this._longMonthsParse,s))?i:null:-1!==(i=nr.call(this._longMonthsParse,s))||-1!==(i=nr.call(this._shortMonthsParse,s))?i:null}function Sr(t,o){var e;if(!t.isValid())return t;if("string"==typeof o)if(/^\d+$/.test(o))o=Ye(o);else if(!Po(o=t.localeData().monthsParse(o)))return t;return e=Math.min(t.date(),yr(t.year(),o)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](o,e),t}function wr(t){return null!=t?(Sr(this,t),To.updateOffset(this,!0),this):ke(this,"Month")}function xr(){function t(t,o){return o.length-t.length}var o,e,r=[],i=[],n=[];for(o=0;o<12;o++)e=Vo([2e3,o]),r.push(this.monthsShort(e,"")),i.push(this.months(e,"")),n.push(this.months(e,"")),n.push(this.monthsShort(e,""));for(r.sort(t),i.sort(t),n.sort(t),o=0;o<12;o++)r[o]=tr(r[o]),i[o]=tr(i[o]);for(o=0;o<24;o++)n[o]=tr(n[o]);this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Cr(t){return Ue(t)?366:365}Oe("Y",0,0,(function(){var t=this.year();return t<=9999?ye(t,4):"+"+t})),Oe(0,["YY",2],0,(function(){return this.year()%100})),Oe(0,["YYYY",4],0,"year"),Oe(0,["YYYYY",5],0,"year"),Oe(0,["YYYYYY",6,!0],0,"year"),xe("year","y"),Re("year",1),Ve("Y",Pe),Ve("YY",He,Ke),Ve("YYYY",Be,Fe),Ve("YYYYY",ze,$e),Ve("YYYYYY",ze,$e),er(["YYYYY","YYYYYY"],sr),er("YYYY",(function(t,o){o[sr]=2===t.length?To.parseTwoDigitYear(t):Ye(t)})),er("YY",(function(t,o){o[sr]=To.parseTwoDigitYear(t)})),er("Y",(function(t,o){o[sr]=parseInt(t,10)})),To.parseTwoDigitYear=function(t){return Ye(t)+(Ye(t)>68?1900:2e3)};var Er=De("FullYear",!0);function Mr(t,o,e,r,i,n,s){var a;return t<100&&t>=0?(a=new Date(t+400,o,e,r,i,n,s),isFinite(a.getFullYear())&&a.setFullYear(t)):a=new Date(t,o,e,r,i,n,s),a}function Rr(t){var o,e;return t<100&&t>=0?((e=Array.prototype.slice.call(arguments))[0]=t+400,o=new Date(Date.UTC.apply(null,e)),isFinite(o.getUTCFullYear())&&o.setUTCFullYear(t)):o=new Date(Date.UTC.apply(null,arguments)),o}function Ur(t,o,e){var r=7+o-e;return-((7+Rr(t,0,r).getUTCDay()-o)%7)+r-1}function Wr(t,o,e,r,i){var n,s,a=1+7*(o-1)+(7+e-r)%7+Ur(t,r,i);return a<=0?s=Cr(n=t-1)+a:a>Cr(t)?(n=t+1,s=a-Cr(t)):(n=t,s=a),{year:n,dayOfYear:s}}function Yr(t,o,e){var r,i,n=Ur(t.year(),o,e),s=Math.floor((t.dayOfYear()-n-1)/7)+1;return s<1?r=s+Dr(i=t.year()-1,o,e):s>Dr(t.year(),o,e)?(r=s-Dr(t.year(),o,e),i=t.year()+1):(i=t.year(),r=s),{week:r,year:i}}function Dr(t,o,e){var r=Ur(t,o,e),i=Ur(t+1,o,e);return(Cr(t)-r+i)/7}Oe("w",["ww",2],"wo","week"),Oe("W",["WW",2],"Wo","isoWeek"),xe("week","w"),xe("isoWeek","W"),Re("week",5),Re("isoWeek",5),Ve("w",He),Ve("ww",He,Ke),Ve("W",He),Ve("WW",He,Ke),rr(["w","ww","W","WW"],(function(t,o,e,r){o[r.substr(0,1)]=Ye(t)}));function kr(t,o){return t.slice(o,7).concat(t.slice(0,o))}Oe("d",0,"do","day"),Oe("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),Oe("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),Oe("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),Oe("e",0,0,"weekday"),Oe("E",0,0,"isoWeekday"),xe("day","d"),xe("weekday","e"),xe("isoWeekday","E"),Re("day",11),Re("weekday",11),Re("isoWeekday",11),Ve("d",He),Ve("e",He),Ve("E",He),Ve("dd",(function(t,o){return o.weekdaysMinRegex(t)})),Ve("ddd",(function(t,o){return o.weekdaysShortRegex(t)})),Ve("dddd",(function(t,o){return o.weekdaysRegex(t)})),rr(["dd","ddd","dddd"],(function(t,o,e,r){var i=e._locale.weekdaysParse(t,r,e._strict);null!=i?o.d=i:Xo(e).invalidWeekday=t})),rr(["d","e","E"],(function(t,o,e,r){o[r]=Ye(t)}));var Ir="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Lr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Zr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Kr=Qe,Ar=Qe,Fr=Qe;function $r(t,o,e){var r,i,n,s=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)n=Vo([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(n,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(n,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(n,"").toLocaleLowerCase();return e?"dddd"===o?-1!==(i=nr.call(this._weekdaysParse,s))?i:null:"ddd"===o?-1!==(i=nr.call(this._shortWeekdaysParse,s))?i:null:-1!==(i=nr.call(this._minWeekdaysParse,s))?i:null:"dddd"===o?-1!==(i=nr.call(this._weekdaysParse,s))||-1!==(i=nr.call(this._shortWeekdaysParse,s))||-1!==(i=nr.call(this._minWeekdaysParse,s))?i:null:"ddd"===o?-1!==(i=nr.call(this._shortWeekdaysParse,s))||-1!==(i=nr.call(this._weekdaysParse,s))||-1!==(i=nr.call(this._minWeekdaysParse,s))?i:null:-1!==(i=nr.call(this._minWeekdaysParse,s))||-1!==(i=nr.call(this._weekdaysParse,s))||-1!==(i=nr.call(this._shortWeekdaysParse,s))?i:null}function Hr(){function t(t,o){return o.length-t.length}var o,e,r,i,n,s=[],a=[],c=[],l=[];for(o=0;o<7;o++)e=Vo([2e3,1]).day(o),r=tr(this.weekdaysMin(e,"")),i=tr(this.weekdaysShort(e,"")),n=tr(this.weekdays(e,"")),s.push(r),a.push(i),c.push(n),l.push(r),l.push(i),l.push(n);s.sort(t),a.sort(t),c.sort(t),l.sort(t),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function Tr(){return this.hours()%12||12}function _r(t,o){Oe(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),o)}))}function Gr(t,o){return o._meridiemParse}Oe("H",["HH",2],0,"hour"),Oe("h",["hh",2],0,Tr),Oe("k",["kk",2],0,(function(){return this.hours()||24})),Oe("hmm",0,0,(function(){return""+Tr.apply(this)+ye(this.minutes(),2)})),Oe("hmmss",0,0,(function(){return""+Tr.apply(this)+ye(this.minutes(),2)+ye(this.seconds(),2)})),Oe("Hmm",0,0,(function(){return""+this.hours()+ye(this.minutes(),2)})),Oe("Hmmss",0,0,(function(){return""+this.hours()+ye(this.minutes(),2)+ye(this.seconds(),2)})),_r("a",!0),_r("A",!1),xe("hour","h"),Re("hour",13),Ve("a",Gr),Ve("A",Gr),Ve("H",He),Ve("h",He),Ve("k",He),Ve("HH",He,Ke),Ve("hh",He,Ke),Ve("kk",He,Ke),Ve("hmm",Te),Ve("hmmss",_e),Ve("Hmm",Te),Ve("Hmmss",_e),er(["H","HH"],lr),er(["k","kk"],(function(t,o,e){var r=Ye(t);o[lr]=24===r?0:r})),er(["a","A"],(function(t,o,e){e._isPm=e._locale.isPM(t),e._meridiem=t})),er(["h","hh"],(function(t,o,e){o[lr]=Ye(t),Xo(e).bigHour=!0})),er("hmm",(function(t,o,e){var r=t.length-2;o[lr]=Ye(t.substr(0,r)),o[hr]=Ye(t.substr(r)),Xo(e).bigHour=!0})),er("hmmss",(function(t,o,e){var r=t.length-4,i=t.length-2;o[lr]=Ye(t.substr(0,r)),o[hr]=Ye(t.substr(r,2)),o[fr]=Ye(t.substr(i)),Xo(e).bigHour=!0})),er("Hmm",(function(t,o,e){var r=t.length-2;o[lr]=Ye(t.substr(0,r)),o[hr]=Ye(t.substr(r))})),er("Hmmss",(function(t,o,e){var r=t.length-4,i=t.length-2;o[lr]=Ye(t.substr(0,r)),o[hr]=Ye(t.substr(r,2)),o[fr]=Ye(t.substr(i))}));var Br=De("Hours",!0);var zr,jr={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:gr,monthsShort:mr,week:{dow:0,doy:6},weekdays:Ir,weekdaysMin:Zr,weekdaysShort:Lr,meridiemParse:/[ap]\.?m?\.?/i},Pr={},Jr={};function qr(t,o){var e,r=Math.min(t.length,o.length);for(e=0;e<r;e+=1)if(t[e]!==o[e])return e;return r}function Qr(t){return t?t.toLowerCase().replace("_","-"):t}function Vr(t){var o=null;if(void 0===Pr[t]&&"undefined"!=typeof module&&module&&module.exports&&function(t){return null!=t.match("^[^/\\\\]*$")}(t))try{o=zr._abbr,require("./locale/"+t),Xr(o)}catch(o){Pr[t]=null}return Pr[t]}function Xr(t,o){var e;return t&&((e=jo(o)?oi(t):ti(t,o))?zr=e:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),zr._abbr}function ti(t,o){if(null!==o){var e,r=jr;if(o.abbr=t,null!=Pr[t])fe("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=Pr[t]._config;else if(null!=o.parentLocale)if(null!=Pr[o.parentLocale])r=Pr[o.parentLocale]._config;else{if(null==(e=Vr(o.parentLocale)))return Jr[o.parentLocale]||(Jr[o.parentLocale]=[]),Jr[o.parentLocale].push({name:t,config:o}),null;r=e._config}return Pr[t]=new pe(de(r,o)),Jr[t]&&Jr[t].forEach((function(t){ti(t.name,t.config)})),Xr(t),Pr[t]}return delete Pr[t],null}function oi(t){var o;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return zr;if(!_o(t)){if(o=Vr(t))return o;t=[t]}return function(t){for(var o,e,r,i,n=0;n<t.length;){for(o=(i=Qr(t[n]).split("-")).length,e=(e=Qr(t[n+1]))?e.split("-"):null;o>0;){if(r=Vr(i.slice(0,o).join("-")))return r;if(e&&e.length>=o&&qr(i,e)>=o-1)break;o--}n++}return zr}(t)}function ei(t){var o,e=t._a;return e&&-2===Xo(t).overflow&&(o=e[ar]<0||e[ar]>11?ar:e[cr]<1||e[cr]>yr(e[sr],e[ar])?cr:e[lr]<0||e[lr]>24||24===e[lr]&&(0!==e[hr]||0!==e[fr]||0!==e[ur])?lr:e[hr]<0||e[hr]>59?hr:e[fr]<0||e[fr]>59?fr:e[ur]<0||e[ur]>999?ur:-1,Xo(t)._overflowDayOfYear&&(o<sr||o>cr)&&(o=cr),Xo(t)._overflowWeeks&&-1===o&&(o=dr),Xo(t)._overflowWeekday&&-1===o&&(o=pr),Xo(t).overflow=o),t}var ri=/^\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)?)?$/,ii=/^\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)?)?$/,ni=/Z|[+-]\d\d(?::?\d\d)?/,si=[["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]],ai=[["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/]],ci=/^\/?Date\((-?\d+)/i,li=/^(?:(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}))$/,hi={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function fi(t){var o,e,r,i,n,s,a=t._i,c=ri.exec(a)||ii.exec(a),l=si.length,h=ai.length;if(c){for(Xo(t).iso=!0,o=0,e=l;o<e;o++)if(si[o][1].exec(c[1])){i=si[o][0],r=!1!==si[o][2];break}if(null==i)return void(t._isValid=!1);if(c[3]){for(o=0,e=h;o<e;o++)if(ai[o][1].exec(c[3])){n=(c[2]||" ")+ai[o][0];break}if(null==n)return void(t._isValid=!1)}if(!r&&null!=n)return void(t._isValid=!1);if(c[4]){if(!ni.exec(c[4]))return void(t._isValid=!1);s="Z"}t._f=i+(n||"")+(s||""),gi(t)}else t._isValid=!1}function ui(t){var o=parseInt(t,10);return o<=49?2e3+o:o<=999?1900+o:o}function di(t){var o,e,r,i,n,s,a,c,l=li.exec(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(t._i));if(l){if(e=l[4],r=l[3],i=l[2],n=l[5],s=l[6],a=l[7],c=[ui(e),mr.indexOf(r),parseInt(i,10),parseInt(n,10),parseInt(s,10)],a&&c.push(parseInt(a,10)),o=c,!function(t,o,e){return!t||Lr.indexOf(t)===new Date(o[0],o[1],o[2]).getDay()||(Xo(e).weekdayMismatch=!0,e._isValid=!1,!1)}(l[1],o,t))return;t._a=o,t._tzm=function(t,o,e){if(t)return hi[t];if(o)return 0;var r=parseInt(e,10),i=r%100;return(r-i)/100*60+i}(l[8],l[9],l[10]),t._d=Rr.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),Xo(t).rfc2822=!0}else t._isValid=!1}function pi(t,o,e){return null!=t?t:null!=o?o:e}function yi(t){var o,e,r,i,n,s=[];if(!t._d){for(r=function(t){var o=new Date(To.now());return t._useUTC?[o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()]:[o.getFullYear(),o.getMonth(),o.getDate()]}(t),t._w&&null==t._a[cr]&&null==t._a[ar]&&function(t){var o,e,r,i,n,s,a,c,l;o=t._w,null!=o.GG||null!=o.W||null!=o.E?(n=1,s=4,e=pi(o.GG,t._a[sr],Yr(Ni(),1,4).year),r=pi(o.W,1),((i=pi(o.E,1))<1||i>7)&&(c=!0)):(n=t._locale._week.dow,s=t._locale._week.doy,l=Yr(Ni(),n,s),e=pi(o.gg,t._a[sr],l.year),r=pi(o.w,l.week),null!=o.d?((i=o.d)<0||i>6)&&(c=!0):null!=o.e?(i=o.e+n,(o.e<0||o.e>6)&&(c=!0)):i=n);r<1||r>Dr(e,n,s)?Xo(t)._overflowWeeks=!0:null!=c?Xo(t)._overflowWeekday=!0:(a=Wr(e,r,i,n,s),t._a[sr]=a.year,t._dayOfYear=a.dayOfYear)}(t),null!=t._dayOfYear&&(n=pi(t._a[sr],r[sr]),(t._dayOfYear>Cr(n)||0===t._dayOfYear)&&(Xo(t)._overflowDayOfYear=!0),e=Rr(n,0,t._dayOfYear),t._a[ar]=e.getUTCMonth(),t._a[cr]=e.getUTCDate()),o=0;o<3&&null==t._a[o];++o)t._a[o]=s[o]=r[o];for(;o<7;o++)t._a[o]=s[o]=null==t._a[o]?2===o?1:0:t._a[o];24===t._a[lr]&&0===t._a[hr]&&0===t._a[fr]&&0===t._a[ur]&&(t._nextDay=!0,t._a[lr]=0),t._d=(t._useUTC?Rr:Mr).apply(null,s),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[lr]=24),t._w&&void 0!==t._w.d&&t._w.d!==i&&(Xo(t).weekdayMismatch=!0)}}function gi(t){if(t._f!==To.ISO_8601)if(t._f!==To.RFC_2822){t._a=[],Xo(t).empty=!0;var o,e,r,i,n,s,a,c=""+t._i,l=c.length,h=0;for(a=(r=Se(t._f,t._locale).match(ge)||[]).length,o=0;o<a;o++)i=r[o],(e=(c.match(Xe(i,t))||[])[0])&&((n=c.substr(0,c.indexOf(e))).length>0&&Xo(t).unusedInput.push(n),c=c.slice(c.indexOf(e)+e.length),h+=e.length),Ne[i]?(e?Xo(t).empty=!1:Xo(t).unusedTokens.push(i),ir(i,e,t)):t._strict&&!e&&Xo(t).unusedTokens.push(i);Xo(t).charsLeftOver=l-h,c.length>0&&Xo(t).unusedInput.push(c),t._a[lr]<=12&&!0===Xo(t).bigHour&&t._a[lr]>0&&(Xo(t).bigHour=void 0),Xo(t).parsedDateParts=t._a.slice(0),Xo(t).meridiem=t._meridiem,t._a[lr]=function(t,o,e){var r;if(null==e)return o;return null!=t.meridiemHour?t.meridiemHour(o,e):null!=t.isPM?((r=t.isPM(e))&&o<12&&(o+=12),r||12!==o||(o=0),o):o}(t._locale,t._a[lr],t._meridiem),null!==(s=Xo(t).era)&&(t._a[sr]=t._locale.erasConvertYear(s,t._a[sr])),yi(t),ei(t)}else di(t);else fi(t)}function mi(t){var o=t._i,e=t._f;return t._locale=t._locale||oi(t._l),null===o||void 0===e&&""===o?oe({nullInput:!0}):("string"==typeof o&&(t._i=o=t._locale.preparse(o)),se(o)?new ne(ei(o)):(Jo(o)?t._d=o:_o(e)?function(t){var o,e,r,i,n,s,a=!1,c=t._f.length;if(0===c)return Xo(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;i<c;i++)n=0,s=!1,o=ie({},t),null!=t._useUTC&&(o._useUTC=t._useUTC),o._f=t._f[i],gi(o),te(o)&&(s=!0),n+=Xo(o).charsLeftOver,n+=10*Xo(o).unusedTokens.length,Xo(o).score=n,a?n<r&&(r=n,e=o):(null==r||n<r||s)&&(r=n,e=o,s&&(a=!0));Qo(t,e||o)}(t):e?gi(t):function(t){var o=t._i;jo(o)?t._d=new Date(To.now()):Jo(o)?t._d=new Date(o.valueOf()):"string"==typeof o?function(t){var o=ci.exec(t._i);null===o?(fi(t),!1===t._isValid&&(delete t._isValid,di(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:To.createFromInputFallback(t)))):t._d=new Date(+o[1])}(t):_o(o)?(t._a=qo(o.slice(0),(function(t){return parseInt(t,10)})),yi(t)):Go(o)?function(t){if(!t._d){var o=Ee(t._i),e=void 0===o.day?o.date:o.day;t._a=qo([o.year,o.month,e,o.hour,o.minute,o.second,o.millisecond],(function(t){return t&&parseInt(t,10)})),yi(t)}}(t):Po(o)?t._d=new Date(o):To.createFromInputFallback(t)}(t),te(t)||(t._d=null),t))}function bi(t,o,e,r,i){var n,s={};return!0!==o&&!1!==o||(r=o,o=void 0),!0!==e&&!1!==e||(r=e,e=void 0),(Go(t)&&zo(t)||_o(t)&&0===t.length)&&(t=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=e,s._i=t,s._f=o,s._strict=r,(n=new ne(ei(mi(s))))._nextDay&&(n.add(1,"d"),n._nextDay=void 0),n}function Ni(t,o,e,r){return bi(t,o,e,r,!1)}To.createFromInputFallback=ce("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(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),To.ISO_8601=function(){},To.RFC_2822=function(){};var Oi=ce("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Ni.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:oe()})),vi=ce("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Ni.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:oe()}));function Si(t,o){var e,r;if(1===o.length&&_o(o[0])&&(o=o[0]),!o.length)return Ni();for(e=o[0],r=1;r<o.length;++r)o[r].isValid()&&!o[r][t](e)||(e=o[r]);return e}var wi=["year","quarter","month","week","day","hour","minute","second","millisecond"];function xi(t){var o=Ee(t),e=o.year||0,r=o.quarter||0,i=o.month||0,n=o.week||o.isoWeek||0,s=o.day||0,a=o.hour||0,c=o.minute||0,l=o.second||0,h=o.millisecond||0;this._isValid=function(t){var o,e,r=!1,i=wi.length;for(o in t)if(Bo(t,o)&&(-1===nr.call(wi,o)||null!=t[o]&&isNaN(t[o])))return!1;for(e=0;e<i;++e)if(t[wi[e]]){if(r)return!1;parseFloat(t[wi[e]])!==Ye(t[wi[e]])&&(r=!0)}return!0}(o),this._milliseconds=+h+1e3*l+6e4*c+1e3*a*60*60,this._days=+s+7*n,this._months=+i+3*r+12*e,this._data={},this._locale=oi(),this._bubble()}function Ci(t){return t instanceof xi}function Ei(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Mi(t,o){Oe(t,0,0,(function(){var t=this.utcOffset(),e="+";return t<0&&(t=-t,e="-"),e+ye(~~(t/60),2)+o+ye(~~t%60,2)}))}Mi("Z",":"),Mi("ZZ",""),Ve("Z",qe),Ve("ZZ",qe),er(["Z","ZZ"],(function(t,o,e){e._useUTC=!0,e._tzm=Ui(qe,t)}));var Ri=/([\+\-]|\d\d)/gi;function Ui(t,o){var e,r,i=(o||"").match(t);return null===i?null:0===(r=60*(e=((i[i.length-1]||[])+"").match(Ri)||["-",0,0])[1]+Ye(e[2]))?0:"+"===e[0]?r:-r}function Wi(t,o){var e,r;return o._isUTC?(e=o.clone(),r=(se(t)||Jo(t)?t.valueOf():Ni(t).valueOf())-e.valueOf(),e._d.setTime(e._d.valueOf()+r),To.updateOffset(e,!1),e):Ni(t).local()}function Yi(t){return-Math.round(t._d.getTimezoneOffset())}function Di(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}To.updateOffset=function(){};var ki=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ii=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Li(t,o){var e,r,i,n=t,s=null;return Ci(t)?n={ms:t._milliseconds,d:t._days,M:t._months}:Po(t)||!isNaN(+t)?(n={},o?n[o]=+t:n.milliseconds=+t):(s=ki.exec(t))?(e="-"===s[1]?-1:1,n={y:0,d:Ye(s[cr])*e,h:Ye(s[lr])*e,m:Ye(s[hr])*e,s:Ye(s[fr])*e,ms:Ye(Ei(1e3*s[ur]))*e}):(s=Ii.exec(t))?(e="-"===s[1]?-1:1,n={y:Zi(s[2],e),M:Zi(s[3],e),w:Zi(s[4],e),d:Zi(s[5],e),h:Zi(s[6],e),m:Zi(s[7],e),s:Zi(s[8],e)}):null==n?n={}:"object"==typeof n&&("from"in n||"to"in n)&&(i=function(t,o){var e;if(!t.isValid()||!o.isValid())return{milliseconds:0,months:0};o=Wi(o,t),t.isBefore(o)?e=Ki(t,o):((e=Ki(o,t)).milliseconds=-e.milliseconds,e.months=-e.months);return e}(Ni(n.from),Ni(n.to)),(n={}).ms=i.milliseconds,n.M=i.months),r=new xi(n),Ci(t)&&Bo(t,"_locale")&&(r._locale=t._locale),Ci(t)&&Bo(t,"_isValid")&&(r._isValid=t._isValid),r}function Zi(t,o){var e=t&&parseFloat(t.replace(",","."));return(isNaN(e)?0:e)*o}function Ki(t,o){var e={};return e.months=o.month()-t.month()+12*(o.year()-t.year()),t.clone().add(e.months,"M").isAfter(o)&&--e.months,e.milliseconds=+o-+t.clone().add(e.months,"M"),e}function Ai(t,o){return function(e,r){var i;return null===r||isNaN(+r)||(fe(o,"moment()."+o+"(period, number) is deprecated. Please use moment()."+o+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=e,e=r,r=i),Fi(this,Li(e,r),t),this}}function Fi(t,o,e,r){var i=o._milliseconds,n=Ei(o._days),s=Ei(o._months);t.isValid()&&(r=null==r||r,s&&Sr(t,ke(t,"Month")+s*e),n&&Ie(t,"Date",ke(t,"Date")+n*e),i&&t._d.setTime(t._d.valueOf()+i*e),r&&To.updateOffset(t,n||s))}Li.fn=xi.prototype,Li.invalid=function(){return Li(NaN)};var $i=Ai(1,"add"),Hi=Ai(-1,"subtract");function Ti(t){return"string"==typeof t||t instanceof String}function _i(t){return se(t)||Jo(t)||Ti(t)||Po(t)||function(t){var o=_o(t),e=!1;o&&(e=0===t.filter((function(o){return!Po(o)&&Ti(t)})).length);return o&&e}(t)||function(t){var o,e,r=Go(t)&&!zo(t),i=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s=n.length;for(o=0;o<s;o+=1)e=n[o],i=i||Bo(t,e);return r&&i}(t)||null==t}function Gi(t,o){if(t.date()<o.date())return-Gi(o,t);var e=12*(o.year()-t.year())+(o.month()-t.month()),r=t.clone().add(e,"months");return-(e+(o-r<0?(o-r)/(r-t.clone().add(e-1,"months")):(o-r)/(t.clone().add(e+1,"months")-r)))||0}function Bi(t){var o;return void 0===t?this._locale._abbr:(null!=(o=oi(t))&&(this._locale=o),this)}To.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",To.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var zi=ce("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function ji(){return this._locale}var Pi=1e3,Ji=6e4,qi=36e5,Qi=126227808e5;function Vi(t,o){return(t%o+o)%o}function Xi(t,o,e){return t<100&&t>=0?new Date(t+400,o,e)-Qi:new Date(t,o,e).valueOf()}function tn(t,o,e){return t<100&&t>=0?Date.UTC(t+400,o,e)-Qi:Date.UTC(t,o,e)}function on(t,o){return o.erasAbbrRegex(t)}function en(){var t,o,e=[],r=[],i=[],n=[],s=this.eras();for(t=0,o=s.length;t<o;++t)r.push(tr(s[t].name)),e.push(tr(s[t].abbr)),i.push(tr(s[t].narrow)),n.push(tr(s[t].name)),n.push(tr(s[t].abbr)),n.push(tr(s[t].narrow));this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function rn(t,o){Oe(0,[t,t.length],0,o)}function nn(t,o,e,r,i){var n;return null==t?Yr(this,r,i).year:(o>(n=Dr(t,r,i))&&(o=n),sn.call(this,t,o,e,r,i))}function sn(t,o,e,r,i){var n=Wr(t,o,e,r,i),s=Rr(n.year,0,n.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}Oe("N",0,0,"eraAbbr"),Oe("NN",0,0,"eraAbbr"),Oe("NNN",0,0,"eraAbbr"),Oe("NNNN",0,0,"eraName"),Oe("NNNNN",0,0,"eraNarrow"),Oe("y",["y",1],"yo","eraYear"),Oe("y",["yy",2],0,"eraYear"),Oe("y",["yyy",3],0,"eraYear"),Oe("y",["yyyy",4],0,"eraYear"),Ve("N",on),Ve("NN",on),Ve("NNN",on),Ve("NNNN",(function(t,o){return o.erasNameRegex(t)})),Ve("NNNNN",(function(t,o){return o.erasNarrowRegex(t)})),er(["N","NN","NNN","NNNN","NNNNN"],(function(t,o,e,r){var i=e._locale.erasParse(t,r,e._strict);i?Xo(e).era=i:Xo(e).invalidEra=t})),Ve("y",je),Ve("yy",je),Ve("yyy",je),Ve("yyyy",je),Ve("yo",(function(t,o){return o._eraYearOrdinalRegex||je})),er(["y","yy","yyy","yyyy"],sr),er(["yo"],(function(t,o,e,r){var i;e._locale._eraYearOrdinalRegex&&(i=t.match(e._locale._eraYearOrdinalRegex)),e._locale.eraYearOrdinalParse?o[sr]=e._locale.eraYearOrdinalParse(t,i):o[sr]=parseInt(t,10)})),Oe(0,["gg",2],0,(function(){return this.weekYear()%100})),Oe(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),rn("gggg","weekYear"),rn("ggggg","weekYear"),rn("GGGG","isoWeekYear"),rn("GGGGG","isoWeekYear"),xe("weekYear","gg"),xe("isoWeekYear","GG"),Re("weekYear",1),Re("isoWeekYear",1),Ve("G",Pe),Ve("g",Pe),Ve("GG",He,Ke),Ve("gg",He,Ke),Ve("GGGG",Be,Fe),Ve("gggg",Be,Fe),Ve("GGGGG",ze,$e),Ve("ggggg",ze,$e),rr(["gggg","ggggg","GGGG","GGGGG"],(function(t,o,e,r){o[r.substr(0,2)]=Ye(t)})),rr(["gg","GG"],(function(t,o,e,r){o[r]=To.parseTwoDigitYear(t)})),Oe("Q",0,"Qo","quarter"),xe("quarter","Q"),Re("quarter",7),Ve("Q",Ze),er("Q",(function(t,o){o[ar]=3*(Ye(t)-1)})),Oe("D",["DD",2],"Do","date"),xe("date","D"),Re("date",9),Ve("D",He),Ve("DD",He,Ke),Ve("Do",(function(t,o){return t?o._dayOfMonthOrdinalParse||o._ordinalParse:o._dayOfMonthOrdinalParseLenient})),er(["D","DD"],cr),er("Do",(function(t,o){o[cr]=Ye(t.match(He)[0])}));var an=De("Date",!0);Oe("DDD",["DDDD",3],"DDDo","dayOfYear"),xe("dayOfYear","DDD"),Re("dayOfYear",4),Ve("DDD",Ge),Ve("DDDD",Ae),er(["DDD","DDDD"],(function(t,o,e){e._dayOfYear=Ye(t)})),Oe("m",["mm",2],0,"minute"),xe("minute","m"),Re("minute",14),Ve("m",He),Ve("mm",He,Ke),er(["m","mm"],hr);var cn=De("Minutes",!1);Oe("s",["ss",2],0,"second"),xe("second","s"),Re("second",15),Ve("s",He),Ve("ss",He,Ke),er(["s","ss"],fr);var ln,hn,fn=De("Seconds",!1);for(Oe("S",0,0,(function(){return~~(this.millisecond()/100)})),Oe(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),Oe(0,["SSS",3],0,"millisecond"),Oe(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),Oe(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),Oe(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),Oe(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),Oe(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),Oe(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),xe("millisecond","ms"),Re("millisecond",16),Ve("S",Ge,Ze),Ve("SS",Ge,Ke),Ve("SSS",Ge,Ae),ln="SSSS";ln.length<=9;ln+="S")Ve(ln,je);function un(t,o){o[ur]=Ye(1e3*("0."+t))}for(ln="S";ln.length<=9;ln+="S")er(ln,un);hn=De("Milliseconds",!1),Oe("z",0,0,"zoneAbbr"),Oe("zz",0,0,"zoneName");var dn=ne.prototype;function pn(t){return t}dn.add=$i,dn.calendar=function(t,o){1===arguments.length&&(arguments[0]?_i(arguments[0])?(t=arguments[0],o=void 0):function(t){var o,e=Go(t)&&!zo(t),r=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(o=0;o<i.length;o+=1)r=r||Bo(t,i[o]);return e&&r}(arguments[0])&&(o=arguments[0],t=void 0):(t=void 0,o=void 0));var e=t||Ni(),r=Wi(e,this).startOf("day"),i=To.calendarFormat(this,r)||"sameElse",n=o&&(ue(o[i])?o[i].call(this,e):o[i]);return this.format(n||this.localeData().calendar(i,this,Ni(e)))},dn.clone=function(){return new ne(this)},dn.diff=function(t,o,e){var r,i,n;if(!this.isValid())return NaN;if(!(r=Wi(t,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),o=Ce(o)){case"year":n=Gi(this,r)/12;break;case"month":n=Gi(this,r);break;case"quarter":n=Gi(this,r)/3;break;case"second":n=(this-r)/1e3;break;case"minute":n=(this-r)/6e4;break;case"hour":n=(this-r)/36e5;break;case"day":n=(this-r-i)/864e5;break;case"week":n=(this-r-i)/6048e5;break;default:n=this-r}return e?n:We(n)},dn.endOf=function(t){var o,e;if(void 0===(t=Ce(t))||"millisecond"===t||!this.isValid())return this;switch(e=this._isUTC?tn:Xi,t){case"year":o=e(this.year()+1,0,1)-1;break;case"quarter":o=e(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":o=e(this.year(),this.month()+1,1)-1;break;case"week":o=e(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":o=e(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":o=e(this.year(),this.month(),this.date()+1)-1;break;case"hour":o=this._d.valueOf(),o+=qi-Vi(o+(this._isUTC?0:this.utcOffset()*Ji),qi)-1;break;case"minute":o=this._d.valueOf(),o+=Ji-Vi(o,Ji)-1;break;case"second":o=this._d.valueOf(),o+=Pi-Vi(o,Pi)-1}return this._d.setTime(o),To.updateOffset(this,!0),this},dn.format=function(t){t||(t=this.isUtc()?To.defaultFormatUtc:To.defaultFormat);var o=ve(this,t);return this.localeData().postformat(o)},dn.from=function(t,o){return this.isValid()&&(se(t)&&t.isValid()||Ni(t).isValid())?Li({to:this,from:t}).locale(this.locale()).humanize(!o):this.localeData().invalidDate()},dn.fromNow=function(t){return this.from(Ni(),t)},dn.to=function(t,o){return this.isValid()&&(se(t)&&t.isValid()||Ni(t).isValid())?Li({from:this,to:t}).locale(this.locale()).humanize(!o):this.localeData().invalidDate()},dn.toNow=function(t){return this.to(Ni(),t)},dn.get=function(t){return ue(this[t=Ce(t)])?this[t]():this},dn.invalidAt=function(){return Xo(this).overflow},dn.isAfter=function(t,o){var e=se(t)?t:Ni(t);return!(!this.isValid()||!e.isValid())&&("millisecond"===(o=Ce(o)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(o).valueOf())},dn.isBefore=function(t,o){var e=se(t)?t:Ni(t);return!(!this.isValid()||!e.isValid())&&("millisecond"===(o=Ce(o)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(o).valueOf()<e.valueOf())},dn.isBetween=function(t,o,e,r){var i=se(t)?t:Ni(t),n=se(o)?o:Ni(o);return!!(this.isValid()&&i.isValid()&&n.isValid())&&(("("===(r=r||"()")[0]?this.isAfter(i,e):!this.isBefore(i,e))&&(")"===r[1]?this.isBefore(n,e):!this.isAfter(n,e)))},dn.isSame=function(t,o){var e,r=se(t)?t:Ni(t);return!(!this.isValid()||!r.isValid())&&("millisecond"===(o=Ce(o)||"millisecond")?this.valueOf()===r.valueOf():(e=r.valueOf(),this.clone().startOf(o).valueOf()<=e&&e<=this.clone().endOf(o).valueOf()))},dn.isSameOrAfter=function(t,o){return this.isSame(t,o)||this.isAfter(t,o)},dn.isSameOrBefore=function(t,o){return this.isSame(t,o)||this.isBefore(t,o)},dn.isValid=function(){return te(this)},dn.lang=zi,dn.locale=Bi,dn.localeData=ji,dn.max=vi,dn.min=Oi,dn.parsingFlags=function(){return Qo({},Xo(this))},dn.set=function(t,o){if("object"==typeof t){var e,r=function(t){var o,e=[];for(o in t)Bo(t,o)&&e.push({unit:o,priority:Me[o]});return e.sort((function(t,o){return t.priority-o.priority})),e}(t=Ee(t)),i=r.length;for(e=0;e<i;e++)this[r[e].unit](t[r[e].unit])}else if(ue(this[t=Ce(t)]))return this[t](o);return this},dn.startOf=function(t){var o,e;if(void 0===(t=Ce(t))||"millisecond"===t||!this.isValid())return this;switch(e=this._isUTC?tn:Xi,t){case"year":o=e(this.year(),0,1);break;case"quarter":o=e(this.year(),this.month()-this.month()%3,1);break;case"month":o=e(this.year(),this.month(),1);break;case"week":o=e(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":o=e(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":o=e(this.year(),this.month(),this.date());break;case"hour":o=this._d.valueOf(),o-=Vi(o+(this._isUTC?0:this.utcOffset()*Ji),qi);break;case"minute":o=this._d.valueOf(),o-=Vi(o,Ji);break;case"second":o=this._d.valueOf(),o-=Vi(o,Pi)}return this._d.setTime(o),To.updateOffset(this,!0),this},dn.subtract=Hi,dn.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},dn.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},dn.toDate=function(){return new Date(this.valueOf())},dn.toISOString=function(t){if(!this.isValid())return null;var o=!0!==t,e=o?this.clone().utc():this;return e.year()<0||e.year()>9999?ve(e,o?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ue(Date.prototype.toISOString)?o?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",ve(e,"Z")):ve(e,o?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},dn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,o,e,r="moment",i="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),t="["+r+'("]',o=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY","-MM-DD[T]HH:mm:ss.SSS",e=i+'[")]',this.format(t+o+"-MM-DD[T]HH:mm:ss.SSS"+e)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(dn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),dn.toJSON=function(){return this.isValid()?this.toISOString():null},dn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},dn.unix=function(){return Math.floor(this.valueOf()/1e3)},dn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},dn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},dn.eraName=function(){var t,o,e,r=this.localeData().eras();for(t=0,o=r.length;t<o;++t){if(e=this.clone().startOf("day").valueOf(),r[t].since<=e&&e<=r[t].until)return r[t].name;if(r[t].until<=e&&e<=r[t].since)return r[t].name}return""},dn.eraNarrow=function(){var t,o,e,r=this.localeData().eras();for(t=0,o=r.length;t<o;++t){if(e=this.clone().startOf("day").valueOf(),r[t].since<=e&&e<=r[t].until)return r[t].narrow;if(r[t].until<=e&&e<=r[t].since)return r[t].narrow}return""},dn.eraAbbr=function(){var t,o,e,r=this.localeData().eras();for(t=0,o=r.length;t<o;++t){if(e=this.clone().startOf("day").valueOf(),r[t].since<=e&&e<=r[t].until)return r[t].abbr;if(r[t].until<=e&&e<=r[t].since)return r[t].abbr}return""},dn.eraYear=function(){var t,o,e,r,i=this.localeData().eras();for(t=0,o=i.length;t<o;++t)if(e=i[t].since<=i[t].until?1:-1,r=this.clone().startOf("day").valueOf(),i[t].since<=r&&r<=i[t].until||i[t].until<=r&&r<=i[t].since)return(this.year()-To(i[t].since).year())*e+i[t].offset;return this.year()},dn.year=Er,dn.isLeapYear=function(){return Ue(this.year())},dn.weekYear=function(t){return nn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},dn.isoWeekYear=function(t){return nn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},dn.quarter=dn.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},dn.month=wr,dn.daysInMonth=function(){return yr(this.year(),this.month())},dn.week=dn.weeks=function(t){var o=this.localeData().week(this);return null==t?o:this.add(7*(t-o),"d")},dn.isoWeek=dn.isoWeeks=function(t){var o=Yr(this,1,4).week;return null==t?o:this.add(7*(t-o),"d")},dn.weeksInYear=function(){var t=this.localeData()._week;return Dr(this.year(),t.dow,t.doy)},dn.weeksInWeekYear=function(){var t=this.localeData()._week;return Dr(this.weekYear(),t.dow,t.doy)},dn.isoWeeksInYear=function(){return Dr(this.year(),1,4)},dn.isoWeeksInISOWeekYear=function(){return Dr(this.isoWeekYear(),1,4)},dn.date=an,dn.day=dn.days=function(t){if(!this.isValid())return null!=t?this:NaN;var o=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,o){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=o.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-o,"d")):o},dn.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var o=(this.day()+7-this.localeData()._week.dow)%7;return null==t?o:this.add(t-o,"d")},dn.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var o=function(t,o){return"string"==typeof t?o.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?o:o-7)}return this.day()||7},dn.dayOfYear=function(t){var o=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?o:this.add(t-o,"d")},dn.hour=dn.hours=Br,dn.minute=dn.minutes=cn,dn.second=dn.seconds=fn,dn.millisecond=dn.milliseconds=hn,dn.utcOffset=function(t,o,e){var r,i=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Ui(qe,t)))return this}else Math.abs(t)<16&&!e&&(t*=60);return!this._isUTC&&o&&(r=Yi(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==t&&(!o||this._changeInProgress?Fi(this,Li(t-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,To.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Yi(this)},dn.utc=function(t){return this.utcOffset(0,t)},dn.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Yi(this),"m")),this},dn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Ui(Je,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},dn.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Ni(t).utcOffset():0,(this.utcOffset()-t)%60==0)},dn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},dn.isLocal=function(){return!!this.isValid()&&!this._isUTC},dn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},dn.isUtc=Di,dn.isUTC=Di,dn.zoneAbbr=function(){return this._isUTC?"UTC":""},dn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},dn.dates=ce("dates accessor is deprecated. Use date instead.",an),dn.months=ce("months accessor is deprecated. Use month instead",wr),dn.years=ce("years accessor is deprecated. Use year instead",Er),dn.zone=ce("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,o){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,o),this):-this.utcOffset()})),dn.isDSTShifted=ce("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!jo(this._isDSTShifted))return this._isDSTShifted;var t,o={};return ie(o,this),(o=mi(o))._a?(t=o._isUTC?Vo(o._a):Ni(o._a),this._isDSTShifted=this.isValid()&&function(t,o,e){var r,i=Math.min(t.length,o.length),n=Math.abs(t.length-o.length),s=0;for(r=0;r<i;r++)(e&&t[r]!==o[r]||!e&&Ye(t[r])!==Ye(o[r]))&&s++;return s+n}(o._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var yn=pe.prototype;function gn(t,o,e,r){var i=oi(),n=Vo().set(r,o);return i[e](n,t)}function mn(t,o,e){if(Po(t)&&(o=t,t=void 0),t=t||"",null!=o)return gn(t,o,e,"month");var r,i=[];for(r=0;r<12;r++)i[r]=gn(t,r,e,"month");return i}function bn(t,o,e,r){"boolean"==typeof t?(Po(o)&&(e=o,o=void 0),o=o||""):(e=o=t,t=!1,Po(o)&&(e=o,o=void 0),o=o||"");var i,n=oi(),s=t?n._week.dow:0,a=[];if(null!=e)return gn(o,(e+s)%7,r,"day");for(i=0;i<7;i++)a[i]=gn(o,(i+s)%7,r,"day");return a}yn.calendar=function(t,o,e){var r=this._calendar[t]||this._calendar.sameElse;return ue(r)?r.call(o,e):r},yn.longDateFormat=function(t){var o=this._longDateFormat[t],e=this._longDateFormat[t.toUpperCase()];return o||!e?o:(this._longDateFormat[t]=e.match(ge).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},yn.invalidDate=function(){return this._invalidDate},yn.ordinal=function(t){return this._ordinal.replace("%d",t)},yn.preparse=pn,yn.postformat=pn,yn.relativeTime=function(t,o,e,r){var i=this._relativeTime[e];return ue(i)?i(t,o,e,r):i.replace(/%d/i,t)},yn.pastFuture=function(t,o){var e=this._relativeTime[t>0?"future":"past"];return ue(e)?e(o):e.replace(/%s/i,o)},yn.set=function(t){var o,e;for(e in t)Bo(t,e)&&(ue(o=t[e])?this[e]=o:this["_"+e]=o);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},yn.eras=function(t,o){var e,r,i,n=this._eras||oi("en")._eras;for(e=0,r=n.length;e<r;++e){if("string"==typeof n[e].since)i=To(n[e].since).startOf("day"),n[e].since=i.valueOf();switch(typeof n[e].until){case"undefined":n[e].until=1/0;break;case"string":i=To(n[e].until).startOf("day").valueOf(),n[e].until=i.valueOf()}}return n},yn.erasParse=function(t,o,e){var r,i,n,s,a,c=this.eras();for(t=t.toUpperCase(),r=0,i=c.length;r<i;++r)if(n=c[r].name.toUpperCase(),s=c[r].abbr.toUpperCase(),a=c[r].narrow.toUpperCase(),e)switch(o){case"N":case"NN":case"NNN":if(s===t)return c[r];break;case"NNNN":if(n===t)return c[r];break;case"NNNNN":if(a===t)return c[r]}else if([n,s,a].indexOf(t)>=0)return c[r]},yn.erasConvertYear=function(t,o){var e=t.since<=t.until?1:-1;return void 0===o?To(t.since).year():To(t.since).year()+(o-t.offset)*e},yn.erasAbbrRegex=function(t){return Bo(this,"_erasAbbrRegex")||en.call(this),t?this._erasAbbrRegex:this._erasRegex},yn.erasNameRegex=function(t){return Bo(this,"_erasNameRegex")||en.call(this),t?this._erasNameRegex:this._erasRegex},yn.erasNarrowRegex=function(t){return Bo(this,"_erasNarrowRegex")||en.call(this),t?this._erasNarrowRegex:this._erasRegex},yn.months=function(t,o){return t?_o(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||br).test(o)?"format":"standalone"][t.month()]:_o(this._months)?this._months:this._months.standalone},yn.monthsShort=function(t,o){return t?_o(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[br.test(o)?"format":"standalone"][t.month()]:_o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},yn.monthsParse=function(t,o,e){var r,i,n;if(this._monthsParseExact)return vr.call(this,t,o,e);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=Vo([2e3,r]),e&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),e||this._monthsParse[r]||(n="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(n.replace(".",""),"i")),e&&"MMMM"===o&&this._longMonthsParse[r].test(t))return r;if(e&&"MMM"===o&&this._shortMonthsParse[r].test(t))return r;if(!e&&this._monthsParse[r].test(t))return r}},yn.monthsRegex=function(t){return this._monthsParseExact?(Bo(this,"_monthsRegex")||xr.call(this),t?this._monthsStrictRegex:this._monthsRegex):(Bo(this,"_monthsRegex")||(this._monthsRegex=Or),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},yn.monthsShortRegex=function(t){return this._monthsParseExact?(Bo(this,"_monthsRegex")||xr.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(Bo(this,"_monthsShortRegex")||(this._monthsShortRegex=Nr),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},yn.week=function(t){return Yr(t,this._week.dow,this._week.doy).week},yn.firstDayOfYear=function(){return this._week.doy},yn.firstDayOfWeek=function(){return this._week.dow},yn.weekdays=function(t,o){var e=_o(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(o)?"format":"standalone"];return!0===t?kr(e,this._week.dow):t?e[t.day()]:e},yn.weekdaysMin=function(t){return!0===t?kr(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},yn.weekdaysShort=function(t){return!0===t?kr(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},yn.weekdaysParse=function(t,o,e){var r,i,n;if(this._weekdaysParseExact)return $r.call(this,t,o,e);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=Vo([2e3,1]).day(r),e&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(n="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(n.replace(".",""),"i")),e&&"dddd"===o&&this._fullWeekdaysParse[r].test(t))return r;if(e&&"ddd"===o&&this._shortWeekdaysParse[r].test(t))return r;if(e&&"dd"===o&&this._minWeekdaysParse[r].test(t))return r;if(!e&&this._weekdaysParse[r].test(t))return r}},yn.weekdaysRegex=function(t){return this._weekdaysParseExact?(Bo(this,"_weekdaysRegex")||Hr.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(Bo(this,"_weekdaysRegex")||(this._weekdaysRegex=Kr),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},yn.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(Bo(this,"_weekdaysRegex")||Hr.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Bo(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ar),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},yn.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(Bo(this,"_weekdaysRegex")||Hr.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Bo(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Fr),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},yn.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},yn.meridiem=function(t,o,e){return t>11?e?"pm":"PM":e?"am":"AM"},Xr("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(t){var o=t%10;return t+(1===Ye(t%100/10)?"th":1===o?"st":2===o?"nd":3===o?"rd":"th")}}),To.lang=ce("moment.lang is deprecated. Use moment.locale instead.",Xr),To.langData=ce("moment.langData is deprecated. Use moment.localeData instead.",oi);var Nn=Math.abs;function On(t,o,e,r){var i=Li(o,e);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function vn(t){return t<0?Math.floor(t):Math.ceil(t)}function Sn(t){return 4800*t/146097}function wn(t){return 146097*t/4800}function xn(t){return function(){return this.as(t)}}var Cn=xn("ms"),En=xn("s"),Mn=xn("m"),Rn=xn("h"),Un=xn("d"),Wn=xn("w"),Yn=xn("M"),Dn=xn("Q"),kn=xn("y");function In(t){return function(){return this.isValid()?this._data[t]:NaN}}var Ln=In("milliseconds"),Zn=In("seconds"),Kn=In("minutes"),An=In("hours"),Fn=In("days"),$n=In("months"),Hn=In("years");var Tn=Math.round,_n={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Gn(t,o,e,r,i){return i.relativeTime(o||1,!!e,t,r)}var Bn=Math.abs;function zn(t){return(t>0)-(t<0)||+t}function jn(){if(!this.isValid())return this.localeData().invalidDate();var t,o,e,r,i,n,s,a,c=Bn(this._milliseconds)/1e3,l=Bn(this._days),h=Bn(this._months),f=this.asSeconds();return f?(t=We(c/60),o=We(t/60),c%=60,t%=60,e=We(h/12),h%=12,r=c?c.toFixed(3).replace(/\.?0+$/,""):"",i=f<0?"-":"",n=zn(this._months)!==zn(f)?"-":"",s=zn(this._days)!==zn(f)?"-":"",a=zn(this._milliseconds)!==zn(f)?"-":"",i+"P"+(e?n+e+"Y":"")+(h?n+h+"M":"")+(l?s+l+"D":"")+(o||t||c?"T":"")+(o?a+o+"H":"")+(t?a+t+"M":"")+(c?a+r+"S":"")):"P0D"}var Pn,Jn=xi.prototype;Jn.isValid=function(){return this._isValid},Jn.abs=function(){var t=this._data;return this._milliseconds=Nn(this._milliseconds),this._days=Nn(this._days),this._months=Nn(this._months),t.milliseconds=Nn(t.milliseconds),t.seconds=Nn(t.seconds),t.minutes=Nn(t.minutes),t.hours=Nn(t.hours),t.months=Nn(t.months),t.years=Nn(t.years),this},Jn.add=function(t,o){return On(this,t,o,1)},Jn.subtract=function(t,o){return On(this,t,o,-1)},Jn.as=function(t){if(!this.isValid())return NaN;var o,e,r=this._milliseconds;if("month"===(t=Ce(t))||"quarter"===t||"year"===t)switch(o=this._days+r/864e5,e=this._months+Sn(o),t){case"month":return e;case"quarter":return e/3;case"year":return e/12}else switch(o=this._days+Math.round(wn(this._months)),t){case"week":return o/7+r/6048e5;case"day":return o+r/864e5;case"hour":return 24*o+r/36e5;case"minute":return 1440*o+r/6e4;case"second":return 86400*o+r/1e3;case"millisecond":return Math.floor(864e5*o)+r;default:throw new Error("Unknown unit "+t)}},Jn.asMilliseconds=Cn,Jn.asSeconds=En,Jn.asMinutes=Mn,Jn.asHours=Rn,Jn.asDays=Un,Jn.asWeeks=Wn,Jn.asMonths=Yn,Jn.asQuarters=Dn,Jn.asYears=kn,Jn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Ye(this._months/12):NaN},Jn._bubble=function(){var t,o,e,r,i,n=this._milliseconds,s=this._days,a=this._months,c=this._data;return n>=0&&s>=0&&a>=0||n<=0&&s<=0&&a<=0||(n+=864e5*vn(wn(a)+s),s=0,a=0),c.milliseconds=n%1e3,t=We(n/1e3),c.seconds=t%60,o=We(t/60),c.minutes=o%60,e=We(o/60),c.hours=e%24,s+=We(e/24),a+=i=We(Sn(s)),s-=vn(wn(i)),r=We(a/12),a%=12,c.days=s,c.months=a,c.years=r,this},Jn.clone=function(){return Li(this)},Jn.get=function(t){return t=Ce(t),this.isValid()?this[t+"s"]():NaN},Jn.milliseconds=Ln,Jn.seconds=Zn,Jn.minutes=Kn,Jn.hours=An,Jn.days=Fn,Jn.weeks=function(){return We(this.days()/7)},Jn.months=$n,Jn.years=Hn,Jn.humanize=function(t,o){if(!this.isValid())return this.localeData().invalidDate();var e,r,i=!1,n=_n;return"object"==typeof t&&(o=t,t=!1),"boolean"==typeof t&&(i=t),"object"==typeof o&&(n=Object.assign({},_n,o),null!=o.s&&null==o.ss&&(n.ss=o.s-1)),r=function(t,o,e,r){var i=Li(t).abs(),n=Tn(i.as("s")),s=Tn(i.as("m")),a=Tn(i.as("h")),c=Tn(i.as("d")),l=Tn(i.as("M")),h=Tn(i.as("w")),f=Tn(i.as("y")),u=n<=e.ss&&["s",n]||n<e.s&&["ss",n]||s<=1&&["m"]||s<e.m&&["mm",s]||a<=1&&["h"]||a<e.h&&["hh",a]||c<=1&&["d"]||c<e.d&&["dd",c];return null!=e.w&&(u=u||h<=1&&["w"]||h<e.w&&["ww",h]),(u=u||l<=1&&["M"]||l<e.M&&["MM",l]||f<=1&&["y"]||["yy",f])[2]=o,u[3]=+t>0,u[4]=r,Gn.apply(null,u)}(this,!i,n,e=this.localeData()),i&&(r=e.pastFuture(+this,r)),e.postformat(r)},Jn.toISOString=jn,Jn.toString=jn,Jn.toJSON=jn,Jn.locale=Bi,Jn.localeData=ji,Jn.toIsoString=ce("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",jn),Jn.lang=zi,Oe("X",0,0,"unix"),Oe("x",0,0,"valueOf"),Ve("x",Pe),Ve("X",/[+-]?\d+(\.\d{1,3})?/),er("X",(function(t,o,e){e._d=new Date(1e3*parseFloat(t))})),er("x",(function(t,o,e){e._d=new Date(Ye(t))})),
117
+ `;const Io=Symbol("internalReduxEventsUnsubscribers"),Lo=Symbol("internalStoresUnsubscribers"),Zo=Symbol("internalStores");class Ko extends Ro{constructor(){super(...arguments),this[Yo]=new Map,this[Do]=new Map,this[ko]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[Zo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Zo].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Zo].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Wo(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[Zo].delete(o)}setupStore(t,o){this[Zo].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Zo].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[Lo].has(t.store):this[Lo].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Lo].set(t,o.subscribe((()=>this.updateFromStores()))),Wo(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[Io].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Lo].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Io].forEach((t=>t())),this[Io]=[]}unsubscribeFromStore(t){this[Lo].has(t)&&this[Lo].get(t)(),this[Lo].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}var Ao,Fo,$o,Ho;function _o(){return $o.apply(null,arguments)}function To(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function Go(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function Bo(t,o){return Object.prototype.hasOwnProperty.call(t,o)}function zo(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var o;for(o in t)if(Bo(t,o))return!1;return!0}function jo(t){return void 0===t}function Po(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function Jo(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function qo(t,o){var e,r=[],i=t.length;for(e=0;e<i;++e)r.push(o(t[e],e));return r}function Qo(t,o){for(var e in o)Bo(o,e)&&(t[e]=o[e]);return Bo(o,"toString")&&(t.toString=o.toString),Bo(o,"valueOf")&&(t.valueOf=o.valueOf),t}function Vo(t,o,e,r){return bi(t,o,e,r,!0).utc()}function Xo(t){return null==t._pf&&(t._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}),t._pf}function te(t){if(null==t._isValid){var o=Xo(t),e=Ho.call(o.parsedDateParts,(function(t){return null!=t})),r=!isNaN(t._d.getTime())&&o.overflow<0&&!o.empty&&!o.invalidEra&&!o.invalidMonth&&!o.invalidWeekday&&!o.weekdayMismatch&&!o.nullInput&&!o.invalidFormat&&!o.userInvalidated&&(!o.meridiem||o.meridiem&&e);if(t._strict&&(r=r&&0===o.charsLeftOver&&0===o.unusedTokens.length&&void 0===o.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function oe(t){var o=Vo(NaN);return null!=t?Qo(Xo(o),t):Xo(o).userInvalidated=!0,o}Yo=Lo,Do=Zo,ko=Io,Ko.reduxProperties=new Map,Ko.reduxReactiveProperties=new Set,Ko.reduxEventListeners=new Map,window.ftReduxStores||(window.ftReduxStores={}),navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Fo=null===(Ao=window.safari)||void 0===Ao?void 0:Ao.pushNotification)||void 0===Fo||Fo.toString()),Ho=Array.prototype.some?Array.prototype.some:function(t){var o,e=Object(this),r=e.length>>>0;for(o=0;o<r;o++)if(o in e&&t.call(this,e[o],o,e))return!0;return!1};var ee=_o.momentProperties=[],re=!1;function ie(t,o){var e,r,i,n=ee.length;if(jo(o._isAMomentObject)||(t._isAMomentObject=o._isAMomentObject),jo(o._i)||(t._i=o._i),jo(o._f)||(t._f=o._f),jo(o._l)||(t._l=o._l),jo(o._strict)||(t._strict=o._strict),jo(o._tzm)||(t._tzm=o._tzm),jo(o._isUTC)||(t._isUTC=o._isUTC),jo(o._offset)||(t._offset=o._offset),jo(o._pf)||(t._pf=Xo(o)),jo(o._locale)||(t._locale=o._locale),n>0)for(e=0;e<n;e++)jo(i=o[r=ee[e]])||(t[r]=i);return t}function ne(t){ie(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===re&&(re=!0,_o.updateOffset(this),re=!1)}function se(t){return t instanceof ne||null!=t&&null!=t._isAMomentObject}function ae(t){!1===_o.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function ce(t,o){var e=!0;return Qo((function(){if(null!=_o.deprecationHandler&&_o.deprecationHandler(null,t),e){var r,i,n,s=[],a=arguments.length;for(i=0;i<a;i++){if(r="","object"==typeof arguments[i]){for(n in r+="\n["+i+"] ",arguments[0])Bo(arguments[0],n)&&(r+=n+": "+arguments[0][n]+", ");r=r.slice(0,-2)}else r=arguments[i];s.push(r)}ae(t+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),e=!1}return o.apply(this,arguments)}),o)}var le,he={};function fe(t,o){null!=_o.deprecationHandler&&_o.deprecationHandler(t,o),he[t]||(ae(o),he[t]=!0)}function ue(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function de(t,o){var e,r=Qo({},t);for(e in o)Bo(o,e)&&(Go(t[e])&&Go(o[e])?(r[e]={},Qo(r[e],t[e]),Qo(r[e],o[e])):null!=o[e]?r[e]=o[e]:delete r[e]);for(e in t)Bo(t,e)&&!Bo(o,e)&&Go(t[e])&&(r[e]=Qo({},r[e]));return r}function pe(t){null!=t&&this.set(t)}_o.suppressDeprecationWarnings=!1,_o.deprecationHandler=null,le=Object.keys?Object.keys:function(t){var o,e=[];for(o in t)Bo(t,o)&&e.push(o);return e};function ye(t,o,e){var r=""+Math.abs(t),i=o-r.length;return(t>=0?e?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var ge=/(\[[^\[]*\])|(\\)?([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,me=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,be={},Ne={};function Oe(t,o,e,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),t&&(Ne[t]=i),o&&(Ne[o[0]]=function(){return ye(i.apply(this,arguments),o[1],o[2])}),e&&(Ne[e]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function ve(t,o){return t.isValid()?(o=Se(o,t.localeData()),be[o]=be[o]||function(t){var o,e,r,i=t.match(ge);for(o=0,e=i.length;o<e;o++)Ne[i[o]]?i[o]=Ne[i[o]]:i[o]=(r=i[o]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(o){var r,n="";for(r=0;r<e;r++)n+=ue(i[r])?i[r].call(o,t):i[r];return n}}(o),be[o](t)):t.localeData().invalidDate()}function Se(t,o){var e=5;function r(t){return o.longDateFormat(t)||t}for(me.lastIndex=0;e>=0&&me.test(t);)t=t.replace(me,r),me.lastIndex=0,e-=1;return t}var we={};function xe(t,o){var e=t.toLowerCase();we[e]=we[e+"s"]=we[o]=t}function Ce(t){return"string"==typeof t?we[t]||we[t.toLowerCase()]:void 0}function Ee(t){var o,e,r={};for(e in t)Bo(t,e)&&(o=Ce(e))&&(r[o]=t[e]);return r}var Me={};function Re(t,o){Me[t]=o}function Ue(t){return t%4==0&&t%100!=0||t%400==0}function We(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function Ye(t){var o=+t,e=0;return 0!==o&&isFinite(o)&&(e=We(o)),e}function De(t,o){return function(e){return null!=e?(Ie(this,t,e),_o.updateOffset(this,o),this):ke(this,t)}}function ke(t,o){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+o]():NaN}function Ie(t,o,e){t.isValid()&&!isNaN(e)&&("FullYear"===o&&Ue(t.year())&&1===t.month()&&29===t.date()?(e=Ye(e),t._d["set"+(t._isUTC?"UTC":"")+o](e,t.month(),yr(e,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+o](e))}var Le,Ze=/\d/,Ke=/\d\d/,Ae=/\d{3}/,Fe=/\d{4}/,$e=/[+-]?\d{6}/,He=/\d\d?/,_e=/\d\d\d\d?/,Te=/\d\d\d\d\d\d?/,Ge=/\d{1,3}/,Be=/\d{1,4}/,ze=/[+-]?\d{1,6}/,je=/\d+/,Pe=/[+-]?\d+/,Je=/Z|[+-]\d\d:?\d\d/gi,qe=/Z|[+-]\d\d(?::?\d\d)?/gi,Qe=/[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 Ve(t,o,e){Le[t]=ue(o)?o:function(t,r){return t&&e?e:o}}function Xe(t,o){return Bo(Le,t)?Le[t](o._strict,o._locale):new RegExp(function(t){return tr(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,o,e,r,i){return o||e||r||i})))}(t))}function tr(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Le={};var or={};function er(t,o){var e,r,i=o;for("string"==typeof t&&(t=[t]),Po(o)&&(i=function(t,e){e[o]=Ye(t)}),r=t.length,e=0;e<r;e++)or[t[e]]=i}function rr(t,o){er(t,(function(t,e,r,i){r._w=r._w||{},o(t,r._w,r,i)}))}function ir(t,o,e){null!=o&&Bo(or,t)&&or[t](o,e._a,e,t)}var nr,sr=0,ar=1,cr=2,lr=3,hr=4,fr=5,ur=6,dr=7,pr=8;function yr(t,o){if(isNaN(t)||isNaN(o))return NaN;var e=function(t,o){return(t%o+o)%o}(o,12);return t+=(o-e)/12,1===e?Ue(t)?29:28:31-e%7%2}nr=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var o;for(o=0;o<this.length;++o)if(this[o]===t)return o;return-1},Oe("M",["MM",2],"Mo",(function(){return this.month()+1})),Oe("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),Oe("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),xe("month","M"),Re("month",8),Ve("M",He),Ve("MM",He,Ke),Ve("MMM",(function(t,o){return o.monthsShortRegex(t)})),Ve("MMMM",(function(t,o){return o.monthsRegex(t)})),er(["M","MM"],(function(t,o){o[ar]=Ye(t)-1})),er(["MMM","MMMM"],(function(t,o,e,r){var i=e._locale.monthsParse(t,r,e._strict);null!=i?o[ar]=i:Xo(e).invalidMonth=t}));var gr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),mr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),br=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Nr=Qe,Or=Qe;function vr(t,o,e){var r,i,n,s=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)n=Vo([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(n,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(n,"").toLocaleLowerCase();return e?"MMM"===o?-1!==(i=nr.call(this._shortMonthsParse,s))?i:null:-1!==(i=nr.call(this._longMonthsParse,s))?i:null:"MMM"===o?-1!==(i=nr.call(this._shortMonthsParse,s))||-1!==(i=nr.call(this._longMonthsParse,s))?i:null:-1!==(i=nr.call(this._longMonthsParse,s))||-1!==(i=nr.call(this._shortMonthsParse,s))?i:null}function Sr(t,o){var e;if(!t.isValid())return t;if("string"==typeof o)if(/^\d+$/.test(o))o=Ye(o);else if(!Po(o=t.localeData().monthsParse(o)))return t;return e=Math.min(t.date(),yr(t.year(),o)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](o,e),t}function wr(t){return null!=t?(Sr(this,t),_o.updateOffset(this,!0),this):ke(this,"Month")}function xr(){function t(t,o){return o.length-t.length}var o,e,r=[],i=[],n=[];for(o=0;o<12;o++)e=Vo([2e3,o]),r.push(this.monthsShort(e,"")),i.push(this.months(e,"")),n.push(this.months(e,"")),n.push(this.monthsShort(e,""));for(r.sort(t),i.sort(t),n.sort(t),o=0;o<12;o++)r[o]=tr(r[o]),i[o]=tr(i[o]);for(o=0;o<24;o++)n[o]=tr(n[o]);this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Cr(t){return Ue(t)?366:365}Oe("Y",0,0,(function(){var t=this.year();return t<=9999?ye(t,4):"+"+t})),Oe(0,["YY",2],0,(function(){return this.year()%100})),Oe(0,["YYYY",4],0,"year"),Oe(0,["YYYYY",5],0,"year"),Oe(0,["YYYYYY",6,!0],0,"year"),xe("year","y"),Re("year",1),Ve("Y",Pe),Ve("YY",He,Ke),Ve("YYYY",Be,Fe),Ve("YYYYY",ze,$e),Ve("YYYYYY",ze,$e),er(["YYYYY","YYYYYY"],sr),er("YYYY",(function(t,o){o[sr]=2===t.length?_o.parseTwoDigitYear(t):Ye(t)})),er("YY",(function(t,o){o[sr]=_o.parseTwoDigitYear(t)})),er("Y",(function(t,o){o[sr]=parseInt(t,10)})),_o.parseTwoDigitYear=function(t){return Ye(t)+(Ye(t)>68?1900:2e3)};var Er=De("FullYear",!0);function Mr(t,o,e,r,i,n,s){var a;return t<100&&t>=0?(a=new Date(t+400,o,e,r,i,n,s),isFinite(a.getFullYear())&&a.setFullYear(t)):a=new Date(t,o,e,r,i,n,s),a}function Rr(t){var o,e;return t<100&&t>=0?((e=Array.prototype.slice.call(arguments))[0]=t+400,o=new Date(Date.UTC.apply(null,e)),isFinite(o.getUTCFullYear())&&o.setUTCFullYear(t)):o=new Date(Date.UTC.apply(null,arguments)),o}function Ur(t,o,e){var r=7+o-e;return-((7+Rr(t,0,r).getUTCDay()-o)%7)+r-1}function Wr(t,o,e,r,i){var n,s,a=1+7*(o-1)+(7+e-r)%7+Ur(t,r,i);return a<=0?s=Cr(n=t-1)+a:a>Cr(t)?(n=t+1,s=a-Cr(t)):(n=t,s=a),{year:n,dayOfYear:s}}function Yr(t,o,e){var r,i,n=Ur(t.year(),o,e),s=Math.floor((t.dayOfYear()-n-1)/7)+1;return s<1?r=s+Dr(i=t.year()-1,o,e):s>Dr(t.year(),o,e)?(r=s-Dr(t.year(),o,e),i=t.year()+1):(i=t.year(),r=s),{week:r,year:i}}function Dr(t,o,e){var r=Ur(t,o,e),i=Ur(t+1,o,e);return(Cr(t)-r+i)/7}Oe("w",["ww",2],"wo","week"),Oe("W",["WW",2],"Wo","isoWeek"),xe("week","w"),xe("isoWeek","W"),Re("week",5),Re("isoWeek",5),Ve("w",He),Ve("ww",He,Ke),Ve("W",He),Ve("WW",He,Ke),rr(["w","ww","W","WW"],(function(t,o,e,r){o[r.substr(0,1)]=Ye(t)}));function kr(t,o){return t.slice(o,7).concat(t.slice(0,o))}Oe("d",0,"do","day"),Oe("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),Oe("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),Oe("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),Oe("e",0,0,"weekday"),Oe("E",0,0,"isoWeekday"),xe("day","d"),xe("weekday","e"),xe("isoWeekday","E"),Re("day",11),Re("weekday",11),Re("isoWeekday",11),Ve("d",He),Ve("e",He),Ve("E",He),Ve("dd",(function(t,o){return o.weekdaysMinRegex(t)})),Ve("ddd",(function(t,o){return o.weekdaysShortRegex(t)})),Ve("dddd",(function(t,o){return o.weekdaysRegex(t)})),rr(["dd","ddd","dddd"],(function(t,o,e,r){var i=e._locale.weekdaysParse(t,r,e._strict);null!=i?o.d=i:Xo(e).invalidWeekday=t})),rr(["d","e","E"],(function(t,o,e,r){o[r]=Ye(t)}));var Ir="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Lr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Zr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Kr=Qe,Ar=Qe,Fr=Qe;function $r(t,o,e){var r,i,n,s=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)n=Vo([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(n,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(n,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(n,"").toLocaleLowerCase();return e?"dddd"===o?-1!==(i=nr.call(this._weekdaysParse,s))?i:null:"ddd"===o?-1!==(i=nr.call(this._shortWeekdaysParse,s))?i:null:-1!==(i=nr.call(this._minWeekdaysParse,s))?i:null:"dddd"===o?-1!==(i=nr.call(this._weekdaysParse,s))||-1!==(i=nr.call(this._shortWeekdaysParse,s))||-1!==(i=nr.call(this._minWeekdaysParse,s))?i:null:"ddd"===o?-1!==(i=nr.call(this._shortWeekdaysParse,s))||-1!==(i=nr.call(this._weekdaysParse,s))||-1!==(i=nr.call(this._minWeekdaysParse,s))?i:null:-1!==(i=nr.call(this._minWeekdaysParse,s))||-1!==(i=nr.call(this._weekdaysParse,s))||-1!==(i=nr.call(this._shortWeekdaysParse,s))?i:null}function Hr(){function t(t,o){return o.length-t.length}var o,e,r,i,n,s=[],a=[],c=[],l=[];for(o=0;o<7;o++)e=Vo([2e3,1]).day(o),r=tr(this.weekdaysMin(e,"")),i=tr(this.weekdaysShort(e,"")),n=tr(this.weekdays(e,"")),s.push(r),a.push(i),c.push(n),l.push(r),l.push(i),l.push(n);s.sort(t),a.sort(t),c.sort(t),l.sort(t),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function _r(){return this.hours()%12||12}function Tr(t,o){Oe(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),o)}))}function Gr(t,o){return o._meridiemParse}Oe("H",["HH",2],0,"hour"),Oe("h",["hh",2],0,_r),Oe("k",["kk",2],0,(function(){return this.hours()||24})),Oe("hmm",0,0,(function(){return""+_r.apply(this)+ye(this.minutes(),2)})),Oe("hmmss",0,0,(function(){return""+_r.apply(this)+ye(this.minutes(),2)+ye(this.seconds(),2)})),Oe("Hmm",0,0,(function(){return""+this.hours()+ye(this.minutes(),2)})),Oe("Hmmss",0,0,(function(){return""+this.hours()+ye(this.minutes(),2)+ye(this.seconds(),2)})),Tr("a",!0),Tr("A",!1),xe("hour","h"),Re("hour",13),Ve("a",Gr),Ve("A",Gr),Ve("H",He),Ve("h",He),Ve("k",He),Ve("HH",He,Ke),Ve("hh",He,Ke),Ve("kk",He,Ke),Ve("hmm",_e),Ve("hmmss",Te),Ve("Hmm",_e),Ve("Hmmss",Te),er(["H","HH"],lr),er(["k","kk"],(function(t,o,e){var r=Ye(t);o[lr]=24===r?0:r})),er(["a","A"],(function(t,o,e){e._isPm=e._locale.isPM(t),e._meridiem=t})),er(["h","hh"],(function(t,o,e){o[lr]=Ye(t),Xo(e).bigHour=!0})),er("hmm",(function(t,o,e){var r=t.length-2;o[lr]=Ye(t.substr(0,r)),o[hr]=Ye(t.substr(r)),Xo(e).bigHour=!0})),er("hmmss",(function(t,o,e){var r=t.length-4,i=t.length-2;o[lr]=Ye(t.substr(0,r)),o[hr]=Ye(t.substr(r,2)),o[fr]=Ye(t.substr(i)),Xo(e).bigHour=!0})),er("Hmm",(function(t,o,e){var r=t.length-2;o[lr]=Ye(t.substr(0,r)),o[hr]=Ye(t.substr(r))})),er("Hmmss",(function(t,o,e){var r=t.length-4,i=t.length-2;o[lr]=Ye(t.substr(0,r)),o[hr]=Ye(t.substr(r,2)),o[fr]=Ye(t.substr(i))}));var Br=De("Hours",!0);var zr,jr={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:gr,monthsShort:mr,week:{dow:0,doy:6},weekdays:Ir,weekdaysMin:Zr,weekdaysShort:Lr,meridiemParse:/[ap]\.?m?\.?/i},Pr={},Jr={};function qr(t,o){var e,r=Math.min(t.length,o.length);for(e=0;e<r;e+=1)if(t[e]!==o[e])return e;return r}function Qr(t){return t?t.toLowerCase().replace("_","-"):t}function Vr(t){var o=null;if(void 0===Pr[t]&&"undefined"!=typeof module&&module&&module.exports&&function(t){return null!=t.match("^[^/\\\\]*$")}(t))try{o=zr._abbr,require("./locale/"+t),Xr(o)}catch(o){Pr[t]=null}return Pr[t]}function Xr(t,o){var e;return t&&((e=jo(o)?oi(t):ti(t,o))?zr=e:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),zr._abbr}function ti(t,o){if(null!==o){var e,r=jr;if(o.abbr=t,null!=Pr[t])fe("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=Pr[t]._config;else if(null!=o.parentLocale)if(null!=Pr[o.parentLocale])r=Pr[o.parentLocale]._config;else{if(null==(e=Vr(o.parentLocale)))return Jr[o.parentLocale]||(Jr[o.parentLocale]=[]),Jr[o.parentLocale].push({name:t,config:o}),null;r=e._config}return Pr[t]=new pe(de(r,o)),Jr[t]&&Jr[t].forEach((function(t){ti(t.name,t.config)})),Xr(t),Pr[t]}return delete Pr[t],null}function oi(t){var o;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return zr;if(!To(t)){if(o=Vr(t))return o;t=[t]}return function(t){for(var o,e,r,i,n=0;n<t.length;){for(o=(i=Qr(t[n]).split("-")).length,e=(e=Qr(t[n+1]))?e.split("-"):null;o>0;){if(r=Vr(i.slice(0,o).join("-")))return r;if(e&&e.length>=o&&qr(i,e)>=o-1)break;o--}n++}return zr}(t)}function ei(t){var o,e=t._a;return e&&-2===Xo(t).overflow&&(o=e[ar]<0||e[ar]>11?ar:e[cr]<1||e[cr]>yr(e[sr],e[ar])?cr:e[lr]<0||e[lr]>24||24===e[lr]&&(0!==e[hr]||0!==e[fr]||0!==e[ur])?lr:e[hr]<0||e[hr]>59?hr:e[fr]<0||e[fr]>59?fr:e[ur]<0||e[ur]>999?ur:-1,Xo(t)._overflowDayOfYear&&(o<sr||o>cr)&&(o=cr),Xo(t)._overflowWeeks&&-1===o&&(o=dr),Xo(t)._overflowWeekday&&-1===o&&(o=pr),Xo(t).overflow=o),t}var ri=/^\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)?)?$/,ii=/^\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)?)?$/,ni=/Z|[+-]\d\d(?::?\d\d)?/,si=[["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]],ai=[["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/]],ci=/^\/?Date\((-?\d+)/i,li=/^(?:(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}))$/,hi={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function fi(t){var o,e,r,i,n,s,a=t._i,c=ri.exec(a)||ii.exec(a),l=si.length,h=ai.length;if(c){for(Xo(t).iso=!0,o=0,e=l;o<e;o++)if(si[o][1].exec(c[1])){i=si[o][0],r=!1!==si[o][2];break}if(null==i)return void(t._isValid=!1);if(c[3]){for(o=0,e=h;o<e;o++)if(ai[o][1].exec(c[3])){n=(c[2]||" ")+ai[o][0];break}if(null==n)return void(t._isValid=!1)}if(!r&&null!=n)return void(t._isValid=!1);if(c[4]){if(!ni.exec(c[4]))return void(t._isValid=!1);s="Z"}t._f=i+(n||"")+(s||""),gi(t)}else t._isValid=!1}function ui(t){var o=parseInt(t,10);return o<=49?2e3+o:o<=999?1900+o:o}function di(t){var o,e,r,i,n,s,a,c,l=li.exec(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(t._i));if(l){if(e=l[4],r=l[3],i=l[2],n=l[5],s=l[6],a=l[7],c=[ui(e),mr.indexOf(r),parseInt(i,10),parseInt(n,10),parseInt(s,10)],a&&c.push(parseInt(a,10)),o=c,!function(t,o,e){return!t||Lr.indexOf(t)===new Date(o[0],o[1],o[2]).getDay()||(Xo(e).weekdayMismatch=!0,e._isValid=!1,!1)}(l[1],o,t))return;t._a=o,t._tzm=function(t,o,e){if(t)return hi[t];if(o)return 0;var r=parseInt(e,10),i=r%100;return(r-i)/100*60+i}(l[8],l[9],l[10]),t._d=Rr.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),Xo(t).rfc2822=!0}else t._isValid=!1}function pi(t,o,e){return null!=t?t:null!=o?o:e}function yi(t){var o,e,r,i,n,s=[];if(!t._d){for(r=function(t){var o=new Date(_o.now());return t._useUTC?[o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()]:[o.getFullYear(),o.getMonth(),o.getDate()]}(t),t._w&&null==t._a[cr]&&null==t._a[ar]&&function(t){var o,e,r,i,n,s,a,c,l;o=t._w,null!=o.GG||null!=o.W||null!=o.E?(n=1,s=4,e=pi(o.GG,t._a[sr],Yr(Ni(),1,4).year),r=pi(o.W,1),((i=pi(o.E,1))<1||i>7)&&(c=!0)):(n=t._locale._week.dow,s=t._locale._week.doy,l=Yr(Ni(),n,s),e=pi(o.gg,t._a[sr],l.year),r=pi(o.w,l.week),null!=o.d?((i=o.d)<0||i>6)&&(c=!0):null!=o.e?(i=o.e+n,(o.e<0||o.e>6)&&(c=!0)):i=n);r<1||r>Dr(e,n,s)?Xo(t)._overflowWeeks=!0:null!=c?Xo(t)._overflowWeekday=!0:(a=Wr(e,r,i,n,s),t._a[sr]=a.year,t._dayOfYear=a.dayOfYear)}(t),null!=t._dayOfYear&&(n=pi(t._a[sr],r[sr]),(t._dayOfYear>Cr(n)||0===t._dayOfYear)&&(Xo(t)._overflowDayOfYear=!0),e=Rr(n,0,t._dayOfYear),t._a[ar]=e.getUTCMonth(),t._a[cr]=e.getUTCDate()),o=0;o<3&&null==t._a[o];++o)t._a[o]=s[o]=r[o];for(;o<7;o++)t._a[o]=s[o]=null==t._a[o]?2===o?1:0:t._a[o];24===t._a[lr]&&0===t._a[hr]&&0===t._a[fr]&&0===t._a[ur]&&(t._nextDay=!0,t._a[lr]=0),t._d=(t._useUTC?Rr:Mr).apply(null,s),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[lr]=24),t._w&&void 0!==t._w.d&&t._w.d!==i&&(Xo(t).weekdayMismatch=!0)}}function gi(t){if(t._f!==_o.ISO_8601)if(t._f!==_o.RFC_2822){t._a=[],Xo(t).empty=!0;var o,e,r,i,n,s,a,c=""+t._i,l=c.length,h=0;for(a=(r=Se(t._f,t._locale).match(ge)||[]).length,o=0;o<a;o++)i=r[o],(e=(c.match(Xe(i,t))||[])[0])&&((n=c.substr(0,c.indexOf(e))).length>0&&Xo(t).unusedInput.push(n),c=c.slice(c.indexOf(e)+e.length),h+=e.length),Ne[i]?(e?Xo(t).empty=!1:Xo(t).unusedTokens.push(i),ir(i,e,t)):t._strict&&!e&&Xo(t).unusedTokens.push(i);Xo(t).charsLeftOver=l-h,c.length>0&&Xo(t).unusedInput.push(c),t._a[lr]<=12&&!0===Xo(t).bigHour&&t._a[lr]>0&&(Xo(t).bigHour=void 0),Xo(t).parsedDateParts=t._a.slice(0),Xo(t).meridiem=t._meridiem,t._a[lr]=function(t,o,e){var r;if(null==e)return o;return null!=t.meridiemHour?t.meridiemHour(o,e):null!=t.isPM?((r=t.isPM(e))&&o<12&&(o+=12),r||12!==o||(o=0),o):o}(t._locale,t._a[lr],t._meridiem),null!==(s=Xo(t).era)&&(t._a[sr]=t._locale.erasConvertYear(s,t._a[sr])),yi(t),ei(t)}else di(t);else fi(t)}function mi(t){var o=t._i,e=t._f;return t._locale=t._locale||oi(t._l),null===o||void 0===e&&""===o?oe({nullInput:!0}):("string"==typeof o&&(t._i=o=t._locale.preparse(o)),se(o)?new ne(ei(o)):(Jo(o)?t._d=o:To(e)?function(t){var o,e,r,i,n,s,a=!1,c=t._f.length;if(0===c)return Xo(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;i<c;i++)n=0,s=!1,o=ie({},t),null!=t._useUTC&&(o._useUTC=t._useUTC),o._f=t._f[i],gi(o),te(o)&&(s=!0),n+=Xo(o).charsLeftOver,n+=10*Xo(o).unusedTokens.length,Xo(o).score=n,a?n<r&&(r=n,e=o):(null==r||n<r||s)&&(r=n,e=o,s&&(a=!0));Qo(t,e||o)}(t):e?gi(t):function(t){var o=t._i;jo(o)?t._d=new Date(_o.now()):Jo(o)?t._d=new Date(o.valueOf()):"string"==typeof o?function(t){var o=ci.exec(t._i);null===o?(fi(t),!1===t._isValid&&(delete t._isValid,di(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:_o.createFromInputFallback(t)))):t._d=new Date(+o[1])}(t):To(o)?(t._a=qo(o.slice(0),(function(t){return parseInt(t,10)})),yi(t)):Go(o)?function(t){if(!t._d){var o=Ee(t._i),e=void 0===o.day?o.date:o.day;t._a=qo([o.year,o.month,e,o.hour,o.minute,o.second,o.millisecond],(function(t){return t&&parseInt(t,10)})),yi(t)}}(t):Po(o)?t._d=new Date(o):_o.createFromInputFallback(t)}(t),te(t)||(t._d=null),t))}function bi(t,o,e,r,i){var n,s={};return!0!==o&&!1!==o||(r=o,o=void 0),!0!==e&&!1!==e||(r=e,e=void 0),(Go(t)&&zo(t)||To(t)&&0===t.length)&&(t=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=e,s._i=t,s._f=o,s._strict=r,(n=new ne(ei(mi(s))))._nextDay&&(n.add(1,"d"),n._nextDay=void 0),n}function Ni(t,o,e,r){return bi(t,o,e,r,!1)}_o.createFromInputFallback=ce("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(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),_o.ISO_8601=function(){},_o.RFC_2822=function(){};var Oi=ce("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Ni.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:oe()})),vi=ce("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Ni.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:oe()}));function Si(t,o){var e,r;if(1===o.length&&To(o[0])&&(o=o[0]),!o.length)return Ni();for(e=o[0],r=1;r<o.length;++r)o[r].isValid()&&!o[r][t](e)||(e=o[r]);return e}var wi=["year","quarter","month","week","day","hour","minute","second","millisecond"];function xi(t){var o=Ee(t),e=o.year||0,r=o.quarter||0,i=o.month||0,n=o.week||o.isoWeek||0,s=o.day||0,a=o.hour||0,c=o.minute||0,l=o.second||0,h=o.millisecond||0;this._isValid=function(t){var o,e,r=!1,i=wi.length;for(o in t)if(Bo(t,o)&&(-1===nr.call(wi,o)||null!=t[o]&&isNaN(t[o])))return!1;for(e=0;e<i;++e)if(t[wi[e]]){if(r)return!1;parseFloat(t[wi[e]])!==Ye(t[wi[e]])&&(r=!0)}return!0}(o),this._milliseconds=+h+1e3*l+6e4*c+1e3*a*60*60,this._days=+s+7*n,this._months=+i+3*r+12*e,this._data={},this._locale=oi(),this._bubble()}function Ci(t){return t instanceof xi}function Ei(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Mi(t,o){Oe(t,0,0,(function(){var t=this.utcOffset(),e="+";return t<0&&(t=-t,e="-"),e+ye(~~(t/60),2)+o+ye(~~t%60,2)}))}Mi("Z",":"),Mi("ZZ",""),Ve("Z",qe),Ve("ZZ",qe),er(["Z","ZZ"],(function(t,o,e){e._useUTC=!0,e._tzm=Ui(qe,t)}));var Ri=/([\+\-]|\d\d)/gi;function Ui(t,o){var e,r,i=(o||"").match(t);return null===i?null:0===(r=60*(e=((i[i.length-1]||[])+"").match(Ri)||["-",0,0])[1]+Ye(e[2]))?0:"+"===e[0]?r:-r}function Wi(t,o){var e,r;return o._isUTC?(e=o.clone(),r=(se(t)||Jo(t)?t.valueOf():Ni(t).valueOf())-e.valueOf(),e._d.setTime(e._d.valueOf()+r),_o.updateOffset(e,!1),e):Ni(t).local()}function Yi(t){return-Math.round(t._d.getTimezoneOffset())}function Di(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}_o.updateOffset=function(){};var ki=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ii=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Li(t,o){var e,r,i,n=t,s=null;return Ci(t)?n={ms:t._milliseconds,d:t._days,M:t._months}:Po(t)||!isNaN(+t)?(n={},o?n[o]=+t:n.milliseconds=+t):(s=ki.exec(t))?(e="-"===s[1]?-1:1,n={y:0,d:Ye(s[cr])*e,h:Ye(s[lr])*e,m:Ye(s[hr])*e,s:Ye(s[fr])*e,ms:Ye(Ei(1e3*s[ur]))*e}):(s=Ii.exec(t))?(e="-"===s[1]?-1:1,n={y:Zi(s[2],e),M:Zi(s[3],e),w:Zi(s[4],e),d:Zi(s[5],e),h:Zi(s[6],e),m:Zi(s[7],e),s:Zi(s[8],e)}):null==n?n={}:"object"==typeof n&&("from"in n||"to"in n)&&(i=function(t,o){var e;if(!t.isValid()||!o.isValid())return{milliseconds:0,months:0};o=Wi(o,t),t.isBefore(o)?e=Ki(t,o):((e=Ki(o,t)).milliseconds=-e.milliseconds,e.months=-e.months);return e}(Ni(n.from),Ni(n.to)),(n={}).ms=i.milliseconds,n.M=i.months),r=new xi(n),Ci(t)&&Bo(t,"_locale")&&(r._locale=t._locale),Ci(t)&&Bo(t,"_isValid")&&(r._isValid=t._isValid),r}function Zi(t,o){var e=t&&parseFloat(t.replace(",","."));return(isNaN(e)?0:e)*o}function Ki(t,o){var e={};return e.months=o.month()-t.month()+12*(o.year()-t.year()),t.clone().add(e.months,"M").isAfter(o)&&--e.months,e.milliseconds=+o-+t.clone().add(e.months,"M"),e}function Ai(t,o){return function(e,r){var i;return null===r||isNaN(+r)||(fe(o,"moment()."+o+"(period, number) is deprecated. Please use moment()."+o+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=e,e=r,r=i),Fi(this,Li(e,r),t),this}}function Fi(t,o,e,r){var i=o._milliseconds,n=Ei(o._days),s=Ei(o._months);t.isValid()&&(r=null==r||r,s&&Sr(t,ke(t,"Month")+s*e),n&&Ie(t,"Date",ke(t,"Date")+n*e),i&&t._d.setTime(t._d.valueOf()+i*e),r&&_o.updateOffset(t,n||s))}Li.fn=xi.prototype,Li.invalid=function(){return Li(NaN)};var $i=Ai(1,"add"),Hi=Ai(-1,"subtract");function _i(t){return"string"==typeof t||t instanceof String}function Ti(t){return se(t)||Jo(t)||_i(t)||Po(t)||function(t){var o=To(t),e=!1;o&&(e=0===t.filter((function(o){return!Po(o)&&_i(t)})).length);return o&&e}(t)||function(t){var o,e,r=Go(t)&&!zo(t),i=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s=n.length;for(o=0;o<s;o+=1)e=n[o],i=i||Bo(t,e);return r&&i}(t)||null==t}function Gi(t,o){if(t.date()<o.date())return-Gi(o,t);var e=12*(o.year()-t.year())+(o.month()-t.month()),r=t.clone().add(e,"months");return-(e+(o-r<0?(o-r)/(r-t.clone().add(e-1,"months")):(o-r)/(t.clone().add(e+1,"months")-r)))||0}function Bi(t){var o;return void 0===t?this._locale._abbr:(null!=(o=oi(t))&&(this._locale=o),this)}_o.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",_o.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var zi=ce("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function ji(){return this._locale}var Pi=1e3,Ji=6e4,qi=36e5,Qi=126227808e5;function Vi(t,o){return(t%o+o)%o}function Xi(t,o,e){return t<100&&t>=0?new Date(t+400,o,e)-Qi:new Date(t,o,e).valueOf()}function tn(t,o,e){return t<100&&t>=0?Date.UTC(t+400,o,e)-Qi:Date.UTC(t,o,e)}function on(t,o){return o.erasAbbrRegex(t)}function en(){var t,o,e=[],r=[],i=[],n=[],s=this.eras();for(t=0,o=s.length;t<o;++t)r.push(tr(s[t].name)),e.push(tr(s[t].abbr)),i.push(tr(s[t].narrow)),n.push(tr(s[t].name)),n.push(tr(s[t].abbr)),n.push(tr(s[t].narrow));this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function rn(t,o){Oe(0,[t,t.length],0,o)}function nn(t,o,e,r,i){var n;return null==t?Yr(this,r,i).year:(o>(n=Dr(t,r,i))&&(o=n),sn.call(this,t,o,e,r,i))}function sn(t,o,e,r,i){var n=Wr(t,o,e,r,i),s=Rr(n.year,0,n.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}Oe("N",0,0,"eraAbbr"),Oe("NN",0,0,"eraAbbr"),Oe("NNN",0,0,"eraAbbr"),Oe("NNNN",0,0,"eraName"),Oe("NNNNN",0,0,"eraNarrow"),Oe("y",["y",1],"yo","eraYear"),Oe("y",["yy",2],0,"eraYear"),Oe("y",["yyy",3],0,"eraYear"),Oe("y",["yyyy",4],0,"eraYear"),Ve("N",on),Ve("NN",on),Ve("NNN",on),Ve("NNNN",(function(t,o){return o.erasNameRegex(t)})),Ve("NNNNN",(function(t,o){return o.erasNarrowRegex(t)})),er(["N","NN","NNN","NNNN","NNNNN"],(function(t,o,e,r){var i=e._locale.erasParse(t,r,e._strict);i?Xo(e).era=i:Xo(e).invalidEra=t})),Ve("y",je),Ve("yy",je),Ve("yyy",je),Ve("yyyy",je),Ve("yo",(function(t,o){return o._eraYearOrdinalRegex||je})),er(["y","yy","yyy","yyyy"],sr),er(["yo"],(function(t,o,e,r){var i;e._locale._eraYearOrdinalRegex&&(i=t.match(e._locale._eraYearOrdinalRegex)),e._locale.eraYearOrdinalParse?o[sr]=e._locale.eraYearOrdinalParse(t,i):o[sr]=parseInt(t,10)})),Oe(0,["gg",2],0,(function(){return this.weekYear()%100})),Oe(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),rn("gggg","weekYear"),rn("ggggg","weekYear"),rn("GGGG","isoWeekYear"),rn("GGGGG","isoWeekYear"),xe("weekYear","gg"),xe("isoWeekYear","GG"),Re("weekYear",1),Re("isoWeekYear",1),Ve("G",Pe),Ve("g",Pe),Ve("GG",He,Ke),Ve("gg",He,Ke),Ve("GGGG",Be,Fe),Ve("gggg",Be,Fe),Ve("GGGGG",ze,$e),Ve("ggggg",ze,$e),rr(["gggg","ggggg","GGGG","GGGGG"],(function(t,o,e,r){o[r.substr(0,2)]=Ye(t)})),rr(["gg","GG"],(function(t,o,e,r){o[r]=_o.parseTwoDigitYear(t)})),Oe("Q",0,"Qo","quarter"),xe("quarter","Q"),Re("quarter",7),Ve("Q",Ze),er("Q",(function(t,o){o[ar]=3*(Ye(t)-1)})),Oe("D",["DD",2],"Do","date"),xe("date","D"),Re("date",9),Ve("D",He),Ve("DD",He,Ke),Ve("Do",(function(t,o){return t?o._dayOfMonthOrdinalParse||o._ordinalParse:o._dayOfMonthOrdinalParseLenient})),er(["D","DD"],cr),er("Do",(function(t,o){o[cr]=Ye(t.match(He)[0])}));var an=De("Date",!0);Oe("DDD",["DDDD",3],"DDDo","dayOfYear"),xe("dayOfYear","DDD"),Re("dayOfYear",4),Ve("DDD",Ge),Ve("DDDD",Ae),er(["DDD","DDDD"],(function(t,o,e){e._dayOfYear=Ye(t)})),Oe("m",["mm",2],0,"minute"),xe("minute","m"),Re("minute",14),Ve("m",He),Ve("mm",He,Ke),er(["m","mm"],hr);var cn=De("Minutes",!1);Oe("s",["ss",2],0,"second"),xe("second","s"),Re("second",15),Ve("s",He),Ve("ss",He,Ke),er(["s","ss"],fr);var ln,hn,fn=De("Seconds",!1);for(Oe("S",0,0,(function(){return~~(this.millisecond()/100)})),Oe(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),Oe(0,["SSS",3],0,"millisecond"),Oe(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),Oe(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),Oe(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),Oe(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),Oe(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),Oe(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),xe("millisecond","ms"),Re("millisecond",16),Ve("S",Ge,Ze),Ve("SS",Ge,Ke),Ve("SSS",Ge,Ae),ln="SSSS";ln.length<=9;ln+="S")Ve(ln,je);function un(t,o){o[ur]=Ye(1e3*("0."+t))}for(ln="S";ln.length<=9;ln+="S")er(ln,un);hn=De("Milliseconds",!1),Oe("z",0,0,"zoneAbbr"),Oe("zz",0,0,"zoneName");var dn=ne.prototype;function pn(t){return t}dn.add=$i,dn.calendar=function(t,o){1===arguments.length&&(arguments[0]?Ti(arguments[0])?(t=arguments[0],o=void 0):function(t){var o,e=Go(t)&&!zo(t),r=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(o=0;o<i.length;o+=1)r=r||Bo(t,i[o]);return e&&r}(arguments[0])&&(o=arguments[0],t=void 0):(t=void 0,o=void 0));var e=t||Ni(),r=Wi(e,this).startOf("day"),i=_o.calendarFormat(this,r)||"sameElse",n=o&&(ue(o[i])?o[i].call(this,e):o[i]);return this.format(n||this.localeData().calendar(i,this,Ni(e)))},dn.clone=function(){return new ne(this)},dn.diff=function(t,o,e){var r,i,n;if(!this.isValid())return NaN;if(!(r=Wi(t,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),o=Ce(o)){case"year":n=Gi(this,r)/12;break;case"month":n=Gi(this,r);break;case"quarter":n=Gi(this,r)/3;break;case"second":n=(this-r)/1e3;break;case"minute":n=(this-r)/6e4;break;case"hour":n=(this-r)/36e5;break;case"day":n=(this-r-i)/864e5;break;case"week":n=(this-r-i)/6048e5;break;default:n=this-r}return e?n:We(n)},dn.endOf=function(t){var o,e;if(void 0===(t=Ce(t))||"millisecond"===t||!this.isValid())return this;switch(e=this._isUTC?tn:Xi,t){case"year":o=e(this.year()+1,0,1)-1;break;case"quarter":o=e(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":o=e(this.year(),this.month()+1,1)-1;break;case"week":o=e(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":o=e(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":o=e(this.year(),this.month(),this.date()+1)-1;break;case"hour":o=this._d.valueOf(),o+=qi-Vi(o+(this._isUTC?0:this.utcOffset()*Ji),qi)-1;break;case"minute":o=this._d.valueOf(),o+=Ji-Vi(o,Ji)-1;break;case"second":o=this._d.valueOf(),o+=Pi-Vi(o,Pi)-1}return this._d.setTime(o),_o.updateOffset(this,!0),this},dn.format=function(t){t||(t=this.isUtc()?_o.defaultFormatUtc:_o.defaultFormat);var o=ve(this,t);return this.localeData().postformat(o)},dn.from=function(t,o){return this.isValid()&&(se(t)&&t.isValid()||Ni(t).isValid())?Li({to:this,from:t}).locale(this.locale()).humanize(!o):this.localeData().invalidDate()},dn.fromNow=function(t){return this.from(Ni(),t)},dn.to=function(t,o){return this.isValid()&&(se(t)&&t.isValid()||Ni(t).isValid())?Li({from:this,to:t}).locale(this.locale()).humanize(!o):this.localeData().invalidDate()},dn.toNow=function(t){return this.to(Ni(),t)},dn.get=function(t){return ue(this[t=Ce(t)])?this[t]():this},dn.invalidAt=function(){return Xo(this).overflow},dn.isAfter=function(t,o){var e=se(t)?t:Ni(t);return!(!this.isValid()||!e.isValid())&&("millisecond"===(o=Ce(o)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(o).valueOf())},dn.isBefore=function(t,o){var e=se(t)?t:Ni(t);return!(!this.isValid()||!e.isValid())&&("millisecond"===(o=Ce(o)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(o).valueOf()<e.valueOf())},dn.isBetween=function(t,o,e,r){var i=se(t)?t:Ni(t),n=se(o)?o:Ni(o);return!!(this.isValid()&&i.isValid()&&n.isValid())&&(("("===(r=r||"()")[0]?this.isAfter(i,e):!this.isBefore(i,e))&&(")"===r[1]?this.isBefore(n,e):!this.isAfter(n,e)))},dn.isSame=function(t,o){var e,r=se(t)?t:Ni(t);return!(!this.isValid()||!r.isValid())&&("millisecond"===(o=Ce(o)||"millisecond")?this.valueOf()===r.valueOf():(e=r.valueOf(),this.clone().startOf(o).valueOf()<=e&&e<=this.clone().endOf(o).valueOf()))},dn.isSameOrAfter=function(t,o){return this.isSame(t,o)||this.isAfter(t,o)},dn.isSameOrBefore=function(t,o){return this.isSame(t,o)||this.isBefore(t,o)},dn.isValid=function(){return te(this)},dn.lang=zi,dn.locale=Bi,dn.localeData=ji,dn.max=vi,dn.min=Oi,dn.parsingFlags=function(){return Qo({},Xo(this))},dn.set=function(t,o){if("object"==typeof t){var e,r=function(t){var o,e=[];for(o in t)Bo(t,o)&&e.push({unit:o,priority:Me[o]});return e.sort((function(t,o){return t.priority-o.priority})),e}(t=Ee(t)),i=r.length;for(e=0;e<i;e++)this[r[e].unit](t[r[e].unit])}else if(ue(this[t=Ce(t)]))return this[t](o);return this},dn.startOf=function(t){var o,e;if(void 0===(t=Ce(t))||"millisecond"===t||!this.isValid())return this;switch(e=this._isUTC?tn:Xi,t){case"year":o=e(this.year(),0,1);break;case"quarter":o=e(this.year(),this.month()-this.month()%3,1);break;case"month":o=e(this.year(),this.month(),1);break;case"week":o=e(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":o=e(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":o=e(this.year(),this.month(),this.date());break;case"hour":o=this._d.valueOf(),o-=Vi(o+(this._isUTC?0:this.utcOffset()*Ji),qi);break;case"minute":o=this._d.valueOf(),o-=Vi(o,Ji);break;case"second":o=this._d.valueOf(),o-=Vi(o,Pi)}return this._d.setTime(o),_o.updateOffset(this,!0),this},dn.subtract=Hi,dn.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},dn.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},dn.toDate=function(){return new Date(this.valueOf())},dn.toISOString=function(t){if(!this.isValid())return null;var o=!0!==t,e=o?this.clone().utc():this;return e.year()<0||e.year()>9999?ve(e,o?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ue(Date.prototype.toISOString)?o?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",ve(e,"Z")):ve(e,o?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},dn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,o,e,r="moment",i="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),t="["+r+'("]',o=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY","-MM-DD[T]HH:mm:ss.SSS",e=i+'[")]',this.format(t+o+"-MM-DD[T]HH:mm:ss.SSS"+e)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(dn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),dn.toJSON=function(){return this.isValid()?this.toISOString():null},dn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},dn.unix=function(){return Math.floor(this.valueOf()/1e3)},dn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},dn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},dn.eraName=function(){var t,o,e,r=this.localeData().eras();for(t=0,o=r.length;t<o;++t){if(e=this.clone().startOf("day").valueOf(),r[t].since<=e&&e<=r[t].until)return r[t].name;if(r[t].until<=e&&e<=r[t].since)return r[t].name}return""},dn.eraNarrow=function(){var t,o,e,r=this.localeData().eras();for(t=0,o=r.length;t<o;++t){if(e=this.clone().startOf("day").valueOf(),r[t].since<=e&&e<=r[t].until)return r[t].narrow;if(r[t].until<=e&&e<=r[t].since)return r[t].narrow}return""},dn.eraAbbr=function(){var t,o,e,r=this.localeData().eras();for(t=0,o=r.length;t<o;++t){if(e=this.clone().startOf("day").valueOf(),r[t].since<=e&&e<=r[t].until)return r[t].abbr;if(r[t].until<=e&&e<=r[t].since)return r[t].abbr}return""},dn.eraYear=function(){var t,o,e,r,i=this.localeData().eras();for(t=0,o=i.length;t<o;++t)if(e=i[t].since<=i[t].until?1:-1,r=this.clone().startOf("day").valueOf(),i[t].since<=r&&r<=i[t].until||i[t].until<=r&&r<=i[t].since)return(this.year()-_o(i[t].since).year())*e+i[t].offset;return this.year()},dn.year=Er,dn.isLeapYear=function(){return Ue(this.year())},dn.weekYear=function(t){return nn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},dn.isoWeekYear=function(t){return nn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},dn.quarter=dn.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},dn.month=wr,dn.daysInMonth=function(){return yr(this.year(),this.month())},dn.week=dn.weeks=function(t){var o=this.localeData().week(this);return null==t?o:this.add(7*(t-o),"d")},dn.isoWeek=dn.isoWeeks=function(t){var o=Yr(this,1,4).week;return null==t?o:this.add(7*(t-o),"d")},dn.weeksInYear=function(){var t=this.localeData()._week;return Dr(this.year(),t.dow,t.doy)},dn.weeksInWeekYear=function(){var t=this.localeData()._week;return Dr(this.weekYear(),t.dow,t.doy)},dn.isoWeeksInYear=function(){return Dr(this.year(),1,4)},dn.isoWeeksInISOWeekYear=function(){return Dr(this.isoWeekYear(),1,4)},dn.date=an,dn.day=dn.days=function(t){if(!this.isValid())return null!=t?this:NaN;var o=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,o){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=o.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-o,"d")):o},dn.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var o=(this.day()+7-this.localeData()._week.dow)%7;return null==t?o:this.add(t-o,"d")},dn.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var o=function(t,o){return"string"==typeof t?o.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?o:o-7)}return this.day()||7},dn.dayOfYear=function(t){var o=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?o:this.add(t-o,"d")},dn.hour=dn.hours=Br,dn.minute=dn.minutes=cn,dn.second=dn.seconds=fn,dn.millisecond=dn.milliseconds=hn,dn.utcOffset=function(t,o,e){var r,i=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Ui(qe,t)))return this}else Math.abs(t)<16&&!e&&(t*=60);return!this._isUTC&&o&&(r=Yi(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==t&&(!o||this._changeInProgress?Fi(this,Li(t-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,_o.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Yi(this)},dn.utc=function(t){return this.utcOffset(0,t)},dn.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Yi(this),"m")),this},dn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Ui(Je,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},dn.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Ni(t).utcOffset():0,(this.utcOffset()-t)%60==0)},dn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},dn.isLocal=function(){return!!this.isValid()&&!this._isUTC},dn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},dn.isUtc=Di,dn.isUTC=Di,dn.zoneAbbr=function(){return this._isUTC?"UTC":""},dn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},dn.dates=ce("dates accessor is deprecated. Use date instead.",an),dn.months=ce("months accessor is deprecated. Use month instead",wr),dn.years=ce("years accessor is deprecated. Use year instead",Er),dn.zone=ce("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,o){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,o),this):-this.utcOffset()})),dn.isDSTShifted=ce("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!jo(this._isDSTShifted))return this._isDSTShifted;var t,o={};return ie(o,this),(o=mi(o))._a?(t=o._isUTC?Vo(o._a):Ni(o._a),this._isDSTShifted=this.isValid()&&function(t,o,e){var r,i=Math.min(t.length,o.length),n=Math.abs(t.length-o.length),s=0;for(r=0;r<i;r++)(e&&t[r]!==o[r]||!e&&Ye(t[r])!==Ye(o[r]))&&s++;return s+n}(o._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var yn=pe.prototype;function gn(t,o,e,r){var i=oi(),n=Vo().set(r,o);return i[e](n,t)}function mn(t,o,e){if(Po(t)&&(o=t,t=void 0),t=t||"",null!=o)return gn(t,o,e,"month");var r,i=[];for(r=0;r<12;r++)i[r]=gn(t,r,e,"month");return i}function bn(t,o,e,r){"boolean"==typeof t?(Po(o)&&(e=o,o=void 0),o=o||""):(e=o=t,t=!1,Po(o)&&(e=o,o=void 0),o=o||"");var i,n=oi(),s=t?n._week.dow:0,a=[];if(null!=e)return gn(o,(e+s)%7,r,"day");for(i=0;i<7;i++)a[i]=gn(o,(i+s)%7,r,"day");return a}yn.calendar=function(t,o,e){var r=this._calendar[t]||this._calendar.sameElse;return ue(r)?r.call(o,e):r},yn.longDateFormat=function(t){var o=this._longDateFormat[t],e=this._longDateFormat[t.toUpperCase()];return o||!e?o:(this._longDateFormat[t]=e.match(ge).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},yn.invalidDate=function(){return this._invalidDate},yn.ordinal=function(t){return this._ordinal.replace("%d",t)},yn.preparse=pn,yn.postformat=pn,yn.relativeTime=function(t,o,e,r){var i=this._relativeTime[e];return ue(i)?i(t,o,e,r):i.replace(/%d/i,t)},yn.pastFuture=function(t,o){var e=this._relativeTime[t>0?"future":"past"];return ue(e)?e(o):e.replace(/%s/i,o)},yn.set=function(t){var o,e;for(e in t)Bo(t,e)&&(ue(o=t[e])?this[e]=o:this["_"+e]=o);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},yn.eras=function(t,o){var e,r,i,n=this._eras||oi("en")._eras;for(e=0,r=n.length;e<r;++e){if("string"==typeof n[e].since)i=_o(n[e].since).startOf("day"),n[e].since=i.valueOf();switch(typeof n[e].until){case"undefined":n[e].until=1/0;break;case"string":i=_o(n[e].until).startOf("day").valueOf(),n[e].until=i.valueOf()}}return n},yn.erasParse=function(t,o,e){var r,i,n,s,a,c=this.eras();for(t=t.toUpperCase(),r=0,i=c.length;r<i;++r)if(n=c[r].name.toUpperCase(),s=c[r].abbr.toUpperCase(),a=c[r].narrow.toUpperCase(),e)switch(o){case"N":case"NN":case"NNN":if(s===t)return c[r];break;case"NNNN":if(n===t)return c[r];break;case"NNNNN":if(a===t)return c[r]}else if([n,s,a].indexOf(t)>=0)return c[r]},yn.erasConvertYear=function(t,o){var e=t.since<=t.until?1:-1;return void 0===o?_o(t.since).year():_o(t.since).year()+(o-t.offset)*e},yn.erasAbbrRegex=function(t){return Bo(this,"_erasAbbrRegex")||en.call(this),t?this._erasAbbrRegex:this._erasRegex},yn.erasNameRegex=function(t){return Bo(this,"_erasNameRegex")||en.call(this),t?this._erasNameRegex:this._erasRegex},yn.erasNarrowRegex=function(t){return Bo(this,"_erasNarrowRegex")||en.call(this),t?this._erasNarrowRegex:this._erasRegex},yn.months=function(t,o){return t?To(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||br).test(o)?"format":"standalone"][t.month()]:To(this._months)?this._months:this._months.standalone},yn.monthsShort=function(t,o){return t?To(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[br.test(o)?"format":"standalone"][t.month()]:To(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},yn.monthsParse=function(t,o,e){var r,i,n;if(this._monthsParseExact)return vr.call(this,t,o,e);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=Vo([2e3,r]),e&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),e||this._monthsParse[r]||(n="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(n.replace(".",""),"i")),e&&"MMMM"===o&&this._longMonthsParse[r].test(t))return r;if(e&&"MMM"===o&&this._shortMonthsParse[r].test(t))return r;if(!e&&this._monthsParse[r].test(t))return r}},yn.monthsRegex=function(t){return this._monthsParseExact?(Bo(this,"_monthsRegex")||xr.call(this),t?this._monthsStrictRegex:this._monthsRegex):(Bo(this,"_monthsRegex")||(this._monthsRegex=Or),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},yn.monthsShortRegex=function(t){return this._monthsParseExact?(Bo(this,"_monthsRegex")||xr.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(Bo(this,"_monthsShortRegex")||(this._monthsShortRegex=Nr),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},yn.week=function(t){return Yr(t,this._week.dow,this._week.doy).week},yn.firstDayOfYear=function(){return this._week.doy},yn.firstDayOfWeek=function(){return this._week.dow},yn.weekdays=function(t,o){var e=To(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(o)?"format":"standalone"];return!0===t?kr(e,this._week.dow):t?e[t.day()]:e},yn.weekdaysMin=function(t){return!0===t?kr(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},yn.weekdaysShort=function(t){return!0===t?kr(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},yn.weekdaysParse=function(t,o,e){var r,i,n;if(this._weekdaysParseExact)return $r.call(this,t,o,e);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=Vo([2e3,1]).day(r),e&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(n="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(n.replace(".",""),"i")),e&&"dddd"===o&&this._fullWeekdaysParse[r].test(t))return r;if(e&&"ddd"===o&&this._shortWeekdaysParse[r].test(t))return r;if(e&&"dd"===o&&this._minWeekdaysParse[r].test(t))return r;if(!e&&this._weekdaysParse[r].test(t))return r}},yn.weekdaysRegex=function(t){return this._weekdaysParseExact?(Bo(this,"_weekdaysRegex")||Hr.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(Bo(this,"_weekdaysRegex")||(this._weekdaysRegex=Kr),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},yn.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(Bo(this,"_weekdaysRegex")||Hr.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Bo(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ar),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},yn.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(Bo(this,"_weekdaysRegex")||Hr.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Bo(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Fr),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},yn.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},yn.meridiem=function(t,o,e){return t>11?e?"pm":"PM":e?"am":"AM"},Xr("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(t){var o=t%10;return t+(1===Ye(t%100/10)?"th":1===o?"st":2===o?"nd":3===o?"rd":"th")}}),_o.lang=ce("moment.lang is deprecated. Use moment.locale instead.",Xr),_o.langData=ce("moment.langData is deprecated. Use moment.localeData instead.",oi);var Nn=Math.abs;function On(t,o,e,r){var i=Li(o,e);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function vn(t){return t<0?Math.floor(t):Math.ceil(t)}function Sn(t){return 4800*t/146097}function wn(t){return 146097*t/4800}function xn(t){return function(){return this.as(t)}}var Cn=xn("ms"),En=xn("s"),Mn=xn("m"),Rn=xn("h"),Un=xn("d"),Wn=xn("w"),Yn=xn("M"),Dn=xn("Q"),kn=xn("y");function In(t){return function(){return this.isValid()?this._data[t]:NaN}}var Ln=In("milliseconds"),Zn=In("seconds"),Kn=In("minutes"),An=In("hours"),Fn=In("days"),$n=In("months"),Hn=In("years");var _n=Math.round,Tn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Gn(t,o,e,r,i){return i.relativeTime(o||1,!!e,t,r)}var Bn=Math.abs;function zn(t){return(t>0)-(t<0)||+t}function jn(){if(!this.isValid())return this.localeData().invalidDate();var t,o,e,r,i,n,s,a,c=Bn(this._milliseconds)/1e3,l=Bn(this._days),h=Bn(this._months),f=this.asSeconds();return f?(t=We(c/60),o=We(t/60),c%=60,t%=60,e=We(h/12),h%=12,r=c?c.toFixed(3).replace(/\.?0+$/,""):"",i=f<0?"-":"",n=zn(this._months)!==zn(f)?"-":"",s=zn(this._days)!==zn(f)?"-":"",a=zn(this._milliseconds)!==zn(f)?"-":"",i+"P"+(e?n+e+"Y":"")+(h?n+h+"M":"")+(l?s+l+"D":"")+(o||t||c?"T":"")+(o?a+o+"H":"")+(t?a+t+"M":"")+(c?a+r+"S":"")):"P0D"}var Pn,Jn=xi.prototype;Jn.isValid=function(){return this._isValid},Jn.abs=function(){var t=this._data;return this._milliseconds=Nn(this._milliseconds),this._days=Nn(this._days),this._months=Nn(this._months),t.milliseconds=Nn(t.milliseconds),t.seconds=Nn(t.seconds),t.minutes=Nn(t.minutes),t.hours=Nn(t.hours),t.months=Nn(t.months),t.years=Nn(t.years),this},Jn.add=function(t,o){return On(this,t,o,1)},Jn.subtract=function(t,o){return On(this,t,o,-1)},Jn.as=function(t){if(!this.isValid())return NaN;var o,e,r=this._milliseconds;if("month"===(t=Ce(t))||"quarter"===t||"year"===t)switch(o=this._days+r/864e5,e=this._months+Sn(o),t){case"month":return e;case"quarter":return e/3;case"year":return e/12}else switch(o=this._days+Math.round(wn(this._months)),t){case"week":return o/7+r/6048e5;case"day":return o+r/864e5;case"hour":return 24*o+r/36e5;case"minute":return 1440*o+r/6e4;case"second":return 86400*o+r/1e3;case"millisecond":return Math.floor(864e5*o)+r;default:throw new Error("Unknown unit "+t)}},Jn.asMilliseconds=Cn,Jn.asSeconds=En,Jn.asMinutes=Mn,Jn.asHours=Rn,Jn.asDays=Un,Jn.asWeeks=Wn,Jn.asMonths=Yn,Jn.asQuarters=Dn,Jn.asYears=kn,Jn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Ye(this._months/12):NaN},Jn._bubble=function(){var t,o,e,r,i,n=this._milliseconds,s=this._days,a=this._months,c=this._data;return n>=0&&s>=0&&a>=0||n<=0&&s<=0&&a<=0||(n+=864e5*vn(wn(a)+s),s=0,a=0),c.milliseconds=n%1e3,t=We(n/1e3),c.seconds=t%60,o=We(t/60),c.minutes=o%60,e=We(o/60),c.hours=e%24,s+=We(e/24),a+=i=We(Sn(s)),s-=vn(wn(i)),r=We(a/12),a%=12,c.days=s,c.months=a,c.years=r,this},Jn.clone=function(){return Li(this)},Jn.get=function(t){return t=Ce(t),this.isValid()?this[t+"s"]():NaN},Jn.milliseconds=Ln,Jn.seconds=Zn,Jn.minutes=Kn,Jn.hours=An,Jn.days=Fn,Jn.weeks=function(){return We(this.days()/7)},Jn.months=$n,Jn.years=Hn,Jn.humanize=function(t,o){if(!this.isValid())return this.localeData().invalidDate();var e,r,i=!1,n=Tn;return"object"==typeof t&&(o=t,t=!1),"boolean"==typeof t&&(i=t),"object"==typeof o&&(n=Object.assign({},Tn,o),null!=o.s&&null==o.ss&&(n.ss=o.s-1)),r=function(t,o,e,r){var i=Li(t).abs(),n=_n(i.as("s")),s=_n(i.as("m")),a=_n(i.as("h")),c=_n(i.as("d")),l=_n(i.as("M")),h=_n(i.as("w")),f=_n(i.as("y")),u=n<=e.ss&&["s",n]||n<e.s&&["ss",n]||s<=1&&["m"]||s<e.m&&["mm",s]||a<=1&&["h"]||a<e.h&&["hh",a]||c<=1&&["d"]||c<e.d&&["dd",c];return null!=e.w&&(u=u||h<=1&&["w"]||h<e.w&&["ww",h]),(u=u||l<=1&&["M"]||l<e.M&&["MM",l]||f<=1&&["y"]||["yy",f])[2]=o,u[3]=+t>0,u[4]=r,Gn.apply(null,u)}(this,!i,n,e=this.localeData()),i&&(r=e.pastFuture(+this,r)),e.postformat(r)},Jn.toISOString=jn,Jn.toString=jn,Jn.toJSON=jn,Jn.locale=Bi,Jn.localeData=ji,Jn.toIsoString=ce("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",jn),Jn.lang=zi,Oe("X",0,0,"unix"),Oe("x",0,0,"valueOf"),Ve("x",Pe),Ve("X",/[+-]?\d+(\.\d{1,3})?/),er("X",(function(t,o,e){e._d=new Date(1e3*parseFloat(t))})),er("x",(function(t,o,e){e._d=new Date(Ye(t))})),
118
118
  //! moment.js
119
- To.version="2.29.4",$o=Ni,To.fn=dn,To.min=function(){return Si("isBefore",[].slice.call(arguments,0))},To.max=function(){return Si("isAfter",[].slice.call(arguments,0))},To.now=function(){return Date.now?Date.now():+new Date},To.utc=Vo,To.unix=function(t){return Ni(1e3*t)},To.months=function(t,o){return mn(t,o,"months")},To.isDate=Jo,To.locale=Xr,To.invalid=oe,To.duration=Li,To.isMoment=se,To.weekdays=function(t,o,e){return bn(t,o,e,"weekdays")},To.parseZone=function(){return Ni.apply(null,arguments).parseZone()},To.localeData=oi,To.isDuration=Ci,To.monthsShort=function(t,o){return mn(t,o,"monthsShort")},To.weekdaysMin=function(t,o,e){return bn(t,o,e,"weekdaysMin")},To.defineLocale=ti,To.updateLocale=function(t,o){if(null!=o){var e,r,i=jr;null!=Pr[t]&&null!=Pr[t].parentLocale?Pr[t].set(de(Pr[t]._config,o)):(null!=(r=Vr(t))&&(i=r._config),o=de(i,o),null==r&&(o.abbr=t),(e=new pe(o)).parentLocale=Pr[t],Pr[t]=e),Xr(t)}else null!=Pr[t]&&(null!=Pr[t].parentLocale?(Pr[t]=Pr[t].parentLocale,t===Xr()&&Xr(t)):null!=Pr[t]&&delete Pr[t]);return Pr[t]},To.locales=function(){return le(Pr)},To.weekdaysShort=function(t,o,e){return bn(t,o,e,"weekdaysShort")},To.normalizeUnits=Ce,To.relativeTimeRounding=function(t){return void 0===t?Tn:"function"==typeof t&&(Tn=t,!0)},To.relativeTimeThreshold=function(t,o){return void 0!==_n[t]&&(void 0===o?_n[t]:(_n[t]=o,"s"===t&&(_n.ss=o-1),!0))},To.calendarFormat=function(t,o){var e=t.diff(o,"days",!0);return e<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},To.prototype=dn,To.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"},function(t){t.DAY="DAY",t.WEEK="WEEK",t.MONTH="MONTH"}(Pn||(Pn={}));const qn=yt`
119
+ _o.version="2.29.4",$o=Ni,_o.fn=dn,_o.min=function(){return Si("isBefore",[].slice.call(arguments,0))},_o.max=function(){return Si("isAfter",[].slice.call(arguments,0))},_o.now=function(){return Date.now?Date.now():+new Date},_o.utc=Vo,_o.unix=function(t){return Ni(1e3*t)},_o.months=function(t,o){return mn(t,o,"months")},_o.isDate=Jo,_o.locale=Xr,_o.invalid=oe,_o.duration=Li,_o.isMoment=se,_o.weekdays=function(t,o,e){return bn(t,o,e,"weekdays")},_o.parseZone=function(){return Ni.apply(null,arguments).parseZone()},_o.localeData=oi,_o.isDuration=Ci,_o.monthsShort=function(t,o){return mn(t,o,"monthsShort")},_o.weekdaysMin=function(t,o,e){return bn(t,o,e,"weekdaysMin")},_o.defineLocale=ti,_o.updateLocale=function(t,o){if(null!=o){var e,r,i=jr;null!=Pr[t]&&null!=Pr[t].parentLocale?Pr[t].set(de(Pr[t]._config,o)):(null!=(r=Vr(t))&&(i=r._config),o=de(i,o),null==r&&(o.abbr=t),(e=new pe(o)).parentLocale=Pr[t],Pr[t]=e),Xr(t)}else null!=Pr[t]&&(null!=Pr[t].parentLocale?(Pr[t]=Pr[t].parentLocale,t===Xr()&&Xr(t)):null!=Pr[t]&&delete Pr[t]);return Pr[t]},_o.locales=function(){return le(Pr)},_o.weekdaysShort=function(t,o,e){return bn(t,o,e,"weekdaysShort")},_o.normalizeUnits=Ce,_o.relativeTimeRounding=function(t){return void 0===t?_n:"function"==typeof t&&(_n=t,!0)},_o.relativeTimeThreshold=function(t,o){return void 0!==Tn[t]&&(void 0===o?Tn[t]:(Tn[t]=o,"s"===t&&(Tn.ss=o-1),!0))},_o.calendarFormat=function(t,o){var e=t.diff(o,"days",!0);return e<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},_o.prototype=dn,_o.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"},function(t){t.DAY="DAY",t.WEEK="WEEK",t.MONTH="MONTH"}(Pn||(Pn={}));const qn=yt`
120
120
  .sessions-chart {
121
121
  height: 100%;
122
122
  width: 100%;
123
123
  }
124
124
  `;var Qn=function(t,o,e,r){for(var i,n=arguments.length,s=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(o,e,s):i(o,e))||s);return n>3&&s&&Object.defineProperty(o,e,s),s};null==window.echarts&&console.warn("Echarts is not available");let Vn=class extends Ro{constructor(){super(...arguments),this.xAxisName="date",this.yAxisName="",this.graphColor="",this.hoverColor="",this.tooltipBackgroundColor="",this.tooltipBorderColor="",this.tooltipTextColor="",this.tooltipBorderRadius=0,this.valueLabels=void 0,this.valueLabelsSingular=void 0,this.barChart=!1,this.period=Pn.DAY,this.data=[]}render(){return Qt`
125
125
  <div class="sessions-chart"></div>
126
- `}firstUpdated(t){var o;super.firstUpdated(t),this.myChart=null===(o=window.echarts)||void 0===o?void 0:o.init(this.container,void 0,{renderer:"svg"}),window.addEventListener("resize",(()=>{var t;null===(t=this.myChart)||void 0===t||t.resize()}))}updated(t){super.updated(t);const o=this.getOptions();o&&this.myChart&&this.myChart.setOption(o)}getOptions(){const t=this;return{tooltip:{axisPointer:{type:"shadow",shadowStyle:{color:t.hoverColor}},trigger:"axis",formatter:o=>t.getTooltip(o),backgroundColor:t.tooltipBackgroundColor,borderColor:t.tooltipBorderColor,textStyle:{color:t.tooltipTextColor},borderRadius:t.tooltipBorderRadius},grid:{left:"80px",right:"100px",top:"50px",bottom:"20px"},xAxis:{type:"category",name:this.xAxisName.toUpperCase(),axisTick:{alignWithLabel:!0},axisLabel:{formatter:o=>t.period===Pn.DAY||t.period===Pn.WEEK?To.utc(1e3*o).format("DD MMM YYYY"):(t.period,Pn.MONTH,To.utc(1e3*o).format("MMMM YYYY"))}},yAxis:{type:"value",name:this.yAxisName.toUpperCase()},color:this.graphColor,series:this.getSeries()}}getTooltip(t){const o=To.utc(1e3*t[0].data.value[0]),e=t.map((t=>t.data.value[1]));let r,i,n="";switch(this.period){case Pn.DAY:r=o.format("DD MMM YYYY"),i="on",this.isThisPeriod(o,Pn.DAY)&&(n=" so far");break;case Pn.WEEK:r=o.format("DD MMM YYYY"),i="during the week of",this.isThisPeriod(o,Pn.WEEK)&&(n=" so far");break;case Pn.MONTH:i="in",r=o.format("MMMM YYYY"),this.isThisPeriod(o,Pn.MONTH)&&(n=" so far")}let s="";for(let t=0;t<e.length;t++){let o=this.valueLabels?this.valueLabels[t]:this.yAxisName,a=this.valueLabelsSingular?this.valueLabelsSingular[t]:o;const c=1===e[t]?a:o;s+=`${e[t].toLocaleString()} ${c} ${i} ${r}${n}</br>`}return s.substring(0,s.length-5)}isThisPeriod(t,o,e=To.utc()){switch(o){case Pn.DAY:return t.format("YYYY-MM-DD")===e.clone().startOf("day").format("YYYY-MM-DD");case Pn.WEEK:return t.clone().startOf("isoWeek").format("YYYY-MM-DD")===e.clone().startOf("isoWeek").format("YYYY-MM-DD");case Pn.MONTH:return t.month()===e.month()&&t.year()===e.year()}return!1}getSeries(){if(0==this.data.length)return[];const t=this.data[0].length-1;if(0==t)return[];let o=[];for(let e=0;e<t;e++)o[e]={type:this.barChart?"bar":"line",data:this.getData(e)};return o}getData(t){return this.data.map((o=>this.isThisPeriod(To.unix(o[0]),this.period)?{value:[o[0],o[t+1]],itemStyle:{opacity:.5}}:{value:[o[0],o[t+1]]}))}};Vn.styles=qn,Qn([C({type:String})],Vn.prototype,"xAxisName",void 0),Qn([C({type:String})],Vn.prototype,"yAxisName",void 0),Qn([C({type:String})],Vn.prototype,"graphColor",void 0),Qn([C({type:String})],Vn.prototype,"hoverColor",void 0),Qn([C({type:String})],Vn.prototype,"tooltipBackgroundColor",void 0),Qn([C({type:String})],Vn.prototype,"tooltipBorderColor",void 0),Qn([C({type:String})],Vn.prototype,"tooltipTextColor",void 0),Qn([C({type:String})],Vn.prototype,"tooltipBorderRadius",void 0),Qn([U(void 0)],Vn.prototype,"valueLabels",void 0),Qn([U(void 0)],Vn.prototype,"valueLabelsSingular",void 0),Qn([C({type:Boolean})],Vn.prototype,"barChart",void 0),Qn([C({type:String})],Vn.prototype,"period",void 0),Qn([U([])],Vn.prototype,"data",void 0),Qn([function(t,o){return(e,r,i)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof r?e:i??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return E(0,0,{get(){let e=t.call(this);return void 0===e&&(e=n(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return E(0,0,{get(){return n(this)}})}}(".sessions-chart")],Vn.prototype,"container",void 0),Vn=Qn([R("ft-chart")],Vn),R("ft-chart")(Vn);const Xn=yt`
126
+ `}firstUpdated(t){var o;super.firstUpdated(t),this.myChart=null===(o=window.echarts)||void 0===o?void 0:o.init(this.container,void 0,{renderer:"svg"}),window.addEventListener("resize",(()=>{var t;null===(t=this.myChart)||void 0===t||t.resize()}))}updated(t){super.updated(t);const o=this.getOptions();o&&this.myChart&&this.myChart.setOption(o)}getOptions(){const t=this;return{tooltip:{axisPointer:{type:"shadow",shadowStyle:{color:t.hoverColor}},trigger:"axis",formatter:o=>t.getTooltip(o),backgroundColor:t.tooltipBackgroundColor,borderColor:t.tooltipBorderColor,textStyle:{color:t.tooltipTextColor},borderRadius:t.tooltipBorderRadius},grid:{left:"80px",right:"100px",top:"50px",bottom:"20px"},xAxis:{type:"category",name:this.xAxisName.toUpperCase(),axisTick:{alignWithLabel:!0},axisLabel:{formatter:o=>t.period===Pn.DAY||t.period===Pn.WEEK?_o.utc(1e3*o).format("DD MMM YYYY"):(t.period,Pn.MONTH,_o.utc(1e3*o).format("MMMM YYYY"))}},yAxis:{type:"value",name:this.yAxisName.toUpperCase()},color:this.graphColor,series:this.getSeries()}}getTooltip(t){const o=_o.utc(1e3*t[0].data.value[0]),e=t.map((t=>t.data.value[1]));let r,i,n="";switch(this.period){case Pn.DAY:r=o.format("DD MMM YYYY"),i="on",this.isThisPeriod(o,Pn.DAY)&&(n=" so far");break;case Pn.WEEK:r=o.format("DD MMM YYYY"),i="during the week of",this.isThisPeriod(o,Pn.WEEK)&&(n=" so far");break;case Pn.MONTH:i="in",r=o.format("MMMM YYYY"),this.isThisPeriod(o,Pn.MONTH)&&(n=" so far")}let s="";for(let t=0;t<e.length;t++){let o=this.valueLabels?this.valueLabels[t]:this.yAxisName,a=this.valueLabelsSingular?this.valueLabelsSingular[t]:o;const c=1===e[t]?a:o;s+=`${e[t].toLocaleString()} ${c} ${i} ${r}${n}</br>`}return s.substring(0,s.length-5)}isThisPeriod(t,o,e=_o.utc()){switch(o){case Pn.DAY:return t.format("YYYY-MM-DD")===e.clone().startOf("day").format("YYYY-MM-DD");case Pn.WEEK:return t.clone().startOf("isoWeek").format("YYYY-MM-DD")===e.clone().startOf("isoWeek").format("YYYY-MM-DD");case Pn.MONTH:return t.month()===e.month()&&t.year()===e.year()}return!1}getSeries(){if(0==this.data.length)return[];const t=this.data[0].length-1;if(0==t)return[];let o=[];for(let e=0;e<t;e++)o[e]={type:this.barChart?"bar":"line",data:this.getData(e)};return o}getData(t){return this.data.map((o=>this.isThisPeriod(_o.unix(o[0]),this.period)?{value:[o[0],o[t+1]],itemStyle:{opacity:.5}}:{value:[o[0],o[t+1]]}))}};Vn.styles=qn,Qn([C({type:String})],Vn.prototype,"xAxisName",void 0),Qn([C({type:String})],Vn.prototype,"yAxisName",void 0),Qn([C({type:String})],Vn.prototype,"graphColor",void 0),Qn([C({type:String})],Vn.prototype,"hoverColor",void 0),Qn([C({type:String})],Vn.prototype,"tooltipBackgroundColor",void 0),Qn([C({type:String})],Vn.prototype,"tooltipBorderColor",void 0),Qn([C({type:String})],Vn.prototype,"tooltipTextColor",void 0),Qn([C({type:String})],Vn.prototype,"tooltipBorderRadius",void 0),Qn([U(void 0)],Vn.prototype,"valueLabels",void 0),Qn([U(void 0)],Vn.prototype,"valueLabelsSingular",void 0),Qn([C({type:Boolean})],Vn.prototype,"barChart",void 0),Qn([C({type:String})],Vn.prototype,"period",void 0),Qn([U([])],Vn.prototype,"data",void 0),Qn([function(t,o){return(e,r,i)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof r?e:i??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return E(0,0,{get(){let e=t.call(this);return void 0===e&&(e=n(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return E(0,0,{get(){return n(this)}})}}(".sessions-chart")],Vn.prototype,"container",void 0),Vn=Qn([R("ft-chart")],Vn),R("ft-chart")(Vn);const Xn=yt`
127
127
  .session-chart {
128
128
  width: 100%;
129
129
  height: 100%;
130
130
  }
131
- `;var ts=function(t,o,e,r){for(var i,n=arguments.length,s=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(o,e,s):i(o,e))||s);return n>3&&s&&Object.defineProperty(o,e,s),s};t.FtAnalyticsSessionsChart=class extends Ro{constructor(){super(...arguments),this.baseUrl="",this.period=Pn.MONTH,this.startDate=To.utc().startOf("month").add(-3,"months").format("YYYY-MM-DD"),this.endDate=To.utc().startOf("month").format("YYYY-MM-DD"),this.graphColor="",this.hoverColor="",this.tooltipBackgroundColor="",this.tooltipBorderColor="",this.tooltipTextColor="",this.tooltipBorderRadius=0,this.data=[]}render(){return Qt`
131
+ `;var ts=function(t,o,e,r){for(var i,n=arguments.length,s=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(o,e,s):i(o,e))||s);return n>3&&s&&Object.defineProperty(o,e,s),s};t.FtAnalyticsSessionsChart=class extends Ro{constructor(){super(...arguments),this.baseUrl="",this.period=Pn.MONTH,this.startDate=_o.utc().startOf("month").add(-3,"months").format("YYYY-MM-DD"),this.endDate=_o.utc().startOf("month").format("YYYY-MM-DD"),this.graphColor="",this.hoverColor="",this.tooltipBackgroundColor="",this.tooltipBorderColor="",this.tooltipTextColor="",this.tooltipBorderRadius=0,this.data=[]}render(){return Qt`
132
132
  <div class="session-chart">
133
133
  <ft-chart
134
134
  xAxisName="date"
@@ -146,4 +146,4 @@ To.version="2.29.4",$o=Ni,To.fn=dn,To.min=function(){return Si("isBefore",[].sli
146
146
  data="${JSON.stringify(this.data)}"
147
147
  ></ft-chart>
148
148
  </div>
149
- `}update(t){super.update(t),t.has("baseUrl")&&this.fetchSessions()}async fetchSessions(){if(this.baseUrl){let t=await fetch(this.baseUrl+"/analytics/api/v2/traffic/sessions",{method:"POST",headers:{"Content-Type":"application/json","Ft-Calling-App":"analytics/web-component"},body:JSON.stringify({endDate:this.endDate,groupByPeriod:this.period.toLowerCase(),startDate:this.startDate})});if(t.ok){let o=(await t.json()).results;this.data=this.getData(o)}else console.log((await t.json()).message)}}getData(t){return t.map((t=>[To.utc(t.periodStartDate,"YYYY-MM-DD").unix(),t.sessionCount]))}},t.FtAnalyticsSessionsChart.elementDefinitions={"ft-chart":Vn},t.FtAnalyticsSessionsChart.styles=Xn,ts([C({type:String})],t.FtAnalyticsSessionsChart.prototype,"baseUrl",void 0),ts([C({type:String})],t.FtAnalyticsSessionsChart.prototype,"period",void 0),ts([C({type:String})],t.FtAnalyticsSessionsChart.prototype,"startDate",void 0),ts([C({type:String})],t.FtAnalyticsSessionsChart.prototype,"endDate",void 0),ts([C({type:String})],t.FtAnalyticsSessionsChart.prototype,"graphColor",void 0),ts([C({type:String})],t.FtAnalyticsSessionsChart.prototype,"hoverColor",void 0),ts([C({type:String})],t.FtAnalyticsSessionsChart.prototype,"tooltipBackgroundColor",void 0),ts([C({type:String})],t.FtAnalyticsSessionsChart.prototype,"tooltipBorderColor",void 0),ts([C({type:String})],t.FtAnalyticsSessionsChart.prototype,"tooltipTextColor",void 0),ts([C({type:String})],t.FtAnalyticsSessionsChart.prototype,"tooltipBorderRadius",void 0),ts([function(t){return C({...t,state:!0,attribute:!1})}()],t.FtAnalyticsSessionsChart.prototype,"data",void 0),t.FtAnalyticsSessionsChart=ts([R("ft-analytics-sessions-chart")],t.FtAnalyticsSessionsChart),R("ft-analytics-sessions-chart")(t.FtAnalyticsSessionsChart),t.styles=Xn}({});
149
+ `}update(t){super.update(t),t.has("baseUrl")&&this.fetchSessions()}async fetchSessions(){if(this.baseUrl){let t=await fetch(this.baseUrl+"/analytics/api/v2/traffic/sessions",{method:"POST",headers:{"Content-Type":"application/json","Ft-Calling-App":"analytics/web-component"},body:JSON.stringify({endDate:this.endDate,groupByPeriod:this.period.toLowerCase(),startDate:this.startDate})});if(t.ok){let o=(await t.json()).results;this.data=this.getData(o)}else console.log((await t.json()).message)}}getData(t){return t.map((t=>[_o.utc(t.periodStartDate,"YYYY-MM-DD").unix(),t.sessionCount]))}},t.FtAnalyticsSessionsChart.elementDefinitions={"ft-chart":Vn},t.FtAnalyticsSessionsChart.styles=Xn,ts([C({type:String})],t.FtAnalyticsSessionsChart.prototype,"baseUrl",void 0),ts([C({type:String})],t.FtAnalyticsSessionsChart.prototype,"period",void 0),ts([C({type:String})],t.FtAnalyticsSessionsChart.prototype,"startDate",void 0),ts([C({type:String})],t.FtAnalyticsSessionsChart.prototype,"endDate",void 0),ts([C({type:String})],t.FtAnalyticsSessionsChart.prototype,"graphColor",void 0),ts([C({type:String})],t.FtAnalyticsSessionsChart.prototype,"hoverColor",void 0),ts([C({type:String})],t.FtAnalyticsSessionsChart.prototype,"tooltipBackgroundColor",void 0),ts([C({type:String})],t.FtAnalyticsSessionsChart.prototype,"tooltipBorderColor",void 0),ts([C({type:String})],t.FtAnalyticsSessionsChart.prototype,"tooltipTextColor",void 0),ts([C({type:String})],t.FtAnalyticsSessionsChart.prototype,"tooltipBorderRadius",void 0),ts([function(t){return C({...t,state:!0,attribute:!1})}()],t.FtAnalyticsSessionsChart.prototype,"data",void 0),t.FtAnalyticsSessionsChart=ts([R("ft-analytics-sessions-chart")],t.FtAnalyticsSessionsChart),R("ft-analytics-sessions-chart")(t.FtAnalyticsSessionsChart),t.styles=Xn}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-analytics-sessions-chart",
3
- "version": "1.1.35",
3
+ "version": "1.1.37",
4
4
  "description": "Display sessions",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,11 +19,11 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-wc-utils": "1.1.35",
22
+ "@fluid-topics/ft-wc-utils": "1.1.37",
23
23
  "lit": "3.1.0"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "moment": "2.29.4"
27
27
  },
28
- "gitHead": "f44f1bd5f035f2c52dd91ceed0b9c6bf06580b81"
28
+ "gitHead": "a2f1f35da13aa0735c3765b8149fc7564593a7ed"
29
29
  }