p-elements-core 1.2.18 → 1.2.19
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/demo/sample.js +1 -1
- package/dist/p-elements-core-modern.js +1 -1
- package/dist/p-elements-core.js +1 -1
- package/p-elements-core.d.ts +43 -139
- package/package.json +1 -1
- package/dist/p-elements-core 2.js +0 -1
- package/dist/p-elements-core-modern 2.js +0 -553
package/p-elements-core.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
/// <reference types="underscore" />
|
|
3
2
|
/// <reference types="@types/animejs" />
|
|
4
3
|
|
|
@@ -38,105 +37,46 @@ declare interface ProjectionOptions extends ProjectorOptions {
|
|
|
38
37
|
) => Function;
|
|
39
38
|
}
|
|
40
39
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
enterAnimation?: (element: Element, properties?: VNodeProperties) => void;
|
|
58
|
-
/**
|
|
59
|
-
* The animation to perform when this node is removed while its parent remains.
|
|
60
|
-
* @param element - Element that ought to be removed from to the DOM.
|
|
61
|
-
* @param removeElement - Function that removes the element from the DOM.
|
|
62
|
-
* This argument is provided purely for convenience.
|
|
63
|
-
* You may use this function to remove the element when the animation is done.
|
|
64
|
-
* @param properties - The properties object that was supplied to the [[h]] method that rendered this [[VNode]] the previous time.
|
|
65
|
-
*/
|
|
66
|
-
exitAnimation?(element: Element, removeElement: () => void, properties?: VNodeProperties): void;
|
|
67
|
-
/**
|
|
68
|
-
* The animation to perform when the properties of this node change.
|
|
69
|
-
* This also includes attributes, styles, css classes. This callback is also invoked when node contains only text and that text changes.
|
|
70
|
-
* {@link http://maquettejs.org/docs/animations.html More about animations}.
|
|
71
|
-
* @param element - Element that was modified in the DOM.
|
|
72
|
-
* @param properties - The last properties object that was supplied to the [[h]] method
|
|
73
|
-
* @param previousProperties - The previous properties object that was supplied to the [[h]] method
|
|
74
|
-
*/
|
|
75
|
-
updateAnimation?(
|
|
40
|
+
declare interface EventHandler {
|
|
41
|
+
(ev?: Event): boolean | void;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
declare interface VNodeProperties {
|
|
45
|
+
enterAnimation?:
|
|
46
|
+
| ((element: Element, properties?: VNodeProperties) => void)
|
|
47
|
+
| string;
|
|
48
|
+
exitAnimation?:
|
|
49
|
+
| ((
|
|
50
|
+
element: Element,
|
|
51
|
+
removeElement: () => void,
|
|
52
|
+
properties?: VNodeProperties
|
|
53
|
+
) => void)
|
|
54
|
+
| string;
|
|
55
|
+
updateAnimation?: (
|
|
76
56
|
element: Element,
|
|
77
57
|
properties?: VNodeProperties,
|
|
78
58
|
previousProperties?: VNodeProperties
|
|
79
|
-
)
|
|
80
|
-
/**
|
|
81
|
-
* Callback that is executed after this node is added to the DOM. Child nodes and properties have
|
|
82
|
-
* already been applied.
|
|
83
|
-
* @param element - The element that was added to the DOM.
|
|
84
|
-
* @param projectionOptions - The projection options that were used, see [[createProjector]].
|
|
85
|
-
* @param vnodeSelector - The selector passed to the [[h]] function.
|
|
86
|
-
* @param properties - The properties passed to the [[h]] function.
|
|
87
|
-
* @param children - The children that were created.
|
|
88
|
-
*/
|
|
59
|
+
) => void;
|
|
89
60
|
afterCreate?(
|
|
90
61
|
element: Element,
|
|
91
62
|
projectionOptions: ProjectionOptions,
|
|
92
63
|
vnodeSelector: string,
|
|
93
64
|
properties: VNodeProperties,
|
|
94
|
-
children: VNode[]
|
|
65
|
+
children: VNode[]
|
|
95
66
|
): void;
|
|
96
|
-
/**
|
|
97
|
-
* Callback that is executed every time this node may have been updated. Child nodes and properties
|
|
98
|
-
* have already been updated.
|
|
99
|
-
* @param element - The element that may have been updated in the DOM.
|
|
100
|
-
* @param projectionOptions - The projection options that were used, see [[createProjector]].
|
|
101
|
-
* @param vnodeSelector - The selector passed to the [[h]] function.
|
|
102
|
-
* @param properties - The properties passed to the [[h]] function.
|
|
103
|
-
* @param children - The children for this node.
|
|
104
|
-
*/
|
|
105
67
|
afterUpdate?(
|
|
106
68
|
element: Element,
|
|
107
69
|
projectionOptions: ProjectionOptions,
|
|
108
70
|
vnodeSelector: string,
|
|
109
71
|
properties: VNodeProperties,
|
|
110
|
-
children: VNode[]
|
|
72
|
+
children: VNode[]
|
|
111
73
|
): void;
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* Callback that is called when a node has been removed from the tree.
|
|
115
|
-
* The callback is called during idle state or after a timeout (fallback).
|
|
116
|
-
* {@link https://maquettejs.org/docs/dom-node-removal.html More info}
|
|
117
|
-
* @param element - The element that has been removed from the DOM.
|
|
118
|
-
*/
|
|
119
74
|
afterRemoved?(element: Element): void;
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
* When no [[key]] is present, this object is also used to uniquely identify a DOM node.
|
|
126
|
-
*/
|
|
127
|
-
readonly bind?: unknown;
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
* Used to uniquely identify a DOM node among siblings.
|
|
131
|
-
* A key is required when there are more children with the same selector and these children are added or removed dynamically.
|
|
132
|
-
* NOTE: this does not have to be a string or number, a [[MaquetteComponent]] Object for instance is also common.
|
|
133
|
-
*/
|
|
134
|
-
readonly key?: unknown;
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* An object containing event handlers to attach using addEventListener.
|
|
138
|
-
* Note that `projector.scheduleRender()` is called automatically when these event handlers are invoked.
|
|
139
|
-
*/
|
|
75
|
+
readonly bind?: Object;
|
|
76
|
+
readonly key?: Object;
|
|
77
|
+
readonly classes?: { [index: string]: boolean | null | undefined };
|
|
78
|
+
readonly styles?: { [index: string]: string | null | undefined };
|
|
79
|
+
|
|
140
80
|
readonly on?: {
|
|
141
81
|
[eventName: string]:
|
|
142
82
|
| EventHandler
|
|
@@ -146,44 +86,25 @@ export interface VNodeProperties {
|
|
|
146
86
|
};
|
|
147
87
|
};
|
|
148
88
|
|
|
149
|
-
/**
|
|
150
|
-
* An object containing event handlers to attach using addEventListener.
|
|
151
|
-
* Note that `projector.scheduleRender()` is called automatically when these event handlers are invoked.
|
|
152
|
-
*/
|
|
153
89
|
readonly onCapture?: { [eventName: string]: EventHandler };
|
|
154
90
|
|
|
155
|
-
/**
|
|
156
|
-
* An object literal like `{important:true}` which allows css classes, like `important` to be added and removed
|
|
157
|
-
* dynamically.
|
|
158
|
-
*/
|
|
159
|
-
readonly classes?: { [index: string]: boolean | null | undefined };
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
* An object literal like `{height:'100px'}` which allows styles to be changed dynamically. All values must be strings.
|
|
163
|
-
*/
|
|
164
|
-
readonly styles?: Partial<CSSStyleDeclaration> | { [cssVariable: string]: string };
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* For custom elements
|
|
168
|
-
*/
|
|
169
91
|
readonly is?: string;
|
|
170
92
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
// From HTMLFormElement
|
|
93
|
+
ontouchcancel?(ev?: TouchEvent): boolean | void;
|
|
94
|
+
ontouchend?(ev?: TouchEvent): boolean | void;
|
|
95
|
+
ontouchmove?(ev?: TouchEvent): boolean | void;
|
|
96
|
+
ontouchstart?(ev?: TouchEvent): boolean | void;
|
|
97
|
+
|
|
177
98
|
readonly action?: string;
|
|
178
99
|
readonly encoding?: string;
|
|
179
100
|
readonly enctype?: string;
|
|
180
101
|
readonly method?: string;
|
|
181
102
|
readonly name?: string;
|
|
182
103
|
readonly target?: string;
|
|
183
|
-
|
|
104
|
+
|
|
184
105
|
readonly href?: string;
|
|
185
106
|
readonly rel?: string;
|
|
186
|
-
|
|
107
|
+
|
|
187
108
|
onblur?(ev: FocusEvent): boolean | void;
|
|
188
109
|
onchange?(ev: Event): boolean | void;
|
|
189
110
|
onclick?(ev: MouseEvent): boolean | void;
|
|
@@ -219,15 +140,14 @@ export interface VNodeProperties {
|
|
|
219
140
|
onpointerout?(ev: PointerEvent): boolean | void;
|
|
220
141
|
onpointerover?(ev: PointerEvent): boolean | void;
|
|
221
142
|
onpointerup?(ev: PointerEvent): boolean | void;
|
|
143
|
+
|
|
222
144
|
readonly spellcheck?: boolean;
|
|
223
145
|
readonly tabIndex?: number;
|
|
224
146
|
readonly disabled?: boolean;
|
|
225
147
|
readonly title?: string;
|
|
226
148
|
readonly accessKey?: string;
|
|
227
|
-
readonly class?: string;
|
|
228
149
|
readonly id?: string;
|
|
229
|
-
|
|
230
|
-
// From HTMLInputElement
|
|
150
|
+
|
|
231
151
|
readonly type?: string;
|
|
232
152
|
readonly autocomplete?: string;
|
|
233
153
|
readonly checked?: boolean;
|
|
@@ -235,25 +155,11 @@ export interface VNodeProperties {
|
|
|
235
155
|
readonly readOnly?: boolean;
|
|
236
156
|
readonly src?: string;
|
|
237
157
|
readonly value?: string;
|
|
238
|
-
|
|
158
|
+
|
|
239
159
|
readonly alt?: string;
|
|
240
160
|
readonly srcset?: string;
|
|
241
|
-
/**
|
|
242
|
-
* Puts a non-interactive string of html inside the DOM node.
|
|
243
|
-
*
|
|
244
|
-
* Note: if you use innerHTML, maquette cannot protect you from XSS vulnerabilities and you must make sure that the innerHTML value is safe.
|
|
245
|
-
*/
|
|
246
161
|
readonly innerHTML?: string;
|
|
247
162
|
|
|
248
|
-
/**
|
|
249
|
-
* Do not use className, use class instead
|
|
250
|
-
*/
|
|
251
|
-
// eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents
|
|
252
|
-
readonly className?: never | "Hint: do not use `className`, use `class` instead";
|
|
253
|
-
|
|
254
|
-
/**
|
|
255
|
-
* Everything that is not explicitly listed (properties and attributes that are either uncommon or custom).
|
|
256
|
-
*/
|
|
257
163
|
readonly [index: string]: any;
|
|
258
164
|
}
|
|
259
165
|
|
|
@@ -308,14 +214,14 @@ declare const CustomElementConfig: (
|
|
|
308
214
|
|
|
309
215
|
declare type ElementProjectorMode = "append" | "merge" | "replace";
|
|
310
216
|
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
217
|
+
interface PropertyOptions {
|
|
218
|
+
type?: PropertyType;
|
|
219
|
+
reflect?: boolean;
|
|
220
|
+
attribute?: string;
|
|
221
|
+
readonly?: boolean;
|
|
222
|
+
converter?: AttributeConverter<any>;
|
|
317
223
|
}
|
|
318
|
-
|
|
224
|
+
interface PropertyInfo extends PropertyOptions {
|
|
319
225
|
name: string;
|
|
320
226
|
}
|
|
321
227
|
|
|
@@ -337,8 +243,8 @@ declare abstract class CustomElement extends HTMLElement {
|
|
|
337
243
|
render: () => VNode
|
|
338
244
|
): Promise<Projector>;
|
|
339
245
|
addController(controller: CustomElementController): void;
|
|
340
|
-
scheduleRender(): void;
|
|
341
246
|
renderNow(): void;
|
|
247
|
+
scheduleRender(): void;
|
|
342
248
|
connectedCallback(): void;
|
|
343
249
|
disconnectedCallback(): void;
|
|
344
250
|
updated?(propertyName: string, oldValue: any, newValue: any): void;
|
|
@@ -354,7 +260,6 @@ declare abstract class CustomElementController {
|
|
|
354
260
|
constructor(hostElement: CustomElement);
|
|
355
261
|
hostElement: CustomElement;
|
|
356
262
|
renderNow(): void;
|
|
357
|
-
scheduleRender(): void;
|
|
358
263
|
init?(): void;
|
|
359
264
|
connected?(): void;
|
|
360
265
|
disconnected?(): void;
|
|
@@ -381,7 +286,6 @@ interface AttributeConverter<T> {
|
|
|
381
286
|
fromAttribute?(value: string | null): T;
|
|
382
287
|
toAttribute?(value: T): string;
|
|
383
288
|
}
|
|
384
|
-
|
|
385
289
|
declare type PropertyType = "string" | "number" | "boolean" | "object";
|
|
386
290
|
|
|
387
291
|
declare const Property: (options?: {
|
|
@@ -416,4 +320,4 @@ declare const Maquette: {
|
|
|
416
320
|
h: (selector: string) => VNode;
|
|
417
321
|
};
|
|
418
322
|
|
|
419
|
-
declare const _: _.UnderscoreStatic;
|
|
323
|
+
declare const _: _.UnderscoreStatic;
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! P-ELEMENTS 1.2.17 - Mon Dec 30 2024 08:35:26 GMT+0100 (Central European Standard Time) */(()=>{var t={554:function(t,e,r){var n,o,i,a={scope:{}};a.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,r){if(r.get||r.set)throw new TypeError("ES3 does not support getters and setters.");t!=Array.prototype&&t!=Object.prototype&&(t[e]=r.value)},a.getGlobal=function(t){return"undefined"!=typeof window&&window===t?t:void 0!==r.g&&null!=r.g?r.g:t},a.global=a.getGlobal(this),a.SYMBOL_PREFIX="jscomp_symbol_",a.initSymbol=function(){a.initSymbol=function(){},a.global.Symbol||(a.global.Symbol=a.Symbol)},a.symbolCounter_=0,a.Symbol=function(t){return a.SYMBOL_PREFIX+(t||"")+a.symbolCounter_++},a.initSymbolIterator=function(){a.initSymbol();var t=a.global.Symbol.iterator;t||(t=a.global.Symbol.iterator=a.global.Symbol("iterator")),"function"!=typeof Array.prototype[t]&&a.defineProperty(Array.prototype,t,{configurable:!0,writable:!0,value:function(){return a.arrayIterator(this)}}),a.initSymbolIterator=function(){}},a.arrayIterator=function(t){var e=0;return a.iteratorPrototype((function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}))},a.iteratorPrototype=function(t){return a.initSymbolIterator(),(t={next:t})[a.global.Symbol.iterator]=function(){return this},t},a.array=a.array||{},a.iteratorFromArray=function(t,e){a.initSymbolIterator(),t instanceof String&&(t+="");var r=0,n={next:function(){if(r<t.length){var o=r++;return{value:e(o,t[o]),done:!1}}return n.next=function(){return{done:!0,value:void 0}},n.next()}};return n[Symbol.iterator]=function(){return n},n},a.polyfill=function(t,e,r,n){if(e){for(r=a.global,t=t.split("."),n=0;n<t.length-1;n++){var o=t[n];o in r||(r[o]={}),r=r[o]}(e=e(n=r[t=t[t.length-1]]))!=n&&null!=e&&a.defineProperty(r,t,{configurable:!0,writable:!0,value:e})}},a.polyfill("Array.prototype.keys",(function(t){return t||function(){return a.iteratorFromArray(this,(function(t){return t}))}}),"es6-impl","es3");var u=this;o=[],n=function(){function t(t){if(!V.col(t))try{return document.querySelectorAll(t)}catch(t){}}function e(t,e){for(var r=t.length,n=2<=arguments.length?arguments[1]:void 0,o=[],i=0;i<r;i++)if(i in t){var a=t[i];e.call(n,a,i,t)&&o.push(a)}return o}function r(t){return t.reduce((function(t,e){return t.concat(V.arr(e)?r(e):e)}),[])}function n(e){return V.arr(e)?e:(V.str(e)&&(e=t(e)||e),e instanceof NodeList||e instanceof HTMLCollection?[].slice.call(e):[e])}function o(t,e){return t.some((function(t){return t===e}))}function i(t){var e,r={};for(e in t)r[e]=t[e];return r}function a(t,e){var r,n=i(t);for(r in t)n[r]=e.hasOwnProperty(r)?e[r]:t[r];return n}function s(t,e){var r,n=i(t);for(r in e)n[r]=V.und(t[r])?e[r]:t[r];return n}function c(t){t=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(t,e,r,n){return e+e+r+r+n+n}));var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return"rgba("+(t=parseInt(e[1],16))+","+parseInt(e[2],16)+","+(e=parseInt(e[3],16))+",1)"}function l(t){function e(t,e,r){return 0>r&&(r+=1),1<r&&--r,r<1/6?t+6*(e-t)*r:.5>r?e:r<2/3?t+(e-t)*(2/3-r)*6:t}var r=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(t)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(t);t=parseInt(r[1])/360;var n=parseInt(r[2])/100,o=parseInt(r[3])/100;if(r=r[4]||1,0==n)o=n=t=o;else{var i=.5>o?o*(1+n):o+n-o*n,a=2*o-i;o=e(a,i,t+1/3),n=e(a,i,t),t=e(a,i,t-1/3)}return"rgba("+255*o+","+255*n+","+255*t+","+r+")"}function f(t){if(t=/([\+\-]?[0-9#\.]+)(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(t))return t[2]}function d(t){return-1<t.indexOf("translate")||"perspective"===t?"px":-1<t.indexOf("rotate")||-1<t.indexOf("skew")?"deg":void 0}function p(t,e){return V.fnc(t)?t(e.target,e.id,e.total):t}function h(t,e){if(e in t.style)return getComputedStyle(t).getPropertyValue(e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase())||"0"}function y(t,e){return V.dom(t)&&o(R,e)?"transform":V.dom(t)&&(t.getAttribute(e)||V.svg(t)&&t[e])?"attribute":V.dom(t)&&"transform"!==e&&h(t,e)?"css":null!=t[e]?"object":void 0}function m(t,r){var n=d(r);if(n=-1<r.indexOf("scale")?1:0+n,!(t=t.style.transform))return n;for(var o=[],i=[],a=[],u=/(\w+)\((.+?)\)/g;o=u.exec(t);)i.push(o[1]),a.push(o[2]);return t=e(a,(function(t,e){return i[e]===r})),t.length?t[0]:n}function v(t,e){switch(y(t,e)){case"transform":return m(t,e);case"css":return h(t,e);case"attribute":return t.getAttribute(e)}return t[e]||0}function b(t,e){var r=/^(\*=|\+=|-=)/.exec(t);if(!r)return t;var n=f(t)||0;switch(e=parseFloat(e),t=parseFloat(t.replace(r[0],"")),r[0][0]){case"+":return e+t+n;case"-":return e-t+n;case"*":return e*t+n}}function g(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function w(t){t=t.points;for(var e,r=0,n=0;n<t.numberOfItems;n++){var o=t.getItem(n);0<n&&(r+=g(e,o)),e=o}return r}function S(t){if(t.getTotalLength)return t.getTotalLength();switch(t.tagName.toLowerCase()){case"circle":return 2*Math.PI*t.getAttribute("r");case"rect":return 2*t.getAttribute("width")+2*t.getAttribute("height");case"line":return g({x:t.getAttribute("x1"),y:t.getAttribute("y1")},{x:t.getAttribute("x2"),y:t.getAttribute("y2")});case"polyline":return w(t);case"polygon":var e=t.points;return w(t)+g(e.getItem(e.numberOfItems-1),e.getItem(0))}}function E(t,e){function r(r){return r=void 0===r?0:r,t.el.getPointAtLength(1<=e+r?e+r:0)}var n=r(),o=r(-1),i=r(1);switch(t.property){case"x":return n.x;case"y":return n.y;case"angle":return 180*Math.atan2(i.y-o.y,i.x-o.x)/Math.PI}}function A(t,e){var r,n=/-?\d*\.?\d+/g;if(r=V.pth(t)?t.totalLength:t,V.col(r))if(V.rgb(r)){var o=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(r);r=o?"rgba("+o[1]+",1)":r}else r=V.hex(r)?c(r):V.hsl(r)?l(r):void 0;else o=(o=f(r))?r.substr(0,r.length-o.length):r,r=e&&!/\s/g.test(r)?o+e:o;return{original:r+="",numbers:r.match(n)?r.match(n).map(Number):[0],strings:V.str(t)||e?r.split(n):[]}}function O(t){return e(t=t?r(V.arr(t)?t.map(n):n(t)):[],(function(t,e,r){return r.indexOf(t)===e}))}function j(t){var e=O(t);return e.map((function(t,r){return{target:t,id:r,total:e.length}}))}function x(t,e){var r=i(e);if(V.arr(t)){var o=t.length;2!==o||V.obj(t[0])?V.fnc(e.duration)||(r.duration=e.duration/o):t={value:t}}return n(t).map((function(t,r){return r=r?0:e.delay,t=V.obj(t)&&!V.pth(t)?t:{value:t},V.und(t.delay)&&(t.delay=r),t})).map((function(t){return s(t,r)}))}function M(t,e){var r,n={};for(r in t){var o=p(t[r],e);V.arr(o)&&(o=o.map((function(t){return p(t,e)})),1===o.length&&(o=o[0])),n[r]=o}return n.duration=parseFloat(n.duration),n.delay=parseFloat(n.delay),n}function k(t){return V.arr(t)?D.apply(this,t):W[t]}function N(t,e){var r;return t.tweens.map((function(n){var o=(n=M(n,e)).value,i=v(e.target,t.name),a=r?r.to.original:i,u=(a=V.arr(o)?o[0]:a,b(V.arr(o)?o[1]:o,a));return i=f(u)||f(a)||f(i),n.from=A(a,i),n.to=A(u,i),n.start=r?r.end:t.offset,n.end=n.start+n.delay+n.duration,n.easing=k(n.easing),n.elasticity=(1e3-Math.min(Math.max(n.elasticity,1),999))/1e3,n.isPath=V.pth(o),n.isColor=V.col(n.from.original),n.isColor&&(n.round=1),r=n}))}function P(t,n){return e(r(t.map((function(t){return n.map((function(e){var r=y(t.target,e.name);if(r){var n=N(e,t);e={type:r,property:e.name,animatable:t,tweens:n,duration:n[n.length-1].end,delay:n[0].delay}}else e=void 0;return e}))}))),(function(t){return!V.und(t)}))}function T(t,e,r,n){var o="delay"===t;return e.length?(o?Math.min:Math.max).apply(Math,e.map((function(e){return e[t]}))):o?n.delay:r.offset+n.delay+n.duration}function I(t){var e,r=a(L,t),n=a(F,t),o=j(t.targets),i=[],u=s(r,n);for(e in t)u.hasOwnProperty(e)||"targets"===e||i.push({name:e,offset:u.offset,tweens:x(t[e],n)});return s(r,{children:[],animatables:o,animations:t=P(o,i),duration:T("duration",t,r,n),delay:T("delay",t,r,n)})}function _(t){function r(){return window.Promise&&new Promise((function(t){return f=t}))}function n(t){return p.reversed?p.duration-t:t}function o(t){for(var r=0,n={},o=p.animations,i=o.length;r<i;){var a=o[r],u=a.animatable,s=(c=a.tweens)[d=c.length-1];d&&(s=e(c,(function(e){return t<e.end}))[0]||s);for(var c=Math.min(Math.max(t-s.start-s.delay,0),s.duration)/s.duration,l=isNaN(c)?1:s.easing(c,s.elasticity),f=(c=s.to.strings,s.round),d=[],y=void 0,m=(y=s.to.numbers.length,0);m<y;m++){var v=void 0,b=(v=s.to.numbers[m],s.from.numbers[m]);v=s.isPath?E(s.value,l*v):b+l*(v-b),f&&(s.isColor&&2<m||(v=Math.round(v*f)/f)),d.push(v)}if(s=c.length)for(y=c[0],l=0;l<s;l++)f=c[l+1],m=d[l],isNaN(m)||(y=f?y+(m+f):y+(m+" "));else y=d[0];B[a.type](u.target,a.property,y,n,u.id),a.currentValue=y,r++}if(r=Object.keys(n).length)for(o=0;o<r;o++)C||(C=h(document.body,"transform")?"transform":"-webkit-transform"),p.animatables[o].target.style[C]=n[o].join(" ");p.currentTime=t,p.progress=t/p.duration*100}function i(t){p[t]&&p[t](p)}function a(){p.remaining&&!0!==p.remaining&&p.remaining--}function u(t){var e=p.duration,u=p.offset,h=u+p.delay,y=p.currentTime,m=p.reversed,v=n(t);if(p.children.length){var b=p.children,g=b.length;if(v>=p.currentTime)for(var w=0;w<g;w++)b[w].seek(v);else for(;g--;)b[g].seek(v)}(v>=h||!e)&&(p.began||(p.began=!0,i("begin")),i("run")),v>u&&v<e?o(v):(v<=u&&0!==y&&(o(0),m&&a()),(v>=e&&y!==e||!e)&&(o(e),m||a())),i("update"),t>=e&&(p.remaining?(c=s,"alternate"===p.direction&&(p.reversed=!p.reversed)):(p.pause(),p.completed||(p.completed=!0,i("complete"),"Promise"in window&&(f(),d=r()))),l=0)}t=void 0===t?{}:t;var s,c,l=0,f=null,d=r(),p=I(t);return p.reset=function(){var t=p.direction,e=p.loop;for(p.currentTime=0,p.progress=0,p.paused=!0,p.began=!1,p.completed=!1,p.reversed="reverse"===t,p.remaining="alternate"===t&&1===e?2:e,o(0),t=p.children.length;t--;)p.children[t].reset()},p.tick=function(t){s=t,c||(c=s),u((l+s-c)*_.speed)},p.seek=function(t){u(n(t))},p.pause=function(){var t=q.indexOf(p);-1<t&&q.splice(t,1),p.paused=!0},p.play=function(){p.paused&&(p.paused=!1,c=0,l=n(p.currentTime),q.push(p),$||H())},p.reverse=function(){p.reversed=!p.reversed,c=0,l=n(p.currentTime)},p.restart=function(){p.pause(),p.reset(),p.play()},p.finished=d,p.reset(),p.autoplay&&p.play(),p}var C,L={update:void 0,begin:void 0,run:void 0,complete:void 0,loop:1,direction:"normal",autoplay:!0,offset:0},F={duration:1e3,delay:0,easing:"easeOutElastic",elasticity:500,round:0},R="translateX translateY translateZ rotate rotateX rotateY rotateZ scale scaleX scaleY scaleZ skewX skewY perspective".split(" "),V={arr:function(t){return Array.isArray(t)},obj:function(t){return-1<Object.prototype.toString.call(t).indexOf("Object")},pth:function(t){return V.obj(t)&&t.hasOwnProperty("totalLength")},svg:function(t){return t instanceof SVGElement},dom:function(t){return t.nodeType||V.svg(t)},str:function(t){return"string"==typeof t},fnc:function(t){return"function"==typeof t},und:function(t){return void 0===t},hex:function(t){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(t)},rgb:function(t){return/^rgb/.test(t)},hsl:function(t){return/^hsl/.test(t)},col:function(t){return V.hex(t)||V.rgb(t)||V.hsl(t)}},D=function(){function t(t,e,r){return(((1-3*r+3*e)*t+(3*r-6*e))*t+3*e)*t}return function(e,r,n,o){if(0<=e&&1>=e&&0<=n&&1>=n){var i=new Float32Array(11);if(e!==r||n!==o)for(var a=0;11>a;++a)i[a]=t(.1*a,e,n);return function(a){if(e===r&&n===o)return a;if(0===a)return 0;if(1===a)return 1;for(var u=0,s=1;10!==s&&i[s]<=a;++s)u+=.1;--s,s=u+(a-i[s])/(i[s+1]-i[s])*.1;var c=3*(1-3*n+3*e)*s*s+2*(3*n-6*e)*s+3*e;if(.001<=c){for(u=0;4>u&&0!=(c=3*(1-3*n+3*e)*s*s+2*(3*n-6*e)*s+3*e);++u){var l=t(s,e,n)-a;s-=l/c}a=s}else if(0===c)a=s;else{s=u,u+=.1;var f=0;do{0<(c=t(l=s+(u-s)/2,e,n)-a)?u=l:s=l}while(1e-7<Math.abs(c)&&10>++f);a=l}return t(a,r,o)}}}}(),W=function(){function t(t,e){return 0===t||1===t?t:-Math.pow(2,10*(t-1))*Math.sin(2*(t-1-e/(2*Math.PI)*Math.asin(1))*Math.PI/e)}var e,r="Quad Cubic Quart Quint Sine Expo Circ Back Elastic".split(" "),n={In:[[.55,.085,.68,.53],[.55,.055,.675,.19],[.895,.03,.685,.22],[.755,.05,.855,.06],[.47,0,.745,.715],[.95,.05,.795,.035],[.6,.04,.98,.335],[.6,-.28,.735,.045],t],Out:[[.25,.46,.45,.94],[.215,.61,.355,1],[.165,.84,.44,1],[.23,1,.32,1],[.39,.575,.565,1],[.19,1,.22,1],[.075,.82,.165,1],[.175,.885,.32,1.275],function(e,r){return 1-t(1-e,r)}],InOut:[[.455,.03,.515,.955],[.645,.045,.355,1],[.77,0,.175,1],[.86,0,.07,1],[.445,.05,.55,.95],[1,0,0,1],[.785,.135,.15,.86],[.68,-.55,.265,1.55],function(e,r){return.5>e?t(2*e,r)/2:1-t(-2*e+2,r)/2}]},o={linear:D(.25,.25,.75,.75)},i={};for(e in n)i.type=e,n[i.type].forEach(function(t){return function(e,n){o["ease"+t.type+r[n]]=V.fnc(e)?e:D.apply(u,e)}}(i)),i={type:i.type};return o}(),B={css:function(t,e,r){return t.style[e]=r},attribute:function(t,e,r){return t.setAttribute(e,r)},object:function(t,e,r){return t[e]=r},transform:function(t,e,r,n,o){n[o]||(n[o]=[]),n[o].push(e+"("+r+")")}},q=[],$=0,H=function(){function t(){$=requestAnimationFrame(e)}function e(e){var r=q.length;if(r){for(var n=0;n<r;)q[n]&&q[n].tick(e),n++;t()}else cancelAnimationFrame($),$=0}return t}();return _.version="2.2.0",_.speed=1,_.running=q,_.remove=function(t){t=O(t);for(var e=q.length;e--;)for(var r=q[e],n=r.animations,i=n.length;i--;)o(t,n[i].animatable.target)&&(n.splice(i,1),n.length||r.pause())},_.getValue=v,_.path=function(e,r){var n=V.str(e)?t(e)[0]:e,o=r||100;return function(t){return{el:n,property:t,totalLength:S(n)*(o/100)}}},_.setDashoffset=function(t){var e=S(t);return t.setAttribute("stroke-dasharray",e),e},_.bezier=D,_.easings=W,_.timeline=function(t){var e=_(t);return e.pause(),e.duration=0,e.add=function(r){return e.children.forEach((function(t){t.began=!0,t.completed=!0})),n(r).forEach((function(r){var n=s(r,a(F,t||{}));n.targets=n.targets||t.targets,r=e.duration;var o=n.offset;n.autoplay=!1,n.direction=e.direction,n.offset=V.und(o)?r:b(o,r),e.began=!0,e.completed=!0,e.seek(n.offset),(n=_(n)).began=!0,n.completed=!0,n.duration>r&&(e.duration=n.duration),e.children.push(n)})),e.seek(0),e.reset(),e.autoplay&&e.restart(),e},e},_.random=function(t,e){return Math.floor(Math.random()*(e-t+1))+t},_},void 0===(i="function"==typeof n?n.apply(e,o):n)||(t.exports=i)},318:(t,e,r)=>{"use strict";function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],s=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);s=!0);}catch(t){c=!0,o=t}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var i=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,a=new Map;function u(t){var e=0,r=t.replace(i,(function(t,r,o,i){if(i){e++;var u=function(t){return null==t?void 0:t.split(";").map((function(t){var e=n(t.split(":",2),2),r=e[0],o=e[1];return{key:r.trim(),value:o?o.trim():""}})).filter((function(t){return t.key&&""!==t.key&&""!==t.value}))}(i),s="",c=[];return u.forEach((function(t){c.push(t.key),s+="".concat(r,"_-_").concat(t.key,": ").concat(t.value,";")+"\n"})),a.set(r,c),t.replace(r,"".concat(s,"\n ").concat(r))}return t}));return e>0?r:null}function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function c(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,l(n.key),n)}}function l(t){var e=function(t,e){if("object"!=s(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==s(e)?e:e+""}function f(t,e,r){return e=y(e),function(t,e){if(e&&("object"==s(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,p()?Reflect.construct(e,r||[],y(t).constructor):e.apply(t,r))}function d(t){var e="function"==typeof Map?new Map:void 0;return d=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return function(t,e,r){if(p())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,e);var o=new(t.bind.apply(t,n));return r&&h(o,r.prototype),o}(t,arguments,y(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),h(r,t)},d(t)}function p(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(p=function(){return!!t})()}function h(t,e){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},h(t,e)}function y(t){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},y(t)}var m=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),f(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&h(t,e)}(e,t),r=e,(n=[{key:"connectedCallback",value:function(){var t=this,e=this.getAttribute("href");fetch(e).then((function(e){e.text().then((function(e){var r=u(e);if(r){var n=document.createElement("link");n.rel="stylesheet",n.href=URL.createObjectURL(new Blob([r],{type:"text/css"})),t.parentElement.replaceWith(n),window.dispatchEvent(new CustomEvent("updatecssapply"))}}))}))}}])&&c(r.prototype,n),o&&c(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(d(HTMLLinkElement));m.cssApplyVars=a,customElements.whenDefined("custom-style").then((function(){document.body.parentElement.classList.add("custom-style-defined")})),customElements.define("custom-style",m,{extends:"link"});var v=r(523),b=r(554);function g(t){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g(t)}var w=function(t,e,r){var n=r.value;if("function"!=typeof n)throw new Error("@Bind decorator can only be applied to methods not: ".concat(g(n)));var o=!1;return{configurable:!0,get:function(){if(o||this===t.prototype||this.hasOwnProperty(e)||"function"!=typeof n)return n;var r=n.bind(this);return o=!0,Object.defineProperty(this,e,{configurable:!0,get:function(){return r},set:function(t){n=t,delete this[e]}}),o=!1,r},set:function(t){n=t}}},S=function(t){return function(e){customElements.get(t.tagName)?console.warn("Custom element with tag name ".concat(t.tagName," already exists.")):customElements.define(t.tagName,e,t.options)}},E=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return function(r,n){Object.defineProperty(r,n,{get:function(){return e?this.shadowRoot.querySelector(t):this.querySelector(t)}})}},A=function(t){return function(e,r){var n=e.constructor,o=Symbol(r+"_PropertyDecorator");n&&!n.observedAttributes&&(n.observedAttributes=[]),n&&!n.__properties__&&(n.__properties__=[]),n.__properties__.push(r),t.attribute&&!t.readonly&&-1===n.observedAttributes.indexOf(t.attribute)&&n.observedAttributes.push(t.attribute),Object.defineProperty(e,"__property_".concat(r,"__"),{configurable:!0,enumerable:!0,get:function(){return t}}),!0!==t.readonly?Object.defineProperty(e,r,{configurable:!0,enumerable:!0,get:function(){return this[o]},set:function(e){var n=this,i=this[o],a=(null==this?void 0:this.shouldUpdate)&&!this.shouldUpdate(r,i,e),u=this.isCustomElementController?this.hostElement:this,s=t.converter?t.converter.toAttribute(e):function(t,e){switch(t){case"string":case"number":return e.toString();case"object":return JSON.stringify(e)}}(t.type,e);a?(this[o]=i,requestAnimationFrame((function(){u.setAttribute(t.attribute,i)}))):this[o]=e;var c=function(){n[o]!==i&&((null==n?void 0:n.renderNow)&&n.renderNow(),(null==n?void 0:n.updated)&&n.updated(r,i,n[o]))};if(t.reflect&&t.attribute&&u._canReflect){if("boolean"===t.type)return e&&!u.hasAttribute(t.attribute)?u.setAttribute(t.attribute,""):!e&&u.hasAttribute(t.attribute)&&u.removeAttribute(t.attribute),void c();if(!e)return u.removeAttribute(t.attribute),void c();if(u.getAttribute(t.attribute)===s)return void c();null!==s?u.setAttribute(t.attribute,s):u.removeAttribute(t.attribute)}c(),(null==this?void 0:this.renderNow)&&this.renderNow()}}):Object.defineProperty(e,r,{get:function(){return this[o]},set:function(t){this[o]=t,null==this||this.renderNow(),delete this[r],Object.defineProperty(this,r,{configurable:!0,enumerable:!0,get:function(){return this[o]},set:function(){throw new Error("Cannot set read-only property")}}),Object.seal(this[o])}})}},O=A({});function j(t){return j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},j(t)}function x(t){return function(t){if(Array.isArray(t))return M(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return M(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?M(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function M(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function k(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function N(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?k(Object(r),!0).forEach((function(e){P(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):k(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function P(t,e,r){return(e=I(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function T(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,I(n.key),n)}}function I(t){var e=function(t,e){if("object"!=j(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=j(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==j(e)?e:e+""}function _(t,e){if(e&&("object"==j(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function C(t){var e="function"==typeof Map?new Map:void 0;return C=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return function(t,e,r){if(L())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,e);var o=new(t.bind.apply(t,n));return r&&F(o,r.prototype),o}(t,arguments,R(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),F(r,t)},C(t)}function L(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(L=function(){return!!t})()}function F(t,e){return F=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},F(t,e)}function R(t){return R=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},R(t)}function V(t,e,r){D(t,e),e.set(t,r)}function D(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function W(t,e,r){return r($(t,e))}function B(t,e,r){return t.set($(t,e),r),r}function q(t,e){return t.get($(t,e))}function $(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var H=[],U=new WeakMap,z=new WeakMap,K=new WeakMap,Y=new WeakMap,X=new WeakMap,J=new WeakMap,Q=new WeakMap,Z=new WeakMap,G=new WeakMap,tt=new WeakMap,et=new WeakMap,rt=new WeakMap,nt=new WeakMap,ot=new WeakSet,it=new WeakMap,at=function(t){function e(t){var r,n,o,i;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),n=this,o=R(o=e),function(t,e){D(t,e),e.add(t)}(r=_(n,L()?Reflect.construct(o,i||[],R(n).constructor):o.apply(n,i)),ot),V(r,U,void 0),V(r,z,void 0),V(r,K,void 0),V(r,Y,void 0),V(r,X,void 0),V(r,J,void 0),V(r,Q,!1),V(r,Z,void 0),V(r,G,void 0),V(r,tt,void 0),V(r,et,[]),V(r,rt,!1),V(r,nt,!1),V(r,it,(function(){var t=r.constructor.__properties__;B(U,r,[]),t&&B(U,r,t.map((function(t){return N(N({},r["__property_".concat(t,"__")]),{},{name:t})})))})),$(ot,r,st).call(r),$(ot,r,ut).call(r),_(r,t)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&F(t,e)}(e,t),r=e,n=[{key:"_canReflect",get:function(){return q(nt,this)}},{key:"properties",get:function(){return q(U,this)}},{key:"addController",value:function(t){q(et,this).push(t),q(rt,this)&&t.connected&&t.connected()}},{key:"internals",get:function(){return q(tt,this)},set:function(t){B(tt,this,t)}},{key:"addStylesheetToRootNode",value:function(t,e){if(W(ot,this,lt)){if(q(X,this)||B(X,this,new CSSStyleSheet),t=$(ot,this,ft).call(this),q(X,this).replaceSync(t),q(Q,this))return;if(e instanceof Document){var r=$(ot,this,pt).call(this,t);-1===H.indexOf(r)&&(document.adoptedStyleSheets=[].concat(x(document.adoptedStyleSheets),[q(X,this)]),B(Q,this,!0),H.push(r))}else this.shadowRoot.adoptedStyleSheets=[q(X,this)],B(Q,this,!0)}else if(B(J,this,document.createElement("link")),q(J,this).rel="stylesheet",t=$(ot,this,ft).call(this),q(J,this).href=URL.createObjectURL(new Blob([t],{type:"text/css"})),e instanceof Document){var n=$(ot,this,pt).call(this,t);-1===H.indexOf(n)&&(document.head.appendChild(q(J,this)),H.push(n))}else this.shadowRoot.appendChild(q(J,this))}},{key:"templateFromString",value:function(t){var e=this,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=document.createElement("template");n.innerHTML=t;var o=document.createDocumentFragment();o.appendChild(n.content);var i=o.querySelector("style");return r&&(B(Z,this,!0),this.shadowRoot||this.attachShadow({mode:"open",delegatesFocus:q(G,this)})),$(ot,this,dt).call(this,i.textContent),i.remove(),window.addEventListener("updatecssapply",(function(){$(ot,e,ft).call(e)})),o}},{key:"adoptStyle",value:function(t,e){this.addStylesheetToRootNode(e,t)}},{key:"createProjector",value:function(t,e){var r=this;return new Promise((function(n,o){var i,a=q(K,r)?q(K,r):"append";requestAnimationFrame((function(){(i=window.Maquette.createProjector())[a](t,e.bind(r)),B(z,r,i),B(nt,r,!0),$(ot,r,ct).call(r),n(i),r.dispatchEvent(new CustomEvent("firstRender",{}))}))}))}},{key:"renderNow",value:function(){var t;null===(t=q(z,this))||void 0===t||t.renderNow()}},{key:"connectedCallback",value:function(){B(rt,this,!0),q(et,this).forEach((function(t){null==t||t.connected()}))}},{key:"disconnectedCallback",value:function(){B(rt,this,!1),q(et,this).forEach((function(t){null==t||t.disconnected()}))}},{key:"attributeChangedCallback",value:function(t,e,r){var n=q(U,this).find((function(e){return e.attribute===t}));if(n)if(n.converter)this[n.name]=n.converter.fromAttribute(r);else{var o=n.type;"string"===o?this[n.name]=r:"number"===o?this[n.name]=parseFloat(r):"boolean"===o?this[n.name]=null!==r:"object"===o&&(this[n.name]=JSON.parse(r))}}}],n&&T(r.prototype,n),o&&T(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(C(HTMLElement));function ut(){"function"==typeof this.init&&(this.init(),q(et,this).forEach((function(t){null==t||t.init()})))}function st(){var t=this;q(it,this).call(this);var e=this.constructor.projectorMode;B(K,this,e||"append");var r=this.constructor.formAssociated,n=this.constructor.delegatesFocus;B(G,this,n),r&&B(tt,this,this.attachInternals());var o=this.constructor.style;if(o){B(Z,this,!0),B(K,this,"replace"),this.shadowRoot||this.attachShadow({mode:"open",delegatesFocus:q(G,this)}),$(ot,this,dt).call(this,o);var i=document.createElement("div");this.shadowRoot.appendChild(i),requestAnimationFrame((function(){t.createProjector(i,t.render)})),window.addEventListener("updatecssapply",(function(){$(ot,t,ft).call(t)}))}}function ct(){var t=this;q(U,this).filter((function(t){return t.reflect})).forEach((function(e){"string"===e.type&&void 0!==t[e.name]&&null!==t[e.name]?t.setAttribute(e.attribute,t[e.name]):"number"===e.type&&void 0!==t[e.name]&&null!==t[e.name]?t.setAttribute(e.attribute,t[e.name].toString()):"boolean"===e.type&&!0===t[e.name]?!0!==t[e.name]||t.hasAttribute(e.attribute)||t.setAttribute(e.attribute,""):"boolean"===e.type&&!1===t[e.name]?t.hasAttribute(e.attribute)&&t.removeAttribute(e.attribute):"object"===e.type&&void 0!==t[e.name]&&null!==t[e.name]&&(e.converter?t.setAttribute(e.attribute,e.converter.toAttribute(t[e.name])):t.setAttribute(e.attribute,JSON.stringify(t[e.name])))}))}function lt(t){return Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype}function ft(){var t=function(t){for(var e,r=customElements.get("custom-style").cssApplyVars,n=t,o=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,i=function(){var t=e[0],o=e[1];if(r.has(o)){var i="@apply"+t.split("@apply",2)[1],a=r.get(o).map((function(t){return";".concat(t,": var(").concat(o,"_-_").concat(t,");")})).join("");n=n.replace(i,a)}};e=o.exec(n);)i();return n}(q(Y,this));return q(Y,this)!==t&&(B(Y,this,t),W(ot,this,lt)&&q(X,this)?q(X,this).replaceSync(t):W(ot,this,lt)||(q(J,this)&&URL.revokeObjectURL(q(J,this).href),q(J,this).href=URL.createObjectURL(new Blob([t],{type:"text/css"})))),t}function dt(t){B(Y,this,t),q(Z,this)&&this.shadowRoot?this.addStylesheetToRootNode(t,this.shadowRoot):q(Z,this)||this.addStylesheetToRootNode(t,document)}function pt(t){for(var e=0,r=0;e<t.length;e++)r=Math.imul(31,r)+t.charCodeAt(e)|0;return r}function ht(t){return ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ht(t)}function yt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,mt(n.key),n)}}function mt(t){var e=function(t,e){if("object"!=ht(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ht(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ht(e)?e:e+""}function vt(t,e,r){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.set(t,r)}function bt(t,e){return t.get(gt(t,e))}function gt(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var wt=new WeakMap,St=function(){return t=function t(e){var r,n,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),vt(this,wt,void 0),n=this,o=e,(r=wt).set(gt(r,n),o),bt(wt,this).addController(this)},(e=[{key:"hostElement",get:function(){return bt(wt,this)}},{key:"renderNow",value:function(){var t;null===(t=this.hostElement)||void 0===t||t.renderNow()}}])&&yt(t.prototype,e),r&&yt(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,r}();function Et(t){return Et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Et(t)}function At(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],s=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);s=!0);}catch(t){c=!0,o=t}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}(t,e)||Ot(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ot(t,e){if(t){if("string"==typeof t)return jt(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?jt(t,e):void 0}}function jt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var xt,Mt="http://www.w3.org/",kt="".concat(Mt,"2000/svg"),Nt="".concat(Mt,"1999/xlink"),Pt=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","readonly","required","reversed","selected","scoped","seamless","typemustmatch"],Tt=[],It=function(t,e){var r={};return Object.keys(t).forEach((function(e){r[e]=t[e]})),e&&Object.keys(e).forEach((function(t){r[t]=e[t]})),r},_t=function(t,e){return t.vnodeSelector===e.vnodeSelector&&(t.properties&&e.properties?t.properties.key===e.properties.key&&t.properties.bind===e.properties.bind:!t.properties&&!e.properties)},Ct=function(t){if("string"!=typeof t)throw new Error("Style values must be strings")},Lt=function(t,e,r){if(""!==e.vnodeSelector)for(var n=r;n<t.length;n++)if(_t(t[n],e))return n;return-1},Ft=function(t,e,r,n){var o=t[e];if(""!==o.vnodeSelector){var i=o.properties;if(!(i?void 0===i.key?i.bind:i.key:void 0))for(var a=0;a<t.length;a++)if(a!==e){var u=t[a];if(_t(u,o))throw{error:new Error("".concat(r.vnodeSelector," had a ").concat(o.vnodeSelector," child ").concat("added"===n?n:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:r,childNode:o}}}},Rt=function(t){if(t.properties){var e=t.properties.enterAnimation;e&&e(t.domNode,t.properties)}},Vt=[],Dt=!1,Wt=function(t){(t.children||[]).forEach(Wt),t.properties&&t.properties.afterRemoved&&t.properties.afterRemoved.apply(t.properties.bind||t.properties,[t.domNode])},Bt=function(){Dt=!1,Vt.forEach(Wt),Vt.length=0},qt=function(t){Vt.push(t),Dt||(Dt=!0,"undefined"!=typeof window&&"requestIdleCallback"in window?window.requestIdleCallback(Bt,{timeout:16}):setTimeout(Bt,16))},$t=function(t){var e=t.domNode;if(t.properties){t.properties.eventListeners&&Array.isArray(t.properties.eventListeners)&&t.properties.eventListeners.forEach((function(t){e.removeEventListener(t[0],t[1])}));var r=t.properties.exitAnimation;if(r){e.style.pointerEvents="none";return void r(e,(function(){e.parentNode&&(e.parentNode.removeChild(e),qt(t))}),t.properties)}}e.parentNode&&(e.parentNode.removeChild(e),qt(t))},Ht=function(t,e,r){if(e){var n,o=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Ot(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}(e);try{for(o.s();!(n=o.n()).done;){var i=n.value;zt(i,t,void 0,r)}}catch(t){o.e(t)}finally{o.f()}}},Ut=function(t,e,r){if(Ht(t,e.children,r),e.text&&(t.textContent=e.text),function(t,e,r){if(e)for(var n=r.eventHandlerInterceptor,o=Object.keys(e),i=o.length,a=function(){var i,a=o[u],s=e[a];if("className"===a)throw new Error('Property "className" is not supported, use "class".');if("class"===a)Kt(t,s,!0);else if("classes"===a)for(var c=Object.keys(s),l=c.length,f=0;f<l;f++){var d=c[f];s[d]&&t.classList.add(d)}else if("styles"===a)for(var p=Object.keys(s),h=p.length,y=0;y<h;y++){var m=p[y],v=s[m];v&&(Ct(v),r.styleApplyer(t,m,v))}else if("on"===a&&s)for(var b=0,g=Object.entries(e.on);b<g.length;b++){var w=At(g[b],2),S=w[0],E=w[1],A="function"==typeof E?E:E.listener;n&&(A=n(S,A,t,e)),A&&t.addEventListener(S,A,"function"==typeof E?void 0:E.options)}else if("key"!==a&&null!=s){var O=Et(s);"function"===O?(0===a.lastIndexOf("on",0)&&(n&&(s=n(a,s,t,e)),"oninput"===a&&(i=s,s=function(t){i.apply(this,[t]),t.target["oninput-value"]=t.target.value})),t[a]=s):r.namespace===kt?"href"===a?t.setAttributeNS(Nt,a,s):t.setAttribute(a,s):"string"===O&&"value"!==a&&"innerHTML"!==a?t.setAttribute(a,s):t[a]=s}},u=0;u<i;u++)a()}(t,e.properties,r),e.properties&&e.properties.afterCreate)e.properties.afterCreate.apply(e.properties.bind||e.properties,[t,r,e.vnodeSelector,e.properties,e.children]);else if(e.properties&&e.properties.eventListeners){if(!Array.isArray(e.properties.eventListeners))throw new Error("eventListeners value must be an array");e.properties.eventListeners.forEach((function(e){t.addEventListener(e[0],e[1],e[2])}))}},zt=function(t,e,r,n){var o,i=0,a=t.vnodeSelector,u=e.ownerDocument;if(""===a)t.domNode?t.domNode.nodeValue=t.text:(o=t.domNode=u.createTextNode(t.text),void 0!==r?e.insertBefore(o,r):e.appendChild(o));else{for(var s=0;s<=a.length;++s){var c=a.charAt(s);if(s===a.length||"."===c||"#"===c){var l=a.charAt(i-1),f=a.slice(i,s);if("."===l)o.classList.add(f);else if("#"===l)o.id=f;else{var d;if("svg"===f&&(n=It(n,{namespace:kt})),void 0!==n.namespace)o=t.domNode=u.createElementNS(n.namespace,f);else o=t.domNode=t.domNode||(null!==(d=t.properties)&&void 0!==d&&d.is?u.createElement(f,{is:t.properties.is}):u.createElement(f)),"input"===f&&t.properties&&void 0!==t.properties.type&&o.setAttribute("type",t.properties.type);void 0!==r?e.insertBefore(o,r):o.parentNode!==e&&e.appendChild(o)}i=s+1}}Ut(o,t,n)}},Kt=function(t,e,r){e&&e.split(" ").forEach((function(e){e&&t.classList.toggle(e,r)}))},Yt=function(t,e,r,n,o){if(r===n)return!1;n=n||Tt;for(var i,a=(r=r||Tt).length,u=n.length,s=0,c=0,l=!1;c<u;){var f=s<a?r[s]:void 0,d=n[c];if(void 0!==f&&_t(f,d))l=xt(f,d,o)||l,s++;else{var p=Lt(r,d,s+1);if(p>=0){for(i=s;i<p;i++)$t(r[i]),Ft(r,i,t,"removed");l=xt(r[p],d,o)||l,s=p+1}else zt(d,e,s<a?r[s].domNode:void 0,o),Rt(d),Ft(n,c,t,"added")}c++}if(a>s)for(i=s;i<a;i++)$t(r[i]),Ft(r,i,t,"removed");return l};xt=function(t,e,r){var n=t.domNode,o=!1;if(t===e)return!1;var i=!1;if(""===e.vnodeSelector){if(e.text!==t.text){var a=n.ownerDocument.createTextNode(e.text);return n.parentNode.replaceChild(a,n),e.domNode=a,o=!0}e.domNode=n}else 0===e.vnodeSelector.lastIndexOf("svg",0)&&(r=It(r,{namespace:kt})),t.text!==e.text&&(i=!0,void 0===e.text?n.removeChild(n.firstChild):n.textContent=e.text),e.domNode=n,i=Yt(e,n,t.children,e.children,r)||i,i=function(t,e,r,n){if(r){for(var o=!1,i=Object.keys(r),a=i.length,u=0;u<a;u++){var s=i[u],c=r[s],l=e[s];if("class"===s)l!==c&&(Kt(t,l,!1),Kt(t,c,!0));else if("classes"===s)for(var f=t.classList,d=Object.keys(c),p=d.length,h=0;h<p;h++){var y=d[h],m=!!c[y];m!==!!l[y]&&(o=!0,m?f.add(y):f.remove(y))}else if("styles"===s)for(var v=Object.keys(c),b=v.length,g=0;g<b;g++){var w=v[g],S=c[w];S!==l[w]&&(o=!0,S?(Ct(S),n.styleApplyer(t,w,S)):n.styleApplyer(t,w,""))}else if(c||"string"!=typeof l||Pt.indexOf(s)<0&&(c=""),"value"===s){var E=t[s];E!==c&&(t["oninput-value"]?E===t["oninput-value"]:c!==l)&&(t[s]=c,t["oninput-value"]=void 0),c!==l&&(o=!0)}else if(Pt.indexOf(s)>=0)"string"==typeof c||!0===c?(t.setAttribute(s,""),t[s]=!0):(t.removeAttribute(s),t[s]=!1),o=!0;else if(c!==l){var A=Et(c);"function"===A&&n.eventHandlerInterceptor||(n.namespace===kt?"href"===s?t.setAttributeNS(Nt,s,c):t.setAttribute(s,c):"string"===A&&"innerHTML"!==s?"role"===s&&""===c?t.removeAttribute(s):t.setAttribute(s,c):t[s]!==c&&(t[s]=c),o=!0)}}return o}}(n,t.properties,e.properties,r)||i,e.properties&&e.properties.afterUpdate&&e.properties.afterUpdate.apply(e.properties.bind||e.properties,[n,r,e.vnodeSelector,e.properties,e.children]);return i&&e.properties&&e.properties.updateAnimation&&e.properties.updateAnimation(n,e.properties,t.properties),o};var Xt,Jt=function(t,e){return{getLastRender:function(){return t},update:function(r){if(t.vnodeSelector!==r.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var n=t;t=r,xt(n,r,e)},domNode:t.domNode}},Qt={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(t,e,r){"-"===e.charAt(0)?t.style.setProperty(e,r):t.style[e]=r}},Zt=function(t){return It(Qt,t)},Gt={create:function(t,e){return e=Zt(e),zt(t,document.createElement("div"),void 0,e),Jt(t,e)},append:function(t,e,r){return r=Zt(r),zt(e,t,void 0,r),Jt(e,r)},insertBefore:function(t,e,r){return r=Zt(r),zt(e,t.parentNode,t,r),Jt(e,r)},merge:function(t,e,r){return r=Zt(r),e.domNode=t,Ut(t,e,r),Jt(e,r)},replace:function(t,e,r){return r=Zt(r),zt(e,t.parentNode,t,r),t.parentNode.removeChild(t),Jt(e,r)}};Xt=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){return t.filter(e)[0]};var te=function(t,e,r){return function(t,e,r,o){return n};function n(n){r("domEvent",n);var o=e(),i=function(t,e){for(var r=[];t&&t!==e;)r.push(t),t=t.parentNode;return r}(n.currentTarget,o.domNode);i.reverse();var a,u,s,c=function(t,e){var r=t;return e.forEach((function(t){r=r&&r.children?Xt(r.children,(function(e){return e.domNode===t})):void 0})),r}(o.getLastRender(),i);(t.scheduleRender(),c)&&(a=(null!==(u=null!==(s=c.properties["on".concat(n.type)])&&void 0!==s?s:c.properties.on[n.type].listener)&&void 0!==u?u:c.properties.on[n.type]).apply(c.properties.bind||this,arguments));return r("domEventProcessed",n),a}},ee=function(t,e){for(var r=0,n=t.length;r<n;r++){var o=t[r];Array.isArray(o)?ee(o,e):null!=o&&!1!==o&&(o.hasOwnProperty("vnodeSelector")||(o={vnodeSelector:"",properties:void 0,children:void 0,text:o.toString(),domNode:null}),e.push(o))}},re=function(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];if(1===n.length&&"string"==typeof n[0])return{vnodeSelector:t,properties:e||void 0,children:void 0,text:n[0],domNode:null};var i=[];return ee(n,i),{vnodeSelector:t,properties:e||void 0,children:i,text:void 0,domNode:null}},ne={createCache:function(){var t,e;return{invalidate:function(){e=void 0,t=void 0},result:function(r,n){if(t)for(var o=0;o<r.length;o++)t[o]!==r[o]&&(e=void 0);return e||(e=n(),t=r),e}}},createMapping:function(t,e,r){var n=[],o=[];return{results:o,map:function(i){for(var a=i.map(t),u=o.slice(),s=0,c=0;c<i.length;c++){var l=i[c],f=a[c];if(f===n[s])o[c]=u[s],r(l,u[s],c),s++;else{for(var d=!1,p=1;p<n.length+1;p++){var h=(s+p)%n.length;if(n[h]===f){o[c]=u[h],r(i[c],u[h],c),s=h+1,d=!0;break}}d||(o[c]=e(l,c))}}o.length=i.length,n=a}}},createProjector:function(t){var e,r,n=Zt(t),o=n.performanceLogger,i=!0,a=!1,u=[],s=[],c=function(t,r,i){var a;n.eventHandlerInterceptor=te(e,(function(){return a}),o),a=t(r,i(),n),u.push(a),s.push(i)},l=function(){if(r=void 0,i){i=!1,o("renderStart",void 0);for(var t=0;t<u.length;t++){var e=s[t]();o("rendered",void 0),u[t].update(e),o("patched",void 0)}o("renderDone",void 0),i=!0}};return e={renderNow:l,scheduleRender:function(){r||a||(r=requestAnimationFrame(l))},stop:function(){r&&(cancelAnimationFrame(r),r=void 0),a=!0},resume:function(){a=!1,i=!0,e.scheduleRender()},append:function(t,e){c(Gt.append,t,e)},insertBefore:function(t,e){c(Gt.insertBefore,t,e)},merge:function(t,e){c(Gt.merge,t,e)},replace:function(t,e){c(Gt.replace,t,e)},detach:function(t){for(var e=0;e<s.length;e++)if(s[e]===t)return s.splice(e,1),u.splice(e,1)[0];throw new Error("renderFunction was not found")}}},dom:Gt,h:re};!function(t){t._=v,t.Maquette=ne,t.h=re,t.anime=b,t.CustomElement=at,t.CustomElementController=St,t.CustomElementConfig=S,t.PropertyRenderOnSet=O,t.RenderOnSet=O,t.Property=A,t.Query=E,t.Bind=w}(window)},484:()=>{"use strict";const{keys:t}=Object,e=!0,r=!1,n="querySelectorAll",o="querySelectorAll",{document:i,Element:a,MutationObserver:u,Set:s,WeakMap:c}=self,l=t=>o in t,{filter:f}=[],d=t=>{const d=new c,p=(e,r)=>{let n;if(r)for(let o,i=(t=>t.matches||t.webkitMatchesSelector||t.msMatchesSelector)(e),a=0,{length:u}=y;a<u;a++)i.call(e,o=y[a])&&(d.has(e)||d.set(e,new s),n=d.get(e),n.has(o)||(n.add(o),t.handle(e,r,o)));else d.has(e)&&(n=d.get(e),d.delete(e),n.forEach((n=>{t.handle(e,r,n)})))},h=(t,e=!0)=>{for(let r=0,{length:n}=t;r<n;r++)p(t[r],e)},{query:y}=t,m=t.root||i,v=((t,o=document,i=MutationObserver,a=["*"])=>{const u=(r,o,i,a,s,c)=>{for(const l of r)(c||n in l)&&(s?i.has(l)||(i.add(l),a.delete(l),t(l,s)):a.has(l)||(a.add(l),i.delete(l),t(l,s)),c||u(l[n](o),o,i,a,s,e))},s=new i((t=>{if(a.length){const n=a.join(","),o=new Set,i=new Set;for(const{addedNodes:a,removedNodes:s}of t)u(s,n,o,i,r,r),u(a,n,o,i,e,r)}})),{observe:c}=s;return(s.observe=t=>c.call(s,t,{subtree:e,childList:e}))(o),s})(p,m,u,y),{attachShadow:b}=a.prototype;return b&&(a.prototype.attachShadow=function(t){const e=b.call(this,t);return v.observe(e),e}),y.length&&h(m[o](y)),{drop:t=>{for(let e=0,{length:r}=t;e<r;e++)d.delete(t[e])},flush:()=>{const t=v.takeRecords();for(let e=0,{length:r}=t;e<r;e++)h(f.call(t[e].removedNodes,l),!1),h(f.call(t[e].addedNodes,l),!0)},observer:v,parse:h}},{customElements:p,document:h,Element:y,MutationObserver:m,Object:v,Promise:b,Map:g,Set:w,WeakMap:S,Reflect:E}=self,{createElement:A}=h,{define:O,get:j,upgrade:x}=p,{construct:M}=E||{construct(t){return t.call(this)}},{defineProperty:k,getOwnPropertyNames:N,setPrototypeOf:P}=v,T=new S,I=new w,_=new g,C=new g,L=new g,F=new g,R=[],V=[],D=t=>F.get(t)||j.call(p,t),{parse:W}=d({query:V,handle:(e,r,n)=>{const o=L.get(n);if(r&&!o.isPrototypeOf(e)){const r=(e=>{const r=t(e),n=[],o=new Set,{length:i}=r;for(let t=0;t<i;t++){n[t]=e[r[t]];try{delete e[r[t]]}catch(e){o.add(t)}}return()=>{for(let t=0;t<i;t++)o.has(t)||(e[r[t]]=n[t])}})(e);U=P(e,o);try{new o.constructor}finally{U=null,r()}}const i=(r?"":"dis")+"connectedCallback";i in o&&e[i]()}}),{parse:B}=d({query:R,handle(t,e){T.has(t)&&(e?I.add(t):I.delete(t),V.length&&z.call(V,t))}}),{attachShadow:q}=y.prototype;q&&(y.prototype.attachShadow=function(t){const e=q.call(this,t);return T.set(this,e),e});const $=t=>{if(!C.has(t)){let e,r=new b((t=>{e=t}));C.set(t,{$:r,_:e})}return C.get(t).$},H=((t,e)=>{const r=t=>{for(let e=0,{length:r}=t;e<r;e++)n(t[e])},n=({target:t,attributeName:e,oldValue:r})=>{t.attributeChangedCallback(e,r,t.getAttribute(e))};return(o,i)=>{const{observedAttributes:a}=o.constructor;return a&&t(i).then((()=>{new e(r).observe(o,{attributes:!0,attributeOldValue:!0,attributeFilter:a});for(let t=0,{length:e}=a;t<e;t++)o.hasAttribute(a[t])&&n({target:o,attributeName:a[t],oldValue:null})})),o}})($,m);let U=null;function z(t){const e=T.get(t);W(e.querySelectorAll(this),t.isConnected)}N(self).filter((t=>/^HTML.*Element$/.test(t))).forEach((t=>{const e=self[t];function r(){const{constructor:t}=this;if(!_.has(t))throw new TypeError("Illegal constructor");const{is:r,tag:n}=_.get(t);if(r){if(U)return H(U,r);const e=A.call(h,n);return e.setAttribute("is",r),H(P(e,t.prototype),r)}return M.call(this,e,[],t)}P(r,e),k(r.prototype=e.prototype,"constructor",{value:r}),k(self,t,{value:r})})),h.createElement=function(t,e){const r=e&&e.is;if(r){const e=F.get(r);if(e&&_.get(e).tag===t)return new e}const n=A.call(h,t);return r&&n.setAttribute("is",r),n},p.get=D,p.whenDefined=$,p.upgrade=function(t){const e=t.getAttribute("is");if(e){const r=F.get(e);if(r)return void H(P(t,r.prototype),e)}x.call(p,t)},p.define=function(t,e,r){if(D(t))throw new Error(`'${t}' has already been defined as a custom element`);let n;const o=r&&r.extends;_.set(e,o?{is:t,tag:o}:{is:"",tag:t}),o?(n=`${o}[is="${t}"]`,L.set(n,e.prototype),F.set(t,e),V.push(n)):(O.apply(p,arguments),R.push(n=t)),$(t).then((()=>{o?(W(h.querySelectorAll(n)),I.forEach(z,[n])):B(h.querySelectorAll(n))})),C.get(t)._(e)}},650:()=>{"use strict";!function(t){const e=new WeakMap,r=new WeakMap,n=new WeakMap,o=new WeakMap,i=new WeakMap,a=new WeakMap,u=new WeakMap,s=new WeakMap,c=new WeakMap,l=new WeakMap,f=new WeakMap,d=new WeakMap,p=new WeakMap,h=new WeakMap,y=new WeakMap,m={ariaAtomic:"aria-atomic",ariaAutoComplete:"aria-autocomplete",ariaBusy:"aria-busy",ariaChecked:"aria-checked",ariaColCount:"aria-colcount",ariaColIndex:"aria-colindex",ariaColIndexText:"aria-colindextext",ariaColSpan:"aria-colspan",ariaCurrent:"aria-current",ariaDescription:"aria-description",ariaDisabled:"aria-disabled",ariaExpanded:"aria-expanded",ariaHasPopup:"aria-haspopup",ariaHidden:"aria-hidden",ariaInvalid:"aria-invalid",ariaKeyShortcuts:"aria-keyshortcuts",ariaLabel:"aria-label",ariaLevel:"aria-level",ariaLive:"aria-live",ariaModal:"aria-modal",ariaMultiLine:"aria-multiline",ariaMultiSelectable:"aria-multiselectable",ariaOrientation:"aria-orientation",ariaPlaceholder:"aria-placeholder",ariaPosInSet:"aria-posinset",ariaPressed:"aria-pressed",ariaReadOnly:"aria-readonly",ariaRelevant:"aria-relevant",ariaRequired:"aria-required",ariaRoleDescription:"aria-roledescription",ariaRowCount:"aria-rowcount",ariaRowIndex:"aria-rowindex",ariaRowIndexText:"aria-rowindextext",ariaRowSpan:"aria-rowspan",ariaSelected:"aria-selected",ariaSetSize:"aria-setsize",ariaSort:"aria-sort",ariaValueMax:"aria-valuemax",ariaValueMin:"aria-valuemin",ariaValueNow:"aria-valuenow",ariaValueText:"aria-valuetext",role:"role"};function v(t){const e=o.get(t),{form:r}=e;I(t,r,e),M(t,e.labels)}const b=(t,e=!1)=>{const r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:t=>o.has(t)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});let n=r.nextNode();const i=!e||t.disabled;for(;n;)n.formDisabledCallback&&i&&O(n,t.disabled),n=r.nextNode()},g={attributes:!0,attributeFilter:["disabled","name"]},w=R()?new MutationObserver((t=>{for(const e of t){const t=e.target;if("disabled"===e.attributeName&&(t.constructor.formAssociated?O(t,t.hasAttribute("disabled")):"fieldset"===t.localName&&b(t)),"name"===e.attributeName&&t.constructor.formAssociated){const e=o.get(t),r=c.get(t);e.setFormValue(r)}}})):{};function S(t){t.forEach((t=>{const{addedNodes:e,removedNodes:r}=t,i=Array.from(e),a=Array.from(r);i.forEach((t=>{var e;if(o.has(t)&&t.constructor.formAssociated&&v(t),l.has(t)){const e=l.get(t);Object.keys(m).filter((t=>null!==e[t])).forEach((r=>{t.setAttribute(m[r],e[r])})),l.delete(t)}if(y.has(t)){const e=y.get(t);t.setAttribute("internals-valid",e.validity.valid.toString()),t.setAttribute("internals-invalid",(!e.validity.valid).toString()),t.setAttribute("aria-invalid",(!e.validity.valid).toString()),y.delete(t)}if("form"===t.localName){const e=s.get(t),r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:t=>!o.has(t)||!t.constructor.formAssociated||e&&e.has(t)?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT});let n=r.nextNode();for(;n;)v(n),n=r.nextNode()}"fieldset"===t.localName&&(null===(e=w.observe)||void 0===e||e.call(w,t,g),b(t,!0))})),a.forEach((t=>{const e=o.get(t);if(e&&n.get(e)&&j(e),u.has(t)){u.get(t).disconnect()}}))}))}function E(t){t.forEach((t=>{const{removedNodes:e}=t;e.forEach((e=>{const r=p.get(t.target);o.has(e)&&F(e),r.disconnect()}))}))}!R()||new MutationObserver(S);const A={childList:!0,subtree:!0},O=(t,e)=>{t.toggleAttribute("internals-disabled",e),e?t.setAttribute("aria-disabled","true"):t.removeAttribute("aria-disabled"),t.formDisabledCallback&&t.formDisabledCallback.apply(t,[e])},j=t=>{n.get(t).forEach((t=>{t.remove()})),n.set(t,[])},x=(t,e)=>{const r=document.createElement("input");return r.type="hidden",r.name=t.getAttribute("name"),t.after(r),n.get(e).push(r),r},M=(t,e)=>{if(e.length){Array.from(e).forEach((e=>e.addEventListener("click",t.click.bind(t))));let r=e[0].id;e[0].id||(r=`${e[0].htmlFor}_Label`,e[0].id=r),t.setAttribute("aria-labelledby",r)}},k=t=>{const e=Array.from(t.elements).filter((t=>!t.tagName.includes("-")&&t.validity)).map((t=>t.validity.valid)),r=s.get(t)||[],n=[...e,...Array.from(r).filter((t=>t.isConnected)).map((t=>o.get(t).validity.valid))].includes(!1);t.toggleAttribute("internals-invalid",n),t.toggleAttribute("internals-valid",!n)},N=t=>{k(_(t.target))},P=t=>{k(_(t.target))},T=t=>{const e=s.get(t.target);e&&e.size&&e.forEach((t=>{t.constructor.formAssociated&&t.formResetCallback&&t.formResetCallback.apply(t)}))},I=(t,e,r)=>{if(e){const n=s.get(e);if(n)n.add(t);else{const r=new Set;r.add(t),s.set(e,r),(t=>{const e=["button[type=submit]","input[type=submit]","button:not([type])"].map((t=>`${t}:not([disabled])`)).map((e=>`${e}:not([form])${t.id?`,${e}[form='${t.id}']`:""}`)).join(",");t.addEventListener("click",(r=>{if(r.target.closest(e)){const e=s.get(t);if(t.noValidate)return;e.size&&Array.from(e).reverse().map((t=>o.get(t).reportValidity())).includes(!1)&&r.preventDefault()}}))})(e),e.addEventListener("reset",T),e.addEventListener("input",N),e.addEventListener("change",P)}a.set(e,{ref:t,internals:r}),t.constructor.formAssociated&&t.formAssociatedCallback&&setTimeout((()=>{t.formAssociatedCallback.apply(t,[e])}),0),k(e)}},_=t=>{let e=t.parentNode;return e&&"FORM"!==e.tagName&&(e=_(e)),e},C=(t,e,r=DOMException)=>{if(!t.constructor.formAssociated)throw new r(e)},L=(t,e,r)=>{const n=s.get(t);return n&&n.size&&n.forEach((t=>{o.get(t)[r]()||(e=!1)})),e},F=t=>{if(t.constructor.formAssociated){const e=o.get(t),{labels:r,form:n}=e;M(t,r),I(t,n,e)}};function R(){return"undefined"!=typeof MutationObserver}class V{constructor(){this.badInput=!1,this.customError=!1,this.patternMismatch=!1,this.rangeOverflow=!1,this.rangeUnderflow=!1,this.stepMismatch=!1,this.tooLong=!1,this.tooShort=!1,this.typeMismatch=!1,this.valid=!0,this.valueMissing=!1,Object.seal(this)}}const D=t=>{let e=!0;for(let r in t)"valid"!==r&&!1!==t[r]&&(e=!1);return e},W=new WeakMap;function B(t,e){t.toggleAttribute(e,!0),t.part&&t.part.add(e)}class q extends Set{static get isPolyfilled(){return!0}constructor(t){if(super(),!t||!t.tagName||-1===t.tagName.indexOf("-"))throw new TypeError("Illegal constructor");W.set(this,t)}add(t){if(!/^--/.test(t)||"string"!=typeof t)throw new DOMException(`Failed to execute 'add' on 'CustomStateSet': The specified value ${t} must start with '--'.`);const e=super.add(t),r=W.get(this),n=`state${t}`;return r.isConnected?B(r,n):setTimeout((()=>{B(r,n)})),e}clear(){for(let[t]of this.entries())this.delete(t);super.clear()}delete(t){const e=super.delete(t),r=W.get(this);return r.isConnected?(r.toggleAttribute(`state${t}`,!1),r.part&&r.part.remove(`state${t}`)):setTimeout((()=>{r.toggleAttribute(`state${t}`,!1),r.part&&r.part.remove(`state${t}`)})),e}}function $(t,e,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(t):n?n.value:e.get(t)}var H;class U{constructor(t){H.set(this,void 0),function(t,e,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");"a"===n?o.call(t,r):o?o.value=r:e.set(t,r)}(this,H,t,"f");for(let e=0;e<t.length;e++){let r=t[e];this[e]=r,r.hasAttribute("name")&&(this[r.getAttribute("name")]=r)}Object.freeze(this)}get length(){return $(this,H,"f").length}[(H=new WeakMap,Symbol.iterator)](){return $(this,H,"f")[Symbol.iterator]()}item(t){return null==this[t]?null:this[t]}namedItem(t){return null==this[t]?null:this[t]}}class z{static get isPolyfilled(){return!0}constructor(t){if(!t||!t.tagName||-1===t.tagName.indexOf("-"))throw new TypeError("Illegal constructor");const i=t.getRootNode(),a=new V;this.states=new q(t),e.set(this,t),r.set(this,a),o.set(t,this),((t,e)=>{for(let r in m){e[r]=null;let n=null;const o=m[r];Object.defineProperty(e,r,{get:()=>n,set(r){n=r,t.isConnected?t.setAttribute(o,r):l.set(t,e)}})}})(t,this),((t,e)=>{var r;n.set(e,[]),null===(r=w.observe)||void 0===r||r.call(w,t,g)})(t,this),Object.seal(this),i instanceof DocumentFragment&&(t=>{var e,r;const n=new MutationObserver(E);(null===(e=null===window||void 0===window?void 0:window.ShadyDOM)||void 0===e?void 0:e.inUse)&&t.mode&&t.host&&(t=t.host),null===(r=n.observe)||void 0===r||r.call(n,t,{childList:!0}),p.set(t,n)})(i)}checkValidity(){const t=e.get(this);if(C(t,"Failed to execute 'checkValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const n=r.get(this);if(!n.valid){const e=new Event("invalid",{bubbles:!1,cancelable:!0,composed:!1});t.dispatchEvent(e)}return n.valid}get form(){const t=e.get(this);let r;return C(t,"Failed to read the 'form' property from 'ElementInternals': The target element is not a form-associated custom element."),!0===t.constructor.formAssociated&&(r=_(t)),r}get labels(){const t=e.get(this);C(t,"Failed to read the 'labels' property from 'ElementInternals': The target element is not a form-associated custom element.");const r=t.getAttribute("id"),n=t.getRootNode();return n&&r?n.querySelectorAll(`[for="${r}"]`):[]}reportValidity(){const t=e.get(this);if(C(t,"Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const r=this.checkValidity(),n=d.get(this);if(n&&!t.constructor.formAssociated)throw new DOMException("Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element.");return!r&&n&&(t.focus(),n.focus()),r}setFormValue(t){const r=e.get(this);if(C(r,"Failed to execute 'setFormValue' on 'ElementInternals': The target element is not a form-associated custom element."),j(this),null==t||t instanceof FormData)null!=t&&t instanceof FormData&&Array.from(t).reverse().forEach((([t,e])=>{if("string"==typeof e){const n=x(r,this);n.name=t,n.value=e}}));else if(r.getAttribute("name")){x(r,this).value=t}c.set(r,t)}setValidity(t,n,o){const a=e.get(this);if(C(a,"Failed to execute 'setValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!t)throw new TypeError("Failed to execute 'setValidity' on 'ElementInternals': 1 argument required, but only 0 present.");d.set(this,o);const u=r.get(this),s={};for(const e in t)s[e]=t[e];var c;0===Object.keys(s).length&&((c=u).badInput=!1,c.customError=!1,c.patternMismatch=!1,c.rangeOverflow=!1,c.rangeUnderflow=!1,c.stepMismatch=!1,c.tooLong=!1,c.tooShort=!1,c.typeMismatch=!1,c.valid=!0,c.valueMissing=!1);const l=Object.assign(Object.assign({},u),s);delete l.valid;const{valid:f}=((t,e,r)=>(t.valid=D(e),Object.keys(e).forEach((r=>t[r]=e[r])),r&&k(r),t))(u,l,this.form);if(!f&&!n)throw new DOMException("Failed to execute 'setValidity' on 'ElementInternals': The second argument should not be empty if one or more flags in the first argument are true.");i.set(this,f?"":n),a.isConnected?(a.toggleAttribute("internals-invalid",!f),a.toggleAttribute("internals-valid",f),a.setAttribute("aria-invalid",`${!f}`)):y.set(a,this)}get shadowRoot(){const t=e.get(this),r=f.get(t);return r||null}get validationMessage(){const t=e.get(this);return C(t,"Failed to read the 'validationMessage' property from 'ElementInternals': The target element is not a form-associated custom element."),i.get(this)}get validity(){const t=e.get(this);C(t,"Failed to read the 'validity' property from 'ElementInternals': The target element is not a form-associated custom element.");return r.get(this)}get willValidate(){const t=e.get(this);return C(t,"Failed to read the 'willValidate' property from 'ElementInternals': The target element is not a form-associated custom element."),!(t.disabled||t.hasAttribute("disabled")||t.hasAttribute("readonly"))}}let K=!1,Y=!1;function X(t){Y||(Y=!0,window.CustomStateSet=q,t&&(HTMLElement.prototype.attachInternals=function(...e){const r=t.call(this,e);return r.states=new q(this),r}))}function J(t=!0){if(!K){if(K=!0,"undefined"!=typeof window&&(window.ElementInternals=z),"undefined"!=typeof CustomElementRegistry){const e=CustomElementRegistry.prototype.define;CustomElementRegistry.prototype.define=function(t,r,n){if(r.formAssociated){const t=r.prototype.connectedCallback;r.prototype.connectedCallback=function(){h.has(this)||(h.set(this,!0),this.hasAttribute("disabled")&&O(this,!0)),null!=t&&t.apply(this),F(this)}}e.call(this,t,r,n)}}if("undefined"!=typeof HTMLElement&&(HTMLElement.prototype.attachInternals=function(){if(!this.tagName)return{};if(-1===this.tagName.indexOf("-"))throw new Error("Failed to execute 'attachInternals' on 'HTMLElement': Unable to attach ElementInternals to non-custom elements.");if(o.has(this))throw new DOMException("DOMException: Failed to execute 'attachInternals' on 'HTMLElement': ElementInternals for the specified element was already attached.");return new z(this)}),"undefined"!=typeof Element){function r(...t){const e=n.apply(this,t);if(f.set(this,e),R()){const t=new MutationObserver(S);window.ShadyDOM?t.observe(this,A):t.observe(e,A),u.set(this,t)}return e}const n=Element.prototype.attachShadow;Element.prototype.attachShadow=r}if(R()&&"undefined"!=typeof document){new MutationObserver(S).observe(document.documentElement,A)}"undefined"!=typeof HTMLFormElement&&function(){const t=HTMLFormElement.prototype.checkValidity;HTMLFormElement.prototype.checkValidity=function(...e){let r=t.apply(this,e);return L(this,r,"checkValidity")};const e=HTMLFormElement.prototype.reportValidity;HTMLFormElement.prototype.reportValidity=function(...t){let r=e.apply(this,t);return L(this,r,"reportValidity")};const{get:r}=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get(...t){const e=r.call(this,...t),n=Array.from(s.get(this)||[]);if(0===n.length)return e;const o=Array.from(e).concat(n).sort(((t,e)=>t.compareDocumentPosition?2&t.compareDocumentPosition(e)?1:-1:0));return new U(o)}})}(),(t||"undefined"!=typeof window&&!window.CustomStateSet)&&X()}}!!customElements.polyfillWrapFlushCallback||(!function(){if("undefined"==typeof window||!window.ElementInternals||!HTMLElement.prototype.attachInternals)return!1;class t extends HTMLElement{constructor(){super(),this.internals=this.attachInternals()}}const e=`element-internals-feature-detection-${Math.random().toString(36).replace(/[^a-z]+/g,"")}`;customElements.define(e,t);const r=new t;return["shadowRoot","form","willValidate","validity","validationMessage","labels","setFormValue","setValidity","checkValidity","reportValidity"].every((t=>t in r.internals))}()?J(!1):"undefined"==typeof window||window.CustomStateSet||X(HTMLElement.prototype.attachInternals)),t.forceCustomStateSetPolyfill=X,t.forceElementInternalsPolyfill=J,Object.defineProperty(t,"__esModule",{value:!0})}({})},523:(t,e,r)=>{"use strict";r.r(e),r.d(e,{VERSION:()=>o,after:()=>Ce,all:()=>tr,allKeys:()=>mt,any:()=>er,assign:()=>Ct,before:()=>Le,bind:()=>Ee,bindAll:()=>je,chain:()=>be,chunk:()=>Rr,clone:()=>Vt,collect:()=>Ye,compact:()=>xr,compose:()=>_e,constant:()=>Z,contains:()=>rr,countBy:()=>hr,create:()=>Rt,debounce:()=>Pe,default:()=>qr,defaults:()=>Lt,defer:()=>ke,delay:()=>Me,detect:()=>Ue,difference:()=>kr,drop:()=>Or,each:()=>Ke,escape:()=>ae,every:()=>tr,extend:()=>_t,extendOwn:()=>Ct,filter:()=>Ze,find:()=>Ue,findIndex:()=>De,findKey:()=>Re,findLastIndex:()=>We,findWhere:()=>ze,first:()=>Ar,flatten:()=>Mr,foldl:()=>Je,foldr:()=>Qe,forEach:()=>Ke,functions:()=>Tt,get:()=>$t,groupBy:()=>dr,has:()=>Ht,head:()=>Ar,identity:()=>Ut,include:()=>rr,includes:()=>rr,indexBy:()=>pr,indexOf:()=>$e,initial:()=>Er,inject:()=>Je,intersection:()=>Ir,invert:()=>Pt,invoke:()=>nr,isArguments:()=>X,isArray:()=>z,isArrayBuffer:()=>R,isBoolean:()=>k,isDataView:()=>U,isDate:()=>_,isElement:()=>N,isEmpty:()=>st,isEqual:()=>yt,isError:()=>L,isFinite:()=>J,isFunction:()=>W,isMap:()=>Ot,isMatch:()=>ct,isNaN:()=>Q,isNull:()=>x,isNumber:()=>I,isObject:()=>j,isRegExp:()=>C,isSet:()=>xt,isString:()=>T,isSymbol:()=>F,isTypedArray:()=>ot,isUndefined:()=>M,isWeakMap:()=>jt,isWeakSet:()=>Mt,iteratee:()=>Jt,keys:()=>ut,last:()=>jr,lastIndexOf:()=>He,map:()=>Ye,mapObject:()=>Zt,matcher:()=>zt,matches:()=>zt,max:()=>ar,memoize:()=>xe,methods:()=>Tt,min:()=>ur,mixin:()=>Dr,negate:()=>Ie,noop:()=>Gt,now:()=>ne,object:()=>Lr,omit:()=>Sr,once:()=>Fe,pairs:()=>Nt,partial:()=>Se,partition:()=>yr,pick:()=>wr,pluck:()=>or,property:()=>Kt,propertyOf:()=>te,random:()=>re,range:()=>Fr,reduce:()=>Je,reduceRight:()=>Qe,reject:()=>Ge,rest:()=>Or,restArguments:()=>O,result:()=>ye,sample:()=>sr,select:()=>Ze,shuffle:()=>cr,size:()=>br,some:()=>er,sortBy:()=>lr,sortedIndex:()=>Be,tail:()=>Or,take:()=>Ar,tap:()=>Dt,template:()=>he,templateSettings:()=>se,throttle:()=>Ne,times:()=>ee,toArray:()=>vr,toPath:()=>Wt,transpose:()=>_r,unescape:()=>ue,union:()=>Tr,uniq:()=>Pr,unique:()=>Pr,uniqueId:()=>ve,unzip:()=>_r,values:()=>kt,where:()=>ir,without:()=>Nr,wrap:()=>Te,zip:()=>Cr});var n={};r.r(n),r.d(n,{VERSION:()=>o,after:()=>Ce,all:()=>tr,allKeys:()=>mt,any:()=>er,assign:()=>Ct,before:()=>Le,bind:()=>Ee,bindAll:()=>je,chain:()=>be,chunk:()=>Rr,clone:()=>Vt,collect:()=>Ye,compact:()=>xr,compose:()=>_e,constant:()=>Z,contains:()=>rr,countBy:()=>hr,create:()=>Rt,debounce:()=>Pe,default:()=>Wr,defaults:()=>Lt,defer:()=>ke,delay:()=>Me,detect:()=>Ue,difference:()=>kr,drop:()=>Or,each:()=>Ke,escape:()=>ae,every:()=>tr,extend:()=>_t,extendOwn:()=>Ct,filter:()=>Ze,find:()=>Ue,findIndex:()=>De,findKey:()=>Re,findLastIndex:()=>We,findWhere:()=>ze,first:()=>Ar,flatten:()=>Mr,foldl:()=>Je,foldr:()=>Qe,forEach:()=>Ke,functions:()=>Tt,get:()=>$t,groupBy:()=>dr,has:()=>Ht,head:()=>Ar,identity:()=>Ut,include:()=>rr,includes:()=>rr,indexBy:()=>pr,indexOf:()=>$e,initial:()=>Er,inject:()=>Je,intersection:()=>Ir,invert:()=>Pt,invoke:()=>nr,isArguments:()=>X,isArray:()=>z,isArrayBuffer:()=>R,isBoolean:()=>k,isDataView:()=>U,isDate:()=>_,isElement:()=>N,isEmpty:()=>st,isEqual:()=>yt,isError:()=>L,isFinite:()=>J,isFunction:()=>W,isMap:()=>Ot,isMatch:()=>ct,isNaN:()=>Q,isNull:()=>x,isNumber:()=>I,isObject:()=>j,isRegExp:()=>C,isSet:()=>xt,isString:()=>T,isSymbol:()=>F,isTypedArray:()=>ot,isUndefined:()=>M,isWeakMap:()=>jt,isWeakSet:()=>Mt,iteratee:()=>Jt,keys:()=>ut,last:()=>jr,lastIndexOf:()=>He,map:()=>Ye,mapObject:()=>Zt,matcher:()=>zt,matches:()=>zt,max:()=>ar,memoize:()=>xe,methods:()=>Tt,min:()=>ur,mixin:()=>Dr,negate:()=>Ie,noop:()=>Gt,now:()=>ne,object:()=>Lr,omit:()=>Sr,once:()=>Fe,pairs:()=>Nt,partial:()=>Se,partition:()=>yr,pick:()=>wr,pluck:()=>or,property:()=>Kt,propertyOf:()=>te,random:()=>re,range:()=>Fr,reduce:()=>Je,reduceRight:()=>Qe,reject:()=>Ge,rest:()=>Or,restArguments:()=>O,result:()=>ye,sample:()=>sr,select:()=>Ze,shuffle:()=>cr,size:()=>br,some:()=>er,sortBy:()=>lr,sortedIndex:()=>Be,tail:()=>Or,take:()=>Ar,tap:()=>Dt,template:()=>he,templateSettings:()=>se,throttle:()=>Ne,times:()=>ee,toArray:()=>vr,toPath:()=>Wt,transpose:()=>_r,unescape:()=>ue,union:()=>Tr,uniq:()=>Pr,unique:()=>Pr,uniqueId:()=>ve,unzip:()=>_r,values:()=>kt,where:()=>ir,without:()=>Nr,wrap:()=>Te,zip:()=>Cr});var o="1.13.1",i="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},a=Array.prototype,u=Object.prototype,s="undefined"!=typeof Symbol?Symbol.prototype:null,c=a.push,l=a.slice,f=u.toString,d=u.hasOwnProperty,p="undefined"!=typeof ArrayBuffer,h="undefined"!=typeof DataView,y=Array.isArray,m=Object.keys,v=Object.create,b=p&&ArrayBuffer.isView,g=isNaN,w=isFinite,S=!{toString:null}.propertyIsEnumerable("toString"),E=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],A=Math.pow(2,53)-1;function O(t,e){return e=null==e?t.length-1:+e,function(){for(var r=Math.max(arguments.length-e,0),n=Array(r),o=0;o<r;o++)n[o]=arguments[o+e];switch(e){case 0:return t.call(this,n);case 1:return t.call(this,arguments[0],n);case 2:return t.call(this,arguments[0],arguments[1],n)}var i=Array(e+1);for(o=0;o<e;o++)i[o]=arguments[o];return i[e]=n,t.apply(this,i)}}function j(t){var e=typeof t;return"function"===e||"object"===e&&!!t}function x(t){return null===t}function M(t){return void 0===t}function k(t){return!0===t||!1===t||"[object Boolean]"===f.call(t)}function N(t){return!(!t||1!==t.nodeType)}function P(t){var e="[object "+t+"]";return function(t){return f.call(t)===e}}const T=P("String"),I=P("Number"),_=P("Date"),C=P("RegExp"),L=P("Error"),F=P("Symbol"),R=P("ArrayBuffer");var V=P("Function"),D=i.document&&i.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof D&&(V=function(t){return"function"==typeof t||!1});const W=V,B=P("Object");var q=h&&B(new DataView(new ArrayBuffer(8))),$="undefined"!=typeof Map&&B(new Map),H=P("DataView");const U=q?function(t){return null!=t&&W(t.getInt8)&&R(t.buffer)}:H,z=y||P("Array");function K(t,e){return null!=t&&d.call(t,e)}var Y=P("Arguments");!function(){Y(arguments)||(Y=function(t){return K(t,"callee")})}();const X=Y;function J(t){return!F(t)&&w(t)&&!isNaN(parseFloat(t))}function Q(t){return I(t)&&g(t)}function Z(t){return function(){return t}}function G(t){return function(e){var r=t(e);return"number"==typeof r&&r>=0&&r<=A}}function tt(t){return function(e){return null==e?void 0:e[t]}}const et=tt("byteLength"),rt=G(et);var nt=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;const ot=p?function(t){return b?b(t)&&!U(t):rt(t)&&nt.test(f.call(t))}:Z(!1),it=tt("length");function at(t,e){e=function(t){for(var e={},r=t.length,n=0;n<r;++n)e[t[n]]=!0;return{contains:function(t){return e[t]},push:function(r){return e[r]=!0,t.push(r)}}}(e);var r=E.length,n=t.constructor,o=W(n)&&n.prototype||u,i="constructor";for(K(t,i)&&!e.contains(i)&&e.push(i);r--;)(i=E[r])in t&&t[i]!==o[i]&&!e.contains(i)&&e.push(i)}function ut(t){if(!j(t))return[];if(m)return m(t);var e=[];for(var r in t)K(t,r)&&e.push(r);return S&&at(t,e),e}function st(t){if(null==t)return!0;var e=it(t);return"number"==typeof e&&(z(t)||T(t)||X(t))?0===e:0===it(ut(t))}function ct(t,e){var r=ut(e),n=r.length;if(null==t)return!n;for(var o=Object(t),i=0;i<n;i++){var a=r[i];if(e[a]!==o[a]||!(a in o))return!1}return!0}function lt(t){return t instanceof lt?t:this instanceof lt?void(this._wrapped=t):new lt(t)}function ft(t){return new Uint8Array(t.buffer||t,t.byteOffset||0,et(t))}lt.VERSION=o,lt.prototype.value=function(){return this._wrapped},lt.prototype.valueOf=lt.prototype.toJSON=lt.prototype.value,lt.prototype.toString=function(){return String(this._wrapped)};var dt="[object DataView]";function pt(t,e,r,n){if(t===e)return 0!==t||1/t==1/e;if(null==t||null==e)return!1;if(t!=t)return e!=e;var o=typeof t;return("function"===o||"object"===o||"object"==typeof e)&&ht(t,e,r,n)}function ht(t,e,r,n){t instanceof lt&&(t=t._wrapped),e instanceof lt&&(e=e._wrapped);var o=f.call(t);if(o!==f.call(e))return!1;if(q&&"[object Object]"==o&&U(t)){if(!U(e))return!1;o=dt}switch(o){case"[object RegExp]":case"[object String]":return""+t==""+e;case"[object Number]":return+t!=+t?+e!=+e:0==+t?1/+t==1/e:+t==+e;case"[object Date]":case"[object Boolean]":return+t==+e;case"[object Symbol]":return s.valueOf.call(t)===s.valueOf.call(e);case"[object ArrayBuffer]":case dt:return ht(ft(t),ft(e),r,n)}var i="[object Array]"===o;if(!i&&ot(t)){if(et(t)!==et(e))return!1;if(t.buffer===e.buffer&&t.byteOffset===e.byteOffset)return!0;i=!0}if(!i){if("object"!=typeof t||"object"!=typeof e)return!1;var a=t.constructor,u=e.constructor;if(a!==u&&!(W(a)&&a instanceof a&&W(u)&&u instanceof u)&&"constructor"in t&&"constructor"in e)return!1}n=n||[];for(var c=(r=r||[]).length;c--;)if(r[c]===t)return n[c]===e;if(r.push(t),n.push(e),i){if((c=t.length)!==e.length)return!1;for(;c--;)if(!pt(t[c],e[c],r,n))return!1}else{var l,d=ut(t);if(c=d.length,ut(e).length!==c)return!1;for(;c--;)if(!K(e,l=d[c])||!pt(t[l],e[l],r,n))return!1}return r.pop(),n.pop(),!0}function yt(t,e){return pt(t,e)}function mt(t){if(!j(t))return[];var e=[];for(var r in t)e.push(r);return S&&at(t,e),e}function vt(t){var e=it(t);return function(r){if(null==r)return!1;var n=mt(r);if(it(n))return!1;for(var o=0;o<e;o++)if(!W(r[t[o]]))return!1;return t!==Et||!W(r[bt])}}var bt="forEach",gt=["clear","delete"],wt=["get","has","set"],St=gt.concat(bt,wt),Et=gt.concat(wt),At=["add"].concat(gt,bt,"has");const Ot=$?vt(St):P("Map"),jt=$?vt(Et):P("WeakMap"),xt=$?vt(At):P("Set"),Mt=P("WeakSet");function kt(t){for(var e=ut(t),r=e.length,n=Array(r),o=0;o<r;o++)n[o]=t[e[o]];return n}function Nt(t){for(var e=ut(t),r=e.length,n=Array(r),o=0;o<r;o++)n[o]=[e[o],t[e[o]]];return n}function Pt(t){for(var e={},r=ut(t),n=0,o=r.length;n<o;n++)e[t[r[n]]]=r[n];return e}function Tt(t){var e=[];for(var r in t)W(t[r])&&e.push(r);return e.sort()}function It(t,e){return function(r){var n=arguments.length;if(e&&(r=Object(r)),n<2||null==r)return r;for(var o=1;o<n;o++)for(var i=arguments[o],a=t(i),u=a.length,s=0;s<u;s++){var c=a[s];e&&void 0!==r[c]||(r[c]=i[c])}return r}}const _t=It(mt),Ct=It(ut),Lt=It(mt,!0);function Ft(t){if(!j(t))return{};if(v)return v(t);var e=function(){};e.prototype=t;var r=new e;return e.prototype=null,r}function Rt(t,e){var r=Ft(t);return e&&Ct(r,e),r}function Vt(t){return j(t)?z(t)?t.slice():_t({},t):t}function Dt(t,e){return e(t),t}function Wt(t){return z(t)?t:[t]}function Bt(t){return lt.toPath(t)}function qt(t,e){for(var r=e.length,n=0;n<r;n++){if(null==t)return;t=t[e[n]]}return r?t:void 0}function $t(t,e,r){var n=qt(t,Bt(e));return M(n)?r:n}function Ht(t,e){for(var r=(e=Bt(e)).length,n=0;n<r;n++){var o=e[n];if(!K(t,o))return!1;t=t[o]}return!!r}function Ut(t){return t}function zt(t){return t=Ct({},t),function(e){return ct(e,t)}}function Kt(t){return t=Bt(t),function(e){return qt(e,t)}}function Yt(t,e,r){if(void 0===e)return t;switch(null==r?3:r){case 1:return function(r){return t.call(e,r)};case 3:return function(r,n,o){return t.call(e,r,n,o)};case 4:return function(r,n,o,i){return t.call(e,r,n,o,i)}}return function(){return t.apply(e,arguments)}}function Xt(t,e,r){return null==t?Ut:W(t)?Yt(t,e,r):j(t)&&!z(t)?zt(t):Kt(t)}function Jt(t,e){return Xt(t,e,1/0)}function Qt(t,e,r){return lt.iteratee!==Jt?lt.iteratee(t,e):Xt(t,e,r)}function Zt(t,e,r){e=Qt(e,r);for(var n=ut(t),o=n.length,i={},a=0;a<o;a++){var u=n[a];i[u]=e(t[u],u,t)}return i}function Gt(){}function te(t){return null==t?Gt:function(e){return $t(t,e)}}function ee(t,e,r){var n=Array(Math.max(0,t));e=Yt(e,r,1);for(var o=0;o<t;o++)n[o]=e(o);return n}function re(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))}lt.toPath=Wt,lt.iteratee=Jt;const ne=Date.now||function(){return(new Date).getTime()};function oe(t){var e=function(e){return t[e]},r="(?:"+ut(t).join("|")+")",n=RegExp(r),o=RegExp(r,"g");return function(t){return t=null==t?"":""+t,n.test(t)?t.replace(o,e):t}}const ie={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},ae=oe(ie),ue=oe(Pt(ie)),se=lt.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var ce=/(.)^/,le={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},fe=/\\|'|\r|\n|\u2028|\u2029/g;function de(t){return"\\"+le[t]}var pe=/^\s*(\w|\$)+\s*$/;function he(t,e,r){!e&&r&&(e=r),e=Lt({},e,lt.templateSettings);var n=RegExp([(e.escape||ce).source,(e.interpolate||ce).source,(e.evaluate||ce).source].join("|")+"|$","g"),o=0,i="__p+='";t.replace(n,(function(e,r,n,a,u){return i+=t.slice(o,u).replace(fe,de),o=u+e.length,r?i+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":n?i+="'+\n((__t=("+n+"))==null?'':__t)+\n'":a&&(i+="';\n"+a+"\n__p+='"),e})),i+="';\n";var a,u=e.variable;if(u){if(!pe.test(u))throw new Error("variable is not a bare identifier: "+u)}else i="with(obj||{}){\n"+i+"}\n",u="obj";i="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+i+"return __p;\n";try{a=new Function(u,"_",i)}catch(t){throw t.source=i,t}var s=function(t){return a.call(this,t,lt)};return s.source="function("+u+"){\n"+i+"}",s}function ye(t,e,r){var n=(e=Bt(e)).length;if(!n)return W(r)?r.call(t):r;for(var o=0;o<n;o++){var i=null==t?void 0:t[e[o]];void 0===i&&(i=r,o=n),t=W(i)?i.call(t):i}return t}var me=0;function ve(t){var e=++me+"";return t?t+e:e}function be(t){var e=lt(t);return e._chain=!0,e}function ge(t,e,r,n,o){if(!(n instanceof e))return t.apply(r,o);var i=Ft(t.prototype),a=t.apply(i,o);return j(a)?a:i}var we=O((function(t,e){var r=we.placeholder,n=function(){for(var o=0,i=e.length,a=Array(i),u=0;u<i;u++)a[u]=e[u]===r?arguments[o++]:e[u];for(;o<arguments.length;)a.push(arguments[o++]);return ge(t,n,this,this,a)};return n}));we.placeholder=lt;const Se=we,Ee=O((function(t,e,r){if(!W(t))throw new TypeError("Bind must be called on a function");var n=O((function(o){return ge(t,n,e,this,r.concat(o))}));return n})),Ae=G(it);function Oe(t,e,r,n){if(n=n||[],e||0===e){if(e<=0)return n.concat(t)}else e=1/0;for(var o=n.length,i=0,a=it(t);i<a;i++){var u=t[i];if(Ae(u)&&(z(u)||X(u)))if(e>1)Oe(u,e-1,r,n),o=n.length;else for(var s=0,c=u.length;s<c;)n[o++]=u[s++];else r||(n[o++]=u)}return n}const je=O((function(t,e){var r=(e=Oe(e,!1,!1)).length;if(r<1)throw new Error("bindAll must be passed function names");for(;r--;){var n=e[r];t[n]=Ee(t[n],t)}return t}));function xe(t,e){var r=function(n){var o=r.cache,i=""+(e?e.apply(this,arguments):n);return K(o,i)||(o[i]=t.apply(this,arguments)),o[i]};return r.cache={},r}const Me=O((function(t,e,r){return setTimeout((function(){return t.apply(null,r)}),e)})),ke=Se(Me,lt,1);function Ne(t,e,r){var n,o,i,a,u=0;r||(r={});var s=function(){u=!1===r.leading?0:ne(),n=null,a=t.apply(o,i),n||(o=i=null)},c=function(){var c=ne();u||!1!==r.leading||(u=c);var l=e-(c-u);return o=this,i=arguments,l<=0||l>e?(n&&(clearTimeout(n),n=null),u=c,a=t.apply(o,i),n||(o=i=null)):n||!1===r.trailing||(n=setTimeout(s,l)),a};return c.cancel=function(){clearTimeout(n),u=0,n=o=i=null},c}function Pe(t,e,r){var n,o,i,a,u,s=function(){var c=ne()-o;e>c?n=setTimeout(s,e-c):(n=null,r||(a=t.apply(u,i)),n||(i=u=null))},c=O((function(c){return u=this,i=c,o=ne(),n||(n=setTimeout(s,e),r&&(a=t.apply(u,i))),a}));return c.cancel=function(){clearTimeout(n),n=i=u=null},c}function Te(t,e){return Se(e,t)}function Ie(t){return function(){return!t.apply(this,arguments)}}function _e(){var t=arguments,e=t.length-1;return function(){for(var r=e,n=t[e].apply(this,arguments);r--;)n=t[r].call(this,n);return n}}function Ce(t,e){return function(){if(--t<1)return e.apply(this,arguments)}}function Le(t,e){var r;return function(){return--t>0&&(r=e.apply(this,arguments)),t<=1&&(e=null),r}}const Fe=Se(Le,2);function Re(t,e,r){e=Qt(e,r);for(var n,o=ut(t),i=0,a=o.length;i<a;i++)if(e(t[n=o[i]],n,t))return n}function Ve(t){return function(e,r,n){r=Qt(r,n);for(var o=it(e),i=t>0?0:o-1;i>=0&&i<o;i+=t)if(r(e[i],i,e))return i;return-1}}const De=Ve(1),We=Ve(-1);function Be(t,e,r,n){for(var o=(r=Qt(r,n,1))(e),i=0,a=it(t);i<a;){var u=Math.floor((i+a)/2);r(t[u])<o?i=u+1:a=u}return i}function qe(t,e,r){return function(n,o,i){var a=0,u=it(n);if("number"==typeof i)t>0?a=i>=0?i:Math.max(i+u,a):u=i>=0?Math.min(i+1,u):i+u+1;else if(r&&i&&u)return n[i=r(n,o)]===o?i:-1;if(o!=o)return(i=e(l.call(n,a,u),Q))>=0?i+a:-1;for(i=t>0?a:u-1;i>=0&&i<u;i+=t)if(n[i]===o)return i;return-1}}const $e=qe(1,De,Be),He=qe(-1,We);function Ue(t,e,r){var n=(Ae(t)?De:Re)(t,e,r);if(void 0!==n&&-1!==n)return t[n]}function ze(t,e){return Ue(t,zt(e))}function Ke(t,e,r){var n,o;if(e=Yt(e,r),Ae(t))for(n=0,o=t.length;n<o;n++)e(t[n],n,t);else{var i=ut(t);for(n=0,o=i.length;n<o;n++)e(t[i[n]],i[n],t)}return t}function Ye(t,e,r){e=Qt(e,r);for(var n=!Ae(t)&&ut(t),o=(n||t).length,i=Array(o),a=0;a<o;a++){var u=n?n[a]:a;i[a]=e(t[u],u,t)}return i}function Xe(t){return function(e,r,n,o){var i=arguments.length>=3;return function(e,r,n,o){var i=!Ae(e)&&ut(e),a=(i||e).length,u=t>0?0:a-1;for(o||(n=e[i?i[u]:u],u+=t);u>=0&&u<a;u+=t){var s=i?i[u]:u;n=r(n,e[s],s,e)}return n}(e,Yt(r,o,4),n,i)}}const Je=Xe(1),Qe=Xe(-1);function Ze(t,e,r){var n=[];return e=Qt(e,r),Ke(t,(function(t,r,o){e(t,r,o)&&n.push(t)})),n}function Ge(t,e,r){return Ze(t,Ie(Qt(e)),r)}function tr(t,e,r){e=Qt(e,r);for(var n=!Ae(t)&&ut(t),o=(n||t).length,i=0;i<o;i++){var a=n?n[i]:i;if(!e(t[a],a,t))return!1}return!0}function er(t,e,r){e=Qt(e,r);for(var n=!Ae(t)&&ut(t),o=(n||t).length,i=0;i<o;i++){var a=n?n[i]:i;if(e(t[a],a,t))return!0}return!1}function rr(t,e,r,n){return Ae(t)||(t=kt(t)),("number"!=typeof r||n)&&(r=0),$e(t,e,r)>=0}const nr=O((function(t,e,r){var n,o;return W(e)?o=e:(e=Bt(e),n=e.slice(0,-1),e=e[e.length-1]),Ye(t,(function(t){var i=o;if(!i){if(n&&n.length&&(t=qt(t,n)),null==t)return;i=t[e]}return null==i?i:i.apply(t,r)}))}));function or(t,e){return Ye(t,Kt(e))}function ir(t,e){return Ze(t,zt(e))}function ar(t,e,r){var n,o,i=-1/0,a=-1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var u=0,s=(t=Ae(t)?t:kt(t)).length;u<s;u++)null!=(n=t[u])&&n>i&&(i=n);else e=Qt(e,r),Ke(t,(function(t,r,n){((o=e(t,r,n))>a||o===-1/0&&i===-1/0)&&(i=t,a=o)}));return i}function ur(t,e,r){var n,o,i=1/0,a=1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var u=0,s=(t=Ae(t)?t:kt(t)).length;u<s;u++)null!=(n=t[u])&&n<i&&(i=n);else e=Qt(e,r),Ke(t,(function(t,r,n){((o=e(t,r,n))<a||o===1/0&&i===1/0)&&(i=t,a=o)}));return i}function sr(t,e,r){if(null==e||r)return Ae(t)||(t=kt(t)),t[re(t.length-1)];var n=Ae(t)?Vt(t):kt(t),o=it(n);e=Math.max(Math.min(e,o),0);for(var i=o-1,a=0;a<e;a++){var u=re(a,i),s=n[a];n[a]=n[u],n[u]=s}return n.slice(0,e)}function cr(t){return sr(t,1/0)}function lr(t,e,r){var n=0;return e=Qt(e,r),or(Ye(t,(function(t,r,o){return{value:t,index:n++,criteria:e(t,r,o)}})).sort((function(t,e){var r=t.criteria,n=e.criteria;if(r!==n){if(r>n||void 0===r)return 1;if(r<n||void 0===n)return-1}return t.index-e.index})),"value")}function fr(t,e){return function(r,n,o){var i=e?[[],[]]:{};return n=Qt(n,o),Ke(r,(function(e,o){var a=n(e,o,r);t(i,e,a)})),i}}const dr=fr((function(t,e,r){K(t,r)?t[r].push(e):t[r]=[e]})),pr=fr((function(t,e,r){t[r]=e})),hr=fr((function(t,e,r){K(t,r)?t[r]++:t[r]=1})),yr=fr((function(t,e,r){t[r?0:1].push(e)}),!0);var mr=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function vr(t){return t?z(t)?l.call(t):T(t)?t.match(mr):Ae(t)?Ye(t,Ut):kt(t):[]}function br(t){return null==t?0:Ae(t)?t.length:ut(t).length}function gr(t,e,r){return e in r}const wr=O((function(t,e){var r={},n=e[0];if(null==t)return r;W(n)?(e.length>1&&(n=Yt(n,e[1])),e=mt(t)):(n=gr,e=Oe(e,!1,!1),t=Object(t));for(var o=0,i=e.length;o<i;o++){var a=e[o],u=t[a];n(u,a,t)&&(r[a]=u)}return r})),Sr=O((function(t,e){var r,n=e[0];return W(n)?(n=Ie(n),e.length>1&&(r=e[1])):(e=Ye(Oe(e,!1,!1),String),n=function(t,r){return!rr(e,r)}),wr(t,n,r)}));function Er(t,e,r){return l.call(t,0,Math.max(0,t.length-(null==e||r?1:e)))}function Ar(t,e,r){return null==t||t.length<1?null==e||r?void 0:[]:null==e||r?t[0]:Er(t,t.length-e)}function Or(t,e,r){return l.call(t,null==e||r?1:e)}function jr(t,e,r){return null==t||t.length<1?null==e||r?void 0:[]:null==e||r?t[t.length-1]:Or(t,Math.max(0,t.length-e))}function xr(t){return Ze(t,Boolean)}function Mr(t,e){return Oe(t,e,!1)}const kr=O((function(t,e){return e=Oe(e,!0,!0),Ze(t,(function(t){return!rr(e,t)}))})),Nr=O((function(t,e){return kr(t,e)}));function Pr(t,e,r,n){k(e)||(n=r,r=e,e=!1),null!=r&&(r=Qt(r,n));for(var o=[],i=[],a=0,u=it(t);a<u;a++){var s=t[a],c=r?r(s,a,t):s;e&&!r?(a&&i===c||o.push(s),i=c):r?rr(i,c)||(i.push(c),o.push(s)):rr(o,s)||o.push(s)}return o}const Tr=O((function(t){return Pr(Oe(t,!0,!0))}));function Ir(t){for(var e=[],r=arguments.length,n=0,o=it(t);n<o;n++){var i=t[n];if(!rr(e,i)){var a;for(a=1;a<r&&rr(arguments[a],i);a++);a===r&&e.push(i)}}return e}function _r(t){for(var e=t&&ar(t,it).length||0,r=Array(e),n=0;n<e;n++)r[n]=or(t,n);return r}const Cr=O(_r);function Lr(t,e){for(var r={},n=0,o=it(t);n<o;n++)e?r[t[n]]=e[n]:r[t[n][0]]=t[n][1];return r}function Fr(t,e,r){null==e&&(e=t||0,t=0),r||(r=e<t?-1:1);for(var n=Math.max(Math.ceil((e-t)/r),0),o=Array(n),i=0;i<n;i++,t+=r)o[i]=t;return o}function Rr(t,e){if(null==e||e<1)return[];for(var r=[],n=0,o=t.length;n<o;)r.push(l.call(t,n,n+=e));return r}function Vr(t,e){return t._chain?lt(e).chain():e}function Dr(t){return Ke(Tt(t),(function(e){var r=lt[e]=t[e];lt.prototype[e]=function(){var t=[this._wrapped];return c.apply(t,arguments),Vr(this,r.apply(lt,t))}})),lt}Ke(["pop","push","reverse","shift","sort","splice","unshift"],(function(t){var e=a[t];lt.prototype[t]=function(){var r=this._wrapped;return null!=r&&(e.apply(r,arguments),"shift"!==t&&"splice"!==t||0!==r.length||delete r[0]),Vr(this,r)}})),Ke(["concat","join","slice"],(function(t){var e=a[t];lt.prototype[t]=function(){var t=this._wrapped;return null!=t&&(t=e.apply(t,arguments)),Vr(this,t)}}));const Wr=lt;var Br=Dr(n);Br._=Br;const qr=Br}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n].call(i.exports,i,i.exports,r),i.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r(484),r(523),r(650);r(318)})();
|