lwc 2.10.0 → 2.11.0
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/dist/engine-dom/esm/es2017/engine-dom.js +4261 -5855
- package/dist/engine-dom/iife/es2017/engine-dom.js +4261 -5855
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +3244 -4594
- package/dist/engine-dom/iife/es5/engine-dom.js +50 -63
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +45 -40
- package/dist/engine-dom/umd/es2017/engine-dom.js +4261 -5855
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +3244 -4594
- package/dist/engine-dom/umd/es5/engine-dom.js +50 -63
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +45 -40
- package/dist/engine-server/commonjs/es2017/engine-server.js +4041 -5380
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +4041 -5380
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +2952 -3673
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +2952 -3673
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +2825 -3532
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +11 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +11 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +2952 -3673
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +2825 -3532
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +11 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +11 -3
- package/dist/wire-service/esm/es2017/wire-service.js +128 -174
- package/dist/wire-service/iife/es2017/wire-service.js +128 -174
- package/dist/wire-service/iife/es2017/wire-service_debug.js +128 -174
- package/dist/wire-service/iife/es5/wire-service.js +2 -2
- package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service.js +128 -174
- package/dist/wire-service/umd/es2017/wire-service_debug.js +128 -174
- package/dist/wire-service/umd/es5/wire-service.js +2 -2
- package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
- package/package.json +7 -7
|
@@ -363,9 +363,9 @@
|
|
|
363
363
|
*/
|
|
364
364
|
// Increment whenever the LWC template compiler changes
|
|
365
365
|
|
|
366
|
-
var LWC_VERSION = "2.
|
|
366
|
+
var LWC_VERSION = "2.11.0";
|
|
367
367
|
var LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
368
|
-
/** version: 2.
|
|
368
|
+
/** version: 2.11.0 */
|
|
369
369
|
|
|
370
370
|
/*
|
|
371
371
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -468,12 +468,12 @@
|
|
|
468
468
|
|
|
469
469
|
|
|
470
470
|
var features = {
|
|
471
|
-
DISABLE_MIXED_SHADOW_MODE: null,
|
|
472
471
|
ENABLE_ELEMENT_PATCH: null,
|
|
473
472
|
ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST: null,
|
|
474
473
|
ENABLE_HMR: null,
|
|
475
474
|
ENABLE_HTML_COLLECTIONS_PATCH: null,
|
|
476
475
|
ENABLE_INNER_OUTER_TEXT_PATCH: null,
|
|
476
|
+
ENABLE_MIXED_SHADOW_MODE: null,
|
|
477
477
|
ENABLE_NODE_LIST_PATCH: null,
|
|
478
478
|
ENABLE_NODE_PATCH: null,
|
|
479
479
|
ENABLE_REACTIVE_SETTER: null,
|
|
@@ -543,7 +543,7 @@
|
|
|
543
543
|
setFeatureFlag(name, value);
|
|
544
544
|
}
|
|
545
545
|
}
|
|
546
|
-
/** version: 2.
|
|
546
|
+
/** version: 2.11.0 */
|
|
547
547
|
|
|
548
548
|
/* proxy-compat-disable */
|
|
549
549
|
|
|
@@ -1166,6 +1166,7 @@
|
|
|
1166
1166
|
* SPDX-License-Identifier: MIT
|
|
1167
1167
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
1168
1168
|
*/
|
|
1169
|
+
// These properties get added to LWCElement.prototype publicProps automatically
|
|
1169
1170
|
|
|
1170
1171
|
var defaultDefHTMLPropertyNames = ['accessKey', 'dir', 'draggable', 'hidden', 'id', 'lang', 'spellcheck', 'tabIndex', 'title'];
|
|
1171
1172
|
|
|
@@ -3473,13 +3474,6 @@
|
|
|
3473
3474
|
}
|
|
3474
3475
|
}
|
|
3475
3476
|
}
|
|
3476
|
-
/*
|
|
3477
|
-
* Copyright (c) 2018, salesforce.com, inc.
|
|
3478
|
-
* All rights reserved.
|
|
3479
|
-
* SPDX-License-Identifier: MIT
|
|
3480
|
-
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
3481
|
-
*/
|
|
3482
|
-
|
|
3483
3477
|
|
|
3484
3478
|
var signedTemplateSet = new Set();
|
|
3485
3479
|
|
|
@@ -3492,26 +3486,6 @@
|
|
|
3492
3486
|
function isTemplateRegistered(tpl) {
|
|
3493
3487
|
return signedTemplateSet.has(tpl);
|
|
3494
3488
|
}
|
|
3495
|
-
|
|
3496
|
-
function checkTemplateVersionMismatch(template) {
|
|
3497
|
-
checkVersionMismatch(template, 'template');
|
|
3498
|
-
|
|
3499
|
-
if (!isUndefined$1(template.stylesheets)) {
|
|
3500
|
-
var _iterator3 = _createForOfIteratorHelper(flattenStylesheets(template.stylesheets)),
|
|
3501
|
-
_step3;
|
|
3502
|
-
|
|
3503
|
-
try {
|
|
3504
|
-
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
3505
|
-
var stylesheet = _step3.value;
|
|
3506
|
-
checkVersionMismatch(stylesheet, 'stylesheet');
|
|
3507
|
-
}
|
|
3508
|
-
} catch (err) {
|
|
3509
|
-
_iterator3.e(err);
|
|
3510
|
-
} finally {
|
|
3511
|
-
_iterator3.f();
|
|
3512
|
-
}
|
|
3513
|
-
}
|
|
3514
|
-
}
|
|
3515
3489
|
/**
|
|
3516
3490
|
* INTERNAL: This function can only be invoked by compiled code. The compiler
|
|
3517
3491
|
* will prevent this function from being imported by userland code.
|
|
@@ -3520,7 +3494,7 @@
|
|
|
3520
3494
|
|
|
3521
3495
|
function registerTemplate(tpl) {
|
|
3522
3496
|
if (process.env.NODE_ENV !== 'production') {
|
|
3523
|
-
|
|
3497
|
+
checkVersionMismatch(tpl, 'template');
|
|
3524
3498
|
}
|
|
3525
3499
|
|
|
3526
3500
|
signedTemplateSet.add(tpl); // chaining this method as a way to wrap existing
|
|
@@ -3545,6 +3519,7 @@
|
|
|
3545
3519
|
* SPDX-License-Identifier: MIT
|
|
3546
3520
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
3547
3521
|
*/
|
|
3522
|
+
// A bridge descriptor is a descriptor whose job is just to get the component instance
|
|
3548
3523
|
// from the element instance, and get the value or set a new value on the component.
|
|
3549
3524
|
// This means that across different elements, similar names can get the exact same
|
|
3550
3525
|
// descriptor, so we can cache them:
|
|
@@ -4529,6 +4504,7 @@
|
|
|
4529
4504
|
* SPDX-License-Identifier: MIT
|
|
4530
4505
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
4531
4506
|
*/
|
|
4507
|
+
// The style property is a string when defined via an expression in the template.
|
|
4532
4508
|
|
|
4533
4509
|
|
|
4534
4510
|
function patchStyleAttribute(oldVnode, vnode) {
|
|
@@ -4573,6 +4549,7 @@
|
|
|
4573
4549
|
* SPDX-License-Identifier: MIT
|
|
4574
4550
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
4575
4551
|
*/
|
|
4552
|
+
// The HTML class property becomes the vnode.data.classMap object when defined as a string in the template.
|
|
4576
4553
|
// The compiler takes care of transforming the inline classnames into an object. It's faster to set the
|
|
4577
4554
|
// different classnames properties individually instead of via a string.
|
|
4578
4555
|
|
|
@@ -4597,6 +4574,7 @@
|
|
|
4597
4574
|
* SPDX-License-Identifier: MIT
|
|
4598
4575
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
4599
4576
|
*/
|
|
4577
|
+
// The HTML style property becomes the vnode.data.styleDecls object when defined as a string in the template.
|
|
4600
4578
|
// The compiler takes care of transforming the inline style into an object. It's faster to set the
|
|
4601
4579
|
// different style properties individually instead of via a string.
|
|
4602
4580
|
|
|
@@ -5915,9 +5893,11 @@
|
|
|
5915
5893
|
ArrayPush$1.apply(content, evaluateStylesheetsContent(stylesheet, stylesheetToken, vm));
|
|
5916
5894
|
} else {
|
|
5917
5895
|
if (process.env.NODE_ENV !== 'production') {
|
|
5918
|
-
//
|
|
5896
|
+
// Check for compiler version mismatch in dev mode only
|
|
5897
|
+
checkVersionMismatch(stylesheet, 'stylesheet'); // in dev-mode, we support hot swapping of stylesheet, which means that
|
|
5919
5898
|
// the component instance might be attempting to use an old version of
|
|
5920
5899
|
// the stylesheet, while internally, we have a replacement for it.
|
|
5900
|
+
|
|
5921
5901
|
stylesheet = getStyleOrSwappedStyle(stylesheet);
|
|
5922
5902
|
}
|
|
5923
5903
|
|
|
@@ -7101,34 +7081,38 @@
|
|
|
7101
7081
|
/* Native */
|
|
7102
7082
|
;
|
|
7103
7083
|
} else if (isNativeShadowDefined$1) {
|
|
7104
|
-
|
|
7105
|
-
|
|
7106
|
-
|
|
7107
|
-
|
|
7108
|
-
|
|
7109
|
-
/* Any */
|
|
7110
|
-
) {
|
|
7111
|
-
shadowMode = 0
|
|
7112
|
-
/* Native */
|
|
7113
|
-
;
|
|
7114
|
-
} else {
|
|
7115
|
-
var shadowAncestor = getNearestShadowAncestor(vm);
|
|
7116
|
-
|
|
7117
|
-
if (!isNull(shadowAncestor) && shadowAncestor.shadowMode === 0
|
|
7118
|
-
/* Native */
|
|
7084
|
+
// Not combined with above condition because @lwc/features only supports identifiers in
|
|
7085
|
+
// the if-condition.
|
|
7086
|
+
if (runtimeFlags.ENABLE_MIXED_SHADOW_MODE) {
|
|
7087
|
+
if (def.shadowSupportMode === "any"
|
|
7088
|
+
/* Any */
|
|
7119
7089
|
) {
|
|
7120
|
-
// Transitive support for native Shadow DOM. A component in native mode
|
|
7121
|
-
// transitively opts all of its descendants into native.
|
|
7122
7090
|
shadowMode = 0
|
|
7123
7091
|
/* Native */
|
|
7124
7092
|
;
|
|
7125
7093
|
} else {
|
|
7126
|
-
|
|
7127
|
-
|
|
7128
|
-
shadowMode
|
|
7129
|
-
/*
|
|
7130
|
-
|
|
7094
|
+
var shadowAncestor = getNearestShadowAncestor(vm);
|
|
7095
|
+
|
|
7096
|
+
if (!isNull(shadowAncestor) && shadowAncestor.shadowMode === 0
|
|
7097
|
+
/* Native */
|
|
7098
|
+
) {
|
|
7099
|
+
// Transitive support for native Shadow DOM. A component in native mode
|
|
7100
|
+
// transitively opts all of its descendants into native.
|
|
7101
|
+
shadowMode = 0
|
|
7102
|
+
/* Native */
|
|
7103
|
+
;
|
|
7104
|
+
} else {
|
|
7105
|
+
// Synthetic if neither this component nor any of its ancestors are configured
|
|
7106
|
+
// to be native.
|
|
7107
|
+
shadowMode = 1
|
|
7108
|
+
/* Synthetic */
|
|
7109
|
+
;
|
|
7110
|
+
}
|
|
7131
7111
|
}
|
|
7112
|
+
} else {
|
|
7113
|
+
shadowMode = 1
|
|
7114
|
+
/* Synthetic */
|
|
7115
|
+
;
|
|
7132
7116
|
}
|
|
7133
7117
|
} else {
|
|
7134
7118
|
// Synthetic if there is no native Shadow DOM support.
|
|
@@ -7841,6 +7825,7 @@
|
|
|
7841
7825
|
* SPDX-License-Identifier: MIT
|
|
7842
7826
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
7843
7827
|
*/
|
|
7828
|
+
// this is lwc internal implementation
|
|
7844
7829
|
|
|
7845
7830
|
|
|
7846
7831
|
function createContextProvider(adapter) {
|
|
@@ -7921,7 +7906,7 @@
|
|
|
7921
7906
|
hooksAreSet = true;
|
|
7922
7907
|
setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
|
|
7923
7908
|
}
|
|
7924
|
-
/* version: 2.
|
|
7909
|
+
/* version: 2.11.0 */
|
|
7925
7910
|
|
|
7926
7911
|
/*
|
|
7927
7912
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -7951,7 +7936,7 @@
|
|
|
7951
7936
|
var supportsMutableAdoptedStyleSheets = supportsConstructableStyleSheets && getOwnPropertyDescriptor$1(document.adoptedStyleSheets, 'length').writable;
|
|
7952
7937
|
var styleElements = create(null);
|
|
7953
7938
|
var styleSheets = create(null);
|
|
7954
|
-
var
|
|
7939
|
+
var shadowRootsToStyleSheets = new WeakMap();
|
|
7955
7940
|
var getCustomElement;
|
|
7956
7941
|
var defineCustomElement;
|
|
7957
7942
|
var HTMLElementConstructor;
|
|
@@ -8003,24 +7988,26 @@
|
|
|
8003
7988
|
styleSheets[content] = styleSheet;
|
|
8004
7989
|
}
|
|
8005
7990
|
|
|
8006
|
-
|
|
7991
|
+
var adoptedStyleSheets = target.adoptedStyleSheets;
|
|
7992
|
+
|
|
7993
|
+
if (!adoptedStyleSheets.includes(styleSheet)) {
|
|
8007
7994
|
if (supportsMutableAdoptedStyleSheets) {
|
|
8008
7995
|
// This is only supported in later versions of Chromium:
|
|
8009
7996
|
// https://chromestatus.com/feature/5638996492288000
|
|
8010
|
-
|
|
7997
|
+
adoptedStyleSheets.push(styleSheet);
|
|
8011
7998
|
} else {
|
|
8012
|
-
target.adoptedStyleSheets = [].concat(_toConsumableArray(
|
|
7999
|
+
target.adoptedStyleSheets = [].concat(_toConsumableArray(adoptedStyleSheets), [styleSheet]);
|
|
8013
8000
|
}
|
|
8014
8001
|
}
|
|
8015
8002
|
}
|
|
8016
8003
|
|
|
8017
8004
|
function insertStyleElement(content, target) {
|
|
8018
8005
|
// Avoid inserting duplicate `<style>`s
|
|
8019
|
-
var sheets =
|
|
8006
|
+
var sheets = shadowRootsToStyleSheets.get(target);
|
|
8020
8007
|
|
|
8021
8008
|
if (isUndefined$1(sheets)) {
|
|
8022
8009
|
sheets = create(null);
|
|
8023
|
-
|
|
8010
|
+
shadowRootsToStyleSheets.set(target, sheets);
|
|
8024
8011
|
}
|
|
8025
8012
|
|
|
8026
8013
|
if (sheets[content]) {
|
|
@@ -8697,7 +8684,7 @@
|
|
|
8697
8684
|
});
|
|
8698
8685
|
freeze(LightningElement);
|
|
8699
8686
|
seal(LightningElement.prototype);
|
|
8700
|
-
/* version: 2.
|
|
8687
|
+
/* version: 2.11.0 */
|
|
8701
8688
|
|
|
8702
8689
|
exports.LightningElement = LightningElement;
|
|
8703
8690
|
exports.__unstable__ProfilerControl = profilerControl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).LWC={})}(this,(function(e){"use strict";function t(e){var r="function"==typeof Map?new Map:void 0;return t=function(e){if(null===e||(t=e,-1===Function.toString.call(t).indexOf("[native code]")))return e;var t;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,o)}function o(){return n(e,arguments,d(this).constructor)}return o.prototype=Object.create(e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),l(o,e)},t(e)}function n(e,t,r){return n=f()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&l(o,n.prototype),o},n.apply(null,arguments)}function r(){return r="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=o(e,t);if(r){var a=Object.getOwnPropertyDescriptor(r,t);return a.get?a.get.call(arguments.length<3?e:n):a.value}},r.apply(this,arguments)}function o(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=d(e)););return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}function l(e,t){return l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},l(e,t)}function c(e){var t=f();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(e,t){if(t&&("object"===b(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return s(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function m(e){return function(e){if(Array.isArray(e))return w(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||g(e)||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 y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||g(e,t)||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 g(e,t){if(e){if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function b(e){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b(e)}var k=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error("Invariant Violation: ".concat(t))},isTrue:function(e,t){if(!e)throw new Error("Assert Violation: ".concat(t))},isFalse:function(e,t){if(e)throw new Error("Assert Violation: ".concat(t))},fail:function(e){throw new Error(e)}}),C=Object.assign,E=Object.create,M=Object.defineProperties,S=Object.defineProperty,O=Object.freeze,T=Object.getOwnPropertyDescriptor,x=Object.getOwnPropertyNames,A=Object.getPrototypeOf,P=Object.hasOwnProperty,N=Object.isFrozen,j=Object.keys,R=Object.seal,_=Object.setPrototypeOf,L=Array.isArray,D=Array.prototype,I=D.indexOf,H=D.join,F=D.map,W=D.push,B=D.slice,$=D.splice,V=D.unshift,K=D.forEach,G=String.fromCharCode,U=String.prototype,z=U.charCodeAt,q=U.replace,X=U.slice,Y=U.toLowerCase;function J(e){return void 0===e}function Q(e){return null===e}function Z(e){return!0===e}function ee(e){return!1===e}function te(e){return"function"==typeof e}function ne(e){return"object"===b(e)}function re(e){return"string"==typeof e}function oe(){}var ae={}.toString;function ie(e){return e&&e.toString?L(e)?H.call(F.call(e,ie),","):e.toString():"object"===b(e)?ae.call(e):e+""}function le(e,t){do{var n=T(e,t);if(!J(n))return n;e=A(e)}while(null!==e)}var ce=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],ue=function(){var e=E(null),t=E(null);return K.call(ce,(function(n){var r=Y.call(q.call(n,/^aria/,(function(){return"aria-"})));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}}(),se=ue.AriaPropNameToAttrNameMap,fe=function(){if("object"===("undefined"==typeof globalThis?"undefined":b(globalThis)))return globalThis;var e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),de=new Map([["accessKey","accesskey"],["readOnly","readonly"],["tabIndex","tabindex"],["bgColor","bgcolor"],["colSpan","colspan"],["rowSpan","rowspan"],["contentEditable","contenteditable"],["crossOrigin","crossorigin"],["dateTime","datetime"],["formAction","formaction"],["isMap","ismap"],["maxLength","maxlength"],["minLength","minlength"],["noValidate","novalidate"],["useMap","usemap"],["htmlFor","for"]]),ve=new Map;function he(e){var t=se[e];if(!J(t))return t;var n=de.get(e);if(!J(n))return n;var r=ve.get(e);if(!J(r))return r;for(var o="",a=0,i=e.length;a<i;a++){var l=z.call(e,a);o+=l>=65&&l<=90?"-"+G(l+32):G(l)}return ve.set(e,o),o}var pe="http://www.w3.org/2000/svg";function me(e){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,e)}var ye=new WeakMap;function ge(e){var t=ye.get(e);return void 0===t&&(t={},ye.set(e,t)),t}function we(e,t){return{get:function(){var n=ge(this);return P.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set:function(n){var r,o=null==(r=n)?null:String(r);ge(this)[e]=o,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function be(e){var t=we(e,se[e]);Object.defineProperty(Element.prototype,e,t)}for(var ke=j(se),Ce=0,Ee=ke.length;Ce<Ee;Ce+=1){var Me=ke[Ce];me(Me)&&be(Me)}var Se={DISABLE_MIXED_SHADOW_MODE:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HMR:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null};fe.lwcRuntimeFlags||Object.defineProperty(fe,"lwcRuntimeFlags",{value:E(null)});var Oe=fe.lwcRuntimeFlags;var Te,xe,Ae,Pe,Ne,je,Re,_e,Le,De,Ie,He,Fe,We,Be,$e,Ve,Ke,Ge,Ue,ze,qe,Xe,Ye,Je,Qe,Ze,et,tt,nt,rt,ot,at,it,lt,ct,ut,st,ft,dt=[],vt=R(E(null)),ht=R([]);function pt(){var e=dt;dt=[];for(var t=0,n=e.length;t<n;t+=1)e[t]()}function mt(e){0===dt.length&&Promise.resolve().then(pt),W.call(dt,e)}function yt(e,t){for(var n={},r=0,o=Object.keys(e);r<o.length;r++){var a=o[r];a!==t&&(n[a]=e[a])}return n}var gt=new WeakMap;var wt=null;function bt(e,t){var n=gt.get(e);if(!J(n)){var r=n[t];if(!J(r))for(var o=0,a=r.length;o<a;o+=1){r[o].notify()}}}function kt(e,t){if(null!==wt){var n=wt,r=function(e){var t=gt.get(e);if(J(t)){var n=E(null);t=n,gt.set(e,n)}return t}(e),o=r[t];if(J(o))o=[],r[t]=o;else if(o[0]===n)return;-1===I.call(o,n)&&n.link(o)}}var Ct=function(){function e(t){v(this,e),this.listeners=[],this.callback=t}return p(e,[{key:"observe",value:function(e){var t,n=wt;wt=this;try{e()}catch(e){t=Object(e)}finally{if(wt=n,void 0!==t)throw t}}},{key:"reset",value:function(){var e=this.listeners,t=e.length;if(t>0){for(var n=0;n<t;n+=1){var r=e[n],o=I.call(e[n],this);$.call(r,o,1)}e.length=0}}},{key:"notify",value:function(){this.callback.call(void 0,this)}},{key:"link",value:function(e){W.call(e,this),W.call(this.listeners,e)}}]),e}();function Et(e,t){bt(e.component,t)}function Mt(e,t){kt(e.component,t)}function St(e){return"<".concat(Y.call(e.tagName),">")}function Ot(e,t){if(!N(t)&&J(t.wcStack)){var n=function(e){for(var t=[],n=e;!Q(n);)W.call(t,St(n)),n=n.owner;return t.reverse().join("\n\t")}(e);S(t,"wcStack",{get:function(){return n}})}}function Tt(e,t,n){var r="[LWC ".concat(e,"]: ").concat(t);J(n)||(r="".concat(r,"\n").concat(function(e){for(var t=[],n="";!Q(e.owner);)W.call(t,n+St(e)),e=e.owner,n+="\t";return H.call(t,"\n")}(n)));try{throw new Error(r)}catch(t){console[e](t)}}var xt="undefined"!=typeof HTMLElement?HTMLElement:function(){},At=xt.prototype;function Pt(e){return"Using the `".concat(e,"` property is an anti-pattern because it rounds the value to an integer. Instead, use the `getBoundingClientRect` method to obtain fractional values for the size of an element and its position relative to the viewport.")}C(E(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:Pt("offsetHeight")},offsetLeft:{readOnly:!0,error:Pt("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Pt("offsetTop")},offsetWidth:{readOnly:!0,error:Pt("offsetWidth")},role:{attribute:"role"}});var Nt,jt=null;function Rt(e,t){return e!==jt||t!==Nt}function _t(e,t){jt=null,Nt=void 0}function Lt(e,t){jt=e,Nt=t}var Dt=E(null);K.call(j(se),(function(e){var t=le(At,e);J(t)||(Dt[e]=t)})),K.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(function(e){var t=le(At,e);J(t)||(Dt[e]=t)}));var It=Array.isArray,Ht=Object.prototype,Ft=Object.getPrototypeOf,Wt=Object.create,Bt=Object.defineProperty,$t=Object.isExtensible,Vt=Object.getOwnPropertyDescriptor,Kt=Object.getOwnPropertyNames,Gt=Object.getOwnPropertySymbols,Ut=Object.preventExtensions,zt=Object.hasOwnProperty,qt=Array.prototype,Xt=qt.push,Yt=qt.concat;function Jt(e){return void 0===e}function Qt(e){return"function"==typeof e}var Zt=new WeakMap;function en(e,t){Zt.set(e,t)}var tn=function(e){return Zt.get(e)||e},nn=function(){function e(t,n){v(this,e),this.originalTarget=n,this.membrane=t}return p(e,[{key:"wrapDescriptor",value:function(e){if(zt.call(e,"value"))e.value=this.wrapValue(e.value);else{var t=e.set,n=e.get;Jt(n)||(e.get=this.wrapGetter(n)),Jt(t)||(e.set=this.wrapSetter(t))}return e}},{key:"copyDescriptorIntoShadowTarget",value:function(e,t){var n=this.originalTarget,r=Vt(n,t);if(!Jt(r)){var o=this.wrapDescriptor(r);Bt(e,t,o)}}},{key:"lockShadowTarget",value:function(e){var t=this,n=this.originalTarget;Yt.call(Kt(n),Gt(n)).forEach((function(n){t.copyDescriptorIntoShadowTarget(e,n)}));var r=this.membrane.tagPropertyKey;Jt(r)||zt.call(e,r)||Bt(e,r,Wt(null)),Ut(e)}},{key:"apply",value:function(e,t,n){}},{key:"construct",value:function(e,t,n){}},{key:"get",value:function(e,t){var n=this.originalTarget,r=this.membrane.valueObserved,o=n[t];return r(n,t),this.wrapValue(o)}},{key:"has",value:function(e,t){var n=this.originalTarget,r=this.membrane,o=r.tagPropertyKey;return(0,r.valueObserved)(n,t),t in n||t===o}},{key:"ownKeys",value:function(e){var t=this.originalTarget,n=this.membrane.tagPropertyKey,r=Jt(n)||zt.call(t,n)?[]:[n];return Xt.apply(r,Kt(t)),Xt.apply(r,Gt(t)),r}},{key:"isExtensible",value:function(e){var t=this.originalTarget;return!!$t(e)&&(!!$t(t)||(this.lockShadowTarget(e),!1))}},{key:"getPrototypeOf",value:function(e){var t=this.originalTarget;return Ft(t)}},{key:"getOwnPropertyDescriptor",value:function(e,t){var n=this.originalTarget,r=this.membrane,o=r.valueObserved,a=r.tagPropertyKey;o(n,t);var i=Vt(n,t);if(Jt(i)){if(t!==a)return;return Bt(e,a,i={value:void 0,writable:!1,configurable:!1,enumerable:!1}),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}]),e}(),rn=new WeakMap,on=new WeakMap,an=new WeakMap,ln=new WeakMap,cn=function(e){i(n,e);var t=c(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n,[{key:"wrapValue",value:function(e){return this.membrane.getProxy(e)}},{key:"wrapGetter",value:function(e){var t=rn.get(e);if(!Jt(t))return t;var n=this,r=function(){return n.wrapValue(e.call(tn(this)))};return rn.set(e,r),an.set(r,e),r}},{key:"wrapSetter",value:function(e){var t=on.get(e);if(!Jt(t))return t;var n=function(t){e.call(tn(this),tn(t))};return on.set(e,n),ln.set(n,e),n}},{key:"unwrapDescriptor",value:function(e){if(zt.call(e,"value"))e.value=tn(e.value);else{var t=e.set,n=e.get;Jt(n)||(e.get=this.unwrapGetter(n)),Jt(t)||(e.set=this.unwrapSetter(t))}return e}},{key:"unwrapGetter",value:function(e){var t=an.get(e);if(!Jt(t))return t;var n=this,r=function(){return tn(e.call(n.wrapValue(this)))};return rn.set(r,e),an.set(e,r),r}},{key:"unwrapSetter",value:function(e){var t=ln.get(e);if(!Jt(t))return t;var n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return on.set(r,e),ln.set(e,r),r}},{key:"set",value:function(e,t,n){var r=this.originalTarget,o=this.membrane.valueMutated;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&It(r)&&o(r,t),!0}},{key:"deleteProperty",value:function(e,t){var n=this.originalTarget,r=this.membrane.valueMutated;return delete n[t],r(n,t),!0}},{key:"setPrototypeOf",value:function(e,t){}},{key:"preventExtensions",value:function(e){if($t(e)){var t=this.originalTarget;if(Ut(t),$t(t))return!1;this.lockShadowTarget(e)}return!0}},{key:"defineProperty",value:function(e,t,n){var r=this.originalTarget,o=this.membrane,a=o.valueMutated;return t===o.tagPropertyKey&&!zt.call(r,t)||(Bt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),a(r,t),!0)}}]),n}(nn),un=new WeakMap,sn=new WeakMap,fn=function(e){i(n,e);var t=c(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n,[{key:"wrapValue",value:function(e){return this.membrane.getReadOnlyProxy(e)}},{key:"wrapGetter",value:function(e){var t=un.get(e);if(!Jt(t))return t;var n=this,r=function(){return n.wrapValue(e.call(tn(this)))};return un.set(e,r),r}},{key:"wrapSetter",value:function(e){var t=sn.get(e);if(!Jt(t))return t;var n=function(e){};return sn.set(e,n),n}},{key:"set",value:function(e,t,n){return!1}},{key:"deleteProperty",value:function(e,t){return!1}},{key:"setPrototypeOf",value:function(e,t){}},{key:"preventExtensions",value:function(e){return!1}},{key:"defineProperty",value:function(e,t,n){return!1}}]),n}(nn);function dn(e){if(null===e)return!1;if("object"!==b(e))return!1;if(It(e))return!0;var t=Ft(e);return t===Ht||null===t||null===Ft(t)}var vn=function(e,t){},hn=function(e,t){};function pn(e){return It(e)?[]:{}}var mn=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};v(this,e),this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;var n=t.valueMutated,r=t.valueObserved,o=t.valueIsObservable,a=t.tagPropertyKey;this.valueMutated=Qt(n)?n:hn,this.valueObserved=Qt(r)?r:vn,this.valueIsObservable=Qt(o)?o:dn,this.tagPropertyKey=a}return p(e,[{key:"getProxy",value:function(e){var t=tn(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}},{key:"getReadOnlyProxy",value:function(e){return e=tn(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}},{key:"unwrapProxy",value:function(e){return tn(e)}},{key:"getReactiveHandler",value:function(e){var t=this.reactiveObjectGraph.get(e);if(Jt(t)){var n=new cn(this,e);en(t=new Proxy(pn(e),n),e),this.reactiveObjectGraph.set(e,t)}return t}},{key:"getReadOnlyHandler",value:function(e){var t=this.readOnlyObjectGraph.get(e);if(Jt(t)){var n=new fn(this,e);en(t=new Proxy(pn(e),n),e),this.readOnlyObjectGraph.set(e,t)}return t}}]),e}(),yn=Symbol.for("@@lockerLiveValue"),gn=new mn({valueObserved:kt,valueMutated:bt,tagPropertyKey:yn});function wn(e,t){var n=t.get,r=t.set,o=t.enumerable,a=t.configurable;if(!te(n))throw new TypeError;if(!te(r))throw new TypeError;return{enumerable:o,configurable:a,get:function(){var t=Po(this);if(!eo(t))return Mt(t,e),n.call(t.elm)},set:function(t){var n=Po(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,Et(n,e)),r.call(n.elm,t)}}}var bn=function(){if(Q(Zr))throw new ReferenceError("Illegal constructor");var e=Zr,t=e.def,n=e.elm,r=t.bridge,o=this;if(_(n,r.prototype),e.component=this,1===arguments.length){var a=arguments[0],i=a.callHook,l=a.setHook,c=a.getHook;e.callHook=i,e.setHook=l,e.getHook=c}return this[yn]=void 0,Ao(o,e),Ao(n,e),1===e.renderMode?e.renderRoot=kn(e):e.renderRoot=n,this};function kn(e){var t,n=e.elm,r=e.mode,o=e.shadowMode,i=e.def.ctor,l=He(n,(a(t={},"$$lwc-synthetic-mode",1===o),a(t,"delegatesFocus",Boolean(i.delegatesFocus)),a(t,"mode",r),t));return e.shadowRoot=l,Ao(l,e),l}bn.prototype={constructor:bn,dispatchEvent:function(e){var t=Po(this).elm;return ze(t,e)},addEventListener:function(e,t,n){var r=Po(this),o=r.elm,a=co(r,t);Ge(o,e,a,n)},removeEventListener:function(e,t,n){var r=Po(this),o=r.elm,a=co(r,t);Ue(o,e,a,n)},hasAttribute:function(e){var t=Po(this).elm;return!Q($e(t,e))},hasAttributeNS:function(e,t){var n=Po(this).elm;return!Q($e(n,t,e))},removeAttribute:function(e){var t=Po(this).elm;Lt(t,e),Ke(t,e),_t()},removeAttributeNS:function(e,t){var n=Po(this).elm;Lt(n,t),Ke(n,t,e),_t()},getAttribute:function(e){var t=Po(this).elm;return $e(t,e)},getAttributeNS:function(e,t){var n=Po(this).elm;return $e(n,t,e)},setAttribute:function(e,t){var n=Po(this).elm;Lt(n,e),Ve(n,e,t),_t()},setAttributeNS:function(e,t,n){var r=Po(this).elm;Lt(r,t),Ve(r,t,n,e),_t()},getBoundingClientRect:function(){var e=Po(this).elm;return Ye(e)},get isConnected(){var e=Po(this).elm;return lt(e)},get classList(){var e=Po(this).elm;return qe(e)},get template(){return Po(this).shadowRoot},get shadowRoot(){return null},render:function(){return Po(this).def.template},toString:function(){var e=Po(this);return"[object ".concat(e.def.name,"]")}};var Cn=E(null);for(var En=function(){var e=Sn[Mn];Cn[e]={get:function(){var t=Po(this).elm;return function(e){switch(e){case"children":return tt;case"childNodes":return nt;case"firstChild":return rt;case"firstElementChild":return ot;case"lastChild":return at;case"lastElementChild":return it}}(e)(t)},configurable:!0,enumerable:!0}},Mn=0,Sn=["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild"];Mn<Sn.length;Mn++)En();for(var On=function(){var e=xn[Tn];Cn[e]={value:function(t){var n=Po(this).elm;return function(e){switch(e){case"getElementsByClassName":return et;case"getElementsByTagName":return Ze;case"querySelector":return Je;case"querySelectorAll":return Qe}}(e)(n,t)},configurable:!0,enumerable:!0,writable:!0}},Tn=0,xn=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];Tn<xn.length;Tn++)On();M(bn.prototype,Cn);var An=E(null);for(var Pn in Dt)An[Pn]=wn(Pn,Dt[Pn]);function Nn(e){return{get:function(){var t=Po(this);return Mt(t,e),t.cmpFields[e]},set:function(t){var n=Po(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,Et(n,e))},enumerable:!0,configurable:!0}}function jn(e){return{get:function(){var t=Po(this);return Mt(t,e),t.cmpFields[e]},set:function(t){var n=Po(this),r=gn.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,Et(n,e))},enumerable:!0,configurable:!0}}function Rn(e){return{get:function(){var t=Po(this);if(!eo(t))return Mt(t,e),t.cmpProps[e]},set:function(t){var n=Po(this);n.cmpProps[e]=t,Et(n,e)},enumerable:!0,configurable:!0}}M(bn.prototype,An),S(bn,"CustomElementConstructor",{get:function(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});var _n=function(e){i(n,e);var t=c(n);function n(e,r){var o;return v(this,n),(o=t.call(this,(function(){ee(o.debouncing)&&(o.debouncing=!0,mt((function(){if(Z(o.debouncing)){var t=s(o).value,n=e.isDirty,a=e.component,i=e.idx;r.call(a,t),o.debouncing=!1,Z(e.isDirty)&&ee(n)&&i>0&&ko(e)}})))}))).debouncing=!1,o}return p(n,[{key:"reset",value:function(e){r(d(n.prototype),"reset",this).call(this),this.debouncing=!1,arguments.length>0&&(this.value=e)}}]),n}(Ct);function Ln(e,t){var n=t.get,r=t.set,o=t.enumerable,a=t.configurable;if(!te(n))throw new Error;return{get:function(){return n.call(this)},set:function(t){var n=this,o=Po(this);if(r)if(Oe.ENABLE_REACTIVE_SETTER){var a=o.oar[e];J(a)&&(a=o.oar[e]=new _n(o,r)),a.reset(t),a.observe((function(){r.call(n,t)}))}else r.call(this,t)},enumerable:o,configurable:a}}function Dn(e){return{get:function(){var t=Po(this);return Mt(t,e),t.cmpFields[e]},set:function(t){var n=Po(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,Et(n,e))},enumerable:!0,configurable:!0}}var In=new Map;var Hn={apiMethods:vt,apiFields:vt,apiFieldsConfig:vt,wiredMethods:vt,wiredFields:vt,observedFields:vt};var Fn=new Set;function Wn(){return[]}Fn.add(Wn);var Bn=E(null),$n=E(null);function Vn(e){var t=Bn[e];return J(t)&&(t=Bn[e]=function(){var t=Po(this);return(0,t.getHook)(t.component,e)}),t}function Kn(e){var t=$n[e];return J(t)&&(t=$n[e]=function(t){var n=Po(this),r=n.setHook;t=gn.getReadOnlyProxy(t),r(n.component,e,t)}),t}function Gn(e){return function(){var t=Po(this),n=t.callHook,r=t.component,o=r[e];return n(t.component,o,B.call(arguments))}}function Un(e,t){return function(n,r,o){if(r!==o){var a=e[n];J(a)?J(t)||t.apply(this,arguments):Rt(this,n)&&(this[a]=o)}}}function zn(e,t,n){var r;te(e)?r=function(e){i(n,e);var t=c(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n)}(e):(_(r=function(){throw new TypeError("Illegal constructor")},e),_(r.prototype,e.prototype),S(r.prototype,"constructor",{writable:!0,configurable:!0,value:r}));for(var o=E(null),a=e.prototype.attributeChangedCallback,l=e.observedAttributes,u=void 0===l?[]:l,s=E(null),f=0,d=t.length;f<d;f+=1){var h=t[f];o[he(h)]=h,s[h]={get:Vn(h),set:Kn(h),enumerable:!0,configurable:!0}}for(var y=0,g=n.length;y<g;y+=1){var w=n[y];s[w]={value:Gn(w),writable:!0,configurable:!0}}return s.attributeChangedCallback={value:Un(o,a)},S(r,"observedAttributes",{get:function(){return[].concat(m(u),m(j(o)))}}),M(r.prototype,s),r}var qn=zn(xt,x(Dt),[]);function Xn(e){var t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Yn(e){return te(e)&&P.call(e,"__circular__")}O(qn),R(qn.prototype);var Jn=new WeakMap;function Qn(e){var t=e.shadowSupportMode,n=e.renderMode,r=function(e){var t=In.get(e);return J(t)?Hn:t}(e),o=r.apiFields,a=r.apiFieldsConfig,i=r.apiMethods,l=r.wiredFields,c=r.wiredMethods,u=r.observedFields,s=e.prototype,f=s.connectedCallback,d=s.disconnectedCallback,v=s.renderedCallback,h=s.errorCallback,p=s.render,m=function(e){var t=A(e);if(Q(t))throw new ReferenceError("Invalid prototype chain for ".concat(e.name,", you must extend LightningElement."));if(Yn(t)){var n=Xn(t);t=n===t?bn:n}return t}(e),y=m!==bn?er(m):tr,g=zn(y.bridge,j(o),j(i)),w=C(E(null),y.props,o),b=C(E(null),y.propsConfig,a),k=C(E(null),y.methods,i),S=C(E(null),y.wire,l,c);f=f||y.connectedCallback,d=d||y.disconnectedCallback,v=v||y.renderedCallback,h=h||y.errorCallback,p=p||y.render;var O=y.shadowSupportMode;J(t)||(O=t);var T=y.renderMode;J(n)||(T="light"===n?0:1);var x=function(e){return ro.get(e)}(e)||y.template,P=e.name||y.name;return M(s,u),{ctor:e,name:P,wire:S,props:w,propsConfig:b,methods:k,bridge:g,template:x,renderMode:T,shadowSupportMode:O,connectedCallback:f,disconnectedCallback:d,renderedCallback:v,errorCallback:h,render:p}}function Zn(e){if(!te(e))return!1;if(e.prototype instanceof bn)return!0;var t=e;do{if(Yn(t)){var n=Xn(t);if(n===t)return!0;t=n}if(t===bn)return!0}while(!Q(t)&&(t=A(t)));return!1}function er(e){var t=Jn.get(e);if(J(t)){if(Yn(e))return t=er(Xn(e)),Jn.set(e,t),t;if(!Zn(e))throw new TypeError("".concat(e,' is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.'));t=Qn(e),Jn.set(e,t)}return t}var tr={ctor:bn,name:bn.name,props:An,propsConfig:vt,methods:vt,renderMode:1,shadowSupportMode:"reset",wire:vt,bridge:qn,template:Wn,render:bn.prototype.render};function nr(e){e=e.toLowerCase();var t=ft(e);return J(t)?(st(e,t=function(e){i(n,e);var t=c(n);function n(e){var r;return v(this,n),r=t.call(this),te(e)&&e(s(r)),r}return p(n)}(Pe)),t):t}function rr(e){var t=e.type;return 2===t||3===t}function or(e,t){return e.key===t.key&&e.sel===t.sel}function ar(e,t){return"input"===e&&("value"===t||"checked"===t)}function ir(e,t){var n=t.data.props;if(!J(n)){var r=Q(e)?vt:e.data.props;if(r!==n){var o=Q(e),a=t.elm,i=t.sel;for(var l in n){var c=n[l];(o||c!==(ar(i,l)?Fe(a,l):r[l]))&&We(a,l,c)}}}}var lr=E(null);function cr(e){if(null==e)return vt;e=re(e)?e:e+"";var t=lr[e];if(t)return t;t=E(null);var n,r=0,o=e.length;for(n=0;n<o;n++)32===z.call(e,n)&&(n>r&&(t[X.call(e,r,n)]=!0),r=n+1);return n>r&&(t[X.call(e,r,n)]=!0),lr[e]=t,t}function ur(e){var t=e.elm,n=e.data.on;if(!J(n))for(var r in n){var o=n[r];Ge(t,r,o)}}function sr(e,t,n){var r;r=t,Sr.has(r)?function(e,t,n){var r,o,a,i=0,l=0,c=e.length-1,u=e[0],s=e[c],f=t.length-1,d=f,v=t[0],h=t[d],p=!1;for(;i<=c&&l<=d;)mr(u)?mr(s)?mr(v)?mr(h)?or(u,v)?(fr(u,v),u=e[++i],v=t[++l]):or(s,h)?(fr(s,h),s=e[--c],h=t[--d]):or(u,h)?(fr(u,h),kr(u.elm,n,Ie(s.elm)),u=e[++i],h=t[--d]):or(s,v)?(fr(s,v),kr(v.elm,n,u.elm),s=e[--c],v=t[++l]):(void 0===r&&(r=Or(e,i,c)),J(o=r[v.key])?(dr(v,n,u.elm),v=t[++l]):(mr(a=e[o])&&(a.sel!==v.sel?dr(v,n,u.elm):(fr(a,v),p||(p=!0,e=m(e)),e[o]=void 0,kr(a.elm,n,u.elm))),v=t[++l])):h=t[--d]:v=t[++l]:s=e[--c]:u=e[++i];if(i<=c||l<=d)if(i>c){var y,g=d;do{y=t[++g]}while(!mr(y)&&g<f);vr(t,n,mr(y)?y.elm:null,l,d+1)}else pr(e,n,!0,i,c+1)}(e,t,n):function(e,t,n){var r=e.length,o=t.length;if(0===r)return void vr(t,n,null);if(0===o)return void pr(e,n,!0);for(var a=null,i=o-1;i>=0;i-=1){var l=e[i],c=t[i];c!==l&&(mr(l)?mr(c)?(fr(l,c),a=c.elm):hr(l,n,!0):mr(c)&&(dr(c,n,a),a=c.elm))}}(e,t,n)}function fr(e,t){if(e!==t)switch(t.type){case 0:case 1:!function(e,t){t.elm=e.elm,t.text!==e.text&&br(t)}(e,t);break;case 2:!function(e,t){var n=t.elm=e.elm;Er(e,t),sr(e.children,t.children,n)}(e,t);break;case 3:!function(e,t){var n=t.elm=e.elm,r=t.vm=e.vm;Er(e,t),J(r)||Mr(t,r);sr(e.children,t.children,n),J(r)||ko(r)}(e,t)}}function dr(e,t,n){switch(e.type){case 0:!function(e,t,n){var r=e.owner,o=e.elm=Le(e.text);wr(o,r),kr(o,t,n)}(e,t,n);break;case 1:!function(e,t,n){var r=e.owner,o=e.elm=De(e.text);wr(o,r),kr(o,t,n)}(e,t,n);break;case 2:!function(e,t,n){var r=e.sel,o=e.owner,a=Z(e.data.svg)?pe:void 0,i=_e(r,a);wr(i,o),function(e,t){var n=t.owner;if(gr(e,n),1===n.shadowMode){var r=t.data.context,o=n.context.stylesheetToken;J(r)||J(r.lwc)||"manual"!==r.lwc.dom||function(e){e.$domManual$=!0}(e),J(o)||yr(e,o)}}(i,e),e.elm=i,Er(null,e),kr(i,t,n),vr(e.children,i,null)}(e,t,n);break;case 3:!function(e,t,n){var r,o=e.sel,a=e.owner,i=nr(o),l=new i((function(t){r=function(e,t){var n=No(e);if(!J(n))return n;var r=t.sel,o=t.mode,a=t.ctor,i=t.owner;if(gr(e,i),1===i.shadowMode){var l=i.context.stylesheetToken;J(l)||yr(e,l)}return n=xo(e,a,{mode:o,owner:i,tagName:r})}(t,e)}));if(wr(l,a),e.elm=l,e.vm=r,r)Mr(e,r);else if(e.ctor!==i)throw new TypeError("Incorrect Component Constructor");Er(null,e),kr(l,t,n),r&&Do(r);vr(e.children,l,null),r&&function(e){jo(e)}(r)}(e,t,n)}}function vr(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:e.length;r<o;++r){var a=e[r];mr(a)&&dr(a,t,n)}}function hr(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.type,o=e.elm;switch(n&&Cr(o,t),r){case 2:pr(e.children,o);break;case 3:var a=e.vm;J(a)||To(a)}}function pr(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:e.length;r<o;++r){var a=e[r];mr(a)&&hr(a,t,n)}}function mr(e){return null!=e}function yr(e,t){e.$shadowToken$=t}function gr(e,t){var n=t.cmpTemplate,r=t.context,o=null==n?void 0:n.stylesheetToken;!J(o)&&r.hasScopedStyles&&qe(e).add(o)}function wr(e,t){var n=t.renderRoot,r=t.renderMode,o=t.shadowMode;Ae&&(1!==o&&0!==r||(e.$shadowResolver$=n.$shadowResolver$))}function br(e){var t=e.elm,n=e.text;Be(t,n)}function kr(e,t,n){je(e,t,n)}function Cr(e,t){Re(e,t)}function Er(e,t){Q(e)&&(ur(t),function(e){var t=e.elm,n=e.data.classMap;if(!J(n)){var r=qe(t);for(var o in n)r.add(o)}}(t),function(e){var t=e.elm,n=e.data.styleDecls;if(!J(n))for(var r=0;r<n.length;r++){var o=y(n[r],3),a=o[0],i=o[1],l=o[2];Xe(t,a,i,l)}}(t)),function(e,t){var n=t.elm,r=t.data.className,o=Q(e)?void 0:e.data.className;if(o!==r){var a,i=qe(n),l=cr(r),c=cr(o);for(a in c)J(l[a])&&i.remove(a);for(a in l)J(c[a])&&i.add(a)}}(e,t),function(e,t){var n=t.elm,r=t.data.style;(Q(e)?void 0:e.data.style)!==r&&(re(r)&&""!==r?Ve(n,"style",r):Ke(n,"style"))}(e,t),function(e,t){var n=t.data.attrs;if(!J(n)){var r=Q(e)?vt:e.data.attrs;if(r!==n){var o=t.elm;for(var a in n){var i=n[a];r[a]!==i&&(Lt(o,a),58===z.call(a,3)?Ve(o,a,i,"http://www.w3.org/XML/1998/namespace"):58===z.call(a,5)?Ve(o,a,i,"http://www.w3.org/1999/xlink"):Q(i)||J(i)?Ke(o,a):Ve(o,a,i),_t())}}}}(e,t),ir(e,t)}function Mr(e,t){var n=e.aChildren||e.children;t.aChildren=n;var r=t.renderMode;1!==t.shadowMode&&0!==r||(!function(e,t){for(var n,r=e.cmpSlots,o=e.cmpSlots=E(null),a=0,i=t.length;a<i;a+=1){var l=t[a];if(!Q(l)){var c="";rr(l)&&(c=(null===(n=l.data.attrs)||void 0===n?void 0:n.slot)||"");var u=o[c]=o[c]||[];J(l.key)||(l.key="@".concat(c,":").concat(l.key)),W.call(u,l)}}if(ee(e.isDirty)){var s=j(r);if(s.length!==j(o).length)return void io(e);for(var f=0,d=s.length;f<d;f+=1){var v=s[f];if(J(o[v])||r[v].length!==o[v].length)return void io(e);for(var h=r[v],p=o[v],m=0,y=o[v].length;m<y;m+=1)if(h[m]!==p[m])return void io(e)}}}(t,n),e.aChildren=n,e.children=ht)}var Sr=new WeakMap;function Or(e,t,n){for(var r={},o=t;o<=n;++o){var a=e[o];if(mr(a)){var i=a.key;void 0!==i&&(r[i]=o)}}return r}var Tr=Symbol.iterator;function xr(e){W.call(Yr().velements,e)}function Ar(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ht,o=Yr(),a=t.key;return{type:2,sel:e,data:t,children:r,elm:n,key:a,owner:o}}function Pr(e,t,n){var r,o,a,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ht,l=Yr(),c=n.key,u={type:3,sel:e,data:n,children:i,elm:r,key:c,ctor:t,owner:l,mode:"open",aChildren:o,vm:a};return xr(u),u}var Nr=new Map,jr=0;function Rr(e){var t;return t=e,Sr.set(t,1),e}var _r=function(){throw new Error("sanitizeHtmlContent hook must be implemented.")};var Lr=O({s:function(e,t,n,r){J(r)||J(r[e])||0===r[e].length||(n=r[e]);var o=Yr(),a=o.renderMode,i=o.shadowMode;return 0===a?(Rr(n),n):(1===i&&Rr(n),Ar("slot",t,n))},h:Ar,c:Pr,i:function(e,t){var n=[];if(Rr(n),J(e)||null===e)return n;for(var r=e[Tr](),o=r.next(),a=0,i=o,l=i.value,c=i.done;!1===c;){var u=t(l,a,0===a,!0===(c=(o=r.next()).done));L(u)?W.apply(n,u):W.call(n,u),a+=1,l=o.value}return n},f:function(e){var t=e.length,n=[];Rr(n);for(var r=0;r<t;r+=1){var o=e[r];L(o)?W.apply(n,o):W.call(n,o)}return n},t:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:Yr()}},d:function(e){return null==e?"":String(e)},b:function(e){var t=Yr();if(Q(t))throw new Error;var n=t;return function(t){no(n,e,n.component,t)}},k:function(e,t){switch(b(t)){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:undefined,owner:Yr()}},dc:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ht;if(null==t)return null;if(!Zn(t))throw new Error("Invalid LWC Constructor ".concat(ie(t)," for custom element <").concat(e,">."));var o=Nr.get(t);J(o)&&(o=jr++,Nr.set(t,o));var a=Object.assign(Object.assign({},n),{key:"dc:".concat(o,":").concat(n.key)});return Pr(e,t,a,r)},ti:function(e){return e>0&&!(Z(e)||ee(e))?0:e},gid:function(e){var t=Yr();if(J(e)||""===e)return e;if(Q(e))return null;var n=t.idx;return 1===t.shadowMode?q.call(e,/\S+/g,(function(e){return"".concat(e,"-").concat(n)})):e},fid:function(e){var t=Yr();if(J(e)||""===e)return e;if(Q(e))return null;var n=t.idx;return 1===t.shadowMode&&/^#/.test(e)?"".concat(e,"-").concat(n):e},shc:function(e){return _r(e)}});function Dr(e){return"".concat(e,"-host")}function Ir(e,t,n){for(var r,o=[],a=0;a<e.length;a++){var i=e[a];if(L(i))W.apply(o,Ir(i,t,n));else{var l=i.$scoped$,c=l||1===n.shadowMode&&1===n.renderMode?t:void 0,u=0===n.renderMode?!l:0===n.shadowMode,s=void 0;1===n.renderMode?s=0===n.shadowMode:(J(r)&&(r=Fr(n)),s=Q(r)||0===r.shadowMode),W.call(o,i(c,u,s))}}return o}function Hr(e,t){var n=t.stylesheets,r=t.stylesheetToken,o=[];return J(n)||0===n.length||(o=Ir(n,r,e)),o}function Fr(e){for(var t=e;!Q(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Wr(e,t){var n,r=e.renderMode,o=e.shadowMode;if(1===r&&1===o)for(var a=0;a<t.length;a++)ct(t[a]);else{if(Te||Ne()){var i=H.call(t,"\n");return n=i,Lr.h("style",{key:"style",attrs:{type:"text/css"}},[Lr.t(n)])}for(var l=function(e){var t=Fr(e);return Q(t)||1!==t.shadowMode?t:null}(e),c=Q(l),u=0;u<t.length;u++)c?ct(t[u]):ut(t[u],l.shadowRoot)}return null}var Br=!1,$r=oe,Vr={enableProfiler:function(){Br=!0},disableProfiler:function(){Br=!1},attachDispatcher:function(e){$r=e,this.enableProfiler()},detachDispatcher:function(){var e=$r;return $r=oe,this.disableProfiler(),e}};function Kr(e,t){Br&&$r(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Gr(e,t){Br&&$r(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Ur(e,t){Br&&$r(e,0,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}function zr(e,t){Br&&$r(e,1,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}var qr=!1,Xr=null;function Yr(){return Xr}function Jr(e){Xr=e}function Qr(e,t){var n=qr,r=Xr,o=[];return Bo(e,e.owner,(function(){Xr=e,Kr(1,e)}),(function(){var n=e.component,r=e.context,a=e.cmpSlots,i=e.cmpTemplate;e.tro.observe((function(){if(t!==i){if(Q(i)||Wo(e),c=t,!Fn.has(c))throw new TypeError("Invalid template returned by the render() method on ".concat(e,'. It must return an imported template (e.g.: `import html from "./').concat(e.def.name,'.html"`), instead, it has returned: ').concat(ie(t),"."));e.cmpTemplate=t,r.tplCache=E(null),r.hasScopedStyles=function(e){var t=e.stylesheets;if(!J(t))for(var n=0;n<t.length;n++)if(Z(t[n].$scoped$))return!0;return!1}(t),function(e,t){var n,r,o,a=e.elm,i=e.context,l=e.renderMode,c=e.shadowMode,u=t.stylesheets,s=t.stylesheetToken,f=1===l&&1===c,d=i.hasScopedStyles,v=i.stylesheetToken,h=i.hasTokenInClass,p=i.hasTokenInAttribute;J(v)||(h&&qe(a).remove(Dr(v)),p&&Ke(a,Dr(v))),J(u)||0===u.length||(n=s),J(n)||(d&&(qe(a).add(Dr(n)),r=!0),f&&(Ve(a,Dr(n),""),o=!0)),i.stylesheetToken=n,i.hasTokenInClass=r,i.hasTokenInAttribute=o}(e,t);var l=Hr(e,t);r.styleVNode=0===l.length?null:Wr(e,l)}var c;e.velements=[],qr=!0,o=t.call(void 0,Lr,n,a,r.tplCache);var u=r.styleVNode;Q(u)||V.call(o,u)}))}),(function(){qr=n,Xr=r,Gr(1,e)})),o}var Zr=null;function eo(e){return Zr===e}function to(e,t,n){var r=e.component,o=e.callHook;Bo(e,e.owner,oe,(function(){o(r,t,n)}),oe)}function no(e,t,n,r){var o=e.callHook;Bo(e,e.owner,oe,(function(){o(n,t,[r])}),oe)}var ro=new Map;function oo(e){return new Ct((function(){ee(e.isDirty)&&(io(e),function(e){if(Z(Te)||Z(e.isScheduled))return;e.isScheduled=!0,0===_o.length&&mt(Lo);W.call(_o,e)}(e))}))}function ao(e){e.tro.reset();var t=function(e){var t,n=e.def.render,r=e.callHook,o=e.component,a=e.owner,i=Yr(),l=!1;return Bo(e,a,(function(){Jr(e)}),(function(){e.tro.observe((function(){t=r(o,n),l=!0}))}),(function(){Jr(i)})),l?Qr(e,t):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function io(e){e.isDirty=!0}var lo=new WeakMap;function co(e,t){if(!te(t))throw new TypeError;var n=lo.get(t);return J(n)&&(n=function(n){no(e,t,void 0,n)},lo.set(t,n)),n}var uo=E(null),so=["rendered","connected","disconnected"];function fo(e,t){for(var n=e.component,r=e.def,o=e.context,a=0,i=t.length;a<i;++a)t[a].call(void 0,n,{},r,o)}function vo(e,t){switch(e.type){case 0:!function(e,t){var n;Be(t,null!==(n=e.text)&&void 0!==n?n:null),e.elm=t}(e,t);break;case 1:!function(e,t){var n;We(t,"nodeValue",null!==(n=e.text)&&void 0!==n?n:null),e.elm=t}(e,t);break;case 2:!function(e,t){var n=t;e.elm=n;var r=e.data.context,o=Boolean(!J(r)&&!J(r.lwc)&&"manual"===r.lwc.dom);if(o){var a=e.data.props;J(a)||J(a.innerHTML)||(Fe(n,"innerHTML")===a.innerHTML?e.data=Object.assign(Object.assign({},e.data),{props:yt(a,"innerHTML")}):(i="Mismatch hydrating element <".concat(Fe(n,"tagName").toLowerCase(),">: innerHTML values do not match for element, will recover from the difference"),l=e.owner,Tt("warn",i,l)))}var i,l;po(e),o||ho(nt(e.elm),e.children,e.owner)}(e,t);break;case 3:!function(e,t){var n=t,r=e.sel,o=e.mode,a=e.ctor,i=e.owner,l=xo(n,a,{mode:o,owner:i,tagName:r});e.elm=n,e.vm=l,Mr(e,l),po(e),Do(l),0!==l.renderMode&&ho(nt(e.elm),e.children);So(l)}(e,t)}}function ho(e,t,n){for(var r=0,o=0;o<t.length;o++){var a=t[o];if(!Q(a))vo(a,e[r]),r++}}function po(e){ur(e),ir(null,e)}var mo=0,yo=new WeakMap;function go(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t.apply(e,n)}function wo(e,t,n){e[t]=n}function bo(e,t){return e[t]}function ko(e){jo(e)}function Co(e){var t=Po(e);Ur(7,t),1===t.state&&Mo(e),Do(t),jo(t),zr(7,t)}function Eo(e){var t=Po(e);Do(t),So(t)}function Mo(e){Oo(Po(e))}function So(e){if(Z(e.isDirty)){var t=ao(e);e.children=t,ho(0===e.renderMode?nt(e.elm):nt(e.elm.shadowRoot),t),Ro(e)}}function Oo(e){if(2!==e.state){var t=e.oar,n=e.tro;for(var r in n.reset(),t)t[r].reset();!function(e){ee(e.isDirty)&&(e.isDirty=!0);e.state=2;var t=uo.disconnected;t&&fo(e,t);Io(e)&&function(e){var t=e.context.wiredDisconnecting;Bo(e,e,oe,(function(){for(var e=0,n=t.length;e<n;e+=1)t[e]()}),oe)}(e);var n=e.def.disconnectedCallback;J(n)||(Kr(5,e),to(e,n),Gr(5,e))}(e),Ho(e),function(e){Fo(e.aChildren)}(e)}}function To(e){Oo(e)}function xo(e,t,n){var r=n.mode,o=n.owner,a=n.tagName,i=er(t),l={elm:e,def:i,idx:mo++,state:0,isScheduled:!1,isDirty:!0,tagName:a,mode:r,owner:o,children:ht,aChildren:ht,velements:ht,cmpProps:E(null),cmpFields:E(null),cmpSlots:E(null),oar:E(null),cmpTemplate:null,renderMode:i.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:vt,wiredConnecting:ht,wiredDisconnecting:ht},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:go,setHook:wo,getHook:bo};return l.shadowMode=function(e){var t,n=e.def;if(Ae)if(0===n.renderMode)t=0;else if(xe)if(Oe.DISABLE_MIXED_SHADOW_MODE)t=1;else if("any"===n.shadowSupportMode)t=0;else{var r=function(e){for(var t=e.owner;!Q(t)&&0===t.renderMode;)t=t.owner;return t}(e);t=Q(r)||0!==r.shadowMode?1:0}else t=1;else t=0;return t}(l),l.tro=oo(l),function(e,t){var n,r=Zr;Kr(0,e),Zr=e;try{var o=new t;if(Zr.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){n=Object(e)}finally{if(Gr(0,e),Zr=r,!J(n))throw Ot(e,n),n}}(l,i.ctor),Io(l)&&function(e){var t=e.context,n=e.def.wire,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(var a in n){var i=n[a],l=$o.get(i);J(l)||function(){var t=Ko(e,a,l),n=t.connector,i=t.computeConfigAndUpdate,c=t.resetConfigWatcher,u=l.dynamic.length>0;W.call(r,(function(){n.connect(),Oe.ENABLE_WIRE_SYNC_EMIT||!u?i():Promise.resolve().then(i)})),W.call(o,(function(){n.disconnect(),c()}))}()}}(l),l}function Ao(e,t){yo.set(e,t)}function Po(e){return yo.get(e)}function No(e){return yo.get(e)}function jo(e){Z(e.isDirty)&&function(e,t){var n=e.renderRoot,r=e.children;e.children=t,(t.length>0||r.length>0)&&r!==t&&Bo(e,e,(function(){Kr(2,e)}),(function(){sr(r,t,n)}),(function(){Gr(2,e)}));1===e.state&&Ro(e)}(e,ao(e))}function Ro(e){var t=e.def.renderedCallback;if(!Z(Te)){var n=uo.rendered;n&&fo(e,n),J(t)||(Kr(4,e),to(e,t),Gr(4,e))}}var _o=[];function Lo(){Ur(8);var e=_o.sort((function(e,t){return e.idx-t.idx}));_o=[];for(var t=0,n=e.length;t<n;t+=1){var r=e[t];try{jo(r)}catch(r){throw t+1<n&&(0===_o.length&&mt(Lo),V.apply(_o,B.call(e,t+1))),zr(8),r}}zr(8)}function Do(e){if(1!==e.state){e.state=1;var t=uo.connected;t&&fo(e,t),Io(e)&&function(e){for(var t=e.context.wiredConnecting,n=0,r=t.length;n<r;n+=1)t[n]()}(e);var n=e.def.connectedCallback;J(n)||(Kr(3,e),to(e,n),Gr(3,e))}}function Io(e){return x(e.def.wire).length>0}function Ho(e){for(var t=e.velements,n=t.length-1;n>=0;n-=1){var r=t[n].elm;if(!J(r)){var o=No(r);J(o)||Oo(o)}}}function Fo(e){for(var t=0,n=e.length;t<n;t+=1){var r=e[t];if(!Q(r)&&!J(r.elm))switch(r.type){case 2:Fo(r.children);break;case 3:Oo(Po(r.elm))}}}function Wo(e){for(var t=e.children,n=e.renderRoot,r=0,o=t.length;r<o;r++){var a=t[r];Q(a)||J(a.elm)||Re(a.elm,n)}e.children=ht,Ho(e),e.velements=ht}function Bo(e,t,n,r,o){var a;n();try{r()}catch(e){a=Object(e)}finally{if(o(),!J(a)){Ot(e,a);var i=Q(t)?void 0:function(e){for(var t=e;!Q(t);){if(!J(t.def.errorCallback))return t;t=t.owner}}(t);if(J(i))throw a;Wo(e),Kr(6,e),to(i,i.def.errorCallback,[a,a.wcStack]),Gr(6,e)}}}var $o=new Map,Vo=function(e){i(n,e);var t=c(n);function n(e,r){var o,a=r.setNewContext,i=r.setDisconnectedCallback;return v(this,n),o=t.call(this,e,{bubbles:!0,composed:!0}),M(s(o),{setNewContext:{value:a},setDisconnectedCallback:{value:i}}),o}return p(n)}(t(CustomEvent));function Ko(e,t,n){var r,o,a=n.method,i=n.adapter,l=n.configCallback,c=n.dynamic,u=J(a)?function(e,t){var n=e.cmpFields;return function(r){r!==e.cmpFields[t]&&(n[t]=r,Et(e,t))}}(e,t):function(e,t){return function(n){Bo(e,e.owner,oe,(function(){t.call(e.component,n)}),oe)}}(e,a);S(u,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),S(u,"$$DeprecatedWiredParamsMetaKey$$",{value:c}),Bo(e,e,oe,(function(){o=new i(u)}),oe);var s=function(e,t,n){var r=!1,o=new Ct((function(){!1===r&&(r=!0,Promise.resolve().then((function(){r=!1,o.reset(),a()})))})),a=function(){var r;o.observe((function(){return r=t(e)})),n(r)};return{computeConfigAndUpdate:a,ro:o}}(e.component,l,(function(t){Bo(e,e,oe,(function(){o.update(t,r)}),oe)})),f=s.computeConfigAndUpdate,d=s.ro;return J(i.contextSchema)||function(e,t,n){var r=Uo(t.adapter);if(!J(r)){var o=e.elm,a=e.context,i=a.wiredConnecting,l=a.wiredDisconnecting;W.call(i,(function(){var e=new Vo(r,{setNewContext:function(e){n(e)},setDisconnectedCallback:function(e){W.call(l,e)}});ze(o,e)}))}}(e,n,(function(t){r!==t&&(r=t,1===e.state&&f())})),{connector:o,computeConfigAndUpdate:f,resetConfigWatcher:function(){return d.reset()}}}var Go=new Map;function Uo(e){return Go.get(e)}function zo(e,t,n,r){t.adapter&&(t=t.adapter);var o={adapter:t,method:e.value,configCallback:n,dynamic:r};$o.set(e,o)}function qo(e,t,n,r){t.adapter&&(t=t.adapter);var o={adapter:t,configCallback:n,dynamic:r};$o.set(e,o)}var Xo=!1;var Yo,Jo,Qo,Zo=E(null),ea=document.head||document.body||document,ta=te(CSSStyleSheet.prototype.replaceSync)&&L(document.adoptedStyleSheets),na=ta&&T(document.adoptedStyleSheets,"length").writable,ra=E(null),oa=E(null),aa=new WeakMap;if(function(){if("undefined"==typeof customElements)return!1;try{var e=function(e){i(n,e);var t=c(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n)}(HTMLElement);return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),e),new e,!0}catch(e){return!1}}())Yo=customElements.get.bind(customElements),Jo=customElements.define.bind(customElements),Qo=HTMLElement;else{var ia=E(null),la=new WeakMap;Jo=function(e,t){if(e!==Y.call(e)||ia[e])throw new TypeError("Invalid Registration");ia[e]=t,la.set(t,e)},Yo=function(e){return ia[e]},(Qo=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");var t=this.constructor,n=la.get(t);if(!n)throw new TypeError("Invalid Construction");var r=document.createElement(n);return _(r,t.prototype),r}).prototype=HTMLElement.prototype}var ca=!1;function ua(e){ca=e}var sa=fe.$isNativeShadowRootDefined$,fa=P.call(Element.prototype,"$shadowToken$");function da(e,t){if(e.shadowRoot)for(var n=e.shadowRoot;!Q(n.firstChild);)n.removeChild(n.firstChild);if("light"===t.renderMode)for(;!Q(e.firstChild);)e.removeChild(e.firstChild)}function va(e,t,n){xo(e,t,{mode:"open",owner:null,tagName:e.tagName.toLowerCase()});for(var r=0,o=Object.entries(n);r<o.length;r++){var a=y(o[r],2),i=a[0],l=a[1];e[i]=l}}function ha(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(e instanceof Element))throw new TypeError('"hydrateComponent" expects a valid DOM element as the first parameter but instead received '.concat(e,"."));if(!te(t))throw new TypeError('"hydrateComponent" expects a valid component constructor as the second parameter but instead received '.concat(t,"."));if(!ne(n)||Q(n))throw new TypeError('"hydrateComponent" expects an object as the third parameter but instead received '.concat(n,"."));if(No(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{ua(!0),va(e,t,n),Eo(e),ua(!1)}catch(r){console.error("Recovering from error while hydrating: ",r),da(e,t),va(e,t,n),ua(!1),Co(e)}finally{ua(!1)}}He=function(e,t){return ca?e.shadowRoot:e.attachShadow(t)},De=function(e){return document.createComment(e)},_e=function(e,t){return J(t)?document.createElement(e):document.createElementNS(t,e)},Le=function(e){return document.createTextNode(e)},st=Jo,ze=function(e,t){return e.dispatchEvent(t)},$e=function(e,t,n){return J(n)?e.getAttribute(t):e.getAttributeNS(n,t)},Ye=function(e){return e.getBoundingClientRect()},nt=function(e){return e.childNodes},tt=function(e){return e.children},qe=function(e){return e.classList},ft=Yo,et=function(e,t){return e.getElementsByClassName(t)},Ze=function(e,t){return e.getElementsByTagName(t)},rt=function(e){return e.firstChild},ot=function(e){return e.firstElementChild},at=function(e){return e.lastChild},it=function(e){return e.lastElementChild},Fe=function(e,t){return e[t]},Pe=Qo,je=function(e,t,n){t.insertBefore(e,n)},ct=function(e){if(J(Zo[e])){Zo[e]=!0;var t=document.createElement("style");t.type="text/css",t.textContent=e,ea.appendChild(t)}},ut=function(e,t){ta?function(e,t){var n=oa[e];J(n)&&((n=new CSSStyleSheet).replaceSync(e),oa[e]=n),t.adoptedStyleSheets.includes(n)||(na?t.adoptedStyleSheets.push(n):t.adoptedStyleSheets=[].concat(m(t.adoptedStyleSheets),[n]))}(e,t):function(e,t){var n=aa.get(t);if(J(n)&&(n=E(null),aa.set(t,n)),!n[e]){n[e]=!0;var r=ra[e];J(r)?((r=document.createElement("style")).type="text/css",r.textContent=e,ra[e]=r):r=r.cloneNode(!0),t.appendChild(r)}}(e,t)},lt=function(e){return e.isConnected},Ne=function(){return ca},xe=sa,Ae=fa,Ie=function(e){return e.nextSibling},Je=function(e,t){return e.querySelector(t)},Qe=function(e,t){return e.querySelectorAll(t)},Re=function(e,t){t.removeChild(e)},Ke=function(e,t,n){J(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},Ue=function(e,t,n,r){e.removeEventListener(t,n,r)},Ve=function(e,t,n,r){return J(r)?e.setAttribute(t,n):e.setAttributeNS(r,t,n)},Xe=function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},We=function(e,t,n){e[t]=n},Be=function(e,t){e.nodeValue=t},Te=!1,Ge=function(e,t,n,r){e.addEventListener(t,n,r)};var pa=new WeakSet;function ma(e){var t=function(e){return er(e).bridge}(e);return function(t){i(r,t);var n=c(r);function r(){var t;return v(this,r),(t=n.call(this)).isConnected?(ha(s(t),e,{}),pa.add(s(t))):xo(s(t),e,{mode:"open",owner:null,tagName:t.tagName}),t}return p(r,[{key:"connectedCallback",value:function(){pa.has(this)?pa.delete(this):Co(this)}},{key:"disconnectedCallback",value:function(){Mo(this)}}]),r}(t)}var ya=Node,ga=new WeakMap,wa=new WeakMap;function ba(e,t){var n=t.get(e);return J(n)||n(e),e}var ka=ya.prototype,Ca=ka.appendChild,Ea=ka.insertBefore,Ma=ka.removeChild,Sa=ka.replaceChild;C(ya.prototype,{appendChild:function(e){return ba(Ca.call(this,e),ga)},insertBefore:function(e,t){return ba(Ea.call(this,e,t),ga)},removeChild:function(e){return ba(Ma.call(this,e),wa)},replaceChild:function(e,t){var n=Sa.call(this,e,t);return ba(n,wa),ba(e,ga),n}});var Oa=Node;var Ta=new Map;S(bn,"CustomElementConstructor",{get:function(){return function(e){if(e===bn)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");var t=Ta.get(e);return J(t)&&(t=ma(e),Ta.set(e,t)),t}(this)}}),O(bn),R(bn.prototype),e.LightningElement=bn,e.__unstable__ProfilerControl=Vr,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){var t=Uo(e);if(!J(t))throw new Error("Adapter already has a context provider.");!function(e,t){Go.set(e,t)}(e,t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}());var n=new WeakSet;return function(e,r){if(n.has(e))throw new Error("Adapter was already installed on ".concat(e,"."));n.add(e);var o=r.consumerConnectedCallback,a=r.consumerDisconnectedCallback;e.addEventListener(t,(function(e){var t=e.setNewContext,n=e.setDisconnectedCallback,r={provide:function(e){t(e)}};n((function(){J(a)||a(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!ne(t)||Q(t))throw new TypeError('"createElement" function expects an object as second parameter but received "'.concat(ie(t),'".'));var n=t.is;if(!te(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');var r=nr(e),o=!1,a=new r((function(r){xo(r,n,{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),ga.set(r,Co),wa.set(r,Mo),o=!0}));return o||console.error('Unexpected tag name "'.concat(e,'". This name is a registered custom element, preventing LWC to upgrade the element.')),a},e.getComponentConstructor=function(e){var t=null;if(e instanceof HTMLElement){var n=No(e);J(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){var t=er(e),n=t.ctor,r=t.name,o=t.props,a=t.propsConfig,i=t.methods,l={};for(var c in o)l[c]={config:a[c]||0,type:"any",attr:he(c)};var u={};for(var s in i)u[s]=i[s].value;return{ctor:n,name:r,props:l,methods:u}},e.hydrateComponent=ha,e.isComponentConstructor=Zn,e.isNodeFromTemplate=function(e){if(ee(e instanceof Oa))return!1;if(e instanceof ShadowRoot)return!1;var t=e.getRootNode();return!!(t instanceof ShadowRoot&&ee(P.call(A(t),"synthetic")))||fa&&!J(e.$shadowResolver$)},e.readonly=function(e){return gn.getReadOnlyProxy(e)},e.register=function(e){for(var t=0;t<so.length;++t){var n=so[t];if(n in e){var r=uo[n];J(r)&&(uo[n]=r=[]),W.call(r,e[n])}}},e.registerComponent=function(e,t){var n=t.tmpl;return ro.set(e,n),e},e.registerDecorators=function(e,t){var n,r=e.prototype,o=t.publicProps,a=t.publicMethods,i=t.wire,l=t.track,c=t.fields,u=E(null),s=E(null),f=E(null),d=E(null),v=E(null),h=E(null);if(!J(o))for(var p in o){var m=o[p];if(h[p]=m.config,n=T(r,p),m.config>0){if(J(n))throw new Error;n=Ln(p,n)}else n=J(n)||J(n.get)?Rn(p):Ln(p,n);s[p]=n,S(r,p,n)}if(J(a)||K.call(a,(function(e){if(J(n=T(r,e)))throw new Error;u[e]=n})),!J(i))for(var y in i){var g=i[y],w=g.adapter,b=g.method,k=g.config,C=g.dynamic,M=void 0===C?[]:C;if(n=T(r,y),1===b){if(J(n))throw new Error;f[y]=n,zo(n,w,k,M)}else n=Nn(y),d[y]=n,qo(n,w,k,M),S(r,y,n)}if(!J(l))for(var O in l)n=T(r,O),n=jn(O),S(r,O,n);if(!J(c))for(var x=0,A=c.length;x<A;x++){var P=c[x];n=T(r,P);var N=!J(o)&&P in o,j=!J(l)&&P in l;N||j||(v[P]=Dn(P))}return function(e,t){In.set(e,t)}(e,{apiMethods:u,apiFields:s,apiFieldsConfig:h,wiredMethods:f,wiredFields:d,observedFields:v}),e},e.registerTemplate=function(e){return Fn.add(e),e},e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(J(Se[e])){var n=j(Se).map((function(e){return'"'.concat(e,'"')})).join(", ");console.warn('Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'" because it is undefined. Available flags: ').concat(n,"."))}else{var r=Oe[e];J(r)?S(Oe,e,{value:t}):console.error('Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'". "').concat(e,'" has already been set with the value "').concat(r,'".'))}}else{var o='Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'". Runtime feature flags can only be set to a boolean value.');console.error(o)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var t;k.isFalse(Xo,"Hooks are already overridden, only one definition is allowed."),Xo=!0,t=e.sanitizeHtmlContent,_r=t},e.swapComponent=function(e,t){if(!Oe.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!Oe.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!Oe.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return gn.getProxy(e);throw new Error},e.unwrap=function(e){return gn.unwrapProxy(e)},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).LWC={})}(this,(function(e){"use strict";function t(e){var r="function"==typeof Map?new Map:void 0;return t=function(e){if(null===e||(t=e,-1===Function.toString.call(t).indexOf("[native code]")))return e;var t;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,o)}function o(){return n(e,arguments,d(this).constructor)}return o.prototype=Object.create(e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),l(o,e)},t(e)}function n(e,t,r){return n=f()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&l(o,n.prototype),o},n.apply(null,arguments)}function r(){return r="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=o(e,t);if(r){var a=Object.getOwnPropertyDescriptor(r,t);return a.get?a.get.call(arguments.length<3?e:n):a.value}},r.apply(this,arguments)}function o(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=d(e)););return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}function l(e,t){return l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},l(e,t)}function c(e){var t=f();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(e,t){if(t&&("object"===b(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return s(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function m(e){return function(e){if(Array.isArray(e))return w(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||g(e)||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 y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||g(e,t)||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 g(e,t){if(e){if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function b(e){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b(e)}var k=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error("Invariant Violation: ".concat(t))},isTrue:function(e,t){if(!e)throw new Error("Assert Violation: ".concat(t))},isFalse:function(e,t){if(e)throw new Error("Assert Violation: ".concat(t))},fail:function(e){throw new Error(e)}}),E=Object.assign,C=Object.create,M=Object.defineProperties,O=Object.defineProperty,S=Object.freeze,T=Object.getOwnPropertyDescriptor,x=Object.getOwnPropertyNames,A=Object.getPrototypeOf,P=Object.hasOwnProperty,N=Object.isFrozen,j=Object.keys,R=Object.seal,_=Object.setPrototypeOf,L=Array.isArray,D=Array.prototype,H=D.indexOf,I=D.join,F=D.map,W=D.push,B=D.slice,$=D.splice,V=D.unshift,K=D.forEach,G=String.fromCharCode,U=String.prototype,z=U.charCodeAt,q=U.replace,X=U.slice,Y=U.toLowerCase;function J(e){return void 0===e}function Q(e){return null===e}function Z(e){return!0===e}function ee(e){return!1===e}function te(e){return"function"==typeof e}function ne(e){return"object"===b(e)}function re(e){return"string"==typeof e}function oe(){}var ae={}.toString;function ie(e){return e&&e.toString?L(e)?I.call(F.call(e,ie),","):e.toString():"object"===b(e)?ae.call(e):e+""}function le(e,t){do{var n=T(e,t);if(!J(n))return n;e=A(e)}while(null!==e)}var ce=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],ue=function(){var e=C(null),t=C(null);return K.call(ce,(function(n){var r=Y.call(q.call(n,/^aria/,(function(){return"aria-"})));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}}(),se=ue.AriaPropNameToAttrNameMap,fe=function(){if("object"===("undefined"==typeof globalThis?"undefined":b(globalThis)))return globalThis;var e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),de=new Map([["accessKey","accesskey"],["readOnly","readonly"],["tabIndex","tabindex"],["bgColor","bgcolor"],["colSpan","colspan"],["rowSpan","rowspan"],["contentEditable","contenteditable"],["crossOrigin","crossorigin"],["dateTime","datetime"],["formAction","formaction"],["isMap","ismap"],["maxLength","maxlength"],["minLength","minlength"],["noValidate","novalidate"],["useMap","usemap"],["htmlFor","for"]]),ve=new Map;function he(e){var t=se[e];if(!J(t))return t;var n=de.get(e);if(!J(n))return n;var r=ve.get(e);if(!J(r))return r;for(var o="",a=0,i=e.length;a<i;a++){var l=z.call(e,a);o+=l>=65&&l<=90?"-"+G(l+32):G(l)}return ve.set(e,o),o}var pe="http://www.w3.org/2000/svg";function me(e){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,e)}var ye=new WeakMap;function ge(e){var t=ye.get(e);return void 0===t&&(t={},ye.set(e,t)),t}function we(e,t){return{get:function(){var n=ge(this);return P.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set:function(n){var r,o=null==(r=n)?null:String(r);ge(this)[e]=o,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function be(e){var t=we(e,se[e]);Object.defineProperty(Element.prototype,e,t)}for(var ke=j(se),Ee=0,Ce=ke.length;Ee<Ce;Ee+=1){var Me=ke[Ee];me(Me)&&be(Me)}var Oe={ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HMR:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null};fe.lwcRuntimeFlags||Object.defineProperty(fe,"lwcRuntimeFlags",{value:C(null)});var Se=fe.lwcRuntimeFlags;var Te,xe,Ae,Pe,Ne,je,Re,_e,Le,De,He,Ie,Fe,We,Be,$e,Ve,Ke,Ge,Ue,ze,qe,Xe,Ye,Je,Qe,Ze,et,tt,nt,rt,ot,at,it,lt,ct,ut,st,ft,dt=[],vt=R(C(null)),ht=R([]);function pt(){var e=dt;dt=[];for(var t=0,n=e.length;t<n;t+=1)e[t]()}function mt(e){0===dt.length&&Promise.resolve().then(pt),W.call(dt,e)}function yt(e,t){for(var n={},r=0,o=Object.keys(e);r<o.length;r++){var a=o[r];a!==t&&(n[a]=e[a])}return n}var gt=new WeakMap;var wt=null;function bt(e,t){var n=gt.get(e);if(!J(n)){var r=n[t];if(!J(r))for(var o=0,a=r.length;o<a;o+=1){r[o].notify()}}}function kt(e,t){if(null!==wt){var n=wt,r=function(e){var t=gt.get(e);if(J(t)){var n=C(null);t=n,gt.set(e,n)}return t}(e),o=r[t];if(J(o))o=[],r[t]=o;else if(o[0]===n)return;-1===H.call(o,n)&&n.link(o)}}var Et=function(){function e(t){v(this,e),this.listeners=[],this.callback=t}return p(e,[{key:"observe",value:function(e){var t,n=wt;wt=this;try{e()}catch(e){t=Object(e)}finally{if(wt=n,void 0!==t)throw t}}},{key:"reset",value:function(){var e=this.listeners,t=e.length;if(t>0){for(var n=0;n<t;n+=1){var r=e[n],o=H.call(e[n],this);$.call(r,o,1)}e.length=0}}},{key:"notify",value:function(){this.callback.call(void 0,this)}},{key:"link",value:function(e){W.call(e,this),W.call(this.listeners,e)}}]),e}();function Ct(e,t){bt(e.component,t)}function Mt(e,t){kt(e.component,t)}function Ot(e){return"<".concat(Y.call(e.tagName),">")}function St(e,t){if(!N(t)&&J(t.wcStack)){var n=function(e){for(var t=[],n=e;!Q(n);)W.call(t,Ot(n)),n=n.owner;return t.reverse().join("\n\t")}(e);O(t,"wcStack",{get:function(){return n}})}}function Tt(e,t,n){var r="[LWC ".concat(e,"]: ").concat(t);J(n)||(r="".concat(r,"\n").concat(function(e){for(var t=[],n="";!Q(e.owner);)W.call(t,n+Ot(e)),e=e.owner,n+="\t";return I.call(t,"\n")}(n)));try{throw new Error(r)}catch(t){console[e](t)}}var xt="undefined"!=typeof HTMLElement?HTMLElement:function(){},At=xt.prototype;function Pt(e){return"Using the `".concat(e,"` property is an anti-pattern because it rounds the value to an integer. Instead, use the `getBoundingClientRect` method to obtain fractional values for the size of an element and its position relative to the viewport.")}E(C(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:Pt("offsetHeight")},offsetLeft:{readOnly:!0,error:Pt("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Pt("offsetTop")},offsetWidth:{readOnly:!0,error:Pt("offsetWidth")},role:{attribute:"role"}});var Nt,jt=null;function Rt(e,t){return e!==jt||t!==Nt}function _t(e,t){jt=null,Nt=void 0}function Lt(e,t){jt=e,Nt=t}var Dt=C(null);K.call(j(se),(function(e){var t=le(At,e);J(t)||(Dt[e]=t)})),K.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(function(e){var t=le(At,e);J(t)||(Dt[e]=t)}));var Ht=Array.isArray,It=Object.prototype,Ft=Object.getPrototypeOf,Wt=Object.create,Bt=Object.defineProperty,$t=Object.isExtensible,Vt=Object.getOwnPropertyDescriptor,Kt=Object.getOwnPropertyNames,Gt=Object.getOwnPropertySymbols,Ut=Object.preventExtensions,zt=Object.hasOwnProperty,qt=Array.prototype,Xt=qt.push,Yt=qt.concat;function Jt(e){return void 0===e}function Qt(e){return"function"==typeof e}var Zt=new WeakMap;function en(e,t){Zt.set(e,t)}var tn=function(e){return Zt.get(e)||e},nn=function(){function e(t,n){v(this,e),this.originalTarget=n,this.membrane=t}return p(e,[{key:"wrapDescriptor",value:function(e){if(zt.call(e,"value"))e.value=this.wrapValue(e.value);else{var t=e.set,n=e.get;Jt(n)||(e.get=this.wrapGetter(n)),Jt(t)||(e.set=this.wrapSetter(t))}return e}},{key:"copyDescriptorIntoShadowTarget",value:function(e,t){var n=this.originalTarget,r=Vt(n,t);if(!Jt(r)){var o=this.wrapDescriptor(r);Bt(e,t,o)}}},{key:"lockShadowTarget",value:function(e){var t=this,n=this.originalTarget;Yt.call(Kt(n),Gt(n)).forEach((function(n){t.copyDescriptorIntoShadowTarget(e,n)}));var r=this.membrane.tagPropertyKey;Jt(r)||zt.call(e,r)||Bt(e,r,Wt(null)),Ut(e)}},{key:"apply",value:function(e,t,n){}},{key:"construct",value:function(e,t,n){}},{key:"get",value:function(e,t){var n=this.originalTarget,r=this.membrane.valueObserved,o=n[t];return r(n,t),this.wrapValue(o)}},{key:"has",value:function(e,t){var n=this.originalTarget,r=this.membrane,o=r.tagPropertyKey;return(0,r.valueObserved)(n,t),t in n||t===o}},{key:"ownKeys",value:function(e){var t=this.originalTarget,n=this.membrane.tagPropertyKey,r=Jt(n)||zt.call(t,n)?[]:[n];return Xt.apply(r,Kt(t)),Xt.apply(r,Gt(t)),r}},{key:"isExtensible",value:function(e){var t=this.originalTarget;return!!$t(e)&&(!!$t(t)||(this.lockShadowTarget(e),!1))}},{key:"getPrototypeOf",value:function(e){var t=this.originalTarget;return Ft(t)}},{key:"getOwnPropertyDescriptor",value:function(e,t){var n=this.originalTarget,r=this.membrane,o=r.valueObserved,a=r.tagPropertyKey;o(n,t);var i=Vt(n,t);if(Jt(i)){if(t!==a)return;return Bt(e,a,i={value:void 0,writable:!1,configurable:!1,enumerable:!1}),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}]),e}(),rn=new WeakMap,on=new WeakMap,an=new WeakMap,ln=new WeakMap,cn=function(e){i(n,e);var t=c(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n,[{key:"wrapValue",value:function(e){return this.membrane.getProxy(e)}},{key:"wrapGetter",value:function(e){var t=rn.get(e);if(!Jt(t))return t;var n=this,r=function(){return n.wrapValue(e.call(tn(this)))};return rn.set(e,r),an.set(r,e),r}},{key:"wrapSetter",value:function(e){var t=on.get(e);if(!Jt(t))return t;var n=function(t){e.call(tn(this),tn(t))};return on.set(e,n),ln.set(n,e),n}},{key:"unwrapDescriptor",value:function(e){if(zt.call(e,"value"))e.value=tn(e.value);else{var t=e.set,n=e.get;Jt(n)||(e.get=this.unwrapGetter(n)),Jt(t)||(e.set=this.unwrapSetter(t))}return e}},{key:"unwrapGetter",value:function(e){var t=an.get(e);if(!Jt(t))return t;var n=this,r=function(){return tn(e.call(n.wrapValue(this)))};return rn.set(r,e),an.set(e,r),r}},{key:"unwrapSetter",value:function(e){var t=ln.get(e);if(!Jt(t))return t;var n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return on.set(r,e),ln.set(e,r),r}},{key:"set",value:function(e,t,n){var r=this.originalTarget,o=this.membrane.valueMutated;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&Ht(r)&&o(r,t),!0}},{key:"deleteProperty",value:function(e,t){var n=this.originalTarget,r=this.membrane.valueMutated;return delete n[t],r(n,t),!0}},{key:"setPrototypeOf",value:function(e,t){}},{key:"preventExtensions",value:function(e){if($t(e)){var t=this.originalTarget;if(Ut(t),$t(t))return!1;this.lockShadowTarget(e)}return!0}},{key:"defineProperty",value:function(e,t,n){var r=this.originalTarget,o=this.membrane,a=o.valueMutated;return t===o.tagPropertyKey&&!zt.call(r,t)||(Bt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),a(r,t),!0)}}]),n}(nn),un=new WeakMap,sn=new WeakMap,fn=function(e){i(n,e);var t=c(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n,[{key:"wrapValue",value:function(e){return this.membrane.getReadOnlyProxy(e)}},{key:"wrapGetter",value:function(e){var t=un.get(e);if(!Jt(t))return t;var n=this,r=function(){return n.wrapValue(e.call(tn(this)))};return un.set(e,r),r}},{key:"wrapSetter",value:function(e){var t=sn.get(e);if(!Jt(t))return t;var n=function(e){};return sn.set(e,n),n}},{key:"set",value:function(e,t,n){return!1}},{key:"deleteProperty",value:function(e,t){return!1}},{key:"setPrototypeOf",value:function(e,t){}},{key:"preventExtensions",value:function(e){return!1}},{key:"defineProperty",value:function(e,t,n){return!1}}]),n}(nn);function dn(e){if(null===e)return!1;if("object"!==b(e))return!1;if(Ht(e))return!0;var t=Ft(e);return t===It||null===t||null===Ft(t)}var vn=function(e,t){},hn=function(e,t){};function pn(e){return Ht(e)?[]:{}}var mn=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};v(this,e),this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;var n=t.valueMutated,r=t.valueObserved,o=t.valueIsObservable,a=t.tagPropertyKey;this.valueMutated=Qt(n)?n:hn,this.valueObserved=Qt(r)?r:vn,this.valueIsObservable=Qt(o)?o:dn,this.tagPropertyKey=a}return p(e,[{key:"getProxy",value:function(e){var t=tn(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}},{key:"getReadOnlyProxy",value:function(e){return e=tn(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}},{key:"unwrapProxy",value:function(e){return tn(e)}},{key:"getReactiveHandler",value:function(e){var t=this.reactiveObjectGraph.get(e);if(Jt(t)){var n=new cn(this,e);en(t=new Proxy(pn(e),n),e),this.reactiveObjectGraph.set(e,t)}return t}},{key:"getReadOnlyHandler",value:function(e){var t=this.readOnlyObjectGraph.get(e);if(Jt(t)){var n=new fn(this,e);en(t=new Proxy(pn(e),n),e),this.readOnlyObjectGraph.set(e,t)}return t}}]),e}(),yn=Symbol.for("@@lockerLiveValue"),gn=new mn({valueObserved:kt,valueMutated:bt,tagPropertyKey:yn});function wn(e,t){var n=t.get,r=t.set,o=t.enumerable,a=t.configurable;if(!te(n))throw new TypeError;if(!te(r))throw new TypeError;return{enumerable:o,configurable:a,get:function(){var t=Po(this);if(!eo(t))return Mt(t,e),n.call(t.elm)},set:function(t){var n=Po(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,Ct(n,e)),r.call(n.elm,t)}}}var bn=function(){if(Q(Zr))throw new ReferenceError("Illegal constructor");var e=Zr,t=e.def,n=e.elm,r=t.bridge,o=this;if(_(n,r.prototype),e.component=this,1===arguments.length){var a=arguments[0],i=a.callHook,l=a.setHook,c=a.getHook;e.callHook=i,e.setHook=l,e.getHook=c}return this[yn]=void 0,Ao(o,e),Ao(n,e),1===e.renderMode?e.renderRoot=kn(e):e.renderRoot=n,this};function kn(e){var t,n=e.elm,r=e.mode,o=e.shadowMode,i=e.def.ctor,l=Ie(n,(a(t={},"$$lwc-synthetic-mode",1===o),a(t,"delegatesFocus",Boolean(i.delegatesFocus)),a(t,"mode",r),t));return e.shadowRoot=l,Ao(l,e),l}bn.prototype={constructor:bn,dispatchEvent:function(e){var t=Po(this).elm;return ze(t,e)},addEventListener:function(e,t,n){var r=Po(this),o=r.elm,a=co(r,t);Ge(o,e,a,n)},removeEventListener:function(e,t,n){var r=Po(this),o=r.elm,a=co(r,t);Ue(o,e,a,n)},hasAttribute:function(e){var t=Po(this).elm;return!Q($e(t,e))},hasAttributeNS:function(e,t){var n=Po(this).elm;return!Q($e(n,t,e))},removeAttribute:function(e){var t=Po(this).elm;Lt(t,e),Ke(t,e),_t()},removeAttributeNS:function(e,t){var n=Po(this).elm;Lt(n,t),Ke(n,t,e),_t()},getAttribute:function(e){var t=Po(this).elm;return $e(t,e)},getAttributeNS:function(e,t){var n=Po(this).elm;return $e(n,t,e)},setAttribute:function(e,t){var n=Po(this).elm;Lt(n,e),Ve(n,e,t),_t()},setAttributeNS:function(e,t,n){var r=Po(this).elm;Lt(r,t),Ve(r,t,n,e),_t()},getBoundingClientRect:function(){var e=Po(this).elm;return Ye(e)},get isConnected(){var e=Po(this).elm;return lt(e)},get classList(){var e=Po(this).elm;return qe(e)},get template(){return Po(this).shadowRoot},get shadowRoot(){return null},render:function(){return Po(this).def.template},toString:function(){var e=Po(this);return"[object ".concat(e.def.name,"]")}};var En=C(null);for(var Cn=function(){var e=On[Mn];En[e]={get:function(){var t=Po(this).elm;return function(e){switch(e){case"children":return tt;case"childNodes":return nt;case"firstChild":return rt;case"firstElementChild":return ot;case"lastChild":return at;case"lastElementChild":return it}}(e)(t)},configurable:!0,enumerable:!0}},Mn=0,On=["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild"];Mn<On.length;Mn++)Cn();for(var Sn=function(){var e=xn[Tn];En[e]={value:function(t){var n=Po(this).elm;return function(e){switch(e){case"getElementsByClassName":return et;case"getElementsByTagName":return Ze;case"querySelector":return Je;case"querySelectorAll":return Qe}}(e)(n,t)},configurable:!0,enumerable:!0,writable:!0}},Tn=0,xn=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];Tn<xn.length;Tn++)Sn();M(bn.prototype,En);var An=C(null);for(var Pn in Dt)An[Pn]=wn(Pn,Dt[Pn]);function Nn(e){return{get:function(){var t=Po(this);return Mt(t,e),t.cmpFields[e]},set:function(t){var n=Po(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,Ct(n,e))},enumerable:!0,configurable:!0}}function jn(e){return{get:function(){var t=Po(this);return Mt(t,e),t.cmpFields[e]},set:function(t){var n=Po(this),r=gn.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,Ct(n,e))},enumerable:!0,configurable:!0}}function Rn(e){return{get:function(){var t=Po(this);if(!eo(t))return Mt(t,e),t.cmpProps[e]},set:function(t){var n=Po(this);n.cmpProps[e]=t,Ct(n,e)},enumerable:!0,configurable:!0}}M(bn.prototype,An),O(bn,"CustomElementConstructor",{get:function(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});var _n=function(e){i(n,e);var t=c(n);function n(e,r){var o;return v(this,n),(o=t.call(this,(function(){ee(o.debouncing)&&(o.debouncing=!0,mt((function(){if(Z(o.debouncing)){var t=s(o).value,n=e.isDirty,a=e.component,i=e.idx;r.call(a,t),o.debouncing=!1,Z(e.isDirty)&&ee(n)&&i>0&&ko(e)}})))}))).debouncing=!1,o}return p(n,[{key:"reset",value:function(e){r(d(n.prototype),"reset",this).call(this),this.debouncing=!1,arguments.length>0&&(this.value=e)}}]),n}(Et);function Ln(e,t){var n=t.get,r=t.set,o=t.enumerable,a=t.configurable;if(!te(n))throw new Error;return{get:function(){return n.call(this)},set:function(t){var n=this,o=Po(this);if(r)if(Se.ENABLE_REACTIVE_SETTER){var a=o.oar[e];J(a)&&(a=o.oar[e]=new _n(o,r)),a.reset(t),a.observe((function(){r.call(n,t)}))}else r.call(this,t)},enumerable:o,configurable:a}}function Dn(e){return{get:function(){var t=Po(this);return Mt(t,e),t.cmpFields[e]},set:function(t){var n=Po(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,Ct(n,e))},enumerable:!0,configurable:!0}}var Hn=new Map;var In={apiMethods:vt,apiFields:vt,apiFieldsConfig:vt,wiredMethods:vt,wiredFields:vt,observedFields:vt};var Fn=new Set;function Wn(){return[]}Fn.add(Wn);var Bn=C(null),$n=C(null);function Vn(e){var t=Bn[e];return J(t)&&(t=Bn[e]=function(){var t=Po(this);return(0,t.getHook)(t.component,e)}),t}function Kn(e){var t=$n[e];return J(t)&&(t=$n[e]=function(t){var n=Po(this),r=n.setHook;t=gn.getReadOnlyProxy(t),r(n.component,e,t)}),t}function Gn(e){return function(){var t=Po(this),n=t.callHook,r=t.component,o=r[e];return n(t.component,o,B.call(arguments))}}function Un(e,t){return function(n,r,o){if(r!==o){var a=e[n];J(a)?J(t)||t.apply(this,arguments):Rt(this,n)&&(this[a]=o)}}}function zn(e,t,n){var r;te(e)?r=function(e){i(n,e);var t=c(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n)}(e):(_(r=function(){throw new TypeError("Illegal constructor")},e),_(r.prototype,e.prototype),O(r.prototype,"constructor",{writable:!0,configurable:!0,value:r}));for(var o=C(null),a=e.prototype.attributeChangedCallback,l=e.observedAttributes,u=void 0===l?[]:l,s=C(null),f=0,d=t.length;f<d;f+=1){var h=t[f];o[he(h)]=h,s[h]={get:Vn(h),set:Kn(h),enumerable:!0,configurable:!0}}for(var y=0,g=n.length;y<g;y+=1){var w=n[y];s[w]={value:Gn(w),writable:!0,configurable:!0}}return s.attributeChangedCallback={value:Un(o,a)},O(r,"observedAttributes",{get:function(){return[].concat(m(u),m(j(o)))}}),M(r.prototype,s),r}var qn=zn(xt,x(Dt),[]);function Xn(e){var t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Yn(e){return te(e)&&P.call(e,"__circular__")}S(qn),R(qn.prototype);var Jn=new WeakMap;function Qn(e){var t=e.shadowSupportMode,n=e.renderMode,r=function(e){var t=Hn.get(e);return J(t)?In:t}(e),o=r.apiFields,a=r.apiFieldsConfig,i=r.apiMethods,l=r.wiredFields,c=r.wiredMethods,u=r.observedFields,s=e.prototype,f=s.connectedCallback,d=s.disconnectedCallback,v=s.renderedCallback,h=s.errorCallback,p=s.render,m=function(e){var t=A(e);if(Q(t))throw new ReferenceError("Invalid prototype chain for ".concat(e.name,", you must extend LightningElement."));if(Yn(t)){var n=Xn(t);t=n===t?bn:n}return t}(e),y=m!==bn?er(m):tr,g=zn(y.bridge,j(o),j(i)),w=E(C(null),y.props,o),b=E(C(null),y.propsConfig,a),k=E(C(null),y.methods,i),O=E(C(null),y.wire,l,c);f=f||y.connectedCallback,d=d||y.disconnectedCallback,v=v||y.renderedCallback,h=h||y.errorCallback,p=p||y.render;var S=y.shadowSupportMode;J(t)||(S=t);var T=y.renderMode;J(n)||(T="light"===n?0:1);var x=function(e){return ro.get(e)}(e)||y.template,P=e.name||y.name;return M(s,u),{ctor:e,name:P,wire:O,props:w,propsConfig:b,methods:k,bridge:g,template:x,renderMode:T,shadowSupportMode:S,connectedCallback:f,disconnectedCallback:d,renderedCallback:v,errorCallback:h,render:p}}function Zn(e){if(!te(e))return!1;if(e.prototype instanceof bn)return!0;var t=e;do{if(Yn(t)){var n=Xn(t);if(n===t)return!0;t=n}if(t===bn)return!0}while(!Q(t)&&(t=A(t)));return!1}function er(e){var t=Jn.get(e);if(J(t)){if(Yn(e))return t=er(Xn(e)),Jn.set(e,t),t;if(!Zn(e))throw new TypeError("".concat(e,' is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.'));t=Qn(e),Jn.set(e,t)}return t}var tr={ctor:bn,name:bn.name,props:An,propsConfig:vt,methods:vt,renderMode:1,shadowSupportMode:"reset",wire:vt,bridge:qn,template:Wn,render:bn.prototype.render};function nr(e){e=e.toLowerCase();var t=ft(e);return J(t)?(st(e,t=function(e){i(n,e);var t=c(n);function n(e){var r;return v(this,n),r=t.call(this),te(e)&&e(s(r)),r}return p(n)}(Pe)),t):t}function rr(e){var t=e.type;return 2===t||3===t}function or(e,t){return e.key===t.key&&e.sel===t.sel}function ar(e,t){return"input"===e&&("value"===t||"checked"===t)}function ir(e,t){var n=t.data.props;if(!J(n)){var r=Q(e)?vt:e.data.props;if(r!==n){var o=Q(e),a=t.elm,i=t.sel;for(var l in n){var c=n[l];(o||c!==(ar(i,l)?Fe(a,l):r[l]))&&We(a,l,c)}}}}var lr=C(null);function cr(e){if(null==e)return vt;e=re(e)?e:e+"";var t=lr[e];if(t)return t;t=C(null);var n,r=0,o=e.length;for(n=0;n<o;n++)32===z.call(e,n)&&(n>r&&(t[X.call(e,r,n)]=!0),r=n+1);return n>r&&(t[X.call(e,r,n)]=!0),lr[e]=t,t}function ur(e){var t=e.elm,n=e.data.on;if(!J(n))for(var r in n){var o=n[r];Ge(t,r,o)}}function sr(e,t,n){var r;r=t,Or.has(r)?function(e,t,n){var r,o,a,i=0,l=0,c=e.length-1,u=e[0],s=e[c],f=t.length-1,d=f,v=t[0],h=t[d],p=!1;for(;i<=c&&l<=d;)mr(u)?mr(s)?mr(v)?mr(h)?or(u,v)?(fr(u,v),u=e[++i],v=t[++l]):or(s,h)?(fr(s,h),s=e[--c],h=t[--d]):or(u,h)?(fr(u,h),kr(u.elm,n,He(s.elm)),u=e[++i],h=t[--d]):or(s,v)?(fr(s,v),kr(v.elm,n,u.elm),s=e[--c],v=t[++l]):(void 0===r&&(r=Sr(e,i,c)),J(o=r[v.key])?(dr(v,n,u.elm),v=t[++l]):(mr(a=e[o])&&(a.sel!==v.sel?dr(v,n,u.elm):(fr(a,v),p||(p=!0,e=m(e)),e[o]=void 0,kr(a.elm,n,u.elm))),v=t[++l])):h=t[--d]:v=t[++l]:s=e[--c]:u=e[++i];if(i<=c||l<=d)if(i>c){var y,g=d;do{y=t[++g]}while(!mr(y)&&g<f);vr(t,n,mr(y)?y.elm:null,l,d+1)}else pr(e,n,!0,i,c+1)}(e,t,n):function(e,t,n){var r=e.length,o=t.length;if(0===r)return void vr(t,n,null);if(0===o)return void pr(e,n,!0);for(var a=null,i=o-1;i>=0;i-=1){var l=e[i],c=t[i];c!==l&&(mr(l)?mr(c)?(fr(l,c),a=c.elm):hr(l,n,!0):mr(c)&&(dr(c,n,a),a=c.elm))}}(e,t,n)}function fr(e,t){if(e!==t)switch(t.type){case 0:case 1:!function(e,t){t.elm=e.elm,t.text!==e.text&&br(t)}(e,t);break;case 2:!function(e,t){var n=t.elm=e.elm;Cr(e,t),sr(e.children,t.children,n)}(e,t);break;case 3:!function(e,t){var n=t.elm=e.elm,r=t.vm=e.vm;Cr(e,t),J(r)||Mr(t,r);sr(e.children,t.children,n),J(r)||ko(r)}(e,t)}}function dr(e,t,n){switch(e.type){case 0:!function(e,t,n){var r=e.owner,o=e.elm=Le(e.text);wr(o,r),kr(o,t,n)}(e,t,n);break;case 1:!function(e,t,n){var r=e.owner,o=e.elm=De(e.text);wr(o,r),kr(o,t,n)}(e,t,n);break;case 2:!function(e,t,n){var r=e.sel,o=e.owner,a=Z(e.data.svg)?pe:void 0,i=_e(r,a);wr(i,o),function(e,t){var n=t.owner;if(gr(e,n),1===n.shadowMode){var r=t.data.context,o=n.context.stylesheetToken;J(r)||J(r.lwc)||"manual"!==r.lwc.dom||function(e){e.$domManual$=!0}(e),J(o)||yr(e,o)}}(i,e),e.elm=i,Cr(null,e),kr(i,t,n),vr(e.children,i,null)}(e,t,n);break;case 3:!function(e,t,n){var r,o=e.sel,a=e.owner,i=nr(o),l=new i((function(t){r=function(e,t){var n=No(e);if(!J(n))return n;var r=t.sel,o=t.mode,a=t.ctor,i=t.owner;if(gr(e,i),1===i.shadowMode){var l=i.context.stylesheetToken;J(l)||yr(e,l)}return n=xo(e,a,{mode:o,owner:i,tagName:r})}(t,e)}));if(wr(l,a),e.elm=l,e.vm=r,r)Mr(e,r);else if(e.ctor!==i)throw new TypeError("Incorrect Component Constructor");Cr(null,e),kr(l,t,n),r&&Do(r);vr(e.children,l,null),r&&function(e){jo(e)}(r)}(e,t,n)}}function vr(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:e.length;r<o;++r){var a=e[r];mr(a)&&dr(a,t,n)}}function hr(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.type,o=e.elm;switch(n&&Er(o,t),r){case 2:pr(e.children,o);break;case 3:var a=e.vm;J(a)||To(a)}}function pr(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:e.length;r<o;++r){var a=e[r];mr(a)&&hr(a,t,n)}}function mr(e){return null!=e}function yr(e,t){e.$shadowToken$=t}function gr(e,t){var n=t.cmpTemplate,r=t.context,o=null==n?void 0:n.stylesheetToken;!J(o)&&r.hasScopedStyles&&qe(e).add(o)}function wr(e,t){var n=t.renderRoot,r=t.renderMode,o=t.shadowMode;Ae&&(1!==o&&0!==r||(e.$shadowResolver$=n.$shadowResolver$))}function br(e){var t=e.elm,n=e.text;Be(t,n)}function kr(e,t,n){je(e,t,n)}function Er(e,t){Re(e,t)}function Cr(e,t){Q(e)&&(ur(t),function(e){var t=e.elm,n=e.data.classMap;if(!J(n)){var r=qe(t);for(var o in n)r.add(o)}}(t),function(e){var t=e.elm,n=e.data.styleDecls;if(!J(n))for(var r=0;r<n.length;r++){var o=y(n[r],3),a=o[0],i=o[1],l=o[2];Xe(t,a,i,l)}}(t)),function(e,t){var n=t.elm,r=t.data.className,o=Q(e)?void 0:e.data.className;if(o!==r){var a,i=qe(n),l=cr(r),c=cr(o);for(a in c)J(l[a])&&i.remove(a);for(a in l)J(c[a])&&i.add(a)}}(e,t),function(e,t){var n=t.elm,r=t.data.style;(Q(e)?void 0:e.data.style)!==r&&(re(r)&&""!==r?Ve(n,"style",r):Ke(n,"style"))}(e,t),function(e,t){var n=t.data.attrs;if(!J(n)){var r=Q(e)?vt:e.data.attrs;if(r!==n){var o=t.elm;for(var a in n){var i=n[a];r[a]!==i&&(Lt(o,a),58===z.call(a,3)?Ve(o,a,i,"http://www.w3.org/XML/1998/namespace"):58===z.call(a,5)?Ve(o,a,i,"http://www.w3.org/1999/xlink"):Q(i)||J(i)?Ke(o,a):Ve(o,a,i),_t())}}}}(e,t),ir(e,t)}function Mr(e,t){var n=e.aChildren||e.children;t.aChildren=n;var r=t.renderMode;1!==t.shadowMode&&0!==r||(!function(e,t){for(var n,r=e.cmpSlots,o=e.cmpSlots=C(null),a=0,i=t.length;a<i;a+=1){var l=t[a];if(!Q(l)){var c="";rr(l)&&(c=(null===(n=l.data.attrs)||void 0===n?void 0:n.slot)||"");var u=o[c]=o[c]||[];J(l.key)||(l.key="@".concat(c,":").concat(l.key)),W.call(u,l)}}if(ee(e.isDirty)){var s=j(r);if(s.length!==j(o).length)return void io(e);for(var f=0,d=s.length;f<d;f+=1){var v=s[f];if(J(o[v])||r[v].length!==o[v].length)return void io(e);for(var h=r[v],p=o[v],m=0,y=o[v].length;m<y;m+=1)if(h[m]!==p[m])return void io(e)}}}(t,n),e.aChildren=n,e.children=ht)}var Or=new WeakMap;function Sr(e,t,n){for(var r={},o=t;o<=n;++o){var a=e[o];if(mr(a)){var i=a.key;void 0!==i&&(r[i]=o)}}return r}var Tr=Symbol.iterator;function xr(e){W.call(Yr().velements,e)}function Ar(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ht,o=Yr(),a=t.key;return{type:2,sel:e,data:t,children:r,elm:n,key:a,owner:o}}function Pr(e,t,n){var r,o,a,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ht,l=Yr(),c=n.key,u={type:3,sel:e,data:n,children:i,elm:r,key:c,ctor:t,owner:l,mode:"open",aChildren:o,vm:a};return xr(u),u}var Nr=new Map,jr=0;function Rr(e){var t;return t=e,Or.set(t,1),e}var _r=function(){throw new Error("sanitizeHtmlContent hook must be implemented.")};var Lr=S({s:function(e,t,n,r){J(r)||J(r[e])||0===r[e].length||(n=r[e]);var o=Yr(),a=o.renderMode,i=o.shadowMode;return 0===a?(Rr(n),n):(1===i&&Rr(n),Ar("slot",t,n))},h:Ar,c:Pr,i:function(e,t){var n=[];if(Rr(n),J(e)||null===e)return n;for(var r=e[Tr](),o=r.next(),a=0,i=o,l=i.value,c=i.done;!1===c;){var u=t(l,a,0===a,!0===(c=(o=r.next()).done));L(u)?W.apply(n,u):W.call(n,u),a+=1,l=o.value}return n},f:function(e){var t=e.length,n=[];Rr(n);for(var r=0;r<t;r+=1){var o=e[r];L(o)?W.apply(n,o):W.call(n,o)}return n},t:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:Yr()}},d:function(e){return null==e?"":String(e)},b:function(e){var t=Yr();if(Q(t))throw new Error;var n=t;return function(t){no(n,e,n.component,t)}},k:function(e,t){switch(b(t)){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:undefined,owner:Yr()}},dc:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ht;if(null==t)return null;if(!Zn(t))throw new Error("Invalid LWC Constructor ".concat(ie(t)," for custom element <").concat(e,">."));var o=Nr.get(t);J(o)&&(o=jr++,Nr.set(t,o));var a=Object.assign(Object.assign({},n),{key:"dc:".concat(o,":").concat(n.key)});return Pr(e,t,a,r)},ti:function(e){return e>0&&!(Z(e)||ee(e))?0:e},gid:function(e){var t=Yr();if(J(e)||""===e)return e;if(Q(e))return null;var n=t.idx;return 1===t.shadowMode?q.call(e,/\S+/g,(function(e){return"".concat(e,"-").concat(n)})):e},fid:function(e){var t=Yr();if(J(e)||""===e)return e;if(Q(e))return null;var n=t.idx;return 1===t.shadowMode&&/^#/.test(e)?"".concat(e,"-").concat(n):e},shc:function(e){return _r(e)}});function Dr(e){return"".concat(e,"-host")}function Hr(e,t,n){for(var r,o=[],a=0;a<e.length;a++){var i=e[a];if(L(i))W.apply(o,Hr(i,t,n));else{var l=i.$scoped$,c=l||1===n.shadowMode&&1===n.renderMode?t:void 0,u=0===n.renderMode?!l:0===n.shadowMode,s=void 0;1===n.renderMode?s=0===n.shadowMode:(J(r)&&(r=Fr(n)),s=Q(r)||0===r.shadowMode),W.call(o,i(c,u,s))}}return o}function Ir(e,t){var n=t.stylesheets,r=t.stylesheetToken,o=[];return J(n)||0===n.length||(o=Hr(n,r,e)),o}function Fr(e){for(var t=e;!Q(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Wr(e,t){var n,r=e.renderMode,o=e.shadowMode;if(1===r&&1===o)for(var a=0;a<t.length;a++)ct(t[a]);else{if(Te||Ne()){var i=I.call(t,"\n");return n=i,Lr.h("style",{key:"style",attrs:{type:"text/css"}},[Lr.t(n)])}for(var l=function(e){var t=Fr(e);return Q(t)||1!==t.shadowMode?t:null}(e),c=Q(l),u=0;u<t.length;u++)c?ct(t[u]):ut(t[u],l.shadowRoot)}return null}var Br=!1,$r=oe,Vr={enableProfiler:function(){Br=!0},disableProfiler:function(){Br=!1},attachDispatcher:function(e){$r=e,this.enableProfiler()},detachDispatcher:function(){var e=$r;return $r=oe,this.disableProfiler(),e}};function Kr(e,t){Br&&$r(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Gr(e,t){Br&&$r(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Ur(e,t){Br&&$r(e,0,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}function zr(e,t){Br&&$r(e,1,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}var qr=!1,Xr=null;function Yr(){return Xr}function Jr(e){Xr=e}function Qr(e,t){var n=qr,r=Xr,o=[];return Bo(e,e.owner,(function(){Xr=e,Kr(1,e)}),(function(){var n=e.component,r=e.context,a=e.cmpSlots,i=e.cmpTemplate;e.tro.observe((function(){if(t!==i){if(Q(i)||Wo(e),c=t,!Fn.has(c))throw new TypeError("Invalid template returned by the render() method on ".concat(e,'. It must return an imported template (e.g.: `import html from "./').concat(e.def.name,'.html"`), instead, it has returned: ').concat(ie(t),"."));e.cmpTemplate=t,r.tplCache=C(null),r.hasScopedStyles=function(e){var t=e.stylesheets;if(!J(t))for(var n=0;n<t.length;n++)if(Z(t[n].$scoped$))return!0;return!1}(t),function(e,t){var n,r,o,a=e.elm,i=e.context,l=e.renderMode,c=e.shadowMode,u=t.stylesheets,s=t.stylesheetToken,f=1===l&&1===c,d=i.hasScopedStyles,v=i.stylesheetToken,h=i.hasTokenInClass,p=i.hasTokenInAttribute;J(v)||(h&&qe(a).remove(Dr(v)),p&&Ke(a,Dr(v))),J(u)||0===u.length||(n=s),J(n)||(d&&(qe(a).add(Dr(n)),r=!0),f&&(Ve(a,Dr(n),""),o=!0)),i.stylesheetToken=n,i.hasTokenInClass=r,i.hasTokenInAttribute=o}(e,t);var l=Ir(e,t);r.styleVNode=0===l.length?null:Wr(e,l)}var c;e.velements=[],qr=!0,o=t.call(void 0,Lr,n,a,r.tplCache);var u=r.styleVNode;Q(u)||V.call(o,u)}))}),(function(){qr=n,Xr=r,Gr(1,e)})),o}var Zr=null;function eo(e){return Zr===e}function to(e,t,n){var r=e.component,o=e.callHook;Bo(e,e.owner,oe,(function(){o(r,t,n)}),oe)}function no(e,t,n,r){var o=e.callHook;Bo(e,e.owner,oe,(function(){o(n,t,[r])}),oe)}var ro=new Map;function oo(e){return new Et((function(){ee(e.isDirty)&&(io(e),function(e){if(Z(Te)||Z(e.isScheduled))return;e.isScheduled=!0,0===_o.length&&mt(Lo);W.call(_o,e)}(e))}))}function ao(e){e.tro.reset();var t=function(e){var t,n=e.def.render,r=e.callHook,o=e.component,a=e.owner,i=Yr(),l=!1;return Bo(e,a,(function(){Jr(e)}),(function(){e.tro.observe((function(){t=r(o,n),l=!0}))}),(function(){Jr(i)})),l?Qr(e,t):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function io(e){e.isDirty=!0}var lo=new WeakMap;function co(e,t){if(!te(t))throw new TypeError;var n=lo.get(t);return J(n)&&(n=function(n){no(e,t,void 0,n)},lo.set(t,n)),n}var uo=C(null),so=["rendered","connected","disconnected"];function fo(e,t){for(var n=e.component,r=e.def,o=e.context,a=0,i=t.length;a<i;++a)t[a].call(void 0,n,{},r,o)}function vo(e,t){switch(e.type){case 0:!function(e,t){var n;Be(t,null!==(n=e.text)&&void 0!==n?n:null),e.elm=t}(e,t);break;case 1:!function(e,t){var n;We(t,"nodeValue",null!==(n=e.text)&&void 0!==n?n:null),e.elm=t}(e,t);break;case 2:!function(e,t){var n=t;e.elm=n;var r=e.data.context,o=Boolean(!J(r)&&!J(r.lwc)&&"manual"===r.lwc.dom);if(o){var a=e.data.props;J(a)||J(a.innerHTML)||(Fe(n,"innerHTML")===a.innerHTML?e.data=Object.assign(Object.assign({},e.data),{props:yt(a,"innerHTML")}):(i="Mismatch hydrating element <".concat(Fe(n,"tagName").toLowerCase(),">: innerHTML values do not match for element, will recover from the difference"),l=e.owner,Tt("warn",i,l)))}var i,l;po(e),o||ho(nt(e.elm),e.children,e.owner)}(e,t);break;case 3:!function(e,t){var n=t,r=e.sel,o=e.mode,a=e.ctor,i=e.owner,l=xo(n,a,{mode:o,owner:i,tagName:r});e.elm=n,e.vm=l,Mr(e,l),po(e),Do(l),0!==l.renderMode&&ho(nt(e.elm),e.children);Oo(l)}(e,t)}}function ho(e,t,n){for(var r=0,o=0;o<t.length;o++){var a=t[o];if(!Q(a))vo(a,e[r]),r++}}function po(e){ur(e),ir(null,e)}var mo=0,yo=new WeakMap;function go(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t.apply(e,n)}function wo(e,t,n){e[t]=n}function bo(e,t){return e[t]}function ko(e){jo(e)}function Eo(e){var t=Po(e);Ur(7,t),1===t.state&&Mo(e),Do(t),jo(t),zr(7,t)}function Co(e){var t=Po(e);Do(t),Oo(t)}function Mo(e){So(Po(e))}function Oo(e){if(Z(e.isDirty)){var t=ao(e);e.children=t,ho(0===e.renderMode?nt(e.elm):nt(e.elm.shadowRoot),t),Ro(e)}}function So(e){if(2!==e.state){var t=e.oar,n=e.tro;for(var r in n.reset(),t)t[r].reset();!function(e){ee(e.isDirty)&&(e.isDirty=!0);e.state=2;var t=uo.disconnected;t&&fo(e,t);Ho(e)&&function(e){var t=e.context.wiredDisconnecting;Bo(e,e,oe,(function(){for(var e=0,n=t.length;e<n;e+=1)t[e]()}),oe)}(e);var n=e.def.disconnectedCallback;J(n)||(Kr(5,e),to(e,n),Gr(5,e))}(e),Io(e),function(e){Fo(e.aChildren)}(e)}}function To(e){So(e)}function xo(e,t,n){var r=n.mode,o=n.owner,a=n.tagName,i=er(t),l={elm:e,def:i,idx:mo++,state:0,isScheduled:!1,isDirty:!0,tagName:a,mode:r,owner:o,children:ht,aChildren:ht,velements:ht,cmpProps:C(null),cmpFields:C(null),cmpSlots:C(null),oar:C(null),cmpTemplate:null,renderMode:i.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:vt,wiredConnecting:ht,wiredDisconnecting:ht},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:go,setHook:wo,getHook:bo};return l.shadowMode=function(e){var t,n=e.def;if(Ae)if(0===n.renderMode)t=0;else if(xe)if(Se.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)t=0;else{var r=function(e){for(var t=e.owner;!Q(t)&&0===t.renderMode;)t=t.owner;return t}(e);t=Q(r)||0!==r.shadowMode?1:0}else t=1;else t=1;else t=0;return t}(l),l.tro=oo(l),function(e,t){var n,r=Zr;Kr(0,e),Zr=e;try{var o=new t;if(Zr.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){n=Object(e)}finally{if(Gr(0,e),Zr=r,!J(n))throw St(e,n),n}}(l,i.ctor),Ho(l)&&function(e){var t=e.context,n=e.def.wire,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(var a in n){var i=n[a],l=$o.get(i);J(l)||function(){var t=Ko(e,a,l),n=t.connector,i=t.computeConfigAndUpdate,c=t.resetConfigWatcher,u=l.dynamic.length>0;W.call(r,(function(){n.connect(),Se.ENABLE_WIRE_SYNC_EMIT||!u?i():Promise.resolve().then(i)})),W.call(o,(function(){n.disconnect(),c()}))}()}}(l),l}function Ao(e,t){yo.set(e,t)}function Po(e){return yo.get(e)}function No(e){return yo.get(e)}function jo(e){Z(e.isDirty)&&function(e,t){var n=e.renderRoot,r=e.children;e.children=t,(t.length>0||r.length>0)&&r!==t&&Bo(e,e,(function(){Kr(2,e)}),(function(){sr(r,t,n)}),(function(){Gr(2,e)}));1===e.state&&Ro(e)}(e,ao(e))}function Ro(e){var t=e.def.renderedCallback;if(!Z(Te)){var n=uo.rendered;n&&fo(e,n),J(t)||(Kr(4,e),to(e,t),Gr(4,e))}}var _o=[];function Lo(){Ur(8);var e=_o.sort((function(e,t){return e.idx-t.idx}));_o=[];for(var t=0,n=e.length;t<n;t+=1){var r=e[t];try{jo(r)}catch(r){throw t+1<n&&(0===_o.length&&mt(Lo),V.apply(_o,B.call(e,t+1))),zr(8),r}}zr(8)}function Do(e){if(1!==e.state){e.state=1;var t=uo.connected;t&&fo(e,t),Ho(e)&&function(e){for(var t=e.context.wiredConnecting,n=0,r=t.length;n<r;n+=1)t[n]()}(e);var n=e.def.connectedCallback;J(n)||(Kr(3,e),to(e,n),Gr(3,e))}}function Ho(e){return x(e.def.wire).length>0}function Io(e){for(var t=e.velements,n=t.length-1;n>=0;n-=1){var r=t[n].elm;if(!J(r)){var o=No(r);J(o)||So(o)}}}function Fo(e){for(var t=0,n=e.length;t<n;t+=1){var r=e[t];if(!Q(r)&&!J(r.elm))switch(r.type){case 2:Fo(r.children);break;case 3:So(Po(r.elm))}}}function Wo(e){for(var t=e.children,n=e.renderRoot,r=0,o=t.length;r<o;r++){var a=t[r];Q(a)||J(a.elm)||Re(a.elm,n)}e.children=ht,Io(e),e.velements=ht}function Bo(e,t,n,r,o){var a;n();try{r()}catch(e){a=Object(e)}finally{if(o(),!J(a)){St(e,a);var i=Q(t)?void 0:function(e){for(var t=e;!Q(t);){if(!J(t.def.errorCallback))return t;t=t.owner}}(t);if(J(i))throw a;Wo(e),Kr(6,e),to(i,i.def.errorCallback,[a,a.wcStack]),Gr(6,e)}}}var $o=new Map,Vo=function(e){i(n,e);var t=c(n);function n(e,r){var o,a=r.setNewContext,i=r.setDisconnectedCallback;return v(this,n),o=t.call(this,e,{bubbles:!0,composed:!0}),M(s(o),{setNewContext:{value:a},setDisconnectedCallback:{value:i}}),o}return p(n)}(t(CustomEvent));function Ko(e,t,n){var r,o,a=n.method,i=n.adapter,l=n.configCallback,c=n.dynamic,u=J(a)?function(e,t){var n=e.cmpFields;return function(r){r!==e.cmpFields[t]&&(n[t]=r,Ct(e,t))}}(e,t):function(e,t){return function(n){Bo(e,e.owner,oe,(function(){t.call(e.component,n)}),oe)}}(e,a);O(u,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),O(u,"$$DeprecatedWiredParamsMetaKey$$",{value:c}),Bo(e,e,oe,(function(){o=new i(u)}),oe);var s=function(e,t,n){var r=!1,o=new Et((function(){!1===r&&(r=!0,Promise.resolve().then((function(){r=!1,o.reset(),a()})))})),a=function(){var r;o.observe((function(){return r=t(e)})),n(r)};return{computeConfigAndUpdate:a,ro:o}}(e.component,l,(function(t){Bo(e,e,oe,(function(){o.update(t,r)}),oe)})),f=s.computeConfigAndUpdate,d=s.ro;return J(i.contextSchema)||function(e,t,n){var r=Uo(t.adapter);if(!J(r)){var o=e.elm,a=e.context,i=a.wiredConnecting,l=a.wiredDisconnecting;W.call(i,(function(){var e=new Vo(r,{setNewContext:function(e){n(e)},setDisconnectedCallback:function(e){W.call(l,e)}});ze(o,e)}))}}(e,n,(function(t){r!==t&&(r=t,1===e.state&&f())})),{connector:o,computeConfigAndUpdate:f,resetConfigWatcher:function(){return d.reset()}}}var Go=new Map;function Uo(e){return Go.get(e)}function zo(e,t,n,r){t.adapter&&(t=t.adapter);var o={adapter:t,method:e.value,configCallback:n,dynamic:r};$o.set(e,o)}function qo(e,t,n,r){t.adapter&&(t=t.adapter);var o={adapter:t,configCallback:n,dynamic:r};$o.set(e,o)}var Xo=!1;var Yo,Jo,Qo,Zo=C(null),ea=document.head||document.body||document,ta=te(CSSStyleSheet.prototype.replaceSync)&&L(document.adoptedStyleSheets),na=ta&&T(document.adoptedStyleSheets,"length").writable,ra=C(null),oa=C(null),aa=new WeakMap;if(function(){if("undefined"==typeof customElements)return!1;try{var e=function(e){i(n,e);var t=c(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n)}(HTMLElement);return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),e),new e,!0}catch(e){return!1}}())Yo=customElements.get.bind(customElements),Jo=customElements.define.bind(customElements),Qo=HTMLElement;else{var ia=C(null),la=new WeakMap;Jo=function(e,t){if(e!==Y.call(e)||ia[e])throw new TypeError("Invalid Registration");ia[e]=t,la.set(t,e)},Yo=function(e){return ia[e]},(Qo=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");var t=this.constructor,n=la.get(t);if(!n)throw new TypeError("Invalid Construction");var r=document.createElement(n);return _(r,t.prototype),r}).prototype=HTMLElement.prototype}var ca=!1;function ua(e){ca=e}var sa=fe.$isNativeShadowRootDefined$,fa=P.call(Element.prototype,"$shadowToken$");function da(e,t){if(e.shadowRoot)for(var n=e.shadowRoot;!Q(n.firstChild);)n.removeChild(n.firstChild);if("light"===t.renderMode)for(;!Q(e.firstChild);)e.removeChild(e.firstChild)}function va(e,t,n){xo(e,t,{mode:"open",owner:null,tagName:e.tagName.toLowerCase()});for(var r=0,o=Object.entries(n);r<o.length;r++){var a=y(o[r],2),i=a[0],l=a[1];e[i]=l}}function ha(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(e instanceof Element))throw new TypeError('"hydrateComponent" expects a valid DOM element as the first parameter but instead received '.concat(e,"."));if(!te(t))throw new TypeError('"hydrateComponent" expects a valid component constructor as the second parameter but instead received '.concat(t,"."));if(!ne(n)||Q(n))throw new TypeError('"hydrateComponent" expects an object as the third parameter but instead received '.concat(n,"."));if(No(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{ua(!0),va(e,t,n),Co(e),ua(!1)}catch(r){console.error("Recovering from error while hydrating: ",r),da(e,t),va(e,t,n),ua(!1),Eo(e)}finally{ua(!1)}}Ie=function(e,t){return ca?e.shadowRoot:e.attachShadow(t)},De=function(e){return document.createComment(e)},_e=function(e,t){return J(t)?document.createElement(e):document.createElementNS(t,e)},Le=function(e){return document.createTextNode(e)},st=Jo,ze=function(e,t){return e.dispatchEvent(t)},$e=function(e,t,n){return J(n)?e.getAttribute(t):e.getAttributeNS(n,t)},Ye=function(e){return e.getBoundingClientRect()},nt=function(e){return e.childNodes},tt=function(e){return e.children},qe=function(e){return e.classList},ft=Yo,et=function(e,t){return e.getElementsByClassName(t)},Ze=function(e,t){return e.getElementsByTagName(t)},rt=function(e){return e.firstChild},ot=function(e){return e.firstElementChild},at=function(e){return e.lastChild},it=function(e){return e.lastElementChild},Fe=function(e,t){return e[t]},Pe=Qo,je=function(e,t,n){t.insertBefore(e,n)},ct=function(e){if(J(Zo[e])){Zo[e]=!0;var t=document.createElement("style");t.type="text/css",t.textContent=e,ea.appendChild(t)}},ut=function(e,t){ta?function(e,t){var n=oa[e];J(n)&&((n=new CSSStyleSheet).replaceSync(e),oa[e]=n);var r=t.adoptedStyleSheets;r.includes(n)||(na?r.push(n):t.adoptedStyleSheets=[].concat(m(r),[n]))}(e,t):function(e,t){var n=aa.get(t);if(J(n)&&(n=C(null),aa.set(t,n)),!n[e]){n[e]=!0;var r=ra[e];J(r)?((r=document.createElement("style")).type="text/css",r.textContent=e,ra[e]=r):r=r.cloneNode(!0),t.appendChild(r)}}(e,t)},lt=function(e){return e.isConnected},Ne=function(){return ca},xe=sa,Ae=fa,He=function(e){return e.nextSibling},Je=function(e,t){return e.querySelector(t)},Qe=function(e,t){return e.querySelectorAll(t)},Re=function(e,t){t.removeChild(e)},Ke=function(e,t,n){J(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},Ue=function(e,t,n,r){e.removeEventListener(t,n,r)},Ve=function(e,t,n,r){return J(r)?e.setAttribute(t,n):e.setAttributeNS(r,t,n)},Xe=function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},We=function(e,t,n){e[t]=n},Be=function(e,t){e.nodeValue=t},Te=!1,Ge=function(e,t,n,r){e.addEventListener(t,n,r)};var pa=new WeakSet;function ma(e){var t=function(e){return er(e).bridge}(e);return function(t){i(r,t);var n=c(r);function r(){var t;return v(this,r),(t=n.call(this)).isConnected?(ha(s(t),e,{}),pa.add(s(t))):xo(s(t),e,{mode:"open",owner:null,tagName:t.tagName}),t}return p(r,[{key:"connectedCallback",value:function(){pa.has(this)?pa.delete(this):Eo(this)}},{key:"disconnectedCallback",value:function(){Mo(this)}}]),r}(t)}var ya=Node,ga=new WeakMap,wa=new WeakMap;function ba(e,t){var n=t.get(e);return J(n)||n(e),e}var ka=ya.prototype,Ea=ka.appendChild,Ca=ka.insertBefore,Ma=ka.removeChild,Oa=ka.replaceChild;E(ya.prototype,{appendChild:function(e){return ba(Ea.call(this,e),ga)},insertBefore:function(e,t){return ba(Ca.call(this,e,t),ga)},removeChild:function(e){return ba(Ma.call(this,e),wa)},replaceChild:function(e,t){var n=Oa.call(this,e,t);return ba(n,wa),ba(e,ga),n}});var Sa=Node;var Ta=new Map;O(bn,"CustomElementConstructor",{get:function(){return function(e){if(e===bn)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");var t=Ta.get(e);return J(t)&&(t=ma(e),Ta.set(e,t)),t}(this)}}),S(bn),R(bn.prototype),e.LightningElement=bn,e.__unstable__ProfilerControl=Vr,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){var t=Uo(e);if(!J(t))throw new Error("Adapter already has a context provider.");!function(e,t){Go.set(e,t)}(e,t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}());var n=new WeakSet;return function(e,r){if(n.has(e))throw new Error("Adapter was already installed on ".concat(e,"."));n.add(e);var o=r.consumerConnectedCallback,a=r.consumerDisconnectedCallback;e.addEventListener(t,(function(e){var t=e.setNewContext,n=e.setDisconnectedCallback,r={provide:function(e){t(e)}};n((function(){J(a)||a(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!ne(t)||Q(t))throw new TypeError('"createElement" function expects an object as second parameter but received "'.concat(ie(t),'".'));var n=t.is;if(!te(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');var r=nr(e),o=!1,a=new r((function(r){xo(r,n,{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),ga.set(r,Eo),wa.set(r,Mo),o=!0}));return o||console.error('Unexpected tag name "'.concat(e,'". This name is a registered custom element, preventing LWC to upgrade the element.')),a},e.getComponentConstructor=function(e){var t=null;if(e instanceof HTMLElement){var n=No(e);J(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){var t=er(e),n=t.ctor,r=t.name,o=t.props,a=t.propsConfig,i=t.methods,l={};for(var c in o)l[c]={config:a[c]||0,type:"any",attr:he(c)};var u={};for(var s in i)u[s]=i[s].value;return{ctor:n,name:r,props:l,methods:u}},e.hydrateComponent=ha,e.isComponentConstructor=Zn,e.isNodeFromTemplate=function(e){if(ee(e instanceof Sa))return!1;if(e instanceof ShadowRoot)return!1;var t=e.getRootNode();return!!(t instanceof ShadowRoot&&ee(P.call(A(t),"synthetic")))||fa&&!J(e.$shadowResolver$)},e.readonly=function(e){return gn.getReadOnlyProxy(e)},e.register=function(e){for(var t=0;t<so.length;++t){var n=so[t];if(n in e){var r=uo[n];J(r)&&(uo[n]=r=[]),W.call(r,e[n])}}},e.registerComponent=function(e,t){var n=t.tmpl;return ro.set(e,n),e},e.registerDecorators=function(e,t){var n,r=e.prototype,o=t.publicProps,a=t.publicMethods,i=t.wire,l=t.track,c=t.fields,u=C(null),s=C(null),f=C(null),d=C(null),v=C(null),h=C(null);if(!J(o))for(var p in o){var m=o[p];if(h[p]=m.config,n=T(r,p),m.config>0){if(J(n))throw new Error;n=Ln(p,n)}else n=J(n)||J(n.get)?Rn(p):Ln(p,n);s[p]=n,O(r,p,n)}if(J(a)||K.call(a,(function(e){if(J(n=T(r,e)))throw new Error;u[e]=n})),!J(i))for(var y in i){var g=i[y],w=g.adapter,b=g.method,k=g.config,E=g.dynamic,M=void 0===E?[]:E;if(n=T(r,y),1===b){if(J(n))throw new Error;f[y]=n,zo(n,w,k,M)}else n=Nn(y),d[y]=n,qo(n,w,k,M),O(r,y,n)}if(!J(l))for(var S in l)n=T(r,S),n=jn(S),O(r,S,n);if(!J(c))for(var x=0,A=c.length;x<A;x++){var P=c[x];n=T(r,P);var N=!J(o)&&P in o,j=!J(l)&&P in l;N||j||(v[P]=Dn(P))}return function(e,t){Hn.set(e,t)}(e,{apiMethods:u,apiFields:s,apiFieldsConfig:h,wiredMethods:f,wiredFields:d,observedFields:v}),e},e.registerTemplate=function(e){return Fn.add(e),e},e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(J(Oe[e])){var n=j(Oe).map((function(e){return'"'.concat(e,'"')})).join(", ");console.warn('Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'" because it is undefined. Available flags: ').concat(n,"."))}else{var r=Se[e];J(r)?O(Se,e,{value:t}):console.error('Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'". "').concat(e,'" has already been set with the value "').concat(r,'".'))}}else{var o='Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'". Runtime feature flags can only be set to a boolean value.');console.error(o)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var t;k.isFalse(Xo,"Hooks are already overridden, only one definition is allowed."),Xo=!0,t=e.sanitizeHtmlContent,_r=t},e.swapComponent=function(e,t){if(!Se.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!Se.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!Se.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return gn.getProxy(e);throw new Error},e.unwrap=function(e){return gn.unwrapProxy(e)},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0})}));
|