lwc 2.35.1 → 2.35.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/engine-dom/esm/es2017/engine-dom.js +20 -20
- package/dist/engine-dom/iife/es2017/engine-dom.js +20 -20
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +18 -18
- package/dist/engine-dom/iife/es5/engine-dom.js +208 -215
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +182 -189
- package/dist/engine-dom/umd/es2017/engine-dom.js +20 -20
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +18 -18
- package/dist/engine-dom/umd/es5/engine-dom.js +208 -215
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +182 -189
- package/dist/engine-server/commonjs/es2017/engine-server.js +8 -8
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +8 -8
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +5 -5
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +5 -5
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +9 -9
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +7 -7
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +5 -5
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +9 -9
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +7 -7
- package/dist/wire-service/esm/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/iife/es5/wire-service.js +2 -2
- package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es5/wire-service.js +2 -2
- package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
- package/package.json +7 -7
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
|
|
36
36
|
var assert = /*#__PURE__*/Object.freeze({
|
|
37
37
|
__proto__: null,
|
|
38
|
+
fail: fail,
|
|
38
39
|
invariant: invariant,
|
|
39
|
-
isTrue: isTrue$1,
|
|
40
40
|
isFalse: isFalse$1,
|
|
41
|
-
|
|
41
|
+
isTrue: isTrue$1
|
|
42
42
|
});
|
|
43
43
|
|
|
44
44
|
/*
|
|
@@ -335,9 +335,9 @@
|
|
|
335
335
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
336
336
|
*/
|
|
337
337
|
// Increment whenever the LWC template compiler changes
|
|
338
|
-
const LWC_VERSION = "2.35.
|
|
338
|
+
const LWC_VERSION = "2.35.2";
|
|
339
339
|
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
340
|
-
/** version: 2.35.
|
|
340
|
+
/** version: 2.35.2 */
|
|
341
341
|
|
|
342
342
|
/**
|
|
343
343
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -416,7 +416,7 @@
|
|
|
416
416
|
setFeatureFlag(name, value);
|
|
417
417
|
}
|
|
418
418
|
}
|
|
419
|
-
/** version: 2.35.
|
|
419
|
+
/** version: 2.35.2 */
|
|
420
420
|
|
|
421
421
|
/**
|
|
422
422
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -480,7 +480,7 @@
|
|
|
480
480
|
}
|
|
481
481
|
}
|
|
482
482
|
}
|
|
483
|
-
/** version: 2.35.
|
|
483
|
+
/** version: 2.35.2 */
|
|
484
484
|
|
|
485
485
|
/*
|
|
486
486
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -7425,7 +7425,7 @@
|
|
|
7425
7425
|
}
|
|
7426
7426
|
return ctor;
|
|
7427
7427
|
}
|
|
7428
|
-
/* version: 2.35.
|
|
7428
|
+
/* version: 2.35.2 */
|
|
7429
7429
|
|
|
7430
7430
|
/*
|
|
7431
7431
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -7703,7 +7703,7 @@
|
|
|
7703
7703
|
const cachedConstructors = new Map();
|
|
7704
7704
|
const elementsUpgradedOutsideLWC = new WeakSet();
|
|
7705
7705
|
let elementBeingUpgradedByLWC = false;
|
|
7706
|
-
// Creates a constructor that is intended to be used as a
|
|
7706
|
+
// Creates a constructor that is intended to be used directly as a custom element, except that the upgradeCallback is
|
|
7707
7707
|
// passed in to the constructor so LWC can reuse the same custom element constructor for multiple components.
|
|
7708
7708
|
// Another benefit is that only LWC can create components that actually do anything – if you do
|
|
7709
7709
|
// `customElements.define('x-foo')`, then you don't have access to the upgradeCallback, so it's a dummy custom element.
|
|
@@ -7748,7 +7748,7 @@
|
|
|
7748
7748
|
}
|
|
7749
7749
|
return UpgradableConstructor;
|
|
7750
7750
|
};
|
|
7751
|
-
const
|
|
7751
|
+
const createCustomElementUsingUpgradableConstructor = (tagName, upgradeCallback, connectedCallback, disconnectedCallback) => {
|
|
7752
7752
|
// use global custom elements registry
|
|
7753
7753
|
let UpgradableConstructor = cachedConstructors.get(tagName);
|
|
7754
7754
|
if (isUndefined$1(UpgradableConstructor)) {
|
|
@@ -7776,7 +7776,7 @@
|
|
|
7776
7776
|
*/
|
|
7777
7777
|
/**
|
|
7778
7778
|
* Create a scoped registry, i.e. a function that can create custom elements whose tag names
|
|
7779
|
-
* do not conflict with
|
|
7779
|
+
* do not conflict with third-party custom elements having the same tag name.
|
|
7780
7780
|
*/
|
|
7781
7781
|
function createScopedRegistry() {
|
|
7782
7782
|
if (!hasCustomElements) {
|
|
@@ -8317,10 +8317,10 @@
|
|
|
8317
8317
|
* We have three modes for creating custom elements:
|
|
8318
8318
|
*
|
|
8319
8319
|
* 1. Compat (legacy) browser support (e.g. IE11). Totally custom, doesn't rely on native browser APIs.
|
|
8320
|
-
* 2. "
|
|
8321
|
-
*
|
|
8322
|
-
*
|
|
8323
|
-
* constructor, which allows us to have completely customized functionality for different components.
|
|
8320
|
+
* 2. "Upgradable constructor" custom element. This allows us to have two LWC components with the same tag name,
|
|
8321
|
+
* via a trick: every custom element constructor we define in the registry is basically the same. It's essentially
|
|
8322
|
+
* a dummy `class extends HTMLElement` that accepts an `upgradeCallback` in its constructor ("upgradable
|
|
8323
|
+
* constructor"), which allows us to have completely customized functionality for different components.
|
|
8324
8324
|
* 3. "Scoped" (or "pivot") custom elements. This relies on a sophisticated system that emulates the "scoped custom
|
|
8325
8325
|
* elements registry" proposal, with support for avoiding conflicts in tag names both between LWC components and
|
|
8326
8326
|
* between LWC components and third-party elements. This uses a similar trick to #2, but is much more complex
|
|
@@ -8331,8 +8331,8 @@
|
|
|
8331
8331
|
if (lwcRuntimeFlags.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY) {
|
|
8332
8332
|
createCustomElement = createCustomElementScoped;
|
|
8333
8333
|
} else {
|
|
8334
|
-
// use global
|
|
8335
|
-
createCustomElement =
|
|
8334
|
+
// use the global registry, with an upgradable constructor for the defined custom element
|
|
8335
|
+
createCustomElement = createCustomElementUsingUpgradableConstructor;
|
|
8336
8336
|
}
|
|
8337
8337
|
} else {
|
|
8338
8338
|
// no registry available here
|
|
@@ -8388,10 +8388,10 @@
|
|
|
8388
8388
|
|
|
8389
8389
|
var assert = /*#__PURE__*/Object.freeze({
|
|
8390
8390
|
__proto__: null,
|
|
8391
|
+
fail: fail,
|
|
8391
8392
|
invariant: invariant,
|
|
8392
|
-
isTrue: isTrue$1,
|
|
8393
8393
|
isFalse: isFalse$1,
|
|
8394
|
-
|
|
8394
|
+
isTrue: isTrue$1
|
|
8395
8395
|
});
|
|
8396
8396
|
function isUndefined(obj) {
|
|
8397
8397
|
return obj === undefined;
|
|
@@ -8399,7 +8399,7 @@
|
|
|
8399
8399
|
function isNull(obj) {
|
|
8400
8400
|
return obj === null;
|
|
8401
8401
|
}
|
|
8402
|
-
/** version: 2.35.
|
|
8402
|
+
/** version: 2.35.2 */
|
|
8403
8403
|
|
|
8404
8404
|
/*
|
|
8405
8405
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -8960,7 +8960,7 @@
|
|
|
8960
8960
|
});
|
|
8961
8961
|
freeze(LightningElement);
|
|
8962
8962
|
seal(LightningElement.prototype);
|
|
8963
|
-
/* version: 2.35.
|
|
8963
|
+
/* version: 2.35.2 */
|
|
8964
8964
|
|
|
8965
8965
|
exports.LightningElement = LightningElement;
|
|
8966
8966
|
exports.__unstable__ProfilerControl = profilerControl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).LWC={})}(this,(function(e){"use strict";var t=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:n,create:r,defineProperties:o,defineProperty:s,freeze:i,getOwnPropertyDescriptor:l,getOwnPropertyNames:c,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{concat:g,copyWithin:w,fill:y,filter:b,find:v,indexOf:C,join:E,map:S,pop:k,push:M,reduce:T,reverse:A,shift:N,slice:L,some:_,sort:O,splice:x,unshift:P,forEach:R}=Array.prototype,{fromCharCode:D}=String,{charCodeAt:I,replace:$,split:F,slice:H,toLowerCase:B}=String.prototype;function W(e){return void 0===e}function V(e){return null===e}function j(e){return!0===e}function U(e){return!1===e}function G(e){return"function"==typeof e}function Y(e){return"object"==typeof e}function z(e){return"string"==typeof e}function K(){}const q={}.toString;function X(e){return e&&e.toString?m(e)?E.call(S.call(e,X),","):e.toString():"object"==typeof e?q.call(e):e+""}function Z(e,t){do{const n=l(e,t);if(!W(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:J,AriaPropNameToAttrNameMap:ee}=(()=>{const e=r(null),t=r(null);return R.call(Q,(n=>{const r=B.call($.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),te=new Set(["aria-activedescendant","aria-controls","aria-describedby","aria-details","aria-errormessage","aria-flowto","aria-labelledby","aria-owns","for"]),ne="object"==typeof globalThis?globalThis:window,re="$shadowResolver$",oe="$shadowStaticNode$",se="$shadowToken$",ie="$scoped$",le="http://www.w3.org/XML/1998/namespace",ce="http://www.w3.org/2000/svg",ae="http://www.w3.org/1999/xlink",ue=/-([a-z])/g,{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:de,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:fe}=(()=>{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}})(),he=new Map,pe=new Map;function me(e){const t=ee[e];if(!W(t))return t;const n=fe.get(e);if(!W(n))return n;const r=he.get(e);if(!W(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=I.call(e,t);o+=n>=65&&n<=90?"-"+D(n+32):D(n)}return he.set(e,o),o}function ge(e){const t=J[e];if(!W(t))return t;const n=de.get(e);if(!W(n))return n;const r=pe.get(e);if(!W(r))return r;const o=$.call(e,ue,(e=>e[1].toUpperCase()));return pe.set(e,o),o}const we={DUMMY_TEST_FLAG:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE: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,ENABLE_FROZEN_TEMPLATE:null,DISABLE_ARIA_REFLECTION_POLYFILL:null,ENABLE_PROGRAMMATIC_STYLESHEETS:null};ne.lwcRuntimeFlags||Object.defineProperty(ne,"lwcRuntimeFlags",{value:r(null)});const ye=ne.lwcRuntimeFlags;function be(e,t){return W(l(t,e))}function ve(e,t){const n=function(e){return{get(){return this.hasAttribute(e)?this.getAttribute(e):null},set(t){V(t)?this.removeAttribute(e):this.setAttribute(e,t)},configurable:!0,enumerable:!0}}(ee[e]);s(t,e,n)}function Ce(e=Element.prototype){const t=f(ee);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];be(r,e)&&ve(r,e)}}ye.DISABLE_ARIA_REFLECTION_POLYFILL||Ce();const Ee=[];let Se=K,ke=!1;const Me={attachDispatcher(e){ke=!0,Se=e;for(const e of Ee)try{e()}catch(e){console.error("Could not invoke callback",e)}Ee.length=0},detachDispatcher(){ke=!1,Se=K}};function Te(e){return`<${B.call(e.tagName)}>`}function Ae(e,t){if(!d(t)&&W(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!V(n);)M.call(t,Te(n)),n=n.owner;return t.reverse().join("\n\t")}(e);s(t,"wcStack",{get:()=>n})}}const Ne=new Set;function Le(e,t,n,r){let o=`[LWC ${e}]: ${t}`;if(W(n)||(o=`${o}\n${function(e){const t=[];let n="";for(;!V(e.owner);)M.call(t,n+Te(e)),e=e.owner,n+="\t";return E.call(t,"\n")}(n)}`),r){if(Ne.has(o))return;Ne.add(o)}try{throw new Error(o)}catch(t){console[e](t)}}function _e(e,t){Le("error",e,t,!1)}const Oe=new WeakMap;let xe=null;function Pe(e,t){const n=Oe.get(e);if(!W(n)){const e=n[t];if(!W(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Re(e,t){if(null===xe)return;const n=xe,o=function(e){let t=Oe.get(e);if(W(t)){const n=r(null);t=n,Oe.set(e,n)}return t}(e);let s=o[t];if(W(s))s=[],o[t]=s;else if(s[0]===n)return;-1===C.call(s,n)&&n.link(s)}class De{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=xe;let n;xe=this;try{e()}catch(e){n=Object(e)}finally{if(xe=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],r=C.call(e[n],this);x.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){M.call(e,this),M.call(this.listeners,e)}}function Ie(e,t){Pe(e.component,t)}function $e(e,t){Re(e.component,t)}function Fe(e){return new De(e)}let He=[];const Be=h(r(null)),We=h([]);function Ve(){const e=He;He=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function je(e){0===He.length&&Promise.resolve().then(Ve),M.call(He,e)}const Ue=/;(?![^(]*\))/g,Ge=/:(.+)/;function Ye(e,t){const n={};for(const r of Object.keys(e))r!==t&&(n[r]=e[r]);return n}function ze(e){const t=[];for(const n of e)Array.isArray(n)?t.push(...ze(n)):t.push(n);return t}function Ke(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}function qe(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Xe(e){return G(e)&&u.call(e,"__circular__")}const Ze="undefined"!=typeof HTMLElement?HTMLElement:function(){},Qe=Ze.prototype;let Je,et=null;function tt(e,t){return e!==et||t!==Je}function nt(e,t){et=null,Je=void 0}function rt(e,t){et=e,Je=t}const ot=r(null);function st(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n,Ie(e,t))}R.call(f(ee),(e=>{const t=Z(Qe,e);W(t)||(ot[e]=t)})),R.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=Z(Qe,e);W(t)||(ot[e]=t)}));const{isArray:it}=Array,{prototype:lt,getPrototypeOf:ct,create:at,defineProperty:ut,isExtensible:dt,getOwnPropertyDescriptor:ft,getOwnPropertyNames:ht,getOwnPropertySymbols:pt,preventExtensions:mt,hasOwnProperty:gt}=Object,{push:wt,concat:yt}=Array.prototype;function bt(e){return void 0===e}function vt(e){return"function"==typeof e}const Ct=new WeakMap;function Et(e,t){Ct.set(e,t)}const St=e=>Ct.get(e)||e;class kt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(gt.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;bt(n)||(e.get=this.wrapGetter(n)),bt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=ft(n,t);if(!bt(r)){const n=this.wrapDescriptor(r);ut(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;yt.call(ht(t),pt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;bt(n)||gt.call(e,n)||ut(e,n,at(null)),mt(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:r}}=this,o=n[t];return r(n,t),this.wrapValue(o)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:r,valueObserved:o}}=this;return o(n,t),t in n||t===r}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,r=bt(n)||gt.call(t,n)?[]:[n];return wt.apply(r,ht(t)),wt.apply(r,pt(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!dt(e)&&(!!dt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return ct(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let s=ft(n,t);if(bt(s)){if(t!==o)return;return s={value:void 0,writable:!1,configurable:!1,enumerable:!1},ut(e,o,s),s}return!1===s.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(s)}}const Mt=new WeakMap,Tt=new WeakMap,At=new WeakMap,Nt=new WeakMap;class Lt extends kt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Mt.get(e);if(!bt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(St(this)))};return Mt.set(e,r),At.set(r,e),r}wrapSetter(e){const t=Tt.get(e);if(!bt(t))return t;const n=function(t){e.call(St(this),St(t))};return Tt.set(e,n),Nt.set(n,e),n}unwrapDescriptor(e){if(gt.call(e,"value"))e.value=St(e.value);else{const{set:t,get:n}=e;bt(n)||(e.get=this.unwrapGetter(n)),bt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=At.get(e);if(!bt(t))return t;const n=this,r=function(){return St(e.call(n.wrapValue(this)))};return Mt.set(r,e),At.set(e,r),r}unwrapSetter(e){const t=Nt.get(e);if(!bt(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Tt.set(r,e),Nt.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&&it(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(dt(e)){const{originalTarget:t}=this;if(mt(t),dt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:s}}=this;return t===s&&!gt.call(r,t)||(ut(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const _t=new WeakMap,Ot=new WeakMap;class xt extends kt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=_t.get(e);if(!bt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(St(this)))};return _t.set(e,r),r}wrapSetter(e){const t=Ot.get(e);if(!bt(t))return t;const n=function(e){};return Ot.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 Pt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(it(e))return!0;const t=ct(e);return t===lt||null===t||null===ct(t)}const Rt=(e,t)=>{},Dt=(e,t)=>{};function It(e){return it(e)?[]:{}}const $t=Symbol.for("@@lockerLiveValue"),Ft=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=vt(t)?t:Dt,this.valueObserved=vt(n)?n:Rt,this.valueIsObservable=vt(r)?r:Pt,this.tagPropertyKey=o}getProxy(e){const t=St(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=St(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return St(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(bt(t)){const n=new Lt(this,e);t=new Proxy(It(e),n),Et(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(bt(t)){const n=new xt(this,e);t=new Proxy(It(e),n),Et(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Re,valueMutated:Pe,tagPropertyKey:$t});function Ht(e){return Ft.getReadOnlyProxy(e)}function Bt(e){return Ft.getProxy(e)}function Wt(e){e[$t]=void 0}function Vt(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!G(n))throw new TypeError;if(!G(r))throw new TypeError;return{enumerable:o,configurable:s,get(){const t=to(this);if(!Pr(t))return $e(t,e),n.call(t.elm)},set(t){const n=to(this);return st(n,e,t),r.call(n.elm,t)}}}const jt=new WeakMap,Ut=function(){if(V(xr))throw new TypeError("Illegal constructor");const e=xr,{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 Wt(this),eo(o,e),eo(n,e),1===e.renderMode?e.renderRoot=Gt(e):e.renderRoot=n,this};function Gt(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,eo(i,e),i}Ut.prototype={constructor:Ut,dispatchEvent(e){const t=to(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=to(this),{elm:o,renderer:{addEventListener:s}}=r;s(o,e,Wr(r,t),n)},removeEventListener(e,t,n){const r=to(this),{elm:o,renderer:{removeEventListener:s}}=r;s(o,e,Wr(r,t),n)},hasAttribute(e){const t=to(this),{elm:n,renderer:{getAttribute:r}}=t;return!V(r(n,e))},hasAttributeNS(e,t){const n=to(this),{elm:r,renderer:{getAttribute:o}}=n;return!V(o(r,t,e))},removeAttribute(e){const t=to(this),{elm:n,renderer:{removeAttribute:r}}=t;rt(n,e),r(n,e),nt()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=to(this);rt(n,t),r(n,t,e),nt()},getAttribute(e){const t=to(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=to(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=to(this),{elm:r,renderer:{setAttribute:o}}=n;rt(r,e),o(r,e,t),nt()},setAttributeNS(e,t,n){const r=to(this),{elm:o,renderer:{setAttribute:s}}=r;rt(o,t),s(o,t,n,e),nt()},getBoundingClientRect(){const e=to(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=to(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=to(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return to(this).shadowRoot},get refs(){const e=to(this);if(Cr)return;const{refVNodes:t,cmpTemplate:n}=e;if(V(t))return;let o=jt.get(t);if(W(o)){o=r(null);for(const e of f(t))o[e]=t[e].elm;i(o),jt.set(t,o)}return o},set refs(e){s(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=to(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=to(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=to(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=to(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=to(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=to(this);return e.renderer.getLastElementChild(e.elm)},render(){return to(this).def.template},toString(){return`[object ${to(this).def.name}]`}};const Yt=r(null),zt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of zt)Yt[e]={value(t){const n=to(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(Ut.prototype,Yt);const Kt=r(null);for(const e in ot)Kt[e]=Vt(e,ot[e]);function qt(e){return{get(){const t=to(this);return $e(t,e),t.cmpFields[e]},set(t){st(to(this),e,t)},enumerable:!0,configurable:!0}}o(Ut.prototype,Kt),ye.DISABLE_ARIA_REFLECTION_POLYFILL&&Ce(Ut.prototype),s(Ut,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const Xt=new Map;class Zt extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function Qt(e,t,n){const{method:r,adapter:o,configCallback:i,dynamic:l}=n;const c=W(r)?function(e,t){return n=>{st(e,t,n)}}(e,t):function(e,t){return n=>{ho(e,e.owner,K,(()=>{t.call(e.component,n)}),K)}}(e,r),a=e=>{c(e)};let u,d;s(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),s(a,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),ho(e,e,K,(()=>{d=new o(a)}),K);const{computeConfigAndUpdate:f,ro:h}=function(e,t,n){let r=!1;const o=Fe((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),s()})))})),s=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:s,ro:o}}(e.component,i,(t=>{ho(e,e,K,(()=>{d.update(t,u)}),K)}));return W(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=en(r);if(W(o))return;const{elm:s,context:{wiredConnecting:i,wiredDisconnecting:l},renderer:{dispatchEvent:c}}=e;M.call(i,(()=>{const e=new Zt(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){M.call(l,e)}});c(s,e)}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>h.reset()}}const Jt=new Map;function en(e){return Jt.get(e)}function tn(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Xt.set(e,o)}function nn(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Xt.set(e,o)}function rn(e){return{get(){const t=to(this);if(!Pr(t))return $e(t,e),t.cmpProps[e]},set(t){const n=to(this);n.cmpProps[e]=t,Ie(n,e)},enumerable:!0,configurable:!0}}function on(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!G(n))throw new Error;return{get(){return n.call(this)},set(e){to(this),r&&r.call(this,e)},enumerable:o,configurable:s}}function sn(e){return{get(){const t=to(this);return $e(t,e),t.cmpFields[e]},set(t){const n=to(this),r=Bt(t);st(n,e,r)},enumerable:!0,configurable:!0}}function ln(e){return{get(){const t=to(this);return $e(t,e),t.cmpFields[e]},set(t){st(to(this),e,t)},enumerable:!0,configurable:!0}}const cn=new Map;const an={apiMethods:Be,apiFields:Be,apiFieldsConfig:Be,wiredMethods:Be,wiredFields:Be,observedFields:Be};const un=new Set;function dn(){return[]}un.add(dn);const fn=r(null),hn=r(null);function pn(e){let t=fn[e];return W(t)&&(t=fn[e]=function(){const t=to(this),{getHook:n}=t;return n(t.component,e)}),t}function mn(e){let t=hn[e];return W(t)&&(t=hn[e]=function(t){const n=to(this),{setHook:r}=n;t=Ht(t),r(n.component,e,t)}),t}function gn(e){return function(){const t=to(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,L.call(arguments))}}function wn(e,t){return function(n,r,o){if(r===o)return;const s=e[n];W(s)?W(t)||t.apply(this,arguments):tt(this,n)&&(this[s]=o)}}function yn(e,t,n){let i;G(e)?i=class extends e{}:(i=function(){throw new TypeError("Illegal constructor")},p(i,e),p(i.prototype,e.prototype),s(i.prototype,"constructor",{writable:!0,configurable:!0,value:i}));const l=r(null),{attributeChangedCallback:c}=e.prototype,{observedAttributes:a=[]}=e,u=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[me(n)]=n,u[n]={get:pn(n),set:mn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:gn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:wn(l,c)},s(i,"observedAttributes",{get:()=>[...a,...f(l)]}),o(i.prototype,u),i}const bn=yn(Ze,c(ot),[]);ye.DISABLE_ARIA_REFLECTION_POLYFILL&&Ce(bn.prototype),i(bn),h(bn.prototype);new WeakMap,new WeakMap,new WeakMap,new WeakMap;const vn=new WeakMap;function Cn(e){const{shadowSupportMode:t,renderMode:s}=e,i=function(e){const t=cn.get(e);return W(t)?an:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=i,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const C=function(e){let t=a(e);if(V(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(Xe(t)){const e=qe(t);t=e===t?Ut:e}return t}(e),E=C!==Ut?Sn(C):kn,S=yn(E.bridge,f(l),f(u)),k=n(r(null),E.props,l),M=n(r(null),E.propsConfig,c),T=n(r(null),E.methods,u),A=n(r(null),E.wire,d,h);g=g||E.connectedCallback,w=w||E.disconnectedCallback,y=y||E.renderedCallback,b=b||E.errorCallback,v=v||E.render;let N=E.shadowSupportMode;W(t)||(N=t);let L=E.renderMode;W(s)||(L="light"===s?0:1);const _=function(e){return Ir.get(e)}(e)||E.template,O=e.name||E.name;o(m,p);return{ctor:e,name:O,wire:A,props:k,propsConfig:M,methods:T,bridge:S,template:_,renderMode:L,shadowSupportMode:N,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function En(e){if(!G(e))return!1;if(e.prototype instanceof Ut)return!0;let t=e;do{if(Xe(t)){const e=qe(t);if(e===t)return!0;t=e}if(t===Ut)return!0}while(!V(t)&&(t=a(t)));return!1}function Sn(e){let t=vn.get(e);if(W(t)){if(Xe(e)){return t=Sn(qe(e)),vn.set(e,t),t}if(!En(e))throw new TypeError(`${e} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);t=Cn(e),vn.set(e,t)}return t}const kn={ctor:Ut,name:Ut.name,props:Kt,propsConfig:Be,methods:Be,renderMode:1,shadowSupportMode:"reset",wire:Be,bridge:bn,template:dn,render:Ut.prototype.render};function Mn(e){return`${e}-host`}function Tn(e){return hr.h("style",{key:"style",attrs:{type:"text/css"}},[hr.t(e)])}function An(e,t,n){const r=[];let o;for(let s=0;s<e.length;s++){let i=e[s];if(m(i))M.apply(r,An(i,t,n));else{const e=i[ie];if(ye.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){_e("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 c;1===n.renderMode?c=0===n.shadowMode:(W(o)&&(o=Nn(n)),c=V(o)||0===o.shadowMode),M.call(r,i(s,l,c))}}return r}function Nn(e){let t=e;for(;!V(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Ln(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}function _n(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)o(t[e]);else{if(e.hydrated)return S.call(t,Tn);{const n=function(e){const t=Nn(e);return V(t)||1!==t.shadowMode?t:null}(e),r=V(n)?void 0:n.shadowRoot;for(let e=0;e<t.length;e++)o(t[e],r)}}return null}function On(e){const{type:t}=e;return 2===t||3===t}function xn(e,t){return e.key===t.key&&e.sel===t.sel}function Pn(e){return 5===e.type}function Rn(e){return 6===e.type}function Dn(e,t){return"input"===e&&("value"===t||"checked"===t)}function In(e,t,r){let{props:o}=t.data;const{spread:s}=t.data;if(W(o)&&W(s))return;let i;if(!V(e)){i=e.data.props;const t=e.data.spread;if(i===o&&t===s)return;W(i)&&(i=Be),W(t)||(i=n({},i,t))}W(s)||(o=n({},o,s));const l=V(e),{elm:c,sel:a}=t,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(Dn(a,e)?u(c,e):i[e])&&e in i||d(c,e,t)}}const $n=r(null);function Fn(e){if(null==e)return Be;e=z(e)?e:e+"";let t=$n[e];if(t)return t;t=r(null);let n,o=0;const s=e.length;for(n=0;n<s;n++)32===I.call(e,n)&&(n>o&&(t[H.call(e,o,n)]=!0),o=n+1);return n>o&&(t[H.call(e,o,n)]=!0),$n[e]=t,t}function Hn(e,t){const{elm:n,data:{on:r}}=e;if(W(r))return;const{addEventListener:o}=t;for(const e in r){o(n,e,r[e])}}function Bn(e,t,n,r){rr(t)?sr(e,t,n,r):ir(e,t,n,r)}function Wn(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&&qn(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?ir(e.children,o,n,r):sr(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;Qn(e,t,n),Bn(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),jn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;if(Qn(e,t,r),!W(o)){er(t,o);const{shadowMode:n,renderMode:r}=o;0==n&&0!==r&&rr(e.children)&&nr(t.children)}Bn(e.children,t.children,n,r),W(o)||function(e){ro(e)}(o)}}(e,t,n,null!==(s=t.data.renderer)&&void 0!==s?s:r)}}function Vn(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);Kn(i,o,r),Xn(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);Kn(i,o,r),Xn(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);Kn(l,o,r);const{renderMode:c,shadowMode:a}=o;i&&(1!==a&&0!==c||(l[oe]=!0));Xn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;Un(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,c=j(i)?ce:void 0,a=e.elm=l(o,c);Kn(a,s,r),Jn(a,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)}(a,e),Qn(null,e,r),Xn(a,t,n,r),Un(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:jn(e,t,r,null!==(s=e.data.renderer)&&void 0!==s?s:n)}}function jn(e,t,n,r){const{sel:o,owner:s}=e,{createCustomElement:i}=r;let l;let c,a;ye.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(c=e=>{Xr(e)},a=e=>{Zr(e)});const u=i(o.toLowerCase(),(t=>{l=function(e,t,n){let r=no(e);if(!W(r))return r;const{sel:o,mode:s,ctor:i,owner:l}=t;return r=Jr(e,i,n,{mode:s,owner:l,tagName:o}),r}(t,e,r)}),c,a);e.elm=u,e.vm=l,Kn(u,s,r),Jn(u,s,r),l&&er(e,l),Qn(null,e,r),Xn(u,t,n,r),l&&(ye.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||lo(l)),Un(e.children,u,r,null),l&&function(e){ro(e)}(l)}function Un(e,t,n,r,o=0,s=e.length){for(;o<s;++o){const s=e[o];zn(s)&&Vn(s,t,n,r)}}function Gn(e,t,n,r=!1){const{type:o,elm:s,sel:i}=e;switch(r&&(5===o?Yn(e.children,t,n,r):Zn(s,t,n)),o){case 2:{const t="slot"===i&&1===e.owner.shadowMode;Yn(e.children,s,n,t);break}case 3:{const{vm:t}=e;W(t)||function(e){Qr(e)}(t)}}}function Yn(e,t,n,r=!1,o=0,s=e.length){for(;o<s;++o){const s=e[o];zn(s)&&Gn(s,t,n,r)}}function zn(e){return null!=e}function Kn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:s}=t,{isSyntheticShadowDefined:i}=n;i&&(1!==s&&0!==o||(e[re]=r[re]))}function qn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function Xn(e,t,n,r){r.insert(e,t,n)}function Zn(e,t,n){n.remove(e,t)}function Qn(e,t,n){V(e)&&(Hn(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(W(r))return;const{getClassList:o}=t,s=o(n);for(const e in r)s.add(e)}(t,n),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(W(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)}}(t,n)),function(e,t,n){const{elm:r,data:{className:o}}=t,s=V(e)?void 0:e.data.className;if(s===o)return;const{getClassList:i}=n,l=i(r),c=Fn(o),a=Fn(s);let u;for(u in a)W(c[u])&&l.remove(u);for(u in c)W(a[u])&&l.add(u)}(e,t,n),function(e,t,n){const{elm:r,data:{style:o}}=t;if((V(e)?void 0:e.data.style)===o)return;const{setAttribute:s,removeAttribute:i}=n;z(o)&&""!==o?s(r,"style",o):i(r,"style")}(e,t,n),t.data.external?function(e,t,n){const{data:{attrs:r},elm:o}=t;if(W(r))return;const{removeAttribute:s,setAttribute:i,setProperty:l}=n,c=V(e)?Be:e.data.attrs;for(const e in r){const t=r[e];c[e]!==t&&(ge(e)in o?l(o,e,t):58===I.call(e,3)?i(o,e,t,le):58===I.call(e,5)?i(o,e,t,ae):V(t)||W(t)?s(o,e):i(o,e,t))}}(e,t,n):function(e,t,n){const{attrs:r}=t.data;if(W(r))return;const o=V(e)?Be: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&&(rt(s,e),58===I.call(e,3)?i(s,e,t,le):58===I.call(e,5)?i(s,e,t,ae):V(t)||W(t)?l(s,e):i(s,e,t),nt())}}(e,t,n),In(e,t,n)}function Jn(e,t,n){const r=Ln(t);if(!V(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||W(o)||(e.$shadowToken$=o)}function er(e,t){const n=e.aChildren||e.children,{renderMode:o,shadowMode:s}=t,i=function(e){const t=[],n=[];let r,o=!1;for(let t=e.length-1;t>-1;t-=1){const r=e[t];M.call(n,r),o=o||!(!r||!Pn(r))}if(!o)return e;for(;!W(r=k.call(n));)if(!V(r)&&Pn(r)){const e=r.children;for(let t=e.length-2;t>0;t-=1)M.call(n,e[t])}else M.call(t,r);return nr(t),t}(n);e.children=i,t.aChildren=i,1!==s&&0!==o||(!function(e,t,n){var o,s;const{cmpSlots:{slotAssignments:i}}=e,l=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(V(n))continue;let r="";On(n)?r=null!==(s=null===(o=n.data.attrs)||void 0===o?void 0:o.slot)&&void 0!==s?s:"":Rn(n)&&(r=n.slotName);const i=l[r]=l[r]||[];M.call(i,n)}if(e.cmpSlots={owner:n,slotAssignments:l},U(e.isDirty)){const t=f(i);if(t.length!==f(l).length)return void Hr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(W(l[r])||i[r].length!==l[r].length)return void Hr(e);const o=i[r],s=l[r];for(let t=0,n=l[r].length;t<n;t+=1)if(o[t]!==s[t])return void Hr(e)}}}(t,i,e.owner),e.aChildren=i,e.children=We)}const tr=new WeakMap;function nr(e){tr.set(e,1)}function rr(e){return tr.has(e)}function or(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(zn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function sr(e,t,n,r){let o=0,s=0,i=e.length-1,l=e[0],c=e[i];const a=t.length-1;let u,d,f,h,p=a,m=t[0],g=t[p],w=!1;for(;o<=i&&s<=p;)zn(l)?zn(c)?zn(m)?zn(g)?xn(l,m)?(Wn(l,m,n,r),l=e[++o],m=t[++s]):xn(c,g)?(Wn(c,g,n,r),c=e[--i],g=t[--p]):xn(l,g)?(Wn(l,g,n,r),Xn(l.elm,n,r.nextSibling(c.elm),r),l=e[++o],g=t[--p]):xn(c,m)?(Wn(c,m,n,r),Xn(m.elm,n,l.elm,r),c=e[--i],m=t[++s]):(void 0===u&&(u=or(e,o,i)),d=u[m.key],W(d)?(Vn(m,n,r,l.elm),m=t[++s]):(f=e[d],zn(f)&&(f.sel!==m.sel?Vn(m,n,r,l.elm):(Wn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,Xn(f.elm,n,l.elm,r))),m=t[++s])):g=t[--p]:m=t[++s]:c=e[--i]:l=e[++o];if(o<=i||s<=p)if(o>i){let e,o=p;do{e=t[++o]}while(!zn(e)&&o<a);h=zn(e)?e.elm:null,Un(t,n,r,h,s,p+1)}else Yn(e,n,r,!0,o,i+1)}function ir(e,t,n,r){const o=e.length,s=t.length;if(0===o)return void Un(t,n,r,null);if(0===s)return void Yn(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&&(zn(s)?zn(l)?(Wn(s,l,n,r),i=l.elm):Gn(s,n,r,!0):zn(l)&&(Vn(l,n,r,i),i=l.elm))}}const lr=Symbol.iterator;function cr(e,t,n=We){const r=Sr(),{key:o,ref:s}=t,i={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return W(s)||Ke(r,s,i),i}function ar(e,t,n,r=We){const o=Sr(),{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){M.call(Sr().velements,e)}(l),W(i)||Ke(o,i,l),l}function ur(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:Sr()}}function dr(e){return nr(e),e}let fr=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const hr=i({s:function(e,t,n,r){if(!W(r)&&!W(r.slotAssignments)&&!W(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(!V(n)){const e=Rn(n);if(e!==!W(t.slotData))continue;if(e){const e=Sr();kr(r.owner);try{M.call(o,n.factory(t.slotData,t.key))}finally{kr(e)}}else M.call(o,n)}}n=o}const o=Sr(),{renderMode:s,shadowMode:i}=o;return 0===s?(dr(n),n):(1===i&&dr(n),cr("slot",t,n))},h:cr,c:ar,i:function(e,t){const n=[];if(dr(n),W(e)||null===e)return n;const r=e[lr]();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);m(e)?M.apply(n,e):M.call(n,e),s+=1,i=o.value}return n},f:function(e){const t=e.length,n=[];dr(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?M.apply(n,t):M.call(n,t)}return n},t:ur,d:function(e){return null==e?"":String(e)},b:function(e){const t=Sr();if(V(t))throw new Error;const n=t;return function(t){Dr(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:Sr()}},dc:function(e,t,n,r=We){if(null==t)return null;if(!En(t))throw new Error(`Invalid LWC Constructor ${X(t)} for custom element <${e}>.`);return ar(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[ur(""),...t,ur("")],stable:n,owner:Sr()}},ti:function(e){return e>0&&!(j(e)||U(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:Sr()}},gid:function(e){const t=Sr();if(W(e)||""===e)return e;if(V(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?$.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=Sr();if(W(e)||""===e)return e;if(V(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return fr(e)},ssf:function(e,t){return{type:6,factory:t,owner:Sr(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let pr=!1,mr=K;const gr={enableProfiler(){pr=!0},disableProfiler(){pr=!1},attachDispatcher(e){mr=e,this.enableProfiler()},detachDispatcher(){const e=mr;return mr=K,this.disableProfiler(),e}};function wr(e,t){pr&&mr(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function yr(e,t){pr&&mr(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function br(e,t){pr&&mr(e,0,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}function vr(e,t){pr&&mr(e,1,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}let Cr=!1,Er=null;function Sr(){return Er}function kr(e){Er=e}function Mr(e){return(t,...n)=>{const o=r(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:s},shadowMode:i,renderer:l}=Sr(),c=!W(s),a=1===i;let u=0;if(c&&r&&(u|=1),c&&a&&(u|=2),!W(o[u]))return o[u];const d=r&&c?" "+s:"",f=r&&c?` class="${s}"`:"",h=c&&a?" "+s:"";let p="";for(let e=0,r=n.length;e<r;e++)switch(n[e]){case 0:p+=t[e]+d;break;case 1:p+=t[e]+f;break;case 2:p+=t[e]+h;break;case 3:p+=t[e]+f+h}return p+=t[t.length-1],o[u]=e(p,l),o[u]}}}const Tr=Mr(((e,t)=>{const{createFragment:n}=t;return n(e)})),Ar=Mr(((e,t)=>{const{createFragment:n,getFirstChild:r}=t;return r(n("<svg>"+e+"</svg>"))}));function Nr(e,t){const n=Cr,o=Er;let s=[];return ho(e,e.owner,(()=>{Er=e,wr(1,e)}),(()=>{const{component:n,context:o,cmpSlots:i,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(V(l)||fo(e),c=t,!un.has(c))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: ${X(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=_r(t,e),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:s,renderer:{getClassList:i,removeAttribute:l,setAttribute:c}}=e,{stylesheets:a,stylesheetToken:u}=t,{stylesheets:d}=e,f=1===o&&1===s,{hasScopedStyles:h}=r;let p,m,g;const{stylesheetToken:w,hasTokenInClass:y,hasTokenInAttribute:b}=r;W(w)||(y&&i(n).remove(Mn(w)),b&&l(n,Mn(w)));const v=Or(a),C=Or(d);(v||C)&&(p=u),W(p)||(h&&(i(n).add(Mn(p)),m=!0),f&&(c(n,Mn(p),""),g=!0)),r.stylesheetToken=p,r.hasTokenInClass=m,r.hasTokenInAttribute=g}(e,t);const n=function(e,t){const{stylesheets:n,stylesheetToken:r}=t,{stylesheets:o}=e;let s=[];return Or(n)&&(s=An(n,r,e)),Or(o)&&M.apply(s,An(o,r,e)),s}(e,t);o.styleVNodes=0===n.length?null:_n(e,n)}var c;e.refVNodes=t.hasRefs?r(null):null,e.velements=[],Cr=!0,s=t.call(void 0,hr,n,i,o.tplCache);const{styleVNodes:a}=o;V(a)||P.apply(s,a)}))}),(()=>{Cr=n,Er=o,yr(1,e)})),s}function Lr(e){if(Or(e))for(let t=0;t<e.length;t++)if(j(e[t][ie]))return!0;return!1}function _r(e,t){const{stylesheets:n}=e,r=W(t)?null:t.stylesheets;return Lr(n)||Lr(r)}function Or(e){return!W(e)&&!V(e)&&e.length>0}let xr=null;function Pr(e){return xr===e}function Rr(e,t,n){const{component:r,callHook:o,owner:s}=e;ho(e,s,K,(()=>{o(r,t,n)}),K)}function Dr(e,t,n,r){const{callHook:o,owner:s}=e;ho(e,s,K,(()=>{o(n,t,[r])}),K)}const Ir=new Map;function $r(e){return Fe((()=>{const{isDirty:t}=e;U(t)&&(Hr(e),function(e){if(j(e.isScheduled))return;e.isScheduled=!0,0===so.length&&je(io);M.call(so,e)}(e))}))}function Fr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,s=Sr();let i,l=!1;return ho(e,o,(()=>{kr(e)}),(()=>{e.tro.observe((()=>{i=n(r,t),l=!0}))}),(()=>{kr(s)})),l?Nr(e,i):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Hr(e){e.isDirty=!0}const Br=new WeakMap;function Wr(e,t){if(!G(t))throw new TypeError("Expected an EventListener but received "+typeof t);let n=Br.get(t);return W(n)&&(n=function(n){Dr(e,t,void 0,n)},Br.set(t,n)),n}const Vr=r(null),jr=["rendered","connected","disconnected"];function Ur(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 Gr=0;const Yr=new WeakMap;function zr(e,t,n=[]){return t.apply(e,n)}function Kr(e,t,n){e[t]=n}function qr(e,t){return e[t]}function Xr(e){const t=to(e);br(7,t),1===t.state&&Zr(e),lo(t),ro(t),vr(7,t)}function Zr(e){Qr(to(e))}function Qr(e){const{state:t}=e;if(2!==t){const{tro:t}=e;t.reset(),function(e){U(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Vr;t&&Ur(e,t);co(e)&&function(e){const{wiredDisconnecting:t}=e.context;ho(e,e,K,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),K)}(e);const{disconnectedCallback:n}=e.def;W(n)||(wr(5,e),Rr(e,n),yr(5,e))}(e),ao(e),function(e){const{aChildren:t}=e;uo(t)}(e)}}function Jr(e,t,n,o){const{mode:s,owner:i,tagName:l,hydrated:c}=o,a=Sn(t),u={elm:e,def:a,idx:Gr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:s,owner:i,refVNodes:null,children:We,aChildren:We,velements:We,cmpProps:r(null),cmpFields:r(null),cmpSlots:{slotAssignments:r(null)},cmpTemplate:null,hydrated:Boolean(c),renderMode:a.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:Be,wiredConnecting:We,wiredDisconnecting:We},tro:null,shadowMode:null,stylesheets:null,component:null,shadowRoot:null,renderRoot:null,callHook:zr,setHook:Kr,getHook:qr,renderer:n};return u.stylesheets=function(e,t){if(ye.ENABLE_PROGRAMMATIC_STYLESHEETS){const{stylesheets:e}=t;if(!W(e)){const t=function(e,t){let n=!0;const r=e=>{if(m(e))for(let t=0;t<e.length;t++)r(e[t]);else G(e)||(n=!1)};m(t)?r(t):n=!1;return n}(0,e);if(t)return ze(e)}}return null}(0,a.ctor),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(ye.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)s=0;else{const t=function(e){let t=e.owner;for(;!V(t)&&0===t.renderMode;)t=t.owner;return t}(e);s=V(t)||0!==t.shadowMode?1:0}else s=1;else s=1;else s=0;return s}(u,n),u.tro=$r(u),function(e,t){const n=xr;let r;wr(0,e),xr=e;try{const o=new t;if(xr.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(yr(0,e),xr=n,!W(r))throw Ae(e,r),r}}(u,a.ctor),co(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=Xt.get(s);if(!W(i)){const{connector:n,computeConfigAndUpdate:s,resetConfigWatcher:l}=Qt(e,t,i),c=i.dynamic.length>0;M.call(r,(()=>{n.connect(),ye.ENABLE_WIRE_SYNC_EMIT||!c?s():Promise.resolve().then(s)})),M.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function eo(e,t){Yr.set(e,t)}function to(e){return Yr.get(e)}function no(e){return Yr.get(e)}function ro(e){if(j(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&ho(e,e,(()=>{wr(2,e)}),(()=>{Bn(r,t,n,o)}),(()=>{yr(2,e)}));1===e.state&&oo(e)}(e,Fr(e))}}function oo(e){const{def:{renderedCallback:t}}=e,{rendered:n}=Vr;n&&Ur(e,n),W(t)||(wr(4,e),Rr(e,t),yr(4,e))}let so=[];function io(){br(8);const e=so.sort(((e,t)=>e.idx-t.idx));so=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{ro(r)}catch(r){throw t+1<n&&(0===so.length&&je(io),P.apply(so,L.call(e,t+1))),vr(8),r}}vr(8)}function lo(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Vr;n&&Ur(e,n),co(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;W(r)||(wr(3,e),Rr(e,r),yr(3,e))}function co(e){return c(e.def.wire).length>0}function ao(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!W(n)){const e=no(n);W(e)||Qr(e)}}}function uo(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!V(n)&&!W(n.elm))switch(n.type){case 2:uo(n.children);break;case 3:Qr(to(n.elm));break}}}function fo(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];V(o)||W(o.elm)||r(o.elm,n)}e.children=We,ao(e),e.velements=We}function ho(e,t,n,r,o){let s;n();try{r()}catch(e){s=Object(e)}finally{if(o(),!W(s)){Ae(e,s);const n=V(t)?void 0:function(e){let t=e;for(;!V(t);){if(!W(t.def.errorCallback))return t;t=t.owner}}(t);if(W(n))throw s;fo(e),wr(6,e);Rr(n,n.def.errorCallback,[s,s.wcStack]),yr(6,e)}}}const po=ne.$nativeGetElementById$,mo=ne.$nativeQuerySelectorAll$;function go(e,t,n){let r=no(e.getRootNode().host);W(r)&&(r=no(t.getRootNode().host)),W(r)||function(e,t){ke&&Se(e,t.tagName,t.idx)}(0,r)}function wo(e,t,n){const r=e.getRootNode();var o;if((o=r)!==document&&j(o.synthetic))if("id"===t){if(!z(n)||0===n.length)return;for(const t of te){const o=`[${t}~="${CSS.escape(n)}"]`,s=mo.call(document,o);for(let t=0;t<s.length;t++){const n=s[t];if(n.getRootNode()!==r){go(n,e);break}}}}else{const t=function(e){return z(e)?b.call(F.call(e,/\s+/),Boolean):[]}(n);for(const n of t){const t=po.call(document,n);if(!V(t)){t.getRootNode()!==r&&go(e,t)}}}}let yo=!1;var bo;"undefined"!=typeof CSS&&G(CSS.escape)&&u.call(Element.prototype,se)&&(bo=function(){if(yo)return;yo=!0;const{setAttribute:e}=Element.prototype;n(Element.prototype,{setAttribute(t,n){e.call(this,t,n),("id"===t||te.has(t))&&wo(this,t,n)}});const t=l(Element.prototype,"id");if(!W(t)){const{get:e,set:n}=t;G(e)&&G(n)&&s(Element.prototype,"id",{get(){return e.call(this)},set(e){n.call(this,e),wo(this,"id",e)},enumerable:!0,configurable:!0})}},ke?bo():Ee.push(bo));let vo=!1;function Co(e){const t=Fr(e);e.children=t;const{renderRoot:n,renderer:{getFirstChild:r}}=e;ko(r(n),t,n,e),oo(e)}function Eo(e,t,n){var r,o;let s;switch(t.type){case 0:s=function(e,t,n){var r;if(!Ao(t,e,3,n))return Mo(e,t,n);const{setText:o}=n;return o(e,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 1:s=function(e,t,n){var r;if(!Ao(t,e,8,n))return Mo(e,t,n);const{setProperty:o}=n;return o(e,So,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:s=function(e,t,n){if(!function(e,t,n,r){const{getProperty:o,getAttribute:s}=r;if(3===o(e,"nodeType"))return!!Ao(n,t,3,r)&&o(e,So)===o(t,So);if(8===o(e,"nodeType"))return!!Ao(n,t,8,r)&&o(e,So)===o(t,So);if(!Ao(n,t,1,r))return!1;let i=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((r=>{s(e,r)!==s(t,r)&&(_e(`Mismatch hydrating element <${o(e,"tagName").toLowerCase()}>: attribute "${r}" has different values, expected "${s(e,r)}" but found "${s(t,r)}"`,n.owner),i=!1)})),i}(t.fragment,e,t,n))return Mo(e,t,n);return t.elm=e,e}(e,t,n);break;case 5:s=function(e,t,n){const{children:r,owner:o}=t;return ko(e,r,n.getProperty(e,"parentNode"),o),t.elm=r[r.length-1].elm}(e,t,n);break;case 2:s=function(e,t,n){if(!Ao(t,e,1,n)||!No(t,e,n))return Mo(e,t,n);t.elm=e;const{owner:r}=t,{context:o}=t.data,s=Boolean(!W(o)&&!W(o.lwc)&&"manual"===o.lwc.dom);if(s){const{data:{props:r}}=t,{getProperty:o}=n;W(r)||W(r.innerHTML)||o(e,"innerHTML")===r.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:Ye(r,"innerHTML")}))}if(To(t,n),!s){const{getFirstChild:o}=n;ko(o(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:s=function(e,t,n){if(!Ao(t,e,1,n)||!No(t,e,n))return Mo(e,t,n);const{sel:r,mode:o,ctor:s,owner:i}=t,l=Jr(e,s,n,{mode:o,owner:i,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,er(t,l),To(t,n),lo(l),0!==l.renderMode){const{getFirstChild:r}=n;ko(r(e),t.children,e,l)}return Co(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(s)}const So="nodeValue";function ko(e,t,n,r){let o=e,s=null;const{renderer:i}=r;for(let e=0;e<t.length;e++){const r=t[e];V(r)||(o?(o=Eo(o,r,i),s=r.elm):(vo=!0,Vn(r,n,i,s),s=r.elm))}if(o){vo=!0;const{nextSibling:e}=i;do{const t=o;o=e(o),Zn(t,n,i)}while(o)}}function Mo(e,t,n){vo=!0;const{getProperty:r}=n,o=r(e,"parentNode");return Vn(t,o,n,e),Zn(e,o,n),t.elm}function To(e,t){Hn(e,t),In(null,e,t)}function Ao(e,t,n,r){const{getProperty:o}=r;return o(t,"nodeType")===n}function No(e,t,n){const{getProperty:r}=n;if(e.sel.toLowerCase()!==r(t,"tagName").toLowerCase())return!1;const o=function(e,t,n){const{data:{attrs:r={}}}=e;let o=!0;for(const[e,s]of Object.entries(r)){const{getAttribute:r}=n,i=r(t,e);String(s)!==i&&(o=!1)}return o}(e,t,n),s=function(e,t,n){const{data:r,owner:o}=e;let{className:s,classMap:i}=r;const{getProperty:l,getClassList:c}=n,a=Ln(o),u=function(e){return 3===e.type}(e)?function(e){const{template:t}=Sn(e.ctor),{vm:n}=e,{stylesheetToken:r}=t;return!W(r)&&_r(t,n)?Mn(r):null}(e):null;if(!V(a)||!V(u))if(W(s))if(W(i)){const e=[a,u],t=b.call(e,(e=>!V(e)));t.length&&(s=E.call(t," "))}else i=Object.assign(Object.assign(Object.assign({},i),V(a)?{}:{[a]:!0}),V(u)?{}:{[u]:!0});else{const e=[a,s,u],t=b.call(e,(e=>!V(e)));s=E.call(t," ")}let d=!0;const h=l(t,"className");if(W(s)||String(s)===h)if(W(i))W(s)&&""!==h&&(d=!1);else{const e=c(t);let n="";for(const t in i)n+=" "+t,e.contains(t)||(d=!1);n.trim(),e.length>f(i).length&&(d=!1)}else d=!1;return d}(e,t,n),i=function(e,t,n){const{data:{style:r,styleDecls:o}}=e,{getAttribute:s}=n,i=s(t,"style")||"";let l=!0;if(W(r)||r===i){if(!W(o)){const e=function(e){const t={},n=e.split(Ue);for(const e of n)if(e){const[n,r]=e.split(Ge);void 0!==n&&void 0!==r&&(t[n.trim()]=r.trim())}return t}(i),t=[];for(let n=0,r=o.length;n<r;n++){const[r,s,i]=o[n];t.push(`${r}: ${s+(i?" important!":"")}`);const c=e[r];W(c)?l=!1:c.startsWith(s)?i&&!c.endsWith("!important")&&(l=!1):l=!1}f(e).length>o.length&&(l=!1),E.call(t,";")}}else l=!1;return l}(e,t,n);return o&&s&&i}let Lo=!1;function _o(e){Oo(e,(e=>{i(e)}))}function Oo(e,t){t(e);for(let n=0;n<e.length;n++){const r=e[n];m(r)?Oo(r,t):t(r)}}const xo=G(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),Po=xo&&l(document.adoptedStyleSheets,"length").writable,Ro=!W(document.documentMode),Do=new Map;function Io(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function $o(e,t,n){const r=function(e,t){const{element:n,usedElement:r}=t;return r?Ro?Io(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function Fo(e,t){let n=Do.get(e);return W(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},Do.set(e,n)),t&&W(n.stylesheet)?n.stylesheet=function(e){const t=new CSSStyleSheet;return t.replaceSync(e),t}(e):!t&&W(n.element)&&(n.element=Io(e)),n}function Ho(e,t){const n=Fo(e,xo);let{roots:r}=n;if(W(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),xo?function(e,t,n){const{adoptedStyleSheets:r}=t,{stylesheet:o}=n;Po?r.push(o):t.adoptedStyleSheets=[...r,o]}(0,t,n):$o(e,t,n)}const Bo=function(){if("undefined"==typeof customElements)return!1;try{const e=HTMLElement;class t extends e{}return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),t),new t,!0}catch(e){return!1}}(),Wo=(e,t)=>{const n=document.createElement(e);return t(n),n},Vo=new Map,jo=new WeakSet;let Uo=!1;const Go=(e,t)=>{const n=!W(e),r=!W(t);class o extends HTMLElement{constructor(e){super(),Uo?e(this):(n||r)&&jo.add(this)}}return n&&(o.prototype.connectedCallback=function(){jo.has(this)||e(this)}),r&&(o.prototype.disconnectedCallback=function(){jo.has(this)||t(this)}),o},Yo=(e,t,n,r)=>{let o=Vo.get(e);if(W(o)){if(!W(customElements.get(e)))throw new Error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`);o=Go(n,r),customElements.define(e,o),Vo.set(e,o)}Uo=!0;try{return new o(t)}finally{Uo=!1}};let zo,Ko;ye.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY&&Bo&&(zo=function(){if(!Bo)throw new Error("Custom elements are not supported in this environment.");const{HTMLElement:e}=window,{hasAttribute:t,setAttribute:n,removeAttribute:r,getAttribute:s}=e.prototype,i=new WeakMap,l=new WeakMap,c=new WeakMap,a=new WeakSet,u=new WeakSet,d=new Map,f=new Map,h=new Map,m=new Map,g=new Map,w=new Set;function y(t,n){class r extends e{constructor(e){super();const r=!W(e);if(r){if(!S(e))throw new TypeError("Failed to create custom element: the provided constructor is not a constructor.");if(!a.has(e))throw new Error(`Failed to create custom element: the provided constructor is unregistered: ${e.name}.`)}const o=r?k(e):f.get(t);W(o)?l.set(this,n):E(this,n,o)}connectedCallback(){var e;const n=i.get(this);if(W(n)){let e=m.get(t);W(e)&&m.set(t,e=new Set),e.add(this)}else null===(e=n.connectedCallback)||void 0===e||e.call(this)}disconnectedCallback(){var e;const n=i.get(this);if(W(n)){const e=m.get(t);W(e)||e.delete(this)}else null===(e=n.disconnectedCallback)||void 0===e||e.call(this)}formAssociatedCallback(e){var t;const n=i.get(this);null===(t=null==n?void 0:n.formAssociatedCallback)||void 0===t||t.call(this,e)}formDisabledCallback(e){var t;const n=i.get(this);null===(t=null==n?void 0:n.formDisabledCallback)||void 0===t||t.call(this,e)}formResetCallback(){var e;const t=i.get(this);null===(e=null==t?void 0:t.formResetCallback)||void 0===e||e.call(this)}formStateRestoreCallback(e,t){var n;const r=i.get(this);null===(n=null==r?void 0:r.formStateRestoreCallback)||void 0===n||n.call(this,e,t)}adoptedCallback(){var e;const t=i.get(this);null===(e=null==t?void 0:t.adoptedCallback)||void 0===e||e.call(this)}attributeChangedCallback(e,t,r){var o;const s=i.get(this);(n===s||(null==s?void 0:s.observedAttributes.has(e)))&&(null===(o=s.attributeChangedCallback)||void 0===o||o.apply(this,[e,t,r]))}}return r.observedAttributes=[...n.observedAttributes],r.formAssociated=n.formAssociated,u.add(r),r}function b(e,t){const{observedAttributes:n,attributeChangedCallback:r}=t;return 0===n.size||W(r)?w:new Set([...t.observedAttributes].filter((t=>!e.observedAttributes.has(t))))}function v(e){setTimeout((()=>{throw e}))}let C;function E(e,l,c){p(e,c.UserCtor.prototype),i.set(e,c),c!==l&&function(e,t,i){const l=b(t,i);if(0===l.size)return;const{attributeChangedCallback:c}=i;o(e,{setAttribute:{value:function(e,t){if(l.has(e)){const r=s.call(this,e);n.call(this,e,t);try{c.call(this,e,r,t+"")}catch(e){v(e)}}else n.call(this,e,t)},writable:!0,enumerable:!0,configurable:!0},removeAttribute:{value:function(e){if(l.has(e)){const t=s.call(this,e);r.call(this,e);try{c.call(this,e,t,null)}catch(e){v(e)}}else r.call(this,e)},writable:!0,enumerable:!0,configurable:!0}})}(e,l,c),C=e,new c.UserCtor,function(e,n,r){const o=b(n,r);if(0===b(n,r).size)return;const{attributeChangedCallback:i}=r;o.forEach((n=>{if(t.call(e,n)){const t=s.call(e,n);i.call(e,n,null,t)}}))}(e,l,c)}function S(e){return G(e)&&Y(e.prototype)}function k(e){if(!S(e))throw new TypeError("The referenced constructor is not a constructor.");const t=c.get(e);return W(t)?function(e){var t;const{connectedCallback:n,disconnectedCallback:r,formAssociatedCallback:o,formDisabledCallback:s,formResetCallback:i,formStateRestoreCallback:l,adoptedCallback:c,attributeChangedCallback:a}=e.prototype,u=Boolean(e.formAssociated);return{UserCtor:e,PivotCtor:void 0,connectedCallback:n,disconnectedCallback:r,formAssociatedCallback:o,formDisabledCallback:s,formResetCallback:i,formStateRestoreCallback:l,adoptedCallback:c,attributeChangedCallback:a,observedAttributes:new Set(null!==(t=e.observedAttributes)&&void 0!==t?t:[]),formAssociated:u}}(e):t}const{customElements:M}=window,{define:T,whenDefined:A,get:N}=M;return CustomElementRegistry.prototype.define=function(e,t,n){if(n&&n.extends)throw new DOMException('NotSupportedError: "extends" key in customElements.define() options is not supported.');if(f.has(e))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${e}" has already been used with this registry`);if(!W(h.get(t)))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const r=k(t);a.add(t);let o=d.get(e);W(o)&&(o=y(e,r),T.call(M,e,o)),c.set(t,r),d.set(e,o),f.set(e,r),h.set(t,r),r.PivotCtor=o;const s=m.get(e);if(!W(s)){m.delete(e);for(const e of s){const t=l.get(e);W(t)||(l.delete(e),E(e,t,r))}}!function(e,t){const n=g.get(e);if(!W(n))for(const e of n)e(t);g.delete(e)}(e,t)},CustomElementRegistry.prototype.get=function(e){const t=N.call(M,e);if(!W(t)){const n=f.get(e);if(!W(n))return n.UserCtor;if(u.has(t))return;return t}},CustomElementRegistry.prototype.whenDefined=function(e){return A.call(M,e).then((t=>{const n=f.get(e);return W(n)?(W(t)&&(t=N.call(M,e)),u.has(t)?function(e){return new Promise((t=>{let n=g.get(e);W(n)&&(n=[],g.set(e,n)),n.push(t)}))}(e):t):n.UserCtor}))},window.HTMLElement=function(){const e=C;if(!W(e))return C=void 0,e;const{constructor:t}=this,n=h.get(t);if(W(n)||W(n.PivotCtor))throw new TypeError("Illegal constructor");const{PivotCtor:r,UserCtor:o}=n;return new r(o)},HTMLElement.prototype=e.prototype,function(e,t){e=B.call(e);let n=d.get(e);if(W(n)){const r=k(t);n=y(e,r),T.call(M,e,n),r.PivotCtor=n,c.set(t,r),d.set(e,n)}return a.add(t),n}}(),Ko=window.HTMLElement);const qo=(e,t,n,r)=>class extends e{constructor(){super(),t(this)}connectedCallback(){W(n)||n(this)}disconnectedCallback(){W(r)||r(this)}};let Xo;function Zo(e){const t=function(e){var t=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)}});function n(e){return void 0===e}e.createFragment=void 0;if("function"==typeof HTMLTemplateElement)e.createFragment=function(e){const t=document.createElement("template");return t.innerHTML=e,t.content.firstChild};else{const t={caption:["table"],col:["colgroup","table"],colgroup:["table"],option:["select"],tbody:["table"],td:["tr","tbody","table"],th:["tr","tbody","table"],thead:["table"],tfoot:["table"],tr:["tbody","table"]},r=function(e){return(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(e)||["",""])[1].toLowerCase()};e.createFragment=function(e){const o=t[r(e)];if(!n(o))for(const t of o)e=`<${t}>${e}</${t}>`;const s=document.implementation.createHTMLDocument("");s.body.innerHTML=e;let i=s.body;if(!n(o))for(let e=0;e<o.length;e++)i=i.firstChild;return i.firstChild}}return e.addEventListener=function(e,t,n,r){e.addEventListener(t,n,r)},e.assertInstanceOfHTMLElement=function(e,n){t.invariant(e instanceof HTMLElement,n)},e.attachShadow=function(e,t){return null!==e.shadowRoot?e.shadowRoot:e.attachShadow(t)},e.cloneNode=function(e,t){return e.cloneNode(t)},e.createComment=function(e){return document.createComment(e)},e.createElement=function(e,t){return n(t)?document.createElement(e):document.createElementNS(t,e)},e.createText=function(e){return document.createTextNode(e)},e.dispatchEvent=function(e,t){return e.dispatchEvent(t)},e.getAttribute=function(e,t,r){return n(r)?e.getAttribute(t):e.getAttributeNS(r,t)},e.getBoundingClientRect=function(e){return e.getBoundingClientRect()},e.getChildNodes=function(e){return e.childNodes},e.getChildren=function(e){return e.children},e.getClassList=function(e){return e.classList},e.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},e.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},e.getFirstChild=function(e){return e.firstChild},e.getFirstElementChild=function(e){return e.firstElementChild},e.getLastChild=function(e){return e.lastChild},e.getLastElementChild=function(e){return e.lastElementChild},e.getProperty=function(e,t){return e[t]},e.insert=function(e,t,n){t.insertBefore(e,n)},e.isConnected=function(e){return e.isConnected},e.nextSibling=function(e){return e.nextSibling},e.querySelector=function(e,t){return e.querySelector(t)},e.querySelectorAll=function(e,t){return e.querySelectorAll(t)},e.remove=function(e,t){t.removeChild(e)},e.removeAttribute=function(e,t,r){n(r)?e.removeAttribute(t):e.removeAttributeNS(r,t)},e.removeEventListener=function(e,t,n,r){e.removeEventListener(t,n,r)},e.setAttribute=function(e,t,r,o){return n(o)?e.setAttribute(t,r):e.setAttributeNS(o,t,r)},e.setCSSStyleProperty=function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},e.setProperty=function(e,t,n){e[t]=n},e.setText=function(e,t){e.nodeValue=t},e}({});return Object.setPrototypeOf(t,e),t}Xo=Bo?ye.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY?function(e,t,n,r){if(W(zo)||W(Ko))throw new Error("The flag ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY must be set to true to use this feature");const o=qo(Ko,t,n,r);return new(zo(e,o))(o)}:Yo:Wo;const Qo=n(Zo(null),{insertStylesheet:function(e,t){W(t)?function(e){const t=Fo(e,!1);t.global||(t.global=!0,$o(e,document.head,t))}(e):Ho(e,t)},createCustomElement:Xo,isNativeShadowDefined:ne.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,se)});function Jo(e,t,n){const r=Jr(e,t,Qo,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,r]of Object.entries(n))e[t]=r;return r}function es(e,t,n={}){if(!(e instanceof Element))throw new TypeError(`"hydrateComponent" expects a valid DOM element as the first parameter but instead received ${e}.`);if(!G(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!Y(n)||V(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(no(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{!function(e){vo=!1,lo(e),Co(e),vo&&_e("Hydration completed with errors.",e)}(Jo(e,t,n))}catch(r){console.error("Recovering from error while hydrating: ",r),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!V(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!V(e.firstChild);)e.removeChild(e.firstChild)}(e,t),Jo(e,t,n),Xr(e)}}const ts=new WeakSet;function ns(e){var t;const n=function(e){return Sn(e).bridge}(e),{observedAttributes:r}=n,{attributeChangedCallback:o}=n.prototype;return(t=class extends HTMLElement{constructor(){super(),this.isConnected?(es(this,e,{}),ts.add(this)):Jr(this,e,Qo,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){ts.has(this)?ts.delete(this):Xr(this)}disconnectedCallback(){Zr(this)}attributeChangedCallback(e,t,n){o.call(this,e,t,n)}}).observedAttributes=r,t}const rs=Node,os=new WeakMap,ss=new WeakMap;function is(e,t){const n=t.get(e);return W(n)||n(e),e}if(!ye.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE){const{appendChild:e,insertBefore:t,removeChild:r,replaceChild:o}=rs.prototype;n(rs.prototype,{appendChild(t){return is(e.call(this,t),os)},insertBefore(e,n){return is(t.call(this,e,n),os)},removeChild(e){return is(r.call(this,e),ss)},replaceChild(e,t){const n=o.call(this,e,t);return is(n,ss),is(e,os),n}})}const ls=Node;const cs=new Map;s(Ut,"CustomElementConstructor",{get(){return function(e){if(e===Ut)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=cs.get(e);return W(t)&&(t=ns(e),cs.set(e,t)),t}(this)}}),i(Ut),h(Ut.prototype),e.LightningElement=Ut,e.__unstable__ProfilerControl=gr,e.__unstable__ReportingControl=Me,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=en(e);if(!W(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){Jt.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((()=>{W(s)||s(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!Y(t)||V(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${X(t)}".`);const n=t.is;if(!G(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const{createCustomElement:r}=Qo,o=B.call(e);let s,i;return ye.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(s=e=>{Xr(e)},i=e=>{Zr(e)}),r(o,(e=>{Jr(e,n,Qo,{tagName:o,mode:"closed"!==t.mode?"open":"closed",owner:null}),ye.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||(os.set(e,Xr),ss.set(e,Zr))}),s,i)},e.freezeTemplate=function(e){ye.ENABLE_FROZEN_TEMPLATE?(i(e),W(e.stylesheets)||_o(e.stylesheets)):s(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return W(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=W(e)?void 0:e.shadowAttribute}})},e.getComponentConstructor=function(e){let t=null;if(!W(e)){const n=no(e);W(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=Sn(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:me(e)};const c={};for(const e in i)c[e]=i[e].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=es,e.isComponentConstructor=En,e.isNodeFromTemplate=function(e){if(U(e instanceof ls))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&U(u.call(a(t),"synthetic")))||Qo.isSyntheticShadowDefined&&!W(e[re])},e.parseFragment=Tr,e.parseSVGFragment=Ar,e.readonly=function(e){return Ht(e)},e.register=function(e){for(let t=0;t<jr.length;++t){const n=jr[t];if(n in e){let t=Vr[n];W(t)&&(Vr[n]=t=[]),M.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return G(e)&&Ir.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:i,wire:c,track:a,fields:u}=t,d=r(null),f=r(null),h=r(null),p=r(null),m=r(null),g=r(null);let w;if(!W(o))for(const e in o){const t=o[e];if(g[e]=t.config,w=l(n,e),t.config>0){if(W(w))throw new Error;w=on(0,w)}else w=W(w)||W(w.get)?rn(e):on(0,w);f[e]=w,s(n,e,w)}if(W(i)||R.call(i,(e=>{if(w=l(n,e),W(w))throw new Error;d[e]=w})),!W(c))for(const e in c){const{adapter:t,method:r,config:o,dynamic:i=[]}=c[e];if(w=l(n,e),1===r){if(W(w))throw new Error;h[e]=w,tn(w,t,o,i)}else w=ln(e),p[e]=w,nn(w,t,o,i),s(n,e,w)}if(!W(a))for(const e in a)w=l(n,e),w=sn(e),s(n,e,w);if(!W(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const r=!W(o)&&t in o,s=!W(a)&&t in a;r||s||(m[t]=qt(t))}return function(e,t){cn.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return un.add(e),e},e.renderer=Qo,e.rendererFactory=Zo,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(W(we[e])){const n=f(we).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=ye[e];if(!W(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}".`);s(ye,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)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var n;t.isFalse(Lo,"Hooks are already overridden, only one definition is allowed."),Lo=!0,n=e.sanitizeHtmlContent,fr=n},e.swapComponent=function(e,t){return!1},e.swapStyle=function(e,t){return!1},e.swapTemplate=function(e,t){return!1},e.track=function(e){if(1===arguments.length)return Bt(e);throw new Error},e.unwrap=function(e){return Ft.unwrapProxy(e)},e.wire=function(e,t){throw new Error}}));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).LWC={})}(this,(function(e){"use strict";var t=Object.freeze({__proto__:null,fail:function(e){throw new Error(e)},invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)}});const{assign:n,create:r,defineProperties:o,defineProperty:s,freeze:i,getOwnPropertyDescriptor:l,getOwnPropertyNames:c,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{concat:g,copyWithin:w,fill:y,filter:b,find:v,indexOf:C,join:E,map:S,pop:k,push:M,reduce:T,reverse:A,shift:N,slice:L,some:_,sort:O,splice:x,unshift:P,forEach:R}=Array.prototype,{fromCharCode:D}=String,{charCodeAt:I,replace:$,split:F,slice:H,toLowerCase:B}=String.prototype;function W(e){return void 0===e}function V(e){return null===e}function j(e){return!0===e}function U(e){return!1===e}function G(e){return"function"==typeof e}function Y(e){return"object"==typeof e}function z(e){return"string"==typeof e}function K(){}const q={}.toString;function X(e){return e&&e.toString?m(e)?E.call(S.call(e,X),","):e.toString():"object"==typeof e?q.call(e):e+""}function Z(e,t){do{const n=l(e,t);if(!W(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:J,AriaPropNameToAttrNameMap:ee}=(()=>{const e=r(null),t=r(null);return R.call(Q,(n=>{const r=B.call($.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),te=new Set(["aria-activedescendant","aria-controls","aria-describedby","aria-details","aria-errormessage","aria-flowto","aria-labelledby","aria-owns","for"]),ne="object"==typeof globalThis?globalThis:window,re="$shadowResolver$",oe="$shadowStaticNode$",se="$shadowToken$",ie="$scoped$",le="http://www.w3.org/XML/1998/namespace",ce="http://www.w3.org/2000/svg",ae="http://www.w3.org/1999/xlink",ue=/-([a-z])/g,{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:de,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:fe}=(()=>{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}})(),he=new Map,pe=new Map;function me(e){const t=ee[e];if(!W(t))return t;const n=fe.get(e);if(!W(n))return n;const r=he.get(e);if(!W(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=I.call(e,t);o+=n>=65&&n<=90?"-"+D(n+32):D(n)}return he.set(e,o),o}function ge(e){const t=J[e];if(!W(t))return t;const n=de.get(e);if(!W(n))return n;const r=pe.get(e);if(!W(r))return r;const o=$.call(e,ue,(e=>e[1].toUpperCase()));return pe.set(e,o),o}const we={DUMMY_TEST_FLAG:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE: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,ENABLE_FROZEN_TEMPLATE:null,DISABLE_ARIA_REFLECTION_POLYFILL:null,ENABLE_PROGRAMMATIC_STYLESHEETS:null};ne.lwcRuntimeFlags||Object.defineProperty(ne,"lwcRuntimeFlags",{value:r(null)});const ye=ne.lwcRuntimeFlags;function be(e,t){return W(l(t,e))}function ve(e,t){const n=function(e){return{get(){return this.hasAttribute(e)?this.getAttribute(e):null},set(t){V(t)?this.removeAttribute(e):this.setAttribute(e,t)},configurable:!0,enumerable:!0}}(ee[e]);s(t,e,n)}function Ce(e=Element.prototype){const t=f(ee);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];be(r,e)&&ve(r,e)}}ye.DISABLE_ARIA_REFLECTION_POLYFILL||Ce();const Ee=[];let Se=K,ke=!1;const Me={attachDispatcher(e){ke=!0,Se=e;for(const e of Ee)try{e()}catch(e){console.error("Could not invoke callback",e)}Ee.length=0},detachDispatcher(){ke=!1,Se=K}};function Te(e){return`<${B.call(e.tagName)}>`}function Ae(e,t){if(!d(t)&&W(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!V(n);)M.call(t,Te(n)),n=n.owner;return t.reverse().join("\n\t")}(e);s(t,"wcStack",{get:()=>n})}}const Ne=new Set;function Le(e,t,n,r){let o=`[LWC ${e}]: ${t}`;if(W(n)||(o=`${o}\n${function(e){const t=[];let n="";for(;!V(e.owner);)M.call(t,n+Te(e)),e=e.owner,n+="\t";return E.call(t,"\n")}(n)}`),r){if(Ne.has(o))return;Ne.add(o)}try{throw new Error(o)}catch(t){console[e](t)}}function _e(e,t){Le("error",e,t,!1)}const Oe=new WeakMap;let xe=null;function Pe(e,t){const n=Oe.get(e);if(!W(n)){const e=n[t];if(!W(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Re(e,t){if(null===xe)return;const n=xe,o=function(e){let t=Oe.get(e);if(W(t)){const n=r(null);t=n,Oe.set(e,n)}return t}(e);let s=o[t];if(W(s))s=[],o[t]=s;else if(s[0]===n)return;-1===C.call(s,n)&&n.link(s)}class De{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=xe;let n;xe=this;try{e()}catch(e){n=Object(e)}finally{if(xe=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],r=C.call(e[n],this);x.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){M.call(e,this),M.call(this.listeners,e)}}function Ie(e,t){Pe(e.component,t)}function $e(e,t){Re(e.component,t)}function Fe(e){return new De(e)}let He=[];const Be=h(r(null)),We=h([]);function Ve(){const e=He;He=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function je(e){0===He.length&&Promise.resolve().then(Ve),M.call(He,e)}const Ue=/;(?![^(]*\))/g,Ge=/:(.+)/;function Ye(e,t){const n={};for(const r of Object.keys(e))r!==t&&(n[r]=e[r]);return n}function ze(e){const t=[];for(const n of e)Array.isArray(n)?t.push(...ze(n)):t.push(n);return t}function Ke(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}function qe(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Xe(e){return G(e)&&u.call(e,"__circular__")}const Ze="undefined"!=typeof HTMLElement?HTMLElement:function(){},Qe=Ze.prototype;let Je,et=null;function tt(e,t){return e!==et||t!==Je}function nt(e,t){et=null,Je=void 0}function rt(e,t){et=e,Je=t}const ot=r(null);function st(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n,Ie(e,t))}R.call(f(ee),(e=>{const t=Z(Qe,e);W(t)||(ot[e]=t)})),R.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=Z(Qe,e);W(t)||(ot[e]=t)}));const{isArray:it}=Array,{prototype:lt,getPrototypeOf:ct,create:at,defineProperty:ut,isExtensible:dt,getOwnPropertyDescriptor:ft,getOwnPropertyNames:ht,getOwnPropertySymbols:pt,preventExtensions:mt,hasOwnProperty:gt}=Object,{push:wt,concat:yt}=Array.prototype;function bt(e){return void 0===e}function vt(e){return"function"==typeof e}const Ct=new WeakMap;function Et(e,t){Ct.set(e,t)}const St=e=>Ct.get(e)||e;class kt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(gt.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;bt(n)||(e.get=this.wrapGetter(n)),bt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=ft(n,t);if(!bt(r)){const n=this.wrapDescriptor(r);ut(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;yt.call(ht(t),pt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;bt(n)||gt.call(e,n)||ut(e,n,at(null)),mt(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:r}}=this,o=n[t];return r(n,t),this.wrapValue(o)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:r,valueObserved:o}}=this;return o(n,t),t in n||t===r}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,r=bt(n)||gt.call(t,n)?[]:[n];return wt.apply(r,ht(t)),wt.apply(r,pt(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!dt(e)&&(!!dt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return ct(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let s=ft(n,t);if(bt(s)){if(t!==o)return;return s={value:void 0,writable:!1,configurable:!1,enumerable:!1},ut(e,o,s),s}return!1===s.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(s)}}const Mt=new WeakMap,Tt=new WeakMap,At=new WeakMap,Nt=new WeakMap;class Lt extends kt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Mt.get(e);if(!bt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(St(this)))};return Mt.set(e,r),At.set(r,e),r}wrapSetter(e){const t=Tt.get(e);if(!bt(t))return t;const n=function(t){e.call(St(this),St(t))};return Tt.set(e,n),Nt.set(n,e),n}unwrapDescriptor(e){if(gt.call(e,"value"))e.value=St(e.value);else{const{set:t,get:n}=e;bt(n)||(e.get=this.unwrapGetter(n)),bt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=At.get(e);if(!bt(t))return t;const n=this,r=function(){return St(e.call(n.wrapValue(this)))};return Mt.set(r,e),At.set(e,r),r}unwrapSetter(e){const t=Nt.get(e);if(!bt(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Tt.set(r,e),Nt.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&&it(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(dt(e)){const{originalTarget:t}=this;if(mt(t),dt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:s}}=this;return t===s&&!gt.call(r,t)||(ut(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const _t=new WeakMap,Ot=new WeakMap;class xt extends kt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=_t.get(e);if(!bt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(St(this)))};return _t.set(e,r),r}wrapSetter(e){const t=Ot.get(e);if(!bt(t))return t;const n=function(e){};return Ot.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 Pt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(it(e))return!0;const t=ct(e);return t===lt||null===t||null===ct(t)}const Rt=(e,t)=>{},Dt=(e,t)=>{};function It(e){return it(e)?[]:{}}const $t=Symbol.for("@@lockerLiveValue"),Ft=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=vt(t)?t:Dt,this.valueObserved=vt(n)?n:Rt,this.valueIsObservable=vt(r)?r:Pt,this.tagPropertyKey=o}getProxy(e){const t=St(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=St(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return St(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(bt(t)){const n=new Lt(this,e);t=new Proxy(It(e),n),Et(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(bt(t)){const n=new xt(this,e);t=new Proxy(It(e),n),Et(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Re,valueMutated:Pe,tagPropertyKey:$t});function Ht(e){return Ft.getReadOnlyProxy(e)}function Bt(e){return Ft.getProxy(e)}function Wt(e){e[$t]=void 0}function Vt(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!G(n))throw new TypeError;if(!G(r))throw new TypeError;return{enumerable:o,configurable:s,get(){const t=to(this);if(!Pr(t))return $e(t,e),n.call(t.elm)},set(t){const n=to(this);return st(n,e,t),r.call(n.elm,t)}}}const jt=new WeakMap,Ut=function(){if(V(xr))throw new TypeError("Illegal constructor");const e=xr,{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 Wt(this),eo(o,e),eo(n,e),1===e.renderMode?e.renderRoot=Gt(e):e.renderRoot=n,this};function Gt(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,eo(i,e),i}Ut.prototype={constructor:Ut,dispatchEvent(e){const t=to(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=to(this),{elm:o,renderer:{addEventListener:s}}=r;s(o,e,Wr(r,t),n)},removeEventListener(e,t,n){const r=to(this),{elm:o,renderer:{removeEventListener:s}}=r;s(o,e,Wr(r,t),n)},hasAttribute(e){const t=to(this),{elm:n,renderer:{getAttribute:r}}=t;return!V(r(n,e))},hasAttributeNS(e,t){const n=to(this),{elm:r,renderer:{getAttribute:o}}=n;return!V(o(r,t,e))},removeAttribute(e){const t=to(this),{elm:n,renderer:{removeAttribute:r}}=t;rt(n,e),r(n,e),nt()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=to(this);rt(n,t),r(n,t,e),nt()},getAttribute(e){const t=to(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=to(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=to(this),{elm:r,renderer:{setAttribute:o}}=n;rt(r,e),o(r,e,t),nt()},setAttributeNS(e,t,n){const r=to(this),{elm:o,renderer:{setAttribute:s}}=r;rt(o,t),s(o,t,n,e),nt()},getBoundingClientRect(){const e=to(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=to(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=to(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return to(this).shadowRoot},get refs(){const e=to(this);if(Cr)return;const{refVNodes:t,cmpTemplate:n}=e;if(V(t))return;let o=jt.get(t);if(W(o)){o=r(null);for(const e of f(t))o[e]=t[e].elm;i(o),jt.set(t,o)}return o},set refs(e){s(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=to(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=to(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=to(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=to(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=to(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=to(this);return e.renderer.getLastElementChild(e.elm)},render(){return to(this).def.template},toString(){return`[object ${to(this).def.name}]`}};const Yt=r(null),zt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of zt)Yt[e]={value(t){const n=to(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(Ut.prototype,Yt);const Kt=r(null);for(const e in ot)Kt[e]=Vt(e,ot[e]);function qt(e){return{get(){const t=to(this);return $e(t,e),t.cmpFields[e]},set(t){st(to(this),e,t)},enumerable:!0,configurable:!0}}o(Ut.prototype,Kt),ye.DISABLE_ARIA_REFLECTION_POLYFILL&&Ce(Ut.prototype),s(Ut,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const Xt=new Map;class Zt extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function Qt(e,t,n){const{method:r,adapter:o,configCallback:i,dynamic:l}=n;const c=W(r)?function(e,t){return n=>{st(e,t,n)}}(e,t):function(e,t){return n=>{ho(e,e.owner,K,(()=>{t.call(e.component,n)}),K)}}(e,r),a=e=>{c(e)};let u,d;s(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),s(a,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),ho(e,e,K,(()=>{d=new o(a)}),K);const{computeConfigAndUpdate:f,ro:h}=function(e,t,n){let r=!1;const o=Fe((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),s()})))})),s=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:s,ro:o}}(e.component,i,(t=>{ho(e,e,K,(()=>{d.update(t,u)}),K)}));return W(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=en(r);if(W(o))return;const{elm:s,context:{wiredConnecting:i,wiredDisconnecting:l},renderer:{dispatchEvent:c}}=e;M.call(i,(()=>{const e=new Zt(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){M.call(l,e)}});c(s,e)}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>h.reset()}}const Jt=new Map;function en(e){return Jt.get(e)}function tn(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Xt.set(e,o)}function nn(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Xt.set(e,o)}function rn(e){return{get(){const t=to(this);if(!Pr(t))return $e(t,e),t.cmpProps[e]},set(t){const n=to(this);n.cmpProps[e]=t,Ie(n,e)},enumerable:!0,configurable:!0}}function on(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!G(n))throw new Error;return{get(){return n.call(this)},set(e){to(this),r&&r.call(this,e)},enumerable:o,configurable:s}}function sn(e){return{get(){const t=to(this);return $e(t,e),t.cmpFields[e]},set(t){const n=to(this),r=Bt(t);st(n,e,r)},enumerable:!0,configurable:!0}}function ln(e){return{get(){const t=to(this);return $e(t,e),t.cmpFields[e]},set(t){st(to(this),e,t)},enumerable:!0,configurable:!0}}const cn=new Map;const an={apiMethods:Be,apiFields:Be,apiFieldsConfig:Be,wiredMethods:Be,wiredFields:Be,observedFields:Be};const un=new Set;function dn(){return[]}un.add(dn);const fn=r(null),hn=r(null);function pn(e){let t=fn[e];return W(t)&&(t=fn[e]=function(){const t=to(this),{getHook:n}=t;return n(t.component,e)}),t}function mn(e){let t=hn[e];return W(t)&&(t=hn[e]=function(t){const n=to(this),{setHook:r}=n;t=Ht(t),r(n.component,e,t)}),t}function gn(e){return function(){const t=to(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,L.call(arguments))}}function wn(e,t){return function(n,r,o){if(r===o)return;const s=e[n];W(s)?W(t)||t.apply(this,arguments):tt(this,n)&&(this[s]=o)}}function yn(e,t,n){let i;G(e)?i=class extends e{}:(i=function(){throw new TypeError("Illegal constructor")},p(i,e),p(i.prototype,e.prototype),s(i.prototype,"constructor",{writable:!0,configurable:!0,value:i}));const l=r(null),{attributeChangedCallback:c}=e.prototype,{observedAttributes:a=[]}=e,u=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[me(n)]=n,u[n]={get:pn(n),set:mn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:gn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:wn(l,c)},s(i,"observedAttributes",{get:()=>[...a,...f(l)]}),o(i.prototype,u),i}const bn=yn(Ze,c(ot),[]);ye.DISABLE_ARIA_REFLECTION_POLYFILL&&Ce(bn.prototype),i(bn),h(bn.prototype);new WeakMap,new WeakMap,new WeakMap,new WeakMap;const vn=new WeakMap;function Cn(e){const{shadowSupportMode:t,renderMode:s}=e,i=function(e){const t=cn.get(e);return W(t)?an:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=i,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const C=function(e){let t=a(e);if(V(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(Xe(t)){const e=qe(t);t=e===t?Ut:e}return t}(e),E=C!==Ut?Sn(C):kn,S=yn(E.bridge,f(l),f(u)),k=n(r(null),E.props,l),M=n(r(null),E.propsConfig,c),T=n(r(null),E.methods,u),A=n(r(null),E.wire,d,h);g=g||E.connectedCallback,w=w||E.disconnectedCallback,y=y||E.renderedCallback,b=b||E.errorCallback,v=v||E.render;let N=E.shadowSupportMode;W(t)||(N=t);let L=E.renderMode;W(s)||(L="light"===s?0:1);const _=function(e){return Ir.get(e)}(e)||E.template,O=e.name||E.name;o(m,p);return{ctor:e,name:O,wire:A,props:k,propsConfig:M,methods:T,bridge:S,template:_,renderMode:L,shadowSupportMode:N,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function En(e){if(!G(e))return!1;if(e.prototype instanceof Ut)return!0;let t=e;do{if(Xe(t)){const e=qe(t);if(e===t)return!0;t=e}if(t===Ut)return!0}while(!V(t)&&(t=a(t)));return!1}function Sn(e){let t=vn.get(e);if(W(t)){if(Xe(e)){return t=Sn(qe(e)),vn.set(e,t),t}if(!En(e))throw new TypeError(`${e} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);t=Cn(e),vn.set(e,t)}return t}const kn={ctor:Ut,name:Ut.name,props:Kt,propsConfig:Be,methods:Be,renderMode:1,shadowSupportMode:"reset",wire:Be,bridge:bn,template:dn,render:Ut.prototype.render};function Mn(e){return`${e}-host`}function Tn(e){return hr.h("style",{key:"style",attrs:{type:"text/css"}},[hr.t(e)])}function An(e,t,n){const r=[];let o;for(let s=0;s<e.length;s++){let i=e[s];if(m(i))M.apply(r,An(i,t,n));else{const e=i[ie];if(ye.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){_e("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 c;1===n.renderMode?c=0===n.shadowMode:(W(o)&&(o=Nn(n)),c=V(o)||0===o.shadowMode),M.call(r,i(s,l,c))}}return r}function Nn(e){let t=e;for(;!V(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Ln(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}function _n(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)o(t[e]);else{if(e.hydrated)return S.call(t,Tn);{const n=function(e){const t=Nn(e);return V(t)||1!==t.shadowMode?t:null}(e),r=V(n)?void 0:n.shadowRoot;for(let e=0;e<t.length;e++)o(t[e],r)}}return null}function On(e){const{type:t}=e;return 2===t||3===t}function xn(e,t){return e.key===t.key&&e.sel===t.sel}function Pn(e){return 5===e.type}function Rn(e){return 6===e.type}function Dn(e,t){return"input"===e&&("value"===t||"checked"===t)}function In(e,t,r){let{props:o}=t.data;const{spread:s}=t.data;if(W(o)&&W(s))return;let i;if(!V(e)){i=e.data.props;const t=e.data.spread;if(i===o&&t===s)return;W(i)&&(i=Be),W(t)||(i=n({},i,t))}W(s)||(o=n({},o,s));const l=V(e),{elm:c,sel:a}=t,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(Dn(a,e)?u(c,e):i[e])&&e in i||d(c,e,t)}}const $n=r(null);function Fn(e){if(null==e)return Be;e=z(e)?e:e+"";let t=$n[e];if(t)return t;t=r(null);let n,o=0;const s=e.length;for(n=0;n<s;n++)32===I.call(e,n)&&(n>o&&(t[H.call(e,o,n)]=!0),o=n+1);return n>o&&(t[H.call(e,o,n)]=!0),$n[e]=t,t}function Hn(e,t){const{elm:n,data:{on:r}}=e;if(W(r))return;const{addEventListener:o}=t;for(const e in r){o(n,e,r[e])}}function Bn(e,t,n,r){rr(t)?sr(e,t,n,r):ir(e,t,n,r)}function Wn(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&&qn(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?ir(e.children,o,n,r):sr(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;Qn(e,t,n),Bn(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),jn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;if(Qn(e,t,r),!W(o)){er(t,o);const{shadowMode:n,renderMode:r}=o;0==n&&0!==r&&rr(e.children)&&nr(t.children)}Bn(e.children,t.children,n,r),W(o)||function(e){ro(e)}(o)}}(e,t,n,null!==(s=t.data.renderer)&&void 0!==s?s:r)}}function Vn(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);Kn(i,o,r),Xn(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);Kn(i,o,r),Xn(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);Kn(l,o,r);const{renderMode:c,shadowMode:a}=o;i&&(1!==a&&0!==c||(l[oe]=!0));Xn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;Un(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,c=j(i)?ce:void 0,a=e.elm=l(o,c);Kn(a,s,r),Jn(a,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)}(a,e),Qn(null,e,r),Xn(a,t,n,r),Un(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:jn(e,t,r,null!==(s=e.data.renderer)&&void 0!==s?s:n)}}function jn(e,t,n,r){const{sel:o,owner:s}=e,{createCustomElement:i}=r;let l;let c,a;ye.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(c=e=>{Xr(e)},a=e=>{Zr(e)});const u=i(o.toLowerCase(),(t=>{l=function(e,t,n){let r=no(e);if(!W(r))return r;const{sel:o,mode:s,ctor:i,owner:l}=t;return r=Jr(e,i,n,{mode:s,owner:l,tagName:o}),r}(t,e,r)}),c,a);e.elm=u,e.vm=l,Kn(u,s,r),Jn(u,s,r),l&&er(e,l),Qn(null,e,r),Xn(u,t,n,r),l&&(ye.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||lo(l)),Un(e.children,u,r,null),l&&function(e){ro(e)}(l)}function Un(e,t,n,r,o=0,s=e.length){for(;o<s;++o){const s=e[o];zn(s)&&Vn(s,t,n,r)}}function Gn(e,t,n,r=!1){const{type:o,elm:s,sel:i}=e;switch(r&&(5===o?Yn(e.children,t,n,r):Zn(s,t,n)),o){case 2:{const t="slot"===i&&1===e.owner.shadowMode;Yn(e.children,s,n,t);break}case 3:{const{vm:t}=e;W(t)||function(e){Qr(e)}(t)}}}function Yn(e,t,n,r=!1,o=0,s=e.length){for(;o<s;++o){const s=e[o];zn(s)&&Gn(s,t,n,r)}}function zn(e){return null!=e}function Kn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:s}=t,{isSyntheticShadowDefined:i}=n;i&&(1!==s&&0!==o||(e[re]=r[re]))}function qn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function Xn(e,t,n,r){r.insert(e,t,n)}function Zn(e,t,n){n.remove(e,t)}function Qn(e,t,n){V(e)&&(Hn(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(W(r))return;const{getClassList:o}=t,s=o(n);for(const e in r)s.add(e)}(t,n),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(W(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)}}(t,n)),function(e,t,n){const{elm:r,data:{className:o}}=t,s=V(e)?void 0:e.data.className;if(s===o)return;const{getClassList:i}=n,l=i(r),c=Fn(o),a=Fn(s);let u;for(u in a)W(c[u])&&l.remove(u);for(u in c)W(a[u])&&l.add(u)}(e,t,n),function(e,t,n){const{elm:r,data:{style:o}}=t;if((V(e)?void 0:e.data.style)===o)return;const{setAttribute:s,removeAttribute:i}=n;z(o)&&""!==o?s(r,"style",o):i(r,"style")}(e,t,n),t.data.external?function(e,t,n){const{data:{attrs:r},elm:o}=t;if(W(r))return;const{removeAttribute:s,setAttribute:i,setProperty:l}=n,c=V(e)?Be:e.data.attrs;for(const e in r){const t=r[e];c[e]!==t&&(ge(e)in o?l(o,e,t):58===I.call(e,3)?i(o,e,t,le):58===I.call(e,5)?i(o,e,t,ae):V(t)||W(t)?s(o,e):i(o,e,t))}}(e,t,n):function(e,t,n){const{attrs:r}=t.data;if(W(r))return;const o=V(e)?Be: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&&(rt(s,e),58===I.call(e,3)?i(s,e,t,le):58===I.call(e,5)?i(s,e,t,ae):V(t)||W(t)?l(s,e):i(s,e,t),nt())}}(e,t,n),In(e,t,n)}function Jn(e,t,n){const r=Ln(t);if(!V(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||W(o)||(e.$shadowToken$=o)}function er(e,t){const n=e.aChildren||e.children,{renderMode:o,shadowMode:s}=t,i=function(e){const t=[],n=[];let r,o=!1;for(let t=e.length-1;t>-1;t-=1){const r=e[t];M.call(n,r),o=o||!(!r||!Pn(r))}if(!o)return e;for(;!W(r=k.call(n));)if(!V(r)&&Pn(r)){const e=r.children;for(let t=e.length-2;t>0;t-=1)M.call(n,e[t])}else M.call(t,r);return nr(t),t}(n);e.children=i,t.aChildren=i,1!==s&&0!==o||(!function(e,t,n){var o,s;const{cmpSlots:{slotAssignments:i}}=e,l=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(V(n))continue;let r="";On(n)?r=null!==(s=null===(o=n.data.attrs)||void 0===o?void 0:o.slot)&&void 0!==s?s:"":Rn(n)&&(r=n.slotName);const i=l[r]=l[r]||[];M.call(i,n)}if(e.cmpSlots={owner:n,slotAssignments:l},U(e.isDirty)){const t=f(i);if(t.length!==f(l).length)return void Hr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(W(l[r])||i[r].length!==l[r].length)return void Hr(e);const o=i[r],s=l[r];for(let t=0,n=l[r].length;t<n;t+=1)if(o[t]!==s[t])return void Hr(e)}}}(t,i,e.owner),e.aChildren=i,e.children=We)}const tr=new WeakMap;function nr(e){tr.set(e,1)}function rr(e){return tr.has(e)}function or(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(zn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function sr(e,t,n,r){let o=0,s=0,i=e.length-1,l=e[0],c=e[i];const a=t.length-1;let u,d,f,h,p=a,m=t[0],g=t[p],w=!1;for(;o<=i&&s<=p;)zn(l)?zn(c)?zn(m)?zn(g)?xn(l,m)?(Wn(l,m,n,r),l=e[++o],m=t[++s]):xn(c,g)?(Wn(c,g,n,r),c=e[--i],g=t[--p]):xn(l,g)?(Wn(l,g,n,r),Xn(l.elm,n,r.nextSibling(c.elm),r),l=e[++o],g=t[--p]):xn(c,m)?(Wn(c,m,n,r),Xn(m.elm,n,l.elm,r),c=e[--i],m=t[++s]):(void 0===u&&(u=or(e,o,i)),d=u[m.key],W(d)?(Vn(m,n,r,l.elm),m=t[++s]):(f=e[d],zn(f)&&(f.sel!==m.sel?Vn(m,n,r,l.elm):(Wn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,Xn(f.elm,n,l.elm,r))),m=t[++s])):g=t[--p]:m=t[++s]:c=e[--i]:l=e[++o];if(o<=i||s<=p)if(o>i){let e,o=p;do{e=t[++o]}while(!zn(e)&&o<a);h=zn(e)?e.elm:null,Un(t,n,r,h,s,p+1)}else Yn(e,n,r,!0,o,i+1)}function ir(e,t,n,r){const o=e.length,s=t.length;if(0===o)return void Un(t,n,r,null);if(0===s)return void Yn(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&&(zn(s)?zn(l)?(Wn(s,l,n,r),i=l.elm):Gn(s,n,r,!0):zn(l)&&(Vn(l,n,r,i),i=l.elm))}}const lr=Symbol.iterator;function cr(e,t,n=We){const r=Sr(),{key:o,ref:s}=t,i={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return W(s)||Ke(r,s,i),i}function ar(e,t,n,r=We){const o=Sr(),{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){M.call(Sr().velements,e)}(l),W(i)||Ke(o,i,l),l}function ur(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:Sr()}}function dr(e){return nr(e),e}let fr=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const hr=i({s:function(e,t,n,r){if(!W(r)&&!W(r.slotAssignments)&&!W(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(!V(n)){const e=Rn(n);if(e!==!W(t.slotData))continue;if(e){const e=Sr();kr(r.owner);try{M.call(o,n.factory(t.slotData,t.key))}finally{kr(e)}}else M.call(o,n)}}n=o}const o=Sr(),{renderMode:s,shadowMode:i}=o;return 0===s?(dr(n),n):(1===i&&dr(n),cr("slot",t,n))},h:cr,c:ar,i:function(e,t){const n=[];if(dr(n),W(e)||null===e)return n;const r=e[lr]();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);m(e)?M.apply(n,e):M.call(n,e),s+=1,i=o.value}return n},f:function(e){const t=e.length,n=[];dr(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?M.apply(n,t):M.call(n,t)}return n},t:ur,d:function(e){return null==e?"":String(e)},b:function(e){const t=Sr();if(V(t))throw new Error;const n=t;return function(t){Dr(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:Sr()}},dc:function(e,t,n,r=We){if(null==t)return null;if(!En(t))throw new Error(`Invalid LWC Constructor ${X(t)} for custom element <${e}>.`);return ar(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[ur(""),...t,ur("")],stable:n,owner:Sr()}},ti:function(e){return e>0&&!(j(e)||U(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:Sr()}},gid:function(e){const t=Sr();if(W(e)||""===e)return e;if(V(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?$.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=Sr();if(W(e)||""===e)return e;if(V(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return fr(e)},ssf:function(e,t){return{type:6,factory:t,owner:Sr(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let pr=!1,mr=K;const gr={enableProfiler(){pr=!0},disableProfiler(){pr=!1},attachDispatcher(e){mr=e,this.enableProfiler()},detachDispatcher(){const e=mr;return mr=K,this.disableProfiler(),e}};function wr(e,t){pr&&mr(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function yr(e,t){pr&&mr(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function br(e,t){pr&&mr(e,0,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}function vr(e,t){pr&&mr(e,1,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}let Cr=!1,Er=null;function Sr(){return Er}function kr(e){Er=e}function Mr(e){return(t,...n)=>{const o=r(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:s},shadowMode:i,renderer:l}=Sr(),c=!W(s),a=1===i;let u=0;if(c&&r&&(u|=1),c&&a&&(u|=2),!W(o[u]))return o[u];const d=r&&c?" "+s:"",f=r&&c?` class="${s}"`:"",h=c&&a?" "+s:"";let p="";for(let e=0,r=n.length;e<r;e++)switch(n[e]){case 0:p+=t[e]+d;break;case 1:p+=t[e]+f;break;case 2:p+=t[e]+h;break;case 3:p+=t[e]+f+h}return p+=t[t.length-1],o[u]=e(p,l),o[u]}}}const Tr=Mr(((e,t)=>{const{createFragment:n}=t;return n(e)})),Ar=Mr(((e,t)=>{const{createFragment:n,getFirstChild:r}=t;return r(n("<svg>"+e+"</svg>"))}));function Nr(e,t){const n=Cr,o=Er;let s=[];return ho(e,e.owner,(()=>{Er=e,wr(1,e)}),(()=>{const{component:n,context:o,cmpSlots:i,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(V(l)||fo(e),c=t,!un.has(c))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: ${X(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=_r(t,e),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:s,renderer:{getClassList:i,removeAttribute:l,setAttribute:c}}=e,{stylesheets:a,stylesheetToken:u}=t,{stylesheets:d}=e,f=1===o&&1===s,{hasScopedStyles:h}=r;let p,m,g;const{stylesheetToken:w,hasTokenInClass:y,hasTokenInAttribute:b}=r;W(w)||(y&&i(n).remove(Mn(w)),b&&l(n,Mn(w)));const v=Or(a),C=Or(d);(v||C)&&(p=u),W(p)||(h&&(i(n).add(Mn(p)),m=!0),f&&(c(n,Mn(p),""),g=!0)),r.stylesheetToken=p,r.hasTokenInClass=m,r.hasTokenInAttribute=g}(e,t);const n=function(e,t){const{stylesheets:n,stylesheetToken:r}=t,{stylesheets:o}=e;let s=[];return Or(n)&&(s=An(n,r,e)),Or(o)&&M.apply(s,An(o,r,e)),s}(e,t);o.styleVNodes=0===n.length?null:_n(e,n)}var c;e.refVNodes=t.hasRefs?r(null):null,e.velements=[],Cr=!0,s=t.call(void 0,hr,n,i,o.tplCache);const{styleVNodes:a}=o;V(a)||P.apply(s,a)}))}),(()=>{Cr=n,Er=o,yr(1,e)})),s}function Lr(e){if(Or(e))for(let t=0;t<e.length;t++)if(j(e[t][ie]))return!0;return!1}function _r(e,t){const{stylesheets:n}=e,r=W(t)?null:t.stylesheets;return Lr(n)||Lr(r)}function Or(e){return!W(e)&&!V(e)&&e.length>0}let xr=null;function Pr(e){return xr===e}function Rr(e,t,n){const{component:r,callHook:o,owner:s}=e;ho(e,s,K,(()=>{o(r,t,n)}),K)}function Dr(e,t,n,r){const{callHook:o,owner:s}=e;ho(e,s,K,(()=>{o(n,t,[r])}),K)}const Ir=new Map;function $r(e){return Fe((()=>{const{isDirty:t}=e;U(t)&&(Hr(e),function(e){if(j(e.isScheduled))return;e.isScheduled=!0,0===so.length&&je(io);M.call(so,e)}(e))}))}function Fr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,s=Sr();let i,l=!1;return ho(e,o,(()=>{kr(e)}),(()=>{e.tro.observe((()=>{i=n(r,t),l=!0}))}),(()=>{kr(s)})),l?Nr(e,i):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Hr(e){e.isDirty=!0}const Br=new WeakMap;function Wr(e,t){if(!G(t))throw new TypeError("Expected an EventListener but received "+typeof t);let n=Br.get(t);return W(n)&&(n=function(n){Dr(e,t,void 0,n)},Br.set(t,n)),n}const Vr=r(null),jr=["rendered","connected","disconnected"];function Ur(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 Gr=0;const Yr=new WeakMap;function zr(e,t,n=[]){return t.apply(e,n)}function Kr(e,t,n){e[t]=n}function qr(e,t){return e[t]}function Xr(e){const t=to(e);br(7,t),1===t.state&&Zr(e),lo(t),ro(t),vr(7,t)}function Zr(e){Qr(to(e))}function Qr(e){const{state:t}=e;if(2!==t){const{tro:t}=e;t.reset(),function(e){U(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Vr;t&&Ur(e,t);co(e)&&function(e){const{wiredDisconnecting:t}=e.context;ho(e,e,K,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),K)}(e);const{disconnectedCallback:n}=e.def;W(n)||(wr(5,e),Rr(e,n),yr(5,e))}(e),ao(e),function(e){const{aChildren:t}=e;uo(t)}(e)}}function Jr(e,t,n,o){const{mode:s,owner:i,tagName:l,hydrated:c}=o,a=Sn(t),u={elm:e,def:a,idx:Gr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:s,owner:i,refVNodes:null,children:We,aChildren:We,velements:We,cmpProps:r(null),cmpFields:r(null),cmpSlots:{slotAssignments:r(null)},cmpTemplate:null,hydrated:Boolean(c),renderMode:a.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:Be,wiredConnecting:We,wiredDisconnecting:We},tro:null,shadowMode:null,stylesheets:null,component:null,shadowRoot:null,renderRoot:null,callHook:zr,setHook:Kr,getHook:qr,renderer:n};return u.stylesheets=function(e,t){if(ye.ENABLE_PROGRAMMATIC_STYLESHEETS){const{stylesheets:e}=t;if(!W(e)){const t=function(e,t){let n=!0;const r=e=>{if(m(e))for(let t=0;t<e.length;t++)r(e[t]);else G(e)||(n=!1)};m(t)?r(t):n=!1;return n}(0,e);if(t)return ze(e)}}return null}(0,a.ctor),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(ye.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)s=0;else{const t=function(e){let t=e.owner;for(;!V(t)&&0===t.renderMode;)t=t.owner;return t}(e);s=V(t)||0!==t.shadowMode?1:0}else s=1;else s=1;else s=0;return s}(u,n),u.tro=$r(u),function(e,t){const n=xr;let r;wr(0,e),xr=e;try{const o=new t;if(xr.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(yr(0,e),xr=n,!W(r))throw Ae(e,r),r}}(u,a.ctor),co(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=Xt.get(s);if(!W(i)){const{connector:n,computeConfigAndUpdate:s,resetConfigWatcher:l}=Qt(e,t,i),c=i.dynamic.length>0;M.call(r,(()=>{n.connect(),ye.ENABLE_WIRE_SYNC_EMIT||!c?s():Promise.resolve().then(s)})),M.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function eo(e,t){Yr.set(e,t)}function to(e){return Yr.get(e)}function no(e){return Yr.get(e)}function ro(e){if(j(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&ho(e,e,(()=>{wr(2,e)}),(()=>{Bn(r,t,n,o)}),(()=>{yr(2,e)}));1===e.state&&oo(e)}(e,Fr(e))}}function oo(e){const{def:{renderedCallback:t}}=e,{rendered:n}=Vr;n&&Ur(e,n),W(t)||(wr(4,e),Rr(e,t),yr(4,e))}let so=[];function io(){br(8);const e=so.sort(((e,t)=>e.idx-t.idx));so=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{ro(r)}catch(r){throw t+1<n&&(0===so.length&&je(io),P.apply(so,L.call(e,t+1))),vr(8),r}}vr(8)}function lo(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Vr;n&&Ur(e,n),co(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;W(r)||(wr(3,e),Rr(e,r),yr(3,e))}function co(e){return c(e.def.wire).length>0}function ao(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!W(n)){const e=no(n);W(e)||Qr(e)}}}function uo(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!V(n)&&!W(n.elm))switch(n.type){case 2:uo(n.children);break;case 3:Qr(to(n.elm));break}}}function fo(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];V(o)||W(o.elm)||r(o.elm,n)}e.children=We,ao(e),e.velements=We}function ho(e,t,n,r,o){let s;n();try{r()}catch(e){s=Object(e)}finally{if(o(),!W(s)){Ae(e,s);const n=V(t)?void 0:function(e){let t=e;for(;!V(t);){if(!W(t.def.errorCallback))return t;t=t.owner}}(t);if(W(n))throw s;fo(e),wr(6,e);Rr(n,n.def.errorCallback,[s,s.wcStack]),yr(6,e)}}}const po=ne.$nativeGetElementById$,mo=ne.$nativeQuerySelectorAll$;function go(e,t,n){let r=no(e.getRootNode().host);W(r)&&(r=no(t.getRootNode().host)),W(r)||function(e,t){ke&&Se(e,t.tagName,t.idx)}(0,r)}function wo(e,t,n){const r=e.getRootNode();var o;if((o=r)!==document&&j(o.synthetic))if("id"===t){if(!z(n)||0===n.length)return;for(const t of te){const o=`[${t}~="${CSS.escape(n)}"]`,s=mo.call(document,o);for(let t=0;t<s.length;t++){const n=s[t];if(n.getRootNode()!==r){go(n,e);break}}}}else{const t=function(e){return z(e)?b.call(F.call(e,/\s+/),Boolean):[]}(n);for(const n of t){const t=po.call(document,n);if(!V(t)){t.getRootNode()!==r&&go(e,t)}}}}let yo=!1;var bo;"undefined"!=typeof CSS&&G(CSS.escape)&&u.call(Element.prototype,se)&&(bo=function(){if(yo)return;yo=!0;const{setAttribute:e}=Element.prototype;n(Element.prototype,{setAttribute(t,n){e.call(this,t,n),("id"===t||te.has(t))&&wo(this,t,n)}});const t=l(Element.prototype,"id");if(!W(t)){const{get:e,set:n}=t;G(e)&&G(n)&&s(Element.prototype,"id",{get(){return e.call(this)},set(e){n.call(this,e),wo(this,"id",e)},enumerable:!0,configurable:!0})}},ke?bo():Ee.push(bo));let vo=!1;function Co(e){const t=Fr(e);e.children=t;const{renderRoot:n,renderer:{getFirstChild:r}}=e;ko(r(n),t,n,e),oo(e)}function Eo(e,t,n){var r,o;let s;switch(t.type){case 0:s=function(e,t,n){var r;if(!Ao(t,e,3,n))return Mo(e,t,n);const{setText:o}=n;return o(e,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 1:s=function(e,t,n){var r;if(!Ao(t,e,8,n))return Mo(e,t,n);const{setProperty:o}=n;return o(e,So,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:s=function(e,t,n){if(!function(e,t,n,r){const{getProperty:o,getAttribute:s}=r;if(3===o(e,"nodeType"))return!!Ao(n,t,3,r)&&o(e,So)===o(t,So);if(8===o(e,"nodeType"))return!!Ao(n,t,8,r)&&o(e,So)===o(t,So);if(!Ao(n,t,1,r))return!1;let i=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((r=>{s(e,r)!==s(t,r)&&(_e(`Mismatch hydrating element <${o(e,"tagName").toLowerCase()}>: attribute "${r}" has different values, expected "${s(e,r)}" but found "${s(t,r)}"`,n.owner),i=!1)})),i}(t.fragment,e,t,n))return Mo(e,t,n);return t.elm=e,e}(e,t,n);break;case 5:s=function(e,t,n){const{children:r,owner:o}=t;return ko(e,r,n.getProperty(e,"parentNode"),o),t.elm=r[r.length-1].elm}(e,t,n);break;case 2:s=function(e,t,n){if(!Ao(t,e,1,n)||!No(t,e,n))return Mo(e,t,n);t.elm=e;const{owner:r}=t,{context:o}=t.data,s=Boolean(!W(o)&&!W(o.lwc)&&"manual"===o.lwc.dom);if(s){const{data:{props:r}}=t,{getProperty:o}=n;W(r)||W(r.innerHTML)||o(e,"innerHTML")===r.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:Ye(r,"innerHTML")}))}if(To(t,n),!s){const{getFirstChild:o}=n;ko(o(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:s=function(e,t,n){if(!Ao(t,e,1,n)||!No(t,e,n))return Mo(e,t,n);const{sel:r,mode:o,ctor:s,owner:i}=t,l=Jr(e,s,n,{mode:o,owner:i,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,er(t,l),To(t,n),lo(l),0!==l.renderMode){const{getFirstChild:r}=n;ko(r(e),t.children,e,l)}return Co(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(s)}const So="nodeValue";function ko(e,t,n,r){let o=e,s=null;const{renderer:i}=r;for(let e=0;e<t.length;e++){const r=t[e];V(r)||(o?(o=Eo(o,r,i),s=r.elm):(vo=!0,Vn(r,n,i,s),s=r.elm))}if(o){vo=!0;const{nextSibling:e}=i;do{const t=o;o=e(o),Zn(t,n,i)}while(o)}}function Mo(e,t,n){vo=!0;const{getProperty:r}=n,o=r(e,"parentNode");return Vn(t,o,n,e),Zn(e,o,n),t.elm}function To(e,t){Hn(e,t),In(null,e,t)}function Ao(e,t,n,r){const{getProperty:o}=r;return o(t,"nodeType")===n}function No(e,t,n){const{getProperty:r}=n;if(e.sel.toLowerCase()!==r(t,"tagName").toLowerCase())return!1;const o=function(e,t,n){const{data:{attrs:r={}}}=e;let o=!0;for(const[e,s]of Object.entries(r)){const{getAttribute:r}=n,i=r(t,e);String(s)!==i&&(o=!1)}return o}(e,t,n),s=function(e,t,n){const{data:r,owner:o}=e;let{className:s,classMap:i}=r;const{getProperty:l,getClassList:c}=n,a=Ln(o),u=function(e){return 3===e.type}(e)?function(e){const{template:t}=Sn(e.ctor),{vm:n}=e,{stylesheetToken:r}=t;return!W(r)&&_r(t,n)?Mn(r):null}(e):null;if(!V(a)||!V(u))if(W(s))if(W(i)){const e=[a,u],t=b.call(e,(e=>!V(e)));t.length&&(s=E.call(t," "))}else i=Object.assign(Object.assign(Object.assign({},i),V(a)?{}:{[a]:!0}),V(u)?{}:{[u]:!0});else{const e=[a,s,u],t=b.call(e,(e=>!V(e)));s=E.call(t," ")}let d=!0;const h=l(t,"className");if(W(s)||String(s)===h)if(W(i))W(s)&&""!==h&&(d=!1);else{const e=c(t);let n="";for(const t in i)n+=" "+t,e.contains(t)||(d=!1);n.trim(),e.length>f(i).length&&(d=!1)}else d=!1;return d}(e,t,n),i=function(e,t,n){const{data:{style:r,styleDecls:o}}=e,{getAttribute:s}=n,i=s(t,"style")||"";let l=!0;if(W(r)||r===i){if(!W(o)){const e=function(e){const t={},n=e.split(Ue);for(const e of n)if(e){const[n,r]=e.split(Ge);void 0!==n&&void 0!==r&&(t[n.trim()]=r.trim())}return t}(i),t=[];for(let n=0,r=o.length;n<r;n++){const[r,s,i]=o[n];t.push(`${r}: ${s+(i?" important!":"")}`);const c=e[r];W(c)?l=!1:c.startsWith(s)?i&&!c.endsWith("!important")&&(l=!1):l=!1}f(e).length>o.length&&(l=!1),E.call(t,";")}}else l=!1;return l}(e,t,n);return o&&s&&i}let Lo=!1;function _o(e){Oo(e,(e=>{i(e)}))}function Oo(e,t){t(e);for(let n=0;n<e.length;n++){const r=e[n];m(r)?Oo(r,t):t(r)}}const xo=G(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),Po=xo&&l(document.adoptedStyleSheets,"length").writable,Ro=!W(document.documentMode),Do=new Map;function Io(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function $o(e,t,n){const r=function(e,t){const{element:n,usedElement:r}=t;return r?Ro?Io(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function Fo(e,t){let n=Do.get(e);return W(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},Do.set(e,n)),t&&W(n.stylesheet)?n.stylesheet=function(e){const t=new CSSStyleSheet;return t.replaceSync(e),t}(e):!t&&W(n.element)&&(n.element=Io(e)),n}function Ho(e,t){const n=Fo(e,xo);let{roots:r}=n;if(W(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),xo?function(e,t,n){const{adoptedStyleSheets:r}=t,{stylesheet:o}=n;Po?r.push(o):t.adoptedStyleSheets=[...r,o]}(0,t,n):$o(e,t,n)}const Bo=function(){if("undefined"==typeof customElements)return!1;try{const e=HTMLElement;class t extends e{}return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),t),new t,!0}catch(e){return!1}}(),Wo=(e,t)=>{const n=document.createElement(e);return t(n),n},Vo=new Map,jo=new WeakSet;let Uo=!1;const Go=(e,t)=>{const n=!W(e),r=!W(t);class o extends HTMLElement{constructor(e){super(),Uo?e(this):(n||r)&&jo.add(this)}}return n&&(o.prototype.connectedCallback=function(){jo.has(this)||e(this)}),r&&(o.prototype.disconnectedCallback=function(){jo.has(this)||t(this)}),o},Yo=(e,t,n,r)=>{let o=Vo.get(e);if(W(o)){if(!W(customElements.get(e)))throw new Error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`);o=Go(n,r),customElements.define(e,o),Vo.set(e,o)}Uo=!0;try{return new o(t)}finally{Uo=!1}};let zo,Ko;ye.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY&&Bo&&(zo=function(){if(!Bo)throw new Error("Custom elements are not supported in this environment.");const{HTMLElement:e}=window,{hasAttribute:t,setAttribute:n,removeAttribute:r,getAttribute:s}=e.prototype,i=new WeakMap,l=new WeakMap,c=new WeakMap,a=new WeakSet,u=new WeakSet,d=new Map,f=new Map,h=new Map,m=new Map,g=new Map,w=new Set;function y(t,n){class r extends e{constructor(e){super();const r=!W(e);if(r){if(!S(e))throw new TypeError("Failed to create custom element: the provided constructor is not a constructor.");if(!a.has(e))throw new Error(`Failed to create custom element: the provided constructor is unregistered: ${e.name}.`)}const o=r?k(e):f.get(t);W(o)?l.set(this,n):E(this,n,o)}connectedCallback(){var e;const n=i.get(this);if(W(n)){let e=m.get(t);W(e)&&m.set(t,e=new Set),e.add(this)}else null===(e=n.connectedCallback)||void 0===e||e.call(this)}disconnectedCallback(){var e;const n=i.get(this);if(W(n)){const e=m.get(t);W(e)||e.delete(this)}else null===(e=n.disconnectedCallback)||void 0===e||e.call(this)}formAssociatedCallback(e){var t;const n=i.get(this);null===(t=null==n?void 0:n.formAssociatedCallback)||void 0===t||t.call(this,e)}formDisabledCallback(e){var t;const n=i.get(this);null===(t=null==n?void 0:n.formDisabledCallback)||void 0===t||t.call(this,e)}formResetCallback(){var e;const t=i.get(this);null===(e=null==t?void 0:t.formResetCallback)||void 0===e||e.call(this)}formStateRestoreCallback(e,t){var n;const r=i.get(this);null===(n=null==r?void 0:r.formStateRestoreCallback)||void 0===n||n.call(this,e,t)}adoptedCallback(){var e;const t=i.get(this);null===(e=null==t?void 0:t.adoptedCallback)||void 0===e||e.call(this)}attributeChangedCallback(e,t,r){var o;const s=i.get(this);(n===s||(null==s?void 0:s.observedAttributes.has(e)))&&(null===(o=s.attributeChangedCallback)||void 0===o||o.apply(this,[e,t,r]))}}return r.observedAttributes=[...n.observedAttributes],r.formAssociated=n.formAssociated,u.add(r),r}function b(e,t){const{observedAttributes:n,attributeChangedCallback:r}=t;return 0===n.size||W(r)?w:new Set([...t.observedAttributes].filter((t=>!e.observedAttributes.has(t))))}function v(e){setTimeout((()=>{throw e}))}let C;function E(e,l,c){p(e,c.UserCtor.prototype),i.set(e,c),c!==l&&function(e,t,i){const l=b(t,i);if(0===l.size)return;const{attributeChangedCallback:c}=i;o(e,{setAttribute:{value:function(e,t){if(l.has(e)){const r=s.call(this,e);n.call(this,e,t);try{c.call(this,e,r,t+"")}catch(e){v(e)}}else n.call(this,e,t)},writable:!0,enumerable:!0,configurable:!0},removeAttribute:{value:function(e){if(l.has(e)){const t=s.call(this,e);r.call(this,e);try{c.call(this,e,t,null)}catch(e){v(e)}}else r.call(this,e)},writable:!0,enumerable:!0,configurable:!0}})}(e,l,c),C=e,new c.UserCtor,function(e,n,r){const o=b(n,r);if(0===b(n,r).size)return;const{attributeChangedCallback:i}=r;o.forEach((n=>{if(t.call(e,n)){const t=s.call(e,n);i.call(e,n,null,t)}}))}(e,l,c)}function S(e){return G(e)&&Y(e.prototype)}function k(e){if(!S(e))throw new TypeError("The referenced constructor is not a constructor.");const t=c.get(e);return W(t)?function(e){var t;const{connectedCallback:n,disconnectedCallback:r,formAssociatedCallback:o,formDisabledCallback:s,formResetCallback:i,formStateRestoreCallback:l,adoptedCallback:c,attributeChangedCallback:a}=e.prototype,u=Boolean(e.formAssociated);return{UserCtor:e,PivotCtor:void 0,connectedCallback:n,disconnectedCallback:r,formAssociatedCallback:o,formDisabledCallback:s,formResetCallback:i,formStateRestoreCallback:l,adoptedCallback:c,attributeChangedCallback:a,observedAttributes:new Set(null!==(t=e.observedAttributes)&&void 0!==t?t:[]),formAssociated:u}}(e):t}const{customElements:M}=window,{define:T,whenDefined:A,get:N}=M;return CustomElementRegistry.prototype.define=function(e,t,n){if(n&&n.extends)throw new DOMException('NotSupportedError: "extends" key in customElements.define() options is not supported.');if(f.has(e))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${e}" has already been used with this registry`);if(!W(h.get(t)))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const r=k(t);a.add(t);let o=d.get(e);W(o)&&(o=y(e,r),T.call(M,e,o)),c.set(t,r),d.set(e,o),f.set(e,r),h.set(t,r),r.PivotCtor=o;const s=m.get(e);if(!W(s)){m.delete(e);for(const e of s){const t=l.get(e);W(t)||(l.delete(e),E(e,t,r))}}!function(e,t){const n=g.get(e);if(!W(n))for(const e of n)e(t);g.delete(e)}(e,t)},CustomElementRegistry.prototype.get=function(e){const t=N.call(M,e);if(!W(t)){const n=f.get(e);if(!W(n))return n.UserCtor;if(u.has(t))return;return t}},CustomElementRegistry.prototype.whenDefined=function(e){return A.call(M,e).then((t=>{const n=f.get(e);return W(n)?(W(t)&&(t=N.call(M,e)),u.has(t)?function(e){return new Promise((t=>{let n=g.get(e);W(n)&&(n=[],g.set(e,n)),n.push(t)}))}(e):t):n.UserCtor}))},window.HTMLElement=function(){const e=C;if(!W(e))return C=void 0,e;const{constructor:t}=this,n=h.get(t);if(W(n)||W(n.PivotCtor))throw new TypeError("Illegal constructor");const{PivotCtor:r,UserCtor:o}=n;return new r(o)},HTMLElement.prototype=e.prototype,function(e,t){e=B.call(e);let n=d.get(e);if(W(n)){const r=k(t);n=y(e,r),T.call(M,e,n),r.PivotCtor=n,c.set(t,r),d.set(e,n)}return a.add(t),n}}(),Ko=window.HTMLElement);const qo=(e,t,n,r)=>class extends e{constructor(){super(),t(this)}connectedCallback(){W(n)||n(this)}disconnectedCallback(){W(r)||r(this)}};let Xo;function Zo(e){const t=function(e){var t=Object.freeze({__proto__:null,fail:function(e){throw new Error(e)},invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)}});function n(e){return void 0===e}e.createFragment=void 0;if("function"==typeof HTMLTemplateElement)e.createFragment=function(e){const t=document.createElement("template");return t.innerHTML=e,t.content.firstChild};else{const t={caption:["table"],col:["colgroup","table"],colgroup:["table"],option:["select"],tbody:["table"],td:["tr","tbody","table"],th:["tr","tbody","table"],thead:["table"],tfoot:["table"],tr:["tbody","table"]},r=function(e){return(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(e)||["",""])[1].toLowerCase()};e.createFragment=function(e){const o=t[r(e)];if(!n(o))for(const t of o)e=`<${t}>${e}</${t}>`;const s=document.implementation.createHTMLDocument("");s.body.innerHTML=e;let i=s.body;if(!n(o))for(let e=0;e<o.length;e++)i=i.firstChild;return i.firstChild}}return e.addEventListener=function(e,t,n,r){e.addEventListener(t,n,r)},e.assertInstanceOfHTMLElement=function(e,n){t.invariant(e instanceof HTMLElement,n)},e.attachShadow=function(e,t){return null!==e.shadowRoot?e.shadowRoot:e.attachShadow(t)},e.cloneNode=function(e,t){return e.cloneNode(t)},e.createComment=function(e){return document.createComment(e)},e.createElement=function(e,t){return n(t)?document.createElement(e):document.createElementNS(t,e)},e.createText=function(e){return document.createTextNode(e)},e.dispatchEvent=function(e,t){return e.dispatchEvent(t)},e.getAttribute=function(e,t,r){return n(r)?e.getAttribute(t):e.getAttributeNS(r,t)},e.getBoundingClientRect=function(e){return e.getBoundingClientRect()},e.getChildNodes=function(e){return e.childNodes},e.getChildren=function(e){return e.children},e.getClassList=function(e){return e.classList},e.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},e.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},e.getFirstChild=function(e){return e.firstChild},e.getFirstElementChild=function(e){return e.firstElementChild},e.getLastChild=function(e){return e.lastChild},e.getLastElementChild=function(e){return e.lastElementChild},e.getProperty=function(e,t){return e[t]},e.insert=function(e,t,n){t.insertBefore(e,n)},e.isConnected=function(e){return e.isConnected},e.nextSibling=function(e){return e.nextSibling},e.querySelector=function(e,t){return e.querySelector(t)},e.querySelectorAll=function(e,t){return e.querySelectorAll(t)},e.remove=function(e,t){t.removeChild(e)},e.removeAttribute=function(e,t,r){n(r)?e.removeAttribute(t):e.removeAttributeNS(r,t)},e.removeEventListener=function(e,t,n,r){e.removeEventListener(t,n,r)},e.setAttribute=function(e,t,r,o){return n(o)?e.setAttribute(t,r):e.setAttributeNS(o,t,r)},e.setCSSStyleProperty=function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},e.setProperty=function(e,t,n){e[t]=n},e.setText=function(e,t){e.nodeValue=t},e}({});return Object.setPrototypeOf(t,e),t}Xo=Bo?ye.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY?function(e,t,n,r){if(W(zo)||W(Ko))throw new Error("The flag ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY must be set to true to use this feature");const o=qo(Ko,t,n,r);return new(zo(e,o))(o)}:Yo:Wo;const Qo=n(Zo(null),{insertStylesheet:function(e,t){W(t)?function(e){const t=Fo(e,!1);t.global||(t.global=!0,$o(e,document.head,t))}(e):Ho(e,t)},createCustomElement:Xo,isNativeShadowDefined:ne.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,se)});function Jo(e,t,n){const r=Jr(e,t,Qo,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,r]of Object.entries(n))e[t]=r;return r}function es(e,t,n={}){if(!(e instanceof Element))throw new TypeError(`"hydrateComponent" expects a valid DOM element as the first parameter but instead received ${e}.`);if(!G(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!Y(n)||V(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(no(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{!function(e){vo=!1,lo(e),Co(e),vo&&_e("Hydration completed with errors.",e)}(Jo(e,t,n))}catch(r){console.error("Recovering from error while hydrating: ",r),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!V(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!V(e.firstChild);)e.removeChild(e.firstChild)}(e,t),Jo(e,t,n),Xr(e)}}const ts=new WeakSet;function ns(e){var t;const n=function(e){return Sn(e).bridge}(e),{observedAttributes:r}=n,{attributeChangedCallback:o}=n.prototype;return(t=class extends HTMLElement{constructor(){super(),this.isConnected?(es(this,e,{}),ts.add(this)):Jr(this,e,Qo,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){ts.has(this)?ts.delete(this):Xr(this)}disconnectedCallback(){Zr(this)}attributeChangedCallback(e,t,n){o.call(this,e,t,n)}}).observedAttributes=r,t}const rs=Node,os=new WeakMap,ss=new WeakMap;function is(e,t){const n=t.get(e);return W(n)||n(e),e}if(!ye.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE){const{appendChild:e,insertBefore:t,removeChild:r,replaceChild:o}=rs.prototype;n(rs.prototype,{appendChild(t){return is(e.call(this,t),os)},insertBefore(e,n){return is(t.call(this,e,n),os)},removeChild(e){return is(r.call(this,e),ss)},replaceChild(e,t){const n=o.call(this,e,t);return is(n,ss),is(e,os),n}})}const ls=Node;const cs=new Map;s(Ut,"CustomElementConstructor",{get(){return function(e){if(e===Ut)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=cs.get(e);return W(t)&&(t=ns(e),cs.set(e,t)),t}(this)}}),i(Ut),h(Ut.prototype),e.LightningElement=Ut,e.__unstable__ProfilerControl=gr,e.__unstable__ReportingControl=Me,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=en(e);if(!W(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){Jt.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((()=>{W(s)||s(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!Y(t)||V(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${X(t)}".`);const n=t.is;if(!G(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const{createCustomElement:r}=Qo,o=B.call(e);let s,i;return ye.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(s=e=>{Xr(e)},i=e=>{Zr(e)}),r(o,(e=>{Jr(e,n,Qo,{tagName:o,mode:"closed"!==t.mode?"open":"closed",owner:null}),ye.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||(os.set(e,Xr),ss.set(e,Zr))}),s,i)},e.freezeTemplate=function(e){ye.ENABLE_FROZEN_TEMPLATE?(i(e),W(e.stylesheets)||_o(e.stylesheets)):s(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return W(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=W(e)?void 0:e.shadowAttribute}})},e.getComponentConstructor=function(e){let t=null;if(!W(e)){const n=no(e);W(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=Sn(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:me(e)};const c={};for(const e in i)c[e]=i[e].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=es,e.isComponentConstructor=En,e.isNodeFromTemplate=function(e){if(U(e instanceof ls))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&U(u.call(a(t),"synthetic")))||Qo.isSyntheticShadowDefined&&!W(e[re])},e.parseFragment=Tr,e.parseSVGFragment=Ar,e.readonly=function(e){return Ht(e)},e.register=function(e){for(let t=0;t<jr.length;++t){const n=jr[t];if(n in e){let t=Vr[n];W(t)&&(Vr[n]=t=[]),M.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return G(e)&&Ir.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:i,wire:c,track:a,fields:u}=t,d=r(null),f=r(null),h=r(null),p=r(null),m=r(null),g=r(null);let w;if(!W(o))for(const e in o){const t=o[e];if(g[e]=t.config,w=l(n,e),t.config>0){if(W(w))throw new Error;w=on(0,w)}else w=W(w)||W(w.get)?rn(e):on(0,w);f[e]=w,s(n,e,w)}if(W(i)||R.call(i,(e=>{if(w=l(n,e),W(w))throw new Error;d[e]=w})),!W(c))for(const e in c){const{adapter:t,method:r,config:o,dynamic:i=[]}=c[e];if(w=l(n,e),1===r){if(W(w))throw new Error;h[e]=w,tn(w,t,o,i)}else w=ln(e),p[e]=w,nn(w,t,o,i),s(n,e,w)}if(!W(a))for(const e in a)w=l(n,e),w=sn(e),s(n,e,w);if(!W(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const r=!W(o)&&t in o,s=!W(a)&&t in a;r||s||(m[t]=qt(t))}return function(e,t){cn.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return un.add(e),e},e.renderer=Qo,e.rendererFactory=Zo,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(W(we[e])){const n=f(we).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=ye[e];if(!W(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}".`);s(ye,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)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var n;t.isFalse(Lo,"Hooks are already overridden, only one definition is allowed."),Lo=!0,n=e.sanitizeHtmlContent,fr=n},e.swapComponent=function(e,t){return!1},e.swapStyle=function(e,t){return!1},e.swapTemplate=function(e,t){return!1},e.track=function(e){if(1===arguments.length)return Bt(e);throw new Error},e.unwrap=function(e){return Ft.unwrapProxy(e)},e.wire=function(e,t){throw new Error}}));
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
|
|
36
36
|
var assert = /*#__PURE__*/Object.freeze({
|
|
37
37
|
__proto__: null,
|
|
38
|
+
fail: fail,
|
|
38
39
|
invariant: invariant,
|
|
39
|
-
isTrue: isTrue$1,
|
|
40
40
|
isFalse: isFalse$1,
|
|
41
|
-
|
|
41
|
+
isTrue: isTrue$1
|
|
42
42
|
});
|
|
43
43
|
|
|
44
44
|
/*
|
|
@@ -324,7 +324,7 @@
|
|
|
324
324
|
CACHED_ATTRIBUTE_PROPERTY_MAPPING.set(attrName, propertyName);
|
|
325
325
|
return propertyName;
|
|
326
326
|
}
|
|
327
|
-
/** version: 2.35.
|
|
327
|
+
/** version: 2.35.2 */
|
|
328
328
|
|
|
329
329
|
/**
|
|
330
330
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -392,7 +392,7 @@
|
|
|
392
392
|
*/
|
|
393
393
|
function setFeatureFlagForTest(name, value) {
|
|
394
394
|
}
|
|
395
|
-
/** version: 2.35.
|
|
395
|
+
/** version: 2.35.2 */
|
|
396
396
|
|
|
397
397
|
/**
|
|
398
398
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -456,7 +456,7 @@
|
|
|
456
456
|
}
|
|
457
457
|
}
|
|
458
458
|
}
|
|
459
|
-
/** version: 2.35.
|
|
459
|
+
/** version: 2.35.2 */
|
|
460
460
|
|
|
461
461
|
/*
|
|
462
462
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -5979,7 +5979,7 @@
|
|
|
5979
5979
|
const cachedConstructors = new Map();
|
|
5980
5980
|
const elementsUpgradedOutsideLWC = new WeakSet();
|
|
5981
5981
|
let elementBeingUpgradedByLWC = false;
|
|
5982
|
-
// Creates a constructor that is intended to be used as a
|
|
5982
|
+
// Creates a constructor that is intended to be used directly as a custom element, except that the upgradeCallback is
|
|
5983
5983
|
// passed in to the constructor so LWC can reuse the same custom element constructor for multiple components.
|
|
5984
5984
|
// Another benefit is that only LWC can create components that actually do anything – if you do
|
|
5985
5985
|
// `customElements.define('x-foo')`, then you don't have access to the upgradeCallback, so it's a dummy custom element.
|
|
@@ -6024,7 +6024,7 @@
|
|
|
6024
6024
|
}
|
|
6025
6025
|
return UpgradableConstructor;
|
|
6026
6026
|
};
|
|
6027
|
-
const
|
|
6027
|
+
const createCustomElementUsingUpgradableConstructor = (tagName, upgradeCallback, connectedCallback, disconnectedCallback) => {
|
|
6028
6028
|
// use global custom elements registry
|
|
6029
6029
|
let UpgradableConstructor = cachedConstructors.get(tagName);
|
|
6030
6030
|
if (isUndefined$1(UpgradableConstructor)) {
|
|
@@ -6052,7 +6052,7 @@
|
|
|
6052
6052
|
*/
|
|
6053
6053
|
/**
|
|
6054
6054
|
* Create a scoped registry, i.e. a function that can create custom elements whose tag names
|
|
6055
|
-
* do not conflict with
|
|
6055
|
+
* do not conflict with third-party custom elements having the same tag name.
|
|
6056
6056
|
*/
|
|
6057
6057
|
function createScopedRegistry() {
|
|
6058
6058
|
if (!hasCustomElements) {
|
|
@@ -6593,10 +6593,10 @@
|
|
|
6593
6593
|
* We have three modes for creating custom elements:
|
|
6594
6594
|
*
|
|
6595
6595
|
* 1. Compat (legacy) browser support (e.g. IE11). Totally custom, doesn't rely on native browser APIs.
|
|
6596
|
-
* 2. "
|
|
6597
|
-
*
|
|
6598
|
-
*
|
|
6599
|
-
* constructor, which allows us to have completely customized functionality for different components.
|
|
6596
|
+
* 2. "Upgradable constructor" custom element. This allows us to have two LWC components with the same tag name,
|
|
6597
|
+
* via a trick: every custom element constructor we define in the registry is basically the same. It's essentially
|
|
6598
|
+
* a dummy `class extends HTMLElement` that accepts an `upgradeCallback` in its constructor ("upgradable
|
|
6599
|
+
* constructor"), which allows us to have completely customized functionality for different components.
|
|
6600
6600
|
* 3. "Scoped" (or "pivot") custom elements. This relies on a sophisticated system that emulates the "scoped custom
|
|
6601
6601
|
* elements registry" proposal, with support for avoiding conflicts in tag names both between LWC components and
|
|
6602
6602
|
* between LWC components and third-party elements. This uses a similar trick to #2, but is much more complex
|
|
@@ -6607,8 +6607,8 @@
|
|
|
6607
6607
|
if (lwcRuntimeFlags.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY) {
|
|
6608
6608
|
createCustomElement = createCustomElementScoped;
|
|
6609
6609
|
} else {
|
|
6610
|
-
// use global
|
|
6611
|
-
createCustomElement =
|
|
6610
|
+
// use the global registry, with an upgradable constructor for the defined custom element
|
|
6611
|
+
createCustomElement = createCustomElementUsingUpgradableConstructor;
|
|
6612
6612
|
}
|
|
6613
6613
|
} else {
|
|
6614
6614
|
// no registry available here
|
|
@@ -6664,10 +6664,10 @@
|
|
|
6664
6664
|
|
|
6665
6665
|
var assert = /*#__PURE__*/Object.freeze({
|
|
6666
6666
|
__proto__: null,
|
|
6667
|
+
fail: fail,
|
|
6667
6668
|
invariant: invariant,
|
|
6668
|
-
isTrue: isTrue$1,
|
|
6669
6669
|
isFalse: isFalse$1,
|
|
6670
|
-
|
|
6670
|
+
isTrue: isTrue$1
|
|
6671
6671
|
});
|
|
6672
6672
|
function isUndefined(obj) {
|
|
6673
6673
|
return obj === undefined;
|
|
@@ -6675,7 +6675,7 @@
|
|
|
6675
6675
|
function isNull(obj) {
|
|
6676
6676
|
return obj === null;
|
|
6677
6677
|
}
|
|
6678
|
-
/** version: 2.35.
|
|
6678
|
+
/** version: 2.35.2 */
|
|
6679
6679
|
|
|
6680
6680
|
/*
|
|
6681
6681
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -7228,7 +7228,7 @@
|
|
|
7228
7228
|
});
|
|
7229
7229
|
freeze(LightningElement);
|
|
7230
7230
|
seal(LightningElement.prototype);
|
|
7231
|
-
/* version: 2.35.
|
|
7231
|
+
/* version: 2.35.2 */
|
|
7232
7232
|
|
|
7233
7233
|
exports.LightningElement = LightningElement;
|
|
7234
7234
|
exports.__unstable__ProfilerControl = profilerControl;
|