lwc 2.11.0 → 2.11.4

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 (35) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +339 -263
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +339 -263
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +294 -126
  5. package/dist/engine-dom/iife/es5/engine-dom.js +1137 -1047
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +425 -182
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +339 -263
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +294 -126
  11. package/dist/engine-dom/umd/es5/engine-dom.js +1137 -1047
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +425 -182
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +44 -11
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
  16. package/dist/engine-server/esm/es2017/engine-server.js +44 -11
  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_debug.js +3 -3
  20. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
  22. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
  23. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
  24. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
  25. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
  26. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  27. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  28. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  29. package/dist/wire-service/iife/es5/wire-service.js +2 -2
  30. package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
  31. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  32. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  33. package/dist/wire-service/umd/es5/wire-service.js +2 -2
  34. package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
  35. package/package.json +8 -9
@@ -421,9 +421,9 @@ const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
421
421
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
422
422
  */
423
423
  // Increment whenever the LWC template compiler changes
424
- const LWC_VERSION = "2.11.0";
424
+ const LWC_VERSION = "2.11.4";
425
425
  const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
426
- /** version: 2.11.0 */
426
+ /** version: 2.11.4 */
427
427
 
428
428
  /*
429
429
  * Copyright (c) 2020, salesforce.com, inc.
@@ -531,7 +531,7 @@ function setFeatureFlagForTest(name, value) {
531
531
  setFeatureFlag(name, value);
532
532
  }
533
533
  }
534
- /** version: 2.11.0 */
534
+ /** version: 2.11.4 */
535
535
 
536
536
  /* proxy-compat-disable */
537
537
 
@@ -2806,6 +2806,12 @@ function checkVersionMismatch(func, type) {
2806
2806
  }
2807
2807
  }
2808
2808
 
2809
+ /*
2810
+ * Copyright (c) 2018, salesforce.com, inc.
2811
+ * All rights reserved.
2812
+ * SPDX-License-Identifier: MIT
2813
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
2814
+ */
2809
2815
  const signedTemplateSet = new Set();
2810
2816
  function defaultEmptyTemplate() {
2811
2817
  return [];
@@ -2823,6 +2829,30 @@ function registerTemplate(tpl) {
2823
2829
  checkVersionMismatch(tpl, 'template');
2824
2830
  }
2825
2831
  signedTemplateSet.add(tpl);
2832
+ // FIXME[@W-10950976]: the template object should be frozen, and it should not be possible to set
2833
+ // the stylesheets or stylesheetToken(s). For backwards compat, though, we shim stylesheetTokens
2834
+ // on top of stylesheetToken for anyone who is accessing the old internal API.
2835
+ // Details: https://salesforce.quip.com/v1rmAFu2cKAr
2836
+ defineProperty(tpl, 'stylesheetTokens', {
2837
+ get() {
2838
+ const { stylesheetToken } = this;
2839
+ if (isUndefined$1(stylesheetToken)) {
2840
+ return stylesheetToken;
2841
+ }
2842
+ // Shim for the old `stylesheetTokens` property
2843
+ // See https://github.com/salesforce/lwc/pull/2332/files#diff-7901555acef29969adaa6583185b3e9bce475cdc6f23e799a54e0018cb18abaa
2844
+ return {
2845
+ hostAttribute: `${stylesheetToken}-host`,
2846
+ shadowAttribute: stylesheetToken,
2847
+ };
2848
+ },
2849
+ set(value) {
2850
+ // If the value is null or some other exotic object, you would be broken anyway in the past
2851
+ // because the engine would try to access hostAttribute/shadowAttribute, which would throw an error.
2852
+ // However it may be undefined in newer versions of LWC, so we need to guard against that case.
2853
+ this.stylesheetToken = isUndefined$1(value) ? undefined : value.shadowAttribute;
2854
+ },
2855
+ });
2826
2856
  // chaining this method as a way to wrap existing
2827
2857
  // assignment of templates easily, without too much transformation
2828
2858
  return tpl;
@@ -5049,11 +5079,15 @@ const signedTemplateMap = new Map();
5049
5079
  * INTERNAL: This function can only be invoked by compiled code. The compiler
5050
5080
  * will prevent this function from being imported by userland code.
5051
5081
  */
5052
- function registerComponent(Ctor, { tmpl }) {
5053
- if (process.env.NODE_ENV !== 'production') {
5054
- checkVersionMismatch(Ctor, 'component');
5082
+ function registerComponent(
5083
+ // We typically expect a LightningElementConstructor, but technically you can call this with anything
5084
+ Ctor, { tmpl }) {
5085
+ if (isFunction$1(Ctor)) {
5086
+ if (process.env.NODE_ENV !== 'production') {
5087
+ checkVersionMismatch(Ctor, 'component');
5088
+ }
5089
+ signedTemplateMap.set(Ctor, tmpl);
5055
5090
  }
5056
- signedTemplateMap.set(Ctor, tmpl);
5057
5091
  // chaining this method as a way to wrap existing assignment of component constructor easily,
5058
5092
  // without too much transformation
5059
5093
  return Ctor;
@@ -5193,7 +5227,7 @@ function disconnectRootElement(elm) {
5193
5227
  }
5194
5228
  function appendVM(vm) {
5195
5229
  rehydrate(vm);
5196
- }
5230
+ } // just in case the component comes back, with this we guarantee re-rendering it
5197
5231
  // while preventing any attempt to rehydration until after reinsertion.
5198
5232
 
5199
5233
  function resetComponentStateWhenRemoved(vm) {
@@ -5497,7 +5531,6 @@ function runRenderedCallback(vm) {
5497
5531
  , vm);
5498
5532
  }
5499
5533
  }
5500
-
5501
5534
  let rehydrateQueue = [];
5502
5535
 
5503
5536
  function flushRehydrationQueue() {
@@ -6149,7 +6182,7 @@ function setHooks(hooks) {
6149
6182
  hooksAreSet = true;
6150
6183
  setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
6151
6184
  }
6152
- /* version: 2.11.0 */
6185
+ /* version: 2.11.4 */
6153
6186
 
6154
6187
  /*
6155
6188
  * Copyright (c) 2020, salesforce.com, inc.
@@ -6616,7 +6649,7 @@ function renderComponent(tagName, Ctor, props = {}) {
6616
6649
  */
6617
6650
  freeze(LightningElement);
6618
6651
  seal(LightningElement.prototype);
6619
- /* version: 2.11.0 */
6652
+ /* version: 2.11.4 */
6620
6653
 
6621
6654
  exports.LightningElement = LightningElement;
6622
6655
  exports.api = api$1;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:t,create:n,defineProperties:r,defineProperty:o,freeze:i,getOwnPropertyDescriptor:l,getOwnPropertyNames:s,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:d,seal:f,setPrototypeOf:p}=Object,{isArray:h}=Array,{filter:m,find:g,indexOf:w,join:y,map:b,push:v,reduce:C,reverse:E,slice:k,splice:x,unshift:M,forEach:S}=Array.prototype,{fromCharCode:T}=String,{charCodeAt:O,replace:$,slice:A,toLowerCase:P}=String.prototype;function N(e){return void 0===e}function R(e){return null===e}function _(e){return!0===e}function D(e){return!1===e}function F(e){return"function"==typeof e}function L(e){return"string"==typeof e}function I(){}const H={}.toString;function j(e){return e&&e.toString?h(e)?y.call(b.call(e,j),","):e.toString():"object"==typeof e?H.call(e):e+""}function B(e,t){do{const n=l(e,t);if(!N(n))return n;e=a(e)}while(null!==e)}const W=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:V,AriaPropNameToAttrNameMap:K}=(()=>{const e=n(null),t=n(null);return S.call(W,(n=>{const r=P.call($.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function G(e){return e in V}const z=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),q=new Set(["area","base","br","circle","col","ellipse","feBlend","feColorMatrix","feFuncR","feFuncG","feFuncB","feFuncA","feImage","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","fePointLight","embed","hr","img","input","keygen","line","link","menuitem","meta","param","path","rect","source","track","wbr"]);const U=new Map([["autofocus",new Set(["button","input","keygen","select","textarea"])],["autoplay",new Set(["audio","video"])],["checked",new Set(["command","input"])],["disabled",new Set(["button","command","fieldset","input","keygen","optgroup","select","textarea"])],["formnovalidate",new Set(["button"])],["hidden",new Set],["loop",new Set(["audio","bgsound","marquee","video"])],["multiple",new Set(["input","select"])],["muted",new Set(["audio","video"])],["novalidate",new Set(["form"])],["open",new Set(["details"])],["readonly",new Set(["input","textarea"])],["required",new Set(["input","select","textarea"])],["reversed",new Set(["ol"])],["selected",new Set(["option"])]]);function X(e,t){const n=U.get(e);return void 0!==n&&(0===n.size||n.has(t))}const Y=new Set(["role","accesskey","class","contenteditable","contextmenu","dir","draggable","dropzone","hidden","id","itemprop","lang","slot","spellcheck","style","tabindex","title"]);function J(e){return Y.has(e)}const Q=new Map([["accessKey","accesskey"],["readOnly","readonly"],["tabIndex","tabindex"],["bgColor","bgcolor"],["colSpan","colspan"],["rowSpan","rowspan"],["contentEditable","contenteditable"],["crossOrigin","crossorigin"],["dateTime","datetime"],["formAction","formaction"],["isMap","ismap"],["maxLength","maxlength"],["minLength","minlength"],["noValidate","novalidate"],["useMap","usemap"],["htmlFor","for"]]),Z=new Map;function ee(e){const t=K[e];if(!N(t))return t;const n=Q.get(e);if(!N(n))return n;const r=Z.get(e);if(!N(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=O.call(e,t);o+=n>=65&&n<=90?"-"+T(n+32):T(n)}return Z.set(e,o),o}if("function"!=typeof Event){class e{}o(z,"Event",{value:e,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class e extends Event{}o(z,"CustomEvent",{value:e,configurable:!0,writable:!0})}const te={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};z.lwcRuntimeFlags||Object.defineProperty(z,"lwcRuntimeFlags",{value:n(null)});const ne=z.lwcRuntimeFlags;let re=[];const oe=f(n(null)),ie=f([]);function le(){const e=re;re=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function se(e){0===re.length&&Promise.resolve().then(le),v.call(re,e)}let ae,ce,ue,de,fe,pe,he,me,ge,we,ye,be,ve,Ce,Ee,ke,xe,Me,Se,Te,Oe,$e,Ae,Pe,Ne,Re,_e,De,Fe,Le,Ie,He,je,Be,We,Ve,Ke,Ge,ze;const qe=new WeakMap;let Ue=null;function Xe(e,t){const n=qe.get(e);if(!N(n)){const e=n[t];if(!N(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Ye(e,t){if(null===Ue)return;const r=Ue,o=function(e){let t=qe.get(e);if(N(t)){const r=n(null);t=r,qe.set(e,r)}return t}(e);let i=o[t];if(N(i))i=[],o[t]=i;else if(i[0]===r)return;-1===w.call(i,r)&&r.link(i)}class Je{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=Ue;let n;Ue=this;try{e()}catch(e){n=Object(e)}finally{if(Ue=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],r=w.call(e[n],this);x.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){v.call(e,this),v.call(this.listeners,e)}}function Qe(e,t){Xe(e.component,t)}function Ze(e,t){Ye(e.component,t)}function et(e){return`<${P.call(e.tagName)}>`}function tt(e,t){if(!u(t)&&N(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!R(n);)v.call(t,et(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}const nt="undefined"!=typeof HTMLElement?HTMLElement:function(){},rt=nt.prototype;function ot(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}t(n(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:ot("offsetHeight")},offsetLeft:{readOnly:!0,error:ot("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:ot("offsetTop")},offsetWidth:{readOnly:!0,error:ot("offsetWidth")},role:{attribute:"role"}});let it,lt=null;function st(e,t){return e!==lt||t!==it}function at(e,t){lt=null,it=void 0}function ct(e,t){lt=e,it=t}const ut=n(null);S.call(d(K),(e=>{const t=B(rt,e);N(t)||(ut[e]=t)})),S.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=B(rt,e);N(t)||(ut[e]=t)}));const{isArray:dt}=Array,{prototype:ft,getPrototypeOf:pt,create:ht,defineProperty:mt,isExtensible:gt,getOwnPropertyDescriptor:wt,getOwnPropertyNames:yt,getOwnPropertySymbols:bt,preventExtensions:vt,hasOwnProperty:Ct}=Object,{push:Et,concat:kt}=Array.prototype;function xt(e){return void 0===e}function Mt(e){return"function"==typeof e}const St=new WeakMap;function Tt(e,t){St.set(e,t)}const Ot=e=>St.get(e)||e;class $t{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(Ct.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;xt(n)||(e.get=this.wrapGetter(n)),xt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=wt(n,t);if(!xt(r)){const n=this.wrapDescriptor(r);mt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;kt.call(yt(t),bt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;xt(n)||Ct.call(e,n)||mt(e,n,ht(null)),vt(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:r}}=this,o=n[t];return r(n,t),this.wrapValue(o)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:r,valueObserved:o}}=this;return o(n,t),t in n||t===r}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,r=xt(n)||Ct.call(t,n)?[]:[n];return Et.apply(r,yt(t)),Et.apply(r,bt(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!gt(e)&&(!!gt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return pt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=wt(n,t);if(xt(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},mt(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const At=new WeakMap,Pt=new WeakMap,Nt=new WeakMap,Rt=new WeakMap;class _t extends $t{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=At.get(e);if(!xt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Ot(this)))};return At.set(e,r),Nt.set(r,e),r}wrapSetter(e){const t=Pt.get(e);if(!xt(t))return t;const n=function(t){e.call(Ot(this),Ot(t))};return Pt.set(e,n),Rt.set(n,e),n}unwrapDescriptor(e){if(Ct.call(e,"value"))e.value=Ot(e.value);else{const{set:t,get:n}=e;xt(n)||(e.get=this.unwrapGetter(n)),xt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Nt.get(e);if(!xt(t))return t;const n=this,r=function(){return Ot(e.call(n.wrapValue(this)))};return At.set(r,e),Nt.set(e,r),r}unwrapSetter(e){const t=Rt.get(e);if(!xt(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Pt.set(r,e),Rt.set(e,r),r}set(e,t,n){const{originalTarget:r,membrane:{valueMutated:o}}=this;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&dt(r)&&o(r,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:r}}=this;return delete n[t],r(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(gt(e)){const{originalTarget:t}=this;if(vt(t),gt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!Ct.call(r,t)||(mt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const Dt=new WeakMap,Ft=new WeakMap;class Lt extends $t{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=Dt.get(e);if(!xt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Ot(this)))};return Dt.set(e,r),r}wrapSetter(e){const t=Ft.get(e);if(!xt(t))return t;const n=function(e){};return Ft.set(e,n),n}set(e,t,n){return!1}deleteProperty(e,t){return!1}setPrototypeOf(e,t){}preventExtensions(e){return!1}defineProperty(e,t,n){return!1}}function It(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(dt(e))return!0;const t=pt(e);return t===ft||null===t||null===pt(t)}const Ht=(e,t)=>{},jt=(e,t)=>{};function Bt(e){return dt(e)?[]:{}}const Wt=Symbol.for("@@lockerLiveValue"),Vt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=Mt(t)?t:jt,this.valueObserved=Mt(n)?n:Ht,this.valueIsObservable=Mt(r)?r:It,this.tagPropertyKey=o}getProxy(e){const t=Ot(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Ot(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Ot(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(xt(t)){const n=new _t(this,e);t=new Proxy(Bt(e),n),Tt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(xt(t)){const n=new Lt(this,e);t=new Proxy(Bt(e),n),Tt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Ye,valueMutated:Xe,tagPropertyKey:Wt});function Kt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!F(n))throw new TypeError;if(!F(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=Rr(this);if(!dr(t))return Ze(t,e),n.call(t.elm)},set(t){const n=Rr(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,Qe(n,e)),r.call(n.elm,t)}}}const Gt=function(){if(R(ur))throw new ReferenceError("Illegal constructor");const e=ur,{def:t,elm:n}=e,{bridge:r}=t,o=this;if(p(n,r.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return this[Wt]=void 0,Nr(o,e),Nr(n,e),1===e.renderMode?e.renderRoot=zt(e):e.renderRoot=n,this};function zt(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o}}=e,i=be(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=i,Nr(i,e),i}Gt.prototype={constructor:Gt,dispatchEvent(e){const{elm:t}=Rr(this);return Oe(t,e)},addEventListener(e,t,n){const r=Rr(this),{elm:o}=r,i=br(r,t);Se(o,e,i,n)},removeEventListener(e,t,n){const r=Rr(this),{elm:o}=r,i=br(r,t);Te(o,e,i,n)},hasAttribute(e){const{elm:t}=Rr(this);return!R(ke(t,e))},hasAttributeNS(e,t){const{elm:n}=Rr(this);return!R(ke(n,t,e))},removeAttribute(e){const{elm:t}=Rr(this);ct(t,e),Me(t,e),at()},removeAttributeNS(e,t){const{elm:n}=Rr(this);ct(n,t),Me(n,t,e),at()},getAttribute(e){const{elm:t}=Rr(this);return ke(t,e)},getAttributeNS(e,t){const{elm:n}=Rr(this);return ke(n,t,e)},setAttribute(e,t){const n=Rr(this),{elm:r}=n;ct(r,e),xe(r,e,t),at()},setAttributeNS(e,t,n){const r=Rr(this),{elm:o}=r;ct(o,t),xe(o,t,n,e),at()},getBoundingClientRect(){const e=Rr(this),{elm:t}=e;return Pe(t)},get isConnected(){const{elm:e}=Rr(this);return We(e)},get classList(){const e=Rr(this),{elm:t}=e;return $e(t)},get template(){return Rr(this).shadowRoot},get shadowRoot(){return null},render(){return Rr(this).def.template},toString(){return`[object ${Rr(this).def.name}]`}};const qt=n(null),Ut=["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild"];function Xt(e){switch(e){case"children":return Fe;case"childNodes":return Le;case"firstChild":return Ie;case"firstElementChild":return He;case"lastChild":return je;case"lastElementChild":return Be}}for(const e of Ut)qt[e]={get(){const t=Rr(this),{elm:n}=t;return Xt(e)(n)},configurable:!0,enumerable:!0};const Yt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];function Jt(e){switch(e){case"getElementsByClassName":return De;case"getElementsByTagName":return _e;case"querySelector":return Ne;case"querySelectorAll":return Re}}for(const e of Yt)qt[e]={value(t){const n=Rr(this),{elm:r}=n;return Jt(e)(r,t)},configurable:!0,enumerable:!0,writable:!0};r(Gt.prototype,qt);const Qt=n(null);for(const e in ut)Qt[e]=Kt(e,ut[e]);function Zt(e){return{get(){const t=Rr(this);return Ze(t,e),t.cmpFields[e]},set(t){const n=Rr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,Qe(n,e))},enumerable:!0,configurable:!0}}function en(e){return{get(){const t=Rr(this);return Ze(t,e),t.cmpFields[e]},set(t){const n=Rr(this),r=Vt.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,Qe(n,e))},enumerable:!0,configurable:!0}}function tn(e){return{get(){const t=Rr(this);if(!dr(t))return Ze(t,e),t.cmpProps[e]},set(t){const n=Rr(this);n.cmpProps[e]=t,Qe(n,e)},enumerable:!0,configurable:!0}}r(Gt.prototype,Qt),o(Gt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class nn extends Je{constructor(e,t){super((()=>{D(this.debouncing)&&(this.debouncing=!0,se((()=>{if(_(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,_(e.isDirty)&&D(r)&&i>0&&Or(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function rn(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!F(n))throw new Error;return{get(){return n.call(this)},set(t){const n=Rr(this);if(r)if(ne.ENABLE_REACTIVE_SETTER){let o=n.oar[e];N(o)&&(o=n.oar[e]=new nn(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function on(e){return{get(){const t=Rr(this);return Ze(t,e),t.cmpFields[e]},set(t){const n=Rr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,Qe(n,e))},enumerable:!0,configurable:!0}}const ln=new Map;const sn={apiMethods:oe,apiFields:oe,apiFieldsConfig:oe,wiredMethods:oe,wiredFields:oe,observedFields:oe};const an=new Set;function cn(){return[]}an.add(cn);const un=n(null),dn=n(null);function fn(e){let t=un[e];return N(t)&&(t=un[e]=function(){const t=Rr(this),{getHook:n}=t;return n(t.component,e)}),t}function pn(e){let t=dn[e];return N(t)&&(t=dn[e]=function(t){const n=Rr(this),{setHook:r}=n;t=Vt.getReadOnlyProxy(t),r(n.component,e,t)}),t}function hn(e){return function(){const t=Rr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,k.call(arguments))}}function mn(e,t){return function(n,r,o){if(r===o)return;const i=e[n];N(i)?N(t)||t.apply(this,arguments):st(this,n)&&(this[i]=o)}}function gn(e,t,i){let l;F(e)?l=class extends e{}:(l=function(){throw new TypeError("Illegal constructor")},p(l,e),p(l.prototype,e.prototype),o(l.prototype,"constructor",{writable:!0,configurable:!0,value:l}));const s=n(null),{attributeChangedCallback:a}=e.prototype,{observedAttributes:c=[]}=e,u=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];s[ee(n)]=n,u[n]={get:fn(n),set:pn(n),enumerable:!0,configurable:!0}}for(let e=0,t=i.length;e<t;e+=1){const t=i[e];u[t]={value:hn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:mn(s,a)},o(l,"observedAttributes",{get:()=>[...c,...d(s)]}),r(l.prototype,u),l}const wn=gn(nt,s(ut),[]);function yn(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function bn(e){return F(e)&&c.call(e,"__circular__")}i(wn),f(wn.prototype);const vn=new WeakMap;function Cn(e){const{shadowSupportMode:o,renderMode:i}=e,l=function(e){const t=ln.get(e);return N(t)?sn:t}(e),{apiFields:s,apiFieldsConfig:c,apiMethods:u,wiredFields:f,wiredMethods:p,observedFields:h}=l,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const C=function(e){let t=a(e);if(R(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(bn(t)){const e=yn(t);t=e===t?Gt:e}return t}(e),E=C!==Gt?kn(C):xn,k=gn(E.bridge,d(s),d(u)),x=t(n(null),E.props,s),M=t(n(null),E.propsConfig,c),S=t(n(null),E.methods,u),T=t(n(null),E.wire,f,p);g=g||E.connectedCallback,w=w||E.disconnectedCallback,y=y||E.renderedCallback,b=b||E.errorCallback,v=v||E.render;let O=E.shadowSupportMode;N(o)||(O=o);let $=E.renderMode;N(i)||($="light"===i?0:1);const A=function(e){return hr.get(e)}(e)||E.template,P=e.name||E.name;r(m,h);return{ctor:e,name:P,wire:T,props:x,propsConfig:M,methods:S,bridge:k,template:A,renderMode:$,shadowSupportMode:O,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function En(e){if(!F(e))return!1;if(e.prototype instanceof Gt)return!0;let t=e;do{if(bn(t)){const e=yn(t);if(e===t)return!0;t=e}if(t===Gt)return!0}while(!R(t)&&(t=a(t)));return!1}function kn(e){let t=vn.get(e);if(N(t)){if(bn(e)){return t=kn(yn(e)),vn.set(e,t),t}if(!En(e))throw new TypeError(`${e} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);t=Cn(e),vn.set(e,t)}return t}const xn={ctor:Gt,name:Gt.name,props:Qt,propsConfig:oe,methods:oe,renderMode:1,shadowSupportMode:"reset",wire:oe,bridge:wn,template:cn,render:Gt.prototype.render};function Mn(e){const{type:t}=e;return 2===t||3===t}function Sn(e,t){return e.key===t.key&&e.sel===t.sel}function Tn(e,t){return"input"===e&&("value"===t||"checked"===t)}const On=n(null);function $n(e){if(null==e)return oe;e=L(e)?e:e+"";let t=On[e];if(t)return t;t=n(null);let r,o=0;const i=e.length;for(r=0;r<i;r++)32===O.call(e,r)&&(r>o&&(t[A.call(e,o,r)]=!0),o=r+1);return r>o&&(t[A.call(e,o,r)]=!0),On[e]=t,t}function An(e,t,n){var r;r=t,Kn.has(r)?function(e,t,n){let r=0,o=0,i=e.length-1,l=e[0],s=e[i];const a=t.length-1;let c,u,d,f,p=a,h=t[0],m=t[p],g=!1;for(;r<=i&&o<=p;)Fn(l)?Fn(s)?Fn(h)?Fn(m)?Sn(l,h)?(Pn(l,h),l=e[++r],h=t[++o]):Sn(s,m)?(Pn(s,m),s=e[--i],m=t[--p]):Sn(l,m)?(Pn(l,m),Bn(l.elm,n,ye(s.elm)),l=e[++r],m=t[--p]):Sn(s,h)?(Pn(s,h),Bn(h.elm,n,l.elm),s=e[--i],h=t[++o]):(void 0===c&&(c=Gn(e,r,i)),u=c[h.key],N(u)?(Nn(h,n,l.elm),h=t[++o]):(d=e[u],Fn(d)&&(d.sel!==h.sel?Nn(h,n,l.elm):(Pn(d,h),g||(g=!0,e=[...e]),e[u]=void 0,Bn(d.elm,n,l.elm))),h=t[++o])):m=t[--p]:h=t[++o]:s=e[--i]:l=e[++r];if(r<=i||o<=p)if(r>i){let e,r=p;do{e=t[++r]}while(!Fn(e)&&r<a);f=Fn(e)?e.elm:null,Rn(t,n,f,o,p+1)}else Dn(e,n,!0,r,i+1)}(e,t,n):function(e,t,n){const r=e.length,o=t.length;if(0===r)return void Rn(t,n,null);if(0===o)return void Dn(e,n,!0);let i=null;for(let r=o-1;r>=0;r-=1){const o=e[r],l=t[r];l!==o&&(Fn(o)?Fn(l)?(Pn(o,l),i=l.elm):_n(o,n,!0):Fn(l)&&(Nn(l,n,i),i=l.elm))}}(e,t,n)}function Pn(e,t){if(e!==t)switch(t.type){case 0:case 1:!function(e,t){t.elm=e.elm,t.text!==e.text&&jn(t)}(e,t);break;case 2:!function(e,t){const n=t.elm=e.elm;Wn(e,t),An(e.children,t.children,n)}(e,t);break;case 3:!function(e,t){const n=t.elm=e.elm,r=t.vm=e.vm;Wn(e,t),N(r)||Vn(t,r);An(e.children,t.children,n),N(r)||Or(r)}(e,t)}}function Nn(e,t,n){switch(e.type){case 0:!function(e,t,n){const{owner:r}=e,o=e.elm=ge(e.text);Hn(o,r),Bn(o,t,n)}(e,t,n);break;case 1:!function(e,t,n){const{owner:r}=e,o=e.elm=we(e.text);Hn(o,r),Bn(o,t,n)}(e,t,n);break;case 2:!function(e,t,n){const{sel:r,owner:o,data:{svg:i}}=e,l=_(i)?"http://www.w3.org/2000/svg":void 0,s=me(r,l);Hn(s,o),function(e,t){const{owner:n}=t;if(In(e,n),1===n.shadowMode){const{data:{context:r}}=t,{stylesheetToken:o}=n.context;N(r)||N(r.lwc)||"manual"!==r.lwc.dom||function(e){e.$domManual$=!0}(e),N(o)||Ln(e,o)}}(s,e),e.elm=s,Wn(null,e),Bn(s,t,n),Rn(e.children,s,null)}(e,t,n);break;case 3:!function(e,t,n){const{sel:r,owner:o}=e,i=function(e){e=e.toLowerCase();let t=ze(e);return N(t)?(t=class extends de{constructor(e){super(),F(e)&&e(this)}},Ge(e,t),t):t}(r);let l;const s=new i((t=>{l=function(e,t){let n=_r(e);if(!N(n))return n;const{sel:r,mode:o,ctor:i,owner:l}=t;if(In(e,l),1===l.shadowMode){const{stylesheetToken:t}=l.context;N(t)||Ln(e,t)}return n=Pr(e,i,{mode:o,owner:l,tagName:r}),n}(t,e)}));if(Hn(s,o),e.elm=s,e.vm=l,l)Vn(e,l);else if(e.ctor!==i)throw new TypeError("Incorrect Component Constructor");Wn(null,e),Bn(s,t,n),l&&Ir(l);Rn(e.children,s,null),l&&function(e){Dr(e)}(l)}(e,t,n)}}function Rn(e,t,n,r=0,o=e.length){for(;r<o;++r){const o=e[r];Fn(o)&&Nn(o,t,n)}}function _n(e,t,n=!1){const{type:r,elm:o}=e;switch(n&&function(e,t){he(e,t)}(o,t),r){case 2:Dn(e.children,o);break;case 3:{const{vm:t}=e;N(t)||function(e){Ar(e)}(t)}}}function Dn(e,t,n=!1,r=0,o=e.length){for(;r<o;++r){const o=e[r];Fn(o)&&_n(o,t,n)}}function Fn(e){return null!=e}function Ln(e,t){e.$shadowToken$=t}function In(e,t){const{cmpTemplate:n,context:r}=t,o=null==n?void 0:n.stylesheetToken;!N(o)&&r.hasScopedStyles&&$e(e).add(o)}function Hn(e,t){const{renderRoot:n,renderMode:r,shadowMode:o}=t;ue&&(1!==o&&0!==r||(e.$shadowResolver$=n.$shadowResolver$))}function jn(e){const{elm:t,text:n}=e;Ee(t,n)}function Bn(e,t,n){pe(e,t,n)}function Wn(e,t){R(e)&&(function(e){const{elm:t,data:{on:n}}=e;if(!N(n))for(const e in n){const r=n[e];Se(t,e,r)}}(t),function(e){const{elm:t,data:{classMap:n}}=e;if(N(n))return;const r=$e(t);for(const e in n)r.add(e)}(t),function(e){const{elm:t,data:{styleDecls:n}}=e;if(!N(n))for(let e=0;e<n.length;e++){const[r,o,i]=n[e];Ae(t,r,o,i)}}(t)),function(e,t){const{elm:n,data:{className:r}}=t,o=R(e)?void 0:e.data.className;if(o===r)return;const i=$e(n),l=$n(r),s=$n(o);let a;for(a in s)N(l[a])&&i.remove(a);for(a in l)N(s[a])&&i.add(a)}(e,t),function(e,t){const{elm:n,data:{style:r}}=t;(R(e)?void 0:e.data.style)!==r&&(L(r)&&""!==r?xe(n,"style",r):Me(n,"style"))}(e,t),function(e,t){const{attrs:n}=t.data;if(N(n))return;const r=R(e)?oe:e.data.attrs;if(r===n)return;const{elm:o}=t;for(const e in n){const t=n[e];r[e]!==t&&(ct(o,e),58===O.call(e,3)?xe(o,e,t,"http://www.w3.org/XML/1998/namespace"):58===O.call(e,5)?xe(o,e,t,"http://www.w3.org/1999/xlink"):R(t)||N(t)?Me(o,e):xe(o,e,t),at())}}(e,t),function(e,t){const{props:n}=t.data;if(N(n))return;const r=R(e)?oe:e.data.props;if(r===n)return;const o=R(e),{elm:i,sel:l}=t;for(const e in n){const t=n[e];(o||t!==(Tn(l,e)?ve(i,e):r[e]))&&Ce(i,e,t)}}(e,t)}function Vn(e,t){const r=e.aChildren||e.children;t.aChildren=r;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t){var r;const{cmpSlots:o}=e,i=e.cmpSlots=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(R(n))continue;let o="";Mn(n)&&(o=(null===(r=n.data.attrs)||void 0===r?void 0:r.slot)||"");const l=i[o]=i[o]||[];N(n.key)||(n.key=`@${o}:${n.key}`),v.call(l,n)}if(D(e.isDirty)){const t=d(o);if(t.length!==d(i).length)return void wr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(N(i[r])||o[r].length!==i[r].length)return void wr(e);const l=o[r],s=i[r];for(let t=0,n=i[r].length;t<n;t+=1)if(l[t]!==s[t])return void wr(e)}}}(t,r),e.aChildren=r,e.children=ie)}const Kn=new WeakMap;function Gn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Fn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}const zn=Symbol.iterator;function qn(e,t,n=ie){const r=sr();const{key:o}=t;return{type:2,sel:e,data:t,children:n,elm:undefined,key:o,owner:r}}function Un(e,t,n,r=ie){const o=sr(),{key:i}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:i,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){v.call(sr().velements,e)}(l),l}const Xn=new Map;let Yn=0;function Jn(e){var t;return t=e,Kn.set(t,1),e}let Qn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const Zn=i({s:function(e,t,n,r){N(r)||N(r[e])||0===r[e].length||(n=r[e]);const o=sr(),{renderMode:i,shadowMode:l}=o;return 0===i?(Jn(n),n):(1===l&&Jn(n),qn("slot",t,n))},h:qn,c:Un,i:function(e,t){const n=[];if(Jn(n),N(e)||null===e)return n;const r=e[zn]();let o=r.next(),i=0,{value:l,done:s}=o;for(;!1===s;){o=r.next(),s=o.done;const e=t(l,i,0===i,!0===s);h(e)?v.apply(n,e):v.call(n,e),i+=1,l=o.value}return n},f:function(e){const t=e.length,n=[];Jn(n);for(let r=0;r<t;r+=1){const t=e[r];h(t)?v.apply(n,t):v.call(n,t)}return n},t:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:sr()}},d:function(e){return null==e?"":String(e)},b:function(e){const t=sr();if(R(t))throw new Error;const n=t;return function(t){pr(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:undefined,owner:sr()}},dc:function(e,t,n,r=ie){if(null==t)return null;if(!En(t))throw new Error(`Invalid LWC Constructor ${j(t)} for custom element <${e}>.`);let o=Xn.get(t);return N(o)&&(o=Yn++,Xn.set(t,o)),Un(e,t,Object.assign(Object.assign({},n),{key:`dc:${o}:${n.key}`}),r)},ti:function(e){return e>0&&!(_(e)||D(e))?0:e},gid:function(e){const t=sr();if(N(e)||""===e)return e;if(R(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?$.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=sr();if(N(e)||""===e)return e;if(R(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return Qn(e)}});function er(e){return`${e}-host`}function tr(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let l=e[i];if(h(l))v.apply(r,tr(l,t,n));else{const e=l.$scoped$,i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,s=0===n.renderMode?!e:0===n.shadowMode;let a;1===n.renderMode?a=0===n.shadowMode:(N(o)&&(o=rr(n)),a=R(o)||0===o.shadowMode),v.call(r,l(i,s,a))}}return r}function nr(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return N(n)||0===n.length||(o=tr(n,r,e)),o}function rr(e){let t=e;for(;!R(t);){if(1===t.renderMode)return t;t=t.owner}return t}function or(e,t){const{renderMode:n,shadowMode:r}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)Ve(t[e]);else{if(ae||fe()){const e=y.call(t,"\n");return o=e,Zn.h("style",{key:"style",attrs:{type:"text/css"}},[Zn.t(o)])}{const n=function(e){const t=rr(e);return R(t)||1!==t.shadowMode?t:null}(e),r=R(n);for(let e=0;e<t.length;e++)r?Ve(t[e]):Ke(t[e],n.shadowRoot)}}var o;return null}let ir=!1,lr=null;function sr(){return lr}function ar(e){lr=e}function cr(e,t){const r=ir,o=lr;let i=[];return Vr(e,e.owner,(()=>{lr=e}),(()=>{const{component:r,context:o,cmpSlots:l,cmpTemplate:s,tro:a}=e;a.observe((()=>{if(t!==s){if(R(s)||Wr(e),a=t,!an.has(a))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${j(t)}.`);e.cmpTemplate=t,o.tplCache=n(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!N(t))for(let e=0;e<t.length;e++)if(_(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i}=e,{stylesheets:l,stylesheetToken:s}=t,a=1===o&&1===i,{hasScopedStyles:c}=r;let u,d,f;const{stylesheetToken:p,hasTokenInClass:h,hasTokenInAttribute:m}=r;N(p)||(h&&$e(n).remove(er(p)),m&&Me(n,er(p))),N(l)||0===l.length||(u=s),N(u)||(c&&($e(n).add(er(u)),d=!0),a&&(xe(n,er(u),""),f=!0)),r.stylesheetToken=u,r.hasTokenInClass=d,r.hasTokenInAttribute=f}(e,t);const r=nr(e,t);o.styleVNode=0===r.length?null:or(e,r)}var a;e.velements=[],ir=!0,i=t.call(void 0,Zn,r,l,o.tplCache);const{styleVNode:c}=o;R(c)||M.call(i,c)}))}),(()=>{ir=r,lr=o})),i}let ur=null;function dr(e){return ur===e}function fr(e,t,n){const{component:r,callHook:o,owner:i}=e;Vr(e,i,I,(()=>{o(r,t,n)}),I)}function pr(e,t,n,r){const{callHook:o,owner:i}=e;Vr(e,i,I,(()=>{o(n,t,[r])}),I)}const hr=new Map;function mr(e){return new Je((()=>{const{isDirty:t}=e;D(t)&&(wr(e),function(e){if(_(ae)||_(e.isScheduled))return;e.isScheduled=!0,0===Fr.length&&se(Lr);v.call(Fr,e)}(e))}))}function gr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=sr();let l,s=!1;return Vr(e,o,(()=>{ar(e)}),(()=>{e.tro.observe((()=>{l=n(r,t),s=!0}))}),(()=>{ar(i)})),s?cr(e,l):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function wr(e){e.isDirty=!0}const yr=new WeakMap;function br(e,t){if(!F(t))throw new TypeError;let n=yr.get(t);return N(n)&&(n=function(n){pr(e,t,void 0,n)},yr.set(t,n)),n}const vr=n(null),Cr=["rendered","connected","disconnected"];function Er(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let kr=0;const xr=new WeakMap;function Mr(e,t,n=[]){return t.apply(e,n)}function Sr(e,t,n){e[t]=n}function Tr(e,t){return e[t]}function Or(e){Dr(e)}function $r(e){const t=Rr(e);1===t.state&&function(e){Ar(Rr(e))}(e),Ir(t),Dr(t)}function Ar(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){D(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=vr;t&&Er(e,t);Hr(e)&&function(e){const{wiredDisconnecting:t}=e.context;Vr(e,e,I,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),I)}(e);const{disconnectedCallback:n}=e.def;N(n)||fr(e,n)}(e),jr(e),function(e){const{aChildren:t}=e;Br(t)}(e)}}function Pr(e,t,r){const{mode:o,owner:i,tagName:l}=r,s=kn(t),a={elm:e,def:s,idx:kr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:o,owner:i,children:ie,aChildren:ie,velements:ie,cmpProps:n(null),cmpFields:n(null),cmpSlots:n(null),oar:n(null),cmpTemplate:null,renderMode:s.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:oe,wiredConnecting:ie,wiredDisconnecting:ie},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:Mr,setHook:Sr,getHook:Tr};return a.shadowMode=function(e){const{def:t}=e;let n;if(ue)if(0===t.renderMode)n=0;else if(ce)if(ne.ENABLE_MIXED_SHADOW_MODE)if("any"===t.shadowSupportMode)n=0;else{const t=function(e){let t=e.owner;for(;!R(t)&&0===t.renderMode;)t=t.owner;return t}(e);n=R(t)||0!==t.shadowMode?1:0}else n=1;else n=1;else n=0;return n}(a),a.tro=mr(a),function(e,t){const n=ur;let r;ur=e;try{const o=new t;if(ur.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(ur=n,!N(r))throw tt(e,r),r}}(a,s.ctor),Hr(a)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],l=Kr.get(i);if(!N(l)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:s}=zr(e,t,l),a=l.dynamic.length>0;v.call(r,(()=>{n.connect(),ne.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),v.call(o,(()=>{n.disconnect(),s()}))}}}(a),a}function Nr(e,t){xr.set(e,t)}function Rr(e){return xr.get(e)}function _r(e){return xr.get(e)}function Dr(e){if(_(e.isDirty)){!function(e,t){const{renderRoot:n,children:r}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&Vr(e,e,(()=>{}),(()=>{An(r,t,n)}),(()=>{}));1===e.state&&function(e){const{def:{renderedCallback:t}}=e;if(_(ae))return;const{rendered:n}=vr;n&&Er(e,n);N(t)||fr(e,t)}(e)}(e,gr(e))}}let Fr=[];function Lr(){const e=Fr.sort(((e,t)=>e.idx-t.idx));Fr=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{Dr(r)}catch(r){throw t+1<n&&(0===Fr.length&&se(Lr),M.apply(Fr,k.call(e,t+1))),r}}}function Ir(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=vr;n&&Er(e,n),Hr(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;N(r)||fr(e,r)}function Hr(e){return s(e.def.wire).length>0}function jr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!N(n)){const e=_r(n);N(e)||Ar(e)}}}function Br(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!R(n)&&!N(n.elm))switch(n.type){case 2:Br(n.children);break;case 3:Ar(Rr(n.elm));break}}}function Wr(e){const{children:t,renderRoot:n}=e;for(let e=0,r=t.length;e<r;e++){const r=t[e];R(r)||N(r.elm)||he(r.elm,n)}e.children=ie,jr(e),e.velements=ie}function Vr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!N(i)){tt(e,i);const n=R(t)?void 0:function(e){let t=e;for(;!R(t);){if(!N(t.def.errorCallback))return t;t=t.owner}}(t);if(N(n))throw i;Wr(e);fr(n,n.def.errorCallback,[i,i.wcStack])}}}const Kr=new Map;class Gr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function zr(e,t,n){const{method:r,adapter:i,configCallback:l,dynamic:s}=n,a=N(r)?function(e,t){const{cmpFields:n}=e;return r=>{r!==e.cmpFields[t]&&(n[t]=r,Qe(e,t))}}(e,t):function(e,t){return n=>{Vr(e,e.owner,I,(()=>{t.call(e.component,n)}),I)}}(e,r);let c,u;o(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),o(a,"$$DeprecatedWiredParamsMetaKey$$",{value:s}),Vr(e,e,I,(()=>{u=new i(a)}),I);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=new Je((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),i()})))})),i=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:i,ro:o}}(e.component,l,(t=>{Vr(e,e,I,(()=>{u.update(t,c)}),I)}));return N(i.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Ur(r);if(N(o))return;const{elm:i,context:{wiredConnecting:l,wiredDisconnecting:s}}=e;v.call(l,(()=>{const e=new Gr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){v.call(s,e)}});Oe(i,e)}))}(e,n,(t=>{c!==t&&(c=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const qr=new Map;function Ur(e){return qr.get(e)}function Xr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Kr.set(e,o)}function Yr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Kr.set(e,o)}let Jr=!1;var Qr;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(Qr||(Qr={}));const Zr=/\s+/g;function eo(e){return new Set(e.split(Zr).filter((e=>e.length)))}function to(e){return Array.from(e).join(" ")}function no(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function ro(e){return{type:Qr.Element,name:e,parent:null,shadowRoot:null,children:[],attributes:[],eventListeners:{}}}const oo=n(null),io=new WeakMap;function lo(e,t,n=null){const r=e.attributes.find((e=>e.name===t&&e.namespace===n));return r?r.value:null}function so(e,t,n,r=null){const o=e.attributes.find((e=>e.name===t&&e.namespace===r));N(r)&&(r=null),N(o)?e.attributes.push({name:t,namespace:r,value:String(n)}):o.value=n}function ao(e,t,n){e.attributes=e.attributes.filter((e=>e.name!==t&&e.namespace!==n))}const co=I,uo=I,fo=I,po=I,ho=no("dispatchEvent"),mo=no("getBoundingClientRect"),go=no("querySelector"),wo=no("querySelectorAll"),yo=no("getElementsByTagName"),bo=no("getElementsByClassName"),vo=no("getChildren"),Co=no("getChildNodes"),Eo=no("getFirstChild"),ko=no("getFirstElementChild"),xo=no("getLastChild"),Mo=no("getLastElementChild");const So=class{constructor(){const{constructor:e}=this,t=io.get(e);if(!t)throw new TypeError("Invalid Construction");return ro(t)}};be=function(e,t){return e.shadowRoot={type:Qr.ShadowRoot,children:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e.shadowRoot},we=function(e){return{type:Qr.Comment,value:e,parent:null}},me=ro,ge=function(e){return{type:Qr.Text,value:String(e),parent:null}},Ge=function(e,t,n){!function(e,t){if(e!==P.call(e)||oo[e])throw new TypeError("Invalid Registration");oo[e]=t,io.set(t,e)}(e,t)},Oe=ho,ke=lo,Pe=mo,Le=Co,Fe=vo,$e=function(e){function t(){let t=e.attributes.find((e=>"class"===e.name&&R(e.namespace)));return N(t)&&(t={name:"class",namespace:null,value:""},e.attributes.push(t)),t}return{add(...e){const n=t(),r=eo(n.value);e.forEach((e=>r.add(e))),n.value=to(r)},remove(...e){const n=t(),r=eo(n.value);e.forEach((e=>r.delete(e))),n.value=to(r)}}},ze=function(e){return oo[e]},De=bo,_e=yo,Ie=Eo,He=ko,je=xo,Be=Mo,ve=function(e,t){var n,r;if(t in e)return e[t];if(e.type===Qr.Element){const o=ee(t);if(X(o,e.name))return null!==(n=lo(e,o))&&void 0!==n&&n;if(J(o)||G(o))return lo(e,o);if("input"===e.name&&"value"===t)return null!==(r=lo(e,"value"))&&void 0!==r?r:""}},function(e){de=e}(So),pe=function(e,t,n){if(null!==e.parent&&e.parent!==t){const t=e.parent.children.indexOf(e);e.parent.children.splice(t,1)}e.parent=t;const r=R(n)?-1:t.children.indexOf(n);-1===r?t.children.push(e):t.children.splice(r,0,e)},Ve=co,Ke=uo,We=function(e){return!R(e.parent)},fe=function(){return!1},ce=!1,ue=!1,ye=function(e){const{parent:t}=e;if(R(t))return null;const n=t.children.indexOf(e);return t.children[n+1]||null},Ne=go,Re=wo,he=function(e,t){const n=t.children.indexOf(e);t.children.splice(n,1)},Me=ao,Te=po,xe=so,Ae=function(e,t,n,r){const o=e.attributes.find((e=>"style"===e.name&&R(e.namespace))),i=`${t}: ${n}${r?" !important":""}`;N(o)?e.attributes.push({name:"style",namespace:null,value:i}):o.value+=`; ${i}`},Ce=function(e,t,n){if(t in e)return e[t]=n;if(e.type===Qr.Element){const r=ee(t);if("innerHTML"===t)return void(e.children=[{type:Qr.Raw,parent:e,value:n}]);if(X(r,e.name))return!0===n?so(e,r,""):ao(e,r);if(J(r)||G(r))return so(e,r,n);if("input"===e.name&&"value"===r)return R(n)||N(n)?ao(e,"value"):so(e,"value",n)}},Ee=function(e,t){e.type===Qr.Text?e.value=t:e.type===Qr.Element&&(e.children=[{type:Qr.Text,parent:e,value:t}])},ae=!0,Se=fo;const To={'"':"&quot;","'":"&#x27;","<":"&lt;",">":"&gt;","&":"&amp;"};function Oo(e){return e.replace(/["'<>&]/g,(e=>To[e]))}function $o(e){return e.map((e=>{switch(e.type){case Qr.Text:return""===e.value?"‍":Oo(e.value);case Qr.Comment:return`\x3c!--${Oo(e.value)}--\x3e`;case Qr.Raw:return e.value;case Qr.Element:return Ao(e)}})).join("")}function Ao(e){let t="";const{name:n}=e,r=e.attributes.length?` ${o=e.attributes,o.map((e=>e.value.length?`${e.name}=${JSON.stringify(Oo(e.value))}`:e.name)).join(" ")}`:"";var o;const i=$o(e.children);return t+=`<${n}${r}>`,e.shadowRoot&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${$o(e.children)}</template>`}(e.shadowRoot)),t+=i,function(e){return q.has(e)}(n)||(t+=`</${n}>`),t}const Po={type:Qr.Element,name:"fake-root-element",parent:null,shadowRoot:null,children:[],attributes:[],eventListeners:{}};i(Gt),f(Gt.prototype),exports.LightningElement=Gt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=Ur(e);if(!N(t))throw new Error("Adapter already has a context provider.");t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),function(e,t){qr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{N(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},exports.getComponentDef=function(e){const t=kn(e),{ctor:n,name:r,props:o,propsConfig:i,methods:l}=t,s={};for(const e in o)s[e]={config:i[e]||0,type:"any",attr:ee(e)};const a={};for(const e in l)a[e]=l[e].value;return{ctor:n,name:r,props:s,methods:a}},exports.isComponentConstructor=En,exports.readonly=function(e){return Vt.getReadOnlyProxy(e)},exports.register=function(e){for(let t=0;t<Cr.length;++t){const n=Cr[t];if(n in e){let t=vr[n];N(t)&&(vr[n]=t=[]),v.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return hr.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:i,publicMethods:s,wire:a,track:c,fields:u}=t,d=n(null),f=n(null),p=n(null),h=n(null),m=n(null),g=n(null);let w;if(!N(i))for(const e in i){const t=i[e];if(g[e]=t.config,w=l(r,e),t.config>0){if(N(w))throw new Error;w=rn(e,w)}else w=N(w)||N(w.get)?tn(e):rn(e,w);f[e]=w,o(r,e,w)}if(N(s)||S.call(s,(e=>{if(w=l(r,e),N(w))throw new Error;d[e]=w})),!N(a))for(const e in a){const{adapter:t,method:n,config:i,dynamic:s=[]}=a[e];if(w=l(r,e),1===n){if(N(w))throw new Error;p[e]=w,Xr(w,t,i,s)}else w=Zt(e),h[e]=w,Yr(w,t,i,s),o(r,e,w)}if(!N(c))for(const e in c)w=l(r,e),w=en(e),o(r,e,w);if(!N(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(r,t);const n=!N(i)&&t in i,o=!N(c)&&t in c;n||o||(m[t]=on(t))}return function(e,t){ln.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return an.add(e),e},exports.renderComponent=function(e,t,n={}){if(!L(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!F(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||R(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=ro(e);Pr(r,t,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r.parent=Po,$r(r),Ao(r)},exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(N(te[e])){const n=d(te).map((e=>`"${e}"`)).join(", ");console.warn(`Failed to set the value "${t}" for the runtime feature flag "${e}" because it is undefined. Available flags: ${n}.`)}else{const n=ne[e];if(!N(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);o(ne,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},exports.setFeatureFlagForTest=function(e,t){},exports.setHooks=function(t){var n;e.isFalse(Jr,"Hooks are already overridden, only one definition is allowed."),Jr=!0,n=t.sanitizeHtmlContent,Qn=n},exports.track=function(e){if(1===arguments.length)return Vt.getProxy(e);throw new Error},exports.unwrap=function(e){return Vt.unwrapProxy(e)},exports.wire=function(e,t){throw new Error};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:t,create:n,defineProperties:r,defineProperty:o,freeze:i,getOwnPropertyDescriptor:s,getOwnPropertyNames:l,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:d,seal:f,setPrototypeOf:p}=Object,{isArray:h}=Array,{filter:m,find:g,indexOf:w,join:y,map:b,push:v,reduce:C,reverse:E,slice:k,splice:x,unshift:M,forEach:S}=Array.prototype,{fromCharCode:T}=String,{charCodeAt:O,replace:A,slice:$,toLowerCase:P}=String.prototype;function N(e){return void 0===e}function R(e){return null===e}function _(e){return!0===e}function D(e){return!1===e}function F(e){return"function"==typeof e}function L(e){return"string"==typeof e}function I(){}const H={}.toString;function j(e){return e&&e.toString?h(e)?y.call(b.call(e,j),","):e.toString():"object"==typeof e?H.call(e):e+""}function B(e,t){do{const n=s(e,t);if(!N(n))return n;e=a(e)}while(null!==e)}const W=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:V,AriaPropNameToAttrNameMap:K}=(()=>{const e=n(null),t=n(null);return S.call(W,(n=>{const r=P.call(A.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function G(e){return e in V}const z=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),q=new Set(["area","base","br","circle","col","ellipse","feBlend","feColorMatrix","feFuncR","feFuncG","feFuncB","feFuncA","feImage","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","fePointLight","embed","hr","img","input","keygen","line","link","menuitem","meta","param","path","rect","source","track","wbr"]);const U=new Map([["autofocus",new Set(["button","input","keygen","select","textarea"])],["autoplay",new Set(["audio","video"])],["checked",new Set(["command","input"])],["disabled",new Set(["button","command","fieldset","input","keygen","optgroup","select","textarea"])],["formnovalidate",new Set(["button"])],["hidden",new Set],["loop",new Set(["audio","bgsound","marquee","video"])],["multiple",new Set(["input","select"])],["muted",new Set(["audio","video"])],["novalidate",new Set(["form"])],["open",new Set(["details"])],["readonly",new Set(["input","textarea"])],["required",new Set(["input","select","textarea"])],["reversed",new Set(["ol"])],["selected",new Set(["option"])]]);function X(e,t){const n=U.get(e);return void 0!==n&&(0===n.size||n.has(t))}const Y=new Set(["role","accesskey","class","contenteditable","contextmenu","dir","draggable","dropzone","hidden","id","itemprop","lang","slot","spellcheck","style","tabindex","title"]);function J(e){return Y.has(e)}const Q=new Map([["accessKey","accesskey"],["readOnly","readonly"],["tabIndex","tabindex"],["bgColor","bgcolor"],["colSpan","colspan"],["rowSpan","rowspan"],["contentEditable","contenteditable"],["crossOrigin","crossorigin"],["dateTime","datetime"],["formAction","formaction"],["isMap","ismap"],["maxLength","maxlength"],["minLength","minlength"],["noValidate","novalidate"],["useMap","usemap"],["htmlFor","for"]]),Z=new Map;function ee(e){const t=K[e];if(!N(t))return t;const n=Q.get(e);if(!N(n))return n;const r=Z.get(e);if(!N(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=O.call(e,t);o+=n>=65&&n<=90?"-"+T(n+32):T(n)}return Z.set(e,o),o}if("function"!=typeof Event){class e{}o(z,"Event",{value:e,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class e extends Event{}o(z,"CustomEvent",{value:e,configurable:!0,writable:!0})}const te={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};z.lwcRuntimeFlags||Object.defineProperty(z,"lwcRuntimeFlags",{value:n(null)});const ne=z.lwcRuntimeFlags;let re=[];const oe=f(n(null)),ie=f([]);function se(){const e=re;re=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function le(e){0===re.length&&Promise.resolve().then(se),v.call(re,e)}let ae,ce,ue,de,fe,pe,he,me,ge,we,ye,be,ve,Ce,Ee,ke,xe,Me,Se,Te,Oe,Ae,$e,Pe,Ne,Re,_e,De,Fe,Le,Ie,He,je,Be,We,Ve,Ke,Ge,ze;const qe=new WeakMap;let Ue=null;function Xe(e,t){const n=qe.get(e);if(!N(n)){const e=n[t];if(!N(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Ye(e,t){if(null===Ue)return;const r=Ue,o=function(e){let t=qe.get(e);if(N(t)){const r=n(null);t=r,qe.set(e,r)}return t}(e);let i=o[t];if(N(i))i=[],o[t]=i;else if(i[0]===r)return;-1===w.call(i,r)&&r.link(i)}class Je{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=Ue;let n;Ue=this;try{e()}catch(e){n=Object(e)}finally{if(Ue=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],r=w.call(e[n],this);x.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){v.call(e,this),v.call(this.listeners,e)}}function Qe(e,t){Xe(e.component,t)}function Ze(e,t){Ye(e.component,t)}function et(e){return`<${P.call(e.tagName)}>`}function tt(e,t){if(!u(t)&&N(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!R(n);)v.call(t,et(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}const nt="undefined"!=typeof HTMLElement?HTMLElement:function(){},rt=nt.prototype;function ot(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}t(n(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:ot("offsetHeight")},offsetLeft:{readOnly:!0,error:ot("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:ot("offsetTop")},offsetWidth:{readOnly:!0,error:ot("offsetWidth")},role:{attribute:"role"}});let it,st=null;function lt(e,t){return e!==st||t!==it}function at(e,t){st=null,it=void 0}function ct(e,t){st=e,it=t}const ut=n(null);S.call(d(K),(e=>{const t=B(rt,e);N(t)||(ut[e]=t)})),S.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=B(rt,e);N(t)||(ut[e]=t)}));const{isArray:dt}=Array,{prototype:ft,getPrototypeOf:pt,create:ht,defineProperty:mt,isExtensible:gt,getOwnPropertyDescriptor:wt,getOwnPropertyNames:yt,getOwnPropertySymbols:bt,preventExtensions:vt,hasOwnProperty:Ct}=Object,{push:Et,concat:kt}=Array.prototype;function xt(e){return void 0===e}function Mt(e){return"function"==typeof e}const St=new WeakMap;function Tt(e,t){St.set(e,t)}const Ot=e=>St.get(e)||e;class At{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(Ct.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;xt(n)||(e.get=this.wrapGetter(n)),xt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=wt(n,t);if(!xt(r)){const n=this.wrapDescriptor(r);mt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;kt.call(yt(t),bt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;xt(n)||Ct.call(e,n)||mt(e,n,ht(null)),vt(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:r}}=this,o=n[t];return r(n,t),this.wrapValue(o)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:r,valueObserved:o}}=this;return o(n,t),t in n||t===r}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,r=xt(n)||Ct.call(t,n)?[]:[n];return Et.apply(r,yt(t)),Et.apply(r,bt(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!gt(e)&&(!!gt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return pt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=wt(n,t);if(xt(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},mt(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const $t=new WeakMap,Pt=new WeakMap,Nt=new WeakMap,Rt=new WeakMap;class _t extends At{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=$t.get(e);if(!xt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Ot(this)))};return $t.set(e,r),Nt.set(r,e),r}wrapSetter(e){const t=Pt.get(e);if(!xt(t))return t;const n=function(t){e.call(Ot(this),Ot(t))};return Pt.set(e,n),Rt.set(n,e),n}unwrapDescriptor(e){if(Ct.call(e,"value"))e.value=Ot(e.value);else{const{set:t,get:n}=e;xt(n)||(e.get=this.unwrapGetter(n)),xt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Nt.get(e);if(!xt(t))return t;const n=this,r=function(){return Ot(e.call(n.wrapValue(this)))};return $t.set(r,e),Nt.set(e,r),r}unwrapSetter(e){const t=Rt.get(e);if(!xt(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Pt.set(r,e),Rt.set(e,r),r}set(e,t,n){const{originalTarget:r,membrane:{valueMutated:o}}=this;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&dt(r)&&o(r,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:r}}=this;return delete n[t],r(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(gt(e)){const{originalTarget:t}=this;if(vt(t),gt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!Ct.call(r,t)||(mt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const Dt=new WeakMap,Ft=new WeakMap;class Lt extends At{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=Dt.get(e);if(!xt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Ot(this)))};return Dt.set(e,r),r}wrapSetter(e){const t=Ft.get(e);if(!xt(t))return t;const n=function(e){};return Ft.set(e,n),n}set(e,t,n){return!1}deleteProperty(e,t){return!1}setPrototypeOf(e,t){}preventExtensions(e){return!1}defineProperty(e,t,n){return!1}}function It(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(dt(e))return!0;const t=pt(e);return t===ft||null===t||null===pt(t)}const Ht=(e,t)=>{},jt=(e,t)=>{};function Bt(e){return dt(e)?[]:{}}const Wt=Symbol.for("@@lockerLiveValue"),Vt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=Mt(t)?t:jt,this.valueObserved=Mt(n)?n:Ht,this.valueIsObservable=Mt(r)?r:It,this.tagPropertyKey=o}getProxy(e){const t=Ot(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Ot(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Ot(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(xt(t)){const n=new _t(this,e);t=new Proxy(Bt(e),n),Tt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(xt(t)){const n=new Lt(this,e);t=new Proxy(Bt(e),n),Tt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Ye,valueMutated:Xe,tagPropertyKey:Wt});function Kt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!F(n))throw new TypeError;if(!F(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=Rr(this);if(!dr(t))return Ze(t,e),n.call(t.elm)},set(t){const n=Rr(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,Qe(n,e)),r.call(n.elm,t)}}}const Gt=function(){if(R(ur))throw new ReferenceError("Illegal constructor");const e=ur,{def:t,elm:n}=e,{bridge:r}=t,o=this;if(p(n,r.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return this[Wt]=void 0,Nr(o,e),Nr(n,e),1===e.renderMode?e.renderRoot=zt(e):e.renderRoot=n,this};function zt(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o}}=e,i=be(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=i,Nr(i,e),i}Gt.prototype={constructor:Gt,dispatchEvent(e){const{elm:t}=Rr(this);return Oe(t,e)},addEventListener(e,t,n){const r=Rr(this),{elm:o}=r,i=br(r,t);Se(o,e,i,n)},removeEventListener(e,t,n){const r=Rr(this),{elm:o}=r,i=br(r,t);Te(o,e,i,n)},hasAttribute(e){const{elm:t}=Rr(this);return!R(ke(t,e))},hasAttributeNS(e,t){const{elm:n}=Rr(this);return!R(ke(n,t,e))},removeAttribute(e){const{elm:t}=Rr(this);ct(t,e),Me(t,e),at()},removeAttributeNS(e,t){const{elm:n}=Rr(this);ct(n,t),Me(n,t,e),at()},getAttribute(e){const{elm:t}=Rr(this);return ke(t,e)},getAttributeNS(e,t){const{elm:n}=Rr(this);return ke(n,t,e)},setAttribute(e,t){const n=Rr(this),{elm:r}=n;ct(r,e),xe(r,e,t),at()},setAttributeNS(e,t,n){const r=Rr(this),{elm:o}=r;ct(o,t),xe(o,t,n,e),at()},getBoundingClientRect(){const e=Rr(this),{elm:t}=e;return Pe(t)},get isConnected(){const{elm:e}=Rr(this);return We(e)},get classList(){const e=Rr(this),{elm:t}=e;return Ae(t)},get template(){return Rr(this).shadowRoot},get shadowRoot(){return null},render(){return Rr(this).def.template},toString(){return`[object ${Rr(this).def.name}]`}};const qt=n(null),Ut=["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild"];function Xt(e){switch(e){case"children":return Fe;case"childNodes":return Le;case"firstChild":return Ie;case"firstElementChild":return He;case"lastChild":return je;case"lastElementChild":return Be}}for(const e of Ut)qt[e]={get(){const t=Rr(this),{elm:n}=t;return Xt(e)(n)},configurable:!0,enumerable:!0};const Yt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];function Jt(e){switch(e){case"getElementsByClassName":return De;case"getElementsByTagName":return _e;case"querySelector":return Ne;case"querySelectorAll":return Re}}for(const e of Yt)qt[e]={value(t){const n=Rr(this),{elm:r}=n;return Jt(e)(r,t)},configurable:!0,enumerable:!0,writable:!0};r(Gt.prototype,qt);const Qt=n(null);for(const e in ut)Qt[e]=Kt(e,ut[e]);function Zt(e){return{get(){const t=Rr(this);return Ze(t,e),t.cmpFields[e]},set(t){const n=Rr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,Qe(n,e))},enumerable:!0,configurable:!0}}function en(e){return{get(){const t=Rr(this);return Ze(t,e),t.cmpFields[e]},set(t){const n=Rr(this),r=Vt.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,Qe(n,e))},enumerable:!0,configurable:!0}}function tn(e){return{get(){const t=Rr(this);if(!dr(t))return Ze(t,e),t.cmpProps[e]},set(t){const n=Rr(this);n.cmpProps[e]=t,Qe(n,e)},enumerable:!0,configurable:!0}}r(Gt.prototype,Qt),o(Gt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class nn extends Je{constructor(e,t){super((()=>{D(this.debouncing)&&(this.debouncing=!0,le((()=>{if(_(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,_(e.isDirty)&&D(r)&&i>0&&Or(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function rn(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!F(n))throw new Error;return{get(){return n.call(this)},set(t){const n=Rr(this);if(r)if(ne.ENABLE_REACTIVE_SETTER){let o=n.oar[e];N(o)&&(o=n.oar[e]=new nn(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function on(e){return{get(){const t=Rr(this);return Ze(t,e),t.cmpFields[e]},set(t){const n=Rr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,Qe(n,e))},enumerable:!0,configurable:!0}}const sn=new Map;const ln={apiMethods:oe,apiFields:oe,apiFieldsConfig:oe,wiredMethods:oe,wiredFields:oe,observedFields:oe};const an=new Set;function cn(){return[]}an.add(cn);const un=n(null),dn=n(null);function fn(e){let t=un[e];return N(t)&&(t=un[e]=function(){const t=Rr(this),{getHook:n}=t;return n(t.component,e)}),t}function pn(e){let t=dn[e];return N(t)&&(t=dn[e]=function(t){const n=Rr(this),{setHook:r}=n;t=Vt.getReadOnlyProxy(t),r(n.component,e,t)}),t}function hn(e){return function(){const t=Rr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,k.call(arguments))}}function mn(e,t){return function(n,r,o){if(r===o)return;const i=e[n];N(i)?N(t)||t.apply(this,arguments):lt(this,n)&&(this[i]=o)}}function gn(e,t,i){let s;F(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),o(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=n(null),{attributeChangedCallback:a}=e.prototype,{observedAttributes:c=[]}=e,u=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[ee(n)]=n,u[n]={get:fn(n),set:pn(n),enumerable:!0,configurable:!0}}for(let e=0,t=i.length;e<t;e+=1){const t=i[e];u[t]={value:hn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:mn(l,a)},o(s,"observedAttributes",{get:()=>[...c,...d(l)]}),r(s.prototype,u),s}const wn=gn(nt,l(ut),[]);function yn(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function bn(e){return F(e)&&c.call(e,"__circular__")}i(wn),f(wn.prototype);const vn=new WeakMap;function Cn(e){const{shadowSupportMode:o,renderMode:i}=e,s=function(e){const t=sn.get(e);return N(t)?ln:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:f,wiredMethods:p,observedFields:h}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const C=function(e){let t=a(e);if(R(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(bn(t)){const e=yn(t);t=e===t?Gt:e}return t}(e),E=C!==Gt?kn(C):xn,k=gn(E.bridge,d(l),d(u)),x=t(n(null),E.props,l),M=t(n(null),E.propsConfig,c),S=t(n(null),E.methods,u),T=t(n(null),E.wire,f,p);g=g||E.connectedCallback,w=w||E.disconnectedCallback,y=y||E.renderedCallback,b=b||E.errorCallback,v=v||E.render;let O=E.shadowSupportMode;N(o)||(O=o);let A=E.renderMode;N(i)||(A="light"===i?0:1);const $=function(e){return hr.get(e)}(e)||E.template,P=e.name||E.name;r(m,h);return{ctor:e,name:P,wire:T,props:x,propsConfig:M,methods:S,bridge:k,template:$,renderMode:A,shadowSupportMode:O,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function En(e){if(!F(e))return!1;if(e.prototype instanceof Gt)return!0;let t=e;do{if(bn(t)){const e=yn(t);if(e===t)return!0;t=e}if(t===Gt)return!0}while(!R(t)&&(t=a(t)));return!1}function kn(e){let t=vn.get(e);if(N(t)){if(bn(e)){return t=kn(yn(e)),vn.set(e,t),t}if(!En(e))throw new TypeError(`${e} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);t=Cn(e),vn.set(e,t)}return t}const xn={ctor:Gt,name:Gt.name,props:Qt,propsConfig:oe,methods:oe,renderMode:1,shadowSupportMode:"reset",wire:oe,bridge:wn,template:cn,render:Gt.prototype.render};function Mn(e){const{type:t}=e;return 2===t||3===t}function Sn(e,t){return e.key===t.key&&e.sel===t.sel}function Tn(e,t){return"input"===e&&("value"===t||"checked"===t)}const On=n(null);function An(e){if(null==e)return oe;e=L(e)?e:e+"";let t=On[e];if(t)return t;t=n(null);let r,o=0;const i=e.length;for(r=0;r<i;r++)32===O.call(e,r)&&(r>o&&(t[$.call(e,o,r)]=!0),o=r+1);return r>o&&(t[$.call(e,o,r)]=!0),On[e]=t,t}function $n(e,t,n){var r;r=t,Kn.has(r)?function(e,t,n){let r=0,o=0,i=e.length-1,s=e[0],l=e[i];const a=t.length-1;let c,u,d,f,p=a,h=t[0],m=t[p],g=!1;for(;r<=i&&o<=p;)Fn(s)?Fn(l)?Fn(h)?Fn(m)?Sn(s,h)?(Pn(s,h),s=e[++r],h=t[++o]):Sn(l,m)?(Pn(l,m),l=e[--i],m=t[--p]):Sn(s,m)?(Pn(s,m),Bn(s.elm,n,ye(l.elm)),s=e[++r],m=t[--p]):Sn(l,h)?(Pn(l,h),Bn(h.elm,n,s.elm),l=e[--i],h=t[++o]):(void 0===c&&(c=Gn(e,r,i)),u=c[h.key],N(u)?(Nn(h,n,s.elm),h=t[++o]):(d=e[u],Fn(d)&&(d.sel!==h.sel?Nn(h,n,s.elm):(Pn(d,h),g||(g=!0,e=[...e]),e[u]=void 0,Bn(d.elm,n,s.elm))),h=t[++o])):m=t[--p]:h=t[++o]:l=e[--i]:s=e[++r];if(r<=i||o<=p)if(r>i){let e,r=p;do{e=t[++r]}while(!Fn(e)&&r<a);f=Fn(e)?e.elm:null,Rn(t,n,f,o,p+1)}else Dn(e,n,!0,r,i+1)}(e,t,n):function(e,t,n){const r=e.length,o=t.length;if(0===r)return void Rn(t,n,null);if(0===o)return void Dn(e,n,!0);let i=null;for(let r=o-1;r>=0;r-=1){const o=e[r],s=t[r];s!==o&&(Fn(o)?Fn(s)?(Pn(o,s),i=s.elm):_n(o,n,!0):Fn(s)&&(Nn(s,n,i),i=s.elm))}}(e,t,n)}function Pn(e,t){if(e!==t)switch(t.type){case 0:case 1:!function(e,t){t.elm=e.elm,t.text!==e.text&&jn(t)}(e,t);break;case 2:!function(e,t){const n=t.elm=e.elm;Wn(e,t),$n(e.children,t.children,n)}(e,t);break;case 3:!function(e,t){const n=t.elm=e.elm,r=t.vm=e.vm;Wn(e,t),N(r)||Vn(t,r);$n(e.children,t.children,n),N(r)||Or(r)}(e,t)}}function Nn(e,t,n){switch(e.type){case 0:!function(e,t,n){const{owner:r}=e,o=e.elm=ge(e.text);Hn(o,r),Bn(o,t,n)}(e,t,n);break;case 1:!function(e,t,n){const{owner:r}=e,o=e.elm=we(e.text);Hn(o,r),Bn(o,t,n)}(e,t,n);break;case 2:!function(e,t,n){const{sel:r,owner:o,data:{svg:i}}=e,s=_(i)?"http://www.w3.org/2000/svg":void 0,l=me(r,s);Hn(l,o),function(e,t){const{owner:n}=t;if(In(e,n),1===n.shadowMode){const{data:{context:r}}=t,{stylesheetToken:o}=n.context;N(r)||N(r.lwc)||"manual"!==r.lwc.dom||function(e){e.$domManual$=!0}(e),N(o)||Ln(e,o)}}(l,e),e.elm=l,Wn(null,e),Bn(l,t,n),Rn(e.children,l,null)}(e,t,n);break;case 3:!function(e,t,n){const{sel:r,owner:o}=e,i=function(e){e=e.toLowerCase();let t=ze(e);return N(t)?(t=class extends de{constructor(e){super(),F(e)&&e(this)}},Ge(e,t),t):t}(r);let s;const l=new i((t=>{s=function(e,t){let n=_r(e);if(!N(n))return n;const{sel:r,mode:o,ctor:i,owner:s}=t;if(In(e,s),1===s.shadowMode){const{stylesheetToken:t}=s.context;N(t)||Ln(e,t)}return n=Pr(e,i,{mode:o,owner:s,tagName:r}),n}(t,e)}));if(Hn(l,o),e.elm=l,e.vm=s,s)Vn(e,s);else if(e.ctor!==i)throw new TypeError("Incorrect Component Constructor");Wn(null,e),Bn(l,t,n),s&&Ir(s);Rn(e.children,l,null),s&&function(e){Dr(e)}(s)}(e,t,n)}}function Rn(e,t,n,r=0,o=e.length){for(;r<o;++r){const o=e[r];Fn(o)&&Nn(o,t,n)}}function _n(e,t,n=!1){const{type:r,elm:o}=e;switch(n&&function(e,t){he(e,t)}(o,t),r){case 2:Dn(e.children,o);break;case 3:{const{vm:t}=e;N(t)||function(e){$r(e)}(t)}}}function Dn(e,t,n=!1,r=0,o=e.length){for(;r<o;++r){const o=e[r];Fn(o)&&_n(o,t,n)}}function Fn(e){return null!=e}function Ln(e,t){e.$shadowToken$=t}function In(e,t){const{cmpTemplate:n,context:r}=t,o=null==n?void 0:n.stylesheetToken;!N(o)&&r.hasScopedStyles&&Ae(e).add(o)}function Hn(e,t){const{renderRoot:n,renderMode:r,shadowMode:o}=t;ue&&(1!==o&&0!==r||(e.$shadowResolver$=n.$shadowResolver$))}function jn(e){const{elm:t,text:n}=e;Ee(t,n)}function Bn(e,t,n){pe(e,t,n)}function Wn(e,t){R(e)&&(function(e){const{elm:t,data:{on:n}}=e;if(!N(n))for(const e in n){const r=n[e];Se(t,e,r)}}(t),function(e){const{elm:t,data:{classMap:n}}=e;if(N(n))return;const r=Ae(t);for(const e in n)r.add(e)}(t),function(e){const{elm:t,data:{styleDecls:n}}=e;if(!N(n))for(let e=0;e<n.length;e++){const[r,o,i]=n[e];$e(t,r,o,i)}}(t)),function(e,t){const{elm:n,data:{className:r}}=t,o=R(e)?void 0:e.data.className;if(o===r)return;const i=Ae(n),s=An(r),l=An(o);let a;for(a in l)N(s[a])&&i.remove(a);for(a in s)N(l[a])&&i.add(a)}(e,t),function(e,t){const{elm:n,data:{style:r}}=t;(R(e)?void 0:e.data.style)!==r&&(L(r)&&""!==r?xe(n,"style",r):Me(n,"style"))}(e,t),function(e,t){const{attrs:n}=t.data;if(N(n))return;const r=R(e)?oe:e.data.attrs;if(r===n)return;const{elm:o}=t;for(const e in n){const t=n[e];r[e]!==t&&(ct(o,e),58===O.call(e,3)?xe(o,e,t,"http://www.w3.org/XML/1998/namespace"):58===O.call(e,5)?xe(o,e,t,"http://www.w3.org/1999/xlink"):R(t)||N(t)?Me(o,e):xe(o,e,t),at())}}(e,t),function(e,t){const{props:n}=t.data;if(N(n))return;const r=R(e)?oe:e.data.props;if(r===n)return;const o=R(e),{elm:i,sel:s}=t;for(const e in n){const t=n[e];(o||t!==(Tn(s,e)?ve(i,e):r[e]))&&Ce(i,e,t)}}(e,t)}function Vn(e,t){const r=e.aChildren||e.children;t.aChildren=r;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t){var r;const{cmpSlots:o}=e,i=e.cmpSlots=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(R(n))continue;let o="";Mn(n)&&(o=(null===(r=n.data.attrs)||void 0===r?void 0:r.slot)||"");const s=i[o]=i[o]||[];N(n.key)||(n.key=`@${o}:${n.key}`),v.call(s,n)}if(D(e.isDirty)){const t=d(o);if(t.length!==d(i).length)return void wr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(N(i[r])||o[r].length!==i[r].length)return void wr(e);const s=o[r],l=i[r];for(let t=0,n=i[r].length;t<n;t+=1)if(s[t]!==l[t])return void wr(e)}}}(t,r),e.aChildren=r,e.children=ie)}const Kn=new WeakMap;function Gn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Fn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}const zn=Symbol.iterator;function qn(e,t,n=ie){const r=lr();const{key:o}=t;return{type:2,sel:e,data:t,children:n,elm:undefined,key:o,owner:r}}function Un(e,t,n,r=ie){const o=lr(),{key:i}=n;const s={type:3,sel:e,data:n,children:r,elm:undefined,key:i,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){v.call(lr().velements,e)}(s),s}const Xn=new Map;let Yn=0;function Jn(e){var t;return t=e,Kn.set(t,1),e}let Qn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const Zn=i({s:function(e,t,n,r){N(r)||N(r[e])||0===r[e].length||(n=r[e]);const o=lr(),{renderMode:i,shadowMode:s}=o;return 0===i?(Jn(n),n):(1===s&&Jn(n),qn("slot",t,n))},h:qn,c:Un,i:function(e,t){const n=[];if(Jn(n),N(e)||null===e)return n;const r=e[zn]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);h(e)?v.apply(n,e):v.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];Jn(n);for(let r=0;r<t;r+=1){const t=e[r];h(t)?v.apply(n,t):v.call(n,t)}return n},t:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:lr()}},d:function(e){return null==e?"":String(e)},b:function(e){const t=lr();if(R(t))throw new Error;const n=t;return function(t){pr(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:undefined,owner:lr()}},dc:function(e,t,n,r=ie){if(null==t)return null;if(!En(t))throw new Error(`Invalid LWC Constructor ${j(t)} for custom element <${e}>.`);let o=Xn.get(t);return N(o)&&(o=Yn++,Xn.set(t,o)),Un(e,t,Object.assign(Object.assign({},n),{key:`dc:${o}:${n.key}`}),r)},ti:function(e){return e>0&&!(_(e)||D(e))?0:e},gid:function(e){const t=lr();if(N(e)||""===e)return e;if(R(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?A.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=lr();if(N(e)||""===e)return e;if(R(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return Qn(e)}});function er(e){return`${e}-host`}function tr(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(h(s))v.apply(r,tr(s,t,n));else{const e=s.$scoped$,i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let a;1===n.renderMode?a=0===n.shadowMode:(N(o)&&(o=rr(n)),a=R(o)||0===o.shadowMode),v.call(r,s(i,l,a))}}return r}function nr(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return N(n)||0===n.length||(o=tr(n,r,e)),o}function rr(e){let t=e;for(;!R(t);){if(1===t.renderMode)return t;t=t.owner}return t}function or(e,t){const{renderMode:n,shadowMode:r}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)Ve(t[e]);else{if(ae||fe()){const e=y.call(t,"\n");return o=e,Zn.h("style",{key:"style",attrs:{type:"text/css"}},[Zn.t(o)])}{const n=function(e){const t=rr(e);return R(t)||1!==t.shadowMode?t:null}(e),r=R(n);for(let e=0;e<t.length;e++)r?Ve(t[e]):Ke(t[e],n.shadowRoot)}}var o;return null}let ir=!1,sr=null;function lr(){return sr}function ar(e){sr=e}function cr(e,t){const r=ir,o=sr;let i=[];return Vr(e,e.owner,(()=>{sr=e}),(()=>{const{component:r,context:o,cmpSlots:s,cmpTemplate:l,tro:a}=e;a.observe((()=>{if(t!==l){if(R(l)||Wr(e),a=t,!an.has(a))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${j(t)}.`);e.cmpTemplate=t,o.tplCache=n(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!N(t))for(let e=0;e<t.length;e++)if(_(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i}=e,{stylesheets:s,stylesheetToken:l}=t,a=1===o&&1===i,{hasScopedStyles:c}=r;let u,d,f;const{stylesheetToken:p,hasTokenInClass:h,hasTokenInAttribute:m}=r;N(p)||(h&&Ae(n).remove(er(p)),m&&Me(n,er(p))),N(s)||0===s.length||(u=l),N(u)||(c&&(Ae(n).add(er(u)),d=!0),a&&(xe(n,er(u),""),f=!0)),r.stylesheetToken=u,r.hasTokenInClass=d,r.hasTokenInAttribute=f}(e,t);const r=nr(e,t);o.styleVNode=0===r.length?null:or(e,r)}var a;e.velements=[],ir=!0,i=t.call(void 0,Zn,r,s,o.tplCache);const{styleVNode:c}=o;R(c)||M.call(i,c)}))}),(()=>{ir=r,sr=o})),i}let ur=null;function dr(e){return ur===e}function fr(e,t,n){const{component:r,callHook:o,owner:i}=e;Vr(e,i,I,(()=>{o(r,t,n)}),I)}function pr(e,t,n,r){const{callHook:o,owner:i}=e;Vr(e,i,I,(()=>{o(n,t,[r])}),I)}const hr=new Map;function mr(e){return new Je((()=>{const{isDirty:t}=e;D(t)&&(wr(e),function(e){if(_(ae)||_(e.isScheduled))return;e.isScheduled=!0,0===Fr.length&&le(Lr);v.call(Fr,e)}(e))}))}function gr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=lr();let s,l=!1;return Vr(e,o,(()=>{ar(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{ar(i)})),l?cr(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function wr(e){e.isDirty=!0}const yr=new WeakMap;function br(e,t){if(!F(t))throw new TypeError;let n=yr.get(t);return N(n)&&(n=function(n){pr(e,t,void 0,n)},yr.set(t,n)),n}const vr=n(null),Cr=["rendered","connected","disconnected"];function Er(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let kr=0;const xr=new WeakMap;function Mr(e,t,n=[]){return t.apply(e,n)}function Sr(e,t,n){e[t]=n}function Tr(e,t){return e[t]}function Or(e){Dr(e)}function Ar(e){const t=Rr(e);1===t.state&&function(e){$r(Rr(e))}(e),Ir(t),Dr(t)}function $r(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){D(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=vr;t&&Er(e,t);Hr(e)&&function(e){const{wiredDisconnecting:t}=e.context;Vr(e,e,I,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),I)}(e);const{disconnectedCallback:n}=e.def;N(n)||fr(e,n)}(e),jr(e),function(e){const{aChildren:t}=e;Br(t)}(e)}}function Pr(e,t,r){const{mode:o,owner:i,tagName:s}=r,l=kn(t),a={elm:e,def:l,idx:kr++,state:0,isScheduled:!1,isDirty:!0,tagName:s,mode:o,owner:i,children:ie,aChildren:ie,velements:ie,cmpProps:n(null),cmpFields:n(null),cmpSlots:n(null),oar:n(null),cmpTemplate:null,renderMode:l.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:oe,wiredConnecting:ie,wiredDisconnecting:ie},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:Mr,setHook:Sr,getHook:Tr};return a.shadowMode=function(e){const{def:t}=e;let n;if(ue)if(0===t.renderMode)n=0;else if(ce)if(ne.ENABLE_MIXED_SHADOW_MODE)if("any"===t.shadowSupportMode)n=0;else{const t=function(e){let t=e.owner;for(;!R(t)&&0===t.renderMode;)t=t.owner;return t}(e);n=R(t)||0!==t.shadowMode?1:0}else n=1;else n=1;else n=0;return n}(a),a.tro=mr(a),function(e,t){const n=ur;let r;ur=e;try{const o=new t;if(ur.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(ur=n,!N(r))throw tt(e,r),r}}(a,l.ctor),Hr(a)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=Kr.get(i);if(!N(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=zr(e,t,s),a=s.dynamic.length>0;v.call(r,(()=>{n.connect(),ne.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),v.call(o,(()=>{n.disconnect(),l()}))}}}(a),a}function Nr(e,t){xr.set(e,t)}function Rr(e){return xr.get(e)}function _r(e){return xr.get(e)}function Dr(e){if(_(e.isDirty)){!function(e,t){const{renderRoot:n,children:r}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&Vr(e,e,(()=>{}),(()=>{$n(r,t,n)}),(()=>{}));1===e.state&&function(e){const{def:{renderedCallback:t}}=e;if(_(ae))return;const{rendered:n}=vr;n&&Er(e,n);N(t)||fr(e,t)}(e)}(e,gr(e))}}let Fr=[];function Lr(){const e=Fr.sort(((e,t)=>e.idx-t.idx));Fr=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{Dr(r)}catch(r){throw t+1<n&&(0===Fr.length&&le(Lr),M.apply(Fr,k.call(e,t+1))),r}}}function Ir(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=vr;n&&Er(e,n),Hr(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;N(r)||fr(e,r)}function Hr(e){return l(e.def.wire).length>0}function jr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!N(n)){const e=_r(n);N(e)||$r(e)}}}function Br(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!R(n)&&!N(n.elm))switch(n.type){case 2:Br(n.children);break;case 3:$r(Rr(n.elm));break}}}function Wr(e){const{children:t,renderRoot:n}=e;for(let e=0,r=t.length;e<r;e++){const r=t[e];R(r)||N(r.elm)||he(r.elm,n)}e.children=ie,jr(e),e.velements=ie}function Vr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!N(i)){tt(e,i);const n=R(t)?void 0:function(e){let t=e;for(;!R(t);){if(!N(t.def.errorCallback))return t;t=t.owner}}(t);if(N(n))throw i;Wr(e);fr(n,n.def.errorCallback,[i,i.wcStack])}}}const Kr=new Map;class Gr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function zr(e,t,n){const{method:r,adapter:i,configCallback:s,dynamic:l}=n,a=N(r)?function(e,t){const{cmpFields:n}=e;return r=>{r!==e.cmpFields[t]&&(n[t]=r,Qe(e,t))}}(e,t):function(e,t){return n=>{Vr(e,e.owner,I,(()=>{t.call(e.component,n)}),I)}}(e,r);let c,u;o(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),o(a,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),Vr(e,e,I,(()=>{u=new i(a)}),I);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=new Je((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),i()})))})),i=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:i,ro:o}}(e.component,s,(t=>{Vr(e,e,I,(()=>{u.update(t,c)}),I)}));return N(i.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Ur(r);if(N(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l}}=e;v.call(s,(()=>{const e=new Gr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){v.call(l,e)}});Oe(i,e)}))}(e,n,(t=>{c!==t&&(c=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const qr=new Map;function Ur(e){return qr.get(e)}function Xr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Kr.set(e,o)}function Yr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Kr.set(e,o)}let Jr=!1;var Qr;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(Qr||(Qr={}));const Zr=/\s+/g;function eo(e){return new Set(e.split(Zr).filter((e=>e.length)))}function to(e){return Array.from(e).join(" ")}function no(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function ro(e){return{type:Qr.Element,name:e,parent:null,shadowRoot:null,children:[],attributes:[],eventListeners:{}}}const oo=n(null),io=new WeakMap;function so(e,t,n=null){const r=e.attributes.find((e=>e.name===t&&e.namespace===n));return r?r.value:null}function lo(e,t,n,r=null){const o=e.attributes.find((e=>e.name===t&&e.namespace===r));N(r)&&(r=null),N(o)?e.attributes.push({name:t,namespace:r,value:String(n)}):o.value=n}function ao(e,t,n){e.attributes=e.attributes.filter((e=>e.name!==t&&e.namespace!==n))}const co=I,uo=I,fo=I,po=I,ho=no("dispatchEvent"),mo=no("getBoundingClientRect"),go=no("querySelector"),wo=no("querySelectorAll"),yo=no("getElementsByTagName"),bo=no("getElementsByClassName"),vo=no("getChildren"),Co=no("getChildNodes"),Eo=no("getFirstChild"),ko=no("getFirstElementChild"),xo=no("getLastChild"),Mo=no("getLastElementChild");const So=class{constructor(){const{constructor:e}=this,t=io.get(e);if(!t)throw new TypeError("Invalid Construction");return ro(t)}};be=function(e,t){return e.shadowRoot={type:Qr.ShadowRoot,children:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e.shadowRoot},we=function(e){return{type:Qr.Comment,value:e,parent:null}},me=ro,ge=function(e){return{type:Qr.Text,value:String(e),parent:null}},Ge=function(e,t,n){!function(e,t){if(e!==P.call(e)||oo[e])throw new TypeError("Invalid Registration");oo[e]=t,io.set(t,e)}(e,t)},Oe=ho,ke=so,Pe=mo,Le=Co,Fe=vo,Ae=function(e){function t(){let t=e.attributes.find((e=>"class"===e.name&&R(e.namespace)));return N(t)&&(t={name:"class",namespace:null,value:""},e.attributes.push(t)),t}return{add(...e){const n=t(),r=eo(n.value);e.forEach((e=>r.add(e))),n.value=to(r)},remove(...e){const n=t(),r=eo(n.value);e.forEach((e=>r.delete(e))),n.value=to(r)}}},ze=function(e){return oo[e]},De=bo,_e=yo,Ie=Eo,He=ko,je=xo,Be=Mo,ve=function(e,t){var n,r;if(t in e)return e[t];if(e.type===Qr.Element){const o=ee(t);if(X(o,e.name))return null!==(n=so(e,o))&&void 0!==n&&n;if(J(o)||G(o))return so(e,o);if("input"===e.name&&"value"===t)return null!==(r=so(e,"value"))&&void 0!==r?r:""}},function(e){de=e}(So),pe=function(e,t,n){if(null!==e.parent&&e.parent!==t){const t=e.parent.children.indexOf(e);e.parent.children.splice(t,1)}e.parent=t;const r=R(n)?-1:t.children.indexOf(n);-1===r?t.children.push(e):t.children.splice(r,0,e)},Ve=co,Ke=uo,We=function(e){return!R(e.parent)},fe=function(){return!1},ce=!1,ue=!1,ye=function(e){const{parent:t}=e;if(R(t))return null;const n=t.children.indexOf(e);return t.children[n+1]||null},Ne=go,Re=wo,he=function(e,t){const n=t.children.indexOf(e);t.children.splice(n,1)},Me=ao,Te=po,xe=lo,$e=function(e,t,n,r){const o=e.attributes.find((e=>"style"===e.name&&R(e.namespace))),i=`${t}: ${n}${r?" !important":""}`;N(o)?e.attributes.push({name:"style",namespace:null,value:i}):o.value+=`; ${i}`},Ce=function(e,t,n){if(t in e)return e[t]=n;if(e.type===Qr.Element){const r=ee(t);if("innerHTML"===t)return void(e.children=[{type:Qr.Raw,parent:e,value:n}]);if(X(r,e.name))return!0===n?lo(e,r,""):ao(e,r);if(J(r)||G(r))return lo(e,r,n);if("input"===e.name&&"value"===r)return R(n)||N(n)?ao(e,"value"):lo(e,"value",n)}},Ee=function(e,t){e.type===Qr.Text?e.value=t:e.type===Qr.Element&&(e.children=[{type:Qr.Text,parent:e,value:t}])},ae=!0,Se=fo;const To={'"':"&quot;","'":"&#x27;","<":"&lt;",">":"&gt;","&":"&amp;"};function Oo(e){return e.replace(/["'<>&]/g,(e=>To[e]))}function Ao(e){return e.map((e=>{switch(e.type){case Qr.Text:return""===e.value?"‍":Oo(e.value);case Qr.Comment:return`\x3c!--${Oo(e.value)}--\x3e`;case Qr.Raw:return e.value;case Qr.Element:return $o(e)}})).join("")}function $o(e){let t="";const{name:n}=e,r=e.attributes.length?` ${o=e.attributes,o.map((e=>e.value.length?`${e.name}=${JSON.stringify(Oo(e.value))}`:e.name)).join(" ")}`:"";var o;const i=Ao(e.children);return t+=`<${n}${r}>`,e.shadowRoot&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${Ao(e.children)}</template>`}(e.shadowRoot)),t+=i,function(e){return q.has(e)}(n)||(t+=`</${n}>`),t}const Po={type:Qr.Element,name:"fake-root-element",parent:null,shadowRoot:null,children:[],attributes:[],eventListeners:{}};i(Gt),f(Gt.prototype),exports.LightningElement=Gt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=Ur(e);if(!N(t))throw new Error("Adapter already has a context provider.");t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),function(e,t){qr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{N(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},exports.getComponentDef=function(e){const t=kn(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:ee(e)};const a={};for(const e in s)a[e]=s[e].value;return{ctor:n,name:r,props:l,methods:a}},exports.isComponentConstructor=En,exports.readonly=function(e){return Vt.getReadOnlyProxy(e)},exports.register=function(e){for(let t=0;t<Cr.length;++t){const n=Cr[t];if(n in e){let t=vr[n];N(t)&&(vr[n]=t=[]),v.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return F(e)&&hr.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:i,publicMethods:l,wire:a,track:c,fields:u}=t,d=n(null),f=n(null),p=n(null),h=n(null),m=n(null),g=n(null);let w;if(!N(i))for(const e in i){const t=i[e];if(g[e]=t.config,w=s(r,e),t.config>0){if(N(w))throw new Error;w=rn(e,w)}else w=N(w)||N(w.get)?tn(e):rn(e,w);f[e]=w,o(r,e,w)}if(N(l)||S.call(l,(e=>{if(w=s(r,e),N(w))throw new Error;d[e]=w})),!N(a))for(const e in a){const{adapter:t,method:n,config:i,dynamic:l=[]}=a[e];if(w=s(r,e),1===n){if(N(w))throw new Error;p[e]=w,Xr(w,t,i,l)}else w=Zt(e),h[e]=w,Yr(w,t,i,l),o(r,e,w)}if(!N(c))for(const e in c)w=s(r,e),w=en(e),o(r,e,w);if(!N(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=s(r,t);const n=!N(i)&&t in i,o=!N(c)&&t in c;n||o||(m[t]=on(t))}return function(e,t){sn.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return an.add(e),o(e,"stylesheetTokens",{get(){const{stylesheetToken:e}=this;return N(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=N(e)?void 0:e.shadowAttribute}}),e},exports.renderComponent=function(e,t,n={}){if(!L(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!F(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||R(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=ro(e);Pr(r,t,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r.parent=Po,Ar(r),$o(r)},exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(N(te[e])){const n=d(te).map((e=>`"${e}"`)).join(", ");console.warn(`Failed to set the value "${t}" for the runtime feature flag "${e}" because it is undefined. Available flags: ${n}.`)}else{const n=ne[e];if(!N(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);o(ne,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},exports.setFeatureFlagForTest=function(e,t){},exports.setHooks=function(t){var n;e.isFalse(Jr,"Hooks are already overridden, only one definition is allowed."),Jr=!0,n=t.sanitizeHtmlContent,Qn=n},exports.track=function(e){if(1===arguments.length)return Vt.getProxy(e);throw new Error},exports.unwrap=function(e){return Vt.unwrapProxy(e)},exports.wire=function(e,t){throw new Error};
@@ -417,9 +417,9 @@ const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
417
417
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
418
418
  */
419
419
  // Increment whenever the LWC template compiler changes
420
- const LWC_VERSION = "2.11.0";
420
+ const LWC_VERSION = "2.11.4";
421
421
  const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
422
- /** version: 2.11.0 */
422
+ /** version: 2.11.4 */
423
423
 
424
424
  /*
425
425
  * Copyright (c) 2020, salesforce.com, inc.
@@ -527,7 +527,7 @@ function setFeatureFlagForTest(name, value) {
527
527
  setFeatureFlag(name, value);
528
528
  }
529
529
  }
530
- /** version: 2.11.0 */
530
+ /** version: 2.11.4 */
531
531
 
532
532
  /* proxy-compat-disable */
533
533
 
@@ -2802,6 +2802,12 @@ function checkVersionMismatch(func, type) {
2802
2802
  }
2803
2803
  }
2804
2804
 
2805
+ /*
2806
+ * Copyright (c) 2018, salesforce.com, inc.
2807
+ * All rights reserved.
2808
+ * SPDX-License-Identifier: MIT
2809
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
2810
+ */
2805
2811
  const signedTemplateSet = new Set();
2806
2812
  function defaultEmptyTemplate() {
2807
2813
  return [];
@@ -2819,6 +2825,30 @@ function registerTemplate(tpl) {
2819
2825
  checkVersionMismatch(tpl, 'template');
2820
2826
  }
2821
2827
  signedTemplateSet.add(tpl);
2828
+ // FIXME[@W-10950976]: the template object should be frozen, and it should not be possible to set
2829
+ // the stylesheets or stylesheetToken(s). For backwards compat, though, we shim stylesheetTokens
2830
+ // on top of stylesheetToken for anyone who is accessing the old internal API.
2831
+ // Details: https://salesforce.quip.com/v1rmAFu2cKAr
2832
+ defineProperty(tpl, 'stylesheetTokens', {
2833
+ get() {
2834
+ const { stylesheetToken } = this;
2835
+ if (isUndefined$1(stylesheetToken)) {
2836
+ return stylesheetToken;
2837
+ }
2838
+ // Shim for the old `stylesheetTokens` property
2839
+ // See https://github.com/salesforce/lwc/pull/2332/files#diff-7901555acef29969adaa6583185b3e9bce475cdc6f23e799a54e0018cb18abaa
2840
+ return {
2841
+ hostAttribute: `${stylesheetToken}-host`,
2842
+ shadowAttribute: stylesheetToken,
2843
+ };
2844
+ },
2845
+ set(value) {
2846
+ // If the value is null or some other exotic object, you would be broken anyway in the past
2847
+ // because the engine would try to access hostAttribute/shadowAttribute, which would throw an error.
2848
+ // However it may be undefined in newer versions of LWC, so we need to guard against that case.
2849
+ this.stylesheetToken = isUndefined$1(value) ? undefined : value.shadowAttribute;
2850
+ },
2851
+ });
2822
2852
  // chaining this method as a way to wrap existing
2823
2853
  // assignment of templates easily, without too much transformation
2824
2854
  return tpl;
@@ -5045,11 +5075,15 @@ const signedTemplateMap = new Map();
5045
5075
  * INTERNAL: This function can only be invoked by compiled code. The compiler
5046
5076
  * will prevent this function from being imported by userland code.
5047
5077
  */
5048
- function registerComponent(Ctor, { tmpl }) {
5049
- if (process.env.NODE_ENV !== 'production') {
5050
- checkVersionMismatch(Ctor, 'component');
5078
+ function registerComponent(
5079
+ // We typically expect a LightningElementConstructor, but technically you can call this with anything
5080
+ Ctor, { tmpl }) {
5081
+ if (isFunction$1(Ctor)) {
5082
+ if (process.env.NODE_ENV !== 'production') {
5083
+ checkVersionMismatch(Ctor, 'component');
5084
+ }
5085
+ signedTemplateMap.set(Ctor, tmpl);
5051
5086
  }
5052
- signedTemplateMap.set(Ctor, tmpl);
5053
5087
  // chaining this method as a way to wrap existing assignment of component constructor easily,
5054
5088
  // without too much transformation
5055
5089
  return Ctor;
@@ -5189,7 +5223,7 @@ function disconnectRootElement(elm) {
5189
5223
  }
5190
5224
  function appendVM(vm) {
5191
5225
  rehydrate(vm);
5192
- }
5226
+ } // just in case the component comes back, with this we guarantee re-rendering it
5193
5227
  // while preventing any attempt to rehydration until after reinsertion.
5194
5228
 
5195
5229
  function resetComponentStateWhenRemoved(vm) {
@@ -5493,7 +5527,6 @@ function runRenderedCallback(vm) {
5493
5527
  , vm);
5494
5528
  }
5495
5529
  }
5496
-
5497
5530
  let rehydrateQueue = [];
5498
5531
 
5499
5532
  function flushRehydrationQueue() {
@@ -6145,7 +6178,7 @@ function setHooks(hooks) {
6145
6178
  hooksAreSet = true;
6146
6179
  setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
6147
6180
  }
6148
- /* version: 2.11.0 */
6181
+ /* version: 2.11.4 */
6149
6182
 
6150
6183
  /*
6151
6184
  * Copyright (c) 2020, salesforce.com, inc.
@@ -6612,6 +6645,6 @@ function renderComponent(tagName, Ctor, props = {}) {
6612
6645
  */
6613
6646
  freeze(LightningElement);
6614
6647
  seal(LightningElement.prototype);
6615
- /* version: 2.11.0 */
6648
+ /* version: 2.11.4 */
6616
6649
 
6617
6650
  export { LightningElement, api$1 as api, createContextProvider, getComponentDef, isComponentConstructor, readonly, register, registerComponent, registerDecorators, registerTemplate, renderComponent, sanitizeAttribute, setFeatureFlag, setFeatureFlagForTest, setHooks, track, unwrap, wire };
@@ -146,7 +146,7 @@ const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
146
146
  // We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
147
147
  // we can't use typeof since it will fail when transpiling.
148
148
  const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
149
- /** version: 2.11.0 */
149
+ /** version: 2.11.4 */
150
150
 
151
151
  /*
152
152
  * Copyright (c) 2018, salesforce.com, inc.
@@ -1300,7 +1300,7 @@ if (!_globalThis.lwcRuntimeFlags) {
1300
1300
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
1301
1301
  }
1302
1302
  const runtimeFlags = _globalThis.lwcRuntimeFlags;
1303
- /** version: 2.11.0 */
1303
+ /** version: 2.11.4 */
1304
1304
 
1305
1305
  /*
1306
1306
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5066,4 +5066,4 @@ defineProperty(Element.prototype, '$domManual$', {
5066
5066
  },
5067
5067
  configurable: true,
5068
5068
  });
5069
- /** version: 2.11.0 */
5069
+ /** version: 2.11.4 */
@@ -149,7 +149,7 @@
149
149
  // We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
150
150
  // we can't use typeof since it will fail when transpiling.
151
151
  const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
152
- /** version: 2.11.0 */
152
+ /** version: 2.11.4 */
153
153
 
154
154
  /*
155
155
  * Copyright (c) 2018, salesforce.com, inc.
@@ -1303,7 +1303,7 @@
1303
1303
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
1304
1304
  }
1305
1305
  const runtimeFlags = _globalThis.lwcRuntimeFlags;
1306
- /** version: 2.11.0 */
1306
+ /** version: 2.11.4 */
1307
1307
 
1308
1308
  /*
1309
1309
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5069,6 +5069,6 @@
5069
5069
  },
5070
5070
  configurable: true,
5071
5071
  });
5072
- /** version: 2.11.0 */
5072
+ /** version: 2.11.4 */
5073
5073
 
5074
5074
  })();
@@ -85,7 +85,7 @@
85
85
  const KEY__SHADOW_TOKEN = '$shadowToken$';
86
86
  const KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
87
87
  const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
88
- /** version: 2.11.0 */
88
+ /** version: 2.11.4 */
89
89
 
90
90
  /*
91
91
  * Copyright (c) 2018, salesforce.com, inc.
@@ -1212,7 +1212,7 @@
1212
1212
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
1213
1213
  }
1214
1214
  const runtimeFlags = _globalThis.lwcRuntimeFlags;
1215
- /** version: 2.11.0 */
1215
+ /** version: 2.11.4 */
1216
1216
 
1217
1217
  /*
1218
1218
  * Copyright (c) 2018, salesforce.com, inc.
@@ -4891,6 +4891,6 @@
4891
4891
  },
4892
4892
  configurable: true,
4893
4893
  });
4894
- /** version: 2.11.0 */
4894
+ /** version: 2.11.4 */
4895
4895
 
4896
4896
  })();
@@ -197,7 +197,7 @@
197
197
  var hasNativeSymbolSupport = /*@__PURE__*/function () {
198
198
  return Symbol('x').toString() === 'Symbol(x)';
199
199
  }();
200
- /** version: 2.11.0 */
200
+ /** version: 2.11.4 */
201
201
 
202
202
  /*
203
203
  * Copyright (c) 2018, salesforce.com, inc.
@@ -1528,7 +1528,7 @@
1528
1528
  }
1529
1529
 
1530
1530
  var runtimeFlags = _globalThis.lwcRuntimeFlags;
1531
- /** version: 2.11.0 */
1531
+ /** version: 2.11.4 */
1532
1532
 
1533
1533
  /*
1534
1534
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5611,6 +5611,6 @@
5611
5611
  },
5612
5612
  configurable: true
5613
5613
  });
5614
- /** version: 2.11.0 */
5614
+ /** version: 2.11.4 */
5615
5615
 
5616
5616
  })();
@@ -121,7 +121,7 @@
121
121
  var KEY__SHADOW_TOKEN = '$shadowToken$';
122
122
  var KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
123
123
  var KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
124
- /** version: 2.11.0 */
124
+ /** version: 2.11.4 */
125
125
 
126
126
  /*
127
127
  * Copyright (c) 2018, salesforce.com, inc.
@@ -1423,7 +1423,7 @@
1423
1423
  }
1424
1424
 
1425
1425
  var runtimeFlags = _globalThis.lwcRuntimeFlags;
1426
- /** version: 2.11.0 */
1426
+ /** version: 2.11.4 */
1427
1427
 
1428
1428
  /*
1429
1429
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5415,6 +5415,6 @@
5415
5415
  },
5416
5416
  configurable: true
5417
5417
  });
5418
- /** version: 2.11.0 */
5418
+ /** version: 2.11.4 */
5419
5419
 
5420
5420
  })();
@@ -151,7 +151,7 @@
151
151
  // We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
152
152
  // we can't use typeof since it will fail when transpiling.
153
153
  const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
154
- /** version: 2.11.0 */
154
+ /** version: 2.11.4 */
155
155
 
156
156
  /*
157
157
  * Copyright (c) 2018, salesforce.com, inc.
@@ -1305,7 +1305,7 @@
1305
1305
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
1306
1306
  }
1307
1307
  const runtimeFlags = _globalThis.lwcRuntimeFlags;
1308
- /** version: 2.11.0 */
1308
+ /** version: 2.11.4 */
1309
1309
 
1310
1310
  /*
1311
1311
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5071,6 +5071,6 @@
5071
5071
  },
5072
5072
  configurable: true,
5073
5073
  });
5074
- /** version: 2.11.0 */
5074
+ /** version: 2.11.4 */
5075
5075
 
5076
5076
  }));