lwc 2.14.0 → 2.14.1
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 +48 -22
- package/dist/engine-dom/iife/es2017/engine-dom.js +48 -22
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +44 -19
- package/dist/engine-dom/iife/es5/engine-dom.js +49 -25
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +45 -21
- package/dist/engine-dom/umd/es2017/engine-dom.js +48 -22
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +44 -19
- package/dist/engine-dom/umd/es5/engine-dom.js +49 -25
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +45 -21
- package/dist/engine-server/commonjs/es2017/engine-server.js +48 -22
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +48 -22
- 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 +7 -7
|
@@ -350,7 +350,7 @@
|
|
|
350
350
|
var XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace';
|
|
351
351
|
var SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
|
|
352
352
|
var XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
|
|
353
|
-
/** version: 2.14.
|
|
353
|
+
/** version: 2.14.1 */
|
|
354
354
|
|
|
355
355
|
/*
|
|
356
356
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -3695,14 +3695,19 @@
|
|
|
3695
3695
|
removeNode(elm, parent);
|
|
3696
3696
|
}
|
|
3697
3697
|
|
|
3698
|
-
var removeChildren = sel === 'slot'; // slot content is removed to trigger slotchange event when removing slot
|
|
3699
|
-
|
|
3700
3698
|
switch (type) {
|
|
3701
3699
|
case 2
|
|
3702
3700
|
/* Element */
|
|
3703
3701
|
:
|
|
3704
|
-
|
|
3705
|
-
|
|
3702
|
+
{
|
|
3703
|
+
// Slot content is removed to trigger slotchange event when removing slot.
|
|
3704
|
+
// Only required for synthetic shadow.
|
|
3705
|
+
var removeChildren = sel === 'slot' && vnode.owner.shadowMode === 1
|
|
3706
|
+
/* Synthetic */
|
|
3707
|
+
;
|
|
3708
|
+
unmountVNodes(vnode.children, elm, removeChildren);
|
|
3709
|
+
break;
|
|
3710
|
+
}
|
|
3706
3711
|
|
|
3707
3712
|
case 3
|
|
3708
3713
|
/* CustomElement */
|
|
@@ -5197,9 +5202,19 @@
|
|
|
5197
5202
|
resetComponentStateWhenRemoved(vm);
|
|
5198
5203
|
}
|
|
5199
5204
|
|
|
5200
|
-
function
|
|
5201
|
-
var
|
|
5205
|
+
function getNearestShadowAncestor(vm) {
|
|
5206
|
+
var ancestor = vm.owner;
|
|
5207
|
+
|
|
5208
|
+
while (!isNull(ancestor) && ancestor.renderMode === 0
|
|
5209
|
+
/* Light */
|
|
5210
|
+
) {
|
|
5211
|
+
ancestor = ancestor.owner;
|
|
5212
|
+
}
|
|
5213
|
+
|
|
5214
|
+
return ancestor;
|
|
5215
|
+
}
|
|
5202
5216
|
|
|
5217
|
+
function createVM(elm, ctor, options) {
|
|
5203
5218
|
var mode = options.mode,
|
|
5204
5219
|
owner = options.owner,
|
|
5205
5220
|
tagName = options.tagName,
|
|
@@ -5227,8 +5242,6 @@
|
|
|
5227
5242
|
cmpTemplate: null,
|
|
5228
5243
|
hydrated: Boolean(hydrated),
|
|
5229
5244
|
renderMode: def.renderMode,
|
|
5230
|
-
shadowMode: computeShadowMode(def, owner),
|
|
5231
|
-
nearestShadowMode: (owner === null || owner === void 0 ? void 0 : owner.shadowRoot) ? owner.shadowMode : (_a = owner === null || owner === void 0 ? void 0 : owner.nearestShadowMode) !== null && _a !== void 0 ? _a : null,
|
|
5232
5245
|
context: {
|
|
5233
5246
|
stylesheetToken: undefined,
|
|
5234
5247
|
hasTokenInClass: undefined,
|
|
@@ -5241,6 +5254,7 @@
|
|
|
5241
5254
|
},
|
|
5242
5255
|
// Properties set right after VM creation.
|
|
5243
5256
|
tro: null,
|
|
5257
|
+
shadowMode: null,
|
|
5244
5258
|
// Properties set by the LightningElement constructor.
|
|
5245
5259
|
component: null,
|
|
5246
5260
|
shadowRoot: null,
|
|
@@ -5249,6 +5263,7 @@
|
|
|
5249
5263
|
setHook: setHook,
|
|
5250
5264
|
getHook: getHook
|
|
5251
5265
|
};
|
|
5266
|
+
vm.shadowMode = computeShadowMode(vm);
|
|
5252
5267
|
vm.tro = getTemplateReactiveObserver(vm);
|
|
5253
5268
|
|
|
5254
5269
|
|
|
@@ -5261,9 +5276,8 @@
|
|
|
5261
5276
|
return vm;
|
|
5262
5277
|
}
|
|
5263
5278
|
|
|
5264
|
-
function computeShadowMode(
|
|
5265
|
-
var
|
|
5266
|
-
|
|
5279
|
+
function computeShadowMode(vm) {
|
|
5280
|
+
var def = vm.def;
|
|
5267
5281
|
var shadowMode;
|
|
5268
5282
|
|
|
5269
5283
|
if (isSyntheticShadowDefined$1) {
|
|
@@ -5286,13 +5300,23 @@
|
|
|
5286
5300
|
/* Native */
|
|
5287
5301
|
;
|
|
5288
5302
|
} else {
|
|
5289
|
-
|
|
5290
|
-
|
|
5291
|
-
|
|
5292
|
-
|
|
5293
|
-
|
|
5294
|
-
|
|
5295
|
-
|
|
5303
|
+
var shadowAncestor = getNearestShadowAncestor(vm);
|
|
5304
|
+
|
|
5305
|
+
if (!isNull(shadowAncestor) && shadowAncestor.shadowMode === 0
|
|
5306
|
+
/* Native */
|
|
5307
|
+
) {
|
|
5308
|
+
// Transitive support for native Shadow DOM. A component in native mode
|
|
5309
|
+
// transitively opts all of its descendants into native.
|
|
5310
|
+
shadowMode = 0
|
|
5311
|
+
/* Native */
|
|
5312
|
+
;
|
|
5313
|
+
} else {
|
|
5314
|
+
// Synthetic if neither this component nor any of its ancestors are configured
|
|
5315
|
+
// to be native.
|
|
5316
|
+
shadowMode = 1
|
|
5317
|
+
/* Synthetic */
|
|
5318
|
+
;
|
|
5319
|
+
}
|
|
5296
5320
|
}
|
|
5297
5321
|
} else {
|
|
5298
5322
|
shadowMode = 1
|
|
@@ -6390,7 +6414,7 @@
|
|
|
6390
6414
|
|
|
6391
6415
|
return ctor;
|
|
6392
6416
|
}
|
|
6393
|
-
/* version: 2.14.
|
|
6417
|
+
/* version: 2.14.1 */
|
|
6394
6418
|
|
|
6395
6419
|
/*
|
|
6396
6420
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -7166,7 +7190,7 @@
|
|
|
7166
7190
|
});
|
|
7167
7191
|
freeze(LightningElement);
|
|
7168
7192
|
seal(LightningElement.prototype);
|
|
7169
|
-
/* version: 2.14.
|
|
7193
|
+
/* version: 2.14.1 */
|
|
7170
7194
|
|
|
7171
7195
|
exports.LightningElement = LightningElement;
|
|
7172
7196
|
exports.__unstable__ProfilerControl = profilerControl;
|
|
@@ -421,9 +421,9 @@ const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
|
|
|
421
421
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
422
422
|
*/
|
|
423
423
|
// Increment whenever the LWC template compiler changes
|
|
424
|
-
const LWC_VERSION = "2.14.
|
|
424
|
+
const LWC_VERSION = "2.14.1";
|
|
425
425
|
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
426
|
-
/** version: 2.14.
|
|
426
|
+
/** version: 2.14.1 */
|
|
427
427
|
|
|
428
428
|
/*
|
|
429
429
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -532,7 +532,7 @@ function setFeatureFlagForTest(name, value) {
|
|
|
532
532
|
setFeatureFlag(name, value);
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
|
-
/** version: 2.14.
|
|
535
|
+
/** version: 2.14.1 */
|
|
536
536
|
|
|
537
537
|
/* proxy-compat-disable */
|
|
538
538
|
|
|
@@ -2817,7 +2817,8 @@ function getDecoratorsMeta(Ctor) {
|
|
|
2817
2817
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
2818
2818
|
*/
|
|
2819
2819
|
let warned = false;
|
|
2820
|
-
|
|
2820
|
+
// @ts-ignore
|
|
2821
|
+
if (process.env.NODE_ENV !== 'production' && typeof __karma__ !== 'undefined') {
|
|
2821
2822
|
// @ts-ignore
|
|
2822
2823
|
window.__lwcResetWarnedOnVersionMismatch = () => {
|
|
2823
2824
|
warned = false;
|
|
@@ -3836,11 +3837,14 @@ function unmount(vnode, parent, doRemove = false) {
|
|
|
3836
3837
|
if (doRemove) {
|
|
3837
3838
|
removeNode(elm, parent);
|
|
3838
3839
|
}
|
|
3839
|
-
const removeChildren = sel === 'slot'; // slot content is removed to trigger slotchange event when removing slot
|
|
3840
3840
|
switch (type) {
|
|
3841
|
-
case 2 /* Element */:
|
|
3841
|
+
case 2 /* Element */: {
|
|
3842
|
+
// Slot content is removed to trigger slotchange event when removing slot.
|
|
3843
|
+
// Only required for synthetic shadow.
|
|
3844
|
+
const removeChildren = sel === 'slot' && vnode.owner.shadowMode === 1 /* Synthetic */;
|
|
3842
3845
|
unmountVNodes(vnode.children, elm, removeChildren);
|
|
3843
3846
|
break;
|
|
3847
|
+
}
|
|
3844
3848
|
case 3 /* CustomElement */: {
|
|
3845
3849
|
const { vm } = vnode;
|
|
3846
3850
|
// No need to unmount the children here, `removeVM` will take care of removing the
|
|
@@ -5282,9 +5286,20 @@ function removeVM(vm) {
|
|
|
5282
5286
|
|
|
5283
5287
|
resetComponentStateWhenRemoved(vm);
|
|
5284
5288
|
}
|
|
5285
|
-
function createVM(elm, ctor, options) {
|
|
5286
|
-
var _a;
|
|
5287
5289
|
|
|
5290
|
+
function getNearestShadowAncestor(vm) {
|
|
5291
|
+
let ancestor = vm.owner;
|
|
5292
|
+
|
|
5293
|
+
while (!isNull(ancestor) && ancestor.renderMode === 0
|
|
5294
|
+
/* Light */
|
|
5295
|
+
) {
|
|
5296
|
+
ancestor = ancestor.owner;
|
|
5297
|
+
}
|
|
5298
|
+
|
|
5299
|
+
return ancestor;
|
|
5300
|
+
}
|
|
5301
|
+
|
|
5302
|
+
function createVM(elm, ctor, options) {
|
|
5288
5303
|
const {
|
|
5289
5304
|
mode,
|
|
5290
5305
|
owner,
|
|
@@ -5314,8 +5329,6 @@ function createVM(elm, ctor, options) {
|
|
|
5314
5329
|
cmpTemplate: null,
|
|
5315
5330
|
hydrated: Boolean(hydrated),
|
|
5316
5331
|
renderMode: def.renderMode,
|
|
5317
|
-
shadowMode: computeShadowMode(def, owner),
|
|
5318
|
-
nearestShadowMode: (owner === null || owner === void 0 ? void 0 : owner.shadowRoot) ? owner.shadowMode : (_a = owner === null || owner === void 0 ? void 0 : owner.nearestShadowMode) !== null && _a !== void 0 ? _a : null,
|
|
5319
5332
|
context: {
|
|
5320
5333
|
stylesheetToken: undefined,
|
|
5321
5334
|
hasTokenInClass: undefined,
|
|
@@ -5328,6 +5341,7 @@ function createVM(elm, ctor, options) {
|
|
|
5328
5341
|
},
|
|
5329
5342
|
// Properties set right after VM creation.
|
|
5330
5343
|
tro: null,
|
|
5344
|
+
shadowMode: null,
|
|
5331
5345
|
// Properties set by the LightningElement constructor.
|
|
5332
5346
|
component: null,
|
|
5333
5347
|
shadowRoot: null,
|
|
@@ -5336,6 +5350,7 @@ function createVM(elm, ctor, options) {
|
|
|
5336
5350
|
setHook,
|
|
5337
5351
|
getHook
|
|
5338
5352
|
};
|
|
5353
|
+
vm.shadowMode = computeShadowMode(vm);
|
|
5339
5354
|
vm.tro = getTemplateReactiveObserver(vm);
|
|
5340
5355
|
|
|
5341
5356
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -5360,9 +5375,10 @@ function createVM(elm, ctor, options) {
|
|
|
5360
5375
|
return vm;
|
|
5361
5376
|
}
|
|
5362
5377
|
|
|
5363
|
-
function computeShadowMode(
|
|
5364
|
-
|
|
5365
|
-
|
|
5378
|
+
function computeShadowMode(vm) {
|
|
5379
|
+
const {
|
|
5380
|
+
def
|
|
5381
|
+
} = vm;
|
|
5366
5382
|
let shadowMode;
|
|
5367
5383
|
|
|
5368
5384
|
if (isSyntheticShadowDefined$1) {
|
|
@@ -5385,13 +5401,23 @@ function computeShadowMode(def, owner) {
|
|
|
5385
5401
|
/* Native */
|
|
5386
5402
|
;
|
|
5387
5403
|
} else {
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
|
|
5394
|
-
|
|
5404
|
+
const shadowAncestor = getNearestShadowAncestor(vm);
|
|
5405
|
+
|
|
5406
|
+
if (!isNull(shadowAncestor) && shadowAncestor.shadowMode === 0
|
|
5407
|
+
/* Native */
|
|
5408
|
+
) {
|
|
5409
|
+
// Transitive support for native Shadow DOM. A component in native mode
|
|
5410
|
+
// transitively opts all of its descendants into native.
|
|
5411
|
+
shadowMode = 0
|
|
5412
|
+
/* Native */
|
|
5413
|
+
;
|
|
5414
|
+
} else {
|
|
5415
|
+
// Synthetic if neither this component nor any of its ancestors are configured
|
|
5416
|
+
// to be native.
|
|
5417
|
+
shadowMode = 1
|
|
5418
|
+
/* Synthetic */
|
|
5419
|
+
;
|
|
5420
|
+
}
|
|
5395
5421
|
}
|
|
5396
5422
|
} else {
|
|
5397
5423
|
shadowMode = 1
|
|
@@ -6270,7 +6296,7 @@ function freezeTemplate(tmpl) {
|
|
|
6270
6296
|
});
|
|
6271
6297
|
}
|
|
6272
6298
|
}
|
|
6273
|
-
/* version: 2.14.
|
|
6299
|
+
/* version: 2.14.1 */
|
|
6274
6300
|
|
|
6275
6301
|
/*
|
|
6276
6302
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -6729,7 +6755,7 @@ function renderComponent(tagName, Ctor, props = {}) {
|
|
|
6729
6755
|
*/
|
|
6730
6756
|
freeze(LightningElement);
|
|
6731
6757
|
seal(LightningElement.prototype);
|
|
6732
|
-
/* version: 2.14.
|
|
6758
|
+
/* version: 2.14.1 */
|
|
6733
6759
|
|
|
6734
6760
|
exports.LightningElement = LightningElement;
|
|
6735
6761
|
exports.api = api$1;
|
|
@@ -1 +1 @@
|
|
|
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:l,getOwnPropertyNames:s,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:d,seal:f,setPrototypeOf:p}=Object,{isArray:h}=Array,{copyWithin:m,fill:g,filter:w,find:y,indexOf:b,join:v,map:E,pop:C,push:k,reduce:x,reverse:M,shift:S,slice:T,sort:O,splice:A,unshift:P,forEach:$}=Array.prototype,{fromCharCode:N}=String,{charCodeAt:R,replace:_,slice:D,toLowerCase:F}=String.prototype;function L(e){return void 0===e}function I(e){return null===e}function H(e){return!0===e}function j(e){return!1===e}function B(e){return"function"==typeof e}function W(e){return"string"==typeof e}function V(){}const K={}.toString;function G(e){return e&&e.toString?h(e)?v.call(E.call(e,G),","):e.toString():"object"==typeof e?K.call(e):e+""}function z(e,t){do{const n=l(e,t);if(!L(n))return n;e=a(e)}while(null!==e)}const U=["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:q,AriaPropNameToAttrNameMap:X}=(()=>{const e=n(null),t=n(null);return $.call(U,(n=>{const r=F.call(_.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function Y(e){return e in q}const J=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","path","rect","source","track","wbr"]);const Z=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 ee(e,t){const n=Z.get(e);return void 0!==n&&(0===n.size||n.has(t))}const te=new Set(["role","accesskey","class","contenteditable","contextmenu","dir","draggable","dropzone","hidden","id","itemprop","lang","slot","spellcheck","style","tabindex","title"]);function ne(e){return te.has(e)}const re=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"]]),oe=new Map;function ie(e){const t=X[e];if(!L(t))return t;const n=re.get(e);if(!L(n))return n;const r=oe.get(e);if(!L(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=R.call(e,t);o+=n>=65&&n<=90?"-"+N(n+32):N(n)}return oe.set(e,o),o}if("function"!=typeof Event){class e{}o(J,"Event",{value:e,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class e extends Event{}o(J,"CustomEvent",{value:e,configurable:!0,writable:!0})}const le={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HMR:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null};J.lwcRuntimeFlags||Object.defineProperty(J,"lwcRuntimeFlags",{value:n(null)});const se=J.lwcRuntimeFlags;let ae=[];const ce=f(n(null)),ue=f([]);function de(){const e=ae;ae=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function fe(e){0===ae.length&&Promise.resolve().then(de),k.call(ae,e)}let pe,he,me,ge,we,ye,be,ve,Ee,Ce,ke,xe,Me,Se,Te,Oe,Ae,Pe,$e,Ne,Re,_e,De,Fe,Le,Ie,He,je,Be,We,Ve,Ke,Ge,ze,Ue,qe,Xe;const Ye=new WeakMap;let Je=null;function Qe(e,t){const n=Ye.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 Ze(e,t){if(null===Je)return;const r=Je,o=function(e){let t=Ye.get(e);if(L(t)){const r=n(null);t=r,Ye.set(e,r)}return t}(e);let i=o[t];if(L(i))i=[],o[t]=i;else if(i[0]===r)return;-1===b.call(i,r)&&r.link(i)}class et{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=Je;let n;Je=this;try{e()}catch(e){n=Object(e)}finally{if(Je=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=b.call(e[n],this);A.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){k.call(e,this),k.call(this.listeners,e)}}function tt(e,t){Qe(e.component,t)}function nt(e,t){Ze(e.component,t)}function rt(e){return`<${F.call(e.tagName)}>`}function ot(e,t){if(!u(t)&&L(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!I(n);)k.call(t,rt(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}function it(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function lt(e){return B(e)&&c.call(e,"__circular__")}const st="undefined"!=typeof HTMLElement?HTMLElement:function(){},at=st.prototype;function ct(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:ct("offsetHeight")},offsetLeft:{readOnly:!0,error:ct("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:ct("offsetTop")},offsetWidth:{readOnly:!0,error:ct("offsetWidth")},role:{attribute:"role"}});let ut,dt=null;function ft(e,t){return e!==dt||t!==ut}function pt(e,t){dt=null,ut=void 0}function ht(e,t){dt=e,ut=t}const mt=n(null);$.call(d(X),(e=>{const t=z(at,e);L(t)||(mt[e]=t)})),$.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=z(at,e);L(t)||(mt[e]=t)}));const{isArray:gt}=Array,{prototype:wt,getPrototypeOf:yt,create:bt,defineProperty:vt,isExtensible:Et,getOwnPropertyDescriptor:Ct,getOwnPropertyNames:kt,getOwnPropertySymbols:xt,preventExtensions:Mt,hasOwnProperty:St}=Object,{push:Tt,concat:Ot}=Array.prototype;function At(e){return void 0===e}function Pt(e){return"function"==typeof e}const $t=new WeakMap;function Nt(e,t){$t.set(e,t)}const Rt=e=>$t.get(e)||e;class _t{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(St.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;At(n)||(e.get=this.wrapGetter(n)),At(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=Ct(n,t);if(!At(r)){const n=this.wrapDescriptor(r);vt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;Ot.call(kt(t),xt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;At(n)||St.call(e,n)||vt(e,n,bt(null)),Mt(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=At(n)||St.call(t,n)?[]:[n];return Tt.apply(r,kt(t)),Tt.apply(r,xt(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!Et(e)&&(!!Et(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return yt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=Ct(n,t);if(At(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},vt(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const Dt=new WeakMap,Ft=new WeakMap,Lt=new WeakMap,It=new WeakMap;class Ht extends _t{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Dt.get(e);if(!At(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Rt(this)))};return Dt.set(e,r),Lt.set(r,e),r}wrapSetter(e){const t=Ft.get(e);if(!At(t))return t;const n=function(t){e.call(Rt(this),Rt(t))};return Ft.set(e,n),It.set(n,e),n}unwrapDescriptor(e){if(St.call(e,"value"))e.value=Rt(e.value);else{const{set:t,get:n}=e;At(n)||(e.get=this.unwrapGetter(n)),At(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Lt.get(e);if(!At(t))return t;const n=this,r=function(){return Rt(e.call(n.wrapValue(this)))};return Dt.set(r,e),Lt.set(e,r),r}unwrapSetter(e){const t=It.get(e);if(!At(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Ft.set(r,e),It.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&>(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(Et(e)){const{originalTarget:t}=this;if(Mt(t),Et(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!St.call(r,t)||(vt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const jt=new WeakMap,Bt=new WeakMap;class Wt extends _t{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=jt.get(e);if(!At(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Rt(this)))};return jt.set(e,r),r}wrapSetter(e){const t=Bt.get(e);if(!At(t))return t;const n=function(e){};return Bt.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}}function Vt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(gt(e))return!0;const t=yt(e);return t===wt||null===t||null===yt(t)}const Kt=(e,t)=>{},Gt=(e,t)=>{};function zt(e){return gt(e)?[]:{}}const Ut=Symbol.for("@@lockerLiveValue"),qt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=Pt(t)?t:Gt,this.valueObserved=Pt(n)?n:Kt,this.valueIsObservable=Pt(r)?r:Vt,this.tagPropertyKey=o}getProxy(e){const t=Rt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Rt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Rt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(At(t)){const n=new Ht(this,e);t=new Proxy(zt(e),n),Nt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(At(t)){const n=new Wt(this,e);t=new Proxy(zt(e),n),Nt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Ze,valueMutated:Qe,tagPropertyKey:Ut});function Xt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!B(n))throw new TypeError;if(!B(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=Lr(this);if(!hr(t))return nt(t,e),n.call(t.elm)},set(t){const n=Lr(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,tt(n,e)),r.call(n.elm,t)}}}const Yt=function(){if(I(pr))throw new ReferenceError("Illegal constructor");const e=pr,{def:t,elm:n}=e,{bridge:r}=t,o=this;if(p(n,r.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[Ut]=void 0,Fr(o,e),Fr(n,e),1===e.renderMode?e.renderRoot=Jt(e):e.renderRoot=n,this};function Jt(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o}}=e,i=ke(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=i,Fr(i,e),i}Yt.prototype={constructor:Yt,dispatchEvent(e){const{elm:t}=Lr(this);return Ne(t,e)},addEventListener(e,t,n){const r=Lr(this),{elm:o}=r,i=Cr(r,t);Pe(o,e,i,n)},removeEventListener(e,t,n){const r=Lr(this),{elm:o}=r,i=Cr(r,t);$e(o,e,i,n)},hasAttribute(e){const{elm:t}=Lr(this);return!I(Te(t,e))},hasAttributeNS(e,t){const{elm:n}=Lr(this);return!I(Te(n,t,e))},removeAttribute(e){const{elm:t}=Lr(this);ht(t,e),Ae(t,e),pt()},removeAttributeNS(e,t){const{elm:n}=Lr(this);ht(n,t),Ae(n,t,e),pt()},getAttribute(e){const{elm:t}=Lr(this);return Te(t,e)},getAttributeNS(e,t){const{elm:n}=Lr(this);return Te(n,t,e)},setAttribute(e,t){const n=Lr(this),{elm:r}=n;ht(r,e),Oe(r,e,t),pt()},setAttributeNS(e,t,n){const r=Lr(this),{elm:o}=r;ht(o,t),Oe(o,t,n,e),pt()},getBoundingClientRect(){const e=Lr(this),{elm:t}=e;return De(t)},get isConnected(){const{elm:e}=Lr(this);return ze(e)},get classList(){const e=Lr(this),{elm:t}=e;return Re(t)},get template(){return Lr(this).shadowRoot},get shadowRoot(){return null},render(){return Lr(this).def.template},toString(){return`[object ${Lr(this).def.name}]`}};const Qt=n(null),Zt=["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild"];function en(e){switch(e){case"children":return je;case"childNodes":return Be;case"firstChild":return We;case"firstElementChild":return Ve;case"lastChild":return Ke;case"lastElementChild":return Ge}}for(const e of Zt)Qt[e]={get(){const t=Lr(this),{elm:n}=t;return en(e)(n)},configurable:!0,enumerable:!0};const tn=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];function nn(e){switch(e){case"getElementsByClassName":return He;case"getElementsByTagName":return Ie;case"querySelector":return Fe;case"querySelectorAll":return Le}}for(const e of tn)Qt[e]={value(t){const n=Lr(this),{elm:r}=n;return nn(e)(r,t)},configurable:!0,enumerable:!0,writable:!0};r(Yt.prototype,Qt);const rn=n(null);for(const e in mt)rn[e]=Xt(e,mt[e]);function on(e){return{get(){const t=Lr(this);return nt(t,e),t.cmpFields[e]},set(t){const n=Lr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,tt(n,e))},enumerable:!0,configurable:!0}}function ln(e){return{get(){const t=Lr(this);if(!hr(t))return nt(t,e),t.cmpProps[e]},set(t){const n=Lr(this);n.cmpProps[e]=t,tt(n,e)},enumerable:!0,configurable:!0}}r(Yt.prototype,rn),o(Yt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class sn extends et{constructor(e,t){super((()=>{j(this.debouncing)&&(this.debouncing=!0,fe((()=>{if(H(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,H(e.isDirty)&&j(r)&&i>0&&$r(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function an(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!B(n))throw new Error;return{get(){return n.call(this)},set(t){const n=Lr(this);if(r)if(se.ENABLE_REACTIVE_SETTER){let o=n.oar[e];L(o)&&(o=n.oar[e]=new sn(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function cn(e){return{get(){const t=Lr(this);return nt(t,e),t.cmpFields[e]},set(t){const n=Lr(this),r=qt.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,tt(n,e))},enumerable:!0,configurable:!0}}function un(e){return{get(){const t=Lr(this);return nt(t,e),t.cmpFields[e]},set(t){const n=Lr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,tt(n,e))},enumerable:!0,configurable:!0}}const dn=new Map;const fn={apiMethods:ce,apiFields:ce,apiFieldsConfig:ce,wiredMethods:ce,wiredFields:ce,observedFields:ce};const pn=new Set;function hn(){return[]}pn.add(hn);const mn=n(null),gn=n(null);function wn(e){let t=mn[e];return L(t)&&(t=mn[e]=function(){const t=Lr(this),{getHook:n}=t;return n(t.component,e)}),t}function yn(e){let t=gn[e];return L(t)&&(t=gn[e]=function(t){const n=Lr(this),{setHook:r}=n;t=qt.getReadOnlyProxy(t),r(n.component,e,t)}),t}function bn(e){return function(){const t=Lr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,T.call(arguments))}}function vn(e,t){return function(n,r,o){if(r===o)return;const i=e[n];L(i)?L(t)||t.apply(this,arguments):ft(this,n)&&(this[i]=o)}}function En(e,t,i){let l;B(e)?l=class extends e{}:(l=function(){throw new TypeError("Illegal constructor")},p(l,e),p(l.prototype,e.prototype),o(l.prototype,"constructor",{writable:!0,configurable:!0,value:l}));const s=n(null),{attributeChangedCallback:a}=e.prototype,{observedAttributes:c=[]}=e,u=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];s[ie(n)]=n,u[n]={get:wn(n),set:yn(n),enumerable:!0,configurable:!0}}for(let e=0,t=i.length;e<t;e+=1){const t=i[e];u[t]={value:bn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:vn(s,a)},o(l,"observedAttributes",{get:()=>[...c,...d(s)]}),r(l.prototype,u),l}const Cn=En(st,s(mt),[]);i(Cn),f(Cn.prototype);const kn=new WeakMap;function xn(e){const{shadowSupportMode:o,renderMode:i}=e,l=function(e){const t=dn.get(e);return L(t)?fn:t}(e),{apiFields:s,apiFieldsConfig:c,apiMethods:u,wiredFields:f,wiredMethods:p,observedFields:h}=l,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=a(e);if(I(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(lt(t)){const e=it(t);t=e===t?Yt:e}return t}(e),C=E!==Yt?Sn(E):Tn,k=En(C.bridge,d(s),d(u)),x=t(n(null),C.props,s),M=t(n(null),C.propsConfig,c),S=t(n(null),C.methods,u),T=t(n(null),C.wire,f,p);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let O=C.shadowSupportMode;L(o)||(O=o);let A=C.renderMode;L(i)||(A="light"===i?0:1);const P=function(e){return wr.get(e)}(e)||C.template,$=e.name||C.name;r(m,h);return{ctor:e,name:$,wire:T,props:x,propsConfig:M,methods:S,bridge:k,template:P,renderMode:A,shadowSupportMode:O,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Mn(e){if(!B(e))return!1;if(e.prototype instanceof Yt)return!0;let t=e;do{if(lt(t)){const e=it(t);if(e===t)return!0;t=e}if(t===Yt)return!0}while(!I(t)&&(t=a(t)));return!1}function Sn(e){let t=kn.get(e);if(L(t)){if(lt(e)){return t=Sn(it(e)),kn.set(e,t),t}if(!Mn(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=xn(e),kn.set(e,t)}return t}const Tn={ctor:Yt,name:Yt.name,props:rn,propsConfig:ce,methods:ce,renderMode:1,shadowSupportMode:"reset",wire:ce,bridge:Cn,template:hn,render:Yt.prototype.render};function On(e){const{type:t}=e;return 2===t||3===t}function An(e,t){return e.key===t.key&&e.sel===t.sel}function Pn(e,t){return"input"===e&&("value"===t||"checked"===t)}const $n=n(null);function Nn(e){if(null==e)return ce;e=W(e)?e:e+"";let t=$n[e];if(t)return t;t=n(null);let r,o=0;const i=e.length;for(r=0;r<i;r++)32===R.call(e,r)&&(r>o&&(t[D.call(e,o,r)]=!0),o=r+1);return r>o&&(t[D.call(e,o,r)]=!0),$n[e]=t,t}function Rn(e,t,n){var r;r=t,Un.has(r)?function(e,t,n){let r=0,o=0,i=e.length-1,l=e[0],s=e[i];const a=t.length-1;let c,u,d,f,p=a,h=t[0],m=t[p],g=!1;for(;r<=i&&o<=p;)Hn(l)?Hn(s)?Hn(h)?Hn(m)?An(l,h)?(_n(l,h),l=e[++r],h=t[++o]):An(s,m)?(_n(s,m),s=e[--i],m=t[--p]):An(l,m)?(_n(l,m),Kn(l.elm,n,Ce(s.elm)),l=e[++r],m=t[--p]):An(s,h)?(_n(s,h),Kn(h.elm,n,l.elm),s=e[--i],h=t[++o]):(void 0===c&&(c=qn(e,r,i)),u=c[h.key],L(u)?(Dn(h,n,l.elm),h=t[++o]):(d=e[u],Hn(d)&&(d.sel!==h.sel?Dn(h,n,l.elm):(_n(d,h),g||(g=!0,e=[...e]),e[u]=void 0,Kn(d.elm,n,l.elm))),h=t[++o])):m=t[--p]:h=t[++o]:s=e[--i]:l=e[++r];if(r<=i||o<=p)if(r>i){let e,r=p;do{e=t[++r]}while(!Hn(e)&&r<a);f=Hn(e)?e.elm:null,Fn(t,n,f,o,p+1)}else In(e,n,!0,r,i+1)}(e,t,n):function(e,t,n){const r=e.length,o=t.length;if(0===r)return void Fn(t,n,null);if(0===o)return void In(e,n,!0);let i=null;for(let r=o-1;r>=0;r-=1){const o=e[r],l=t[r];l!==o&&(Hn(o)?Hn(l)?(_n(o,l),i=l.elm):Ln(o,n,!0):Hn(l)&&(Dn(l,n,i),i=l.elm))}}(e,t,n)}function _n(e,t){if(e!==t)switch(t.type){case 0:case 1:!function(e,t){t.elm=e.elm,t.text!==e.text&&Vn(t)}(e,t);break;case 2:!function(e,t){const n=t.elm=e.elm;Gn(e,t),Rn(e.children,t.children,n)}(e,t);break;case 3:!function(e,t){const n=t.elm=e.elm,r=t.vm=e.vm;Gn(e,t),L(r)||zn(t,r);Rn(e.children,t.children,n),L(r)||$r(r)}(e,t)}}function Dn(e,t,n){switch(e.type){case 0:!function(e,t,n){const{owner:r}=e,o=e.elm=ve(e.text);Wn(o,r),Kn(o,t,n)}(e,t,n);break;case 1:!function(e,t,n){const{owner:r}=e,o=e.elm=Ee(e.text);Wn(o,r),Kn(o,t,n)}(e,t,n);break;case 2:!function(e,t,n){const{sel:r,owner:o,data:{svg:i}}=e,l=H(i)?"http://www.w3.org/2000/svg":void 0,s=be(r,l);Wn(s,o),function(e,t){const{owner:n}=t;if(Bn(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),L(o)||jn(e,o)}}(s,e),e.elm=s,Gn(null,e),Kn(s,t,n),Fn(e.children,s,null)}(e,t,n);break;case 3:!function(e,t,n){const{sel:r,owner:o}=e,i=function(e){e=e.toLowerCase();let t=Xe(e);return L(t)?(t=class extends ge{constructor(e){super(),B(e)&&e(this)}},qe(e,t),t):t}(r);let l;const s=new i((t=>{l=function(e,t){let n=Ir(e);if(!L(n))return n;const{sel:r,mode:o,ctor:i,owner:l}=t;if(Bn(e,l),1===l.shadowMode){const{stylesheetToken:t}=l.context;L(t)||jn(e,t)}return n=_r(e,i,{mode:o,owner:l,tagName:r}),n}(t,e)}));if(Wn(s,o),e.elm=s,e.vm=l,l)zn(e,l);else if(e.ctor!==i)throw new TypeError("Incorrect Component Constructor");Gn(null,e),Kn(s,t,n),l&&Wr(l);Fn(e.children,s,null),l&&function(e){Hr(e)}(l)}(e,t,n)}}function Fn(e,t,n,r=0,o=e.length){for(;r<o;++r){const o=e[r];Hn(o)&&Dn(o,t,n)}}function Ln(e,t,n=!1){const{type:r,elm:o,sel:i}=e;n&&function(e,t){ye(e,t)}(o,t);const l="slot"===i;switch(r){case 2:In(e.children,o,l);break;case 3:{const{vm:t}=e;L(t)||function(e){Rr(e)}(t)}}}function In(e,t,n=!1,r=0,o=e.length){for(;r<o;++r){const o=e[r];Hn(o)&&Ln(o,t,n)}}function Hn(e){return null!=e}function jn(e,t){e.$shadowToken$=t}function Bn(e,t){const{cmpTemplate:n,context:r}=t,o=null==n?void 0:n.stylesheetToken;!L(o)&&r.hasScopedStyles&&Re(e).add(o)}function Wn(e,t){const{renderRoot:n,renderMode:r,shadowMode:o}=t;me&&(1!==o&&0!==r||(e.$shadowResolver$=n.$shadowResolver$))}function Vn(e){const{elm:t,text:n}=e;Se(t,n)}function Kn(e,t,n){we(e,t,n)}function Gn(e,t){I(e)&&(function(e){const{elm:t,data:{on:n}}=e;if(!L(n))for(const e in n){const r=n[e];Pe(t,e,r)}}(t),function(e){const{elm:t,data:{classMap:n}}=e;if(L(n))return;const r=Re(t);for(const e in n)r.add(e)}(t),function(e){const{elm:t,data:{styleDecls:n}}=e;if(!L(n))for(let e=0;e<n.length;e++){const[r,o,i]=n[e];_e(t,r,o,i)}}(t)),function(e,t){const{elm:n,data:{className:r}}=t,o=I(e)?void 0:e.data.className;if(o===r)return;const i=Re(n),l=Nn(r),s=Nn(o);let a;for(a in s)L(l[a])&&i.remove(a);for(a in l)L(s[a])&&i.add(a)}(e,t),function(e,t){const{elm:n,data:{style:r}}=t;(I(e)?void 0:e.data.style)!==r&&(W(r)&&""!==r?Oe(n,"style",r):Ae(n,"style"))}(e,t),function(e,t){const{attrs:n}=t.data;if(L(n))return;const r=I(e)?ce:e.data.attrs;if(r===n)return;const{elm:o}=t;for(const e in n){const t=n[e];r[e]!==t&&(ht(o,e),58===R.call(e,3)?Oe(o,e,t,"http://www.w3.org/XML/1998/namespace"):58===R.call(e,5)?Oe(o,e,t,"http://www.w3.org/1999/xlink"):I(t)||L(t)?Ae(o,e):Oe(o,e,t),pt())}}(e,t),function(e,t){const{props:n}=t.data;if(L(n))return;const r=I(e)?ce:e.data.props;if(r===n)return;const o=I(e),{elm:i,sel:l}=t;for(const e in n){const t=n[e];(o||t!==(Pn(l,e)?xe(i,e):r[e]))&&Me(i,e,t)}}(e,t)}function zn(e,t){const r=e.aChildren||e.children;t.aChildren=r;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t){var r;const{cmpSlots:o}=e,i=e.cmpSlots=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(I(n))continue;let o="";On(n)&&(o=(null===(r=n.data.attrs)||void 0===r?void 0:r.slot)||"");const l=i[o]=i[o]||[];k.call(l,n)}if(j(e.isDirty)){const t=d(o);if(t.length!==d(i).length)return void vr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(L(i[r])||o[r].length!==i[r].length)return void vr(e);const l=o[r],s=i[r];for(let t=0,n=i[r].length;t<n;t+=1)if(l[t]!==s[t])return void vr(e)}}}(t,r),e.aChildren=r,e.children=ue)}const Un=new WeakMap;function qn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Hn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}const Xn=Symbol.iterator;function Yn(e,t,n=ue){const r=ur();const{key:o}=t;return{type:2,sel:e,data:t,children:n,elm:undefined,key:o,owner:r}}function Jn(e,t,n,r=ue){const o=ur(),{key:i}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:i,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){k.call(ur().velements,e)}(l),l}const Qn=new Map;let Zn=0;function er(e){var t;return t=e,Un.set(t,1),e}let tr=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const nr=i({s:function(e,t,n,r){L(r)||L(r[e])||0===r[e].length||(n=r[e]);const o=ur(),{renderMode:i,shadowMode:l}=o;return 0===i?(er(n),n):(1===l&&er(n),Yn("slot",t,n))},h:Yn,c:Jn,i:function(e,t){const n=[];if(er(n),L(e)||null===e)return n;const r=e[Xn]();let o=r.next(),i=0,{value:l,done:s}=o;for(;!1===s;){o=r.next(),s=o.done;const e=t(l,i,0===i,!0===s);h(e)?k.apply(n,e):k.call(n,e),i+=1,l=o.value}return n},f:function(e){const t=e.length,n=[];er(n);for(let r=0;r<t;r+=1){const t=e[r];h(t)?k.apply(n,t):k.call(n,t)}return n},t:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:ur()}},d:function(e){return null==e?"":String(e)},b:function(e){const t=ur();if(I(t))throw new Error;const n=t;return function(t){gr(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:undefined,owner:ur()}},dc:function(e,t,n,r=ue){if(null==t)return null;if(!Mn(t))throw new Error(`Invalid LWC Constructor ${G(t)} for custom element <${e}>.`);let o=Qn.get(t);return L(o)&&(o=Zn++,Qn.set(t,o)),Jn(e,t,Object.assign(Object.assign({},n),{key:`dc:${o}:${n.key}`}),r)},ti:function(e){return e>0&&!(H(e)||j(e))?0:e},gid:function(e){const t=ur();if(L(e)||""===e)return e;if(I(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?_.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=ur();if(L(e)||""===e)return e;if(I(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return tr(e)}});function rr(e){return`${e}-host`}function or(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let l=e[i];if(h(l))k.apply(r,or(l,t,n));else{const e=l.$scoped$,i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,s=0===n.renderMode?!e:0===n.shadowMode;let a;1===n.renderMode?a=0===n.shadowMode:(L(o)&&(o=lr(n)),a=I(o)||0===o.shadowMode),k.call(r,l(i,s,a))}}return r}function ir(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return L(n)||0===n.length||(o=or(n,r,e)),o}function lr(e){let t=e;for(;!I(t);){if(1===t.renderMode)return t;t=t.owner}return t}function sr(e,t){const{renderMode:n,shadowMode:r}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)Ue(t[e]);else{if(pe||e.hydrated){const e=v.call(t,"\n");return o=e,nr.h("style",{key:"style",attrs:{type:"text/css"}},[nr.t(o)])}{const n=function(e){const t=lr(e);return I(t)||1!==t.shadowMode?t:null}(e),r=I(n)?void 0:n.shadowRoot;for(let e=0;e<t.length;e++)Ue(t[e],r)}}var o;return null}let ar=!1,cr=null;function ur(){return cr}function dr(e){cr=e}function fr(e,t){const r=ar,o=cr;let i=[];return Ur(e,e.owner,(()=>{cr=e}),(()=>{const{component:r,context:o,cmpSlots:l,cmpTemplate:s,tro:a}=e;a.observe((()=>{if(t!==s){if(I(s)||zr(e),a=t,!pn.has(a))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: ${G(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(H(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i}=e,{stylesheets:l,stylesheetToken:s}=t,a=1===o&&1===i,{hasScopedStyles:c}=r;let u,d,f;const{stylesheetToken:p,hasTokenInClass:h,hasTokenInAttribute:m}=r;L(p)||(h&&Re(n).remove(rr(p)),m&&Ae(n,rr(p))),L(l)||0===l.length||(u=s),L(u)||(c&&(Re(n).add(rr(u)),d=!0),a&&(Oe(n,rr(u),""),f=!0)),r.stylesheetToken=u,r.hasTokenInClass=d,r.hasTokenInAttribute=f}(e,t);const r=ir(e,t);o.styleVNode=0===r.length?null:sr(e,r)}var a;e.velements=[],ar=!0,i=t.call(void 0,nr,r,l,o.tplCache);const{styleVNode:c}=o;I(c)||P.call(i,c)}))}),(()=>{ar=r,cr=o})),i}let pr=null;function hr(e){return pr===e}function mr(e,t,n){const{component:r,callHook:o,owner:i}=e;Ur(e,i,V,(()=>{o(r,t,n)}),V)}function gr(e,t,n,r){const{callHook:o,owner:i}=e;Ur(e,i,V,(()=>{o(n,t,[r])}),V)}const wr=new Map;function yr(e){return new et((()=>{const{isDirty:t}=e;j(t)&&(vr(e),function(e){if(H(pe)||H(e.isScheduled))return;e.isScheduled=!0,0===jr.length&&fe(Br);k.call(jr,e)}(e))}))}function br(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=ur();let l,s=!1;return Ur(e,o,(()=>{dr(e)}),(()=>{e.tro.observe((()=>{l=n(r,t),s=!0}))}),(()=>{dr(i)})),s?fr(e,l):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function vr(e){e.isDirty=!0}const Er=new WeakMap;function Cr(e,t){if(!B(t))throw new TypeError;let n=Er.get(t);return L(n)&&(n=function(n){gr(e,t,void 0,n)},Er.set(t,n)),n}const kr=n(null),xr=["rendered","connected","disconnected"];function Mr(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 Sr=0;const Tr=new WeakMap;function Or(e,t,n=[]){return t.apply(e,n)}function Ar(e,t,n){e[t]=n}function Pr(e,t){return e[t]}function $r(e){Hr(e)}function Nr(e){const t=Lr(e);1===t.state&&function(e){Rr(Lr(e))}(e),Wr(t),Hr(t)}function Rr(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){j(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=kr;t&&Mr(e,t);Vr(e)&&function(e){const{wiredDisconnecting:t}=e.context;Ur(e,e,V,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),V)}(e);const{disconnectedCallback:n}=e.def;L(n)||mr(e,n)}(e),Kr(e),function(e){const{aChildren:t}=e;Gr(t)}(e)}}function _r(e,t,r){var o;const{mode:i,owner:l,tagName:s,hydrated:a}=r,c=Sn(t),u={elm:e,def:c,idx:Sr++,state:0,isScheduled:!1,isDirty:!0,tagName:s,mode:i,owner:l,children:ue,aChildren:ue,velements:ue,cmpProps:n(null),cmpFields:n(null),cmpSlots:n(null),oar:n(null),cmpTemplate:null,hydrated:Boolean(a),renderMode:c.renderMode,shadowMode:Dr(c,l),nearestShadowMode:(null==l?void 0:l.shadowRoot)?l.shadowMode:null!==(o=null==l?void 0:l.nearestShadowMode)&&void 0!==o?o:null,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:ce,wiredConnecting:ue,wiredDisconnecting:ue},tro:null,component:null,shadowRoot:null,renderRoot:null,callHook:Or,setHook:Ar,getHook:Pr};return u.tro=yr(u),function(e,t){const n=pr;let r;pr=e;try{const o=new t;if(pr.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(pr=n,!L(r))throw ot(e,r),r}}(u,c.ctor),Vr(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],l=qr.get(i);if(!L(l)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:s}=Yr(e,t,l),a=l.dynamic.length>0;k.call(r,(()=>{n.connect(),se.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),k.call(o,(()=>{n.disconnect(),s()}))}}}(u),u}function Dr(e,t){var n;let r;return r=me?0===e.renderMode?0:he&&se.ENABLE_MIXED_SHADOW_MODE?"any"===e.shadowSupportMode?0:null!==(n=null==t?void 0:t.nearestShadowMode)&&void 0!==n?n:1:1:0,r}function Fr(e,t){Tr.set(e,t)}function Lr(e){return Tr.get(e)}function Ir(e){return Tr.get(e)}function Hr(e){if(H(e.isDirty)){!function(e,t){const{renderRoot:n,children:r}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&Ur(e,e,(()=>{}),(()=>{Rn(r,t,n)}),(()=>{}));1===e.state&&function(e){const{def:{renderedCallback:t}}=e;if(H(pe))return;const{rendered:n}=kr;n&&Mr(e,n);L(t)||mr(e,t)}(e)}(e,br(e))}}let jr=[];function Br(){const e=jr.sort(((e,t)=>e.idx-t.idx));jr=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{Hr(r)}catch(r){throw t+1<n&&(0===jr.length&&fe(Br),P.apply(jr,T.call(e,t+1))),r}}}function Wr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=kr;n&&Mr(e,n),Vr(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)||mr(e,r)}function Vr(e){return s(e.def.wire).length>0}function Kr(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=Ir(n);L(e)||Rr(e)}}}function Gr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!I(n)&&!L(n.elm))switch(n.type){case 2:Gr(n.children);break;case 3:Rr(Lr(n.elm));break}}}function zr(e){const{children:t,renderRoot:n}=e;for(let e=0,r=t.length;e<r;e++){const r=t[e];I(r)||L(r.elm)||ye(r.elm,n)}e.children=ue,Kr(e),e.velements=ue}function Ur(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!L(i)){ot(e,i);const n=I(t)?void 0:function(e){let t=e;for(;!I(t);){if(!L(t.def.errorCallback))return t;t=t.owner}}(t);if(L(n))throw i;zr(e);mr(n,n.def.errorCallback,[i,i.wcStack])}}}const qr=new Map;class Xr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function Yr(e,t,n){const{method:r,adapter:i,configCallback:l,dynamic:s}=n,a=L(r)?function(e,t){const{cmpFields:n}=e;return r=>{r!==e.cmpFields[t]&&(n[t]=r,tt(e,t))}}(e,t):function(e,t){return n=>{Ur(e,e.owner,V,(()=>{t.call(e.component,n)}),V)}}(e,r);let c,u;o(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),o(a,"$$DeprecatedWiredParamsMetaKey$$",{value:s}),Ur(e,e,V,(()=>{u=new i(a)}),V);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=new et((()=>{!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,l,(t=>{Ur(e,e,V,(()=>{u.update(t,c)}),V)}));return L(i.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Qr(r);if(L(o))return;const{elm:i,context:{wiredConnecting:l,wiredDisconnecting:s}}=e;k.call(l,(()=>{const e=new Xr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){k.call(s,e)}});Ne(i,e)}))}(e,n,(t=>{c!==t&&(c=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const Jr=new Map;function Qr(e){return Jr.get(e)}function Zr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};qr.set(e,o)}function eo(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};qr.set(e,o)}let to=!1;var no;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(no||(no={}));const ro=/\s+/g;function oo(e){return new Set(e.split(ro).filter((e=>e.length)))}function io(e){return Array.from(e).join(" ")}function lo(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function so(e){return{type:no.Element,name:e,parent:null,shadowRoot:null,children:[],attributes:[],eventListeners:{}}}const ao=n(null),co=new WeakMap;function uo(e,t,n=null){const r=e.attributes.find((e=>e.name===t&&e.namespace===n));return r?r.value:null}function fo(e,t,n,r=null){const o=e.attributes.find((e=>e.name===t&&e.namespace===r));L(r)&&(r=null),L(o)?e.attributes.push({name:t,namespace:r,value:String(n)}):o.value=n}function po(e,t,n){e.attributes=e.attributes.filter((e=>e.name!==t&&e.namespace!==n))}const ho=V,mo=V,go=V,wo=lo("dispatchEvent"),yo=lo("getBoundingClientRect"),bo=lo("querySelector"),vo=lo("querySelectorAll"),Eo=lo("getElementsByTagName"),Co=lo("getElementsByClassName"),ko=lo("getChildren"),xo=lo("getChildNodes"),Mo=lo("getFirstChild"),So=lo("getFirstElementChild"),To=lo("getLastChild"),Oo=lo("getLastElementChild");const Ao=class{constructor(){const{constructor:e}=this,t=co.get(e);if(!t)throw new TypeError("Invalid Construction");return so(t)}};ke=function(e,t){return e.shadowRoot={type:no.ShadowRoot,children:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e.shadowRoot},Ee=function(e){return{type:no.Comment,value:e,parent:null}},be=so,ve=function(e){return{type:no.Text,value:String(e),parent:null}},qe=function(e,t,n){!function(e,t){if(e!==F.call(e)||ao[e])throw new TypeError("Invalid Registration");ao[e]=t,co.set(t,e)}(e,t)},Ne=wo,Te=uo,De=yo,Be=xo,je=ko,Re=function(e){function t(){let t=e.attributes.find((e=>"class"===e.name&&I(e.namespace)));return L(t)&&(t={name:"class",namespace:null,value:""},e.attributes.push(t)),t}return{add(...e){const n=t(),r=oo(n.value);e.forEach((e=>r.add(e))),n.value=io(r)},remove(...e){const n=t(),r=oo(n.value);e.forEach((e=>r.delete(e))),n.value=io(r)}}},Xe=function(e){return ao[e]},He=Co,Ie=Eo,We=Mo,Ve=So,Ke=To,Ge=Oo,xe=function(e,t){var n,r;if(t in e)return e[t];if(e.type===no.Element){const o=ie(t);if(ee(o,e.name))return null!==(n=uo(e,o))&&void 0!==n&&n;if(ne(o)||Y(o))return uo(e,o);if("input"===e.name&&"value"===t)return null!==(r=uo(e,"value"))&&void 0!==r?r:""}},function(e){ge=e}(Ao),we=function(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=I(n)?-1:t.children.indexOf(n);-1===r?t.children.push(e):t.children.splice(r,0,e)},ze=function(e){return!I(e.parent)},he=!1,me=!1,Ce=function(e){const{parent:t}=e;if(I(t))return null;const n=t.children.indexOf(e);return t.children[n+1]||null},Fe=bo,Le=vo,ye=function(e,t){const n=t.children.indexOf(e);t.children.splice(n,1)},Ae=po,$e=go,Oe=fo,_e=function(e,t,n,r){const o=e.attributes.find((e=>"style"===e.name&&I(e.namespace))),i=`${t}: ${n}${r?" !important":""}`;L(o)?e.attributes.push({name:"style",namespace:null,value:i}):o.value+=`; ${i}`},Me=function(e,t,n){if(t in e)return e[t]=n;if(e.type===no.Element){const r=ie(t);if("innerHTML"===t)return void(e.children=[{type:no.Raw,parent:e,value:n}]);if(ee(r,e.name))return!0===n?fo(e,r,""):po(e,r);if(ne(r)||Y(r))return fo(e,r,n);if("input"===e.name&&"value"===r)return I(n)||L(n)?po(e,"value"):fo(e,"value",n)}},Se=function(e,t){e.type===no.Text?e.value=t:e.type===no.Element&&(e.children=[{type:no.Text,parent:e,value:t}])},pe=!0,Pe=mo,Ue=ho;const Po={'"':""","'":"'","<":"<",">":">","&":"&"};function $o(e){return e.replace(/["'<>&]/g,(e=>Po[e]))}function No(e){return e.map((e=>{switch(e.type){case no.Text:return""===e.value?"":$o(e.value);case no.Comment:return`\x3c!--${$o(e.value)}--\x3e`;case no.Raw:return e.value;case no.Element:return Ro(e)}})).join("")}function Ro(e){let t="";const{name:n}=e,r=e.attributes.length?` ${o=e.attributes,o.map((e=>e.value.length?`${e.name}=${JSON.stringify($o(e.value))}`:e.name)).join(" ")}`:"";var o;const i=No(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(" ")}>${No(e.children)}</template>`}(e.shadowRoot)),t+=i,function(e){return Q.has(e)}(n)||(t+=`</${n}>`),t}const _o={type:no.Element,name:"fake-root-element",parent:null,shadowRoot:null,children:[],attributes:[],eventListeners:{}};i(Yt),f(Yt.prototype),exports.LightningElement=Yt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=Qr(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){Jr.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.freezeTemplate=function(e){},exports.getComponentDef=function(e){const t=Sn(e),{ctor:n,name:r,props:o,propsConfig:i,methods:l}=t,s={};for(const e in o)s[e]={config:i[e]||0,type:"any",attr:ie(e)};const a={};for(const e in l)a[e]=l[e].value;return{ctor:n,name:r,props:s,methods:a}},exports.isComponentConstructor=Mn,exports.readonly=function(e){return qt.getReadOnlyProxy(e)},exports.register=function(e){for(let t=0;t<xr.length;++t){const n=xr[t];if(n in e){let t=kr[n];L(t)&&(kr[n]=t=[]),k.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return B(e)&&wr.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:i,publicMethods:s,wire:a,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=l(r,e),t.config>0){if(L(w))throw new Error;w=an(e,w)}else w=L(w)||L(w.get)?ln(e):an(e,w);f[e]=w,o(r,e,w)}if(L(s)||$.call(s,(e=>{if(w=l(r,e),L(w))throw new Error;d[e]=w})),!L(a))for(const e in a){const{adapter:t,method:n,config:i,dynamic:s=[]}=a[e];if(w=l(r,e),1===n){if(L(w))throw new Error;p[e]=w,Zr(w,t,i,s)}else w=un(e),h[e]=w,eo(w,t,i,s),o(r,e,w)}if(!L(c))for(const e in c)w=l(r,e),w=cn(e),o(r,e,w);if(!L(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(r,t);const n=!L(i)&&t in i,o=!L(c)&&t in c;n||o||(m[t]=on(t))}return function(e,t){dn.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return pn.add(e),o(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return L(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=L(e)?void 0:e.shadowAttribute}}),e},exports.renderComponent=function(e,t,n={}){if(!W(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!B(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||I(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=so(e);_r(r,t,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r.parent=_o,Nr(r),Ro(r)},exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(L(le[e])){const n=d(le).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=se[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(se,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(to,"Hooks are already overridden, only one definition is allowed."),to=!0,n=t.sanitizeHtmlContent,tr=n},exports.track=function(e){if(1===arguments.length)return qt.getProxy(e);throw new Error},exports.unwrap=function(e){return qt.unwrapProxy(e)},exports.wire=function(e,t){throw new Error};
|
|
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:l,getOwnPropertyNames:s,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:d,seal:f,setPrototypeOf:p}=Object,{isArray:h}=Array,{copyWithin:m,fill:g,filter:w,find:y,indexOf:b,join:v,map:E,pop:C,push:k,reduce:x,reverse:M,shift:T,slice:S,sort:O,splice:A,unshift:P,forEach:$}=Array.prototype,{fromCharCode:N}=String,{charCodeAt:_,replace:R,slice:D,toLowerCase:F}=String.prototype;function L(e){return void 0===e}function I(e){return null===e}function H(e){return!0===e}function j(e){return!1===e}function B(e){return"function"==typeof e}function W(e){return"string"==typeof e}function V(){}const K={}.toString;function G(e){return e&&e.toString?h(e)?v.call(E.call(e,G),","):e.toString():"object"==typeof e?K.call(e):e+""}function z(e,t){do{const n=l(e,t);if(!L(n))return n;e=a(e)}while(null!==e)}const U=["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:q,AriaPropNameToAttrNameMap:X}=(()=>{const e=n(null),t=n(null);return $.call(U,(n=>{const r=F.call(R.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function Y(e){return e in q}const J=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","path","rect","source","track","wbr"]);const Z=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 ee(e,t){const n=Z.get(e);return void 0!==n&&(0===n.size||n.has(t))}const te=new Set(["role","accesskey","class","contenteditable","contextmenu","dir","draggable","dropzone","hidden","id","itemprop","lang","slot","spellcheck","style","tabindex","title"]);function ne(e){return te.has(e)}const re=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"]]),oe=new Map;function ie(e){const t=X[e];if(!L(t))return t;const n=re.get(e);if(!L(n))return n;const r=oe.get(e);if(!L(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=_.call(e,t);o+=n>=65&&n<=90?"-"+N(n+32):N(n)}return oe.set(e,o),o}if("function"!=typeof Event){class e{}o(J,"Event",{value:e,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class e extends Event{}o(J,"CustomEvent",{value:e,configurable:!0,writable:!0})}const le={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HMR:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null};J.lwcRuntimeFlags||Object.defineProperty(J,"lwcRuntimeFlags",{value:n(null)});const se=J.lwcRuntimeFlags;let ae=[];const ce=f(n(null)),ue=f([]);function de(){const e=ae;ae=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function fe(e){0===ae.length&&Promise.resolve().then(de),k.call(ae,e)}let pe,he,me,ge,we,ye,be,ve,Ee,Ce,ke,xe,Me,Te,Se,Oe,Ae,Pe,$e,Ne,_e,Re,De,Fe,Le,Ie,He,je,Be,We,Ve,Ke,Ge,ze,Ue,qe,Xe;const Ye=new WeakMap;let Je=null;function Qe(e,t){const n=Ye.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 Ze(e,t){if(null===Je)return;const r=Je,o=function(e){let t=Ye.get(e);if(L(t)){const r=n(null);t=r,Ye.set(e,r)}return t}(e);let i=o[t];if(L(i))i=[],o[t]=i;else if(i[0]===r)return;-1===b.call(i,r)&&r.link(i)}class et{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=Je;let n;Je=this;try{e()}catch(e){n=Object(e)}finally{if(Je=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=b.call(e[n],this);A.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){k.call(e,this),k.call(this.listeners,e)}}function tt(e,t){Qe(e.component,t)}function nt(e,t){Ze(e.component,t)}function rt(e){return`<${F.call(e.tagName)}>`}function ot(e,t){if(!u(t)&&L(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!I(n);)k.call(t,rt(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}function it(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function lt(e){return B(e)&&c.call(e,"__circular__")}const st="undefined"!=typeof HTMLElement?HTMLElement:function(){},at=st.prototype;function ct(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:ct("offsetHeight")},offsetLeft:{readOnly:!0,error:ct("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:ct("offsetTop")},offsetWidth:{readOnly:!0,error:ct("offsetWidth")},role:{attribute:"role"}});let ut,dt=null;function ft(e,t){return e!==dt||t!==ut}function pt(e,t){dt=null,ut=void 0}function ht(e,t){dt=e,ut=t}const mt=n(null);$.call(d(X),(e=>{const t=z(at,e);L(t)||(mt[e]=t)})),$.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=z(at,e);L(t)||(mt[e]=t)}));const{isArray:gt}=Array,{prototype:wt,getPrototypeOf:yt,create:bt,defineProperty:vt,isExtensible:Et,getOwnPropertyDescriptor:Ct,getOwnPropertyNames:kt,getOwnPropertySymbols:xt,preventExtensions:Mt,hasOwnProperty:Tt}=Object,{push:St,concat:Ot}=Array.prototype;function At(e){return void 0===e}function Pt(e){return"function"==typeof e}const $t=new WeakMap;function Nt(e,t){$t.set(e,t)}const _t=e=>$t.get(e)||e;class Rt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(Tt.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;At(n)||(e.get=this.wrapGetter(n)),At(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=Ct(n,t);if(!At(r)){const n=this.wrapDescriptor(r);vt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;Ot.call(kt(t),xt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;At(n)||Tt.call(e,n)||vt(e,n,bt(null)),Mt(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=At(n)||Tt.call(t,n)?[]:[n];return St.apply(r,kt(t)),St.apply(r,xt(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!Et(e)&&(!!Et(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return yt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=Ct(n,t);if(At(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},vt(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const Dt=new WeakMap,Ft=new WeakMap,Lt=new WeakMap,It=new WeakMap;class Ht extends Rt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Dt.get(e);if(!At(t))return t;const n=this,r=function(){return n.wrapValue(e.call(_t(this)))};return Dt.set(e,r),Lt.set(r,e),r}wrapSetter(e){const t=Ft.get(e);if(!At(t))return t;const n=function(t){e.call(_t(this),_t(t))};return Ft.set(e,n),It.set(n,e),n}unwrapDescriptor(e){if(Tt.call(e,"value"))e.value=_t(e.value);else{const{set:t,get:n}=e;At(n)||(e.get=this.unwrapGetter(n)),At(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Lt.get(e);if(!At(t))return t;const n=this,r=function(){return _t(e.call(n.wrapValue(this)))};return Dt.set(r,e),Lt.set(e,r),r}unwrapSetter(e){const t=It.get(e);if(!At(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Ft.set(r,e),It.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&>(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(Et(e)){const{originalTarget:t}=this;if(Mt(t),Et(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!Tt.call(r,t)||(vt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const jt=new WeakMap,Bt=new WeakMap;class Wt extends Rt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=jt.get(e);if(!At(t))return t;const n=this,r=function(){return n.wrapValue(e.call(_t(this)))};return jt.set(e,r),r}wrapSetter(e){const t=Bt.get(e);if(!At(t))return t;const n=function(e){};return Bt.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}}function Vt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(gt(e))return!0;const t=yt(e);return t===wt||null===t||null===yt(t)}const Kt=(e,t)=>{},Gt=(e,t)=>{};function zt(e){return gt(e)?[]:{}}const Ut=Symbol.for("@@lockerLiveValue"),qt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=Pt(t)?t:Gt,this.valueObserved=Pt(n)?n:Kt,this.valueIsObservable=Pt(r)?r:Vt,this.tagPropertyKey=o}getProxy(e){const t=_t(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=_t(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return _t(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(At(t)){const n=new Ht(this,e);t=new Proxy(zt(e),n),Nt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(At(t)){const n=new Wt(this,e);t=new Proxy(zt(e),n),Nt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Ze,valueMutated:Qe,tagPropertyKey:Ut});function Xt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!B(n))throw new TypeError;if(!B(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=Fr(this);if(!hr(t))return nt(t,e),n.call(t.elm)},set(t){const n=Fr(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,tt(n,e)),r.call(n.elm,t)}}}const Yt=function(){if(I(pr))throw new ReferenceError("Illegal constructor");const e=pr,{def:t,elm:n}=e,{bridge:r}=t,o=this;if(p(n,r.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[Ut]=void 0,Dr(o,e),Dr(n,e),1===e.renderMode?e.renderRoot=Jt(e):e.renderRoot=n,this};function Jt(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o}}=e,i=ke(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=i,Dr(i,e),i}Yt.prototype={constructor:Yt,dispatchEvent(e){const{elm:t}=Fr(this);return Ne(t,e)},addEventListener(e,t,n){const r=Fr(this),{elm:o}=r,i=Cr(r,t);Pe(o,e,i,n)},removeEventListener(e,t,n){const r=Fr(this),{elm:o}=r,i=Cr(r,t);$e(o,e,i,n)},hasAttribute(e){const{elm:t}=Fr(this);return!I(Se(t,e))},hasAttributeNS(e,t){const{elm:n}=Fr(this);return!I(Se(n,t,e))},removeAttribute(e){const{elm:t}=Fr(this);ht(t,e),Ae(t,e),pt()},removeAttributeNS(e,t){const{elm:n}=Fr(this);ht(n,t),Ae(n,t,e),pt()},getAttribute(e){const{elm:t}=Fr(this);return Se(t,e)},getAttributeNS(e,t){const{elm:n}=Fr(this);return Se(n,t,e)},setAttribute(e,t){const n=Fr(this),{elm:r}=n;ht(r,e),Oe(r,e,t),pt()},setAttributeNS(e,t,n){const r=Fr(this),{elm:o}=r;ht(o,t),Oe(o,t,n,e),pt()},getBoundingClientRect(){const e=Fr(this),{elm:t}=e;return De(t)},get isConnected(){const{elm:e}=Fr(this);return ze(e)},get classList(){const e=Fr(this),{elm:t}=e;return _e(t)},get template(){return Fr(this).shadowRoot},get shadowRoot(){return null},render(){return Fr(this).def.template},toString(){return`[object ${Fr(this).def.name}]`}};const Qt=n(null),Zt=["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild"];function en(e){switch(e){case"children":return je;case"childNodes":return Be;case"firstChild":return We;case"firstElementChild":return Ve;case"lastChild":return Ke;case"lastElementChild":return Ge}}for(const e of Zt)Qt[e]={get(){const t=Fr(this),{elm:n}=t;return en(e)(n)},configurable:!0,enumerable:!0};const tn=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];function nn(e){switch(e){case"getElementsByClassName":return He;case"getElementsByTagName":return Ie;case"querySelector":return Fe;case"querySelectorAll":return Le}}for(const e of tn)Qt[e]={value(t){const n=Fr(this),{elm:r}=n;return nn(e)(r,t)},configurable:!0,enumerable:!0,writable:!0};r(Yt.prototype,Qt);const rn=n(null);for(const e in mt)rn[e]=Xt(e,mt[e]);function on(e){return{get(){const t=Fr(this);return nt(t,e),t.cmpFields[e]},set(t){const n=Fr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,tt(n,e))},enumerable:!0,configurable:!0}}function ln(e){return{get(){const t=Fr(this);if(!hr(t))return nt(t,e),t.cmpProps[e]},set(t){const n=Fr(this);n.cmpProps[e]=t,tt(n,e)},enumerable:!0,configurable:!0}}r(Yt.prototype,rn),o(Yt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class sn extends et{constructor(e,t){super((()=>{j(this.debouncing)&&(this.debouncing=!0,fe((()=>{if(H(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,H(e.isDirty)&&j(r)&&i>0&&$r(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function an(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!B(n))throw new Error;return{get(){return n.call(this)},set(t){const n=Fr(this);if(r)if(se.ENABLE_REACTIVE_SETTER){let o=n.oar[e];L(o)&&(o=n.oar[e]=new sn(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function cn(e){return{get(){const t=Fr(this);return nt(t,e),t.cmpFields[e]},set(t){const n=Fr(this),r=qt.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,tt(n,e))},enumerable:!0,configurable:!0}}function un(e){return{get(){const t=Fr(this);return nt(t,e),t.cmpFields[e]},set(t){const n=Fr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,tt(n,e))},enumerable:!0,configurable:!0}}const dn=new Map;const fn={apiMethods:ce,apiFields:ce,apiFieldsConfig:ce,wiredMethods:ce,wiredFields:ce,observedFields:ce};const pn=new Set;function hn(){return[]}pn.add(hn);const mn=n(null),gn=n(null);function wn(e){let t=mn[e];return L(t)&&(t=mn[e]=function(){const t=Fr(this),{getHook:n}=t;return n(t.component,e)}),t}function yn(e){let t=gn[e];return L(t)&&(t=gn[e]=function(t){const n=Fr(this),{setHook:r}=n;t=qt.getReadOnlyProxy(t),r(n.component,e,t)}),t}function bn(e){return function(){const t=Fr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,S.call(arguments))}}function vn(e,t){return function(n,r,o){if(r===o)return;const i=e[n];L(i)?L(t)||t.apply(this,arguments):ft(this,n)&&(this[i]=o)}}function En(e,t,i){let l;B(e)?l=class extends e{}:(l=function(){throw new TypeError("Illegal constructor")},p(l,e),p(l.prototype,e.prototype),o(l.prototype,"constructor",{writable:!0,configurable:!0,value:l}));const s=n(null),{attributeChangedCallback:a}=e.prototype,{observedAttributes:c=[]}=e,u=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];s[ie(n)]=n,u[n]={get:wn(n),set:yn(n),enumerable:!0,configurable:!0}}for(let e=0,t=i.length;e<t;e+=1){const t=i[e];u[t]={value:bn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:vn(s,a)},o(l,"observedAttributes",{get:()=>[...c,...d(s)]}),r(l.prototype,u),l}const Cn=En(st,s(mt),[]);i(Cn),f(Cn.prototype);const kn=new WeakMap;function xn(e){const{shadowSupportMode:o,renderMode:i}=e,l=function(e){const t=dn.get(e);return L(t)?fn:t}(e),{apiFields:s,apiFieldsConfig:c,apiMethods:u,wiredFields:f,wiredMethods:p,observedFields:h}=l,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=a(e);if(I(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(lt(t)){const e=it(t);t=e===t?Yt:e}return t}(e),C=E!==Yt?Tn(E):Sn,k=En(C.bridge,d(s),d(u)),x=t(n(null),C.props,s),M=t(n(null),C.propsConfig,c),T=t(n(null),C.methods,u),S=t(n(null),C.wire,f,p);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let O=C.shadowSupportMode;L(o)||(O=o);let A=C.renderMode;L(i)||(A="light"===i?0:1);const P=function(e){return wr.get(e)}(e)||C.template,$=e.name||C.name;r(m,h);return{ctor:e,name:$,wire:S,props:x,propsConfig:M,methods:T,bridge:k,template:P,renderMode:A,shadowSupportMode:O,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Mn(e){if(!B(e))return!1;if(e.prototype instanceof Yt)return!0;let t=e;do{if(lt(t)){const e=it(t);if(e===t)return!0;t=e}if(t===Yt)return!0}while(!I(t)&&(t=a(t)));return!1}function Tn(e){let t=kn.get(e);if(L(t)){if(lt(e)){return t=Tn(it(e)),kn.set(e,t),t}if(!Mn(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=xn(e),kn.set(e,t)}return t}const Sn={ctor:Yt,name:Yt.name,props:rn,propsConfig:ce,methods:ce,renderMode:1,shadowSupportMode:"reset",wire:ce,bridge:Cn,template:hn,render:Yt.prototype.render};function On(e){const{type:t}=e;return 2===t||3===t}function An(e,t){return e.key===t.key&&e.sel===t.sel}function Pn(e,t){return"input"===e&&("value"===t||"checked"===t)}const $n=n(null);function Nn(e){if(null==e)return ce;e=W(e)?e:e+"";let t=$n[e];if(t)return t;t=n(null);let r,o=0;const i=e.length;for(r=0;r<i;r++)32===_.call(e,r)&&(r>o&&(t[D.call(e,o,r)]=!0),o=r+1);return r>o&&(t[D.call(e,o,r)]=!0),$n[e]=t,t}function _n(e,t,n){var r;r=t,Un.has(r)?function(e,t,n){let r=0,o=0,i=e.length-1,l=e[0],s=e[i];const a=t.length-1;let c,u,d,f,p=a,h=t[0],m=t[p],g=!1;for(;r<=i&&o<=p;)Hn(l)?Hn(s)?Hn(h)?Hn(m)?An(l,h)?(Rn(l,h),l=e[++r],h=t[++o]):An(s,m)?(Rn(s,m),s=e[--i],m=t[--p]):An(l,m)?(Rn(l,m),Kn(l.elm,n,Ce(s.elm)),l=e[++r],m=t[--p]):An(s,h)?(Rn(s,h),Kn(h.elm,n,l.elm),s=e[--i],h=t[++o]):(void 0===c&&(c=qn(e,r,i)),u=c[h.key],L(u)?(Dn(h,n,l.elm),h=t[++o]):(d=e[u],Hn(d)&&(d.sel!==h.sel?Dn(h,n,l.elm):(Rn(d,h),g||(g=!0,e=[...e]),e[u]=void 0,Kn(d.elm,n,l.elm))),h=t[++o])):m=t[--p]:h=t[++o]:s=e[--i]:l=e[++r];if(r<=i||o<=p)if(r>i){let e,r=p;do{e=t[++r]}while(!Hn(e)&&r<a);f=Hn(e)?e.elm:null,Fn(t,n,f,o,p+1)}else In(e,n,!0,r,i+1)}(e,t,n):function(e,t,n){const r=e.length,o=t.length;if(0===r)return void Fn(t,n,null);if(0===o)return void In(e,n,!0);let i=null;for(let r=o-1;r>=0;r-=1){const o=e[r],l=t[r];l!==o&&(Hn(o)?Hn(l)?(Rn(o,l),i=l.elm):Ln(o,n,!0):Hn(l)&&(Dn(l,n,i),i=l.elm))}}(e,t,n)}function Rn(e,t){if(e!==t)switch(t.type){case 0:case 1:!function(e,t){t.elm=e.elm,t.text!==e.text&&Vn(t)}(e,t);break;case 2:!function(e,t){const n=t.elm=e.elm;Gn(e,t),_n(e.children,t.children,n)}(e,t);break;case 3:!function(e,t){const n=t.elm=e.elm,r=t.vm=e.vm;Gn(e,t),L(r)||zn(t,r);_n(e.children,t.children,n),L(r)||$r(r)}(e,t)}}function Dn(e,t,n){switch(e.type){case 0:!function(e,t,n){const{owner:r}=e,o=e.elm=ve(e.text);Wn(o,r),Kn(o,t,n)}(e,t,n);break;case 1:!function(e,t,n){const{owner:r}=e,o=e.elm=Ee(e.text);Wn(o,r),Kn(o,t,n)}(e,t,n);break;case 2:!function(e,t,n){const{sel:r,owner:o,data:{svg:i}}=e,l=H(i)?"http://www.w3.org/2000/svg":void 0,s=be(r,l);Wn(s,o),function(e,t){const{owner:n}=t;if(Bn(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),L(o)||jn(e,o)}}(s,e),e.elm=s,Gn(null,e),Kn(s,t,n),Fn(e.children,s,null)}(e,t,n);break;case 3:!function(e,t,n){const{sel:r,owner:o}=e,i=function(e){e=e.toLowerCase();let t=Xe(e);return L(t)?(t=class extends ge{constructor(e){super(),B(e)&&e(this)}},qe(e,t),t):t}(r);let l;const s=new i((t=>{l=function(e,t){let n=Lr(e);if(!L(n))return n;const{sel:r,mode:o,ctor:i,owner:l}=t;if(Bn(e,l),1===l.shadowMode){const{stylesheetToken:t}=l.context;L(t)||jn(e,t)}return n=Rr(e,i,{mode:o,owner:l,tagName:r}),n}(t,e)}));if(Wn(s,o),e.elm=s,e.vm=l,l)zn(e,l);else if(e.ctor!==i)throw new TypeError("Incorrect Component Constructor");Gn(null,e),Kn(s,t,n),l&&Br(l);Fn(e.children,s,null),l&&function(e){Ir(e)}(l)}(e,t,n)}}function Fn(e,t,n,r=0,o=e.length){for(;r<o;++r){const o=e[r];Hn(o)&&Dn(o,t,n)}}function Ln(e,t,n=!1){const{type:r,elm:o,sel:i}=e;switch(n&&function(e,t){ye(e,t)}(o,t),r){case 2:{const t="slot"===i&&1===e.owner.shadowMode;In(e.children,o,t);break}case 3:{const{vm:t}=e;L(t)||function(e){_r(e)}(t)}}}function In(e,t,n=!1,r=0,o=e.length){for(;r<o;++r){const o=e[r];Hn(o)&&Ln(o,t,n)}}function Hn(e){return null!=e}function jn(e,t){e.$shadowToken$=t}function Bn(e,t){const{cmpTemplate:n,context:r}=t,o=null==n?void 0:n.stylesheetToken;!L(o)&&r.hasScopedStyles&&_e(e).add(o)}function Wn(e,t){const{renderRoot:n,renderMode:r,shadowMode:o}=t;me&&(1!==o&&0!==r||(e.$shadowResolver$=n.$shadowResolver$))}function Vn(e){const{elm:t,text:n}=e;Te(t,n)}function Kn(e,t,n){we(e,t,n)}function Gn(e,t){I(e)&&(function(e){const{elm:t,data:{on:n}}=e;if(!L(n))for(const e in n){const r=n[e];Pe(t,e,r)}}(t),function(e){const{elm:t,data:{classMap:n}}=e;if(L(n))return;const r=_e(t);for(const e in n)r.add(e)}(t),function(e){const{elm:t,data:{styleDecls:n}}=e;if(!L(n))for(let e=0;e<n.length;e++){const[r,o,i]=n[e];Re(t,r,o,i)}}(t)),function(e,t){const{elm:n,data:{className:r}}=t,o=I(e)?void 0:e.data.className;if(o===r)return;const i=_e(n),l=Nn(r),s=Nn(o);let a;for(a in s)L(l[a])&&i.remove(a);for(a in l)L(s[a])&&i.add(a)}(e,t),function(e,t){const{elm:n,data:{style:r}}=t;(I(e)?void 0:e.data.style)!==r&&(W(r)&&""!==r?Oe(n,"style",r):Ae(n,"style"))}(e,t),function(e,t){const{attrs:n}=t.data;if(L(n))return;const r=I(e)?ce:e.data.attrs;if(r===n)return;const{elm:o}=t;for(const e in n){const t=n[e];r[e]!==t&&(ht(o,e),58===_.call(e,3)?Oe(o,e,t,"http://www.w3.org/XML/1998/namespace"):58===_.call(e,5)?Oe(o,e,t,"http://www.w3.org/1999/xlink"):I(t)||L(t)?Ae(o,e):Oe(o,e,t),pt())}}(e,t),function(e,t){const{props:n}=t.data;if(L(n))return;const r=I(e)?ce:e.data.props;if(r===n)return;const o=I(e),{elm:i,sel:l}=t;for(const e in n){const t=n[e];(o||t!==(Pn(l,e)?xe(i,e):r[e]))&&Me(i,e,t)}}(e,t)}function zn(e,t){const r=e.aChildren||e.children;t.aChildren=r;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t){var r;const{cmpSlots:o}=e,i=e.cmpSlots=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(I(n))continue;let o="";On(n)&&(o=(null===(r=n.data.attrs)||void 0===r?void 0:r.slot)||"");const l=i[o]=i[o]||[];k.call(l,n)}if(j(e.isDirty)){const t=d(o);if(t.length!==d(i).length)return void vr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(L(i[r])||o[r].length!==i[r].length)return void vr(e);const l=o[r],s=i[r];for(let t=0,n=i[r].length;t<n;t+=1)if(l[t]!==s[t])return void vr(e)}}}(t,r),e.aChildren=r,e.children=ue)}const Un=new WeakMap;function qn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Hn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}const Xn=Symbol.iterator;function Yn(e,t,n=ue){const r=ur();const{key:o}=t;return{type:2,sel:e,data:t,children:n,elm:undefined,key:o,owner:r}}function Jn(e,t,n,r=ue){const o=ur(),{key:i}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:i,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){k.call(ur().velements,e)}(l),l}const Qn=new Map;let Zn=0;function er(e){var t;return t=e,Un.set(t,1),e}let tr=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const nr=i({s:function(e,t,n,r){L(r)||L(r[e])||0===r[e].length||(n=r[e]);const o=ur(),{renderMode:i,shadowMode:l}=o;return 0===i?(er(n),n):(1===l&&er(n),Yn("slot",t,n))},h:Yn,c:Jn,i:function(e,t){const n=[];if(er(n),L(e)||null===e)return n;const r=e[Xn]();let o=r.next(),i=0,{value:l,done:s}=o;for(;!1===s;){o=r.next(),s=o.done;const e=t(l,i,0===i,!0===s);h(e)?k.apply(n,e):k.call(n,e),i+=1,l=o.value}return n},f:function(e){const t=e.length,n=[];er(n);for(let r=0;r<t;r+=1){const t=e[r];h(t)?k.apply(n,t):k.call(n,t)}return n},t:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:ur()}},d:function(e){return null==e?"":String(e)},b:function(e){const t=ur();if(I(t))throw new Error;const n=t;return function(t){gr(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:undefined,owner:ur()}},dc:function(e,t,n,r=ue){if(null==t)return null;if(!Mn(t))throw new Error(`Invalid LWC Constructor ${G(t)} for custom element <${e}>.`);let o=Qn.get(t);return L(o)&&(o=Zn++,Qn.set(t,o)),Jn(e,t,Object.assign(Object.assign({},n),{key:`dc:${o}:${n.key}`}),r)},ti:function(e){return e>0&&!(H(e)||j(e))?0:e},gid:function(e){const t=ur();if(L(e)||""===e)return e;if(I(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?R.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=ur();if(L(e)||""===e)return e;if(I(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return tr(e)}});function rr(e){return`${e}-host`}function or(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let l=e[i];if(h(l))k.apply(r,or(l,t,n));else{const e=l.$scoped$,i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,s=0===n.renderMode?!e:0===n.shadowMode;let a;1===n.renderMode?a=0===n.shadowMode:(L(o)&&(o=lr(n)),a=I(o)||0===o.shadowMode),k.call(r,l(i,s,a))}}return r}function ir(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return L(n)||0===n.length||(o=or(n,r,e)),o}function lr(e){let t=e;for(;!I(t);){if(1===t.renderMode)return t;t=t.owner}return t}function sr(e,t){const{renderMode:n,shadowMode:r}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)Ue(t[e]);else{if(pe||e.hydrated){const e=v.call(t,"\n");return o=e,nr.h("style",{key:"style",attrs:{type:"text/css"}},[nr.t(o)])}{const n=function(e){const t=lr(e);return I(t)||1!==t.shadowMode?t:null}(e),r=I(n)?void 0:n.shadowRoot;for(let e=0;e<t.length;e++)Ue(t[e],r)}}var o;return null}let ar=!1,cr=null;function ur(){return cr}function dr(e){cr=e}function fr(e,t){const r=ar,o=cr;let i=[];return zr(e,e.owner,(()=>{cr=e}),(()=>{const{component:r,context:o,cmpSlots:l,cmpTemplate:s,tro:a}=e;a.observe((()=>{if(t!==s){if(I(s)||Gr(e),a=t,!pn.has(a))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: ${G(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(H(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i}=e,{stylesheets:l,stylesheetToken:s}=t,a=1===o&&1===i,{hasScopedStyles:c}=r;let u,d,f;const{stylesheetToken:p,hasTokenInClass:h,hasTokenInAttribute:m}=r;L(p)||(h&&_e(n).remove(rr(p)),m&&Ae(n,rr(p))),L(l)||0===l.length||(u=s),L(u)||(c&&(_e(n).add(rr(u)),d=!0),a&&(Oe(n,rr(u),""),f=!0)),r.stylesheetToken=u,r.hasTokenInClass=d,r.hasTokenInAttribute=f}(e,t);const r=ir(e,t);o.styleVNode=0===r.length?null:sr(e,r)}var a;e.velements=[],ar=!0,i=t.call(void 0,nr,r,l,o.tplCache);const{styleVNode:c}=o;I(c)||P.call(i,c)}))}),(()=>{ar=r,cr=o})),i}let pr=null;function hr(e){return pr===e}function mr(e,t,n){const{component:r,callHook:o,owner:i}=e;zr(e,i,V,(()=>{o(r,t,n)}),V)}function gr(e,t,n,r){const{callHook:o,owner:i}=e;zr(e,i,V,(()=>{o(n,t,[r])}),V)}const wr=new Map;function yr(e){return new et((()=>{const{isDirty:t}=e;j(t)&&(vr(e),function(e){if(H(pe)||H(e.isScheduled))return;e.isScheduled=!0,0===Hr.length&&fe(jr);k.call(Hr,e)}(e))}))}function br(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=ur();let l,s=!1;return zr(e,o,(()=>{dr(e)}),(()=>{e.tro.observe((()=>{l=n(r,t),s=!0}))}),(()=>{dr(i)})),s?fr(e,l):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function vr(e){e.isDirty=!0}const Er=new WeakMap;function Cr(e,t){if(!B(t))throw new TypeError;let n=Er.get(t);return L(n)&&(n=function(n){gr(e,t,void 0,n)},Er.set(t,n)),n}const kr=n(null),xr=["rendered","connected","disconnected"];function Mr(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 Tr=0;const Sr=new WeakMap;function Or(e,t,n=[]){return t.apply(e,n)}function Ar(e,t,n){e[t]=n}function Pr(e,t){return e[t]}function $r(e){Ir(e)}function Nr(e){const t=Fr(e);1===t.state&&function(e){_r(Fr(e))}(e),Br(t),Ir(t)}function _r(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){j(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=kr;t&&Mr(e,t);Wr(e)&&function(e){const{wiredDisconnecting:t}=e.context;zr(e,e,V,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),V)}(e);const{disconnectedCallback:n}=e.def;L(n)||mr(e,n)}(e),Vr(e),function(e){const{aChildren:t}=e;Kr(t)}(e)}}function Rr(e,t,r){const{mode:o,owner:i,tagName:l,hydrated:s}=r,a=Tn(t),c={elm:e,def:a,idx:Tr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:o,owner:i,children:ue,aChildren:ue,velements:ue,cmpProps:n(null),cmpFields:n(null),cmpSlots:n(null),oar:n(null),cmpTemplate:null,hydrated:Boolean(s),renderMode:a.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:ce,wiredConnecting:ue,wiredDisconnecting:ue},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:Or,setHook:Ar,getHook:Pr};return c.shadowMode=function(e){const{def:t}=e;let n;if(me)if(0===t.renderMode)n=0;else if(he)if(se.ENABLE_MIXED_SHADOW_MODE)if("any"===t.shadowSupportMode)n=0;else{const t=function(e){let t=e.owner;for(;!I(t)&&0===t.renderMode;)t=t.owner;return t}(e);n=I(t)||0!==t.shadowMode?1:0}else n=1;else n=1;else n=0;return n}(c),c.tro=yr(c),function(e,t){const n=pr;let r;pr=e;try{const o=new t;if(pr.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(pr=n,!L(r))throw ot(e,r),r}}(c,a.ctor),Wr(c)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],l=Ur.get(i);if(!L(l)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:s}=Xr(e,t,l),a=l.dynamic.length>0;k.call(r,(()=>{n.connect(),se.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),k.call(o,(()=>{n.disconnect(),s()}))}}}(c),c}function Dr(e,t){Sr.set(e,t)}function Fr(e){return Sr.get(e)}function Lr(e){return Sr.get(e)}function Ir(e){if(H(e.isDirty)){!function(e,t){const{renderRoot:n,children:r}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&zr(e,e,(()=>{}),(()=>{_n(r,t,n)}),(()=>{}));1===e.state&&function(e){const{def:{renderedCallback:t}}=e;if(H(pe))return;const{rendered:n}=kr;n&&Mr(e,n);L(t)||mr(e,t)}(e)}(e,br(e))}}let Hr=[];function jr(){const e=Hr.sort(((e,t)=>e.idx-t.idx));Hr=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{Ir(r)}catch(r){throw t+1<n&&(0===Hr.length&&fe(jr),P.apply(Hr,S.call(e,t+1))),r}}}function Br(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=kr;n&&Mr(e,n),Wr(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)||mr(e,r)}function Wr(e){return s(e.def.wire).length>0}function Vr(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=Lr(n);L(e)||_r(e)}}}function Kr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!I(n)&&!L(n.elm))switch(n.type){case 2:Kr(n.children);break;case 3:_r(Fr(n.elm));break}}}function Gr(e){const{children:t,renderRoot:n}=e;for(let e=0,r=t.length;e<r;e++){const r=t[e];I(r)||L(r.elm)||ye(r.elm,n)}e.children=ue,Vr(e),e.velements=ue}function zr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!L(i)){ot(e,i);const n=I(t)?void 0:function(e){let t=e;for(;!I(t);){if(!L(t.def.errorCallback))return t;t=t.owner}}(t);if(L(n))throw i;Gr(e);mr(n,n.def.errorCallback,[i,i.wcStack])}}}const Ur=new Map;class qr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function Xr(e,t,n){const{method:r,adapter:i,configCallback:l,dynamic:s}=n,a=L(r)?function(e,t){const{cmpFields:n}=e;return r=>{r!==e.cmpFields[t]&&(n[t]=r,tt(e,t))}}(e,t):function(e,t){return n=>{zr(e,e.owner,V,(()=>{t.call(e.component,n)}),V)}}(e,r);let c,u;o(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),o(a,"$$DeprecatedWiredParamsMetaKey$$",{value:s}),zr(e,e,V,(()=>{u=new i(a)}),V);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=new et((()=>{!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,l,(t=>{zr(e,e,V,(()=>{u.update(t,c)}),V)}));return L(i.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Jr(r);if(L(o))return;const{elm:i,context:{wiredConnecting:l,wiredDisconnecting:s}}=e;k.call(l,(()=>{const e=new qr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){k.call(s,e)}});Ne(i,e)}))}(e,n,(t=>{c!==t&&(c=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const Yr=new Map;function Jr(e){return Yr.get(e)}function Qr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Ur.set(e,o)}function Zr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Ur.set(e,o)}let eo=!1;var to;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(to||(to={}));const no=/\s+/g;function ro(e){return new Set(e.split(no).filter((e=>e.length)))}function oo(e){return Array.from(e).join(" ")}function io(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function lo(e){return{type:to.Element,name:e,parent:null,shadowRoot:null,children:[],attributes:[],eventListeners:{}}}const so=n(null),ao=new WeakMap;function co(e,t,n=null){const r=e.attributes.find((e=>e.name===t&&e.namespace===n));return r?r.value:null}function uo(e,t,n,r=null){const o=e.attributes.find((e=>e.name===t&&e.namespace===r));L(r)&&(r=null),L(o)?e.attributes.push({name:t,namespace:r,value:String(n)}):o.value=n}function fo(e,t,n){e.attributes=e.attributes.filter((e=>e.name!==t&&e.namespace!==n))}const po=V,ho=V,mo=V,go=io("dispatchEvent"),wo=io("getBoundingClientRect"),yo=io("querySelector"),bo=io("querySelectorAll"),vo=io("getElementsByTagName"),Eo=io("getElementsByClassName"),Co=io("getChildren"),ko=io("getChildNodes"),xo=io("getFirstChild"),Mo=io("getFirstElementChild"),To=io("getLastChild"),So=io("getLastElementChild");const Oo=class{constructor(){const{constructor:e}=this,t=ao.get(e);if(!t)throw new TypeError("Invalid Construction");return lo(t)}};ke=function(e,t){return e.shadowRoot={type:to.ShadowRoot,children:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e.shadowRoot},Ee=function(e){return{type:to.Comment,value:e,parent:null}},be=lo,ve=function(e){return{type:to.Text,value:String(e),parent:null}},qe=function(e,t,n){!function(e,t){if(e!==F.call(e)||so[e])throw new TypeError("Invalid Registration");so[e]=t,ao.set(t,e)}(e,t)},Ne=go,Se=co,De=wo,Be=ko,je=Co,_e=function(e){function t(){let t=e.attributes.find((e=>"class"===e.name&&I(e.namespace)));return L(t)&&(t={name:"class",namespace:null,value:""},e.attributes.push(t)),t}return{add(...e){const n=t(),r=ro(n.value);e.forEach((e=>r.add(e))),n.value=oo(r)},remove(...e){const n=t(),r=ro(n.value);e.forEach((e=>r.delete(e))),n.value=oo(r)}}},Xe=function(e){return so[e]},He=Eo,Ie=vo,We=xo,Ve=Mo,Ke=To,Ge=So,xe=function(e,t){var n,r;if(t in e)return e[t];if(e.type===to.Element){const o=ie(t);if(ee(o,e.name))return null!==(n=co(e,o))&&void 0!==n&&n;if(ne(o)||Y(o))return co(e,o);if("input"===e.name&&"value"===t)return null!==(r=co(e,"value"))&&void 0!==r?r:""}},function(e){ge=e}(Oo),we=function(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=I(n)?-1:t.children.indexOf(n);-1===r?t.children.push(e):t.children.splice(r,0,e)},ze=function(e){return!I(e.parent)},he=!1,me=!1,Ce=function(e){const{parent:t}=e;if(I(t))return null;const n=t.children.indexOf(e);return t.children[n+1]||null},Fe=yo,Le=bo,ye=function(e,t){const n=t.children.indexOf(e);t.children.splice(n,1)},Ae=fo,$e=mo,Oe=uo,Re=function(e,t,n,r){const o=e.attributes.find((e=>"style"===e.name&&I(e.namespace))),i=`${t}: ${n}${r?" !important":""}`;L(o)?e.attributes.push({name:"style",namespace:null,value:i}):o.value+=`; ${i}`},Me=function(e,t,n){if(t in e)return e[t]=n;if(e.type===to.Element){const r=ie(t);if("innerHTML"===t)return void(e.children=[{type:to.Raw,parent:e,value:n}]);if(ee(r,e.name))return!0===n?uo(e,r,""):fo(e,r);if(ne(r)||Y(r))return uo(e,r,n);if("input"===e.name&&"value"===r)return I(n)||L(n)?fo(e,"value"):uo(e,"value",n)}},Te=function(e,t){e.type===to.Text?e.value=t:e.type===to.Element&&(e.children=[{type:to.Text,parent:e,value:t}])},pe=!0,Pe=ho,Ue=po;const Ao={'"':""","'":"'","<":"<",">":">","&":"&"};function Po(e){return e.replace(/["'<>&]/g,(e=>Ao[e]))}function $o(e){return e.map((e=>{switch(e.type){case to.Text:return""===e.value?"":Po(e.value);case to.Comment:return`\x3c!--${Po(e.value)}--\x3e`;case to.Raw:return e.value;case to.Element:return No(e)}})).join("")}function No(e){let t="";const{name:n}=e,r=e.attributes.length?` ${o=e.attributes,o.map((e=>e.value.length?`${e.name}=${JSON.stringify(Po(e.value))}`:e.name)).join(" ")}`:"";var o;const i=$o(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(" ")}>${$o(e.children)}</template>`}(e.shadowRoot)),t+=i,function(e){return Q.has(e)}(n)||(t+=`</${n}>`),t}const _o={type:to.Element,name:"fake-root-element",parent:null,shadowRoot:null,children:[],attributes:[],eventListeners:{}};i(Yt),f(Yt.prototype),exports.LightningElement=Yt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=Jr(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){Yr.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.freezeTemplate=function(e){},exports.getComponentDef=function(e){const t=Tn(e),{ctor:n,name:r,props:o,propsConfig:i,methods:l}=t,s={};for(const e in o)s[e]={config:i[e]||0,type:"any",attr:ie(e)};const a={};for(const e in l)a[e]=l[e].value;return{ctor:n,name:r,props:s,methods:a}},exports.isComponentConstructor=Mn,exports.readonly=function(e){return qt.getReadOnlyProxy(e)},exports.register=function(e){for(let t=0;t<xr.length;++t){const n=xr[t];if(n in e){let t=kr[n];L(t)&&(kr[n]=t=[]),k.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return B(e)&&wr.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:i,publicMethods:s,wire:a,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=l(r,e),t.config>0){if(L(w))throw new Error;w=an(e,w)}else w=L(w)||L(w.get)?ln(e):an(e,w);f[e]=w,o(r,e,w)}if(L(s)||$.call(s,(e=>{if(w=l(r,e),L(w))throw new Error;d[e]=w})),!L(a))for(const e in a){const{adapter:t,method:n,config:i,dynamic:s=[]}=a[e];if(w=l(r,e),1===n){if(L(w))throw new Error;p[e]=w,Qr(w,t,i,s)}else w=un(e),h[e]=w,Zr(w,t,i,s),o(r,e,w)}if(!L(c))for(const e in c)w=l(r,e),w=cn(e),o(r,e,w);if(!L(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(r,t);const n=!L(i)&&t in i,o=!L(c)&&t in c;n||o||(m[t]=on(t))}return function(e,t){dn.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return pn.add(e),o(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return L(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=L(e)?void 0:e.shadowAttribute}}),e},exports.renderComponent=function(e,t,n={}){if(!W(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!B(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||I(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=lo(e);Rr(r,t,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r.parent=_o,Nr(r),No(r)},exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(L(le[e])){const n=d(le).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=se[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(se,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(eo,"Hooks are already overridden, only one definition is allowed."),eo=!0,n=t.sanitizeHtmlContent,tr=n},exports.track=function(e){if(1===arguments.length)return qt.getProxy(e);throw new Error},exports.unwrap=function(e){return qt.unwrapProxy(e)},exports.wire=function(e,t){throw new Error};
|