@fluid-topics/ft-wc-utils 0.3.57 → 0.3.58
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/CacheRegistry.d.ts +15 -6
- package/build/CacheRegistry.js +38 -7
- package/build/ParametrizedLabelResolver.d.ts +1 -1
- package/build/ParametrizedLabelResolver.js +1 -1
- package/build/decorators.js +2 -0
- package/build/globals.min.js +5 -5
- package/build/redux.d.ts +3 -1
- package/build/redux.js +21 -9
- package/package.json +2 -2
package/build/CacheRegistry.d.ts
CHANGED
|
@@ -1,14 +1,23 @@
|
|
|
1
1
|
import { CancelablePromise } from "./CancelablePromise";
|
|
2
|
-
export declare type CachedContent<T> = undefined | CancelablePromise<T> | T | Error;
|
|
3
|
-
export declare class CacheRegistry {
|
|
2
|
+
export declare type CachedContent<T = any> = undefined | CancelablePromise<T> | T | Error;
|
|
3
|
+
export declare class CacheRegistry<T = any> {
|
|
4
4
|
private loaders;
|
|
5
5
|
private content;
|
|
6
6
|
private finalContent;
|
|
7
|
-
register
|
|
8
|
-
registerFinal
|
|
7
|
+
register(key: string, loader: () => Promise<T>): void;
|
|
8
|
+
registerFinal(key: string, loader: () => Promise<T>): void;
|
|
9
9
|
clearAll(): void;
|
|
10
10
|
clear(key: string): void;
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
private forceClear;
|
|
12
|
+
set(key: string, value: T): void;
|
|
13
|
+
setFinal(key: string, value: T): void;
|
|
14
|
+
get<U = T>(key: string, loader?: () => Promise<U>): Promise<U>;
|
|
15
|
+
private isResolvedValue;
|
|
16
|
+
getNow<U = T>(key: string): U | undefined;
|
|
17
|
+
has(key: string): boolean;
|
|
18
|
+
resolvedKeys(): Array<string>;
|
|
19
|
+
resolvedValues(): Array<T>;
|
|
20
|
+
keys(): Array<string>;
|
|
21
|
+
values(): Array<CachedContent<T>>;
|
|
13
22
|
}
|
|
14
23
|
//# sourceMappingURL=CacheRegistry.d.ts.map
|
package/build/CacheRegistry.js
CHANGED
|
@@ -20,11 +20,24 @@ export class CacheRegistry {
|
|
|
20
20
|
}
|
|
21
21
|
clear(key) {
|
|
22
22
|
if (!this.finalContent.has(key)) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
this.forceClear(key);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
forceClear(key) {
|
|
27
|
+
if (this.content[key] instanceof CancelablePromise) {
|
|
28
|
+
this.content[key].cancel();
|
|
27
29
|
}
|
|
30
|
+
delete this.content[key];
|
|
31
|
+
}
|
|
32
|
+
set(key, value) {
|
|
33
|
+
this.forceClear(key);
|
|
34
|
+
this.register(key, async () => value);
|
|
35
|
+
this.content[key] = value;
|
|
36
|
+
}
|
|
37
|
+
setFinal(key, value) {
|
|
38
|
+
this.forceClear(key);
|
|
39
|
+
this.registerFinal(key, async () => value);
|
|
40
|
+
this.content[key] = value;
|
|
28
41
|
}
|
|
29
42
|
async get(key, loader) {
|
|
30
43
|
if (this.content[key] === undefined) {
|
|
@@ -45,11 +58,29 @@ export class CacheRegistry {
|
|
|
45
58
|
}
|
|
46
59
|
return this.content[key];
|
|
47
60
|
}
|
|
61
|
+
isResolvedValue(value) {
|
|
62
|
+
return value != null && !(value instanceof Promise) && !(value instanceof Error);
|
|
63
|
+
}
|
|
48
64
|
getNow(key) {
|
|
49
|
-
if (this.
|
|
50
|
-
return
|
|
65
|
+
if (this.isResolvedValue(this.content[key])) {
|
|
66
|
+
return this.content[key];
|
|
51
67
|
}
|
|
52
|
-
return
|
|
68
|
+
return undefined;
|
|
69
|
+
}
|
|
70
|
+
has(key) {
|
|
71
|
+
return this.content[key] != null;
|
|
72
|
+
}
|
|
73
|
+
resolvedKeys() {
|
|
74
|
+
return Object.keys(this.content).filter(key => this.isResolvedValue(this.content[key]));
|
|
75
|
+
}
|
|
76
|
+
resolvedValues() {
|
|
77
|
+
return Object.values(this.content).filter(value => this.isResolvedValue(value));
|
|
78
|
+
}
|
|
79
|
+
keys() {
|
|
80
|
+
return Object.keys(this.content);
|
|
81
|
+
}
|
|
82
|
+
values() {
|
|
83
|
+
return Object.values(this.content);
|
|
53
84
|
}
|
|
54
85
|
}
|
|
55
86
|
//# sourceMappingURL=CacheRegistry.js.map
|
|
@@ -3,7 +3,7 @@ export declare class ParametrizedLabelResolver<T extends ParametrizedLabels = Pa
|
|
|
3
3
|
private defaultLabels;
|
|
4
4
|
private labels;
|
|
5
5
|
constructor(defaultLabels: T, labels: T);
|
|
6
|
-
resolve(key: keyof T, ...args: any[]): string
|
|
6
|
+
resolve(key: keyof T, ...args: any[]): string;
|
|
7
7
|
private resolvePluralKey;
|
|
8
8
|
private formatValue;
|
|
9
9
|
private formatDate;
|
|
@@ -6,7 +6,7 @@ export class ParametrizedLabelResolver {
|
|
|
6
6
|
resolve(key, ...args) {
|
|
7
7
|
var _a, _b;
|
|
8
8
|
key = this.resolvePluralKey(key, args);
|
|
9
|
-
let label = (_b = (_a = this.labels[key]) !== null && _a !== void 0 ? _a : this.defaultLabels[key]) !== null && _b !== void 0 ? _b :
|
|
9
|
+
let label = (_b = (_a = this.labels[key]) !== null && _a !== void 0 ? _a : this.defaultLabels[key]) !== null && _b !== void 0 ? _b : key;
|
|
10
10
|
args.forEach((value, index) => label = label.replace(new RegExp(`\\{${index}([^}]*)\\}`, "g"), (match, modifier) => this.formatValue(value, modifier)));
|
|
11
11
|
return label;
|
|
12
12
|
}
|
package/build/decorators.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { property } from "lit/decorators.js";
|
|
2
|
+
import { deepEqual } from "./deep-equal";
|
|
2
3
|
export const customElement = (tagName) => (clazz) => {
|
|
3
4
|
if (!window.customElements.get(tagName)) {
|
|
4
5
|
window.customElements.define(tagName, clazz);
|
|
@@ -24,6 +25,7 @@ export function jsonProperty(defaultValue, options) {
|
|
|
24
25
|
return JSON.stringify(value);
|
|
25
26
|
}
|
|
26
27
|
},
|
|
28
|
+
hasChanged: (a, b) => !deepEqual(a, b),
|
|
27
29
|
...(options !== null && options !== void 0 ? options : {})
|
|
28
30
|
});
|
|
29
31
|
}
|
package/build/globals.min.js
CHANGED
|
@@ -15,7 +15,7 @@ const e=window,n=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"
|
|
|
15
15
|
* Copyright 2017 Google LLC
|
|
16
16
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
17
17
|
*/
|
|
18
|
-
var w;m.finalized=!0,m.elementProperties=new Map,m.elementStyles=[],m.shadowRootOptions={mode:"open"},null==v||v({ReactiveElement:m}),(null!==(l=f.reactiveElementVersions)&&void 0!==l?l:f.reactiveElementVersions=[]).push("1.4.1");const g=window,O=g.trustedTypes,x=O?O.createPolicy("lit-html",{createHTML:t=>t}):void 0,S=`lit$${(Math.random()+"").slice(9)}$`,E="?"+S,j=`<${E}>`,R=document,C=(t="")=>R.createComment(t),N=t=>null===t||"object"!=typeof t&&"function"!=typeof t,M=Array.isArray,$=t=>M(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),A=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,
|
|
18
|
+
var w;m.finalized=!0,m.elementProperties=new Map,m.elementStyles=[],m.shadowRootOptions={mode:"open"},null==v||v({ReactiveElement:m}),(null!==(l=f.reactiveElementVersions)&&void 0!==l?l:f.reactiveElementVersions=[]).push("1.4.1");const g=window,O=g.trustedTypes,x=O?O.createPolicy("lit-html",{createHTML:t=>t}):void 0,S=`lit$${(Math.random()+"").slice(9)}$`,E="?"+S,j=`<${E}>`,R=document,C=(t="")=>R.createComment(t),N=t=>null===t||"object"!=typeof t&&"function"!=typeof t,M=Array.isArray,$=t=>M(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),A=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,k=/>/g,P=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),U=/'/g,F=/"/g,L=/^(?:script|style|textarea|title)$/i,T=t=>(e,...n)=>({_$litType$:t,strings:e,values:n}),D=T(1),B=T(2),W=Symbol.for("lit-noChange"),I=Symbol.for("lit-nothing"),K=new WeakMap,H=R.createTreeWalker(R,129,null,!1),V=(t,e)=>{const n=t.length-1,r=[];let i,o=2===e?"<svg>":"",s=A;for(let e=0;e<n;e++){const n=t[e];let u,c,a=-1,l=0;for(;l<n.length&&(s.lastIndex=l,c=s.exec(n),null!==c);)l=s.lastIndex,s===A?"!--"===c[1]?s=_:void 0!==c[1]?s=k:void 0!==c[2]?(L.test(c[2])&&(i=RegExp("</"+c[2],"g")),s=P):void 0!==c[3]&&(s=P):s===P?">"===c[0]?(s=null!=i?i:A,a=-1):void 0===c[1]?a=-2:(a=s.lastIndex-c[2].length,u=c[1],s=void 0===c[3]?P:'"'===c[3]?F:U):s===F||s===U?s=P:s===_||s===k?s=A:(s=P,i=void 0);const f=s===P&&t[e+1].startsWith("/>")?" ":"";o+=s===A?n+j:a>=0?(r.push(u),n.slice(0,a)+"$lit$"+n.slice(a)+S+f):n+S+(-2===a?(r.push(void 0),e):f)}const u=o+(t[n]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==x?x.createHTML(u):u,r]};class q{constructor({strings:t,_$litType$:e},n){let r;this.parts=[];let i=0,o=0;const s=t.length-1,u=this.parts,[c,a]=V(t,e);if(this.el=q.createElement(c,n),H.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(r=H.nextNode())&&u.length<s;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const e of r.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(S)){const n=a[o++];if(t.push(e),void 0!==n){const t=r.getAttribute(n.toLowerCase()+"$lit$").split(S),e=/([.?@])?(.*)/.exec(n);u.push({type:1,index:i,name:e[2],strings:t,ctor:"."===e[1]?G:"?"===e[1]?Y:"@"===e[1]?tt:X})}else u.push({type:6,index:i})}for(const e of t)r.removeAttribute(e)}if(L.test(r.tagName)){const t=r.textContent.split(S),e=t.length-1;if(e>0){r.textContent=O?O.emptyScript:"";for(let n=0;n<e;n++)r.append(t[n],C()),H.nextNode(),u.push({type:2,index:++i});r.append(t[e],C())}}}else if(8===r.nodeType)if(r.data===E)u.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(S,t+1));)u.push({type:7,index:i}),t+=S.length-1}i++}}static createElement(t,e){const n=R.createElement("template");return n.innerHTML=t,n}}function z(t,e,n=t,r){var i,o,s,u;if(e===W)return e;let c=void 0!==r?null===(i=n._$Co)||void 0===i?void 0:i[r]:n._$Cl;const a=N(e)?void 0:e._$litDirective$;return(null==c?void 0:c.constructor)!==a&&(null===(o=null==c?void 0:c._$AO)||void 0===o||o.call(c,!1),void 0===a?c=void 0:(c=new a(t),c._$AT(t,n,r)),void 0!==r?(null!==(s=(u=n)._$Co)&&void 0!==s?s:u._$Co=[])[r]=c:n._$Cl=c),void 0!==c&&(e=z(t,c._$AS(t,e.values),c,r)),e}class J{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:n},parts:r}=this._$AD,i=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:R).importNode(n,!0);H.currentNode=i;let o=H.nextNode(),s=0,u=0,c=r[0];for(;void 0!==c;){if(s===c.index){let e;2===c.type?e=new Z(o,o.nextSibling,this,t):1===c.type?e=new c.ctor(o,c.name,c.strings,this,t):6===c.type&&(e=new et(o,this,t)),this.u.push(e),c=r[++u]}s!==(null==c?void 0:c.index)&&(o=H.nextNode(),s++)}return i}p(t){let e=0;for(const n of this.u)void 0!==n&&(void 0!==n.strings?(n._$AI(t,n,e),e+=n.strings.length-2):n._$AI(t[e])),e++}}class Z{constructor(t,e,n,r){var i;this.type=2,this._$AH=I,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=n,this.options=r,this._$Cm=null===(i=null==r?void 0:r.isConnected)||void 0===i||i}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=z(this,t,e),N(t)?t===I||null==t||""===t?(this._$AH!==I&&this._$AR(),this._$AH=I):t!==this._$AH&&t!==W&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):$(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==I&&N(this._$AH)?this._$AA.nextSibling.data=t:this.T(R.createTextNode(t)),this._$AH=t}$(t){var e;const{values:n,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=q.createElement(r.h,this.options)),r);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===i)this._$AH.p(n);else{const t=new J(i,this),e=t.v(this.options);t.p(n),this.T(e),this._$AH=t}}_$AC(t){let e=K.get(t.strings);return void 0===e&&K.set(t.strings,e=new q(t)),e}k(t){M(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let n,r=0;for(const i of t)r===e.length?e.push(n=new Z(this.O(C()),this.O(C()),this,this.options)):n=e[r],n._$AI(i),r++;r<e.length&&(this._$AR(n&&n._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){var n;for(null===(n=this._$AP)||void 0===n||n.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cm=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class X{constructor(t,e,n,r,i){this.type=1,this._$AH=I,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,n.length>2||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=I}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,n,r){const i=this.strings;let o=!1;if(void 0===i)t=z(this,t,e,0),o=!N(t)||t!==this._$AH&&t!==W,o&&(this._$AH=t);else{const r=t;let s,u;for(t=i[0],s=0;s<i.length-1;s++)u=z(this,r[n+s],e,s),u===W&&(u=this._$AH[s]),o||(o=!N(u)||u!==this._$AH[s]),u===I?t=I:t!==I&&(t+=(null!=u?u:"")+i[s+1]),this._$AH[s]=u}o&&!r&&this.j(t)}j(t){t===I?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class G extends X{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===I?void 0:t}}const Q=O?O.emptyScript:"";class Y extends X{constructor(){super(...arguments),this.type=4}j(t){t&&t!==I?this.element.setAttribute(this.name,Q):this.element.removeAttribute(this.name)}}class tt extends X{constructor(t,e,n,r,i){super(t,e,n,r,i),this.type=5}_$AI(t,e=this){var n;if((t=null!==(n=z(this,t,e,0))&&void 0!==n?n:I)===W)return;const r=this._$AH,i=t===I&&r!==I||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,o=t!==I&&(r===I||i);i&&this.element.removeEventListener(this.name,this,r),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,n;"function"==typeof this._$AH?this._$AH.call(null!==(n=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==n?n:this.element,t):this._$AH.handleEvent(t)}}class et{constructor(t,e,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){z(this,t)}}const nt={P:"$lit$",A:S,M:E,C:1,L:V,R:J,D:$,V:z,I:Z,H:X,N:Y,U:tt,B:G,F:et},rt=g.litHtmlPolyfillSupport;null==rt||rt(q,Z),(null!==(w=g.litHtmlVersions)&&void 0!==w?w:g.litHtmlVersions=[]).push("2.4.0");const it=(t,e,n)=>{var r,i;const o=null!==(r=null==n?void 0:n.renderBefore)&&void 0!==r?r:e;let s=o._$litPart$;if(void 0===s){const t=null!==(i=null==n?void 0:n.renderBefore)&&void 0!==i?i:null;o._$litPart$=s=new Z(e.insertBefore(C(),t),t,void 0,null!=n?n:{})}return s._$AI(t),s
|
|
19
19
|
/**
|
|
20
20
|
* @license
|
|
21
21
|
* Copyright 2017 Google LLC
|
|
@@ -97,7 +97,7 @@ var vt;const pt=null!=(null===(vt=window.HTMLSlotElement)||void 0===vt?void 0:vt
|
|
|
97
97
|
* @license
|
|
98
98
|
* Copyright 2018 Google LLC
|
|
99
99
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
100
|
-
*/const
|
|
100
|
+
*/const kt=gt(class extends Ot{constructor(t){var e;if(super(t),t.type!==mt||"style"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,n)=>{const r=t[n];return null==r?e:e+`${n=n.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`}),"")}update(t,[e]){const{style:n}=t.element;if(void 0===this.vt){this.vt=new Set;for(const t in e)this.vt.add(t);return this.render(e)}this.vt.forEach((t=>{null==e[t]&&(this.vt.delete(t),t.includes("-")?n.removeProperty(t):n[t]="")}));for(const t in e){const r=e[t];null!=r&&(this.vt.add(t),t.includes("-")?n.setProperty(t,r):n[t]=r)}return W}});var Pt=Object.freeze({__proto__:null,styleMap:kt});
|
|
101
101
|
/**
|
|
102
102
|
* @license
|
|
103
103
|
* Copyright 2017 Google LLC
|
|
@@ -117,7 +117,7 @@ var vt;const pt=null!=(null===(vt=window.HTMLSlotElement)||void 0===vt?void 0:vt
|
|
|
117
117
|
* http://polymer.github.io/PATENTS.txt
|
|
118
118
|
*
|
|
119
119
|
* @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
|
|
120
|
-
*/if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,n=window.customElements.get,r=window.customElements,i=new WeakMap,o=new WeakMap,s=new WeakMap,u=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const u=i.prototype.attributeChangedCallback,c=new Set(i.observedAttributes||[]);h(i,c,u);const a={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:u,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,a),this._definitionsByClass.set(i,a);let l=n.call(r,t);l||(l=f(t),e.call(r,t,l)),this===window.customElements&&(s.set(i,a),a.standInClass=l);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)o.delete(t),v(t,a,!0)}const p=this._whenDefinedPromises.get(t);return void 0!==p&&(p.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){b.push(this),r.upgrade.apply(r,arguments),b.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let n=this._whenDefinedPromises.get(t);return void 0===n&&(n={},n.promise=new Promise((t=>n.resolve=t)),this._whenDefinedPromises.set(t,n)),n.promise}_upgradeWhenDefined(t,e,n){let r=this._awaitingUpgrade.get(e);r||this._awaitingUpgrade.set(e,r=new Set),n?r.add(t):r.delete(t)}},window.HTMLElement=function(){let e=c;if(e)return c=void 0,e;const n=s.get(this.constructor);if(!n)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],n.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),i.set(e,n),e},window.HTMLElement.prototype=t.prototype;const a=t=>t===document||t instanceof ShadowRoot,l=t=>{let e=t.getRootNode();if(!a(e)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),a(e)||(e=u.get(e)?.getRootNode()||document)}return e.customElements},f=e=>class{static get formAssociated(){return!0}constructor(){const n=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(n,HTMLElement.prototype);const r=l(n)||window.customElements,i=r._getDefinition(e);return i?v(n,i):o.set(n,r),n}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):o.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):o.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,e,n)=>{if(0===e.size||void 0===n)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);r.call(this,o,i),n.call(this,o,t,i)}else r.call(this,o,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);i.call(this,r),n.call(this,r,t,null)}else i.call(this,r)})},d=e=>{const n=Object.getPrototypeOf(e);if(n!==window.HTMLElement)return n===t||"HTMLElement"===n?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(n)},v=(t,e,n=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),i.set(t,e),c=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((n=>{t.hasAttribute(n)&&e.attributeChangedCallback.call(t,n,null,t.getAttribute(n))})),n&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},p=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=p.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let b=[document];const y=(t,e,n)=>{const r=(n?Object.getPrototypeOf(n):t.prototype)[e];t.prototype[e]=function(){b.push(this);const t=r.apply(n||this,arguments);return void 0!==t&&u.set(t,this),b.pop(),t}};y(ShadowRoot,"createElement",document),y(ShadowRoot,"importNode",document),y(Element,"insertAdjacentHTML");const m=(t,e)=>{const n=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...n,set(t){b.push(this),n.set.call(this,t),b.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,n=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...n){const r=e.call(this,...n);return t.set(r,this),r},n.forEach((e=>{const n=window.ElementInternals.prototype,r=n[e];n[e]=function(...e){const n=t.get(this);if(!0!==i.get(n).formAssociated)throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`);r?.call(this,...e)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class o{constructor(t){const e=new Map;t.forEach(((t,n)=>{const r=t.getAttribute("name"),i=e.get(r)||[];this[+n]=t,i.push(t),e.set(r,i)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new r(t))}))}namedItem(t){return this[t]}}const s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.get.call(this,[]),e=[];for(const n of t){const t=i.get(n);t&&!0!==t.formAssociated||e.push(n)}return new o(e)}})}}try{window.customElements.define("custom-element",null)}catch(t){const e=window.customElements.define;window.customElements.define=(t,n,r)=>{try{e.bind(window.customElements)(t,n,r)}catch(e){console.info(t,n,r,e)}}}class Tt extends Promise{constructor(t){super(((e,n)=>t((t=>{this.isCanceled?n(new Error("Promise has been canceled")):e(t)}),(t=>{this.isCanceled?n(new Error("Promise has been canceled")):n(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const Dt=t=>new Tt(((e,n)=>t.then(e).catch(n)));class Bt{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const n=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of n)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}function Wt(t,e){const n=()=>JSON.parse(JSON.stringify(t));return ht({type:Object,converter:{fromAttribute:t=>{if(null==t)return n();try{return JSON.parse(t)}catch{return n()}},toAttribute:t=>JSON.stringify(t)},...null!=e?e:{}})}function It(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var n,r,i;if(Array.isArray(t)){if((n=t.length)!=e.length)return!1;for(r=n;0!=r--;)if(!It(t[r],e[r]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(r of t.entries())if(!e.has(r[0]))return!1;for(r of t.entries())if(!It(r[1],e.get(r[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(r of t.entries())if(!e.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((n=(i=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(e,i[r]))return!1;for(r=n;0!=r--;){var o=i[r];if(!It(t[o],e[o]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}class Ht{static create(t,e,n){let r=t=>s(null!=t?t:n),i=u`var(${s(t)}, ${r(n)})`;return i.name=t,i.category=e,i.defaultValue=n,i.defaultCssValue=r,i.get=e=>u`var(${s(t)}, ${r(e)})`,i.breadcrumb=()=>[],i.lastResortDefaultValue=()=>n,i}static extend(t,e,n){let r=t=>e.get(null!=t?t:n),i=u`var(${s(t)}, ${r(n)})`;return i.name=t,i.category=e.category,i.fallbackVariable=e,i.defaultValue=n,i.defaultCssValue=r,i.get=e=>u`var(${s(t)}, ${r(e)})`,i.breadcrumb=()=>[e.name,...e.breadcrumb()],i.lastResortDefaultValue=()=>n,i}static external(t,e){let n=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):s(null!=e?e:t.defaultValue),r=u`var(${s(t.name)}, ${n(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=n,r.get=e=>u`var(${s(t.name)}, ${n(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>{var e,n;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(n=t.fallbackVariable)||void 0===n?void 0:n.lastResortDefaultValue()},r}}const Kt={colorPrimary:Ht.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:Ht.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:Ht.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:Ht.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:Ht.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:Ht.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Ht.create("--ft-color-error","COLOR","#B00020"),colorOutline:Ht.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Ht.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:Ht.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:Ht.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:Ht.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:Ht.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:Ht.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Ht.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Ht.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:Ht.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:Ht.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Ht.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Ht.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Ht.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Ht.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Ht.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Ht.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:Ht.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:Ht.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:Ht.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:Ht.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:Ht.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:Ht.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Ht.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Ht.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:Ht.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Ht.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Ht.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Ht.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Ht.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Ht.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Ht.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:Ht.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Ht.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Ht.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Ht.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Ht.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:Ht.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:Ht.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:Ht.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:Ht.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:Ht.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:Ht.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:Ht.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:Ht.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:Ht.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:Ht.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:Ht.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:Ht.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:Ht.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:Ht.create("--ft-border-radius-XL","SIZE","16px"),titleFont:Ht.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Ht.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Ht.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:Ht.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};class Vt extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}
|
|
120
|
+
*/if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,n=window.customElements.get,r=window.customElements,i=new WeakMap,o=new WeakMap,s=new WeakMap,u=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const u=i.prototype.attributeChangedCallback,c=new Set(i.observedAttributes||[]);h(i,c,u);const a={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:u,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,a),this._definitionsByClass.set(i,a);let l=n.call(r,t);l||(l=f(t),e.call(r,t,l)),this===window.customElements&&(s.set(i,a),a.standInClass=l);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)o.delete(t),v(t,a,!0)}const p=this._whenDefinedPromises.get(t);return void 0!==p&&(p.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){b.push(this),r.upgrade.apply(r,arguments),b.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let n=this._whenDefinedPromises.get(t);return void 0===n&&(n={},n.promise=new Promise((t=>n.resolve=t)),this._whenDefinedPromises.set(t,n)),n.promise}_upgradeWhenDefined(t,e,n){let r=this._awaitingUpgrade.get(e);r||this._awaitingUpgrade.set(e,r=new Set),n?r.add(t):r.delete(t)}},window.HTMLElement=function(){let e=c;if(e)return c=void 0,e;const n=s.get(this.constructor);if(!n)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],n.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),i.set(e,n),e},window.HTMLElement.prototype=t.prototype;const a=t=>t===document||t instanceof ShadowRoot,l=t=>{let e=t.getRootNode();if(!a(e)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),a(e)||(e=u.get(e)?.getRootNode()||document)}return e.customElements},f=e=>class{static get formAssociated(){return!0}constructor(){const n=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(n,HTMLElement.prototype);const r=l(n)||window.customElements,i=r._getDefinition(e);return i?v(n,i):o.set(n,r),n}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):o.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):o.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,e,n)=>{if(0===e.size||void 0===n)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);r.call(this,o,i),n.call(this,o,t,i)}else r.call(this,o,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);i.call(this,r),n.call(this,r,t,null)}else i.call(this,r)})},d=e=>{const n=Object.getPrototypeOf(e);if(n!==window.HTMLElement)return n===t||"HTMLElement"===n?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(n)},v=(t,e,n=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),i.set(t,e),c=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((n=>{t.hasAttribute(n)&&e.attributeChangedCallback.call(t,n,null,t.getAttribute(n))})),n&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},p=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=p.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let b=[document];const y=(t,e,n)=>{const r=(n?Object.getPrototypeOf(n):t.prototype)[e];t.prototype[e]=function(){b.push(this);const t=r.apply(n||this,arguments);return void 0!==t&&u.set(t,this),b.pop(),t}};y(ShadowRoot,"createElement",document),y(ShadowRoot,"importNode",document),y(Element,"insertAdjacentHTML");const m=(t,e)=>{const n=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...n,set(t){b.push(this),n.set.call(this,t),b.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,n=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...n){const r=e.call(this,...n);return t.set(r,this),r},n.forEach((e=>{const n=window.ElementInternals.prototype,r=n[e];n[e]=function(...e){const n=t.get(this);if(!0!==i.get(n).formAssociated)throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`);r?.call(this,...e)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class o{constructor(t){const e=new Map;t.forEach(((t,n)=>{const r=t.getAttribute("name"),i=e.get(r)||[];this[+n]=t,i.push(t),e.set(r,i)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new r(t))}))}namedItem(t){return this[t]}}const s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.get.call(this,[]),e=[];for(const n of t){const t=i.get(n);t&&!0!==t.formAssociated||e.push(n)}return new o(e)}})}}try{window.customElements.define("custom-element",null)}catch(t){const e=window.customElements.define;window.customElements.define=(t,n,r)=>{try{e.bind(window.customElements)(t,n,r)}catch(e){console.info(t,n,r,e)}}}class Tt extends Promise{constructor(t){super(((e,n)=>t((t=>{this.isCanceled?n(new Error("Promise has been canceled")):e(t)}),(t=>{this.isCanceled?n(new Error("Promise has been canceled")):n(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const Dt=t=>new Tt(((e,n)=>t.then(e).catch(n)));class Bt{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const n=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of n)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}function Wt(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var n,r,i;if(Array.isArray(t)){if((n=t.length)!=e.length)return!1;for(r=n;0!=r--;)if(!Wt(t[r],e[r]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(r of t.entries())if(!e.has(r[0]))return!1;for(r of t.entries())if(!Wt(r[1],e.get(r[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(r of t.entries())if(!e.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((n=(i=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(e,i[r]))return!1;for(r=n;0!=r--;){var o=i[r];if(!Wt(t[o],e[o]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}function It(t,e){const n=()=>JSON.parse(JSON.stringify(t));return ht({type:Object,converter:{fromAttribute:t=>{if(null==t)return n();try{return JSON.parse(t)}catch{return n()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!Wt(t,e),...null!=e?e:{}})}class Kt{static create(t,e,n){let r=t=>s(null!=t?t:n),i=u`var(${s(t)}, ${r(n)})`;return i.name=t,i.category=e,i.defaultValue=n,i.defaultCssValue=r,i.get=e=>u`var(${s(t)}, ${r(e)})`,i.breadcrumb=()=>[],i.lastResortDefaultValue=()=>n,i}static extend(t,e,n){let r=t=>e.get(null!=t?t:n),i=u`var(${s(t)}, ${r(n)})`;return i.name=t,i.category=e.category,i.fallbackVariable=e,i.defaultValue=n,i.defaultCssValue=r,i.get=e=>u`var(${s(t)}, ${r(e)})`,i.breadcrumb=()=>[e.name,...e.breadcrumb()],i.lastResortDefaultValue=()=>n,i}static external(t,e){let n=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):s(null!=e?e:t.defaultValue),r=u`var(${s(t.name)}, ${n(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=n,r.get=e=>u`var(${s(t.name)}, ${n(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>{var e,n;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(n=t.fallbackVariable)||void 0===n?void 0:n.lastResortDefaultValue()},r}}const Ht={colorPrimary:Kt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:Kt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:Kt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:Kt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:Kt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:Kt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Kt.create("--ft-color-error","COLOR","#B00020"),colorOutline:Kt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Kt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:Kt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:Kt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:Kt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:Kt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:Kt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Kt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Kt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:Kt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:Kt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Kt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Kt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Kt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Kt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Kt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Kt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:Kt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:Kt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:Kt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:Kt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:Kt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:Kt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Kt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Kt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:Kt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Kt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Kt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Kt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Kt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Kt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Kt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:Kt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Kt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Kt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Kt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Kt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:Kt.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:Kt.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:Kt.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:Kt.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:Kt.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:Kt.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:Kt.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:Kt.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:Kt.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:Kt.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:Kt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:Kt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:Kt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:Kt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:Kt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Kt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Kt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:Kt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};class Vt extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}
|
|
121
121
|
/**
|
|
122
122
|
* @license
|
|
123
123
|
* Copyright 2021 Google LLC
|
|
@@ -127,7 +127,7 @@ var vt;const pt=null!=(null===(vt=window.HTMLSlotElement)||void 0===vt?void 0:vt
|
|
|
127
127
|
<style>${t}</style>
|
|
128
128
|
`))}
|
|
129
129
|
${this.getTemplate()}
|
|
130
|
-
`}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,n;if((null!==(n=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==n?n:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this.exportpartsDebouncer.run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,n,r,i,o,s;const u=t=>null!=t&&t.trim().length>0,c=t.filter(u).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const a=new Set;for(let t of null!==(n=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==n?n:[]){const e=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],n=null!==(s=null===(o=t.getAttribute("exportparts"))||void 0===o?void 0:o.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...e,...n).filter(u).map((t=>t.trim())).forEach((t=>a.add(t)))}if(0===a.size)return void this.removeAttribute("exportparts");const l=[...a.values()].flatMap((t=>c.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...l].join(", "))}}qt([ht()],zt.prototype,"exportpartsPrefix",void 0),qt([
|
|
130
|
+
`}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,n;if((null!==(n=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==n?n:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this.exportpartsDebouncer.run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,n,r,i,o,s;const u=t=>null!=t&&t.trim().length>0,c=t.filter(u).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const a=new Set;for(let t of null!==(n=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==n?n:[]){const e=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],n=null!==(s=null===(o=t.getAttribute("exportparts"))||void 0===o?void 0:o.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...e,...n).filter(u).map((t=>t.trim())).forEach((t=>a.add(t)))}if(0===a.size)return void this.removeAttribute("exportparts");const l=[...a.values()].flatMap((t=>c.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...l].join(", "))}}qt([ht()],zt.prototype,"exportpartsPrefix",void 0),qt([It([])],zt.prototype,"exportpartsPrefixes",void 0),qt([ht()],zt.prototype,"customStylesheet",void 0);const Jt=u`
|
|
131
131
|
.ft-no-text-select {
|
|
132
132
|
-webkit-touch-callout: none;
|
|
133
133
|
-webkit-user-select: none;
|
|
@@ -159,4 +159,4 @@ var vt;const pt=null!=(null===(vt=window.HTMLSlotElement)||void 0===vt?void 0:vt
|
|
|
159
159
|
display: inline-block;
|
|
160
160
|
width: 0;
|
|
161
161
|
}
|
|
162
|
-
`;function Gt(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(n.length?" "+n.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Qt(t){return!!t&&!!t[Te]}function Yt(t){return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var n=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===De}(t)||Array.isArray(t)||!!t[Le]||!!t.constructor[Le]||oe(t)||se(t))}function te(t,e,n){void 0===n&&(n=!1),0===ee(t)?(n?Object.keys:Be)(t).forEach((function(r){n&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(n,r){return e(r,n,t)}))}function ee(t){var e=t[Te];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:oe(t)?2:se(t)?3:0}function ne(t,e){return 2===ee(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function re(t,e,n){var r=ee(t);2===r?t.set(e,n):3===r?(t.delete(e),t.add(n)):t[e]=n}function ie(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function oe(t){return Pe&&t instanceof Map}function se(t){return ke&&t instanceof Set}function ue(t){return t.o||t.t}function ce(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=We(t);delete e[Te];for(var n=Be(e),r=0;r<n.length;r++){var i=n[r],o=e[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(e[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function ae(t,e){return void 0===e&&(e=!1),fe(t)||Qt(t)||!Yt(t)||(ee(t)>1&&(t.set=t.add=t.clear=t.delete=le),Object.freeze(t),e&&te(t,(function(t,e){return ae(e,!0)}),!0)),t}function le(){Gt(2)}function fe(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function he(t){var e=Ie[t];return e||Gt(18,t),e}function de(){return Ae}function ve(t,e){e&&(he("Patches"),t.u=[],t.s=[],t.v=e)}function pe(t){be(t),t.p.forEach(me),t.p=null}function be(t){t===Ae&&(Ae=t.l)}function ye(t){return Ae={p:[],l:Ae,h:t,m:!0,_:0}}function me(t){var e=t[Te];0===e.i||1===e.i?e.j():e.O=!0}function we(t,e){e._=e.p.length;var n=e.p[0],r=void 0!==t&&t!==n;return e.h.g||he("ES5").S(e,t,r),r?(n[Te].P&&(pe(e),Gt(4)),Yt(t)&&(t=ge(e,t),e.l||xe(e,t)),e.u&&he("Patches").M(n[Te].t,t,e.u,e.s)):t=ge(e,n,[]),pe(e),e.u&&e.v(e.u,e.s),t!==Fe?t:void 0}function ge(t,e,n){if(fe(e))return e;var r=e[Te];if(!r)return te(e,(function(i,o){return Oe(t,r,e,i,o,n)}),!0),e;if(r.A!==t)return e;if(!r.P)return xe(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=ce(r.k):r.o;te(3===r.i?new Set(i):i,(function(e,o){return Oe(t,r,i,e,o,n)})),xe(t,i,!1),n&&t.u&&he("Patches").R(r,n,t.u,t.s)}return r.o}function Oe(t,e,n,r,i,o){if(Qt(i)){var s=ge(t,i,o&&e&&3!==e.i&&!ne(e.D,r)?o.concat(r):void 0);if(re(n,r,s),!Qt(s))return;t.m=!1}if(Yt(i)&&!fe(i)){if(!t.h.F&&t._<1)return;ge(t,i),e&&e.A.l||xe(t,i)}}function xe(t,e,n){void 0===n&&(n=!1),t.h.F&&t.m&&ae(e,n)}function Se(t,e){var n=t[Te];return(n?ue(n):t)[e]}function Ee(t,e){if(e in t)for(var n=Object.getPrototypeOf(t);n;){var r=Object.getOwnPropertyDescriptor(n,e);if(r)return r;n=Object.getPrototypeOf(n)}}function je(t){t.P||(t.P=!0,t.l&&je(t.l))}function Re(t){t.o||(t.o=ce(t.t))}function Ce(t,e,n){var r=oe(e)?he("MapSet").N(e,n):se(e)?he("MapSet").T(e,n):t.g?function(t,e){var n=Array.isArray(t),r={i:n?1:0,A:e?e.A:de(),P:!1,I:!1,D:{},l:e,t,k:null,o:null,j:null,C:!1},i=r,o=He;n&&(i=[r],o=Ke);var s=Proxy.revocable(i,o),u=s.revoke,c=s.proxy;return r.k=c,r.j=u,c}(e,n):he("ES5").J(e,n);return(n?n.A:de()).p.push(r),r}function Ne(t){return Qt(t)||Gt(22,t),function t(e){if(!Yt(e))return e;var n,r=e[Te],i=ee(e);if(r){if(!r.P&&(r.i<4||!he("ES5").K(r)))return r.t;r.I=!0,n=Me(e,i),r.I=!1}else n=Me(e,i);return te(n,(function(e,i){r&&function(t,e){return 2===ee(t)?t.get(e):t[e]}(r.t,e)===i||re(n,e,t(i))})),3===i?new Set(n):n}(t)}function Me(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ce(t)}var $e,Ae,_e="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Pe="undefined"!=typeof Map,ke="undefined"!=typeof Set,Ue="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Fe=_e?Symbol.for("immer-nothing"):(($e={})["immer-nothing"]=!0,$e),Le=_e?Symbol.for("immer-draftable"):"__$immer_draftable",Te=_e?Symbol.for("immer-state"):"__$immer_state",De=""+Object.prototype.constructor,Be="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,We=Object.getOwnPropertyDescriptors||function(t){var e={};return Be(t).forEach((function(n){e[n]=Object.getOwnPropertyDescriptor(t,n)})),e},Ie={},He={get:function(t,e){if(e===Te)return t;var n=ue(t);if(!ne(n,e))return function(t,e,n){var r,i=Ee(e,n);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,n,e);var r=n[e];return t.I||!Yt(r)?r:r===Se(t.t,e)?(Re(t),t.o[e]=Ce(t.A.h,r,t)):r},has:function(t,e){return e in ue(t)},ownKeys:function(t){return Reflect.ownKeys(ue(t))},set:function(t,e,n){var r=Ee(ue(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,n),!0;if(!t.P){var i=Se(ue(t),e),o=null==i?void 0:i[Te];if(o&&o.t===n)return t.o[e]=n,t.D[e]=!1,!0;if(ie(n,i)&&(void 0!==n||ne(t.t,e)))return!0;Re(t),je(t)}return t.o[e]===n&&"number"!=typeof n&&(void 0!==n||e in t.o)||(t.o[e]=n,t.D[e]=!0,!0)},deleteProperty:function(t,e){return void 0!==Se(t.t,e)||e in t.t?(t.D[e]=!1,Re(t),je(t)):delete t.D[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var n=ue(t),r=Reflect.getOwnPropertyDescriptor(n,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:n[e]}:r},defineProperty:function(){Gt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Gt(12)}},Ke={};te(He,(function(t,e){Ke[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Ke.deleteProperty=function(t,e){return Ke.set.call(this,t,e,void 0)},Ke.set=function(t,e,n){return He.set.call(this,t[0],e,n,t[0])};var Ve=function(){function t(t){var e=this;this.g=Ue,this.F=!0,this.produce=function(t,n,r){if("function"==typeof t&&"function"!=typeof n){var i=n;n=t;var o=e;return function(t){var e=this;void 0===t&&(t=i);for(var r=arguments.length,s=Array(r>1?r-1:0),u=1;u<r;u++)s[u-1]=arguments[u];return o.produce(t,(function(t){var r;return(r=n).call.apply(r,[e,t].concat(s))}))}}var s;if("function"!=typeof n&&Gt(6),void 0!==r&&"function"!=typeof r&&Gt(7),Yt(t)){var u=ye(e),c=Ce(e,t,void 0),a=!0;try{s=n(c),a=!1}finally{a?pe(u):be(u)}return"undefined"!=typeof Promise&&s instanceof Promise?s.then((function(t){return ve(u,r),we(t,u)}),(function(t){throw pe(u),t})):(ve(u,r),we(s,u))}if(!t||"object"!=typeof t){if(void 0===(s=n(t))&&(s=t),s===Fe&&(s=void 0),e.F&&ae(s,!0),r){var l=[],f=[];he("Patches").M(t,s,l,f),r(l,f)}return s}Gt(21,t)},this.produceWithPatches=function(t,n){if("function"==typeof t)return function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return e.produceWithPatches(n,(function(e){return t.apply(void 0,[e].concat(i))}))};var r,i,o=e.produce(t,n,(function(t,e){r=t,i=e}));return"undefined"!=typeof Promise&&o instanceof Promise?o.then((function(t){return[t,r,i]})):[o,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 e=t.prototype;return e.createDraft=function(t){Yt(t)||Gt(8),Qt(t)&&(t=Ne(t));var e=ye(this),n=Ce(this,t,void 0);return n[Te].C=!0,be(e),n},e.finishDraft=function(t,e){var n=(t&&t[Te]).A;return ve(n,e),we(void 0,n)},e.setAutoFreeze=function(t){this.F=t},e.setUseProxies=function(t){t&&!Ue&&Gt(20),this.g=t},e.applyPatches=function(t,e){var n;for(n=e.length-1;n>=0;n--){var r=e[n];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}n>-1&&(e=e.slice(n+1));var i=he("Patches").$;return Qt(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),qe=new Ve,ze=qe.produce;qe.produceWithPatches.bind(qe),qe.setAutoFreeze.bind(qe),qe.setUseProxies.bind(qe),qe.applyPatches.bind(qe),qe.createDraft.bind(qe),qe.finishDraft.bind(qe);var Je=ze;function Ze(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ge(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Xe(Object(n),!0).forEach((function(e){Ze(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Xe(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Qe(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var Ye="function"==typeof Symbol&&Symbol.observable||"@@observable",tn=function(){return Math.random().toString(36).substring(7).split("").join(".")},en={INIT:"@@redux/INIT"+tn(),REPLACE:"@@redux/REPLACE"+tn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+tn()}};function nn(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}function rn(t,e,n){var r;if("function"==typeof e&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(Qe(0));if("function"==typeof e&&void 0===n&&(n=e,e=void 0),void 0!==n){if("function"!=typeof n)throw new Error(Qe(1));return n(rn)(t,e)}if("function"!=typeof t)throw new Error(Qe(2));var i=t,o=e,s=[],u=s,c=!1;function a(){u===s&&(u=s.slice())}function l(){if(c)throw new Error(Qe(3));return o}function f(t){if("function"!=typeof t)throw new Error(Qe(4));if(c)throw new Error(Qe(5));var e=!0;return a(),u.push(t),function(){if(e){if(c)throw new Error(Qe(6));e=!1,a();var n=u.indexOf(t);u.splice(n,1),s=null}}}function h(t){if(!nn(t))throw new Error(Qe(7));if(void 0===t.type)throw new Error(Qe(8));if(c)throw new Error(Qe(9));try{c=!0,o=i(o,t)}finally{c=!1}for(var e=s=u,n=0;n<e.length;n++)(0,e[n])();return t}function d(t){if("function"!=typeof t)throw new Error(Qe(10));i=t,h({type:en.REPLACE})}function v(){var t,e=f;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Qe(11));function n(){t.next&&t.next(l())}return n(),{unsubscribe:e(n)}}})[Ye]=function(){return this},t}return h({type:en.INIT}),(r={dispatch:h,subscribe:f,getState:l,replaceReducer:d})[Ye]=v,r}function on(t){for(var e=Object.keys(t),n={},r=0;r<e.length;r++){var i=e[r];"function"==typeof t[i]&&(n[i]=t[i])}var o,s=Object.keys(n);try{!function(t){Object.keys(t).forEach((function(e){var n=t[e];if(void 0===n(void 0,{type:en.INIT}))throw new Error(Qe(12));if(void 0===n(void 0,{type:en.PROBE_UNKNOWN_ACTION()}))throw new Error(Qe(13))}))}(n)}catch(t){o=t}return function(t,e){if(void 0===t&&(t={}),o)throw o;for(var r=!1,i={},u=0;u<s.length;u++){var c=s[u],a=n[c],l=t[c],f=a(l,e);if(void 0===f)throw e&&e.type,new Error(Qe(14));i[c]=f,r=r||f!==l}return(r=r||s.length!==Object.keys(t).length)?i:t}}function sn(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];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 un(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return function(){var n=t.apply(void 0,arguments),r=function(){throw new Error(Qe(15))},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=e.map((function(t){return t(i)}));return r=sn.apply(void 0,o)(n.dispatch),Ge(Ge({},n),{},{dispatch:r})}}}function cn(t){return function(e){var n=e.dispatch,r=e.getState;return function(e){return function(i){return"function"==typeof i?i(n,r,t):e(i)}}}}var an=cn();an.withExtraArgument=cn;var ln,fn=an,hn=(ln=function(t,e){return ln=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},ln(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 n(){this.constructor=t}ln(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),dn=function(t,e){for(var n=0,r=e.length,i=t.length;n<r;n++,i++)t[i]=e[n];return t},vn=Object.defineProperty,pn=Object.getOwnPropertySymbols,bn=Object.prototype.hasOwnProperty,yn=Object.prototype.propertyIsEnumerable,mn=function(t,e,n){return e in t?vn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n},wn=function(t,e){for(var n in e||(e={}))bn.call(e,n)&&mn(t,n,e[n]);if(pn)for(var r=0,i=pn(e);r<i.length;r++)n=i[r],yn.call(e,n)&&mn(t,n,e[n]);return t},gn="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?sn:sn.apply(null,arguments)},On=function(t){function e(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=t.apply(this,n)||this;return Object.setPrototypeOf(i,e.prototype),i}return hn(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,dn([void 0],t[0].concat(this)))):new(e.bind.apply(e,dn([void 0],t.concat(this))))},e}(Array);function xn(t){return Yt(t)?Je(t,(function(){})):t}function Sn(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,n=void 0===e||e;t.immutableCheck,t.serializableCheck;var r=new On;return n&&(function(t){return"boolean"==typeof t}(n)?r.push(fn):r.push(fn.withExtraArgument(n.extraArgument))),r}(t)}}function En(t){var e,n=Sn(),r=t||{},i=r.reducer,o=void 0===i?void 0:i,s=r.middleware,u=void 0===s?n():s,c=r.devTools,a=void 0===c||c,l=r.preloadedState,f=void 0===l?void 0:l,h=r.enhancers,d=void 0===h?void 0:h;if("function"==typeof o)e=o;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var n=e;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return e===n}(o))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=on(o)}var v=u;"function"==typeof v&&(v=v(n));var p=un.apply(void 0,v),b=sn;a&&(b=gn(wn({trace:!1},"object"==typeof a&&a)));var y=[p];return Array.isArray(d)?y=dn([p],d):"function"==typeof d&&(y=d(y)),rn(e,f,b.apply(void 0,y))}function jn(t,e){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(e){var i=e.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return wn(wn({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:n[0]}}return n.toString=function(){return""+t},n.type=t,n.match=function(e){return e.type===t},n}function Rn(t){var e,n={},r=[],i={addCase:function(t,e){var r="string"==typeof t?t:t.type;if(r in n)throw new Error("addCase cannot be called with two reducers for the same action type");return n[r]=e,i},addMatcher:function(t,e){return r.push({matcher:t,reducer:e}),i},addDefaultCase:function(t){return e=t,i}};return t(i),[n,r,e]}function Cn(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var n,r="function"==typeof t.initialState?t.initialState:xn(t.initialState),i=t.reducers||{},o=Object.keys(i),s={},u={},c={};function a(){var e="function"==typeof t.extraReducers?Rn(t.extraReducers):[t.extraReducers],n=e[0],i=void 0===n?{}:n,o=e[1],s=void 0===o?[]:o,c=e[2],a=void 0===c?void 0:c,l=wn(wn({},i),u);return function(t,e,n,r){void 0===n&&(n=[]);var i,o="function"==typeof e?Rn(e):[e,n,r],s=o[0],u=o[1],c=o[2];if(function(t){return"function"==typeof t}(t))i=function(){return xn(t())};else{var a=xn(t);i=function(){return a}}function l(t,e){void 0===t&&(t=i());var n=dn([s[e.type]],u.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===n.filter((function(t){return!!t})).length&&(n=[c]),n.reduce((function(t,n){if(n){var r;if(Qt(t))return void 0===(r=n(t,e))?t:r;if(Yt(t))return Je(t,(function(t){return n(t,e)}));if(void 0===(r=n(t,e))){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 l.getInitialState=i,l}(r,l,s,a)}return o.forEach((function(t){var n,r,o=i[t],a=e+"/"+t;"reducer"in o?(n=o.reducer,r=o.prepare):n=o,s[t]=n,u[a]=n,c[t]=r?jn(a,r):jn(a)})),{name:e,reducer:function(t,e){return n||(n=a()),n(t,e)},actions:c,caseReducers:s,getInitialState:function(){return n||(n=a()),n.getInitialState()}}}var Nn="listenerMiddleware";jn(Nn+"/add"),jn(Nn+"/removeAll"),jn(Nn+"/remove"),function(){function t(t,e){var n=i[t];return n?n.enumerable=e:i[t]=n={configurable:!0,enumerable:e,get:function(){var e=this[Te];return He.get(e,t)},set:function(e){var n=this[Te];He.set(n,t,e)}},n}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][Te];if(!i.P)switch(i.i){case 5:r(i)&&je(i);break;case 4:n(i)&&je(i)}}}function n(t){for(var e=t.t,n=t.k,r=Be(n),i=r.length-1;i>=0;i--){var o=r[i];if(o!==Te){var s=e[o];if(void 0===s&&!ne(e,o))return!0;var u=n[o],c=u&&u[Te];if(c?c.t!==s:!ie(u,s))return!0}}var a=!!e[Te];return r.length!==Be(e).length+(a?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var n=Object.getOwnPropertyDescriptor(e,e.length-1);if(n&&!n.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var i={};!function(t,e){Ie[t]||(Ie[t]=e)}("ES5",{J:function(e,n){var r=Array.isArray(e),i=function(e,n){if(e){for(var r=Array(n.length),i=0;i<n.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var o=We(n);delete o[Te];for(var s=Be(o),u=0;u<s.length;u++){var c=s[u];o[c]=t(c,e||!!o[c].enumerable)}return Object.create(Object.getPrototypeOf(n),o)}(r,e),o={i:r?5:4,A:n?n.A:de(),P:!1,I:!1,D:{},l:n,t:e,k:i,o:null,O:!1,C:!1};return Object.defineProperty(i,Te,{value:o,writable:!0}),i},S:function(t,n,i){i?Qt(n)&&n[Te].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var n=e[Te];if(n){var i=n.t,o=n.k,s=n.D,u=n.i;if(4===u)te(o,(function(e){e!==Te&&(void 0!==i[e]||ne(i,e)?s[e]||t(o[e]):(s[e]=!0,je(n)))})),te(i,(function(t){void 0!==o[t]||ne(o,t)||(s[t]=!1,je(n))}));else if(5===u){if(r(n)&&(je(n),s.length=!0),o.length<i.length)for(var c=o.length;c<i.length;c++)s[c]=!1;else for(var a=i.length;a<o.length;a++)s[a]=!0;for(var l=Math.min(o.length,i.length),f=0;f<l;f++)o.hasOwnProperty(f)||(s[f]=!0),void 0===s[f]&&t(o[f])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?n(t):r(t)}})}();const Mn=t=>"object"==typeof t&&(0===Object.keys(t).length||"string"==typeof t.store||null!=t.selector||"function"==typeof t.hasChanged);function $n(t){var e;return null===(e=t)||void 0===e?void 0:e.isFtReduxStore}class An{constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,n)=>{const r=t[e];if(r)return(...t)=>{const e=r(...t);return this.reduxStore.dispatch(e),e}}})}static get(t){window.ftReduxStores||(window.ftReduxStores={});const e=window.ftReduxStores[t.name];if($n(e))return e;const n=Cn(t);if(e)return new An(n,e);const r=En({reducer:n.reducer});return window.ftReduxStores[t.name]=new An(n,r)}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()}}function _n(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,((t,e,n,r)=>e+n+":"+r)),new Date(t)}var Pn,kn,Un;const Fn=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Un=null===(kn=null===(Pn=window.safari)||void 0===Pn?void 0:Pn.pushNotification)||void 0===kn?void 0:kn.toString())&&void 0!==Un?Un:"");var Ln=Object.freeze({__proto__:null,isSafari:Fn,CacheRegistry:class{constructor(){this.loaders={},this.content={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||(this.content[t]instanceof Tt&&this.content[t].cancel(),delete this.content[t])}async get(t,e){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const n=Dt(e());return this.content[t]=n,n.then((e=>(this.content[t]=e,e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}getNow(t){if(!(this.content[t]instanceof Promise||this.content[t]instanceof Error))return this.content[t]}},CancelablePromise:Tt,cancelable:Dt,Debouncer:Bt,customElement:t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)},jsonProperty:Wt,deepEqual:It,delay:t=>new Promise((e=>setTimeout(e,t))),designSystemVariables:Kt,FtNotificationEvent:Vt,FtCssVariableFactory:Ht,setVariable:function(t,e){return s(`${t.name}: ${e}`)},FtLitElement:zt,noTextSelect:Jt,wordWrap:Zt,safariEllipsisFix:Xt,ParametrizedLabelResolver:class{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var n,r;t=this.resolvePluralKey(t,e);let i=null!==(r=null!==(n=this.labels[t])&&void 0!==n?n:this.defaultLabels[t])&&void 0!==r?r:"";return e.forEach(((t,e)=>i=i.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,n)=>this.formatValue(t,n))))),i}resolvePluralKey(t,e){for(let n of e)if("number"==typeof n){const e=`${t}[\\=${n}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):t}formatDate(t,e){const n=n=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(n):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(n):t.toLocaleString(n);try{return n(document.documentElement.lang)}catch(t){return n()}}},redux:(t,e)=>{var n;const r=Mn(t)?t:{};return e=null!==(n=null!=e?e:r.hasChanged)&&void 0!==n?n:(t,e)=>!It(t,e),(n,i)=>{var o;n.constructor.createProperty(i,{attribute:!1,hasChanged:e});const s=n;s.reduxProperties=s.reduxProperties||new Map;const u=null!==(o=Mn(t)?r.selector:t)&&void 0!==o?o:t=>t[i];s.reduxProperties.set(i,{selector:u,store:r.store})}},FtLitElementRedux:class extends zt{constructor(){super(...arguments),this.internalStoresUnsubscribers=new Map,this.internalStores=new Map}getUnnamedStore(){if(this.internalStores.size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this.internalStores.values()][0]}get store(){return this.getUnnamedStore()}set store(t){this.unsubscribeFromStores(),this.internalStores.clear(),t&&this.addStore(t)}getStore(t){var e;return null==t?null!==(e=this.getUnnamedStore())&&void 0!==e?e:this.store:this.internalStores.get(t)}addStore(t,e){e=null!=e?e:$n(t)?t.name:"ft-lit-element-redux-default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:$n(t)?t.name:"ft-lit-element-redux-default-store";this.unsubscribeFromStore(e),this.internalStores.delete(e)}setupStore(t,e){this.internalStores.set(t,e),this.updateFromStores(),this.subscribeToStore(t,e)}setupStores(){this.unsubscribeFromStores(),0===this.internalStores.size&&null!=this.store?this.addStore(this.store):(this.updateFromStores(),this.internalStores.forEach(((t,e)=>this.subscribeToStore(e,t))))}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const n=this.getStore(t.store);n&&(this[e]=t.selector(n.getState(),this))}))}subscribeToStore(t,e){this.internalStoresUnsubscribers.set(t,e.subscribe((()=>this.updateFromStores()))),this.onStoreAvailable(t)}unsubscribeFromStores(){Object.keys(this.internalStoresUnsubscribers).forEach((t=>this.unsubscribeFromStore(t)))}unsubscribeFromStore(t){this.internalStoresUnsubscribers.has(t)&&this.internalStoresUnsubscribers.get(t)(),this.internalStoresUnsubscribers.delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){this.unsubscribeFromStores(),super.disconnectedCallback()}},FtReduxStore:An,getStore:function(t,e){window.ftReduxStores||(window.ftReduxStores={});const n=e||t.name;return window.ftReduxStores[n]||(window.ftReduxStores[n]=En({reducer:t.reducer})),window.ftReduxStores[n]},clearAllStores:function(){window.ftReduxStores={}},dateReviver:function(...t){return function(e,n){return t.includes(e)?_n(n):n}},parseDate:_n});t.lit=lt,t.litClassMap=_t,t.litDecorators=yt,t.litRepeat=$t,t.litStyleMap=kt,t.litUnsafeHTML=Lt,t.wcUtils=Ln,Object.defineProperty(t,"W",{value:!0})},"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).ftGlobals={});
|
|
162
|
+
`;function Gt(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(n.length?" "+n.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Qt(t){return!!t&&!!t[Te]}function Yt(t){return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var n=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===De}(t)||Array.isArray(t)||!!t[Le]||!!t.constructor[Le]||oe(t)||se(t))}function te(t,e,n){void 0===n&&(n=!1),0===ee(t)?(n?Object.keys:Be)(t).forEach((function(r){n&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(n,r){return e(r,n,t)}))}function ee(t){var e=t[Te];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:oe(t)?2:se(t)?3:0}function ne(t,e){return 2===ee(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function re(t,e,n){var r=ee(t);2===r?t.set(e,n):3===r?(t.delete(e),t.add(n)):t[e]=n}function ie(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function oe(t){return ke&&t instanceof Map}function se(t){return Pe&&t instanceof Set}function ue(t){return t.o||t.t}function ce(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=We(t);delete e[Te];for(var n=Be(e),r=0;r<n.length;r++){var i=n[r],o=e[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(e[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function ae(t,e){return void 0===e&&(e=!1),fe(t)||Qt(t)||!Yt(t)||(ee(t)>1&&(t.set=t.add=t.clear=t.delete=le),Object.freeze(t),e&&te(t,(function(t,e){return ae(e,!0)}),!0)),t}function le(){Gt(2)}function fe(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function he(t){var e=Ie[t];return e||Gt(18,t),e}function de(){return Ae}function ve(t,e){e&&(he("Patches"),t.u=[],t.s=[],t.v=e)}function pe(t){be(t),t.p.forEach(me),t.p=null}function be(t){t===Ae&&(Ae=t.l)}function ye(t){return Ae={p:[],l:Ae,h:t,m:!0,_:0}}function me(t){var e=t[Te];0===e.i||1===e.i?e.j():e.O=!0}function we(t,e){e._=e.p.length;var n=e.p[0],r=void 0!==t&&t!==n;return e.h.g||he("ES5").S(e,t,r),r?(n[Te].P&&(pe(e),Gt(4)),Yt(t)&&(t=ge(e,t),e.l||xe(e,t)),e.u&&he("Patches").M(n[Te].t,t,e.u,e.s)):t=ge(e,n,[]),pe(e),e.u&&e.v(e.u,e.s),t!==Fe?t:void 0}function ge(t,e,n){if(fe(e))return e;var r=e[Te];if(!r)return te(e,(function(i,o){return Oe(t,r,e,i,o,n)}),!0),e;if(r.A!==t)return e;if(!r.P)return xe(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=ce(r.k):r.o;te(3===r.i?new Set(i):i,(function(e,o){return Oe(t,r,i,e,o,n)})),xe(t,i,!1),n&&t.u&&he("Patches").R(r,n,t.u,t.s)}return r.o}function Oe(t,e,n,r,i,o){if(Qt(i)){var s=ge(t,i,o&&e&&3!==e.i&&!ne(e.D,r)?o.concat(r):void 0);if(re(n,r,s),!Qt(s))return;t.m=!1}if(Yt(i)&&!fe(i)){if(!t.h.F&&t._<1)return;ge(t,i),e&&e.A.l||xe(t,i)}}function xe(t,e,n){void 0===n&&(n=!1),t.h.F&&t.m&&ae(e,n)}function Se(t,e){var n=t[Te];return(n?ue(n):t)[e]}function Ee(t,e){if(e in t)for(var n=Object.getPrototypeOf(t);n;){var r=Object.getOwnPropertyDescriptor(n,e);if(r)return r;n=Object.getPrototypeOf(n)}}function je(t){t.P||(t.P=!0,t.l&&je(t.l))}function Re(t){t.o||(t.o=ce(t.t))}function Ce(t,e,n){var r=oe(e)?he("MapSet").N(e,n):se(e)?he("MapSet").T(e,n):t.g?function(t,e){var n=Array.isArray(t),r={i:n?1:0,A:e?e.A:de(),P:!1,I:!1,D:{},l:e,t,k:null,o:null,j:null,C:!1},i=r,o=Ke;n&&(i=[r],o=He);var s=Proxy.revocable(i,o),u=s.revoke,c=s.proxy;return r.k=c,r.j=u,c}(e,n):he("ES5").J(e,n);return(n?n.A:de()).p.push(r),r}function Ne(t){return Qt(t)||Gt(22,t),function t(e){if(!Yt(e))return e;var n,r=e[Te],i=ee(e);if(r){if(!r.P&&(r.i<4||!he("ES5").K(r)))return r.t;r.I=!0,n=Me(e,i),r.I=!1}else n=Me(e,i);return te(n,(function(e,i){r&&function(t,e){return 2===ee(t)?t.get(e):t[e]}(r.t,e)===i||re(n,e,t(i))})),3===i?new Set(n):n}(t)}function Me(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ce(t)}var $e,Ae,_e="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),ke="undefined"!=typeof Map,Pe="undefined"!=typeof Set,Ue="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Fe=_e?Symbol.for("immer-nothing"):(($e={})["immer-nothing"]=!0,$e),Le=_e?Symbol.for("immer-draftable"):"__$immer_draftable",Te=_e?Symbol.for("immer-state"):"__$immer_state",De=""+Object.prototype.constructor,Be="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,We=Object.getOwnPropertyDescriptors||function(t){var e={};return Be(t).forEach((function(n){e[n]=Object.getOwnPropertyDescriptor(t,n)})),e},Ie={},Ke={get:function(t,e){if(e===Te)return t;var n=ue(t);if(!ne(n,e))return function(t,e,n){var r,i=Ee(e,n);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,n,e);var r=n[e];return t.I||!Yt(r)?r:r===Se(t.t,e)?(Re(t),t.o[e]=Ce(t.A.h,r,t)):r},has:function(t,e){return e in ue(t)},ownKeys:function(t){return Reflect.ownKeys(ue(t))},set:function(t,e,n){var r=Ee(ue(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,n),!0;if(!t.P){var i=Se(ue(t),e),o=null==i?void 0:i[Te];if(o&&o.t===n)return t.o[e]=n,t.D[e]=!1,!0;if(ie(n,i)&&(void 0!==n||ne(t.t,e)))return!0;Re(t),je(t)}return t.o[e]===n&&"number"!=typeof n&&(void 0!==n||e in t.o)||(t.o[e]=n,t.D[e]=!0,!0)},deleteProperty:function(t,e){return void 0!==Se(t.t,e)||e in t.t?(t.D[e]=!1,Re(t),je(t)):delete t.D[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var n=ue(t),r=Reflect.getOwnPropertyDescriptor(n,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:n[e]}:r},defineProperty:function(){Gt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Gt(12)}},He={};te(Ke,(function(t,e){He[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),He.deleteProperty=function(t,e){return He.set.call(this,t,e,void 0)},He.set=function(t,e,n){return Ke.set.call(this,t[0],e,n,t[0])};var Ve=function(){function t(t){var e=this;this.g=Ue,this.F=!0,this.produce=function(t,n,r){if("function"==typeof t&&"function"!=typeof n){var i=n;n=t;var o=e;return function(t){var e=this;void 0===t&&(t=i);for(var r=arguments.length,s=Array(r>1?r-1:0),u=1;u<r;u++)s[u-1]=arguments[u];return o.produce(t,(function(t){var r;return(r=n).call.apply(r,[e,t].concat(s))}))}}var s;if("function"!=typeof n&&Gt(6),void 0!==r&&"function"!=typeof r&&Gt(7),Yt(t)){var u=ye(e),c=Ce(e,t,void 0),a=!0;try{s=n(c),a=!1}finally{a?pe(u):be(u)}return"undefined"!=typeof Promise&&s instanceof Promise?s.then((function(t){return ve(u,r),we(t,u)}),(function(t){throw pe(u),t})):(ve(u,r),we(s,u))}if(!t||"object"!=typeof t){if(void 0===(s=n(t))&&(s=t),s===Fe&&(s=void 0),e.F&&ae(s,!0),r){var l=[],f=[];he("Patches").M(t,s,l,f),r(l,f)}return s}Gt(21,t)},this.produceWithPatches=function(t,n){if("function"==typeof t)return function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return e.produceWithPatches(n,(function(e){return t.apply(void 0,[e].concat(i))}))};var r,i,o=e.produce(t,n,(function(t,e){r=t,i=e}));return"undefined"!=typeof Promise&&o instanceof Promise?o.then((function(t){return[t,r,i]})):[o,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 e=t.prototype;return e.createDraft=function(t){Yt(t)||Gt(8),Qt(t)&&(t=Ne(t));var e=ye(this),n=Ce(this,t,void 0);return n[Te].C=!0,be(e),n},e.finishDraft=function(t,e){var n=(t&&t[Te]).A;return ve(n,e),we(void 0,n)},e.setAutoFreeze=function(t){this.F=t},e.setUseProxies=function(t){t&&!Ue&&Gt(20),this.g=t},e.applyPatches=function(t,e){var n;for(n=e.length-1;n>=0;n--){var r=e[n];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}n>-1&&(e=e.slice(n+1));var i=he("Patches").$;return Qt(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),qe=new Ve,ze=qe.produce;qe.produceWithPatches.bind(qe),qe.setAutoFreeze.bind(qe),qe.setUseProxies.bind(qe),qe.applyPatches.bind(qe),qe.createDraft.bind(qe),qe.finishDraft.bind(qe);var Je=ze;function Ze(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ge(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Xe(Object(n),!0).forEach((function(e){Ze(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Xe(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Qe(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var Ye="function"==typeof Symbol&&Symbol.observable||"@@observable",tn=function(){return Math.random().toString(36).substring(7).split("").join(".")},en={INIT:"@@redux/INIT"+tn(),REPLACE:"@@redux/REPLACE"+tn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+tn()}};function nn(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}function rn(t,e,n){var r;if("function"==typeof e&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(Qe(0));if("function"==typeof e&&void 0===n&&(n=e,e=void 0),void 0!==n){if("function"!=typeof n)throw new Error(Qe(1));return n(rn)(t,e)}if("function"!=typeof t)throw new Error(Qe(2));var i=t,o=e,s=[],u=s,c=!1;function a(){u===s&&(u=s.slice())}function l(){if(c)throw new Error(Qe(3));return o}function f(t){if("function"!=typeof t)throw new Error(Qe(4));if(c)throw new Error(Qe(5));var e=!0;return a(),u.push(t),function(){if(e){if(c)throw new Error(Qe(6));e=!1,a();var n=u.indexOf(t);u.splice(n,1),s=null}}}function h(t){if(!nn(t))throw new Error(Qe(7));if(void 0===t.type)throw new Error(Qe(8));if(c)throw new Error(Qe(9));try{c=!0,o=i(o,t)}finally{c=!1}for(var e=s=u,n=0;n<e.length;n++)(0,e[n])();return t}function d(t){if("function"!=typeof t)throw new Error(Qe(10));i=t,h({type:en.REPLACE})}function v(){var t,e=f;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Qe(11));function n(){t.next&&t.next(l())}return n(),{unsubscribe:e(n)}}})[Ye]=function(){return this},t}return h({type:en.INIT}),(r={dispatch:h,subscribe:f,getState:l,replaceReducer:d})[Ye]=v,r}function on(t){for(var e=Object.keys(t),n={},r=0;r<e.length;r++){var i=e[r];"function"==typeof t[i]&&(n[i]=t[i])}var o,s=Object.keys(n);try{!function(t){Object.keys(t).forEach((function(e){var n=t[e];if(void 0===n(void 0,{type:en.INIT}))throw new Error(Qe(12));if(void 0===n(void 0,{type:en.PROBE_UNKNOWN_ACTION()}))throw new Error(Qe(13))}))}(n)}catch(t){o=t}return function(t,e){if(void 0===t&&(t={}),o)throw o;for(var r=!1,i={},u=0;u<s.length;u++){var c=s[u],a=n[c],l=t[c],f=a(l,e);if(void 0===f)throw e&&e.type,new Error(Qe(14));i[c]=f,r=r||f!==l}return(r=r||s.length!==Object.keys(t).length)?i:t}}function sn(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];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 un(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return function(){var n=t.apply(void 0,arguments),r=function(){throw new Error(Qe(15))},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=e.map((function(t){return t(i)}));return r=sn.apply(void 0,o)(n.dispatch),Ge(Ge({},n),{},{dispatch:r})}}}function cn(t){return function(e){var n=e.dispatch,r=e.getState;return function(e){return function(i){return"function"==typeof i?i(n,r,t):e(i)}}}}var an=cn();an.withExtraArgument=cn;var ln,fn=an,hn=(ln=function(t,e){return ln=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},ln(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 n(){this.constructor=t}ln(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),dn=function(t,e){for(var n=0,r=e.length,i=t.length;n<r;n++,i++)t[i]=e[n];return t},vn=Object.defineProperty,pn=Object.getOwnPropertySymbols,bn=Object.prototype.hasOwnProperty,yn=Object.prototype.propertyIsEnumerable,mn=function(t,e,n){return e in t?vn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n},wn=function(t,e){for(var n in e||(e={}))bn.call(e,n)&&mn(t,n,e[n]);if(pn)for(var r=0,i=pn(e);r<i.length;r++)n=i[r],yn.call(e,n)&&mn(t,n,e[n]);return t},gn="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?sn:sn.apply(null,arguments)},On=function(t){function e(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=t.apply(this,n)||this;return Object.setPrototypeOf(i,e.prototype),i}return hn(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,dn([void 0],t[0].concat(this)))):new(e.bind.apply(e,dn([void 0],t.concat(this))))},e}(Array);function xn(t){return Yt(t)?Je(t,(function(){})):t}function Sn(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,n=void 0===e||e;t.immutableCheck,t.serializableCheck;var r=new On;return n&&(function(t){return"boolean"==typeof t}(n)?r.push(fn):r.push(fn.withExtraArgument(n.extraArgument))),r}(t)}}function En(t){var e,n=Sn(),r=t||{},i=r.reducer,o=void 0===i?void 0:i,s=r.middleware,u=void 0===s?n():s,c=r.devTools,a=void 0===c||c,l=r.preloadedState,f=void 0===l?void 0:l,h=r.enhancers,d=void 0===h?void 0:h;if("function"==typeof o)e=o;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var n=e;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return e===n}(o))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=on(o)}var v=u;"function"==typeof v&&(v=v(n));var p=un.apply(void 0,v),b=sn;a&&(b=gn(wn({trace:!1},"object"==typeof a&&a)));var y=[p];return Array.isArray(d)?y=dn([p],d):"function"==typeof d&&(y=d(y)),rn(e,f,b.apply(void 0,y))}function jn(t,e){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(e){var i=e.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return wn(wn({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:n[0]}}return n.toString=function(){return""+t},n.type=t,n.match=function(e){return e.type===t},n}function Rn(t){var e,n={},r=[],i={addCase:function(t,e){var r="string"==typeof t?t:t.type;if(r in n)throw new Error("addCase cannot be called with two reducers for the same action type");return n[r]=e,i},addMatcher:function(t,e){return r.push({matcher:t,reducer:e}),i},addDefaultCase:function(t){return e=t,i}};return t(i),[n,r,e]}function Cn(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var n,r="function"==typeof t.initialState?t.initialState:xn(t.initialState),i=t.reducers||{},o=Object.keys(i),s={},u={},c={};function a(){var e="function"==typeof t.extraReducers?Rn(t.extraReducers):[t.extraReducers],n=e[0],i=void 0===n?{}:n,o=e[1],s=void 0===o?[]:o,c=e[2],a=void 0===c?void 0:c,l=wn(wn({},i),u);return function(t,e,n,r){void 0===n&&(n=[]);var i,o="function"==typeof e?Rn(e):[e,n,r],s=o[0],u=o[1],c=o[2];if(function(t){return"function"==typeof t}(t))i=function(){return xn(t())};else{var a=xn(t);i=function(){return a}}function l(t,e){void 0===t&&(t=i());var n=dn([s[e.type]],u.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===n.filter((function(t){return!!t})).length&&(n=[c]),n.reduce((function(t,n){if(n){var r;if(Qt(t))return void 0===(r=n(t,e))?t:r;if(Yt(t))return Je(t,(function(t){return n(t,e)}));if(void 0===(r=n(t,e))){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 l.getInitialState=i,l}(r,l,s,a)}return o.forEach((function(t){var n,r,o=i[t],a=e+"/"+t;"reducer"in o?(n=o.reducer,r=o.prepare):n=o,s[t]=n,u[a]=n,c[t]=r?jn(a,r):jn(a)})),{name:e,reducer:function(t,e){return n||(n=a()),n(t,e)},actions:c,caseReducers:s,getInitialState:function(){return n||(n=a()),n.getInitialState()}}}var Nn="listenerMiddleware";jn(Nn+"/add"),jn(Nn+"/removeAll"),jn(Nn+"/remove"),function(){function t(t,e){var n=i[t];return n?n.enumerable=e:i[t]=n={configurable:!0,enumerable:e,get:function(){var e=this[Te];return Ke.get(e,t)},set:function(e){var n=this[Te];Ke.set(n,t,e)}},n}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][Te];if(!i.P)switch(i.i){case 5:r(i)&&je(i);break;case 4:n(i)&&je(i)}}}function n(t){for(var e=t.t,n=t.k,r=Be(n),i=r.length-1;i>=0;i--){var o=r[i];if(o!==Te){var s=e[o];if(void 0===s&&!ne(e,o))return!0;var u=n[o],c=u&&u[Te];if(c?c.t!==s:!ie(u,s))return!0}}var a=!!e[Te];return r.length!==Be(e).length+(a?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var n=Object.getOwnPropertyDescriptor(e,e.length-1);if(n&&!n.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var i={};!function(t,e){Ie[t]||(Ie[t]=e)}("ES5",{J:function(e,n){var r=Array.isArray(e),i=function(e,n){if(e){for(var r=Array(n.length),i=0;i<n.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var o=We(n);delete o[Te];for(var s=Be(o),u=0;u<s.length;u++){var c=s[u];o[c]=t(c,e||!!o[c].enumerable)}return Object.create(Object.getPrototypeOf(n),o)}(r,e),o={i:r?5:4,A:n?n.A:de(),P:!1,I:!1,D:{},l:n,t:e,k:i,o:null,O:!1,C:!1};return Object.defineProperty(i,Te,{value:o,writable:!0}),i},S:function(t,n,i){i?Qt(n)&&n[Te].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var n=e[Te];if(n){var i=n.t,o=n.k,s=n.D,u=n.i;if(4===u)te(o,(function(e){e!==Te&&(void 0!==i[e]||ne(i,e)?s[e]||t(o[e]):(s[e]=!0,je(n)))})),te(i,(function(t){void 0!==o[t]||ne(o,t)||(s[t]=!1,je(n))}));else if(5===u){if(r(n)&&(je(n),s.length=!0),o.length<i.length)for(var c=o.length;c<i.length;c++)s[c]=!1;else for(var a=i.length;a<o.length;a++)s[a]=!0;for(var l=Math.min(o.length,i.length),f=0;f<l;f++)o.hasOwnProperty(f)||(s[f]=!0),void 0===s[f]&&t(o[f])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?n(t):r(t)}})}();const Mn=t=>"object"==typeof t&&(0===Object.keys(t).length||"string"==typeof t.store||null!=t.selector||"function"==typeof t.hasChanged||null!=t.attribute);function $n(t){var e;return null===(e=t)||void 0===e?void 0:e.isFtReduxStore}class An{constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,n)=>{const r=t[e];if(r)return(...t)=>{const e=r(...t);return this.reduxStore.dispatch(e),e}}})}static get(t){window.ftReduxStores||(window.ftReduxStores={});const e="string"==typeof t?t:t.name,n="string"==typeof t?void 0:t,r=window.ftReduxStores[e];if($n(r))return r;if(null==n)return;const i=Cn(n);if(r)return new An(i,r);const o=En({reducer:i.reducer});return window.ftReduxStores[n.name]=new An(i,o)}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()}}function _n(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,((t,e,n,r)=>e+n+":"+r)),new Date(t)}var kn,Pn,Un;const Fn=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Un=null===(Pn=null===(kn=window.safari)||void 0===kn?void 0:kn.pushNotification)||void 0===Pn?void 0:Pn.toString())&&void 0!==Un?Un:"");var Ln=Object.freeze({__proto__:null,isSafari:Fn,CacheRegistry:class{constructor(){this.loaders={},this.content={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.content[t]instanceof Tt&&this.content[t].cancel(),delete this.content[t]}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const n=Dt(e());return this.content[t]=n,n.then((e=>(this.content[t]=e,e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}},CancelablePromise:Tt,cancelable:Dt,Debouncer:Bt,customElement:t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)},jsonProperty:It,deepEqual:Wt,delay:t=>new Promise((e=>setTimeout(e,t))),designSystemVariables:Ht,FtNotificationEvent:Vt,FtCssVariableFactory:Kt,setVariable:function(t,e){return s(`${t.name}: ${e}`)},FtLitElement:zt,noTextSelect:Jt,wordWrap:Zt,safariEllipsisFix:Xt,ParametrizedLabelResolver:class{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var n,r;t=this.resolvePluralKey(t,e);let i=null!==(r=null!==(n=this.labels[t])&&void 0!==n?n:this.defaultLabels[t])&&void 0!==r?r:t;return e.forEach(((t,e)=>i=i.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,n)=>this.formatValue(t,n))))),i}resolvePluralKey(t,e){for(let n of e)if("number"==typeof n){const e=`${t}[\\=${n}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):t}formatDate(t,e){const n=n=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(n):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(n):t.toLocaleString(n);try{return n(document.documentElement.lang)}catch(t){return n()}}},redux:(t,e)=>{var n;const r=Mn(t)?t:{};return e=null!==(n=null!=e?e:r.hasChanged)&&void 0!==n?n:(t,e)=>!Wt(t,e),(n,i)=>{var o,s;n.constructor.createProperty(i,{hasChanged:e,attribute:null!==(o=r.attribute)&&void 0!==o&&o});const u=n;u.reduxProperties=u.reduxProperties||new Map;const c=null!==(s=Mn(t)?r.selector:t)&&void 0!==s?s:t=>t[i];u.reduxProperties.set(i,{selector:c,store:r.store})}},FtLitElementRedux:class extends zt{constructor(){super(...arguments),this.internalStoresUnsubscribers=new Map,this.internalStores=new Map}getUnnamedStore(){if(this.internalStores.size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this.internalStores.values()][0]}get store(){return this.getUnnamedStore()}set store(t){this.unsubscribeFromStores(),this.internalStores.clear(),t&&this.addStore(t)}getStore(t){var e;return null==t?null!==(e=this.getUnnamedStore())&&void 0!==e?e:this.store:this.internalStores.get(t)}addStore(t,e){e=null!=e?e:$n(t)?t.name:"ft-lit-element-redux-default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:$n(t)?t.name:"ft-lit-element-redux-default-store";this.unsubscribeFromStore(e),this.internalStores.delete(e)}setupStore(t,e){this.internalStores.set(t,e),this.updateFromStores(),this.subscribeToStore(t,e)}setupStores(){this.unsubscribeFromStores(),0===this.internalStores.size&&null!=this.store?this.addStore(this.store):(this.updateFromStores(),this.internalStores.forEach(((t,e)=>this.subscribeToStore(e,t))))}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const n=this.constructor.getPropertyOptions(e);if(!(null==n?void 0:n.attribute)||!this.hasAttribute("string"==typeof(null==n?void 0:n.attribute)?n.attribute:e)){const n=this.getStore(t.store);n&&(this[e]=t.selector(n.getState(),this))}}))}subscribeToStore(t,e){this.internalStoresUnsubscribers.set(t,e.subscribe((()=>this.updateFromStores()))),this.onStoreAvailable(t)}unsubscribeFromStores(){Object.keys(this.internalStoresUnsubscribers).forEach((t=>this.unsubscribeFromStore(t)))}unsubscribeFromStore(t){this.internalStoresUnsubscribers.has(t)&&this.internalStoresUnsubscribers.get(t)(),this.internalStoresUnsubscribers.delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){this.unsubscribeFromStores(),super.disconnectedCallback()}},FtReduxStore:An,getStore:function(t,e){window.ftReduxStores||(window.ftReduxStores={});const n=e||t.name;return window.ftReduxStores[n]||(window.ftReduxStores[n]=En({reducer:t.reducer})),window.ftReduxStores[n]},clearAllStores:function(){window.ftReduxStores={}},dateReviver:function(...t){return function(e,n){return t.includes(e)?_n(n):n}},parseDate:_n});t.lit=lt,t.litClassMap=_t,t.litDecorators=yt,t.litRepeat=$t,t.litStyleMap=Pt,t.litUnsafeHTML=Lt,t.wcUtils=Ln,Object.defineProperty(t,"W",{value:!0})},"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).ftGlobals={});
|
package/build/redux.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export interface ReduxPropertyInit<T, U extends FtLitElementRedux> {
|
|
|
10
10
|
store?: string;
|
|
11
11
|
selector?: ReduxSelector<T, U>;
|
|
12
12
|
hasChanged?: (value: U, oldValue: U) => boolean;
|
|
13
|
+
attribute?: string | boolean;
|
|
13
14
|
}
|
|
14
15
|
export declare const redux: <T, U extends FtLitElementRedux>(selectorOrInit?: ReduxSelector<T, U> | ReduxPropertyInit<T, U> | undefined, hasChanged?: ((value: U, oldValue: U) => boolean) | undefined) => (proto: Object, name: string) => void;
|
|
15
16
|
export declare class FtLitElementRedux extends FtLitElement {
|
|
@@ -43,11 +44,12 @@ export declare class FtReduxStore<State = any, CR extends SliceCaseReducers<Stat
|
|
|
43
44
|
private readonly reduxSlice;
|
|
44
45
|
private readonly reduxStore;
|
|
45
46
|
readonly isFtReduxStore = true;
|
|
47
|
+
static get<State = any, CR extends SliceCaseReducers<State> = SliceCaseReducers<State>, A extends Action = AnyAction>(name: string): FtReduxStore<State, CR, A> | undefined;
|
|
46
48
|
static get<State = any, CR extends SliceCaseReducers<State> = SliceCaseReducers<State>, A extends Action = AnyAction>(options: CreateSliceOptions<State, CR, string>): FtReduxStore<State, CR, A>;
|
|
47
49
|
private constructor();
|
|
48
50
|
get dispatch(): Dispatch<A>;
|
|
49
51
|
[Symbol.observable](): Observable<any>;
|
|
50
|
-
getState():
|
|
52
|
+
getState(): State;
|
|
51
53
|
replaceReducer(nextReducer: Reducer<State, A>): void;
|
|
52
54
|
subscribe(listener: () => void): Unsubscribe;
|
|
53
55
|
actions: CaseReducerActions<CR>;
|
package/build/redux.js
CHANGED
|
@@ -5,7 +5,8 @@ const isReduxPropertyInit = (o) => {
|
|
|
5
5
|
return typeof o === "object" && (Object.keys(o).length === 0
|
|
6
6
|
|| typeof o.store === "string"
|
|
7
7
|
|| o.selector != null
|
|
8
|
-
|| typeof o.hasChanged === "function"
|
|
8
|
+
|| typeof o.hasChanged === "function"
|
|
9
|
+
|| o.attribute != null);
|
|
9
10
|
};
|
|
10
11
|
export const redux = (// TODO next major version: Remove compat
|
|
11
12
|
selectorOrInit, hasChanged) => {
|
|
@@ -13,11 +14,14 @@ selectorOrInit, hasChanged) => {
|
|
|
13
14
|
const init = isReduxPropertyInit(selectorOrInit) ? selectorOrInit : {};
|
|
14
15
|
hasChanged = (_a = hasChanged !== null && hasChanged !== void 0 ? hasChanged : init.hasChanged) !== null && _a !== void 0 ? _a : ((a, b) => !deepEqual(a, b));
|
|
15
16
|
return (proto, name) => {
|
|
16
|
-
var _a;
|
|
17
|
-
proto.constructor.createProperty(name, {
|
|
17
|
+
var _a, _b;
|
|
18
|
+
proto.constructor.createProperty(name, {
|
|
19
|
+
hasChanged,
|
|
20
|
+
attribute: (_a = init.attribute) !== null && _a !== void 0 ? _a : false
|
|
21
|
+
});
|
|
18
22
|
const reduxProto = proto;
|
|
19
23
|
reduxProto.reduxProperties = reduxProto.reduxProperties || new Map();
|
|
20
|
-
const selector = (
|
|
24
|
+
const selector = (_b = (isReduxPropertyInit(selectorOrInit) ? init.selector : selectorOrInit)) !== null && _b !== void 0 ? _b : (s => s[name]);
|
|
21
25
|
reduxProto.reduxProperties.set(name, { selector, store: init.store });
|
|
22
26
|
};
|
|
23
27
|
};
|
|
@@ -79,9 +83,12 @@ export class FtLitElementRedux extends FtLitElement {
|
|
|
79
83
|
updateFromStores() {
|
|
80
84
|
if (this.reduxProperties) {
|
|
81
85
|
this.reduxProperties.forEach((prop, attributeName) => {
|
|
82
|
-
const
|
|
83
|
-
if (
|
|
84
|
-
|
|
86
|
+
const options = this.constructor.getPropertyOptions(attributeName);
|
|
87
|
+
if (!(options === null || options === void 0 ? void 0 : options.attribute) || !this.hasAttribute(typeof (options === null || options === void 0 ? void 0 : options.attribute) === "string" ? options.attribute : attributeName)) {
|
|
88
|
+
const store = this.getStore(prop.store);
|
|
89
|
+
if (store) {
|
|
90
|
+
this[attributeName] = prop.selector(store.getState(), this);
|
|
91
|
+
}
|
|
85
92
|
}
|
|
86
93
|
});
|
|
87
94
|
}
|
|
@@ -134,14 +141,19 @@ export class FtReduxStore {
|
|
|
134
141
|
}
|
|
135
142
|
});
|
|
136
143
|
}
|
|
137
|
-
static get(
|
|
144
|
+
static get(nameOrOptions) {
|
|
138
145
|
if (!window.ftReduxStores) {
|
|
139
146
|
window.ftReduxStores = {};
|
|
140
147
|
}
|
|
141
|
-
const
|
|
148
|
+
const name = typeof nameOrOptions === "string" ? nameOrOptions : nameOrOptions.name;
|
|
149
|
+
const options = typeof nameOrOptions === "string" ? undefined : nameOrOptions;
|
|
150
|
+
const maybeExistingStore = window.ftReduxStores[name];
|
|
142
151
|
if (isFtReduxStore(maybeExistingStore)) {
|
|
143
152
|
return maybeExistingStore;
|
|
144
153
|
}
|
|
154
|
+
if (options == null) {
|
|
155
|
+
return undefined;
|
|
156
|
+
}
|
|
145
157
|
const reduxSlice = createSlice(options);
|
|
146
158
|
if (maybeExistingStore) { // TODO next major version: Remove compat
|
|
147
159
|
return new FtReduxStore(reduxSlice, maybeExistingStore);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-wc-utils",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.58",
|
|
4
4
|
"description": "Internal web components tools",
|
|
5
5
|
"author": "Fluid Topics <devtopics@antidot.net>",
|
|
6
6
|
"license": "ISC",
|
|
@@ -17,5 +17,5 @@
|
|
|
17
17
|
"@reduxjs/toolkit": "^1.6.2",
|
|
18
18
|
"lit": "2.2.8"
|
|
19
19
|
},
|
|
20
|
-
"gitHead": "
|
|
20
|
+
"gitHead": "c053ee1216238ba6b2c62e5add329343f735c77e"
|
|
21
21
|
}
|