lwc 2.22.0 → 2.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +58 -114
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +58 -114
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +56 -112
  5. package/dist/engine-dom/iife/es5/engine-dom.js +61 -123
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +59 -121
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +58 -114
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +56 -112
  11. package/dist/engine-dom/umd/es5/engine-dom.js +61 -123
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +59 -121
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +54 -132
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
  16. package/dist/engine-server/esm/es2017/engine-server.js +54 -132
  17. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +13 -10
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +13 -10
  19. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +2 -2
  20. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +13 -10
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +15 -14
  22. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +2 -2
  23. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +15 -14
  24. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +13 -10
  25. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
  26. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +13 -10
  27. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +15 -14
  28. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +2 -2
  29. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +15 -14
  30. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  31. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  32. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  33. package/dist/wire-service/iife/es5/wire-service.js +2 -2
  34. package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
  35. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  36. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  37. package/dist/wire-service/umd/es5/wire-service.js +2 -2
  38. package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
  39. package/package.json +7 -7
@@ -419,9 +419,9 @@ function htmlEscape(str, attrMode = false) {
419
419
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
420
420
  */
421
421
  // Increment whenever the LWC template compiler changes
422
- const LWC_VERSION = "2.22.0";
422
+ const LWC_VERSION = "2.23.0";
423
423
  const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
424
- /** version: 2.22.0 */
424
+ /** version: 2.23.0 */
425
425
 
426
426
  /*
427
427
  * Copyright (c) 2020, salesforce.com, inc.
@@ -530,7 +530,7 @@ function setFeatureFlagForTest(name, value) {
530
530
  setFeatureFlag(name, value);
531
531
  }
532
532
  }
533
- /** version: 2.22.0 */
533
+ /** version: 2.23.0 */
534
534
 
535
535
  /* proxy-compat-disable */
536
536
 
@@ -1179,6 +1179,13 @@ function patchLightningElementPrototypeWithRestrictions(proto) {
1179
1179
  defineProperties(proto, getLightningElementPrototypeRestrictionsDescriptors(proto));
1180
1180
  }
1181
1181
 
1182
+ function updateComponentValue(vm, key, newValue) {
1183
+ const { cmpFields } = vm;
1184
+ if (newValue !== cmpFields[key]) {
1185
+ cmpFields[key] = newValue;
1186
+ }
1187
+ }
1188
+
1182
1189
  /**
1183
1190
  * Copyright (C) 2017 salesforce.com, inc.
1184
1191
  */
@@ -1803,9 +1810,7 @@ function createBridgeToElementDescriptor(propName, descriptor) {
1803
1810
  assert.isFalse(isBeingConstructed(vm), `Failed to construct '${getComponentTag(vm)}': The result must not have attributes.`);
1804
1811
  assert.invariant(!isObject(newValue) || isNull(newValue), `Invalid value "${newValue}" for "${propName}" of ${vm}. Value cannot be an object, must be a primitive value.`);
1805
1812
  }
1806
- if (newValue !== vm.cmpProps[propName]) {
1807
- vm.cmpProps[propName] = newValue;
1808
- }
1813
+ updateComponentValue(vm, propName, newValue);
1809
1814
  return set.call(vm.elm, newValue);
1810
1815
  },
1811
1816
  };
@@ -2098,9 +2103,7 @@ function createObservedFieldPropertyDescriptor(key) {
2098
2103
  },
2099
2104
  set(newValue) {
2100
2105
  const vm = getAssociatedVM(this);
2101
- if (newValue !== vm.cmpFields[key]) {
2102
- vm.cmpFields[key] = newValue;
2103
- }
2106
+ updateComponentValue(vm, key, newValue);
2104
2107
  },
2105
2108
  enumerable: true,
2106
2109
  configurable: true,
@@ -2262,9 +2265,7 @@ function internalTrackDecorator(key) {
2262
2265
  assert.invariant(!isUpdatingTemplate, `Updating the template of ${vmBeingRendered} has side effects on the state of ${vm}.${toString$1(key)}`);
2263
2266
  }
2264
2267
  const reactiveOrAnyValue = getReactiveProxy(newValue);
2265
- if (reactiveOrAnyValue !== vm.cmpFields[key]) {
2266
- vm.cmpFields[key] = reactiveOrAnyValue;
2267
- }
2268
+ updateComponentValue(vm, key, reactiveOrAnyValue);
2268
2269
  },
2269
2270
  enumerable: true,
2270
2271
  configurable: true,
@@ -2302,9 +2303,7 @@ function internalWireFieldDecorator(key) {
2302
2303
  * letting the author to do the wrong thing, but it will keep our
2303
2304
  * system to be backward compatible.
2304
2305
  */
2305
- if (value !== vm.cmpFields[key]) {
2306
- vm.cmpFields[key] = value;
2307
- }
2306
+ updateComponentValue(vm, key, value);
2308
2307
  },
2309
2308
  enumerable: true,
2310
2309
  configurable: true,
@@ -3262,38 +3261,20 @@ function getScopeTokenClass(owner) {
3262
3261
  const { cmpTemplate, context } = owner;
3263
3262
  return (context.hasScopedStyles && (cmpTemplate === null || cmpTemplate === void 0 ? void 0 : cmpTemplate.stylesheetToken)) || null;
3264
3263
  }
3265
- function getNearestNativeShadowComponent(vm) {
3266
- const owner = getNearestShadowComponent(vm);
3267
- if (!isNull(owner) && owner.shadowMode === 1 /* ShadowMode.Synthetic */) {
3268
- // Synthetic-within-native is impossible. So if the nearest shadow component is
3269
- // synthetic, we know we won't find a native component if we go any further.
3270
- return null;
3271
- }
3272
- return owner;
3273
- }
3274
3264
  function createStylesheet(vm, stylesheets) {
3275
- const { renderMode, shadowMode, renderer: { ssr, insertStylesheet }, } = vm;
3265
+ const { renderMode, shadowMode, renderer: { insertStylesheet }, } = vm;
3276
3266
  if (renderMode === 1 /* RenderMode.Shadow */ && shadowMode === 1 /* ShadowMode.Synthetic */) {
3277
3267
  for (let i = 0; i < stylesheets.length; i++) {
3278
3268
  insertStylesheet(stylesheets[i]);
3279
3269
  }
3280
3270
  }
3281
- else if (ssr || vm.hydrated) {
3271
+ else {
3282
3272
  // Note: We need to ensure that during hydration, the stylesheets method is the same as those in ssr.
3283
3273
  // This works in the client, because the stylesheets are created, and cached in the VM
3284
3274
  // the first time the VM renders.
3285
3275
  // native shadow or light DOM, SSR
3286
3276
  return ArrayMap.call(stylesheets, createInlineStyleVNode);
3287
3277
  }
3288
- else {
3289
- // native shadow or light DOM, DOM renderer
3290
- const root = getNearestNativeShadowComponent(vm);
3291
- // null root means a global style
3292
- const target = isNull(root) ? undefined : root.shadowRoot;
3293
- for (let i = 0; i < stylesheets.length; i++) {
3294
- insertStylesheet(stylesheets[i], target);
3295
- }
3296
- }
3297
3278
  return null;
3298
3279
  }
3299
3280
 
@@ -3579,7 +3560,7 @@ function patchChildren(c1, c2, parent, renderer) {
3579
3560
  updateStaticChildren(c1, c2, parent, renderer);
3580
3561
  }
3581
3562
  }
3582
- function patch(n1, n2, renderer) {
3563
+ function patch(n1, n2, parent, renderer) {
3583
3564
  var _a, _b;
3584
3565
  if (n1 === n2) {
3585
3566
  return;
@@ -3608,7 +3589,7 @@ function patch(n1, n2, renderer) {
3608
3589
  patchElement(n1, n2, (_a = n2.data.renderer) !== null && _a !== void 0 ? _a : renderer);
3609
3590
  break;
3610
3591
  case 3 /* VNodeType.CustomElement */:
3611
- patchCustomElement(n1, n2, (_b = n2.data.renderer) !== null && _b !== void 0 ? _b : renderer);
3592
+ patchCustomElement(n1, n2, parent, (_b = n2.data.renderer) !== null && _b !== void 0 ? _b : renderer);
3612
3593
  break;
3613
3594
  }
3614
3595
  }
@@ -3735,22 +3716,32 @@ function mountCustomElement(vnode, parent, anchor, renderer) {
3735
3716
  appendVM(vm);
3736
3717
  }
3737
3718
  }
3738
- function patchCustomElement(n1, n2, renderer) {
3739
- const elm = (n2.elm = n1.elm);
3740
- const vm = (n2.vm = n1.vm);
3741
- patchElementPropsAndAttrs$1(n1, n2, renderer);
3742
- if (!isUndefined$1(vm)) {
3743
- // in fallback mode, the allocation will always set children to
3744
- // empty and delegate the real allocation to the slot elements
3745
- allocateChildren(n2, vm);
3719
+ function patchCustomElement(n1, n2, parent, renderer) {
3720
+ if (n1.ctor !== n2.ctor) {
3721
+ // If the constructor, unmount the current component and mount a new one using the new
3722
+ // constructor.
3723
+ const anchor = renderer.nextSibling(n1.elm);
3724
+ unmount(n1, parent, renderer, true);
3725
+ mountCustomElement(n2, parent, anchor, renderer);
3746
3726
  }
3747
- // in fallback mode, the children will be always empty, so, nothing
3748
- // will happen, but in native, it does allocate the light dom
3749
- patchChildren(n1.children, n2.children, elm, renderer);
3750
- if (!isUndefined$1(vm)) {
3751
- // this will probably update the shadowRoot, but only if the vm is in a dirty state
3752
- // this is important to preserve the top to bottom synchronous rendering phase.
3753
- rerenderVM(vm);
3727
+ else {
3728
+ // Otherwise patch the existing component with new props/attrs/etc.
3729
+ const elm = (n2.elm = n1.elm);
3730
+ const vm = (n2.vm = n1.vm);
3731
+ patchElementPropsAndAttrs$1(n1, n2, renderer);
3732
+ if (!isUndefined$1(vm)) {
3733
+ // in fallback mode, the allocation will always set children to
3734
+ // empty and delegate the real allocation to the slot elements
3735
+ allocateChildren(n2, vm);
3736
+ }
3737
+ // in fallback mode, the children will be always empty, so, nothing
3738
+ // will happen, but in native, it does allocate the light dom
3739
+ patchChildren(n1.children, n2.children, elm, renderer);
3740
+ if (!isUndefined$1(vm)) {
3741
+ // this will probably update the shadowRoot, but only if the vm is in a dirty state
3742
+ // this is important to preserve the top to bottom synchronous rendering phase.
3743
+ rerenderVM(vm);
3744
+ }
3754
3745
  }
3755
3746
  }
3756
3747
  function mountVNodes(vnodes, parent, renderer, anchor, start = 0, end = vnodes.length) {
@@ -4020,25 +4011,25 @@ function updateDynamicChildren(oldCh, newCh, parent, renderer) {
4020
4011
  newEndVnode = newCh[--newEndIdx];
4021
4012
  }
4022
4013
  else if (isSameVnode(oldStartVnode, newStartVnode)) {
4023
- patch(oldStartVnode, newStartVnode, renderer);
4014
+ patch(oldStartVnode, newStartVnode, parent, renderer);
4024
4015
  oldStartVnode = oldCh[++oldStartIdx];
4025
4016
  newStartVnode = newCh[++newStartIdx];
4026
4017
  }
4027
4018
  else if (isSameVnode(oldEndVnode, newEndVnode)) {
4028
- patch(oldEndVnode, newEndVnode, renderer);
4019
+ patch(oldEndVnode, newEndVnode, parent, renderer);
4029
4020
  oldEndVnode = oldCh[--oldEndIdx];
4030
4021
  newEndVnode = newCh[--newEndIdx];
4031
4022
  }
4032
4023
  else if (isSameVnode(oldStartVnode, newEndVnode)) {
4033
4024
  // Vnode moved right
4034
- patch(oldStartVnode, newEndVnode, renderer);
4025
+ patch(oldStartVnode, newEndVnode, parent, renderer);
4035
4026
  insertNode(oldStartVnode.elm, parent, renderer.nextSibling(oldEndVnode.elm), renderer);
4036
4027
  oldStartVnode = oldCh[++oldStartIdx];
4037
4028
  newEndVnode = newCh[--newEndIdx];
4038
4029
  }
4039
4030
  else if (isSameVnode(oldEndVnode, newStartVnode)) {
4040
4031
  // Vnode moved left
4041
- patch(oldEndVnode, newStartVnode, renderer);
4032
+ patch(oldEndVnode, newStartVnode, parent, renderer);
4042
4033
  insertNode(newStartVnode.elm, parent, oldStartVnode.elm, renderer);
4043
4034
  oldEndVnode = oldCh[--oldEndIdx];
4044
4035
  newStartVnode = newCh[++newStartIdx];
@@ -4061,7 +4052,7 @@ function updateDynamicChildren(oldCh, newCh, parent, renderer) {
4061
4052
  mount(newStartVnode, parent, renderer, oldStartVnode.elm);
4062
4053
  }
4063
4054
  else {
4064
- patch(elmToMove, newStartVnode, renderer);
4055
+ patch(elmToMove, newStartVnode, parent, renderer);
4065
4056
  // Delete the old child, but copy the array since it is read-only.
4066
4057
  // The `oldCh` will be GC'ed after `updateDynamicChildren` is complete,
4067
4058
  // so we only care about the `oldCh` object inside this function.
@@ -4121,7 +4112,7 @@ function updateStaticChildren(c1, c2, parent, renderer) {
4121
4112
  if (isVNode(n1)) {
4122
4113
  if (isVNode(n2)) {
4123
4114
  // both vnodes are equivalent, and we just need to patch them
4124
- patch(n1, n2, renderer);
4115
+ patch(n1, n2, parent, renderer);
4125
4116
  anchor = n2.elm;
4126
4117
  }
4127
4118
  else {
@@ -4455,13 +4446,6 @@ function fid(url) {
4455
4446
  }
4456
4447
  return url;
4457
4448
  }
4458
- /**
4459
- * Map to store an index value assigned to any dynamic component reference ingested
4460
- * by dc() api. This allows us to generate a unique unique per template per dynamic
4461
- * component reference to avoid diffing algo mismatches.
4462
- */
4463
- const DynamicImportedComponentMap = new Map();
4464
- let dynamicImportedComponentCounter = 0;
4465
4449
  /**
4466
4450
  * create a dynamic component via `<x-foo lwc:dynamic={Ctor}>`
4467
4451
  */
@@ -4478,18 +4462,7 @@ function dc(sel, Ctor, data, children = EmptyArray) {
4478
4462
  if (!isComponentConstructor(Ctor)) {
4479
4463
  throw new Error(`Invalid LWC Constructor ${toString$1(Ctor)} for custom element <${sel}>.`);
4480
4464
  }
4481
- let idx = DynamicImportedComponentMap.get(Ctor);
4482
- if (isUndefined$1(idx)) {
4483
- idx = dynamicImportedComponentCounter++;
4484
- DynamicImportedComponentMap.set(Ctor, idx);
4485
- }
4486
- // the new vnode key is a mix of idx and compiler key, this is required by the diffing algo
4487
- // to identify different constructors as vnodes with different keys to avoid reusing the
4488
- // element used for previous constructors.
4489
- // Shallow clone is necessary here becuase VElementData may be shared across VNodes due to
4490
- // hoisting optimization.
4491
- const newData = Object.assign(Object.assign({}, data), { key: `dc:${idx}:${data.key}` });
4492
- return c(sel, Ctor, newData, children);
4465
+ return c(sel, Ctor, data, children);
4493
4466
  }
4494
4467
  /**
4495
4468
  * slow children collection marking mechanism. this API allows the compiler to signal
@@ -5325,46 +5298,7 @@ function patchShadowRoot(vm, newCh) {
5325
5298
 
5326
5299
  if (vm.state === 1
5327
5300
  /* VMState.connected */
5328
- ) {
5329
- // If the element is connected, that means connectedCallback was already issued, and
5330
- // any successive rendering should finish with the call to renderedCallback, otherwise
5331
- // the connectedCallback will take care of calling it in the right order at the end of
5332
- // the current rehydration process.
5333
- runRenderedCallback(vm);
5334
- }
5335
- }
5336
-
5337
- function runRenderedCallback(vm) {
5338
- const {
5339
- def: {
5340
- renderedCallback
5341
- },
5342
- renderer: {
5343
- ssr
5344
- }
5345
- } = vm;
5346
-
5347
- if (isTrue(ssr)) {
5348
- return;
5349
- }
5350
-
5351
- const {
5352
- rendered
5353
- } = Services;
5354
-
5355
- if (rendered) {
5356
- invokeServiceHook(vm, rendered);
5357
- }
5358
-
5359
- if (!isUndefined$1(renderedCallback)) {
5360
- logOperationStart(4
5361
- /* OperationId.RenderedCallback */
5362
- , vm);
5363
- invokeComponentCallback(vm, renderedCallback);
5364
- logOperationEnd(4
5365
- /* OperationId.RenderedCallback */
5366
- , vm);
5367
- }
5301
+ ) ;
5368
5302
  }
5369
5303
 
5370
5304
  function runConnectedCallback(vm) {
@@ -5631,14 +5565,8 @@ class WireContextRegistrationEvent extends CustomEvent {
5631
5565
  }
5632
5566
 
5633
5567
  function createFieldDataCallback(vm, name) {
5634
- const {
5635
- cmpFields
5636
- } = vm;
5637
5568
  return value => {
5638
- if (value !== vm.cmpFields[name]) {
5639
- // storing the value in the underlying storage
5640
- cmpFields[name] = value;
5641
- }
5569
+ updateComponentValue(vm, name, value);
5642
5570
  };
5643
5571
  }
5644
5572
 
@@ -6052,7 +5980,7 @@ function freezeTemplate(tmpl) {
6052
5980
  });
6053
5981
  }
6054
5982
  }
6055
- /* version: 2.22.0 */
5983
+ /* version: 2.23.0 */
6056
5984
 
6057
5985
  /*
6058
5986
  * Copyright (c) 2020, salesforce.com, inc.
@@ -6135,10 +6063,6 @@ class HTMLElementImpl {
6135
6063
  return createElement(tagName);
6136
6064
  }
6137
6065
  }
6138
- const ssr = true;
6139
- function isHydrating() {
6140
- return false;
6141
- }
6142
6066
  const isNativeShadowDefined = false;
6143
6067
  const isSyntheticShadowDefined = false;
6144
6068
  function insert(node, parent, anchor) {
@@ -6377,11 +6301,9 @@ const HTMLElementExported = HTMLElementImpl;
6377
6301
  /* noop */
6378
6302
  const assertInstanceOfHTMLElement = noop;
6379
6303
  const renderer = {
6380
- ssr,
6381
6304
  isNativeShadowDefined,
6382
6305
  isSyntheticShadowDefined,
6383
6306
  HTMLElementExported,
6384
- isHydrating,
6385
6307
  insert,
6386
6308
  remove,
6387
6309
  cloneNode,
@@ -6528,7 +6450,7 @@ function renderComponent(tagName, Ctor, props = {}) {
6528
6450
  */
6529
6451
  freeze(LightningElement);
6530
6452
  seal(LightningElement.prototype);
6531
- /* version: 2.22.0 */
6453
+ /* version: 2.23.0 */
6532
6454
 
6533
6455
  exports.LightningElement = LightningElement;
6534
6456
  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:s,getOwnPropertyNames:l,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:C,pop:E,push:S,reduce:k,reverse:x,shift:M,slice:T,sort:A,splice:O,unshift:N,forEach:$}=Array.prototype,{fromCharCode:P}=String,{charCodeAt:L,replace:_,slice:F,toLowerCase:R}=String.prototype;function D(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 z(e){return e&&e.toString?h(e)?v.call(C.call(e,z),","):e.toString():"object"==typeof e?K.call(e):e+""}function G(e,t){do{const n=s(e,t);if(!D(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=R.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="http://www.w3.org/1999/xhtml",Z=new Set(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr"]);const ee=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 te(e,t){const n=ee.get(e);return void 0!==n&&(0===n.size||n.has(t))}const ne=new Set(["role","accesskey","class","contenteditable","contextmenu","dir","draggable","dropzone","hidden","id","itemprop","lang","slot","spellcheck","style","tabindex","title"]);function re(e){return ne.has(e)}const oe=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"]]),ie=new Map;function se(e){const t=X[e];if(!D(t))return t;const n=oe.get(e);if(!D(n))return n;const r=ie.get(e);if(!D(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=L.call(e,t);o+=n>=65&&n<=90?"-"+P(n+32):P(n)}return ie.set(e,o),o}const le={'"':"&quot;","'":"&#x27;","<":"&lt;",">":"&gt;","&":"&amp;"};function ae(e,t=!1){const n=t?/["&]/g:/["'<>&]/g;return e.replace(n,(e=>le[e]))}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 ce={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 ue=J.lwcRuntimeFlags;const de=f(n(null)),fe=f([]);const pe=new WeakMap;const he={observe(e){e()},reset(){},link(){}};function me(e){return he}function ge(e){return`<${R.call(e.tagName)}>`}function we(e,t){if(!u(t)&&D(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!I(n);)S.call(t,ge(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}function ye(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function be(e){return B(e)&&c.call(e,"__circular__")}const ve="undefined"!=typeof HTMLElement?HTMLElement:function(){},Ce=ve.prototype;function Ee(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:Ee("offsetHeight")},offsetLeft:{readOnly:!0,error:Ee("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Ee("offsetTop")},offsetWidth:{readOnly:!0,error:Ee("offsetWidth")},role:{attribute:"role"}});let Se,ke=null;function xe(e,t){return e!==ke||t!==Se}function Me(e,t){ke=null,Se=void 0}function Te(e,t){ke=e,Se=t}const Ae=n(null);$.call(d(X),(e=>{const t=G(Ce,e);D(t)||(Ae[e]=t)})),$.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=G(Ce,e);D(t)||(Ae[e]=t)}));const{isArray:Oe}=Array,{prototype:Ne,getPrototypeOf:$e,create:Pe,defineProperty:Le,isExtensible:_e,getOwnPropertyDescriptor:Fe,getOwnPropertyNames:Re,getOwnPropertySymbols:De,preventExtensions:Ie,hasOwnProperty:He}=Object,{push:je,concat:Be}=Array.prototype;function We(e){return void 0===e}function Ve(e){return"function"==typeof e}const Ke=new WeakMap;function ze(e,t){Ke.set(e,t)}const Ge=e=>Ke.get(e)||e;class Ue{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(He.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;We(n)||(e.get=this.wrapGetter(n)),We(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=Fe(n,t);if(!We(r)){const n=this.wrapDescriptor(r);Le(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;Be.call(Re(t),De(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;We(n)||He.call(e,n)||Le(e,n,Pe(null)),Ie(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=We(n)||He.call(t,n)?[]:[n];return je.apply(r,Re(t)),je.apply(r,De(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!_e(e)&&(!!_e(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return $e(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=Fe(n,t);if(We(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},Le(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const qe=new WeakMap,Xe=new WeakMap,Ye=new WeakMap,Je=new WeakMap;class Qe extends Ue{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=qe.get(e);if(!We(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Ge(this)))};return qe.set(e,r),Ye.set(r,e),r}wrapSetter(e){const t=Xe.get(e);if(!We(t))return t;const n=function(t){e.call(Ge(this),Ge(t))};return Xe.set(e,n),Je.set(n,e),n}unwrapDescriptor(e){if(He.call(e,"value"))e.value=Ge(e.value);else{const{set:t,get:n}=e;We(n)||(e.get=this.unwrapGetter(n)),We(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Ye.get(e);if(!We(t))return t;const n=this,r=function(){return Ge(e.call(n.wrapValue(this)))};return qe.set(r,e),Ye.set(e,r),r}unwrapSetter(e){const t=Je.get(e);if(!We(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Xe.set(r,e),Je.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&&Oe(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(_e(e)){const{originalTarget:t}=this;if(Ie(t),_e(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!He.call(r,t)||(Le(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const Ze=new WeakMap,et=new WeakMap;class tt extends Ue{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=Ze.get(e);if(!We(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Ge(this)))};return Ze.set(e,r),r}wrapSetter(e){const t=et.get(e);if(!We(t))return t;const n=function(e){};return et.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 nt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(Oe(e))return!0;const t=$e(e);return t===Ne||null===t||null===$e(t)}const rt=(e,t)=>{},ot=(e,t)=>{};function it(e){return Oe(e)?[]:{}}const st=Symbol.for("@@lockerLiveValue"),lt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=Ve(t)?t:ot,this.valueObserved=Ve(n)?n:rt,this.valueIsObservable=Ve(r)?r:nt,this.tagPropertyKey=o}getProxy(e){const t=Ge(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Ge(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Ge(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(We(t)){const n=new Qe(this,e);t=new Proxy(it(e),n),ze(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(We(t)){const n=new tt(this,e);t=new Proxy(it(e),n),ze(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:function(e,t){},valueMutated:function(e,t){const n=pe.get(e);if(!D(n)){const e=n[t];if(!D(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}},tagPropertyKey:st});function at(e){return lt.getReadOnlyProxy(e)}function ct(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 e=Un(this);if(!Tn(e))return n.call(e.elm)},set(t){const n=Un(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t),r.call(n.elm,t)}}}const ut=function(){if(I(Mn))throw new ReferenceError("Illegal constructor");const e=Mn,{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 Gn(o,e),Gn(n,e),1===e.renderMode?e.renderRoot=dt(e):e.renderRoot=n,this};function dt(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,Gn(s,e),s}ut.prototype={constructor:ut,dispatchEvent(e){const t=Un(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=Un(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,_n(r,t),n)},removeEventListener(e,t,n){const r=Un(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,_n(r,t),n)},hasAttribute(e){const t=Un(this),{elm:n,renderer:{getAttribute:r}}=t;return!I(r(n,e))},hasAttributeNS(e,t){const n=Un(this),{elm:r,renderer:{getAttribute:o}}=n;return!I(o(r,t,e))},removeAttribute(e){const t=Un(this),{elm:n,renderer:{removeAttribute:r}}=t;Te(n,e),r(n,e),Me()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=Un(this);Te(n,t),r(n,t,e),Me()},getAttribute(e){const t=Un(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=Un(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=Un(this),{elm:r,renderer:{setAttribute:o}}=n;Te(r,e),o(r,e,t),Me()},setAttributeNS(e,t,n){const r=Un(this),{elm:o,renderer:{setAttribute:i}}=r;Te(o,t),i(o,t,n,e),Me()},getBoundingClientRect(){const e=Un(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=Un(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=Un(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return Un(this).shadowRoot},get shadowRoot(){return null},get children(){const e=Un(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=Un(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=Un(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=Un(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=Un(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=Un(this);return e.renderer.getLastElementChild(e.elm)},render(){return Un(this).def.template},toString(){return`[object ${Un(this).def.name}]`}};const ft=n(null),pt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of pt)ft[e]={value(t){const n=Un(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};r(ut.prototype,ft);const ht=n(null);for(const e in Ae)ht[e]=ct(e,Ae[e]);function mt(e){return{get(){return Un(this).cmpFields[e]},set(t){const n=Un(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t)},enumerable:!0,configurable:!0}}r(ut.prototype,ht),o(ut,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const gt={observe(e){e()},reset(){},link(){}};function wt(e){return{get(){const t=Un(this);if(!Tn(t))return t.cmpProps[e]},set(t){Un(this).cmpProps[e]=t},enumerable:!0,configurable:!0}}function yt(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=Un(this);if(r)if(ue.ENABLE_REACTIVE_SETTER){let o=n.oar[e];D(o)&&(o=n.oar[e]=gt),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function bt(e){return{get(){return Un(this).cmpFields[e]},set(t){const n=Un(this),r=t;r!==n.cmpFields[e]&&(n.cmpFields[e]=r)},enumerable:!0,configurable:!0}}function vt(e){return{get(){return Un(this).cmpFields[e]},set(t){const n=Un(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t)},enumerable:!0,configurable:!0}}const Ct=new Map;const Et={apiMethods:de,apiFields:de,apiFieldsConfig:de,wiredMethods:de,wiredFields:de,observedFields:de};const St=new Set;function kt(){return[]}St.add(kt);const xt=n(null),Mt=n(null);function Tt(e){let t=xt[e];return D(t)&&(t=xt[e]=function(){const t=Un(this),{getHook:n}=t;return n(t.component,e)}),t}function At(e){let t=Mt[e];return D(t)&&(t=Mt[e]=function(t){const n=Un(this),{setHook:r}=n;t=at(t),r(n.component,e,t)}),t}function Ot(e){return function(){const t=Un(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,T.call(arguments))}}function Nt(e,t){return function(n,r,o){if(r===o)return;const i=e[n];D(i)?D(t)||t.apply(this,arguments):xe(this,n)&&(this[i]=o)}}function $t(e,t,i){let s;B(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),o(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=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];l[se(n)]=n,u[n]={get:Tt(n),set:At(n),enumerable:!0,configurable:!0}}for(let e=0,t=i.length;e<t;e+=1){const t=i[e];u[t]={value:Ot(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:Nt(l,a)},o(s,"observedAttributes",{get:()=>[...c,...d(l)]}),r(s.prototype,u),s}const Pt=$t(ve,l(Ae),[]);i(Pt),f(Pt.prototype);const Lt=new WeakMap;function _t(e){const{shadowSupportMode:o,renderMode:i}=e,s=function(e){const t=Ct.get(e);return D(t)?Et:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:f,wiredMethods:p,observedFields:h}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const C=function(e){let t=a(e);if(I(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(be(t)){const e=ye(t);t=e===t?ut:e}return t}(e),E=C!==ut?Rt(C):Dt,S=$t(E.bridge,d(l),d(u)),k=t(n(null),E.props,l),x=t(n(null),E.propsConfig,c),M=t(n(null),E.methods,u),T=t(n(null),E.wire,f,p);g=g||E.connectedCallback,w=w||E.disconnectedCallback,y=y||E.renderedCallback,b=b||E.errorCallback,v=v||E.render;let A=E.shadowSupportMode;D(o)||(A=o);let O=E.renderMode;D(i)||(O="light"===i?0:1);const N=function(e){return Nn.get(e)}(e)||E.template,$=e.name||E.name;r(m,h);return{ctor:e,name:$,wire:T,props:k,propsConfig:x,methods:M,bridge:S,template:N,renderMode:O,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Ft(e){if(!B(e))return!1;if(e.prototype instanceof ut)return!0;let t=e;do{if(be(t)){const e=ye(t);if(e===t)return!0;t=e}if(t===ut)return!0}while(!I(t)&&(t=a(t)));return!1}function Rt(e){let t=Lt.get(e);if(D(t)){if(be(e)){return t=Rt(ye(e)),Lt.set(e,t),t}if(!Ft(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=_t(e),Lt.set(e,t)}return t}const Dt={ctor:ut,name:ut.name,props:ht,propsConfig:de,methods:de,renderMode:1,shadowSupportMode:"reset",wire:de,bridge:Pt,template:kt,render:ut.prototype.render};function It(e){return`${e}-host`}function Ht(e){return yn.h("style",{key:"style",attrs:{type:"text/css"}},[yn.t(e)])}function jt(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(h(s))S.apply(r,jt(s,t,n));else{const e=s.$scoped$,i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let a;1===n.renderMode?a=0===n.shadowMode:(D(o)&&(o=Wt(n)),a=I(o)||0===o.shadowMode),S.call(r,s(i,l,a))}}return r}function Bt(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return D(n)||0===n.length||(o=jt(n,r,e)),o}function Wt(e){let t=e;for(;!I(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Vt(e,t){const{renderMode:n,shadowMode:r,renderer:{ssr:o,insertStylesheet:i}}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)i(t[e]);else{if(o||e.hydrated)return C.call(t,Ht);{const n=function(e){const t=Wt(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++)i(t[e],r)}}return null}function Kt(e){const{type:t}=e;return 2===t||3===t}function zt(e,t){return e.key===t.key&&e.sel===t.sel}function Gt(e,t){return"input"===e&&("value"===t||"checked"===t)}const Ut=n(null);function qt(e){if(null==e)return de;e=W(e)?e:e+"";let t=Ut[e];if(t)return t;t=n(null);let r,o=0;const i=e.length;for(r=0;r<i;r++)32===L.call(e,r)&&(r>o&&(t[F.call(e,o,r)]=!0),o=r+1);return r>o&&(t[F.call(e,o,r)]=!0),Ut[e]=t,t}function Xt(e,t,n,r){var o;o=t,cn.has(o)?function(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],a=e[s];const c=t.length-1;let u,d,f,p,h=c,m=t[0],g=t[h],w=!1;for(;o<=s&&i<=h;)tn(l)?tn(a)?tn(m)?tn(g)?zt(l,m)?(Yt(l,m,r),l=e[++o],m=t[++i]):zt(a,g)?(Yt(a,g,r),a=e[--s],g=t[--h]):zt(l,g)?(Yt(l,g,r),on(l.elm,n,r.nextSibling(a.elm),r),l=e[++o],g=t[--h]):zt(a,m)?(Yt(a,m,r),on(m.elm,n,l.elm,r),a=e[--s],m=t[++i]):(void 0===u&&(u=un(e,o,s)),d=u[m.key],D(d)?(Jt(m,n,r,l.elm),m=t[++i]):(f=e[d],tn(f)&&(f.sel!==m.sel?Jt(m,n,r,l.elm):(Yt(f,m,r),w||(w=!0,e=[...e]),e[d]=void 0,on(f.elm,n,l.elm,r))),m=t[++i])):g=t[--h]:m=t[++i]:a=e[--s]:l=e[++o];if(o<=s||i<=h)if(o>s){let e,o=h;do{e=t[++o]}while(!tn(e)&&o<c);p=tn(e)?e.elm:null,Qt(t,n,r,p,i,h+1)}else en(e,n,r,!0,o,s+1)}(e,t,n,r):function(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void Qt(t,n,r,null);if(0===i)return void en(e,n,r,!0);let s=null;for(let o=i-1;o>=0;o-=1){const i=e[o],l=t[o];l!==i&&(tn(i)?tn(l)?(Yt(i,l,r),s=l.elm):Zt(i,n,r,!0):tn(l)&&(Jt(l,n,r,s),s=l.elm))}}(e,t,n,r)}function Yt(e,t,n){var r,o;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&rn(t,n)}(e,t,n);break;case 4:t.elm=e.elm;break;case 2:!function(e,t,n){const r=t.elm=e.elm;sn(e,t,n),Xt(e.children,t.children,r,n)}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:!function(e,t,n){const r=t.elm=e.elm,o=t.vm=e.vm;sn(e,t,n),D(o)||an(t,o);Xt(e.children,t.children,r,n),D(o)||function(e){Xn(e)}(o)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}}function Jt(e,t,n,r){var o,i;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:i}=r,s=e.elm=i(e.text);nn(s,o,r),on(s,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:i}=r,s=e.elm=i(e.text);nn(s,o,r),on(s,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:i,isSyntheticShadowDefined:s}=r,l=e.elm=i(e.fragment,!0);nn(l,o,r);const{renderMode:a,shadowMode:c}=o;s&&(1!==c&&0!==a||(l.$shadowStaticNode$=!0));on(l,t,n,r)}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:i,data:{svg:s}}=e,{createElement:l}=r,a=H(s)?"http://www.w3.org/2000/svg":void 0,c=e.elm=l(o,a);nn(c,i,r),ln(c,i,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(c,e),sn(null,e,r),on(c,t,n,r),Qt(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:!function(e,t,n,r){const{sel:o,owner:i}=e,s=function(e,t){const{getCustomElement:n,HTMLElementExported:r,defineCustomElement:o}=t;let i=n(e=e.toLowerCase());return D(i)?(i=class extends r{constructor(e){super(),B(e)&&e(this)}},o(e,i),i):i}(o,r);let l;const a=new s((t=>{l=function(e,t,n){let r=qn(e);if(!D(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=zn(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}));if(e.elm=a,e.vm=l,nn(a,i,r),ln(a,i,r),l)an(e,l);else if(e.ctor!==s)throw new TypeError("Incorrect Component Constructor");sn(null,e,r),on(a,t,n,r),l&&Yn(l);Qt(e.children,a,r,null),l&&function(e){Xn(e)}(l)}(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function Qt(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];tn(i)&&Jt(i,t,n,r)}}function Zt(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&function(e,t,n){n.remove(e,t)}(i,t,n),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;en(e.children,i,n,t);break}case 3:{const{vm:t}=e;D(t)||function(e){Kn(e)}(t)}}}function en(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];tn(i)&&Zt(i,t,n,r)}}function tn(e){return null!=e}function nn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function rn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function on(e,t,n,r){r.insert(e,t,n)}function sn(e,t,n){I(e)&&(function(e,t){const{elm:n,data:{on:r}}=e;if(D(r))return;const{addEventListener:o}=t;for(const e in r)o(n,e,r[e])}(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(D(r))return;const{getClassList:o}=t,i=o(n);for(const e in r)i.add(e)}(t,n),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(D(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,i,s]=r[e];o(n,t,i,s)}}(t,n)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=I(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),a=qt(o),c=qt(i);let u;for(u in c)D(a[u])&&l.remove(u);for(u in a)D(c[u])&&l.add(u)}(e,t,n),function(e,t,n){const{elm:r,data:{style:o}}=t;if((I(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;W(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,t,n),function(e,t,n){const{attrs:r}=t.data;if(D(r))return;const o=I(e)?de:e.data.attrs;if(o===r)return;const{elm:i}=t,{setAttribute:s,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(Te(i,e),58===L.call(e,3)?s(i,e,t,"http://www.w3.org/XML/1998/namespace"):58===L.call(e,5)?s(i,e,t,"http://www.w3.org/1999/xlink"):I(t)||D(t)?l(i,e):s(i,e,t),Me())}}(e,t,n),function(e,t,n){const{props:r}=t.data;if(D(r))return;const o=I(e)?de:e.data.props;if(o===r)return;const i=I(e),{elm:s,sel:l}=t,{getProperty:a,setProperty:c}=n;for(const e in r){const t=r[e];(i||t!==(Gt(l,e)?a(s,e):o[e]))&&c(s,e,t)}}(e,t,n)}function ln(e,t,n){const r=function(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}(t);if(!I(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||D(o)||(e.$shadowToken$=o)}function an(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="";Kt(n)&&(o=(null===(r=n.data.attrs)||void 0===r?void 0:r.slot)||"");const s=i[o]=i[o]||[];S.call(s,n)}if(j(e.isDirty)){const t=d(o);if(t.length!==d(i).length)return void Pn(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(D(i[r])||o[r].length!==i[r].length)return void Pn(e);const s=o[r],l=i[r];for(let t=0,n=i[r].length;t<n;t+=1)if(s[t]!==l[t])return void Pn(e)}}}(t,r),e.aChildren=r,e.children=fe)}const cn=new WeakMap;function un(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(tn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}const dn=Symbol.iterator;function fn(e,t,n=fe){const r=Cn();const{key:o}=t;return{type:2,sel:e,data:t,children:n,elm:undefined,key:o,owner:r}}function pn(e,t,n,r=fe){const o=Cn(),{key:i}=n;const s={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){S.call(Cn().velements,e)}(s),s}const hn=new Map;let mn=0;function gn(e){var t;return t=e,cn.set(t,1),e}let wn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const yn=i({s:function(e,t,n,r){D(r)||D(r[e])||0===r[e].length||(n=r[e]);const o=Cn(),{renderMode:i,shadowMode:s}=o;return 0===i?(gn(n),n):(1===s&&gn(n),fn("slot",t,n))},h:fn,c:pn,i:function(e,t){const n=[];if(gn(n),D(e)||null===e)return n;const r=e[dn]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);h(e)?S.apply(n,e):S.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];gn(n);for(let r=0;r<t;r+=1){const t=e[r];h(t)?S.apply(n,t):S.call(n,t)}return n},t:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:Cn()}},d:function(e){return null==e?"":String(e)},b:function(e){const t=Cn();if(I(t))throw new Error;const n=t;return function(t){On(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:Cn()}},dc:function(e,t,n,r=fe){if(null==t)return null;if(!Ft(t))throw new Error(`Invalid LWC Constructor ${z(t)} for custom element <${e}>.`);let o=hn.get(t);return D(o)&&(o=mn++,hn.set(t,o)),pn(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},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:Cn()}},gid:function(e){const t=Cn();if(D(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=Cn();if(D(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 wn(e)}});let bn=!1,vn=null;function Cn(){return vn}function En(e){vn=e}const Sn=(kn=(e,t)=>{const{createFragment:n}=t;return n(e)},(e,...t)=>{const r=n(null);return function(){const{context:{hasScopedStyles:n,stylesheetToken:o},shadowMode:i,renderer:s}=Cn(),l=!D(o),a=1===i;let c=0;if(l&&n&&(c|=1),l&&a&&(c|=2),!D(r[c]))return r[c];const u=n&&l?" "+o:"",d=n&&l?` class="${o}"`:"",f=l&&a?" "+o:"";let p="";for(let n=0,r=t.length;n<r;n++)switch(t[n]){case 0:p+=e[n]+u;break;case 1:p+=e[n]+d;break;case 2:p+=e[n]+f;break;case 3:p+=e[n]+d+f}return p+=e[e.length-1],r[c]=kn(p,s),r[c]}});var kn;function xn(e,t){const r=bn,o=vn;let i=[];return tr(e,e.owner,(()=>{vn=e}),(()=>{const{component:r,context:o,cmpSlots:s,cmpTemplate:l,tro:a}=e;a.observe((()=>{if(t!==l){if(I(l)||er(e),a=t,!St.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: ${z(t)}.`);e.cmpTemplate=t,o.tplCache=n(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!D(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,renderer:{getClassList:s,removeAttribute:l,setAttribute:a}}=e,{stylesheets:c,stylesheetToken:u}=t,d=1===o&&1===i,{hasScopedStyles:f}=r;let p,h,m;const{stylesheetToken:g,hasTokenInClass:w,hasTokenInAttribute:y}=r;D(g)||(w&&s(n).remove(It(g)),y&&l(n,It(g))),D(c)||0===c.length||(p=u),D(p)||(f&&(s(n).add(It(p)),h=!0),d&&(a(n,It(p),""),m=!0)),r.stylesheetToken=p,r.hasTokenInClass=h,r.hasTokenInAttribute=m}(e,t);const r=Bt(e,t);o.styleVNodes=0===r.length?null:Vt(e,r)}var a;e.velements=[],bn=!0,i=t.call(void 0,yn,r,s,o.tplCache);const{styleVNodes:c}=o;I(c)||N.apply(i,c)}))}),(()=>{bn=r,vn=o})),i}let Mn=null;function Tn(e){return Mn===e}function An(e,t,n){const{component:r,callHook:o,owner:i}=e;tr(e,i,V,(()=>{o(r,t,n)}),V)}function On(e,t,n,r){const{callHook:o,owner:i}=e;tr(e,i,V,(()=>{o(n,t,[r])}),V)}const Nn=new Map;function $n(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=Cn();let s,l=!1;return tr(e,o,(()=>{En(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{En(i)})),l?xn(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Pn(e){e.isDirty=!0}const Ln=new WeakMap;function _n(e,t){if(!B(t))throw new TypeError;let n=Ln.get(t);return D(n)&&(n=function(n){On(e,t,void 0,n)},Ln.set(t,n)),n}const Fn=n(null),Rn=["rendered","connected","disconnected"];function Dn(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 In=0;const Hn=new WeakMap;function jn(e,t,n=[]){return t.apply(e,n)}function Bn(e,t,n){e[t]=n}function Wn(e,t){return e[t]}function Vn(e){const t=Un(e);1===t.state&&function(e){Kn(Un(e))}(e),Yn(t),Xn(t)}function Kn(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}=Fn;t&&Dn(e,t);Jn(e)&&function(e){const{wiredDisconnecting:t}=e.context;tr(e,e,V,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),V)}(e);const{disconnectedCallback:n}=e.def;D(n)||An(e,n)}(e),Qn(e),function(e){const{aChildren:t}=e;Zn(t)}(e)}}function zn(e,t,r,o){const{mode:i,owner:s,tagName:l,hydrated:a}=o,c=Rt(t),u={elm:e,def:c,idx:In++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,children:fe,aChildren:fe,velements:fe,cmpProps:n(null),cmpFields:n(null),cmpSlots:n(null),oar:n(null),cmpTemplate:null,hydrated:Boolean(a),renderMode:c.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:de,wiredConnecting:fe,wiredDisconnecting:fe},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:jn,setHook:Bn,getHook:Wn,renderer:r};return u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(ue.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!I(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=I(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,r),u.tro=me(),function(e,t){const n=Mn;let r;Mn=e;try{const o=new t;if(Mn.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Mn=n,!D(r))throw we(e,r),r}}(u,c.ctor),Jn(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],s=nr.get(i);if(!D(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=or(e,t,s),a=s.dynamic.length>0;S.call(r,(()=>{n.connect(),ue.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),S.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function Gn(e,t){Hn.set(e,t)}function Un(e){return Hn.get(e)}function qn(e){return Hn.get(e)}function Xn(e){if(H(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&tr(e,e,(()=>{}),(()=>{Xt(r,t,n,o)}),(()=>{}));1===e.state&&function(e){const{def:{renderedCallback:t},renderer:{ssr:n}}=e;if(H(n))return;const{rendered:r}=Fn;r&&Dn(e,r);D(t)||An(e,t)}(e)}(e,$n(e))}}function Yn(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Fn;n&&Dn(e,n),Jn(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;D(r)||An(e,r)}function Jn(e){return l(e.def.wire).length>0}function Qn(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!D(n)){const e=qn(n);D(e)||Kn(e)}}}function Zn(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!I(n)&&!D(n.elm))switch(n.type){case 2:Zn(n.children);break;case 3:Kn(Un(n.elm));break}}}function er(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];I(o)||D(o.elm)||r(o.elm,n)}e.children=fe,Qn(e),e.velements=fe}function tr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!D(i)){we(e,i);const n=I(t)?void 0:function(e){let t=e;for(;!I(t);){if(!D(t.def.errorCallback))return t;t=t.owner}}(t);if(D(n))throw i;er(e);An(n,n.def.errorCallback,[i,i.wcStack])}}}const nr=new Map;class rr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function or(e,t,n){const{method:r,adapter:i,configCallback:s,dynamic:l}=n,a=D(r)?function(e,t){const{cmpFields:n}=e;return r=>{r!==e.cmpFields[t]&&(n[t]=r)}}(e,t):function(e,t){return n=>{tr(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:l}),tr(e,e,V,(()=>{u=new i(a)}),V);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){const r=me();return{computeConfigAndUpdate:()=>{let o;r.observe((()=>o=t(e))),n(o)},ro:r}}(e.component,s,(t=>{tr(e,e,V,(()=>{u.update(t,c)}),V)}));return D(i.contextSchema)||function(e,t,n){const{adapter:r}=t,o=sr(r);if(D(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:a}}=e;S.call(s,(()=>{const e=new rr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){S.call(l,e)}});a(i,e)}))}(e,n,(t=>{c!==t&&(c=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const ir=new Map;function sr(e){return ir.get(e)}function lr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};nr.set(e,o)}function ar(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};nr.set(e,o)}let cr=!1;const ur=Symbol("namespace"),dr=Symbol("type"),fr=Symbol("parent"),pr=Symbol("shadow-root"),hr=Symbol("children"),mr=Symbol("attributes"),gr=Symbol("event-listeners"),wr=Symbol("value");var yr;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(yr||(yr={}));const br=/\s+/g;function vr(e){return new Set(e.split(br).filter((e=>e.length)))}function Cr(e){return Array.from(e).join(" ")}function Er(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function Sr(e,t){return{[dr]:yr.Element,tagName:e,[ur]:null!=t?t:Q,[fr]:null,[pr]:null,[hr]:[],[mr]:[],[gr]:{}}}const kr=n(null),xr=new WeakMap;function Mr(e,t,n=null){const r=e[mr].find((e=>e.name===t&&e[ur]===n));return r?r.value:null}function Tr(e,t,n,r=null){const o=e[mr].find((e=>e.name===t&&e[ur]===r));D(r)&&(r=null),D(o)?e[mr].push({name:t,[ur]:r,value:String(n)}):o.value=n}function Ar(e,t,n){e[mr]=e[mr].filter((e=>e.name!==t&&e[ur]!==n))}const Or=V,Nr=V,$r=V,Pr=Er("dispatchEvent"),Lr=Er("getBoundingClientRect"),_r=Er("querySelector"),Fr=Er("querySelectorAll"),Rr=Er("getElementsByTagName"),Dr=Er("getElementsByClassName"),Ir=Er("getChildren"),Hr=Er("getChildNodes"),jr=Er("getFirstChild"),Br=Er("getFirstElementChild"),Wr=Er("getLastChild"),Vr=Er("getLastElementChild");const Kr={ssr:!0,isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,HTMLElementExported:class{constructor(){const{constructor:e}=this,t=xr.get(e);if(!t)throw new TypeError("Invalid Construction");return Sr(t)}},isHydrating:function(){return!1},insert:function(e,t,n){const r=e[fr];if(null!==r&&r!==t){const t=r[hr].indexOf(e);r[hr].splice(t,1)}e[fr]=t;const o=I(n)?-1:t[hr].indexOf(n);-1===o?t[hr].push(e):t[hr].splice(o,0,e)},remove:function(e,t){const n=t[hr].indexOf(e);t[hr].splice(n,1)},cloneNode:function(e){return e},createFragment:function(e){return{[dr]:yr.Raw,[fr]:null,[wr]:e}},createElement:Sr,createText:function(e){return{[dr]:yr.Text,[wr]:String(e),[fr]:null}},createComment:function(e){return{[dr]:yr.Comment,[wr]:e,[fr]:null}},nextSibling:function(e){const t=e[fr];if(I(t))return null;const n=t[hr].indexOf(e);return t[hr][n+1]||null},attachShadow:function(e,t){return e[pr]={[dr]:yr.ShadowRoot,[hr]:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e[pr]},getProperty:function(e,t){var n,r;if(t in e)return e[t];if(e[dr]===yr.Element){const o=se(t);if(te(o,e.tagName))return null!==(n=Mr(e,o))&&void 0!==n&&n;if(re(o)||Y(o))return Mr(e,o);if("input"===e.tagName&&"value"===t)return null!==(r=Mr(e,"value"))&&void 0!==r?r:""}},setProperty:function(e,t,n){if(t in e)return e[t]=n;if(e[dr]===yr.Element){const r=se(t);if("innerHTML"===t)return void(e[hr]=[{[dr]:yr.Raw,[fr]:e,[wr]:n}]);if(te(r,e.tagName))return!0===n?Tr(e,r,""):Ar(e,r);if(re(r)||Y(r))return Tr(e,r,n);if("input"===e.tagName&&"value"===r)return I(n)||D(n)?Ar(e,"value"):Tr(e,"value",n)}},setText:function(e,t){e[dr]===yr.Text?e[wr]=t:e[dr]===yr.Element&&(e[hr]=[{[dr]:yr.Text,[fr]:e,[wr]:t}])},getAttribute:Mr,setAttribute:Tr,removeAttribute:Ar,addEventListener:Nr,removeEventListener:$r,dispatchEvent:Pr,getClassList:function(e){function t(){let t=e[mr].find((e=>"class"===e.name&&I(e[ur])));return D(t)&&(t={name:"class",[ur]:null,value:""},e[mr].push(t)),t}return{add(...e){const n=t(),r=vr(n.value);e.forEach((e=>r.add(e))),n.value=Cr(r)},remove(...e){const n=t(),r=vr(n.value);e.forEach((e=>r.delete(e))),n.value=Cr(r)}}},setCSSStyleProperty:function(e,t,n,r){const o=e[mr].find((e=>"style"===e.name&&I(e[ur]))),i=`${t}: ${n}${r?" !important":""}`;D(o)?e[mr].push({name:"style",[ur]:null,value:i}):o.value+=`; ${i}`},getBoundingClientRect:Lr,querySelector:_r,querySelectorAll:Fr,getElementsByTagName:Rr,getElementsByClassName:Dr,getChildren:Ir,getChildNodes:Hr,getFirstChild:jr,getFirstElementChild:Br,getLastChild:Wr,getLastElementChild:Vr,isConnected:function(e){return!I(e[fr])},insertStylesheet:Or,assertInstanceOfHTMLElement:V,defineCustomElement:function(e,t,n){!function(e,t){if(e!==R.call(e)||kr[e])throw new TypeError("Invalid Registration");kr[e]=t,xr.set(t,e)}(e,t)},getCustomElement:function(e){return kr[e]}};function zr(e){return e.map((e=>{switch(e[dr]){case yr.Text:return""===e[wr]?"‍":ae(e[wr]);case yr.Comment:return`\x3c!--${ae(e[wr])}--\x3e`;case yr.Raw:return e[wr];case yr.Element:return Gr(e)}})).join("")}function Gr(e){let t="";const n=e.tagName,r=e[ur],o=r!==Q,i=e[hr].length>0;var s;return t+=`<${n}${e[mr].length?` ${s=e[mr],s.map((e=>e.value.length?`${e.name}=${JSON.stringify(ae(e.value))}`:e.name)).join(" ")}`:""}`,o&&!i?(t+="/>",t):(t+=">",e[pr]&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${zr(e[hr])}</template>`}(e[pr])),t+=zr(e[hr]),function(e,t){return t===Q&&Z.has(e.toLowerCase())}(n,r)&&!i||(t+=`</${n}>`),t)}const Ur={[dr]:yr.Element,tagName:"fake-root-element",[ur]:Q,[fr]:null,[pr]:null,[hr]:[],[mr]:[],[gr]:{}};i(ut),f(ut.prototype),exports.LightningElement=ut,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=sr(e);if(!D(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){ir.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((()=>{D(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},exports.freezeTemplate=function(e){},exports.getComponentDef=function(e){const t=Rt(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:se(e)};const a={};for(const e in s)a[e]=s[e].value;return{ctor:n,name:r,props:l,methods:a}},exports.isComponentConstructor=Ft,exports.parseFragment=Sn,exports.parseSVGFragment=Sn,exports.readonly=function(e){return at(e)},exports.register=function(e){for(let t=0;t<Rn.length;++t){const n=Rn[t];if(n in e){let t=Fn[n];D(t)&&(Fn[n]=t=[]),S.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return B(e)&&Nn.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:i,publicMethods:l,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(!D(i))for(const e in i){const t=i[e];if(g[e]=t.config,w=s(r,e),t.config>0){if(D(w))throw new Error;w=yt(e,w)}else w=D(w)||D(w.get)?wt(e):yt(e,w);f[e]=w,o(r,e,w)}if(D(l)||$.call(l,(e=>{if(w=s(r,e),D(w))throw new Error;d[e]=w})),!D(a))for(const e in a){const{adapter:t,method:n,config:i,dynamic:l=[]}=a[e];if(w=s(r,e),1===n){if(D(w))throw new Error;p[e]=w,lr(w,t,i,l)}else w=vt(e),h[e]=w,ar(w,t,i,l),o(r,e,w)}if(!D(c))for(const e in c)w=s(r,e),w=bt(e),o(r,e,w);if(!D(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=s(r,t);const n=!D(i)&&t in i,o=!D(c)&&t in c;n||o||(m[t]=mt(t))}return function(e,t){Ct.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return St.add(e),o(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return D(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=D(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=Kr.createElement(e);zn(r,t,Kr,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r[fr]=Ur,Vn(r),Gr(r)},exports.renderer=Kr,exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(D(ce[e])){const n=d(ce).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=ue[e];if(!D(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(ue,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(cr,"Hooks are already overridden, only one definition is allowed."),cr=!0,n=t.sanitizeHtmlContent,wn=n},exports.track=function(e){if(1===arguments.length)return e;throw new Error},exports.unwrap=function(e){return 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:s,getOwnPropertyNames:l,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:C,pop:E,push:S,reduce:k,reverse:x,shift:M,slice:T,sort:A,splice:O,unshift:N,forEach:$}=Array.prototype,{fromCharCode:P}=String,{charCodeAt:L,replace:_,slice:R,toLowerCase:D}=String.prototype;function F(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 z(e){return e&&e.toString?h(e)?v.call(C.call(e,z),","):e.toString():"object"==typeof e?K.call(e):e+""}function G(e,t){do{const n=s(e,t);if(!F(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=D.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="http://www.w3.org/1999/xhtml",Z=new Set(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr"]);const ee=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 te(e,t){const n=ee.get(e);return void 0!==n&&(0===n.size||n.has(t))}const ne=new Set(["role","accesskey","class","contenteditable","contextmenu","dir","draggable","dropzone","hidden","id","itemprop","lang","slot","spellcheck","style","tabindex","title"]);function re(e){return ne.has(e)}const oe=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"]]),ie=new Map;function se(e){const t=X[e];if(!F(t))return t;const n=oe.get(e);if(!F(n))return n;const r=ie.get(e);if(!F(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=L.call(e,t);o+=n>=65&&n<=90?"-"+P(n+32):P(n)}return ie.set(e,o),o}const le={'"':"&quot;","'":"&#x27;","<":"&lt;",">":"&gt;","&":"&amp;"};function ae(e,t=!1){const n=t?/["&]/g:/["'<>&]/g;return e.replace(n,(e=>le[e]))}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 ce={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 ue=J.lwcRuntimeFlags;const de=f(n(null)),fe=f([]);const pe=new WeakMap;const he={observe(e){e()},reset(){},link(){}};function me(e){return he}function ge(e){return`<${D.call(e.tagName)}>`}function we(e,t){if(!u(t)&&F(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!I(n);)S.call(t,ge(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}function ye(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function be(e){return B(e)&&c.call(e,"__circular__")}const ve="undefined"!=typeof HTMLElement?HTMLElement:function(){},Ce=ve.prototype;function Ee(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:Ee("offsetHeight")},offsetLeft:{readOnly:!0,error:Ee("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Ee("offsetTop")},offsetWidth:{readOnly:!0,error:Ee("offsetWidth")},role:{attribute:"role"}});let Se,ke=null;function xe(e,t){return e!==ke||t!==Se}function Me(e,t){ke=null,Se=void 0}function Te(e,t){ke=e,Se=t}const Ae=n(null);function Oe(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n)}$.call(d(X),(e=>{const t=G(Ce,e);F(t)||(Ae[e]=t)})),$.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=G(Ce,e);F(t)||(Ae[e]=t)}));const{isArray:Ne}=Array,{prototype:$e,getPrototypeOf:Pe,create:Le,defineProperty:_e,isExtensible:Re,getOwnPropertyDescriptor:De,getOwnPropertyNames:Fe,getOwnPropertySymbols:Ie,preventExtensions:He,hasOwnProperty:je}=Object,{push:Be,concat:We}=Array.prototype;function Ve(e){return void 0===e}function Ke(e){return"function"==typeof e}const ze=new WeakMap;function Ge(e,t){ze.set(e,t)}const Ue=e=>ze.get(e)||e;class qe{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(je.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;Ve(n)||(e.get=this.wrapGetter(n)),Ve(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=De(n,t);if(!Ve(r)){const n=this.wrapDescriptor(r);_e(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;We.call(Fe(t),Ie(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;Ve(n)||je.call(e,n)||_e(e,n,Le(null)),He(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=Ve(n)||je.call(t,n)?[]:[n];return Be.apply(r,Fe(t)),Be.apply(r,Ie(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!Re(e)&&(!!Re(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Pe(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=De(n,t);if(Ve(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},_e(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const Xe=new WeakMap,Ye=new WeakMap,Je=new WeakMap,Qe=new WeakMap;class Ze extends qe{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Xe.get(e);if(!Ve(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Ue(this)))};return Xe.set(e,r),Je.set(r,e),r}wrapSetter(e){const t=Ye.get(e);if(!Ve(t))return t;const n=function(t){e.call(Ue(this),Ue(t))};return Ye.set(e,n),Qe.set(n,e),n}unwrapDescriptor(e){if(je.call(e,"value"))e.value=Ue(e.value);else{const{set:t,get:n}=e;Ve(n)||(e.get=this.unwrapGetter(n)),Ve(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Je.get(e);if(!Ve(t))return t;const n=this,r=function(){return Ue(e.call(n.wrapValue(this)))};return Xe.set(r,e),Je.set(e,r),r}unwrapSetter(e){const t=Qe.get(e);if(!Ve(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Ye.set(r,e),Qe.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&&Ne(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(Re(e)){const{originalTarget:t}=this;if(He(t),Re(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!je.call(r,t)||(_e(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const et=new WeakMap,tt=new WeakMap;class nt extends qe{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=et.get(e);if(!Ve(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Ue(this)))};return et.set(e,r),r}wrapSetter(e){const t=tt.get(e);if(!Ve(t))return t;const n=function(e){};return tt.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 rt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(Ne(e))return!0;const t=Pe(e);return t===$e||null===t||null===Pe(t)}const ot=(e,t)=>{},it=(e,t)=>{};function st(e){return Ne(e)?[]:{}}const lt=Symbol.for("@@lockerLiveValue"),at=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=Ke(t)?t:it,this.valueObserved=Ke(n)?n:ot,this.valueIsObservable=Ke(r)?r:rt,this.tagPropertyKey=o}getProxy(e){const t=Ue(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Ue(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Ue(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(Ve(t)){const n=new Ze(this,e);t=new Proxy(st(e),n),Ge(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(Ve(t)){const n=new nt(this,e);t=new Proxy(st(e),n),Ge(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:function(e,t){},valueMutated:function(e,t){const n=pe.get(e);if(!F(n)){const e=n[t];if(!F(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}},tagPropertyKey:lt});function ct(e){return at.getReadOnlyProxy(e)}function ut(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 e=Gn(this);if(!Mn(e))return n.call(e.elm)},set(t){const n=Gn(this);return Oe(n,e,t),r.call(n.elm,t)}}}const dt=function(){if(I(xn))throw new ReferenceError("Illegal constructor");const e=xn,{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 zn(o,e),zn(n,e),1===e.renderMode?e.renderRoot=ft(e):e.renderRoot=n,this};function ft(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,zn(s,e),s}dt.prototype={constructor:dt,dispatchEvent(e){const t=Gn(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=Gn(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,Ln(r,t),n)},removeEventListener(e,t,n){const r=Gn(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,Ln(r,t),n)},hasAttribute(e){const t=Gn(this),{elm:n,renderer:{getAttribute:r}}=t;return!I(r(n,e))},hasAttributeNS(e,t){const n=Gn(this),{elm:r,renderer:{getAttribute:o}}=n;return!I(o(r,t,e))},removeAttribute(e){const t=Gn(this),{elm:n,renderer:{removeAttribute:r}}=t;Te(n,e),r(n,e),Me()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=Gn(this);Te(n,t),r(n,t,e),Me()},getAttribute(e){const t=Gn(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=Gn(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=Gn(this),{elm:r,renderer:{setAttribute:o}}=n;Te(r,e),o(r,e,t),Me()},setAttributeNS(e,t,n){const r=Gn(this),{elm:o,renderer:{setAttribute:i}}=r;Te(o,t),i(o,t,n,e),Me()},getBoundingClientRect(){const e=Gn(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=Gn(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=Gn(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return Gn(this).shadowRoot},get shadowRoot(){return null},get children(){const e=Gn(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=Gn(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=Gn(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=Gn(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=Gn(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=Gn(this);return e.renderer.getLastElementChild(e.elm)},render(){return Gn(this).def.template},toString(){return`[object ${Gn(this).def.name}]`}};const pt=n(null),ht=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of ht)pt[e]={value(t){const n=Gn(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};r(dt.prototype,pt);const mt=n(null);for(const e in Ae)mt[e]=ut(e,Ae[e]);function gt(e){return{get(){return Gn(this).cmpFields[e]},set(t){Oe(Gn(this),e,t)},enumerable:!0,configurable:!0}}r(dt.prototype,mt),o(dt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const wt={observe(e){e()},reset(){},link(){}};function yt(e){return{get(){const t=Gn(this);if(!Mn(t))return t.cmpProps[e]},set(t){Gn(this).cmpProps[e]=t},enumerable:!0,configurable:!0}}function bt(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=Gn(this);if(r)if(ue.ENABLE_REACTIVE_SETTER){let o=n.oar[e];F(o)&&(o=n.oar[e]=wt),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function vt(e){return{get(){return Gn(this).cmpFields[e]},set(t){Oe(Gn(this),e,t)},enumerable:!0,configurable:!0}}function Ct(e){return{get(){return Gn(this).cmpFields[e]},set(t){Oe(Gn(this),e,t)},enumerable:!0,configurable:!0}}const Et=new Map;const St={apiMethods:de,apiFields:de,apiFieldsConfig:de,wiredMethods:de,wiredFields:de,observedFields:de};const kt=new Set;function xt(){return[]}kt.add(xt);const Mt=n(null),Tt=n(null);function At(e){let t=Mt[e];return F(t)&&(t=Mt[e]=function(){const t=Gn(this),{getHook:n}=t;return n(t.component,e)}),t}function Ot(e){let t=Tt[e];return F(t)&&(t=Tt[e]=function(t){const n=Gn(this),{setHook:r}=n;t=ct(t),r(n.component,e,t)}),t}function Nt(e){return function(){const t=Gn(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,T.call(arguments))}}function $t(e,t){return function(n,r,o){if(r===o)return;const i=e[n];F(i)?F(t)||t.apply(this,arguments):xe(this,n)&&(this[i]=o)}}function Pt(e,t,i){let s;B(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),o(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=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];l[se(n)]=n,u[n]={get:At(n),set:Ot(n),enumerable:!0,configurable:!0}}for(let e=0,t=i.length;e<t;e+=1){const t=i[e];u[t]={value:Nt(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:$t(l,a)},o(s,"observedAttributes",{get:()=>[...c,...d(l)]}),r(s.prototype,u),s}const Lt=Pt(ve,l(Ae),[]);i(Lt),f(Lt.prototype);const _t=new WeakMap;function Rt(e){const{shadowSupportMode:o,renderMode:i}=e,s=function(e){const t=Et.get(e);return F(t)?St:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:f,wiredMethods:p,observedFields:h}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const C=function(e){let t=a(e);if(I(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(be(t)){const e=ye(t);t=e===t?dt:e}return t}(e),E=C!==dt?Ft(C):It,S=Pt(E.bridge,d(l),d(u)),k=t(n(null),E.props,l),x=t(n(null),E.propsConfig,c),M=t(n(null),E.methods,u),T=t(n(null),E.wire,f,p);g=g||E.connectedCallback,w=w||E.disconnectedCallback,y=y||E.renderedCallback,b=b||E.errorCallback,v=v||E.render;let A=E.shadowSupportMode;F(o)||(A=o);let O=E.renderMode;F(i)||(O="light"===i?0:1);const N=function(e){return On.get(e)}(e)||E.template,$=e.name||E.name;r(m,h);return{ctor:e,name:$,wire:T,props:k,propsConfig:x,methods:M,bridge:S,template:N,renderMode:O,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Dt(e){if(!B(e))return!1;if(e.prototype instanceof dt)return!0;let t=e;do{if(be(t)){const e=ye(t);if(e===t)return!0;t=e}if(t===dt)return!0}while(!I(t)&&(t=a(t)));return!1}function Ft(e){let t=_t.get(e);if(F(t)){if(be(e)){return t=Ft(ye(e)),_t.set(e,t),t}if(!Dt(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=Rt(e),_t.set(e,t)}return t}const It={ctor:dt,name:dt.name,props:mt,propsConfig:de,methods:de,renderMode:1,shadowSupportMode:"reset",wire:de,bridge:Lt,template:xt,render:dt.prototype.render};function Ht(e){return`${e}-host`}function jt(e){return wn.h("style",{key:"style",attrs:{type:"text/css"}},[wn.t(e)])}function Bt(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(h(s))S.apply(r,Bt(s,t,n));else{const e=s.$scoped$,i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let a;1===n.renderMode?a=0===n.shadowMode:(F(o)&&(o=Vt(n)),a=I(o)||0===o.shadowMode),S.call(r,s(i,l,a))}}return r}function Wt(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return F(n)||0===n.length||(o=Bt(n,r,e)),o}function Vt(e){let t=e;for(;!I(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Kt(e){const{type:t}=e;return 2===t||3===t}function zt(e,t){return e.key===t.key&&e.sel===t.sel}function Gt(e,t){return"input"===e&&("value"===t||"checked"===t)}const Ut=n(null);function qt(e){if(null==e)return de;e=W(e)?e:e+"";let t=Ut[e];if(t)return t;t=n(null);let r,o=0;const i=e.length;for(r=0;r<i;r++)32===L.call(e,r)&&(r>o&&(t[R.call(e,o,r)]=!0),o=r+1);return r>o&&(t[R.call(e,o,r)]=!0),Ut[e]=t,t}function Xt(e,t,n,r){var o;o=t,un.has(o)?function(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],a=e[s];const c=t.length-1;let u,d,f,p,h=c,m=t[0],g=t[h],w=!1;for(;o<=s&&i<=h;)nn(l)?nn(a)?nn(m)?nn(g)?zt(l,m)?(Yt(l,m,n,r),l=e[++o],m=t[++i]):zt(a,g)?(Yt(a,g,n,r),a=e[--s],g=t[--h]):zt(l,g)?(Yt(l,g,n,r),sn(l.elm,n,r.nextSibling(a.elm),r),l=e[++o],g=t[--h]):zt(a,m)?(Yt(a,m,n,r),sn(m.elm,n,l.elm,r),a=e[--s],m=t[++i]):(void 0===u&&(u=dn(e,o,s)),d=u[m.key],F(d)?(Jt(m,n,r,l.elm),m=t[++i]):(f=e[d],nn(f)&&(f.sel!==m.sel?Jt(m,n,r,l.elm):(Yt(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,sn(f.elm,n,l.elm,r))),m=t[++i])):g=t[--h]:m=t[++i]:a=e[--s]:l=e[++o];if(o<=s||i<=h)if(o>s){let e,o=h;do{e=t[++o]}while(!nn(e)&&o<c);p=nn(e)?e.elm:null,Zt(t,n,r,p,i,h+1)}else tn(e,n,r,!0,o,s+1)}(e,t,n,r):function(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void Zt(t,n,r,null);if(0===i)return void tn(e,n,r,!0);let s=null;for(let o=i-1;o>=0;o-=1){const i=e[o],l=t[o];l!==i&&(nn(i)?nn(l)?(Yt(i,l,n,r),s=l.elm):en(i,n,r,!0):nn(l)&&(Jt(l,n,r,s),s=l.elm))}}(e,t,n,r)}function Yt(e,t,n,r){var o,i;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&on(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 2:!function(e,t,n){const r=t.elm=e.elm;ln(e,t,n),Xt(e.children,t.children,r,n)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:r);break;case 3:!function(e,t,n,r){if(e.ctor!==t.ctor){const o=r.nextSibling(e.elm);en(e,n,r,!0),Qt(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;ln(e,t,r),F(o)||cn(t,o),Xt(e.children,t.children,n,r),F(o)||function(e){qn(e)}(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function Jt(e,t,n,r){var o,i;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:i}=r,s=e.elm=i(e.text);rn(s,o,r),sn(s,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:i}=r,s=e.elm=i(e.text);rn(s,o,r),sn(s,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:i,isSyntheticShadowDefined:s}=r,l=e.elm=i(e.fragment,!0);rn(l,o,r);const{renderMode:a,shadowMode:c}=o;s&&(1!==c&&0!==a||(l.$shadowStaticNode$=!0));sn(l,t,n,r)}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:i,data:{svg:s}}=e,{createElement:l}=r,a=H(s)?"http://www.w3.org/2000/svg":void 0,c=e.elm=l(o,a);rn(c,i,r),an(c,i,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(c,e),ln(null,e,r),sn(c,t,n,r),Zt(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:Qt(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function Qt(e,t,n,r){const{sel:o,owner:i}=e,s=function(e,t){const{getCustomElement:n,HTMLElementExported:r,defineCustomElement:o}=t;let i=n(e=e.toLowerCase());return F(i)?(i=class extends r{constructor(e){super(),B(e)&&e(this)}},o(e,i),i):i}(o,r);let l;const a=new s((t=>{l=function(e,t,n){let r=Un(e);if(!F(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=Kn(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}));if(e.elm=a,e.vm=l,rn(a,i,r),an(a,i,r),l)cn(e,l);else if(e.ctor!==s)throw new TypeError("Incorrect Component Constructor");ln(null,e,r),sn(a,t,n,r),l&&Xn(l),Zt(e.children,a,r,null),l&&function(e){qn(e)}(l)}function Zt(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];nn(i)&&Jt(i,t,n,r)}}function en(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&function(e,t,n){n.remove(e,t)}(i,t,n),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;tn(e.children,i,n,t);break}case 3:{const{vm:t}=e;F(t)||function(e){Vn(e)}(t)}}}function tn(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];nn(i)&&en(i,t,n,r)}}function nn(e){return null!=e}function rn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function on(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function sn(e,t,n,r){r.insert(e,t,n)}function ln(e,t,n){I(e)&&(function(e,t){const{elm:n,data:{on:r}}=e;if(F(r))return;const{addEventListener:o}=t;for(const e in r)o(n,e,r[e])}(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(F(r))return;const{getClassList:o}=t,i=o(n);for(const e in r)i.add(e)}(t,n),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(F(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,i,s]=r[e];o(n,t,i,s)}}(t,n)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=I(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),a=qt(o),c=qt(i);let u;for(u in c)F(a[u])&&l.remove(u);for(u in a)F(c[u])&&l.add(u)}(e,t,n),function(e,t,n){const{elm:r,data:{style:o}}=t;if((I(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;W(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,t,n),function(e,t,n){const{attrs:r}=t.data;if(F(r))return;const o=I(e)?de:e.data.attrs;if(o===r)return;const{elm:i}=t,{setAttribute:s,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(Te(i,e),58===L.call(e,3)?s(i,e,t,"http://www.w3.org/XML/1998/namespace"):58===L.call(e,5)?s(i,e,t,"http://www.w3.org/1999/xlink"):I(t)||F(t)?l(i,e):s(i,e,t),Me())}}(e,t,n),function(e,t,n){const{props:r}=t.data;if(F(r))return;const o=I(e)?de:e.data.props;if(o===r)return;const i=I(e),{elm:s,sel:l}=t,{getProperty:a,setProperty:c}=n;for(const e in r){const t=r[e];(i||t!==(Gt(l,e)?a(s,e):o[e]))&&c(s,e,t)}}(e,t,n)}function an(e,t,n){const r=function(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}(t);if(!I(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||F(o)||(e.$shadowToken$=o)}function cn(e,t){const r=e.aChildren||e.children;t.aChildren=r;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t){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="";Kt(n)&&(o=(null===(r=n.data.attrs)||void 0===r?void 0:r.slot)||"");const s=i[o]=i[o]||[];S.call(s,n)}if(j(e.isDirty)){const t=d(o);if(t.length!==d(i).length)return void $n(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(F(i[r])||o[r].length!==i[r].length)return void $n(e);const s=o[r],l=i[r];for(let t=0,n=i[r].length;t<n;t+=1)if(s[t]!==l[t])return void $n(e)}}}(t,r),e.aChildren=r,e.children=fe)}const un=new WeakMap;function dn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(nn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}const fn=Symbol.iterator;function pn(e,t,n=fe){const r=vn();const{key:o}=t;return{type:2,sel:e,data:t,children:n,elm:undefined,key:o,owner:r}}function hn(e,t,n,r=fe){const o=vn(),{key:i}=n;const s={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){S.call(vn().velements,e)}(s),s}function mn(e){var t;return t=e,un.set(t,1),e}let gn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const wn=i({s:function(e,t,n,r){F(r)||F(r[e])||0===r[e].length||(n=r[e]);const o=vn(),{renderMode:i,shadowMode:s}=o;return 0===i?(mn(n),n):(1===s&&mn(n),pn("slot",t,n))},h:pn,c:hn,i:function(e,t){const n=[];if(mn(n),F(e)||null===e)return n;const r=e[fn]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);h(e)?S.apply(n,e):S.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];mn(n);for(let r=0;r<t;r+=1){const t=e[r];h(t)?S.apply(n,t):S.call(n,t)}return n},t:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:vn()}},d:function(e){return null==e?"":String(e)},b:function(e){const t=vn();if(I(t))throw new Error;const n=t;return function(t){An(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:vn()}},dc:function(e,t,n,r=fe){if(null==t)return null;if(!Dt(t))throw new Error(`Invalid LWC Constructor ${z(t)} for custom element <${e}>.`);return hn(e,t,n,r)},ti:function(e){return e>0&&!(H(e)||j(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:vn()}},gid:function(e){const t=vn();if(F(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=vn();if(F(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 gn(e)}});let yn=!1,bn=null;function vn(){return bn}function Cn(e){bn=e}const En=(Sn=(e,t)=>{const{createFragment:n}=t;return n(e)},(e,...t)=>{const r=n(null);return function(){const{context:{hasScopedStyles:n,stylesheetToken:o},shadowMode:i,renderer:s}=vn(),l=!F(o),a=1===i;let c=0;if(l&&n&&(c|=1),l&&a&&(c|=2),!F(r[c]))return r[c];const u=n&&l?" "+o:"",d=n&&l?` class="${o}"`:"",f=l&&a?" "+o:"";let p="";for(let n=0,r=t.length;n<r;n++)switch(t[n]){case 0:p+=e[n]+u;break;case 1:p+=e[n]+d;break;case 2:p+=e[n]+f;break;case 3:p+=e[n]+d+f}return p+=e[e.length-1],r[c]=Sn(p,s),r[c]}});var Sn;function kn(e,t){const r=yn,o=bn;let i=[];return er(e,e.owner,(()=>{bn=e}),(()=>{const{component:r,context:o,cmpSlots:s,cmpTemplate:l,tro:a}=e;a.observe((()=>{if(t!==l){if(I(l)||Zn(e),a=t,!kt.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: ${z(t)}.`);e.cmpTemplate=t,o.tplCache=n(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!F(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,renderer:{getClassList:s,removeAttribute:l,setAttribute:a}}=e,{stylesheets:c,stylesheetToken:u}=t,d=1===o&&1===i,{hasScopedStyles:f}=r;let p,h,m;const{stylesheetToken:g,hasTokenInClass:w,hasTokenInAttribute:y}=r;F(g)||(w&&s(n).remove(Ht(g)),y&&l(n,Ht(g))),F(c)||0===c.length||(p=u),F(p)||(f&&(s(n).add(Ht(p)),h=!0),d&&(a(n,Ht(p),""),m=!0)),r.stylesheetToken=p,r.hasTokenInClass=h,r.hasTokenInAttribute=m}(e,t);const r=Wt(e,t);o.styleVNodes=0===r.length?null:function(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1!==n||1!==r)return C.call(t,jt);for(let e=0;e<t.length;e++)o(t[e]);return null}(e,r)}var a;e.velements=[],yn=!0,i=t.call(void 0,wn,r,s,o.tplCache);const{styleVNodes:c}=o;I(c)||N.apply(i,c)}))}),(()=>{yn=r,bn=o})),i}let xn=null;function Mn(e){return xn===e}function Tn(e,t,n){const{component:r,callHook:o,owner:i}=e;er(e,i,V,(()=>{o(r,t,n)}),V)}function An(e,t,n,r){const{callHook:o,owner:i}=e;er(e,i,V,(()=>{o(n,t,[r])}),V)}const On=new Map;function Nn(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=vn();let s,l=!1;return er(e,o,(()=>{Cn(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{Cn(i)})),l?kn(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function $n(e){e.isDirty=!0}const Pn=new WeakMap;function Ln(e,t){if(!B(t))throw new TypeError;let n=Pn.get(t);return F(n)&&(n=function(n){An(e,t,void 0,n)},Pn.set(t,n)),n}const _n=n(null),Rn=["rendered","connected","disconnected"];function Dn(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 Fn=0;const In=new WeakMap;function Hn(e,t,n=[]){return t.apply(e,n)}function jn(e,t,n){e[t]=n}function Bn(e,t){return e[t]}function Wn(e){const t=Gn(e);1===t.state&&function(e){Vn(Gn(e))}(e),Xn(t),qn(t)}function Vn(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}=_n;t&&Dn(e,t);Yn(e)&&function(e){const{wiredDisconnecting:t}=e.context;er(e,e,V,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),V)}(e);const{disconnectedCallback:n}=e.def;F(n)||Tn(e,n)}(e),Jn(e),function(e){const{aChildren:t}=e;Qn(t)}(e)}}function Kn(e,t,r,o){const{mode:i,owner:s,tagName:l,hydrated:a}=o,c=Ft(t),u={elm:e,def:c,idx:Fn++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,children:fe,aChildren:fe,velements:fe,cmpProps:n(null),cmpFields:n(null),cmpSlots:n(null),oar:n(null),cmpTemplate:null,hydrated:Boolean(a),renderMode:c.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:de,wiredConnecting:fe,wiredDisconnecting:fe},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:Hn,setHook:jn,getHook:Bn,renderer:r};return u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(ue.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!I(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=I(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,r),u.tro=me(),function(e,t){const n=xn;let r;xn=e;try{const o=new t;if(xn.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(xn=n,!F(r))throw we(e,r),r}}(u,c.ctor),Yn(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],s=tr.get(i);if(!F(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=rr(e,t,s),a=s.dynamic.length>0;S.call(r,(()=>{n.connect(),ue.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),S.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function zn(e,t){In.set(e,t)}function Gn(e){return In.get(e)}function Un(e){return In.get(e)}function qn(e){if(H(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&er(e,e,(()=>{}),(()=>{Xt(r,t,n,o)}),(()=>{}));e.state}(e,Nn(e))}}function Xn(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=_n;n&&Dn(e,n),Yn(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;F(r)||Tn(e,r)}function Yn(e){return l(e.def.wire).length>0}function Jn(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!F(n)){const e=Un(n);F(e)||Vn(e)}}}function Qn(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!I(n)&&!F(n.elm))switch(n.type){case 2:Qn(n.children);break;case 3:Vn(Gn(n.elm));break}}}function Zn(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];I(o)||F(o.elm)||r(o.elm,n)}e.children=fe,Jn(e),e.velements=fe}function er(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!F(i)){we(e,i);const n=I(t)?void 0:function(e){let t=e;for(;!I(t);){if(!F(t.def.errorCallback))return t;t=t.owner}}(t);if(F(n))throw i;Zn(e);Tn(n,n.def.errorCallback,[i,i.wcStack])}}}const tr=new Map;class nr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function rr(e,t,n){const{method:r,adapter:i,configCallback:s,dynamic:l}=n,a=F(r)?function(e,t){return n=>{Oe(e,t,n)}}(e,t):function(e,t){return n=>{er(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:l}),er(e,e,V,(()=>{u=new i(a)}),V);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){const r=me();return{computeConfigAndUpdate:()=>{let o;r.observe((()=>o=t(e))),n(o)},ro:r}}(e.component,s,(t=>{er(e,e,V,(()=>{u.update(t,c)}),V)}));return F(i.contextSchema)||function(e,t,n){const{adapter:r}=t,o=ir(r);if(F(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:a}}=e;S.call(s,(()=>{const e=new nr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){S.call(l,e)}});a(i,e)}))}(e,n,(t=>{c!==t&&(c=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const or=new Map;function ir(e){return or.get(e)}function sr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};tr.set(e,o)}function lr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};tr.set(e,o)}let ar=!1;const cr=Symbol("namespace"),ur=Symbol("type"),dr=Symbol("parent"),fr=Symbol("shadow-root"),pr=Symbol("children"),hr=Symbol("attributes"),mr=Symbol("event-listeners"),gr=Symbol("value");var wr;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(wr||(wr={}));const yr=/\s+/g;function br(e){return new Set(e.split(yr).filter((e=>e.length)))}function vr(e){return Array.from(e).join(" ")}function Cr(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function Er(e,t){return{[ur]:wr.Element,tagName:e,[cr]:null!=t?t:Q,[dr]:null,[fr]:null,[pr]:[],[hr]:[],[mr]:{}}}const Sr=n(null),kr=new WeakMap;function xr(e,t,n=null){const r=e[hr].find((e=>e.name===t&&e[cr]===n));return r?r.value:null}function Mr(e,t,n,r=null){const o=e[hr].find((e=>e.name===t&&e[cr]===r));F(r)&&(r=null),F(o)?e[hr].push({name:t,[cr]:r,value:String(n)}):o.value=n}function Tr(e,t,n){e[hr]=e[hr].filter((e=>e.name!==t&&e[cr]!==n))}const Ar=V,Or=V,Nr=V,$r=Cr("dispatchEvent"),Pr=Cr("getBoundingClientRect"),Lr=Cr("querySelector"),_r=Cr("querySelectorAll"),Rr=Cr("getElementsByTagName"),Dr=Cr("getElementsByClassName"),Fr=Cr("getChildren"),Ir=Cr("getChildNodes"),Hr=Cr("getFirstChild"),jr=Cr("getFirstElementChild"),Br=Cr("getLastChild"),Wr=Cr("getLastElementChild");const Vr={isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,HTMLElementExported:class{constructor(){const{constructor:e}=this,t=kr.get(e);if(!t)throw new TypeError("Invalid Construction");return Er(t)}},insert:function(e,t,n){const r=e[dr];if(null!==r&&r!==t){const t=r[pr].indexOf(e);r[pr].splice(t,1)}e[dr]=t;const o=I(n)?-1:t[pr].indexOf(n);-1===o?t[pr].push(e):t[pr].splice(o,0,e)},remove:function(e,t){const n=t[pr].indexOf(e);t[pr].splice(n,1)},cloneNode:function(e){return e},createFragment:function(e){return{[ur]:wr.Raw,[dr]:null,[gr]:e}},createElement:Er,createText:function(e){return{[ur]:wr.Text,[gr]:String(e),[dr]:null}},createComment:function(e){return{[ur]:wr.Comment,[gr]:e,[dr]:null}},nextSibling:function(e){const t=e[dr];if(I(t))return null;const n=t[pr].indexOf(e);return t[pr][n+1]||null},attachShadow:function(e,t){return e[fr]={[ur]:wr.ShadowRoot,[pr]:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e[fr]},getProperty:function(e,t){var n,r;if(t in e)return e[t];if(e[ur]===wr.Element){const o=se(t);if(te(o,e.tagName))return null!==(n=xr(e,o))&&void 0!==n&&n;if(re(o)||Y(o))return xr(e,o);if("input"===e.tagName&&"value"===t)return null!==(r=xr(e,"value"))&&void 0!==r?r:""}},setProperty:function(e,t,n){if(t in e)return e[t]=n;if(e[ur]===wr.Element){const r=se(t);if("innerHTML"===t)return void(e[pr]=[{[ur]:wr.Raw,[dr]:e,[gr]:n}]);if(te(r,e.tagName))return!0===n?Mr(e,r,""):Tr(e,r);if(re(r)||Y(r))return Mr(e,r,n);if("input"===e.tagName&&"value"===r)return I(n)||F(n)?Tr(e,"value"):Mr(e,"value",n)}},setText:function(e,t){e[ur]===wr.Text?e[gr]=t:e[ur]===wr.Element&&(e[pr]=[{[ur]:wr.Text,[dr]:e,[gr]:t}])},getAttribute:xr,setAttribute:Mr,removeAttribute:Tr,addEventListener:Or,removeEventListener:Nr,dispatchEvent:$r,getClassList:function(e){function t(){let t=e[hr].find((e=>"class"===e.name&&I(e[cr])));return F(t)&&(t={name:"class",[cr]:null,value:""},e[hr].push(t)),t}return{add(...e){const n=t(),r=br(n.value);e.forEach((e=>r.add(e))),n.value=vr(r)},remove(...e){const n=t(),r=br(n.value);e.forEach((e=>r.delete(e))),n.value=vr(r)}}},setCSSStyleProperty:function(e,t,n,r){const o=e[hr].find((e=>"style"===e.name&&I(e[cr]))),i=`${t}: ${n}${r?" !important":""}`;F(o)?e[hr].push({name:"style",[cr]:null,value:i}):o.value+=`; ${i}`},getBoundingClientRect:Pr,querySelector:Lr,querySelectorAll:_r,getElementsByTagName:Rr,getElementsByClassName:Dr,getChildren:Fr,getChildNodes:Ir,getFirstChild:Hr,getFirstElementChild:jr,getLastChild:Br,getLastElementChild:Wr,isConnected:function(e){return!I(e[dr])},insertStylesheet:Ar,assertInstanceOfHTMLElement:V,defineCustomElement:function(e,t,n){!function(e,t){if(e!==D.call(e)||Sr[e])throw new TypeError("Invalid Registration");Sr[e]=t,kr.set(t,e)}(e,t)},getCustomElement:function(e){return Sr[e]}};function Kr(e){return e.map((e=>{switch(e[ur]){case wr.Text:return""===e[gr]?"‍":ae(e[gr]);case wr.Comment:return`\x3c!--${ae(e[gr])}--\x3e`;case wr.Raw:return e[gr];case wr.Element:return zr(e)}})).join("")}function zr(e){let t="";const n=e.tagName,r=e[cr],o=r!==Q,i=e[pr].length>0;var s;return t+=`<${n}${e[hr].length?` ${s=e[hr],s.map((e=>e.value.length?`${e.name}=${JSON.stringify(ae(e.value))}`:e.name)).join(" ")}`:""}`,o&&!i?(t+="/>",t):(t+=">",e[fr]&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${Kr(e[pr])}</template>`}(e[fr])),t+=Kr(e[pr]),function(e,t){return t===Q&&Z.has(e.toLowerCase())}(n,r)&&!i||(t+=`</${n}>`),t)}const Gr={[ur]:wr.Element,tagName:"fake-root-element",[cr]:Q,[dr]:null,[fr]:null,[pr]:[],[hr]:[],[mr]:{}};i(dt),f(dt.prototype),exports.LightningElement=dt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=ir(e);if(!F(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){or.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((()=>{F(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},exports.freezeTemplate=function(e){},exports.getComponentDef=function(e){const t=Ft(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:se(e)};const a={};for(const e in s)a[e]=s[e].value;return{ctor:n,name:r,props:l,methods:a}},exports.isComponentConstructor=Dt,exports.parseFragment=En,exports.parseSVGFragment=En,exports.readonly=function(e){return ct(e)},exports.register=function(e){for(let t=0;t<Rn.length;++t){const n=Rn[t];if(n in e){let t=_n[n];F(t)&&(_n[n]=t=[]),S.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return B(e)&&On.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:i,publicMethods:l,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(!F(i))for(const e in i){const t=i[e];if(g[e]=t.config,w=s(r,e),t.config>0){if(F(w))throw new Error;w=bt(e,w)}else w=F(w)||F(w.get)?yt(e):bt(e,w);f[e]=w,o(r,e,w)}if(F(l)||$.call(l,(e=>{if(w=s(r,e),F(w))throw new Error;d[e]=w})),!F(a))for(const e in a){const{adapter:t,method:n,config:i,dynamic:l=[]}=a[e];if(w=s(r,e),1===n){if(F(w))throw new Error;p[e]=w,sr(w,t,i,l)}else w=Ct(e),h[e]=w,lr(w,t,i,l),o(r,e,w)}if(!F(c))for(const e in c)w=s(r,e),w=vt(e),o(r,e,w);if(!F(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=s(r,t);const n=!F(i)&&t in i,o=!F(c)&&t in c;n||o||(m[t]=gt(t))}return function(e,t){Et.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return kt.add(e),o(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return F(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=F(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=Vr.createElement(e);Kn(r,t,Vr,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r[dr]=Gr,Wn(r),zr(r)},exports.renderer=Vr,exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(F(ce[e])){const n=d(ce).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=ue[e];if(!F(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(ue,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(ar,"Hooks are already overridden, only one definition is allowed."),ar=!0,n=t.sanitizeHtmlContent,gn=n},exports.track=function(e){if(1===arguments.length)return e;throw new Error},exports.unwrap=function(e){return e},exports.wire=function(e,t){throw new Error};