@fluid-topics/ft-search-bar 1.1.45 → 1.1.47
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.
- package/build/ft-search-bar.min.js +1 -1
- package/package.json +16 -16
|
@@ -172,7 +172,7 @@ function Ie(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=$
|
|
|
172
172
|
display: inline-block;
|
|
173
173
|
width: 0;
|
|
174
174
|
}
|
|
175
|
-
`;var Qr=Object.freeze({__proto__:null,noTextSelect:Yr,safariEllipsisFix:Xr,wordWrap:Jr}),tn=Object.freeze({__proto__:null});class en{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,i;t=this.resolvePluralKey(t,e);let r=null!==(i=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==i?i:"";return e.forEach(((t,e)=>r=r.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),r}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}var on=Object.freeze({__proto__:null,ParametrizedLabelResolver:en});class rn{constructor(){this.queue=[]}add(t,e=!1){e&&(this.queue=this.queue.filter((e=>e.type!==t.type))),this.queue.push(t)}consume(t){const e=this.queue.find((e=>e.type===t));return e&&(this.queue=this.queue.filter((t=>t!==e))),e}}function nn(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var an,sn,ln;const cn=Symbol("internalReduxEventsUnsubscribers"),hn=Symbol("internalStoresUnsubscribers"),fn=Symbol("internalStores");class pn extends Mr{constructor(){super(...arguments),this[an]=new Map,this[sn]=new Map,this[ln]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[fn].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[fn].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[fn].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:nn(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[fn].delete(e)}setupStore(t,e){this[fn].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[fn].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[hn].has(t.store):this[hn].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[hn].set(t,e.subscribe((()=>this.updateFromStores()))),nn(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const i=t=>this[o](t);e.eventBus.addEventListener(t.eventName,i),this[cn].push((()=>e.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[hn].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[cn].forEach((t=>t())),this[cn]=[]}unsubscribeFromStore(t){this[hn].has(t)&&this[hn].get(t)(),this[hn].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function dn(t){for(var e=arguments.length,o=Array(e>1?e-1:0),i=1;i<e;i++)o[i-1]=arguments[i];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function un(t){return!!t&&!!t[ta]}function bn(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===ea}(t)||Array.isArray(t)||!!t[Qn]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Qn])||wn(t)||On(t))}function gn(t,e,o){void 0===o&&(o=!1),0===yn(t)?(o?Object.keys:oa)(t).forEach((function(i){o&&"symbol"==typeof i||e(i,t[i],t)})):t.forEach((function(o,i){return e(i,o,t)}))}function yn(t){var e=t[ta];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:wn(t)?2:On(t)?3:0}function mn(t,e){return 2===yn(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function vn(t,e,o){var i=yn(t);2===i?t.set(e,o):3===i?t.add(o):t[e]=o}function xn(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function wn(t){return qn&&t instanceof Map}function On(t){return Yn&&t instanceof Set}function Sn(t){return t.o||t.t}function $n(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=ia(t);delete e[ta];for(var o=oa(e),i=0;i<o.length;i++){var r=o[i],n=e[r];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[r]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[r]})}return Object.create(Object.getPrototypeOf(t),e)}function Cn(t,e){return void 0===e&&(e=!1),kn(t)||un(t)||!bn(t)||(yn(t)>1&&(t.set=t.add=t.clear=t.delete=Nn),Object.freeze(t),e&&gn(t,(function(t,e){return Cn(e,!0)}),!0)),t}function Nn(){dn(2)}function kn(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function En(t){var e=ra[t];return e||dn(18,t),e}function In(){return Vn}function Rn(t,e){e&&(En("Patches"),t.u=[],t.s=[],t.v=e)}function Ln(t){zn(t),t.p.forEach(Wn),t.p=null}function zn(t){t===Vn&&(Vn=t.l)}function Un(t){return Vn={p:[],l:Vn,h:t,m:!0,_:0}}function Wn(t){var e=t[ta];0===e.i||1===e.i?e.j():e.g=!0}function Bn(t,e){e._=e.p.length;var o=e.p[0],i=void 0!==t&&t!==o;return e.h.O||En("ES5").S(e,t,i),i?(o[ta].P&&(Ln(e),dn(4)),bn(t)&&(t=Fn(e,t),e.l||jn(e,t)),e.u&&En("Patches").M(o[ta].t,t,e.u,e.s)):t=Fn(e,o,[]),Ln(e),e.u&&e.v(e.u,e.s),t!==Xn?t:void 0}function Fn(t,e,o){if(kn(e))return e;var i=e[ta];if(!i)return gn(e,(function(r,n){return An(t,i,e,r,n,o)}),!0),e;if(i.A!==t)return e;if(!i.P)return jn(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var r=4===i.i||5===i.i?i.o=$n(i.k):i.o,n=r,a=!1;3===i.i&&(n=new Set(r),r.clear(),a=!0),gn(n,(function(e,n){return An(t,i,r,e,n,o,a)})),jn(t,r,!1),o&&t.u&&En("Patches").N(i,o,t.u,t.s)}return i.o}function An(t,e,o,i,r,n,a){if(un(r)){var s=Fn(t,r,n&&e&&3!==e.i&&!mn(e.R,i)?n.concat(i):void 0);if(vn(o,i,s),!un(s))return;t.m=!1}else a&&o.add(r);if(bn(r)&&!kn(r)){if(!t.h.D&&t._<1)return;Fn(t,r),e&&e.A.l||jn(t,r)}}function jn(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&Cn(e,o)}function Dn(t,e){var o=t[ta];return(o?Sn(o):t)[e]}function Pn(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var i=Object.getOwnPropertyDescriptor(o,e);if(i)return i;o=Object.getPrototypeOf(o)}}function Mn(t){t.P||(t.P=!0,t.l&&Mn(t.l))}function Zn(t){t.o||(t.o=$n(t.t))}function _n(t,e,o){var i=wn(e)?En("MapSet").F(e,o):On(e)?En("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),i={i:o?1:0,A:e?e.A:In(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},r=i,n=na;o&&(r=[i],n=aa);var a=Proxy.revocable(r,n),s=a.revoke,l=a.proxy;return i.k=l,i.j=s,l}(e,o):En("ES5").J(e,o);return(o?o.A:In()).p.push(i),i}function Kn(t){return un(t)||dn(22,t),function t(e){if(!bn(e))return e;var o,i=e[ta],r=yn(e);if(i){if(!i.P&&(i.i<4||!En("ES5").K(i)))return i.t;i.I=!0,o=Hn(e,r),i.I=!1}else o=Hn(e,r);return gn(o,(function(e,r){i&&function(t,e){return 2===yn(t)?t.get(e):t[e]}(i.t,e)===r||vn(o,e,t(r))})),3===r?new Set(o):o}(t)}function Hn(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return $n(t)}an=hn,sn=fn,ln=cn,pn.reduxProperties=new Map,pn.reduxReactiveProperties=new Set,pn.reduxEventListeners=new Map;var Tn,Vn,Gn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),qn="undefined"!=typeof Map,Yn="undefined"!=typeof Set,Jn="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Xn=Gn?Symbol.for("immer-nothing"):((Tn={})["immer-nothing"]=!0,Tn),Qn=Gn?Symbol.for("immer-draftable"):"__$immer_draftable",ta=Gn?Symbol.for("immer-state"):"__$immer_state",ea=""+Object.prototype.constructor,oa="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,ia=Object.getOwnPropertyDescriptors||function(t){var e={};return oa(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},ra={},na={get:function(t,e){if(e===ta)return t;var o=Sn(t);if(!mn(o,e))return function(t,e,o){var i,r=Pn(e,o);return r?"value"in r?r.value:null===(i=r.get)||void 0===i?void 0:i.call(t.k):void 0}(t,o,e);var i=o[e];return t.I||!bn(i)?i:i===Dn(t.t,e)?(Zn(t),t.o[e]=_n(t.A.h,i,t)):i},has:function(t,e){return e in Sn(t)},ownKeys:function(t){return Reflect.ownKeys(Sn(t))},set:function(t,e,o){var i=Pn(Sn(t),e);if(null==i?void 0:i.set)return i.set.call(t.k,o),!0;if(!t.P){var r=Dn(Sn(t),e),n=null==r?void 0:r[ta];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(xn(o,r)&&(void 0!==o||mn(t.t,e)))return!0;Zn(t),Mn(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==Dn(t.t,e)||e in t.t?(t.R[e]=!1,Zn(t),Mn(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=Sn(t),i=Reflect.getOwnPropertyDescriptor(o,e);return i?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:i.enumerable,value:o[e]}:i},defineProperty:function(){dn(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){dn(12)}},aa={};gn(na,(function(t,e){aa[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),aa.deleteProperty=function(t,e){return aa.set.call(this,t,e,void 0)},aa.set=function(t,e,o){return na.set.call(this,t[0],e,o,t[0])};var sa=function(){function t(t){var e=this;this.O=Jn,this.D=!0,this.produce=function(t,o,i){if("function"==typeof t&&"function"!=typeof o){var r=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=r);for(var i=arguments.length,a=Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var i;return(i=o).call.apply(i,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&dn(6),void 0!==i&&"function"!=typeof i&&dn(7),bn(t)){var s=Un(e),l=_n(e,t,void 0),c=!0;try{a=o(l),c=!1}finally{c?Ln(s):zn(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return Rn(s,i),Bn(t,s)}),(function(t){throw Ln(s),t})):(Rn(s,i),Bn(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===Xn&&(a=void 0),e.D&&Cn(a,!0),i){var h=[],f=[];En("Patches").M(t,a,h,f),i(h,f)}return a}dn(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var i=arguments.length,r=Array(i>1?i-1:0),n=1;n<i;n++)r[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(r))}))};var i,r,n=e.produce(t,o,(function(t,e){i=t,r=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,i,r]})):[n,i,r]},"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 e=t.prototype;return e.createDraft=function(t){bn(t)||dn(8),un(t)&&(t=Kn(t));var e=Un(this),o=_n(this,t,void 0);return o[ta].C=!0,zn(e),o},e.finishDraft=function(t,e){var o=(t&&t[ta]).A;return Rn(o,e),Bn(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Jn&&dn(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var i=e[o];if(0===i.path.length&&"replace"===i.op){t=i.value;break}}o>-1&&(e=e.slice(o+1));var r=En("Patches").$;return un(t)?r(t,e):this.produce(t,(function(t){return r(t,e)}))},t}(),la=new sa,ca=la.produce;function ha(t){return ha="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},ha(t)}function fa(t){var e=function(t,e){if("object"!==ha(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!==ha(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===ha(e)?e:String(e)}function pa(t,e,o){return(e=fa(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function da(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,i)}return o}function ua(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?da(Object(o),!0).forEach((function(e){pa(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):da(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function ba(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. "}la.produceWithPatches.bind(la),la.setAutoFreeze.bind(la),la.setUseProxies.bind(la),la.applyPatches.bind(la),la.createDraft.bind(la),la.finishDraft.bind(la);var ga="function"==typeof Symbol&&Symbol.observable||"@@observable",ya=function(){return Math.random().toString(36).substring(7).split("").join(".")},ma={INIT:"@@redux/INIT"+ya(),REPLACE:"@@redux/REPLACE"+ya(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ya()}};function va(t,e,o){var i;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(ba(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(ba(1));return o(va)(t,e)}if("function"!=typeof t)throw new Error(ba(2));var r=t,n=e,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function h(){if(l)throw new Error(ba(3));return n}function f(t){if("function"!=typeof t)throw new Error(ba(4));if(l)throw new Error(ba(5));var e=!0;return c(),s.push(t),function(){if(e){if(l)throw new Error(ba(6));e=!1,c();var o=s.indexOf(t);s.splice(o,1),a=null}}}function p(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(ba(7));if(void 0===t.type)throw new Error(ba(8));if(l)throw new Error(ba(9));try{l=!0,n=r(n,t)}finally{l=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return p({type:ma.INIT}),(i={dispatch:p,subscribe:f,getState:h,replaceReducer:function(t){if("function"!=typeof t)throw new Error(ba(10));r=t,p({type:ma.REPLACE})}})[ga]=function(){var t,e=f;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(ba(11));function o(){t.next&&t.next(h())}return o(),{unsubscribe:e(o)}}})[ga]=function(){return this},t},i}function xa(t){for(var e=Object.keys(t),o={},i=0;i<e.length;i++){var r=e[i];"function"==typeof t[r]&&(o[r]=t[r])}var n,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:ma.INIT}))throw new Error(ba(12));if(void 0===o(void 0,{type:ma.PROBE_UNKNOWN_ACTION()}))throw new Error(ba(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var i=!1,r={},s=0;s<a.length;s++){var l=a[s],c=o[l],h=t[l],f=c(h,e);if(void 0===f)throw e&&e.type,new Error(ba(14));r[l]=f,i=i||f!==h}return(i=i||a.length!==Object.keys(t).length)?r:t}}function wa(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function Oa(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),i=function(){throw new Error(ba(15))},r={getState:o.getState,dispatch:function(){return i.apply(void 0,arguments)}},n=e.map((function(t){return t(r)}));return i=wa.apply(void 0,n)(o.dispatch),ua(ua({},o),{},{dispatch:i})}}}function Sa(t){return function(e){var o=e.dispatch,i=e.getState;return function(e){return function(r){return"function"==typeof r?r(o,i,t):e(r)}}}}var $a=Sa();$a.withExtraArgument=Sa;var Ca,Na=$a,ka=(Ca=function(t,e){return Ca=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},Ca(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}Ca(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),Ea=function(t,e){var o,i,r,n,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,i&&(r=2&n[0]?i.return:n[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,n[1])).done)return r;switch(i=0,r&&(n=[2&n[0],r.value]),n[0]){case 0:case 1:r=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,i=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]<r[3])){a.label=n[1];break}if(6===n[0]&&a.label<r[1]){a.label=r[1],r=n;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(n);break}r[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],i=0}finally{o=r=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},Ia=function(t,e){for(var o=0,i=e.length,r=t.length;o<i;o++,r++)t[r]=e[o];return t},Ra=Object.defineProperty,La=Object.defineProperties,za=Object.getOwnPropertyDescriptors,Ua=Object.getOwnPropertySymbols,Wa=Object.prototype.hasOwnProperty,Ba=Object.prototype.propertyIsEnumerable,Fa=function(t,e,o){return e in t?Ra(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Aa=function(t,e){for(var o in e||(e={}))Wa.call(e,o)&&Fa(t,o,e[o]);if(Ua)for(var i=0,r=Ua(e);i<r.length;i++){o=r[i];Ba.call(e,o)&&Fa(t,o,e[o])}return t},ja=function(t,e){return La(t,za(e))},Da="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?wa:wa.apply(null,arguments)};var Pa=function(t){function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var r=t.apply(this,o)||this;return Object.setPrototypeOf(r,e.prototype),r}return ka(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,Ia([void 0],t[0].concat(this)))):new(e.bind.apply(e,Ia([void 0],t.concat(this))))},e}(Array),Ma=function(t){function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var r=t.apply(this,o)||this;return Object.setPrototypeOf(r,e.prototype),r}return ka(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,Ia([void 0],t[0].concat(this)))):new(e.bind.apply(e,Ia([void 0],t.concat(this))))},e}(Array);function Za(t){return bn(t)?ca(t,(function(){})):t}function _a(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var i=new Pa;o&&(!function(t){return"boolean"==typeof t}(o)?i.push(Na.withExtraArgument(o.extraArgument)):i.push(Na));return i}(t)}}function Ka(t){var e,o=_a(),i=t||{},r=i.reducer,n=void 0===r?void 0:r,a=i.middleware,s=void 0===a?o():a,l=i.devTools,c=void 0===l||l,h=i.preloadedState,f=void 0===h?void 0:h,p=i.enhancers,d=void 0===p?void 0:p;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=xa(n)}var u=s;"function"==typeof u&&(u=u(o));var b=Oa.apply(void 0,u),g=wa;c&&(g=Da(Aa({trace:!1},"object"==typeof c&&c)));var y=new Ma(b),m=y;return Array.isArray(d)?m=Ia([b],d):"function"==typeof d&&(m=d(y)),va(e,f,g.apply(void 0,m))}function Ha(t,e){function o(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];if(e){var r=e.apply(void 0,o);if(!r)throw new Error("prepareAction did not return an object");return Aa(Aa({type:t,payload:r.payload},"meta"in r&&{meta:r.meta}),"error"in r&&{error:r.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Ta(t){var e,o={},i=[],r={addCase:function(t,e){var i="string"==typeof t?t:t.type;if(i in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[i]=e,r},addMatcher:function(t,e){return i.push({matcher:t,reducer:e}),r},addDefaultCase:function(t){return e=t,r}};return t(r),[o,i,e]}function Va(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,i="function"==typeof t.initialState?t.initialState:Za(t.initialState),r=t.reducers||{},n=Object.keys(r),a={},s={},l={};function c(){var e="function"==typeof t.extraReducers?Ta(t.extraReducers):[t.extraReducers],o=e[0],r=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,l=e[2],c=void 0===l?void 0:l,h=Aa(Aa({},r),s);return function(t,e,o,i){void 0===o&&(o=[]);var r,n="function"==typeof e?Ta(e):[e,o,i],a=n[0],s=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))r=function(){return Za(t())};else{var c=Za(t);r=function(){return c}}function h(t,e){void 0===t&&(t=r());var o=Ia([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[l]),o.reduce((function(t,o){if(o){var i;if(un(t))return void 0===(i=o(t,e))?t:i;if(bn(t))return ca(t,(function(t){return o(t,e)}));if(void 0===(i=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return i}return t}),t)}return h.getInitialState=r,h}(i,(function(t){for(var e in h)t.addCase(e,h[e]);for(var o=0,i=a;o<i.length;o++){var r=i[o];t.addMatcher(r.matcher,r.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var o,i,n=r[t],c=e+"/"+t;"reducer"in n?(o=n.reducer,i=n.prepare):o=n,a[t]=o,s[c]=o,l[t]=i?Ha(c,i):Ha(c)})),{name:e,reducer:function(t,e){return o||(o=c()),o(t,e)},actions:l,caseReducers:a,getInitialState:function(){return o||(o=c()),o.getInitialState()}}}var Ga=["name","message","stack","code"],qa=function(t,e){this.payload=t,this.meta=e},Ya=function(t,e){this.payload=t,this.meta=e},Ja=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,i=Ga;o<i.length;o++){var r=i[o];"string"==typeof t[r]&&(e[r]=t[r])}return e}return{message:String(t)}};function Xa(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var i=Ha(t+"/fulfilled",(function(t,e,o,i){return{payload:t,meta:ja(Aa({},i||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),r=Ha(t+"/pending",(function(t,e,o){return{payload:void 0,meta:ja(Aa({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Ha(t+"/rejected",(function(t,e,i,r,n){return{payload:r,error:(o&&o.serializeError||Ja)(t||"Rejected"),meta:ja(Aa({},n||{}),{arg:i,requestId:e,rejectedWithValue:!!r,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(s,l,c){var h,f=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),p=new a;function d(t){h=t,p.abort()}var u=function(){return a=this,u=null,b=function(){var a,u,b,g,y,m;return Ea(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:l,extra:c}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return y=new Promise((function(t,e){return p.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:h||"Aborted"})}))})),s(r(f,t,null==(u=null==o?void 0:o.getPendingMeta)?void 0:u.call(o,{requestId:f,arg:t},{getState:l,extra:c}))),[4,Promise.race([y,Promise.resolve(e(t,{dispatch:s,getState:l,extra:c,requestId:f,signal:p.signal,abort:d,rejectWithValue:function(t,e){return new qa(t,e)},fulfillWithValue:function(t,e){return new Ya(t,e)}})).then((function(e){if(e instanceof qa)throw e;return e instanceof Ya?i(e.payload,f,t,e.meta):i(e,f,t)}))])];case 3:return b=v.sent(),[3,5];case 4:return m=v.sent(),b=m instanceof qa?n(null,f,t,m.payload,m.meta):n(m,f,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(b)&&b.meta.condition||s(b),[2,b]}var x}))},new Promise((function(t,e){var o=function(t){try{r(b.next(t))}catch(t){e(t)}},i=function(t){try{r(b.throw(t))}catch(t){e(t)}},r=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,i)};r((b=b.apply(a,u)).next())}));var a,u,b}();return Object.assign(u,{abort:d,requestId:f,arg:t,unwrap:function(){return u.then(Xa)}})}}),{pending:r,rejected:n,fulfilled:i,typePrefix:t})}t.withTypes=function(){return t}}();var Qa="listenerMiddleware";Ha(Qa+"/add"),Ha(Qa+"/removeAll"),Ha(Qa+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=r[t];return o?o.enumerable=e:r[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[ta];return na.get(e,t)},set:function(e){var o=this[ta];na.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var r=t[e][ta];if(!r.P)switch(r.i){case 5:i(r)&&Mn(r);break;case 4:o(r)&&Mn(r)}}}function o(t){for(var e=t.t,o=t.k,i=oa(o),r=i.length-1;r>=0;r--){var n=i[r];if(n!==ta){var a=e[n];if(void 0===a&&!mn(e,n))return!0;var s=o[n],l=s&&s[ta];if(l?l.t!==a:!xn(s,a))return!0}}var c=!!e[ta];return i.length!==oa(e).length+(c?0:1)}function i(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var i=0;i<e.length;i++)if(!e.hasOwnProperty(i))return!0;return!1}var r={};!function(t,e){ra[t]||(ra[t]=e)}("ES5",{J:function(e,o){var i=Array.isArray(e),r=function(e,o){if(e){for(var i=Array(o.length),r=0;r<o.length;r++)Object.defineProperty(i,""+r,t(r,!0));return i}var n=ia(o);delete n[ta];for(var a=oa(n),s=0;s<a.length;s++){var l=a[s];n[l]=t(l,e||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(i,e),n={i:i?5:4,A:o?o.A:In(),P:!1,I:!1,R:{},l:o,t:e,k:r,o:null,g:!1,C:!1};return Object.defineProperty(r,ta,{value:n,writable:!0}),r},S:function(t,o,r){r?un(o)&&o[ta].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[ta];if(o){var r=o.t,n=o.k,a=o.R,s=o.i;if(4===s)gn(n,(function(e){e!==ta&&(void 0!==r[e]||mn(r,e)?a[e]||t(n[e]):(a[e]=!0,Mn(o)))})),gn(r,(function(t){void 0!==n[t]||mn(n,t)||(a[t]=!1,Mn(o))}));else if(5===s){if(i(o)&&(Mn(o),a.length=!0),n.length<r.length)for(var l=n.length;l<r.length;l++)a[l]=!1;else for(var c=r.length;c<n.length;c++)a[c]=!0;for(var h=Math.min(n.length,r.length),f=0;f<h;f++)n.hasOwnProperty(f)||(a[f]=!0),void 0===a[f]&&t(n[f])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):i(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class ts{static get(t){var e;const o="string"==typeof t?t:t.name,i="string"==typeof t?void 0:t,r=window.ftReduxStores[o];if(nn(r))return r;if(null==i)return;const n=Va({...i,reducers:null!==(e=i.reducers)&&void 0!==e?e:{}}),a=Ka({reducer:(t,e)=>{var o;switch(e.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return n.reducer(t,e)}}});return window.ftReduxStores[i.name]=new ts(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new rn,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const i=e,r=t[i];return r?(...t)=>{const e=r(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[i]: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 es=Object.freeze({__proto__:null,FtCommandQueue:rn,FtLitElementRedux:pn,FtReduxStore:ts,clearAllStores:function(){var t;for(let e of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))nn(e)&&e.clear()},isFtReduxStore:nn,redux:t=>{const e=null!=t?t:{};return(t,o)=>{var i;const r={hasChanged:(t,e)=>!bo(t,e),attribute:!1,...e};Oe(r)(t,o);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(o,{selector:null!==(i=e.selector)&&void 0!==i?i:t=>t[o],store:e.store})}},reduxEventListener:t=>(e,o)=>{const i=e.constructor;i.reduxEventListeners=new Map(i.reduxEventListeners),i.reduxEventListeners.set(o,t)},reduxReactive:()=>(t,e)=>{var o;const i=t.constructor;i.reduxReactiveProperties=new Set(i.reduxReactiveProperties),null===(o=i.reduxReactiveProperties)||void 0===o||o.add(e)}});function os(t,e){var o;const i=new URLSearchParams({"content-lang":null!==(o=e.contentLocale)&&void 0!==o?o:"all",query:e.query});if(e.filters.length>0){const t=e.filters.map((t=>{const e=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${e}`})).join("*");i.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${i.toString()}`).href}var is=Object.freeze({__proto__:null,serializeRequest:os});const rs=Symbol("elementInternals");function ns(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[rs].form}constructor(...t){super(t),this[rs]=this.attachInternals(),this[rs].role=e}setFormValue(t){this[rs].setFormValue(t)}}}var as,ss,ls,cs,hs=Object.freeze({__proto__:null,toFtFormComponent:ns});const fs=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(ls=null===(ss=null===(as=window.safari)||void 0===as?void 0:as.pushNotification)||void 0===ss?void 0:ss.toString())&&void 0!==ls?ls:""),ps="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;var ds;window.ftGlobals=null!==(cs=window.ftGlobals)&&void 0!==cs?cs:{lit:ve,litDecorators:Le,litRepeat:Ke,litClassMap:Te,litStyleMap:Ye,litUnsafeHTML:Qe,wcUtils:{...no,...io,...so,...co,...xo,...$i,...Ei,...Lr,...Oi,...Zr,..._r,...go,...qr,...Qr,...tn,...on,...es,...Fr,...is,...hs,isSafari:fs,isTouchScreen:ps}},function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"}(ds||(ds={}));const us=pt`
|
|
175
|
+
`;var Qr=Object.freeze({__proto__:null,noTextSelect:Yr,safariEllipsisFix:Xr,wordWrap:Jr}),tn=Object.freeze({__proto__:null});class en{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,i;t=this.resolvePluralKey(t,e);let r=null!==(i=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==i?i:"";return e.forEach(((t,e)=>r=r.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),r}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}var on=Object.freeze({__proto__:null,ParametrizedLabelResolver:en});class rn{constructor(){this.queue=[]}add(t,e=!1){e&&(this.queue=this.queue.filter((e=>e.type!==t.type))),this.queue.push(t)}consume(t){const e=this.queue.find((e=>e.type===t));return e&&(this.queue=this.queue.filter((t=>t!==e))),e}}function nn(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var an,sn,ln;const cn=Symbol("internalReduxEventsUnsubscribers"),hn=Symbol("internalStoresUnsubscribers"),fn=Symbol("internalStores");class pn extends Mr{constructor(){super(...arguments),this[an]=new Map,this[sn]=new Map,this[ln]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[fn].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[fn].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[fn].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:nn(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[fn].delete(e)}setupStore(t,e){this[fn].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[fn].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[hn].has(t.store):this[hn].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[hn].set(t,e.subscribe((()=>this.updateFromStores()))),nn(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const i=t=>this[o](t);e.eventBus.addEventListener(t.eventName,i),this[cn].push((()=>e.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[hn].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[cn].forEach((t=>t())),this[cn]=[]}unsubscribeFromStore(t){this[hn].has(t)&&this[hn].get(t)(),this[hn].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function dn(t){for(var e=arguments.length,o=Array(e>1?e-1:0),i=1;i<e;i++)o[i-1]=arguments[i];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function un(t){return!!t&&!!t[ta]}function bn(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===ea}(t)||Array.isArray(t)||!!t[Qn]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Qn])||wn(t)||On(t))}function gn(t,e,o){void 0===o&&(o=!1),0===yn(t)?(o?Object.keys:oa)(t).forEach((function(i){o&&"symbol"==typeof i||e(i,t[i],t)})):t.forEach((function(o,i){return e(i,o,t)}))}function yn(t){var e=t[ta];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:wn(t)?2:On(t)?3:0}function mn(t,e){return 2===yn(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function vn(t,e,o){var i=yn(t);2===i?t.set(e,o):3===i?t.add(o):t[e]=o}function xn(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function wn(t){return qn&&t instanceof Map}function On(t){return Yn&&t instanceof Set}function Sn(t){return t.o||t.t}function $n(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=ia(t);delete e[ta];for(var o=oa(e),i=0;i<o.length;i++){var r=o[i],n=e[r];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[r]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[r]})}return Object.create(Object.getPrototypeOf(t),e)}function Cn(t,e){return void 0===e&&(e=!1),kn(t)||un(t)||!bn(t)||(yn(t)>1&&(t.set=t.add=t.clear=t.delete=Nn),Object.freeze(t),e&&gn(t,(function(t,e){return Cn(e,!0)}),!0)),t}function Nn(){dn(2)}function kn(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function En(t){var e=ra[t];return e||dn(18,t),e}function In(){return Vn}function Rn(t,e){e&&(En("Patches"),t.u=[],t.s=[],t.v=e)}function Ln(t){zn(t),t.p.forEach(Wn),t.p=null}function zn(t){t===Vn&&(Vn=t.l)}function Un(t){return Vn={p:[],l:Vn,h:t,m:!0,_:0}}function Wn(t){var e=t[ta];0===e.i||1===e.i?e.j():e.g=!0}function Bn(t,e){e._=e.p.length;var o=e.p[0],i=void 0!==t&&t!==o;return e.h.O||En("ES5").S(e,t,i),i?(o[ta].P&&(Ln(e),dn(4)),bn(t)&&(t=Fn(e,t),e.l||jn(e,t)),e.u&&En("Patches").M(o[ta].t,t,e.u,e.s)):t=Fn(e,o,[]),Ln(e),e.u&&e.v(e.u,e.s),t!==Xn?t:void 0}function Fn(t,e,o){if(kn(e))return e;var i=e[ta];if(!i)return gn(e,(function(r,n){return An(t,i,e,r,n,o)}),!0),e;if(i.A!==t)return e;if(!i.P)return jn(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var r=4===i.i||5===i.i?i.o=$n(i.k):i.o,n=r,a=!1;3===i.i&&(n=new Set(r),r.clear(),a=!0),gn(n,(function(e,n){return An(t,i,r,e,n,o,a)})),jn(t,r,!1),o&&t.u&&En("Patches").N(i,o,t.u,t.s)}return i.o}function An(t,e,o,i,r,n,a){if(un(r)){var s=Fn(t,r,n&&e&&3!==e.i&&!mn(e.R,i)?n.concat(i):void 0);if(vn(o,i,s),!un(s))return;t.m=!1}else a&&o.add(r);if(bn(r)&&!kn(r)){if(!t.h.D&&t._<1)return;Fn(t,r),e&&e.A.l||jn(t,r)}}function jn(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&Cn(e,o)}function Dn(t,e){var o=t[ta];return(o?Sn(o):t)[e]}function Pn(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var i=Object.getOwnPropertyDescriptor(o,e);if(i)return i;o=Object.getPrototypeOf(o)}}function Mn(t){t.P||(t.P=!0,t.l&&Mn(t.l))}function Zn(t){t.o||(t.o=$n(t.t))}function _n(t,e,o){var i=wn(e)?En("MapSet").F(e,o):On(e)?En("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),i={i:o?1:0,A:e?e.A:In(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},r=i,n=na;o&&(r=[i],n=aa);var a=Proxy.revocable(r,n),s=a.revoke,l=a.proxy;return i.k=l,i.j=s,l}(e,o):En("ES5").J(e,o);return(o?o.A:In()).p.push(i),i}function Kn(t){return un(t)||dn(22,t),function t(e){if(!bn(e))return e;var o,i=e[ta],r=yn(e);if(i){if(!i.P&&(i.i<4||!En("ES5").K(i)))return i.t;i.I=!0,o=Hn(e,r),i.I=!1}else o=Hn(e,r);return gn(o,(function(e,r){i&&function(t,e){return 2===yn(t)?t.get(e):t[e]}(i.t,e)===r||vn(o,e,t(r))})),3===r?new Set(o):o}(t)}function Hn(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return $n(t)}an=hn,sn=fn,ln=cn,pn.reduxProperties=new Map,pn.reduxReactiveProperties=new Set,pn.reduxEventListeners=new Map;var Tn,Vn,Gn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),qn="undefined"!=typeof Map,Yn="undefined"!=typeof Set,Jn="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Xn=Gn?Symbol.for("immer-nothing"):((Tn={})["immer-nothing"]=!0,Tn),Qn=Gn?Symbol.for("immer-draftable"):"__$immer_draftable",ta=Gn?Symbol.for("immer-state"):"__$immer_state",ea=""+Object.prototype.constructor,oa="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,ia=Object.getOwnPropertyDescriptors||function(t){var e={};return oa(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},ra={},na={get:function(t,e){if(e===ta)return t;var o=Sn(t);if(!mn(o,e))return function(t,e,o){var i,r=Pn(e,o);return r?"value"in r?r.value:null===(i=r.get)||void 0===i?void 0:i.call(t.k):void 0}(t,o,e);var i=o[e];return t.I||!bn(i)?i:i===Dn(t.t,e)?(Zn(t),t.o[e]=_n(t.A.h,i,t)):i},has:function(t,e){return e in Sn(t)},ownKeys:function(t){return Reflect.ownKeys(Sn(t))},set:function(t,e,o){var i=Pn(Sn(t),e);if(null==i?void 0:i.set)return i.set.call(t.k,o),!0;if(!t.P){var r=Dn(Sn(t),e),n=null==r?void 0:r[ta];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(xn(o,r)&&(void 0!==o||mn(t.t,e)))return!0;Zn(t),Mn(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==Dn(t.t,e)||e in t.t?(t.R[e]=!1,Zn(t),Mn(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=Sn(t),i=Reflect.getOwnPropertyDescriptor(o,e);return i?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:i.enumerable,value:o[e]}:i},defineProperty:function(){dn(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){dn(12)}},aa={};gn(na,(function(t,e){aa[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),aa.deleteProperty=function(t,e){return aa.set.call(this,t,e,void 0)},aa.set=function(t,e,o){return na.set.call(this,t[0],e,o,t[0])};var sa=function(){function t(t){var e=this;this.O=Jn,this.D=!0,this.produce=function(t,o,i){if("function"==typeof t&&"function"!=typeof o){var r=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=r);for(var i=arguments.length,a=Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var i;return(i=o).call.apply(i,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&dn(6),void 0!==i&&"function"!=typeof i&&dn(7),bn(t)){var s=Un(e),l=_n(e,t,void 0),c=!0;try{a=o(l),c=!1}finally{c?Ln(s):zn(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return Rn(s,i),Bn(t,s)}),(function(t){throw Ln(s),t})):(Rn(s,i),Bn(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===Xn&&(a=void 0),e.D&&Cn(a,!0),i){var h=[],f=[];En("Patches").M(t,a,h,f),i(h,f)}return a}dn(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var i=arguments.length,r=Array(i>1?i-1:0),n=1;n<i;n++)r[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(r))}))};var i,r,n=e.produce(t,o,(function(t,e){i=t,r=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,i,r]})):[n,i,r]},"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 e=t.prototype;return e.createDraft=function(t){bn(t)||dn(8),un(t)&&(t=Kn(t));var e=Un(this),o=_n(this,t,void 0);return o[ta].C=!0,zn(e),o},e.finishDraft=function(t,e){var o=(t&&t[ta]).A;return Rn(o,e),Bn(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Jn&&dn(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var i=e[o];if(0===i.path.length&&"replace"===i.op){t=i.value;break}}o>-1&&(e=e.slice(o+1));var r=En("Patches").$;return un(t)?r(t,e):this.produce(t,(function(t){return r(t,e)}))},t}(),la=new sa,ca=la.produce;function ha(t){return ha="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},ha(t)}function fa(t){var e=function(t,e){if("object"!==ha(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!==ha(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===ha(e)?e:String(e)}function pa(t,e,o){return(e=fa(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function da(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,i)}return o}function ua(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?da(Object(o),!0).forEach((function(e){pa(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):da(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function ba(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. "}la.produceWithPatches.bind(la),la.setAutoFreeze.bind(la),la.setUseProxies.bind(la),la.applyPatches.bind(la),la.createDraft.bind(la),la.finishDraft.bind(la);var ga="function"==typeof Symbol&&Symbol.observable||"@@observable",ya=function(){return Math.random().toString(36).substring(7).split("").join(".")},ma={INIT:"@@redux/INIT"+ya(),REPLACE:"@@redux/REPLACE"+ya(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ya()}};function va(t,e,o){var i;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(ba(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(ba(1));return o(va)(t,e)}if("function"!=typeof t)throw new Error(ba(2));var r=t,n=e,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function h(){if(l)throw new Error(ba(3));return n}function f(t){if("function"!=typeof t)throw new Error(ba(4));if(l)throw new Error(ba(5));var e=!0;return c(),s.push(t),function(){if(e){if(l)throw new Error(ba(6));e=!1,c();var o=s.indexOf(t);s.splice(o,1),a=null}}}function p(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(ba(7));if(void 0===t.type)throw new Error(ba(8));if(l)throw new Error(ba(9));try{l=!0,n=r(n,t)}finally{l=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return p({type:ma.INIT}),(i={dispatch:p,subscribe:f,getState:h,replaceReducer:function(t){if("function"!=typeof t)throw new Error(ba(10));r=t,p({type:ma.REPLACE})}})[ga]=function(){var t,e=f;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(ba(11));function o(){t.next&&t.next(h())}return o(),{unsubscribe:e(o)}}})[ga]=function(){return this},t},i}function xa(t){for(var e=Object.keys(t),o={},i=0;i<e.length;i++){var r=e[i];"function"==typeof t[r]&&(o[r]=t[r])}var n,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:ma.INIT}))throw new Error(ba(12));if(void 0===o(void 0,{type:ma.PROBE_UNKNOWN_ACTION()}))throw new Error(ba(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var i=!1,r={},s=0;s<a.length;s++){var l=a[s],c=o[l],h=t[l],f=c(h,e);if(void 0===f)throw e&&e.type,new Error(ba(14));r[l]=f,i=i||f!==h}return(i=i||a.length!==Object.keys(t).length)?r:t}}function wa(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function Oa(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),i=function(){throw new Error(ba(15))},r={getState:o.getState,dispatch:function(){return i.apply(void 0,arguments)}},n=e.map((function(t){return t(r)}));return i=wa.apply(void 0,n)(o.dispatch),ua(ua({},o),{},{dispatch:i})}}}function Sa(t){return function(e){var o=e.dispatch,i=e.getState;return function(e){return function(r){return"function"==typeof r?r(o,i,t):e(r)}}}}var $a=Sa();$a.withExtraArgument=Sa;var Ca,Na=$a,ka=(Ca=function(t,e){return Ca=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},Ca(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}Ca(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),Ea=function(t,e){var o,i,r,n,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,i&&(r=2&n[0]?i.return:n[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,n[1])).done)return r;switch(i=0,r&&(n=[2&n[0],r.value]),n[0]){case 0:case 1:r=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,i=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]<r[3])){a.label=n[1];break}if(6===n[0]&&a.label<r[1]){a.label=r[1],r=n;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(n);break}r[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],i=0}finally{o=r=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},Ia=function(t,e){for(var o=0,i=e.length,r=t.length;o<i;o++,r++)t[r]=e[o];return t},Ra=Object.defineProperty,La=Object.defineProperties,za=Object.getOwnPropertyDescriptors,Ua=Object.getOwnPropertySymbols,Wa=Object.prototype.hasOwnProperty,Ba=Object.prototype.propertyIsEnumerable,Fa=function(t,e,o){return e in t?Ra(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Aa=function(t,e){for(var o in e||(e={}))Wa.call(e,o)&&Fa(t,o,e[o]);if(Ua)for(var i=0,r=Ua(e);i<r.length;i++){o=r[i];Ba.call(e,o)&&Fa(t,o,e[o])}return t},ja=function(t,e){return La(t,za(e))},Da="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?wa:wa.apply(null,arguments)};var Pa=function(t){function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var r=t.apply(this,o)||this;return Object.setPrototypeOf(r,e.prototype),r}return ka(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,Ia([void 0],t[0].concat(this)))):new(e.bind.apply(e,Ia([void 0],t.concat(this))))},e}(Array),Ma=function(t){function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var r=t.apply(this,o)||this;return Object.setPrototypeOf(r,e.prototype),r}return ka(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,Ia([void 0],t[0].concat(this)))):new(e.bind.apply(e,Ia([void 0],t.concat(this))))},e}(Array);function Za(t){return bn(t)?ca(t,(function(){})):t}function _a(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var i=new Pa;o&&(!function(t){return"boolean"==typeof t}(o)?i.push(Na.withExtraArgument(o.extraArgument)):i.push(Na));return i}(t)}}function Ka(t){var e,o=_a(),i=t||{},r=i.reducer,n=void 0===r?void 0:r,a=i.middleware,s=void 0===a?o():a,l=i.devTools,c=void 0===l||l,h=i.preloadedState,f=void 0===h?void 0:h,p=i.enhancers,d=void 0===p?void 0:p;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=xa(n)}var u=s;"function"==typeof u&&(u=u(o));var b=Oa.apply(void 0,u),g=wa;c&&(g=Da(Aa({trace:!1},"object"==typeof c&&c)));var y=new Ma(b),m=y;return Array.isArray(d)?m=Ia([b],d):"function"==typeof d&&(m=d(y)),va(e,f,g.apply(void 0,m))}function Ha(t,e){function o(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];if(e){var r=e.apply(void 0,o);if(!r)throw new Error("prepareAction did not return an object");return Aa(Aa({type:t,payload:r.payload},"meta"in r&&{meta:r.meta}),"error"in r&&{error:r.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Ta(t){var e,o={},i=[],r={addCase:function(t,e){var i="string"==typeof t?t:t.type;if(i in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[i]=e,r},addMatcher:function(t,e){return i.push({matcher:t,reducer:e}),r},addDefaultCase:function(t){return e=t,r}};return t(r),[o,i,e]}function Va(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,i="function"==typeof t.initialState?t.initialState:Za(t.initialState),r=t.reducers||{},n=Object.keys(r),a={},s={},l={};function c(){var e="function"==typeof t.extraReducers?Ta(t.extraReducers):[t.extraReducers],o=e[0],r=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,l=e[2],c=void 0===l?void 0:l,h=Aa(Aa({},r),s);return function(t,e,o,i){void 0===o&&(o=[]);var r,n="function"==typeof e?Ta(e):[e,o,i],a=n[0],s=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))r=function(){return Za(t())};else{var c=Za(t);r=function(){return c}}function h(t,e){void 0===t&&(t=r());var o=Ia([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[l]),o.reduce((function(t,o){if(o){var i;if(un(t))return void 0===(i=o(t,e))?t:i;if(bn(t))return ca(t,(function(t){return o(t,e)}));if(void 0===(i=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return i}return t}),t)}return h.getInitialState=r,h}(i,(function(t){for(var e in h)t.addCase(e,h[e]);for(var o=0,i=a;o<i.length;o++){var r=i[o];t.addMatcher(r.matcher,r.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var o,i,n=r[t],c=e+"/"+t;"reducer"in n?(o=n.reducer,i=n.prepare):o=n,a[t]=o,s[c]=o,l[t]=i?Ha(c,i):Ha(c)})),{name:e,reducer:function(t,e){return o||(o=c()),o(t,e)},actions:l,caseReducers:a,getInitialState:function(){return o||(o=c()),o.getInitialState()}}}var Ga=["name","message","stack","code"],qa=function(t,e){this.payload=t,this.meta=e},Ya=function(t,e){this.payload=t,this.meta=e},Ja=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,i=Ga;o<i.length;o++){var r=i[o];"string"==typeof t[r]&&(e[r]=t[r])}return e}return{message:String(t)}};function Xa(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var i=Ha(t+"/fulfilled",(function(t,e,o,i){return{payload:t,meta:ja(Aa({},i||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),r=Ha(t+"/pending",(function(t,e,o){return{payload:void 0,meta:ja(Aa({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Ha(t+"/rejected",(function(t,e,i,r,n){return{payload:r,error:(o&&o.serializeError||Ja)(t||"Rejected"),meta:ja(Aa({},n||{}),{arg:i,requestId:e,rejectedWithValue:!!r,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(s,l,c){var h,f=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),p=new a;function d(t){h=t,p.abort()}var u=function(){return a=this,u=null,b=function(){var a,u,b,g,y,m;return Ea(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:l,extra:c}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return y=new Promise((function(t,e){return p.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:h||"Aborted"})}))})),s(r(f,t,null==(u=null==o?void 0:o.getPendingMeta)?void 0:u.call(o,{requestId:f,arg:t},{getState:l,extra:c}))),[4,Promise.race([y,Promise.resolve(e(t,{dispatch:s,getState:l,extra:c,requestId:f,signal:p.signal,abort:d,rejectWithValue:function(t,e){return new qa(t,e)},fulfillWithValue:function(t,e){return new Ya(t,e)}})).then((function(e){if(e instanceof qa)throw e;return e instanceof Ya?i(e.payload,f,t,e.meta):i(e,f,t)}))])];case 3:return b=v.sent(),[3,5];case 4:return m=v.sent(),b=m instanceof qa?n(null,f,t,m.payload,m.meta):n(m,f,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(b)&&b.meta.condition||s(b),[2,b]}var x}))},new Promise((function(t,e){var o=function(t){try{r(b.next(t))}catch(t){e(t)}},i=function(t){try{r(b.throw(t))}catch(t){e(t)}},r=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,i)};r((b=b.apply(a,u)).next())}));var a,u,b}();return Object.assign(u,{abort:d,requestId:f,arg:t,unwrap:function(){return u.then(Xa)}})}}),{pending:r,rejected:n,fulfilled:i,typePrefix:t})}t.withTypes=function(){return t}}();var Qa="listenerMiddleware";Ha(Qa+"/add"),Ha(Qa+"/removeAll"),Ha(Qa+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=r[t];return o?o.enumerable=e:r[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[ta];return na.get(e,t)},set:function(e){var o=this[ta];na.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var r=t[e][ta];if(!r.P)switch(r.i){case 5:i(r)&&Mn(r);break;case 4:o(r)&&Mn(r)}}}function o(t){for(var e=t.t,o=t.k,i=oa(o),r=i.length-1;r>=0;r--){var n=i[r];if(n!==ta){var a=e[n];if(void 0===a&&!mn(e,n))return!0;var s=o[n],l=s&&s[ta];if(l?l.t!==a:!xn(s,a))return!0}}var c=!!e[ta];return i.length!==oa(e).length+(c?0:1)}function i(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var i=0;i<e.length;i++)if(!e.hasOwnProperty(i))return!0;return!1}var r={};!function(t,e){ra[t]||(ra[t]=e)}("ES5",{J:function(e,o){var i=Array.isArray(e),r=function(e,o){if(e){for(var i=Array(o.length),r=0;r<o.length;r++)Object.defineProperty(i,""+r,t(r,!0));return i}var n=ia(o);delete n[ta];for(var a=oa(n),s=0;s<a.length;s++){var l=a[s];n[l]=t(l,e||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(i,e),n={i:i?5:4,A:o?o.A:In(),P:!1,I:!1,R:{},l:o,t:e,k:r,o:null,g:!1,C:!1};return Object.defineProperty(r,ta,{value:n,writable:!0}),r},S:function(t,o,r){r?un(o)&&o[ta].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[ta];if(o){var r=o.t,n=o.k,a=o.R,s=o.i;if(4===s)gn(n,(function(e){e!==ta&&(void 0!==r[e]||mn(r,e)?a[e]||t(n[e]):(a[e]=!0,Mn(o)))})),gn(r,(function(t){void 0!==n[t]||mn(n,t)||(a[t]=!1,Mn(o))}));else if(5===s){if(i(o)&&(Mn(o),a.length=!0),n.length<r.length)for(var l=n.length;l<r.length;l++)a[l]=!1;else for(var c=r.length;c<n.length;c++)a[c]=!0;for(var h=Math.min(n.length,r.length),f=0;f<h;f++)n.hasOwnProperty(f)||(a[f]=!0),void 0===a[f]&&t(n[f])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):i(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class ts{static get(t){var e;const o="string"==typeof t?t:t.name,i="string"==typeof t?void 0:t,r=window.ftReduxStores[o];if(nn(r))return r;if(null==i)return;const n=Va({...i,reducers:null!==(e=i.reducers)&&void 0!==e?e:{}}),a=Ka({reducer:(t,e)=>"CLEAR_FT_REDUX_STORE"===e.type?n.getInitialState():"string"==typeof e.type&&e.type.startsWith("DEFAULT_VALUE_SETTER__")?{...t,...e.overwrites}:n.reducer(t,e)});return window.ftReduxStores[i.name]=new ts(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new rn,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const i=e,r=t[i];return r?(...t)=>{const e=r(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[i]: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 es=Object.freeze({__proto__:null,FtCommandQueue:rn,FtLitElementRedux:pn,FtReduxStore:ts,clearAllStores:function(){var t;for(let e of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))nn(e)&&e.clear()},isFtReduxStore:nn,redux:t=>{const e=null!=t?t:{};return(t,o)=>{var i;const r={hasChanged:(t,e)=>!bo(t,e),attribute:!1,...e};Oe(r)(t,o);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(o,{selector:null!==(i=e.selector)&&void 0!==i?i:t=>t[o],store:e.store})}},reduxEventListener:t=>(e,o)=>{const i=e.constructor;i.reduxEventListeners=new Map(i.reduxEventListeners),i.reduxEventListeners.set(o,t)},reduxReactive:()=>(t,e)=>{var o;const i=t.constructor;i.reduxReactiveProperties=new Set(i.reduxReactiveProperties),null===(o=i.reduxReactiveProperties)||void 0===o||o.add(e)}});function os(t,e){var o;const i=new URLSearchParams({"content-lang":null!==(o=e.contentLocale)&&void 0!==o?o:"all",query:e.query});if(e.filters.length>0){const t=e.filters.map((t=>{const e=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${e}`})).join("*");i.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${i.toString()}`).href}var is=Object.freeze({__proto__:null,serializeRequest:os});const rs=Symbol("elementInternals");function ns(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[rs].form}constructor(...t){super(t),this[rs]=this.attachInternals(),this[rs].role=e}setFormValue(t){this[rs].setFormValue(t)}}}var as,ss,ls,cs,hs=Object.freeze({__proto__:null,toFtFormComponent:ns});const fs=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(ls=null===(ss=null===(as=window.safari)||void 0===as?void 0:as.pushNotification)||void 0===ss?void 0:ss.toString())&&void 0!==ls?ls:""),ps="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;var ds;window.ftGlobals=null!==(cs=window.ftGlobals)&&void 0!==cs?cs:{lit:ve,litDecorators:Le,litRepeat:Ke,litClassMap:Te,litStyleMap:Ye,litUnsafeHTML:Qe,wcUtils:{...no,...io,...so,...co,...xo,...$i,...Ei,...Lr,...Oi,...Zr,..._r,...go,...qr,...Qr,...tn,...on,...es,...Fr,...is,...hs,isSafari:fs,isTouchScreen:ps}},function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"}(ds||(ds={}));const us=pt`
|
|
176
176
|
.ft-size-watcher--pixel {
|
|
177
177
|
width: 0;
|
|
178
178
|
height: 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-search-bar",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.47",
|
|
4
4
|
"description": "Search bar component using Fluid Topics public API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,23 +19,23 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-accordion": "1.1.
|
|
23
|
-
"@fluid-topics/ft-app-context": "1.1.
|
|
24
|
-
"@fluid-topics/ft-button": "1.1.
|
|
25
|
-
"@fluid-topics/ft-chip": "1.1.
|
|
26
|
-
"@fluid-topics/ft-filter": "1.1.
|
|
27
|
-
"@fluid-topics/ft-icon": "1.1.
|
|
28
|
-
"@fluid-topics/ft-select": "1.1.
|
|
29
|
-
"@fluid-topics/ft-size-watcher": "1.1.
|
|
30
|
-
"@fluid-topics/ft-skeleton": "1.1.
|
|
31
|
-
"@fluid-topics/ft-snap-scroll": "1.1.
|
|
32
|
-
"@fluid-topics/ft-tooltip": "1.1.
|
|
33
|
-
"@fluid-topics/ft-typography": "1.1.
|
|
34
|
-
"@fluid-topics/ft-wc-utils": "1.1.
|
|
22
|
+
"@fluid-topics/ft-accordion": "1.1.47",
|
|
23
|
+
"@fluid-topics/ft-app-context": "1.1.47",
|
|
24
|
+
"@fluid-topics/ft-button": "1.1.47",
|
|
25
|
+
"@fluid-topics/ft-chip": "1.1.47",
|
|
26
|
+
"@fluid-topics/ft-filter": "1.1.47",
|
|
27
|
+
"@fluid-topics/ft-icon": "1.1.47",
|
|
28
|
+
"@fluid-topics/ft-select": "1.1.47",
|
|
29
|
+
"@fluid-topics/ft-size-watcher": "1.1.47",
|
|
30
|
+
"@fluid-topics/ft-skeleton": "1.1.47",
|
|
31
|
+
"@fluid-topics/ft-snap-scroll": "1.1.47",
|
|
32
|
+
"@fluid-topics/ft-tooltip": "1.1.47",
|
|
33
|
+
"@fluid-topics/ft-typography": "1.1.47",
|
|
34
|
+
"@fluid-topics/ft-wc-utils": "1.1.47",
|
|
35
35
|
"lit": "3.1.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@fluid-topics/public-api": "1.0.
|
|
38
|
+
"@fluid-topics/public-api": "1.0.62"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "1db5758867789ddaf0768436a795528385468131"
|
|
41
41
|
}
|