lwc 2.31.6 → 2.31.8

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 +163 -121
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +163 -121
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +117 -12
  5. package/dist/engine-dom/iife/es5/engine-dom.js +290 -182
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +219 -84
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +163 -121
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +117 -12
  11. package/dist/engine-dom/umd/es5/engine-dom.js +290 -182
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +219 -84
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +124 -73
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
  16. package/dist/engine-server/esm/es2017/engine-server.js +124 -73
  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 +7 -7
@@ -469,9 +469,9 @@ function htmlEscape(str, attrMode = false) {
469
469
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
470
470
  */
471
471
  // Increment whenever the LWC template compiler changes
472
- const LWC_VERSION = "2.31.6";
472
+ const LWC_VERSION = "2.31.8";
473
473
  const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
474
- /** version: 2.31.6 */
474
+ /** version: 2.31.8 */
475
475
 
476
476
  /*
477
477
  * Copyright (c) 2020, salesforce.com, inc.
@@ -583,7 +583,7 @@ function setFeatureFlagForTest(name, value) {
583
583
  setFeatureFlag(name, value);
584
584
  }
585
585
  }
586
- /** version: 2.31.6 */
586
+ /** version: 2.31.8 */
587
587
 
588
588
  /* proxy-compat-disable */
589
589
 
@@ -2884,6 +2884,93 @@ const BaseBridgeElement = HTMLBridgeElementFactory(HTMLElementConstructor, getOw
2884
2884
  freeze(BaseBridgeElement);
2885
2885
  seal(BaseBridgeElement.prototype);
2886
2886
 
2887
+ /*
2888
+ * Copyright (c) 2023, salesforce.com, inc.
2889
+ * All rights reserved.
2890
+ * SPDX-License-Identifier: MIT
2891
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
2892
+ */
2893
+ const supportsWeakRefs = typeof WeakRef === 'function' && typeof FinalizationRegistry === 'function';
2894
+ // In browsers that doesn't support WeakRefs, the values will still leak, but at least the keys won't
2895
+ class LegacyWeakMultiMap {
2896
+ constructor() {
2897
+ this._map = new WeakMap();
2898
+ }
2899
+ _getValues(key) {
2900
+ let values = this._map.get(key);
2901
+ if (isUndefined$1(values)) {
2902
+ values = new Set();
2903
+ this._map.set(key, values);
2904
+ }
2905
+ return values;
2906
+ }
2907
+ get(key) {
2908
+ return this._getValues(key);
2909
+ }
2910
+ add(key, vm) {
2911
+ const set = this._getValues(key);
2912
+ set.add(vm);
2913
+ }
2914
+ delete(key) {
2915
+ this._map.delete(key);
2916
+ }
2917
+ }
2918
+ // This implementation relies on the WeakRef/FinalizationRegistry proposal.
2919
+ // For some background, see: https://github.com/tc39/proposal-weakrefs
2920
+ class ModernWeakMultiMap {
2921
+ constructor() {
2922
+ this._map = new WeakMap();
2923
+ this._registry = new FinalizationRegistry((weakRefs) => {
2924
+ // This should be considered an optional cleanup method to remove GC'ed values from their respective arrays.
2925
+ // JS VMs are not obligated to call FinalizationRegistry callbacks.
2926
+ // Work backwards, removing stale VMs
2927
+ for (let i = weakRefs.length - 1; i >= 0; i--) {
2928
+ const vm = weakRefs[i].deref();
2929
+ if (isUndefined$1(vm)) {
2930
+ ArraySplice.call(weakRefs, i, 1); // remove
2931
+ }
2932
+ }
2933
+ });
2934
+ }
2935
+ _getWeakRefs(key) {
2936
+ let weakRefs = this._map.get(key);
2937
+ if (isUndefined$1(weakRefs)) {
2938
+ weakRefs = [];
2939
+ this._map.set(key, weakRefs);
2940
+ }
2941
+ return weakRefs;
2942
+ }
2943
+ get(key) {
2944
+ const weakRefs = this._getWeakRefs(key);
2945
+ const result = new Set();
2946
+ for (const weakRef of weakRefs) {
2947
+ const vm = weakRef.deref();
2948
+ if (!isUndefined$1(vm)) {
2949
+ result.add(vm);
2950
+ }
2951
+ }
2952
+ return result;
2953
+ }
2954
+ add(key, value) {
2955
+ const weakRefs = this._getWeakRefs(key);
2956
+ // We could check for duplicate values here, but it doesn't seem worth it.
2957
+ // We transform the output into a Set anyway
2958
+ ArrayPush$1.call(weakRefs, new WeakRef(value));
2959
+ // It's important here not to leak the second argument, which is the "held value." The FinalizationRegistry
2960
+ // effectively creates a strong reference between the first argument (the "target") and the held value. When
2961
+ // the target is GC'ed, the callback is called, and then the held value is GC'ed.
2962
+ // Putting the key here would mean the key is not GC'ed until the value is GC'ed, which defeats the purpose
2963
+ // of the WeakMap. Whereas putting the weakRefs array here is fine, because it doesn't have a strong reference
2964
+ // to anything. See also this example:
2965
+ // https://gist.github.com/nolanlawson/79a3d36e8e6cc25c5048bb17c1795aea
2966
+ this._registry.register(value, weakRefs);
2967
+ }
2968
+ delete(key) {
2969
+ this._map.delete(key);
2970
+ }
2971
+ }
2972
+ const WeakMultiMap = supportsWeakRefs ? ModernWeakMultiMap : LegacyWeakMultiMap;
2973
+
2887
2974
  /*
2888
2975
  * Copyright (c) 2020, salesforce.com, inc.
2889
2976
  * All rights reserved.
@@ -2893,9 +2980,13 @@ seal(BaseBridgeElement.prototype);
2893
2980
  const swappedTemplateMap = new WeakMap();
2894
2981
  const swappedComponentMap = new WeakMap();
2895
2982
  const swappedStyleMap = new WeakMap();
2896
- const activeTemplates = new WeakMap();
2897
- const activeComponents = new WeakMap();
2898
- const activeStyles = new WeakMap();
2983
+ // The important thing here is the weak values – VMs are transient (one per component instance) and should be GC'ed,
2984
+ // so we don't want to create strong references to them.
2985
+ // The weak keys are kind of useless, because Templates, LightningElementConstructors, and StylesheetFactories are
2986
+ // never GC'ed. But maybe they will be someday, so we may as well use weak keys too.
2987
+ const activeTemplates = new WeakMultiMap();
2988
+ const activeComponents = new WeakMultiMap();
2989
+ const activeStyles = new WeakMultiMap();
2899
2990
  function getTemplateOrSwappedTemplate(tpl) {
2900
2991
  if (process.env.NODE_ENV === 'production') {
2901
2992
  // this method should never leak to prod
@@ -2939,75 +3030,27 @@ function setActiveVM(vm) {
2939
3030
  }
2940
3031
  // tracking active component
2941
3032
  const Ctor = vm.def.ctor;
2942
- let componentVMs = activeComponents.get(Ctor);
2943
- if (isUndefined$1(componentVMs)) {
2944
- componentVMs = new Set();
2945
- activeComponents.set(Ctor, componentVMs);
2946
- }
2947
3033
  // this will allow us to keep track of the hot components
2948
- componentVMs.add(vm);
3034
+ activeComponents.add(Ctor, vm);
2949
3035
  // tracking active template
2950
3036
  const tpl = vm.cmpTemplate;
2951
3037
  if (tpl) {
2952
- let templateVMs = activeTemplates.get(tpl);
2953
- if (isUndefined$1(templateVMs)) {
2954
- templateVMs = new Set();
2955
- activeTemplates.set(tpl, templateVMs);
2956
- }
2957
3038
  // this will allow us to keep track of the templates that are
2958
3039
  // being used by a hot component
2959
- templateVMs.add(vm);
3040
+ activeTemplates.add(tpl, vm);
2960
3041
  // tracking active styles associated to template
2961
3042
  const stylesheets = tpl.stylesheets;
2962
3043
  if (!isUndefined$1(stylesheets)) {
2963
- flattenStylesheets(stylesheets).forEach((stylesheet) => {
3044
+ for (const stylesheet of flattenStylesheets(stylesheets)) {
2964
3045
  // this is necessary because we don't hold the list of styles
2965
3046
  // in the vm, we only hold the selected (already swapped template)
2966
3047
  // but the styles attached to the template might not be the actual
2967
3048
  // active ones, but the swapped versions of those.
2968
- stylesheet = getStyleOrSwappedStyle(stylesheet);
2969
- let stylesheetVMs = activeStyles.get(stylesheet);
2970
- if (isUndefined$1(stylesheetVMs)) {
2971
- stylesheetVMs = new Set();
2972
- activeStyles.set(stylesheet, stylesheetVMs);
2973
- }
3049
+ const swappedStylesheet = getStyleOrSwappedStyle(stylesheet);
2974
3050
  // this will allow us to keep track of the stylesheet that are
2975
3051
  // being used by a hot component
2976
- stylesheetVMs.add(vm);
2977
- });
2978
- }
2979
- }
2980
- }
2981
- function removeActiveVM(vm) {
2982
- if (process.env.NODE_ENV === 'production') {
2983
- // this method should never leak to prod
2984
- throw new ReferenceError();
2985
- }
2986
- // tracking inactive component
2987
- const Ctor = vm.def.ctor;
2988
- let list = activeComponents.get(Ctor);
2989
- if (!isUndefined$1(list)) {
2990
- // deleting the vm from the set to avoid leaking memory
2991
- list.delete(vm);
2992
- }
2993
- // removing inactive template
2994
- const tpl = vm.cmpTemplate;
2995
- if (tpl) {
2996
- list = activeTemplates.get(tpl);
2997
- if (!isUndefined$1(list)) {
2998
- // deleting the vm from the set to avoid leaking memory
2999
- list.delete(vm);
3000
- }
3001
- // removing active styles associated to template
3002
- const styles = tpl.stylesheets;
3003
- if (!isUndefined$1(styles)) {
3004
- flattenStylesheets(styles).forEach((style) => {
3005
- list = activeStyles.get(style);
3006
- if (!isUndefined$1(list)) {
3007
- // deleting the vm from the set to avoid leaking memory
3008
- list.delete(vm);
3009
- }
3010
- });
3052
+ activeStyles.add(swappedStylesheet, vm);
3053
+ }
3011
3054
  }
3012
3055
  }
3013
3056
  }
@@ -5382,9 +5425,6 @@ function resetComponentStateWhenRemoved(vm) {
5382
5425
  runChildNodesDisconnectedCallback(vm);
5383
5426
  runLightChildNodesDisconnectedCallback(vm);
5384
5427
  }
5385
- if (process.env.NODE_ENV !== 'production') {
5386
- removeActiveVM(vm);
5387
- }
5388
5428
  }
5389
5429
  // this method is triggered by the diffing algo only when a vnode from the
5390
5430
  // old vnode.children is removed from the DOM.
@@ -5705,22 +5745,33 @@ function recursivelyDisconnectChildren(vnodes) {
5705
5745
  // into snabbdom. Especially useful when the reset is a consequence of an error, in which case the
5706
5746
  // children VNodes might not be representing the current state of the DOM.
5707
5747
  function resetComponentRoot(vm) {
5748
+ recursivelyRemoveChildren(vm.children, vm);
5749
+ vm.children = EmptyArray;
5750
+ runChildNodesDisconnectedCallback(vm);
5751
+ vm.velements = EmptyArray;
5752
+ }
5753
+ // Helper function to remove all children of the root node.
5754
+ // If the set of children includes VFragment nodes, we need to remove the children of those nodes too.
5755
+ // Since VFragments can contain other VFragments, we need to traverse the entire of tree of VFragments.
5756
+ // If the set contains no VFragment nodes, no traversal is needed.
5757
+ function recursivelyRemoveChildren(vnodes, vm) {
5708
5758
  const {
5709
- children,
5710
5759
  renderRoot,
5711
5760
  renderer: {
5712
5761
  remove
5713
5762
  }
5714
5763
  } = vm;
5715
- for (let i = 0, len = children.length; i < len; i++) {
5716
- const child = children[i];
5717
- if (!isNull(child) && !isUndefined$1(child.elm)) {
5718
- remove(child.elm, renderRoot);
5764
+ for (let i = 0, len = vnodes.length; i < len; i += 1) {
5765
+ const vnode = vnodes[i];
5766
+ if (!isNull(vnode)) {
5767
+ // VFragments are special; their .elm property does not point to the root element since they have no single root.
5768
+ if (isVFragment(vnode)) {
5769
+ recursivelyRemoveChildren(vnode.children, vm);
5770
+ } else if (!isUndefined$1(vnode.elm)) {
5771
+ remove(vnode.elm, renderRoot);
5772
+ }
5719
5773
  }
5720
5774
  }
5721
- vm.children = EmptyArray;
5722
- runChildNodesDisconnectedCallback(vm);
5723
- vm.velements = EmptyArray;
5724
5775
  }
5725
5776
  function getErrorBoundaryVM(vm) {
5726
5777
  let currentVm = vm;
@@ -6204,7 +6255,7 @@ function freezeTemplate(tmpl) {
6204
6255
  });
6205
6256
  }
6206
6257
  }
6207
- /* version: 2.31.6 */
6258
+ /* version: 2.31.8 */
6208
6259
 
6209
6260
  /*
6210
6261
  * Copyright (c) 2020, salesforce.com, inc.
@@ -6675,7 +6726,7 @@ function renderComponent(tagName, Ctor, props = {}) {
6675
6726
  */
6676
6727
  freeze(LightningElement);
6677
6728
  seal(LightningElement.prototype);
6678
- /* version: 2.31.6 */
6729
+ /* version: 2.31.8 */
6679
6730
 
6680
6731
  exports.LightningElement = LightningElement;
6681
6732
  exports.api = api$1;
@@ -1 +1 @@
1
- "use strict";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,{concat:m,copyWithin:g,fill:w,filter:y,find:b,indexOf:v,join:E,map:C,pop:S,push:T,reduce:k,reverse:M,shift:A,slice:x,some:N,sort:O,splice:_,unshift:P,forEach:L}=Array.prototype,{fromCharCode:$}=String,{charCodeAt:R,replace:D,slice:I,toLowerCase:F}=String.prototype;function H(e){return void 0===e}function B(e){return null===e}function V(e){return!0===e}function j(e){return!1===e}function W(e){return"function"==typeof e}function G(e){return"string"==typeof e}function U(){}const K={}.toString;function z(e){return e&&e.toString?h(e)?E.call(C.call(e,z),","):e.toString():"object"==typeof e?K.call(e):e+""}function Y(e,t){do{const n=s(e,t);if(!H(n))return n;e=a(e)}while(null!==e)}const q=["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:X,AriaPropNameToAttrNameMap:J}=(()=>{const e=n(null),t=n(null);return L.call(q,(n=>{const r=F.call(D.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function Q(e){return e in X}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}(),ee="http://www.w3.org/1999/xhtml",te=new Set(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr","param","keygen","menuitem"]);const ne=/-([a-z])/g,re=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 oe(e,t){const n=re.get(e);return void 0!==n&&(0===n.size||n.has(t))}const ie=new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","contextmenu","dir","draggable","enterkeyhint","exportparts","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","part","slot","spellcheck","style","tabindex","title","translate"]);function se(e){return ie.has(e)}const{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:le,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:ae}=(()=>{const e=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"]]),t=new Map;return e.forEach(((e,n)=>t.set(e,n))),{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:t,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:e}})(),ce=new Map,ue=new Map;function de(e){const t=J[e];if(!H(t))return t;const n=ae.get(e);if(!H(n))return n;const r=ce.get(e);if(!H(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=R.call(e,t);o+=n>=65&&n<=90?"-"+$(n+32):$(n)}return ce.set(e,o),o}function fe(e){const t=X[e];if(!H(t))return t;const n=le.get(e);if(!H(n))return n;const r=ue.get(e);if(!H(r))return r;const o=D.call(e,ne,(e=>e[1].toUpperCase()));return ue.set(e,o),o}const pe={'"':"&quot;","'":"&#x27;","<":"&lt;",">":"&gt;","&":"&amp;"};function he(e,t=!1){const n=t?/["&]/g:/["'<>&]/g;return e.replace(n,(e=>pe[e]))}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 me={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY:null};Z.lwcRuntimeFlags||Object.defineProperty(Z,"lwcRuntimeFlags",{value:n(null)});const ge=Z.lwcRuntimeFlags;const we=f(n(null)),ye=f([]);function be(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}const ve=new WeakMap;const Ee={observe(e){e()},reset(){},link(){}};function Ce(e){return Ee}function Se(e){return`<${F.call(e.tagName)}>`}function Te(e,t){if(!u(t)&&H(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!B(n);)T.call(t,Se(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}function ke(e,t,n){let r=`[LWC ${e}]: ${t}`;H(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!B(e.owner);)T.call(t,n+Se(e)),e=e.owner,n+="\t";return E.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function Me(e,t){ke("error",e,t)}function Ae(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function xe(e){return W(e)&&c.call(e,"__circular__")}const Ne="undefined"!=typeof HTMLElement?HTMLElement:function(){},Oe=Ne.prototype;function _e(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:_e("offsetHeight")},offsetLeft:{readOnly:!0,error:_e("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:_e("offsetTop")},offsetWidth:{readOnly:!0,error:_e("offsetWidth")},role:{attribute:"role"}});let Pe,Le=null;function $e(e,t){return e!==Le||t!==Pe}function Re(e,t){Le=null,Pe=void 0}function De(e,t){Le=e,Pe=t}const Ie=n(null);function Fe(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n)}L.call(d(J),(e=>{const t=Y(Oe,e);H(t)||(Ie[e]=t)})),L.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=Y(Oe,e);H(t)||(Ie[e]=t)}));const{isArray:He}=Array,{prototype:Be,getPrototypeOf:Ve,create:je,defineProperty:We,isExtensible:Ge,getOwnPropertyDescriptor:Ue,getOwnPropertyNames:Ke,getOwnPropertySymbols:ze,preventExtensions:Ye,hasOwnProperty:qe}=Object,{push:Xe,concat:Je}=Array.prototype;function Qe(e){return void 0===e}function Ze(e){return"function"==typeof e}const et=new WeakMap;function tt(e,t){et.set(e,t)}const nt=e=>et.get(e)||e;class rt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(qe.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;Qe(n)||(e.get=this.wrapGetter(n)),Qe(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=Ue(n,t);if(!Qe(r)){const n=this.wrapDescriptor(r);We(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;Je.call(Ke(t),ze(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;Qe(n)||qe.call(e,n)||We(e,n,je(null)),Ye(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=Qe(n)||qe.call(t,n)?[]:[n];return Xe.apply(r,Ke(t)),Xe.apply(r,ze(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!Ge(e)&&(!!Ge(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Ve(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=Ue(n,t);if(Qe(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},We(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const ot=new WeakMap,it=new WeakMap,st=new WeakMap,lt=new WeakMap;class at extends rt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=ot.get(e);if(!Qe(t))return t;const n=this,r=function(){return n.wrapValue(e.call(nt(this)))};return ot.set(e,r),st.set(r,e),r}wrapSetter(e){const t=it.get(e);if(!Qe(t))return t;const n=function(t){e.call(nt(this),nt(t))};return it.set(e,n),lt.set(n,e),n}unwrapDescriptor(e){if(qe.call(e,"value"))e.value=nt(e.value);else{const{set:t,get:n}=e;Qe(n)||(e.get=this.unwrapGetter(n)),Qe(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=st.get(e);if(!Qe(t))return t;const n=this,r=function(){return nt(e.call(n.wrapValue(this)))};return ot.set(r,e),st.set(e,r),r}unwrapSetter(e){const t=lt.get(e);if(!Qe(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return it.set(r,e),lt.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&&He(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(Ge(e)){const{originalTarget:t}=this;if(Ye(t),Ge(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!qe.call(r,t)||(We(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const ct=new WeakMap,ut=new WeakMap;class dt extends rt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=ct.get(e);if(!Qe(t))return t;const n=this,r=function(){return n.wrapValue(e.call(nt(this)))};return ct.set(e,r),r}wrapSetter(e){const t=ut.get(e);if(!Qe(t))return t;const n=function(e){};return ut.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 ft(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(He(e))return!0;const t=Ve(e);return t===Be||null===t||null===Ve(t)}const pt=(e,t)=>{},ht=(e,t)=>{};function mt(e){return He(e)?[]:{}}const gt=Symbol.for("@@lockerLiveValue"),wt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=Ze(t)?t:ht,this.valueObserved=Ze(n)?n:pt,this.valueIsObservable=Ze(r)?r:ft,this.tagPropertyKey=o}getProxy(e){const t=nt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=nt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return nt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(Qe(t)){const n=new at(this,e);t=new Proxy(mt(e),n),tt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(Qe(t)){const n=new dt(this,e);t=new Proxy(mt(e),n),tt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:function(e,t){},valueMutated:function(e,t){const n=ve.get(e);if(!H(n)){const e=n[t];if(!H(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}},tagPropertyKey:gt});function yt(e){return wt.getReadOnlyProxy(e)}function bt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!W(n))throw new TypeError;if(!W(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const e=ur(this);if(!Wn(e))return n.call(e.elm)},set(t){const n=ur(this);return Fe(n,e,t),r.call(n.elm,t)}}}const vt=i(n(null)),Et=new WeakMap,Ct=function(){if(B(jn))throw new TypeError("Illegal constructor");const e=jn,{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 cr(o,e),cr(n,e),1===e.renderMode?e.renderRoot=St(e):e.renderRoot=n,this};function St(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,cr(s,e),s}Ct.prototype={constructor:Ct,dispatchEvent(e){const t=ur(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=ur(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,Xn(r,t),n)},removeEventListener(e,t,n){const r=ur(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,Xn(r,t),n)},hasAttribute(e){const t=ur(this),{elm:n,renderer:{getAttribute:r}}=t;return!B(r(n,e))},hasAttributeNS(e,t){const n=ur(this),{elm:r,renderer:{getAttribute:o}}=n;return!B(o(r,t,e))},removeAttribute(e){const t=ur(this),{elm:n,renderer:{removeAttribute:r}}=t;De(n,e),r(n,e),Re()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=ur(this);De(n,t),r(n,t,e),Re()},getAttribute(e){const t=ur(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=ur(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=ur(this),{elm:r,renderer:{setAttribute:o}}=n;De(r,e),o(r,e,t),Re()},setAttributeNS(e,t,n){const r=ur(this),{elm:o,renderer:{setAttribute:i}}=r;De(o,t),i(o,t,n,e),Re()},getBoundingClientRect(){const e=ur(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=ur(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=ur(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return ur(this).shadowRoot},get refs(){const e=ur(this);if(Rn)return;const{refVNodes:t,hasRefVNodes:r,cmpTemplate:o}=e;if(!r)return;if(B(t))return vt;let s=Et.get(t);if(H(s)){s=n(null);for(const e of d(t))s[e]=t[e].elm;i(s),Et.set(t,s)}return s},set refs(e){o(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=ur(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=ur(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=ur(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=ur(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=ur(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=ur(this);return e.renderer.getLastElementChild(e.elm)},render(){return ur(this).def.template},toString(){return`[object ${ur(this).def.name}]`}};const Tt=n(null),kt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of kt)Tt[e]={value(t){const n=ur(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};r(Ct.prototype,Tt);const Mt=n(null);for(const e in Ie)Mt[e]=bt(e,Ie[e]);function At(e){return{get(){return ur(this).cmpFields[e]},set(t){Fe(ur(this),e,t)},enumerable:!0,configurable:!0}}r(Ct.prototype,Mt),o(Ct,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const xt={observe(e){e()},reset(){},link(){}};function Nt(e){return{get(){const t=ur(this);if(!Wn(t))return t.cmpProps[e]},set(t){ur(this).cmpProps[e]=t},enumerable:!0,configurable:!0}}function Ot(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!W(n))throw new Error;return{get(){return n.call(this)},set(t){const n=ur(this);if(r)if(ge.ENABLE_REACTIVE_SETTER){let o=n.oar[e];H(o)&&(o=n.oar[e]=xt),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function _t(e){return{get(){return ur(this).cmpFields[e]},set(t){Fe(ur(this),e,t)},enumerable:!0,configurable:!0}}function Pt(e){return{get(){return ur(this).cmpFields[e]},set(t){Fe(ur(this),e,t)},enumerable:!0,configurable:!0}}const Lt=new Map;const $t={apiMethods:we,apiFields:we,apiFieldsConfig:we,wiredMethods:we,wiredFields:we,observedFields:we};const Rt=new Set;function Dt(){return[]}Rt.add(Dt);const It=n(null),Ft=n(null);function Ht(e){let t=It[e];return H(t)&&(t=It[e]=function(){const t=ur(this),{getHook:n}=t;return n(t.component,e)}),t}function Bt(e){let t=Ft[e];return H(t)&&(t=Ft[e]=function(t){const n=ur(this),{setHook:r}=n;t=yt(t),r(n.component,e,t)}),t}function Vt(e){return function(){const t=ur(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,x.call(arguments))}}function jt(e,t){return function(n,r,o){if(r===o)return;const i=e[n];H(i)?H(t)||t.apply(this,arguments):$e(this,n)&&(this[i]=o)}}function Wt(e,t,i){let s;W(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[de(n)]=n,u[n]={get:Ht(n),set:Bt(n),enumerable:!0,configurable:!0}}for(let e=0,t=i.length;e<t;e+=1){const t=i[e];u[t]={value:Vt(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:jt(l,a)},o(s,"observedAttributes",{get:()=>[...c,...d(l)]}),r(s.prototype,u),s}const Gt=Wt(Ne,l(Ie),[]);i(Gt),f(Gt.prototype);const Ut=new WeakMap;function Kt(e){const{shadowSupportMode:o,renderMode:i}=e,s=function(e){const t=Lt.get(e);return H(t)?$t: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 E=function(e){let t=a(e);if(B(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(xe(t)){const e=Ae(t);t=e===t?Ct:e}return t}(e),C=E!==Ct?Yt(E):qt,S=Wt(C.bridge,d(l),d(u)),T=t(n(null),C.props,l),k=t(n(null),C.propsConfig,c),M=t(n(null),C.methods,u),A=t(n(null),C.wire,f,p);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let x=C.shadowSupportMode;H(o)||(x=o);let N=C.renderMode;H(i)||(N="light"===i?0:1);const O=function(e){return Kn.get(e)}(e)||C.template,_=e.name||C.name;r(m,h);return{ctor:e,name:_,wire:A,props:T,propsConfig:k,methods:M,bridge:S,template:O,renderMode:N,shadowSupportMode:x,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function zt(e){if(!W(e))return!1;if(e.prototype instanceof Ct)return!0;let t=e;do{if(xe(t)){const e=Ae(t);if(e===t)return!0;t=e}if(t===Ct)return!0}while(!B(t)&&(t=a(t)));return!1}function Yt(e){let t=Ut.get(e);if(H(t)){if(xe(e)){return t=Yt(Ae(e)),Ut.set(e,t),t}if(!zt(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=Kt(e),Ut.set(e,t)}return t}const qt={ctor:Ct,name:Ct.name,props:Mt,propsConfig:we,methods:we,renderMode:1,shadowSupportMode:"reset",wire:we,bridge:Gt,template:Dt,render:Ct.prototype.render};function Xt(e){return`${e}-host`}function Jt(e){return $n.h("style",{key:"style",attrs:{type:"text/css"}},[$n.t(e)])}function Qt(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(h(s))T.apply(r,Qt(s,t,n));else{const e=s.$scoped$;if(ge.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){Me("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const 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:(H(o)&&(o=en(n)),a=B(o)||0===o.shadowMode),T.call(r,s(i,l,a))}}return r}function Zt(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return H(n)||0===n.length||(o=Qt(n,r,e)),o}function en(e){let t=e;for(;!B(t);){if(1===t.renderMode)return t;t=t.owner}return t}function tn(e){const{type:t}=e;return 2===t||3===t}function nn(e,t){return e.key===t.key&&e.sel===t.sel}function rn(e){return 5===e.type}function on(e){return 6===e.type}function sn(e,t){return"input"===e&&("value"===t||"checked"===t)}const ln=n(null);function an(e){if(null==e)return we;e=G(e)?e:e+"";let t=ln[e];if(t)return t;t=n(null);let r,o=0;const i=e.length;for(r=0;r<i;r++)32===R.call(e,r)&&(r>o&&(t[I.call(e,o,r)]=!0),o=r+1);return r>o&&(t[I.call(e,o,r)]=!0),ln[e]=t,t}function cn(e,t,n,r){var o;o=t,Tn.has(o)?Mn(e,t,n,r):An(e,t,n,r)}function un(e,t,n,r){var o,i;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&yn(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:i}=t;i?An(e.children,o,n,r):Mn(e.children,o,n,r);t.elm=o[o.length-1].elm}(e,t,n,r);break;case 2:!function(e,t,n){const r=t.elm=e.elm;vn(e,t,n),cn(e.children,t.children,r,n)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:r);break;case 3:!function(e,t,n,r){if(e.ctor!==t.ctor){const o=r.nextSibling(e.elm);hn(e,n,r,!0),fn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;vn(e,t,r),H(o)||Cn(t,o),cn(e.children,t.children,n,r),H(o)||function(e){fr(e)}(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function dn(e,t,n,r){var o,i;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:i}=r,s=e.elm=i(e.text);wn(s,o,r),bn(s,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:i}=r,s=e.elm=i(e.text);wn(s,o,r),bn(s,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:i,isSyntheticShadowDefined:s}=r,l=e.elm=i(e.fragment,!0);wn(l,o,r);const{renderMode:a,shadowMode:c}=o;s&&(1!==c&&0!==a||(l.$shadowStaticNode$=!0));bn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;pn(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:i,data:{svg:s}}=e,{createElement:l}=r,a=V(s)?"http://www.w3.org/2000/svg":void 0,c=e.elm=l(o,a);wn(c,i,r),En(c,i,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(c,e),vn(null,e,r),bn(c,t,n,r),pn(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:fn(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function fn(e,t,n,r){const{sel:o,owner:i}=e,{createCustomElement:s}=r;let l;let a,c;ge.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(a=e=>{ir(e)},c=e=>{sr(e)});const u=s(o.toLowerCase(),(t=>{l=function(e,t,n){let r=dr(e);if(!H(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=ar(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}),a,c);e.elm=u,e.vm=l,wn(u,i,r),En(u,i,r),l&&Cn(e,l),vn(null,e,r),bn(u,t,n,r),l&&pr(l),pn(e.children,u,r,null),l&&function(e){fr(e)}(l)}function pn(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];gn(i)&&dn(i,t,n,r)}}function hn(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?mn(e.children,t,n,r):function(e,t,n){n.remove(e,t)}(i,t,n)),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;mn(e.children,i,n,t);break}case 3:{const{vm:t}=e;H(t)||function(e){lr(e)}(t)}}}function mn(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];gn(i)&&hn(i,t,n,r)}}function gn(e){return null!=e}function wn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function yn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function bn(e,t,n,r){r.insert(e,t,n)}function vn(e,n,r){B(e)&&(function(e,t){const{elm:n,data:{on:r}}=e;if(H(r))return;const{addEventListener:o}=t;for(const e in r)o(n,e,r[e])}(n,r),function(e,t){const{elm:n,data:{classMap:r}}=e;if(H(r))return;const{getClassList:o}=t,i=o(n);for(const e in r)i.add(e)}(n,r),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(H(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,i,s]=r[e];o(n,t,i,s)}}(n,r)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=B(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),a=an(o),c=an(i);let u;for(u in c)H(a[u])&&l.remove(u);for(u in a)H(c[u])&&l.add(u)}(e,n,r),function(e,t,n){const{elm:r,data:{style:o}}=t;if((B(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;G(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,n,r),n.data.external?function(e,t,n){const{data:{attrs:r},elm:o}=t;if(H(r))return;const{removeAttribute:i,setAttribute:s,setProperty:l}=n,a=B(e)?we:e.data.attrs;for(const e in r){const t=r[e];a[e]!==t&&(fe(e)in o?l(o,e,t):58===R.call(e,3)?s(o,e,t,"http://www.w3.org/XML/1998/namespace"):58===R.call(e,5)?s(o,e,t,"http://www.w3.org/1999/xlink"):B(t)||H(t)?i(o,e):s(o,e,t))}}(e,n,r):function(e,t,n){const{attrs:r}=t.data;if(H(r))return;const o=B(e)?we:e.data.attrs;if(o===r)return;const{elm:i}=t,{setAttribute:s,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(De(i,e),58===R.call(e,3)?s(i,e,t,"http://www.w3.org/XML/1998/namespace"):58===R.call(e,5)?s(i,e,t,"http://www.w3.org/1999/xlink"):B(t)||H(t)?l(i,e):s(i,e,t),Re())}}(e,n,r),function(e,n,r){let{props:o}=n.data;const{spread:i}=n.data;if(H(o)&&H(i))return;let s;if(!B(e)){s=e.data.props;const n=e.data.spread;if(s===o&&n===i)return;H(s)&&(s=we),H(n)||(s=t({},s,n))}H(i)||(o=t({},o,i));const l=B(e),{elm:a,sel:c}=n,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(sn(c,e)?u(a,e):s[e])&&e in s||d(a,e,t)}}(e,n,r)}function En(e,t,n){const r=function(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}(t);if(!B(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||H(o)||(e.$shadowToken$=o)}function Cn(e,t){const r=e.aChildren||e.children;t.aChildren=r;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t,r){const{cmpSlots:{slotAssignments:o}}=e,i=n(null);if(Sn(e,t,i),e.cmpSlots={owner:r,slotAssignments:i},j(e.isDirty)){const t=d(o);if(t.length!==d(i).length)return void Yn(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(H(i[r])||o[r].length!==i[r].length)return void Yn(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 Yn(e)}}}(t,r,e.owner),e.aChildren=r,e.children=ye)}function Sn(e,t,n){var r,o;for(let i=0,s=t.length;i<s;i+=1){const s=t[i];if(B(s))continue;if(rn(s)){Sn(e,s.children.slice(1,-1),n);continue}let l="";tn(s)?l=null!==(o=null===(r=s.data.attrs)||void 0===r?void 0:r.slot)&&void 0!==o?o:"":on(s)&&(l=s.slotName);const a=n[l]=n[l]||[];T.call(a,s)}}const Tn=new WeakMap;function kn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(gn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function Mn(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],a=e[s];const c=t.length-1;let u,d,f,p,h=c,m=t[0],g=t[h],w=!1;for(;o<=s&&i<=h;)gn(l)?gn(a)?gn(m)?gn(g)?nn(l,m)?(un(l,m,n,r),l=e[++o],m=t[++i]):nn(a,g)?(un(a,g,n,r),a=e[--s],g=t[--h]):nn(l,g)?(un(l,g,n,r),bn(l.elm,n,r.nextSibling(a.elm),r),l=e[++o],g=t[--h]):nn(a,m)?(un(a,m,n,r),bn(m.elm,n,l.elm,r),a=e[--s],m=t[++i]):(void 0===u&&(u=kn(e,o,s)),d=u[m.key],H(d)?(dn(m,n,r,l.elm),m=t[++i]):(f=e[d],gn(f)&&(f.sel!==m.sel?dn(m,n,r,l.elm):(un(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,bn(f.elm,n,l.elm,r))),m=t[++i])):g=t[--h]:m=t[++i]:a=e[--s]:l=e[++o];if(o<=s||i<=h)if(o>s){let e,o=h;do{e=t[++o]}while(!gn(e)&&o<c);p=gn(e)?e.elm:null,pn(t,n,r,p,i,h+1)}else mn(e,n,r,!0,o,s+1)}function An(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void pn(t,n,r,null);if(0===i)return void mn(e,n,r,!0);let s=null;for(let o=i-1;o>=0;o-=1){const i=e[o],l=t[o];l!==i&&(gn(i)?gn(l)?(un(i,l,n,r),s=l.elm):hn(i,n,r,!0):gn(l)&&(dn(l,n,r,s),s=l.elm))}}const xn=Symbol.iterator;function Nn(e,t,n=ye){const r=In(),{key:o,ref:i}=t,s={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return H(i)||be(r,i,s),s}function On(e,t,n,r=ye){const o=In(),{key:i,ref:s}=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){T.call(In().velements,e)}(l),H(s)||be(o,s,l),l}function _n(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:In()}}function Pn(e){var t;return t=e,Tn.set(t,1),e}let Ln=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const $n=i({s:function(e,t,n,r){if(!H(r)&&!H(r.slotAssignments)&&!H(r.slotAssignments[e])&&0!==r.slotAssignments[e].length){const o=[],i=r.slotAssignments[e];for(let e=0;e<i.length;e++){const n=i[e];if(!B(n)){const e=on(n);if(e!==!H(t.slotData))continue;if(e){const e=In();Fn(r.owner);try{T.apply(o,n.factory(t.slotData))}finally{Fn(e)}}else T.call(o,n)}}n=o}const o=In(),{renderMode:i,shadowMode:s}=o;return 0===i?(Pn(n),n):(1===s&&Pn(n),Nn("slot",t,n))},h:Nn,c:On,i:function(e,t){const n=[];if(Pn(n),H(e)||null===e)return n;const r=e[xn]();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)?T.apply(n,e):T.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];Pn(n);for(let r=0;r<t;r+=1){const t=e[r];h(t)?T.apply(n,t):T.call(n,t)}return n},t:_n,d:function(e){return null==e?"":String(e)},b:function(e){const t=In();if(B(t))throw new Error;const n=t;return function(t){Un(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:"c",owner:In()}},dc:function(e,t,n,r=ye){if(null==t)return null;if(!zt(t))throw new Error(`Invalid LWC Constructor ${z(t)} for custom element <${e}>.`);return On(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[_n(""),...t,_n("")],stable:n,owner:In()}},ti:function(e){return e>0&&!(V(e)||j(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:In()}},gid:function(e){const t=In();if(H(e)||""===e)return e;if(B(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?D.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=In();if(H(e)||""===e)return e;if(B(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return Ln(e)},ssf:function(e,t){return{type:6,factory:t,owner:In(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let Rn=!1,Dn=null;function In(){return Dn}function Fn(e){Dn=e}const Hn=(Bn=(e,t)=>{const{createFragment:n}=t;return n(e)},(e,...t)=>{const r=n(null);return function(){const{context:{hasScopedStyles:n,stylesheetToken:o},shadowMode:i,renderer:s}=In(),l=!H(o),a=1===i;let c=0;if(l&&n&&(c|=1),l&&a&&(c|=2),!H(r[c]))return r[c];const u=n&&l?" "+o:"",d=n&&l?` class="${o}"`:"",f=l&&a?" "+o:"";let p="";for(let n=0,r=t.length;n<r;n++)switch(t[n]){case 0:p+=e[n]+u;break;case 1:p+=e[n]+d;break;case 2:p+=e[n]+f;break;case 3:p+=e[n]+d+f}return p+=e[e.length-1],r[c]=Bn(p,s),r[c]}});var Bn;function Vn(e,t){const r=Rn,o=Dn;let i=[];return yr(e,e.owner,(()=>{Dn=e}),(()=>{const{component:r,context:o,cmpSlots:s,cmpTemplate:l,tro:a}=e;a.observe((()=>{if(t!==l){if(B(l)||wr(e),a=t,!Rt.has(a))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${z(t)}.`);e.cmpTemplate=t,o.tplCache=n(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!H(t))for(let e=0;e<t.length;e++)if(V(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:l,setAttribute:a}}=e,{stylesheets:c,stylesheetToken:u}=t,d=1===o&&1===i,{hasScopedStyles:f}=r;let p,h,m;const{stylesheetToken:g,hasTokenInClass:w,hasTokenInAttribute:y}=r;H(g)||(w&&s(n).remove(Xt(g)),y&&l(n,Xt(g))),H(c)||0===c.length||(p=u),H(p)||(f&&(s(n).add(Xt(p)),h=!0),d&&(a(n,Xt(p),""),m=!0)),r.stylesheetToken=p,r.hasTokenInClass=h,r.hasTokenInAttribute=m}(e,t);const r=Zt(e,t);o.styleVNodes=0===r.length?null:function(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1!==n||1!==r)return C.call(t,Jt);for(let e=0;e<t.length;e++)o(t[e]);return null}(e,r)}var a;const c=Boolean(t.hasRefs);e.hasRefVNodes=c,e.refVNodes=c?n(null):null,e.velements=[],Rn=!0,i=t.call(void 0,$n,r,s,o.tplCache);const{styleVNodes:u}=o;B(u)||P.apply(i,u)}))}),(()=>{Rn=r,Dn=o})),i}let jn=null;function Wn(e){return jn===e}function Gn(e,t,n){const{component:r,callHook:o,owner:i}=e;yr(e,i,U,(()=>{o(r,t,n)}),U)}function Un(e,t,n,r){const{callHook:o,owner:i}=e;yr(e,i,U,(()=>{o(n,t,[r])}),U)}const Kn=new Map;function zn(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=In();let s,l=!1;return yr(e,o,(()=>{Fn(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{Fn(i)})),l?Vn(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Yn(e){e.isDirty=!0}const qn=new WeakMap;function Xn(e,t){if(!W(t))throw new TypeError;let n=qn.get(t);return H(n)&&(n=function(n){Un(e,t,void 0,n)},qn.set(t,n)),n}const Jn=n(null),Qn=["rendered","connected","disconnected"];function Zn(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 er=0;const tr=new WeakMap;function nr(e,t,n=[]){return t.apply(e,n)}function rr(e,t,n){e[t]=n}function or(e,t){return e[t]}function ir(e){const t=ur(e);1===t.state&&sr(e),pr(t),fr(t)}function sr(e){lr(ur(e))}function lr(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){j(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Jn;t&&Zn(e,t);hr(e)&&function(e){const{wiredDisconnecting:t}=e.context;yr(e,e,U,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),U)}(e);const{disconnectedCallback:n}=e.def;H(n)||Gn(e,n)}(e),mr(e),function(e){const{aChildren:t}=e;gr(t)}(e)}}function ar(e,t,r,o){const{mode:i,owner:s,tagName:l,hydrated:a}=o,c=Yt(t),u={elm:e,def:c,idx:er++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,refVNodes:null,hasRefVNodes:!1,children:ye,aChildren:ye,velements:ye,cmpProps:n(null),cmpFields:n(null),cmpSlots:{slotAssignments:n(null)},oar:n(null),cmpTemplate:null,hydrated:Boolean(a),renderMode:c.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:we,wiredConnecting:ye,wiredDisconnecting:ye},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:nr,setHook:rr,getHook:or,renderer:r};return u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(ge.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!B(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=B(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,r),u.tro=Ce(),function(e,t){const n=jn;let r;jn=e;try{const o=new t;if(jn.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(jn=n,!H(r))throw Te(e,r),r}}(u,c.ctor),hr(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=br.get(i);if(!H(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=Er(e,t,s),a=s.dynamic.length>0;T.call(r,(()=>{n.connect(),ge.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),T.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function cr(e,t){tr.set(e,t)}function ur(e){return tr.get(e)}function dr(e){return tr.get(e)}function fr(e){if(V(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&yr(e,e,(()=>{}),(()=>{cn(r,t,n,o)}),(()=>{}));e.state}(e,zn(e))}}function pr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Jn;n&&Zn(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;H(r)||Gn(e,r)}function hr(e){return l(e.def.wire).length>0}function mr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!H(n)){const e=dr(n);H(e)||lr(e)}}}function gr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!B(n)&&!H(n.elm))switch(n.type){case 2:gr(n.children);break;case 3:lr(ur(n.elm));break}}}function wr(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];B(o)||H(o.elm)||r(o.elm,n)}e.children=ye,mr(e),e.velements=ye}function yr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!H(i)){Te(e,i);const n=B(t)?void 0:function(e){let t=e;for(;!B(t);){if(!H(t.def.errorCallback))return t;t=t.owner}}(t);if(H(n))throw i;wr(e);Gn(n,n.def.errorCallback,[i,i.wcStack])}}}const br=new Map;class vr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function Er(e,t,n){const{method:r,adapter:i,configCallback:s,dynamic:l}=n;const a=H(r)?function(e,t){return n=>{Fe(e,t,n)}}(e,t):function(e,t){return n=>{yr(e,e.owner,U,(()=>{t.call(e.component,n)}),U)}}(e,r),c=e=>{a(e)};let u,d;o(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),o(c,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),yr(e,e,U,(()=>{d=new i(c)}),U);const{computeConfigAndUpdate:f,ro:p}=function(e,t,n){const r=Ce();return{computeConfigAndUpdate:()=>{let o;r.observe((()=>o=t(e))),n(o)},ro:r}}(e.component,s,(t=>{yr(e,e,U,(()=>{d.update(t,u)}),U)}));return H(i.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Sr(r);if(H(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:a}}=e;T.call(s,(()=>{const e=new vr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){T.call(l,e)}});a(i,e)}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>p.reset()}}const Cr=new Map;function Sr(e){return Cr.get(e)}function Tr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};br.set(e,o)}function kr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};br.set(e,o)}let Mr=!1;const Ar=Symbol("namespace"),xr=Symbol("type"),Nr=Symbol("parent"),Or=Symbol("shadow-root"),_r=Symbol("children"),Pr=Symbol("attributes"),Lr=Symbol("event-listeners"),$r=Symbol("value");var Rr;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(Rr||(Rr={}));const Dr=/\s+/g;function Ir(e){return new Set(e.split(Dr).filter((e=>e.length)))}function Fr(e){return Array.from(e).join(" ")}function Hr(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function Br(e,t){return{[xr]:Rr.Element,tagName:e,[Ar]:null!=t?t:ee,[Nr]:null,[Or]:null,[_r]:[],[Pr]:[],[Lr]:{}}}function Vr(e,t,n=null){const r=e[Pr].find((e=>e.name===t&&e[Ar]===n));return r?r.value:null}function jr(e,t,n,r=null){const o=e[Pr].find((e=>e.name===t&&e[Ar]===r));H(r)&&(r=null),H(o)?e[Pr].push({name:t,[Ar]:r,value:String(n)}):o.value=n}function Wr(e,t,n){e[Pr]=e[Pr].filter((e=>e.name!==t&&e[Ar]!==n))}const Gr=U,Ur=U,Kr=U,zr=Hr("dispatchEvent"),Yr=Hr("getBoundingClientRect"),qr=Hr("querySelector"),Xr=Hr("querySelectorAll"),Jr=Hr("getElementsByTagName"),Qr=Hr("getElementsByClassName"),Zr=Hr("getChildren"),eo=Hr("getChildNodes"),to=Hr("getFirstChild"),no=Hr("getFirstElementChild"),ro=Hr("getLastChild"),oo=Hr("getLastElementChild"),io=U,so=new Map;function lo(e){let t=so.get(e);return H(t)?(t=function(e){return function(t){const n=Br(e);return W(t)&&t(n),n}}(e),so.set(e,t),t):t}const ao={isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,insert:function(e,t,n){const r=e[Nr];if(null!==r&&r!==t){const t=r[_r].indexOf(e);r[_r].splice(t,1)}e[Nr]=t;const o=B(n)?-1:t[_r].indexOf(n);-1===o?t[_r].push(e):t[_r].splice(o,0,e)},remove:function(e,t){const n=t[_r].indexOf(e);t[_r].splice(n,1)},cloneNode:function(e){return Object.assign({},e)},createFragment:function(e){return{[xr]:Rr.Raw,[Nr]:null,[$r]:e}},createElement:Br,createText:function(e){return{[xr]:Rr.Text,[$r]:String(e),[Nr]:null}},createComment:function(e){return{[xr]:Rr.Comment,[$r]:e,[Nr]:null}},createCustomElement:function(e,t){return new(lo(e))(t)},nextSibling:function(e){const t=e[Nr];if(B(t))return null;const n=t[_r].indexOf(e);return t[_r][n+1]||null},attachShadow:function(e,t){return e[Or]={[xr]:Rr.ShadowRoot,[_r]:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e[Or]},getProperty:function(e,t){var n,r;if(t in e)return e[t];if(e[xr]===Rr.Element){const o=de(t);if(oe(o,e.tagName))return null!==(n=Vr(e,o))&&void 0!==n&&n;if(se(o)||Q(o))return Vr(e,o);if("input"===e.tagName&&"value"===t)return null!==(r=Vr(e,"value"))&&void 0!==r?r:""}},setProperty:function(e,t,n){if(t in e)return e[t]=n;if(e[xr]===Rr.Element){const r=de(t);if("innerHTML"===t)return void(e[_r]=[{[xr]:Rr.Raw,[Nr]:e,[$r]:n}]);if(oe(r,e.tagName))return!0===n?jr(e,r,""):Wr(e,r);if(se(r)||Q(r))return jr(e,r,n);if("input"===e.tagName&&"value"===r)return B(n)||H(n)?Wr(e,"value"):jr(e,"value",n)}},setText:function(e,t){e[xr]===Rr.Text?e[$r]=t:e[xr]===Rr.Element&&(e[_r]=[{[xr]:Rr.Text,[Nr]:e,[$r]:t}])},getAttribute:Vr,setAttribute:jr,removeAttribute:Wr,addEventListener:Ur,removeEventListener:Kr,dispatchEvent:zr,getClassList:function(e){function t(){let t=e[Pr].find((e=>"class"===e.name&&B(e[Ar])));return H(t)&&(t={name:"class",[Ar]:null,value:""},e[Pr].push(t)),t}return{add(...e){const n=t(),r=Ir(n.value);e.forEach((e=>r.add(e))),n.value=Fr(r)},remove(...e){const n=t(),r=Ir(n.value);e.forEach((e=>r.delete(e))),n.value=Fr(r)}}},setCSSStyleProperty:function(e,t,n,r){const o=e[Pr].find((e=>"style"===e.name&&B(e[Ar]))),i=`${t}: ${n}${r?" !important":""}`;H(o)?e[Pr].push({name:"style",[Ar]:null,value:i}):o.value+=`; ${i}`},getBoundingClientRect:Yr,querySelector:qr,querySelectorAll:Xr,getElementsByTagName:Jr,getElementsByClassName:Qr,getChildren:Zr,getChildNodes:eo,getFirstChild:to,getFirstElementChild:no,getLastChild:ro,getLastElementChild:oo,isConnected:function(e){return!B(e[Nr])},insertStylesheet:Gr,assertInstanceOfHTMLElement:io};function co(e){return e.map((e=>{switch(e[xr]){case Rr.Text:return""===e[$r]?"‍":he(e[$r]);case Rr.Comment:return`\x3c!--${he(e[$r])}--\x3e`;case Rr.Raw:return e[$r];case Rr.Element:return uo(e)}})).join("")}function uo(e){let t="";const n=e.tagName,r=e[Ar],o=r!==ee,i=e[_r].length>0;var s;return t+=`<${n}${e[Pr].length?` ${s=e[Pr],s.map((e=>e.value.length?`${e.name}="${he(e.value,!0)}"`:e.name)).join(" ")}`:""}`,o&&!i?(t+="/>",t):(t+=">",e[Or]&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${co(e[_r])}</template>`}(e[Or])),t+=co(e[_r]),function(e,t){return t===ee&&te.has(e.toLowerCase())}(n,r)&&!i||(t+=`</${n}>`),t)}const fo={[xr]:Rr.Element,tagName:"fake-root-element",[Ar]:ee,[Nr]:null,[Or]:null,[_r]:[],[Pr]:[],[Lr]:{}};i(Ct),f(Ct.prototype),exports.LightningElement=Ct,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=Sr(e);if(!H(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){Cr.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((()=>{H(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},exports.freezeTemplate=function(e){},exports.getComponentDef=function(e){const t=Yt(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:de(e)};const a={};for(const e in s)a[e]=s[e].value;return{ctor:n,name:r,props:l,methods:a}},exports.isComponentConstructor=zt,exports.parseFragment=Hn,exports.parseSVGFragment=Hn,exports.readonly=function(e){return yt(e)},exports.register=function(e){for(let t=0;t<Qn.length;++t){const n=Qn[t];if(n in e){let t=Jn[n];H(t)&&(Jn[n]=t=[]),T.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return W(e)&&Kn.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(!H(i))for(const e in i){const t=i[e];if(g[e]=t.config,w=s(r,e),t.config>0){if(H(w))throw new Error;w=Ot(e,w)}else w=H(w)||H(w.get)?Nt(e):Ot(e,w);f[e]=w,o(r,e,w)}if(H(l)||L.call(l,(e=>{if(w=s(r,e),H(w))throw new Error;d[e]=w})),!H(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(H(w))throw new Error;p[e]=w,Tr(w,t,i,l)}else w=Pt(e),h[e]=w,kr(w,t,i,l),o(r,e,w)}if(!H(c))for(const e in c)w=s(r,e),w=_t(e),o(r,e,w);if(!H(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=s(r,t);const n=!H(i)&&t in i,o=!H(c)&&t in c;n||o||(m[t]=At(t))}return function(e,t){Lt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return Rt.add(e),o(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return H(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=H(e)?void 0:e.shadowAttribute}}),e},exports.renderComponent=function(e,t,n={}){if(!G(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!W(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||B(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=ao.createElement(e);ar(r,t,ao,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r[Nr]=fo,ir(r),uo(r)},exports.renderer=ao,exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(H(me[e])){const n=d(me).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=ge[e];if(!H(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(ge,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(Mr,"Hooks are already overridden, only one definition is allowed."),Mr=!0,n=t.sanitizeHtmlContent,Ln=n},exports.track=function(e){if(1===arguments.length)return e;throw new Error},exports.unwrap=function(e){return e},exports.wire=function(e,t){throw new Error};
1
+ "use strict";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:s,getOwnPropertyDescriptor:i,getOwnPropertyNames:l,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:d,seal:f,setPrototypeOf:p}=Object,{isArray:h}=Array,{concat:m,copyWithin:g,fill:w,filter:y,find:b,indexOf:v,join:E,map:C,pop:S,push:k,reduce:T,reverse:M,shift:A,slice:x,some:_,sort:N,splice:O,unshift:P,forEach:L}=Array.prototype,{fromCharCode:R}=String,{charCodeAt:$,replace:D,slice:I,toLowerCase:F}=String.prototype;function H(e){return void 0===e}function B(e){return null===e}function V(e){return!0===e}function W(e){return!1===e}function j(e){return"function"==typeof e}function G(e){return"string"==typeof e}function U(){}const z={}.toString;function K(e){return e&&e.toString?h(e)?E.call(C.call(e,K),","):e.toString():"object"==typeof e?z.call(e):e+""}function Y(e,t){do{const n=i(e,t);if(!H(n))return n;e=a(e)}while(null!==e)}const q=["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:X,AriaPropNameToAttrNameMap:J}=(()=>{const e=n(null),t=n(null);return L.call(q,(n=>{const r=F.call(D.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function Q(e){return e in X}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}(),ee="http://www.w3.org/1999/xhtml",te=new Set(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr","param","keygen","menuitem"]);const ne=/-([a-z])/g,re=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 oe(e,t){const n=re.get(e);return void 0!==n&&(0===n.size||n.has(t))}const se=new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","contextmenu","dir","draggable","enterkeyhint","exportparts","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","part","slot","spellcheck","style","tabindex","title","translate"]);function ie(e){return se.has(e)}const{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:le,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:ae}=(()=>{const e=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"]]),t=new Map;return e.forEach(((e,n)=>t.set(e,n))),{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:t,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:e}})(),ce=new Map,ue=new Map;function de(e){const t=J[e];if(!H(t))return t;const n=ae.get(e);if(!H(n))return n;const r=ce.get(e);if(!H(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=$.call(e,t);o+=n>=65&&n<=90?"-"+R(n+32):R(n)}return ce.set(e,o),o}function fe(e){const t=X[e];if(!H(t))return t;const n=le.get(e);if(!H(n))return n;const r=ue.get(e);if(!H(r))return r;const o=D.call(e,ne,(e=>e[1].toUpperCase()));return ue.set(e,o),o}const pe={'"':"&quot;","'":"&#x27;","<":"&lt;",">":"&gt;","&":"&amp;"};function he(e,t=!1){const n=t?/["&]/g:/["'<>&]/g;return e.replace(n,(e=>pe[e]))}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 me={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY:null};Z.lwcRuntimeFlags||Object.defineProperty(Z,"lwcRuntimeFlags",{value:n(null)});const ge=Z.lwcRuntimeFlags;const we=f(n(null)),ye=f([]);function be(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}const ve=new WeakMap;const Ee={observe(e){e()},reset(){},link(){}};function Ce(e){return Ee}function Se(e){return`<${F.call(e.tagName)}>`}function ke(e,t){if(!u(t)&&H(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!B(n);)k.call(t,Se(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}function Te(e,t,n){let r=`[LWC ${e}]: ${t}`;H(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!B(e.owner);)k.call(t,n+Se(e)),e=e.owner,n+="\t";return E.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function Me(e,t){Te("error",e,t)}function Ae(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function xe(e){return j(e)&&c.call(e,"__circular__")}const _e="undefined"!=typeof HTMLElement?HTMLElement:function(){},Ne=_e.prototype;function Oe(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:Oe("offsetHeight")},offsetLeft:{readOnly:!0,error:Oe("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Oe("offsetTop")},offsetWidth:{readOnly:!0,error:Oe("offsetWidth")},role:{attribute:"role"}});let Pe,Le=null;function Re(e,t){return e!==Le||t!==Pe}function $e(e,t){Le=null,Pe=void 0}function De(e,t){Le=e,Pe=t}const Ie=n(null);function Fe(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n)}L.call(d(J),(e=>{const t=Y(Ne,e);H(t)||(Ie[e]=t)})),L.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=Y(Ne,e);H(t)||(Ie[e]=t)}));const{isArray:He}=Array,{prototype:Be,getPrototypeOf:Ve,create:We,defineProperty:je,isExtensible:Ge,getOwnPropertyDescriptor:Ue,getOwnPropertyNames:ze,getOwnPropertySymbols:Ke,preventExtensions:Ye,hasOwnProperty:qe}=Object,{push:Xe,concat:Je}=Array.prototype;function Qe(e){return void 0===e}function Ze(e){return"function"==typeof e}const et=new WeakMap;function tt(e,t){et.set(e,t)}const nt=e=>et.get(e)||e;class rt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(qe.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;Qe(n)||(e.get=this.wrapGetter(n)),Qe(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=Ue(n,t);if(!Qe(r)){const n=this.wrapDescriptor(r);je(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;Je.call(ze(t),Ke(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;Qe(n)||qe.call(e,n)||je(e,n,We(null)),Ye(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=Qe(n)||qe.call(t,n)?[]:[n];return Xe.apply(r,ze(t)),Xe.apply(r,Ke(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!Ge(e)&&(!!Ge(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Ve(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let s=Ue(n,t);if(Qe(s)){if(t!==o)return;return s={value:void 0,writable:!1,configurable:!1,enumerable:!1},je(e,o,s),s}return!1===s.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(s)}}const ot=new WeakMap,st=new WeakMap,it=new WeakMap,lt=new WeakMap;class at extends rt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=ot.get(e);if(!Qe(t))return t;const n=this,r=function(){return n.wrapValue(e.call(nt(this)))};return ot.set(e,r),it.set(r,e),r}wrapSetter(e){const t=st.get(e);if(!Qe(t))return t;const n=function(t){e.call(nt(this),nt(t))};return st.set(e,n),lt.set(n,e),n}unwrapDescriptor(e){if(qe.call(e,"value"))e.value=nt(e.value);else{const{set:t,get:n}=e;Qe(n)||(e.get=this.unwrapGetter(n)),Qe(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=it.get(e);if(!Qe(t))return t;const n=this,r=function(){return nt(e.call(n.wrapValue(this)))};return ot.set(r,e),it.set(e,r),r}unwrapSetter(e){const t=lt.get(e);if(!Qe(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return st.set(r,e),lt.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&&He(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(Ge(e)){const{originalTarget:t}=this;if(Ye(t),Ge(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:s}}=this;return t===s&&!qe.call(r,t)||(je(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const ct=new WeakMap,ut=new WeakMap;class dt extends rt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=ct.get(e);if(!Qe(t))return t;const n=this,r=function(){return n.wrapValue(e.call(nt(this)))};return ct.set(e,r),r}wrapSetter(e){const t=ut.get(e);if(!Qe(t))return t;const n=function(e){};return ut.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 ft(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(He(e))return!0;const t=Ve(e);return t===Be||null===t||null===Ve(t)}const pt=(e,t)=>{},ht=(e,t)=>{};function mt(e){return He(e)?[]:{}}const gt=Symbol.for("@@lockerLiveValue"),wt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=Ze(t)?t:ht,this.valueObserved=Ze(n)?n:pt,this.valueIsObservable=Ze(r)?r:ft,this.tagPropertyKey=o}getProxy(e){const t=nt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=nt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return nt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(Qe(t)){const n=new at(this,e);t=new Proxy(mt(e),n),tt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(Qe(t)){const n=new dt(this,e);t=new Proxy(mt(e),n),tt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:function(e,t){},valueMutated:function(e,t){const n=ve.get(e);if(!H(n)){const e=n[t];if(!H(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}},tagPropertyKey:gt});function yt(e){return wt.getReadOnlyProxy(e)}function bt(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!j(n))throw new TypeError;if(!j(r))throw new TypeError;return{enumerable:o,configurable:s,get(){const e=fr(this);if(!Un(e))return n.call(e.elm)},set(t){const n=fr(this);return Fe(n,e,t),r.call(n.elm,t)}}}const vt=s(n(null)),Et=new WeakMap,Ct=function(){if(B(Gn))throw new TypeError("Illegal constructor");const e=Gn,{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 dr(o,e),dr(n,e),1===e.renderMode?e.renderRoot=St(e):e.renderRoot=n,this};function St(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:s}}=e,i=s(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=i,dr(i,e),i}Ct.prototype={constructor:Ct,dispatchEvent(e){const t=fr(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=fr(this),{elm:o,renderer:{addEventListener:s}}=r;s(o,e,Qn(r,t),n)},removeEventListener(e,t,n){const r=fr(this),{elm:o,renderer:{removeEventListener:s}}=r;s(o,e,Qn(r,t),n)},hasAttribute(e){const t=fr(this),{elm:n,renderer:{getAttribute:r}}=t;return!B(r(n,e))},hasAttributeNS(e,t){const n=fr(this),{elm:r,renderer:{getAttribute:o}}=n;return!B(o(r,t,e))},removeAttribute(e){const t=fr(this),{elm:n,renderer:{removeAttribute:r}}=t;De(n,e),r(n,e),$e()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=fr(this);De(n,t),r(n,t,e),$e()},getAttribute(e){const t=fr(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=fr(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=fr(this),{elm:r,renderer:{setAttribute:o}}=n;De(r,e),o(r,e,t),$e()},setAttributeNS(e,t,n){const r=fr(this),{elm:o,renderer:{setAttribute:s}}=r;De(o,t),s(o,t,n,e),$e()},getBoundingClientRect(){const e=fr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=fr(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=fr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return fr(this).shadowRoot},get refs(){const e=fr(this);if(In)return;const{refVNodes:t,hasRefVNodes:r,cmpTemplate:o}=e;if(!r)return;if(B(t))return vt;let i=Et.get(t);if(H(i)){i=n(null);for(const e of d(t))i[e]=t[e].elm;s(i),Et.set(t,i)}return i},set refs(e){o(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=fr(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=fr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=fr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=fr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=fr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=fr(this);return e.renderer.getLastElementChild(e.elm)},render(){return fr(this).def.template},toString(){return`[object ${fr(this).def.name}]`}};const kt=n(null),Tt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Tt)kt[e]={value(t){const n=fr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};r(Ct.prototype,kt);const Mt=n(null);for(const e in Ie)Mt[e]=bt(e,Ie[e]);function At(e){return{get(){return fr(this).cmpFields[e]},set(t){Fe(fr(this),e,t)},enumerable:!0,configurable:!0}}r(Ct.prototype,Mt),o(Ct,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const xt={observe(e){e()},reset(){},link(){}};function _t(e){return{get(){const t=fr(this);if(!Un(t))return t.cmpProps[e]},set(t){fr(this).cmpProps[e]=t},enumerable:!0,configurable:!0}}function Nt(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!j(n))throw new Error;return{get(){return n.call(this)},set(t){const n=fr(this);if(r)if(ge.ENABLE_REACTIVE_SETTER){let o=n.oar[e];H(o)&&(o=n.oar[e]=xt),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:s}}function Ot(e){return{get(){return fr(this).cmpFields[e]},set(t){Fe(fr(this),e,t)},enumerable:!0,configurable:!0}}function Pt(e){return{get(){return fr(this).cmpFields[e]},set(t){Fe(fr(this),e,t)},enumerable:!0,configurable:!0}}const Lt=new Map;const Rt={apiMethods:we,apiFields:we,apiFieldsConfig:we,wiredMethods:we,wiredFields:we,observedFields:we};const $t=new Set;function Dt(){return[]}$t.add(Dt);const It=n(null),Ft=n(null);function Ht(e){let t=It[e];return H(t)&&(t=It[e]=function(){const t=fr(this),{getHook:n}=t;return n(t.component,e)}),t}function Bt(e){let t=Ft[e];return H(t)&&(t=Ft[e]=function(t){const n=fr(this),{setHook:r}=n;t=yt(t),r(n.component,e,t)}),t}function Vt(e){return function(){const t=fr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,x.call(arguments))}}function Wt(e,t){return function(n,r,o){if(r===o)return;const s=e[n];H(s)?H(t)||t.apply(this,arguments):Re(this,n)&&(this[s]=o)}}function jt(e,t,s){let i;j(e)?i=class extends e{}:(i=function(){throw new TypeError("Illegal constructor")},p(i,e),p(i.prototype,e.prototype),o(i.prototype,"constructor",{writable:!0,configurable:!0,value:i}));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[de(n)]=n,u[n]={get:Ht(n),set:Bt(n),enumerable:!0,configurable:!0}}for(let e=0,t=s.length;e<t;e+=1){const t=s[e];u[t]={value:Vt(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:Wt(l,a)},o(i,"observedAttributes",{get:()=>[...c,...d(l)]}),r(i.prototype,u),i}const Gt=jt(_e,l(Ie),[]);s(Gt),f(Gt.prototype);const Ut="function"==typeof WeakRef&&"function"==typeof FinalizationRegistry;const zt=Ut?class{constructor(){this._map=new WeakMap,this._registry=new FinalizationRegistry((e=>{for(let t=e.length-1;t>=0;t--){H(e[t].deref())&&O.call(e,t,1)}}))}_getWeakRefs(e){let t=this._map.get(e);return H(t)&&(t=[],this._map.set(e,t)),t}get(e){const t=this._getWeakRefs(e),n=new Set;for(const e of t){const t=e.deref();H(t)||n.add(t)}return n}add(e,t){const n=this._getWeakRefs(e);k.call(n,new WeakRef(t)),this._registry.register(t,n)}delete(e){this._map.delete(e)}}:class{constructor(){this._map=new WeakMap}_getValues(e){let t=this._map.get(e);return H(t)&&(t=new Set,this._map.set(e,t)),t}get(e){return this._getValues(e)}add(e,t){this._getValues(e).add(t)}delete(e){this._map.delete(e)}};new zt,new zt,new zt;const Kt=new WeakMap;function Yt(e){const{shadowSupportMode:o,renderMode:s}=e,i=function(e){const t=Lt.get(e);return H(t)?Rt:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:f,wiredMethods:p,observedFields:h}=i,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=a(e);if(B(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(xe(t)){const e=Ae(t);t=e===t?Ct:e}return t}(e),C=E!==Ct?Xt(E):Jt,S=jt(C.bridge,d(l),d(u)),k=t(n(null),C.props,l),T=t(n(null),C.propsConfig,c),M=t(n(null),C.methods,u),A=t(n(null),C.wire,f,p);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let x=C.shadowSupportMode;H(o)||(x=o);let _=C.renderMode;H(s)||(_="light"===s?0:1);const N=function(e){return Yn.get(e)}(e)||C.template,O=e.name||C.name;r(m,h);return{ctor:e,name:O,wire:A,props:k,propsConfig:T,methods:M,bridge:S,template:N,renderMode:_,shadowSupportMode:x,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function qt(e){if(!j(e))return!1;if(e.prototype instanceof Ct)return!0;let t=e;do{if(xe(t)){const e=Ae(t);if(e===t)return!0;t=e}if(t===Ct)return!0}while(!B(t)&&(t=a(t)));return!1}function Xt(e){let t=Kt.get(e);if(H(t)){if(xe(e)){return t=Xt(Ae(e)),Kt.set(e,t),t}if(!qt(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=Yt(e),Kt.set(e,t)}return t}const Jt={ctor:Ct,name:Ct.name,props:Mt,propsConfig:we,methods:we,renderMode:1,shadowSupportMode:"reset",wire:we,bridge:Gt,template:Dt,render:Ct.prototype.render};function Qt(e){return`${e}-host`}function Zt(e){return Dn.h("style",{key:"style",attrs:{type:"text/css"}},[Dn.t(e)])}function en(e,t,n){const r=[];let o;for(let s=0;s<e.length;s++){let i=e[s];if(h(i))k.apply(r,en(i,t,n));else{const e=i.$scoped$;if(ge.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){Me("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const s=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:(H(o)&&(o=nn(n)),a=B(o)||0===o.shadowMode),k.call(r,i(s,l,a))}}return r}function tn(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return H(n)||0===n.length||(o=en(n,r,e)),o}function nn(e){let t=e;for(;!B(t);){if(1===t.renderMode)return t;t=t.owner}return t}function rn(e){const{type:t}=e;return 2===t||3===t}function on(e,t){return e.key===t.key&&e.sel===t.sel}function sn(e){return 5===e.type}function ln(e){return 6===e.type}function an(e,t){return"input"===e&&("value"===t||"checked"===t)}const cn=n(null);function un(e){if(null==e)return we;e=G(e)?e:e+"";let t=cn[e];if(t)return t;t=n(null);let r,o=0;const s=e.length;for(r=0;r<s;r++)32===$.call(e,r)&&(r>o&&(t[I.call(e,o,r)]=!0),o=r+1);return r>o&&(t[I.call(e,o,r)]=!0),cn[e]=t,t}function dn(e,t,n,r){var o;o=t,Mn.has(o)?xn(e,t,n,r):_n(e,t,n,r)}function fn(e,t,n,r){var o,s;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&vn(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:s}=t;s?_n(e.children,o,n,r):xn(e.children,o,n,r);t.elm=o[o.length-1].elm}(e,t,n,r);break;case 2:!function(e,t,n){const r=t.elm=e.elm;Cn(e,t,n),dn(e.children,t.children,r,n)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:r);break;case 3:!function(e,t,n,r){if(e.ctor!==t.ctor){const o=r.nextSibling(e.elm);gn(e,n,r,!0),hn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;Cn(e,t,r),H(o)||kn(t,o),dn(e.children,t.children,n,r),H(o)||function(e){hr(e)}(o)}}(e,t,n,null!==(s=t.data.renderer)&&void 0!==s?s:r)}}function pn(e,t,n,r){var o,s;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:s}=r,i=e.elm=s(e.text);bn(i,o,r),En(i,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:s}=r,i=e.elm=s(e.text);bn(i,o,r),En(i,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:s,isSyntheticShadowDefined:i}=r,l=e.elm=s(e.fragment,!0);bn(l,o,r);const{renderMode:a,shadowMode:c}=o;i&&(1!==c&&0!==a||(l.$shadowStaticNode$=!0));En(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;mn(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:s,data:{svg:i}}=e,{createElement:l}=r,a=V(i)?"http://www.w3.org/2000/svg":void 0,c=e.elm=l(o,a);bn(c,s,r),Sn(c,s,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(c,e),Cn(null,e,r),En(c,t,n,r),mn(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:hn(e,t,r,null!==(s=e.data.renderer)&&void 0!==s?s:n)}}function hn(e,t,n,r){const{sel:o,owner:s}=e,{createCustomElement:i}=r;let l;let a,c;ge.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(a=e=>{lr(e)},c=e=>{ar(e)});const u=i(o.toLowerCase(),(t=>{l=function(e,t,n){let r=pr(e);if(!H(r))return r;const{sel:o,mode:s,ctor:i,owner:l}=t;return r=ur(e,i,n,{mode:s,owner:l,tagName:o}),r}(t,e,r)}),a,c);e.elm=u,e.vm=l,bn(u,s,r),Sn(u,s,r),l&&kn(e,l),Cn(null,e,r),En(u,t,n,r),l&&mr(l),mn(e.children,u,r,null),l&&function(e){hr(e)}(l)}function mn(e,t,n,r,o=0,s=e.length){for(;o<s;++o){const s=e[o];yn(s)&&pn(s,t,n,r)}}function gn(e,t,n,r=!1){const{type:o,elm:s,sel:i}=e;switch(r&&(5===o?wn(e.children,t,n,r):function(e,t,n){n.remove(e,t)}(s,t,n)),o){case 2:{const t="slot"===i&&1===e.owner.shadowMode;wn(e.children,s,n,t);break}case 3:{const{vm:t}=e;H(t)||function(e){cr(e)}(t)}}}function wn(e,t,n,r=!1,o=0,s=e.length){for(;o<s;++o){const s=e[o];yn(s)&&gn(s,t,n,r)}}function yn(e){return null!=e}function bn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:s}=t,{isSyntheticShadowDefined:i}=n;i&&(1!==s&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function vn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function En(e,t,n,r){r.insert(e,t,n)}function Cn(e,n,r){B(e)&&(function(e,t){const{elm:n,data:{on:r}}=e;if(H(r))return;const{addEventListener:o}=t;for(const e in r)o(n,e,r[e])}(n,r),function(e,t){const{elm:n,data:{classMap:r}}=e;if(H(r))return;const{getClassList:o}=t,s=o(n);for(const e in r)s.add(e)}(n,r),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(H(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,s,i]=r[e];o(n,t,s,i)}}(n,r)),function(e,t,n){const{elm:r,data:{className:o}}=t,s=B(e)?void 0:e.data.className;if(s===o)return;const{getClassList:i}=n,l=i(r),a=un(o),c=un(s);let u;for(u in c)H(a[u])&&l.remove(u);for(u in a)H(c[u])&&l.add(u)}(e,n,r),function(e,t,n){const{elm:r,data:{style:o}}=t;if((B(e)?void 0:e.data.style)===o)return;const{setAttribute:s,removeAttribute:i}=n;G(o)&&""!==o?s(r,"style",o):i(r,"style")}(e,n,r),n.data.external?function(e,t,n){const{data:{attrs:r},elm:o}=t;if(H(r))return;const{removeAttribute:s,setAttribute:i,setProperty:l}=n,a=B(e)?we:e.data.attrs;for(const e in r){const t=r[e];a[e]!==t&&(fe(e)in o?l(o,e,t):58===$.call(e,3)?i(o,e,t,"http://www.w3.org/XML/1998/namespace"):58===$.call(e,5)?i(o,e,t,"http://www.w3.org/1999/xlink"):B(t)||H(t)?s(o,e):i(o,e,t))}}(e,n,r):function(e,t,n){const{attrs:r}=t.data;if(H(r))return;const o=B(e)?we:e.data.attrs;if(o===r)return;const{elm:s}=t,{setAttribute:i,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(De(s,e),58===$.call(e,3)?i(s,e,t,"http://www.w3.org/XML/1998/namespace"):58===$.call(e,5)?i(s,e,t,"http://www.w3.org/1999/xlink"):B(t)||H(t)?l(s,e):i(s,e,t),$e())}}(e,n,r),function(e,n,r){let{props:o}=n.data;const{spread:s}=n.data;if(H(o)&&H(s))return;let i;if(!B(e)){i=e.data.props;const n=e.data.spread;if(i===o&&n===s)return;H(i)&&(i=we),H(n)||(i=t({},i,n))}H(s)||(o=t({},o,s));const l=B(e),{elm:a,sel:c}=n,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(an(c,e)?u(a,e):i[e])&&e in i||d(a,e,t)}}(e,n,r)}function Sn(e,t,n){const r=function(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}(t);if(!B(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||H(o)||(e.$shadowToken$=o)}function kn(e,t){const r=e.aChildren||e.children;t.aChildren=r;const{renderMode:o,shadowMode:s}=t;1!==s&&0!==o||(!function(e,t,r){const{cmpSlots:{slotAssignments:o}}=e,s=n(null);if(Tn(e,t,s),e.cmpSlots={owner:r,slotAssignments:s},W(e.isDirty)){const t=d(o);if(t.length!==d(s).length)return void Xn(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(H(s[r])||o[r].length!==s[r].length)return void Xn(e);const i=o[r],l=s[r];for(let t=0,n=s[r].length;t<n;t+=1)if(i[t]!==l[t])return void Xn(e)}}}(t,r,e.owner),e.aChildren=r,e.children=ye)}function Tn(e,t,n){var r,o;for(let s=0,i=t.length;s<i;s+=1){const i=t[s];if(B(i))continue;if(sn(i)){Tn(e,i.children.slice(1,-1),n);continue}let l="";rn(i)?l=null!==(o=null===(r=i.data.attrs)||void 0===r?void 0:r.slot)&&void 0!==o?o:"":ln(i)&&(l=i.slotName);const a=n[l]=n[l]||[];k.call(a,i)}}const Mn=new WeakMap;function An(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(yn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function xn(e,t,n,r){let o=0,s=0,i=e.length-1,l=e[0],a=e[i];const c=t.length-1;let u,d,f,p,h=c,m=t[0],g=t[h],w=!1;for(;o<=i&&s<=h;)yn(l)?yn(a)?yn(m)?yn(g)?on(l,m)?(fn(l,m,n,r),l=e[++o],m=t[++s]):on(a,g)?(fn(a,g,n,r),a=e[--i],g=t[--h]):on(l,g)?(fn(l,g,n,r),En(l.elm,n,r.nextSibling(a.elm),r),l=e[++o],g=t[--h]):on(a,m)?(fn(a,m,n,r),En(m.elm,n,l.elm,r),a=e[--i],m=t[++s]):(void 0===u&&(u=An(e,o,i)),d=u[m.key],H(d)?(pn(m,n,r,l.elm),m=t[++s]):(f=e[d],yn(f)&&(f.sel!==m.sel?pn(m,n,r,l.elm):(fn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,En(f.elm,n,l.elm,r))),m=t[++s])):g=t[--h]:m=t[++s]:a=e[--i]:l=e[++o];if(o<=i||s<=h)if(o>i){let e,o=h;do{e=t[++o]}while(!yn(e)&&o<c);p=yn(e)?e.elm:null,mn(t,n,r,p,s,h+1)}else wn(e,n,r,!0,o,i+1)}function _n(e,t,n,r){const o=e.length,s=t.length;if(0===o)return void mn(t,n,r,null);if(0===s)return void wn(e,n,r,!0);let i=null;for(let o=s-1;o>=0;o-=1){const s=e[o],l=t[o];l!==s&&(yn(s)?yn(l)?(fn(s,l,n,r),i=l.elm):gn(s,n,r,!0):yn(l)&&(pn(l,n,r,i),i=l.elm))}}const Nn=Symbol.iterator;function On(e,t,n=ye){const r=Hn(),{key:o,ref:s}=t,i={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return H(s)||be(r,s,i),i}function Pn(e,t,n,r=ye){const o=Hn(),{key:s,ref:i}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:s,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){k.call(Hn().velements,e)}(l),H(i)||be(o,i,l),l}function Ln(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:Hn()}}function Rn(e){var t;return t=e,Mn.set(t,1),e}let $n=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const Dn=s({s:function(e,t,n,r){if(!H(r)&&!H(r.slotAssignments)&&!H(r.slotAssignments[e])&&0!==r.slotAssignments[e].length){const o=[],s=r.slotAssignments[e];for(let e=0;e<s.length;e++){const n=s[e];if(!B(n)){const e=ln(n);if(e!==!H(t.slotData))continue;if(e){const e=Hn();Bn(r.owner);try{k.apply(o,n.factory(t.slotData))}finally{Bn(e)}}else k.call(o,n)}}n=o}const o=Hn(),{renderMode:s,shadowMode:i}=o;return 0===s?(Rn(n),n):(1===i&&Rn(n),On("slot",t,n))},h:On,c:Pn,i:function(e,t){const n=[];if(Rn(n),H(e)||null===e)return n;const r=e[Nn]();let o=r.next(),s=0,{value:i,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(i,s,0===s,!0===l);h(e)?k.apply(n,e):k.call(n,e),s+=1,i=o.value}return n},f:function(e){const t=e.length,n=[];Rn(n);for(let r=0;r<t;r+=1){const t=e[r];h(t)?k.apply(n,t):k.call(n,t)}return n},t:Ln,d:function(e){return null==e?"":String(e)},b:function(e){const t=Hn();if(B(t))throw new Error;const n=t;return function(t){Kn(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:"c",owner:Hn()}},dc:function(e,t,n,r=ye){if(null==t)return null;if(!qt(t))throw new Error(`Invalid LWC Constructor ${K(t)} for custom element <${e}>.`);return Pn(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[Ln(""),...t,Ln("")],stable:n,owner:Hn()}},ti:function(e){return e>0&&!(V(e)||W(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:Hn()}},gid:function(e){const t=Hn();if(H(e)||""===e)return e;if(B(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?D.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=Hn();if(H(e)||""===e)return e;if(B(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return $n(e)},ssf:function(e,t){return{type:6,factory:t,owner:Hn(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let In=!1,Fn=null;function Hn(){return Fn}function Bn(e){Fn=e}const Vn=(Wn=(e,t)=>{const{createFragment:n}=t;return n(e)},(e,...t)=>{const r=n(null);return function(){const{context:{hasScopedStyles:n,stylesheetToken:o},shadowMode:s,renderer:i}=Hn(),l=!H(o),a=1===s;let c=0;if(l&&n&&(c|=1),l&&a&&(c|=2),!H(r[c]))return r[c];const u=n&&l?" "+o:"",d=n&&l?` class="${o}"`:"",f=l&&a?" "+o:"";let p="";for(let n=0,r=t.length;n<r;n++)switch(t[n]){case 0:p+=e[n]+u;break;case 1:p+=e[n]+d;break;case 2:p+=e[n]+f;break;case 3:p+=e[n]+d+f}return p+=e[e.length-1],r[c]=Wn(p,i),r[c]}});var Wn;function jn(e,t){const r=In,o=Fn;let s=[];return Er(e,e.owner,(()=>{Fn=e}),(()=>{const{component:r,context:o,cmpSlots:i,cmpTemplate:l,tro:a}=e;a.observe((()=>{if(t!==l){if(B(l)||br(e),a=t,!$t.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: ${K(t)}.`);e.cmpTemplate=t,o.tplCache=n(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!H(t))for(let e=0;e<t.length;e++)if(V(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:s,renderer:{getClassList:i,removeAttribute:l,setAttribute:a}}=e,{stylesheets:c,stylesheetToken:u}=t,d=1===o&&1===s,{hasScopedStyles:f}=r;let p,h,m;const{stylesheetToken:g,hasTokenInClass:w,hasTokenInAttribute:y}=r;H(g)||(w&&i(n).remove(Qt(g)),y&&l(n,Qt(g))),H(c)||0===c.length||(p=u),H(p)||(f&&(i(n).add(Qt(p)),h=!0),d&&(a(n,Qt(p),""),m=!0)),r.stylesheetToken=p,r.hasTokenInClass=h,r.hasTokenInAttribute=m}(e,t);const r=tn(e,t);o.styleVNodes=0===r.length?null:function(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1!==n||1!==r)return C.call(t,Zt);for(let e=0;e<t.length;e++)o(t[e]);return null}(e,r)}var a;const c=Boolean(t.hasRefs);e.hasRefVNodes=c,e.refVNodes=c?n(null):null,e.velements=[],In=!0,s=t.call(void 0,Dn,r,i,o.tplCache);const{styleVNodes:u}=o;B(u)||P.apply(s,u)}))}),(()=>{In=r,Fn=o})),s}let Gn=null;function Un(e){return Gn===e}function zn(e,t,n){const{component:r,callHook:o,owner:s}=e;Er(e,s,U,(()=>{o(r,t,n)}),U)}function Kn(e,t,n,r){const{callHook:o,owner:s}=e;Er(e,s,U,(()=>{o(n,t,[r])}),U)}const Yn=new Map;function qn(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,s=Hn();let i,l=!1;return Er(e,o,(()=>{Bn(e)}),(()=>{e.tro.observe((()=>{i=n(r,t),l=!0}))}),(()=>{Bn(s)})),l?jn(e,i):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Xn(e){e.isDirty=!0}const Jn=new WeakMap;function Qn(e,t){if(!j(t))throw new TypeError;let n=Jn.get(t);return H(n)&&(n=function(n){Kn(e,t,void 0,n)},Jn.set(t,n)),n}const Zn=n(null),er=["rendered","connected","disconnected"];function tr(e,t){const{component:n,def:r,context:o}=e;for(let e=0,s=t.length;e<s;++e)t[e].call(void 0,n,{},r,o)}let nr=0;const rr=new WeakMap;function or(e,t,n=[]){return t.apply(e,n)}function sr(e,t,n){e[t]=n}function ir(e,t){return e[t]}function lr(e){const t=fr(e);1===t.state&&ar(e),mr(t),hr(t)}function ar(e){cr(fr(e))}function cr(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){W(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Zn;t&&tr(e,t);gr(e)&&function(e){const{wiredDisconnecting:t}=e.context;Er(e,e,U,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),U)}(e);const{disconnectedCallback:n}=e.def;H(n)||zn(e,n)}(e),wr(e),function(e){const{aChildren:t}=e;yr(t)}(e)}}function ur(e,t,r,o){const{mode:s,owner:i,tagName:l,hydrated:a}=o,c=Xt(t),u={elm:e,def:c,idx:nr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:s,owner:i,refVNodes:null,hasRefVNodes:!1,children:ye,aChildren:ye,velements:ye,cmpProps:n(null),cmpFields:n(null),cmpSlots:{slotAssignments:n(null)},oar:n(null),cmpTemplate:null,hydrated:Boolean(a),renderMode:c.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:we,wiredConnecting:ye,wiredDisconnecting:ye},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:or,setHook:sr,getHook:ir,renderer:r};return u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let s;if(r)if(0===n.renderMode)s=0;else if(o)if(ge.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)s=0;else{const t=function(e){let t=e.owner;for(;!B(t)&&0===t.renderMode;)t=t.owner;return t}(e);s=B(t)||0!==t.shadowMode?1:0}else s=1;else s=1;else s=0;return s}(u,r),u.tro=Ce(),function(e,t){const n=Gn;let r;Gn=e;try{const o=new t;if(Gn.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Gn=n,!H(r))throw ke(e,r),r}}(u,c.ctor),gr(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const s=n[t],i=Cr.get(s);if(!H(i)){const{connector:n,computeConfigAndUpdate:s,resetConfigWatcher:l}=kr(e,t,i),a=i.dynamic.length>0;k.call(r,(()=>{n.connect(),ge.ENABLE_WIRE_SYNC_EMIT||!a?s():Promise.resolve().then(s)})),k.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function dr(e,t){rr.set(e,t)}function fr(e){return rr.get(e)}function pr(e){return rr.get(e)}function hr(e){if(V(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&Er(e,e,(()=>{}),(()=>{dn(r,t,n,o)}),(()=>{}));e.state}(e,qn(e))}}function mr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Zn;n&&tr(e,n),gr(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;H(r)||zn(e,r)}function gr(e){return l(e.def.wire).length>0}function wr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!H(n)){const e=pr(n);H(e)||cr(e)}}}function yr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!B(n)&&!H(n.elm))switch(n.type){case 2:yr(n.children);break;case 3:cr(fr(n.elm));break}}}function br(e){vr(e.children,e),e.children=ye,wr(e),e.velements=ye}function vr(e,t){const{renderRoot:n,renderer:{remove:r}}=t;for(let o=0,s=e.length;o<s;o+=1){const s=e[o];B(s)||(sn(s)?vr(s.children,t):H(s.elm)||r(s.elm,n))}}function Er(e,t,n,r,o){let s;n();try{r()}catch(e){s=Object(e)}finally{if(o(),!H(s)){ke(e,s);const n=B(t)?void 0:function(e){let t=e;for(;!B(t);){if(!H(t.def.errorCallback))return t;t=t.owner}}(t);if(H(n))throw s;br(e);zn(n,n.def.errorCallback,[s,s.wcStack])}}}const Cr=new Map;class Sr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function kr(e,t,n){const{method:r,adapter:s,configCallback:i,dynamic:l}=n;const a=H(r)?function(e,t){return n=>{Fe(e,t,n)}}(e,t):function(e,t){return n=>{Er(e,e.owner,U,(()=>{t.call(e.component,n)}),U)}}(e,r),c=e=>{a(e)};let u,d;o(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),o(c,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),Er(e,e,U,(()=>{d=new s(c)}),U);const{computeConfigAndUpdate:f,ro:p}=function(e,t,n){const r=Ce();return{computeConfigAndUpdate:()=>{let o;r.observe((()=>o=t(e))),n(o)},ro:r}}(e.component,i,(t=>{Er(e,e,U,(()=>{d.update(t,u)}),U)}));return H(s.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Mr(r);if(H(o))return;const{elm:s,context:{wiredConnecting:i,wiredDisconnecting:l},renderer:{dispatchEvent:a}}=e;k.call(i,(()=>{const e=new Sr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){k.call(l,e)}});a(s,e)}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>p.reset()}}const Tr=new Map;function Mr(e){return Tr.get(e)}function Ar(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Cr.set(e,o)}function xr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Cr.set(e,o)}let _r=!1;const Nr=Symbol("namespace"),Or=Symbol("type"),Pr=Symbol("parent"),Lr=Symbol("shadow-root"),Rr=Symbol("children"),$r=Symbol("attributes"),Dr=Symbol("event-listeners"),Ir=Symbol("value");var Fr;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(Fr||(Fr={}));const Hr=/\s+/g;function Br(e){return new Set(e.split(Hr).filter((e=>e.length)))}function Vr(e){return Array.from(e).join(" ")}function Wr(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function jr(e,t){return{[Or]:Fr.Element,tagName:e,[Nr]:null!=t?t:ee,[Pr]:null,[Lr]:null,[Rr]:[],[$r]:[],[Dr]:{}}}function Gr(e,t,n=null){const r=e[$r].find((e=>e.name===t&&e[Nr]===n));return r?r.value:null}function Ur(e,t,n,r=null){const o=e[$r].find((e=>e.name===t&&e[Nr]===r));H(r)&&(r=null),H(o)?e[$r].push({name:t,[Nr]:r,value:String(n)}):o.value=n}function zr(e,t,n){e[$r]=e[$r].filter((e=>e.name!==t&&e[Nr]!==n))}const Kr=U,Yr=U,qr=U,Xr=Wr("dispatchEvent"),Jr=Wr("getBoundingClientRect"),Qr=Wr("querySelector"),Zr=Wr("querySelectorAll"),eo=Wr("getElementsByTagName"),to=Wr("getElementsByClassName"),no=Wr("getChildren"),ro=Wr("getChildNodes"),oo=Wr("getFirstChild"),so=Wr("getFirstElementChild"),io=Wr("getLastChild"),lo=Wr("getLastElementChild"),ao=U,co=new Map;function uo(e){let t=co.get(e);return H(t)?(t=function(e){return function(t){const n=jr(e);return j(t)&&t(n),n}}(e),co.set(e,t),t):t}const fo={isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,insert:function(e,t,n){const r=e[Pr];if(null!==r&&r!==t){const t=r[Rr].indexOf(e);r[Rr].splice(t,1)}e[Pr]=t;const o=B(n)?-1:t[Rr].indexOf(n);-1===o?t[Rr].push(e):t[Rr].splice(o,0,e)},remove:function(e,t){const n=t[Rr].indexOf(e);t[Rr].splice(n,1)},cloneNode:function(e){return Object.assign({},e)},createFragment:function(e){return{[Or]:Fr.Raw,[Pr]:null,[Ir]:e}},createElement:jr,createText:function(e){return{[Or]:Fr.Text,[Ir]:String(e),[Pr]:null}},createComment:function(e){return{[Or]:Fr.Comment,[Ir]:e,[Pr]:null}},createCustomElement:function(e,t){return new(uo(e))(t)},nextSibling:function(e){const t=e[Pr];if(B(t))return null;const n=t[Rr].indexOf(e);return t[Rr][n+1]||null},attachShadow:function(e,t){return e[Lr]={[Or]:Fr.ShadowRoot,[Rr]:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e[Lr]},getProperty:function(e,t){var n,r;if(t in e)return e[t];if(e[Or]===Fr.Element){const o=de(t);if(oe(o,e.tagName))return null!==(n=Gr(e,o))&&void 0!==n&&n;if(ie(o)||Q(o))return Gr(e,o);if("input"===e.tagName&&"value"===t)return null!==(r=Gr(e,"value"))&&void 0!==r?r:""}},setProperty:function(e,t,n){if(t in e)return e[t]=n;if(e[Or]===Fr.Element){const r=de(t);if("innerHTML"===t)return void(e[Rr]=[{[Or]:Fr.Raw,[Pr]:e,[Ir]:n}]);if(oe(r,e.tagName))return!0===n?Ur(e,r,""):zr(e,r);if(ie(r)||Q(r))return Ur(e,r,n);if("input"===e.tagName&&"value"===r)return B(n)||H(n)?zr(e,"value"):Ur(e,"value",n)}},setText:function(e,t){e[Or]===Fr.Text?e[Ir]=t:e[Or]===Fr.Element&&(e[Rr]=[{[Or]:Fr.Text,[Pr]:e,[Ir]:t}])},getAttribute:Gr,setAttribute:Ur,removeAttribute:zr,addEventListener:Yr,removeEventListener:qr,dispatchEvent:Xr,getClassList:function(e){function t(){let t=e[$r].find((e=>"class"===e.name&&B(e[Nr])));return H(t)&&(t={name:"class",[Nr]:null,value:""},e[$r].push(t)),t}return{add(...e){const n=t(),r=Br(n.value);e.forEach((e=>r.add(e))),n.value=Vr(r)},remove(...e){const n=t(),r=Br(n.value);e.forEach((e=>r.delete(e))),n.value=Vr(r)}}},setCSSStyleProperty:function(e,t,n,r){const o=e[$r].find((e=>"style"===e.name&&B(e[Nr]))),s=`${t}: ${n}${r?" !important":""}`;H(o)?e[$r].push({name:"style",[Nr]:null,value:s}):o.value+=`; ${s}`},getBoundingClientRect:Jr,querySelector:Qr,querySelectorAll:Zr,getElementsByTagName:eo,getElementsByClassName:to,getChildren:no,getChildNodes:ro,getFirstChild:oo,getFirstElementChild:so,getLastChild:io,getLastElementChild:lo,isConnected:function(e){return!B(e[Pr])},insertStylesheet:Kr,assertInstanceOfHTMLElement:ao};function po(e){return e.map((e=>{switch(e[Or]){case Fr.Text:return""===e[Ir]?"‍":he(e[Ir]);case Fr.Comment:return`\x3c!--${he(e[Ir])}--\x3e`;case Fr.Raw:return e[Ir];case Fr.Element:return ho(e)}})).join("")}function ho(e){let t="";const n=e.tagName,r=e[Nr],o=r!==ee,s=e[Rr].length>0;var i;return t+=`<${n}${e[$r].length?` ${i=e[$r],i.map((e=>e.value.length?`${e.name}="${he(e.value,!0)}"`:e.name)).join(" ")}`:""}`,o&&!s?(t+="/>",t):(t+=">",e[Lr]&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${po(e[Rr])}</template>`}(e[Lr])),t+=po(e[Rr]),function(e,t){return t===ee&&te.has(e.toLowerCase())}(n,r)&&!s||(t+=`</${n}>`),t)}const mo={[Or]:Fr.Element,tagName:"fake-root-element",[Nr]:ee,[Pr]:null,[Lr]:null,[Rr]:[],[$r]:[],[Dr]:{}};s(Ct),f(Ct.prototype),exports.LightningElement=Ct,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=Mr(e);if(!H(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){Tr.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:s}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{H(s)||s(r)})),o(r),e.stopImmediatePropagation()}))}},exports.freezeTemplate=function(e){},exports.getComponentDef=function(e){const t=Xt(e),{ctor:n,name:r,props:o,propsConfig:s,methods:i}=t,l={};for(const e in o)l[e]={config:s[e]||0,type:"any",attr:de(e)};const a={};for(const e in i)a[e]=i[e].value;return{ctor:n,name:r,props:l,methods:a}},exports.isComponentConstructor=qt,exports.parseFragment=Vn,exports.parseSVGFragment=Vn,exports.readonly=function(e){return yt(e)},exports.register=function(e){for(let t=0;t<er.length;++t){const n=er[t];if(n in e){let t=Zn[n];H(t)&&(Zn[n]=t=[]),k.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return j(e)&&Yn.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:s,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(!H(s))for(const e in s){const t=s[e];if(g[e]=t.config,w=i(r,e),t.config>0){if(H(w))throw new Error;w=Nt(e,w)}else w=H(w)||H(w.get)?_t(e):Nt(e,w);f[e]=w,o(r,e,w)}if(H(l)||L.call(l,(e=>{if(w=i(r,e),H(w))throw new Error;d[e]=w})),!H(a))for(const e in a){const{adapter:t,method:n,config:s,dynamic:l=[]}=a[e];if(w=i(r,e),1===n){if(H(w))throw new Error;p[e]=w,Ar(w,t,s,l)}else w=Pt(e),h[e]=w,xr(w,t,s,l),o(r,e,w)}if(!H(c))for(const e in c)w=i(r,e),w=Ot(e),o(r,e,w);if(!H(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=i(r,t);const n=!H(s)&&t in s,o=!H(c)&&t in c;n||o||(m[t]=At(t))}return function(e,t){Lt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return $t.add(e),o(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return H(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=H(e)?void 0:e.shadowAttribute}}),e},exports.renderComponent=function(e,t,n={}){if(!G(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!j(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||B(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=fo.createElement(e);ur(r,t,fo,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r[Pr]=mo,lr(r),ho(r)},exports.renderer=fo,exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(H(me[e])){const n=d(me).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=ge[e];if(!H(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(ge,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(_r,"Hooks are already overridden, only one definition is allowed."),_r=!0,n=t.sanitizeHtmlContent,$n=n},exports.track=function(e){if(1===arguments.length)return e;throw new Error},exports.unwrap=function(e){return e},exports.wire=function(e,t){throw new Error};