@fluid-topics/ft-loader 1.1.44 → 1.1.46

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.
@@ -175,7 +175,7 @@ function(t){return(o,e)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}
175
175
  display: inline-block;
176
176
  width: 0;
177
177
  }
178
- `;var Dn=Object.freeze({__proto__:null,noTextSelect:Zn,safariEllipsisFix:Mn,wordWrap:jn}),$n=Object.freeze({__proto__:null});var Hn=Object.freeze({__proto__:null,ParametrizedLabelResolver:class{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,r;t=this.resolvePluralKey(t,o);let n=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>n=n.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),n}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}});class Tn{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter((o=>o.type!==t.type))),this.queue.push(t)}consume(t){const o=this.queue.find((o=>o.type===t));return o&&(this.queue=this.queue.filter((t=>t!==o))),o}}function Gn(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Vn,qn,Yn;const Jn=Symbol("internalReduxEventsUnsubscribers"),Xn=Symbol("internalStoresUnsubscribers"),Qn=Symbol("internalStores");class ti extends Wn{constructor(){super(...arguments),this[Vn]=new Map,this[qn]=new Map,this[Yn]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[Qn].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Qn].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Qn].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Gn(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[Qn].delete(o)}setupStore(t,o){this[Qn].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Qn].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[Xn].has(t.store):this[Xn].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Xn].set(t,o.subscribe((()=>this.updateFromStores()))),Gn(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[Jn].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Xn].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Jn].forEach((t=>t())),this[Jn]=[]}unsubscribeFromStore(t){this[Xn].has(t)&&this[Xn].get(t)(),this[Xn].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function oi(t){for(var o=arguments.length,e=Array(o>1?o-1:0),r=1;r<o;r++)e[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(e.length?" "+e.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ei(t){return!!t&&!!t[Mi]}function ri(t){var o;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;var e=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return e===Object||"function"==typeof e&&Function.toString.call(e)===Di}(t)||Array.isArray(t)||!!t[ji]||!!(null===(o=t.constructor)||void 0===o?void 0:o[ji])||si(t)||fi(t))}function ni(t,o,e){void 0===e&&(e=!1),0===ii(t)?(e?Object.keys:$i)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function ii(t){var o=t[Mi];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:si(t)?2:fi(t)?3:0}function ai(t,o){return 2===ii(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function ci(t,o,e){var r=ii(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function li(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function si(t){return _i&&t instanceof Map}function fi(t){return Ki&&t instanceof Set}function ui(t){return t.o||t.t}function di(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Hi(t);delete o[Mi];for(var e=$i(o),r=0;r<e.length;r++){var n=e[r],i=o[n];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(o[n]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),o)}function pi(t,o){return void 0===o&&(o=!1),yi(t)||ei(t)||!ri(t)||(ii(t)>1&&(t.set=t.add=t.clear=t.delete=hi),Object.freeze(t),o&&ni(t,(function(t,o){return pi(o,!0)}),!0)),t}function hi(){oi(2)}function yi(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function gi(t){var o=Ti[t];return o||oi(18,t),o}function bi(){return Ai}function mi(t,o){o&&(gi("Patches"),t.u=[],t.s=[],t.v=o)}function Oi(t){vi(t),t.p.forEach(xi),t.p=null}function vi(t){t===Ai&&(Ai=t.l)}function Si(t){return Ai={p:[],l:Ai,h:t,m:!0,_:0}}function xi(t){var o=t[Mi];0===o.i||1===o.i?o.j():o.g=!0}function wi(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||gi("ES5").S(o,t,r),r?(e[Mi].P&&(Oi(o),oi(4)),ri(t)&&(t=Ni(o,t),o.l||Ei(o,t)),o.u&&gi("Patches").M(e[Mi].t,t,o.u,o.s)):t=Ni(o,e,[]),Oi(o),o.u&&o.v(o.u,o.s),t!==Zi?t:void 0}function Ni(t,o,e){if(yi(o))return o;var r=o[Mi];if(!r)return ni(o,(function(n,i){return Ci(t,r,o,n,i,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return Ei(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var n=4===r.i||5===r.i?r.o=di(r.k):r.o,i=n,a=!1;3===r.i&&(i=new Set(n),n.clear(),a=!0),ni(i,(function(o,i){return Ci(t,r,n,o,i,e,a)})),Ei(t,n,!1),e&&t.u&&gi("Patches").N(r,e,t.u,t.s)}return r.o}function Ci(t,o,e,r,n,i,a){if(ei(n)){var c=Ni(t,n,i&&o&&3!==o.i&&!ai(o.R,r)?i.concat(r):void 0);if(ci(e,r,c),!ei(c))return;t.m=!1}else a&&e.add(n);if(ri(n)&&!yi(n)){if(!t.h.D&&t._<1)return;Ni(t,n),o&&o.A.l||Ei(t,n)}}function Ei(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&pi(o,e)}function Ri(t,o){var e=t[Mi];return(e?ui(e):t)[o]}function Ii(t,o){if(o in t)for(var e=Object.getPrototypeOf(t);e;){var r=Object.getOwnPropertyDescriptor(e,o);if(r)return r;e=Object.getPrototypeOf(e)}}function Li(t){t.P||(t.P=!0,t.l&&Li(t.l))}function Ui(t){t.o||(t.o=di(t.t))}function Wi(t,o,e){var r=si(o)?gi("MapSet").F(o,e):fi(o)?gi("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:bi(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},n=r,i=Gi;e&&(n=[r],i=Vi);var a=Proxy.revocable(n,i),c=a.revoke,l=a.proxy;return r.k=l,r.j=c,l}(o,e):gi("ES5").J(o,e);return(e?e.A:bi()).p.push(r),r}function ki(t){return ei(t)||oi(22,t),function t(o){if(!ri(o))return o;var e,r=o[Mi],n=ii(o);if(r){if(!r.P&&(r.i<4||!gi("ES5").K(r)))return r.t;r.I=!0,e=Fi(o,n),r.I=!1}else e=Fi(o,n);return ni(e,(function(o,n){r&&function(t,o){return 2===ii(t)?t.get(o):t[o]}(r.t,o)===n||ci(e,o,t(n))})),3===n?new Set(e):e}(t)}function Fi(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return di(t)}Vn=Xn,qn=Qn,Yn=Jn,ti.reduxProperties=new Map,ti.reduxReactiveProperties=new Set,ti.reduxEventListeners=new Map;var zi,Ai,Bi="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),_i="undefined"!=typeof Map,Ki="undefined"!=typeof Set,Pi="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Zi=Bi?Symbol.for("immer-nothing"):((zi={})["immer-nothing"]=!0,zi),ji=Bi?Symbol.for("immer-draftable"):"__$immer_draftable",Mi=Bi?Symbol.for("immer-state"):"__$immer_state",Di=""+Object.prototype.constructor,$i="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Hi=Object.getOwnPropertyDescriptors||function(t){var o={};return $i(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},Ti={},Gi={get:function(t,o){if(o===Mi)return t;var e=ui(t);if(!ai(e,o))return function(t,o,e){var r,n=Ii(o,e);return n?"value"in n?n.value:null===(r=n.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!ri(r)?r:r===Ri(t.t,o)?(Ui(t),t.o[o]=Wi(t.A.h,r,t)):r},has:function(t,o){return o in ui(t)},ownKeys:function(t){return Reflect.ownKeys(ui(t))},set:function(t,o,e){var r=Ii(ui(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var n=Ri(ui(t),o),i=null==n?void 0:n[Mi];if(i&&i.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(li(e,n)&&(void 0!==e||ai(t.t,o)))return!0;Ui(t),Li(t)}return t.o[o]===e&&(void 0!==e||o in t.o)||Number.isNaN(e)&&Number.isNaN(t.o[o])||(t.o[o]=e,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==Ri(t.t,o)||o in t.t?(t.R[o]=!1,Ui(t),Li(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=ui(t),r=Reflect.getOwnPropertyDescriptor(e,o);return r?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:r.enumerable,value:e[o]}:r},defineProperty:function(){oi(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){oi(12)}},Vi={};ni(Gi,(function(t,o){Vi[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),Vi.deleteProperty=function(t,o){return Vi.set.call(this,t,o,void 0)},Vi.set=function(t,o,e){return Gi.set.call(this,t[0],o,e,t[0])};var qi=function(){function t(t){var o=this;this.O=Pi,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var n=e;e=t;var i=o;return function(t){var o=this;void 0===t&&(t=n);for(var r=arguments.length,a=Array(r>1?r-1:0),c=1;c<r;c++)a[c-1]=arguments[c];return i.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&oi(6),void 0!==r&&"function"!=typeof r&&oi(7),ri(t)){var c=Si(o),l=Wi(o,t,void 0),s=!0;try{a=e(l),s=!1}finally{s?Oi(c):vi(c)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return mi(c,r),wi(t,c)}),(function(t){throw Oi(c),t})):(mi(c,r),wi(a,c))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Zi&&(a=void 0),o.D&&pi(a,!0),r){var f=[],u=[];gi("Patches").M(t,a,f,u),r(f,u)}return a}oi(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(n))}))};var r,n,i=o.produce(t,e,(function(t,o){r=t,n=o}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(t){return[t,r,n]})):[i,r,n]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var o=t.prototype;return o.createDraft=function(t){ri(t)||oi(8),ei(t)&&(t=ki(t));var o=Si(this),e=Wi(this,t,void 0);return e[Mi].C=!0,vi(o),e},o.finishDraft=function(t,o){var e=(t&&t[Mi]).A;return mi(e,o),wi(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Pi&&oi(20),this.O=t},o.applyPatches=function(t,o){var e;for(e=o.length-1;e>=0;e--){var r=o[e];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}e>-1&&(o=o.slice(e+1));var n=gi("Patches").$;return ei(t)?n(t,o):this.produce(t,(function(t){return n(t,o)}))},t}(),Yi=new qi,Ji=Yi.produce;function Xi(t){return Xi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xi(t)}function Qi(t){var o=function(t,o){if("object"!==Xi(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==Xi(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===Xi(o)?o:String(o)}function ta(t,o,e){return(o=Qi(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function oa(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,r)}return e}function ea(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?oa(Object(e),!0).forEach((function(o){ta(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):oa(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function ra(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. "}Yi.produceWithPatches.bind(Yi),Yi.setAutoFreeze.bind(Yi),Yi.setUseProxies.bind(Yi),Yi.applyPatches.bind(Yi),Yi.createDraft.bind(Yi),Yi.finishDraft.bind(Yi);var na="function"==typeof Symbol&&Symbol.observable||"@@observable",ia=function(){return Math.random().toString(36).substring(7).split("").join(".")},aa={INIT:"@@redux/INIT"+ia(),REPLACE:"@@redux/REPLACE"+ia(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ia()}};function ca(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(ra(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(ra(1));return e(ca)(t,o)}if("function"!=typeof t)throw new Error(ra(2));var n=t,i=o,a=[],c=a,l=!1;function s(){c===a&&(c=a.slice())}function f(){if(l)throw new Error(ra(3));return i}function u(t){if("function"!=typeof t)throw new Error(ra(4));if(l)throw new Error(ra(5));var o=!0;return s(),c.push(t),function(){if(o){if(l)throw new Error(ra(6));o=!1,s();var e=c.indexOf(t);c.splice(e,1),a=null}}}function d(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(ra(7));if(void 0===t.type)throw new Error(ra(8));if(l)throw new Error(ra(9));try{l=!0,i=n(i,t)}finally{l=!1}for(var o=a=c,e=0;e<o.length;e++){(0,o[e])()}return t}return d({type:aa.INIT}),(r={dispatch:d,subscribe:u,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(ra(10));n=t,d({type:aa.REPLACE})}})[na]=function(){var t,o=u;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(ra(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[na]=function(){return this},t},r}function la(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var n=o[r];"function"==typeof t[n]&&(e[n]=t[n])}var i,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:aa.INIT}))throw new Error(ra(12));if(void 0===e(void 0,{type:aa.PROBE_UNKNOWN_ACTION()}))throw new Error(ra(13))}))}(e)}catch(t){i=t}return function(t,o){if(void 0===t&&(t={}),i)throw i;for(var r=!1,n={},c=0;c<a.length;c++){var l=a[c],s=e[l],f=t[l],u=s(f,o);if(void 0===u)throw o&&o.type,new Error(ra(14));n[l]=u,r=r||u!==f}return(r=r||a.length!==Object.keys(t).length)?n:t}}function sa(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function fa(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return function(t){return function(){var e=t.apply(void 0,arguments),r=function(){throw new Error(ra(15))},n={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=o.map((function(t){return t(n)}));return r=sa.apply(void 0,i)(e.dispatch),ea(ea({},e),{},{dispatch:r})}}}function ua(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(n){return"function"==typeof n?n(e,r,t):o(n)}}}}var da=ua();da.withExtraArgument=ua;var pa,ha=da,ya=(pa=function(t,o){return pa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])},pa(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}pa(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),ga=function(t,o){var e,r,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(n=2&i[0]?r.return:i[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,i[1])).done)return n;switch(r=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=o.call(t,a)}catch(t){i=[6,t],r=0}finally{e=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}},ba=function(t,o){for(var e=0,r=o.length,n=t.length;e<r;e++,n++)t[n]=o[e];return t},ma=Object.defineProperty,Oa=Object.defineProperties,va=Object.getOwnPropertyDescriptors,Sa=Object.getOwnPropertySymbols,xa=Object.prototype.hasOwnProperty,wa=Object.prototype.propertyIsEnumerable,Na=function(t,o,e){return o in t?ma(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},Ca=function(t,o){for(var e in o||(o={}))xa.call(o,e)&&Na(t,e,o[e]);if(Sa)for(var r=0,n=Sa(o);r<n.length;r++){e=n[r];wa.call(o,e)&&Na(t,e,o[e])}return t},Ea=function(t,o){return Oa(t,va(o))},Ra="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?sa:sa.apply(null,arguments)};var Ia=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=t.apply(this,e)||this;return Object.setPrototypeOf(n,o.prototype),n}return ya(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,ba([void 0],t[0].concat(this)))):new(o.bind.apply(o,ba([void 0],t.concat(this))))},o}(Array),La=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=t.apply(this,e)||this;return Object.setPrototypeOf(n,o.prototype),n}return ya(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,ba([void 0],t[0].concat(this)))):new(o.bind.apply(o,ba([void 0],t.concat(this))))},o}(Array);function Ua(t){return ri(t)?Ji(t,(function(){})):t}function Wa(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,e=void 0===o||o;t.immutableCheck,t.serializableCheck;var r=new Ia;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(ha.withExtraArgument(e.extraArgument)):r.push(ha));return r}(t)}}function ka(t){var o,e=Wa(),r=t||{},n=r.reducer,i=void 0===n?void 0:n,a=r.middleware,c=void 0===a?e():a,l=r.devTools,s=void 0===l||l,f=r.preloadedState,u=void 0===f?void 0:f,d=r.enhancers,p=void 0===d?void 0:d;if("function"==typeof i)o=i;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var e=o;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return o===e}(i))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');o=la(i)}var h=c;"function"==typeof h&&(h=h(e));var y=fa.apply(void 0,h),g=sa;s&&(g=Ra(Ca({trace:!1},"object"==typeof s&&s)));var b=new La(y),m=b;return Array.isArray(p)?m=ba([y],p):"function"==typeof p&&(m=p(b)),ca(o,u,g.apply(void 0,m))}function Fa(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var n=o.apply(void 0,e);if(!n)throw new Error("prepareAction did not return an object");return Ca(Ca({type:t,payload:n.payload},"meta"in n&&{meta:n.meta}),"error"in n&&{error:n.error})}return{type:t,payload:e[0]}}return e.toString=function(){return""+t},e.type=t,e.match=function(o){return o.type===t},e}function za(t){var o,e={},r=[],n={addCase:function(t,o){var r="string"==typeof t?t:t.type;if(r in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[r]=o,n},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),n},addDefaultCase:function(t){return o=t,n}};return t(n),[e,r,o]}function Aa(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var e,r="function"==typeof t.initialState?t.initialState:Ua(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},c={},l={};function s(){var o="function"==typeof t.extraReducers?za(t.extraReducers):[t.extraReducers],e=o[0],n=void 0===e?{}:e,i=o[1],a=void 0===i?[]:i,l=o[2],s=void 0===l?void 0:l,f=Ca(Ca({},n),c);return function(t,o,e,r){void 0===e&&(e=[]);var n,i="function"==typeof o?za(o):[o,e,r],a=i[0],c=i[1],l=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return Ua(t())};else{var s=Ua(t);n=function(){return s}}function f(t,o){void 0===t&&(t=n());var e=ba([a[o.type]],c.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[l]),e.reduce((function(t,e){if(e){var r;if(ei(t))return void 0===(r=e(t,o))?t:r;if(ri(t))return Ji(t,(function(t){return e(t,o)}));if(void 0===(r=e(t,o))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=n,f}(r,(function(t){for(var o in f)t.addCase(o,f[o]);for(var e=0,r=a;e<r.length;e++){var n=r[e];t.addMatcher(n.matcher,n.reducer)}s&&t.addDefaultCase(s)}))}return i.forEach((function(t){var e,r,i=n[t],s=o+"/"+t;"reducer"in i?(e=i.reducer,r=i.prepare):e=i,a[t]=e,c[s]=e,l[t]=r?Fa(s,r):Fa(s)})),{name:o,reducer:function(t,o){return e||(e=s()),e(t,o)},actions:l,caseReducers:a,getInitialState:function(){return e||(e=s()),e.getInitialState()}}}var Ba=["name","message","stack","code"],_a=function(t,o){this.payload=t,this.meta=o},Ka=function(t,o){this.payload=t,this.meta=o},Pa=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Ba;e<r.length;e++){var n=r[e];"string"==typeof t[n]&&(o[n]=t[n])}return o}return{message:String(t)}};function Za(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,e){var r=Fa(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:Ea(Ca({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),n=Fa(t+"/pending",(function(t,o,e){return{payload:void 0,meta:Ea(Ca({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),i=Fa(t+"/rejected",(function(t,o,r,n,i){return{payload:n,error:(e&&e.serializeError||Pa)(t||"Rejected"),meta:Ea(Ca({},i||{}),{arg:r,requestId:o,rejectedWithValue:!!n,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(c,l,s){var f,u=(null==e?void 0:e.idGenerator)?e.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",e=t;e--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),d=new a;function p(t){f=t,d.abort()}var h=function(){return a=this,h=null,y=function(){var a,h,y,g,b,m;return ga(this,(function(O){switch(O.label){case 0:return O.trys.push([0,4,,5]),g=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:l,extra:s}),null===(v=g)||"object"!=typeof v||"function"!=typeof v.then?[3,2]:[4,g];case 1:g=O.sent(),O.label=2;case 2:if(!1===g||d.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return d.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),c(n(u,t,null==(h=null==e?void 0:e.getPendingMeta)?void 0:h.call(e,{requestId:u,arg:t},{getState:l,extra:s}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:c,getState:l,extra:s,requestId:u,signal:d.signal,abort:p,rejectWithValue:function(t,o){return new _a(t,o)},fulfillWithValue:function(t,o){return new Ka(t,o)}})).then((function(o){if(o instanceof _a)throw o;return o instanceof Ka?r(o.payload,u,t,o.meta):r(o,u,t)}))])];case 3:return y=O.sent(),[3,5];case 4:return m=O.sent(),y=m instanceof _a?i(null,u,t,m.payload,m.meta):i(m,u,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&i.match(y)&&y.meta.condition||c(y),[2,y]}var v}))},new Promise((function(t,o){var e=function(t){try{n(y.next(t))}catch(t){o(t)}},r=function(t){try{n(y.throw(t))}catch(t){o(t)}},n=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};n((y=y.apply(a,h)).next())}));var a,h,y}();return Object.assign(h,{abort:p,requestId:u,arg:t,unwrap:function(){return h.then(Za)}})}}),{pending:n,rejected:i,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var ja="listenerMiddleware";Fa(ja+"/add"),Fa(ja+"/removeAll"),Fa(ja+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=n[t];return e?e.enumerable=o:n[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[Mi];return Gi.get(o,t)},set:function(o){var e=this[Mi];Gi.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var n=t[o][Mi];if(!n.P)switch(n.i){case 5:r(n)&&Li(n);break;case 4:e(n)&&Li(n)}}}function e(t){for(var o=t.t,e=t.k,r=$i(e),n=r.length-1;n>=0;n--){var i=r[n];if(i!==Mi){var a=o[i];if(void 0===a&&!ai(o,i))return!0;var c=e[i],l=c&&c[Mi];if(l?l.t!==a:!li(c,a))return!0}}var s=!!o[Mi];return r.length!==$i(o).length+(s?0:1)}function r(t){var o=t.k;if(o.length!==t.t.length)return!0;var e=Object.getOwnPropertyDescriptor(o,o.length-1);if(e&&!e.get)return!0;for(var r=0;r<o.length;r++)if(!o.hasOwnProperty(r))return!0;return!1}var n={};!function(t,o){Ti[t]||(Ti[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),n=function(o,e){if(o){for(var r=Array(e.length),n=0;n<e.length;n++)Object.defineProperty(r,""+n,t(n,!0));return r}var i=Hi(e);delete i[Mi];for(var a=$i(i),c=0;c<a.length;c++){var l=a[c];i[l]=t(l,o||!!i[l].enumerable)}return Object.create(Object.getPrototypeOf(e),i)}(r,o),i={i:r?5:4,A:e?e.A:bi(),P:!1,I:!1,R:{},l:e,t:o,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,Mi,{value:i,writable:!0}),n},S:function(t,e,n){n?ei(e)&&e[Mi].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[Mi];if(e){var n=e.t,i=e.k,a=e.R,c=e.i;if(4===c)ni(i,(function(o){o!==Mi&&(void 0!==n[o]||ai(n,o)?a[o]||t(i[o]):(a[o]=!0,Li(e)))})),ni(n,(function(t){void 0!==i[t]||ai(i,t)||(a[t]=!1,Li(e))}));else if(5===c){if(r(e)&&(Li(e),a.length=!0),i.length<n.length)for(var l=i.length;l<n.length;l++)a[l]=!1;else for(var s=n.length;s<i.length;s++)a[s]=!0;for(var f=Math.min(i.length,n.length),u=0;u<f;u++)i.hasOwnProperty(u)||(a[u]=!0),void 0===a[u]&&t(i[u])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Ma{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,n=window.ftReduxStores[e];if(Gn(n))return n;if(null==r)return;const i=Aa({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=ka({reducer:(t,o)=>{var e;switch(o.type){case"CLEAR_FT_REDUX_STORE":return i.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(e=o.overwrites)&&void 0!==e?e:{}};default:return i.reducer(t,o)}}});return window.ftReduxStores[r.name]=new Ma(i,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Tn,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,n=t[r];return n?(...t)=>{const o=n(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}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(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var Da=Object.freeze({__proto__:null,FtCommandQueue:Tn,FtLitElementRedux:ti,FtReduxStore:Ma,clearAllStores:function(){var t;for(let o of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))Gn(o)&&o.clear()},isFtReduxStore:Gn,redux:t=>{const o=null!=t?t:{};return(t,e)=>{var r;const n={hasChanged:(t,o)=>!ae(t,o),attribute:!1,...o};xo(n)(t,e);const i=t.constructor;i.reduxProperties=new Map(i.reduxProperties),i.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}},reduxEventListener:t=>(o,e)=>{const r=o.constructor;r.reduxEventListeners=new Map(r.reduxEventListeners),r.reduxEventListeners.set(e,t)},reduxReactive:()=>(t,o)=>{var e;const r=t.constructor;r.reduxReactiveProperties=new Set(r.reduxReactiveProperties),null===(e=r.reduxReactiveProperties)||void 0===e||e.add(o)}});var $a=Object.freeze({__proto__:null,serializeRequest:function(t,o){var e;const r=new URLSearchParams({"content-lang":null!==(e=o.contentLocale)&&void 0!==e?e:"all",query:o.query});if(o.filters.length>0){const t=o.filters.map((t=>{const o=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${o}`})).join("*");r.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${r.toString()}`).href}});const Ha=Symbol("elementInternals");var Ta,Ga,Va,qa,Ya=Object.freeze({__proto__:null,toFtFormComponent:function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Ha].form}constructor(...t){super(t),this[Ha]=this.attachInternals(),this[Ha].role=o}setFormValue(t){this[Ha].setFormValue(t)}}}});const Ja=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Va=null===(Ga=null===(Ta=window.safari)||void 0===Ta?void 0:Ta.pushNotification)||void 0===Ga?void 0:Ga.toString())&&void 0!==Va?Va:""),Xa="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(qa=window.ftGlobals)&&void 0!==qa?qa:{lit:Oo,litDecorators:Co,litRepeat:Ko,litClassMap:Zo,litStyleMap:$o,litUnsafeHTML:Go,wcUtils:{...Xo,...Jo,...te,...ee,...ue,...hr,...mr,...Sn,...dr,...kn,...Fn,...ce,...Pn,...Dn,...$n,...Hn,...Da,...En,...$a,...Ya,isSafari:Ja,isTouchScreen:Xa}};const Qa={color:pe.extend("--ft-loader-color","",pr.colorPrimary),size:pe.create("--ft-loader-size","","SIZE","80px")},tc=ut`
178
+ `;var Dn=Object.freeze({__proto__:null,noTextSelect:Zn,safariEllipsisFix:Mn,wordWrap:jn}),$n=Object.freeze({__proto__:null});var Hn=Object.freeze({__proto__:null,ParametrizedLabelResolver:class{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,r;t=this.resolvePluralKey(t,o);let n=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>n=n.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),n}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}});class Tn{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter((o=>o.type!==t.type))),this.queue.push(t)}consume(t){const o=this.queue.find((o=>o.type===t));return o&&(this.queue=this.queue.filter((t=>t!==o))),o}}function Gn(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Vn,qn,Yn;const Jn=Symbol("internalReduxEventsUnsubscribers"),Xn=Symbol("internalStoresUnsubscribers"),Qn=Symbol("internalStores");class ti extends Wn{constructor(){super(...arguments),this[Vn]=new Map,this[qn]=new Map,this[Yn]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[Qn].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Qn].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Qn].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Gn(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[Qn].delete(o)}setupStore(t,o){this[Qn].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Qn].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[Xn].has(t.store):this[Xn].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Xn].set(t,o.subscribe((()=>this.updateFromStores()))),Gn(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[Jn].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Xn].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Jn].forEach((t=>t())),this[Jn]=[]}unsubscribeFromStore(t){this[Xn].has(t)&&this[Xn].get(t)(),this[Xn].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function oi(t){for(var o=arguments.length,e=Array(o>1?o-1:0),r=1;r<o;r++)e[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(e.length?" "+e.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ei(t){return!!t&&!!t[Mi]}function ri(t){var o;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;var e=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return e===Object||"function"==typeof e&&Function.toString.call(e)===Di}(t)||Array.isArray(t)||!!t[ji]||!!(null===(o=t.constructor)||void 0===o?void 0:o[ji])||si(t)||fi(t))}function ni(t,o,e){void 0===e&&(e=!1),0===ii(t)?(e?Object.keys:$i)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function ii(t){var o=t[Mi];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:si(t)?2:fi(t)?3:0}function ai(t,o){return 2===ii(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function ci(t,o,e){var r=ii(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function li(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function si(t){return _i&&t instanceof Map}function fi(t){return Ki&&t instanceof Set}function ui(t){return t.o||t.t}function di(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Hi(t);delete o[Mi];for(var e=$i(o),r=0;r<e.length;r++){var n=e[r],i=o[n];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(o[n]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),o)}function pi(t,o){return void 0===o&&(o=!1),yi(t)||ei(t)||!ri(t)||(ii(t)>1&&(t.set=t.add=t.clear=t.delete=hi),Object.freeze(t),o&&ni(t,(function(t,o){return pi(o,!0)}),!0)),t}function hi(){oi(2)}function yi(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function gi(t){var o=Ti[t];return o||oi(18,t),o}function bi(){return Ai}function mi(t,o){o&&(gi("Patches"),t.u=[],t.s=[],t.v=o)}function Oi(t){vi(t),t.p.forEach(xi),t.p=null}function vi(t){t===Ai&&(Ai=t.l)}function Si(t){return Ai={p:[],l:Ai,h:t,m:!0,_:0}}function xi(t){var o=t[Mi];0===o.i||1===o.i?o.j():o.g=!0}function wi(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||gi("ES5").S(o,t,r),r?(e[Mi].P&&(Oi(o),oi(4)),ri(t)&&(t=Ni(o,t),o.l||Ei(o,t)),o.u&&gi("Patches").M(e[Mi].t,t,o.u,o.s)):t=Ni(o,e,[]),Oi(o),o.u&&o.v(o.u,o.s),t!==Zi?t:void 0}function Ni(t,o,e){if(yi(o))return o;var r=o[Mi];if(!r)return ni(o,(function(n,i){return Ci(t,r,o,n,i,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return Ei(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var n=4===r.i||5===r.i?r.o=di(r.k):r.o,i=n,a=!1;3===r.i&&(i=new Set(n),n.clear(),a=!0),ni(i,(function(o,i){return Ci(t,r,n,o,i,e,a)})),Ei(t,n,!1),e&&t.u&&gi("Patches").N(r,e,t.u,t.s)}return r.o}function Ci(t,o,e,r,n,i,a){if(ei(n)){var c=Ni(t,n,i&&o&&3!==o.i&&!ai(o.R,r)?i.concat(r):void 0);if(ci(e,r,c),!ei(c))return;t.m=!1}else a&&e.add(n);if(ri(n)&&!yi(n)){if(!t.h.D&&t._<1)return;Ni(t,n),o&&o.A.l||Ei(t,n)}}function Ei(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&pi(o,e)}function Ri(t,o){var e=t[Mi];return(e?ui(e):t)[o]}function Ii(t,o){if(o in t)for(var e=Object.getPrototypeOf(t);e;){var r=Object.getOwnPropertyDescriptor(e,o);if(r)return r;e=Object.getPrototypeOf(e)}}function Li(t){t.P||(t.P=!0,t.l&&Li(t.l))}function Ui(t){t.o||(t.o=di(t.t))}function Wi(t,o,e){var r=si(o)?gi("MapSet").F(o,e):fi(o)?gi("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:bi(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},n=r,i=Gi;e&&(n=[r],i=Vi);var a=Proxy.revocable(n,i),c=a.revoke,l=a.proxy;return r.k=l,r.j=c,l}(o,e):gi("ES5").J(o,e);return(e?e.A:bi()).p.push(r),r}function ki(t){return ei(t)||oi(22,t),function t(o){if(!ri(o))return o;var e,r=o[Mi],n=ii(o);if(r){if(!r.P&&(r.i<4||!gi("ES5").K(r)))return r.t;r.I=!0,e=Fi(o,n),r.I=!1}else e=Fi(o,n);return ni(e,(function(o,n){r&&function(t,o){return 2===ii(t)?t.get(o):t[o]}(r.t,o)===n||ci(e,o,t(n))})),3===n?new Set(e):e}(t)}function Fi(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return di(t)}Vn=Xn,qn=Qn,Yn=Jn,ti.reduxProperties=new Map,ti.reduxReactiveProperties=new Set,ti.reduxEventListeners=new Map;var zi,Ai,Bi="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),_i="undefined"!=typeof Map,Ki="undefined"!=typeof Set,Pi="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Zi=Bi?Symbol.for("immer-nothing"):((zi={})["immer-nothing"]=!0,zi),ji=Bi?Symbol.for("immer-draftable"):"__$immer_draftable",Mi=Bi?Symbol.for("immer-state"):"__$immer_state",Di=""+Object.prototype.constructor,$i="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Hi=Object.getOwnPropertyDescriptors||function(t){var o={};return $i(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},Ti={},Gi={get:function(t,o){if(o===Mi)return t;var e=ui(t);if(!ai(e,o))return function(t,o,e){var r,n=Ii(o,e);return n?"value"in n?n.value:null===(r=n.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!ri(r)?r:r===Ri(t.t,o)?(Ui(t),t.o[o]=Wi(t.A.h,r,t)):r},has:function(t,o){return o in ui(t)},ownKeys:function(t){return Reflect.ownKeys(ui(t))},set:function(t,o,e){var r=Ii(ui(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var n=Ri(ui(t),o),i=null==n?void 0:n[Mi];if(i&&i.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(li(e,n)&&(void 0!==e||ai(t.t,o)))return!0;Ui(t),Li(t)}return t.o[o]===e&&(void 0!==e||o in t.o)||Number.isNaN(e)&&Number.isNaN(t.o[o])||(t.o[o]=e,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==Ri(t.t,o)||o in t.t?(t.R[o]=!1,Ui(t),Li(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=ui(t),r=Reflect.getOwnPropertyDescriptor(e,o);return r?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:r.enumerable,value:e[o]}:r},defineProperty:function(){oi(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){oi(12)}},Vi={};ni(Gi,(function(t,o){Vi[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),Vi.deleteProperty=function(t,o){return Vi.set.call(this,t,o,void 0)},Vi.set=function(t,o,e){return Gi.set.call(this,t[0],o,e,t[0])};var qi=function(){function t(t){var o=this;this.O=Pi,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var n=e;e=t;var i=o;return function(t){var o=this;void 0===t&&(t=n);for(var r=arguments.length,a=Array(r>1?r-1:0),c=1;c<r;c++)a[c-1]=arguments[c];return i.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&oi(6),void 0!==r&&"function"!=typeof r&&oi(7),ri(t)){var c=Si(o),l=Wi(o,t,void 0),s=!0;try{a=e(l),s=!1}finally{s?Oi(c):vi(c)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return mi(c,r),wi(t,c)}),(function(t){throw Oi(c),t})):(mi(c,r),wi(a,c))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Zi&&(a=void 0),o.D&&pi(a,!0),r){var f=[],u=[];gi("Patches").M(t,a,f,u),r(f,u)}return a}oi(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(n))}))};var r,n,i=o.produce(t,e,(function(t,o){r=t,n=o}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(t){return[t,r,n]})):[i,r,n]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var o=t.prototype;return o.createDraft=function(t){ri(t)||oi(8),ei(t)&&(t=ki(t));var o=Si(this),e=Wi(this,t,void 0);return e[Mi].C=!0,vi(o),e},o.finishDraft=function(t,o){var e=(t&&t[Mi]).A;return mi(e,o),wi(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Pi&&oi(20),this.O=t},o.applyPatches=function(t,o){var e;for(e=o.length-1;e>=0;e--){var r=o[e];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}e>-1&&(o=o.slice(e+1));var n=gi("Patches").$;return ei(t)?n(t,o):this.produce(t,(function(t){return n(t,o)}))},t}(),Yi=new qi,Ji=Yi.produce;function Xi(t){return Xi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xi(t)}function Qi(t){var o=function(t,o){if("object"!==Xi(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==Xi(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===Xi(o)?o:String(o)}function ta(t,o,e){return(o=Qi(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function oa(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,r)}return e}function ea(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?oa(Object(e),!0).forEach((function(o){ta(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):oa(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function ra(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. "}Yi.produceWithPatches.bind(Yi),Yi.setAutoFreeze.bind(Yi),Yi.setUseProxies.bind(Yi),Yi.applyPatches.bind(Yi),Yi.createDraft.bind(Yi),Yi.finishDraft.bind(Yi);var na="function"==typeof Symbol&&Symbol.observable||"@@observable",ia=function(){return Math.random().toString(36).substring(7).split("").join(".")},aa={INIT:"@@redux/INIT"+ia(),REPLACE:"@@redux/REPLACE"+ia(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ia()}};function ca(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(ra(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(ra(1));return e(ca)(t,o)}if("function"!=typeof t)throw new Error(ra(2));var n=t,i=o,a=[],c=a,l=!1;function s(){c===a&&(c=a.slice())}function f(){if(l)throw new Error(ra(3));return i}function u(t){if("function"!=typeof t)throw new Error(ra(4));if(l)throw new Error(ra(5));var o=!0;return s(),c.push(t),function(){if(o){if(l)throw new Error(ra(6));o=!1,s();var e=c.indexOf(t);c.splice(e,1),a=null}}}function d(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(ra(7));if(void 0===t.type)throw new Error(ra(8));if(l)throw new Error(ra(9));try{l=!0,i=n(i,t)}finally{l=!1}for(var o=a=c,e=0;e<o.length;e++){(0,o[e])()}return t}return d({type:aa.INIT}),(r={dispatch:d,subscribe:u,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(ra(10));n=t,d({type:aa.REPLACE})}})[na]=function(){var t,o=u;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(ra(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[na]=function(){return this},t},r}function la(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var n=o[r];"function"==typeof t[n]&&(e[n]=t[n])}var i,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:aa.INIT}))throw new Error(ra(12));if(void 0===e(void 0,{type:aa.PROBE_UNKNOWN_ACTION()}))throw new Error(ra(13))}))}(e)}catch(t){i=t}return function(t,o){if(void 0===t&&(t={}),i)throw i;for(var r=!1,n={},c=0;c<a.length;c++){var l=a[c],s=e[l],f=t[l],u=s(f,o);if(void 0===u)throw o&&o.type,new Error(ra(14));n[l]=u,r=r||u!==f}return(r=r||a.length!==Object.keys(t).length)?n:t}}function sa(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function fa(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return function(t){return function(){var e=t.apply(void 0,arguments),r=function(){throw new Error(ra(15))},n={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=o.map((function(t){return t(n)}));return r=sa.apply(void 0,i)(e.dispatch),ea(ea({},e),{},{dispatch:r})}}}function ua(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(n){return"function"==typeof n?n(e,r,t):o(n)}}}}var da=ua();da.withExtraArgument=ua;var pa,ha=da,ya=(pa=function(t,o){return pa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])},pa(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}pa(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),ga=function(t,o){var e,r,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(n=2&i[0]?r.return:i[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,i[1])).done)return n;switch(r=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=o.call(t,a)}catch(t){i=[6,t],r=0}finally{e=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}},ba=function(t,o){for(var e=0,r=o.length,n=t.length;e<r;e++,n++)t[n]=o[e];return t},ma=Object.defineProperty,Oa=Object.defineProperties,va=Object.getOwnPropertyDescriptors,Sa=Object.getOwnPropertySymbols,xa=Object.prototype.hasOwnProperty,wa=Object.prototype.propertyIsEnumerable,Na=function(t,o,e){return o in t?ma(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},Ca=function(t,o){for(var e in o||(o={}))xa.call(o,e)&&Na(t,e,o[e]);if(Sa)for(var r=0,n=Sa(o);r<n.length;r++){e=n[r];wa.call(o,e)&&Na(t,e,o[e])}return t},Ea=function(t,o){return Oa(t,va(o))},Ra="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?sa:sa.apply(null,arguments)};var Ia=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=t.apply(this,e)||this;return Object.setPrototypeOf(n,o.prototype),n}return ya(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,ba([void 0],t[0].concat(this)))):new(o.bind.apply(o,ba([void 0],t.concat(this))))},o}(Array),La=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=t.apply(this,e)||this;return Object.setPrototypeOf(n,o.prototype),n}return ya(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,ba([void 0],t[0].concat(this)))):new(o.bind.apply(o,ba([void 0],t.concat(this))))},o}(Array);function Ua(t){return ri(t)?Ji(t,(function(){})):t}function Wa(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,e=void 0===o||o;t.immutableCheck,t.serializableCheck;var r=new Ia;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(ha.withExtraArgument(e.extraArgument)):r.push(ha));return r}(t)}}function ka(t){var o,e=Wa(),r=t||{},n=r.reducer,i=void 0===n?void 0:n,a=r.middleware,c=void 0===a?e():a,l=r.devTools,s=void 0===l||l,f=r.preloadedState,u=void 0===f?void 0:f,d=r.enhancers,p=void 0===d?void 0:d;if("function"==typeof i)o=i;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var e=o;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return o===e}(i))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');o=la(i)}var h=c;"function"==typeof h&&(h=h(e));var y=fa.apply(void 0,h),g=sa;s&&(g=Ra(Ca({trace:!1},"object"==typeof s&&s)));var b=new La(y),m=b;return Array.isArray(p)?m=ba([y],p):"function"==typeof p&&(m=p(b)),ca(o,u,g.apply(void 0,m))}function Fa(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var n=o.apply(void 0,e);if(!n)throw new Error("prepareAction did not return an object");return Ca(Ca({type:t,payload:n.payload},"meta"in n&&{meta:n.meta}),"error"in n&&{error:n.error})}return{type:t,payload:e[0]}}return e.toString=function(){return""+t},e.type=t,e.match=function(o){return o.type===t},e}function za(t){var o,e={},r=[],n={addCase:function(t,o){var r="string"==typeof t?t:t.type;if(r in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[r]=o,n},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),n},addDefaultCase:function(t){return o=t,n}};return t(n),[e,r,o]}function Aa(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var e,r="function"==typeof t.initialState?t.initialState:Ua(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},c={},l={};function s(){var o="function"==typeof t.extraReducers?za(t.extraReducers):[t.extraReducers],e=o[0],n=void 0===e?{}:e,i=o[1],a=void 0===i?[]:i,l=o[2],s=void 0===l?void 0:l,f=Ca(Ca({},n),c);return function(t,o,e,r){void 0===e&&(e=[]);var n,i="function"==typeof o?za(o):[o,e,r],a=i[0],c=i[1],l=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return Ua(t())};else{var s=Ua(t);n=function(){return s}}function f(t,o){void 0===t&&(t=n());var e=ba([a[o.type]],c.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[l]),e.reduce((function(t,e){if(e){var r;if(ei(t))return void 0===(r=e(t,o))?t:r;if(ri(t))return Ji(t,(function(t){return e(t,o)}));if(void 0===(r=e(t,o))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=n,f}(r,(function(t){for(var o in f)t.addCase(o,f[o]);for(var e=0,r=a;e<r.length;e++){var n=r[e];t.addMatcher(n.matcher,n.reducer)}s&&t.addDefaultCase(s)}))}return i.forEach((function(t){var e,r,i=n[t],s=o+"/"+t;"reducer"in i?(e=i.reducer,r=i.prepare):e=i,a[t]=e,c[s]=e,l[t]=r?Fa(s,r):Fa(s)})),{name:o,reducer:function(t,o){return e||(e=s()),e(t,o)},actions:l,caseReducers:a,getInitialState:function(){return e||(e=s()),e.getInitialState()}}}var Ba=["name","message","stack","code"],_a=function(t,o){this.payload=t,this.meta=o},Ka=function(t,o){this.payload=t,this.meta=o},Pa=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Ba;e<r.length;e++){var n=r[e];"string"==typeof t[n]&&(o[n]=t[n])}return o}return{message:String(t)}};function Za(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,e){var r=Fa(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:Ea(Ca({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),n=Fa(t+"/pending",(function(t,o,e){return{payload:void 0,meta:Ea(Ca({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),i=Fa(t+"/rejected",(function(t,o,r,n,i){return{payload:n,error:(e&&e.serializeError||Pa)(t||"Rejected"),meta:Ea(Ca({},i||{}),{arg:r,requestId:o,rejectedWithValue:!!n,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(c,l,s){var f,u=(null==e?void 0:e.idGenerator)?e.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",e=t;e--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),d=new a;function p(t){f=t,d.abort()}var h=function(){return a=this,h=null,y=function(){var a,h,y,g,b,m;return ga(this,(function(O){switch(O.label){case 0:return O.trys.push([0,4,,5]),g=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:l,extra:s}),null===(v=g)||"object"!=typeof v||"function"!=typeof v.then?[3,2]:[4,g];case 1:g=O.sent(),O.label=2;case 2:if(!1===g||d.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return d.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),c(n(u,t,null==(h=null==e?void 0:e.getPendingMeta)?void 0:h.call(e,{requestId:u,arg:t},{getState:l,extra:s}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:c,getState:l,extra:s,requestId:u,signal:d.signal,abort:p,rejectWithValue:function(t,o){return new _a(t,o)},fulfillWithValue:function(t,o){return new Ka(t,o)}})).then((function(o){if(o instanceof _a)throw o;return o instanceof Ka?r(o.payload,u,t,o.meta):r(o,u,t)}))])];case 3:return y=O.sent(),[3,5];case 4:return m=O.sent(),y=m instanceof _a?i(null,u,t,m.payload,m.meta):i(m,u,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&i.match(y)&&y.meta.condition||c(y),[2,y]}var v}))},new Promise((function(t,o){var e=function(t){try{n(y.next(t))}catch(t){o(t)}},r=function(t){try{n(y.throw(t))}catch(t){o(t)}},n=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};n((y=y.apply(a,h)).next())}));var a,h,y}();return Object.assign(h,{abort:p,requestId:u,arg:t,unwrap:function(){return h.then(Za)}})}}),{pending:n,rejected:i,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var ja="listenerMiddleware";Fa(ja+"/add"),Fa(ja+"/removeAll"),Fa(ja+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=n[t];return e?e.enumerable=o:n[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[Mi];return Gi.get(o,t)},set:function(o){var e=this[Mi];Gi.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var n=t[o][Mi];if(!n.P)switch(n.i){case 5:r(n)&&Li(n);break;case 4:e(n)&&Li(n)}}}function e(t){for(var o=t.t,e=t.k,r=$i(e),n=r.length-1;n>=0;n--){var i=r[n];if(i!==Mi){var a=o[i];if(void 0===a&&!ai(o,i))return!0;var c=e[i],l=c&&c[Mi];if(l?l.t!==a:!li(c,a))return!0}}var s=!!o[Mi];return r.length!==$i(o).length+(s?0:1)}function r(t){var o=t.k;if(o.length!==t.t.length)return!0;var e=Object.getOwnPropertyDescriptor(o,o.length-1);if(e&&!e.get)return!0;for(var r=0;r<o.length;r++)if(!o.hasOwnProperty(r))return!0;return!1}var n={};!function(t,o){Ti[t]||(Ti[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),n=function(o,e){if(o){for(var r=Array(e.length),n=0;n<e.length;n++)Object.defineProperty(r,""+n,t(n,!0));return r}var i=Hi(e);delete i[Mi];for(var a=$i(i),c=0;c<a.length;c++){var l=a[c];i[l]=t(l,o||!!i[l].enumerable)}return Object.create(Object.getPrototypeOf(e),i)}(r,o),i={i:r?5:4,A:e?e.A:bi(),P:!1,I:!1,R:{},l:e,t:o,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,Mi,{value:i,writable:!0}),n},S:function(t,e,n){n?ei(e)&&e[Mi].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[Mi];if(e){var n=e.t,i=e.k,a=e.R,c=e.i;if(4===c)ni(i,(function(o){o!==Mi&&(void 0!==n[o]||ai(n,o)?a[o]||t(i[o]):(a[o]=!0,Li(e)))})),ni(n,(function(t){void 0!==i[t]||ai(i,t)||(a[t]=!1,Li(e))}));else if(5===c){if(r(e)&&(Li(e),a.length=!0),i.length<n.length)for(var l=i.length;l<n.length;l++)a[l]=!1;else for(var s=n.length;s<i.length;s++)a[s]=!0;for(var f=Math.min(i.length,n.length),u=0;u<f;u++)i.hasOwnProperty(u)||(a[u]=!0),void 0===a[u]&&t(i[u])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Ma{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,n=window.ftReduxStores[e];if(Gn(n))return n;if(null==r)return;const i=Aa({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=ka({reducer:(t,o)=>"CLEAR_FT_REDUX_STORE"===o.type?i.getInitialState():"string"==typeof o.type&&o.type.startsWith("DEFAULT_VALUE_SETTER__")?{...t,...o.overwrites}:i.reducer(t,o)});return window.ftReduxStores[r.name]=new Ma(i,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Tn,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,n=t[r];return n?(...t)=>{const o=n(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}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(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var Da=Object.freeze({__proto__:null,FtCommandQueue:Tn,FtLitElementRedux:ti,FtReduxStore:Ma,clearAllStores:function(){var t;for(let o of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))Gn(o)&&o.clear()},isFtReduxStore:Gn,redux:t=>{const o=null!=t?t:{};return(t,e)=>{var r;const n={hasChanged:(t,o)=>!ae(t,o),attribute:!1,...o};xo(n)(t,e);const i=t.constructor;i.reduxProperties=new Map(i.reduxProperties),i.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}},reduxEventListener:t=>(o,e)=>{const r=o.constructor;r.reduxEventListeners=new Map(r.reduxEventListeners),r.reduxEventListeners.set(e,t)},reduxReactive:()=>(t,o)=>{var e;const r=t.constructor;r.reduxReactiveProperties=new Set(r.reduxReactiveProperties),null===(e=r.reduxReactiveProperties)||void 0===e||e.add(o)}});var $a=Object.freeze({__proto__:null,serializeRequest:function(t,o){var e;const r=new URLSearchParams({"content-lang":null!==(e=o.contentLocale)&&void 0!==e?e:"all",query:o.query});if(o.filters.length>0){const t=o.filters.map((t=>{const o=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${o}`})).join("*");r.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${r.toString()}`).href}});const Ha=Symbol("elementInternals");var Ta,Ga,Va,qa,Ya=Object.freeze({__proto__:null,toFtFormComponent:function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Ha].form}constructor(...t){super(t),this[Ha]=this.attachInternals(),this[Ha].role=o}setFormValue(t){this[Ha].setFormValue(t)}}}});const Ja=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Va=null===(Ga=null===(Ta=window.safari)||void 0===Ta?void 0:Ta.pushNotification)||void 0===Ga?void 0:Ga.toString())&&void 0!==Va?Va:""),Xa="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(qa=window.ftGlobals)&&void 0!==qa?qa:{lit:Oo,litDecorators:Co,litRepeat:Ko,litClassMap:Zo,litStyleMap:$o,litUnsafeHTML:Go,wcUtils:{...Xo,...Jo,...te,...ee,...ue,...hr,...mr,...Sn,...dr,...kn,...Fn,...ce,...Pn,...Dn,...$n,...Hn,...Da,...En,...$a,...Ya,isSafari:Ja,isTouchScreen:Xa}};const Qa={color:pe.extend("--ft-loader-color","",pr.colorPrimary),size:pe.create("--ft-loader-size","","SIZE","80px")},tc=ut`
179
179
  :host {
180
180
  line-height: 0;
181
181
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-loader",
3
- "version": "1.1.44",
3
+ "version": "1.1.46",
4
4
  "description": "A fluid-topics loader component",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,8 +19,8 @@
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.44",
22
+ "@fluid-topics/ft-wc-utils": "1.1.46",
23
23
  "lit": "3.1.0"
24
24
  },
25
- "gitHead": "338d6b90cd29912af999509fb4d399e13a93e54d"
25
+ "gitHead": "023f346e70fcbd9980c41b0c7ede0c199ca699bc"
26
26
  }