lwc 2.13.1 → 2.13.2

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 (43) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +42 -62
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +42 -62
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +2 -2
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +41 -61
  5. package/dist/engine-dom/iife/es5/engine-dom.js +49 -58
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +48 -57
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +42 -62
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +2 -2
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +41 -61
  11. package/dist/engine-dom/umd/es5/engine-dom.js +49 -58
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +48 -57
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +19 -41
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
  16. package/dist/engine-server/esm/es2017/engine-server.js +19 -41
  17. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +3 -3
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +3 -3
  19. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +2 -2
  20. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
  22. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +1 -1
  23. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
  24. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
  25. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
  26. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
  27. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
  28. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +1 -1
  29. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
  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.min.js +1 -1
  33. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  34. package/dist/wire-service/iife/es5/wire-service.js +5 -5
  35. package/dist/wire-service/iife/es5/wire-service.min.js +1 -1
  36. package/dist/wire-service/iife/es5/wire-service_debug.js +5 -5
  37. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  38. package/dist/wire-service/umd/es2017/wire-service.min.js +1 -1
  39. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  40. package/dist/wire-service/umd/es5/wire-service.js +5 -5
  41. package/dist/wire-service/umd/es5/wire-service.min.js +1 -1
  42. package/dist/wire-service/umd/es5/wire-service_debug.js +5 -5
  43. package/package.json +7 -7
@@ -304,9 +304,9 @@
304
304
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
305
305
  */
306
306
  // Increment whenever the LWC template compiler changes
307
- const LWC_VERSION = "2.13.1";
307
+ const LWC_VERSION = "2.13.2";
308
308
  const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
309
- /** version: 2.13.1 */
309
+ /** version: 2.13.2 */
310
310
 
311
311
  /*
312
312
  * Copyright (c) 2018, salesforce.com, inc.
@@ -459,7 +459,7 @@
459
459
  setFeatureFlag(name, value);
460
460
  }
461
461
  }
462
- /** version: 2.13.1 */
462
+ /** version: 2.13.2 */
463
463
 
464
464
  /* proxy-compat-disable */
465
465
 
@@ -5349,20 +5349,9 @@
5349
5349
 
5350
5350
  resetComponentStateWhenRemoved(vm);
5351
5351
  }
5352
-
5353
- function getNearestShadowAncestor(vm) {
5354
- let ancestor = vm.owner;
5355
-
5356
- while (!isNull(ancestor) && ancestor.renderMode === 0
5357
- /* Light */
5358
- ) {
5359
- ancestor = ancestor.owner;
5360
- }
5361
-
5362
- return ancestor;
5363
- }
5364
-
5365
5352
  function createVM(elm, ctor, options) {
5353
+ var _a;
5354
+
5366
5355
  const {
5367
5356
  mode,
5368
5357
  owner,
@@ -5390,6 +5379,8 @@
5390
5379
  oar: create(null),
5391
5380
  cmpTemplate: null,
5392
5381
  renderMode: def.renderMode,
5382
+ shadowMode: computeShadowMode(def, owner),
5383
+ nearestShadowMode: (owner === null || owner === void 0 ? void 0 : owner.shadowRoot) ? owner.shadowMode : (_a = owner === null || owner === void 0 ? void 0 : owner.nearestShadowMode) !== null && _a !== void 0 ? _a : null,
5393
5384
  context: {
5394
5385
  stylesheetToken: undefined,
5395
5386
  hasTokenInClass: undefined,
@@ -5402,7 +5393,6 @@
5402
5393
  },
5403
5394
  // Properties set right after VM creation.
5404
5395
  tro: null,
5405
- shadowMode: null,
5406
5396
  // Properties set by the LightningElement constructor.
5407
5397
  component: null,
5408
5398
  shadowRoot: null,
@@ -5411,7 +5401,6 @@
5411
5401
  setHook,
5412
5402
  getHook
5413
5403
  };
5414
- vm.shadowMode = computeShadowMode(vm);
5415
5404
  vm.tro = getTemplateReactiveObserver(vm);
5416
5405
 
5417
5406
  if (process.env.NODE_ENV !== 'production') {
@@ -5436,10 +5425,9 @@
5436
5425
  return vm;
5437
5426
  }
5438
5427
 
5439
- function computeShadowMode(vm) {
5440
- const {
5441
- def
5442
- } = vm;
5428
+ function computeShadowMode(def, owner) {
5429
+ var _a;
5430
+
5443
5431
  let shadowMode;
5444
5432
 
5445
5433
  if (isSyntheticShadowDefined$1) {
@@ -5462,23 +5450,13 @@
5462
5450
  /* Native */
5463
5451
  ;
5464
5452
  } else {
5465
- const shadowAncestor = getNearestShadowAncestor(vm);
5466
-
5467
- if (!isNull(shadowAncestor) && shadowAncestor.shadowMode === 0
5468
- /* Native */
5469
- ) {
5470
- // Transitive support for native Shadow DOM. A component in native mode
5471
- // transitively opts all of its descendants into native.
5472
- shadowMode = 0
5473
- /* Native */
5474
- ;
5475
- } else {
5476
- // Synthetic if neither this component nor any of its ancestors are configured
5477
- // to be native.
5478
- shadowMode = 1
5479
- /* Synthetic */
5480
- ;
5481
- }
5453
+ // Transitive support for native Shadow DOM. A component in native mode
5454
+ // transitively opts all of its descendants into native.
5455
+ // Synthetic if neither this component nor any of its ancestors are configured
5456
+ // to be native.
5457
+ shadowMode = (_a = owner === null || owner === void 0 ? void 0 : owner.nearestShadowMode) !== null && _a !== void 0 ? _a : 1
5458
+ /* Synthetic */
5459
+ ;
5482
5460
  }
5483
5461
  } else {
5484
5462
  shadowMode = 1
@@ -6567,7 +6545,30 @@
6567
6545
  hooksAreSet = true;
6568
6546
  setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
6569
6547
  }
6570
- /* version: 2.13.1 */
6548
+
6549
+ /*
6550
+ * Copyright (c) 2018, salesforce.com, inc.
6551
+ * All rights reserved.
6552
+ * SPDX-License-Identifier: MIT
6553
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6554
+ */
6555
+ /**
6556
+ * EXPERIMENTAL: This function provides access to the component constructor, given an HTMLElement.
6557
+ * This API is subject to change or being removed.
6558
+ */
6559
+ function getComponentConstructor(elm) {
6560
+ let ctor = null;
6561
+ // intentionally checking for undefined due to some funky libraries patching weakmap.get
6562
+ // to throw when undefined.
6563
+ if (!isUndefined$1(elm)) {
6564
+ const vm = getAssociatedVMIfPresent(elm);
6565
+ if (!isUndefined$1(vm)) {
6566
+ ctor = vm.def.ctor;
6567
+ }
6568
+ }
6569
+ return ctor;
6570
+ }
6571
+ /* version: 2.13.2 */
6571
6572
 
6572
6573
  /*
6573
6574
  * Copyright (c) 2018, salesforce.com, inc.
@@ -7118,27 +7119,6 @@
7118
7119
  return element;
7119
7120
  }
7120
7121
 
7121
- /*
7122
- * Copyright (c) 2018, salesforce.com, inc.
7123
- * All rights reserved.
7124
- * SPDX-License-Identifier: MIT
7125
- * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
7126
- */
7127
- /**
7128
- * EXPERIMENTAL: This function provides access to the component constructor, given an HTMLElement.
7129
- * This API is subject to change or being removed.
7130
- */
7131
- function getComponentConstructor(elm) {
7132
- let ctor = null;
7133
- if (elm instanceof HTMLElement) {
7134
- const vm = getAssociatedVMIfPresent(elm);
7135
- if (!isUndefined$1(vm)) {
7136
- ctor = vm.def.ctor;
7137
- }
7138
- }
7139
- return ctor;
7140
- }
7141
-
7142
7122
  /*
7143
7123
  * Copyright (c) 2018, salesforce.com, inc.
7144
7124
  * All rights reserved.
@@ -7207,7 +7187,7 @@
7207
7187
  });
7208
7188
  freeze(LightningElement);
7209
7189
  seal(LightningElement.prototype);
7210
- /* version: 2.13.1 */
7190
+ /* version: 2.13.2 */
7211
7191
 
7212
7192
  exports.LightningElement = LightningElement;
7213
7193
  exports.__unstable__ProfilerControl = profilerControl;
@@ -1,2 +1,2 @@
1
- !function(b,a){"object"==typeof exports&&"undefined"!=typeof module?a(exports):"function"==typeof define&&define.amd?define(["exports"],a):a((b="undefined"!=typeof globalThis?globalThis:b||self).LWC={})}(this,function(a){"use strict";var ar=Object.freeze({__proto__:null,invariant:function(a,b){if(!a)throw new Error(`Invariant Violation: ${b}`)},isTrue:function(a,b){if(!a)throw new Error(`Assert Violation: ${b}`)},isFalse:function(a,b){if(a)throw new Error(`Assert Violation: ${b}`)},fail:function(a){throw new Error(a)}});const{assign:r,create:b,defineProperties:s,defineProperty:t,freeze:h,getOwnPropertyDescriptor:D,getOwnPropertyNames:E,getPrototypeOf:as,hasOwnProperty:F,isFrozen:at,keys:u,seal:e,setPrototypeOf:au}=Object,{isArray:G}=Array,{filter:av,find:aw,indexOf:ax,join:ay,map:az,push:aA,reduce:aB,reverse:aC,slice:aD,splice:aE,unshift:aF,forEach:v}=Array.prototype,{fromCharCode:aG}=String,{charCodeAt:aH,replace:aI,slice:aJ,toLowerCase:aK}=String.prototype;function aL(a){return void 0===a}function aM(a){return!0===a}function aN(a){return!1===a}function H(a){return"function"==typeof a}function aO(a){return"object"==typeof a}function aP(a){return"string"==typeof a}function I(){}const aQ={}.toString;function aR(a){return a&&a.toString?G(a)?ay.call(az.call(a,aR),","):a.toString():"object"==typeof a?aQ.call(a):a+""}function aS(a,c){do{const b=D(a,c);if(!aL(b))return b;a=as(a)}while(null!==a)}const aT=["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:aU,AriaPropNameToAttrNameMap:w}=(()=>{const a=b(null),c=b(null);return v.call(aT,b=>{const d=aK.call(aI.call(b,/^aria/,()=>"aria-"));a[d]=b,c[b]=d}),{AriaAttrNameToPropNameMap:a,AriaPropNameToAttrNameMap:c}})(),f=function(){if("object"==typeof globalThis)return globalThis;let a;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),a=__magic__,delete Object.prototype.__magic__}catch(b){}finally{void 0===a&&(a=window)}return a}(),aV="$shadowResolver$",aW="$scoped$",aX=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"],]),aY=new Map;function aZ(a){const e=w[a];if(!aL(e))return e;const f=aX.get(a);if(!aL(f))return f;const g=aY.get(a);if(!aL(g))return g;let b="";for(let d=0,h=a.length;d<h;d++){const c=aH.call(a,d);c>=65&&c<=90?b+="-"+aG(c+32):b+=aG(c)}return aY.set(a,b),b}function J(a){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,a)}const a$=new WeakMap;function a_(b){let a=a$.get(b);return void 0===a&&(a={},a$.set(b,a)),a}function K(a){var b,c;const d=w[a],e=(b=a,c=d,{get(){const a=a_(this);return F.call(a,b)?a[b]:this.hasAttribute(c)?this.getAttribute(c):null},set(a){var d;const e=null==(d=a)?null:String(d),f=a_(this);f[b]=e,null===a?this.removeAttribute(c):this.setAttribute(c,a)},configurable:!0,enumerable:!0});Object.defineProperty(Element.prototype,a,e)}const x=u(w);for(let i=0,L=x.length;i<L;i+=1){const y=x[i];J(y)&&K(y)}const a0={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};f.lwcRuntimeFlags||Object.defineProperty(f,"lwcRuntimeFlags",{value:b(null)});const a1=f.lwcRuntimeFlags;let a2=[];const d=e(b(null)),a3=e([]);function a4(){const b=a2;a2=[];for(let a=0,c=b.length;a<c;a+=1)b[a]()}function a5(a){0===a2.length&&Promise.resolve().then(a4),aA.call(a2,a)}const a6=/;(?![^(]*\))/g,a7=/:(.+)/;let M,N,O,P,Q,a8,a9,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,R,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,S,bA,bB,T,U;const bC=new WeakMap;let bD=null;function V(d,e){const c=bC.get(d);if(!aL(c)){const a=c[e];if(!aL(a))for(let b=0,f=a.length;b<f;b+=1){const g=a[b];g.notify()}}}function W(f,d){if(null===bD)return;const c=bD,e=function(c){let a=bC.get(c);if(aL(a)){const d=b(null);a=d,bC.set(c,d)}return a}(f);let a=e[d];if(aL(a))a=[],e[d]=a;else if(a[0]===c)return;-1===ax.call(a,c)&&c.link(a)}class X{constructor(a){this.listeners=[],this.callback=a}observe(b){const c=bD;bD=this;let a;try{b()}catch(d){a=Object(d)}finally{if(bD=c,void 0!==a)throw a}}reset(){const{listeners:a}=this,c=a.length;if(c>0){for(let b=0;b<c;b+=1){const d=a[b],e=ax.call(a[b],this);aE.call(d,e,1)}a.length=0}}notify(){this.callback.call(void 0,this)}link(a){aA.call(a,this),aA.call(this.listeners,a)}}function bE(a,b){V(a.component,b)}function bF(a,b){W(a.component,b)}function bG(a){return`<${aK.call(a.tagName)}>`}function bH(b,a){if(!at(a)&&aL(a.wcStack)){const c=function(c){const b=[];let a=c;for(;null!==a;)aA.call(b,bG(a)),a=a.owner;return b.reverse().join("\n ")}(b);t(a,"wcStack",{get:()=>c})}}function bI(b){const a=b();return(null==a?void 0:a.__esModule)?a.default:a}function bJ(a){return H(a)&&F.call(a,"__circular__")}const z="undefined"!=typeof HTMLElement?HTMLElement:function(){},bK=z.prototype;function g(a){return`Using the \`${a}\` 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.`}r(b(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:g("offsetHeight")},offsetLeft:{readOnly:!0,error:g("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:g("offsetTop")},offsetWidth:{readOnly:!0,error:g("offsetWidth")},role:{attribute:"role"}});let bL=null,bM;function bN(a,b){bL=null,bM=void 0}const j=b(null);v.call(u(w),a=>{const b=aS(bK,a);aL(b)||(j[a]=b)}),v.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title",],a=>{const b=aS(bK,a);aL(b)||(j[a]=b)});const{isArray:bO}=Array,{prototype:bP,getPrototypeOf:bQ,create:bR,defineProperty:bS,isExtensible:bT,getOwnPropertyDescriptor:bU,getOwnPropertyNames:bV,getOwnPropertySymbols:bW,preventExtensions:bX,hasOwnProperty:bY}=Object,{push:bZ,concat:b$}=Array.prototype;function b_(a){return void 0===a}function b0(a){return"function"==typeof a}const b1=new WeakMap;function b2(a,b){b1.set(a,b)}const b3=a=>b1.get(a)||a;class A{constructor(a,b){this.originalTarget=b,this.membrane=a}wrapDescriptor(a){if(bY.call(a,"value"))a.value=this.wrapValue(a.value);else{const{set:b,get:c}=a;b_(c)||(a.get=this.wrapGetter(c)),b_(b)||(a.set=this.wrapSetter(b))}return a}copyDescriptorIntoShadowTarget(c,a){const{originalTarget:d}=this,b=bU(d,a);if(!b_(b)){const e=this.wrapDescriptor(b);bS(c,a,e)}}lockShadowTarget(a){const{originalTarget:c}=this,d=b$.call(bV(c),bW(c));d.forEach(b=>{this.copyDescriptorIntoShadowTarget(a,b)});const{membrane:{tagPropertyKey:b}}=this;b_(b)||bY.call(a,b)||bS(a,b,bR(null)),bX(a)}apply(a,b,c){}construct(a,b,c){}get(e,a){const{originalTarget:b,membrane:{valueObserved:c}}=this,d=b[a];return c(b,a),this.wrapValue(d)}has(e,a){const{originalTarget:b,membrane:{tagPropertyKey:c,valueObserved:d}}=this;return d(b,a),a in b||a===c}ownKeys(d){const{originalTarget:a,membrane:{tagPropertyKey:b}}=this,c=b_(b)||bY.call(a,b)?[]:[b];return bZ.apply(c,bV(a)),bZ.apply(c,bW(a)),c}isExtensible(a){const{originalTarget:b}=this;return!!bT(a)&&(!!bT(b)||(this.lockShadowTarget(a),!1))}getPrototypeOf(b){const{originalTarget:a}=this;return bQ(a)}getOwnPropertyDescriptor(c,b){const{originalTarget:d,membrane:{valueObserved:f,tagPropertyKey:e}}=this;f(d,b);let a=bU(d,b);if(b_(a)){if(b!==e)return;return bS(c,e,a={value:void 0,writable:!1,configurable:!1,enumerable:!1}),a}return!1===a.configurable&&this.copyDescriptorIntoShadowTarget(c,b),this.wrapDescriptor(a)}}const b4=new WeakMap,b5=new WeakMap,b6=new WeakMap,b7=new WeakMap;class b8 extends A{wrapValue(a){return this.membrane.getProxy(a)}wrapGetter(a){const c=b4.get(a);if(!b_(c))return c;const d=this,b=function(){return d.wrapValue(a.call(b3(this)))};return b4.set(a,b),b6.set(b,a),b}wrapSetter(a){const c=b5.get(a);if(!b_(c))return c;const b=function(b){a.call(b3(this),b3(b))};return b5.set(a,b),b7.set(b,a),b}unwrapDescriptor(a){if(bY.call(a,"value"))a.value=b3(a.value);else{const{set:b,get:c}=a;b_(c)||(a.get=this.unwrapGetter(c)),b_(b)||(a.set=this.unwrapSetter(b))}return a}unwrapGetter(a){const c=b6.get(a);if(!b_(c))return c;const d=this,b=function(){return b3(a.call(d.wrapValue(this)))};return b4.set(b,a),b6.set(a,b),b}unwrapSetter(a){const c=b7.get(a);if(!b_(c))return c;const d=this,b=function(b){a.call(d.wrapValue(this),d.wrapValue(b))};return b5.set(b,a),b7.set(a,b),b}set(f,a,c){const{originalTarget:b,membrane:{valueMutated:d}}=this,e=b[a];return e!==c?(b[a]=c,d(b,a)):"length"===a&&bO(b)&&d(b,a),!0}deleteProperty(d,a){const{originalTarget:b,membrane:{valueMutated:c}}=this;return delete b[a],c(b,a),!0}setPrototypeOf(a,b){}preventExtensions(a){if(bT(a)){const{originalTarget:b}=this;if(bX(b),bT(b))return!1;this.lockShadowTarget(a)}return!0}defineProperty(d,a,c){const{originalTarget:b,membrane:{valueMutated:e,tagPropertyKey:f}}=this;return!(a!==f||bY.call(b,a))||(bS(b,a,this.unwrapDescriptor(c)),!1===c.configurable&&this.copyDescriptorIntoShadowTarget(d,a),e(b,a),!0)}}const b9=new WeakMap,ca=new WeakMap;class cb extends A{wrapValue(a){return this.membrane.getReadOnlyProxy(a)}wrapGetter(a){const b=b9.get(a);if(!b_(b))return b;const d=this,c=function(){return d.wrapValue(a.call(b3(this)))};return b9.set(a,c),c}wrapSetter(a){const b=ca.get(a);if(!b_(b))return b;const c=function(a){};return ca.set(a,c),c}set(a,b,c){return!1}deleteProperty(a,b){return!1}setPrototypeOf(a,b){}preventExtensions(a){return!1}defineProperty(a,b,c){return!1}}function cc(a){return bO(a)?[]:{}}const Y=Symbol.for("@@lockerLiveValue"),cd=new class{constructor(d={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:a,valueObserved:b,valueIsObservable:c,tagPropertyKey:e}=d;this.valueMutated=b0(a)?a:(a,b)=>{},this.valueObserved=b0(b)?b:(a,b)=>{},this.valueIsObservable=b0(c)?c:function(a){if(null===a)return!1;if("object"!=typeof a)return!1;if(bO(a))return!0;const b=bQ(a);return b===bP||null===b||null===bQ(b)},this.tagPropertyKey=e}getProxy(b){const a=b3(b);return this.valueIsObservable(a)?this.readOnlyObjectGraph.get(a)===b?b:this.getReactiveHandler(a):a}getReadOnlyProxy(a){return(a=b3(a),this.valueIsObservable(a))?this.getReadOnlyHandler(a):a}unwrapProxy(a){return b3(a)}getReactiveHandler(a){let b=this.reactiveObjectGraph.get(a);if(b_(b)){const c=new b8(this,a);b2(b=new Proxy(cc(a),c),a),this.reactiveObjectGraph.set(a,b)}return b}getReadOnlyHandler(a){let b=this.readOnlyObjectGraph.get(a);if(b_(b)){const c=new cb(this,a);b2(b=new Proxy(cc(a),c),a),this.readOnlyObjectGraph.set(a,b)}return b}}({valueObserved:W,valueMutated:V,tagPropertyKey:Y});function Z(f,a){const{get:b,set:c,enumerable:d,configurable:e}=a;if(!H(b))throw new TypeError;if(!H(c))throw new TypeError;return{enumerable:d,configurable:e,get(){const a=dO(this);if(dn!==a)return bF(a,f),b.call(a.elm)},set(b){const a=dO(this);return b!==a.cmpProps[f]&&(a.cmpProps[f]=b,bE(a,f)),c.call(a.elm,b)}}}const c=function(){if(null===dn)throw new ReferenceError("Illegal constructor");const a=dn,{def:c,elm:b}=a,{bridge:d}=c;if(au(b,d.prototype),a.component=this,1===arguments.length){const{callHook:e,setHook:f,getHook:g}=arguments[0];a.callHook=e,a.setHook=f,a.getHook=g}return this[Y]=void 0,dN(this,a),dN(b,a),1===a.renderMode?a.renderRoot=ce(a):a.renderRoot=b,this};function ce(a){const{elm:c,mode:d,shadowMode:e,def:{ctor:f}}=a,b=be(c,{["$$lwc-synthetic-mode"]:1===e,delegatesFocus:Boolean(f.delegatesFocus),mode:d});return a.shadowRoot=b,dN(b,a),b}c.prototype={constructor:c,dispatchEvent(a){const{elm:b}=dO(this);return bn(b,a)},addEventListener(b,c,d){const a=dO(this),{elm:e}=a,f=dw(a,c);bl(e,b,f,d)},removeEventListener(b,c,d){const a=dO(this),{elm:e}=a,f=dw(a,c);bm(e,b,f,d)},hasAttribute(a){const{elm:b}=dO(this);return null!==bi(b,a)},hasAttributeNS(a,b){const{elm:c}=dO(this);return null!==bi(c,b,a)},removeAttribute(a){var b,c;const{elm:d}=dO(this);b=d,c=a,bL=b,bM=c,bk(d,a),bN()},removeAttributeNS(e,a){var b,c;const{elm:d}=dO(this);b=d,c=a,bL=b,bM=c,bk(d,a,e),bN()},getAttribute(a){const{elm:b}=dO(this);return bi(b,a)},getAttributeNS(a,b){const{elm:c}=dO(this);return bi(c,b,a)},setAttribute(a,e){var b,c;const f=dO(this),{elm:d}=f;b=d,c=a,bL=b,bM=c,bj(d,a,e),bN()},setAttributeNS(e,a,f){var b,c;const g=dO(this),{elm:d}=g;b=d,c=a,bL=b,bM=c,bj(d,a,f,e),bN()},getBoundingClientRect(){const a=dO(this),{elm:b}=a;return bp(b)},get isConnected(){const{elm:$}=dO(this);return S($)},get classList(){const _=dO(this),{elm:aa}=_;return R(aa)},get template(){const ab=dO(this);return ab.shadowRoot},get shadowRoot(){return null},render(){const a=dO(this);return a.def.template},toString(){const a=dO(this);return`[object ${a.def.name}]`}};const k=b(null);function cf(a){switch(a){case"children":return bu;case"childNodes":return bv;case"firstChild":return bw;case"firstElementChild":return bx;case"lastChild":return by;case"lastElementChild":return bz}}for(const ac of["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild",])k[ac]={get(){const a=dO(this),{elm:b}=a;return cf(ac)(b)},configurable:!0,enumerable:!0};function cg(a){switch(a){case"getElementsByClassName":return bt;case"getElementsByTagName":return bs;case"querySelector":return bq;case"querySelectorAll":return br}}for(const ad of["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll",])k[ad]={value(a){const b=dO(this),{elm:c}=b;return cg(ad)(c,a)},configurable:!0,enumerable:!0,writable:!0};s(c.prototype,k);const l=b(null);for(const m in j)l[m]=Z(m,j[m]);function ch(a){return{get(){const b=dO(this);return bF(b,a),b.cmpFields[a]},set(c){const b=dO(this);c!==b.cmpFields[a]&&(b.cmpFields[a]=c,bE(b,a))},enumerable:!0,configurable:!0}}function ci(a){return{get(){const b=dO(this);if(dn!==b)return bF(b,a),b.cmpProps[a]},set(c){const b=dO(this);b.cmpProps[a]=c,bE(b,a)},enumerable:!0,configurable:!0}}s(c.prototype,l),t(c,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class cj extends X{constructor(a,b){super(()=>{aN(this.debouncing)&&(this.debouncing=!0,a5(()=>{if(aM(this.debouncing)){const{value:c}=this,{isDirty:d,component:e,idx:f}=a;b.call(e,c),this.debouncing=!1,aM(a.isDirty)&&aN(d)&&f>0&&dF(a)}}))}),this.debouncing=!1}reset(a){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=a)}}function ck(e,a){const{get:b,set:f,enumerable:c,configurable:d}=a;if(!H(b))throw new Error;return{get(){return b.call(this)},set(c){const b=dO(this);if(f)if(a1.ENABLE_REACTIVE_SETTER){let a=b.oar[e];aL(a)&&(a=b.oar[e]=new cj(b,f)),a.reset(c),a.observe(()=>{f.call(this,c)})}else f.call(this,c)},enumerable:c,configurable:d}}function cl(a){return{get(){const b=dO(this);return bF(b,a),b.cmpFields[a]},set(d){const b=dO(this),c=cd.getProxy(d);c!==b.cmpFields[a]&&(b.cmpFields[a]=c,bE(b,a))},enumerable:!0,configurable:!0}}function cm(a){return{get(){const b=dO(this);return bF(b,a),b.cmpFields[a]},set(c){const b=dO(this);c!==b.cmpFields[a]&&(b.cmpFields[a]=c,bE(b,a))},enumerable:!0,configurable:!0}}const cn=new Map,co={apiMethods:d,apiFields:d,apiFieldsConfig:d,wiredMethods:d,wiredFields:d,observedFields:d},ae=new Set;function B(){return[]}function af(b,c,d,a){return a}ae.add(B);const cp=b(null),cq=b(null);function cr(b){let a=cp[b];return aL(a)&&(a=cp[b]=function(){const a=dO(this),{getHook:c}=a;return c(a.component,b)}),a}function cs(b){let a=cq[b];return aL(a)&&(a=cq[b]=function(a){const c=dO(this),{setHook:d}=c;a=cd.getReadOnlyProxy(a),d(c.component,b,a)}),a}function ct(a){return function(){const b=dO(this),{callHook:c,component:d}=b,e=d[a];return c(b.component,e,aD.call(arguments))}}function ag(c,h,i){var l,m;let a;H(c)?a=class extends c{}:(au(a=function(){throw new TypeError("Illegal constructor")},c),au(a.prototype,c.prototype),t(a.prototype,"constructor",{writable:!0,configurable:!0,value:a}));const j=b(null),{attributeChangedCallback:n}=c.prototype,{observedAttributes:q=[]}=c,e=b(null);for(let f=0,o=h.length;f<o;f+=1){const d=h[f];j[aZ(d)]=d,e[d]={get:cr(d),set:cs(d),enumerable:!0,configurable:!0}}for(let g=0,p=i.length;g<p;g+=1){const k=i[g];e[k]={value:ct(k),writable:!0,configurable:!0}}return e.attributeChangedCallback={value:(l=j,m=n,function(a,f,b){var c,d;if(f===b)return;const e=l[a];if(aL(e)){aL(m)||m.apply(this,arguments);return}c=this,d=a,(c!==bL||d!==bM)&&(this[e]=b)})},t(a,"observedAttributes",{get:()=>[...q,...u(j)]}),s(a.prototype,e),a}const n=ag(z,E(j),[]);h(n),e(n.prototype);const cu=new WeakMap;function ah(b){if(!H(b))return!1;if(b.prototype instanceof c)return!0;let a=b;do{if(bJ(a)){const d=bI(a);if(d===a)return!0;a=d}if(a===c)return!0}while(null!==a&&(a=as(a)))return!1}function cv(a){let d=cu.get(a);if(aL(d)){if(bJ(a)){const e=bI(a);return d=cv(e),cu.set(a,d),d}if(!ah(a))throw new TypeError(`${a} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);d=function(d){const{shadowSupportMode:j,renderMode:k}=d,t=function(b){const a=cn.get(b);return aL(a)?co:a}(d),{apiFields:l,apiFieldsConfig:v,apiMethods:m,wiredFields:w,wiredMethods:x,observedFields:y}=t,n=d.prototype;let{connectedCallback:e,disconnectedCallback:f,renderedCallback:g,errorCallback:h,render:i}=n;const o=function(b){let a=as(b);if(null===a)throw new ReferenceError(`Invalid prototype chain for ${b.name}, you must extend LightningElement.`);if(bJ(a)){const d=bI(a);a=d===a?c:d}return a}(d),a=o!==c?cv(o):cw,z=ag(a.bridge,u(l),u(m)),A=r(b(null),a.props,l),B=r(b(null),a.propsConfig,v),C=r(b(null),a.methods,m),D=r(b(null),a.wire,w,x);e=e||a.connectedCallback,f=f||a.disconnectedCallback,g=g||a.renderedCallback,h=h||a.errorCallback,i=i||a.render;let p=a.shadowSupportMode;aL(j)||(p=j);let q=a.renderMode;aL(k)||(q="light"===k?0:1);const E=ds(d)||a.template,F=d.name||a.name;return s(n,y),{ctor:d,name:F,wire:D,props:A,propsConfig:B,methods:C,bridge:z,template:E,renderMode:q,shadowSupportMode:p,connectedCallback:e,disconnectedCallback:f,renderedCallback:g,errorCallback:h,render:i}}(a),cu.set(a,d)}return d}const cw={ctor:c,name:c.name,props:l,propsConfig:d,methods:d,renderMode:1,shadowSupportMode:"reset",wire:d,bridge:n,template:B,render:c.prototype.render};function cx(a){let b=U(a=a.toLowerCase());return aL(b)&&T(a,b=class extends P{constructor(a){super(),H(a)&&a(this)}}),b}function cy(b){const{type:a}=b;return 2===a||3===a}function cz(a,b){return a.key===b.key&&a.sel===b.sel}function cA(c,f){var g,e;const{props:b}=f.data;if(aL(b))return;const h=null===c?d:c.data.props;if(h===b)return;const k=null===c,{elm:i,sel:l}=f;for(const a in b){const j=b[a];(k||j!==((g=l,e=a,"input"===g&&("value"===e||"checked"===e))?bf(i,a):h[a]))&&bg(i,a,j)}}const cB=b(null);function cC(a){if(null==a)return d;let e=cB[a=aP(a)?a:a+""];if(e)return e;e=b(null);let f=0,c;const g=a.length;for(c=0;c<g;c++)32===aH.call(a,c)&&(c>f&&(e[aJ.call(a,f,c)]=!0),f=c+1);return c>f&&(e[aJ.call(a,f,c)]=!0),cB[a]=e,e}function cD(c){const{elm:d,data:{on:a}}=c;if(!aL(a))for(const b in a){const e=a[b];bl(d,b,e)}}function cE(b,a,c){c2(a)?c4(b,a,c):c5(b,a,c)}function cF(b,a){if(b!==a)switch(a.type){case 0:cH(b,a);break;case 1:cJ(b,a);break;case 2:cM(b,a);break;case 3:cO(b,a);break}}function cG(a,b,c){switch(a.type){case 0:cI(a,b,c);break;case 1:cK(a,b,c);break;case 2:cL(a,b,c);break;case 3:cN(a,b,c);break}}function cH(b,a){a.elm=b.elm,a.text!==b.text&&cV(a)}function cI(a,c,d){const{owner:e}=a,b=a.elm=bb(a.text);cU(b,e),cW(b,c,d)}function cJ(b,a){a.elm=b.elm,a.text!==b.text&&cV(a)}function cK(a,c,d){const{owner:e}=a,b=a.elm=bc(a.text);cU(b,e),cW(b,c,d)}function cL(a,c,d){const{sel:e,owner:f,data:{svg:g}}=a,h=aM(g)?"http://www.w3.org/2000/svg":void 0,b=ba(e,h);cU(b,f),cZ(b,a),a.elm=b,cY(null,a),cW(b,c,d),cP(a.children,b,null)}function cM(a,b){const c=b.elm=a.elm;cY(a,b),cE(a.children,b.children,c)}function cN(a,e,f){const{sel:g,owner:h}=a,d=cx(g);let b;const c=new d(c=>{b=c_(c,a)});if(cU(c,h),a.elm=c,a.vm=b,b)c$(a,b);else if(a.ctor!==d)throw new TypeError("Incorrect Component Constructor");cY(null,a),cW(c,e,f),b&&dV(b),cP(a.children,c,null),b&&dI(b)}function cO(b,a){const d=a.elm=b.elm,c=a.vm=b.vm;cY(b,a),aL(c)||c$(a,c),cE(b.children,a.children,d),aL(c)||dF(c)}function cP(b,d,e,a=0,f=b.length){for(;a<f;++a){const c=b[a];null!=c&&cG(c,d,e)}}function cQ(a,d,e=!1){const{type:f,elm:b}=a;switch(e&&cX(b,d),f){case 2:cR(a.children,b);break;case 3:{const{vm:c}=a;aL(c)||dK(c)}}}function cR(b,d,e=!1,a=0,f=b.length){for(;a<f;++a){const c=b[a];null!=c&&cQ(c,d,e)}}function cS(a,b){a.$shadowToken$=b}function cT(c,d){const{cmpTemplate:a,context:e}=d,b=null==a?void 0:a.stylesheetToken;!aL(b)&&e.hasScopedStyles&&R(c).add(b)}function cU(a,b){const{renderRoot:c,renderMode:d,shadowMode:e}=b;O&&(1===e||0===d)&&(a[aV]=c[aV])}function cV(a){const{elm:b,text:c}=a;bh(b,c)}function cW(a,b,c){a8(a,b,c)}function cX(a,b){a9(a,b)}function cY(b,a){null===b&&(cD(a),function(b){const{elm:c,data:{classMap:a}}=b;if(aL(a))return;const d=R(c);for(const e in a)d.add(e)}(a),function(c){const{elm:d,data:{styleDecls:a}}=c;if(!aL(a))for(let b=0;b<a.length;b++){const[e,f,g]=a[b];bo(d,e,f,g)}}(a)),function(b,h){const{elm:i,data:{className:c}}=h,d=null===b?void 0:b.data.className;if(d===c)return;const e=R(i),f=cC(c),g=cC(d);let a;for(a in g)aL(f[a])&&e.remove(a);for(a in f)aL(g[a])&&e.add(a)}(b,a),function(b,d){const{elm:c,data:{style:a}}=d,e=null===b?void 0:b.data.style;e!==a&&(aP(a)&&""!==a?bj(c,"style",a):bk(c,"style"))}(b,a),function(f,g){var h,i;const{attrs:e}=g.data;if(aL(e))return;const j=null===f?d:f.data.attrs;if(j===e)return;const{elm:c}=g;for(const a in e){const b=e[a],k=j[a];k!==b&&((h=c,i=a,bL=h,bM=i,58===aH.call(a,3))?bj(c,a,b,"http://www.w3.org/XML/1998/namespace"):58===aH.call(a,5)?bj(c,a,b,"http://www.w3.org/1999/xlink"):null===b||aL(b)?bk(c,a):bj(c,a,b),bN())}}(b,a),cA(b,a)}function cZ(a,d){const{owner:b}=d;if(cT(a,b),1===b.shadowMode){const{data:{context:c}}=d,{stylesheetToken:e}=b.context;aL(c)||aL(c.lwc)||"manual"!==c.lwc.dom||(a.$domManual$=!0),aL(e)||cS(a,e)}}function c$(a,b){const c=a.aChildren||a.children;b.aChildren=c;const{renderMode:d,shadowMode:e}=b;(1===e||0===d)&&(c0(b,c),a.aChildren=c,a.children=a3)}function c_(a,e){let c=dP(a);if(!aL(c))return c;const{sel:f,mode:g,ctor:h,owner:b}=e;if(cT(a,b),1===b.shadowMode){const{stylesheetToken:d}=b.context;aL(d)||cS(a,d)}return c=dL(a,h,{mode:g,owner:b,tagName:f})}function c0(c,m){var g;const{cmpSlots:h}=c,a=c.cmpSlots=b(null);for(let i=0,n=m.length;i<n;i+=1){const e=m[i];if(null===e)continue;let j="";cy(e)&&(j=(null===(g=e.data.attrs)|| void 0===g?void 0:g.slot)||"");const o=a[j]=a[j]||[];aA.call(o,e)}if(aN(c.isDirty)){const k=u(h);if(k.length!==u(a).length){du(c);return}for(let l=0,p=k.length;l<p;l+=1){const d=k[l];if(aL(a[d])||h[d].length!==a[d].length){du(c);return}const q=h[d],r=a[d];for(let f=0,s=a[d].length;f<s;f+=1)if(q[f]!==r[f]){du(c);return}}}}const c1=new WeakMap;function c2(a){return c1.has(a)}function c3(e,f,g){const b={};for(let a=f;a<=g;++a){const c=e[a];if(null!=c){const{key:d}=c;void 0!==d&&(b[d]=a)}}return b}function c4(b,c,k){let g=0,h=0,e=b.length-1,d=b[0],f=b[e];const p=c.length-1;let i=p,a=c[0],j=c[i],n,o,l,q=!1;for(;g<=e&&h<=i;)null!=d?null!=f?null!=a?null!=j?cz(d,a)?(cF(d,a),d=b[++g],a=c[++h]):cz(f,j)?(cF(f,j),f=b[--e],j=c[--i]):cz(d,j)?(cF(d,j),cW(d.elm,k,bd(f.elm)),d=b[++g],j=c[--i]):cz(f,a)?(cF(f,a),cW(a.elm,k,d.elm),f=b[--e],a=c[++h]):(void 0===n&&(n=c3(b,g,e)),aL(o=n[a.key]))?(cG(a,k,d.elm),a=c[++h]):(null!=(l=b[o])&&(l.sel!==a.sel?cG(a,k,d.elm):(cF(l,a),q||(q=!0,b=[...b]),b[o]=void 0,cW(l.elm,k,d.elm))),a=c[++h]):j=c[--i]:a=c[++h]:f=b[--e]:d=b[++g];if(g<=e||h<=i)if(g>e){let r=i,m;do m=c[++r];while(null==m&&r<p)cP(c,k,null!=m?m.elm:null,h,i+1)}else cR(b,k,!0,g,e+1)}function c5(e,f,b){const i=e.length,h=f.length;if(0===i){cP(f,b,null);return}if(0===h){cR(e,b,!0);return}let g=null;for(let c=h-1;c>=0;c-=1){const d=e[c],a=f[c];a!==d&&(null!=d?null!=a?(cF(d,a),g=a.elm):cQ(d,b,!0):null!=a&&(cG(a,b,g),g=a.elm))}}const c6=Symbol.iterator;function ai(b,a,c=a3){const d=dm;let e;const{key:f}=a;return{type:2,sel:b,data:a,children:c,elm:e,key:f,owner:d}}function aj(d,e,a,f=a3){var b;const g=dm,{key:h}=a;let i,j,k;const c={type:3,sel:d,data:a,children:f,elm:i,key:h,ctor:e,owner:g,mode:"open",aChildren:j,vm:k};return b=c,aA.call(dm.velements,b),c}const c7=new Map;let c8=0;function c9(a){var b;return b=a,c1.set(b,1),a}let da=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const db=h({s:function(c,d,a,b){aL(b)||aL(b[c])||0===b[c].length||(a=b[c]);const e=dm,{renderMode:f,shadowMode:g}=e;return 0===f?(c9(a),a):(1===g&&c9(a),ai("slot",d,a))},h:ai,c:aj,i:function(b,i){const a=[];if(c9(a),aL(b)||null===b)return a;const g=b[c6]();let c=g.next(),d=0,{value:h,done:e}=c;for(;!1===e;){e=(c=g.next()).done;const f=i(h,d,0===d,!0===e);G(f)?aA.apply(a,f):aA.call(a,f),d+=1,h=c.value}return a},f:function(d){const e=d.length,a=[];c9(a);for(let b=0;b<e;b+=1){const c=d[b];G(c)?aA.apply(a,c):aA.call(a,c)}return a},t:function(a){let b,c,d;return{type:0,sel:b,text:a,elm:d,key:c,owner:dm}},d:function(a){return null==a?"":String(a)},b:function(b){const a=dm;if(null===a)throw new Error;const c=a;return function(a){dq(c,b,c.component,a)}},k:function(b,a){switch(typeof a){case"number":case"string":return b+":"+a}},co:function(a){let b,c,d;return{type:1,sel:b,text:a,elm:d,key:c,owner:dm}},dc:function(c,a,d,e=a3){if(null==a)return null;if(!ah(a))throw new Error(`Invalid LWC Constructor ${aR(a)} for custom element <${c}>.`);let b=c7.get(a);aL(b)&&(b=c8++,c7.set(a,b));const f=Object.assign(Object.assign({},d),{key:`dc:${b}:${d.key}`});return aj(c,a,f,e)},ti:function(a){const b=a>0&&!(aM(a)||aN(a));return b?0:a},gid:function(a){const b=dm;if(aL(a)||""===a)return a;if(null===a)return null;const{idx:d,shadowMode:c}=b;return 1===c?aI.call(a,/\S+/g,a=>`${a}-${d}`):a},fid:function(a){const b=dm;if(aL(a)||""===a)return a;if(null===a)return null;const{idx:c,shadowMode:d}=b;return 1===d&&/^#/.test(a)?`${a}-${c}`:a},shc:function(a){return da(a)}});function dc(a){return`${a}-host`}function dd(g,h,a){const d=[];let b;for(let e=0;e<g.length;e++){let c=g[e];if(G(c))aA.apply(d,dd(c,h,a));else{const i=c[aW],j=i||1===a.shadowMode&&1===a.renderMode?h:void 0,k=0===a.renderMode?!i:0===a.shadowMode;let f;1===a.renderMode?f=0===a.shadowMode:(aL(b)&&(b=de(a)),f=null===b||0===b.shadowMode),aA.call(d,c(j,k,f))}}return d}function de(b){let a=b;for(;null!==a;){if(1===a.renderMode)return a;a=a.owner}return a}let df=!1,dg=I;const ak={enableProfiler(){df=!0},disableProfiler(){df=!1},attachDispatcher(a){dg=a,this.enableProfiler()},detachDispatcher(){const a=dg;return dg=I,this.disableProfiler(),a}};function dh(b,a){df&&dg(b,0,a.tagName,a.idx,a.renderMode,a.shadowMode)}function di(b,a){df&&dg(b,1,a.tagName,a.idx,a.renderMode,a.shadowMode)}function dj(b,a){df&&dg(b,0,null==a?void 0:a.tagName,null==a?void 0:a.idx,null==a?void 0:a.renderMode,null==a?void 0:a.shadowMode)}function dk(b,a){df&&dg(b,1,null==a?void 0:a.tagName,null==a?void 0:a.idx,null==a?void 0:a.renderMode,null==a?void 0:a.shadowMode)}let dl=!1,dm=null,dn=null;function dp(a,c,d){const{component:e,callHook:f,owner:b}=a;d1(a,b,I,()=>{f(e,c,d)},I)}function dq(a,c,d,e){const{callHook:f,owner:b}=a;d1(a,b,I,()=>{f(d,c,[e])},I)}const dr=new Map;function ds(a){return dr.get(a)}function dt(a){a.tro.reset();const c=function(a){const{def:{render:f},callHook:g,component:h,owner:c}=a,i=dm;let d,e=!1;return d1(a,c,()=>{dm=a},()=>{a.tro.observe(()=>{d=g(h,f),e=!0})},()=>{dm=i}),e?function(a,d){const e=dl,f=dm;let c=[];return d1(a,a.owner,()=>{dm=a,dh(1,a)},()=>{const{component:f,context:g,cmpSlots:h,cmpTemplate:i,tro:e}=a;e.observe(()=>{var e;if(d!==i){if(null!==i&&d_(a),e=d,!ae.has(e))throw new TypeError(`Invalid template returned by the render() method on ${a}. It must return an imported template (e.g.: \`import html from "./${a.def.name}.html"\`), instead, it has returned: ${aR(d)}.`);a.cmpTemplate=d,g.tplCache=b(null),g.hasScopedStyles=function(c){const{stylesheets:a}=c;if(!aL(a)){for(let b=0;b<a.length;b++)if(aM(a[b][aW]))return!0}return!1}(d),function(h,i){const{elm:c,context:a,renderMode:j,shadowMode:k}=h,{stylesheets:e,stylesheetToken:l}=i,{hasScopedStyles:m}=a;let b,f,g;const{stylesheetToken:d,hasTokenInClass:n,hasTokenInAttribute:o}=a;!aL(d)&&(n&&R(c).remove(dc(d)),o&&bk(c,dc(d))),aL(e)||0===e.length||(b=l),aL(b)||(m&&(R(c).add(dc(b)),f=!0),1!==j||1!==k||(bj(c,dc(b),""),g=!0)),a.stylesheetToken=b,a.hasTokenInClass=f,a.hasTokenInAttribute=g}(a,d);const j=function(c,d){const{stylesheets:a,stylesheetToken:e}=d;let b=[];return aL(a)||0===a.length||(b=dd(a,e,c)),b}(a,d);g.styleVNode=0===j.length?null:function(d,a){var e;const{renderMode:g,shadowMode:h}=d;if(1===g&&1===h)for(let c=0;c<a.length;c++)bA(a[c]);else if(M||Q()){const i=ay.call(a,"\n");return e=i,db.h("style",{key:"style",attrs:{type:"text/css"}},[db.t(e)])}else{const f=function(b){const a=de(b);return null!==a&&1===a.shadowMode?null:a}(d),j=null===f;for(let b=0;b<a.length;b++)j?bA(a[b]):bB(a[b],f.shadowRoot)}return null}(a,j)}a.velements=[],dl=!0,c=d.call(void 0,db,f,h,g.tplCache);const{styleVNode:k}=g;null!==k&&aF.call(c,k)})},()=>{dl=e,dm=f,di(1,a)}),c}(a,d):[]}(a);return a.isDirty=!1,a.isScheduled=!1,c}function du(a){a.isDirty=!0}const dv=new WeakMap;function dw(c,b){if(!H(b))throw new TypeError;let a=dv.get(b);return aL(a)&&(a=function(a){dq(c,b,void 0,a)},dv.set(b,a)),a}const dx=b(null),dy=["rendered","connected","disconnected"];function dz(c,b){const{component:d,def:e,context:f}=c;for(let a=0,g=b.length;a<g;++a)b[a].call(void 0,d,{},e,f)}let dA=0;const dB=new WeakMap;function dC(a,b,c=[]){return b.apply(a,c)}function dD(a,b,c){a[b]=c}function dE(a,b){return a[b]}function dF(a){dQ(a)}function dG(b){const a=dO(b);dj(7,a),1===a.state&&dH(b),dV(a),dQ(a),dk(7,a)}function dH(a){const b=dO(a);dJ(b)}function dI(a){dQ(a)}function dJ(a){const{state:c}=a;if(2!==c){const{oar:b,tro:d}=a;for(const e in d.reset(),b)b[e].reset();dX(a),dY(a),dZ(a)}}function dK(a){dJ(a)}function dL(e,f,g){var h;const{mode:i,owner:j,tagName:k}=g,c=cv(f),a={elm:e,def:c,idx:dA++,state:0,isScheduled:!1,isDirty:!0,tagName:k,mode:i,owner:j,children:a3,aChildren:a3,velements:a3,cmpProps:b(null),cmpFields:b(null),cmpSlots:b(null),oar:b(null),cmpTemplate:null,renderMode:c.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:d,wiredConnecting:a3,wiredDisconnecting:a3},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:dC,setHook:dD,getHook:dE};return a.shadowMode=dM(a),a.tro=(h=a,new X(()=>{const{isDirty:a}=h;aN(a)&&(du(h),d0(h))})),!function(a,c){const d=dn;let b;dh(0,a),dn=a;try{const e=new c;if(dn.component!==e)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(f){b=Object(f)}finally{if(di(0,a),dn=d,!aL(b))throw bH(a,b),b}}(a,c.ctor),dW(a)&&d9(a),a}function dM(b){const{def:c}=b;let a;if(O)if(0===c.renderMode)a=0;else if(N)if(a1.ENABLE_MIXED_SHADOW_MODE)if("any"===c.shadowSupportMode)a=0;else{const d=function(b){let a=b.owner;for(;null!==a&&0===a.renderMode;)a=a.owner;return a}(b);a=null===d||0!==d.shadowMode?1:0}else a=1;else a=1;else a=0;return a}function dN(a,b){dB.set(a,b)}function dO(a){const b=dB.get(a);return b}function dP(a){const b=dB.get(a);return b}function dQ(a){if(aM(a.isDirty)){const b=dt(a);dR(a,b)}}function dR(a,b){const{renderRoot:d,children:c}=a;a.children=b,(b.length>0||c.length>0)&&c!==b&&d1(a,a,()=>{dh(2,a)},()=>{cE(c,b,d)},()=>{di(2,a)}),1===a.state&&dS(a)}function dS(a){const{def:{renderedCallback:b}}=a;if(aM(M))return;const{rendered:c}=dx;c&&dz(a,c),aL(b)||(dh(4,a),dp(a,b),di(4,a))}let dT=[];function dU(){dj(8);const b=dT.sort((a,b)=>a.idx-b.idx);dT=[];for(let a=0,c=b.length;a<c;a+=1){const d=b[a];try{dQ(d)}catch(e){throw a+1<c&&(0===dT.length&&a5(dU),aF.apply(dT,aD.call(b,a+1))),dk(8),e}}dk(8)}function dV(a){const{state:d}=a;if(1===d)return;a.state=1;const{connected:b}=dx;b&&dz(a,b),dW(a)&&ea(a);const{connectedCallback:c}=a.def;aL(c)||(dh(3,a),dp(a,c),di(3,a))}function dW(a){return E(a.def.wire).length>0}function dX(a){aN(a.isDirty)&&(a.isDirty=!0),a.state=2;const{disconnected:b}=dx;b&&dz(a,b),dW(a)&&eb(a);const{disconnectedCallback:c}=a.def;aL(c)||(dh(5,a),dp(a,c),di(5,a))}function dY(e){const{velements:b}=e;for(let a=b.length-1;a>=0;a-=1){const{elm:c}=b[a];if(!aL(c)){const d=dP(c);aL(d)||dJ(d)}}}function dZ(a){const{aChildren:b}=a;d$(b)}function d$(c){for(let b=0,d=c.length;b<d;b+=1){const a=c[b];if(null!==a&&!aL(a.elm))switch(a.type){case 2:d$(a.children);break;case 3:{const e=dO(a.elm);dJ(e);break}}}}function d_(a){const{children:d,renderRoot:e}=a;for(let b=0,f=d.length;b<f;b++){const c=d[b];null===c||aL(c.elm)||a9(c.elm,e)}a.children=a3,dY(a),a.velements=a3}function d0(a){aM(M)||aM(a.isScheduled)||(a.isScheduled=!0,0===dT.length&&a5(dU),aA.call(dT,a))}function d1(b,d,e,f,g){let a;e();try{f()}catch(h){a=Object(h)}finally{if(g(),!aL(a)){bH(b,a);const c=null===d?void 0:function(b){let a=b;for(;null!==a;){if(!aL(a.def.errorCallback))return a;a=a.owner}}(d);if(aL(c))throw a;d_(b),dh(6,b);const i=c.def.errorCallback;dp(c,i,[a,a.wcStack]),di(6,b)}}}const d2=new Map;class d3 extends CustomEvent{constructor(a,{setNewContext:b,setDisconnectedCallback:c}){super(a,{bubbles:!0,composed:!0}),s(this,{setNewContext:{value:b},setDisconnectedCallback:{value:c}})}}function d4(a,e,b){var f,g;const{method:c,adapter:h,configCallback:i,dynamic:j}=b,d=aL(c)?function(a,b){const{cmpFields:c}=a;return d=>{d!==a.cmpFields[b]&&(c[b]=d,bE(a,b))}}(a,e):(f=a,g=c,a=>{d1(f,f.owner,I,()=>{g.call(f.component,a)},I)});let m,k;t(d,"$$DeprecatedWiredElementHostKey$$",{value:a.elm}),t(d,"$$DeprecatedWiredParamsMetaKey$$",{value:j}),d1(a,a,I,()=>{k=new h(d)},I);const{computeConfigAndUpdate:l,ro:n}=function(c,d,e){let f=!1;const a=new X(()=>{!1===f&&(f=!0,Promise.resolve().then(()=>{f=!1,a.reset(),b()}))}),b=()=>{let b;a.observe(()=>b=d(c)),e(b)};return{computeConfigAndUpdate:b,ro:a}}(a.component,i,b=>{d1(a,a,I,()=>{k.update(b,m)},I)});return aL(h.contextSchema)||function(a,b,f){const{adapter:c}=b,d=d6(c);if(aL(d))return;const{elm:g,context:{wiredConnecting:e,wiredDisconnecting:h}}=a;aA.call(e,()=>{const a=new d3(d,{setNewContext(a){f(a)},setDisconnectedCallback(a){aA.call(h,a)}});bn(g,a)})}(a,b,b=>{m!==b&&(m=b,1===a.state&&l())}),{connector:k,computeConfigAndUpdate:l,resetConfigWatcher:()=>n.reset()}}const d5=new Map;function d6(a){return d5.get(a)}function d7(b,a,c,d){a.adapter&&(a=a.adapter);const e=b.value;d2.set(b,{adapter:a,method:e,configCallback:c,dynamic:d})}function d8(b,a,c,d){a.adapter&&(a=a.adapter),d2.set(b,{adapter:a,configCallback:c,dynamic:d})}function d9(b){const{context:c,def:{wire:d}}=b,f=c.wiredConnecting=[],g=c.wiredDisconnecting=[];for(const e in d){const h=d[e],a=d2.get(h);if(!aL(a)){const{connector:i,computeConfigAndUpdate:j,resetConfigWatcher:k}=d4(b,e,a),l=a.dynamic.length>0;aA.call(f,()=>{if(i.connect(),!a1.ENABLE_WIRE_SYNC_EMIT&&l){Promise.resolve().then(j);return}j()}),aA.call(g,()=>{i.disconnect(),k()})}}}function ea(c){const{wiredConnecting:b}=c.context;for(let a=0,d=b.length;a<d;a+=1)b[a]()}function eb(a){const{wiredDisconnecting:b}=a.context;d1(a,a,I,()=>{for(let a=0,c=b.length;a<c;a+=1)b[a]()},I)}let ec=!1;function ed(a){const b=dt(a);a.children=b;const c=a.renderRoot;ej(bw(c),b,c),dS(a)}function ee(c,a){let b;switch(a.type){case 0:b=ef(c,a);break;case 1:b=eg(c,a);break;case 2:b=eh(c,a);break;case 3:b=ei(c,a);break}return bd(b)}function ef(a,b){var c;return em(b,a,3)?(bh(a,null!==(c=b.text)&& void 0!==c?c:null),b.elm=a,a):ek(a,b)}function eg(a,b){var c;return em(b,a,8)?(bg(a,"nodeValue",null!==(c=b.text)&& void 0!==c?c:null),b.elm=a,a):ek(a,b)}function eh(b,a){if(!em(a,b,1)||!en(a,b))return ek(b,a);a.elm=b;const{context:d}=a.data,e=Boolean(!aL(d)&&!aL(d.lwc)&&"manual"===d.lwc.dom);if(e){const{props:c}=a.data;aL(c)||aL(c.innerHTML)||bf(b,"innerHTML")===c.innerHTML&&(a.data=Object.assign(Object.assign({},a.data),{props:function(b,d){const c={};for(const a of Object.keys(b))a!==d&&(c[a]=b[a]);return c}(c,"innerHTML")}))}return el(a),e||ej(bw(b),a.children,b,a.owner),b}function ei(b,a){if(!em(a,b,1)||!en(a,b))return ek(b,a);const{sel:d,mode:e,ctor:f,owner:g}=a,c=dL(b,f,{mode:e,owner:g,tagName:d});return a.elm=b,a.vm=c,c$(a,c),el(a),dV(c),0!==c.renderMode&&ej(bw(b),a.children,b),ed(c),b}function ej(g,e,f,i){let a=g,c=null;for(let d=0;d<e.length;d++){const b=e[d];null!==b&&(a?(a=ee(a,b),c=b.elm):(ec=!0,cG(b,f,c),c=b.elm))}if(a){ec=!0;do{const h=a;a=bd(a),cX(h,f)}while(a)}}function ek(a,b,d){ec=!0;const c=bf(a,"parentNode");return cG(b,c,a),cX(a,c),b.elm}function el(a){cD(a),cA(null,a)}function em(c,a,b){return bf(a,"nodeType")===b}function en(a,b){if(a.sel.toLowerCase()!==bf(b,"tagName").toLowerCase())return!1;const c=eo(a,b),d=ep(a,b),e=eq(a,b);return c&&d&&e}function eo(b,c){const{data:{attrs:d={}}}=b;let a=!0;for(const[e,f]of Object.entries(d)){const g=bi(c,e);String(f)!==g&&(a=!1)}return a}function ep(h,c){const{data:{className:d,classMap:b}}=h;let a=!0;if(aL(d)||String(d)===bf(c,"className")){if(!aL(b)){const e=R(c);let f="";for(const g in b)f+=" "+g,e.contains(g)||(a=!1);f.trim(),e.length>u(b).length&&(a=!1)}}else a=!1;return a}function eq(l,m){const{data:{style:e,styleDecls:b}}=l,f=bi(m,"style")||"";let a=!0;if(aL(e)||e===f){if(!aL(b)){const g=function(e){const a={},f=e.split(a6);for(const b of f)if(b){const[c,d]=b.split(a7);void 0!==c&& void 0!==d&&(a[c.trim()]=d.trim())}return a}(f),h=[];for(let c=0,n=b.length;c<n;c++){const[i,j,k]=b[c];h.push(`${i}: ${j+(k?" important!":"")}`);const d=g[i];aL(d)?a=!1:d.startsWith(j)?k&&!d.endsWith("!important")&&(a=!1):a=!1}u(g).length>b.length&&(a=!1),ay.call(h,";")}}else a=!1;return a}let er=!1;const es=b(null),et=document.head||document.body||document,al=H(CSSStyleSheet.prototype.replaceSync)&&G(document.adoptedStyleSheets),eu=al&&D(document.adoptedStyleSheets,"length").writable,ev=b(null),ew=b(null),ex=new WeakMap;let o,p,q;if(function(){if("undefined"==typeof customElements)return!1;try{const b=HTMLElement;class a extends b{}return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),a),new a,!0}catch(c){return!1}}())o=customElements.get.bind(customElements),p=customElements.define.bind(customElements),q=HTMLElement;else{const ey=b(null),ez=new WeakMap;p=function(a,b){if(a!==aK.call(a)||ey[a])throw new TypeError("Invalid Registration");ey[a]=b,ez.set(b,a)},o=function(a){return ey[a]},(q=function d(){if(!(this instanceof d))throw new TypeError("Invalid Invocation");const{constructor:a}=this,b=ez.get(a);if(!b)throw new TypeError("Invalid Construction");const c=document.createElement(b);return au(c,a.prototype),c}).prototype=HTMLElement.prototype}let eA=!1;function am(){return eA}const an=f.$isNativeShadowRootDefined$,ao=F.call(Element.prototype,"$shadowToken$"),ap=q;function eB(a,b,c){const d=dL(a,b,{mode:"open",owner:null,tagName:a.tagName.toLowerCase()});for(const[e,f]of Object.entries(c))a[e]=f;return d}function aq(a,b,c={}){if(!(a instanceof Element))throw new TypeError(`"hydrateComponent" expects a valid DOM element as the first parameter but instead received ${a}.`);if(!H(b))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${b}.`);if(!aO(c)||null===c)throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${c}.`);if(dP(a)){console.warn('"hydrateComponent" expects an element that is not hydrated.',a);return}try{eA=!0;const d=eB(a,b,c);!function(a){if(ec=!1,dV(a),ed(a),ec){var b,c;b="Hydration completed with errors.",c=a,function(b,d,c){let a=`[LWC ${b}]: ${d}`;aL(c)||(a=`${a}
2
- ${function(a){var b;const c=[];let d="";for(;b=a.owner,null!==b;)aA.call(c,d+bG(a)),a=a.owner,d+=" ";return ay.call(c,"\n")}(c)}`);try{throw new Error(a)}catch(e){console[b](e)}}("error",b,c)}}(d),eA=!1}catch(e){console.error("Recovering from error while hydrating: ",e),function(a,c){if(a.shadowRoot){const b=a.shadowRoot;for(;null!==b.firstChild;)b.removeChild(b.firstChild)}if("light"===c.renderMode)for(;null!==a.firstChild;)a.removeChild(a.firstChild)}(a,b),eB(a,b,c),eA=!1,dG(a)}finally{eA=!1}}!function(a){be=a}(function(a,b){return eA?a.shadowRoot:a.attachShadow(b)}),function(a){bc=a}(function(a){return document.createComment(a)}),function(a){ba=a}(function(a,b){return aL(b)?document.createElement(a):document.createElementNS(b,a)}),function(a){bb=a}(function(a){return document.createTextNode(a)}),T=p,function(a){bn=a}(function(a,b){return a.dispatchEvent(b)}),function(a){bi=a}(function(a,b,c){return aL(c)?a.getAttribute(b):a.getAttributeNS(c,b)}),function(a){bp=a}(function(a){return a.getBoundingClientRect()}),function(a){bv=a}(function(a){return a.childNodes}),function(a){bu=a}(function(a){return a.children}),function(a){R=a}(function(a){return a.classList}),U=o,function(a){bt=a}(function(a,b){return a.getElementsByClassName(b)}),function(a){bs=a}(function(a,b){return a.getElementsByTagName(b)}),function(a){bw=a}(function(a){return a.firstChild}),function(a){bx=a}(function(a){return a.firstElementChild}),function(a){by=a}(function(a){return a.lastChild}),function(a){bz=a}(function(a){return a.lastElementChild}),function(a){bf=a}(function(a,b){return a[b]}),P=ap,function(a){a8=a}(function(a,b,c){b.insertBefore(a,c)}),function(a){bA=a}(function(a){if(!aL(es[a]))return;es[a]=!0;const b=document.createElement("style");b.type="text/css",b.textContent=a,et.appendChild(b)}),function(a){bB=a}(function(a,c){al?function(b,d){let a=ew[b];aL(a)&&((a=new CSSStyleSheet).replaceSync(b),ew[b]=a);const{adoptedStyleSheets:c}=d;c.includes(a)||(eu?c.push(a):d.adoptedStyleSheets=[...c,a])}(a,c):function(c,e){let d=ex.get(e);if(aL(d)&&(d=b(null),ex.set(e,d)),d[c])return;d[c]=!0;let a=ev[c];aL(a)?((a=document.createElement("style")).type="text/css",a.textContent=c,ev[c]=a):a=a.cloneNode(!0),e.appendChild(a)}(a,c)}),function(a){S=a}(function(a){return a.isConnected}),Q=am,N=an,O=ao,function(a){bd=a}(function(a){return a.nextSibling}),function(a){bq=a}(function(a,b){return a.querySelector(b)}),function(a){br=a}(function(a,b){return a.querySelectorAll(b)}),function(a){a9=a}(function(a,b){b.removeChild(a)}),function(a){bk=a}(function(a,b,c){aL(c)?a.removeAttribute(b):a.removeAttributeNS(c,b)}),function(a){bm=a}(function(a,b,c,d){a.removeEventListener(b,c,d)}),function(a){bj=a}(function(a,b,c,d){return aL(d)?a.setAttribute(b,c):a.setAttributeNS(d,b,c)}),function(a){bo=a}(function(a,b,c,d){a.style.setProperty(b,c,d?"important":"")}),function(a){bg=a}(function(a,b,c){a[b]=c}),function(a){bh=a}(function(a,b){a.nodeValue=b}),M=!1,function(a){bl=a}(function(a,b,c,d){a.addEventListener(b,c,d)});const eC=new WeakSet,C=Node,eD=new WeakMap,eE=new WeakMap;function eF(a,c){const b=c.get(a);return aL(b)||b(a),a}const{appendChild:eG,insertBefore:eH,removeChild:eI,replaceChild:eJ}=C.prototype;r(C.prototype,{appendChild(a){const b=eG.call(this,a);return eF(b,eD)},insertBefore(a,b){const c=eH.call(this,a,b);return eF(c,eD)},removeChild(a){const b=eI.call(this,a);return eF(b,eE)},replaceChild(a,c){const b=eJ.call(this,a,c);return eF(b,eE),eF(a,eD),b}});const eK=Node,eL=new Map;t(c,"CustomElementConstructor",{get(){return function(a){if(a===c)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let b=eL.get(a);return aL(b)&&(b=function(a){const b=function(a){const b=cv(a);return b.bridge}(a);return class extends b{constructor(){super(),this.isConnected?(aq(this,a,{}),eC.add(this)):dL(this,a,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){eC.has(this)?eC.delete(this):dG(this)}disconnectedCallback(){dH(this)}}}(a),eL.set(a,b)),b}(this)}}),h(c),e(c.prototype),a.LightningElement=c,a.__unstable__ProfilerControl=ak,a.api=function(){throw new Error},a.buildCustomElementConstructor=function(a){return a.CustomElementConstructor},a.createContextProvider=function(b){var c,d;let a=d6(b);if(!aL(a))throw new Error("Adapter already has a context provider.");a=function(){function a(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}return a()+a()+"-"+a()+"-"+a()+"-"+a()+"-"+a()+a()+a()}(),c=b,d=a,d5.set(c,d);const e=new WeakSet;return(b,c)=>{if(e.has(b))throw new Error(`Adapter was already installed on ${b}.`);e.add(b);const{consumerConnectedCallback:d,consumerDisconnectedCallback:f}=c;b.addEventListener(a,a=>{const{setNewContext:e,setDisconnectedCallback:b}=a,c={provide(a){e(a)}};b(()=>{aL(f)||f(c)}),d(c),a.stopImmediatePropagation()})}},a.createElement=function(b,a){if(!aO(a)||null===a)throw new TypeError(`"createElement" function expects an object as second parameter but received "${aR(a)}".`);const c=a.is;if(!H(c))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const d=cx(b);let e=!1;const f=new d(d=>{dL(d,c,{tagName:b,mode:"closed"!==a.mode?"open":"closed",owner:null}),eD.set(d,dG),eE.set(d,dH),e=!0});return e||console.error(`Unexpected tag name "${b}". This name is a registered custom element, preventing LWC to upgrade the element.`),f},a.getComponentConstructor=function(a){let b=null;if(a instanceof HTMLElement){const c=dP(a);aL(c)||(b=c.def.ctor)}return b},a.getComponentDef=function(f){const g=cv(f),{ctor:h,name:i,props:j,propsConfig:k,methods:b}=g,c={};for(const a in j)c[a]={config:k[a]||0,type:"any",attr:aZ(a)};const d={};for(const e in b)d[e]=b[e].value;return{ctor:h,name:i,props:c,methods:d}},a.hydrateComponent=aq,a.isComponentConstructor=ah,a.isNodeFromTemplate=function(a){if(aN(a instanceof eK))return!1;if(a instanceof ShadowRoot)return!1;const b=a.getRootNode();return!!(b instanceof ShadowRoot&&aN(F.call(as(b),"synthetic")))||ao&&!aL(a[aV])},a.readonly=function(a){return cd.getReadOnlyProxy(a)},a.register=function(d){for(let b=0;b<dy.length;++b){const a=dy[b];if(a in d){let c=dx[a];aL(c)&&(dx[a]=c=[]),aA.call(c,d[a])}}},a.registerComponent=function(a,{tmpl:b}){return H(a)&&dr.set(a,b),a},a.registerDecorators=function(i,B){var n,o;const d=i.prototype,{publicProps:f,publicMethods:p,wire:j,track:h,fields:k}=B,C=b(null),q=b(null),r=b(null),s=b(null),u=b(null),w=b(null);let a;if(!aL(f))for(const c in f){const x=f[c];if(w[c]=x.config,a=D(d,c),x.config>0){if(aL(a))throw new Error;a=ck(c,a)}else a=aL(a)||aL(a.get)?ci(c):ck(c,a);q[c]=a,t(d,c,a)}if(aL(p)||v.call(p,b=>{if(aL(a=D(d,b)))throw new Error;C[b]=a}),!aL(j))for(const e in j){const{adapter:y,method:E,config:z,dynamic:A=[]}=j[e];if(a=D(d,e),1===E){if(aL(a))throw new Error;r[e]=a,d7(a,y,z,A)}else a=cm(e),s[e]=a,d8(a,y,z,A),t(d,e,a)}if(!aL(h))for(const l in h)a=D(d,l),a=cl(l),t(d,l,a);if(!aL(k))for(let m=0,F=k.length;m<F;m++){const g=k[m];a=D(d,g);const G=!aL(f)&&g in f,H=!aL(h)&&g in h;G||H||(u[g]=ch(g))}return n=i,o={apiMethods:C,apiFields:q,apiFieldsConfig:w,wiredMethods:r,wiredFields:s,observedFields:u},cn.set(n,o),i},a.registerTemplate=function(a){return ae.add(a),a},a.sanitizeAttribute=af,a.setFeatureFlag=function(a,b){if("boolean"!=typeof b){const d=`Failed to set the value "${b}" for the runtime feature flag "${a}". Runtime feature flags can only be set to a boolean value.`;console.error(d);return}if(aL(a0[a])){const e=u(a0).map(a=>`"${a}"`).join(", ");console.warn(`Failed to set the value "${b}" for the runtime feature flag "${a}" because it is undefined. Available flags: ${e}.`);return}{const c=a1[a];if(!aL(c)){console.error(`Failed to set the value "${b}" for the runtime feature flag "${a}". "${a}" has already been set with the value "${c}".`);return}t(a1,a,{value:b})}},a.setFeatureFlagForTest=function(a,b){},a.setHooks=function(a){ar.isFalse(er,"Hooks are already overridden, only one definition is allowed."),er=!0,da=a.sanitizeHtmlContent},a.swapComponent=function(a,b){if(!a1.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},a.swapStyle=function(a,b){if(!a1.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},a.swapTemplate=function(a,b){if(!a1.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},a.track=function(a){if(1===arguments.length)return cd.getProxy(a);throw new Error},a.unwrap=function(a){return cd.unwrapProxy(a)},a.wire=function(a,b){throw new Error},Object.defineProperty(a,"__esModule",{value:!0})})
1
+ !function(b,a){"object"==typeof exports&&"undefined"!=typeof module?a(exports):"function"==typeof define&&define.amd?define(["exports"],a):a((b="undefined"!=typeof globalThis?globalThis:b||self).LWC={})}(this,function(a){"use strict";var ar,as,at,au,av,aw,ax,ay=Object.freeze({__proto__:null,invariant:function(a,b){if(!a)throw new Error(`Invariant Violation: ${b}`)},isTrue:function(a,b){if(!a)throw new Error(`Assert Violation: ${b}`)},isFalse:function(a,b){if(a)throw new Error(`Assert Violation: ${b}`)},fail:function(a){throw new Error(a)}});let{assign:r,create:b,defineProperties:s,defineProperty:t,freeze:h,getOwnPropertyDescriptor:D,getOwnPropertyNames:E,getPrototypeOf:az,hasOwnProperty:F,isFrozen:aA,keys:u,seal:e,setPrototypeOf:aB}=Object,{isArray:G}=Array,{filter:aC,find:aD,indexOf:aE,join:aF,map:aG,push:aH,reduce:aI,reverse:aJ,slice:aK,splice:aL,unshift:aM,forEach:v}=Array.prototype,{fromCharCode:aN}=String,{charCodeAt:aO,replace:aP,slice:aQ,toLowerCase:aR}=String.prototype;function aS(a){return void 0===a}function aT(a){return null===a}function aU(a){return!0===a}function aV(a){return!1===a}function H(a){return"function"==typeof a}function aW(a){return"object"==typeof a}function aX(a){return"string"==typeof a}function I(){}let aY={}.toString;function aZ(a){return a&&a.toString?G(a)?aF.call(aG.call(a,aZ),","):a.toString():"object"==typeof a?aY.call(a):a+""}function a$(a,c){do{let b=D(a,c);if(!aS(b))return b;a=az(a)}while(null!==a)}let a_=["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:a0,AriaPropNameToAttrNameMap:w}=(()=>{let a=b(null),c=b(null);return v.call(a_,b=>{let d=aR.call(aP.call(b,/^aria/,()=>"aria-"));a[d]=b,c[b]=d}),{AriaAttrNameToPropNameMap:a,AriaPropNameToAttrNameMap:c}})(),f=function(){if("object"==typeof globalThis)return globalThis;let a;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),a=__magic__,delete Object.prototype.__magic__}catch(b){}finally{void 0===a&&(a=window)}return a}(),a1="$shadowResolver$",a2="$scoped$",a3=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"],]),a4=new Map;function a5(a){let e=w[a];if(!aS(e))return e;let f=a3.get(a);if(!aS(f))return f;let g=a4.get(a);if(!aS(g))return g;let b="";for(let d=0,h=a.length;d<h;d++){let c=aO.call(a,d);c>=65&&c<=90?b+="-"+aN(c+32):b+=aN(c)}return a4.set(a,b),b}function J(a){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,a)}let a6=new WeakMap;function a7(b){let a=a6.get(b);return void 0===a&&(a={},a6.set(b,a)),a}function K(a){var b,c;let d=w[a],e=(b=a,c=d,{get(){let a=a7(this);return F.call(a,b)?a[b]:this.hasAttribute(c)?this.getAttribute(c):null},set(a){var d;let e=null==(d=a)?null:String(d),f=a7(this);f[b]=e,null===a?this.removeAttribute(c):this.setAttribute(c,a)},configurable:!0,enumerable:!0});Object.defineProperty(Element.prototype,a,e)}let x=u(w);for(let i=0,L=x.length;i<L;i+=1){let y=x[i];J(y)&&K(y)}let a8={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};f.lwcRuntimeFlags||Object.defineProperty(f,"lwcRuntimeFlags",{value:b(null)});let a9=f.lwcRuntimeFlags,ba=[],d=e(b(null)),bb=e([]);function bc(){let b=ba;ba=[];for(let a=0,c=b.length;a<c;a+=1)b[a]()}function bd(a){0===ba.length&&Promise.resolve().then(bc),aH.call(ba,a)}let be=/;(?![^(]*\))/g,bf=/:(.+)/,M,N,O,P,Q,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,R,bw,bx,by,bz,bA,bB,bC,bD,bE,bF,bG,bH,S,bI,bJ,T,U,bK=new WeakMap,bL=null;function V(d,e){let c=bK.get(d);if(!aS(c)){let a=c[e];if(!aS(a))for(let b=0,f=a.length;b<f;b+=1){let g=a[b];g.notify()}}}function W(f,d){if(null===bL)return;let c=bL,e=function(c){let a=bK.get(c);if(aS(a)){let d=b(null);a=d,bK.set(c,d)}return a}(f),a=e[d];if(aS(a))a=[],e[d]=a;else if(a[0]===c)return;-1===aE.call(a,c)&&c.link(a)}class X{constructor(a){this.listeners=[],this.callback=a}observe(b){let c=bL;bL=this;let a;try{b()}catch(d){a=Object(d)}finally{if(bL=c,void 0!==a)throw a}}reset(){let{listeners:a}=this,c=a.length;if(c>0){for(let b=0;b<c;b+=1){let d=a[b],e=aE.call(a[b],this);aL.call(d,e,1)}a.length=0}}notify(){this.callback.call(void 0,this)}link(a){aH.call(a,this),aH.call(this.listeners,a)}}function bM(a,b){V(a.component,b)}function bN(a,b){W(a.component,b)}function bO(a){return`<${aR.call(a.tagName)}>`}function bP(b,a){if(!aA(a)&&aS(a.wcStack)){let c=function(c){let b=[],a=c;for(;!aT(a);)aH.call(b,bO(a)),a=a.owner;return b.reverse().join("\n ")}(b);t(a,"wcStack",{get:()=>c})}}function bQ(b){let a=b();return(null==a?void 0:a.__esModule)?a.default:a}function bR(a){return H(a)&&F.call(a,"__circular__")}let z="undefined"!=typeof HTMLElement?HTMLElement:function(){},bS=z.prototype;function g(a){return`Using the \`${a}\` 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.`}r(b(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:g("offsetHeight")},offsetLeft:{readOnly:!0,error:g("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:g("offsetTop")},offsetWidth:{readOnly:!0,error:g("offsetWidth")},role:{attribute:"role"}});let bT=null,bU;function bV(a,b){bT=null,bU=void 0}let j=b(null);v.call(u(w),a=>{let b=a$(bS,a);aS(b)||(j[a]=b)}),v.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title",],a=>{let b=a$(bS,a);aS(b)||(j[a]=b)});let{isArray:bW}=Array,{prototype:bX,getPrototypeOf:bY,create:bZ,defineProperty:b$,isExtensible:b_,getOwnPropertyDescriptor:b0,getOwnPropertyNames:b1,getOwnPropertySymbols:b2,preventExtensions:b3,hasOwnProperty:b4}=Object,{push:b5,concat:b6}=Array.prototype;function b7(a){return void 0===a}function b8(a){return"function"==typeof a}let b9=new WeakMap;function ca(a,b){b9.set(a,b)}let cb=a=>b9.get(a)||a;class A{constructor(a,b){this.originalTarget=b,this.membrane=a}wrapDescriptor(a){if(b4.call(a,"value"))a.value=this.wrapValue(a.value);else{let{set:b,get:c}=a;b7(c)||(a.get=this.wrapGetter(c)),b7(b)||(a.set=this.wrapSetter(b))}return a}copyDescriptorIntoShadowTarget(c,a){let{originalTarget:d}=this,b=b0(d,a);if(!b7(b)){let e=this.wrapDescriptor(b);b$(c,a,e)}}lockShadowTarget(a){let{originalTarget:c}=this,d=b6.call(b1(c),b2(c));d.forEach(b=>{this.copyDescriptorIntoShadowTarget(a,b)});let{membrane:{tagPropertyKey:b}}=this;b7(b)||b4.call(a,b)||b$(a,b,bZ(null)),b3(a)}apply(a,b,c){}construct(a,b,c){}get(e,a){let{originalTarget:b,membrane:{valueObserved:c}}=this,d=b[a];return c(b,a),this.wrapValue(d)}has(e,a){let{originalTarget:b,membrane:{tagPropertyKey:c,valueObserved:d}}=this;return d(b,a),a in b||a===c}ownKeys(d){let{originalTarget:a,membrane:{tagPropertyKey:b}}=this,c=b7(b)||b4.call(a,b)?[]:[b];return b5.apply(c,b1(a)),b5.apply(c,b2(a)),c}isExtensible(a){let{originalTarget:b}=this;return!!b_(a)&&(!!b_(b)||(this.lockShadowTarget(a),!1))}getPrototypeOf(b){let{originalTarget:a}=this;return bY(a)}getOwnPropertyDescriptor(c,b){let{originalTarget:d,membrane:{valueObserved:f,tagPropertyKey:e}}=this;f(d,b);let a=b0(d,b);if(b7(a)){if(b!==e)return;return b$(c,e,a={value:void 0,writable:!1,configurable:!1,enumerable:!1}),a}return!1===a.configurable&&this.copyDescriptorIntoShadowTarget(c,b),this.wrapDescriptor(a)}}let cc=new WeakMap,cd=new WeakMap,ce=new WeakMap,cf=new WeakMap;class cg extends A{wrapValue(a){return this.membrane.getProxy(a)}wrapGetter(a){let c=cc.get(a);if(!b7(c))return c;let d=this,b=function(){return d.wrapValue(a.call(cb(this)))};return cc.set(a,b),ce.set(b,a),b}wrapSetter(a){let c=cd.get(a);if(!b7(c))return c;let b=function(b){a.call(cb(this),cb(b))};return cd.set(a,b),cf.set(b,a),b}unwrapDescriptor(a){if(b4.call(a,"value"))a.value=cb(a.value);else{let{set:b,get:c}=a;b7(c)||(a.get=this.unwrapGetter(c)),b7(b)||(a.set=this.unwrapSetter(b))}return a}unwrapGetter(a){let c=ce.get(a);if(!b7(c))return c;let d=this,b=function(){return cb(a.call(d.wrapValue(this)))};return cc.set(b,a),ce.set(a,b),b}unwrapSetter(a){let c=cf.get(a);if(!b7(c))return c;let d=this,b=function(b){a.call(d.wrapValue(this),d.wrapValue(b))};return cd.set(b,a),cf.set(a,b),b}set(f,a,c){let{originalTarget:b,membrane:{valueMutated:d}}=this,e=b[a];return e!==c?(b[a]=c,d(b,a)):"length"===a&&bW(b)&&d(b,a),!0}deleteProperty(d,a){let{originalTarget:b,membrane:{valueMutated:c}}=this;return delete b[a],c(b,a),!0}setPrototypeOf(a,b){}preventExtensions(a){if(b_(a)){let{originalTarget:b}=this;if(b3(b),b_(b))return!1;this.lockShadowTarget(a)}return!0}defineProperty(d,a,c){let{originalTarget:b,membrane:{valueMutated:e,tagPropertyKey:f}}=this;return!(a!==f||b4.call(b,a))||(b$(b,a,this.unwrapDescriptor(c)),!1===c.configurable&&this.copyDescriptorIntoShadowTarget(d,a),e(b,a),!0)}}let ch=new WeakMap,ci=new WeakMap;class cj extends A{wrapValue(a){return this.membrane.getReadOnlyProxy(a)}wrapGetter(a){let b=ch.get(a);if(!b7(b))return b;let d=this,c=function(){return d.wrapValue(a.call(cb(this)))};return ch.set(a,c),c}wrapSetter(a){let b=ci.get(a);if(!b7(b))return b;let c=function(a){};return ci.set(a,c),c}set(a,b,c){return!1}deleteProperty(a,b){return!1}setPrototypeOf(a,b){}preventExtensions(a){return!1}defineProperty(a,b,c){return!1}}function ck(a){return bW(a)?[]:{}}let Y=Symbol.for("@@lockerLiveValue"),cl=new class{constructor(d={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;let{valueMutated:a,valueObserved:b,valueIsObservable:c,tagPropertyKey:e}=d;this.valueMutated=b8(a)?a:(a,b)=>{},this.valueObserved=b8(b)?b:(a,b)=>{},this.valueIsObservable=b8(c)?c:function(a){if(null===a)return!1;if("object"!=typeof a)return!1;if(bW(a))return!0;let b=bY(a);return b===bX||null===b||null===bY(b)},this.tagPropertyKey=e}getProxy(b){let a=cb(b);return this.valueIsObservable(a)?this.readOnlyObjectGraph.get(a)===b?b:this.getReactiveHandler(a):a}getReadOnlyProxy(a){return(a=cb(a),this.valueIsObservable(a))?this.getReadOnlyHandler(a):a}unwrapProxy(a){return cb(a)}getReactiveHandler(a){let b=this.reactiveObjectGraph.get(a);if(b7(b)){let c=new cg(this,a);ca(b=new Proxy(ck(a),c),a),this.reactiveObjectGraph.set(a,b)}return b}getReadOnlyHandler(a){let b=this.readOnlyObjectGraph.get(a);if(b7(b)){let c=new cj(this,a);ca(b=new Proxy(ck(a),c),a),this.readOnlyObjectGraph.set(a,b)}return b}}({valueObserved:W,valueMutated:V,tagPropertyKey:Y});function Z(f,a){let{get:b,set:c,enumerable:d,configurable:e}=a;if(!H(b))throw new TypeError;if(!H(c))throw new TypeError;return{enumerable:d,configurable:e,get(){let a=dY(this);if(!dy(a))return bN(a,f),b.call(a.elm)},set(b){let a=dY(this);return b!==a.cmpProps[f]&&(a.cmpProps[f]=b,bM(a,f)),c.call(a.elm,b)}}}let c=function(){if(aT(dx))throw new ReferenceError("Illegal constructor");let a=dx,{def:c,elm:b}=a,{bridge:d}=c;if(aB(b,d.prototype),a.component=this,1===arguments.length){let{callHook:e,setHook:f,getHook:g}=arguments[0];a.callHook=e,a.setHook=f,a.getHook=g}return this[Y]=void 0,dX(this,a),dX(b,a),1===a.renderMode?a.renderRoot=cm(a):a.renderRoot=b,this};function cm(a){let{elm:c,mode:d,shadowMode:e,def:{ctor:f}}=a,b=bm(c,{["$$lwc-synthetic-mode"]:1===e,delegatesFocus:Boolean(f.delegatesFocus),mode:d});return a.shadowRoot=b,dX(b,a),b}c.prototype={constructor:c,dispatchEvent(a){let{elm:b}=dY(this);return bv(b,a)},addEventListener(b,c,d){let a=dY(this),{elm:e}=a,f=dG(a,c);bt(e,b,f,d)},removeEventListener(b,c,d){let a=dY(this),{elm:e}=a,f=dG(a,c);bu(e,b,f,d)},hasAttribute(a){let{elm:b}=dY(this);return!aT(bq(b,a))},hasAttributeNS(a,b){let{elm:c}=dY(this);return!aT(bq(c,b,a))},removeAttribute(a){var b,c;let{elm:d}=dY(this);b=d,c=a,bT=b,bU=c,bs(d,a),bV()},removeAttributeNS(e,a){var b,c;let{elm:d}=dY(this);b=d,c=a,bT=b,bU=c,bs(d,a,e),bV()},getAttribute(a){let{elm:b}=dY(this);return bq(b,a)},getAttributeNS(a,b){let{elm:c}=dY(this);return bq(c,b,a)},setAttribute(a,e){var b,c;let f=dY(this),{elm:d}=f;b=d,c=a,bT=b,bU=c,br(d,a,e),bV()},setAttributeNS(e,a,f){var b,c;let g=dY(this),{elm:d}=g;b=d,c=a,bT=b,bU=c,br(d,a,f,e),bV()},getBoundingClientRect(){let a=dY(this),{elm:b}=a;return bx(b)},get isConnected(){let{elm:$}=dY(this);return S($)},get classList(){let _=dY(this),{elm:aa}=_;return R(aa)},get template(){let ab=dY(this);return ab.shadowRoot},get shadowRoot(){return null},render(){let a=dY(this);return a.def.template},toString(){let a=dY(this);return`[object ${a.def.name}]`}};let k=b(null);function cn(a){switch(a){case"children":return bC;case"childNodes":return bD;case"firstChild":return bE;case"firstElementChild":return bF;case"lastChild":return bG;case"lastElementChild":return bH}}for(let ac of["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild",])k[ac]={get(){let a=dY(this),{elm:b}=a;return cn(ac)(b)},configurable:!0,enumerable:!0};function co(a){switch(a){case"getElementsByClassName":return bB;case"getElementsByTagName":return bA;case"querySelector":return by;case"querySelectorAll":return bz}}for(let ad of["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll",])k[ad]={value(a){let b=dY(this),{elm:c}=b;return co(ad)(c,a)},configurable:!0,enumerable:!0,writable:!0};s(c.prototype,k);let l=b(null);for(let m in j)l[m]=Z(m,j[m]);function cp(a){return{get(){let b=dY(this);return bN(b,a),b.cmpFields[a]},set(c){let b=dY(this);c!==b.cmpFields[a]&&(b.cmpFields[a]=c,bM(b,a))},enumerable:!0,configurable:!0}}function cq(a){return{get(){let b=dY(this);if(!dy(b))return bN(b,a),b.cmpProps[a]},set(c){let b=dY(this);b.cmpProps[a]=c,bM(b,a)},enumerable:!0,configurable:!0}}s(c.prototype,l),t(c,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class cr extends X{constructor(a,b){super(()=>{aV(this.debouncing)&&(this.debouncing=!0,bd(()=>{if(aU(this.debouncing)){let{value:c}=this,{isDirty:d,component:e,idx:f}=a;b.call(e,c),this.debouncing=!1,aU(a.isDirty)&&aV(d)&&f>0&&dP(a)}}))}),this.debouncing=!1}reset(a){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=a)}}function cs(e,a){let{get:b,set:f,enumerable:c,configurable:d}=a;if(!H(b))throw new Error;return{get(){return b.call(this)},set(c){let b=dY(this);if(f){if(a9.ENABLE_REACTIVE_SETTER){let a=b.oar[e];aS(a)&&(a=b.oar[e]=new cr(b,f)),a.reset(c),a.observe(()=>{f.call(this,c)})}else f.call(this,c)}},enumerable:c,configurable:d}}function ct(a){return{get(){let b=dY(this);return bN(b,a),b.cmpFields[a]},set(d){let b=dY(this),c=cl.getProxy(d);c!==b.cmpFields[a]&&(b.cmpFields[a]=c,bM(b,a))},enumerable:!0,configurable:!0}}function cu(a){return{get(){let b=dY(this);return bN(b,a),b.cmpFields[a]},set(c){let b=dY(this);c!==b.cmpFields[a]&&(b.cmpFields[a]=c,bM(b,a))},enumerable:!0,configurable:!0}}let cv=new Map,cw={apiMethods:d,apiFields:d,apiFieldsConfig:d,wiredMethods:d,wiredFields:d,observedFields:d},ae=new Set;function B(){return[]}function af(b,c,d,a){return a}ae.add(B);let cx=b(null),cy=b(null);function cz(b){let a=cx[b];return aS(a)&&(a=cx[b]=function(){let a=dY(this),{getHook:c}=a;return c(a.component,b)}),a}function cA(b){let a=cy[b];return aS(a)&&(a=cy[b]=function(a){let c=dY(this),{setHook:d}=c;a=cl.getReadOnlyProxy(a),d(c.component,b,a)}),a}function cB(a){return function(){let b=dY(this),{callHook:c,component:d}=b,e=d[a];return c(b.component,e,aK.call(arguments))}}function ag(c,h,i){var l,m;let a;H(c)?a=class extends c{}:(aB(a=function(){throw new TypeError("Illegal constructor")},c),aB(a.prototype,c.prototype),t(a.prototype,"constructor",{writable:!0,configurable:!0,value:a}));let j=b(null),{attributeChangedCallback:n}=c.prototype,{observedAttributes:q=[]}=c,e=b(null);for(let f=0,o=h.length;f<o;f+=1){let d=h[f];j[a5(d)]=d,e[d]={get:cz(d),set:cA(d),enumerable:!0,configurable:!0}}for(let g=0,p=i.length;g<p;g+=1){let k=i[g];e[k]={value:cB(k),writable:!0,configurable:!0}}return e.attributeChangedCallback={value:(l=j,m=n,function(a,f,b){var c,d;if(f===b)return;let e=l[a];if(aS(e)){aS(m)||m.apply(this,arguments);return}c=this,d=a,(c!==bT||d!==bU)&&(this[e]=b)})},t(a,"observedAttributes",{get:()=>[...q,...u(j)]}),s(a.prototype,e),a}let n=ag(z,E(j),[]);h(n),e(n.prototype);let cC=new WeakMap;function ah(b){if(!H(b))return!1;if(b.prototype instanceof c)return!0;let a=b;do{if(bR(a)){let d=bQ(a);if(d===a)return!0;a=d}if(a===c)return!0}while(!aT(a)&&(a=az(a)))return!1}function cD(a){let d=cC.get(a);if(aS(d)){if(bR(a)){let e=bQ(a);return d=cD(e),cC.set(a,d),d}if(!ah(a))throw new TypeError(`${a} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);d=function(d){let{shadowSupportMode:j,renderMode:k}=d,t=function(b){let a=cv.get(b);return aS(a)?cw:a}(d),{apiFields:l,apiFieldsConfig:v,apiMethods:m,wiredFields:w,wiredMethods:x,observedFields:y}=t,n=d.prototype,{connectedCallback:e,disconnectedCallback:f,renderedCallback:g,errorCallback:h,render:i}=n,o=function(b){let a=az(b);if(aT(a))throw new ReferenceError(`Invalid prototype chain for ${b.name}, you must extend LightningElement.`);if(bR(a)){let d=bQ(a);a=d===a?c:d}return a}(d),a=o!==c?cD(o):cE,z=ag(a.bridge,u(l),u(m)),A=r(b(null),a.props,l),B=r(b(null),a.propsConfig,v),C=r(b(null),a.methods,m),D=r(b(null),a.wire,w,x);e=e||a.connectedCallback,f=f||a.disconnectedCallback,g=g||a.renderedCallback,h=h||a.errorCallback,i=i||a.render;let p=a.shadowSupportMode;aS(j)||(p=j);let q=a.renderMode;aS(k)||(q="light"===k?0:1);let E=dC(d)||a.template,F=d.name||a.name;return s(n,y),{ctor:d,name:F,wire:D,props:A,propsConfig:B,methods:C,bridge:z,template:E,renderMode:q,shadowSupportMode:p,connectedCallback:e,disconnectedCallback:f,renderedCallback:g,errorCallback:h,render:i}}(a),cC.set(a,d)}return d}let cE={ctor:c,name:c.name,props:l,propsConfig:d,methods:d,renderMode:1,shadowSupportMode:"reset",wire:d,bridge:n,template:B,render:c.prototype.render};function cF(a){let b=U(a=a.toLowerCase());return aS(b)&&T(a,b=class extends P{constructor(a){super(),H(a)&&a(this)}}),b}function cG(b){let{type:a}=b;return 2===a||3===a}function cH(a,b){return a.key===b.key&&a.sel===b.sel}function cI(b,a){return"input"===b&&("value"===a||"checked"===a)}function cJ(c,e){let{props:b}=e.data;if(aS(b))return;let f=aT(c)?d:c.data.props;if(f===b)return;let i=aT(c),{elm:g,sel:j}=e;for(let a in b){let h=b[a];(i||h!==(cI(j,a)?bn(g,a):f[a]))&&bo(g,a,h)}}let cK=b(null);function cL(a){if(null==a)return d;let e=cK[a=aX(a)?a:a+""];if(e)return e;e=b(null);let f=0,c,g=a.length;for(c=0;c<g;c++)32===aO.call(a,c)&&(c>f&&(e[aQ.call(a,f,c)]=!0),f=c+1);return c>f&&(e[aQ.call(a,f,c)]=!0),cK[a]=e,e}function cM(c){let{elm:d,data:{on:a}}=c;if(!aS(a))for(let b in a){let e=a[b];bt(d,b,e)}}function cN(b,a,c){db(a)?dd(b,a,c):de(b,a,c)}function cO(b,a){if(b!==a)switch(a.type){case 0:cQ(b,a);break;case 1:cS(b,a);break;case 2:cV(b,a);break;case 3:cX(b,a)}}function cP(a,b,c){switch(a.type){case 0:cR(a,b,c);break;case 1:cT(a,b,c);break;case 2:cU(a,b,c);break;case 3:cW(a,b,c)}}function cQ(b,a){a.elm=b.elm,a.text!==b.text&&c2(a)}function cR(a,c,d){let{owner:e}=a,b=a.elm=bj(a.text);c1(b,e),c3(b,c,d)}function cS(b,a){a.elm=b.elm,a.text!==b.text&&c2(a)}function cT(a,c,d){let{owner:e}=a,b=a.elm=bk(a.text);c1(b,e),c3(b,c,d)}function cU(a,c,d){let{sel:e,owner:f,data:{svg:g}}=a,h=aU(g)?"http://www.w3.org/2000/svg":void 0,b=bi(e,h);c1(b,f),c6(b,a),a.elm=b,c5(null,a),c3(b,c,d),cY(a.children,b,null)}function cV(a,b){let c=b.elm=a.elm;c5(a,b),cN(a.children,b.children,c)}function cW(a,e,f){let{sel:g,owner:h}=a,d=cF(g),b,c=new d(c=>{b=c8(c,a)});if(c1(c,h),a.elm=c,a.vm=b,b)c7(a,b);else if(a.ctor!==d)throw new TypeError("Incorrect Component Constructor");c5(null,a),c3(c,e,f),b&&d3(b),cY(a.children,c,null),b&&dS(b)}function cX(b,a){let d=a.elm=b.elm,c=a.vm=b.vm;c5(b,a),aS(c)||c7(a,c),cN(b.children,a.children,d),aS(c)||dP(c)}function cY(b,d,e,a=0,f=b.length){for(;a<f;++a){var g;let c=b[a];null!=(g=c)&&cP(c,d,e)}}function cZ(a,d,e=!1){let{type:f,elm:b}=a;switch(e&&c4(b,d),f){case 2:c$(a.children,b);break;case 3:{let{vm:c}=a;aS(c)||dU(c)}}}function c$(b,d,e=!1,a=0,f=b.length){for(;a<f;++a){var g;let c=b[a];null!=(g=c)&&cZ(c,d,e)}}function c_(a,b){a.$shadowToken$=b}function c0(c,d){let{cmpTemplate:a,context:e}=d,b=null==a?void 0:a.stylesheetToken;!aS(b)&&e.hasScopedStyles&&R(c).add(b)}function c1(a,b){let{renderRoot:c,renderMode:d,shadowMode:e}=b;O&&(1===e||0===d)&&(a[a1]=c[a1])}function c2(a){let{elm:b,text:c}=a;bp(b,c)}function c3(a,b,c){bg(a,b,c)}function c4(a,b){bh(a,b)}function c5(b,a){aT(b)&&(cM(a),function(b){let{elm:c,data:{classMap:a}}=b;if(aS(a))return;let d=R(c);for(let e in a)d.add(e)}(a),function(c){let{elm:d,data:{styleDecls:a}}=c;if(!aS(a))for(let b=0;b<a.length;b++){let[e,f,g]=a[b];bw(d,e,f,g)}}(a)),function(b,h){let{elm:i,data:{className:c}}=h,d=aT(b)?void 0:b.data.className;if(d===c)return;let e=R(i),f=cL(c),g=cL(d),a;for(a in g)aS(f[a])&&e.remove(a);for(a in f)aS(g[a])&&e.add(a)}(b,a),function(b,d){let{elm:c,data:{style:a}}=d,e=aT(b)?void 0:b.data.style;e!==a&&(aX(a)&&""!==a?br(c,"style",a):bs(c,"style"))}(b,a),function(f,g){let{attrs:e}=g.data;if(aS(e))return;let h=aT(f)?d:f.data.attrs;if(h===e)return;let{elm:c}=g;for(let a in e){let b=e[a],k=h[a];if(k!==b){var i,j;i=c,j=a,bT=i,bU=j,58===aO.call(a,3)?br(c,a,b,"http://www.w3.org/XML/1998/namespace"):58===aO.call(a,5)?br(c,a,b,"http://www.w3.org/1999/xlink"):aT(b)||aS(b)?bs(c,a):br(c,a,b),bV()}}}(b,a),cJ(b,a)}function c6(a,d){let{owner:b}=d;if(c0(a,b),1===b.shadowMode){let{data:{context:c}}=d,{stylesheetToken:e}=b.context;if(!aS(c)&&!aS(c.lwc)&&"manual"===c.lwc.dom){var f;a.$domManual$=!0}aS(e)||c_(a,e)}}function c7(a,b){let c=a.aChildren||a.children;b.aChildren=c;let{renderMode:d,shadowMode:e}=b;(1===e||0===d)&&(c9(b,c),a.aChildren=c,a.children=bb)}function c8(a,e){let c=dZ(a);if(!aS(c))return c;let{sel:f,mode:g,ctor:h,owner:b}=e;if(c0(a,b),1===b.shadowMode){let{stylesheetToken:d}=b.context;aS(d)||c_(a,d)}return dV(a,h,{mode:g,owner:b,tagName:f})}function c9(c,m){var g;let{cmpSlots:h}=c,a=c.cmpSlots=b(null);for(let i=0,n=m.length;i<n;i+=1){let e=m[i];if(aT(e))continue;let j="";cG(e)&&(j=(null===(g=e.data.attrs)|| void 0===g?void 0:g.slot)||"");let o=a[j]=a[j]||[];aH.call(o,e)}if(aV(c.isDirty)){let k=u(h);if(k.length!==u(a).length){dE(c);return}for(let l=0,p=k.length;l<p;l+=1){let d=k[l];if(aS(a[d])||h[d].length!==a[d].length){dE(c);return}let q=h[d],r=a[d];for(let f=0,s=a[d].length;f<s;f+=1)if(q[f]!==r[f]){dE(c);return}}}}let da=new WeakMap;function db(a){return da.has(a)}function dc(e,f,g){let b={};for(let a=f;a<=g;++a){var h;let c=e[a];if(null!=c){let{key:d}=c;void 0!==d&&(b[d]=a)}}return b}function dd(b,c,k){var s,t,u,v,w,x,y;let g=0,h=0,e=b.length-1,d=b[0],f=b[e],p=c.length-1,i=p,a=c[0],j=c[i],n,o,l,q=!1;for(;g<=e&&h<=i;)null!=d?null!=f?null!=a?null!=j?cH(d,a)?(cO(d,a),d=b[++g],a=c[++h]):cH(f,j)?(cO(f,j),f=b[--e],j=c[--i]):cH(d,j)?(cO(d,j),c3(d.elm,k,bl(f.elm)),d=b[++g],j=c[--i]):cH(f,a)?(cO(f,a),c3(a.elm,k,d.elm),f=b[--e],a=c[++h]):(void 0===n&&(n=dc(b,g,e)),aS(o=n[a.key]))?(cP(a,k,d.elm),a=c[++h]):(null!=(l=b[o])&&(l.sel!==a.sel?cP(a,k,d.elm):(cO(l,a),q||(q=!0,b=[...b]),b[o]=void 0,c3(l.elm,k,d.elm))),a=c[++h]):j=c[--i]:a=c[++h]:f=b[--e]:d=b[++g];if(g<=e||h<=i){if(g>e){let r=i,m;do m=c[++r];while(null==m&&r<p)cY(c,k,null!=m?m.elm:null,h,i+1)}else c$(b,k,!0,g,e+1)}}function de(e,f,b){let i=e.length,h=f.length;if(0===i){cY(f,b,null);return}if(0===h){c$(e,b,!0);return}let g=null;for(let c=h-1;c>=0;c-=1){let d=e[c],a=f[c];if(a!==d){var j,k,l;null!=d?null!=a?(cO(d,a),g=a.elm):cZ(d,b,!0):null!=a&&(cP(a,b,g),g=a.elm)}}}let df=Symbol.iterator;function ai(b,a,c=bb){let d=dw,e,{key:f}=a;return{type:2,sel:b,data:a,children:c,elm:e,key:f,owner:d}}function aj(d,e,a,f=bb){var b;let g=dw,{key:h}=a,i,j,k,c={type:3,sel:d,data:a,children:f,elm:i,key:h,ctor:e,owner:g,mode:"open",aChildren:j,vm:k};return b=c,aH.call(dw.velements,b),c}let dg=new Map,dh=0;function di(a){var b;return b=a,da.set(b,1),a}let dj=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")},dk=h({s:function(c,d,a,b){aS(b)||aS(b[c])||0===b[c].length||(a=b[c]);let e=dw,{renderMode:f,shadowMode:g}=e;return 0===f?(di(a),a):(1===g&&di(a),ai("slot",d,a))},h:ai,c:aj,i:function(b,i){let a=[];if(di(a),aS(b)||null===b)return a;let g=b[df](),c=g.next(),d=0,{value:h,done:e}=c;for(;!1===e;){e=(c=g.next()).done;let f=i(h,d,0===d,!0===e);G(f)?aH.apply(a,f):aH.call(a,f),d+=1,h=c.value}return a},f:function(d){let e=d.length,a=[];di(a);for(let b=0;b<e;b+=1){let c=d[b];G(c)?aH.apply(a,c):aH.call(a,c)}return a},t:function(a){let b,c,d;return{type:0,sel:b,text:a,elm:d,key:c,owner:dw}},d:function(a){return null==a?"":String(a)},b:function(b){let a=dw;if(aT(a))throw new Error;let c=a;return function(a){dA(c,b,c.component,a)}},k:function(b,a){switch(typeof a){case"number":case"string":return b+":"+a}},co:function(a){let b,c,d;return{type:1,sel:b,text:a,elm:d,key:c,owner:dw}},dc:function(c,a,d,e=bb){if(null==a)return null;if(!ah(a))throw new Error(`Invalid LWC Constructor ${aZ(a)} for custom element <${c}>.`);let b=dg.get(a);aS(b)&&(b=dh++,dg.set(a,b));let f=Object.assign(Object.assign({},d),{key:`dc:${b}:${d.key}`});return aj(c,a,f,e)},ti:function(a){let b=a>0&&!(aU(a)||aV(a));return b?0:a},gid:function(a){let b=dw;if(aS(a)||""===a)return a;if(aT(a))return null;let{idx:d,shadowMode:c}=b;return 1===c?aP.call(a,/\S+/g,a=>`${a}-${d}`):a},fid:function(a){let b=dw;if(aS(a)||""===a)return a;if(aT(a))return null;let{idx:c,shadowMode:d}=b;return 1===d&&/^#/.test(a)?`${a}-${c}`:a},shc:function(a){return dj(a)}});function dl(a){return`${a}-host`}function dm(g,h,a){let d=[],b;for(let e=0;e<g.length;e++){let c=g[e];if(G(c))aH.apply(d,dm(c,h,a));else{let i=c[a2],j=i||1===a.shadowMode&&1===a.renderMode?h:void 0,k=0===a.renderMode?!i:0===a.shadowMode,f;1===a.renderMode?f=0===a.shadowMode:(aS(b)&&(b=dn(a)),f=aT(b)||0===b.shadowMode),aH.call(d,c(j,k,f))}}return d}function dn(b){let a=b;for(;!aT(a);){if(1===a.renderMode)return a;a=a.owner}return a}let dp=!1,dq=I,ak={enableProfiler(){dp=!0},disableProfiler(){dp=!1},attachDispatcher(a){dq=a,this.enableProfiler()},detachDispatcher(){let a=dq;return dq=I,this.disableProfiler(),a}};function dr(b,a){dp&&dq(b,0,a.tagName,a.idx,a.renderMode,a.shadowMode)}function ds(b,a){dp&&dq(b,1,a.tagName,a.idx,a.renderMode,a.shadowMode)}function dt(b,a){dp&&dq(b,0,null==a?void 0:a.tagName,null==a?void 0:a.idx,null==a?void 0:a.renderMode,null==a?void 0:a.shadowMode)}function du(b,a){dp&&dq(b,1,null==a?void 0:a.tagName,null==a?void 0:a.idx,null==a?void 0:a.renderMode,null==a?void 0:a.shadowMode)}let dv=!1,dw=null,dx=null;function dy(a){return dx===a}function dz(a,c,d){let{component:e,callHook:f,owner:b}=a;eb(a,b,I,()=>{f(e,c,d)},I)}function dA(a,c,d,e){let{callHook:f,owner:b}=a;eb(a,b,I,()=>{f(d,c,[e])},I)}let dB=new Map;function dC(a){return dB.get(a)}function dD(a){a.tro.reset();let c=function(a){let{def:{render:f},callHook:g,component:h,owner:c}=a,i=dw,d,e=!1;return eb(a,c,()=>{var b;dw=a},()=>{a.tro.observe(()=>{d=g(h,f),e=!0})},()=>{var a;dw=i}),e?function(a,d){let e=dv,f=dw,c=[];return eb(a,a.owner,()=>{dw=a,dr(1,a)},()=>{let{component:f,context:g,cmpSlots:h,cmpTemplate:i,tro:e}=a;e.observe(()=>{if(d!==i){var e;if(aT(i)||d9(a),e=d,!ae.has(e))throw new TypeError(`Invalid template returned by the render() method on ${a}. It must return an imported template (e.g.: \`import html from "./${a.def.name}.html"\`), instead, it has returned: ${aZ(d)}.`);a.cmpTemplate=d,g.tplCache=b(null),g.hasScopedStyles=function(c){let{stylesheets:a}=c;if(!aS(a)){for(let b=0;b<a.length;b++)if(aU(a[b][a2]))return!0}return!1}(d),function(h,i){let{elm:c,context:a,renderMode:j,shadowMode:k}=h,{stylesheets:e,stylesheetToken:l}=i,{hasScopedStyles:m}=a,b,f,g,{stylesheetToken:d,hasTokenInClass:n,hasTokenInAttribute:o}=a;!aS(d)&&(n&&R(c).remove(dl(d)),o&&bs(c,dl(d))),aS(e)||0===e.length||(b=l),aS(b)||(m&&(R(c).add(dl(b)),f=!0),1!==j||1!==k||(br(c,dl(b),""),g=!0)),a.stylesheetToken=b,a.hasTokenInClass=f,a.hasTokenInAttribute=g}(a,d);let j=function(c,d){let{stylesheets:a,stylesheetToken:e}=d,b=[];return aS(a)||0===a.length||(b=dm(a,e,c)),b}(a,d);g.styleVNode=0===j.length?null:function(d,a){let{renderMode:g,shadowMode:h}=d;if(1===g&&1===h)for(let c=0;c<a.length;c++)bI(a[c]);else if(M||Q()){var e;let i=aF.call(a,"\n");return e=i,dk.h("style",{key:"style",attrs:{type:"text/css"}},[dk.t(e)])}else{let f=function(b){let a=dn(b);return aT(a)||1!==a.shadowMode?a:null}(d),j=aT(f);for(let b=0;b<a.length;b++)j?bI(a[b]):bJ(a[b],f.shadowRoot)}return null}(a,j)}a.velements=[],dv=!0,c=d.call(void 0,dk,f,h,g.tplCache);let{styleVNode:k}=g;aT(k)||aM.call(c,k)})},()=>{dv=e,dw=f,ds(1,a)}),c}(a,d):[]}(a);return a.isDirty=!1,a.isScheduled=!1,c}function dE(a){a.isDirty=!0}let dF=new WeakMap;function dG(c,b){if(!H(b))throw new TypeError;let a=dF.get(b);return aS(a)&&(a=function(a){dA(c,b,void 0,a)},dF.set(b,a)),a}let dH=b(null),dI=["rendered","connected","disconnected"];function dJ(c,b){let{component:d,def:e,context:f}=c;for(let a=0,g=b.length;a<g;++a)b[a].call(void 0,d,{},e,f)}let dK=0,dL=new WeakMap;function dM(a,b,c=[]){return b.apply(a,c)}function dN(a,b,c){a[b]=c}function dO(a,b){return a[b]}function dP(a){d$(a)}function dQ(b){let a=dY(b);dt(7,a),1===a.state&&dR(b),d3(a),d$(a),du(7,a)}function dR(a){let b=dY(a);dT(b)}function dS(a){d$(a)}function dT(a){let{state:c}=a;if(2!==c){let{oar:b,tro:d}=a;for(let e in d.reset(),b)b[e].reset();d5(a),d6(a),d7(a)}}function dU(a){dT(a)}function dV(g,h,i){var f,j;let{mode:k,owner:a,tagName:l}=i,e=cD(h),c={elm:g,def:e,idx:dK++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:k,owner:a,children:bb,aChildren:bb,velements:bb,cmpProps:b(null),cmpFields:b(null),cmpSlots:b(null),oar:b(null),cmpTemplate:null,renderMode:e.renderMode,shadowMode:dW(e,a),nearestShadowMode:(null==a?void 0:a.shadowRoot)?a.shadowMode:null!==(f=null==a?void 0:a.nearestShadowMode)&& void 0!==f?f:null,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:d,wiredConnecting:bb,wiredDisconnecting:bb},tro:null,component:null,shadowRoot:null,renderRoot:null,callHook:dM,setHook:dN,getHook:dO};return c.tro=(j=c,new X(()=>{let{isDirty:a}=j;aV(a)&&(dE(j),ea(j))})),!function(a,c){let d=dx,b;dr(0,a),dx=a;try{let e=new c;if(dx.component!==e)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(f){b=Object(f)}finally{if(ds(0,a),dx=d,!aS(b))throw bP(a,b),b}}(c,e.ctor),d4(c)&&ej(c),c}function dW(b,c){var a;return O?0===b.renderMode?0:N&&a9.ENABLE_MIXED_SHADOW_MODE?"any"===b.shadowSupportMode?0:null!==(a=null==c?void 0:c.nearestShadowMode)&& void 0!==a?a:1:1:0}function dX(a,b){dL.set(a,b)}function dY(a){let b=dL.get(a);return b}function dZ(a){let b=dL.get(a);return b}function d$(a){if(aU(a.isDirty)){let b=dD(a);d_(a,b)}}function d_(a,b){let{renderRoot:d,children:c}=a;a.children=b,(b.length>0||c.length>0)&&c!==b&&eb(a,a,()=>{dr(2,a)},()=>{cN(c,b,d)},()=>{ds(2,a)}),1===a.state&&d0(a)}function d0(a){let{def:{renderedCallback:b}}=a;if(aU(M))return;let{rendered:c}=dH;c&&dJ(a,c),aS(b)||(dr(4,a),dz(a,b),ds(4,a))}let d1=[];function d2(){dt(8);let b=d1.sort((a,b)=>a.idx-b.idx);d1=[];for(let a=0,c=b.length;a<c;a+=1){let d=b[a];try{d$(d)}catch(e){throw a+1<c&&(0===d1.length&&bd(d2),aM.apply(d1,aK.call(b,a+1))),du(8),e}}du(8)}function d3(a){let{state:d}=a;if(1===d)return;a.state=1;let{connected:b}=dH;b&&dJ(a,b),d4(a)&&ek(a);let{connectedCallback:c}=a.def;aS(c)||(dr(3,a),dz(a,c),ds(3,a))}function d4(a){return E(a.def.wire).length>0}function d5(a){aV(a.isDirty)&&(a.isDirty=!0),a.state=2;let{disconnected:b}=dH;b&&dJ(a,b),d4(a)&&el(a);let{disconnectedCallback:c}=a.def;aS(c)||(dr(5,a),dz(a,c),ds(5,a))}function d6(e){let{velements:b}=e;for(let a=b.length-1;a>=0;a-=1){let{elm:c}=b[a];if(!aS(c)){let d=dZ(c);aS(d)||dT(d)}}}function d7(a){let{aChildren:b}=a;d8(b)}function d8(c){for(let b=0,d=c.length;b<d;b+=1){let a=c[b];if(!aT(a)&&!aS(a.elm))switch(a.type){case 2:d8(a.children);break;case 3:{let e=dY(a.elm);dT(e)}}}}function d9(a){let{children:d,renderRoot:e}=a;for(let b=0,f=d.length;b<f;b++){let c=d[b];aT(c)||aS(c.elm)||bh(c.elm,e)}a.children=bb,d6(a),a.velements=bb}function ea(a){aU(M)||aU(a.isScheduled)||(a.isScheduled=!0,0===d1.length&&bd(d2),aH.call(d1,a))}function eb(b,d,e,f,g){let a;e();try{f()}catch(h){a=Object(h)}finally{if(g(),!aS(a)){bP(b,a);let c=aT(d)?void 0:function(b){let a=b;for(;!aT(a);){if(!aS(a.def.errorCallback))return a;a=a.owner}}(d);if(aS(c))throw a;d9(b),dr(6,b);let i=c.def.errorCallback;dz(c,i,[a,a.wcStack]),ds(6,b)}}}let ec=new Map;class ed extends CustomEvent{constructor(a,{setNewContext:b,setDisconnectedCallback:c}){super(a,{bubbles:!0,composed:!0}),s(this,{setNewContext:{value:b},setDisconnectedCallback:{value:c}})}}function ee(a,e,b){var f,g;let{method:c,adapter:h,configCallback:i,dynamic:j}=b,d=aS(c)?function(a,b){let{cmpFields:c}=a;return d=>{d!==a.cmpFields[b]&&(c[b]=d,bM(a,b))}}(a,e):(f=a,g=c,a=>{eb(f,f.owner,I,()=>{g.call(f.component,a)},I)}),m,k;t(d,"$$DeprecatedWiredElementHostKey$$",{value:a.elm}),t(d,"$$DeprecatedWiredParamsMetaKey$$",{value:j}),eb(a,a,I,()=>{k=new h(d)},I);let{computeConfigAndUpdate:l,ro:n}=function(c,d,e){let f=!1,a=new X(()=>{!1===f&&(f=!0,Promise.resolve().then(()=>{f=!1,a.reset(),b()}))}),b=()=>{let b;a.observe(()=>b=d(c)),e(b)};return{computeConfigAndUpdate:b,ro:a}}(a.component,i,b=>{eb(a,a,I,()=>{k.update(b,m)},I)});return aS(h.contextSchema)||function(a,b,f){let{adapter:c}=b,d=eg(c);if(aS(d))return;let{elm:g,context:{wiredConnecting:e,wiredDisconnecting:h}}=a;aH.call(e,()=>{let a=new ed(d,{setNewContext(a){f(a)},setDisconnectedCallback(a){aH.call(h,a)}});bv(g,a)})}(a,b,b=>{m!==b&&(m=b,1===a.state&&l())}),{connector:k,computeConfigAndUpdate:l,resetConfigWatcher:()=>n.reset()}}let ef=new Map;function eg(a){return ef.get(a)}function eh(b,a,c,d){a.adapter&&(a=a.adapter);let e=b.value;ec.set(b,{adapter:a,method:e,configCallback:c,dynamic:d})}function ei(b,a,c,d){a.adapter&&(a=a.adapter),ec.set(b,{adapter:a,configCallback:c,dynamic:d})}function ej(b){let{context:c,def:{wire:d}}=b,f=c.wiredConnecting=[],g=c.wiredDisconnecting=[];for(let e in d){let h=d[e],a=ec.get(h);if(!aS(a)){let{connector:i,computeConfigAndUpdate:j,resetConfigWatcher:k}=ee(b,e,a),l=a.dynamic.length>0;aH.call(f,()=>{if(i.connect(),!a9.ENABLE_WIRE_SYNC_EMIT&&l){Promise.resolve().then(j);return}j()}),aH.call(g,()=>{i.disconnect(),k()})}}}function ek(c){let{wiredConnecting:b}=c.context;for(let a=0,d=b.length;a<d;a+=1)b[a]()}function el(a){let{wiredDisconnecting:b}=a.context;eb(a,a,I,()=>{for(let a=0,c=b.length;a<c;a+=1)b[a]()},I)}let em=!1;function en(a){let b=dD(a);a.children=b;let c=a.renderRoot;et(bE(c),b,c),d0(a)}function eo(c,a){let b;switch(a.type){case 0:b=ep(c,a);break;case 1:b=eq(c,a);break;case 2:b=er(c,a);break;case 3:b=es(c,a)}return bl(b)}function ep(a,b){var c;return ew(b,a,3)?(bp(a,null!==(c=b.text)&& void 0!==c?c:null),b.elm=a,a):eu(a,b)}function eq(a,b){var c;return ew(b,a,8)?(bo(a,"nodeValue",null!==(c=b.text)&& void 0!==c?c:null),b.elm=a,a):eu(a,b)}function er(b,a){if(!ew(a,b,1)||!ex(a,b))return eu(b,a);a.elm=b;let{context:d}=a.data,e=Boolean(!aS(d)&&!aS(d.lwc)&&"manual"===d.lwc.dom);if(e){let{props:c}=a.data;aS(c)||aS(c.innerHTML)||bn(b,"innerHTML")===c.innerHTML&&(a.data=Object.assign(Object.assign({},a.data),{props:function(b,d){let c={};for(let a of Object.keys(b))a!==d&&(c[a]=b[a]);return c}(c,"innerHTML")}))}return ev(a),e||et(bE(b),a.children,b,a.owner),b}function es(b,a){if(!ew(a,b,1)||!ex(a,b))return eu(b,a);let{sel:d,mode:e,ctor:f,owner:g}=a,c=dV(b,f,{mode:e,owner:g,tagName:d});return a.elm=b,a.vm=c,c7(a,c),ev(a),d3(c),0!==c.renderMode&&et(bE(b),a.children,b),en(c),b}function et(g,e,f,i){let a=g,c=null;for(let d=0;d<e.length;d++){let b=e[d];aT(b)||(a?(a=eo(a,b),c=b.elm):(em=!0,cP(b,f,c),c=b.elm))}if(a){em=!0;do{let h=a;a=bl(a),c4(h,f)}while(a)}}function eu(a,b,d){em=!0;let c=bn(a,"parentNode");return cP(b,c,a),c4(a,c),b.elm}function ev(a){cM(a),cJ(null,a)}function ew(c,a,b){return bn(a,"nodeType")===b}function ex(a,b){if(a.sel.toLowerCase()!==bn(b,"tagName").toLowerCase())return!1;let c=ey(a,b),d=ez(a,b),e=eA(a,b);return c&&d&&e}function ey(b,c){let{data:{attrs:d={}}}=b,a=!0;for(let[e,f]of Object.entries(d)){let g=bq(c,e);String(f)!==g&&(a=!1)}return a}function ez(h,c){let{data:{className:d,classMap:b}}=h,a=!0;if(aS(d)||String(d)===bn(c,"className")){if(!aS(b)){let e=R(c),f="";for(let g in b)f+=" "+g,e.contains(g)||(a=!1);f.trim(),e.length>u(b).length&&(a=!1)}}else a=!1;return a}function eA(l,m){let{data:{style:e,styleDecls:b}}=l,f=bq(m,"style")||"",a=!0;if(aS(e)||e===f){if(!aS(b)){let g=function(e){let a={},f=e.split(be);for(let b of f)if(b){let[c,d]=b.split(bf);void 0!==c&& void 0!==d&&(a[c.trim()]=d.trim())}return a}(f),h=[];for(let c=0,n=b.length;c<n;c++){let[i,j,k]=b[c];h.push(`${i}: ${j+(k?" important!":"")}`);let d=g[i];aS(d)?a=!1:d.startsWith(j)?k&&!d.endsWith("!important")&&(a=!1):a=!1}u(g).length>b.length&&(a=!1),aF.call(h,";")}}else a=!1;return a}let eB=!1,eC=b(null),eD=document.head||document.body||document,al=H(CSSStyleSheet.prototype.replaceSync)&&G(document.adoptedStyleSheets),eE=al&&D(document.adoptedStyleSheets,"length").writable,eF=b(null),eG=b(null),eH=new WeakMap,o,p,q;if(function(){if("undefined"==typeof customElements)return!1;try{let b=HTMLElement;class a extends b{}return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),a),new a,!0}catch(c){return!1}}())o=customElements.get.bind(customElements),p=customElements.define.bind(customElements),q=HTMLElement;else{let eI=b(null),eJ=new WeakMap;p=function(a,b){if(a!==aR.call(a)||eI[a])throw new TypeError("Invalid Registration");eI[a]=b,eJ.set(b,a)},o=function(a){return eI[a]},(q=function d(){if(!(this instanceof d))throw new TypeError("Invalid Invocation");let{constructor:a}=this,b=eJ.get(a);if(!b)throw new TypeError("Invalid Construction");let c=document.createElement(b);return aB(c,a.prototype),c}).prototype=HTMLElement.prototype}let eK=!1;function am(){return eK}let an=f.$isNativeShadowRootDefined$,ao=F.call(Element.prototype,"$shadowToken$"),ap=q;function eL(a,b,c){let d=dV(a,b,{mode:"open",owner:null,tagName:a.tagName.toLowerCase()});for(let[e,f]of Object.entries(c))a[e]=f;return d}function aq(a,b,c={}){var f,g,h,i;if(!(a instanceof Element))throw new TypeError(`"hydrateComponent" expects a valid DOM element as the first parameter but instead received ${a}.`);if(!H(b))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${b}.`);if(!aW(c)||aT(c))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${c}.`);if(dZ(a)){console.warn('"hydrateComponent" expects an element that is not hydrated.',a);return}try{eK=!0;let d=eL(a,b,c);!function(a){if(em=!1,d3(a),en(a),em){var b,c;b="Hydration completed with errors.",c=a,function(b,d,c){let a=`[LWC ${b}]: ${d}`;aS(c)||(a=`${a}
2
+ ${function(a){let b=[],c="";for(;!aT(a.owner);)aH.call(b,c+bO(a)),a=a.owner,c+=" ";return aF.call(b,"\n")}(c)}`);try{throw new Error(a)}catch(e){console[b](e)}}("error",b,c)}}(d),eK=!1}catch(e){console.error("Recovering from error while hydrating: ",e),function(a,c){if(a.shadowRoot){let b=a.shadowRoot;for(;!aT(b.firstChild);)b.removeChild(b.firstChild)}if("light"===c.renderMode)for(;!aT(a.firstChild);)a.removeChild(a.firstChild)}(a,b),eL(a,b,c),eK=!1,dQ(a)}finally{eK=!1}}!function(a){bm=a}(function(a,b){return eK?a.shadowRoot:a.attachShadow(b)}),function(a){bk=a}(function(a){return document.createComment(a)}),function(a){bi=a}(function(a,b){return aS(b)?document.createElement(a):document.createElementNS(b,a)}),function(a){bj=a}(function(a){return document.createTextNode(a)}),T=p,function(a){bv=a}(function(a,b){return a.dispatchEvent(b)}),function(a){bq=a}(function(a,b,c){return aS(c)?a.getAttribute(b):a.getAttributeNS(c,b)}),function(a){bx=a}(function(a){return a.getBoundingClientRect()}),function(a){bD=a}(function(a){return a.childNodes}),function(a){bC=a}(function(a){return a.children}),function(a){R=a}(function(a){return a.classList}),U=o,function(a){bB=a}(function(a,b){return a.getElementsByClassName(b)}),function(a){bA=a}(function(a,b){return a.getElementsByTagName(b)}),function(a){bE=a}(function(a){return a.firstChild}),function(a){bF=a}(function(a){return a.firstElementChild}),function(a){bG=a}(function(a){return a.lastChild}),function(a){bH=a}(function(a){return a.lastElementChild}),function(a){bn=a}(function(a,b){return a[b]}),P=ap,function(a){bg=a}(function(a,b,c){b.insertBefore(a,c)}),function(a){bI=a}(function(a){if(!aS(eC[a]))return;eC[a]=!0;let b=document.createElement("style");b.type="text/css",b.textContent=a,eD.appendChild(b)}),function(a){bJ=a}(function(a,c){al?function(b,d){let a=eG[b];aS(a)&&((a=new CSSStyleSheet).replaceSync(b),eG[b]=a);let{adoptedStyleSheets:c}=d;c.includes(a)||(eE?c.push(a):d.adoptedStyleSheets=[...c,a])}(a,c):function(c,e){let d=eH.get(e);if(aS(d)&&(d=b(null),eH.set(e,d)),d[c])return;d[c]=!0;let a=eF[c];aS(a)?((a=document.createElement("style")).type="text/css",a.textContent=c,eF[c]=a):a=a.cloneNode(!0),e.appendChild(a)}(a,c)}),function(a){S=a}(function(a){return a.isConnected}),Q=am,N=an,O=ao,function(a){bl=a}(function(a){return a.nextSibling}),function(a){by=a}(function(a,b){return a.querySelector(b)}),function(a){bz=a}(function(a,b){return a.querySelectorAll(b)}),function(a){bh=a}(function(a,b){b.removeChild(a)}),function(a){bs=a}(function(a,b,c){aS(c)?a.removeAttribute(b):a.removeAttributeNS(c,b)}),function(a){bu=a}(function(a,b,c,d){a.removeEventListener(b,c,d)}),function(a){br=a}(function(a,b,c,d){return aS(d)?a.setAttribute(b,c):a.setAttributeNS(d,b,c)}),function(a){bw=a}(function(a,b,c,d){a.style.setProperty(b,c,d?"important":"")}),function(a){bo=a}(function(a,b,c){a[b]=c}),function(a){bp=a}(function(a,b){a.nodeValue=b}),M=!1,function(a){bt=a}(function(a,b,c,d){a.addEventListener(b,c,d)});let eM=new WeakSet,C=Node,eN=new WeakMap,eO=new WeakMap;function eP(a,c){let b=c.get(a);return aS(b)||b(a),a}let{appendChild:eQ,insertBefore:eR,removeChild:eS,replaceChild:eT}=C.prototype;r(C.prototype,{appendChild(a){let b=eQ.call(this,a);return eP(b,eN)},insertBefore(a,b){let c=eR.call(this,a,b);return eP(c,eN)},removeChild(a){let b=eS.call(this,a);return eP(b,eO)},replaceChild(a,c){let b=eT.call(this,a,c);return eP(b,eO),eP(a,eN),b}});let eU=Node,eV=new Map;t(c,"CustomElementConstructor",{get(){return function(a){if(a===c)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let b=eV.get(a);return aS(b)&&(b=function(a){let b=function(a){let b=cD(a);return b.bridge}(a);return class extends b{constructor(){super(),this.isConnected?(aq(this,a,{}),eM.add(this)):dV(this,a,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){eM.has(this)?eM.delete(this):dQ(this)}disconnectedCallback(){dR(this)}}}(a),eV.set(a,b)),b}(this)}}),h(c),e(c.prototype),a.LightningElement=c,a.__unstable__ProfilerControl=ak,a.api=function(){throw new Error},a.buildCustomElementConstructor=function(a){return a.CustomElementConstructor},a.createContextProvider=function(b){var c,d;let a=eg(b);if(!aS(a))throw new Error("Adapter already has a context provider.");a=function(){function a(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}return a()+a()+"-"+a()+"-"+a()+"-"+a()+"-"+a()+a()+a()}(),c=b,d=a,ef.set(c,d);let e=new WeakSet;return(b,c)=>{if(e.has(b))throw new Error(`Adapter was already installed on ${b}.`);e.add(b);let{consumerConnectedCallback:d,consumerDisconnectedCallback:f}=c;b.addEventListener(a,a=>{let{setNewContext:e,setDisconnectedCallback:b}=a,c={provide(a){e(a)}};b(()=>{aS(f)||f(c)}),d(c),a.stopImmediatePropagation()})}},a.createElement=function(b,a){if(!aW(a)||aT(a))throw new TypeError(`"createElement" function expects an object as second parameter but received "${aZ(a)}".`);let c=a.is;if(!H(c))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');let d=cF(b),e=!1,f=new d(d=>{dV(d,c,{tagName:b,mode:"closed"!==a.mode?"open":"closed",owner:null}),eN.set(d,dQ),eO.set(d,dR),e=!0});return e||console.error(`Unexpected tag name "${b}". This name is a registered custom element, preventing LWC to upgrade the element.`),f},a.getComponentConstructor=function(a){let b=null;if(!aS(a)){let c=dZ(a);aS(c)||(b=c.def.ctor)}return b},a.getComponentDef=function(f){let g=cD(f),{ctor:h,name:i,props:j,propsConfig:k,methods:b}=g,c={};for(let a in j)c[a]={config:k[a]||0,type:"any",attr:a5(a)};let d={};for(let e in b)d[e]=b[e].value;return{ctor:h,name:i,props:c,methods:d}},a.hydrateComponent=aq,a.isComponentConstructor=ah,a.isNodeFromTemplate=function(a){if(aV(a instanceof eU))return!1;if(a instanceof ShadowRoot)return!1;let b=a.getRootNode();return!!(b instanceof ShadowRoot&&aV(F.call(az(b),"synthetic")))||ao&&!aS(a[a1])},a.readonly=function(a){return cl.getReadOnlyProxy(a)},a.register=function(d){for(let b=0;b<dI.length;++b){let a=dI[b];if(a in d){let c=dH[a];aS(c)&&(dH[a]=c=[]),aH.call(c,d[a])}}},a.registerComponent=function(a,{tmpl:b}){return H(a)&&dB.set(a,b),a},a.registerDecorators=function(i,B){var n,o;let d=i.prototype,{publicProps:f,publicMethods:p,wire:j,track:h,fields:k}=B,C=b(null),q=b(null),r=b(null),s=b(null),u=b(null),w=b(null),a;if(!aS(f))for(let c in f){let x=f[c];if(w[c]=x.config,a=D(d,c),x.config>0){if(aS(a))throw new Error;a=cs(c,a)}else a=aS(a)||aS(a.get)?cq(c):cs(c,a);q[c]=a,t(d,c,a)}if(aS(p)||v.call(p,b=>{if(aS(a=D(d,b)))throw new Error;C[b]=a}),!aS(j))for(let e in j){let{adapter:y,method:E,config:z,dynamic:A=[]}=j[e];if(a=D(d,e),1===E){if(aS(a))throw new Error;r[e]=a,eh(a,y,z,A)}else a=cu(e),s[e]=a,ei(a,y,z,A),t(d,e,a)}if(!aS(h))for(let l in h)a=D(d,l),a=ct(l),t(d,l,a);if(!aS(k))for(let m=0,F=k.length;m<F;m++){let g=k[m];a=D(d,g);let G=!aS(f)&&g in f,H=!aS(h)&&g in h;G||H||(u[g]=cp(g))}return n=i,o={apiMethods:C,apiFields:q,apiFieldsConfig:w,wiredMethods:r,wiredFields:s,observedFields:u},cv.set(n,o),i},a.registerTemplate=function(a){return ae.add(a),a},a.sanitizeAttribute=af,a.setFeatureFlag=function(a,b){var f;if("boolean"!=typeof b){let d=`Failed to set the value "${b}" for the runtime feature flag "${a}". Runtime feature flags can only be set to a boolean value.`;console.error(d);return}if(aS(a8[a])){let e=u(a8).map(a=>`"${a}"`).join(", ");console.warn(`Failed to set the value "${b}" for the runtime feature flag "${a}" because it is undefined. Available flags: ${e}.`);return}{let c=a9[a];if(!aS(c)){console.error(`Failed to set the value "${b}" for the runtime feature flag "${a}". "${a}" has already been set with the value "${c}".`);return}t(a9,a,{value:b})}},a.setFeatureFlagForTest=function(a,b){},a.setHooks=function(a){var b;ay.isFalse(eB,"Hooks are already overridden, only one definition is allowed."),eB=!0,dj=a.sanitizeHtmlContent},a.swapComponent=function(a,b){if(!a9.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},a.swapStyle=function(a,b){if(!a9.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},a.swapTemplate=function(a,b){if(!a9.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},a.track=function(a){if(1===arguments.length)return cl.getProxy(a);throw new Error},a.unwrap=function(a){return cl.unwrapProxy(a)},a.wire=function(a,b){throw new Error},Object.defineProperty(a,"__esModule",{value:!0})})
@@ -293,7 +293,7 @@
293
293
  const XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace';
294
294
  const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
295
295
  const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
296
- /** version: 2.13.1 */
296
+ /** version: 2.13.2 */
297
297
 
298
298
  /*
299
299
  * Copyright (c) 2018, salesforce.com, inc.
@@ -436,7 +436,7 @@
436
436
  */
437
437
  function setFeatureFlagForTest(name, value) {
438
438
  }
439
- /** version: 2.13.1 */
439
+ /** version: 2.13.2 */
440
440
 
441
441
  /* proxy-compat-disable */
442
442
 
@@ -4038,20 +4038,9 @@
4038
4038
 
4039
4039
  resetComponentStateWhenRemoved(vm);
4040
4040
  }
4041
-
4042
- function getNearestShadowAncestor(vm) {
4043
- let ancestor = vm.owner;
4044
-
4045
- while (!isNull(ancestor) && ancestor.renderMode === 0
4046
- /* Light */
4047
- ) {
4048
- ancestor = ancestor.owner;
4049
- }
4050
-
4051
- return ancestor;
4052
- }
4053
-
4054
4041
  function createVM(elm, ctor, options) {
4042
+ var _a;
4043
+
4055
4044
  const {
4056
4045
  mode,
4057
4046
  owner,
@@ -4079,6 +4068,8 @@
4079
4068
  oar: create(null),
4080
4069
  cmpTemplate: null,
4081
4070
  renderMode: def.renderMode,
4071
+ shadowMode: computeShadowMode(def, owner),
4072
+ nearestShadowMode: (owner === null || owner === void 0 ? void 0 : owner.shadowRoot) ? owner.shadowMode : (_a = owner === null || owner === void 0 ? void 0 : owner.nearestShadowMode) !== null && _a !== void 0 ? _a : null,
4082
4073
  context: {
4083
4074
  stylesheetToken: undefined,
4084
4075
  hasTokenInClass: undefined,
@@ -4091,7 +4082,6 @@
4091
4082
  },
4092
4083
  // Properties set right after VM creation.
4093
4084
  tro: null,
4094
- shadowMode: null,
4095
4085
  // Properties set by the LightningElement constructor.
4096
4086
  component: null,
4097
4087
  shadowRoot: null,
@@ -4100,7 +4090,6 @@
4100
4090
  setHook,
4101
4091
  getHook
4102
4092
  };
4103
- vm.shadowMode = computeShadowMode(vm);
4104
4093
  vm.tro = getTemplateReactiveObserver(vm);
4105
4094
 
4106
4095
 
@@ -4113,10 +4102,9 @@
4113
4102
  return vm;
4114
4103
  }
4115
4104
 
4116
- function computeShadowMode(vm) {
4117
- const {
4118
- def
4119
- } = vm;
4105
+ function computeShadowMode(def, owner) {
4106
+ var _a;
4107
+
4120
4108
  let shadowMode;
4121
4109
 
4122
4110
  if (isSyntheticShadowDefined$1) {
@@ -4139,23 +4127,13 @@
4139
4127
  /* Native */
4140
4128
  ;
4141
4129
  } else {
4142
- const shadowAncestor = getNearestShadowAncestor(vm);
4143
-
4144
- if (!isNull(shadowAncestor) && shadowAncestor.shadowMode === 0
4145
- /* Native */
4146
- ) {
4147
- // Transitive support for native Shadow DOM. A component in native mode
4148
- // transitively opts all of its descendants into native.
4149
- shadowMode = 0
4150
- /* Native */
4151
- ;
4152
- } else {
4153
- // Synthetic if neither this component nor any of its ancestors are configured
4154
- // to be native.
4155
- shadowMode = 1
4156
- /* Synthetic */
4157
- ;
4158
- }
4130
+ // Transitive support for native Shadow DOM. A component in native mode
4131
+ // transitively opts all of its descendants into native.
4132
+ // Synthetic if neither this component nor any of its ancestors are configured
4133
+ // to be native.
4134
+ shadowMode = (_a = owner === null || owner === void 0 ? void 0 : owner.nearestShadowMode) !== null && _a !== void 0 ? _a : 1
4135
+ /* Synthetic */
4136
+ ;
4159
4137
  }
4160
4138
  } else {
4161
4139
  shadowMode = 1
@@ -5131,7 +5109,30 @@
5131
5109
  hooksAreSet = true;
5132
5110
  setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
5133
5111
  }
5134
- /* version: 2.13.1 */
5112
+
5113
+ /*
5114
+ * Copyright (c) 2018, salesforce.com, inc.
5115
+ * All rights reserved.
5116
+ * SPDX-License-Identifier: MIT
5117
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
5118
+ */
5119
+ /**
5120
+ * EXPERIMENTAL: This function provides access to the component constructor, given an HTMLElement.
5121
+ * This API is subject to change or being removed.
5122
+ */
5123
+ function getComponentConstructor(elm) {
5124
+ let ctor = null;
5125
+ // intentionally checking for undefined due to some funky libraries patching weakmap.get
5126
+ // to throw when undefined.
5127
+ if (!isUndefined$1(elm)) {
5128
+ const vm = getAssociatedVMIfPresent(elm);
5129
+ if (!isUndefined$1(vm)) {
5130
+ ctor = vm.def.ctor;
5131
+ }
5132
+ }
5133
+ return ctor;
5134
+ }
5135
+ /* version: 2.13.2 */
5135
5136
 
5136
5137
  /*
5137
5138
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5649,27 +5650,6 @@
5649
5650
  return element;
5650
5651
  }
5651
5652
 
5652
- /*
5653
- * Copyright (c) 2018, salesforce.com, inc.
5654
- * All rights reserved.
5655
- * SPDX-License-Identifier: MIT
5656
- * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
5657
- */
5658
- /**
5659
- * EXPERIMENTAL: This function provides access to the component constructor, given an HTMLElement.
5660
- * This API is subject to change or being removed.
5661
- */
5662
- function getComponentConstructor(elm) {
5663
- let ctor = null;
5664
- if (elm instanceof HTMLElement) {
5665
- const vm = getAssociatedVMIfPresent(elm);
5666
- if (!isUndefined$1(vm)) {
5667
- ctor = vm.def.ctor;
5668
- }
5669
- }
5670
- return ctor;
5671
- }
5672
-
5673
5653
  /*
5674
5654
  * Copyright (c) 2018, salesforce.com, inc.
5675
5655
  * All rights reserved.
@@ -5738,7 +5718,7 @@
5738
5718
  });
5739
5719
  freeze(LightningElement);
5740
5720
  seal(LightningElement.prototype);
5741
- /* version: 2.13.1 */
5721
+ /* version: 2.13.2 */
5742
5722
 
5743
5723
  exports.LightningElement = LightningElement;
5744
5724
  exports.__unstable__ProfilerControl = profilerControl;