lwc 2.11.3 → 2.11.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +35 -5
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +35 -5
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +34 -4
  5. package/dist/engine-dom/iife/es5/engine-dom.js +39 -6
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +38 -5
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +35 -5
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +34 -4
  11. package/dist/engine-dom/umd/es5/engine-dom.js +39 -6
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +38 -5
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +35 -5
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
  16. package/dist/engine-server/esm/es2017/engine-server.js +35 -5
  17. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +3 -3
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +3 -3
  19. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
  20. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
  22. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
  23. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
  24. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
  25. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
  26. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  27. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  28. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  29. package/dist/wire-service/iife/es5/wire-service.js +2 -2
  30. package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
  31. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  32. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  33. package/dist/wire-service/umd/es5/wire-service.js +2 -2
  34. package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
  35. package/package.json +7 -7
@@ -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:o,defineProperties:r,defineProperty:i,freeze:l,getOwnPropertyDescriptor:s,getOwnPropertyNames:c,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{filter:g,find:w,indexOf:y,join:b,map:v,push:C,reduce:E,reverse:M,slice:k,splice:T,unshift:S,forEach:x}=Array.prototype,{fromCharCode:O}=String,{charCodeAt:N,replace:A,slice:P,toLowerCase:$}=String.prototype;function _(e){return void 0===e}function R(e){return null===e}function L(e){return!0===e}function D(e){return!1===e}function H(e){return"function"==typeof e}function I(e){return"object"==typeof e}function F(e){return"string"==typeof e}function j(){}const W={}.toString;function B(e){return e&&e.toString?m(e)?b.call(v.call(e,B),","):e.toString():"object"==typeof e?W.call(e):e+""}function V(e,t){do{const n=s(e,t);if(!_(n))return n;e=a(e)}while(null!==e)}const K=["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:G,AriaPropNameToAttrNameMap:z}=(()=>{const e=o(null),t=o(null);return x.call(K,(n=>{const o=$.call(A.call(n,/^aria/,(()=>"aria-")));e[o]=n,t[n]=o})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),U=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),q=new 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"]]),X=new Map;function Y(e){const t=z[e];if(!_(t))return t;const n=q.get(e);if(!_(n))return n;const o=X.get(e);if(!_(o))return o;let r="";for(let t=0,n=e.length;t<n;t++){const n=N.call(e,t);r+=n>=65&&n<=90?"-"+O(n+32):O(n)}return X.set(e,r),r}const J="http://www.w3.org/2000/svg";function Q(e){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,e)}const Z=new WeakMap;function ee(e){let t=Z.get(e);return void 0===t&&(t={},Z.set(e,t)),t}function te(e,t){return{get(){const n=ee(this);return u.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set(n){const o=null==(r=n)?null:String(r);var r;ee(this)[e]=o,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function ne(e){const t=te(e,z[e]);Object.defineProperty(Element.prototype,e,t)}const oe=f(z);for(let e=0,t=oe.length;e<t;e+=1){const t=oe[e];Q(t)&&ne(t)}const re={ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HMR:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null};U.lwcRuntimeFlags||Object.defineProperty(U,"lwcRuntimeFlags",{value:o(null)});const ie=U.lwcRuntimeFlags;let le=[];const se=h(o(null)),ce=h([]);function ae(){const e=le;le=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function ue(e){0===le.length&&Promise.resolve().then(ae),C.call(le,e)}const de=/;(?![^(]*\))/g,fe=/:(.+)/;function he(e,t){const n={};for(const o of Object.keys(e))o!==t&&(n[o]=e[o]);return n}let pe,me,ge,we,ye,be,ve,Ce,Ee,Me,ke,Te,Se,xe,Oe,Ne,Ae,Pe,$e,_e,Re,Le,De,He,Ie,Fe,je,We,Be,Ve,Ke,Ge,ze,Ue,qe,Xe,Ye,Je,Qe;const Ze=new WeakMap;let et=null;function tt(e,t){const n=Ze.get(e);if(!_(n)){const e=n[t];if(!_(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function nt(e,t){if(null===et)return;const n=et,r=function(e){let t=Ze.get(e);if(_(t)){const n=o(null);t=n,Ze.set(e,n)}return t}(e);let i=r[t];if(_(i))i=[],r[t]=i;else if(i[0]===n)return;-1===y.call(i,n)&&n.link(i)}class ot{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=et;let n;et=this;try{e()}catch(e){n=Object(e)}finally{if(et=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],o=y.call(e[n],this);T.call(t,o,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){C.call(e,this),C.call(this.listeners,e)}}function rt(e,t){tt(e.component,t)}function it(e,t){nt(e.component,t)}function lt(e){return`<${$.call(e.tagName)}>`}function st(e,t){if(!d(t)&&_(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!R(n);)C.call(t,lt(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}function ct(e,t,n){let o=`[LWC ${e}]: ${t}`;_(n)||(o=`${o}\n${function(e){const t=[];let n="";for(;!R(e.owner);)C.call(t,n+lt(e)),e=e.owner,n+="\t";return b.call(t,"\n")}(n)}`);try{throw new Error(o)}catch(t){console[e](t)}}const at="undefined"!=typeof HTMLElement?HTMLElement:function(){},ut=at.prototype;function dt(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}n(o(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:dt("offsetHeight")},offsetLeft:{readOnly:!0,error:dt("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:dt("offsetTop")},offsetWidth:{readOnly:!0,error:dt("offsetWidth")},role:{attribute:"role"}});let ft,ht=null;function pt(e,t){return e!==ht||t!==ft}function mt(e,t){ht=null,ft=void 0}function gt(e,t){ht=e,ft=t}const wt=o(null);x.call(f(z),(e=>{const t=V(ut,e);_(t)||(wt[e]=t)})),x.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=V(ut,e);_(t)||(wt[e]=t)}));const{isArray:yt}=Array,{prototype:bt,getPrototypeOf:vt,create:Ct,defineProperty:Et,isExtensible:Mt,getOwnPropertyDescriptor:kt,getOwnPropertyNames:Tt,getOwnPropertySymbols:St,preventExtensions:xt,hasOwnProperty:Ot}=Object,{push:Nt,concat:At}=Array.prototype;function Pt(e){return void 0===e}function $t(e){return"function"==typeof e}const _t=new WeakMap;function Rt(e,t){_t.set(e,t)}const Lt=e=>_t.get(e)||e;class Dt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(Ot.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;Pt(n)||(e.get=this.wrapGetter(n)),Pt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,o=kt(n,t);if(!Pt(o)){const n=this.wrapDescriptor(o);Et(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;At.call(Tt(t),St(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;Pt(n)||Ot.call(e,n)||Et(e,n,Ct(null)),xt(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:o}}=this,r=n[t];return o(n,t),this.wrapValue(r)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:o,valueObserved:r}}=this;return r(n,t),t in n||t===o}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,o=Pt(n)||Ot.call(t,n)?[]:[n];return Nt.apply(o,Tt(t)),Nt.apply(o,St(t)),o}isExtensible(e){const{originalTarget:t}=this;return!!Mt(e)&&(!!Mt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return vt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:o,tagPropertyKey:r}}=this;o(n,t);let i=kt(n,t);if(Pt(i)){if(t!==r)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},Et(e,r,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const Ht=new WeakMap,It=new WeakMap,Ft=new WeakMap,jt=new WeakMap;class Wt extends Dt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Ht.get(e);if(!Pt(t))return t;const n=this,o=function(){return n.wrapValue(e.call(Lt(this)))};return Ht.set(e,o),Ft.set(o,e),o}wrapSetter(e){const t=It.get(e);if(!Pt(t))return t;const n=function(t){e.call(Lt(this),Lt(t))};return It.set(e,n),jt.set(n,e),n}unwrapDescriptor(e){if(Ot.call(e,"value"))e.value=Lt(e.value);else{const{set:t,get:n}=e;Pt(n)||(e.get=this.unwrapGetter(n)),Pt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Ft.get(e);if(!Pt(t))return t;const n=this,o=function(){return Lt(e.call(n.wrapValue(this)))};return Ht.set(o,e),Ft.set(e,o),o}unwrapSetter(e){const t=jt.get(e);if(!Pt(t))return t;const n=this,o=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return It.set(o,e),jt.set(e,o),o}set(e,t,n){const{originalTarget:o,membrane:{valueMutated:r}}=this;return o[t]!==n?(o[t]=n,r(o,t)):"length"===t&&yt(o)&&r(o,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:o}}=this;return delete n[t],o(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(Mt(e)){const{originalTarget:t}=this;if(xt(t),Mt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:o,membrane:{valueMutated:r,tagPropertyKey:i}}=this;return t===i&&!Ot.call(o,t)||(Et(o,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),r(o,t),!0)}}const Bt=new WeakMap,Vt=new WeakMap;class Kt extends Dt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=Bt.get(e);if(!Pt(t))return t;const n=this,o=function(){return n.wrapValue(e.call(Lt(this)))};return Bt.set(e,o),o}wrapSetter(e){const t=Vt.get(e);if(!Pt(t))return t;const n=function(e){};return Vt.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 Gt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(yt(e))return!0;const t=vt(e);return t===bt||null===t||null===vt(t)}const zt=(e,t)=>{},Ut=(e,t)=>{};function qt(e){return yt(e)?[]:{}}const Xt=Symbol.for("@@lockerLiveValue"),Yt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:o,tagPropertyKey:r}=e;this.valueMutated=$t(t)?t:Ut,this.valueObserved=$t(n)?n:zt,this.valueIsObservable=$t(o)?o:Gt,this.tagPropertyKey=r}getProxy(e){const t=Lt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Lt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Lt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(Pt(t)){const n=new Wt(this,e);t=new Proxy(qt(e),n),Rt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(Pt(t)){const n=new Kt(this,e);t=new Proxy(qt(e),n),Rt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:nt,valueMutated:tt,tagPropertyKey:Xt});function Jt(e,t){const{get:n,set:o,enumerable:r,configurable:i}=t;if(!H(n))throw new TypeError;if(!H(o))throw new TypeError;return{enumerable:r,configurable:i,get(){const t=Zo(this);if(!Ao(t))return it(t,e),n.call(t.elm)},set(t){const n=Zo(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,rt(n,e)),o.call(n.elm,t)}}}const Qt=function(){if(R(No))throw new ReferenceError("Illegal constructor");const e=No,{def:t,elm:n}=e,{bridge:o}=t,r=this;if(p(n,o.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:o}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=o}return this[Xt]=void 0,Qo(r,e),Qo(n,e),1===e.renderMode?e.renderRoot=Zt(e):e.renderRoot=n,this};function Zt(e){const{elm:t,mode:n,shadowMode:o,def:{ctor:r}}=e,i=Te(t,{"$$lwc-synthetic-mode":1===o,delegatesFocus:Boolean(r.delegatesFocus),mode:n});return e.shadowRoot=i,Qo(i,e),i}Qt.prototype={constructor:Qt,dispatchEvent(e){const{elm:t}=Zo(this);return Re(t,e)},addEventListener(e,t,n){const o=Zo(this),{elm:r}=o,i=Io(o,t);$e(r,e,i,n)},removeEventListener(e,t,n){const o=Zo(this),{elm:r}=o,i=Io(o,t);_e(r,e,i,n)},hasAttribute(e){const{elm:t}=Zo(this);return!R(Ne(t,e))},hasAttributeNS(e,t){const{elm:n}=Zo(this);return!R(Ne(n,t,e))},removeAttribute(e){const{elm:t}=Zo(this);gt(t,e),Pe(t,e),mt()},removeAttributeNS(e,t){const{elm:n}=Zo(this);gt(n,t),Pe(n,t,e),mt()},getAttribute(e){const{elm:t}=Zo(this);return Ne(t,e)},getAttributeNS(e,t){const{elm:n}=Zo(this);return Ne(n,t,e)},setAttribute(e,t){const n=Zo(this),{elm:o}=n;gt(o,e),Ae(o,e,t),mt()},setAttributeNS(e,t,n){const o=Zo(this),{elm:r}=o;gt(r,t),Ae(r,t,n,e),mt()},getBoundingClientRect(){const e=Zo(this),{elm:t}=e;return He(t)},get isConnected(){const{elm:e}=Zo(this);return qe(e)},get classList(){const e=Zo(this),{elm:t}=e;return Le(t)},get template(){return Zo(this).shadowRoot},get shadowRoot(){return null},render(){return Zo(this).def.template},toString(){return`[object ${Zo(this).def.name}]`}};const en=o(null),tn=["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild"];function nn(e){switch(e){case"children":return Be;case"childNodes":return Ve;case"firstChild":return Ke;case"firstElementChild":return Ge;case"lastChild":return ze;case"lastElementChild":return Ue}}for(const e of tn)en[e]={get(){const t=Zo(this),{elm:n}=t;return nn(e)(n)},configurable:!0,enumerable:!0};const on=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];function rn(e){switch(e){case"getElementsByClassName":return We;case"getElementsByTagName":return je;case"querySelector":return Ie;case"querySelectorAll":return Fe}}for(const e of on)en[e]={value(t){const n=Zo(this),{elm:o}=n;return rn(e)(o,t)},configurable:!0,enumerable:!0,writable:!0};r(Qt.prototype,en);const ln=o(null);for(const e in wt)ln[e]=Jt(e,wt[e]);function sn(e){return{get(){const t=Zo(this);return it(t,e),t.cmpFields[e]},set(t){const n=Zo(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,rt(n,e))},enumerable:!0,configurable:!0}}function cn(e){return{get(){const t=Zo(this);return it(t,e),t.cmpFields[e]},set(t){const n=Zo(this),o=Yt.getProxy(t);o!==n.cmpFields[e]&&(n.cmpFields[e]=o,rt(n,e))},enumerable:!0,configurable:!0}}function an(e){return{get(){const t=Zo(this);if(!Ao(t))return it(t,e),t.cmpProps[e]},set(t){const n=Zo(this);n.cmpProps[e]=t,rt(n,e)},enumerable:!0,configurable:!0}}r(Qt.prototype,ln),i(Qt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class un extends ot{constructor(e,t){super((()=>{D(this.debouncing)&&(this.debouncing=!0,ue((()=>{if(L(this.debouncing)){const{value:n}=this,{isDirty:o,component:r,idx:i}=e;t.call(r,n),this.debouncing=!1,L(e.isDirty)&&D(o)&&i>0&&Uo(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function dn(e,t){const{get:n,set:o,enumerable:r,configurable:i}=t;if(!H(n))throw new Error;return{get(){return n.call(this)},set(t){const n=Zo(this);if(o)if(ie.ENABLE_REACTIVE_SETTER){let r=n.oar[e];_(r)&&(r=n.oar[e]=new un(n,o)),r.reset(t),r.observe((()=>{o.call(this,t)}))}else o.call(this,t)},enumerable:r,configurable:i}}function fn(e){return{get(){const t=Zo(this);return it(t,e),t.cmpFields[e]},set(t){const n=Zo(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,rt(n,e))},enumerable:!0,configurable:!0}}const hn=new Map;const pn={apiMethods:se,apiFields:se,apiFieldsConfig:se,wiredMethods:se,wiredFields:se,observedFields:se};const mn=new Set;function gn(){return[]}mn.add(gn);const wn=o(null),yn=o(null);function bn(e){let t=wn[e];return _(t)&&(t=wn[e]=function(){const t=Zo(this),{getHook:n}=t;return n(t.component,e)}),t}function vn(e){let t=yn[e];return _(t)&&(t=yn[e]=function(t){const n=Zo(this),{setHook:o}=n;t=Yt.getReadOnlyProxy(t),o(n.component,e,t)}),t}function Cn(e){return function(){const t=Zo(this),{callHook:n,component:o}=t,r=o[e];return n(t.component,r,k.call(arguments))}}function En(e,t){return function(n,o,r){if(o===r)return;const i=e[n];_(i)?_(t)||t.apply(this,arguments):pt(this,n)&&(this[i]=r)}}function Mn(e,t,n){let l;H(e)?l=class extends e{}:(l=function(){throw new TypeError("Illegal constructor")},p(l,e),p(l.prototype,e.prototype),i(l.prototype,"constructor",{writable:!0,configurable:!0,value:l}));const s=o(null),{attributeChangedCallback:c}=e.prototype,{observedAttributes:a=[]}=e,u=o(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];s[Y(n)]=n,u[n]={get:bn(n),set:vn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:Cn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:En(s,c)},i(l,"observedAttributes",{get:()=>[...a,...f(s)]}),r(l.prototype,u),l}const kn=Mn(at,c(wt),[]);function Tn(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Sn(e){return H(e)&&u.call(e,"__circular__")}l(kn),h(kn.prototype);const xn=new WeakMap;function On(e){const{shadowSupportMode:t,renderMode:i}=e,l=function(e){const t=hn.get(e);return _(t)?pn:t}(e),{apiFields:s,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=l,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const C=function(e){let t=a(e);if(R(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(Sn(t)){const e=Tn(t);t=e===t?Qt:e}return t}(e),E=C!==Qt?An(C):Pn,M=Mn(E.bridge,f(s),f(u)),k=n(o(null),E.props,s),T=n(o(null),E.propsConfig,c),S=n(o(null),E.methods,u),x=n(o(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 O=E.shadowSupportMode;_(t)||(O=t);let N=E.renderMode;_(i)||(N="light"===i?0:1);const A=function(e){return _o.get(e)}(e)||E.template,P=e.name||E.name;r(m,p);return{ctor:e,name:P,wire:x,props:k,propsConfig:T,methods:S,bridge:M,template:A,renderMode:N,shadowSupportMode:O,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Nn(e){if(!H(e))return!1;if(e.prototype instanceof Qt)return!0;let t=e;do{if(Sn(t)){const e=Tn(t);if(e===t)return!0;t=e}if(t===Qt)return!0}while(!R(t)&&(t=a(t)));return!1}function An(e){let t=xn.get(e);if(_(t)){if(Sn(e)){return t=An(Tn(e)),xn.set(e,t),t}if(!Nn(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=On(e),xn.set(e,t)}return t}const Pn={ctor:Qt,name:Qt.name,props:ln,propsConfig:se,methods:se,renderMode:1,shadowSupportMode:"reset",wire:se,bridge:kn,template:gn,render:Qt.prototype.render};function $n(e){e=e.toLowerCase();let t=Qe(e);return _(t)?(t=class extends we{constructor(e){super(),H(e)&&e(this)}},Je(e,t),t):t}function _n(e){const{type:t}=e;return 2===t||3===t}function Rn(e,t){return e.key===t.key&&e.sel===t.sel}function Ln(e,t){return"input"===e&&("value"===t||"checked"===t)}function Dn(e,t){const{props:n}=t.data;if(_(n))return;const o=R(e)?se:e.data.props;if(o===n)return;const r=R(e),{elm:i,sel:l}=t;for(const e in n){const t=n[e];(r||t!==(Ln(l,e)?Se(i,e):o[e]))&&xe(i,e,t)}}const Hn=o(null);function In(e){if(null==e)return se;e=F(e)?e:e+"";let t=Hn[e];if(t)return t;t=o(null);let n,r=0;const i=e.length;for(n=0;n<i;n++)32===N.call(e,n)&&(n>r&&(t[P.call(e,r,n)]=!0),r=n+1);return n>r&&(t[P.call(e,r,n)]=!0),Hn[e]=t,t}function Fn(e){const{elm:t,data:{on:n}}=e;if(!_(n))for(const e in n){const o=n[e];$e(t,e,o)}}function jn(e,t,n){var o;o=t,to.has(o)?function(e,t,n){let o=0,r=0,i=e.length-1,l=e[0],s=e[i];const c=t.length-1;let a,u,d,f,h=c,p=t[0],m=t[h],g=!1;for(;o<=i&&r<=h;)zn(l)?zn(s)?zn(p)?zn(m)?Rn(l,p)?(Wn(l,p),l=e[++o],p=t[++r]):Rn(s,m)?(Wn(s,m),s=e[--i],m=t[--h]):Rn(l,m)?(Wn(l,m),Jn(l.elm,n,ke(s.elm)),l=e[++o],m=t[--h]):Rn(s,p)?(Wn(s,p),Jn(p.elm,n,l.elm),s=e[--i],p=t[++r]):(void 0===a&&(a=no(e,o,i)),u=a[p.key],_(u)?(Bn(p,n,l.elm),p=t[++r]):(d=e[u],zn(d)&&(d.sel!==p.sel?Bn(p,n,l.elm):(Wn(d,p),g||(g=!0,e=[...e]),e[u]=void 0,Jn(d.elm,n,l.elm))),p=t[++r])):m=t[--h]:p=t[++r]:s=e[--i]:l=e[++o];if(o<=i||r<=h)if(o>i){let e,o=h;do{e=t[++o]}while(!zn(e)&&o<c);f=zn(e)?e.elm:null,Vn(t,n,f,r,h+1)}else Gn(e,n,!0,o,i+1)}(e,t,n):function(e,t,n){const o=e.length,r=t.length;if(0===o)return void Vn(t,n,null);if(0===r)return void Gn(e,n,!0);let i=null;for(let o=r-1;o>=0;o-=1){const r=e[o],l=t[o];l!==r&&(zn(r)?zn(l)?(Wn(r,l),i=l.elm):Kn(r,n,!0):zn(l)&&(Bn(l,n,i),i=l.elm))}}(e,t,n)}function Wn(e,t){if(e!==t)switch(t.type){case 0:case 1:!function(e,t){t.elm=e.elm,t.text!==e.text&&Yn(t)}(e,t);break;case 2:!function(e,t){const n=t.elm=e.elm;Zn(e,t),jn(e.children,t.children,n)}(e,t);break;case 3:!function(e,t){const n=t.elm=e.elm,o=t.vm=e.vm;Zn(e,t),_(o)||eo(t,o);jn(e.children,t.children,n),_(o)||Uo(o)}(e,t)}}function Bn(e,t,n){switch(e.type){case 0:!function(e,t,n){const{owner:o}=e,r=e.elm=Ee(e.text);Xn(r,o),Jn(r,t,n)}(e,t,n);break;case 1:!function(e,t,n){const{owner:o}=e,r=e.elm=Me(e.text);Xn(r,o),Jn(r,t,n)}(e,t,n);break;case 2:!function(e,t,n){const{sel:o,owner:r,data:{svg:i}}=e,l=L(i)?J:void 0,s=Ce(o,l);Xn(s,r),function(e,t){const{owner:n}=t;if(qn(e,n),1===n.shadowMode){const{data:{context:o}}=t,{stylesheetToken:r}=n.context;_(o)||_(o.lwc)||"manual"!==o.lwc.dom||function(e){e.$domManual$=!0}(e),_(r)||Un(e,r)}}(s,e),e.elm=s,Zn(null,e),Jn(s,t,n),Vn(e.children,s,null)}(e,t,n);break;case 3:!function(e,t,n){const{sel:o,owner:r}=e,i=$n(o);let l;const s=new i((t=>{l=function(e,t){let n=er(e);if(!_(n))return n;const{sel:o,mode:r,ctor:i,owner:l}=t;if(qn(e,l),1===l.shadowMode){const{stylesheetToken:t}=l.context;_(t)||Un(e,t)}return n=Jo(e,i,{mode:r,owner:l,tagName:o}),n}(t,e)}));if(Xn(s,r),e.elm=s,e.vm=l,l)eo(e,l);else if(e.ctor!==i)throw new TypeError("Incorrect Component Constructor");Zn(null,e),Jn(s,t,n),l&&ir(l);Vn(e.children,s,null),l&&function(e){tr(e)}(l)}(e,t,n)}}function Vn(e,t,n,o=0,r=e.length){for(;o<r;++o){const r=e[o];zn(r)&&Bn(r,t,n)}}function Kn(e,t,n=!1){const{type:o,elm:r}=e;switch(n&&Qn(r,t),o){case 2:Gn(e.children,r);break;case 3:{const{vm:t}=e;_(t)||function(e){Yo(e)}(t)}}}function Gn(e,t,n=!1,o=0,r=e.length){for(;o<r;++o){const r=e[o];zn(r)&&Kn(r,t,n)}}function zn(e){return null!=e}function Un(e,t){e.$shadowToken$=t}function qn(e,t){const{cmpTemplate:n,context:o}=t,r=null==n?void 0:n.stylesheetToken;!_(r)&&o.hasScopedStyles&&Le(e).add(r)}function Xn(e,t){const{renderRoot:n,renderMode:o,shadowMode:r}=t;ge&&(1!==r&&0!==o||(e.$shadowResolver$=n.$shadowResolver$))}function Yn(e){const{elm:t,text:n}=e;Oe(t,n)}function Jn(e,t,n){be(e,t,n)}function Qn(e,t){ve(e,t)}function Zn(e,t){R(e)&&(Fn(t),function(e){const{elm:t,data:{classMap:n}}=e;if(_(n))return;const o=Le(t);for(const e in n)o.add(e)}(t),function(e){const{elm:t,data:{styleDecls:n}}=e;if(!_(n))for(let e=0;e<n.length;e++){const[o,r,i]=n[e];De(t,o,r,i)}}(t)),function(e,t){const{elm:n,data:{className:o}}=t,r=R(e)?void 0:e.data.className;if(r===o)return;const i=Le(n),l=In(o),s=In(r);let c;for(c in s)_(l[c])&&i.remove(c);for(c in l)_(s[c])&&i.add(c)}(e,t),function(e,t){const{elm:n,data:{style:o}}=t;(R(e)?void 0:e.data.style)!==o&&(F(o)&&""!==o?Ae(n,"style",o):Pe(n,"style"))}(e,t),function(e,t){const{attrs:n}=t.data;if(_(n))return;const o=R(e)?se:e.data.attrs;if(o===n)return;const{elm:r}=t;for(const e in n){const t=n[e];o[e]!==t&&(gt(r,e),58===N.call(e,3)?Ae(r,e,t,"http://www.w3.org/XML/1998/namespace"):58===N.call(e,5)?Ae(r,e,t,"http://www.w3.org/1999/xlink"):R(t)||_(t)?Pe(r,e):Ae(r,e,t),mt())}}(e,t),Dn(e,t)}function eo(e,t){const n=e.aChildren||e.children;t.aChildren=n;const{renderMode:r,shadowMode:i}=t;1!==i&&0!==r||(!function(e,t){var n;const{cmpSlots:r}=e,i=e.cmpSlots=o(null);for(let e=0,o=t.length;e<o;e+=1){const o=t[e];if(R(o))continue;let r="";_n(o)&&(r=(null===(n=o.data.attrs)||void 0===n?void 0:n.slot)||"");const l=i[r]=i[r]||[];_(o.key)||(o.key=`@${r}:${o.key}`),C.call(l,o)}if(D(e.isDirty)){const t=f(r);if(t.length!==f(i).length)return void Do(e);for(let n=0,o=t.length;n<o;n+=1){const o=t[n];if(_(i[o])||r[o].length!==i[o].length)return void Do(e);const l=r[o],s=i[o];for(let t=0,n=i[o].length;t<n;t+=1)if(l[t]!==s[t])return void Do(e)}}}(t,n),e.aChildren=n,e.children=ce)}const to=new WeakMap;function no(e,t,n){const o={};for(let r=t;r<=n;++r){const t=e[r];if(zn(t)){const{key:e}=t;void 0!==e&&(o[e]=r)}}return o}const oo=Symbol.iterator;function ro(e,t,n=ce){const o=So();const{key:r}=t;return{type:2,sel:e,data:t,children:n,elm:undefined,key:r,owner:o}}function io(e,t,n,o=ce){const r=So(),{key:i}=n;const l={type:3,sel:e,data:n,children:o,elm:undefined,key:i,ctor:t,owner:r,mode:"open",aChildren:undefined,vm:undefined};return function(e){C.call(So().velements,e)}(l),l}const lo=new Map;let so=0;function co(e){var t;return t=e,to.set(t,1),e}let ao=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const uo=l({s:function(e,t,n,o){_(o)||_(o[e])||0===o[e].length||(n=o[e]);const r=So(),{renderMode:i,shadowMode:l}=r;return 0===i?(co(n),n):(1===l&&co(n),ro("slot",t,n))},h:ro,c:io,i:function(e,t){const n=[];if(co(n),_(e)||null===e)return n;const o=e[oo]();let r=o.next(),i=0,{value:l,done:s}=r;for(;!1===s;){r=o.next(),s=r.done;const e=t(l,i,0===i,!0===s);m(e)?C.apply(n,e):C.call(n,e),i+=1,l=r.value}return n},f:function(e){const t=e.length,n=[];co(n);for(let o=0;o<t;o+=1){const t=e[o];m(t)?C.apply(n,t):C.call(n,t)}return n},t:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:So()}},d:function(e){return null==e?"":String(e)},b:function(e){const t=So();if(R(t))throw new Error;const n=t;return function(t){$o(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:undefined,owner:So()}},dc:function(e,t,n,o=ce){if(null==t)return null;if(!Nn(t))throw new Error(`Invalid LWC Constructor ${B(t)} for custom element <${e}>.`);let r=lo.get(t);return _(r)&&(r=so++,lo.set(t,r)),io(e,t,Object.assign(Object.assign({},n),{key:`dc:${r}:${n.key}`}),o)},ti:function(e){return e>0&&!(L(e)||D(e))?0:e},gid:function(e){const t=So();if(_(e)||""===e)return e;if(R(e))return null;const{idx:n,shadowMode:o}=t;return 1===o?A.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=So();if(_(e)||""===e)return e;if(R(e))return null;const{idx:n,shadowMode:o}=t;return 1===o&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return ao(e)}});function fo(e){return`${e}-host`}function ho(e,t,n){const o=[];let r;for(let i=0;i<e.length;i++){let l=e[i];if(m(l))C.apply(o,ho(l,t,n));else{const e=l.$scoped$,i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,s=0===n.renderMode?!e:0===n.shadowMode;let c;1===n.renderMode?c=0===n.shadowMode:(_(r)&&(r=mo(n)),c=R(r)||0===r.shadowMode),C.call(o,l(i,s,c))}}return o}function po(e,t){const{stylesheets:n,stylesheetToken:o}=t;let r=[];return _(n)||0===n.length||(r=ho(n,o,e)),r}function mo(e){let t=e;for(;!R(t);){if(1===t.renderMode)return t;t=t.owner}return t}function go(e,t){const{renderMode:n,shadowMode:o}=e;if(1===n&&1===o)for(let e=0;e<t.length;e++)Xe(t[e]);else{if(pe||ye()){const e=b.call(t,"\n");return r=e,uo.h("style",{key:"style",attrs:{type:"text/css"}},[uo.t(r)])}{const n=function(e){const t=mo(e);return R(t)||1!==t.shadowMode?t:null}(e),o=R(n);for(let e=0;e<t.length;e++)o?Xe(t[e]):Ye(t[e],n.shadowRoot)}}var r;return null}let wo=!1,yo=j;const bo={enableProfiler(){wo=!0},disableProfiler(){wo=!1},attachDispatcher(e){yo=e,this.enableProfiler()},detachDispatcher(){const e=yo;return yo=j,this.disableProfiler(),e}};function vo(e,t){wo&&yo(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Co(e,t){wo&&yo(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Eo(e,t){wo&&yo(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 Mo(e,t){wo&&yo(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 ko=!1,To=null;function So(){return To}function xo(e){To=e}function Oo(e,t){const n=ko,r=To;let i=[];return ur(e,e.owner,(()=>{To=e,vo(1,e)}),(()=>{const{component:n,context:r,cmpSlots:l,cmpTemplate:s,tro:c}=e;c.observe((()=>{if(t!==s){if(R(s)||ar(e),c=t,!mn.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: ${B(t)}.`);e.cmpTemplate=t,r.tplCache=o(null),r.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!_(t))for(let e=0;e<t.length;e++)if(L(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:o,renderMode:r,shadowMode:i}=e,{stylesheets:l,stylesheetToken:s}=t,c=1===r&&1===i,{hasScopedStyles:a}=o;let u,d,f;const{stylesheetToken:h,hasTokenInClass:p,hasTokenInAttribute:m}=o;_(h)||(p&&Le(n).remove(fo(h)),m&&Pe(n,fo(h))),_(l)||0===l.length||(u=s),_(u)||(a&&(Le(n).add(fo(u)),d=!0),c&&(Ae(n,fo(u),""),f=!0)),o.stylesheetToken=u,o.hasTokenInClass=d,o.hasTokenInAttribute=f}(e,t);const n=po(e,t);r.styleVNode=0===n.length?null:go(e,n)}var c;e.velements=[],ko=!0,i=t.call(void 0,uo,n,l,r.tplCache);const{styleVNode:a}=r;R(a)||S.call(i,a)}))}),(()=>{ko=n,To=r,Co(1,e)})),i}let No=null;function Ao(e){return No===e}function Po(e,t,n){const{component:o,callHook:r,owner:i}=e;ur(e,i,j,(()=>{r(o,t,n)}),j)}function $o(e,t,n,o){const{callHook:r,owner:i}=e;ur(e,i,j,(()=>{r(n,t,[o])}),j)}const _o=new Map;function Ro(e){return new ot((()=>{const{isDirty:t}=e;D(t)&&(Do(e),function(e){if(L(pe)||L(e.isScheduled))return;e.isScheduled=!0,0===or.length&&ue(rr);C.call(or,e)}(e))}))}function Lo(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:o,owner:r}=e,i=So();let l,s=!1;return ur(e,r,(()=>{xo(e)}),(()=>{e.tro.observe((()=>{l=n(o,t),s=!0}))}),(()=>{xo(i)})),s?Oo(e,l):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Do(e){e.isDirty=!0}const Ho=new WeakMap;function Io(e,t){if(!H(t))throw new TypeError;let n=Ho.get(t);return _(n)&&(n=function(n){$o(e,t,void 0,n)},Ho.set(t,n)),n}const Fo=o(null),jo=["rendered","connected","disconnected"];function Wo(e,t){const{component:n,def:o,context:r}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},o,r)}let Bo=0;const Vo=new WeakMap;function Ko(e,t,n=[]){return t.apply(e,n)}function Go(e,t,n){e[t]=n}function zo(e,t){return e[t]}function Uo(e){tr(e)}function qo(e){const t=Zo(e);Eo(7,t),1===t.state&&Xo(e),ir(t),tr(t),Mo(7,t)}function Xo(e){Yo(Zo(e))}function Yo(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){D(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Fo;t&&Wo(e,t);lr(e)&&function(e){const{wiredDisconnecting:t}=e.context;ur(e,e,j,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),j)}(e);const{disconnectedCallback:n}=e.def;_(n)||(vo(5,e),Po(e,n),Co(5,e))}(e),sr(e),function(e){const{aChildren:t}=e;cr(t)}(e)}}function Jo(e,t,n){const{mode:r,owner:i,tagName:l}=n,s=An(t),c={elm:e,def:s,idx:Bo++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:r,owner:i,children:ce,aChildren:ce,velements:ce,cmpProps:o(null),cmpFields:o(null),cmpSlots:o(null),oar:o(null),cmpTemplate:null,renderMode:s.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:se,wiredConnecting:ce,wiredDisconnecting:ce},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:Ko,setHook:Go,getHook:zo};return c.shadowMode=function(e){const{def:t}=e;let n;if(ge)if(0===t.renderMode)n=0;else if(me)if(ie.ENABLE_MIXED_SHADOW_MODE)if("any"===t.shadowSupportMode)n=0;else{const t=function(e){let t=e.owner;for(;!R(t)&&0===t.renderMode;)t=t.owner;return t}(e);n=R(t)||0!==t.shadowMode?1:0}else n=1;else n=1;else n=0;return n}(c),c.tro=Ro(c),function(e,t){const n=No;let o;vo(0,e),No=e;try{const r=new t;if(No.component!==r)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){o=Object(e)}finally{if(Co(0,e),No=n,!_(o))throw st(e,o),o}}(c,s.ctor),lr(c)&&function(e){const{context:t,def:{wire:n}}=e,o=t.wiredConnecting=[],r=t.wiredDisconnecting=[];for(const t in n){const i=n[t],l=dr.get(i);if(!_(l)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:s}=hr(e,t,l),c=l.dynamic.length>0;C.call(o,(()=>{n.connect(),ie.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),C.call(r,(()=>{n.disconnect(),s()}))}}}(c),c}function Qo(e,t){Vo.set(e,t)}function Zo(e){return Vo.get(e)}function er(e){return Vo.get(e)}function tr(e){if(L(e.isDirty)){!function(e,t){const{renderRoot:n,children:o}=e;e.children=t,(t.length>0||o.length>0)&&o!==t&&ur(e,e,(()=>{vo(2,e)}),(()=>{jn(o,t,n)}),(()=>{Co(2,e)}));1===e.state&&nr(e)}(e,Lo(e))}}function nr(e){const{def:{renderedCallback:t}}=e;if(L(pe))return;const{rendered:n}=Fo;n&&Wo(e,n),_(t)||(vo(4,e),Po(e,t),Co(4,e))}let or=[];function rr(){Eo(8);const e=or.sort(((e,t)=>e.idx-t.idx));or=[];for(let t=0,n=e.length;t<n;t+=1){const o=e[t];try{tr(o)}catch(o){throw t+1<n&&(0===or.length&&ue(rr),S.apply(or,k.call(e,t+1))),Mo(8),o}}Mo(8)}function ir(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Fo;n&&Wo(e,n),lr(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:o}=e.def;_(o)||(vo(3,e),Po(e,o),Co(3,e))}function lr(e){return c(e.def.wire).length>0}function sr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!_(n)){const e=er(n);_(e)||Yo(e)}}}function cr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!R(n)&&!_(n.elm))switch(n.type){case 2:cr(n.children);break;case 3:Yo(Zo(n.elm));break}}}function ar(e){const{children:t,renderRoot:n}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];R(o)||_(o.elm)||ve(o.elm,n)}e.children=ce,sr(e),e.velements=ce}function ur(e,t,n,o,r){let i;n();try{o()}catch(e){i=Object(e)}finally{if(r(),!_(i)){st(e,i);const n=R(t)?void 0:function(e){let t=e;for(;!R(t);){if(!_(t.def.errorCallback))return t;t=t.owner}}(t);if(_(n))throw i;ar(e),vo(6,e);Po(n,n.def.errorCallback,[i,i.wcStack]),Co(6,e)}}}const dr=new Map;class fr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function hr(e,t,n){const{method:o,adapter:r,configCallback:l,dynamic:s}=n,c=_(o)?function(e,t){const{cmpFields:n}=e;return o=>{o!==e.cmpFields[t]&&(n[t]=o,rt(e,t))}}(e,t):function(e,t){return n=>{ur(e,e.owner,j,(()=>{t.call(e.component,n)}),j)}}(e,o);let a,u;i(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(c,"$$DeprecatedWiredParamsMetaKey$$",{value:s}),ur(e,e,j,(()=>{u=new r(c)}),j);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let o=!1;const r=new ot((()=>{!1===o&&(o=!0,Promise.resolve().then((()=>{o=!1,r.reset(),i()})))})),i=()=>{let o;r.observe((()=>o=t(e))),n(o)};return{computeConfigAndUpdate:i,ro:r}}(e.component,l,(t=>{ur(e,e,j,(()=>{u.update(t,a)}),j)}));return _(r.contextSchema)||function(e,t,n){const{adapter:o}=t,r=mr(o);if(_(r))return;const{elm:i,context:{wiredConnecting:l,wiredDisconnecting:s}}=e;C.call(l,(()=>{const e=new fr(r,{setNewContext(e){n(e)},setDisconnectedCallback(e){C.call(s,e)}});Re(i,e)}))}(e,n,(t=>{a!==t&&(a=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const pr=new Map;function mr(e){return pr.get(e)}function gr(e,t,n,o){t.adapter&&(t=t.adapter);const r={adapter:t,method:e.value,configCallback:n,dynamic:o};dr.set(e,r)}function wr(e,t,n,o){t.adapter&&(t=t.adapter);const r={adapter:t,configCallback:n,dynamic:o};dr.set(e,r)}let yr=!1;function br(e){yr=!1,ir(e),vr(e),yr&&function(e,t){ct("error",e,t)}("Hydration completed with errors.",e)}function vr(e){const t=Lo(e);e.children=t;const n=e.renderRoot;Er(Ke(n),t,n),nr(e)}function Cr(e,t){let n;switch(t.type){case 0:n=function(e,t){var n;if(!Tr(t,e,3))return Mr(e,t);return Oe(e,null!==(n=t.text)&&void 0!==n?n:null),t.elm=e,e}(e,t);break;case 1:n=function(e,t){var n;if(!Tr(t,e,8))return Mr(e,t);return xe(e,"nodeValue",null!==(n=t.text)&&void 0!==n?n:null),t.elm=e,e}(e,t);break;case 2:n=function(e,t){if(!Tr(t,e,1)||!Sr(t,e))return Mr(e,t);t.elm=e;const{context:n}=t.data,o=Boolean(!_(n)&&!_(n.lwc)&&"manual"===n.lwc.dom);if(o){const{props:n}=t.data;_(n)||_(n.innerHTML)||Se(e,"innerHTML")===n.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:he(n,"innerHTML")}))}kr(t),o||Er(Ke(e),t.children,e,t.owner);return e}(e,t);break;case 3:n=function(e,t){if(!Tr(t,e,1)||!Sr(t,e))return Mr(e,t);const{sel:n,mode:o,ctor:r,owner:i}=t,l=Jo(e,r,{mode:o,owner:i,tagName:n});t.elm=e,t.vm=l,eo(t,l),kr(t),ir(l),0!==l.renderMode&&Er(Ke(e),t.children,e);return vr(l),e}(e,t)}return ke(n)}function Er(e,t,n,o){let r=e,i=null;for(let e=0;e<t.length;e++){const o=t[e];R(o)||(r?(r=Cr(r,o),i=o.elm):(yr=!0,Bn(o,n,i),i=o.elm))}if(r){yr=!0;do{const e=r;r=ke(r),Qn(e,n)}while(r)}}function Mr(e,t,n){yr=!0;const o=Se(e,"parentNode");return Bn(t,o,e),Qn(e,o),t.elm}function kr(e){Fn(e),Dn(null,e)}function Tr(e,t,n){return Se(t,"nodeType")===n}function Sr(e,t){if(e.sel.toLowerCase()!==Se(t,"tagName").toLowerCase())return!1;const n=function(e,t){const{data:{attrs:n={}}}=e;let o=!0;for(const[e,r]of Object.entries(n)){const n=Ne(t,e);String(r)!==n&&(o=!1)}return o}(e,t),o=function(e,t){const{data:{className:n,classMap:o}}=e;let r=!0;if(_(n)||String(n)===Se(t,"className")){if(!_(o)){const e=Le(t);let n="";for(const t in o)n+=" "+t,e.contains(t)||(r=!1);n.trim(),e.length>f(o).length&&(r=!1)}}else r=!1;return r}(e,t),r=function(e,t){const{data:{style:n,styleDecls:o}}=e,r=Ne(t,"style")||"";let i=!0;if(_(n)||n===r){if(!_(o)){const e=function(e){const t={},n=e.split(de);for(const e of n)if(e){const[n,o]=e.split(fe);void 0!==n&&void 0!==o&&(t[n.trim()]=o.trim())}return t}(r),t=[];for(let n=0,r=o.length;n<r;n++){const[r,l,s]=o[n];t.push(`${r}: ${l+(s?" important!":"")}`);const c=e[r];_(c)?i=!1:c.startsWith(l)?s&&!c.endsWith("!important")&&(i=!1):i=!1}f(e).length>o.length&&(i=!1),b.call(t,";")}}else i=!1;return i}(e,t);return n&&o&&r}let xr=!1;const Or=o(null),Nr=document.head||document.body||document,Ar=H(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),Pr=Ar&&s(document.adoptedStyleSheets,"length").writable,$r=o(null),_r=o(null),Rr=new WeakMap;let Lr,Dr,Hr;if(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}}())Lr=customElements.get.bind(customElements),Dr=customElements.define.bind(customElements),Hr=HTMLElement;else{const e=o(null),t=new WeakMap;Dr=function(n,o){if(n!==$.call(n)||e[n])throw new TypeError("Invalid Registration");e[n]=o,t.set(o,n)},Lr=function(t){return e[t]},Hr=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");const{constructor:n}=this,o=t.get(n);if(!o)throw new TypeError("Invalid Construction");const r=document.createElement(o);return p(r,n.prototype),r},Hr.prototype=HTMLElement.prototype}let Ir=!1;function Fr(e){Ir=e}const jr=U.$isNativeShadowRootDefined$,Wr=u.call(Element.prototype,"$shadowToken$");function Br(e,t,n){const o=Jo(e,t,{mode:"open",owner:null,tagName:e.tagName.toLowerCase()});for(const[t,o]of Object.entries(n))e[t]=o;return o}function Vr(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(!H(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!I(n)||R(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(er(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{Fr(!0);br(Br(e,t,n)),Fr(!1)}catch(o){console.error("Recovering from error while hydrating: ",o),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!R(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!R(e.firstChild);)e.removeChild(e.firstChild)}(e,t),Br(e,t,n),Fr(!1),qo(e)}finally{Fr(!1)}}Te=function(e,t){return Ir?e.shadowRoot:e.attachShadow(t)},Me=function(e){return document.createComment(e)},Ce=function(e,t){return _(t)?document.createElement(e):document.createElementNS(t,e)},Ee=function(e){return document.createTextNode(e)},Je=Dr,Re=function(e,t){return e.dispatchEvent(t)},Ne=function(e,t,n){return _(n)?e.getAttribute(t):e.getAttributeNS(n,t)},He=function(e){return e.getBoundingClientRect()},Ve=function(e){return e.childNodes},Be=function(e){return e.children},Le=function(e){return e.classList},Qe=Lr,We=function(e,t){return e.getElementsByClassName(t)},je=function(e,t){return e.getElementsByTagName(t)},Ke=function(e){return e.firstChild},Ge=function(e){return e.firstElementChild},ze=function(e){return e.lastChild},Ue=function(e){return e.lastElementChild},Se=function(e,t){return e[t]},we=Hr,be=function(e,t,n){t.insertBefore(e,n)},Xe=function(e){if(!_(Or[e]))return;Or[e]=!0;const t=document.createElement("style");t.type="text/css",t.textContent=e,Nr.appendChild(t)},Ye=function(e,t){Ar?function(e,t){let n=_r[e];_(n)&&(n=new CSSStyleSheet,n.replaceSync(e),_r[e]=n);const{adoptedStyleSheets:o}=t;o.includes(n)||(Pr?o.push(n):t.adoptedStyleSheets=[...o,n])}(e,t):function(e,t){let n=Rr.get(t);if(_(n)&&(n=o(null),Rr.set(t,n)),n[e])return;n[e]=!0;let r=$r[e];_(r)?(r=document.createElement("style"),r.type="text/css",r.textContent=e,$r[e]=r):r=r.cloneNode(!0),t.appendChild(r)}(e,t)},qe=function(e){return e.isConnected},ye=function(){return Ir},me=jr,ge=Wr,ke=function(e){return e.nextSibling},Ie=function(e,t){return e.querySelector(t)},Fe=function(e,t){return e.querySelectorAll(t)},ve=function(e,t){t.removeChild(e)},Pe=function(e,t,n){_(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},_e=function(e,t,n,o){e.removeEventListener(t,n,o)},Ae=function(e,t,n,o){return _(o)?e.setAttribute(t,n):e.setAttributeNS(o,t,n)},De=function(e,t,n,o){e.style.setProperty(t,n,o?"important":"")},xe=function(e,t,n){e[t]=n},Oe=function(e,t){e.nodeValue=t},pe=!1,$e=function(e,t,n,o){e.addEventListener(t,n,o)};const Kr=new WeakSet;function Gr(e){const t=function(e){return An(e).bridge}(e);return class extends t{constructor(){super(),this.isConnected?(Vr(this,e,{}),Kr.add(this)):Jo(this,e,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){Kr.has(this)?Kr.delete(this):qo(this)}disconnectedCallback(){Xo(this)}}}const zr=Node,Ur=new WeakMap,qr=new WeakMap;function Xr(e,t){const n=t.get(e);return _(n)||n(e),e}const{appendChild:Yr,insertBefore:Jr,removeChild:Qr,replaceChild:Zr}=zr.prototype;n(zr.prototype,{appendChild(e){return Xr(Yr.call(this,e),Ur)},insertBefore(e,t){return Xr(Jr.call(this,e,t),Ur)},removeChild(e){return Xr(Qr.call(this,e),qr)},replaceChild(e,t){const n=Zr.call(this,e,t);return Xr(n,qr),Xr(e,Ur),n}});const ei=Node;const ti=new Map;i(Qt,"CustomElementConstructor",{get(){return function(e){if(e===Qt)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=ti.get(e);return _(t)&&(t=Gr(e),ti.set(e,t)),t}(this)}}),l(Qt),h(Qt.prototype),e.LightningElement=Qt,e.__unstable__ProfilerControl=bo,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=mr(e);if(!_(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){pr.set(e,t)}(e,t);const n=new WeakSet;return(e,o)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:r,consumerDisconnectedCallback:i}=o;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,o={provide(e){t(e)}};n((()=>{_(i)||i(o)})),r(o),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!I(t)||R(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${B(t)}".`);const n=t.is;if(!H(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const o=$n(e);let r=!1;const i=new o((o=>{Jo(o,n,{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),Ur.set(o,qo),qr.set(o,Xo),r=!0}));return r||console.error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`),i},e.getComponentConstructor=function(e){let t=null;if(e instanceof HTMLElement){const n=er(e);_(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=An(e),{ctor:n,name:o,props:r,propsConfig:i,methods:l}=t,s={};for(const e in r)s[e]={config:i[e]||0,type:"any",attr:Y(e)};const c={};for(const e in l)c[e]=l[e].value;return{ctor:n,name:o,props:s,methods:c}},e.hydrateComponent=Vr,e.isComponentConstructor=Nn,e.isNodeFromTemplate=function(e){if(D(e instanceof ei))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&D(u.call(a(t),"synthetic")))||Wr&&!_(e.$shadowResolver$)},e.readonly=function(e){return Yt.getReadOnlyProxy(e)},e.register=function(e){for(let t=0;t<jo.length;++t){const n=jo[t];if(n in e){let t=Fo[n];_(t)&&(Fo[n]=t=[]),C.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return H(e)&&_o.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:r,publicMethods:l,wire:c,track:a,fields:u}=t,d=o(null),f=o(null),h=o(null),p=o(null),m=o(null),g=o(null);let w;if(!_(r))for(const e in r){const t=r[e];if(g[e]=t.config,w=s(n,e),t.config>0){if(_(w))throw new Error;w=dn(e,w)}else w=_(w)||_(w.get)?an(e):dn(e,w);f[e]=w,i(n,e,w)}if(_(l)||x.call(l,(e=>{if(w=s(n,e),_(w))throw new Error;d[e]=w})),!_(c))for(const e in c){const{adapter:t,method:o,config:r,dynamic:l=[]}=c[e];if(w=s(n,e),1===o){if(_(w))throw new Error;h[e]=w,gr(w,t,r,l)}else w=sn(e),p[e]=w,wr(w,t,r,l),i(n,e,w)}if(!_(a))for(const e in a)w=s(n,e),w=cn(e),i(n,e,w);if(!_(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=s(n,t);const o=!_(r)&&t in r,i=!_(a)&&t in a;o||i||(m[t]=fn(t))}return function(e,t){hn.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return mn.add(e),e},e.sanitizeAttribute=function(e,t,n,o){return o},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(_(re[e])){const n=f(re).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=ie[e];if(!_(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}".`);i(ie,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(xr,"Hooks are already overridden, only one definition is allowed."),xr=!0,n=e.sanitizeHtmlContent,ao=n},e.swapComponent=function(e,t){if(!ie.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!ie.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!ie.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return Yt.getProxy(e);throw new Error},e.unwrap=function(e){return Yt.unwrapProxy(e)},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0})}));
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:o,defineProperties:r,defineProperty:i,freeze:s,getOwnPropertyDescriptor:l,getOwnPropertyNames:c,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{filter:g,find:w,indexOf:y,join:b,map:v,push:C,reduce:E,reverse:M,slice:k,splice:T,unshift:S,forEach:x}=Array.prototype,{fromCharCode:O}=String,{charCodeAt:N,replace:A,slice:P,toLowerCase:$}=String.prototype;function _(e){return void 0===e}function R(e){return null===e}function L(e){return!0===e}function D(e){return!1===e}function H(e){return"function"==typeof e}function I(e){return"object"==typeof e}function F(e){return"string"==typeof e}function j(){}const W={}.toString;function B(e){return e&&e.toString?m(e)?b.call(v.call(e,B),","):e.toString():"object"==typeof e?W.call(e):e+""}function V(e,t){do{const n=l(e,t);if(!_(n))return n;e=a(e)}while(null!==e)}const K=["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:G,AriaPropNameToAttrNameMap:z}=(()=>{const e=o(null),t=o(null);return x.call(K,(n=>{const o=$.call(A.call(n,/^aria/,(()=>"aria-")));e[o]=n,t[n]=o})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),U=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),q=new 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"]]),X=new Map;function Y(e){const t=z[e];if(!_(t))return t;const n=q.get(e);if(!_(n))return n;const o=X.get(e);if(!_(o))return o;let r="";for(let t=0,n=e.length;t<n;t++){const n=N.call(e,t);r+=n>=65&&n<=90?"-"+O(n+32):O(n)}return X.set(e,r),r}const J="http://www.w3.org/2000/svg";function Q(e){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,e)}const Z=new WeakMap;function ee(e){let t=Z.get(e);return void 0===t&&(t={},Z.set(e,t)),t}function te(e,t){return{get(){const n=ee(this);return u.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set(n){const o=null==(r=n)?null:String(r);var r;ee(this)[e]=o,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function ne(e){const t=te(e,z[e]);Object.defineProperty(Element.prototype,e,t)}const oe=f(z);for(let e=0,t=oe.length;e<t;e+=1){const t=oe[e];Q(t)&&ne(t)}const re={ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HMR:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null};U.lwcRuntimeFlags||Object.defineProperty(U,"lwcRuntimeFlags",{value:o(null)});const ie=U.lwcRuntimeFlags;let se=[];const le=h(o(null)),ce=h([]);function ae(){const e=se;se=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function ue(e){0===se.length&&Promise.resolve().then(ae),C.call(se,e)}const de=/;(?![^(]*\))/g,fe=/:(.+)/;function he(e,t){const n={};for(const o of Object.keys(e))o!==t&&(n[o]=e[o]);return n}let pe,me,ge,we,ye,be,ve,Ce,Ee,Me,ke,Te,Se,xe,Oe,Ne,Ae,Pe,$e,_e,Re,Le,De,He,Ie,Fe,je,We,Be,Ve,Ke,Ge,ze,Ue,qe,Xe,Ye,Je,Qe;const Ze=new WeakMap;let et=null;function tt(e,t){const n=Ze.get(e);if(!_(n)){const e=n[t];if(!_(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function nt(e,t){if(null===et)return;const n=et,r=function(e){let t=Ze.get(e);if(_(t)){const n=o(null);t=n,Ze.set(e,n)}return t}(e);let i=r[t];if(_(i))i=[],r[t]=i;else if(i[0]===n)return;-1===y.call(i,n)&&n.link(i)}class ot{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=et;let n;et=this;try{e()}catch(e){n=Object(e)}finally{if(et=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],o=y.call(e[n],this);T.call(t,o,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){C.call(e,this),C.call(this.listeners,e)}}function rt(e,t){tt(e.component,t)}function it(e,t){nt(e.component,t)}function st(e){return`<${$.call(e.tagName)}>`}function lt(e,t){if(!d(t)&&_(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!R(n);)C.call(t,st(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}function ct(e,t,n){let o=`[LWC ${e}]: ${t}`;_(n)||(o=`${o}\n${function(e){const t=[];let n="";for(;!R(e.owner);)C.call(t,n+st(e)),e=e.owner,n+="\t";return b.call(t,"\n")}(n)}`);try{throw new Error(o)}catch(t){console[e](t)}}const at="undefined"!=typeof HTMLElement?HTMLElement:function(){},ut=at.prototype;function dt(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}n(o(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:dt("offsetHeight")},offsetLeft:{readOnly:!0,error:dt("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:dt("offsetTop")},offsetWidth:{readOnly:!0,error:dt("offsetWidth")},role:{attribute:"role"}});let ft,ht=null;function pt(e,t){return e!==ht||t!==ft}function mt(e,t){ht=null,ft=void 0}function gt(e,t){ht=e,ft=t}const wt=o(null);x.call(f(z),(e=>{const t=V(ut,e);_(t)||(wt[e]=t)})),x.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=V(ut,e);_(t)||(wt[e]=t)}));const{isArray:yt}=Array,{prototype:bt,getPrototypeOf:vt,create:Ct,defineProperty:Et,isExtensible:Mt,getOwnPropertyDescriptor:kt,getOwnPropertyNames:Tt,getOwnPropertySymbols:St,preventExtensions:xt,hasOwnProperty:Ot}=Object,{push:Nt,concat:At}=Array.prototype;function Pt(e){return void 0===e}function $t(e){return"function"==typeof e}const _t=new WeakMap;function Rt(e,t){_t.set(e,t)}const Lt=e=>_t.get(e)||e;class Dt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(Ot.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;Pt(n)||(e.get=this.wrapGetter(n)),Pt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,o=kt(n,t);if(!Pt(o)){const n=this.wrapDescriptor(o);Et(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;At.call(Tt(t),St(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;Pt(n)||Ot.call(e,n)||Et(e,n,Ct(null)),xt(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:o}}=this,r=n[t];return o(n,t),this.wrapValue(r)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:o,valueObserved:r}}=this;return r(n,t),t in n||t===o}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,o=Pt(n)||Ot.call(t,n)?[]:[n];return Nt.apply(o,Tt(t)),Nt.apply(o,St(t)),o}isExtensible(e){const{originalTarget:t}=this;return!!Mt(e)&&(!!Mt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return vt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:o,tagPropertyKey:r}}=this;o(n,t);let i=kt(n,t);if(Pt(i)){if(t!==r)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},Et(e,r,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const Ht=new WeakMap,It=new WeakMap,Ft=new WeakMap,jt=new WeakMap;class Wt extends Dt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Ht.get(e);if(!Pt(t))return t;const n=this,o=function(){return n.wrapValue(e.call(Lt(this)))};return Ht.set(e,o),Ft.set(o,e),o}wrapSetter(e){const t=It.get(e);if(!Pt(t))return t;const n=function(t){e.call(Lt(this),Lt(t))};return It.set(e,n),jt.set(n,e),n}unwrapDescriptor(e){if(Ot.call(e,"value"))e.value=Lt(e.value);else{const{set:t,get:n}=e;Pt(n)||(e.get=this.unwrapGetter(n)),Pt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Ft.get(e);if(!Pt(t))return t;const n=this,o=function(){return Lt(e.call(n.wrapValue(this)))};return Ht.set(o,e),Ft.set(e,o),o}unwrapSetter(e){const t=jt.get(e);if(!Pt(t))return t;const n=this,o=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return It.set(o,e),jt.set(e,o),o}set(e,t,n){const{originalTarget:o,membrane:{valueMutated:r}}=this;return o[t]!==n?(o[t]=n,r(o,t)):"length"===t&&yt(o)&&r(o,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:o}}=this;return delete n[t],o(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(Mt(e)){const{originalTarget:t}=this;if(xt(t),Mt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:o,membrane:{valueMutated:r,tagPropertyKey:i}}=this;return t===i&&!Ot.call(o,t)||(Et(o,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),r(o,t),!0)}}const Bt=new WeakMap,Vt=new WeakMap;class Kt extends Dt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=Bt.get(e);if(!Pt(t))return t;const n=this,o=function(){return n.wrapValue(e.call(Lt(this)))};return Bt.set(e,o),o}wrapSetter(e){const t=Vt.get(e);if(!Pt(t))return t;const n=function(e){};return Vt.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 Gt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(yt(e))return!0;const t=vt(e);return t===bt||null===t||null===vt(t)}const zt=(e,t)=>{},Ut=(e,t)=>{};function qt(e){return yt(e)?[]:{}}const Xt=Symbol.for("@@lockerLiveValue"),Yt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:o,tagPropertyKey:r}=e;this.valueMutated=$t(t)?t:Ut,this.valueObserved=$t(n)?n:zt,this.valueIsObservable=$t(o)?o:Gt,this.tagPropertyKey=r}getProxy(e){const t=Lt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Lt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Lt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(Pt(t)){const n=new Wt(this,e);t=new Proxy(qt(e),n),Rt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(Pt(t)){const n=new Kt(this,e);t=new Proxy(qt(e),n),Rt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:nt,valueMutated:tt,tagPropertyKey:Xt});function Jt(e,t){const{get:n,set:o,enumerable:r,configurable:i}=t;if(!H(n))throw new TypeError;if(!H(o))throw new TypeError;return{enumerable:r,configurable:i,get(){const t=Zo(this);if(!Ao(t))return it(t,e),n.call(t.elm)},set(t){const n=Zo(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,rt(n,e)),o.call(n.elm,t)}}}const Qt=function(){if(R(No))throw new ReferenceError("Illegal constructor");const e=No,{def:t,elm:n}=e,{bridge:o}=t,r=this;if(p(n,o.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:o}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=o}return this[Xt]=void 0,Qo(r,e),Qo(n,e),1===e.renderMode?e.renderRoot=Zt(e):e.renderRoot=n,this};function Zt(e){const{elm:t,mode:n,shadowMode:o,def:{ctor:r}}=e,i=Te(t,{"$$lwc-synthetic-mode":1===o,delegatesFocus:Boolean(r.delegatesFocus),mode:n});return e.shadowRoot=i,Qo(i,e),i}Qt.prototype={constructor:Qt,dispatchEvent(e){const{elm:t}=Zo(this);return Re(t,e)},addEventListener(e,t,n){const o=Zo(this),{elm:r}=o,i=Io(o,t);$e(r,e,i,n)},removeEventListener(e,t,n){const o=Zo(this),{elm:r}=o,i=Io(o,t);_e(r,e,i,n)},hasAttribute(e){const{elm:t}=Zo(this);return!R(Ne(t,e))},hasAttributeNS(e,t){const{elm:n}=Zo(this);return!R(Ne(n,t,e))},removeAttribute(e){const{elm:t}=Zo(this);gt(t,e),Pe(t,e),mt()},removeAttributeNS(e,t){const{elm:n}=Zo(this);gt(n,t),Pe(n,t,e),mt()},getAttribute(e){const{elm:t}=Zo(this);return Ne(t,e)},getAttributeNS(e,t){const{elm:n}=Zo(this);return Ne(n,t,e)},setAttribute(e,t){const n=Zo(this),{elm:o}=n;gt(o,e),Ae(o,e,t),mt()},setAttributeNS(e,t,n){const o=Zo(this),{elm:r}=o;gt(r,t),Ae(r,t,n,e),mt()},getBoundingClientRect(){const e=Zo(this),{elm:t}=e;return He(t)},get isConnected(){const{elm:e}=Zo(this);return qe(e)},get classList(){const e=Zo(this),{elm:t}=e;return Le(t)},get template(){return Zo(this).shadowRoot},get shadowRoot(){return null},render(){return Zo(this).def.template},toString(){return`[object ${Zo(this).def.name}]`}};const en=o(null),tn=["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild"];function nn(e){switch(e){case"children":return Be;case"childNodes":return Ve;case"firstChild":return Ke;case"firstElementChild":return Ge;case"lastChild":return ze;case"lastElementChild":return Ue}}for(const e of tn)en[e]={get(){const t=Zo(this),{elm:n}=t;return nn(e)(n)},configurable:!0,enumerable:!0};const on=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];function rn(e){switch(e){case"getElementsByClassName":return We;case"getElementsByTagName":return je;case"querySelector":return Ie;case"querySelectorAll":return Fe}}for(const e of on)en[e]={value(t){const n=Zo(this),{elm:o}=n;return rn(e)(o,t)},configurable:!0,enumerable:!0,writable:!0};r(Qt.prototype,en);const sn=o(null);for(const e in wt)sn[e]=Jt(e,wt[e]);function ln(e){return{get(){const t=Zo(this);return it(t,e),t.cmpFields[e]},set(t){const n=Zo(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,rt(n,e))},enumerable:!0,configurable:!0}}function cn(e){return{get(){const t=Zo(this);return it(t,e),t.cmpFields[e]},set(t){const n=Zo(this),o=Yt.getProxy(t);o!==n.cmpFields[e]&&(n.cmpFields[e]=o,rt(n,e))},enumerable:!0,configurable:!0}}function an(e){return{get(){const t=Zo(this);if(!Ao(t))return it(t,e),t.cmpProps[e]},set(t){const n=Zo(this);n.cmpProps[e]=t,rt(n,e)},enumerable:!0,configurable:!0}}r(Qt.prototype,sn),i(Qt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class un extends ot{constructor(e,t){super((()=>{D(this.debouncing)&&(this.debouncing=!0,ue((()=>{if(L(this.debouncing)){const{value:n}=this,{isDirty:o,component:r,idx:i}=e;t.call(r,n),this.debouncing=!1,L(e.isDirty)&&D(o)&&i>0&&Uo(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function dn(e,t){const{get:n,set:o,enumerable:r,configurable:i}=t;if(!H(n))throw new Error;return{get(){return n.call(this)},set(t){const n=Zo(this);if(o)if(ie.ENABLE_REACTIVE_SETTER){let r=n.oar[e];_(r)&&(r=n.oar[e]=new un(n,o)),r.reset(t),r.observe((()=>{o.call(this,t)}))}else o.call(this,t)},enumerable:r,configurable:i}}function fn(e){return{get(){const t=Zo(this);return it(t,e),t.cmpFields[e]},set(t){const n=Zo(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,rt(n,e))},enumerable:!0,configurable:!0}}const hn=new Map;const pn={apiMethods:le,apiFields:le,apiFieldsConfig:le,wiredMethods:le,wiredFields:le,observedFields:le};const mn=new Set;function gn(){return[]}mn.add(gn);const wn=o(null),yn=o(null);function bn(e){let t=wn[e];return _(t)&&(t=wn[e]=function(){const t=Zo(this),{getHook:n}=t;return n(t.component,e)}),t}function vn(e){let t=yn[e];return _(t)&&(t=yn[e]=function(t){const n=Zo(this),{setHook:o}=n;t=Yt.getReadOnlyProxy(t),o(n.component,e,t)}),t}function Cn(e){return function(){const t=Zo(this),{callHook:n,component:o}=t,r=o[e];return n(t.component,r,k.call(arguments))}}function En(e,t){return function(n,o,r){if(o===r)return;const i=e[n];_(i)?_(t)||t.apply(this,arguments):pt(this,n)&&(this[i]=r)}}function Mn(e,t,n){let s;H(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),i(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=o(null),{attributeChangedCallback:c}=e.prototype,{observedAttributes:a=[]}=e,u=o(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[Y(n)]=n,u[n]={get:bn(n),set:vn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:Cn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:En(l,c)},i(s,"observedAttributes",{get:()=>[...a,...f(l)]}),r(s.prototype,u),s}const kn=Mn(at,c(wt),[]);function Tn(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Sn(e){return H(e)&&u.call(e,"__circular__")}s(kn),h(kn.prototype);const xn=new WeakMap;function On(e){const{shadowSupportMode:t,renderMode:i}=e,s=function(e){const t=hn.get(e);return _(t)?pn:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const C=function(e){let t=a(e);if(R(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(Sn(t)){const e=Tn(t);t=e===t?Qt:e}return t}(e),E=C!==Qt?An(C):Pn,M=Mn(E.bridge,f(l),f(u)),k=n(o(null),E.props,l),T=n(o(null),E.propsConfig,c),S=n(o(null),E.methods,u),x=n(o(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 O=E.shadowSupportMode;_(t)||(O=t);let N=E.renderMode;_(i)||(N="light"===i?0:1);const A=function(e){return _o.get(e)}(e)||E.template,P=e.name||E.name;r(m,p);return{ctor:e,name:P,wire:x,props:k,propsConfig:T,methods:S,bridge:M,template:A,renderMode:N,shadowSupportMode:O,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Nn(e){if(!H(e))return!1;if(e.prototype instanceof Qt)return!0;let t=e;do{if(Sn(t)){const e=Tn(t);if(e===t)return!0;t=e}if(t===Qt)return!0}while(!R(t)&&(t=a(t)));return!1}function An(e){let t=xn.get(e);if(_(t)){if(Sn(e)){return t=An(Tn(e)),xn.set(e,t),t}if(!Nn(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=On(e),xn.set(e,t)}return t}const Pn={ctor:Qt,name:Qt.name,props:sn,propsConfig:le,methods:le,renderMode:1,shadowSupportMode:"reset",wire:le,bridge:kn,template:gn,render:Qt.prototype.render};function $n(e){e=e.toLowerCase();let t=Qe(e);return _(t)?(t=class extends we{constructor(e){super(),H(e)&&e(this)}},Je(e,t),t):t}function _n(e){const{type:t}=e;return 2===t||3===t}function Rn(e,t){return e.key===t.key&&e.sel===t.sel}function Ln(e,t){return"input"===e&&("value"===t||"checked"===t)}function Dn(e,t){const{props:n}=t.data;if(_(n))return;const o=R(e)?le:e.data.props;if(o===n)return;const r=R(e),{elm:i,sel:s}=t;for(const e in n){const t=n[e];(r||t!==(Ln(s,e)?Se(i,e):o[e]))&&xe(i,e,t)}}const Hn=o(null);function In(e){if(null==e)return le;e=F(e)?e:e+"";let t=Hn[e];if(t)return t;t=o(null);let n,r=0;const i=e.length;for(n=0;n<i;n++)32===N.call(e,n)&&(n>r&&(t[P.call(e,r,n)]=!0),r=n+1);return n>r&&(t[P.call(e,r,n)]=!0),Hn[e]=t,t}function Fn(e){const{elm:t,data:{on:n}}=e;if(!_(n))for(const e in n){const o=n[e];$e(t,e,o)}}function jn(e,t,n){var o;o=t,to.has(o)?function(e,t,n){let o=0,r=0,i=e.length-1,s=e[0],l=e[i];const c=t.length-1;let a,u,d,f,h=c,p=t[0],m=t[h],g=!1;for(;o<=i&&r<=h;)zn(s)?zn(l)?zn(p)?zn(m)?Rn(s,p)?(Wn(s,p),s=e[++o],p=t[++r]):Rn(l,m)?(Wn(l,m),l=e[--i],m=t[--h]):Rn(s,m)?(Wn(s,m),Jn(s.elm,n,ke(l.elm)),s=e[++o],m=t[--h]):Rn(l,p)?(Wn(l,p),Jn(p.elm,n,s.elm),l=e[--i],p=t[++r]):(void 0===a&&(a=no(e,o,i)),u=a[p.key],_(u)?(Bn(p,n,s.elm),p=t[++r]):(d=e[u],zn(d)&&(d.sel!==p.sel?Bn(p,n,s.elm):(Wn(d,p),g||(g=!0,e=[...e]),e[u]=void 0,Jn(d.elm,n,s.elm))),p=t[++r])):m=t[--h]:p=t[++r]:l=e[--i]:s=e[++o];if(o<=i||r<=h)if(o>i){let e,o=h;do{e=t[++o]}while(!zn(e)&&o<c);f=zn(e)?e.elm:null,Vn(t,n,f,r,h+1)}else Gn(e,n,!0,o,i+1)}(e,t,n):function(e,t,n){const o=e.length,r=t.length;if(0===o)return void Vn(t,n,null);if(0===r)return void Gn(e,n,!0);let i=null;for(let o=r-1;o>=0;o-=1){const r=e[o],s=t[o];s!==r&&(zn(r)?zn(s)?(Wn(r,s),i=s.elm):Kn(r,n,!0):zn(s)&&(Bn(s,n,i),i=s.elm))}}(e,t,n)}function Wn(e,t){if(e!==t)switch(t.type){case 0:case 1:!function(e,t){t.elm=e.elm,t.text!==e.text&&Yn(t)}(e,t);break;case 2:!function(e,t){const n=t.elm=e.elm;Zn(e,t),jn(e.children,t.children,n)}(e,t);break;case 3:!function(e,t){const n=t.elm=e.elm,o=t.vm=e.vm;Zn(e,t),_(o)||eo(t,o);jn(e.children,t.children,n),_(o)||Uo(o)}(e,t)}}function Bn(e,t,n){switch(e.type){case 0:!function(e,t,n){const{owner:o}=e,r=e.elm=Ee(e.text);Xn(r,o),Jn(r,t,n)}(e,t,n);break;case 1:!function(e,t,n){const{owner:o}=e,r=e.elm=Me(e.text);Xn(r,o),Jn(r,t,n)}(e,t,n);break;case 2:!function(e,t,n){const{sel:o,owner:r,data:{svg:i}}=e,s=L(i)?J:void 0,l=Ce(o,s);Xn(l,r),function(e,t){const{owner:n}=t;if(qn(e,n),1===n.shadowMode){const{data:{context:o}}=t,{stylesheetToken:r}=n.context;_(o)||_(o.lwc)||"manual"!==o.lwc.dom||function(e){e.$domManual$=!0}(e),_(r)||Un(e,r)}}(l,e),e.elm=l,Zn(null,e),Jn(l,t,n),Vn(e.children,l,null)}(e,t,n);break;case 3:!function(e,t,n){const{sel:o,owner:r}=e,i=$n(o);let s;const l=new i((t=>{s=function(e,t){let n=er(e);if(!_(n))return n;const{sel:o,mode:r,ctor:i,owner:s}=t;if(qn(e,s),1===s.shadowMode){const{stylesheetToken:t}=s.context;_(t)||Un(e,t)}return n=Jo(e,i,{mode:r,owner:s,tagName:o}),n}(t,e)}));if(Xn(l,r),e.elm=l,e.vm=s,s)eo(e,s);else if(e.ctor!==i)throw new TypeError("Incorrect Component Constructor");Zn(null,e),Jn(l,t,n),s&&ir(s);Vn(e.children,l,null),s&&function(e){tr(e)}(s)}(e,t,n)}}function Vn(e,t,n,o=0,r=e.length){for(;o<r;++o){const r=e[o];zn(r)&&Bn(r,t,n)}}function Kn(e,t,n=!1){const{type:o,elm:r}=e;switch(n&&Qn(r,t),o){case 2:Gn(e.children,r);break;case 3:{const{vm:t}=e;_(t)||function(e){Yo(e)}(t)}}}function Gn(e,t,n=!1,o=0,r=e.length){for(;o<r;++o){const r=e[o];zn(r)&&Kn(r,t,n)}}function zn(e){return null!=e}function Un(e,t){e.$shadowToken$=t}function qn(e,t){const{cmpTemplate:n,context:o}=t,r=null==n?void 0:n.stylesheetToken;!_(r)&&o.hasScopedStyles&&Le(e).add(r)}function Xn(e,t){const{renderRoot:n,renderMode:o,shadowMode:r}=t;ge&&(1!==r&&0!==o||(e.$shadowResolver$=n.$shadowResolver$))}function Yn(e){const{elm:t,text:n}=e;Oe(t,n)}function Jn(e,t,n){be(e,t,n)}function Qn(e,t){ve(e,t)}function Zn(e,t){R(e)&&(Fn(t),function(e){const{elm:t,data:{classMap:n}}=e;if(_(n))return;const o=Le(t);for(const e in n)o.add(e)}(t),function(e){const{elm:t,data:{styleDecls:n}}=e;if(!_(n))for(let e=0;e<n.length;e++){const[o,r,i]=n[e];De(t,o,r,i)}}(t)),function(e,t){const{elm:n,data:{className:o}}=t,r=R(e)?void 0:e.data.className;if(r===o)return;const i=Le(n),s=In(o),l=In(r);let c;for(c in l)_(s[c])&&i.remove(c);for(c in s)_(l[c])&&i.add(c)}(e,t),function(e,t){const{elm:n,data:{style:o}}=t;(R(e)?void 0:e.data.style)!==o&&(F(o)&&""!==o?Ae(n,"style",o):Pe(n,"style"))}(e,t),function(e,t){const{attrs:n}=t.data;if(_(n))return;const o=R(e)?le:e.data.attrs;if(o===n)return;const{elm:r}=t;for(const e in n){const t=n[e];o[e]!==t&&(gt(r,e),58===N.call(e,3)?Ae(r,e,t,"http://www.w3.org/XML/1998/namespace"):58===N.call(e,5)?Ae(r,e,t,"http://www.w3.org/1999/xlink"):R(t)||_(t)?Pe(r,e):Ae(r,e,t),mt())}}(e,t),Dn(e,t)}function eo(e,t){const n=e.aChildren||e.children;t.aChildren=n;const{renderMode:r,shadowMode:i}=t;1!==i&&0!==r||(!function(e,t){var n;const{cmpSlots:r}=e,i=e.cmpSlots=o(null);for(let e=0,o=t.length;e<o;e+=1){const o=t[e];if(R(o))continue;let r="";_n(o)&&(r=(null===(n=o.data.attrs)||void 0===n?void 0:n.slot)||"");const s=i[r]=i[r]||[];_(o.key)||(o.key=`@${r}:${o.key}`),C.call(s,o)}if(D(e.isDirty)){const t=f(r);if(t.length!==f(i).length)return void Do(e);for(let n=0,o=t.length;n<o;n+=1){const o=t[n];if(_(i[o])||r[o].length!==i[o].length)return void Do(e);const s=r[o],l=i[o];for(let t=0,n=i[o].length;t<n;t+=1)if(s[t]!==l[t])return void Do(e)}}}(t,n),e.aChildren=n,e.children=ce)}const to=new WeakMap;function no(e,t,n){const o={};for(let r=t;r<=n;++r){const t=e[r];if(zn(t)){const{key:e}=t;void 0!==e&&(o[e]=r)}}return o}const oo=Symbol.iterator;function ro(e,t,n=ce){const o=So();const{key:r}=t;return{type:2,sel:e,data:t,children:n,elm:undefined,key:r,owner:o}}function io(e,t,n,o=ce){const r=So(),{key:i}=n;const s={type:3,sel:e,data:n,children:o,elm:undefined,key:i,ctor:t,owner:r,mode:"open",aChildren:undefined,vm:undefined};return function(e){C.call(So().velements,e)}(s),s}const so=new Map;let lo=0;function co(e){var t;return t=e,to.set(t,1),e}let ao=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const uo=s({s:function(e,t,n,o){_(o)||_(o[e])||0===o[e].length||(n=o[e]);const r=So(),{renderMode:i,shadowMode:s}=r;return 0===i?(co(n),n):(1===s&&co(n),ro("slot",t,n))},h:ro,c:io,i:function(e,t){const n=[];if(co(n),_(e)||null===e)return n;const o=e[oo]();let r=o.next(),i=0,{value:s,done:l}=r;for(;!1===l;){r=o.next(),l=r.done;const e=t(s,i,0===i,!0===l);m(e)?C.apply(n,e):C.call(n,e),i+=1,s=r.value}return n},f:function(e){const t=e.length,n=[];co(n);for(let o=0;o<t;o+=1){const t=e[o];m(t)?C.apply(n,t):C.call(n,t)}return n},t:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:So()}},d:function(e){return null==e?"":String(e)},b:function(e){const t=So();if(R(t))throw new Error;const n=t;return function(t){$o(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:undefined,owner:So()}},dc:function(e,t,n,o=ce){if(null==t)return null;if(!Nn(t))throw new Error(`Invalid LWC Constructor ${B(t)} for custom element <${e}>.`);let r=so.get(t);return _(r)&&(r=lo++,so.set(t,r)),io(e,t,Object.assign(Object.assign({},n),{key:`dc:${r}:${n.key}`}),o)},ti:function(e){return e>0&&!(L(e)||D(e))?0:e},gid:function(e){const t=So();if(_(e)||""===e)return e;if(R(e))return null;const{idx:n,shadowMode:o}=t;return 1===o?A.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=So();if(_(e)||""===e)return e;if(R(e))return null;const{idx:n,shadowMode:o}=t;return 1===o&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return ao(e)}});function fo(e){return`${e}-host`}function ho(e,t,n){const o=[];let r;for(let i=0;i<e.length;i++){let s=e[i];if(m(s))C.apply(o,ho(s,t,n));else{const e=s.$scoped$,i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let c;1===n.renderMode?c=0===n.shadowMode:(_(r)&&(r=mo(n)),c=R(r)||0===r.shadowMode),C.call(o,s(i,l,c))}}return o}function po(e,t){const{stylesheets:n,stylesheetToken:o}=t;let r=[];return _(n)||0===n.length||(r=ho(n,o,e)),r}function mo(e){let t=e;for(;!R(t);){if(1===t.renderMode)return t;t=t.owner}return t}function go(e,t){const{renderMode:n,shadowMode:o}=e;if(1===n&&1===o)for(let e=0;e<t.length;e++)Xe(t[e]);else{if(pe||ye()){const e=b.call(t,"\n");return r=e,uo.h("style",{key:"style",attrs:{type:"text/css"}},[uo.t(r)])}{const n=function(e){const t=mo(e);return R(t)||1!==t.shadowMode?t:null}(e),o=R(n);for(let e=0;e<t.length;e++)o?Xe(t[e]):Ye(t[e],n.shadowRoot)}}var r;return null}let wo=!1,yo=j;const bo={enableProfiler(){wo=!0},disableProfiler(){wo=!1},attachDispatcher(e){yo=e,this.enableProfiler()},detachDispatcher(){const e=yo;return yo=j,this.disableProfiler(),e}};function vo(e,t){wo&&yo(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Co(e,t){wo&&yo(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Eo(e,t){wo&&yo(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 Mo(e,t){wo&&yo(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 ko=!1,To=null;function So(){return To}function xo(e){To=e}function Oo(e,t){const n=ko,r=To;let i=[];return ur(e,e.owner,(()=>{To=e,vo(1,e)}),(()=>{const{component:n,context:r,cmpSlots:s,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(R(l)||ar(e),c=t,!mn.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: ${B(t)}.`);e.cmpTemplate=t,r.tplCache=o(null),r.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!_(t))for(let e=0;e<t.length;e++)if(L(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:o,renderMode:r,shadowMode:i}=e,{stylesheets:s,stylesheetToken:l}=t,c=1===r&&1===i,{hasScopedStyles:a}=o;let u,d,f;const{stylesheetToken:h,hasTokenInClass:p,hasTokenInAttribute:m}=o;_(h)||(p&&Le(n).remove(fo(h)),m&&Pe(n,fo(h))),_(s)||0===s.length||(u=l),_(u)||(a&&(Le(n).add(fo(u)),d=!0),c&&(Ae(n,fo(u),""),f=!0)),o.stylesheetToken=u,o.hasTokenInClass=d,o.hasTokenInAttribute=f}(e,t);const n=po(e,t);r.styleVNode=0===n.length?null:go(e,n)}var c;e.velements=[],ko=!0,i=t.call(void 0,uo,n,s,r.tplCache);const{styleVNode:a}=r;R(a)||S.call(i,a)}))}),(()=>{ko=n,To=r,Co(1,e)})),i}let No=null;function Ao(e){return No===e}function Po(e,t,n){const{component:o,callHook:r,owner:i}=e;ur(e,i,j,(()=>{r(o,t,n)}),j)}function $o(e,t,n,o){const{callHook:r,owner:i}=e;ur(e,i,j,(()=>{r(n,t,[o])}),j)}const _o=new Map;function Ro(e){return new ot((()=>{const{isDirty:t}=e;D(t)&&(Do(e),function(e){if(L(pe)||L(e.isScheduled))return;e.isScheduled=!0,0===or.length&&ue(rr);C.call(or,e)}(e))}))}function Lo(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:o,owner:r}=e,i=So();let s,l=!1;return ur(e,r,(()=>{xo(e)}),(()=>{e.tro.observe((()=>{s=n(o,t),l=!0}))}),(()=>{xo(i)})),l?Oo(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Do(e){e.isDirty=!0}const Ho=new WeakMap;function Io(e,t){if(!H(t))throw new TypeError;let n=Ho.get(t);return _(n)&&(n=function(n){$o(e,t,void 0,n)},Ho.set(t,n)),n}const Fo=o(null),jo=["rendered","connected","disconnected"];function Wo(e,t){const{component:n,def:o,context:r}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},o,r)}let Bo=0;const Vo=new WeakMap;function Ko(e,t,n=[]){return t.apply(e,n)}function Go(e,t,n){e[t]=n}function zo(e,t){return e[t]}function Uo(e){tr(e)}function qo(e){const t=Zo(e);Eo(7,t),1===t.state&&Xo(e),ir(t),tr(t),Mo(7,t)}function Xo(e){Yo(Zo(e))}function Yo(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){D(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Fo;t&&Wo(e,t);sr(e)&&function(e){const{wiredDisconnecting:t}=e.context;ur(e,e,j,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),j)}(e);const{disconnectedCallback:n}=e.def;_(n)||(vo(5,e),Po(e,n),Co(5,e))}(e),lr(e),function(e){const{aChildren:t}=e;cr(t)}(e)}}function Jo(e,t,n){const{mode:r,owner:i,tagName:s}=n,l=An(t),c={elm:e,def:l,idx:Bo++,state:0,isScheduled:!1,isDirty:!0,tagName:s,mode:r,owner:i,children:ce,aChildren:ce,velements:ce,cmpProps:o(null),cmpFields:o(null),cmpSlots:o(null),oar:o(null),cmpTemplate:null,renderMode:l.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:le,wiredConnecting:ce,wiredDisconnecting:ce},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:Ko,setHook:Go,getHook:zo};return c.shadowMode=function(e){const{def:t}=e;let n;if(ge)if(0===t.renderMode)n=0;else if(me)if(ie.ENABLE_MIXED_SHADOW_MODE)if("any"===t.shadowSupportMode)n=0;else{const t=function(e){let t=e.owner;for(;!R(t)&&0===t.renderMode;)t=t.owner;return t}(e);n=R(t)||0!==t.shadowMode?1:0}else n=1;else n=1;else n=0;return n}(c),c.tro=Ro(c),function(e,t){const n=No;let o;vo(0,e),No=e;try{const r=new t;if(No.component!==r)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){o=Object(e)}finally{if(Co(0,e),No=n,!_(o))throw lt(e,o),o}}(c,l.ctor),sr(c)&&function(e){const{context:t,def:{wire:n}}=e,o=t.wiredConnecting=[],r=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=dr.get(i);if(!_(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=hr(e,t,s),c=s.dynamic.length>0;C.call(o,(()=>{n.connect(),ie.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),C.call(r,(()=>{n.disconnect(),l()}))}}}(c),c}function Qo(e,t){Vo.set(e,t)}function Zo(e){return Vo.get(e)}function er(e){return Vo.get(e)}function tr(e){if(L(e.isDirty)){!function(e,t){const{renderRoot:n,children:o}=e;e.children=t,(t.length>0||o.length>0)&&o!==t&&ur(e,e,(()=>{vo(2,e)}),(()=>{jn(o,t,n)}),(()=>{Co(2,e)}));1===e.state&&nr(e)}(e,Lo(e))}}function nr(e){const{def:{renderedCallback:t}}=e;if(L(pe))return;const{rendered:n}=Fo;n&&Wo(e,n),_(t)||(vo(4,e),Po(e,t),Co(4,e))}let or=[];function rr(){Eo(8);const e=or.sort(((e,t)=>e.idx-t.idx));or=[];for(let t=0,n=e.length;t<n;t+=1){const o=e[t];try{tr(o)}catch(o){throw t+1<n&&(0===or.length&&ue(rr),S.apply(or,k.call(e,t+1))),Mo(8),o}}Mo(8)}function ir(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Fo;n&&Wo(e,n),sr(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:o}=e.def;_(o)||(vo(3,e),Po(e,o),Co(3,e))}function sr(e){return c(e.def.wire).length>0}function lr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!_(n)){const e=er(n);_(e)||Yo(e)}}}function cr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!R(n)&&!_(n.elm))switch(n.type){case 2:cr(n.children);break;case 3:Yo(Zo(n.elm));break}}}function ar(e){const{children:t,renderRoot:n}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];R(o)||_(o.elm)||ve(o.elm,n)}e.children=ce,lr(e),e.velements=ce}function ur(e,t,n,o,r){let i;n();try{o()}catch(e){i=Object(e)}finally{if(r(),!_(i)){lt(e,i);const n=R(t)?void 0:function(e){let t=e;for(;!R(t);){if(!_(t.def.errorCallback))return t;t=t.owner}}(t);if(_(n))throw i;ar(e),vo(6,e);Po(n,n.def.errorCallback,[i,i.wcStack]),Co(6,e)}}}const dr=new Map;class fr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function hr(e,t,n){const{method:o,adapter:r,configCallback:s,dynamic:l}=n,c=_(o)?function(e,t){const{cmpFields:n}=e;return o=>{o!==e.cmpFields[t]&&(n[t]=o,rt(e,t))}}(e,t):function(e,t){return n=>{ur(e,e.owner,j,(()=>{t.call(e.component,n)}),j)}}(e,o);let a,u;i(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(c,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),ur(e,e,j,(()=>{u=new r(c)}),j);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let o=!1;const r=new ot((()=>{!1===o&&(o=!0,Promise.resolve().then((()=>{o=!1,r.reset(),i()})))})),i=()=>{let o;r.observe((()=>o=t(e))),n(o)};return{computeConfigAndUpdate:i,ro:r}}(e.component,s,(t=>{ur(e,e,j,(()=>{u.update(t,a)}),j)}));return _(r.contextSchema)||function(e,t,n){const{adapter:o}=t,r=mr(o);if(_(r))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l}}=e;C.call(s,(()=>{const e=new fr(r,{setNewContext(e){n(e)},setDisconnectedCallback(e){C.call(l,e)}});Re(i,e)}))}(e,n,(t=>{a!==t&&(a=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const pr=new Map;function mr(e){return pr.get(e)}function gr(e,t,n,o){t.adapter&&(t=t.adapter);const r={adapter:t,method:e.value,configCallback:n,dynamic:o};dr.set(e,r)}function wr(e,t,n,o){t.adapter&&(t=t.adapter);const r={adapter:t,configCallback:n,dynamic:o};dr.set(e,r)}let yr=!1;function br(e){yr=!1,ir(e),vr(e),yr&&function(e,t){ct("error",e,t)}("Hydration completed with errors.",e)}function vr(e){const t=Lo(e);e.children=t;const n=e.renderRoot;Er(Ke(n),t,n),nr(e)}function Cr(e,t){let n;switch(t.type){case 0:n=function(e,t){var n;if(!Tr(t,e,3))return Mr(e,t);return Oe(e,null!==(n=t.text)&&void 0!==n?n:null),t.elm=e,e}(e,t);break;case 1:n=function(e,t){var n;if(!Tr(t,e,8))return Mr(e,t);return xe(e,"nodeValue",null!==(n=t.text)&&void 0!==n?n:null),t.elm=e,e}(e,t);break;case 2:n=function(e,t){if(!Tr(t,e,1)||!Sr(t,e))return Mr(e,t);t.elm=e;const{context:n}=t.data,o=Boolean(!_(n)&&!_(n.lwc)&&"manual"===n.lwc.dom);if(o){const{props:n}=t.data;_(n)||_(n.innerHTML)||Se(e,"innerHTML")===n.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:he(n,"innerHTML")}))}kr(t),o||Er(Ke(e),t.children,e,t.owner);return e}(e,t);break;case 3:n=function(e,t){if(!Tr(t,e,1)||!Sr(t,e))return Mr(e,t);const{sel:n,mode:o,ctor:r,owner:i}=t,s=Jo(e,r,{mode:o,owner:i,tagName:n});t.elm=e,t.vm=s,eo(t,s),kr(t),ir(s),0!==s.renderMode&&Er(Ke(e),t.children,e);return vr(s),e}(e,t)}return ke(n)}function Er(e,t,n,o){let r=e,i=null;for(let e=0;e<t.length;e++){const o=t[e];R(o)||(r?(r=Cr(r,o),i=o.elm):(yr=!0,Bn(o,n,i),i=o.elm))}if(r){yr=!0;do{const e=r;r=ke(r),Qn(e,n)}while(r)}}function Mr(e,t,n){yr=!0;const o=Se(e,"parentNode");return Bn(t,o,e),Qn(e,o),t.elm}function kr(e){Fn(e),Dn(null,e)}function Tr(e,t,n){return Se(t,"nodeType")===n}function Sr(e,t){if(e.sel.toLowerCase()!==Se(t,"tagName").toLowerCase())return!1;const n=function(e,t){const{data:{attrs:n={}}}=e;let o=!0;for(const[e,r]of Object.entries(n)){const n=Ne(t,e);String(r)!==n&&(o=!1)}return o}(e,t),o=function(e,t){const{data:{className:n,classMap:o}}=e;let r=!0;if(_(n)||String(n)===Se(t,"className")){if(!_(o)){const e=Le(t);let n="";for(const t in o)n+=" "+t,e.contains(t)||(r=!1);n.trim(),e.length>f(o).length&&(r=!1)}}else r=!1;return r}(e,t),r=function(e,t){const{data:{style:n,styleDecls:o}}=e,r=Ne(t,"style")||"";let i=!0;if(_(n)||n===r){if(!_(o)){const e=function(e){const t={},n=e.split(de);for(const e of n)if(e){const[n,o]=e.split(fe);void 0!==n&&void 0!==o&&(t[n.trim()]=o.trim())}return t}(r),t=[];for(let n=0,r=o.length;n<r;n++){const[r,s,l]=o[n];t.push(`${r}: ${s+(l?" important!":"")}`);const c=e[r];_(c)?i=!1:c.startsWith(s)?l&&!c.endsWith("!important")&&(i=!1):i=!1}f(e).length>o.length&&(i=!1),b.call(t,";")}}else i=!1;return i}(e,t);return n&&o&&r}let xr=!1;const Or=o(null),Nr=document.head||document.body||document,Ar=H(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),Pr=Ar&&l(document.adoptedStyleSheets,"length").writable,$r=o(null),_r=o(null),Rr=new WeakMap;let Lr,Dr,Hr;if(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}}())Lr=customElements.get.bind(customElements),Dr=customElements.define.bind(customElements),Hr=HTMLElement;else{const e=o(null),t=new WeakMap;Dr=function(n,o){if(n!==$.call(n)||e[n])throw new TypeError("Invalid Registration");e[n]=o,t.set(o,n)},Lr=function(t){return e[t]},Hr=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");const{constructor:n}=this,o=t.get(n);if(!o)throw new TypeError("Invalid Construction");const r=document.createElement(o);return p(r,n.prototype),r},Hr.prototype=HTMLElement.prototype}let Ir=!1;function Fr(e){Ir=e}const jr=U.$isNativeShadowRootDefined$,Wr=u.call(Element.prototype,"$shadowToken$");function Br(e,t,n){const o=Jo(e,t,{mode:"open",owner:null,tagName:e.tagName.toLowerCase()});for(const[t,o]of Object.entries(n))e[t]=o;return o}function Vr(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(!H(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!I(n)||R(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(er(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{Fr(!0);br(Br(e,t,n)),Fr(!1)}catch(o){console.error("Recovering from error while hydrating: ",o),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!R(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!R(e.firstChild);)e.removeChild(e.firstChild)}(e,t),Br(e,t,n),Fr(!1),qo(e)}finally{Fr(!1)}}Te=function(e,t){return Ir?e.shadowRoot:e.attachShadow(t)},Me=function(e){return document.createComment(e)},Ce=function(e,t){return _(t)?document.createElement(e):document.createElementNS(t,e)},Ee=function(e){return document.createTextNode(e)},Je=Dr,Re=function(e,t){return e.dispatchEvent(t)},Ne=function(e,t,n){return _(n)?e.getAttribute(t):e.getAttributeNS(n,t)},He=function(e){return e.getBoundingClientRect()},Ve=function(e){return e.childNodes},Be=function(e){return e.children},Le=function(e){return e.classList},Qe=Lr,We=function(e,t){return e.getElementsByClassName(t)},je=function(e,t){return e.getElementsByTagName(t)},Ke=function(e){return e.firstChild},Ge=function(e){return e.firstElementChild},ze=function(e){return e.lastChild},Ue=function(e){return e.lastElementChild},Se=function(e,t){return e[t]},we=Hr,be=function(e,t,n){t.insertBefore(e,n)},Xe=function(e){if(!_(Or[e]))return;Or[e]=!0;const t=document.createElement("style");t.type="text/css",t.textContent=e,Nr.appendChild(t)},Ye=function(e,t){Ar?function(e,t){let n=_r[e];_(n)&&(n=new CSSStyleSheet,n.replaceSync(e),_r[e]=n);const{adoptedStyleSheets:o}=t;o.includes(n)||(Pr?o.push(n):t.adoptedStyleSheets=[...o,n])}(e,t):function(e,t){let n=Rr.get(t);if(_(n)&&(n=o(null),Rr.set(t,n)),n[e])return;n[e]=!0;let r=$r[e];_(r)?(r=document.createElement("style"),r.type="text/css",r.textContent=e,$r[e]=r):r=r.cloneNode(!0),t.appendChild(r)}(e,t)},qe=function(e){return e.isConnected},ye=function(){return Ir},me=jr,ge=Wr,ke=function(e){return e.nextSibling},Ie=function(e,t){return e.querySelector(t)},Fe=function(e,t){return e.querySelectorAll(t)},ve=function(e,t){t.removeChild(e)},Pe=function(e,t,n){_(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},_e=function(e,t,n,o){e.removeEventListener(t,n,o)},Ae=function(e,t,n,o){return _(o)?e.setAttribute(t,n):e.setAttributeNS(o,t,n)},De=function(e,t,n,o){e.style.setProperty(t,n,o?"important":"")},xe=function(e,t,n){e[t]=n},Oe=function(e,t){e.nodeValue=t},pe=!1,$e=function(e,t,n,o){e.addEventListener(t,n,o)};const Kr=new WeakSet;function Gr(e){const t=function(e){return An(e).bridge}(e);return class extends t{constructor(){super(),this.isConnected?(Vr(this,e,{}),Kr.add(this)):Jo(this,e,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){Kr.has(this)?Kr.delete(this):qo(this)}disconnectedCallback(){Xo(this)}}}const zr=Node,Ur=new WeakMap,qr=new WeakMap;function Xr(e,t){const n=t.get(e);return _(n)||n(e),e}const{appendChild:Yr,insertBefore:Jr,removeChild:Qr,replaceChild:Zr}=zr.prototype;n(zr.prototype,{appendChild(e){return Xr(Yr.call(this,e),Ur)},insertBefore(e,t){return Xr(Jr.call(this,e,t),Ur)},removeChild(e){return Xr(Qr.call(this,e),qr)},replaceChild(e,t){const n=Zr.call(this,e,t);return Xr(n,qr),Xr(e,Ur),n}});const ei=Node;const ti=new Map;i(Qt,"CustomElementConstructor",{get(){return function(e){if(e===Qt)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=ti.get(e);return _(t)&&(t=Gr(e),ti.set(e,t)),t}(this)}}),s(Qt),h(Qt.prototype),e.LightningElement=Qt,e.__unstable__ProfilerControl=bo,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=mr(e);if(!_(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){pr.set(e,t)}(e,t);const n=new WeakSet;return(e,o)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:r,consumerDisconnectedCallback:i}=o;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,o={provide(e){t(e)}};n((()=>{_(i)||i(o)})),r(o),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!I(t)||R(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${B(t)}".`);const n=t.is;if(!H(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const o=$n(e);let r=!1;const i=new o((o=>{Jo(o,n,{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),Ur.set(o,qo),qr.set(o,Xo),r=!0}));return r||console.error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`),i},e.getComponentConstructor=function(e){let t=null;if(e instanceof HTMLElement){const n=er(e);_(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=An(e),{ctor:n,name:o,props:r,propsConfig:i,methods:s}=t,l={};for(const e in r)l[e]={config:i[e]||0,type:"any",attr:Y(e)};const c={};for(const e in s)c[e]=s[e].value;return{ctor:n,name:o,props:l,methods:c}},e.hydrateComponent=Vr,e.isComponentConstructor=Nn,e.isNodeFromTemplate=function(e){if(D(e instanceof ei))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&D(u.call(a(t),"synthetic")))||Wr&&!_(e.$shadowResolver$)},e.readonly=function(e){return Yt.getReadOnlyProxy(e)},e.register=function(e){for(let t=0;t<jo.length;++t){const n=jo[t];if(n in e){let t=Fo[n];_(t)&&(Fo[n]=t=[]),C.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return H(e)&&_o.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:r,publicMethods:s,wire:c,track:a,fields:u}=t,d=o(null),f=o(null),h=o(null),p=o(null),m=o(null),g=o(null);let w;if(!_(r))for(const e in r){const t=r[e];if(g[e]=t.config,w=l(n,e),t.config>0){if(_(w))throw new Error;w=dn(e,w)}else w=_(w)||_(w.get)?an(e):dn(e,w);f[e]=w,i(n,e,w)}if(_(s)||x.call(s,(e=>{if(w=l(n,e),_(w))throw new Error;d[e]=w})),!_(c))for(const e in c){const{adapter:t,method:o,config:r,dynamic:s=[]}=c[e];if(w=l(n,e),1===o){if(_(w))throw new Error;h[e]=w,gr(w,t,r,s)}else w=ln(e),p[e]=w,wr(w,t,r,s),i(n,e,w)}if(!_(a))for(const e in a)w=l(n,e),w=cn(e),i(n,e,w);if(!_(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const o=!_(r)&&t in r,i=!_(a)&&t in a;o||i||(m[t]=fn(t))}return function(e,t){hn.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return mn.add(e),i(e,"stylesheetTokens",{get(){const{stylesheetToken:e}=this;return _(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=_(e)?void 0:e.shadowAttribute}}),e},e.sanitizeAttribute=function(e,t,n,o){return o},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(_(re[e])){const n=f(re).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=ie[e];if(!_(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}".`);i(ie,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(xr,"Hooks are already overridden, only one definition is allowed."),xr=!0,n=e.sanitizeHtmlContent,ao=n},e.swapComponent=function(e,t){if(!ie.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!ie.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!ie.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return Yt.getProxy(e);throw new Error},e.unwrap=function(e){return Yt.unwrapProxy(e)},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -293,7 +293,7 @@
293
293
  const XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace';
294
294
  const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
295
295
  const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
296
- /** version: 2.11.3 */
296
+ /** version: 2.11.6 */
297
297
 
298
298
  /*
299
299
  * Copyright (c) 2018, salesforce.com, inc.
@@ -436,7 +436,7 @@
436
436
  */
437
437
  function setFeatureFlagForTest(name, value) {
438
438
  }
439
- /** version: 2.11.3 */
439
+ /** version: 2.11.6 */
440
440
 
441
441
  /* proxy-compat-disable */
442
442
 
@@ -2040,6 +2040,12 @@
2040
2040
  return isUndefined$1(meta) ? defaultMeta : meta;
2041
2041
  }
2042
2042
 
2043
+ /*
2044
+ * Copyright (c) 2018, salesforce.com, inc.
2045
+ * All rights reserved.
2046
+ * SPDX-License-Identifier: MIT
2047
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
2048
+ */
2043
2049
  const signedTemplateSet = new Set();
2044
2050
  function defaultEmptyTemplate() {
2045
2051
  return [];
@@ -2054,6 +2060,30 @@
2054
2060
  */
2055
2061
  function registerTemplate(tpl) {
2056
2062
  signedTemplateSet.add(tpl);
2063
+ // FIXME[@W-10950976]: the template object should be frozen, and it should not be possible to set
2064
+ // the stylesheets or stylesheetToken(s). For backwards compat, though, we shim stylesheetTokens
2065
+ // on top of stylesheetToken for anyone who is accessing the old internal API.
2066
+ // Details: https://salesforce.quip.com/v1rmAFu2cKAr
2067
+ defineProperty(tpl, 'stylesheetTokens', {
2068
+ get() {
2069
+ const { stylesheetToken } = this;
2070
+ if (isUndefined$1(stylesheetToken)) {
2071
+ return stylesheetToken;
2072
+ }
2073
+ // Shim for the old `stylesheetTokens` property
2074
+ // See https://github.com/salesforce/lwc/pull/2332/files#diff-7901555acef29969adaa6583185b3e9bce475cdc6f23e799a54e0018cb18abaa
2075
+ return {
2076
+ hostAttribute: `${stylesheetToken}-host`,
2077
+ shadowAttribute: stylesheetToken,
2078
+ };
2079
+ },
2080
+ set(value) {
2081
+ // If the value is null or some other exotic object, you would be broken anyway in the past
2082
+ // because the engine would try to access hostAttribute/shadowAttribute, which would throw an error.
2083
+ // However it may be undefined in newer versions of LWC, so we need to guard against that case.
2084
+ this.stylesheetToken = isUndefined$1(value) ? undefined : value.shadowAttribute;
2085
+ },
2086
+ });
2057
2087
  // chaining this method as a way to wrap existing
2058
2088
  // assignment of templates easily, without too much transformation
2059
2089
  return tpl;
@@ -5138,7 +5168,7 @@
5138
5168
  hooksAreSet = true;
5139
5169
  setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
5140
5170
  }
5141
- /* version: 2.11.3 */
5171
+ /* version: 2.11.6 */
5142
5172
 
5143
5173
  /*
5144
5174
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5745,7 +5775,7 @@
5745
5775
  });
5746
5776
  freeze(LightningElement);
5747
5777
  seal(LightningElement.prototype);
5748
- /* version: 2.11.3 */
5778
+ /* version: 2.11.6 */
5749
5779
 
5750
5780
  exports.LightningElement = LightningElement;
5751
5781
  exports.__unstable__ProfilerControl = profilerControl;
@@ -362,9 +362,9 @@
362
362
  */
363
363
  // Increment whenever the LWC template compiler changes
364
364
 
365
- var LWC_VERSION = "2.11.3";
365
+ var LWC_VERSION = "2.11.6";
366
366
  var LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
367
- /** version: 2.11.3 */
367
+ /** version: 2.11.6 */
368
368
 
369
369
  /*
370
370
  * Copyright (c) 2018, salesforce.com, inc.
@@ -542,7 +542,7 @@
542
542
  setFeatureFlag(name, value);
543
543
  }
544
544
  }
545
- /** version: 2.11.3 */
545
+ /** version: 2.11.6 */
546
546
 
547
547
  /* proxy-compat-disable */
548
548
 
@@ -3473,6 +3473,13 @@
3473
3473
  }
3474
3474
  }
3475
3475
  }
3476
+ /*
3477
+ * Copyright (c) 2018, salesforce.com, inc.
3478
+ * All rights reserved.
3479
+ * SPDX-License-Identifier: MIT
3480
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
3481
+ */
3482
+
3476
3483
 
3477
3484
  var signedTemplateSet = new Set();
3478
3485
 
@@ -3496,7 +3503,33 @@
3496
3503
  checkVersionMismatch(tpl, 'template');
3497
3504
  }
3498
3505
 
3499
- signedTemplateSet.add(tpl); // chaining this method as a way to wrap existing
3506
+ signedTemplateSet.add(tpl); // FIXME[@W-10950976]: the template object should be frozen, and it should not be possible to set
3507
+ // the stylesheets or stylesheetToken(s). For backwards compat, though, we shim stylesheetTokens
3508
+ // on top of stylesheetToken for anyone who is accessing the old internal API.
3509
+ // Details: https://salesforce.quip.com/v1rmAFu2cKAr
3510
+
3511
+ defineProperty(tpl, 'stylesheetTokens', {
3512
+ get: function get() {
3513
+ var stylesheetToken = this.stylesheetToken;
3514
+
3515
+ if (isUndefined$1(stylesheetToken)) {
3516
+ return stylesheetToken;
3517
+ } // Shim for the old `stylesheetTokens` property
3518
+ // See https://github.com/salesforce/lwc/pull/2332/files#diff-7901555acef29969adaa6583185b3e9bce475cdc6f23e799a54e0018cb18abaa
3519
+
3520
+
3521
+ return {
3522
+ hostAttribute: "".concat(stylesheetToken, "-host"),
3523
+ shadowAttribute: stylesheetToken
3524
+ };
3525
+ },
3526
+ set: function set(value) {
3527
+ // If the value is null or some other exotic object, you would be broken anyway in the past
3528
+ // because the engine would try to access hostAttribute/shadowAttribute, which would throw an error.
3529
+ // However it may be undefined in newer versions of LWC, so we need to guard against that case.
3530
+ this.stylesheetToken = isUndefined$1(value) ? undefined : value.shadowAttribute;
3531
+ }
3532
+ }); // chaining this method as a way to wrap existing
3500
3533
  // assignment of templates easily, without too much transformation
3501
3534
 
3502
3535
  return tpl;
@@ -7961,7 +7994,7 @@
7961
7994
  hooksAreSet = true;
7962
7995
  setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
7963
7996
  }
7964
- /* version: 2.11.3 */
7997
+ /* version: 2.11.6 */
7965
7998
 
7966
7999
  /*
7967
8000
  * Copyright (c) 2018, salesforce.com, inc.
@@ -8741,7 +8774,7 @@
8741
8774
  });
8742
8775
  freeze(LightningElement);
8743
8776
  seal(LightningElement.prototype);
8744
- /* version: 2.11.3 */
8777
+ /* version: 2.11.6 */
8745
8778
 
8746
8779
  exports.LightningElement = LightningElement;
8747
8780
  exports.__unstable__ProfilerControl = profilerControl;