@fluid-topics/ft-chart 1.1.101 → 1.1.103

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.
@@ -46,7 +46,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
46
46
  input::-webkit-search-results-decoration {
47
47
  display: none;
48
48
  }
49
- `;var wc={};var la={};$(la,{ParametrizedLabelResolver:()=>ca});var ca=class{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var o,n;e=this.resolvePluralKey(e,r);let i=(n=(o=this.labels[e])!==null&&o!==void 0?o:this.defaultLabels[e])!==null&&n!==void 0?n:"";return r.forEach((s,c)=>i=i.replace(new RegExp(`\\{${c}([^}]*)\\}`,"g"),(l,u)=>this.formatValue(s,u))),i}resolvePluralKey(e,r){for(let o of r)if(typeof o=="number"){let n=`${String(e)}[\\=${o}]`;if(n in this.labels||n in this.defaultLabels)return n}return e}formatValue(e,r){return e instanceof Date?this.formatDate(e,r):e??""}formatDate(e,r){let o=n=>r?.includes("date")?e.toLocaleDateString(n):r?.includes("time")?e.toLocaleTimeString(n):e.toLocaleString(n);try{return o(document.documentElement.lang)}catch{return o()}}};var La={};$(La,{FtCommandQueue:()=>kr,FtLitElementRedux:()=>Yt,FtReduxStore:()=>Ta,clearAllStores:()=>Pf,isFtReduxStore:()=>Et,redux:()=>Vu,reduxEventListener:()=>Gu,reduxReactive:()=>ju});var ju=()=>(t,e)=>{var r;let o=t.constructor;o.reduxReactiveProperties=new Set(o.reduxReactiveProperties),(r=o.reduxReactiveProperties)===null||r===void 0||r.add(e)},Vu=t=>{let e=t??{};return(r,o)=>{var n;let i={hasChanged:xr,attribute:!1,...e};Y(i)(r,o);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(o,{selector:(n=e.selector)!==null&&n!==void 0?n:c=>c[o],store:e.store})}},Gu=t=>(e,r)=>{let o=e.constructor;o.reduxEventListeners=new Map(o.reduxEventListeners),o.reduxEventListeners.set(r,t)};var kr=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(o=>o.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(o=>o.type===e);return r&&(this.queue=this.queue.filter(o=>o!==r)),r}};function Et(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Oc,_c,Cc,Co=Symbol("internalReduxEventsUnsubscribers"),rt=Symbol("internalStoresUnsubscribers"),Nt=Symbol("internalStores"),Yt=class extends ue{constructor(){super(...arguments),this[Oc]=new Map,this[_c]=new Map,this[Cc]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[Nt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Nt].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Nt].get(e)}addStore(e,r){var o;r=(o=r??(Et(e)?e.name:void 0))!==null&&o!==void 0?o:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[Nt].delete(r)}setupStore(e,r){this[Nt].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Nt].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let o=this.constructor.getPropertyOptions(r);if(!o?.attribute||!this.hasAttribute(typeof o?.attribute=="string"?o.attribute:r)){let n=this.getStore(e.store);n&&(e.store?this[rt].has(e.store):this[rt].size>0)&&(this[r]=e.selector(n.getState(),this))}})}subscribeToStore(e,r){var o;this[rt].set(e,r.subscribe(()=>this.updateFromStores())),Et(r)&&r.eventBus&&((o=this.reduxConstructor.reduxEventListeners)===null||o===void 0||o.forEach((n,i)=>{if(typeof this[i]=="function"&&(!n.store||r.name===n.store)){let s=c=>this[i](c);r.eventBus.addEventListener(n.eventName,s),this[Co].push(()=>r.eventBus.removeEventListener(n.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[rt].forEach((e,r)=>this.unsubscribeFromStore(r)),this[Co].forEach(e=>e()),this[Co]=[]}unsubscribeFromStore(e){this[rt].has(e)&&this[rt].get(e)(),this[rt].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Oc=rt,_c=Nt,Cc=Co;Yt.reduxProperties=new Map;Yt.reduxReactiveProperties=new Set;Yt.reduxEventListeners=new Map;function me(t){for(var e=arguments.length,r=Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];if(0)var n,i;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function He(t){return!!t&&!!t[j]}function Se(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var o=Object.getPrototypeOf(r);if(o===null)return!0;var n=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===tf}(t)||Array.isArray(t)||!!t[Mc]||!!(!((e=t.constructor)===null||e===void 0)&&e[Mc])||ba(t)||xa(t))}function At(t,e,r){r===void 0&&(r=!1),jt(t)===0?(r?Object.keys:Bt)(t).forEach(function(o){r&&typeof o=="symbol"||e(o,t[o],t)}):t.forEach(function(o,n){return e(n,o,t)})}function jt(t){var e=t[j];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ba(t)?2:xa(t)?3:0}function zt(t,e){return jt(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Zu(t,e){return jt(t)===2?t.get(e):t[e]}function Ic(t,e,r){var o=jt(t);o===2?t.set(e,r):o===3?t.add(r):t[e]=r}function Dc(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function ba(t){return Qu&&t instanceof Map}function xa(t){return ef&&t instanceof Set}function ot(t){return t.o||t.t}function va(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Wc(t);delete e[j];for(var r=Bt(e),o=0;o<r.length;o++){var n=r[o],i=e[n];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[n]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),e)}function Sa(t,e){return e===void 0&&(e=!1),wa(t)||He(t)||!Se(t)||(jt(t)>1&&(t.set=t.add=t.clear=t.delete=Ku),Object.freeze(t),e&&At(t,function(r,o){return Sa(o,!0)},!0)),t}function Ku(){me(2)}function wa(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Re(t){var e=ga[t];return e||me(18,t),e}function qu(t,e){ga[t]||(ga[t]=e)}function ha(){return Mr}function da(t,e){e&&(Re("Patches"),t.u=[],t.s=[],t.v=e)}function Eo(t){ma(t),t.p.forEach(Ju),t.p=null}function ma(t){t===Mr&&(Mr=t.l)}function Ec(t){return Mr={p:[],l:Mr,h:t,m:!0,_:0}}function Ju(t){var e=t[j];e.i===0||e.i===1?e.j():e.g=!0}function ua(t,e){e._=e.p.length;var r=e.p[0],o=t!==void 0&&t!==r;return e.h.O||Re("ES5").S(e,t,o),o?(r[j].P&&(Eo(e),me(4)),Se(t)&&(t=No(e,t),e.l||Ao(e,t)),e.u&&Re("Patches").M(r[j].t,t,e.u,e.s)):t=No(e,r,[]),Eo(e),e.u&&e.v(e.u,e.s),t!==Lc?t:void 0}function No(t,e,r){if(wa(e))return e;var o=e[j];if(!o)return At(e,function(c,l){return Nc(t,o,e,c,l,r)},!0),e;if(o.A!==t)return e;if(!o.P)return Ao(t,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var n=o.i===4||o.i===5?o.o=va(o.k):o.o,i=n,s=!1;o.i===3&&(i=new Set(n),n.clear(),s=!0),At(i,function(c,l){return Nc(t,o,n,c,l,r,s)}),Ao(t,n,!1),r&&t.u&&Re("Patches").N(o,r,t.u,t.s)}return o.o}function Nc(t,e,r,o,n,i,s){if(He(n)){var c=No(t,n,i&&e&&e.i!==3&&!zt(e.R,o)?i.concat(o):void 0);if(Ic(r,o,c),!He(c))return;t.m=!1}else s&&r.add(n);if(Se(n)&&!wa(n)){if(!t.h.D&&t._<1)return;No(t,n),e&&e.A.l||Ao(t,n)}}function Ao(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Sa(e,r)}function fa(t,e){var r=t[j];return(r?ot(r):t)[e]}function Ac(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var o=Object.getOwnPropertyDescriptor(r,e);if(o)return o;r=Object.getPrototypeOf(r)}}function nt(t){t.P||(t.P=!0,t.l&&nt(t.l))}function pa(t){t.o||(t.o=va(t.t))}function ya(t,e,r){var o=ba(e)?Re("MapSet").F(e,r):xa(e)?Re("MapSet").T(e,r):t.O?function(n,i){var s=Array.isArray(n),c={i:s?1:0,A:i?i.A:ha(),P:!1,I:!1,R:{},l:i,t:n,k:null,o:null,j:null,C:!1},l=c,u=Ir;s&&(l=[c],u=Pr);var p=Proxy.revocable(l,u),h=p.revoke,m=p.proxy;return c.k=m,c.j=h,m}(e,r):Re("ES5").J(e,r);return(r?r.A:ha()).p.push(o),o}function Xu(t){return He(t)||me(22,t),function e(r){if(!Se(r))return r;var o,n=r[j],i=jt(r);if(n){if(!n.P&&(n.i<4||!Re("ES5").K(n)))return n.t;n.I=!0,o=Rc(r,i),n.I=!1}else o=Rc(r,i);return At(o,function(s,c){n&&Zu(n.t,s)===c||Ic(o,s,e(c))}),i===3?new Set(o):o}(t)}function Rc(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return va(t)}function Tc(){function t(s,c){var l=i[s];return l?l.enumerable=c:i[s]=l={configurable:!0,enumerable:c,get:function(){var u=this[j];return Ir.get(u,s)},set:function(u){var p=this[j];Ir.set(p,s,u)}},l}function e(s){for(var c=s.length-1;c>=0;c--){var l=s[c][j];if(!l.P)switch(l.i){case 5:o(l)&&nt(l);break;case 4:r(l)&&nt(l)}}}function r(s){for(var c=s.t,l=s.k,u=Bt(l),p=u.length-1;p>=0;p--){var h=u[p];if(h!==j){var m=c[h];if(m===void 0&&!zt(c,h))return!0;var y=l[h],g=y&&y[j];if(g?g.t!==m:!Dc(y,m))return!0}}var v=!!c[j];return u.length!==Bt(c).length+(v?0:1)}function o(s){var c=s.k;if(c.length!==s.t.length)return!0;var l=Object.getOwnPropertyDescriptor(c,c.length-1);if(l&&!l.get)return!0;for(var u=0;u<c.length;u++)if(!c.hasOwnProperty(u))return!0;return!1}function n(s){s.g&&me(3,JSON.stringify(ot(s)))}var i={};qu("ES5",{J:function(s,c){var l=Array.isArray(s),u=function(h,m){if(h){for(var y=Array(m.length),g=0;g<m.length;g++)Object.defineProperty(y,""+g,t(g,!0));return y}var v=Wc(m);delete v[j];for(var C=Bt(v),E=0;E<C.length;E++){var N=C[E];v[N]=t(N,h||!!v[N].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(l,s),p={i:l?5:4,A:c?c.A:ha(),P:!1,I:!1,R:{},l:c,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,j,{value:p,writable:!0}),u},S:function(s,c,l){l?He(c)&&c[j].A===s&&e(s.p):(s.u&&function u(p){if(p&&typeof p=="object"){var h=p[j];if(h){var m=h.t,y=h.k,g=h.R,v=h.i;if(v===4)At(y,function(b){b!==j&&(m[b]!==void 0||zt(m,b)?g[b]||u(y[b]):(g[b]=!0,nt(h)))}),At(m,function(b){y[b]!==void 0||zt(y,b)||(g[b]=!1,nt(h))});else if(v===5){if(o(h)&&(nt(h),g.length=!0),y.length<m.length)for(var C=y.length;C<m.length;C++)g[C]=!1;else for(var E=m.length;E<y.length;E++)g[E]=!0;for(var N=Math.min(y.length,m.length),x=0;x<N;x++)y.hasOwnProperty(x)||(g[x]=!0),g[x]===void 0&&u(y[x])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):o(s)}})}var kc,Mr,Oa=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Qu=typeof Map<"u",ef=typeof Set<"u",Pc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Lc=Oa?Symbol.for("immer-nothing"):((kc={})["immer-nothing"]=!0,kc),Mc=Oa?Symbol.for("immer-draftable"):"__$immer_draftable",j=Oa?Symbol.for("immer-state"):"__$immer_state";var tf=""+Object.prototype.constructor,Bt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Wc=Object.getOwnPropertyDescriptors||function(t){var e={};return Bt(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},ga={},Ir={get:function(t,e){if(e===j)return t;var r=ot(t);if(!zt(r,e))return function(n,i,s){var c,l=Ac(i,s);return l?"value"in l?l.value:(c=l.get)===null||c===void 0?void 0:c.call(n.k):void 0}(t,r,e);var o=r[e];return t.I||!Se(o)?o:o===fa(t.t,e)?(pa(t),t.o[e]=ya(t.A.h,o,t)):o},has:function(t,e){return e in ot(t)},ownKeys:function(t){return Reflect.ownKeys(ot(t))},set:function(t,e,r){var o=Ac(ot(t),e);if(o?.set)return o.set.call(t.k,r),!0;if(!t.P){var n=fa(ot(t),e),i=n?.[j];if(i&&i.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Dc(r,n)&&(r!==void 0||zt(t.t,e)))return!0;pa(t),nt(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return fa(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,pa(t),nt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=ot(t),o=Reflect.getOwnPropertyDescriptor(r,e);return o&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:o.enumerable,value:r[e]}},defineProperty:function(){me(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){me(12)}},Pr={};At(Ir,function(t,e){Pr[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Pr.deleteProperty=function(t,e){return Pr.set.call(this,t,e,void 0)},Pr.set=function(t,e,r){return Ir.set.call(this,t[0],e,r,t[0])};var rf=function(){function t(r){var o=this;this.O=Pc,this.D=!0,this.produce=function(n,i,s){if(typeof n=="function"&&typeof i!="function"){var c=i;i=n;var l=o;return function(v){var C=this;v===void 0&&(v=c);for(var E=arguments.length,N=Array(E>1?E-1:0),x=1;x<E;x++)N[x-1]=arguments[x];return l.produce(v,function(b){var w;return(w=i).call.apply(w,[C,b].concat(N))})}}var u;if(typeof i!="function"&&me(6),s!==void 0&&typeof s!="function"&&me(7),Se(n)){var p=Ec(o),h=ya(o,n,void 0),m=!0;try{u=i(h),m=!1}finally{m?Eo(p):ma(p)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(v){return da(p,s),ua(v,p)},function(v){throw Eo(p),v}):(da(p,s),ua(u,p))}if(!n||typeof n!="object"){if((u=i(n))===void 0&&(u=n),u===Lc&&(u=void 0),o.D&&Sa(u,!0),s){var y=[],g=[];Re("Patches").M(n,u,y,g),s(y,g)}return u}me(21,n)},this.produceWithPatches=function(n,i){if(typeof n=="function")return function(u){for(var p=arguments.length,h=Array(p>1?p-1:0),m=1;m<p;m++)h[m-1]=arguments[m];return o.produceWithPatches(u,function(y){return n.apply(void 0,[y].concat(h))})};var s,c,l=o.produce(n,i,function(u,p){s=u,c=p});return typeof Promise<"u"&&l instanceof Promise?l.then(function(u){return[u,s,c]}):[l,s,c]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){Se(r)||me(8),He(r)&&(r=Xu(r));var o=Ec(this),n=ya(this,r,void 0);return n[j].C=!0,ma(o),n},e.finishDraft=function(r,o){var n=r&&r[j],i=n.A;return da(i,o),ua(void 0,i)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Pc&&me(20),this.O=r},e.applyPatches=function(r,o){var n;for(n=o.length-1;n>=0;n--){var i=o[n];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}n>-1&&(o=o.slice(n+1));var s=Re("Patches").$;return He(r)?s(r,o):this.produce(r,function(c){return s(c,o)})},t}(),fe=new rf,of=fe.produce,Yv=fe.produceWithPatches.bind(fe),zv=fe.setAutoFreeze.bind(fe),Bv=fe.setUseProxies.bind(fe),jv=fe.applyPatches.bind(fe),Vv=fe.createDraft.bind(fe),Gv=fe.finishDraft.bind(fe),Ro=of;function at(t){"@babel/helpers - typeof";return at=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},at(t)}function _a(t,e){if(at(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(at(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Ca(t){var e=_a(t,"string");return at(e)==="symbol"?e:String(e)}function Ea(t,e,r){return e=Ca(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function $c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,o)}return r}function ko(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?$c(Object(r),!0).forEach(function(o){Ea(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$c(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function ee(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var Uc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Na=function(){return Math.random().toString(36).substring(7).split("").join(".")},Po={INIT:"@@redux/INIT"+Na(),REPLACE:"@@redux/REPLACE"+Na(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Na()}};function nf(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Aa(t,e,r){var o;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(ee(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(ee(1));return r(Aa)(t,e)}if(typeof t!="function")throw new Error(ee(2));var n=t,i=e,s=[],c=s,l=!1;function u(){c===s&&(c=s.slice())}function p(){if(l)throw new Error(ee(3));return i}function h(v){if(typeof v!="function")throw new Error(ee(4));if(l)throw new Error(ee(5));var C=!0;return u(),c.push(v),function(){if(C){if(l)throw new Error(ee(6));C=!1,u();var N=c.indexOf(v);c.splice(N,1),s=null}}}function m(v){if(!nf(v))throw new Error(ee(7));if(typeof v.type>"u")throw new Error(ee(8));if(l)throw new Error(ee(9));try{l=!0,i=n(i,v)}finally{l=!1}for(var C=s=c,E=0;E<C.length;E++){var N=C[E];N()}return v}function y(v){if(typeof v!="function")throw new Error(ee(10));n=v,m({type:Po.REPLACE})}function g(){var v,C=h;return v={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(ee(11));function x(){N.next&&N.next(p())}x();var b=C(x);return{unsubscribe:b}}},v[Uc]=function(){return this},v}return m({type:Po.INIT}),o={dispatch:m,subscribe:h,getState:p,replaceReducer:y},o[Uc]=g,o}function af(t){Object.keys(t).forEach(function(e){var r=t[e],o=r(void 0,{type:Po.INIT});if(typeof o>"u")throw new Error(ee(12));if(typeof r(void 0,{type:Po.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ee(13))})}function Fc(t){for(var e=Object.keys(t),r={},o=0;o<e.length;o++){var n=e[o];typeof t[n]=="function"&&(r[n]=t[n])}var i=Object.keys(r),s,c;try{af(r)}catch(l){c=l}return function(u,p){if(u===void 0&&(u={}),c)throw c;if(0)var h;for(var m=!1,y={},g=0;g<i.length;g++){var v=i[g],C=r[v],E=u[v],N=C(E,p);if(typeof N>"u"){var x=p&&p.type;throw new Error(ee(14))}y[v]=N,m=m||N!==E}return m=m||i.length!==Object.keys(u).length,m?y:u}}function Vt(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(o){return o}:e.length===1?e[0]:e.reduce(function(o,n){return function(){return o(n.apply(void 0,arguments))}})}function Hc(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(o){return function(){var n=o.apply(void 0,arguments),i=function(){throw new Error(ee(15))},s={getState:n.getState,dispatch:function(){return i.apply(void 0,arguments)}},c=e.map(function(l){return l(s)});return i=Vt.apply(void 0,c)(n.dispatch),ko(ko({},n),{},{dispatch:i})}}}function Yc(t){var e=function(o){var n=o.dispatch,i=o.getState;return function(s){return function(c){return typeof c=="function"?c(n,i,t):s(c)}}};return e}var zc=Yc();zc.withExtraArgument=Yc;var Ra=zc;var Zc=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,n){o.__proto__=n}||function(o,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(o[i]=n[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function o(){this.constructor=e}e.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}(),sf=function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,n,i,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(u){return function(p){return l([u,p])}}function l(u){if(o)throw new TypeError("Generator is already executing.");for(;r;)try{if(o=1,n&&(i=u[0]&2?n.return:u[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,u[1])).done)return i;switch(n=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,n=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1],i=u;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(u);break}i[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(p){u=[6,p],n=0}finally{o=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Gt=function(t,e){for(var r=0,o=e.length,n=t.length;r<o;r++,n++)t[n]=e[r];return t},cf=Object.defineProperty,lf=Object.defineProperties,df=Object.getOwnPropertyDescriptors,Bc=Object.getOwnPropertySymbols,uf=Object.prototype.hasOwnProperty,ff=Object.prototype.propertyIsEnumerable,jc=function(t,e,r){return e in t?cf(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},it=function(t,e){for(var r in e||(e={}))uf.call(e,r)&&jc(t,r,e[r]);if(Bc)for(var o=0,n=Bc(e);o<n.length;o++){var r=n[o];ff.call(e,r)&&jc(t,r,e[r])}return t},ka=function(t,e){return lf(t,df(e))},pf=function(t,e,r){return new Promise(function(o,n){var i=function(l){try{c(r.next(l))}catch(u){n(u)}},s=function(l){try{c(r.throw(l))}catch(u){n(u)}},c=function(l){return l.done?o(l.value):Promise.resolve(l.value).then(i,s)};c((r=r.apply(t,e)).next())})};var hf=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Vt:Vt.apply(null,arguments)},uS=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function mf(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var yf=function(t){Zc(e,t);function e(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Gt([void 0],r[0].concat(this)))):new(e.bind.apply(e,Gt([void 0],r.concat(this))))},e}(Array),gf=function(t){Zc(e,t);function e(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Gt([void 0],r[0].concat(this)))):new(e.bind.apply(e,Gt([void 0],r.concat(this))))},e}(Array);function Ia(t){return Se(t)?Ro(t,function(){}):t}function bf(t){return typeof t=="boolean"}function xf(){return function(e){return vf(e)}}function vf(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,o=t.immutableCheck,n=o===void 0?!0:o,i=t.serializableCheck,s=i===void 0?!0:i,c=new yf;if(r&&(bf(r)?c.push(Ra):c.push(Ra.withExtraArgument(r.extraArgument))),0){if(n)var l;if(s)var u}return c}var Pa=!0;function Kc(t){var e=xf(),r=t||{},o=r.reducer,n=o===void 0?void 0:o,i=r.middleware,s=i===void 0?e():i,c=r.devTools,l=c===void 0?!0:c,u=r.preloadedState,p=u===void 0?void 0:u,h=r.enhancers,m=h===void 0?void 0:h,y;if(typeof n=="function")y=n;else if(mf(n))y=Fc(n);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var g=s;if(typeof g=="function"&&(g=g(e),!Pa&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Pa&&g.some(function(b){return typeof b!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=Hc.apply(void 0,g),C=Vt;l&&(C=hf(it({trace:!Pa},typeof l=="object"&&l)));var E=new gf(v),N=E;Array.isArray(m)?N=Gt([v],m):typeof m=="function"&&(N=m(E));var x=C.apply(void 0,N);return Aa(y,p,x)}function st(t,e){function r(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];if(e){var i=e.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return it(it({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:o[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(o){return o.type===t},r}function qc(t){var e={},r=[],o,n={addCase:function(i,s){var c=typeof i=="string"?i:i.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=s,n},addMatcher:function(i,s){return r.push({matcher:i,reducer:s}),n},addDefaultCase:function(i){return o=i,n}};return t(n),[e,r,o]}function Sf(t){return typeof t=="function"}function wf(t,e,r,o){r===void 0&&(r=[]);var n=typeof e=="function"?qc(e):[e,r,o],i=n[0],s=n[1],c=n[2],l;if(Sf(t))l=function(){return Ia(t())};else{var u=Ia(t);l=function(){return u}}function p(h,m){h===void 0&&(h=l());var y=Gt([i[m.type]],s.filter(function(g){var v=g.matcher;return v(m)}).map(function(g){var v=g.reducer;return v}));return y.filter(function(g){return!!g}).length===0&&(y=[c]),y.reduce(function(g,v){if(v)if(He(g)){var C=g,E=v(C,m);return E===void 0?g:E}else{if(Se(g))return Ro(g,function(N){return v(N,m)});var E=v(g,m);if(E===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return E}return g},h)}return p.getInitialState=l,p}function Of(t,e){return t+"/"+e}function Jc(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:Ia(t.initialState),o=t.reducers||{},n=Object.keys(o),i={},s={},c={};n.forEach(function(p){var h=o[p],m=Of(e,p),y,g;"reducer"in h?(y=h.reducer,g=h.prepare):y=h,i[p]=y,s[m]=y,c[p]=g?st(m,g):st(m)});function l(){var p=typeof t.extraReducers=="function"?qc(t.extraReducers):[t.extraReducers],h=p[0],m=h===void 0?{}:h,y=p[1],g=y===void 0?[]:y,v=p[2],C=v===void 0?void 0:v,E=it(it({},m),s);return wf(r,function(N){for(var x in E)N.addCase(x,E[x]);for(var b=0,w=g;b<w.length;b++){var P=w[b];N.addMatcher(P.matcher,P.reducer)}C&&N.addDefaultCase(C)})}var u;return{name:e,reducer:function(p,h){return u||(u=l()),u(p,h)},actions:c,caseReducers:i,getInitialState:function(){return u||(u=l()),u.getInitialState()}}}var _f="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Cf=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=_f[Math.random()*64|0];return e},Ef=["name","message","stack","code"],Ma=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Vc=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Nf=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,o=Ef;r<o.length;r++){var n=o[r];typeof t[n]=="string"&&(e[n]=t[n])}return e}return{message:String(t)}},mS=function(){function t(e,r,o){var n=st(e+"/fulfilled",function(p,h,m,y){return{payload:p,meta:ka(it({},y||{}),{arg:m,requestId:h,requestStatus:"fulfilled"})}}),i=st(e+"/pending",function(p,h,m){return{payload:void 0,meta:ka(it({},m||{}),{arg:h,requestId:p,requestStatus:"pending"})}}),s=st(e+"/rejected",function(p,h,m,y,g){return{payload:y,error:(o&&o.serializeError||Nf)(p||"Rejected"),meta:ka(it({},g||{}),{arg:m,requestId:h,rejectedWithValue:!!y,requestStatus:"rejected",aborted:p?.name==="AbortError",condition:p?.name==="ConditionError"})}}),c=!1,l=typeof AbortController<"u"?AbortController:function(){function p(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return p.prototype.abort=function(){},p}();function u(p){return function(h,m,y){var g=o?.idGenerator?o.idGenerator(p):Cf(),v=new l,C,E=!1;function N(b){C=b,v.abort()}var x=function(){return pf(this,null,function(){var b,w,P,F,ie,H,R;return sf(this,function(M){switch(M.label){case 0:return M.trys.push([0,4,,5]),F=(b=o?.condition)==null?void 0:b.call(o,p,{getState:m,extra:y}),Rf(F)?[4,F]:[3,2];case 1:F=M.sent(),M.label=2;case 2:if(F===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return E=!0,ie=new Promise(function(W,Q){return v.signal.addEventListener("abort",function(){return Q({name:"AbortError",message:C||"Aborted"})})}),h(i(g,p,(w=o?.getPendingMeta)==null?void 0:w.call(o,{requestId:g,arg:p},{getState:m,extra:y}))),[4,Promise.race([ie,Promise.resolve(r(p,{dispatch:h,getState:m,extra:y,requestId:g,signal:v.signal,abort:N,rejectWithValue:function(W,Q){return new Ma(W,Q)},fulfillWithValue:function(W,Q){return new Vc(W,Q)}})).then(function(W){if(W instanceof Ma)throw W;return W instanceof Vc?n(W.payload,g,p,W.meta):n(W,g,p)})])];case 3:return P=M.sent(),[3,5];case 4:return H=M.sent(),P=H instanceof Ma?s(null,g,p,H.payload,H.meta):s(H,g,p),[3,5];case 5:return R=o&&!o.dispatchConditionRejection&&s.match(P)&&P.meta.condition,R||h(P),[2,P]}})})}();return Object.assign(x,{abort:N,requestId:g,arg:p,unwrap:function(){return x.then(Af)}})}}return Object.assign(u,{pending:i,rejected:s,fulfilled:n,typePrefix:e})}return t.withTypes=function(){return t},t}();function Af(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Rf(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Xc="listener",Qc="completed",el="cancelled",yS="task-"+el,gS="task-"+Qc,bS=Xc+"-"+el,xS=Xc+"-"+Qc;var Da="listenerMiddleware";var vS=st(Da+"/add"),SS=st(Da+"/removeAll"),wS=st(Da+"/remove");var Gc,OS=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Gc||(Gc=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},kf=function(t){return function(e){setTimeout(e,t)}},_S=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:kf(10);Tc();window.ftReduxStores||(window.ftReduxStores={});var Ta=class t{static get(e){var r;let o=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,i=window.ftReduxStores[o];if(Et(i))return i;if(n==null)return;let s=Jc({...n,reducers:(r=n.reducers)!==null&&r!==void 0?r:{}}),c=Kc({reducer:(l,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...l,...u.overwrites}:s.reducer(l,u)});return window.ftReduxStores[n.name]=new t(s,c)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new kr,this.actions=new Proxy(this.reduxSlice.actions,{get:(o,n,i)=>{let s=n,c=o[s];return c?(...l)=>{let u=c(...l);return this.reduxStore.dispatch(u),u}:l=>{this.setState({[s]:l})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function Pf(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Et(e)&&e.clear()}var Ua={};$(Ua,{scrollHelper:()=>Mf});var Wa,Mo=new Map,$a=class{lock(e,r){if(r){let o=Mo.get(r);if(o==null||o===e)return Mo.set(r,e),r}}release(e,r){r&&Mo.get(r)===e&&Mo.delete(r)}findFirstScrollableParent(e){let r,o=n=>{var i;n.stopPropagation();let s,c;for(let l of n.composedPath()){let u=l,p=this.elementCanScroll(u);if(p&&u.clientHeight&&u.clientHeight<u.scrollHeight){s=u;break}else p&&c==null&&(c=u)}r=(i=s??c)!==null&&i!==void 0?i:document.body};return e.addEventListener("find-scrollable-parent",o),e.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),e.removeEventListener("find-scrollable-parent",o),r}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,r){let o=0;for(;r&&r.offsetParent!==e.offsetParent;)o+=r.offsetTop,r=r.offsetParent;return o+r.offsetTop-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let o=this.findFirstScrollableParent(e);if(e&&this.lock(this,o)){let n=this.getAbsoluteScrollOffset(o,e),i=n-o.clientHeight+e.clientHeight,s=n,c=In(0,(s-o.scrollTop)/(s-i),1),l=this.computeTopOffsetRatio(r?.position,c)*(i-s)+s;o.scrollTo({behavior:r?.behavior,top:l})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,o);this.release(this,o)}};window.FluidTopicsScrollHelper=(Wa=window.FluidTopicsScrollHelper)!==null&&Wa!==void 0?Wa:new $a;var Mf=window.FluidTopicsScrollHelper;var Fa={};$(Fa,{shadowQuerySelector:()=>If,shadowQuerySelectorAll:()=>Df});function If(t,e,...r){var o;let n=t.querySelector(e);for(let i of r)n=(o=n?.shadowRoot)===null||o===void 0?void 0:o.querySelector(i);return n}function Df(t,e,...r){let o=[...t.querySelectorAll(e)];for(let n of r)o=o.flatMap(i=>{var s,c;return[...(c=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(n))!==null&&c!==void 0?c:[]]});return o}var Ha={};$(Ha,{serializeRequest:()=>Lf});function Tf(t){return`"${t}"`}function Lf(t,e){var r,o,n,i;let s=new URLSearchParams({"content-lang":(r=e.contentLocale)!==null&&r!==void 0?r:"all"});if(((o=e.query)===null||o===void 0?void 0:o.length)>0&&s.append("query",e.query),e.scope&&e.scope!=="DEFAULT"&&s.append("scope",e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&s.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let l=e.periodFilter.period,u=l?`_${l.from}_${l.to}`:"";s.append("period",e.periodFilter.periodType.toLowerCase()+u)}if(((n=e.sort)===null||n===void 0?void 0:n.length)>0&&e.sort[0].key==="ft:lastEdition"&&s.append("sort","last_update"),((i=e.filters)===null||i===void 0?void 0:i.length)>0){let l=e.filters.map(u=>{let p=u.values.map(h=>h.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(h=>encodeURIComponent(Tf(h))).join("_");return`${u.key}~${p}`}).join("*");s.append("filters",l)}return new URL(`${t.replace(/\/+$/,"")}/search?${s.toString()}`).href}var Ya={};$(Ya,{toFtFormComponent:()=>Wf});var Io=Symbol("elementInternals");function Wf(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[Io].form}constructor(...n){super(n),this[Io]=this.attachInternals(),this[Io].role=e}setFormValue(n){this[Io].setFormValue(n)}}return r}var Ba={};$(Ba,{DateFormatter:()=>za});var za=class{static format(e,r,o,n){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(o,n)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}};var ja,Va,Ga,Za,$f=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Ga=(Va=(ja=window.safari)===null||ja===void 0?void 0:ja.pushNotification)===null||Va===void 0?void 0:Va.toString())!==null&&Ga!==void 0?Ga:"")==="[object SafariRemoteNotification]",Uf="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Za=window.ftGlobals)!==null&&Za!==void 0?Za:{lit:bn,litDecorators:Sn,litRepeat:wn,litClassMap:On,litStyleMap:_n,litUnsafeHTML:Cn,wcUtils:{...Rn,...Nn,...Pn,...Ba,...Mn,...Tn,...Un,...zn,...ea,...$n,...na,...ra,...vc,...Dn,...ia,...sa,...wc,...la,...La,...ta,...Ua,...Fa,...Ha,...Ya,isSafari:$f,isTouchScreen:Uf,setVariable:yo}};var il;function O(){return il.apply(null,arguments)}function Ff(t){il=t}function Oe(t){return t instanceof Array||Object.prototype.toString.call(t)==="[object Array]"}function Pt(t){return t!=null&&Object.prototype.toString.call(t)==="[object Object]"}function T(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function ii(t){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(t).length===0;var e;for(e in t)if(T(t,e))return!1;return!0}function ce(t){return t===void 0}function Ge(t){return typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]"}function Hr(t){return t instanceof Date||Object.prototype.toString.call(t)==="[object Date]"}function sl(t,e){var r=[],o,n=t.length;for(o=0;o<n;++o)r.push(e(t[o],o));return r}function ct(t,e){for(var r in e)T(e,r)&&(t[r]=e[r]);return T(e,"toString")&&(t.toString=e.toString),T(e,"valueOf")&&(t.valueOf=e.valueOf),t}function Me(t,e,r,o){return Pl(t,e,r,o,!0).utc()}function Hf(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function k(t){return t._pf==null&&(t._pf=Hf()),t._pf}var Qa;Array.prototype.some?Qa=Array.prototype.some:Qa=function(t){var e=Object(this),r=e.length>>>0,o;for(o=0;o<r;o++)if(o in e&&t.call(this,e[o],o,e))return!0;return!1};function si(t){if(t._isValid==null){var e=k(t),r=Qa.call(e.parsedDateParts,function(n){return n!=null}),o=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&r);if(t._strict&&(o=o&&e.charsLeftOver===0&&e.unusedTokens.length===0&&e.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(t))t._isValid=o;else return o}return t._isValid}function jo(t){var e=Me(NaN);return t!=null?ct(k(e),t):k(e).userInvalidated=!0,e}var tl=O.momentProperties=[],Ka=!1;function ci(t,e){var r,o,n,i=tl.length;if(ce(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),ce(e._i)||(t._i=e._i),ce(e._f)||(t._f=e._f),ce(e._l)||(t._l=e._l),ce(e._strict)||(t._strict=e._strict),ce(e._tzm)||(t._tzm=e._tzm),ce(e._isUTC)||(t._isUTC=e._isUTC),ce(e._offset)||(t._offset=e._offset),ce(e._pf)||(t._pf=k(e)),ce(e._locale)||(t._locale=e._locale),i>0)for(r=0;r<i;r++)o=tl[r],n=e[o],ce(n)||(t[o]=n);return t}function Yr(t){ci(this,t),this._d=new Date(t._d!=null?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Ka===!1&&(Ka=!0,O.updateOffset(this),Ka=!1)}function _e(t){return t instanceof Yr||t!=null&&t._isAMomentObject!=null}function cl(t){O.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+t)}function ge(t,e){var r=!0;return ct(function(){if(O.deprecationHandler!=null&&O.deprecationHandler(null,t),r){var o=[],n,i,s,c=arguments.length;for(i=0;i<c;i++){if(n="",typeof arguments[i]=="object"){n+=`
49
+ `;var wc={};var la={};$(la,{ParametrizedLabelResolver:()=>ca});var ca=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var o,n;e=this.resolvePluralKey(e,r);let i=(n=(o=this.labels[e])!==null&&o!==void 0?o:this.defaultLabels[e])!==null&&n!==void 0?n:"";return t.replaceParameters(i,...r)}static replaceParameters(e,...r){return r.forEach((o,n)=>e=e.replace(new RegExp(`\\{${n}([^}]*)\\}`,"g"),(i,s)=>t.formatValue(o,s))),e}resolvePluralKey(e,r){for(let o of r)if(typeof o=="number"){let n=`${String(e)}[\\=${o}]`;if(n in this.labels||n in this.defaultLabels)return n}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let o=n=>r?.includes("date")?e.toLocaleDateString(n):r?.includes("time")?e.toLocaleTimeString(n):e.toLocaleString(n);try{return o(document.documentElement.lang)}catch{return o()}}};var La={};$(La,{FtCommandQueue:()=>kr,FtLitElementRedux:()=>Yt,FtReduxStore:()=>Ta,clearAllStores:()=>Pf,isFtReduxStore:()=>Et,redux:()=>Vu,reduxEventListener:()=>Gu,reduxReactive:()=>ju});var ju=()=>(t,e)=>{var r;let o=t.constructor;o.reduxReactiveProperties=new Set(o.reduxReactiveProperties),(r=o.reduxReactiveProperties)===null||r===void 0||r.add(e)},Vu=t=>{let e=t??{};return(r,o)=>{var n;let i={hasChanged:xr,attribute:!1,...e};Y(i)(r,o);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(o,{selector:(n=e.selector)!==null&&n!==void 0?n:c=>c[o],store:e.store})}},Gu=t=>(e,r)=>{let o=e.constructor;o.reduxEventListeners=new Map(o.reduxEventListeners),o.reduxEventListeners.set(r,t)};var kr=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(o=>o.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(o=>o.type===e);return r&&(this.queue=this.queue.filter(o=>o!==r)),r}};function Et(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Oc,_c,Cc,Co=Symbol("internalReduxEventsUnsubscribers"),rt=Symbol("internalStoresUnsubscribers"),Nt=Symbol("internalStores"),Yt=class extends ue{constructor(){super(...arguments),this[Oc]=new Map,this[_c]=new Map,this[Cc]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[Nt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Nt].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Nt].get(e)}addStore(e,r){var o;r=(o=r??(Et(e)?e.name:void 0))!==null&&o!==void 0?o:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[Nt].delete(r)}setupStore(e,r){this[Nt].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Nt].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let o=this.constructor.getPropertyOptions(r);if(!o?.attribute||!this.hasAttribute(typeof o?.attribute=="string"?o.attribute:r)){let n=this.getStore(e.store);n&&(e.store?this[rt].has(e.store):this[rt].size>0)&&(this[r]=e.selector(n.getState(),this))}})}subscribeToStore(e,r){var o;this[rt].set(e,r.subscribe(()=>this.updateFromStores())),Et(r)&&r.eventBus&&((o=this.reduxConstructor.reduxEventListeners)===null||o===void 0||o.forEach((n,i)=>{if(typeof this[i]=="function"&&(!n.store||r.name===n.store)){let s=c=>this[i](c);r.eventBus.addEventListener(n.eventName,s),this[Co].push(()=>r.eventBus.removeEventListener(n.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[rt].forEach((e,r)=>this.unsubscribeFromStore(r)),this[Co].forEach(e=>e()),this[Co]=[]}unsubscribeFromStore(e){this[rt].has(e)&&this[rt].get(e)(),this[rt].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Oc=rt,_c=Nt,Cc=Co;Yt.reduxProperties=new Map;Yt.reduxReactiveProperties=new Set;Yt.reduxEventListeners=new Map;function me(t){for(var e=arguments.length,r=Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];if(0)var n,i;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function He(t){return!!t&&!!t[j]}function Se(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var o=Object.getPrototypeOf(r);if(o===null)return!0;var n=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===tf}(t)||Array.isArray(t)||!!t[Mc]||!!(!((e=t.constructor)===null||e===void 0)&&e[Mc])||ba(t)||xa(t))}function At(t,e,r){r===void 0&&(r=!1),jt(t)===0?(r?Object.keys:Bt)(t).forEach(function(o){r&&typeof o=="symbol"||e(o,t[o],t)}):t.forEach(function(o,n){return e(n,o,t)})}function jt(t){var e=t[j];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ba(t)?2:xa(t)?3:0}function zt(t,e){return jt(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Zu(t,e){return jt(t)===2?t.get(e):t[e]}function Ic(t,e,r){var o=jt(t);o===2?t.set(e,r):o===3?t.add(r):t[e]=r}function Dc(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function ba(t){return Qu&&t instanceof Map}function xa(t){return ef&&t instanceof Set}function ot(t){return t.o||t.t}function va(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Wc(t);delete e[j];for(var r=Bt(e),o=0;o<r.length;o++){var n=r[o],i=e[n];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[n]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),e)}function Sa(t,e){return e===void 0&&(e=!1),wa(t)||He(t)||!Se(t)||(jt(t)>1&&(t.set=t.add=t.clear=t.delete=Ku),Object.freeze(t),e&&At(t,function(r,o){return Sa(o,!0)},!0)),t}function Ku(){me(2)}function wa(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Re(t){var e=ga[t];return e||me(18,t),e}function qu(t,e){ga[t]||(ga[t]=e)}function ha(){return Mr}function da(t,e){e&&(Re("Patches"),t.u=[],t.s=[],t.v=e)}function Eo(t){ma(t),t.p.forEach(Ju),t.p=null}function ma(t){t===Mr&&(Mr=t.l)}function Ec(t){return Mr={p:[],l:Mr,h:t,m:!0,_:0}}function Ju(t){var e=t[j];e.i===0||e.i===1?e.j():e.g=!0}function ua(t,e){e._=e.p.length;var r=e.p[0],o=t!==void 0&&t!==r;return e.h.O||Re("ES5").S(e,t,o),o?(r[j].P&&(Eo(e),me(4)),Se(t)&&(t=No(e,t),e.l||Ao(e,t)),e.u&&Re("Patches").M(r[j].t,t,e.u,e.s)):t=No(e,r,[]),Eo(e),e.u&&e.v(e.u,e.s),t!==Lc?t:void 0}function No(t,e,r){if(wa(e))return e;var o=e[j];if(!o)return At(e,function(c,l){return Nc(t,o,e,c,l,r)},!0),e;if(o.A!==t)return e;if(!o.P)return Ao(t,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var n=o.i===4||o.i===5?o.o=va(o.k):o.o,i=n,s=!1;o.i===3&&(i=new Set(n),n.clear(),s=!0),At(i,function(c,l){return Nc(t,o,n,c,l,r,s)}),Ao(t,n,!1),r&&t.u&&Re("Patches").N(o,r,t.u,t.s)}return o.o}function Nc(t,e,r,o,n,i,s){if(He(n)){var c=No(t,n,i&&e&&e.i!==3&&!zt(e.R,o)?i.concat(o):void 0);if(Ic(r,o,c),!He(c))return;t.m=!1}else s&&r.add(n);if(Se(n)&&!wa(n)){if(!t.h.D&&t._<1)return;No(t,n),e&&e.A.l||Ao(t,n)}}function Ao(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Sa(e,r)}function fa(t,e){var r=t[j];return(r?ot(r):t)[e]}function Ac(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var o=Object.getOwnPropertyDescriptor(r,e);if(o)return o;r=Object.getPrototypeOf(r)}}function nt(t){t.P||(t.P=!0,t.l&&nt(t.l))}function pa(t){t.o||(t.o=va(t.t))}function ya(t,e,r){var o=ba(e)?Re("MapSet").F(e,r):xa(e)?Re("MapSet").T(e,r):t.O?function(n,i){var s=Array.isArray(n),c={i:s?1:0,A:i?i.A:ha(),P:!1,I:!1,R:{},l:i,t:n,k:null,o:null,j:null,C:!1},l=c,u=Ir;s&&(l=[c],u=Pr);var p=Proxy.revocable(l,u),h=p.revoke,m=p.proxy;return c.k=m,c.j=h,m}(e,r):Re("ES5").J(e,r);return(r?r.A:ha()).p.push(o),o}function Xu(t){return He(t)||me(22,t),function e(r){if(!Se(r))return r;var o,n=r[j],i=jt(r);if(n){if(!n.P&&(n.i<4||!Re("ES5").K(n)))return n.t;n.I=!0,o=Rc(r,i),n.I=!1}else o=Rc(r,i);return At(o,function(s,c){n&&Zu(n.t,s)===c||Ic(o,s,e(c))}),i===3?new Set(o):o}(t)}function Rc(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return va(t)}function Tc(){function t(s,c){var l=i[s];return l?l.enumerable=c:i[s]=l={configurable:!0,enumerable:c,get:function(){var u=this[j];return Ir.get(u,s)},set:function(u){var p=this[j];Ir.set(p,s,u)}},l}function e(s){for(var c=s.length-1;c>=0;c--){var l=s[c][j];if(!l.P)switch(l.i){case 5:o(l)&&nt(l);break;case 4:r(l)&&nt(l)}}}function r(s){for(var c=s.t,l=s.k,u=Bt(l),p=u.length-1;p>=0;p--){var h=u[p];if(h!==j){var m=c[h];if(m===void 0&&!zt(c,h))return!0;var y=l[h],g=y&&y[j];if(g?g.t!==m:!Dc(y,m))return!0}}var v=!!c[j];return u.length!==Bt(c).length+(v?0:1)}function o(s){var c=s.k;if(c.length!==s.t.length)return!0;var l=Object.getOwnPropertyDescriptor(c,c.length-1);if(l&&!l.get)return!0;for(var u=0;u<c.length;u++)if(!c.hasOwnProperty(u))return!0;return!1}function n(s){s.g&&me(3,JSON.stringify(ot(s)))}var i={};qu("ES5",{J:function(s,c){var l=Array.isArray(s),u=function(h,m){if(h){for(var y=Array(m.length),g=0;g<m.length;g++)Object.defineProperty(y,""+g,t(g,!0));return y}var v=Wc(m);delete v[j];for(var C=Bt(v),E=0;E<C.length;E++){var N=C[E];v[N]=t(N,h||!!v[N].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(l,s),p={i:l?5:4,A:c?c.A:ha(),P:!1,I:!1,R:{},l:c,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,j,{value:p,writable:!0}),u},S:function(s,c,l){l?He(c)&&c[j].A===s&&e(s.p):(s.u&&function u(p){if(p&&typeof p=="object"){var h=p[j];if(h){var m=h.t,y=h.k,g=h.R,v=h.i;if(v===4)At(y,function(b){b!==j&&(m[b]!==void 0||zt(m,b)?g[b]||u(y[b]):(g[b]=!0,nt(h)))}),At(m,function(b){y[b]!==void 0||zt(y,b)||(g[b]=!1,nt(h))});else if(v===5){if(o(h)&&(nt(h),g.length=!0),y.length<m.length)for(var C=y.length;C<m.length;C++)g[C]=!1;else for(var E=m.length;E<y.length;E++)g[E]=!0;for(var N=Math.min(y.length,m.length),x=0;x<N;x++)y.hasOwnProperty(x)||(g[x]=!0),g[x]===void 0&&u(y[x])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):o(s)}})}var kc,Mr,Oa=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Qu=typeof Map<"u",ef=typeof Set<"u",Pc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Lc=Oa?Symbol.for("immer-nothing"):((kc={})["immer-nothing"]=!0,kc),Mc=Oa?Symbol.for("immer-draftable"):"__$immer_draftable",j=Oa?Symbol.for("immer-state"):"__$immer_state";var tf=""+Object.prototype.constructor,Bt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Wc=Object.getOwnPropertyDescriptors||function(t){var e={};return Bt(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},ga={},Ir={get:function(t,e){if(e===j)return t;var r=ot(t);if(!zt(r,e))return function(n,i,s){var c,l=Ac(i,s);return l?"value"in l?l.value:(c=l.get)===null||c===void 0?void 0:c.call(n.k):void 0}(t,r,e);var o=r[e];return t.I||!Se(o)?o:o===fa(t.t,e)?(pa(t),t.o[e]=ya(t.A.h,o,t)):o},has:function(t,e){return e in ot(t)},ownKeys:function(t){return Reflect.ownKeys(ot(t))},set:function(t,e,r){var o=Ac(ot(t),e);if(o?.set)return o.set.call(t.k,r),!0;if(!t.P){var n=fa(ot(t),e),i=n?.[j];if(i&&i.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Dc(r,n)&&(r!==void 0||zt(t.t,e)))return!0;pa(t),nt(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return fa(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,pa(t),nt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=ot(t),o=Reflect.getOwnPropertyDescriptor(r,e);return o&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:o.enumerable,value:r[e]}},defineProperty:function(){me(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){me(12)}},Pr={};At(Ir,function(t,e){Pr[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Pr.deleteProperty=function(t,e){return Pr.set.call(this,t,e,void 0)},Pr.set=function(t,e,r){return Ir.set.call(this,t[0],e,r,t[0])};var rf=function(){function t(r){var o=this;this.O=Pc,this.D=!0,this.produce=function(n,i,s){if(typeof n=="function"&&typeof i!="function"){var c=i;i=n;var l=o;return function(v){var C=this;v===void 0&&(v=c);for(var E=arguments.length,N=Array(E>1?E-1:0),x=1;x<E;x++)N[x-1]=arguments[x];return l.produce(v,function(b){var w;return(w=i).call.apply(w,[C,b].concat(N))})}}var u;if(typeof i!="function"&&me(6),s!==void 0&&typeof s!="function"&&me(7),Se(n)){var p=Ec(o),h=ya(o,n,void 0),m=!0;try{u=i(h),m=!1}finally{m?Eo(p):ma(p)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(v){return da(p,s),ua(v,p)},function(v){throw Eo(p),v}):(da(p,s),ua(u,p))}if(!n||typeof n!="object"){if((u=i(n))===void 0&&(u=n),u===Lc&&(u=void 0),o.D&&Sa(u,!0),s){var y=[],g=[];Re("Patches").M(n,u,y,g),s(y,g)}return u}me(21,n)},this.produceWithPatches=function(n,i){if(typeof n=="function")return function(u){for(var p=arguments.length,h=Array(p>1?p-1:0),m=1;m<p;m++)h[m-1]=arguments[m];return o.produceWithPatches(u,function(y){return n.apply(void 0,[y].concat(h))})};var s,c,l=o.produce(n,i,function(u,p){s=u,c=p});return typeof Promise<"u"&&l instanceof Promise?l.then(function(u){return[u,s,c]}):[l,s,c]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){Se(r)||me(8),He(r)&&(r=Xu(r));var o=Ec(this),n=ya(this,r,void 0);return n[j].C=!0,ma(o),n},e.finishDraft=function(r,o){var n=r&&r[j],i=n.A;return da(i,o),ua(void 0,i)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Pc&&me(20),this.O=r},e.applyPatches=function(r,o){var n;for(n=o.length-1;n>=0;n--){var i=o[n];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}n>-1&&(o=o.slice(n+1));var s=Re("Patches").$;return He(r)?s(r,o):this.produce(r,function(c){return s(c,o)})},t}(),fe=new rf,of=fe.produce,Yv=fe.produceWithPatches.bind(fe),zv=fe.setAutoFreeze.bind(fe),Bv=fe.setUseProxies.bind(fe),jv=fe.applyPatches.bind(fe),Vv=fe.createDraft.bind(fe),Gv=fe.finishDraft.bind(fe),Ro=of;function at(t){"@babel/helpers - typeof";return at=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},at(t)}function _a(t,e){if(at(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(at(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Ca(t){var e=_a(t,"string");return at(e)==="symbol"?e:String(e)}function Ea(t,e,r){return e=Ca(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function $c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,o)}return r}function ko(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?$c(Object(r),!0).forEach(function(o){Ea(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$c(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function ee(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var Uc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Na=function(){return Math.random().toString(36).substring(7).split("").join(".")},Po={INIT:"@@redux/INIT"+Na(),REPLACE:"@@redux/REPLACE"+Na(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Na()}};function nf(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Aa(t,e,r){var o;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(ee(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(ee(1));return r(Aa)(t,e)}if(typeof t!="function")throw new Error(ee(2));var n=t,i=e,s=[],c=s,l=!1;function u(){c===s&&(c=s.slice())}function p(){if(l)throw new Error(ee(3));return i}function h(v){if(typeof v!="function")throw new Error(ee(4));if(l)throw new Error(ee(5));var C=!0;return u(),c.push(v),function(){if(C){if(l)throw new Error(ee(6));C=!1,u();var N=c.indexOf(v);c.splice(N,1),s=null}}}function m(v){if(!nf(v))throw new Error(ee(7));if(typeof v.type>"u")throw new Error(ee(8));if(l)throw new Error(ee(9));try{l=!0,i=n(i,v)}finally{l=!1}for(var C=s=c,E=0;E<C.length;E++){var N=C[E];N()}return v}function y(v){if(typeof v!="function")throw new Error(ee(10));n=v,m({type:Po.REPLACE})}function g(){var v,C=h;return v={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(ee(11));function x(){N.next&&N.next(p())}x();var b=C(x);return{unsubscribe:b}}},v[Uc]=function(){return this},v}return m({type:Po.INIT}),o={dispatch:m,subscribe:h,getState:p,replaceReducer:y},o[Uc]=g,o}function af(t){Object.keys(t).forEach(function(e){var r=t[e],o=r(void 0,{type:Po.INIT});if(typeof o>"u")throw new Error(ee(12));if(typeof r(void 0,{type:Po.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ee(13))})}function Fc(t){for(var e=Object.keys(t),r={},o=0;o<e.length;o++){var n=e[o];typeof t[n]=="function"&&(r[n]=t[n])}var i=Object.keys(r),s,c;try{af(r)}catch(l){c=l}return function(u,p){if(u===void 0&&(u={}),c)throw c;if(0)var h;for(var m=!1,y={},g=0;g<i.length;g++){var v=i[g],C=r[v],E=u[v],N=C(E,p);if(typeof N>"u"){var x=p&&p.type;throw new Error(ee(14))}y[v]=N,m=m||N!==E}return m=m||i.length!==Object.keys(u).length,m?y:u}}function Vt(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(o){return o}:e.length===1?e[0]:e.reduce(function(o,n){return function(){return o(n.apply(void 0,arguments))}})}function Hc(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(o){return function(){var n=o.apply(void 0,arguments),i=function(){throw new Error(ee(15))},s={getState:n.getState,dispatch:function(){return i.apply(void 0,arguments)}},c=e.map(function(l){return l(s)});return i=Vt.apply(void 0,c)(n.dispatch),ko(ko({},n),{},{dispatch:i})}}}function Yc(t){var e=function(o){var n=o.dispatch,i=o.getState;return function(s){return function(c){return typeof c=="function"?c(n,i,t):s(c)}}};return e}var zc=Yc();zc.withExtraArgument=Yc;var Ra=zc;var Zc=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,n){o.__proto__=n}||function(o,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(o[i]=n[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function o(){this.constructor=e}e.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}(),sf=function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,n,i,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(u){return function(p){return l([u,p])}}function l(u){if(o)throw new TypeError("Generator is already executing.");for(;r;)try{if(o=1,n&&(i=u[0]&2?n.return:u[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,u[1])).done)return i;switch(n=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,n=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1],i=u;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(u);break}i[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(p){u=[6,p],n=0}finally{o=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Gt=function(t,e){for(var r=0,o=e.length,n=t.length;r<o;r++,n++)t[n]=e[r];return t},cf=Object.defineProperty,lf=Object.defineProperties,df=Object.getOwnPropertyDescriptors,Bc=Object.getOwnPropertySymbols,uf=Object.prototype.hasOwnProperty,ff=Object.prototype.propertyIsEnumerable,jc=function(t,e,r){return e in t?cf(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},it=function(t,e){for(var r in e||(e={}))uf.call(e,r)&&jc(t,r,e[r]);if(Bc)for(var o=0,n=Bc(e);o<n.length;o++){var r=n[o];ff.call(e,r)&&jc(t,r,e[r])}return t},ka=function(t,e){return lf(t,df(e))},pf=function(t,e,r){return new Promise(function(o,n){var i=function(l){try{c(r.next(l))}catch(u){n(u)}},s=function(l){try{c(r.throw(l))}catch(u){n(u)}},c=function(l){return l.done?o(l.value):Promise.resolve(l.value).then(i,s)};c((r=r.apply(t,e)).next())})};var hf=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Vt:Vt.apply(null,arguments)},uS=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function mf(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var yf=function(t){Zc(e,t);function e(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Gt([void 0],r[0].concat(this)))):new(e.bind.apply(e,Gt([void 0],r.concat(this))))},e}(Array),gf=function(t){Zc(e,t);function e(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Gt([void 0],r[0].concat(this)))):new(e.bind.apply(e,Gt([void 0],r.concat(this))))},e}(Array);function Ia(t){return Se(t)?Ro(t,function(){}):t}function bf(t){return typeof t=="boolean"}function xf(){return function(e){return vf(e)}}function vf(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,o=t.immutableCheck,n=o===void 0?!0:o,i=t.serializableCheck,s=i===void 0?!0:i,c=new yf;if(r&&(bf(r)?c.push(Ra):c.push(Ra.withExtraArgument(r.extraArgument))),0){if(n)var l;if(s)var u}return c}var Pa=!0;function Kc(t){var e=xf(),r=t||{},o=r.reducer,n=o===void 0?void 0:o,i=r.middleware,s=i===void 0?e():i,c=r.devTools,l=c===void 0?!0:c,u=r.preloadedState,p=u===void 0?void 0:u,h=r.enhancers,m=h===void 0?void 0:h,y;if(typeof n=="function")y=n;else if(mf(n))y=Fc(n);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var g=s;if(typeof g=="function"&&(g=g(e),!Pa&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Pa&&g.some(function(b){return typeof b!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=Hc.apply(void 0,g),C=Vt;l&&(C=hf(it({trace:!Pa},typeof l=="object"&&l)));var E=new gf(v),N=E;Array.isArray(m)?N=Gt([v],m):typeof m=="function"&&(N=m(E));var x=C.apply(void 0,N);return Aa(y,p,x)}function st(t,e){function r(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];if(e){var i=e.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return it(it({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:o[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(o){return o.type===t},r}function qc(t){var e={},r=[],o,n={addCase:function(i,s){var c=typeof i=="string"?i:i.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=s,n},addMatcher:function(i,s){return r.push({matcher:i,reducer:s}),n},addDefaultCase:function(i){return o=i,n}};return t(n),[e,r,o]}function Sf(t){return typeof t=="function"}function wf(t,e,r,o){r===void 0&&(r=[]);var n=typeof e=="function"?qc(e):[e,r,o],i=n[0],s=n[1],c=n[2],l;if(Sf(t))l=function(){return Ia(t())};else{var u=Ia(t);l=function(){return u}}function p(h,m){h===void 0&&(h=l());var y=Gt([i[m.type]],s.filter(function(g){var v=g.matcher;return v(m)}).map(function(g){var v=g.reducer;return v}));return y.filter(function(g){return!!g}).length===0&&(y=[c]),y.reduce(function(g,v){if(v)if(He(g)){var C=g,E=v(C,m);return E===void 0?g:E}else{if(Se(g))return Ro(g,function(N){return v(N,m)});var E=v(g,m);if(E===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return E}return g},h)}return p.getInitialState=l,p}function Of(t,e){return t+"/"+e}function Jc(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:Ia(t.initialState),o=t.reducers||{},n=Object.keys(o),i={},s={},c={};n.forEach(function(p){var h=o[p],m=Of(e,p),y,g;"reducer"in h?(y=h.reducer,g=h.prepare):y=h,i[p]=y,s[m]=y,c[p]=g?st(m,g):st(m)});function l(){var p=typeof t.extraReducers=="function"?qc(t.extraReducers):[t.extraReducers],h=p[0],m=h===void 0?{}:h,y=p[1],g=y===void 0?[]:y,v=p[2],C=v===void 0?void 0:v,E=it(it({},m),s);return wf(r,function(N){for(var x in E)N.addCase(x,E[x]);for(var b=0,w=g;b<w.length;b++){var P=w[b];N.addMatcher(P.matcher,P.reducer)}C&&N.addDefaultCase(C)})}var u;return{name:e,reducer:function(p,h){return u||(u=l()),u(p,h)},actions:c,caseReducers:i,getInitialState:function(){return u||(u=l()),u.getInitialState()}}}var _f="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Cf=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=_f[Math.random()*64|0];return e},Ef=["name","message","stack","code"],Ma=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Vc=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Nf=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,o=Ef;r<o.length;r++){var n=o[r];typeof t[n]=="string"&&(e[n]=t[n])}return e}return{message:String(t)}},mS=function(){function t(e,r,o){var n=st(e+"/fulfilled",function(p,h,m,y){return{payload:p,meta:ka(it({},y||{}),{arg:m,requestId:h,requestStatus:"fulfilled"})}}),i=st(e+"/pending",function(p,h,m){return{payload:void 0,meta:ka(it({},m||{}),{arg:h,requestId:p,requestStatus:"pending"})}}),s=st(e+"/rejected",function(p,h,m,y,g){return{payload:y,error:(o&&o.serializeError||Nf)(p||"Rejected"),meta:ka(it({},g||{}),{arg:m,requestId:h,rejectedWithValue:!!y,requestStatus:"rejected",aborted:p?.name==="AbortError",condition:p?.name==="ConditionError"})}}),c=!1,l=typeof AbortController<"u"?AbortController:function(){function p(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return p.prototype.abort=function(){},p}();function u(p){return function(h,m,y){var g=o?.idGenerator?o.idGenerator(p):Cf(),v=new l,C,E=!1;function N(b){C=b,v.abort()}var x=function(){return pf(this,null,function(){var b,w,P,F,ie,H,R;return sf(this,function(M){switch(M.label){case 0:return M.trys.push([0,4,,5]),F=(b=o?.condition)==null?void 0:b.call(o,p,{getState:m,extra:y}),Rf(F)?[4,F]:[3,2];case 1:F=M.sent(),M.label=2;case 2:if(F===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return E=!0,ie=new Promise(function(W,Q){return v.signal.addEventListener("abort",function(){return Q({name:"AbortError",message:C||"Aborted"})})}),h(i(g,p,(w=o?.getPendingMeta)==null?void 0:w.call(o,{requestId:g,arg:p},{getState:m,extra:y}))),[4,Promise.race([ie,Promise.resolve(r(p,{dispatch:h,getState:m,extra:y,requestId:g,signal:v.signal,abort:N,rejectWithValue:function(W,Q){return new Ma(W,Q)},fulfillWithValue:function(W,Q){return new Vc(W,Q)}})).then(function(W){if(W instanceof Ma)throw W;return W instanceof Vc?n(W.payload,g,p,W.meta):n(W,g,p)})])];case 3:return P=M.sent(),[3,5];case 4:return H=M.sent(),P=H instanceof Ma?s(null,g,p,H.payload,H.meta):s(H,g,p),[3,5];case 5:return R=o&&!o.dispatchConditionRejection&&s.match(P)&&P.meta.condition,R||h(P),[2,P]}})})}();return Object.assign(x,{abort:N,requestId:g,arg:p,unwrap:function(){return x.then(Af)}})}}return Object.assign(u,{pending:i,rejected:s,fulfilled:n,typePrefix:e})}return t.withTypes=function(){return t},t}();function Af(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Rf(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Xc="listener",Qc="completed",el="cancelled",yS="task-"+el,gS="task-"+Qc,bS=Xc+"-"+el,xS=Xc+"-"+Qc;var Da="listenerMiddleware";var vS=st(Da+"/add"),SS=st(Da+"/removeAll"),wS=st(Da+"/remove");var Gc,OS=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Gc||(Gc=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},kf=function(t){return function(e){setTimeout(e,t)}},_S=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:kf(10);Tc();window.ftReduxStores||(window.ftReduxStores={});var Ta=class t{static get(e){var r;let o=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,i=window.ftReduxStores[o];if(Et(i))return i;if(n==null)return;let s=Jc({...n,reducers:(r=n.reducers)!==null&&r!==void 0?r:{}}),c=Kc({reducer:(l,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...l,...u.overwrites}:s.reducer(l,u)});return window.ftReduxStores[n.name]=new t(s,c)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new kr,this.actions=new Proxy(this.reduxSlice.actions,{get:(o,n,i)=>{let s=n,c=o[s];return c?(...l)=>{let u=c(...l);return this.reduxStore.dispatch(u),u}:l=>{this.setState({[s]:l})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function Pf(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Et(e)&&e.clear()}var Ua={};$(Ua,{scrollHelper:()=>Mf});var Wa,Mo=new Map,$a=class{lock(e,r){if(r){let o=Mo.get(r);if(o==null||o===e)return Mo.set(r,e),r}}release(e,r){r&&Mo.get(r)===e&&Mo.delete(r)}findFirstScrollableParent(e){let r,o=n=>{var i;n.stopPropagation();let s,c;for(let l of n.composedPath()){let u=l,p=this.elementCanScroll(u);if(p&&u.clientHeight&&u.clientHeight<u.scrollHeight){s=u;break}else p&&c==null&&(c=u)}r=(i=s??c)!==null&&i!==void 0?i:document.body};return e.addEventListener("find-scrollable-parent",o),e.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),e.removeEventListener("find-scrollable-parent",o),r}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,r){let o=0;for(;r&&r.offsetParent!==e.offsetParent;)o+=r.offsetTop,r=r.offsetParent;return o+r.offsetTop-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let o=this.findFirstScrollableParent(e);if(e&&this.lock(this,o)){let n=this.getAbsoluteScrollOffset(o,e),i=n-o.clientHeight+e.clientHeight,s=n,c=In(0,(s-o.scrollTop)/(s-i),1),l=this.computeTopOffsetRatio(r?.position,c)*(i-s)+s;o.scrollTo({behavior:r?.behavior,top:l})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,o);this.release(this,o)}};window.FluidTopicsScrollHelper=(Wa=window.FluidTopicsScrollHelper)!==null&&Wa!==void 0?Wa:new $a;var Mf=window.FluidTopicsScrollHelper;var Fa={};$(Fa,{shadowQuerySelector:()=>If,shadowQuerySelectorAll:()=>Df});function If(t,e,...r){var o;let n=t.querySelector(e);for(let i of r)n=(o=n?.shadowRoot)===null||o===void 0?void 0:o.querySelector(i);return n}function Df(t,e,...r){let o=[...t.querySelectorAll(e)];for(let n of r)o=o.flatMap(i=>{var s,c;return[...(c=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(n))!==null&&c!==void 0?c:[]]});return o}var Ha={};$(Ha,{serializeRequest:()=>Lf});function Tf(t){return`"${t}"`}function Lf(t,e){var r,o,n,i;let s=new URLSearchParams({"content-lang":(r=e.contentLocale)!==null&&r!==void 0?r:"all"});if(((o=e.query)===null||o===void 0?void 0:o.length)>0&&s.append("query",e.query),e.scope&&e.scope!=="DEFAULT"&&s.append("scope",e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&s.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let l=e.periodFilter.period,u=l?`_${l.from}_${l.to}`:"";s.append("period",e.periodFilter.periodType.toLowerCase()+u)}if(((n=e.sort)===null||n===void 0?void 0:n.length)>0&&e.sort[0].key==="ft:lastEdition"&&s.append("sort","last_update"),((i=e.filters)===null||i===void 0?void 0:i.length)>0){let l=e.filters.map(u=>{let p=u.values.map(h=>h.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(h=>encodeURIComponent(Tf(h))).join("_");return`${u.key}~${p}`}).join("*");s.append("filters",l)}return new URL(`${t.replace(/\/+$/,"")}/search?${s.toString()}`).href}var Ya={};$(Ya,{toFtFormComponent:()=>Wf});var Io=Symbol("elementInternals");function Wf(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[Io].form}constructor(...n){super(n),this[Io]=this.attachInternals(),this[Io].role=e}setFormValue(n){this[Io].setFormValue(n)}}return r}var Ba={};$(Ba,{DateFormatter:()=>za});var za=class{static format(e,r,o,n){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(o,n)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}};var ja,Va,Ga,Za,$f=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Ga=(Va=(ja=window.safari)===null||ja===void 0?void 0:ja.pushNotification)===null||Va===void 0?void 0:Va.toString())!==null&&Ga!==void 0?Ga:"")==="[object SafariRemoteNotification]",Uf="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Za=window.ftGlobals)!==null&&Za!==void 0?Za:{lit:bn,litDecorators:Sn,litRepeat:wn,litClassMap:On,litStyleMap:_n,litUnsafeHTML:Cn,wcUtils:{...Rn,...Nn,...Pn,...Ba,...Mn,...Tn,...Un,...zn,...ea,...$n,...na,...ra,...vc,...Dn,...ia,...sa,...wc,...la,...La,...ta,...Ua,...Fa,...Ha,...Ya,isSafari:$f,isTouchScreen:Uf,setVariable:yo}};var il;function O(){return il.apply(null,arguments)}function Ff(t){il=t}function Oe(t){return t instanceof Array||Object.prototype.toString.call(t)==="[object Array]"}function Pt(t){return t!=null&&Object.prototype.toString.call(t)==="[object Object]"}function T(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function ii(t){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(t).length===0;var e;for(e in t)if(T(t,e))return!1;return!0}function ce(t){return t===void 0}function Ge(t){return typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]"}function Hr(t){return t instanceof Date||Object.prototype.toString.call(t)==="[object Date]"}function sl(t,e){var r=[],o,n=t.length;for(o=0;o<n;++o)r.push(e(t[o],o));return r}function ct(t,e){for(var r in e)T(e,r)&&(t[r]=e[r]);return T(e,"toString")&&(t.toString=e.toString),T(e,"valueOf")&&(t.valueOf=e.valueOf),t}function Me(t,e,r,o){return Pl(t,e,r,o,!0).utc()}function Hf(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function k(t){return t._pf==null&&(t._pf=Hf()),t._pf}var Qa;Array.prototype.some?Qa=Array.prototype.some:Qa=function(t){var e=Object(this),r=e.length>>>0,o;for(o=0;o<r;o++)if(o in e&&t.call(this,e[o],o,e))return!0;return!1};function si(t){if(t._isValid==null){var e=k(t),r=Qa.call(e.parsedDateParts,function(n){return n!=null}),o=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&r);if(t._strict&&(o=o&&e.charsLeftOver===0&&e.unusedTokens.length===0&&e.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(t))t._isValid=o;else return o}return t._isValid}function jo(t){var e=Me(NaN);return t!=null?ct(k(e),t):k(e).userInvalidated=!0,e}var tl=O.momentProperties=[],Ka=!1;function ci(t,e){var r,o,n,i=tl.length;if(ce(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),ce(e._i)||(t._i=e._i),ce(e._f)||(t._f=e._f),ce(e._l)||(t._l=e._l),ce(e._strict)||(t._strict=e._strict),ce(e._tzm)||(t._tzm=e._tzm),ce(e._isUTC)||(t._isUTC=e._isUTC),ce(e._offset)||(t._offset=e._offset),ce(e._pf)||(t._pf=k(e)),ce(e._locale)||(t._locale=e._locale),i>0)for(r=0;r<i;r++)o=tl[r],n=e[o],ce(n)||(t[o]=n);return t}function Yr(t){ci(this,t),this._d=new Date(t._d!=null?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Ka===!1&&(Ka=!0,O.updateOffset(this),Ka=!1)}function _e(t){return t instanceof Yr||t!=null&&t._isAMomentObject!=null}function cl(t){O.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+t)}function ge(t,e){var r=!0;return ct(function(){if(O.deprecationHandler!=null&&O.deprecationHandler(null,t),r){var o=[],n,i,s,c=arguments.length;for(i=0;i<c;i++){if(n="",typeof arguments[i]=="object"){n+=`
50
50
  [`+i+"] ";for(s in arguments[0])T(arguments[0],s)&&(n+=s+": "+arguments[0][s]+", ");n=n.slice(0,-2)}else n=arguments[i];o.push(n)}cl(t+`
51
51
  Arguments: `+Array.prototype.slice.call(o).join("")+`
52
52
  `+new Error().stack),r=!1}return e.apply(this,arguments)},e)}var rl={};function ll(t,e){O.deprecationHandler!=null&&O.deprecationHandler(t,e),rl[t]||(cl(e),rl[t]=!0)}O.suppressDeprecationWarnings=!1;O.deprecationHandler=null;function Ie(t){return typeof Function<"u"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function Yf(t){var e,r;for(r in t)T(t,r)&&(e=t[r],Ie(e)?this[r]=e:this["_"+r]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function ei(t,e){var r=ct({},t),o;for(o in e)T(e,o)&&(Pt(t[o])&&Pt(e[o])?(r[o]={},ct(r[o],t[o]),ct(r[o],e[o])):e[o]!=null?r[o]=e[o]:delete r[o]);for(o in t)T(t,o)&&!T(e,o)&&Pt(t[o])&&(r[o]=ct({},r[o]));return r}function li(t){t!=null&&this.set(t)}var ti;Object.keys?ti=Object.keys:ti=function(t){var e,r=[];for(e in t)T(t,e)&&r.push(e);return r};var zf={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Bf(t,e,r){var o=this._calendar[t]||this._calendar.sameElse;return Ie(o)?o.call(e,r):o}function Pe(t,e,r){var o=""+Math.abs(t),n=e-o.length,i=t>=0;return(i?r?"+":"":"-")+Math.pow(10,Math.max(0,n)).toString().substr(1)+o}var di=/(\[[^\[]*\])|(\\)?([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,Do=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,qa={},Jt={};function A(t,e,r,o){var n=o;typeof o=="string"&&(n=function(){return this[o]()}),t&&(Jt[t]=n),e&&(Jt[e[0]]=function(){return Pe(n.apply(this,arguments),e[1],e[2])}),r&&(Jt[r]=function(){return this.localeData().ordinal(n.apply(this,arguments),t)})}function jf(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function Vf(t){var e=t.match(di),r,o;for(r=0,o=e.length;r<o;r++)Jt[e[r]]?e[r]=Jt[e[r]]:e[r]=jf(e[r]);return function(n){var i="",s;for(s=0;s<o;s++)i+=Ie(e[s])?e[s].call(n,t):e[s];return i}}function Lo(t,e){return t.isValid()?(e=dl(e,t.localeData()),qa[e]=qa[e]||Vf(e),qa[e](t)):t.localeData().invalidDate()}function dl(t,e){var r=5;function o(n){return e.longDateFormat(n)||n}for(Do.lastIndex=0;r>=0&&Do.test(t);)t=t.replace(Do,o),Do.lastIndex=0,r-=1;return t}var Gf={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Zf(t){var e=this._longDateFormat[t],r=this._longDateFormat[t.toUpperCase()];return e||!r?e:(this._longDateFormat[t]=r.match(di).map(function(o){return o==="MMMM"||o==="MM"||o==="DD"||o==="dddd"?o.slice(1):o}).join(""),this._longDateFormat[t])}var Kf="Invalid date";function qf(){return this._invalidDate}var Jf="%d",Xf=/\d{1,2}/;function Qf(t){return this._ordinal.replace("%d",t)}var ep={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function tp(t,e,r,o){var n=this._relativeTime[r];return Ie(n)?n(t,e,r,o):n.replace(/%d/i,t)}function rp(t,e){var r=this._relativeTime[t>0?"future":"past"];return Ie(r)?r(e):r.replace(/%s/i,e)}var Lr={};function re(t,e){var r=t.toLowerCase();Lr[r]=Lr[r+"s"]=Lr[e]=t}function be(t){return typeof t=="string"?Lr[t]||Lr[t.toLowerCase()]:void 0}function ui(t){var e={},r,o;for(o in t)T(t,o)&&(r=be(o),r&&(e[r]=t[o]));return e}var ul={};function oe(t,e){ul[t]=e}function op(t){var e=[],r;for(r in t)T(t,r)&&e.push({unit:r,priority:ul[r]});return e.sort(function(o,n){return o.priority-n.priority}),e}function Vo(t){return t%4===0&&t%100!==0||t%400===0}function ye(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function I(t){var e=+t,r=0;return e!==0&&isFinite(e)&&(r=ye(e)),r}function er(t,e){return function(r){return r!=null?(fl(this,t,r),O.updateOffset(this,e),this):Uo(this,t)}}function Uo(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function fl(t,e,r){t.isValid()&&!isNaN(r)&&(e==="FullYear"&&Vo(t.year())&&t.month()===1&&t.date()===29?(r=I(r),t._d["set"+(t._isUTC?"UTC":"")+e](r,t.month(),Xo(r,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](r))}function np(t){return t=be(t),Ie(this[t])?this[t]():this}function ap(t,e){if(typeof t=="object"){t=ui(t);var r=op(t),o,n=r.length;for(o=0;o<n;o++)this[r[o].unit](t[r[o].unit])}else if(t=be(t),Ie(this[t]))return this[t](e);return this}var pl=/\d/,he=/\d\d/,hl=/\d{3}/,fi=/\d{4}/,Go=/[+-]?\d{6}/,B=/\d\d?/,ml=/\d\d\d\d?/,yl=/\d\d\d\d\d\d?/,Zo=/\d{1,3}/,pi=/\d{1,4}/,Ko=/[+-]?\d{1,6}/,tr=/\d+/,qo=/[+-]?\d+/,ip=/Z|[+-]\d\d:?\d\d/gi,Jo=/Z|[+-]\d\d(?::?\d\d)?/gi,sp=/[+-]?\d+(\.\d{1,3})?/,zr=/[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,Fo;Fo={};function _(t,e,r){Fo[t]=Ie(e)?e:function(o,n){return o&&r?r:e}}function cp(t,e){return T(Fo,t)?Fo[t](e._strict,e._locale):new RegExp(lp(t))}function lp(t){return pe(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,r,o,n,i){return r||o||n||i}))}function pe(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var ri={};function U(t,e){var r,o=e,n;for(typeof t=="string"&&(t=[t]),Ge(e)&&(o=function(i,s){s[e]=I(i)}),n=t.length,r=0;r<n;r++)ri[t[r]]=o}function Br(t,e){U(t,function(r,o,n,i){n._w=n._w||{},e(r,n._w,n,i)})}function dp(t,e,r){e!=null&&T(ri,t)&&ri[t](e,r._a,r,t)}var te=0,Be=1,ke=2,q=3,we=4,je=5,kt=6,up=7,fp=8;function pp(t,e){return(t%e+e)%e}var Z;Array.prototype.indexOf?Z=Array.prototype.indexOf:Z=function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};function Xo(t,e){if(isNaN(t)||isNaN(e))return NaN;var r=pp(e,12);return t+=(e-r)/12,r===1?Vo(t)?29:28:31-r%7%2}A("M",["MM",2],"Mo",function(){return this.month()+1});A("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)});A("MMMM",0,0,function(t){return this.localeData().months(this,t)});re("month","M");oe("month",8);_("M",B);_("MM",B,he);_("MMM",function(t,e){return e.monthsShortRegex(t)});_("MMMM",function(t,e){return e.monthsRegex(t)});U(["M","MM"],function(t,e){e[Be]=I(t)-1});U(["MMM","MMMM"],function(t,e,r,o){var n=r._locale.monthsParse(t,o,r._strict);n!=null?e[Be]=n:k(r).invalidMonth=t});var hp="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),gl="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),bl=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,mp=zr,yp=zr;function gp(t,e){return t?Oe(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||bl).test(e)?"format":"standalone"][t.month()]:Oe(this._months)?this._months:this._months.standalone}function bp(t,e){return t?Oe(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[bl.test(e)?"format":"standalone"][t.month()]:Oe(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function xp(t,e,r){var o,n,i,s=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],o=0;o<12;++o)i=Me([2e3,o]),this._shortMonthsParse[o]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[o]=this.months(i,"").toLocaleLowerCase();return r?e==="MMM"?(n=Z.call(this._shortMonthsParse,s),n!==-1?n:null):(n=Z.call(this._longMonthsParse,s),n!==-1?n:null):e==="MMM"?(n=Z.call(this._shortMonthsParse,s),n!==-1?n:(n=Z.call(this._longMonthsParse,s),n!==-1?n:null)):(n=Z.call(this._longMonthsParse,s),n!==-1?n:(n=Z.call(this._shortMonthsParse,s),n!==-1?n:null))}function vp(t,e,r){var o,n,i;if(this._monthsParseExact)return xp.call(this,t,e,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),o=0;o<12;o++){if(n=Me([2e3,o]),r&&!this._longMonthsParse[o]&&(this._longMonthsParse[o]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[o]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),!r&&!this._monthsParse[o]&&(i="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[o]=new RegExp(i.replace(".",""),"i")),r&&e==="MMMM"&&this._longMonthsParse[o].test(t))return o;if(r&&e==="MMM"&&this._shortMonthsParse[o].test(t))return o;if(!r&&this._monthsParse[o].test(t))return o}}function xl(t,e){var r;if(!t.isValid())return t;if(typeof e=="string"){if(/^\d+$/.test(e))e=I(e);else if(e=t.localeData().monthsParse(e),!Ge(e))return t}return r=Math.min(t.date(),Xo(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,r),t}function vl(t){return t!=null?(xl(this,t),O.updateOffset(this,!0),this):Uo(this,"Month")}function Sp(){return Xo(this.year(),this.month())}function wp(t){return this._monthsParseExact?(T(this,"_monthsRegex")||Sl.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(T(this,"_monthsShortRegex")||(this._monthsShortRegex=mp),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function Op(t){return this._monthsParseExact?(T(this,"_monthsRegex")||Sl.call(this),t?this._monthsStrictRegex:this._monthsRegex):(T(this,"_monthsRegex")||(this._monthsRegex=yp),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function Sl(){function t(s,c){return c.length-s.length}var e=[],r=[],o=[],n,i;for(n=0;n<12;n++)i=Me([2e3,n]),e.push(this.monthsShort(i,"")),r.push(this.months(i,"")),o.push(this.months(i,"")),o.push(this.monthsShort(i,""));for(e.sort(t),r.sort(t),o.sort(t),n=0;n<12;n++)e[n]=pe(e[n]),r[n]=pe(r[n]);for(n=0;n<24;n++)o[n]=pe(o[n]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+e.join("|")+")","i")}A("Y",0,0,function(){var t=this.year();return t<=9999?Pe(t,4):"+"+t});A(0,["YY",2],0,function(){return this.year()%100});A(0,["YYYY",4],0,"year");A(0,["YYYYY",5],0,"year");A(0,["YYYYYY",6,!0],0,"year");re("year","y");oe("year",1);_("Y",qo);_("YY",B,he);_("YYYY",pi,fi);_("YYYYY",Ko,Go);_("YYYYYY",Ko,Go);U(["YYYYY","YYYYYY"],te);U("YYYY",function(t,e){e[te]=t.length===2?O.parseTwoDigitYear(t):I(t)});U("YY",function(t,e){e[te]=O.parseTwoDigitYear(t)});U("Y",function(t,e){e[te]=parseInt(t,10)});function Wr(t){return Vo(t)?366:365}O.parseTwoDigitYear=function(t){return I(t)+(I(t)>68?1900:2e3)};var wl=er("FullYear",!0);function _p(){return Vo(this.year())}function Cp(t,e,r,o,n,i,s){var c;return t<100&&t>=0?(c=new Date(t+400,e,r,o,n,i,s),isFinite(c.getFullYear())&&c.setFullYear(t)):c=new Date(t,e,r,o,n,i,s),c}function $r(t){var e,r;return t<100&&t>=0?(r=Array.prototype.slice.call(arguments),r[0]=t+400,e=new Date(Date.UTC.apply(null,r)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Ho(t,e,r){var o=7+e-r,n=(7+$r(t,0,o).getUTCDay()-e)%7;return-n+o-1}function Ol(t,e,r,o,n){var i=(7+r-o)%7,s=Ho(t,o,n),c=1+7*(e-1)+i+s,l,u;return c<=0?(l=t-1,u=Wr(l)+c):c>Wr(t)?(l=t+1,u=c-Wr(t)):(l=t,u=c),{year:l,dayOfYear:u}}function Ur(t,e,r){var o=Ho(t.year(),e,r),n=Math.floor((t.dayOfYear()-o-1)/7)+1,i,s;return n<1?(s=t.year()-1,i=n+Ve(s,e,r)):n>Ve(t.year(),e,r)?(i=n-Ve(t.year(),e,r),s=t.year()+1):(s=t.year(),i=n),{week:i,year:s}}function Ve(t,e,r){var o=Ho(t,e,r),n=Ho(t+1,e,r);return(Wr(t)-o+n)/7}A("w",["ww",2],"wo","week");A("W",["WW",2],"Wo","isoWeek");re("week","w");re("isoWeek","W");oe("week",5);oe("isoWeek",5);_("w",B);_("ww",B,he);_("W",B);_("WW",B,he);Br(["w","ww","W","WW"],function(t,e,r,o){e[o.substr(0,1)]=I(t)});function Ep(t){return Ur(t,this._week.dow,this._week.doy).week}var Np={dow:0,doy:6};function Ap(){return this._week.dow}function Rp(){return this._week.doy}function kp(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function Pp(t){var e=Ur(this,1,4).week;return t==null?e:this.add((t-e)*7,"d")}A("d",0,"do","day");A("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)});A("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)});A("dddd",0,0,function(t){return this.localeData().weekdays(this,t)});A("e",0,0,"weekday");A("E",0,0,"isoWeekday");re("day","d");re("weekday","e");re("isoWeekday","E");oe("day",11);oe("weekday",11);oe("isoWeekday",11);_("d",B);_("e",B);_("E",B);_("dd",function(t,e){return e.weekdaysMinRegex(t)});_("ddd",function(t,e){return e.weekdaysShortRegex(t)});_("dddd",function(t,e){return e.weekdaysRegex(t)});Br(["dd","ddd","dddd"],function(t,e,r,o){var n=r._locale.weekdaysParse(t,o,r._strict);n!=null?e.d=n:k(r).invalidWeekday=t});Br(["d","e","E"],function(t,e,r,o){e[o]=I(t)});function Mp(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function Ip(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function hi(t,e){return t.slice(e,7).concat(t.slice(0,e))}var Dp="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),_l="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Tp="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Lp=zr,Wp=zr,$p=zr;function Up(t,e){var r=Oe(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?hi(r,this._week.dow):t?r[t.day()]:r}function Fp(t){return t===!0?hi(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function Hp(t){return t===!0?hi(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Yp(t,e,r){var o,n,i,s=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],o=0;o<7;++o)i=Me([2e3,1]).day(o),this._minWeekdaysParse[o]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[o]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[o]=this.weekdays(i,"").toLocaleLowerCase();return r?e==="dddd"?(n=Z.call(this._weekdaysParse,s),n!==-1?n:null):e==="ddd"?(n=Z.call(this._shortWeekdaysParse,s),n!==-1?n:null):(n=Z.call(this._minWeekdaysParse,s),n!==-1?n:null):e==="dddd"?(n=Z.call(this._weekdaysParse,s),n!==-1||(n=Z.call(this._shortWeekdaysParse,s),n!==-1)?n:(n=Z.call(this._minWeekdaysParse,s),n!==-1?n:null)):e==="ddd"?(n=Z.call(this._shortWeekdaysParse,s),n!==-1||(n=Z.call(this._weekdaysParse,s),n!==-1)?n:(n=Z.call(this._minWeekdaysParse,s),n!==-1?n:null)):(n=Z.call(this._minWeekdaysParse,s),n!==-1||(n=Z.call(this._weekdaysParse,s),n!==-1)?n:(n=Z.call(this._shortWeekdaysParse,s),n!==-1?n:null))}function zp(t,e,r){var o,n,i;if(this._weekdaysParseExact)return Yp.call(this,t,e,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),o=0;o<7;o++){if(n=Me([2e3,1]).day(o),r&&!this._fullWeekdaysParse[o]&&(this._fullWeekdaysParse[o]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[o]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[o]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[o]||(i="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[o]=new RegExp(i.replace(".",""),"i")),r&&e==="dddd"&&this._fullWeekdaysParse[o].test(t))return o;if(r&&e==="ddd"&&this._shortWeekdaysParse[o].test(t))return o;if(r&&e==="dd"&&this._minWeekdaysParse[o].test(t))return o;if(!r&&this._weekdaysParse[o].test(t))return o}}function Bp(t){if(!this.isValid())return t!=null?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return t!=null?(t=Mp(t,this.localeData()),this.add(t-e,"d")):e}function jp(t){if(!this.isValid())return t!=null?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return t==null?e:this.add(t-e,"d")}function Vp(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=Ip(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function Gp(t){return this._weekdaysParseExact?(T(this,"_weekdaysRegex")||mi.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(T(this,"_weekdaysRegex")||(this._weekdaysRegex=Lp),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Zp(t){return this._weekdaysParseExact?(T(this,"_weekdaysRegex")||mi.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(T(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Wp),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Kp(t){return this._weekdaysParseExact?(T(this,"_weekdaysRegex")||mi.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(T(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=$p),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function mi(){function t(p,h){return h.length-p.length}var e=[],r=[],o=[],n=[],i,s,c,l,u;for(i=0;i<7;i++)s=Me([2e3,1]).day(i),c=pe(this.weekdaysMin(s,"")),l=pe(this.weekdaysShort(s,"")),u=pe(this.weekdays(s,"")),e.push(c),r.push(l),o.push(u),n.push(c),n.push(l),n.push(u);e.sort(t),r.sort(t),o.sort(t),n.sort(t),this._weekdaysRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+e.join("|")+")","i")}function yi(){return this.hours()%12||12}function qp(){return this.hours()||24}A("H",["HH",2],0,"hour");A("h",["hh",2],0,yi);A("k",["kk",2],0,qp);A("hmm",0,0,function(){return""+yi.apply(this)+Pe(this.minutes(),2)});A("hmmss",0,0,function(){return""+yi.apply(this)+Pe(this.minutes(),2)+Pe(this.seconds(),2)});A("Hmm",0,0,function(){return""+this.hours()+Pe(this.minutes(),2)});A("Hmmss",0,0,function(){return""+this.hours()+Pe(this.minutes(),2)+Pe(this.seconds(),2)});function Cl(t,e){A(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}Cl("a",!0);Cl("A",!1);re("hour","h");oe("hour",13);function El(t,e){return e._meridiemParse}_("a",El);_("A",El);_("H",B);_("h",B);_("k",B);_("HH",B,he);_("hh",B,he);_("kk",B,he);_("hmm",ml);_("hmmss",yl);_("Hmm",ml);_("Hmmss",yl);U(["H","HH"],q);U(["k","kk"],function(t,e,r){var o=I(t);e[q]=o===24?0:o});U(["a","A"],function(t,e,r){r._isPm=r._locale.isPM(t),r._meridiem=t});U(["h","hh"],function(t,e,r){e[q]=I(t),k(r).bigHour=!0});U("hmm",function(t,e,r){var o=t.length-2;e[q]=I(t.substr(0,o)),e[we]=I(t.substr(o)),k(r).bigHour=!0});U("hmmss",function(t,e,r){var o=t.length-4,n=t.length-2;e[q]=I(t.substr(0,o)),e[we]=I(t.substr(o,2)),e[je]=I(t.substr(n)),k(r).bigHour=!0});U("Hmm",function(t,e,r){var o=t.length-2;e[q]=I(t.substr(0,o)),e[we]=I(t.substr(o))});U("Hmmss",function(t,e,r){var o=t.length-4,n=t.length-2;e[q]=I(t.substr(0,o)),e[we]=I(t.substr(o,2)),e[je]=I(t.substr(n))});function Jp(t){return(t+"").toLowerCase().charAt(0)==="p"}var Xp=/[ap]\.?m?\.?/i,Qp=er("Hours",!0);function eh(t,e,r){return t>11?r?"pm":"PM":r?"am":"AM"}var Nl={calendar:zf,longDateFormat:Gf,invalidDate:Kf,ordinal:Jf,dayOfMonthOrdinalParse:Xf,relativeTime:ep,months:hp,monthsShort:gl,week:Np,weekdays:Dp,weekdaysMin:Tp,weekdaysShort:_l,meridiemParse:Xp},V={},Dr={},Fr;function th(t,e){var r,o=Math.min(t.length,e.length);for(r=0;r<o;r+=1)if(t[r]!==e[r])return r;return o}function ol(t){return t&&t.toLowerCase().replace("_","-")}function rh(t){for(var e=0,r,o,n,i;e<t.length;){for(i=ol(t[e]).split("-"),r=i.length,o=ol(t[e+1]),o=o?o.split("-"):null;r>0;){if(n=Qo(i.slice(0,r).join("-")),n)return n;if(o&&o.length>=r&&th(i,o)>=r-1)break;r--}e++}return Fr}function oh(t){return t.match("^[^/\\\\]*$")!=null}function Qo(t){var e=null,r;if(V[t]===void 0&&typeof module<"u"&&module&&module.exports&&oh(t))try{e=Fr._abbr,r=Ni,r("./locale/"+t),dt(e)}catch{V[t]=null}return V[t]}function dt(t,e){var r;return t&&(ce(e)?r=Ze(t):r=gi(t,e),r?Fr=r:typeof console<"u"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Fr._abbr}function gi(t,e){if(e!==null){var r,o=Nl;if(e.abbr=t,V[t]!=null)ll("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."),o=V[t]._config;else if(e.parentLocale!=null)if(V[e.parentLocale]!=null)o=V[e.parentLocale]._config;else if(r=Qo(e.parentLocale),r!=null)o=r._config;else return Dr[e.parentLocale]||(Dr[e.parentLocale]=[]),Dr[e.parentLocale].push({name:t,config:e}),null;return V[t]=new li(ei(o,e)),Dr[t]&&Dr[t].forEach(function(n){gi(n.name,n.config)}),dt(t),V[t]}else return delete V[t],null}function nh(t,e){if(e!=null){var r,o,n=Nl;V[t]!=null&&V[t].parentLocale!=null?V[t].set(ei(V[t]._config,e)):(o=Qo(t),o!=null&&(n=o._config),e=ei(n,e),o==null&&(e.abbr=t),r=new li(e),r.parentLocale=V[t],V[t]=r),dt(t)}else V[t]!=null&&(V[t].parentLocale!=null?(V[t]=V[t].parentLocale,t===dt()&&dt(t)):V[t]!=null&&delete V[t]);return V[t]}function Ze(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Fr;if(!Oe(t)){if(e=Qo(t),e)return e;t=[t]}return rh(t)}function ah(){return ti(V)}function bi(t){var e,r=t._a;return r&&k(t).overflow===-2&&(e=r[Be]<0||r[Be]>11?Be:r[ke]<1||r[ke]>Xo(r[te],r[Be])?ke:r[q]<0||r[q]>24||r[q]===24&&(r[we]!==0||r[je]!==0||r[kt]!==0)?q:r[we]<0||r[we]>59?we:r[je]<0||r[je]>59?je:r[kt]<0||r[kt]>999?kt:-1,k(t)._overflowDayOfYear&&(e<te||e>ke)&&(e=ke),k(t)._overflowWeeks&&e===-1&&(e=up),k(t)._overflowWeekday&&e===-1&&(e=fp),k(t).overflow=e),t}var ih=/^\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)?)?$/,sh=/^\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)?)?$/,ch=/Z|[+-]\d\d(?::?\d\d)?/,To=[["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]],Ja=[["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/]],lh=/^\/?Date\((-?\d+)/i,dh=/^(?:(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}))$/,uh={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Al(t){var e,r,o=t._i,n=ih.exec(o)||sh.exec(o),i,s,c,l,u=To.length,p=Ja.length;if(n){for(k(t).iso=!0,e=0,r=u;e<r;e++)if(To[e][1].exec(n[1])){s=To[e][0],i=To[e][2]!==!1;break}if(s==null){t._isValid=!1;return}if(n[3]){for(e=0,r=p;e<r;e++)if(Ja[e][1].exec(n[3])){c=(n[2]||" ")+Ja[e][0];break}if(c==null){t._isValid=!1;return}}if(!i&&c!=null){t._isValid=!1;return}if(n[4])if(ch.exec(n[4]))l="Z";else{t._isValid=!1;return}t._f=s+(c||"")+(l||""),vi(t)}else t._isValid=!1}function fh(t,e,r,o,n,i){var s=[ph(t),gl.indexOf(e),parseInt(r,10),parseInt(o,10),parseInt(n,10)];return i&&s.push(parseInt(i,10)),s}function ph(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function hh(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function mh(t,e,r){if(t){var o=_l.indexOf(t),n=new Date(e[0],e[1],e[2]).getDay();if(o!==n)return k(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function yh(t,e,r){if(t)return uh[t];if(e)return 0;var o=parseInt(r,10),n=o%100,i=(o-n)/100;return i*60+n}function Rl(t){var e=dh.exec(hh(t._i)),r;if(e){if(r=fh(e[4],e[3],e[2],e[5],e[6],e[7]),!mh(e[1],r,t))return;t._a=r,t._tzm=yh(e[8],e[9],e[10]),t._d=$r.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),k(t).rfc2822=!0}else t._isValid=!1}function gh(t){var e=lh.exec(t._i);if(e!==null){t._d=new Date(+e[1]);return}if(Al(t),t._isValid===!1)delete t._isValid;else return;if(Rl(t),t._isValid===!1)delete t._isValid;else return;t._strict?t._isValid=!1:O.createFromInputFallback(t)}O.createFromInputFallback=ge("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":""))});function Kt(t,e,r){return t??e??r}function bh(t){var e=new Date(O.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function xi(t){var e,r,o=[],n,i,s;if(!t._d){for(n=bh(t),t._w&&t._a[ke]==null&&t._a[Be]==null&&xh(t),t._dayOfYear!=null&&(s=Kt(t._a[te],n[te]),(t._dayOfYear>Wr(s)||t._dayOfYear===0)&&(k(t)._overflowDayOfYear=!0),r=$r(s,0,t._dayOfYear),t._a[Be]=r.getUTCMonth(),t._a[ke]=r.getUTCDate()),e=0;e<3&&t._a[e]==null;++e)t._a[e]=o[e]=n[e];for(;e<7;e++)t._a[e]=o[e]=t._a[e]==null?e===2?1:0:t._a[e];t._a[q]===24&&t._a[we]===0&&t._a[je]===0&&t._a[kt]===0&&(t._nextDay=!0,t._a[q]=0),t._d=(t._useUTC?$r:Cp).apply(null,o),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),t._tzm!=null&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[q]=24),t._w&&typeof t._w.d<"u"&&t._w.d!==i&&(k(t).weekdayMismatch=!0)}}function xh(t){var e,r,o,n,i,s,c,l,u;e=t._w,e.GG!=null||e.W!=null||e.E!=null?(i=1,s=4,r=Kt(e.GG,t._a[te],Ur(z(),1,4).year),o=Kt(e.W,1),n=Kt(e.E,1),(n<1||n>7)&&(l=!0)):(i=t._locale._week.dow,s=t._locale._week.doy,u=Ur(z(),i,s),r=Kt(e.gg,t._a[te],u.year),o=Kt(e.w,u.week),e.d!=null?(n=e.d,(n<0||n>6)&&(l=!0)):e.e!=null?(n=e.e+i,(e.e<0||e.e>6)&&(l=!0)):n=i),o<1||o>Ve(r,i,s)?k(t)._overflowWeeks=!0:l!=null?k(t)._overflowWeekday=!0:(c=Ol(r,o,n,i,s),t._a[te]=c.year,t._dayOfYear=c.dayOfYear)}O.ISO_8601=function(){};O.RFC_2822=function(){};function vi(t){if(t._f===O.ISO_8601){Al(t);return}if(t._f===O.RFC_2822){Rl(t);return}t._a=[],k(t).empty=!0;var e=""+t._i,r,o,n,i,s,c=e.length,l=0,u,p;for(n=dl(t._f,t._locale).match(di)||[],p=n.length,r=0;r<p;r++)i=n[r],o=(e.match(cp(i,t))||[])[0],o&&(s=e.substr(0,e.indexOf(o)),s.length>0&&k(t).unusedInput.push(s),e=e.slice(e.indexOf(o)+o.length),l+=o.length),Jt[i]?(o?k(t).empty=!1:k(t).unusedTokens.push(i),dp(i,o,t)):t._strict&&!o&&k(t).unusedTokens.push(i);k(t).charsLeftOver=c-l,e.length>0&&k(t).unusedInput.push(e),t._a[q]<=12&&k(t).bigHour===!0&&t._a[q]>0&&(k(t).bigHour=void 0),k(t).parsedDateParts=t._a.slice(0),k(t).meridiem=t._meridiem,t._a[q]=vh(t._locale,t._a[q],t._meridiem),u=k(t).era,u!==null&&(t._a[te]=t._locale.erasConvertYear(u,t._a[te])),xi(t),bi(t)}function vh(t,e,r){var o;return r==null?e:t.meridiemHour!=null?t.meridiemHour(e,r):(t.isPM!=null&&(o=t.isPM(r),o&&e<12&&(e+=12),!o&&e===12&&(e=0)),e)}function Sh(t){var e,r,o,n,i,s,c=!1,l=t._f.length;if(l===0){k(t).invalidFormat=!0,t._d=new Date(NaN);return}for(n=0;n<l;n++)i=0,s=!1,e=ci({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[n],vi(e),si(e)&&(s=!0),i+=k(e).charsLeftOver,i+=k(e).unusedTokens.length*10,k(e).score=i,c?i<o&&(o=i,r=e):(o==null||i<o||s)&&(o=i,r=e,s&&(c=!0));ct(t,r||e)}function wh(t){if(!t._d){var e=ui(t._i),r=e.day===void 0?e.date:e.day;t._a=sl([e.year,e.month,r,e.hour,e.minute,e.second,e.millisecond],function(o){return o&&parseInt(o,10)}),xi(t)}}function Oh(t){var e=new Yr(bi(kl(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function kl(t){var e=t._i,r=t._f;return t._locale=t._locale||Ze(t._l),e===null||r===void 0&&e===""?jo({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),_e(e)?new Yr(bi(e)):(Hr(e)?t._d=e:Oe(r)?Sh(t):r?vi(t):_h(t),si(t)||(t._d=null),t))}function _h(t){var e=t._i;ce(e)?t._d=new Date(O.now()):Hr(e)?t._d=new Date(e.valueOf()):typeof e=="string"?gh(t):Oe(e)?(t._a=sl(e.slice(0),function(r){return parseInt(r,10)}),xi(t)):Pt(e)?wh(t):Ge(e)?t._d=new Date(e):O.createFromInputFallback(t)}function Pl(t,e,r,o,n){var i={};return(e===!0||e===!1)&&(o=e,e=void 0),(r===!0||r===!1)&&(o=r,r=void 0),(Pt(t)&&ii(t)||Oe(t)&&t.length===0)&&(t=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=n,i._l=r,i._i=t,i._f=e,i._strict=o,Oh(i)}function z(t,e,r,o){return Pl(t,e,r,o,!1)}var Ch=ge("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=z.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:jo()}),Eh=ge("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=z.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:jo()});function Ml(t,e){var r,o;if(e.length===1&&Oe(e[0])&&(e=e[0]),!e.length)return z();for(r=e[0],o=1;o<e.length;++o)(!e[o].isValid()||e[o][t](r))&&(r=e[o]);return r}function Nh(){var t=[].slice.call(arguments,0);return Ml("isBefore",t)}function Ah(){var t=[].slice.call(arguments,0);return Ml("isAfter",t)}var Rh=function(){return Date.now?Date.now():+new Date},Tr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function kh(t){var e,r=!1,o,n=Tr.length;for(e in t)if(T(t,e)&&!(Z.call(Tr,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(o=0;o<n;++o)if(t[Tr[o]]){if(r)return!1;parseFloat(t[Tr[o]])!==I(t[Tr[o]])&&(r=!0)}return!0}function Ph(){return this._isValid}function Mh(){return Ce(NaN)}function en(t){var e=ui(t),r=e.year||0,o=e.quarter||0,n=e.month||0,i=e.week||e.isoWeek||0,s=e.day||0,c=e.hour||0,l=e.minute||0,u=e.second||0,p=e.millisecond||0;this._isValid=kh(e),this._milliseconds=+p+u*1e3+l*6e4+c*1e3*60*60,this._days=+s+i*7,this._months=+n+o*3+r*12,this._data={},this._locale=Ze(),this._bubble()}function Wo(t){return t instanceof en}function oi(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function Ih(t,e,r){var o=Math.min(t.length,e.length),n=Math.abs(t.length-e.length),i=0,s;for(s=0;s<o;s++)(r&&t[s]!==e[s]||!r&&I(t[s])!==I(e[s]))&&i++;return i+n}function Il(t,e){A(t,0,0,function(){var r=this.utcOffset(),o="+";return r<0&&(r=-r,o="-"),o+Pe(~~(r/60),2)+e+Pe(~~r%60,2)})}Il("Z",":");Il("ZZ","");_("Z",Jo);_("ZZ",Jo);U(["Z","ZZ"],function(t,e,r){r._useUTC=!0,r._tzm=Si(Jo,t)});var Dh=/([\+\-]|\d\d)/gi;function Si(t,e){var r=(e||"").match(t),o,n,i;return r===null?null:(o=r[r.length-1]||[],n=(o+"").match(Dh)||["-",0,0],i=+(n[1]*60)+I(n[2]),i===0?0:n[0]==="+"?i:-i)}function wi(t,e){var r,o;return e._isUTC?(r=e.clone(),o=(_e(t)||Hr(t)?t.valueOf():z(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+o),O.updateOffset(r,!1),r):z(t).local()}function ni(t){return-Math.round(t._d.getTimezoneOffset())}O.updateOffset=function(){};function Th(t,e,r){var o=this._offset||0,n;if(!this.isValid())return t!=null?this:NaN;if(t!=null){if(typeof t=="string"){if(t=Si(Jo,t),t===null)return this}else Math.abs(t)<16&&!r&&(t=t*60);return!this._isUTC&&e&&(n=ni(this)),this._offset=t,this._isUTC=!0,n!=null&&this.add(n,"m"),o!==t&&(!e||this._changeInProgress?Ll(this,Ce(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,O.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?o:ni(this)}function Lh(t,e){return t!=null?(typeof t!="string"&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Wh(t){return this.utcOffset(0,t)}function $h(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(ni(this),"m")),this}function Uh(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=Si(ip,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function Fh(t){return this.isValid()?(t=t?z(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function Hh(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Yh(){if(!ce(this._isDSTShifted))return this._isDSTShifted;var t={},e;return ci(t,this),t=kl(t),t._a?(e=t._isUTC?Me(t._a):z(t._a),this._isDSTShifted=this.isValid()&&Ih(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function zh(){return this.isValid()?!this._isUTC:!1}function Bh(){return this.isValid()?this._isUTC:!1}function Dl(){return this.isValid()?this._isUTC&&this._offset===0:!1}var jh=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Vh=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ce(t,e){var r=t,o=null,n,i,s;return Wo(t)?r={ms:t._milliseconds,d:t._days,M:t._months}:Ge(t)||!isNaN(+t)?(r={},e?r[e]=+t:r.milliseconds=+t):(o=jh.exec(t))?(n=o[1]==="-"?-1:1,r={y:0,d:I(o[ke])*n,h:I(o[q])*n,m:I(o[we])*n,s:I(o[je])*n,ms:I(oi(o[kt]*1e3))*n}):(o=Vh.exec(t))?(n=o[1]==="-"?-1:1,r={y:Rt(o[2],n),M:Rt(o[3],n),w:Rt(o[4],n),d:Rt(o[5],n),h:Rt(o[6],n),m:Rt(o[7],n),s:Rt(o[8],n)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(s=Gh(z(r.from),z(r.to)),r={},r.ms=s.milliseconds,r.M=s.months),i=new en(r),Wo(t)&&T(t,"_locale")&&(i._locale=t._locale),Wo(t)&&T(t,"_isValid")&&(i._isValid=t._isValid),i}Ce.fn=en.prototype;Ce.invalid=Mh;function Rt(t,e){var r=t&&parseFloat(t.replace(",","."));return(isNaN(r)?0:r)*e}function nl(t,e){var r={};return r.months=e.month()-t.month()+(e.year()-t.year())*12,t.clone().add(r.months,"M").isAfter(e)&&--r.months,r.milliseconds=+e-+t.clone().add(r.months,"M"),r}function Gh(t,e){var r;return t.isValid()&&e.isValid()?(e=wi(e,t),t.isBefore(e)?r=nl(t,e):(r=nl(e,t),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function Tl(t,e){return function(r,o){var n,i;return o!==null&&!isNaN(+o)&&(ll(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=o,o=i),n=Ce(r,o),Ll(this,n,t),this}}function Ll(t,e,r,o){var n=e._milliseconds,i=oi(e._days),s=oi(e._months);t.isValid()&&(o=o??!0,s&&xl(t,Uo(t,"Month")+s*r),i&&fl(t,"Date",Uo(t,"Date")+i*r),n&&t._d.setTime(t._d.valueOf()+n*r),o&&O.updateOffset(t,i||s))}var Zh=Tl(1,"add"),Kh=Tl(-1,"subtract");function Wl(t){return typeof t=="string"||t instanceof String}function qh(t){return _e(t)||Hr(t)||Wl(t)||Ge(t)||Xh(t)||Jh(t)||t===null||t===void 0}function Jh(t){var e=Pt(t)&&!ii(t),r=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],n,i,s=o.length;for(n=0;n<s;n+=1)i=o[n],r=r||T(t,i);return e&&r}function Xh(t){var e=Oe(t),r=!1;return e&&(r=t.filter(function(o){return!Ge(o)&&Wl(t)}).length===0),e&&r}function Qh(t){var e=Pt(t)&&!ii(t),r=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],n,i;for(n=0;n<o.length;n+=1)i=o[n],r=r||T(t,i);return e&&r}function em(t,e){var r=t.diff(e,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function tm(t,e){arguments.length===1&&(arguments[0]?qh(arguments[0])?(t=arguments[0],e=void 0):Qh(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var r=t||z(),o=wi(r,this).startOf("day"),n=O.calendarFormat(this,o)||"sameElse",i=e&&(Ie(e[n])?e[n].call(this,r):e[n]);return this.format(i||this.localeData().calendar(n,this,z(r)))}function rm(){return new Yr(this)}function om(t,e){var r=_e(t)?t:z(t);return this.isValid()&&r.isValid()?(e=be(e)||"millisecond",e==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(e).valueOf()):!1}function nm(t,e){var r=_e(t)?t:z(t);return this.isValid()&&r.isValid()?(e=be(e)||"millisecond",e==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(e).valueOf()<r.valueOf()):!1}function am(t,e,r,o){var n=_e(t)?t:z(t),i=_e(e)?e:z(e);return this.isValid()&&n.isValid()&&i.isValid()?(o=o||"()",(o[0]==="("?this.isAfter(n,r):!this.isBefore(n,r))&&(o[1]===")"?this.isBefore(i,r):!this.isAfter(i,r))):!1}function im(t,e){var r=_e(t)?t:z(t),o;return this.isValid()&&r.isValid()?(e=be(e)||"millisecond",e==="millisecond"?this.valueOf()===r.valueOf():(o=r.valueOf(),this.clone().startOf(e).valueOf()<=o&&o<=this.clone().endOf(e).valueOf())):!1}function sm(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function cm(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function lm(t,e,r){var o,n,i;if(!this.isValid())return NaN;if(o=wi(t,this),!o.isValid())return NaN;switch(n=(o.utcOffset()-this.utcOffset())*6e4,e=be(e),e){case"year":i=$o(this,o)/12;break;case"month":i=$o(this,o);break;case"quarter":i=$o(this,o)/3;break;case"second":i=(this-o)/1e3;break;case"minute":i=(this-o)/6e4;break;case"hour":i=(this-o)/36e5;break;case"day":i=(this-o-n)/864e5;break;case"week":i=(this-o-n)/6048e5;break;default:i=this-o}return r?i:ye(i)}function $o(t,e){if(t.date()<e.date())return-$o(e,t);var r=(e.year()-t.year())*12+(e.month()-t.month()),o=t.clone().add(r,"months"),n,i;return e-o<0?(n=t.clone().add(r-1,"months"),i=(e-o)/(o-n)):(n=t.clone().add(r+1,"months"),i=(e-o)/(n-o)),-(r+i)||0}O.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";O.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function dm(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function um(t){if(!this.isValid())return null;var e=t!==!0,r=e?this.clone().utc():this;return r.year()<0||r.year()>9999?Lo(r,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Ie(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Lo(r,"Z")):Lo(r,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function fm(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="",r,o,n,i;return this.isLocal()||(t=this.utcOffset()===0?"moment.utc":"moment.parseZone",e="Z"),r="["+t+'("]',o=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",i=e+'[")]',this.format(r+o+n+i)}function pm(t){t||(t=this.isUtc()?O.defaultFormatUtc:O.defaultFormat);var e=Lo(this,t);return this.localeData().postformat(e)}function hm(t,e){return this.isValid()&&(_e(t)&&t.isValid()||z(t).isValid())?Ce({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function mm(t){return this.from(z(),t)}function ym(t,e){return this.isValid()&&(_e(t)&&t.isValid()||z(t).isValid())?Ce({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function gm(t){return this.to(z(),t)}function $l(t){var e;return t===void 0?this._locale._abbr:(e=Ze(t),e!=null&&(this._locale=e),this)}var Ul=ge("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return t===void 0?this.localeData():this.locale(t)});function Fl(){return this._locale}var Yo=1e3,Xt=60*Yo,zo=60*Xt,Hl=(365*400+97)*24*zo;function Qt(t,e){return(t%e+e)%e}function Yl(t,e,r){return t<100&&t>=0?new Date(t+400,e,r)-Hl:new Date(t,e,r).valueOf()}function zl(t,e,r){return t<100&&t>=0?Date.UTC(t+400,e,r)-Hl:Date.UTC(t,e,r)}function bm(t){var e,r;if(t=be(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?zl:Yl,t){case"year":e=r(this.year(),0,1);break;case"quarter":e=r(this.year(),this.month()-this.month()%3,1);break;case"month":e=r(this.year(),this.month(),1);break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=r(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=Qt(e+(this._isUTC?0:this.utcOffset()*Xt),zo);break;case"minute":e=this._d.valueOf(),e-=Qt(e,Xt);break;case"second":e=this._d.valueOf(),e-=Qt(e,Yo);break}return this._d.setTime(e),O.updateOffset(this,!0),this}function xm(t){var e,r;if(t=be(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?zl:Yl,t){case"year":e=r(this.year()+1,0,1)-1;break;case"quarter":e=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=r(this.year(),this.month()+1,1)-1;break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=zo-Qt(e+(this._isUTC?0:this.utcOffset()*Xt),zo)-1;break;case"minute":e=this._d.valueOf(),e+=Xt-Qt(e,Xt)-1;break;case"second":e=this._d.valueOf(),e+=Yo-Qt(e,Yo)-1;break}return this._d.setTime(e),O.updateOffset(this,!0),this}function vm(){return this._d.valueOf()-(this._offset||0)*6e4}function Sm(){return Math.floor(this.valueOf()/1e3)}function wm(){return new Date(this.valueOf())}function Om(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function _m(){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()}}function Cm(){return this.isValid()?this.toISOString():null}function Em(){return si(this)}function Nm(){return ct({},k(this))}function Am(){return k(this).overflow}function Rm(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}A("N",0,0,"eraAbbr");A("NN",0,0,"eraAbbr");A("NNN",0,0,"eraAbbr");A("NNNN",0,0,"eraName");A("NNNNN",0,0,"eraNarrow");A("y",["y",1],"yo","eraYear");A("y",["yy",2],0,"eraYear");A("y",["yyy",3],0,"eraYear");A("y",["yyyy",4],0,"eraYear");_("N",Oi);_("NN",Oi);_("NNN",Oi);_("NNNN",Fm);_("NNNNN",Hm);U(["N","NN","NNN","NNNN","NNNNN"],function(t,e,r,o){var n=r._locale.erasParse(t,o,r._strict);n?k(r).era=n:k(r).invalidEra=t});_("y",tr);_("yy",tr);_("yyy",tr);_("yyyy",tr);_("yo",Ym);U(["y","yy","yyy","yyyy"],te);U(["yo"],function(t,e,r,o){var n;r._locale._eraYearOrdinalRegex&&(n=t.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?e[te]=r._locale.eraYearOrdinalParse(t,n):e[te]=parseInt(t,10)});function km(t,e){var r,o,n,i=this._eras||Ze("en")._eras;for(r=0,o=i.length;r<o;++r){switch(typeof i[r].since){case"string":n=O(i[r].since).startOf("day"),i[r].since=n.valueOf();break}switch(typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":n=O(i[r].until).startOf("day").valueOf(),i[r].until=n.valueOf();break}}return i}function Pm(t,e,r){var o,n,i=this.eras(),s,c,l;for(t=t.toUpperCase(),o=0,n=i.length;o<n;++o)if(s=i[o].name.toUpperCase(),c=i[o].abbr.toUpperCase(),l=i[o].narrow.toUpperCase(),r)switch(e){case"N":case"NN":case"NNN":if(c===t)return i[o];break;case"NNNN":if(s===t)return i[o];break;case"NNNNN":if(l===t)return i[o];break}else if([s,c,l].indexOf(t)>=0)return i[o]}function Mm(t,e){var r=t.since<=t.until?1:-1;return e===void 0?O(t.since).year():O(t.since).year()+(e-t.offset)*r}function Im(){var t,e,r,o=this.localeData().eras();for(t=0,e=o.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),o[t].since<=r&&r<=o[t].until||o[t].until<=r&&r<=o[t].since)return o[t].name;return""}function Dm(){var t,e,r,o=this.localeData().eras();for(t=0,e=o.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),o[t].since<=r&&r<=o[t].until||o[t].until<=r&&r<=o[t].since)return o[t].narrow;return""}function Tm(){var t,e,r,o=this.localeData().eras();for(t=0,e=o.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),o[t].since<=r&&r<=o[t].until||o[t].until<=r&&r<=o[t].since)return o[t].abbr;return""}function Lm(){var t,e,r,o,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t)if(r=n[t].since<=n[t].until?1:-1,o=this.clone().startOf("day").valueOf(),n[t].since<=o&&o<=n[t].until||n[t].until<=o&&o<=n[t].since)return(this.year()-O(n[t].since).year())*r+n[t].offset;return this.year()}function Wm(t){return T(this,"_erasNameRegex")||_i.call(this),t?this._erasNameRegex:this._erasRegex}function $m(t){return T(this,"_erasAbbrRegex")||_i.call(this),t?this._erasAbbrRegex:this._erasRegex}function Um(t){return T(this,"_erasNarrowRegex")||_i.call(this),t?this._erasNarrowRegex:this._erasRegex}function Oi(t,e){return e.erasAbbrRegex(t)}function Fm(t,e){return e.erasNameRegex(t)}function Hm(t,e){return e.erasNarrowRegex(t)}function Ym(t,e){return e._eraYearOrdinalRegex||tr}function _i(){var t=[],e=[],r=[],o=[],n,i,s=this.eras();for(n=0,i=s.length;n<i;++n)e.push(pe(s[n].name)),t.push(pe(s[n].abbr)),r.push(pe(s[n].narrow)),o.push(pe(s[n].name)),o.push(pe(s[n].abbr)),o.push(pe(s[n].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}A(0,["gg",2],0,function(){return this.weekYear()%100});A(0,["GG",2],0,function(){return this.isoWeekYear()%100});function tn(t,e){A(0,[t,t.length],0,e)}tn("gggg","weekYear");tn("ggggg","weekYear");tn("GGGG","isoWeekYear");tn("GGGGG","isoWeekYear");re("weekYear","gg");re("isoWeekYear","GG");oe("weekYear",1);oe("isoWeekYear",1);_("G",qo);_("g",qo);_("GG",B,he);_("gg",B,he);_("GGGG",pi,fi);_("gggg",pi,fi);_("GGGGG",Ko,Go);_("ggggg",Ko,Go);Br(["gggg","ggggg","GGGG","GGGGG"],function(t,e,r,o){e[o.substr(0,2)]=I(t)});Br(["gg","GG"],function(t,e,r,o){e[o]=O.parseTwoDigitYear(t)});function zm(t){return Bl.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Bm(t){return Bl.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function jm(){return Ve(this.year(),1,4)}function Vm(){return Ve(this.isoWeekYear(),1,4)}function Gm(){var t=this.localeData()._week;return Ve(this.year(),t.dow,t.doy)}function Zm(){var t=this.localeData()._week;return Ve(this.weekYear(),t.dow,t.doy)}function Bl(t,e,r,o,n){var i;return t==null?Ur(this,o,n).year:(i=Ve(t,o,n),e>i&&(e=i),Km.call(this,t,e,r,o,n))}function Km(t,e,r,o,n){var i=Ol(t,e,r,o,n),s=$r(i.year,0,i.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}A("Q",0,"Qo","quarter");re("quarter","Q");oe("quarter",7);_("Q",pl);U("Q",function(t,e){e[Be]=(I(t)-1)*3});function qm(t){return t==null?Math.ceil((this.month()+1)/3):this.month((t-1)*3+this.month()%3)}A("D",["DD",2],"Do","date");re("date","D");oe("date",9);_("D",B);_("DD",B,he);_("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient});U(["D","DD"],ke);U("Do",function(t,e){e[ke]=I(t.match(B)[0])});var jl=er("Date",!0);A("DDD",["DDDD",3],"DDDo","dayOfYear");re("dayOfYear","DDD");oe("dayOfYear",4);_("DDD",Zo);_("DDDD",hl);U(["DDD","DDDD"],function(t,e,r){r._dayOfYear=I(t)});function Jm(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return t==null?e:this.add(t-e,"d")}A("m",["mm",2],0,"minute");re("minute","m");oe("minute",14);_("m",B);_("mm",B,he);U(["m","mm"],we);var Xm=er("Minutes",!1);A("s",["ss",2],0,"second");re("second","s");oe("second",15);_("s",B);_("ss",B,he);U(["s","ss"],je);var Qm=er("Seconds",!1);A("S",0,0,function(){return~~(this.millisecond()/100)});A(0,["SS",2],0,function(){return~~(this.millisecond()/10)});A(0,["SSS",3],0,"millisecond");A(0,["SSSS",4],0,function(){return this.millisecond()*10});A(0,["SSSSS",5],0,function(){return this.millisecond()*100});A(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});A(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});A(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});A(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});re("millisecond","ms");oe("millisecond",16);_("S",Zo,pl);_("SS",Zo,he);_("SSS",Zo,hl);var lt,Vl;for(lt="SSSS";lt.length<=9;lt+="S")_(lt,tr);function ey(t,e){e[kt]=I(("0."+t)*1e3)}for(lt="S";lt.length<=9;lt+="S")U(lt,ey);Vl=er("Milliseconds",!1);A("z",0,0,"zoneAbbr");A("zz",0,0,"zoneName");function ty(){return this._isUTC?"UTC":""}function ry(){return this._isUTC?"Coordinated Universal Time":""}var S=Yr.prototype;S.add=Zh;S.calendar=tm;S.clone=rm;S.diff=lm;S.endOf=xm;S.format=pm;S.from=hm;S.fromNow=mm;S.to=ym;S.toNow=gm;S.get=np;S.invalidAt=Am;S.isAfter=om;S.isBefore=nm;S.isBetween=am;S.isSame=im;S.isSameOrAfter=sm;S.isSameOrBefore=cm;S.isValid=Em;S.lang=Ul;S.locale=$l;S.localeData=Fl;S.max=Eh;S.min=Ch;S.parsingFlags=Nm;S.set=ap;S.startOf=bm;S.subtract=Kh;S.toArray=Om;S.toObject=_m;S.toDate=wm;S.toISOString=um;S.inspect=fm;typeof Symbol<"u"&&Symbol.for!=null&&(S[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});S.toJSON=Cm;S.toString=dm;S.unix=Sm;S.valueOf=vm;S.creationData=Rm;S.eraName=Im;S.eraNarrow=Dm;S.eraAbbr=Tm;S.eraYear=Lm;S.year=wl;S.isLeapYear=_p;S.weekYear=zm;S.isoWeekYear=Bm;S.quarter=S.quarters=qm;S.month=vl;S.daysInMonth=Sp;S.week=S.weeks=kp;S.isoWeek=S.isoWeeks=Pp;S.weeksInYear=Gm;S.weeksInWeekYear=Zm;S.isoWeeksInYear=jm;S.isoWeeksInISOWeekYear=Vm;S.date=jl;S.day=S.days=Bp;S.weekday=jp;S.isoWeekday=Vp;S.dayOfYear=Jm;S.hour=S.hours=Qp;S.minute=S.minutes=Xm;S.second=S.seconds=Qm;S.millisecond=S.milliseconds=Vl;S.utcOffset=Th;S.utc=Wh;S.local=$h;S.parseZone=Uh;S.hasAlignedHourOffset=Fh;S.isDST=Hh;S.isLocal=zh;S.isUtcOffset=Bh;S.isUtc=Dl;S.isUTC=Dl;S.zoneAbbr=ty;S.zoneName=ry;S.dates=ge("dates accessor is deprecated. Use date instead.",jl);S.months=ge("months accessor is deprecated. Use month instead",vl);S.years=ge("years accessor is deprecated. Use year instead",wl);S.zone=ge("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Lh);S.isDSTShifted=ge("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Yh);function oy(t){return z(t*1e3)}function ny(){return z.apply(null,arguments).parseZone()}function Gl(t){return t}var L=li.prototype;L.calendar=Bf;L.longDateFormat=Zf;L.invalidDate=qf;L.ordinal=Qf;L.preparse=Gl;L.postformat=Gl;L.relativeTime=tp;L.pastFuture=rp;L.set=Yf;L.eras=km;L.erasParse=Pm;L.erasConvertYear=Mm;L.erasAbbrRegex=$m;L.erasNameRegex=Wm;L.erasNarrowRegex=Um;L.months=gp;L.monthsShort=bp;L.monthsParse=vp;L.monthsRegex=Op;L.monthsShortRegex=wp;L.week=Ep;L.firstDayOfYear=Rp;L.firstDayOfWeek=Ap;L.weekdays=Up;L.weekdaysMin=Hp;L.weekdaysShort=Fp;L.weekdaysParse=zp;L.weekdaysRegex=Gp;L.weekdaysShortRegex=Zp;L.weekdaysMinRegex=Kp;L.isPM=Jp;L.meridiem=eh;function Bo(t,e,r,o){var n=Ze(),i=Me().set(o,e);return n[r](i,t)}function Zl(t,e,r){if(Ge(t)&&(e=t,t=void 0),t=t||"",e!=null)return Bo(t,e,r,"month");var o,n=[];for(o=0;o<12;o++)n[o]=Bo(t,o,r,"month");return n}function Ci(t,e,r,o){typeof t=="boolean"?(Ge(e)&&(r=e,e=void 0),e=e||""):(e=t,r=e,t=!1,Ge(e)&&(r=e,e=void 0),e=e||"");var n=Ze(),i=t?n._week.dow:0,s,c=[];if(r!=null)return Bo(e,(r+i)%7,o,"day");for(s=0;s<7;s++)c[s]=Bo(e,(s+i)%7,o,"day");return c}function ay(t,e){return Zl(t,e,"months")}function iy(t,e){return Zl(t,e,"monthsShort")}function sy(t,e,r){return Ci(t,e,r,"weekdays")}function cy(t,e,r){return Ci(t,e,r,"weekdaysShort")}function ly(t,e,r){return Ci(t,e,r,"weekdaysMin")}dt("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 e=t%10,r=I(t%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th";return t+r}});O.lang=ge("moment.lang is deprecated. Use moment.locale instead.",dt);O.langData=ge("moment.langData is deprecated. Use moment.localeData instead.",Ze);var Ye=Math.abs;function dy(){var t=this._data;return this._milliseconds=Ye(this._milliseconds),this._days=Ye(this._days),this._months=Ye(this._months),t.milliseconds=Ye(t.milliseconds),t.seconds=Ye(t.seconds),t.minutes=Ye(t.minutes),t.hours=Ye(t.hours),t.months=Ye(t.months),t.years=Ye(t.years),this}function Kl(t,e,r,o){var n=Ce(e,r);return t._milliseconds+=o*n._milliseconds,t._days+=o*n._days,t._months+=o*n._months,t._bubble()}function uy(t,e){return Kl(this,t,e,1)}function fy(t,e){return Kl(this,t,e,-1)}function al(t){return t<0?Math.floor(t):Math.ceil(t)}function py(){var t=this._milliseconds,e=this._days,r=this._months,o=this._data,n,i,s,c,l;return t>=0&&e>=0&&r>=0||t<=0&&e<=0&&r<=0||(t+=al(ai(r)+e)*864e5,e=0,r=0),o.milliseconds=t%1e3,n=ye(t/1e3),o.seconds=n%60,i=ye(n/60),o.minutes=i%60,s=ye(i/60),o.hours=s%24,e+=ye(s/24),l=ye(ql(e)),r+=l,e-=al(ai(l)),c=ye(r/12),r%=12,o.days=e,o.months=r,o.years=c,this}function ql(t){return t*4800/146097}function ai(t){return t*146097/4800}function hy(t){if(!this.isValid())return NaN;var e,r,o=this._milliseconds;if(t=be(t),t==="month"||t==="quarter"||t==="year")switch(e=this._days+o/864e5,r=this._months+ql(e),t){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(e=this._days+Math.round(ai(this._months)),t){case"week":return e/7+o/6048e5;case"day":return e+o/864e5;case"hour":return e*24+o/36e5;case"minute":return e*1440+o/6e4;case"second":return e*86400+o/1e3;case"millisecond":return Math.floor(e*864e5)+o;default:throw new Error("Unknown unit "+t)}}function my(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+I(this._months/12)*31536e6:NaN}function Ke(t){return function(){return this.as(t)}}var yy=Ke("ms"),gy=Ke("s"),by=Ke("m"),xy=Ke("h"),vy=Ke("d"),Sy=Ke("w"),wy=Ke("M"),Oy=Ke("Q"),_y=Ke("y");function Cy(){return Ce(this)}function Ey(t){return t=be(t),this.isValid()?this[t+"s"]():NaN}function Mt(t){return function(){return this.isValid()?this._data[t]:NaN}}var Ny=Mt("milliseconds"),Ay=Mt("seconds"),Ry=Mt("minutes"),ky=Mt("hours"),Py=Mt("days"),My=Mt("months"),Iy=Mt("years");function Dy(){return ye(this.days()/7)}var ze=Math.round,qt={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Ty(t,e,r,o,n){return n.relativeTime(e||1,!!r,t,o)}function Ly(t,e,r,o){var n=Ce(t).abs(),i=ze(n.as("s")),s=ze(n.as("m")),c=ze(n.as("h")),l=ze(n.as("d")),u=ze(n.as("M")),p=ze(n.as("w")),h=ze(n.as("y")),m=i<=r.ss&&["s",i]||i<r.s&&["ss",i]||s<=1&&["m"]||s<r.m&&["mm",s]||c<=1&&["h"]||c<r.h&&["hh",c]||l<=1&&["d"]||l<r.d&&["dd",l];return r.w!=null&&(m=m||p<=1&&["w"]||p<r.w&&["ww",p]),m=m||u<=1&&["M"]||u<r.M&&["MM",u]||h<=1&&["y"]||["yy",h],m[2]=e,m[3]=+t>0,m[4]=o,Ty.apply(null,m)}function Wy(t){return t===void 0?ze:typeof t=="function"?(ze=t,!0):!1}function $y(t,e){return qt[t]===void 0?!1:e===void 0?qt[t]:(qt[t]=e,t==="s"&&(qt.ss=e-1),!0)}function Uy(t,e){if(!this.isValid())return this.localeData().invalidDate();var r=!1,o=qt,n,i;return typeof t=="object"&&(e=t,t=!1),typeof t=="boolean"&&(r=t),typeof e=="object"&&(o=Object.assign({},qt,e),e.s!=null&&e.ss==null&&(o.ss=e.s-1)),n=this.localeData(),i=Ly(this,!r,o,n),r&&(i=n.pastFuture(+this,i)),n.postformat(i)}var Xa=Math.abs;function Zt(t){return(t>0)-(t<0)||+t}function rn(){if(!this.isValid())return this.localeData().invalidDate();var t=Xa(this._milliseconds)/1e3,e=Xa(this._days),r=Xa(this._months),o,n,i,s,c=this.asSeconds(),l,u,p,h;return c?(o=ye(t/60),n=ye(o/60),t%=60,o%=60,i=ye(r/12),r%=12,s=t?t.toFixed(3).replace(/\.?0+$/,""):"",l=c<0?"-":"",u=Zt(this._months)!==Zt(c)?"-":"",p=Zt(this._days)!==Zt(c)?"-":"",h=Zt(this._milliseconds)!==Zt(c)?"-":"",l+"P"+(i?u+i+"Y":"")+(r?u+r+"M":"")+(e?p+e+"D":"")+(n||o||t?"T":"")+(n?h+n+"H":"")+(o?h+o+"M":"")+(t?h+s+"S":"")):"P0D"}var D=en.prototype;D.isValid=Ph;D.abs=dy;D.add=uy;D.subtract=fy;D.as=hy;D.asMilliseconds=yy;D.asSeconds=gy;D.asMinutes=by;D.asHours=xy;D.asDays=vy;D.asWeeks=Sy;D.asMonths=wy;D.asQuarters=Oy;D.asYears=_y;D.valueOf=my;D._bubble=py;D.clone=Cy;D.get=Ey;D.milliseconds=Ny;D.seconds=Ay;D.minutes=Ry;D.hours=ky;D.days=Py;D.weeks=Dy;D.months=My;D.years=Iy;D.humanize=Uy;D.toISOString=rn;D.toString=rn;D.toJSON=rn;D.locale=$l;D.localeData=Fl;D.toIsoString=ge("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",rn);D.lang=Ul;A("X",0,0,"unix");A("x",0,0,"valueOf");_("x",qo);_("X",sp);U("X",function(t,e,r){r._d=new Date(parseFloat(t)*1e3)});U("x",function(t,e,r){r._d=new Date(I(t))});O.version="2.29.4";Ff(z);O.fn=S;O.min=Nh;O.max=Ah;O.now=Rh;O.utc=Me;O.unix=oy;O.months=ay;O.isDate=Hr;O.locale=dt;O.invalid=jo;O.duration=Ce;O.isMoment=_e;O.weekdays=sy;O.parseZone=ny;O.localeData=Ze;O.isDuration=Wo;O.monthsShort=iy;O.weekdaysMin=ly;O.defineLocale=gi;O.updateLocale=nh;O.locales=ah;O.weekdaysShort=cy;O.normalizeUnits=be;O.relativeTimeRounding=Wy;O.relativeTimeThreshold=$y;O.calendarFormat=em;O.prototype=S;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"};var It=O;var ne;(function(t){t.DAY="DAY",t.WEEK="WEEK",t.MONTH="MONTH"})(ne||(ne={}));var Jl=X`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-chart",
3
- "version": "1.1.101",
3
+ "version": "1.1.103",
4
4
  "description": "Display charts from data",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,7 +19,7 @@
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.101",
22
+ "@fluid-topics/ft-wc-utils": "1.1.103",
23
23
  "lit": "3.1.0",
24
24
  "moment": "2.29.4"
25
25
  },
@@ -29,5 +29,5 @@
29
29
  "peerDependencies": {
30
30
  "echarts": "^5.3.0"
31
31
  },
32
- "gitHead": "2d444ace3306098342639937b95d84f13f24cb2d"
32
+ "gitHead": "395d0494bf2cf416b65b0bd3e07875131284cfa9"
33
33
  }