@fluid-topics/ft-floating-menu 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.
|
@@ -172,7 +172,7 @@ function Io(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
|
|
|
172
172
|
display: inline-block;
|
|
173
173
|
width: 0;
|
|
174
174
|
}
|
|
175
|
-
`;var Ji=Object.freeze({__proto__:null,noTextSelect:Vi,safariEllipsisFix:Yi,wordWrap:qi}),Xi=Object.freeze({__proto__:null});var Qi=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 i=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>i=i.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),i}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 on(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var en,rn,nn;const an=Symbol("internalReduxEventsUnsubscribers"),ln=Symbol("internalStoresUnsubscribers"),sn=Symbol("internalStores");class cn extends _i{constructor(){super(...arguments),this[en]=new Map,this[rn]=new Map,this[nn]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[sn].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[sn].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[sn].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:on(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[sn].delete(o)}setupStore(t,o){this[sn].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[sn].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[ln].has(t.store):this[ln].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[ln].set(t,o.subscribe((()=>this.updateFromStores()))),on(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[an].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[ln].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[an].forEach((t=>t())),this[an]=[]}unsubscribeFromStore(t){this[ln].has(t)&&this[ln].get(t)(),this[ln].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function fn(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 pn(t){return!!t&&!!t[Jn]}function dn(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)===Xn}(t)||Array.isArray(t)||!!t[Yn]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Yn])||mn(t)||vn(t))}function un(t,o,e){void 0===e&&(e=!1),0===hn(t)?(e?Object.keys:Qn)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function hn(t){var o=t[Jn];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:mn(t)?2:vn(t)?3:0}function yn(t,o){return 2===hn(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function gn(t,o,e){var r=hn(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function bn(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function mn(t){return Tn&&t instanceof Map}function vn(t){return Gn&&t instanceof Set}function xn(t){return t.o||t.t}function On(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=ta(t);delete o[Jn];for(var e=Qn(o),r=0;r<e.length;r++){var i=e[r],n=o[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(o[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),o)}function wn(t,o){return void 0===o&&(o=!1),Nn(t)||pn(t)||!dn(t)||(hn(t)>1&&(t.set=t.add=t.clear=t.delete=Sn),Object.freeze(t),o&&un(t,(function(t,o){return wn(o,!0)}),!0)),t}function Sn(){fn(2)}function Nn(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function Cn(t){var o=oa[t];return o||fn(18,t),o}function En(){return Dn}function $n(t,o){o&&(Cn("Patches"),t.u=[],t.s=[],t.v=o)}function Rn(t){In(t),t.p.forEach(Ln),t.p=null}function In(t){t===Dn&&(Dn=t.l)}function kn(t){return Dn={p:[],l:Dn,h:t,m:!0,_:0}}function Ln(t){var o=t[Jn];0===o.i||1===o.i?o.j():o.g=!0}function Un(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||Cn("ES5").S(o,t,r),r?(e[Jn].P&&(Rn(o),fn(4)),dn(t)&&(t=Wn(o,t),o.l||Fn(o,t)),o.u&&Cn("Patches").M(e[Jn].t,t,o.u,o.s)):t=Wn(o,e,[]),Rn(o),o.u&&o.v(o.u,o.s),t!==qn?t:void 0}function Wn(t,o,e){if(Nn(o))return o;var r=o[Jn];if(!r)return un(o,(function(i,n){return zn(t,r,o,i,n,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return Fn(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=On(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),un(n,(function(o,n){return zn(t,r,i,o,n,e,a)})),Fn(t,i,!1),e&&t.u&&Cn("Patches").N(r,e,t.u,t.s)}return r.o}function zn(t,o,e,r,i,n,a){if(pn(i)){var l=Wn(t,i,n&&o&&3!==o.i&&!yn(o.R,r)?n.concat(r):void 0);if(gn(e,r,l),!pn(l))return;t.m=!1}else a&&e.add(i);if(dn(i)&&!Nn(i)){if(!t.h.D&&t._<1)return;Wn(t,i),o&&o.A.l||Fn(t,i)}}function Fn(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&wn(o,e)}function Bn(t,o){var e=t[Jn];return(e?xn(e):t)[o]}function An(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 jn(t){t.P||(t.P=!0,t.l&&jn(t.l))}function _n(t){t.o||(t.o=On(t.t))}function Pn(t,o,e){var r=mn(o)?Cn("MapSet").F(o,e):vn(o)?Cn("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:En(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},i=r,n=ea;e&&(i=[r],n=ra);var a=Proxy.revocable(i,n),l=a.revoke,s=a.proxy;return r.k=s,r.j=l,s}(o,e):Cn("ES5").J(o,e);return(e?e.A:En()).p.push(r),r}function Zn(t){return pn(t)||fn(22,t),function t(o){if(!dn(o))return o;var e,r=o[Jn],i=hn(o);if(r){if(!r.P&&(r.i<4||!Cn("ES5").K(r)))return r.t;r.I=!0,e=Kn(o,i),r.I=!1}else e=Kn(o,i);return un(e,(function(o,i){r&&function(t,o){return 2===hn(t)?t.get(o):t[o]}(r.t,o)===i||gn(e,o,t(i))})),3===i?new Set(e):e}(t)}function Kn(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return On(t)}en=ln,rn=sn,nn=an,cn.reduxProperties=new Map,cn.reduxReactiveProperties=new Set,cn.reduxEventListeners=new Map;var Mn,Dn,Hn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Tn="undefined"!=typeof Map,Gn="undefined"!=typeof Set,Vn="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,qn=Hn?Symbol.for("immer-nothing"):((Mn={})["immer-nothing"]=!0,Mn),Yn=Hn?Symbol.for("immer-draftable"):"__$immer_draftable",Jn=Hn?Symbol.for("immer-state"):"__$immer_state",Xn=""+Object.prototype.constructor,Qn="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,ta=Object.getOwnPropertyDescriptors||function(t){var o={};return Qn(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},oa={},ea={get:function(t,o){if(o===Jn)return t;var e=xn(t);if(!yn(e,o))return function(t,o,e){var r,i=An(o,e);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!dn(r)?r:r===Bn(t.t,o)?(_n(t),t.o[o]=Pn(t.A.h,r,t)):r},has:function(t,o){return o in xn(t)},ownKeys:function(t){return Reflect.ownKeys(xn(t))},set:function(t,o,e){var r=An(xn(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var i=Bn(xn(t),o),n=null==i?void 0:i[Jn];if(n&&n.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(bn(e,i)&&(void 0!==e||yn(t.t,o)))return!0;_n(t),jn(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!==Bn(t.t,o)||o in t.t?(t.R[o]=!1,_n(t),jn(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=xn(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(){fn(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){fn(12)}},ra={};un(ea,(function(t,o){ra[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),ra.deleteProperty=function(t,o){return ra.set.call(this,t,o,void 0)},ra.set=function(t,o,e){return ea.set.call(this,t[0],o,e,t[0])};var ia=function(){function t(t){var o=this;this.O=Vn,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var i=e;e=t;var n=o;return function(t){var o=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),l=1;l<r;l++)a[l-1]=arguments[l];return n.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&fn(6),void 0!==r&&"function"!=typeof r&&fn(7),dn(t)){var l=kn(o),s=Pn(o,t,void 0),c=!0;try{a=e(s),c=!1}finally{c?Rn(l):In(l)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return $n(l,r),Un(t,l)}),(function(t){throw Rn(l),t})):($n(l,r),Un(a,l))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===qn&&(a=void 0),o.D&&wn(a,!0),r){var f=[],p=[];Cn("Patches").M(t,a,f,p),r(f,p)}return a}fn(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(i))}))};var r,i,n=o.produce(t,e,(function(t,o){r=t,i=o}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"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){dn(t)||fn(8),pn(t)&&(t=Zn(t));var o=kn(this),e=Pn(this,t,void 0);return e[Jn].C=!0,In(o),e},o.finishDraft=function(t,o){var e=(t&&t[Jn]).A;return $n(e,o),Un(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Vn&&fn(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 i=Cn("Patches").$;return pn(t)?i(t,o):this.produce(t,(function(t){return i(t,o)}))},t}(),na=new ia,aa=na.produce;function la(t){return la="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},la(t)}function sa(t){var o=function(t,o){if("object"!==la(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==la(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===la(o)?o:String(o)}function ca(t,o,e){return(o=sa(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function fa(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 pa(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?fa(Object(e),!0).forEach((function(o){ca(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):fa(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function da(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. "}na.produceWithPatches.bind(na),na.setAutoFreeze.bind(na),na.setUseProxies.bind(na),na.applyPatches.bind(na),na.createDraft.bind(na),na.finishDraft.bind(na);var ua="function"==typeof Symbol&&Symbol.observable||"@@observable",ha=function(){return Math.random().toString(36).substring(7).split("").join(".")},ya={INIT:"@@redux/INIT"+ha(),REPLACE:"@@redux/REPLACE"+ha(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ha()}};function ga(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(da(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(da(1));return e(ga)(t,o)}if("function"!=typeof t)throw new Error(da(2));var i=t,n=o,a=[],l=a,s=!1;function c(){l===a&&(l=a.slice())}function f(){if(s)throw new Error(da(3));return n}function p(t){if("function"!=typeof t)throw new Error(da(4));if(s)throw new Error(da(5));var o=!0;return c(),l.push(t),function(){if(o){if(s)throw new Error(da(6));o=!1,c();var e=l.indexOf(t);l.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(da(7));if(void 0===t.type)throw new Error(da(8));if(s)throw new Error(da(9));try{s=!0,n=i(n,t)}finally{s=!1}for(var o=a=l,e=0;e<o.length;e++){(0,o[e])()}return t}return d({type:ya.INIT}),(r={dispatch:d,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(da(10));i=t,d({type:ya.REPLACE})}})[ua]=function(){var t,o=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(da(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[ua]=function(){return this},t},r}function ba(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var i=o[r];"function"==typeof t[i]&&(e[i]=t[i])}var n,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:ya.INIT}))throw new Error(da(12));if(void 0===e(void 0,{type:ya.PROBE_UNKNOWN_ACTION()}))throw new Error(da(13))}))}(e)}catch(t){n=t}return function(t,o){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},l=0;l<a.length;l++){var s=a[l],c=e[s],f=t[s],p=c(f,o);if(void 0===p)throw o&&o.type,new Error(da(14));i[s]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function ma(){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 va(){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(da(15))},i={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=o.map((function(t){return t(i)}));return r=ma.apply(void 0,n)(e.dispatch),pa(pa({},e),{},{dispatch:r})}}}function xa(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(i){return"function"==typeof i?i(e,r,t):o(i)}}}}var Oa=xa();Oa.withExtraArgument=xa;var wa,Sa=Oa,Na=(wa=function(t,o){return wa=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])},wa(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}wa(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),Ca=function(t,o){var e,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function l(n){return function(l){return function(n){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=o.call(t,a)}catch(t){n=[6,t],r=0}finally{e=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,l])}}},Ea=function(t,o){for(var e=0,r=o.length,i=t.length;e<r;e++,i++)t[i]=o[e];return t},$a=Object.defineProperty,Ra=Object.defineProperties,Ia=Object.getOwnPropertyDescriptors,ka=Object.getOwnPropertySymbols,La=Object.prototype.hasOwnProperty,Ua=Object.prototype.propertyIsEnumerable,Wa=function(t,o,e){return o in t?$a(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},za=function(t,o){for(var e in o||(o={}))La.call(o,e)&&Wa(t,e,o[e]);if(ka)for(var r=0,i=ka(o);r<i.length;r++){e=i[r];Ua.call(o,e)&&Wa(t,e,o[e])}return t},Fa=function(t,o){return Ra(t,Ia(o))},Ba="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?ma:ma.apply(null,arguments)};var Aa=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return Na(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,Ea([void 0],t[0].concat(this)))):new(o.bind.apply(o,Ea([void 0],t.concat(this))))},o}(Array),ja=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return Na(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,Ea([void 0],t[0].concat(this)))):new(o.bind.apply(o,Ea([void 0],t.concat(this))))},o}(Array);function _a(t){return dn(t)?aa(t,(function(){})):t}function Pa(){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 Aa;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(Sa.withExtraArgument(e.extraArgument)):r.push(Sa));return r}(t)}}function Za(t){var o,e=Pa(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,l=void 0===a?e():a,s=r.devTools,c=void 0===s||s,f=r.preloadedState,p=void 0===f?void 0:f,d=r.enhancers,u=void 0===d?void 0:d;if("function"==typeof n)o=n;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}(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');o=ba(n)}var h=l;"function"==typeof h&&(h=h(e));var y=va.apply(void 0,h),g=ma;c&&(g=Ba(za({trace:!1},"object"==typeof c&&c)));var b=new ja(y),m=b;return Array.isArray(u)?m=Ea([y],u):"function"==typeof u&&(m=u(b)),ga(o,p,g.apply(void 0,m))}function Ka(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var i=o.apply(void 0,e);if(!i)throw new Error("prepareAction did not return an object");return za(za({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.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 Ma(t){var o,e={},r=[],i={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,i},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),i},addDefaultCase:function(t){return o=t,i}};return t(i),[e,r,o]}function Da(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:_a(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},l={},s={};function c(){var o="function"==typeof t.extraReducers?Ma(t.extraReducers):[t.extraReducers],e=o[0],i=void 0===e?{}:e,n=o[1],a=void 0===n?[]:n,s=o[2],c=void 0===s?void 0:s,f=za(za({},i),l);return function(t,o,e,r){void 0===e&&(e=[]);var i,n="function"==typeof o?Ma(o):[o,e,r],a=n[0],l=n[1],s=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return _a(t())};else{var c=_a(t);i=function(){return c}}function f(t,o){void 0===t&&(t=i());var e=Ea([a[o.type]],l.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[s]),e.reduce((function(t,e){if(e){var r;if(pn(t))return void 0===(r=e(t,o))?t:r;if(dn(t))return aa(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=i,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 i=r[e];t.addMatcher(i.matcher,i.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var e,r,n=i[t],c=o+"/"+t;"reducer"in n?(e=n.reducer,r=n.prepare):e=n,a[t]=e,l[c]=e,s[t]=r?Ka(c,r):Ka(c)})),{name:o,reducer:function(t,o){return e||(e=c()),e(t,o)},actions:s,caseReducers:a,getInitialState:function(){return e||(e=c()),e.getInitialState()}}}var Ha=["name","message","stack","code"],Ta=function(t,o){this.payload=t,this.meta=o},Ga=function(t,o){this.payload=t,this.meta=o},Va=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Ha;e<r.length;e++){var i=r[e];"string"==typeof t[i]&&(o[i]=t[i])}return o}return{message:String(t)}};function qa(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=Ka(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:Fa(za({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),i=Ka(t+"/pending",(function(t,o,e){return{payload:void 0,meta:Fa(za({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),n=Ka(t+"/rejected",(function(t,o,r,i,n){return{payload:i,error:(e&&e.serializeError||Va)(t||"Rejected"),meta:Fa(za({},n||{}),{arg:r,requestId:o,rejectedWithValue:!!i,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(l,s,c){var f,p=(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 u(t){f=t,d.abort()}var h=function(){return a=this,h=null,y=function(){var a,h,y,g,b,m;return Ca(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:s,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||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"})}))})),l(i(p,t,null==(h=null==e?void 0:e.getPendingMeta)?void 0:h.call(e,{requestId:p,arg:t},{getState:s,extra:c}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:l,getState:s,extra:c,requestId:p,signal:d.signal,abort:u,rejectWithValue:function(t,o){return new Ta(t,o)},fulfillWithValue:function(t,o){return new Ga(t,o)}})).then((function(o){if(o instanceof Ta)throw o;return o instanceof Ga?r(o.payload,p,t,o.meta):r(o,p,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Ta?n(null,p,t,m.payload,m.meta):n(m,p,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&n.match(y)&&y.meta.condition||l(y),[2,y]}var x}))},new Promise((function(t,o){var e=function(t){try{i(y.next(t))}catch(t){o(t)}},r=function(t){try{i(y.throw(t))}catch(t){o(t)}},i=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};i((y=y.apply(a,h)).next())}));var a,h,y}();return Object.assign(h,{abort:u,requestId:p,arg:t,unwrap:function(){return h.then(qa)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Ya="listenerMiddleware";Ka(Ya+"/add"),Ka(Ya+"/removeAll"),Ka(Ya+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=i[t];return e?e.enumerable=o:i[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[Jn];return ea.get(o,t)},set:function(o){var e=this[Jn];ea.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var i=t[o][Jn];if(!i.P)switch(i.i){case 5:r(i)&&jn(i);break;case 4:e(i)&&jn(i)}}}function e(t){for(var o=t.t,e=t.k,r=Qn(e),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Jn){var a=o[n];if(void 0===a&&!yn(o,n))return!0;var l=e[n],s=l&&l[Jn];if(s?s.t!==a:!bn(l,a))return!0}}var c=!!o[Jn];return r.length!==Qn(o).length+(c?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 i={};!function(t,o){oa[t]||(oa[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),i=function(o,e){if(o){for(var r=Array(e.length),i=0;i<e.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=ta(e);delete n[Jn];for(var a=Qn(n),l=0;l<a.length;l++){var s=a[l];n[s]=t(s,o||!!n[s].enumerable)}return Object.create(Object.getPrototypeOf(e),n)}(r,o),n={i:r?5:4,A:e?e.A:En(),P:!1,I:!1,R:{},l:e,t:o,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Jn,{value:n,writable:!0}),i},S:function(t,e,i){i?pn(e)&&e[Jn].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[Jn];if(e){var i=e.t,n=e.k,a=e.R,l=e.i;if(4===l)un(n,(function(o){o!==Jn&&(void 0!==i[o]||yn(i,o)?a[o]||t(n[o]):(a[o]=!0,jn(e)))})),un(i,(function(t){void 0!==n[t]||yn(n,t)||(a[t]=!1,jn(e))}));else if(5===l){if(r(e)&&(jn(e),a.length=!0),n.length<i.length)for(var s=n.length;s<i.length;s++)a[s]=!1;else for(var c=i.length;c<n.length;c++)a[c]=!0;for(var f=Math.min(n.length,i.length),p=0;p<f;p++)n.hasOwnProperty(p)||(a[p]=!0),void 0===a[p]&&t(n[p])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Ja{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[e];if(on(i))return i;if(null==r)return;const n=Da({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=Za({reducer:(t,o)=>{var e;switch(o.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(e=o.overwrites)&&void 0!==e?e:{}};default:return n.reducer(t,o)}}});return window.ftReduxStores[r.name]=new Ja(n,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,i=t[r];return i?(...t)=>{const o=i(...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 Xa=Object.freeze({__proto__:null,FtCommandQueue:tn,FtLitElementRedux:cn,FtReduxStore:Ja,clearAllStores:function(){var t;for(let o of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))on(o)&&o.clear()},isFtReduxStore:on,redux:t=>{const o=null!=t?t:{};return(t,e)=>{var r;const i={hasChanged:(t,o)=>!de(t,o),attribute:!1,...o};So(i)(t,e);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.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 Qa=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 tl=Symbol("elementInternals");function ol(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[tl].form}constructor(...t){super(t),this[tl]=this.attachInternals(),this[tl].role=o}setFormValue(t){this[tl].setFormValue(t)}}}var el,rl,il,nl,al=Object.freeze({__proto__:null,toFtFormComponent:ol});const ll=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(il=null===(rl=null===(el=window.safari)||void 0===el?void 0:el.pushNotification)||void 0===rl?void 0:rl.toString())&&void 0!==il?il:""),sl="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(nl=window.ftGlobals)&&void 0!==nl?nl:{lit:xo,litDecorators:Lo,litRepeat:Do,litClassMap:To,litStyleMap:Yo,litUnsafeHTML:Qo,wcUtils:{...ie,...re,...ae,...se,...me,...wr,...Er,...Ii,...xr,...Pi,...Zi,...he,...Gi,...Ji,...Xi,...Qi,...Xa,...zi,...Qa,...al,isSafari:ll,isTouchScreen:sl}};const cl={zIndex:xe.create("--ft-floating-menu-z-index","","NUMBER","8"),maxWidth:xe.create("--ft-floating-menu-max-width","","SIZE","300px"),maxHeight:xe.create("--ft-floating-menu-max-height","","SIZE","500px"),textColor:xe.extend("--ft-floating-menu-text-color","",Or.colorOnSurfaceHigh),colorSurface:xe.external(Or.colorSurface,"Design system"),menuElevation:xe.external(Or.elevation02,"Design system"),borderRadiusS:xe.external(Or.borderRadiusS,"Design system")},fl=dt`
|
|
175
|
+
`;var Ji=Object.freeze({__proto__:null,noTextSelect:Vi,safariEllipsisFix:Yi,wordWrap:qi}),Xi=Object.freeze({__proto__:null});var Qi=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 i=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>i=i.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),i}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 on(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var en,rn,nn;const an=Symbol("internalReduxEventsUnsubscribers"),ln=Symbol("internalStoresUnsubscribers"),sn=Symbol("internalStores");class cn extends _i{constructor(){super(...arguments),this[en]=new Map,this[rn]=new Map,this[nn]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[sn].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[sn].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[sn].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:on(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[sn].delete(o)}setupStore(t,o){this[sn].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[sn].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[ln].has(t.store):this[ln].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[ln].set(t,o.subscribe((()=>this.updateFromStores()))),on(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[an].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[ln].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[an].forEach((t=>t())),this[an]=[]}unsubscribeFromStore(t){this[ln].has(t)&&this[ln].get(t)(),this[ln].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function fn(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 pn(t){return!!t&&!!t[Jn]}function dn(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)===Xn}(t)||Array.isArray(t)||!!t[Yn]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Yn])||mn(t)||vn(t))}function un(t,o,e){void 0===e&&(e=!1),0===hn(t)?(e?Object.keys:Qn)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function hn(t){var o=t[Jn];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:mn(t)?2:vn(t)?3:0}function yn(t,o){return 2===hn(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function gn(t,o,e){var r=hn(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function bn(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function mn(t){return Tn&&t instanceof Map}function vn(t){return Gn&&t instanceof Set}function xn(t){return t.o||t.t}function On(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=ta(t);delete o[Jn];for(var e=Qn(o),r=0;r<e.length;r++){var i=e[r],n=o[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(o[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),o)}function wn(t,o){return void 0===o&&(o=!1),Nn(t)||pn(t)||!dn(t)||(hn(t)>1&&(t.set=t.add=t.clear=t.delete=Sn),Object.freeze(t),o&&un(t,(function(t,o){return wn(o,!0)}),!0)),t}function Sn(){fn(2)}function Nn(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function Cn(t){var o=oa[t];return o||fn(18,t),o}function En(){return Dn}function $n(t,o){o&&(Cn("Patches"),t.u=[],t.s=[],t.v=o)}function Rn(t){In(t),t.p.forEach(Ln),t.p=null}function In(t){t===Dn&&(Dn=t.l)}function kn(t){return Dn={p:[],l:Dn,h:t,m:!0,_:0}}function Ln(t){var o=t[Jn];0===o.i||1===o.i?o.j():o.g=!0}function Un(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||Cn("ES5").S(o,t,r),r?(e[Jn].P&&(Rn(o),fn(4)),dn(t)&&(t=Wn(o,t),o.l||Fn(o,t)),o.u&&Cn("Patches").M(e[Jn].t,t,o.u,o.s)):t=Wn(o,e,[]),Rn(o),o.u&&o.v(o.u,o.s),t!==qn?t:void 0}function Wn(t,o,e){if(Nn(o))return o;var r=o[Jn];if(!r)return un(o,(function(i,n){return zn(t,r,o,i,n,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return Fn(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=On(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),un(n,(function(o,n){return zn(t,r,i,o,n,e,a)})),Fn(t,i,!1),e&&t.u&&Cn("Patches").N(r,e,t.u,t.s)}return r.o}function zn(t,o,e,r,i,n,a){if(pn(i)){var l=Wn(t,i,n&&o&&3!==o.i&&!yn(o.R,r)?n.concat(r):void 0);if(gn(e,r,l),!pn(l))return;t.m=!1}else a&&e.add(i);if(dn(i)&&!Nn(i)){if(!t.h.D&&t._<1)return;Wn(t,i),o&&o.A.l||Fn(t,i)}}function Fn(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&wn(o,e)}function Bn(t,o){var e=t[Jn];return(e?xn(e):t)[o]}function An(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 jn(t){t.P||(t.P=!0,t.l&&jn(t.l))}function _n(t){t.o||(t.o=On(t.t))}function Pn(t,o,e){var r=mn(o)?Cn("MapSet").F(o,e):vn(o)?Cn("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:En(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},i=r,n=ea;e&&(i=[r],n=ra);var a=Proxy.revocable(i,n),l=a.revoke,s=a.proxy;return r.k=s,r.j=l,s}(o,e):Cn("ES5").J(o,e);return(e?e.A:En()).p.push(r),r}function Zn(t){return pn(t)||fn(22,t),function t(o){if(!dn(o))return o;var e,r=o[Jn],i=hn(o);if(r){if(!r.P&&(r.i<4||!Cn("ES5").K(r)))return r.t;r.I=!0,e=Kn(o,i),r.I=!1}else e=Kn(o,i);return un(e,(function(o,i){r&&function(t,o){return 2===hn(t)?t.get(o):t[o]}(r.t,o)===i||gn(e,o,t(i))})),3===i?new Set(e):e}(t)}function Kn(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return On(t)}en=ln,rn=sn,nn=an,cn.reduxProperties=new Map,cn.reduxReactiveProperties=new Set,cn.reduxEventListeners=new Map;var Mn,Dn,Hn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Tn="undefined"!=typeof Map,Gn="undefined"!=typeof Set,Vn="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,qn=Hn?Symbol.for("immer-nothing"):((Mn={})["immer-nothing"]=!0,Mn),Yn=Hn?Symbol.for("immer-draftable"):"__$immer_draftable",Jn=Hn?Symbol.for("immer-state"):"__$immer_state",Xn=""+Object.prototype.constructor,Qn="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,ta=Object.getOwnPropertyDescriptors||function(t){var o={};return Qn(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},oa={},ea={get:function(t,o){if(o===Jn)return t;var e=xn(t);if(!yn(e,o))return function(t,o,e){var r,i=An(o,e);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!dn(r)?r:r===Bn(t.t,o)?(_n(t),t.o[o]=Pn(t.A.h,r,t)):r},has:function(t,o){return o in xn(t)},ownKeys:function(t){return Reflect.ownKeys(xn(t))},set:function(t,o,e){var r=An(xn(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var i=Bn(xn(t),o),n=null==i?void 0:i[Jn];if(n&&n.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(bn(e,i)&&(void 0!==e||yn(t.t,o)))return!0;_n(t),jn(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!==Bn(t.t,o)||o in t.t?(t.R[o]=!1,_n(t),jn(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=xn(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(){fn(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){fn(12)}},ra={};un(ea,(function(t,o){ra[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),ra.deleteProperty=function(t,o){return ra.set.call(this,t,o,void 0)},ra.set=function(t,o,e){return ea.set.call(this,t[0],o,e,t[0])};var ia=function(){function t(t){var o=this;this.O=Vn,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var i=e;e=t;var n=o;return function(t){var o=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),l=1;l<r;l++)a[l-1]=arguments[l];return n.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&fn(6),void 0!==r&&"function"!=typeof r&&fn(7),dn(t)){var l=kn(o),s=Pn(o,t,void 0),c=!0;try{a=e(s),c=!1}finally{c?Rn(l):In(l)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return $n(l,r),Un(t,l)}),(function(t){throw Rn(l),t})):($n(l,r),Un(a,l))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===qn&&(a=void 0),o.D&&wn(a,!0),r){var f=[],p=[];Cn("Patches").M(t,a,f,p),r(f,p)}return a}fn(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(i))}))};var r,i,n=o.produce(t,e,(function(t,o){r=t,i=o}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"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){dn(t)||fn(8),pn(t)&&(t=Zn(t));var o=kn(this),e=Pn(this,t,void 0);return e[Jn].C=!0,In(o),e},o.finishDraft=function(t,o){var e=(t&&t[Jn]).A;return $n(e,o),Un(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Vn&&fn(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 i=Cn("Patches").$;return pn(t)?i(t,o):this.produce(t,(function(t){return i(t,o)}))},t}(),na=new ia,aa=na.produce;function la(t){return la="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},la(t)}function sa(t){var o=function(t,o){if("object"!==la(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==la(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===la(o)?o:String(o)}function ca(t,o,e){return(o=sa(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function fa(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 pa(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?fa(Object(e),!0).forEach((function(o){ca(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):fa(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function da(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. "}na.produceWithPatches.bind(na),na.setAutoFreeze.bind(na),na.setUseProxies.bind(na),na.applyPatches.bind(na),na.createDraft.bind(na),na.finishDraft.bind(na);var ua="function"==typeof Symbol&&Symbol.observable||"@@observable",ha=function(){return Math.random().toString(36).substring(7).split("").join(".")},ya={INIT:"@@redux/INIT"+ha(),REPLACE:"@@redux/REPLACE"+ha(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ha()}};function ga(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(da(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(da(1));return e(ga)(t,o)}if("function"!=typeof t)throw new Error(da(2));var i=t,n=o,a=[],l=a,s=!1;function c(){l===a&&(l=a.slice())}function f(){if(s)throw new Error(da(3));return n}function p(t){if("function"!=typeof t)throw new Error(da(4));if(s)throw new Error(da(5));var o=!0;return c(),l.push(t),function(){if(o){if(s)throw new Error(da(6));o=!1,c();var e=l.indexOf(t);l.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(da(7));if(void 0===t.type)throw new Error(da(8));if(s)throw new Error(da(9));try{s=!0,n=i(n,t)}finally{s=!1}for(var o=a=l,e=0;e<o.length;e++){(0,o[e])()}return t}return d({type:ya.INIT}),(r={dispatch:d,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(da(10));i=t,d({type:ya.REPLACE})}})[ua]=function(){var t,o=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(da(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[ua]=function(){return this},t},r}function ba(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var i=o[r];"function"==typeof t[i]&&(e[i]=t[i])}var n,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:ya.INIT}))throw new Error(da(12));if(void 0===e(void 0,{type:ya.PROBE_UNKNOWN_ACTION()}))throw new Error(da(13))}))}(e)}catch(t){n=t}return function(t,o){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},l=0;l<a.length;l++){var s=a[l],c=e[s],f=t[s],p=c(f,o);if(void 0===p)throw o&&o.type,new Error(da(14));i[s]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function ma(){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 va(){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(da(15))},i={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=o.map((function(t){return t(i)}));return r=ma.apply(void 0,n)(e.dispatch),pa(pa({},e),{},{dispatch:r})}}}function xa(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(i){return"function"==typeof i?i(e,r,t):o(i)}}}}var Oa=xa();Oa.withExtraArgument=xa;var wa,Sa=Oa,Na=(wa=function(t,o){return wa=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])},wa(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}wa(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),Ca=function(t,o){var e,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function l(n){return function(l){return function(n){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=o.call(t,a)}catch(t){n=[6,t],r=0}finally{e=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,l])}}},Ea=function(t,o){for(var e=0,r=o.length,i=t.length;e<r;e++,i++)t[i]=o[e];return t},$a=Object.defineProperty,Ra=Object.defineProperties,Ia=Object.getOwnPropertyDescriptors,ka=Object.getOwnPropertySymbols,La=Object.prototype.hasOwnProperty,Ua=Object.prototype.propertyIsEnumerable,Wa=function(t,o,e){return o in t?$a(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},za=function(t,o){for(var e in o||(o={}))La.call(o,e)&&Wa(t,e,o[e]);if(ka)for(var r=0,i=ka(o);r<i.length;r++){e=i[r];Ua.call(o,e)&&Wa(t,e,o[e])}return t},Fa=function(t,o){return Ra(t,Ia(o))},Ba="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?ma:ma.apply(null,arguments)};var Aa=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return Na(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,Ea([void 0],t[0].concat(this)))):new(o.bind.apply(o,Ea([void 0],t.concat(this))))},o}(Array),ja=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return Na(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,Ea([void 0],t[0].concat(this)))):new(o.bind.apply(o,Ea([void 0],t.concat(this))))},o}(Array);function _a(t){return dn(t)?aa(t,(function(){})):t}function Pa(){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 Aa;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(Sa.withExtraArgument(e.extraArgument)):r.push(Sa));return r}(t)}}function Za(t){var o,e=Pa(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,l=void 0===a?e():a,s=r.devTools,c=void 0===s||s,f=r.preloadedState,p=void 0===f?void 0:f,d=r.enhancers,u=void 0===d?void 0:d;if("function"==typeof n)o=n;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}(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');o=ba(n)}var h=l;"function"==typeof h&&(h=h(e));var y=va.apply(void 0,h),g=ma;c&&(g=Ba(za({trace:!1},"object"==typeof c&&c)));var b=new ja(y),m=b;return Array.isArray(u)?m=Ea([y],u):"function"==typeof u&&(m=u(b)),ga(o,p,g.apply(void 0,m))}function Ka(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var i=o.apply(void 0,e);if(!i)throw new Error("prepareAction did not return an object");return za(za({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.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 Ma(t){var o,e={},r=[],i={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,i},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),i},addDefaultCase:function(t){return o=t,i}};return t(i),[e,r,o]}function Da(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:_a(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},l={},s={};function c(){var o="function"==typeof t.extraReducers?Ma(t.extraReducers):[t.extraReducers],e=o[0],i=void 0===e?{}:e,n=o[1],a=void 0===n?[]:n,s=o[2],c=void 0===s?void 0:s,f=za(za({},i),l);return function(t,o,e,r){void 0===e&&(e=[]);var i,n="function"==typeof o?Ma(o):[o,e,r],a=n[0],l=n[1],s=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return _a(t())};else{var c=_a(t);i=function(){return c}}function f(t,o){void 0===t&&(t=i());var e=Ea([a[o.type]],l.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[s]),e.reduce((function(t,e){if(e){var r;if(pn(t))return void 0===(r=e(t,o))?t:r;if(dn(t))return aa(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=i,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 i=r[e];t.addMatcher(i.matcher,i.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var e,r,n=i[t],c=o+"/"+t;"reducer"in n?(e=n.reducer,r=n.prepare):e=n,a[t]=e,l[c]=e,s[t]=r?Ka(c,r):Ka(c)})),{name:o,reducer:function(t,o){return e||(e=c()),e(t,o)},actions:s,caseReducers:a,getInitialState:function(){return e||(e=c()),e.getInitialState()}}}var Ha=["name","message","stack","code"],Ta=function(t,o){this.payload=t,this.meta=o},Ga=function(t,o){this.payload=t,this.meta=o},Va=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Ha;e<r.length;e++){var i=r[e];"string"==typeof t[i]&&(o[i]=t[i])}return o}return{message:String(t)}};function qa(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=Ka(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:Fa(za({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),i=Ka(t+"/pending",(function(t,o,e){return{payload:void 0,meta:Fa(za({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),n=Ka(t+"/rejected",(function(t,o,r,i,n){return{payload:i,error:(e&&e.serializeError||Va)(t||"Rejected"),meta:Fa(za({},n||{}),{arg:r,requestId:o,rejectedWithValue:!!i,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(l,s,c){var f,p=(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 u(t){f=t,d.abort()}var h=function(){return a=this,h=null,y=function(){var a,h,y,g,b,m;return Ca(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:s,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||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"})}))})),l(i(p,t,null==(h=null==e?void 0:e.getPendingMeta)?void 0:h.call(e,{requestId:p,arg:t},{getState:s,extra:c}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:l,getState:s,extra:c,requestId:p,signal:d.signal,abort:u,rejectWithValue:function(t,o){return new Ta(t,o)},fulfillWithValue:function(t,o){return new Ga(t,o)}})).then((function(o){if(o instanceof Ta)throw o;return o instanceof Ga?r(o.payload,p,t,o.meta):r(o,p,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Ta?n(null,p,t,m.payload,m.meta):n(m,p,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&n.match(y)&&y.meta.condition||l(y),[2,y]}var x}))},new Promise((function(t,o){var e=function(t){try{i(y.next(t))}catch(t){o(t)}},r=function(t){try{i(y.throw(t))}catch(t){o(t)}},i=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};i((y=y.apply(a,h)).next())}));var a,h,y}();return Object.assign(h,{abort:u,requestId:p,arg:t,unwrap:function(){return h.then(qa)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Ya="listenerMiddleware";Ka(Ya+"/add"),Ka(Ya+"/removeAll"),Ka(Ya+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=i[t];return e?e.enumerable=o:i[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[Jn];return ea.get(o,t)},set:function(o){var e=this[Jn];ea.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var i=t[o][Jn];if(!i.P)switch(i.i){case 5:r(i)&&jn(i);break;case 4:e(i)&&jn(i)}}}function e(t){for(var o=t.t,e=t.k,r=Qn(e),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Jn){var a=o[n];if(void 0===a&&!yn(o,n))return!0;var l=e[n],s=l&&l[Jn];if(s?s.t!==a:!bn(l,a))return!0}}var c=!!o[Jn];return r.length!==Qn(o).length+(c?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 i={};!function(t,o){oa[t]||(oa[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),i=function(o,e){if(o){for(var r=Array(e.length),i=0;i<e.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=ta(e);delete n[Jn];for(var a=Qn(n),l=0;l<a.length;l++){var s=a[l];n[s]=t(s,o||!!n[s].enumerable)}return Object.create(Object.getPrototypeOf(e),n)}(r,o),n={i:r?5:4,A:e?e.A:En(),P:!1,I:!1,R:{},l:e,t:o,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Jn,{value:n,writable:!0}),i},S:function(t,e,i){i?pn(e)&&e[Jn].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[Jn];if(e){var i=e.t,n=e.k,a=e.R,l=e.i;if(4===l)un(n,(function(o){o!==Jn&&(void 0!==i[o]||yn(i,o)?a[o]||t(n[o]):(a[o]=!0,jn(e)))})),un(i,(function(t){void 0!==n[t]||yn(n,t)||(a[t]=!1,jn(e))}));else if(5===l){if(r(e)&&(jn(e),a.length=!0),n.length<i.length)for(var s=n.length;s<i.length;s++)a[s]=!1;else for(var c=i.length;c<n.length;c++)a[c]=!0;for(var f=Math.min(n.length,i.length),p=0;p<f;p++)n.hasOwnProperty(p)||(a[p]=!0),void 0===a[p]&&t(n[p])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Ja{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[e];if(on(i))return i;if(null==r)return;const n=Da({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=Za({reducer:(t,o)=>"CLEAR_FT_REDUX_STORE"===o.type?n.getInitialState():"string"==typeof o.type&&o.type.startsWith("DEFAULT_VALUE_SETTER__")?{...t,...o.overwrites}:n.reducer(t,o)});return window.ftReduxStores[r.name]=new Ja(n,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,i=t[r];return i?(...t)=>{const o=i(...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 Xa=Object.freeze({__proto__:null,FtCommandQueue:tn,FtLitElementRedux:cn,FtReduxStore:Ja,clearAllStores:function(){var t;for(let o of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))on(o)&&o.clear()},isFtReduxStore:on,redux:t=>{const o=null!=t?t:{};return(t,e)=>{var r;const i={hasChanged:(t,o)=>!de(t,o),attribute:!1,...o};So(i)(t,e);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.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 Qa=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 tl=Symbol("elementInternals");function ol(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[tl].form}constructor(...t){super(t),this[tl]=this.attachInternals(),this[tl].role=o}setFormValue(t){this[tl].setFormValue(t)}}}var el,rl,il,nl,al=Object.freeze({__proto__:null,toFtFormComponent:ol});const ll=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(il=null===(rl=null===(el=window.safari)||void 0===el?void 0:el.pushNotification)||void 0===rl?void 0:rl.toString())&&void 0!==il?il:""),sl="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(nl=window.ftGlobals)&&void 0!==nl?nl:{lit:xo,litDecorators:Lo,litRepeat:Do,litClassMap:To,litStyleMap:Yo,litUnsafeHTML:Qo,wcUtils:{...ie,...re,...ae,...se,...me,...wr,...Er,...Ii,...xr,...Pi,...Zi,...he,...Gi,...Ji,...Xi,...Qi,...Xa,...zi,...Qa,...al,isSafari:ll,isTouchScreen:sl}};const cl={zIndex:xe.create("--ft-floating-menu-z-index","","NUMBER","8"),maxWidth:xe.create("--ft-floating-menu-max-width","","SIZE","300px"),maxHeight:xe.create("--ft-floating-menu-max-height","","SIZE","500px"),textColor:xe.extend("--ft-floating-menu-text-color","",Or.colorOnSurfaceHigh),colorSurface:xe.external(Or.colorSurface,"Design system"),menuElevation:xe.external(Or.elevation02,"Design system"),borderRadiusS:xe.external(Or.borderRadiusS,"Design system")},fl=dt`
|
|
176
176
|
.ft-floating-menu {
|
|
177
177
|
color: ${cl.textColor};
|
|
178
178
|
display: contents;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-floating-menu",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.47",
|
|
4
4
|
"description": "Floating menu component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-button": "1.1.
|
|
23
|
-
"@fluid-topics/ft-icon": "1.1.
|
|
24
|
-
"@fluid-topics/ft-ripple": "1.1.
|
|
25
|
-
"@fluid-topics/ft-typography": "1.1.
|
|
26
|
-
"@fluid-topics/ft-wc-utils": "1.1.
|
|
22
|
+
"@fluid-topics/ft-button": "1.1.47",
|
|
23
|
+
"@fluid-topics/ft-icon": "1.1.47",
|
|
24
|
+
"@fluid-topics/ft-ripple": "1.1.47",
|
|
25
|
+
"@fluid-topics/ft-typography": "1.1.47",
|
|
26
|
+
"@fluid-topics/ft-wc-utils": "1.1.47",
|
|
27
27
|
"lit": "3.1.0"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "1db5758867789ddaf0768436a795528385468131"
|
|
30
30
|
}
|