lwc 2.5.6 → 2.5.7
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 +35 -58
- package/dist/engine-dom/iife/es2017/engine-dom.js +34 -58
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +2 -2
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +33 -54
- package/dist/engine-dom/iife/es5/engine-dom.js +34 -58
- package/dist/engine-dom/iife/es5/engine-dom.min.js +2 -2
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +33 -54
- package/dist/engine-dom/umd/es2017/engine-dom.js +34 -58
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +2 -2
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +33 -54
- package/dist/engine-dom/umd/es5/engine-dom.js +34 -58
- package/dist/engine-dom/umd/es5/engine-dom.min.js +2 -2
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +33 -54
- package/dist/engine-server/commonjs/es2017/engine-server.js +42 -66
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +2 -2
- package/dist/engine-server/esm/es2017/engine-server.js +43 -66
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
- package/dist/wire-service/esm/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
- 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 +2 -2
- package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
- 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 +8 -8
|
@@ -344,7 +344,7 @@
|
|
|
344
344
|
CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
|
|
345
345
|
return attributeName;
|
|
346
346
|
}
|
|
347
|
-
/** version: 2.5.
|
|
347
|
+
/** version: 2.5.7 */
|
|
348
348
|
|
|
349
349
|
/*
|
|
350
350
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -516,7 +516,7 @@
|
|
|
516
516
|
|
|
517
517
|
function setFeatureFlagForTest(name, value) {
|
|
518
518
|
}
|
|
519
|
-
/** version: 2.5.
|
|
519
|
+
/** version: 2.5.7 */
|
|
520
520
|
|
|
521
521
|
/* proxy-compat-disable */
|
|
522
522
|
|
|
@@ -2394,7 +2394,9 @@
|
|
|
2394
2394
|
renderer = vm.renderer;
|
|
2395
2395
|
|
|
2396
2396
|
return renderer[rendererMethod](elm);
|
|
2397
|
-
}
|
|
2397
|
+
},
|
|
2398
|
+
configurable: true,
|
|
2399
|
+
enumerable: true
|
|
2398
2400
|
};
|
|
2399
2401
|
};
|
|
2400
2402
|
|
|
@@ -2413,7 +2415,10 @@
|
|
|
2413
2415
|
renderer = vm.renderer;
|
|
2414
2416
|
|
|
2415
2417
|
return renderer[queryMethod](elm, arg);
|
|
2416
|
-
}
|
|
2418
|
+
},
|
|
2419
|
+
configurable: true,
|
|
2420
|
+
enumerable: true,
|
|
2421
|
+
writable: true
|
|
2417
2422
|
};
|
|
2418
2423
|
};
|
|
2419
2424
|
|
|
@@ -3263,7 +3268,7 @@
|
|
|
3263
3268
|
renderMode: 1
|
|
3264
3269
|
/* Shadow */
|
|
3265
3270
|
,
|
|
3266
|
-
shadowSupportMode: "
|
|
3271
|
+
shadowSupportMode: "reset"
|
|
3267
3272
|
/* Default */
|
|
3268
3273
|
,
|
|
3269
3274
|
wire: EmptyObject,
|
|
@@ -3601,38 +3606,6 @@
|
|
|
3601
3606
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
3602
3607
|
*/
|
|
3603
3608
|
|
|
3604
|
-
/**
|
|
3605
|
-
* EXPERIMENTAL: This function acts like a hook for Lightning Locker Service and other similar
|
|
3606
|
-
* libraries to sanitize HTML content. This hook process the content passed via the template to
|
|
3607
|
-
* lwc:inner-html directive.
|
|
3608
|
-
* It is meant to be overridden with setSanitizeHtmlContentHook
|
|
3609
|
-
*/
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
var sanitizeHtmlContentHook = function sanitizeHtmlContentHook() {
|
|
3613
|
-
// locker-service patches this function during runtime to sanitize HTML content.
|
|
3614
|
-
throw new Error('sanitizeHtmlContent hook must be implemented.');
|
|
3615
|
-
};
|
|
3616
|
-
/**
|
|
3617
|
-
* Sets the sanitizeHtmlContentHook.
|
|
3618
|
-
*
|
|
3619
|
-
* @param newHookImpl
|
|
3620
|
-
* @returns oldHookImplementation.
|
|
3621
|
-
*/
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
function setSanitizeHtmlContentHook(newHookImpl) {
|
|
3625
|
-
var currentHook = sanitizeHtmlContentHook;
|
|
3626
|
-
sanitizeHtmlContentHook = newHookImpl;
|
|
3627
|
-
return currentHook;
|
|
3628
|
-
}
|
|
3629
|
-
/*
|
|
3630
|
-
* Copyright (c) 2018, salesforce.com, inc.
|
|
3631
|
-
* All rights reserved.
|
|
3632
|
-
* SPDX-License-Identifier: MIT
|
|
3633
|
-
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
3634
|
-
*/
|
|
3635
|
-
|
|
3636
3609
|
|
|
3637
3610
|
var SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
|
|
3638
3611
|
var SymbolIterator = Symbol.iterator;
|
|
@@ -4114,6 +4087,26 @@
|
|
|
4114
4087
|
|
|
4115
4088
|
markAsDynamicChildren(vnodes);
|
|
4116
4089
|
return vnodes;
|
|
4090
|
+
}
|
|
4091
|
+
/**
|
|
4092
|
+
* EXPERIMENTAL: This function acts like a hook for Lightning Locker Service and other similar
|
|
4093
|
+
* libraries to sanitize HTML content. This hook process the content passed via the template to
|
|
4094
|
+
* lwc:inner-html directive.
|
|
4095
|
+
* It is meant to be overridden with setSanitizeHtmlContentHook, it throws an error by default.
|
|
4096
|
+
*/
|
|
4097
|
+
|
|
4098
|
+
|
|
4099
|
+
var sanitizeHtmlContentHook = function sanitizeHtmlContentHook() {
|
|
4100
|
+
// locker-service patches this function during runtime to sanitize HTML content.
|
|
4101
|
+
throw new Error('sanitizeHtmlContent hook must be implemented.');
|
|
4102
|
+
};
|
|
4103
|
+
/**
|
|
4104
|
+
* Sets the sanitizeHtmlContentHook.
|
|
4105
|
+
*/
|
|
4106
|
+
|
|
4107
|
+
|
|
4108
|
+
function setSanitizeHtmlContentHook(newHookImpl) {
|
|
4109
|
+
sanitizeHtmlContentHook = newHookImpl;
|
|
4117
4110
|
} // [s]anitize [h]tml [c]ontent
|
|
4118
4111
|
|
|
4119
4112
|
|
|
@@ -5710,25 +5703,12 @@
|
|
|
5710
5703
|
|
|
5711
5704
|
var hooksAreSet = false;
|
|
5712
5705
|
|
|
5713
|
-
function overrideHooks(hooks) {
|
|
5714
|
-
var oldHooks = {};
|
|
5715
|
-
|
|
5716
|
-
if (!isUndefined$1(hooks.sanitizeHtmlContent)) {
|
|
5717
|
-
oldHooks.sanitizeHtmlContent = setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
|
|
5718
|
-
}
|
|
5719
|
-
|
|
5720
|
-
return oldHooks;
|
|
5721
|
-
}
|
|
5722
|
-
|
|
5723
5706
|
function setHooks(hooks) {
|
|
5724
5707
|
assert.isFalse(hooksAreSet, 'Hooks are already overridden, only one definition is allowed.');
|
|
5725
|
-
overrideHooks(hooks);
|
|
5726
5708
|
hooksAreSet = true;
|
|
5709
|
+
setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
|
|
5727
5710
|
}
|
|
5728
|
-
|
|
5729
|
-
function setHooksForTest(hooks) {
|
|
5730
|
-
}
|
|
5731
|
-
/* version: 2.5.6 */
|
|
5711
|
+
/* version: 2.5.7 */
|
|
5732
5712
|
|
|
5733
5713
|
/*
|
|
5734
5714
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -6279,7 +6259,7 @@
|
|
|
6279
6259
|
});
|
|
6280
6260
|
freeze(LightningElement);
|
|
6281
6261
|
seal(LightningElement.prototype);
|
|
6282
|
-
/* version: 2.5.
|
|
6262
|
+
/* version: 2.5.7 */
|
|
6283
6263
|
|
|
6284
6264
|
exports.LightningElement = LightningElement;
|
|
6285
6265
|
exports.__unstable__ProfilerControl = profilerControl;
|
|
@@ -6300,7 +6280,6 @@
|
|
|
6300
6280
|
exports.setFeatureFlag = setFeatureFlag;
|
|
6301
6281
|
exports.setFeatureFlagForTest = setFeatureFlagForTest;
|
|
6302
6282
|
exports.setHooks = setHooks;
|
|
6303
|
-
exports.setHooksForTest = setHooksForTest;
|
|
6304
6283
|
exports.swapComponent = swapComponent;
|
|
6305
6284
|
exports.swapStyle = swapStyle;
|
|
6306
6285
|
exports.swapTemplate = swapTemplate;
|
|
@@ -339,7 +339,7 @@ function htmlPropertyToAttribute(propName) {
|
|
|
339
339
|
CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
|
|
340
340
|
return attributeName;
|
|
341
341
|
}
|
|
342
|
-
/** version: 2.5.
|
|
342
|
+
/** version: 2.5.7 */
|
|
343
343
|
|
|
344
344
|
/*
|
|
345
345
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -460,7 +460,7 @@ function setFeatureFlagForTest(name, value) {
|
|
|
460
460
|
setFeatureFlag(name, value);
|
|
461
461
|
}
|
|
462
462
|
}
|
|
463
|
-
/** version: 2.5.
|
|
463
|
+
/** version: 2.5.7 */
|
|
464
464
|
|
|
465
465
|
/* proxy-compat-disable */
|
|
466
466
|
|
|
@@ -3076,8 +3076,10 @@ for (const [elementProp, rendererMethod] of childGetters) {
|
|
|
3076
3076
|
}
|
|
3077
3077
|
|
|
3078
3078
|
return renderer[rendererMethod](elm);
|
|
3079
|
-
}
|
|
3079
|
+
},
|
|
3080
3080
|
|
|
3081
|
+
configurable: true,
|
|
3082
|
+
enumerable: true
|
|
3081
3083
|
};
|
|
3082
3084
|
}
|
|
3083
3085
|
|
|
@@ -3097,8 +3099,11 @@ for (const queryMethod of queryMethods) {
|
|
|
3097
3099
|
}
|
|
3098
3100
|
|
|
3099
3101
|
return renderer[queryMethod](elm, arg);
|
|
3100
|
-
}
|
|
3102
|
+
},
|
|
3101
3103
|
|
|
3104
|
+
configurable: true,
|
|
3105
|
+
enumerable: true,
|
|
3106
|
+
writable: true
|
|
3102
3107
|
};
|
|
3103
3108
|
}
|
|
3104
3109
|
|
|
@@ -4136,7 +4141,7 @@ function createComponentDef(Ctor) {
|
|
|
4136
4141
|
if (!isUndefined$1(ctorShadowSupportMode)) {
|
|
4137
4142
|
assert.invariant(ctorShadowSupportMode === "any"
|
|
4138
4143
|
/* Any */
|
|
4139
|
-
|| ctorShadowSupportMode === "
|
|
4144
|
+
|| ctorShadowSupportMode === "reset"
|
|
4140
4145
|
/* Default */
|
|
4141
4146
|
, `Invalid value for static property shadowSupportMode: '${ctorShadowSupportMode}'`);
|
|
4142
4147
|
}
|
|
@@ -4298,7 +4303,7 @@ const lightingElementDef = {
|
|
|
4298
4303
|
renderMode: 1
|
|
4299
4304
|
/* Shadow */
|
|
4300
4305
|
,
|
|
4301
|
-
shadowSupportMode: "
|
|
4306
|
+
shadowSupportMode: "reset"
|
|
4302
4307
|
/* Default */
|
|
4303
4308
|
,
|
|
4304
4309
|
wire: EmptyObject,
|
|
@@ -4701,38 +4706,6 @@ function getUpgradableConstructor(tagName, renderer) {
|
|
|
4701
4706
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
4702
4707
|
*/
|
|
4703
4708
|
|
|
4704
|
-
/**
|
|
4705
|
-
* EXPERIMENTAL: This function acts like a hook for Lightning Locker Service and other similar
|
|
4706
|
-
* libraries to sanitize HTML content. This hook process the content passed via the template to
|
|
4707
|
-
* lwc:inner-html directive.
|
|
4708
|
-
* It is meant to be overridden with setSanitizeHtmlContentHook
|
|
4709
|
-
*/
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
let sanitizeHtmlContentHook = () => {
|
|
4713
|
-
// locker-service patches this function during runtime to sanitize HTML content.
|
|
4714
|
-
throw new Error('sanitizeHtmlContent hook must be implemented.');
|
|
4715
|
-
};
|
|
4716
|
-
/**
|
|
4717
|
-
* Sets the sanitizeHtmlContentHook.
|
|
4718
|
-
*
|
|
4719
|
-
* @param newHookImpl
|
|
4720
|
-
* @returns oldHookImplementation.
|
|
4721
|
-
*/
|
|
4722
|
-
|
|
4723
|
-
|
|
4724
|
-
function setSanitizeHtmlContentHook(newHookImpl) {
|
|
4725
|
-
const currentHook = sanitizeHtmlContentHook;
|
|
4726
|
-
sanitizeHtmlContentHook = newHookImpl;
|
|
4727
|
-
return currentHook;
|
|
4728
|
-
}
|
|
4729
|
-
/*
|
|
4730
|
-
* Copyright (c) 2018, salesforce.com, inc.
|
|
4731
|
-
* All rights reserved.
|
|
4732
|
-
* SPDX-License-Identifier: MIT
|
|
4733
|
-
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
4734
|
-
*/
|
|
4735
|
-
|
|
4736
4709
|
|
|
4737
4710
|
const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
|
|
4738
4711
|
const SymbolIterator = Symbol.iterator;
|
|
@@ -5374,6 +5347,26 @@ function sc(vnodes) {
|
|
|
5374
5347
|
|
|
5375
5348
|
markAsDynamicChildren(vnodes);
|
|
5376
5349
|
return vnodes;
|
|
5350
|
+
}
|
|
5351
|
+
/**
|
|
5352
|
+
* EXPERIMENTAL: This function acts like a hook for Lightning Locker Service and other similar
|
|
5353
|
+
* libraries to sanitize HTML content. This hook process the content passed via the template to
|
|
5354
|
+
* lwc:inner-html directive.
|
|
5355
|
+
* It is meant to be overridden with setSanitizeHtmlContentHook, it throws an error by default.
|
|
5356
|
+
*/
|
|
5357
|
+
|
|
5358
|
+
|
|
5359
|
+
let sanitizeHtmlContentHook = () => {
|
|
5360
|
+
// locker-service patches this function during runtime to sanitize HTML content.
|
|
5361
|
+
throw new Error('sanitizeHtmlContent hook must be implemented.');
|
|
5362
|
+
};
|
|
5363
|
+
/**
|
|
5364
|
+
* Sets the sanitizeHtmlContentHook.
|
|
5365
|
+
*/
|
|
5366
|
+
|
|
5367
|
+
|
|
5368
|
+
function setSanitizeHtmlContentHook(newHookImpl) {
|
|
5369
|
+
sanitizeHtmlContentHook = newHookImpl;
|
|
5377
5370
|
} // [s]anitize [h]tml [c]ontent
|
|
5378
5371
|
|
|
5379
5372
|
|
|
@@ -7189,28 +7182,12 @@ function readonly(obj) {
|
|
|
7189
7182
|
|
|
7190
7183
|
let hooksAreSet = false;
|
|
7191
7184
|
|
|
7192
|
-
function overrideHooks(hooks) {
|
|
7193
|
-
const oldHooks = {};
|
|
7194
|
-
|
|
7195
|
-
if (!isUndefined$1(hooks.sanitizeHtmlContent)) {
|
|
7196
|
-
oldHooks.sanitizeHtmlContent = setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
|
|
7197
|
-
}
|
|
7198
|
-
|
|
7199
|
-
return oldHooks;
|
|
7200
|
-
}
|
|
7201
|
-
|
|
7202
7185
|
function setHooks(hooks) {
|
|
7203
7186
|
assert.isFalse(hooksAreSet, 'Hooks are already overridden, only one definition is allowed.');
|
|
7204
|
-
overrideHooks(hooks);
|
|
7205
7187
|
hooksAreSet = true;
|
|
7188
|
+
setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
|
|
7206
7189
|
}
|
|
7207
|
-
|
|
7208
|
-
function setHooksForTest(hooks) {
|
|
7209
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
7210
|
-
return overrideHooks(hooks);
|
|
7211
|
-
}
|
|
7212
|
-
}
|
|
7213
|
-
/* version: 2.5.6 */
|
|
7190
|
+
/* version: 2.5.7 */
|
|
7214
7191
|
|
|
7215
7192
|
/*
|
|
7216
7193
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -7240,7 +7217,7 @@ var HostNodeType;
|
|
|
7240
7217
|
const CLASSNAMES_SEPARATOR = /\s+/g;
|
|
7241
7218
|
|
|
7242
7219
|
function classNameToTokenList(value) {
|
|
7243
|
-
return new Set(value.
|
|
7220
|
+
return new Set(value.split(CLASSNAMES_SEPARATOR).filter(str => str.length));
|
|
7244
7221
|
}
|
|
7245
7222
|
|
|
7246
7223
|
function tokenListToClassName(values) {
|
|
@@ -7509,18 +7486,18 @@ const renderer = {
|
|
|
7509
7486
|
},
|
|
7510
7487
|
|
|
7511
7488
|
setCSSStyleProperty(element, name, value, important) {
|
|
7512
|
-
|
|
7489
|
+
const styleAttribute = element.attributes.find(attr => attr.name === 'style' && isNull(attr.namespace));
|
|
7490
|
+
const serializedProperty = `${name}: ${value}${important ? ' !important' : ''}`;
|
|
7513
7491
|
|
|
7514
7492
|
if (isUndefined$1(styleAttribute)) {
|
|
7515
|
-
|
|
7493
|
+
element.attributes.push({
|
|
7516
7494
|
name: 'style',
|
|
7517
7495
|
namespace: null,
|
|
7518
|
-
value:
|
|
7519
|
-
};
|
|
7520
|
-
|
|
7496
|
+
value: serializedProperty
|
|
7497
|
+
});
|
|
7498
|
+
} else {
|
|
7499
|
+
styleAttribute.value += `; ${serializedProperty}`;
|
|
7521
7500
|
}
|
|
7522
|
-
|
|
7523
|
-
styleAttribute.value = `${styleAttribute.value}; ${name}: ${value}${important ? ' !important' : ''}`;
|
|
7524
7501
|
},
|
|
7525
7502
|
|
|
7526
7503
|
isConnected(node) {
|
|
@@ -7701,7 +7678,7 @@ function renderComponent(tagName, Ctor, props = {}) {
|
|
|
7701
7678
|
|
|
7702
7679
|
freeze(LightningElement);
|
|
7703
7680
|
seal(LightningElement.prototype);
|
|
7704
|
-
/* version: 2.5.
|
|
7681
|
+
/* version: 2.5.7 */
|
|
7705
7682
|
|
|
7706
7683
|
exports.LightningElement = LightningElement;
|
|
7707
7684
|
exports.api = api$1;
|
|
@@ -7718,7 +7695,6 @@ exports.sanitizeAttribute = sanitizeAttribute;
|
|
|
7718
7695
|
exports.setFeatureFlag = setFeatureFlag;
|
|
7719
7696
|
exports.setFeatureFlagForTest = setFeatureFlagForTest;
|
|
7720
7697
|
exports.setHooks = setHooks;
|
|
7721
|
-
exports.setHooksForTest = setHooksForTest;
|
|
7722
7698
|
exports.track = track;
|
|
7723
7699
|
exports.unwrap = unwrap;
|
|
7724
7700
|
exports.wire = wire;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:t,create:n,defineProperties:r,defineProperty:o,freeze:i,getOwnPropertyDescriptor:s,getOwnPropertyNames:a,getPrototypeOf:l,hasOwnProperty:c,isFrozen:u,keys:d,seal:f,setPrototypeOf:p}=Object,{isArray:h}=Array,{filter:m,find:g,indexOf:w,join:y,map:v,push:b,reduce:C,reverse:E,slice:k,splice:S,unshift:x,forEach:M}=Array.prototype,{fromCharCode:T}=String,{charCodeAt:A,replace:O,slice:P,toLowerCase:$}=String.prototype;function L(e){return void 0===e}function N(e){return null===e}function D(e){return!0===e}function _(e){return!1===e}function F(e){return"function"==typeof e}function R(e){return"string"==typeof e}function I(){}const H={}.toString;function B(e){return e&&e.toString?h(e)?y.call(v.call(e,B),","):e.toString():"object"==typeof e?H.call(e):e+""}function j(e,t){do{const n=s(e,t);if(!L(n))return n;e=l(e)}while(null!==e)}const W=["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"],{AriaAttrNameToPropNameMap:V,AriaPropNameToAttrNameMap:K}=(()=>{const e=n(null),t=n(null);return M.call(W,(n=>{const r=$.call(O.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function z(e){return e in V}const G=function(){if("object"==typeof globalThis)return globalThis;let 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}(),q=new Set(["area","base","br","circle","col","ellipse","feBlend","feColorMatrix","feFuncR","feFuncG","feFuncB","feFuncA","feImage","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","fePointLight","embed","hr","img","input","keygen","line","link","menuitem","meta","param","rect","source","track","wbr"]);const U=new Map([["autofocus",new Set(["button","input","keygen","select","textarea"])],["autoplay",new Set(["audio","video"])],["checked",new Set(["command","input"])],["disabled",new Set(["button","command","fieldset","input","keygen","optgroup","select","textarea"])],["formnovalidate",new Set(["button"])],["hidden",new Set],["loop",new Set(["audio","bgsound","marquee","video"])],["multiple",new Set(["input","select"])],["muted",new Set(["audio","video"])],["novalidate",new Set(["form"])],["open",new Set(["details"])],["readonly",new Set(["input","textarea"])],["required",new Set(["input","select","textarea"])],["reversed",new Set(["ol"])],["selected",new Set(["option"])]]);function X(e,t){const n=U.get(e);return void 0!==n&&(0===n.size||n.has(t))}const Y=new Set(["role","accesskey","class","contenteditable","contextmenu","dir","draggable","dropzone","hidden","id","itemprop","lang","slot","spellcheck","style","tabindex","title"]);function J(e){return Y.has(e)}const Q=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"]]),Z=new Map;function ee(e){const t=K[e];if(!L(t))return t;const n=Q.get(e);if(!L(n))return n;const r=Z.get(e);if(!L(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=A.call(e,t);o+=n>=65&&n<=90?"-"+T(n+32):T(n)}return Z.set(e,o),o}if("function"!=typeof Event&&"function"!=typeof CustomEvent){class e{}class t extends e{}r(G,{Event:{value:e,configurable:!0,writable:!0},CustomEvent:{value:t,configurable:!0,writable:!0}})}const te={ENABLE_REACTIVE_SETTER:null,ENABLE_HMR:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_NON_COMPOSED_EVENTS_LEAKAGE:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_WIRE_SYNC_EMIT:null};G.lwcRuntimeFlags||Object.defineProperty(G,"lwcRuntimeFlags",{value:n(null)});const ne=G.lwcRuntimeFlags;let re=[];const oe=f(n(null)),ie=f([]);function se(){const e=re;re=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function ae(e){0===re.length&&Promise.resolve().then(se),b.call(re,e)}const le=new WeakMap;let ce=null;function ue(e,t){const n=le.get(e);if(!L(n)){const e=n[t];if(!L(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function de(e,t){if(null===ce)return;const r=ce,o=function(e){let t=le.get(e);if(L(t)){const r=n(null);t=r,le.set(e,r)}return t}(e);let i=o[t];if(L(i))i=[],o[t]=i;else if(i[0]===r)return;-1===w.call(i,r)&&r.link(i)}class fe{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=ce;let n;ce=this;try{e()}catch(e){n=Object(e)}finally{if(ce=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],r=w.call(e[n],this);S.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){b.call(e,this),b.call(this.listeners,e)}}function pe(e,t){ue(e.component,t)}function he(e,t){de(e.component,t)}function me(e){return`<${$.call(e.tagName)}>`}function ge(e){const{elm:t,data:{on:n},owner:{renderer:r}}=e;if(L(n))return;const o=e.listener=function e(t){!function(e,t){const{type:n}=e,{data:{on:r}}=t,o=r&&r[n];o&&o.call(void 0,e)}(t,e.vnode)};let i;for(i in o.vnode=e,n)r.addEventListener(t,i,o)}var we={update:function(e,t){L(e.listener)?ge(t):(t.listener=e.listener,t.listener.vnode=t)},create:ge};function ye(e){return`Using the \`${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.`}t(n(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:ye("offsetHeight")},offsetLeft:{readOnly:!0,error:ye("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:ye("offsetTop")},offsetWidth:{readOnly:!0,error:ye("offsetWidth")},role:{attribute:"role"}});let ve,be=null;function Ce(e,t){return e!==be||t!==ve}function Ee(e,t){be=null,ve=void 0}function ke(e,t){be=e,ve=t}function Se(e,t){const{data:{attrs:n},owner:{renderer:r}}=t;if(L(n))return;let{data:{attrs:o}}=e;if(o===n)return;const i=t.elm,{setAttribute:s,removeAttribute:a}=r;let l;for(l in o=L(o)?oe:o,n){const e=n[l];o[l]!==e&&(ke(i,l),58===A.call(l,3)?s(i,l,e,"http://www.w3.org/XML/1998/namespace"):58===A.call(l,5)?s(i,l,e,"http://www.w3.org/1999/xlink"):N(e)?a(i,l):s(i,l,e),Ee())}}const xe={data:{}};var Me={create:e=>Se(xe,e),update:Se};function Te(e,t){return"input"===e&&("value"===t||"checked"===t)}function Ae(e,t){const n=t.data.props;if(L(n))return;const r=e.data.props;if(r===n)return;const o=L(r),{elm:i,sel:s,owner:{renderer:a}}=t;for(const e in n){const t=n[e];(o||t!==(Te(s,e)?a.getProperty(i,e):r[e]))&&a.setProperty(i,e,t)}}const Oe={data:{}};var Pe={create:e=>Ae(Oe,e),update:Ae};const $e=n(null);function Le(e){if(null==e)return oe;e=R(e)?e:e+"";let t=$e[e];if(t)return t;t=n(null);let r,o=0;const i=e.length;for(r=0;r<i;r++)32===A.call(e,r)&&(r>o&&(t[P.call(e,o,r)]=!0),o=r+1);return r>o&&(t[P.call(e,o,r)]=!0),$e[e]=t,t}function Ne(e,t){const{elm:n,data:{className:r},owner:{renderer:o}}=t,{data:{className:i}}=e;if(i===r)return;const s=o.getClassList(n),a=Le(r),l=Le(i);let c;for(c in l)L(a[c])&&s.remove(c);for(c in a)L(l[c])&&s.add(c)}const De={data:{}};var _e={create:e=>Ne(De,e),update:Ne};function Fe(e,t){const{elm:n,data:{style:r},owner:{renderer:o}}=t,{setAttribute:i,removeAttribute:s}=o;e.data.style!==r&&(R(r)&&""!==r?i(n,"style",r):s(n,"style"))}const Re={data:{}};var Ie={create:e=>Fe(Re,e),update:Fe};var He={create:function(e){const{elm:t,data:{classMap:n},owner:{renderer:r}}=e;if(L(n))return;const o=r.getClassList(t);for(const e in n)o.add(e)}};var Be={create:function(e){const{elm:t,data:{styleDecls:n},owner:{renderer:r}}=e;if(!L(n))for(let e=0;e<n.length;e++){const[o,i,s]=n[e];r.setCSSStyleProperty(t,o,i,s)}}};
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:t,create:n,defineProperties:r,defineProperty:o,freeze:i,getOwnPropertyDescriptor:s,getOwnPropertyNames:a,getPrototypeOf:l,hasOwnProperty:c,isFrozen:u,keys:d,seal:f,setPrototypeOf:p}=Object,{isArray:h}=Array,{filter:m,find:g,indexOf:w,join:y,map:b,push:v,reduce:C,reverse:E,slice:k,splice:S,unshift:x,forEach:M}=Array.prototype,{fromCharCode:T}=String,{charCodeAt:A,replace:O,slice:P,toLowerCase:$}=String.prototype;function L(e){return void 0===e}function N(e){return null===e}function D(e){return!0===e}function _(e){return!1===e}function F(e){return"function"==typeof e}function R(e){return"string"==typeof e}function I(){}const H={}.toString;function B(e){return e&&e.toString?h(e)?y.call(b.call(e,B),","):e.toString():"object"==typeof e?H.call(e):e+""}function j(e,t){do{const n=s(e,t);if(!L(n))return n;e=l(e)}while(null!==e)}const W=["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"],{AriaAttrNameToPropNameMap:V,AriaPropNameToAttrNameMap:K}=(()=>{const e=n(null),t=n(null);return M.call(W,(n=>{const r=$.call(O.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function z(e){return e in V}const G=function(){if("object"==typeof globalThis)return globalThis;let 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}(),q=new Set(["area","base","br","circle","col","ellipse","feBlend","feColorMatrix","feFuncR","feFuncG","feFuncB","feFuncA","feImage","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","fePointLight","embed","hr","img","input","keygen","line","link","menuitem","meta","param","rect","source","track","wbr"]);const U=new Map([["autofocus",new Set(["button","input","keygen","select","textarea"])],["autoplay",new Set(["audio","video"])],["checked",new Set(["command","input"])],["disabled",new Set(["button","command","fieldset","input","keygen","optgroup","select","textarea"])],["formnovalidate",new Set(["button"])],["hidden",new Set],["loop",new Set(["audio","bgsound","marquee","video"])],["multiple",new Set(["input","select"])],["muted",new Set(["audio","video"])],["novalidate",new Set(["form"])],["open",new Set(["details"])],["readonly",new Set(["input","textarea"])],["required",new Set(["input","select","textarea"])],["reversed",new Set(["ol"])],["selected",new Set(["option"])]]);function X(e,t){const n=U.get(e);return void 0!==n&&(0===n.size||n.has(t))}const Y=new Set(["role","accesskey","class","contenteditable","contextmenu","dir","draggable","dropzone","hidden","id","itemprop","lang","slot","spellcheck","style","tabindex","title"]);function J(e){return Y.has(e)}const Q=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"]]),Z=new Map;function ee(e){const t=K[e];if(!L(t))return t;const n=Q.get(e);if(!L(n))return n;const r=Z.get(e);if(!L(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=A.call(e,t);o+=n>=65&&n<=90?"-"+T(n+32):T(n)}return Z.set(e,o),o}if("function"!=typeof Event&&"function"!=typeof CustomEvent){class e{}class t extends e{}r(G,{Event:{value:e,configurable:!0,writable:!0},CustomEvent:{value:t,configurable:!0,writable:!0}})}const te={ENABLE_REACTIVE_SETTER:null,ENABLE_HMR:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_NON_COMPOSED_EVENTS_LEAKAGE:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_WIRE_SYNC_EMIT:null};G.lwcRuntimeFlags||Object.defineProperty(G,"lwcRuntimeFlags",{value:n(null)});const ne=G.lwcRuntimeFlags;let re=[];const oe=f(n(null)),ie=f([]);function se(){const e=re;re=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function ae(e){0===re.length&&Promise.resolve().then(se),v.call(re,e)}const le=new WeakMap;let ce=null;function ue(e,t){const n=le.get(e);if(!L(n)){const e=n[t];if(!L(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function de(e,t){if(null===ce)return;const r=ce,o=function(e){let t=le.get(e);if(L(t)){const r=n(null);t=r,le.set(e,r)}return t}(e);let i=o[t];if(L(i))i=[],o[t]=i;else if(i[0]===r)return;-1===w.call(i,r)&&r.link(i)}class fe{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=ce;let n;ce=this;try{e()}catch(e){n=Object(e)}finally{if(ce=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],r=w.call(e[n],this);S.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){v.call(e,this),v.call(this.listeners,e)}}function pe(e,t){ue(e.component,t)}function he(e,t){de(e.component,t)}function me(e){return`<${$.call(e.tagName)}>`}function ge(e){const{elm:t,data:{on:n},owner:{renderer:r}}=e;if(L(n))return;const o=e.listener=function e(t){!function(e,t){const{type:n}=e,{data:{on:r}}=t,o=r&&r[n];o&&o.call(void 0,e)}(t,e.vnode)};let i;for(i in o.vnode=e,n)r.addEventListener(t,i,o)}var we={update:function(e,t){L(e.listener)?ge(t):(t.listener=e.listener,t.listener.vnode=t)},create:ge};function ye(e){return`Using the \`${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.`}t(n(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:ye("offsetHeight")},offsetLeft:{readOnly:!0,error:ye("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:ye("offsetTop")},offsetWidth:{readOnly:!0,error:ye("offsetWidth")},role:{attribute:"role"}});let be,ve=null;function Ce(e,t){return e!==ve||t!==be}function Ee(e,t){ve=null,be=void 0}function ke(e,t){ve=e,be=t}function Se(e,t){const{data:{attrs:n},owner:{renderer:r}}=t;if(L(n))return;let{data:{attrs:o}}=e;if(o===n)return;const i=t.elm,{setAttribute:s,removeAttribute:a}=r;let l;for(l in o=L(o)?oe:o,n){const e=n[l];o[l]!==e&&(ke(i,l),58===A.call(l,3)?s(i,l,e,"http://www.w3.org/XML/1998/namespace"):58===A.call(l,5)?s(i,l,e,"http://www.w3.org/1999/xlink"):N(e)?a(i,l):s(i,l,e),Ee())}}const xe={data:{}};var Me={create:e=>Se(xe,e),update:Se};function Te(e,t){return"input"===e&&("value"===t||"checked"===t)}function Ae(e,t){const n=t.data.props;if(L(n))return;const r=e.data.props;if(r===n)return;const o=L(r),{elm:i,sel:s,owner:{renderer:a}}=t;for(const e in n){const t=n[e];(o||t!==(Te(s,e)?a.getProperty(i,e):r[e]))&&a.setProperty(i,e,t)}}const Oe={data:{}};var Pe={create:e=>Ae(Oe,e),update:Ae};const $e=n(null);function Le(e){if(null==e)return oe;e=R(e)?e:e+"";let t=$e[e];if(t)return t;t=n(null);let r,o=0;const i=e.length;for(r=0;r<i;r++)32===A.call(e,r)&&(r>o&&(t[P.call(e,o,r)]=!0),o=r+1);return r>o&&(t[P.call(e,o,r)]=!0),$e[e]=t,t}function Ne(e,t){const{elm:n,data:{className:r},owner:{renderer:o}}=t,{data:{className:i}}=e;if(i===r)return;const s=o.getClassList(n),a=Le(r),l=Le(i);let c;for(c in l)L(a[c])&&s.remove(c);for(c in a)L(l[c])&&s.add(c)}const De={data:{}};var _e={create:e=>Ne(De,e),update:Ne};function Fe(e,t){const{elm:n,data:{style:r},owner:{renderer:o}}=t,{setAttribute:i,removeAttribute:s}=o;e.data.style!==r&&(R(r)&&""!==r?i(n,"style",r):s(n,"style"))}const Re={data:{}};var Ie={create:e=>Fe(Re,e),update:Fe};var He={create:function(e){const{elm:t,data:{classMap:n},owner:{renderer:r}}=e;if(L(n))return;const o=r.getClassList(t);for(const e in n)o.add(e)}};var Be={create:function(e){const{elm:t,data:{styleDecls:n},owner:{renderer:r}}=e;if(!L(n))for(let e=0;e<n.length;e++){const[o,i,s]=n[e];r.setCSSStyleProperty(t,o,i,s)}}};
|
|
2
2
|
/**
|
|
3
3
|
@license
|
|
4
4
|
Copyright (c) 2015 Simon Friis Vindum.
|
|
@@ -6,4 +6,4 @@ This code may only be used under the MIT License found at
|
|
|
6
6
|
https://github.com/snabbdom/snabbdom/blob/master/LICENSE
|
|
7
7
|
Code distributed by Snabbdom as part of the Snabbdom project at
|
|
8
8
|
https://github.com/snabbdom/snabbdom/
|
|
9
|
-
*/function je(e){return void 0===e}function We(e,t){return e.key===t.key&&e.sel===t.sel}function Ve(e){return null!=e}function Ke(e,t,n){const r={};let o,i,s;for(o=t;o<=n;++o)s=e[o],Ve(s)&&(i=s.key,void 0!==i&&(r[i]=o));return r}function ze(e,t,n,r,o){for(;r<=o;++r){const o=n[r];Ve(o)&&(o.hook.create(o),o.hook.insert(o,e,t))}}function Ge(e,t,n,r){for(;n<=r;++n){const r=t[n];Ve(r)&&r.hook.remove(r,e)}}function qe(e,t,n){let r=0,o=0,i=t.length-1,s=t[0],a=t[i];const l=n.length-1;let c,u,d,f,p=l,h=n[0],m=n[p];for(;r<=i&&o<=p;)Ve(s)?Ve(a)?Ve(h)?Ve(m)?We(s,h)?(Xe(s,h),s=t[++r],h=n[++o]):We(a,m)?(Xe(a,m),a=t[--i],m=n[--p]):We(s,m)?(Xe(s,m),m.hook.move(s,e,a.owner.renderer.nextSibling(a.elm)),s=t[++r],m=n[--p]):We(a,h)?(Xe(a,h),h.hook.move(a,e,s.elm),a=t[--i],h=n[++o]):(void 0===c&&(c=Ke(t,r,i)),u=c[h.key],je(u)?(h.hook.create(h),h.hook.insert(h,e,s.elm),h=n[++o]):(d=t[u],Ve(d)&&(d.sel!==h.sel?(h.hook.create(h),h.hook.insert(h,e,s.elm)):(Xe(d,h),t[u]=void 0,h.hook.move(d,e,s.elm))),h=n[++o])):m=n[--p]:h=n[++o]:a=t[--i]:s=t[++r];if(r<=i||o<=p)if(r>i){let t,r=p;do{t=n[++r]}while(!Ve(t)&&r<l);f=Ve(t)?t.elm:null,ze(e,f,n,o,p)}else Ge(e,t,r,i)}function Ue(e,t,n){const r=t.length,o=n.length;if(0===r)return void ze(e,null,n,0,o);if(0===o)return void Ge(e,t,0,r);let i=null;for(let r=o-1;r>=0;r-=1){const o=n[r],s=t[r];o!==s&&(Ve(s)?Ve(o)?(Xe(s,o),i=o.elm):s.hook.remove(s,e):Ve(o)&&(o.hook.create(o),o.hook.insert(o,e,i),i=o.elm))}}function Xe(e,t){e!==t&&(t.elm=e.elm,t.hook.update(e,t))}const Ye="undefined"!=typeof HTMLElement?HTMLElement:function(){},Je=Ye.prototype,Qe=n(null);M.call(d(K),(e=>{const t=j(Je,e);L(t)||(Qe[e]=t)})),M.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=j(Je,e);L(t)||(Qe[e]=t)}));const{isArray:Ze}=Array,{getPrototypeOf:et,create:tt,defineProperty:nt,defineProperties:rt,isExtensible:ot,getOwnPropertyDescriptor:it,getOwnPropertyNames:st,getOwnPropertySymbols:at,preventExtensions:lt,hasOwnProperty:ct}=Object,{push:ut,concat:dt,map:ft}=Array.prototype;function pt(e){return void 0===e}function ht(e){return"function"==typeof e}const mt=new WeakMap;function gt(e,t){mt.set(e,t)}const wt=e=>mt.get(e)||e;class yt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(ct.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;pt(n)||(e.get=this.wrapGetter(n)),pt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=it(n,t);if(!pt(r)){const n=this.wrapDescriptor(r);nt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;dt.call(st(t),at(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;pt(n)||ct.call(e,n)||nt(e,n,tt(null)),lt(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:r}}=this,o=n[t];return r(n,t),this.wrapValue(o)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:r,valueObserved:o}}=this;return o(n,t),t in n||t===r}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,r=pt(n)||ct.call(t,n)?[]:[n];return ut.apply(r,st(t)),ut.apply(r,at(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!ot(e)&&(!!ot(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return et(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=it(n,t);if(pt(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},nt(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const vt=new WeakMap,bt=new WeakMap,Ct=new WeakMap,Et=new WeakMap;class kt extends yt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=vt.get(e);if(!pt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(wt(this)))};return vt.set(e,r),Ct.set(r,e),r}wrapSetter(e){const t=bt.get(e);if(!pt(t))return t;const n=function(t){e.call(wt(this),wt(t))};return bt.set(e,n),Et.set(n,e),n}unwrapDescriptor(e){if(ct.call(e,"value"))e.value=wt(e.value);else{const{set:t,get:n}=e;pt(n)||(e.get=this.unwrapGetter(n)),pt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Ct.get(e);if(!pt(t))return t;const n=this,r=function(){return wt(e.call(n.wrapValue(this)))};return vt.set(r,e),Ct.set(e,r),r}unwrapSetter(e){const t=Et.get(e);if(!pt(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return bt.set(r,e),Et.set(e,r),r}set(e,t,n){const{originalTarget:r,membrane:{valueMutated:o}}=this;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&Ze(r)&&o(r,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:r}}=this;return delete n[t],r(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(ot(e)){const{originalTarget:t}=this;if(lt(t),ot(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!ct.call(r,t)||(nt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const St=new WeakMap,xt=new WeakMap;class Mt extends yt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=St.get(e);if(!pt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(wt(this)))};return St.set(e,r),r}wrapSetter(e){const t=xt.get(e);if(!pt(t))return t;const n=function(e){};return xt.set(e,n),n}set(e,t,n){return!1}deleteProperty(e,t){return!1}setPrototypeOf(e,t){}preventExtensions(e){return!1}defineProperty(e,t,n){return!1}}const Tt=Object.prototype;function At(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(Ze(e))return!0;const t=et(e);return t===Tt||null===t||null===et(t)}const Ot=(e,t)=>{},Pt=(e,t)=>{},$t=e=>e;function Lt(e){return Ze(e)?[]:{}}const Nt=Symbol.for("@@lockerLiveValue");function Dt(e){return e}const _t=new class{constructor(e){if(this.valueDistortion=$t,this.valueMutated=Pt,this.valueObserved=Ot,this.valueIsObservable=At,this.objectGraph=new WeakMap,!pt(e)){const{valueDistortion:t,valueMutated:n,valueObserved:r,valueIsObservable:o,tagPropertyKey:i}=e;this.valueDistortion=ht(t)?t:$t,this.valueMutated=ht(n)?n:Pt,this.valueObserved=ht(r)?r:Ot,this.valueIsObservable=ht(o)?o:At,this.tagPropertyKey=i}}getProxy(e){const t=wt(e),n=this.valueDistortion(t);if(this.valueIsObservable(n)){const r=this.getReactiveState(t,n);return r.readOnly===e?e:r.reactive}return n}getReadOnlyProxy(e){e=wt(e);const t=this.valueDistortion(e);return this.valueIsObservable(t)?this.getReactiveState(e,t).readOnly:t}unwrapProxy(e){return wt(e)}getReactiveState(e,t){const{objectGraph:n}=this;let r=n.get(t);if(r)return r;const o=this;return r={get reactive(){const n=new kt(o,t),r=new Proxy(Lt(t),n);return gt(r,e),nt(this,"reactive",{value:r}),r},get readOnly(){const n=new Mt(o,t),r=new Proxy(Lt(t),n);return gt(r,e),nt(this,"readOnly",{value:r}),r}},n.set(t,r),r}}({valueObserved:de,valueMutated:ue,valueDistortion:Dt,tagPropertyKey:Nt});function Ft(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!F(n))throw new TypeError;if(!F(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=wr(this);if(!Xn(t))return he(t,e),n.call(t.elm)},set(t){const n=wr(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,pe(n,e)),r.call(n.elm,t)}}}const Rt=function(){if(N(Un))throw new ReferenceError("Illegal constructor");const e=Un,{def:t,elm:n,renderer:r}=e,{bridge:o}=t,i=this;if(p(n,o.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return this[Nt]=void 0,gr(i,e),gr(n,e),1===e.renderMode&&It(e),this};function It(e){const{elm:t,mode:n,renderer:r,shadowMode:o,def:{ctor:i}}=e,s=r.attachShadow(t,{"$$lwc-synthetic-mode":1===o,delegatesFocus:Boolean(i.delegatesFocus),mode:n});e.cmpRoot=s,gr(s,e)}Rt.prototype={constructor:Rt,dispatchEvent(e){const{elm:t,renderer:{dispatchEvent:n}}=wr(this);return n(t,e)},addEventListener(e,t,n){const r=wr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,rr(r,t),n)},removeEventListener(e,t,n){const r=wr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,rr(r,t),n)},hasAttribute(e){const{elm:t,renderer:{getAttribute:n}}=wr(this);return!N(n(t,e))},hasAttributeNS(e,t){const{elm:n,renderer:{getAttribute:r}}=wr(this);return!N(r(n,t,e))},removeAttribute(e){const{elm:t,renderer:{removeAttribute:n}}=wr(this);ke(t,e),n(t,e),Ee()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=wr(this);ke(n,t),r(n,t,e),Ee()},getAttribute(e){const{elm:t,renderer:{getAttribute:n}}=wr(this);return n(t,e)},getAttributeNS(e,t){const{elm:n,renderer:{getAttribute:r}}=wr(this);return r(n,t,e)},setAttribute(e,t){const n=wr(this),{elm:r,renderer:{setAttribute:o}}=n;ke(r,e),o(r,e,t),Ee()},setAttributeNS(e,t,n){const r=wr(this),{elm:o,renderer:{setAttribute:i}}=r;ke(o,t),i(o,t,n,e),Ee()},getBoundingClientRect(){const e=wr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const{elm:e,renderer:{isConnected:t}}=wr(this);return t(e)},get classList(){const e=wr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return wr(this).cmpRoot},get shadowRoot(){return null},render(){return wr(this).def.template},toString(){return`[object ${wr(this).def.name}]`}};const Ht=n(null),Bt=[["children","getChildren"],["childNodes","getChildNodes"],["firstChild","getFirstChild"],["firstElementChild","getFirstElementChild"],["lastChild","getLastChild"],["lastElementChild","getLastElementChild"]];for(const[e,t]of Bt)Ht[e]={get(){const e=wr(this),{elm:n,renderer:r}=e;return r[t](n)}};const jt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of jt)Ht[e]={value(t){const n=wr(this),{elm:r,renderer:o}=n;return o[e](r,t)}};r(Rt.prototype,Ht);const Wt=n(null);for(const e in Qe)Wt[e]=Ft(e,Qe[e]);function Vt(e){return{get(){const t=wr(this);return he(t,e),t.cmpFields[e]},set(t){const n=wr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,pe(n,e))},enumerable:!0,configurable:!0}}function Kt(e){return{get(){const t=wr(this);return he(t,e),t.cmpFields[e]},set(t){const n=wr(this),r=_t.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,pe(n,e))},enumerable:!0,configurable:!0}}function zt(e){return{get(){const t=wr(this);if(!Xn(t))return he(t,e),t.cmpProps[e]},set(t){const n=wr(this);n.cmpProps[e]=t,pe(n,e)},enumerable:!0,configurable:!0}}r(Rt.prototype,Wt),o(Rt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class Gt extends fe{constructor(e,t){super((()=>{_(this.debouncing)&&(this.debouncing=!0,ae((()=>{if(D(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,D(e.isDirty)&&_(r)&&i>0&&fr(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function qt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!F(n))throw new Error;return{get(){return n.call(this)},set(t){const n=wr(this);if(r)if(ne.ENABLE_REACTIVE_SETTER){let o=n.oar[e];L(o)&&(o=n.oar[e]=new Gt(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function Ut(e){return{get(){const t=wr(this);return he(t,e),t.cmpFields[e]},set(t){const n=wr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,pe(n,e))},enumerable:!0,configurable:!0}}const Xt=new Map;const Yt={apiMethods:oe,apiFields:oe,apiFieldsConfig:oe,wiredMethods:oe,wiredFields:oe,observedFields:oe};const Jt=new Set;function Qt(){return[]}Jt.add(Qt);const Zt=n(null),en=n(null);function tn(e){let t=Zt[e];return L(t)&&(t=Zt[e]=function(){const t=wr(this),{getHook:n}=t;return n(t.component,e)}),t}function nn(e){let t=en[e];return L(t)&&(t=en[e]=function(t){const n=wr(this),{setHook:r}=n;t=_t.getReadOnlyProxy(t),r(n.component,e,t)}),t}function rn(e){return function(){const t=wr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,k.call(arguments))}}function on(e,t){return function(n,r,o){if(r===o)return;const i=e[n];L(i)?L(t)||t.apply(this,arguments):Ce(this,n)&&(this[i]=o)}}function sn(e,t,i){let s;F(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),o(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const a=n(null),{attributeChangedCallback:l}=e.prototype,{observedAttributes:c=[]}=e,u=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];a[ee(n)]=n,u[n]={get:tn(n),set:nn(n),enumerable:!0,configurable:!0}}for(let e=0,t=i.length;e<t;e+=1){const t=i[e];u[t]={value:rn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:on(a,l)},o(s,"observedAttributes",{get:()=>[...c,...d(a)]}),r(s.prototype,u),s}const an=sn(Ye,a(Qe),[]);function ln(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function cn(e){return F(e)&&c.call(e,"__circular__")}i(an),f(an.prototype);const un=new WeakMap;function dn(e){const{shadowSupportMode:o,renderMode:i}=e,s=function(e){const t=Xt.get(e);return L(t)?Yt:t}(e),{apiFields:a,apiFieldsConfig:c,apiMethods:u,wiredFields:f,wiredMethods:p,observedFields:h}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:v,render:b}=m;const C=function(e){let t=l(e);if(N(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(cn(t)){const e=ln(t);t=e===t?Rt:e}return t}(e),E=C!==Rt?pn(C):hn,k=sn(E.bridge,d(a),d(u)),S=t(n(null),E.props,a),x=t(n(null),E.propsConfig,c),M=t(n(null),E.methods,u),T=t(n(null),E.wire,f,p);g=g||E.connectedCallback,w=w||E.disconnectedCallback,y=y||E.renderedCallback,v=v||E.errorCallback,b=b||E.render;let A=E.shadowSupportMode;L(o)||(A=o);let O=E.renderMode;L(i)||(O="light"===i?0:1);const P=function(e){return Qn.get(e)}(e)||E.template,$=e.name||E.name;r(m,h);return{ctor:e,name:$,wire:T,props:S,propsConfig:x,methods:M,bridge:k,template:P,renderMode:O,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:v,render:b}}function fn(e){if(!F(e))return!1;if(e.prototype instanceof Rt)return!0;let t=e;do{if(cn(t)){const e=ln(t);if(e===t)return!0;t=e}if(t===Rt)return!0}while(!N(t)&&(t=l(t)));return!1}function pn(e){let t=un.get(e);if(L(t)){if(cn(e)){return t=pn(ln(e)),un.set(e,t),t}if(!fn(e))throw new TypeError(`${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=dn(e),un.set(e,t)}return t}const hn={ctor:Rt,name:Rt.name,props:Wt,propsConfig:oe,methods:oe,renderMode:1,shadowSupportMode:"default",wire:oe,bridge:an,template:Qt,render:Rt.prototype.render};function mn(e,t){e.$shadowToken$=t}function gn(e,t){const{cmpTemplate:n,context:r}=t,o=null==n?void 0:n.stylesheetToken;!L(o)&&r.hasScopedStyles&&t.renderer.getClassList(e).add(o)}function wn(e,t){const{elm:n,text:r,owner:{renderer:o}}=t;e.text!==r&&o.setText(n,r)}function yn(e,t,n){const{renderer:r}=e.owner;r.insert(e.elm,t,n)}function vn(e,t){const{renderer:n}=e.owner;n.remove(e.elm,t)}function bn(e,t){const{children:n,owner:r}=t,o=Sn(n)?qe:Ue;Tr(r,r.owner,I,(()=>{o(t.elm,e.children,n)}),I)}function Cn(e,t){const r=e.aChildren||e.children;t.aChildren=r;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t){const{cmpSlots:r}=e,o=e.cmpSlots=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(N(n))continue;const{data:r}=n,i=r.attrs&&r.attrs.slot||"",s=o[i]=o[i]||[];L(n.key)||(n.key=`@${i}:${n.key}`),b.call(s,n)}if(_(e.isDirty)){const t=d(r);if(t.length!==d(o).length)return void tr(e);for(let n=0,i=t.length;n<i;n+=1){const i=t[n];if(L(o[i])||r[i].length!==o[i].length)return void tr(e);const s=r[i],a=o[i];for(let t=0,n=o[i].length;t<n;t+=1)if(s[t]!==a[t])return void tr(e)}}}(t,r),e.aChildren=r,e.children=ie)}function En(e){const{elm:t,children:n}=e;for(let e=0;e<n.length;++e){const r=n[e];null!=r&&(r.hook.create(r),r.hook.insert(r,t,null))}}const kn=new WeakMap;function Sn(e){return kn.has(e)}let xn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const Mn=Symbol.iterator,Tn={create:e=>{const{owner:t}=e,{renderer:n}=t,r=n.createText(e.text);$n(r,t),e.elm=r},update:wn,insert:yn,move:yn,remove:vn},An={create:e=>{const{owner:t,text:n}=e,{renderer:r}=t,o=r.createComment(n);$n(o,t),e.elm=o},update:wn,insert:yn,move:yn,remove:vn},On={create:e=>{const{sel:t,owner:n,data:{svg:r}}=e,{renderer:o}=n,i=D(r)?"http://www.w3.org/2000/svg":void 0,s=o.createElement(t,i);$n(s,n),function(e,t){const{owner:n}=t;if(gn(e,n),1===n.shadowMode){const{data:{context:r}}=t,{stylesheetToken:o}=n.context;L(r)||L(r.lwc)||"manual"!==r.lwc.dom||function(e){e.$domManual$=!0}(e),mn(e,o)}}(s,e),e.elm=s,function(e){we.create(e),Me.create(e),Pe.create(e),He.create(e),Be.create(e),_e.create(e),Ie.create(e)}(e)},update:(e,t)=>{!function(e,t){Me.update(e,t),Pe.update(e,t),_e.update(e,t),Ie.update(e,t)}(e,t),bn(e,t)},insert:(e,t,n)=>{yn(e,t,n),En(e)},move:(e,t,n)=>{yn(e,t,n)},remove:(e,t)=>{vn(e,t),function(e){const{children:t,elm:n}=e;for(let e=0,r=t.length;e<r;++e){const r=t[e];N(r)||r.hook.remove(r,n)}}(e)}},Pn={create:e=>{const{sel:t,owner:n}=e,{renderer:r}=n,o=function(e,t){e=e.toLowerCase();let n=t.getCustomElement(e);return L(n)?(n=class extends t.HTMLElement{constructor(e){super(),F(e)&&e(this)}},t.defineCustomElement(e,n),n):n}(t,r),i=new o((t=>{!function(e,t){if(!L(yr(e)))return;const{sel:n,mode:r,ctor:o,owner:i}=t;if(gn(e,i),1===i.shadowMode){const{stylesheetToken:t}=i.context;mn(e,t)}mr(e,pn(o),{mode:r,owner:i,tagName:n,renderer:i.renderer})}(t,e)}));$n(i,n),e.elm=i;const s=yr(i);if(s)Cn(e,s);else if(e.ctor!==o)throw new TypeError("Incorrect Component Constructor");!function(e){we.create(e),Me.create(e),Pe.create(e),He.create(e),Be.create(e),_e.create(e),Ie.create(e)}(e)},update:(e,t)=>{!function(e,t){Me.update(e,t),Pe.update(e,t),_e.update(e,t),Ie.update(e,t)}(e,t);const n=yr(t.elm);n&&Cn(t,n),bn(e,t),n&&fr(n)},insert:(e,t,n)=>{yn(e,t,n);const r=yr(e.elm);r&&Er(r),En(e),r&&function(e){vr(e)}(r)},move:(e,t,n)=>{yn(e,t,n)},remove:(e,t)=>{vn(e,t);const n=yr(e.elm);n&&function(e){hr(e)}(n)}};function $n(e,t){const{renderer:n,renderMode:r,shadowMode:o}=t;n.isSyntheticShadowDefined&&(1!==o&&0!==r||(e.$shadowResolver$=Ar(t).$shadowResolver$))}function Ln(e,t,n){const r=Kn();const{key:o}=t;return{sel:e,data:t,children:n,text:undefined,elm:undefined,key:o,hook:On,owner:r}}function Nn(e,t,n,r=ie){const o=Kn(),{key:i}=n;const s={sel:e,data:n,children:r,text:undefined,elm:undefined,key:i,hook:Pn,ctor:t,owner:o,mode:"open"};return function(e){b.call(Kn().velements,e)}(s),s}const Dn=new Map;let _n=0;function Fn(e){var t;return t=e,kn.set(t,1),e}const Rn=i({s:function(e,t,n,r){L(r)||L(r[e])||0===r[e].length||(n=r[e]);const o=Kn(),{renderMode:i,shadowMode:s}=o;return 0===i?(Fn(n),n):(1===s&&Fn(n),Ln("slot",t,n))},h:Ln,c:Nn,i:function(e,t){const n=[];if(Fn(n),L(e)||null===e)return n;const r=e[Mn]();let o=r.next(),i=0,{value:s,done:a}=o;for(;!1===a;){o=r.next(),a=o.done;const e=t(s,i,0===i,!0===a);h(e)?b.apply(n,e):b.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];Fn(n);for(let r=0;r<t;r+=1){const t=e[r];h(t)?b.apply(n,t):b.call(n,t)}return n},t:function(e){return{sel:undefined,data:oe,children:undefined,text:e,elm:undefined,key:undefined,hook:Tn,owner:Kn()}},d:function(e){return null==e?"":e},b:function(e){const t=Kn();if(N(t))throw new Error;const n=t;return function(t){Jn(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{sel:undefined,data:oe,children:undefined,text:e,elm:undefined,key:undefined,hook:An,owner:Kn()}},dc:function(e,t,n,r){if(null==t)return null;if(!fn(t))throw new Error(`Invalid LWC Constructor ${B(t)} for custom element <${e}>.`);let o=Dn.get(t);return L(o)&&(o=_n++,Dn.set(t,o)),n.key=`dc:${o}:${n.key}`,Nn(e,t,n,r)},ti:function(e){return e>0&&!(D(e)||_(e))?0:e},gid:function(e){const t=Kn();if(L(e)||""===e)return e;if(N(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?O.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=Kn();if(L(e)||""===e)return e;if(N(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return xn(e)}});function In(e){return`${e}-host`}function Hn(e,t,n){const r=[];for(let o=0;o<e.length;o++){let i=e[o];if(h(i))b.apply(r,Hn(i,t,n));else{const e=i.$scoped$,o=0===n.renderMode?!e:0===n.shadowMode,s=e||1===n.shadowMode&&1===n.renderMode?t:void 0;b.call(r,i(o,s))}}return r}function Bn(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return L(n)||0===n.length||(o=Hn(n,r,e)),o}function jn(e,t){const{renderer:n,renderMode:r,shadowMode:o}=e;if(1===r&&1===o)for(let e=0;e<t.length;e++)n.insertGlobalStylesheet(t[e]);else{if(n.ssr){const e=y.call(t,"\n");return i=e,Rn.h("style",{key:"style",attrs:{type:"text/css"}},[Rn.t(i)])}{const r=function(e){let t=e;for(;!N(t);){if(1===t.renderMode&&0===t.shadowMode)return t;t=t.owner}return t}(e),o=N(r);for(let e=0;e<t.length;e++)o?n.insertGlobalStylesheet(t[e]):n.insertStylesheet(t[e],r.cmpRoot)}}var i;return null}let Wn=!1,Vn=null;function Kn(){return Vn}function zn(e){Vn=e}function Gn(e,t){const r=Wn,o=Vn;let i=[];return Tr(e,e.owner,(()=>{Vn=e}),(()=>{const{component:r,context:o,cmpSlots:s,cmpTemplate:a,tro:l}=e;l.observe((()=>{if(t!==a){if(N(a)||Mr(e),l=t,!Jt.has(l))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${B(t)}.`);e.cmpTemplate=t,o.tplCache=n(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!L(t))for(let e=0;e<t.length;e++)if(D(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderer:o,renderMode:i,shadowMode:s}=e,{stylesheets:a,stylesheetToken:l}=t,c=1===i&&1===s,{hasScopedStyles:u}=r;let d,f,p;const{stylesheetToken:h,hasTokenInClass:m,hasTokenInAttribute:g}=r;m&&o.getClassList(n).remove(In(h)),g&&o.removeAttribute(n,In(h)),L(a)||0===a.length||(d=l),L(d)||(u&&(o.getClassList(n).add(In(d)),f=!0),c&&(o.setAttribute(n,In(d),""),p=!0)),r.stylesheetToken=d,r.hasTokenInClass=f,r.hasTokenInAttribute=p}(e,t);const r=Bn(e,t);o.styleVNode=0===r.length?null:jn(e,r)}var l;e.velements=[],Wn=!0,i=t.call(void 0,Rn,r,s,o.tplCache);const{styleVNode:c}=o;N(c)||x.call(i,c)}))}),(()=>{Wn=r,Vn=o})),i}function qn(e,t){if(!u(t)&&L(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!N(n);)b.call(t,me(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}let Un=null;function Xn(e){return Un===e}function Yn(e,t,n){const{component:r,callHook:o,owner:i}=e;Tr(e,i,I,(()=>{o(r,t,n)}),I)}function Jn(e,t,n,r){const{callHook:o,owner:i}=e;Tr(e,i,I,(()=>{o(n,t,[r])}),I)}const Qn=new Map;function Zn(e){return new fe((()=>{const{isDirty:t}=e;_(t)&&(tr(e),function(e){if(D(e.renderer.ssr)||D(e.isScheduled))return;e.isScheduled=!0,0===br.length&&ae(Cr);b.call(br,e)}(e))}))}function er(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=Kn();let s,a=!1;return Tr(e,o,(()=>{zn(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),a=!0}))}),(()=>{zn(i)})),a?Gn(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function tr(e){e.isDirty=!0}const nr=new WeakMap;function rr(e,t){if(!F(t))throw new TypeError;let n=nr.get(t);return L(n)&&(n=function(n){Jn(e,t,void 0,n)},nr.set(t,n)),n}const or=n(null),ir=["rendered","connected","disconnected"];function sr(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let ar=0;const lr=new WeakMap;function cr(e,t,n=[]){return t.apply(e,n)}function ur(e,t,n){e[t]=n}function dr(e,t){return e[t]}function fr(e){vr(e)}function pr(e){const t=wr(e);1===t.state&&function(e){hr(wr(e))}(e),Er(t),vr(t)}function hr(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){_(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=or;t&&sr(e,t);kr(e)&&function(e){const{wiredDisconnecting:t}=e.context;Tr(e,e,I,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),I)}(e);const{disconnectedCallback:n}=e.def;L(n)||Yn(e,n)}(e),Sr(e),function(e){const{aChildren:t}=e;xr(t)}(e)}}function mr(e,t,r){const{mode:o,owner:i,renderer:s,tagName:a}=r,l={elm:e,def:t,idx:ar++,state:0,isScheduled:!1,isDirty:!0,tagName:a,mode:o,owner:i,renderer:s,children:ie,aChildren:ie,velements:ie,cmpProps:n(null),cmpFields:n(null),cmpSlots:n(null),oar:n(null),cmpTemplate:null,renderMode:t.renderMode,shadowMode:null,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:oe,wiredConnecting:ie,wiredDisconnecting:ie},tro:null,component:null,cmpRoot:null,callHook:cr,setHook:ur,getHook:dr};return l.shadowMode=function(e){const{def:t,renderer:n}=e,{isNativeShadowDefined:r,isSyntheticShadowDefined:o}=n;let i;if(o)if(0===t.renderMode)i=0;else if(r)if("any"===t.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!N(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=N(t)||0!==t.shadowMode?1:0}else i=1;else i=0;return i}(l),l.tro=Zn(l),function(e,t){const n=Un;let r;Un=e;try{const o=new t;if(Un.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Un=n,!L(r))throw qn(e,r),r}}(l,t.ctor),kr(l)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=Or.get(i);if(!L(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:a}=$r(e,t,s),l=s.dynamic.length>0;b.call(r,(()=>{n.connect(),ne.ENABLE_WIRE_SYNC_EMIT||!l?i():Promise.resolve().then(i)})),b.call(o,(()=>{n.disconnect(),a()}))}}}(l),l}function gr(e,t){lr.set(e,t)}function wr(e){return lr.get(e)}function yr(e){return lr.get(e)}function vr(e){if(D(e.isDirty)){!function(e,t){const{children:n}=e;if(e.children=t,(t.length>0||n.length>0)&&n!==t){const r=Sn(t)?qe:Ue;Tr(e,e,(()=>{}),(()=>{const o=Ar(e);r(o,n,t)}),(()=>{}))}1===e.state&&function(e){const{renderer:t,def:{renderedCallback:n}}=e;if(D(t.ssr))return;const{rendered:r}=or;r&&sr(e,r);L(n)||Yn(e,n)}(e)}(e,er(e))}}let br=[];function Cr(){const e=br.sort(((e,t)=>e.idx-t.idx));br=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{vr(r)}catch(r){throw t+1<n&&(0===br.length&&ae(Cr),x.apply(br,k.call(e,t+1))),r}}}function Er(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=or;n&&sr(e,n),kr(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;L(r)||Yn(e,r)}function kr(e){return a(e.def.wire).length>0}function Sr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!L(n)){const e=yr(n);L(e)||hr(e)}}}function xr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];N(n)||!h(n.children)||L(n.elm)||(L(n.ctor)?xr(n.children):hr(wr(n.elm)))}}function Mr(e){const{children:t,renderer:n}=e,r=Ar(e);for(let e=0,o=t.length;e<o;e++){const o=t[e];N(o)||L(o.elm)||n.remove(o.elm,r)}e.children=ie,Sr(e),e.velements=ie}function Tr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!L(i)){qn(e,i);const n=N(t)?void 0:function(e){let t=e;for(;!N(t);){if(!L(t.def.errorCallback))return t;t=t.owner}}(t);if(L(n))throw i;Mr(e);Yn(n,n.def.errorCallback,[i,i.wcStack])}}}function Ar(e){return 1===e.renderMode?e.cmpRoot:e.elm}const Or=new Map;class Pr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function $r(e,t,n){const{method:r,adapter:i,configCallback:s,dynamic:a}=n,l=L(r)?function(e,t){const{cmpFields:n}=e;return r=>{r!==e.cmpFields[t]&&(n[t]=r,pe(e,t))}}(e,t):function(e,t){return n=>{Tr(e,e.owner,I,(()=>{t.call(e.component,n)}),I)}}(e,r);let c,u;o(l,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),o(l,"$$DeprecatedWiredParamsMetaKey$$",{value:a}),Tr(e,e,I,(()=>{u=new i(l)}),I);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=new fe((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),i()})))})),i=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:i,ro:o}}(e.component,s,(t=>{Tr(e,e,I,(()=>{u.update(t,c)}),I)}));return L(i.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Nr(r);if(L(o))return;const{elm:i,renderer:s,context:{wiredConnecting:a,wiredDisconnecting:l}}=e;b.call(a,(()=>{const e=new Pr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){b.call(l,e)}});s.dispatchEvent(i,e)}))}(e,n,(t=>{c!==t&&(c=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const Lr=new Map;function Nr(e){return Lr.get(e)}function Dr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Or.set(e,o)}function _r(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Or.set(e,o)}let Fr=!1;function Rr(e){const t={};return L(e.sanitizeHtmlContent)||(t.sanitizeHtmlContent=function(e){const t=xn;return xn=e,t}(e.sanitizeHtmlContent)),t}var Ir;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(Ir||(Ir={}));const Hr=/\s+/g;function Br(e){return new Set(e.trim().split(Hr))}function jr(e){return Array.from(e).join(" ")}function Wr(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function Vr(e){return{type:Ir.Element,name:e,parent:null,shadowRoot:null,children:[],attributes:[],eventListeners:{}}}const Kr=n(null),zr=new WeakMap;const Gr={ssr:!0,isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,insert(e,t,n){if(null!==e.parent&&e.parent!==t){const t=e.parent.children.indexOf(e);e.parent.children.splice(t,1)}e.parent=t;const r=N(n)?-1:t.children.indexOf(n);-1===r?t.children.push(e):t.children.splice(r,0,e)},remove(e,t){const n=t.children.indexOf(e);t.children.splice(n,1)},createElement:Vr,createText:e=>({type:Ir.Text,value:String(e),parent:null}),createComment:e=>({type:Ir.Comment,value:e,parent:null}),nextSibling(e){const{parent:t}=e;if(N(t))return null;const n=t.children.indexOf(e);return t.children[n+1]||null},attachShadow:(e,t)=>(e.shadowRoot={type:Ir.ShadowRoot,children:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e.shadowRoot),getProperty(e,t){var n,r;if(t in e)return e[t];if(e.type===Ir.Element){const o=ee(t);if(X(o,e.name))return null!==(n=this.getAttribute(e,o))&&void 0!==n&&n;if(J(o)||z(o))return this.getAttribute(e,o);if("input"===e.name&&"value"===t)return null!==(r=this.getAttribute(e,"value"))&&void 0!==r?r:""}},setProperty(e,t,n){if(t in e)return e[t]=n;if(e.type===Ir.Element){const r=ee(t);if("innerHTML"===t)return void(e.children=[{type:Ir.Raw,parent:e,value:n}]);if(X(r,e.name))return!0===n?this.setAttribute(e,r,""):this.removeAttribute(e,r);if(J(r)||z(r))return this.setAttribute(e,r,n);if("input"===e.name&&"value"===r)return N(n)||L(n)?this.removeAttribute(e,"value"):this.setAttribute(e,"value",n)}},setText(e,t){e.type===Ir.Text?e.value=t:e.type===Ir.Element&&(e.children=[{type:Ir.Text,parent:e,value:t}])},getAttribute(e,t,n=null){const r=e.attributes.find((e=>e.name===t&&e.namespace===n));return r?r.value:null},setAttribute(e,t,n,r=null){const o=e.attributes.find((e=>e.name===t&&e.namespace===r));L(o)?e.attributes.push({name:t,namespace:r,value:String(n)}):o.value=n},removeAttribute(e,t,n){e.attributes=e.attributes.filter((e=>e.name!==t&&e.namespace!==n))},getClassList(e){function t(){let t=e.attributes.find((e=>"class"===e.name&&N(e.namespace)));return L(t)&&(t={name:"class",namespace:null,value:""},e.attributes.push(t)),t}return{add(...e){const n=t(),r=Br(n.value);e.forEach((e=>r.add(e))),n.value=jr(r)},remove(...e){const n=t(),r=Br(n.value);e.forEach((e=>r.delete(e))),n.value=jr(r)}}},setCSSStyleProperty(e,t,n,r){let o=e.attributes.find((e=>"style"===e.name&&N(e.namespace)));L(o)&&(o={name:"style",namespace:null,value:""},e.attributes.push(o)),o.value=`${o.value}; ${t}: ${n}${r?" !important":""}`},isConnected:e=>!N(e.parent),insertGlobalStylesheet(){},insertStylesheet(){},addEventListener(){},removeEventListener(){},dispatchEvent:Wr("dispatchEvent"),getBoundingClientRect:Wr("getBoundingClientRect"),querySelector:Wr("querySelector"),querySelectorAll:Wr("querySelectorAll"),getElementsByTagName:Wr("getElementsByTagName"),getElementsByClassName:Wr("getElementsByClassName"),getChildren:Wr("getChildren"),getChildNodes:Wr("getChildNodes"),getFirstChild:Wr("getFirstChild"),getFirstElementChild:Wr("getFirstElementChild"),getLastChild:Wr("getLastChild"),getLastElementChild:Wr("getLastElementChild"),defineCustomElement(e,t,n){!function(e,t){if(e!==$.call(e)||Kr[e])throw new TypeError("Invalid Registration");Kr[e]=t,zr.set(t,e)}(e,t)},getCustomElement:e=>Kr[e],HTMLElement:class{constructor(){const{constructor:e}=this,t=zr.get(e);if(!t)throw new TypeError("Invalid Construction");return Vr(t)}}},qr={'"':""","'":"'","<":"<",">":">","&":"&"};function Ur(e){return e.replace(/["'<>&]/g,(e=>qr[e]))}function Xr(e){return e.map((e=>{switch(e.type){case Ir.Text:return Ur(e.value);case Ir.Comment:return`\x3c!--${Ur(e.value)}--\x3e`;case Ir.Raw:return e.value;case Ir.Element:return Yr(e)}})).join("")}function Yr(e){let t="";const{name:n}=e,r=e.attributes.length?` ${o=e.attributes,o.map((e=>e.value.length?`${e.name}=${JSON.stringify(Ur(e.value))}`:e.name)).join(" ")}`:"";var o;const i=Xr(e.children);return t+=`<${n}${r}>`,e.shadowRoot&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${Xr(e.children)}</template>`}(e.shadowRoot)),t+=i,function(e){return q.has(e)}(n)||(t+=`</${n}>`),t}const Jr={type:Ir.Element,name:"fake-root-element",parent:null,shadowRoot:null,children:[],attributes:[],eventListeners:{}};i(Rt),f(Rt.prototype),exports.LightningElement=Rt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=Nr(e);if(!L(t))throw new Error("Adapter already has a context provider.");t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),function(e,t){Lr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{L(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},exports.getComponentDef=function(e){const t=pn(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,a={};for(const e in o)a[e]={config:i[e]||0,type:"any",attr:ee(e)};const l={};for(const e in s)l[e]=s[e].value;return{ctor:n,name:r,props:a,methods:l}},exports.isComponentConstructor=fn,exports.readonly=function(e){return _t.getReadOnlyProxy(e)},exports.register=function(e){for(let t=0;t<ir.length;++t){const n=ir[t];if(n in e){let t=or[n];L(t)&&(or[n]=t=[]),b.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return Qn.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:i,publicMethods:a,wire:l,track:c,fields:u}=t,d=n(null),f=n(null),p=n(null),h=n(null),m=n(null),g=n(null);let w;if(!L(i))for(const e in i){const t=i[e];if(g[e]=t.config,w=s(r,e),t.config>0){if(L(w))throw new Error;w=qt(e,w)}else w=L(w)||L(w.get)?zt(e):qt(e,w);f[e]=w,o(r,e,w)}if(L(a)||M.call(a,(e=>{if(w=s(r,e),L(w))throw new Error;d[e]=w})),!L(l))for(const e in l){const{adapter:t,method:n,config:i,dynamic:a=[]}=l[e];if(w=s(r,e),1===n){if(L(w))throw new Error;p[e]=w,Dr(w,t,i,a)}else w=Vt(e),h[e]=w,_r(w,t,i,a),o(r,e,w)}if(!L(c))for(const e in c)w=s(r,e),w=Kt(e),o(r,e,w);if(!L(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=s(r,t);const n=!L(i)&&t in i,o=!L(c)&&t in c;n||o||(m[t]=Ut(t))}return function(e,t){Xt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return Jt.add(e),e},exports.renderComponent=function(e,t,n={}){if(!R(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!F(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||N(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=Gr.createElement(e);mr(r,pn(t),{mode:"open",owner:null,renderer:Gr,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r.parent=Jr,pr(r),Yr(r)},exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(L(te[e])){const n=d(te).map((e=>`"${e}"`)).join(", ");console.warn(`Failed to set the value "${t}" for the runtime feature flag "${e}" because it is undefined. Available flags: ${n}.`)}else{const n=ne[e];if(!L(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);o(ne,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},exports.setFeatureFlagForTest=function(e,t){},exports.setHooks=function(t){e.isFalse(Fr,"Hooks are already overridden, only one definition is allowed."),Rr(t),Fr=!0},exports.setHooksForTest=function(e){},exports.track=function(e){if(1===arguments.length)return _t.getProxy(e);throw new Error},exports.unwrap=function(e){const t=_t.unwrapProxy(e);return t!==e?t:e},exports.wire=function(e,t){throw new Error};
|
|
9
|
+
*/function je(e){return void 0===e}function We(e,t){return e.key===t.key&&e.sel===t.sel}function Ve(e){return null!=e}function Ke(e,t,n){const r={};let o,i,s;for(o=t;o<=n;++o)s=e[o],Ve(s)&&(i=s.key,void 0!==i&&(r[i]=o));return r}function ze(e,t,n,r,o){for(;r<=o;++r){const o=n[r];Ve(o)&&(o.hook.create(o),o.hook.insert(o,e,t))}}function Ge(e,t,n,r){for(;n<=r;++n){const r=t[n];Ve(r)&&r.hook.remove(r,e)}}function qe(e,t,n){let r=0,o=0,i=t.length-1,s=t[0],a=t[i];const l=n.length-1;let c,u,d,f,p=l,h=n[0],m=n[p];for(;r<=i&&o<=p;)Ve(s)?Ve(a)?Ve(h)?Ve(m)?We(s,h)?(Xe(s,h),s=t[++r],h=n[++o]):We(a,m)?(Xe(a,m),a=t[--i],m=n[--p]):We(s,m)?(Xe(s,m),m.hook.move(s,e,a.owner.renderer.nextSibling(a.elm)),s=t[++r],m=n[--p]):We(a,h)?(Xe(a,h),h.hook.move(a,e,s.elm),a=t[--i],h=n[++o]):(void 0===c&&(c=Ke(t,r,i)),u=c[h.key],je(u)?(h.hook.create(h),h.hook.insert(h,e,s.elm),h=n[++o]):(d=t[u],Ve(d)&&(d.sel!==h.sel?(h.hook.create(h),h.hook.insert(h,e,s.elm)):(Xe(d,h),t[u]=void 0,h.hook.move(d,e,s.elm))),h=n[++o])):m=n[--p]:h=n[++o]:a=t[--i]:s=t[++r];if(r<=i||o<=p)if(r>i){let t,r=p;do{t=n[++r]}while(!Ve(t)&&r<l);f=Ve(t)?t.elm:null,ze(e,f,n,o,p)}else Ge(e,t,r,i)}function Ue(e,t,n){const r=t.length,o=n.length;if(0===r)return void ze(e,null,n,0,o);if(0===o)return void Ge(e,t,0,r);let i=null;for(let r=o-1;r>=0;r-=1){const o=n[r],s=t[r];o!==s&&(Ve(s)?Ve(o)?(Xe(s,o),i=o.elm):s.hook.remove(s,e):Ve(o)&&(o.hook.create(o),o.hook.insert(o,e,i),i=o.elm))}}function Xe(e,t){e!==t&&(t.elm=e.elm,t.hook.update(e,t))}const Ye="undefined"!=typeof HTMLElement?HTMLElement:function(){},Je=Ye.prototype,Qe=n(null);M.call(d(K),(e=>{const t=j(Je,e);L(t)||(Qe[e]=t)})),M.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=j(Je,e);L(t)||(Qe[e]=t)}));const{isArray:Ze}=Array,{getPrototypeOf:et,create:tt,defineProperty:nt,defineProperties:rt,isExtensible:ot,getOwnPropertyDescriptor:it,getOwnPropertyNames:st,getOwnPropertySymbols:at,preventExtensions:lt,hasOwnProperty:ct}=Object,{push:ut,concat:dt,map:ft}=Array.prototype;function pt(e){return void 0===e}function ht(e){return"function"==typeof e}const mt=new WeakMap;function gt(e,t){mt.set(e,t)}const wt=e=>mt.get(e)||e;class yt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(ct.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;pt(n)||(e.get=this.wrapGetter(n)),pt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=it(n,t);if(!pt(r)){const n=this.wrapDescriptor(r);nt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;dt.call(st(t),at(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;pt(n)||ct.call(e,n)||nt(e,n,tt(null)),lt(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:r}}=this,o=n[t];return r(n,t),this.wrapValue(o)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:r,valueObserved:o}}=this;return o(n,t),t in n||t===r}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,r=pt(n)||ct.call(t,n)?[]:[n];return ut.apply(r,st(t)),ut.apply(r,at(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!ot(e)&&(!!ot(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return et(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=it(n,t);if(pt(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},nt(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const bt=new WeakMap,vt=new WeakMap,Ct=new WeakMap,Et=new WeakMap;class kt extends yt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=bt.get(e);if(!pt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(wt(this)))};return bt.set(e,r),Ct.set(r,e),r}wrapSetter(e){const t=vt.get(e);if(!pt(t))return t;const n=function(t){e.call(wt(this),wt(t))};return vt.set(e,n),Et.set(n,e),n}unwrapDescriptor(e){if(ct.call(e,"value"))e.value=wt(e.value);else{const{set:t,get:n}=e;pt(n)||(e.get=this.unwrapGetter(n)),pt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Ct.get(e);if(!pt(t))return t;const n=this,r=function(){return wt(e.call(n.wrapValue(this)))};return bt.set(r,e),Ct.set(e,r),r}unwrapSetter(e){const t=Et.get(e);if(!pt(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return vt.set(r,e),Et.set(e,r),r}set(e,t,n){const{originalTarget:r,membrane:{valueMutated:o}}=this;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&Ze(r)&&o(r,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:r}}=this;return delete n[t],r(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(ot(e)){const{originalTarget:t}=this;if(lt(t),ot(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!ct.call(r,t)||(nt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const St=new WeakMap,xt=new WeakMap;class Mt extends yt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=St.get(e);if(!pt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(wt(this)))};return St.set(e,r),r}wrapSetter(e){const t=xt.get(e);if(!pt(t))return t;const n=function(e){};return xt.set(e,n),n}set(e,t,n){return!1}deleteProperty(e,t){return!1}setPrototypeOf(e,t){}preventExtensions(e){return!1}defineProperty(e,t,n){return!1}}const Tt=Object.prototype;function At(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(Ze(e))return!0;const t=et(e);return t===Tt||null===t||null===et(t)}const Ot=(e,t)=>{},Pt=(e,t)=>{},$t=e=>e;function Lt(e){return Ze(e)?[]:{}}const Nt=Symbol.for("@@lockerLiveValue");function Dt(e){return e}const _t=new class{constructor(e){if(this.valueDistortion=$t,this.valueMutated=Pt,this.valueObserved=Ot,this.valueIsObservable=At,this.objectGraph=new WeakMap,!pt(e)){const{valueDistortion:t,valueMutated:n,valueObserved:r,valueIsObservable:o,tagPropertyKey:i}=e;this.valueDistortion=ht(t)?t:$t,this.valueMutated=ht(n)?n:Pt,this.valueObserved=ht(r)?r:Ot,this.valueIsObservable=ht(o)?o:At,this.tagPropertyKey=i}}getProxy(e){const t=wt(e),n=this.valueDistortion(t);if(this.valueIsObservable(n)){const r=this.getReactiveState(t,n);return r.readOnly===e?e:r.reactive}return n}getReadOnlyProxy(e){e=wt(e);const t=this.valueDistortion(e);return this.valueIsObservable(t)?this.getReactiveState(e,t).readOnly:t}unwrapProxy(e){return wt(e)}getReactiveState(e,t){const{objectGraph:n}=this;let r=n.get(t);if(r)return r;const o=this;return r={get reactive(){const n=new kt(o,t),r=new Proxy(Lt(t),n);return gt(r,e),nt(this,"reactive",{value:r}),r},get readOnly(){const n=new Mt(o,t),r=new Proxy(Lt(t),n);return gt(r,e),nt(this,"readOnly",{value:r}),r}},n.set(t,r),r}}({valueObserved:de,valueMutated:ue,valueDistortion:Dt,tagPropertyKey:Nt});function Ft(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!F(n))throw new TypeError;if(!F(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=wr(this);if(!Xn(t))return he(t,e),n.call(t.elm)},set(t){const n=wr(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,pe(n,e)),r.call(n.elm,t)}}}const Rt=function(){if(N(Un))throw new ReferenceError("Illegal constructor");const e=Un,{def:t,elm:n,renderer:r}=e,{bridge:o}=t,i=this;if(p(n,o.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return this[Nt]=void 0,gr(i,e),gr(n,e),1===e.renderMode&&It(e),this};function It(e){const{elm:t,mode:n,renderer:r,shadowMode:o,def:{ctor:i}}=e,s=r.attachShadow(t,{"$$lwc-synthetic-mode":1===o,delegatesFocus:Boolean(i.delegatesFocus),mode:n});e.cmpRoot=s,gr(s,e)}Rt.prototype={constructor:Rt,dispatchEvent(e){const{elm:t,renderer:{dispatchEvent:n}}=wr(this);return n(t,e)},addEventListener(e,t,n){const r=wr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,rr(r,t),n)},removeEventListener(e,t,n){const r=wr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,rr(r,t),n)},hasAttribute(e){const{elm:t,renderer:{getAttribute:n}}=wr(this);return!N(n(t,e))},hasAttributeNS(e,t){const{elm:n,renderer:{getAttribute:r}}=wr(this);return!N(r(n,t,e))},removeAttribute(e){const{elm:t,renderer:{removeAttribute:n}}=wr(this);ke(t,e),n(t,e),Ee()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=wr(this);ke(n,t),r(n,t,e),Ee()},getAttribute(e){const{elm:t,renderer:{getAttribute:n}}=wr(this);return n(t,e)},getAttributeNS(e,t){const{elm:n,renderer:{getAttribute:r}}=wr(this);return r(n,t,e)},setAttribute(e,t){const n=wr(this),{elm:r,renderer:{setAttribute:o}}=n;ke(r,e),o(r,e,t),Ee()},setAttributeNS(e,t,n){const r=wr(this),{elm:o,renderer:{setAttribute:i}}=r;ke(o,t),i(o,t,n,e),Ee()},getBoundingClientRect(){const e=wr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const{elm:e,renderer:{isConnected:t}}=wr(this);return t(e)},get classList(){const e=wr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return wr(this).cmpRoot},get shadowRoot(){return null},render(){return wr(this).def.template},toString(){return`[object ${wr(this).def.name}]`}};const Ht=n(null),Bt=[["children","getChildren"],["childNodes","getChildNodes"],["firstChild","getFirstChild"],["firstElementChild","getFirstElementChild"],["lastChild","getLastChild"],["lastElementChild","getLastElementChild"]];for(const[e,t]of Bt)Ht[e]={get(){const e=wr(this),{elm:n,renderer:r}=e;return r[t](n)},configurable:!0,enumerable:!0};const jt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of jt)Ht[e]={value(t){const n=wr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};r(Rt.prototype,Ht);const Wt=n(null);for(const e in Qe)Wt[e]=Ft(e,Qe[e]);function Vt(e){return{get(){const t=wr(this);return he(t,e),t.cmpFields[e]},set(t){const n=wr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,pe(n,e))},enumerable:!0,configurable:!0}}function Kt(e){return{get(){const t=wr(this);return he(t,e),t.cmpFields[e]},set(t){const n=wr(this),r=_t.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,pe(n,e))},enumerable:!0,configurable:!0}}function zt(e){return{get(){const t=wr(this);if(!Xn(t))return he(t,e),t.cmpProps[e]},set(t){const n=wr(this);n.cmpProps[e]=t,pe(n,e)},enumerable:!0,configurable:!0}}r(Rt.prototype,Wt),o(Rt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class Gt extends fe{constructor(e,t){super((()=>{_(this.debouncing)&&(this.debouncing=!0,ae((()=>{if(D(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,D(e.isDirty)&&_(r)&&i>0&&fr(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function qt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!F(n))throw new Error;return{get(){return n.call(this)},set(t){const n=wr(this);if(r)if(ne.ENABLE_REACTIVE_SETTER){let o=n.oar[e];L(o)&&(o=n.oar[e]=new Gt(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function Ut(e){return{get(){const t=wr(this);return he(t,e),t.cmpFields[e]},set(t){const n=wr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,pe(n,e))},enumerable:!0,configurable:!0}}const Xt=new Map;const Yt={apiMethods:oe,apiFields:oe,apiFieldsConfig:oe,wiredMethods:oe,wiredFields:oe,observedFields:oe};const Jt=new Set;function Qt(){return[]}Jt.add(Qt);const Zt=n(null),en=n(null);function tn(e){let t=Zt[e];return L(t)&&(t=Zt[e]=function(){const t=wr(this),{getHook:n}=t;return n(t.component,e)}),t}function nn(e){let t=en[e];return L(t)&&(t=en[e]=function(t){const n=wr(this),{setHook:r}=n;t=_t.getReadOnlyProxy(t),r(n.component,e,t)}),t}function rn(e){return function(){const t=wr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,k.call(arguments))}}function on(e,t){return function(n,r,o){if(r===o)return;const i=e[n];L(i)?L(t)||t.apply(this,arguments):Ce(this,n)&&(this[i]=o)}}function sn(e,t,i){let s;F(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),o(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const a=n(null),{attributeChangedCallback:l}=e.prototype,{observedAttributes:c=[]}=e,u=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];a[ee(n)]=n,u[n]={get:tn(n),set:nn(n),enumerable:!0,configurable:!0}}for(let e=0,t=i.length;e<t;e+=1){const t=i[e];u[t]={value:rn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:on(a,l)},o(s,"observedAttributes",{get:()=>[...c,...d(a)]}),r(s.prototype,u),s}const an=sn(Ye,a(Qe),[]);function ln(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function cn(e){return F(e)&&c.call(e,"__circular__")}i(an),f(an.prototype);const un=new WeakMap;function dn(e){const{shadowSupportMode:o,renderMode:i}=e,s=function(e){const t=Xt.get(e);return L(t)?Yt:t}(e),{apiFields:a,apiFieldsConfig:c,apiMethods:u,wiredFields:f,wiredMethods:p,observedFields:h}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const C=function(e){let t=l(e);if(N(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(cn(t)){const e=ln(t);t=e===t?Rt:e}return t}(e),E=C!==Rt?pn(C):hn,k=sn(E.bridge,d(a),d(u)),S=t(n(null),E.props,a),x=t(n(null),E.propsConfig,c),M=t(n(null),E.methods,u),T=t(n(null),E.wire,f,p);g=g||E.connectedCallback,w=w||E.disconnectedCallback,y=y||E.renderedCallback,b=b||E.errorCallback,v=v||E.render;let A=E.shadowSupportMode;L(o)||(A=o);let O=E.renderMode;L(i)||(O="light"===i?0:1);const P=function(e){return Qn.get(e)}(e)||E.template,$=e.name||E.name;r(m,h);return{ctor:e,name:$,wire:T,props:S,propsConfig:x,methods:M,bridge:k,template:P,renderMode:O,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function fn(e){if(!F(e))return!1;if(e.prototype instanceof Rt)return!0;let t=e;do{if(cn(t)){const e=ln(t);if(e===t)return!0;t=e}if(t===Rt)return!0}while(!N(t)&&(t=l(t)));return!1}function pn(e){let t=un.get(e);if(L(t)){if(cn(e)){return t=pn(ln(e)),un.set(e,t),t}if(!fn(e))throw new TypeError(`${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=dn(e),un.set(e,t)}return t}const hn={ctor:Rt,name:Rt.name,props:Wt,propsConfig:oe,methods:oe,renderMode:1,shadowSupportMode:"reset",wire:oe,bridge:an,template:Qt,render:Rt.prototype.render};function mn(e,t){e.$shadowToken$=t}function gn(e,t){const{cmpTemplate:n,context:r}=t,o=null==n?void 0:n.stylesheetToken;!L(o)&&r.hasScopedStyles&&t.renderer.getClassList(e).add(o)}function wn(e,t){const{elm:n,text:r,owner:{renderer:o}}=t;e.text!==r&&o.setText(n,r)}function yn(e,t,n){const{renderer:r}=e.owner;r.insert(e.elm,t,n)}function bn(e,t){const{renderer:n}=e.owner;n.remove(e.elm,t)}function vn(e,t){const{children:n,owner:r}=t,o=Sn(n)?qe:Ue;Tr(r,r.owner,I,(()=>{o(t.elm,e.children,n)}),I)}function Cn(e,t){const r=e.aChildren||e.children;t.aChildren=r;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t){const{cmpSlots:r}=e,o=e.cmpSlots=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(N(n))continue;const{data:r}=n,i=r.attrs&&r.attrs.slot||"",s=o[i]=o[i]||[];L(n.key)||(n.key=`@${i}:${n.key}`),v.call(s,n)}if(_(e.isDirty)){const t=d(r);if(t.length!==d(o).length)return void tr(e);for(let n=0,i=t.length;n<i;n+=1){const i=t[n];if(L(o[i])||r[i].length!==o[i].length)return void tr(e);const s=r[i],a=o[i];for(let t=0,n=o[i].length;t<n;t+=1)if(s[t]!==a[t])return void tr(e)}}}(t,r),e.aChildren=r,e.children=ie)}function En(e){const{elm:t,children:n}=e;for(let e=0;e<n.length;++e){const r=n[e];null!=r&&(r.hook.create(r),r.hook.insert(r,t,null))}}const kn=new WeakMap;function Sn(e){return kn.has(e)}const xn=Symbol.iterator,Mn={create:e=>{const{owner:t}=e,{renderer:n}=t,r=n.createText(e.text);Pn(r,t),e.elm=r},update:wn,insert:yn,move:yn,remove:bn},Tn={create:e=>{const{owner:t,text:n}=e,{renderer:r}=t,o=r.createComment(n);Pn(o,t),e.elm=o},update:wn,insert:yn,move:yn,remove:bn},An={create:e=>{const{sel:t,owner:n,data:{svg:r}}=e,{renderer:o}=n,i=D(r)?"http://www.w3.org/2000/svg":void 0,s=o.createElement(t,i);Pn(s,n),function(e,t){const{owner:n}=t;if(gn(e,n),1===n.shadowMode){const{data:{context:r}}=t,{stylesheetToken:o}=n.context;L(r)||L(r.lwc)||"manual"!==r.lwc.dom||function(e){e.$domManual$=!0}(e),mn(e,o)}}(s,e),e.elm=s,function(e){we.create(e),Me.create(e),Pe.create(e),He.create(e),Be.create(e),_e.create(e),Ie.create(e)}(e)},update:(e,t)=>{!function(e,t){Me.update(e,t),Pe.update(e,t),_e.update(e,t),Ie.update(e,t)}(e,t),vn(e,t)},insert:(e,t,n)=>{yn(e,t,n),En(e)},move:(e,t,n)=>{yn(e,t,n)},remove:(e,t)=>{bn(e,t),function(e){const{children:t,elm:n}=e;for(let e=0,r=t.length;e<r;++e){const r=t[e];N(r)||r.hook.remove(r,n)}}(e)}},On={create:e=>{const{sel:t,owner:n}=e,{renderer:r}=n,o=function(e,t){e=e.toLowerCase();let n=t.getCustomElement(e);return L(n)?(n=class extends t.HTMLElement{constructor(e){super(),F(e)&&e(this)}},t.defineCustomElement(e,n),n):n}(t,r),i=new o((t=>{!function(e,t){if(!L(yr(e)))return;const{sel:n,mode:r,ctor:o,owner:i}=t;if(gn(e,i),1===i.shadowMode){const{stylesheetToken:t}=i.context;mn(e,t)}mr(e,pn(o),{mode:r,owner:i,tagName:n,renderer:i.renderer})}(t,e)}));Pn(i,n),e.elm=i;const s=yr(i);if(s)Cn(e,s);else if(e.ctor!==o)throw new TypeError("Incorrect Component Constructor");!function(e){we.create(e),Me.create(e),Pe.create(e),He.create(e),Be.create(e),_e.create(e),Ie.create(e)}(e)},update:(e,t)=>{!function(e,t){Me.update(e,t),Pe.update(e,t),_e.update(e,t),Ie.update(e,t)}(e,t);const n=yr(t.elm);n&&Cn(t,n),vn(e,t),n&&fr(n)},insert:(e,t,n)=>{yn(e,t,n);const r=yr(e.elm);r&&Er(r),En(e),r&&function(e){br(e)}(r)},move:(e,t,n)=>{yn(e,t,n)},remove:(e,t)=>{bn(e,t);const n=yr(e.elm);n&&function(e){hr(e)}(n)}};function Pn(e,t){const{renderer:n,renderMode:r,shadowMode:o}=t;n.isSyntheticShadowDefined&&(1!==o&&0!==r||(e.$shadowResolver$=Ar(t).$shadowResolver$))}function $n(e,t,n){const r=Kn();const{key:o}=t;return{sel:e,data:t,children:n,text:undefined,elm:undefined,key:o,hook:An,owner:r}}function Ln(e,t,n,r=ie){const o=Kn(),{key:i}=n;const s={sel:e,data:n,children:r,text:undefined,elm:undefined,key:i,hook:On,ctor:t,owner:o,mode:"open"};return function(e){v.call(Kn().velements,e)}(s),s}const Nn=new Map;let Dn=0;function _n(e){var t;return t=e,kn.set(t,1),e}let Fn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const Rn=i({s:function(e,t,n,r){L(r)||L(r[e])||0===r[e].length||(n=r[e]);const o=Kn(),{renderMode:i,shadowMode:s}=o;return 0===i?(_n(n),n):(1===s&&_n(n),$n("slot",t,n))},h:$n,c:Ln,i:function(e,t){const n=[];if(_n(n),L(e)||null===e)return n;const r=e[xn]();let o=r.next(),i=0,{value:s,done:a}=o;for(;!1===a;){o=r.next(),a=o.done;const e=t(s,i,0===i,!0===a);h(e)?v.apply(n,e):v.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];_n(n);for(let r=0;r<t;r+=1){const t=e[r];h(t)?v.apply(n,t):v.call(n,t)}return n},t:function(e){return{sel:undefined,data:oe,children:undefined,text:e,elm:undefined,key:undefined,hook:Mn,owner:Kn()}},d:function(e){return null==e?"":e},b:function(e){const t=Kn();if(N(t))throw new Error;const n=t;return function(t){Jn(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{sel:undefined,data:oe,children:undefined,text:e,elm:undefined,key:undefined,hook:Tn,owner:Kn()}},dc:function(e,t,n,r){if(null==t)return null;if(!fn(t))throw new Error(`Invalid LWC Constructor ${B(t)} for custom element <${e}>.`);let o=Nn.get(t);return L(o)&&(o=Dn++,Nn.set(t,o)),n.key=`dc:${o}:${n.key}`,Ln(e,t,n,r)},ti:function(e){return e>0&&!(D(e)||_(e))?0:e},gid:function(e){const t=Kn();if(L(e)||""===e)return e;if(N(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?O.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=Kn();if(L(e)||""===e)return e;if(N(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return Fn(e)}});function In(e){return`${e}-host`}function Hn(e,t,n){const r=[];for(let o=0;o<e.length;o++){let i=e[o];if(h(i))v.apply(r,Hn(i,t,n));else{const e=i.$scoped$,o=0===n.renderMode?!e:0===n.shadowMode,s=e||1===n.shadowMode&&1===n.renderMode?t:void 0;v.call(r,i(o,s))}}return r}function Bn(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return L(n)||0===n.length||(o=Hn(n,r,e)),o}function jn(e,t){const{renderer:n,renderMode:r,shadowMode:o}=e;if(1===r&&1===o)for(let e=0;e<t.length;e++)n.insertGlobalStylesheet(t[e]);else{if(n.ssr){const e=y.call(t,"\n");return i=e,Rn.h("style",{key:"style",attrs:{type:"text/css"}},[Rn.t(i)])}{const r=function(e){let t=e;for(;!N(t);){if(1===t.renderMode&&0===t.shadowMode)return t;t=t.owner}return t}(e),o=N(r);for(let e=0;e<t.length;e++)o?n.insertGlobalStylesheet(t[e]):n.insertStylesheet(t[e],r.cmpRoot)}}var i;return null}let Wn=!1,Vn=null;function Kn(){return Vn}function zn(e){Vn=e}function Gn(e,t){const r=Wn,o=Vn;let i=[];return Tr(e,e.owner,(()=>{Vn=e}),(()=>{const{component:r,context:o,cmpSlots:s,cmpTemplate:a,tro:l}=e;l.observe((()=>{if(t!==a){if(N(a)||Mr(e),l=t,!Jt.has(l))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${B(t)}.`);e.cmpTemplate=t,o.tplCache=n(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!L(t))for(let e=0;e<t.length;e++)if(D(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderer:o,renderMode:i,shadowMode:s}=e,{stylesheets:a,stylesheetToken:l}=t,c=1===i&&1===s,{hasScopedStyles:u}=r;let d,f,p;const{stylesheetToken:h,hasTokenInClass:m,hasTokenInAttribute:g}=r;m&&o.getClassList(n).remove(In(h)),g&&o.removeAttribute(n,In(h)),L(a)||0===a.length||(d=l),L(d)||(u&&(o.getClassList(n).add(In(d)),f=!0),c&&(o.setAttribute(n,In(d),""),p=!0)),r.stylesheetToken=d,r.hasTokenInClass=f,r.hasTokenInAttribute=p}(e,t);const r=Bn(e,t);o.styleVNode=0===r.length?null:jn(e,r)}var l;e.velements=[],Wn=!0,i=t.call(void 0,Rn,r,s,o.tplCache);const{styleVNode:c}=o;N(c)||x.call(i,c)}))}),(()=>{Wn=r,Vn=o})),i}function qn(e,t){if(!u(t)&&L(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!N(n);)v.call(t,me(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}let Un=null;function Xn(e){return Un===e}function Yn(e,t,n){const{component:r,callHook:o,owner:i}=e;Tr(e,i,I,(()=>{o(r,t,n)}),I)}function Jn(e,t,n,r){const{callHook:o,owner:i}=e;Tr(e,i,I,(()=>{o(n,t,[r])}),I)}const Qn=new Map;function Zn(e){return new fe((()=>{const{isDirty:t}=e;_(t)&&(tr(e),function(e){if(D(e.renderer.ssr)||D(e.isScheduled))return;e.isScheduled=!0,0===vr.length&&ae(Cr);v.call(vr,e)}(e))}))}function er(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=Kn();let s,a=!1;return Tr(e,o,(()=>{zn(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),a=!0}))}),(()=>{zn(i)})),a?Gn(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function tr(e){e.isDirty=!0}const nr=new WeakMap;function rr(e,t){if(!F(t))throw new TypeError;let n=nr.get(t);return L(n)&&(n=function(n){Jn(e,t,void 0,n)},nr.set(t,n)),n}const or=n(null),ir=["rendered","connected","disconnected"];function sr(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let ar=0;const lr=new WeakMap;function cr(e,t,n=[]){return t.apply(e,n)}function ur(e,t,n){e[t]=n}function dr(e,t){return e[t]}function fr(e){br(e)}function pr(e){const t=wr(e);1===t.state&&function(e){hr(wr(e))}(e),Er(t),br(t)}function hr(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){_(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=or;t&&sr(e,t);kr(e)&&function(e){const{wiredDisconnecting:t}=e.context;Tr(e,e,I,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),I)}(e);const{disconnectedCallback:n}=e.def;L(n)||Yn(e,n)}(e),Sr(e),function(e){const{aChildren:t}=e;xr(t)}(e)}}function mr(e,t,r){const{mode:o,owner:i,renderer:s,tagName:a}=r,l={elm:e,def:t,idx:ar++,state:0,isScheduled:!1,isDirty:!0,tagName:a,mode:o,owner:i,renderer:s,children:ie,aChildren:ie,velements:ie,cmpProps:n(null),cmpFields:n(null),cmpSlots:n(null),oar:n(null),cmpTemplate:null,renderMode:t.renderMode,shadowMode:null,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:oe,wiredConnecting:ie,wiredDisconnecting:ie},tro:null,component:null,cmpRoot:null,callHook:cr,setHook:ur,getHook:dr};return l.shadowMode=function(e){const{def:t,renderer:n}=e,{isNativeShadowDefined:r,isSyntheticShadowDefined:o}=n;let i;if(o)if(0===t.renderMode)i=0;else if(r)if("any"===t.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!N(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=N(t)||0!==t.shadowMode?1:0}else i=1;else i=0;return i}(l),l.tro=Zn(l),function(e,t){const n=Un;let r;Un=e;try{const o=new t;if(Un.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Un=n,!L(r))throw qn(e,r),r}}(l,t.ctor),kr(l)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=Or.get(i);if(!L(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:a}=$r(e,t,s),l=s.dynamic.length>0;v.call(r,(()=>{n.connect(),ne.ENABLE_WIRE_SYNC_EMIT||!l?i():Promise.resolve().then(i)})),v.call(o,(()=>{n.disconnect(),a()}))}}}(l),l}function gr(e,t){lr.set(e,t)}function wr(e){return lr.get(e)}function yr(e){return lr.get(e)}function br(e){if(D(e.isDirty)){!function(e,t){const{children:n}=e;if(e.children=t,(t.length>0||n.length>0)&&n!==t){const r=Sn(t)?qe:Ue;Tr(e,e,(()=>{}),(()=>{const o=Ar(e);r(o,n,t)}),(()=>{}))}1===e.state&&function(e){const{renderer:t,def:{renderedCallback:n}}=e;if(D(t.ssr))return;const{rendered:r}=or;r&&sr(e,r);L(n)||Yn(e,n)}(e)}(e,er(e))}}let vr=[];function Cr(){const e=vr.sort(((e,t)=>e.idx-t.idx));vr=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{br(r)}catch(r){throw t+1<n&&(0===vr.length&&ae(Cr),x.apply(vr,k.call(e,t+1))),r}}}function Er(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=or;n&&sr(e,n),kr(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;L(r)||Yn(e,r)}function kr(e){return a(e.def.wire).length>0}function Sr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!L(n)){const e=yr(n);L(e)||hr(e)}}}function xr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];N(n)||!h(n.children)||L(n.elm)||(L(n.ctor)?xr(n.children):hr(wr(n.elm)))}}function Mr(e){const{children:t,renderer:n}=e,r=Ar(e);for(let e=0,o=t.length;e<o;e++){const o=t[e];N(o)||L(o.elm)||n.remove(o.elm,r)}e.children=ie,Sr(e),e.velements=ie}function Tr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!L(i)){qn(e,i);const n=N(t)?void 0:function(e){let t=e;for(;!N(t);){if(!L(t.def.errorCallback))return t;t=t.owner}}(t);if(L(n))throw i;Mr(e);Yn(n,n.def.errorCallback,[i,i.wcStack])}}}function Ar(e){return 1===e.renderMode?e.cmpRoot:e.elm}const Or=new Map;class Pr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function $r(e,t,n){const{method:r,adapter:i,configCallback:s,dynamic:a}=n,l=L(r)?function(e,t){const{cmpFields:n}=e;return r=>{r!==e.cmpFields[t]&&(n[t]=r,pe(e,t))}}(e,t):function(e,t){return n=>{Tr(e,e.owner,I,(()=>{t.call(e.component,n)}),I)}}(e,r);let c,u;o(l,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),o(l,"$$DeprecatedWiredParamsMetaKey$$",{value:a}),Tr(e,e,I,(()=>{u=new i(l)}),I);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=new fe((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),i()})))})),i=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:i,ro:o}}(e.component,s,(t=>{Tr(e,e,I,(()=>{u.update(t,c)}),I)}));return L(i.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Nr(r);if(L(o))return;const{elm:i,renderer:s,context:{wiredConnecting:a,wiredDisconnecting:l}}=e;v.call(a,(()=>{const e=new Pr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){v.call(l,e)}});s.dispatchEvent(i,e)}))}(e,n,(t=>{c!==t&&(c=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const Lr=new Map;function Nr(e){return Lr.get(e)}function Dr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Or.set(e,o)}function _r(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Or.set(e,o)}let Fr=!1;var Rr;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(Rr||(Rr={}));const Ir=/\s+/g;function Hr(e){return new Set(e.split(Ir).filter((e=>e.length)))}function Br(e){return Array.from(e).join(" ")}function jr(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function Wr(e){return{type:Rr.Element,name:e,parent:null,shadowRoot:null,children:[],attributes:[],eventListeners:{}}}const Vr=n(null),Kr=new WeakMap;const zr={ssr:!0,isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,insert(e,t,n){if(null!==e.parent&&e.parent!==t){const t=e.parent.children.indexOf(e);e.parent.children.splice(t,1)}e.parent=t;const r=N(n)?-1:t.children.indexOf(n);-1===r?t.children.push(e):t.children.splice(r,0,e)},remove(e,t){const n=t.children.indexOf(e);t.children.splice(n,1)},createElement:Wr,createText:e=>({type:Rr.Text,value:String(e),parent:null}),createComment:e=>({type:Rr.Comment,value:e,parent:null}),nextSibling(e){const{parent:t}=e;if(N(t))return null;const n=t.children.indexOf(e);return t.children[n+1]||null},attachShadow:(e,t)=>(e.shadowRoot={type:Rr.ShadowRoot,children:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e.shadowRoot),getProperty(e,t){var n,r;if(t in e)return e[t];if(e.type===Rr.Element){const o=ee(t);if(X(o,e.name))return null!==(n=this.getAttribute(e,o))&&void 0!==n&&n;if(J(o)||z(o))return this.getAttribute(e,o);if("input"===e.name&&"value"===t)return null!==(r=this.getAttribute(e,"value"))&&void 0!==r?r:""}},setProperty(e,t,n){if(t in e)return e[t]=n;if(e.type===Rr.Element){const r=ee(t);if("innerHTML"===t)return void(e.children=[{type:Rr.Raw,parent:e,value:n}]);if(X(r,e.name))return!0===n?this.setAttribute(e,r,""):this.removeAttribute(e,r);if(J(r)||z(r))return this.setAttribute(e,r,n);if("input"===e.name&&"value"===r)return N(n)||L(n)?this.removeAttribute(e,"value"):this.setAttribute(e,"value",n)}},setText(e,t){e.type===Rr.Text?e.value=t:e.type===Rr.Element&&(e.children=[{type:Rr.Text,parent:e,value:t}])},getAttribute(e,t,n=null){const r=e.attributes.find((e=>e.name===t&&e.namespace===n));return r?r.value:null},setAttribute(e,t,n,r=null){const o=e.attributes.find((e=>e.name===t&&e.namespace===r));L(o)?e.attributes.push({name:t,namespace:r,value:String(n)}):o.value=n},removeAttribute(e,t,n){e.attributes=e.attributes.filter((e=>e.name!==t&&e.namespace!==n))},getClassList(e){function t(){let t=e.attributes.find((e=>"class"===e.name&&N(e.namespace)));return L(t)&&(t={name:"class",namespace:null,value:""},e.attributes.push(t)),t}return{add(...e){const n=t(),r=Hr(n.value);e.forEach((e=>r.add(e))),n.value=Br(r)},remove(...e){const n=t(),r=Hr(n.value);e.forEach((e=>r.delete(e))),n.value=Br(r)}}},setCSSStyleProperty(e,t,n,r){const o=e.attributes.find((e=>"style"===e.name&&N(e.namespace))),i=`${t}: ${n}${r?" !important":""}`;L(o)?e.attributes.push({name:"style",namespace:null,value:i}):o.value+=`; ${i}`},isConnected:e=>!N(e.parent),insertGlobalStylesheet(){},insertStylesheet(){},addEventListener(){},removeEventListener(){},dispatchEvent:jr("dispatchEvent"),getBoundingClientRect:jr("getBoundingClientRect"),querySelector:jr("querySelector"),querySelectorAll:jr("querySelectorAll"),getElementsByTagName:jr("getElementsByTagName"),getElementsByClassName:jr("getElementsByClassName"),getChildren:jr("getChildren"),getChildNodes:jr("getChildNodes"),getFirstChild:jr("getFirstChild"),getFirstElementChild:jr("getFirstElementChild"),getLastChild:jr("getLastChild"),getLastElementChild:jr("getLastElementChild"),defineCustomElement(e,t,n){!function(e,t){if(e!==$.call(e)||Vr[e])throw new TypeError("Invalid Registration");Vr[e]=t,Kr.set(t,e)}(e,t)},getCustomElement:e=>Vr[e],HTMLElement:class{constructor(){const{constructor:e}=this,t=Kr.get(e);if(!t)throw new TypeError("Invalid Construction");return Wr(t)}}},Gr={'"':""","'":"'","<":"<",">":">","&":"&"};function qr(e){return e.replace(/["'<>&]/g,(e=>Gr[e]))}function Ur(e){return e.map((e=>{switch(e.type){case Rr.Text:return qr(e.value);case Rr.Comment:return`\x3c!--${qr(e.value)}--\x3e`;case Rr.Raw:return e.value;case Rr.Element:return Xr(e)}})).join("")}function Xr(e){let t="";const{name:n}=e,r=e.attributes.length?` ${o=e.attributes,o.map((e=>e.value.length?`${e.name}=${JSON.stringify(qr(e.value))}`:e.name)).join(" ")}`:"";var o;const i=Ur(e.children);return t+=`<${n}${r}>`,e.shadowRoot&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${Ur(e.children)}</template>`}(e.shadowRoot)),t+=i,function(e){return q.has(e)}(n)||(t+=`</${n}>`),t}const Yr={type:Rr.Element,name:"fake-root-element",parent:null,shadowRoot:null,children:[],attributes:[],eventListeners:{}};i(Rt),f(Rt.prototype),exports.LightningElement=Rt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=Nr(e);if(!L(t))throw new Error("Adapter already has a context provider.");t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),function(e,t){Lr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{L(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},exports.getComponentDef=function(e){const t=pn(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,a={};for(const e in o)a[e]={config:i[e]||0,type:"any",attr:ee(e)};const l={};for(const e in s)l[e]=s[e].value;return{ctor:n,name:r,props:a,methods:l}},exports.isComponentConstructor=fn,exports.readonly=function(e){return _t.getReadOnlyProxy(e)},exports.register=function(e){for(let t=0;t<ir.length;++t){const n=ir[t];if(n in e){let t=or[n];L(t)&&(or[n]=t=[]),v.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return Qn.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:i,publicMethods:a,wire:l,track:c,fields:u}=t,d=n(null),f=n(null),p=n(null),h=n(null),m=n(null),g=n(null);let w;if(!L(i))for(const e in i){const t=i[e];if(g[e]=t.config,w=s(r,e),t.config>0){if(L(w))throw new Error;w=qt(e,w)}else w=L(w)||L(w.get)?zt(e):qt(e,w);f[e]=w,o(r,e,w)}if(L(a)||M.call(a,(e=>{if(w=s(r,e),L(w))throw new Error;d[e]=w})),!L(l))for(const e in l){const{adapter:t,method:n,config:i,dynamic:a=[]}=l[e];if(w=s(r,e),1===n){if(L(w))throw new Error;p[e]=w,Dr(w,t,i,a)}else w=Vt(e),h[e]=w,_r(w,t,i,a),o(r,e,w)}if(!L(c))for(const e in c)w=s(r,e),w=Kt(e),o(r,e,w);if(!L(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=s(r,t);const n=!L(i)&&t in i,o=!L(c)&&t in c;n||o||(m[t]=Ut(t))}return function(e,t){Xt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return Jt.add(e),e},exports.renderComponent=function(e,t,n={}){if(!R(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!F(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||N(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=zr.createElement(e);mr(r,pn(t),{mode:"open",owner:null,renderer:zr,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r.parent=Yr,pr(r),Xr(r)},exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(L(te[e])){const n=d(te).map((e=>`"${e}"`)).join(", ");console.warn(`Failed to set the value "${t}" for the runtime feature flag "${e}" because it is undefined. Available flags: ${n}.`)}else{const n=ne[e];if(!L(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);o(ne,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},exports.setFeatureFlagForTest=function(e,t){},exports.setHooks=function(t){var n;e.isFalse(Fr,"Hooks are already overridden, only one definition is allowed."),Fr=!0,n=t.sanitizeHtmlContent,Fn=n},exports.track=function(e){if(1===arguments.length)return _t.getProxy(e);throw new Error},exports.unwrap=function(e){const t=_t.unwrapProxy(e);return t!==e?t:e},exports.wire=function(e,t){throw new Error};
|