lwc 2.11.0 → 2.11.1

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 +13 -9
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +13 -9
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +10 -6
  5. package/dist/engine-dom/iife/es5/engine-dom.js +14 -10
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +11 -6
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +13 -9
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +10 -6
  11. package/dist/engine-dom/umd/es5/engine-dom.js +14 -10
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +11 -6
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +13 -9
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
  16. package/dist/engine-server/esm/es2017/engine-server.js +13 -9
  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)}function de(e,t){const n={};for(const o of Object.keys(e))o!==t&&(n[o]=e[o]);return n}let fe,he,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;const Je=new WeakMap;let Qe=null;function Ze(e,t){const n=Je.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 et(e,t){if(null===Qe)return;const n=Qe,r=function(e){let t=Je.get(e);if(_(t)){const n=o(null);t=n,Je.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 tt{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=Qe;let n;Qe=this;try{e()}catch(e){n=Object(e)}finally{if(Qe=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 nt(e,t){Ze(e.component,t)}function ot(e,t){et(e.component,t)}function rt(e){return`<${$.call(e.tagName)}>`}function it(e,t){if(!d(t)&&_(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!R(n);)C.call(t,rt(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}function lt(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+rt(e)),e=e.owner,n+="\t";return b.call(t,"\n")}(n)}`);try{throw new Error(o)}catch(t){console[e](t)}}const st="undefined"!=typeof HTMLElement?HTMLElement:function(){},ct=st.prototype;function at(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:at("offsetHeight")},offsetLeft:{readOnly:!0,error:at("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:at("offsetTop")},offsetWidth:{readOnly:!0,error:at("offsetWidth")},role:{attribute:"role"}});let ut,dt=null;function ft(e,t){return e!==dt||t!==ut}function ht(e,t){dt=null,ut=void 0}function pt(e,t){dt=e,ut=t}const mt=o(null);x.call(f(z),(e=>{const t=V(ct,e);_(t)||(mt[e]=t)})),x.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=V(ct,e);_(t)||(mt[e]=t)}));const{isArray:gt}=Array,{prototype:wt,getPrototypeOf:yt,create:bt,defineProperty:vt,isExtensible:Ct,getOwnPropertyDescriptor:Et,getOwnPropertyNames:Mt,getOwnPropertySymbols:kt,preventExtensions:Tt,hasOwnProperty:St}=Object,{push:xt,concat:Ot}=Array.prototype;function Nt(e){return void 0===e}function At(e){return"function"==typeof e}const Pt=new WeakMap;function $t(e,t){Pt.set(e,t)}const _t=e=>Pt.get(e)||e;class Rt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(St.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;Nt(n)||(e.get=this.wrapGetter(n)),Nt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,o=Et(n,t);if(!Nt(o)){const n=this.wrapDescriptor(o);vt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;Ot.call(Mt(t),kt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;Nt(n)||St.call(e,n)||vt(e,n,bt(null)),Tt(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=Nt(n)||St.call(t,n)?[]:[n];return xt.apply(o,Mt(t)),xt.apply(o,kt(t)),o}isExtensible(e){const{originalTarget:t}=this;return!!Ct(e)&&(!!Ct(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return yt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:o,tagPropertyKey:r}}=this;o(n,t);let i=Et(n,t);if(Nt(i)){if(t!==r)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},vt(e,r,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const Lt=new WeakMap,Dt=new WeakMap,Ht=new WeakMap,It=new WeakMap;class Ft extends Rt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Lt.get(e);if(!Nt(t))return t;const n=this,o=function(){return n.wrapValue(e.call(_t(this)))};return Lt.set(e,o),Ht.set(o,e),o}wrapSetter(e){const t=Dt.get(e);if(!Nt(t))return t;const n=function(t){e.call(_t(this),_t(t))};return Dt.set(e,n),It.set(n,e),n}unwrapDescriptor(e){if(St.call(e,"value"))e.value=_t(e.value);else{const{set:t,get:n}=e;Nt(n)||(e.get=this.unwrapGetter(n)),Nt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Ht.get(e);if(!Nt(t))return t;const n=this,o=function(){return _t(e.call(n.wrapValue(this)))};return Lt.set(o,e),Ht.set(e,o),o}unwrapSetter(e){const t=It.get(e);if(!Nt(t))return t;const n=this,o=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Dt.set(o,e),It.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&&gt(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(Ct(e)){const{originalTarget:t}=this;if(Tt(t),Ct(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:o,membrane:{valueMutated:r,tagPropertyKey:i}}=this;return t===i&&!St.call(o,t)||(vt(o,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),r(o,t),!0)}}const jt=new WeakMap,Wt=new WeakMap;class Bt extends Rt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=jt.get(e);if(!Nt(t))return t;const n=this,o=function(){return n.wrapValue(e.call(_t(this)))};return jt.set(e,o),o}wrapSetter(e){const t=Wt.get(e);if(!Nt(t))return t;const n=function(e){};return Wt.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 Vt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(gt(e))return!0;const t=yt(e);return t===wt||null===t||null===yt(t)}const Kt=(e,t)=>{},Gt=(e,t)=>{};function zt(e){return gt(e)?[]:{}}const Ut=Symbol.for("@@lockerLiveValue"),qt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:o,tagPropertyKey:r}=e;this.valueMutated=At(t)?t:Gt,this.valueObserved=At(n)?n:Kt,this.valueIsObservable=At(o)?o:Vt,this.tagPropertyKey=r}getProxy(e){const t=_t(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=_t(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return _t(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(Nt(t)){const n=new Ft(this,e);t=new Proxy(zt(e),n),$t(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(Nt(t)){const n=new Bt(this,e);t=new Proxy(zt(e),n),$t(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:et,valueMutated:Ze,tagPropertyKey:Ut});function Xt(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=er(this);if(!xo(t))return ot(t,e),n.call(t.elm)},set(t){const n=er(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,nt(n,e)),o.call(n.elm,t)}}}const Yt=function(){if(R(So))throw new ReferenceError("Illegal constructor");const e=So,{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[Ut]=void 0,Zo(r,e),Zo(n,e),1===e.renderMode?e.renderRoot=Jt(e):e.renderRoot=n,this};function Jt(e){const{elm:t,mode:n,shadowMode:o,def:{ctor:r}}=e,i=Me(t,{"$$lwc-synthetic-mode":1===o,delegatesFocus:Boolean(r.delegatesFocus),mode:n});return e.shadowRoot=i,Zo(i,e),i}Yt.prototype={constructor:Yt,dispatchEvent(e){const{elm:t}=er(this);return $e(t,e)},addEventListener(e,t,n){const o=er(this),{elm:r}=o,i=Lo(o,t);Ae(r,e,i,n)},removeEventListener(e,t,n){const o=er(this),{elm:r}=o,i=Lo(o,t);Pe(r,e,i,n)},hasAttribute(e){const{elm:t}=er(this);return!R(xe(t,e))},hasAttributeNS(e,t){const{elm:n}=er(this);return!R(xe(n,t,e))},removeAttribute(e){const{elm:t}=er(this);pt(t,e),Ne(t,e),ht()},removeAttributeNS(e,t){const{elm:n}=er(this);pt(n,t),Ne(n,t,e),ht()},getAttribute(e){const{elm:t}=er(this);return xe(t,e)},getAttributeNS(e,t){const{elm:n}=er(this);return xe(n,t,e)},setAttribute(e,t){const n=er(this),{elm:o}=n;pt(o,e),Oe(o,e,t),ht()},setAttributeNS(e,t,n){const o=er(this),{elm:r}=o;pt(r,t),Oe(r,t,n,e),ht()},getBoundingClientRect(){const e=er(this),{elm:t}=e;return Le(t)},get isConnected(){const{elm:e}=er(this);return ze(e)},get classList(){const e=er(this),{elm:t}=e;return _e(t)},get template(){return er(this).shadowRoot},get shadowRoot(){return null},render(){return er(this).def.template},toString(){return`[object ${er(this).def.name}]`}};const Qt=o(null),Zt=["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild"];function en(e){switch(e){case"children":return je;case"childNodes":return We;case"firstChild":return Be;case"firstElementChild":return Ve;case"lastChild":return Ke;case"lastElementChild":return Ge}}for(const e of Zt)Qt[e]={get(){const t=er(this),{elm:n}=t;return en(e)(n)},configurable:!0,enumerable:!0};const tn=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];function nn(e){switch(e){case"getElementsByClassName":return Fe;case"getElementsByTagName":return Ie;case"querySelector":return De;case"querySelectorAll":return He}}for(const e of tn)Qt[e]={value(t){const n=er(this),{elm:o}=n;return nn(e)(o,t)},configurable:!0,enumerable:!0,writable:!0};r(Yt.prototype,Qt);const on=o(null);for(const e in mt)on[e]=Xt(e,mt[e]);function rn(e){return{get(){const t=er(this);return ot(t,e),t.cmpFields[e]},set(t){const n=er(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,nt(n,e))},enumerable:!0,configurable:!0}}function ln(e){return{get(){const t=er(this);return ot(t,e),t.cmpFields[e]},set(t){const n=er(this),o=qt.getProxy(t);o!==n.cmpFields[e]&&(n.cmpFields[e]=o,nt(n,e))},enumerable:!0,configurable:!0}}function sn(e){return{get(){const t=er(this);if(!xo(t))return ot(t,e),t.cmpProps[e]},set(t){const n=er(this);n.cmpProps[e]=t,nt(n,e)},enumerable:!0,configurable:!0}}r(Yt.prototype,on),i(Yt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class cn extends tt{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 an(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=er(this);if(o)if(ie.ENABLE_REACTIVE_SETTER){let r=n.oar[e];_(r)&&(r=n.oar[e]=new cn(n,o)),r.reset(t),r.observe((()=>{o.call(this,t)}))}else o.call(this,t)},enumerable:r,configurable:i}}function un(e){return{get(){const t=er(this);return ot(t,e),t.cmpFields[e]},set(t){const n=er(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,nt(n,e))},enumerable:!0,configurable:!0}}const dn=new Map;const fn={apiMethods:se,apiFields:se,apiFieldsConfig:se,wiredMethods:se,wiredFields:se,observedFields:se};const hn=new Set;function pn(){return[]}hn.add(pn);const mn=o(null),gn=o(null);function wn(e){let t=mn[e];return _(t)&&(t=mn[e]=function(){const t=er(this),{getHook:n}=t;return n(t.component,e)}),t}function yn(e){let t=gn[e];return _(t)&&(t=gn[e]=function(t){const n=er(this),{setHook:o}=n;t=qt.getReadOnlyProxy(t),o(n.component,e,t)}),t}function bn(e){return function(){const t=er(this),{callHook:n,component:o}=t,r=o[e];return n(t.component,r,k.call(arguments))}}function vn(e,t){return function(n,o,r){if(o===r)return;const i=e[n];_(i)?_(t)||t.apply(this,arguments):ft(this,n)&&(this[i]=r)}}function Cn(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:wn(n),set:yn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:bn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:vn(s,c)},i(l,"observedAttributes",{get:()=>[...a,...f(s)]}),r(l.prototype,u),l}const En=Cn(st,c(mt),[]);function Mn(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function kn(e){return H(e)&&u.call(e,"__circular__")}l(En),h(En.prototype);const Tn=new WeakMap;function Sn(e){const{shadowSupportMode:t,renderMode:i}=e,l=function(e){const t=dn.get(e);return _(t)?fn: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(kn(t)){const e=Mn(t);t=e===t?Yt:e}return t}(e),E=C!==Yt?On(C):Nn,M=Cn(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 Ao.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 xn(e){if(!H(e))return!1;if(e.prototype instanceof Yt)return!0;let t=e;do{if(kn(t)){const e=Mn(t);if(e===t)return!0;t=e}if(t===Yt)return!0}while(!R(t)&&(t=a(t)));return!1}function On(e){let t=Tn.get(e);if(_(t)){if(kn(e)){return t=On(Mn(e)),Tn.set(e,t),t}if(!xn(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=Sn(e),Tn.set(e,t)}return t}const Nn={ctor:Yt,name:Yt.name,props:on,propsConfig:se,methods:se,renderMode:1,shadowSupportMode:"reset",wire:se,bridge:En,template:pn,render:Yt.prototype.render};function An(e){e=e.toLowerCase();let t=Ye(e);return _(t)?(t=class extends me{constructor(e){super(),H(e)&&e(this)}},Xe(e,t),t):t}function Pn(e){const{type:t}=e;return 2===t||3===t}function $n(e,t){return e.key===t.key&&e.sel===t.sel}function _n(e,t){return"input"===e&&("value"===t||"checked"===t)}function Rn(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!==(_n(l,e)?ke(i,e):o[e]))&&Te(i,e,t)}}const Ln=o(null);function Dn(e){if(null==e)return se;e=F(e)?e:e+"";let t=Ln[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),Ln[e]=t,t}function Hn(e){const{elm:t,data:{on:n}}=e;if(!_(n))for(const e in n){const o=n[e];Ae(t,e,o)}}function In(e,t,n){var o;o=t,Qn.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;)Kn(l)?Kn(s)?Kn(p)?Kn(m)?$n(l,p)?(Fn(l,p),l=e[++o],p=t[++r]):$n(s,m)?(Fn(s,m),s=e[--i],m=t[--h]):$n(l,m)?(Fn(l,m),Xn(l.elm,n,Ee(s.elm)),l=e[++o],m=t[--h]):$n(s,p)?(Fn(s,p),Xn(p.elm,n,l.elm),s=e[--i],p=t[++r]):(void 0===a&&(a=Zn(e,o,i)),u=a[p.key],_(u)?(jn(p,n,l.elm),p=t[++r]):(d=e[u],Kn(d)&&(d.sel!==p.sel?jn(p,n,l.elm):(Fn(d,p),g||(g=!0,e=[...e]),e[u]=void 0,Xn(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(!Kn(e)&&o<c);f=Kn(e)?e.elm:null,Wn(t,n,f,r,h+1)}else Vn(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 Wn(t,n,null);if(0===r)return void Vn(e,n,!0);let i=null;for(let o=r-1;o>=0;o-=1){const r=e[o],l=t[o];l!==r&&(Kn(r)?Kn(l)?(Fn(r,l),i=l.elm):Bn(r,n,!0):Kn(l)&&(jn(l,n,i),i=l.elm))}}(e,t,n)}function Fn(e,t){if(e!==t)switch(t.type){case 0:case 1:!function(e,t){t.elm=e.elm,t.text!==e.text&&qn(t)}(e,t);break;case 2:!function(e,t){const n=t.elm=e.elm;Yn(e,t),In(e.children,t.children,n)}(e,t);break;case 3:!function(e,t){const n=t.elm=e.elm,o=t.vm=e.vm;Yn(e,t),_(o)||Jn(t,o);In(e.children,t.children,n),_(o)||Uo(o)}(e,t)}}function jn(e,t,n){switch(e.type){case 0:!function(e,t,n){const{owner:o}=e,r=e.elm=ve(e.text);Un(r,o),Xn(r,t,n)}(e,t,n);break;case 1:!function(e,t,n){const{owner:o}=e,r=e.elm=Ce(e.text);Un(r,o),Xn(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=be(o,l);Un(s,r),function(e,t){const{owner:n}=t;if(zn(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)||Gn(e,r)}}(s,e),e.elm=s,Yn(null,e),Xn(s,t,n),Wn(e.children,s,null)}(e,t,n);break;case 3:!function(e,t,n){const{sel:o,owner:r}=e,i=An(o);let l;const s=new i((t=>{l=function(e,t){let n=tr(e);if(!_(n))return n;const{sel:o,mode:r,ctor:i,owner:l}=t;if(zn(e,l),1===l.shadowMode){const{stylesheetToken:t}=l.context;_(t)||Gn(e,t)}return n=Qo(e,i,{mode:r,owner:l,tagName:o}),n}(t,e)}));if(Un(s,r),e.elm=s,e.vm=l,l)Jn(e,l);else if(e.ctor!==i)throw new TypeError("Incorrect Component Constructor");Yn(null,e),Xn(s,t,n),l&&lr(l);Wn(e.children,s,null),l&&function(e){nr(e)}(l)}(e,t,n)}}function Wn(e,t,n,o=0,r=e.length){for(;o<r;++o){const r=e[o];Kn(r)&&jn(r,t,n)}}function Bn(e,t,n=!1){const{type:o,elm:r}=e;switch(n&&function(e,t){ye(e,t)}(r,t),o){case 2:Vn(e.children,r);break;case 3:{const{vm:t}=e;_(t)||function(e){Jo(e)}(t)}}}function Vn(e,t,n=!1,o=0,r=e.length){for(;o<r;++o){const r=e[o];Kn(r)&&Bn(r,t,n)}}function Kn(e){return null!=e}function Gn(e,t){e.$shadowToken$=t}function zn(e,t){const{cmpTemplate:n,context:o}=t,r=null==n?void 0:n.stylesheetToken;!_(r)&&o.hasScopedStyles&&_e(e).add(r)}function Un(e,t){const{renderRoot:n,renderMode:o,shadowMode:r}=t;pe&&(1!==r&&0!==o||(e.$shadowResolver$=n.$shadowResolver$))}function qn(e){const{elm:t,text:n}=e;Se(t,n)}function Xn(e,t,n){we(e,t,n)}function Yn(e,t){R(e)&&(Hn(t),function(e){const{elm:t,data:{classMap:n}}=e;if(_(n))return;const o=_e(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];Re(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=_e(n),l=Dn(o),s=Dn(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?Oe(n,"style",o):Ne(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&&(pt(r,e),58===N.call(e,3)?Oe(r,e,t,"http://www.w3.org/XML/1998/namespace"):58===N.call(e,5)?Oe(r,e,t,"http://www.w3.org/1999/xlink"):R(t)||_(t)?Ne(r,e):Oe(r,e,t),ht())}}(e,t),Rn(e,t)}function Jn(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="";Pn(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 _o(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 _o(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 _o(e)}}}(t,n),e.aChildren=n,e.children=ce)}const Qn=new WeakMap;function Zn(e,t,n){const o={};for(let r=t;r<=n;++r){const t=e[r];if(Kn(t)){const{key:e}=t;void 0!==e&&(o[e]=r)}}return o}const eo=Symbol.iterator;function to(e,t,n=ce){const o=Mo();const{key:r}=t;return{type:2,sel:e,data:t,children:n,elm:undefined,key:r,owner:o}}function no(e,t,n,o=ce){const r=Mo(),{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(Mo().velements,e)}(l),l}const oo=new Map;let ro=0;function io(e){var t;return t=e,Qn.set(t,1),e}let lo=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const so=l({s:function(e,t,n,o){_(o)||_(o[e])||0===o[e].length||(n=o[e]);const r=Mo(),{renderMode:i,shadowMode:l}=r;return 0===i?(io(n),n):(1===l&&io(n),to("slot",t,n))},h:to,c:no,i:function(e,t){const n=[];if(io(n),_(e)||null===e)return n;const o=e[eo]();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=[];io(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:Mo()}},d:function(e){return null==e?"":String(e)},b:function(e){const t=Mo();if(R(t))throw new Error;const n=t;return function(t){No(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:Mo()}},dc:function(e,t,n,o=ce){if(null==t)return null;if(!xn(t))throw new Error(`Invalid LWC Constructor ${B(t)} for custom element <${e}>.`);let r=oo.get(t);return _(r)&&(r=ro++,oo.set(t,r)),no(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=Mo();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=Mo();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 lo(e)}});function co(e){return`${e}-host`}function ao(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,ao(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=fo(n)),c=R(r)||0===r.shadowMode),C.call(o,l(i,s,c))}}return o}function uo(e,t){const{stylesheets:n,stylesheetToken:o}=t;let r=[];return _(n)||0===n.length||(r=ao(n,o,e)),r}function fo(e){let t=e;for(;!R(t);){if(1===t.renderMode)return t;t=t.owner}return t}function ho(e,t){const{renderMode:n,shadowMode:o}=e;if(1===n&&1===o)for(let e=0;e<t.length;e++)Ue(t[e]);else{if(fe||ge()){const e=b.call(t,"\n");return r=e,so.h("style",{key:"style",attrs:{type:"text/css"}},[so.t(r)])}{const n=function(e){const t=fo(e);return R(t)||1!==t.shadowMode?t:null}(e),o=R(n);for(let e=0;e<t.length;e++)o?Ue(t[e]):qe(t[e],n.shadowRoot)}}var r;return null}let po=!1,mo=j;const go={enableProfiler(){po=!0},disableProfiler(){po=!1},attachDispatcher(e){mo=e,this.enableProfiler()},detachDispatcher(){const e=mo;return mo=j,this.disableProfiler(),e}};function wo(e,t){po&&mo(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function yo(e,t){po&&mo(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function bo(e,t){po&&mo(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 vo(e,t){po&&mo(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 Co=!1,Eo=null;function Mo(){return Eo}function ko(e){Eo=e}function To(e,t){const n=Co,r=Eo;let i=[];return dr(e,e.owner,(()=>{Eo=e,wo(1,e)}),(()=>{const{component:n,context:r,cmpSlots:l,cmpTemplate:s,tro:c}=e;c.observe((()=>{if(t!==s){if(R(s)||ur(e),c=t,!hn.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&&_e(n).remove(co(h)),m&&Ne(n,co(h))),_(l)||0===l.length||(u=s),_(u)||(a&&(_e(n).add(co(u)),d=!0),c&&(Oe(n,co(u),""),f=!0)),o.stylesheetToken=u,o.hasTokenInClass=d,o.hasTokenInAttribute=f}(e,t);const n=uo(e,t);r.styleVNode=0===n.length?null:ho(e,n)}var c;e.velements=[],Co=!0,i=t.call(void 0,so,n,l,r.tplCache);const{styleVNode:a}=r;R(a)||S.call(i,a)}))}),(()=>{Co=n,Eo=r,yo(1,e)})),i}let So=null;function xo(e){return So===e}function Oo(e,t,n){const{component:o,callHook:r,owner:i}=e;dr(e,i,j,(()=>{r(o,t,n)}),j)}function No(e,t,n,o){const{callHook:r,owner:i}=e;dr(e,i,j,(()=>{r(n,t,[o])}),j)}const Ao=new Map;function Po(e){return new tt((()=>{const{isDirty:t}=e;D(t)&&(_o(e),function(e){if(L(fe)||L(e.isScheduled))return;e.isScheduled=!0,0===rr.length&&ue(ir);C.call(rr,e)}(e))}))}function $o(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:o,owner:r}=e,i=Mo();let l,s=!1;return dr(e,r,(()=>{ko(e)}),(()=>{e.tro.observe((()=>{l=n(o,t),s=!0}))}),(()=>{ko(i)})),s?To(e,l):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function _o(e){e.isDirty=!0}const Ro=new WeakMap;function Lo(e,t){if(!H(t))throw new TypeError;let n=Ro.get(t);return _(n)&&(n=function(n){No(e,t,void 0,n)},Ro.set(t,n)),n}const Do=o(null),Ho=["rendered","connected","disconnected"];function Io(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)}function Fo(e,t){switch(e.type){case 0:!function(e,t){var n;Se(t,null!==(n=e.text)&&void 0!==n?n:null),e.elm=t}(e,t);break;case 1:!function(e,t){var n;Te(t,"nodeValue",null!==(n=e.text)&&void 0!==n?n:null),e.elm=t}(e,t);break;case 2:!function(e,t){const n=t;e.elm=n;const{context:o}=e.data,r=Boolean(!_(o)&&!_(o.lwc)&&"manual"===o.lwc.dom);if(r){const{props:t}=e.data;_(t)||_(t.innerHTML)||(ke(n,"innerHTML")===t.innerHTML?e.data=Object.assign(Object.assign({},e.data),{props:de(t,"innerHTML")}):(i=`Mismatch hydrating element <${ke(n,"tagName").toLowerCase()}>: innerHTML values do not match for element, will recover from the difference`,l=e.owner,lt("warn",i,l)))}var i,l;Wo(e),r||jo(We(e.elm),e.children,e.owner)}(e,t);break;case 3:!function(e,t){const n=t,{sel:o,mode:r,ctor:i,owner:l}=e,s=Qo(n,i,{mode:r,owner:l,tagName:o});e.elm=n,e.vm=s,Jn(e,s),Wo(e),lr(s),0!==s.renderMode&&jo(We(e.elm),e.children);Yo(s)}(e,t)}}function jo(e,t,n){let o=0;for(let n=0;n<t.length;n++){const r=t[n];if(!R(r)){Fo(r,e[o]),o++}}}function Wo(e){Hn(e),Rn(null,e)}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){nr(e)}function qo(e){const t=er(e);bo(7,t),1===t.state&&Xo(e),lr(t),nr(t),vo(7,t)}function Xo(e){Jo(er(e))}function Yo(e){if(L(e.isDirty)){const t=$o(e);e.children=t;jo(0===e.renderMode?We(e.elm):We(e.elm.shadowRoot),t),or(e)}}function Jo(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}=Do;t&&Io(e,t);sr(e)&&function(e){const{wiredDisconnecting:t}=e.context;dr(e,e,j,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),j)}(e);const{disconnectedCallback:n}=e.def;_(n)||(wo(5,e),Oo(e,n),yo(5,e))}(e),cr(e),function(e){const{aChildren:t}=e;ar(t)}(e)}}function Qo(e,t,n){const{mode:r,owner:i,tagName:l}=n,s=On(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(pe)if(0===t.renderMode)n=0;else if(he)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=Po(c),function(e,t){const n=So;let o;wo(0,e),So=e;try{const r=new t;if(So.component!==r)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){o=Object(e)}finally{if(yo(0,e),So=n,!_(o))throw it(e,o),o}}(c,s.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],l=fr.get(i);if(!_(l)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:s}=pr(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 Zo(e,t){Vo.set(e,t)}function er(e){return Vo.get(e)}function tr(e){return Vo.get(e)}function nr(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&&dr(e,e,(()=>{wo(2,e)}),(()=>{In(o,t,n)}),(()=>{yo(2,e)}));1===e.state&&or(e)}(e,$o(e))}}function or(e){const{def:{renderedCallback:t}}=e;if(L(fe))return;const{rendered:n}=Do;n&&Io(e,n),_(t)||(wo(4,e),Oo(e,t),yo(4,e))}let rr=[];function ir(){bo(8);const e=rr.sort(((e,t)=>e.idx-t.idx));rr=[];for(let t=0,n=e.length;t<n;t+=1){const o=e[t];try{nr(o)}catch(o){throw t+1<n&&(0===rr.length&&ue(ir),S.apply(rr,k.call(e,t+1))),vo(8),o}}vo(8)}function lr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Do;n&&Io(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)||(wo(3,e),Oo(e,o),yo(3,e))}function sr(e){return c(e.def.wire).length>0}function cr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!_(n)){const e=tr(n);_(e)||Jo(e)}}}function ar(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:ar(n.children);break;case 3:Jo(er(n.elm));break}}}function ur(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)||ye(o.elm,n)}e.children=ce,cr(e),e.velements=ce}function dr(e,t,n,o,r){let i;n();try{o()}catch(e){i=Object(e)}finally{if(r(),!_(i)){it(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;ur(e),wo(6,e);Oo(n,n.def.errorCallback,[i,i.wcStack]),yo(6,e)}}}const fr=new Map;class hr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function pr(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,nt(e,t))}}(e,t):function(e,t){return n=>{dr(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}),dr(e,e,j,(()=>{u=new r(c)}),j);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let o=!1;const r=new tt((()=>{!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=>{dr(e,e,j,(()=>{u.update(t,a)}),j)}));return _(r.contextSchema)||function(e,t,n){const{adapter:o}=t,r=gr(o);if(_(r))return;const{elm:i,context:{wiredConnecting:l,wiredDisconnecting:s}}=e;C.call(l,(()=>{const e=new hr(r,{setNewContext(e){n(e)},setDisconnectedCallback(e){C.call(s,e)}});$e(i,e)}))}(e,n,(t=>{a!==t&&(a=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const mr=new Map;function gr(e){return mr.get(e)}function wr(e,t,n,o){t.adapter&&(t=t.adapter);const r={adapter:t,method:e.value,configCallback:n,dynamic:o};fr.set(e,r)}function yr(e,t,n,o){t.adapter&&(t=t.adapter);const r={adapter:t,configCallback:n,dynamic:o};fr.set(e,r)}let br=!1;const vr=o(null),Cr=document.head||document.body||document,Er=H(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),Mr=Er&&s(document.adoptedStyleSheets,"length").writable,kr=o(null),Tr=o(null),Sr=new WeakMap;let xr,Or,Nr;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}}())xr=customElements.get.bind(customElements),Or=customElements.define.bind(customElements),Nr=HTMLElement;else{const e=o(null),t=new WeakMap;Or=function(n,o){if(n!==$.call(n)||e[n])throw new TypeError("Invalid Registration");e[n]=o,t.set(o,n)},xr=function(t){return e[t]},Nr=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},Nr.prototype=HTMLElement.prototype}let Ar=!1;function Pr(e){Ar=e}const $r=U.$isNativeShadowRootDefined$,_r=u.call(Element.prototype,"$shadowToken$");function Rr(e,t,n){Qo(e,t,{mode:"open",owner:null,tagName:e.tagName.toLowerCase()});for(const[t,o]of Object.entries(n))e[t]=o}function Lr(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(tr(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{Pr(!0),Rr(e,t,n),function(e){const t=er(e);lr(t),Yo(t)}(e),Pr(!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),Rr(e,t,n),Pr(!1),qo(e)}finally{Pr(!1)}}Me=function(e,t){return Ar?e.shadowRoot:e.attachShadow(t)},Ce=function(e){return document.createComment(e)},be=function(e,t){return _(t)?document.createElement(e):document.createElementNS(t,e)},ve=function(e){return document.createTextNode(e)},Xe=Or,$e=function(e,t){return e.dispatchEvent(t)},xe=function(e,t,n){return _(n)?e.getAttribute(t):e.getAttributeNS(n,t)},Le=function(e){return e.getBoundingClientRect()},We=function(e){return e.childNodes},je=function(e){return e.children},_e=function(e){return e.classList},Ye=xr,Fe=function(e,t){return e.getElementsByClassName(t)},Ie=function(e,t){return e.getElementsByTagName(t)},Be=function(e){return e.firstChild},Ve=function(e){return e.firstElementChild},Ke=function(e){return e.lastChild},Ge=function(e){return e.lastElementChild},ke=function(e,t){return e[t]},me=Nr,we=function(e,t,n){t.insertBefore(e,n)},Ue=function(e){if(!_(vr[e]))return;vr[e]=!0;const t=document.createElement("style");t.type="text/css",t.textContent=e,Cr.appendChild(t)},qe=function(e,t){Er?function(e,t){let n=Tr[e];_(n)&&(n=new CSSStyleSheet,n.replaceSync(e),Tr[e]=n);const{adoptedStyleSheets:o}=t;o.includes(n)||(Mr?o.push(n):t.adoptedStyleSheets=[...o,n])}(e,t):function(e,t){let n=Sr.get(t);if(_(n)&&(n=o(null),Sr.set(t,n)),n[e])return;n[e]=!0;let r=kr[e];_(r)?(r=document.createElement("style"),r.type="text/css",r.textContent=e,kr[e]=r):r=r.cloneNode(!0),t.appendChild(r)}(e,t)},ze=function(e){return e.isConnected},ge=function(){return Ar},he=$r,pe=_r,Ee=function(e){return e.nextSibling},De=function(e,t){return e.querySelector(t)},He=function(e,t){return e.querySelectorAll(t)},ye=function(e,t){t.removeChild(e)},Ne=function(e,t,n){_(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},Pe=function(e,t,n,o){e.removeEventListener(t,n,o)},Oe=function(e,t,n,o){return _(o)?e.setAttribute(t,n):e.setAttributeNS(o,t,n)},Re=function(e,t,n,o){e.style.setProperty(t,n,o?"important":"")},Te=function(e,t,n){e[t]=n},Se=function(e,t){e.nodeValue=t},fe=!1,Ae=function(e,t,n,o){e.addEventListener(t,n,o)};const Dr=new WeakSet;function Hr(e){const t=function(e){return On(e).bridge}(e);return class extends t{constructor(){super(),this.isConnected?(Lr(this,e,{}),Dr.add(this)):Qo(this,e,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){Dr.has(this)?Dr.delete(this):qo(this)}disconnectedCallback(){Xo(this)}}}const Ir=Node,Fr=new WeakMap,jr=new WeakMap;function Wr(e,t){const n=t.get(e);return _(n)||n(e),e}const{appendChild:Br,insertBefore:Vr,removeChild:Kr,replaceChild:Gr}=Ir.prototype;n(Ir.prototype,{appendChild(e){return Wr(Br.call(this,e),Fr)},insertBefore(e,t){return Wr(Vr.call(this,e,t),Fr)},removeChild(e){return Wr(Kr.call(this,e),jr)},replaceChild(e,t){const n=Gr.call(this,e,t);return Wr(n,jr),Wr(e,Fr),n}});const zr=Node;const Ur=new Map;i(Yt,"CustomElementConstructor",{get(){return function(e){if(e===Yt)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=Ur.get(e);return _(t)&&(t=Hr(e),Ur.set(e,t)),t}(this)}}),l(Yt),h(Yt.prototype),e.LightningElement=Yt,e.__unstable__ProfilerControl=go,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=gr(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){mr.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=An(e);let r=!1;const i=new o((o=>{Qo(o,n,{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),Fr.set(o,qo),jr.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=tr(e);_(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=On(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=Lr,e.isComponentConstructor=xn,e.isNodeFromTemplate=function(e){if(D(e instanceof zr))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&D(u.call(a(t),"synthetic")))||_r&&!_(e.$shadowResolver$)},e.readonly=function(e){return qt.getReadOnlyProxy(e)},e.register=function(e){for(let t=0;t<Ho.length;++t){const n=Ho[t];if(n in e){let t=Do[n];_(t)&&(Do[n]=t=[]),C.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return Ao.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=an(e,w)}else w=_(w)||_(w.get)?sn(e):an(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,wr(w,t,r,l)}else w=rn(e),p[e]=w,yr(w,t,r,l),i(n,e,w)}if(!_(a))for(const e in a)w=s(n,e),w=ln(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]=un(t))}return function(e,t){dn.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return hn.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(br,"Hooks are already overridden, only one definition is allowed."),br=!0,n=e.sanitizeHtmlContent,lo=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 qt.getProxy(e);throw new Error},e.unwrap=function(e){return qt.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: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)}function de(e,t){const n={};for(const o of Object.keys(e))o!==t&&(n[o]=e[o]);return n}let fe,he,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;const Je=new WeakMap;let Qe=null;function Ze(e,t){const n=Je.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 et(e,t){if(null===Qe)return;const n=Qe,r=function(e){let t=Je.get(e);if(_(t)){const n=o(null);t=n,Je.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 tt{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=Qe;let n;Qe=this;try{e()}catch(e){n=Object(e)}finally{if(Qe=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 nt(e,t){Ze(e.component,t)}function ot(e,t){et(e.component,t)}function rt(e){return`<${$.call(e.tagName)}>`}function it(e,t){if(!d(t)&&_(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!R(n);)C.call(t,rt(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}function lt(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+rt(e)),e=e.owner,n+="\t";return b.call(t,"\n")}(n)}`);try{throw new Error(o)}catch(t){console[e](t)}}const st="undefined"!=typeof HTMLElement?HTMLElement:function(){},ct=st.prototype;function at(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:at("offsetHeight")},offsetLeft:{readOnly:!0,error:at("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:at("offsetTop")},offsetWidth:{readOnly:!0,error:at("offsetWidth")},role:{attribute:"role"}});let ut,dt=null;function ft(e,t){return e!==dt||t!==ut}function ht(e,t){dt=null,ut=void 0}function pt(e,t){dt=e,ut=t}const mt=o(null);x.call(f(z),(e=>{const t=V(ct,e);_(t)||(mt[e]=t)})),x.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=V(ct,e);_(t)||(mt[e]=t)}));const{isArray:gt}=Array,{prototype:wt,getPrototypeOf:yt,create:bt,defineProperty:vt,isExtensible:Ct,getOwnPropertyDescriptor:Et,getOwnPropertyNames:Mt,getOwnPropertySymbols:kt,preventExtensions:Tt,hasOwnProperty:St}=Object,{push:xt,concat:Ot}=Array.prototype;function Nt(e){return void 0===e}function At(e){return"function"==typeof e}const Pt=new WeakMap;function $t(e,t){Pt.set(e,t)}const _t=e=>Pt.get(e)||e;class Rt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(St.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;Nt(n)||(e.get=this.wrapGetter(n)),Nt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,o=Et(n,t);if(!Nt(o)){const n=this.wrapDescriptor(o);vt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;Ot.call(Mt(t),kt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;Nt(n)||St.call(e,n)||vt(e,n,bt(null)),Tt(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=Nt(n)||St.call(t,n)?[]:[n];return xt.apply(o,Mt(t)),xt.apply(o,kt(t)),o}isExtensible(e){const{originalTarget:t}=this;return!!Ct(e)&&(!!Ct(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return yt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:o,tagPropertyKey:r}}=this;o(n,t);let i=Et(n,t);if(Nt(i)){if(t!==r)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},vt(e,r,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const Lt=new WeakMap,Dt=new WeakMap,Ht=new WeakMap,It=new WeakMap;class Ft extends Rt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Lt.get(e);if(!Nt(t))return t;const n=this,o=function(){return n.wrapValue(e.call(_t(this)))};return Lt.set(e,o),Ht.set(o,e),o}wrapSetter(e){const t=Dt.get(e);if(!Nt(t))return t;const n=function(t){e.call(_t(this),_t(t))};return Dt.set(e,n),It.set(n,e),n}unwrapDescriptor(e){if(St.call(e,"value"))e.value=_t(e.value);else{const{set:t,get:n}=e;Nt(n)||(e.get=this.unwrapGetter(n)),Nt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Ht.get(e);if(!Nt(t))return t;const n=this,o=function(){return _t(e.call(n.wrapValue(this)))};return Lt.set(o,e),Ht.set(e,o),o}unwrapSetter(e){const t=It.get(e);if(!Nt(t))return t;const n=this,o=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Dt.set(o,e),It.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&&gt(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(Ct(e)){const{originalTarget:t}=this;if(Tt(t),Ct(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:o,membrane:{valueMutated:r,tagPropertyKey:i}}=this;return t===i&&!St.call(o,t)||(vt(o,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),r(o,t),!0)}}const jt=new WeakMap,Wt=new WeakMap;class Bt extends Rt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=jt.get(e);if(!Nt(t))return t;const n=this,o=function(){return n.wrapValue(e.call(_t(this)))};return jt.set(e,o),o}wrapSetter(e){const t=Wt.get(e);if(!Nt(t))return t;const n=function(e){};return Wt.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 Vt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(gt(e))return!0;const t=yt(e);return t===wt||null===t||null===yt(t)}const Kt=(e,t)=>{},Gt=(e,t)=>{};function zt(e){return gt(e)?[]:{}}const Ut=Symbol.for("@@lockerLiveValue"),qt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:o,tagPropertyKey:r}=e;this.valueMutated=At(t)?t:Gt,this.valueObserved=At(n)?n:Kt,this.valueIsObservable=At(o)?o:Vt,this.tagPropertyKey=r}getProxy(e){const t=_t(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=_t(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return _t(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(Nt(t)){const n=new Ft(this,e);t=new Proxy(zt(e),n),$t(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(Nt(t)){const n=new Bt(this,e);t=new Proxy(zt(e),n),$t(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:et,valueMutated:Ze,tagPropertyKey:Ut});function Xt(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=er(this);if(!xo(t))return ot(t,e),n.call(t.elm)},set(t){const n=er(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,nt(n,e)),o.call(n.elm,t)}}}const Yt=function(){if(R(So))throw new ReferenceError("Illegal constructor");const e=So,{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[Ut]=void 0,Zo(r,e),Zo(n,e),1===e.renderMode?e.renderRoot=Jt(e):e.renderRoot=n,this};function Jt(e){const{elm:t,mode:n,shadowMode:o,def:{ctor:r}}=e,i=Me(t,{"$$lwc-synthetic-mode":1===o,delegatesFocus:Boolean(r.delegatesFocus),mode:n});return e.shadowRoot=i,Zo(i,e),i}Yt.prototype={constructor:Yt,dispatchEvent(e){const{elm:t}=er(this);return $e(t,e)},addEventListener(e,t,n){const o=er(this),{elm:r}=o,i=Lo(o,t);Ae(r,e,i,n)},removeEventListener(e,t,n){const o=er(this),{elm:r}=o,i=Lo(o,t);Pe(r,e,i,n)},hasAttribute(e){const{elm:t}=er(this);return!R(xe(t,e))},hasAttributeNS(e,t){const{elm:n}=er(this);return!R(xe(n,t,e))},removeAttribute(e){const{elm:t}=er(this);pt(t,e),Ne(t,e),ht()},removeAttributeNS(e,t){const{elm:n}=er(this);pt(n,t),Ne(n,t,e),ht()},getAttribute(e){const{elm:t}=er(this);return xe(t,e)},getAttributeNS(e,t){const{elm:n}=er(this);return xe(n,t,e)},setAttribute(e,t){const n=er(this),{elm:o}=n;pt(o,e),Oe(o,e,t),ht()},setAttributeNS(e,t,n){const o=er(this),{elm:r}=o;pt(r,t),Oe(r,t,n,e),ht()},getBoundingClientRect(){const e=er(this),{elm:t}=e;return Le(t)},get isConnected(){const{elm:e}=er(this);return ze(e)},get classList(){const e=er(this),{elm:t}=e;return _e(t)},get template(){return er(this).shadowRoot},get shadowRoot(){return null},render(){return er(this).def.template},toString(){return`[object ${er(this).def.name}]`}};const Qt=o(null),Zt=["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild"];function en(e){switch(e){case"children":return je;case"childNodes":return We;case"firstChild":return Be;case"firstElementChild":return Ve;case"lastChild":return Ke;case"lastElementChild":return Ge}}for(const e of Zt)Qt[e]={get(){const t=er(this),{elm:n}=t;return en(e)(n)},configurable:!0,enumerable:!0};const tn=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];function nn(e){switch(e){case"getElementsByClassName":return Fe;case"getElementsByTagName":return Ie;case"querySelector":return De;case"querySelectorAll":return He}}for(const e of tn)Qt[e]={value(t){const n=er(this),{elm:o}=n;return nn(e)(o,t)},configurable:!0,enumerable:!0,writable:!0};r(Yt.prototype,Qt);const on=o(null);for(const e in mt)on[e]=Xt(e,mt[e]);function rn(e){return{get(){const t=er(this);return ot(t,e),t.cmpFields[e]},set(t){const n=er(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,nt(n,e))},enumerable:!0,configurable:!0}}function ln(e){return{get(){const t=er(this);return ot(t,e),t.cmpFields[e]},set(t){const n=er(this),o=qt.getProxy(t);o!==n.cmpFields[e]&&(n.cmpFields[e]=o,nt(n,e))},enumerable:!0,configurable:!0}}function sn(e){return{get(){const t=er(this);if(!xo(t))return ot(t,e),t.cmpProps[e]},set(t){const n=er(this);n.cmpProps[e]=t,nt(n,e)},enumerable:!0,configurable:!0}}r(Yt.prototype,on),i(Yt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class cn extends tt{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 an(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=er(this);if(o)if(ie.ENABLE_REACTIVE_SETTER){let r=n.oar[e];_(r)&&(r=n.oar[e]=new cn(n,o)),r.reset(t),r.observe((()=>{o.call(this,t)}))}else o.call(this,t)},enumerable:r,configurable:i}}function un(e){return{get(){const t=er(this);return ot(t,e),t.cmpFields[e]},set(t){const n=er(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,nt(n,e))},enumerable:!0,configurable:!0}}const dn=new Map;const fn={apiMethods:se,apiFields:se,apiFieldsConfig:se,wiredMethods:se,wiredFields:se,observedFields:se};const hn=new Set;function pn(){return[]}hn.add(pn);const mn=o(null),gn=o(null);function wn(e){let t=mn[e];return _(t)&&(t=mn[e]=function(){const t=er(this),{getHook:n}=t;return n(t.component,e)}),t}function yn(e){let t=gn[e];return _(t)&&(t=gn[e]=function(t){const n=er(this),{setHook:o}=n;t=qt.getReadOnlyProxy(t),o(n.component,e,t)}),t}function bn(e){return function(){const t=er(this),{callHook:n,component:o}=t,r=o[e];return n(t.component,r,k.call(arguments))}}function vn(e,t){return function(n,o,r){if(o===r)return;const i=e[n];_(i)?_(t)||t.apply(this,arguments):ft(this,n)&&(this[i]=r)}}function Cn(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:wn(n),set:yn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:bn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:vn(s,c)},i(l,"observedAttributes",{get:()=>[...a,...f(s)]}),r(l.prototype,u),l}const En=Cn(st,c(mt),[]);function Mn(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function kn(e){return H(e)&&u.call(e,"__circular__")}l(En),h(En.prototype);const Tn=new WeakMap;function Sn(e){const{shadowSupportMode:t,renderMode:i}=e,l=function(e){const t=dn.get(e);return _(t)?fn: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(kn(t)){const e=Mn(t);t=e===t?Yt:e}return t}(e),E=C!==Yt?On(C):Nn,M=Cn(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 Ao.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 xn(e){if(!H(e))return!1;if(e.prototype instanceof Yt)return!0;let t=e;do{if(kn(t)){const e=Mn(t);if(e===t)return!0;t=e}if(t===Yt)return!0}while(!R(t)&&(t=a(t)));return!1}function On(e){let t=Tn.get(e);if(_(t)){if(kn(e)){return t=On(Mn(e)),Tn.set(e,t),t}if(!xn(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=Sn(e),Tn.set(e,t)}return t}const Nn={ctor:Yt,name:Yt.name,props:on,propsConfig:se,methods:se,renderMode:1,shadowSupportMode:"reset",wire:se,bridge:En,template:pn,render:Yt.prototype.render};function An(e){e=e.toLowerCase();let t=Ye(e);return _(t)?(t=class extends me{constructor(e){super(),H(e)&&e(this)}},Xe(e,t),t):t}function Pn(e){const{type:t}=e;return 2===t||3===t}function $n(e,t){return e.key===t.key&&e.sel===t.sel}function _n(e,t){return"input"===e&&("value"===t||"checked"===t)}function Rn(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!==(_n(l,e)?ke(i,e):o[e]))&&Te(i,e,t)}}const Ln=o(null);function Dn(e){if(null==e)return se;e=F(e)?e:e+"";let t=Ln[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),Ln[e]=t,t}function Hn(e){const{elm:t,data:{on:n}}=e;if(!_(n))for(const e in n){const o=n[e];Ae(t,e,o)}}function In(e,t,n){var o;o=t,Qn.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;)Kn(l)?Kn(s)?Kn(p)?Kn(m)?$n(l,p)?(Fn(l,p),l=e[++o],p=t[++r]):$n(s,m)?(Fn(s,m),s=e[--i],m=t[--h]):$n(l,m)?(Fn(l,m),Xn(l.elm,n,Ee(s.elm)),l=e[++o],m=t[--h]):$n(s,p)?(Fn(s,p),Xn(p.elm,n,l.elm),s=e[--i],p=t[++r]):(void 0===a&&(a=Zn(e,o,i)),u=a[p.key],_(u)?(jn(p,n,l.elm),p=t[++r]):(d=e[u],Kn(d)&&(d.sel!==p.sel?jn(p,n,l.elm):(Fn(d,p),g||(g=!0,e=[...e]),e[u]=void 0,Xn(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(!Kn(e)&&o<c);f=Kn(e)?e.elm:null,Wn(t,n,f,r,h+1)}else Vn(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 Wn(t,n,null);if(0===r)return void Vn(e,n,!0);let i=null;for(let o=r-1;o>=0;o-=1){const r=e[o],l=t[o];l!==r&&(Kn(r)?Kn(l)?(Fn(r,l),i=l.elm):Bn(r,n,!0):Kn(l)&&(jn(l,n,i),i=l.elm))}}(e,t,n)}function Fn(e,t){if(e!==t)switch(t.type){case 0:case 1:!function(e,t){t.elm=e.elm,t.text!==e.text&&qn(t)}(e,t);break;case 2:!function(e,t){const n=t.elm=e.elm;Yn(e,t),In(e.children,t.children,n)}(e,t);break;case 3:!function(e,t){const n=t.elm=e.elm,o=t.vm=e.vm;Yn(e,t),_(o)||Jn(t,o);In(e.children,t.children,n),_(o)||Uo(o)}(e,t)}}function jn(e,t,n){switch(e.type){case 0:!function(e,t,n){const{owner:o}=e,r=e.elm=ve(e.text);Un(r,o),Xn(r,t,n)}(e,t,n);break;case 1:!function(e,t,n){const{owner:o}=e,r=e.elm=Ce(e.text);Un(r,o),Xn(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=be(o,l);Un(s,r),function(e,t){const{owner:n}=t;if(zn(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)||Gn(e,r)}}(s,e),e.elm=s,Yn(null,e),Xn(s,t,n),Wn(e.children,s,null)}(e,t,n);break;case 3:!function(e,t,n){const{sel:o,owner:r}=e,i=An(o);let l;const s=new i((t=>{l=function(e,t){let n=tr(e);if(!_(n))return n;const{sel:o,mode:r,ctor:i,owner:l}=t;if(zn(e,l),1===l.shadowMode){const{stylesheetToken:t}=l.context;_(t)||Gn(e,t)}return n=Qo(e,i,{mode:r,owner:l,tagName:o}),n}(t,e)}));if(Un(s,r),e.elm=s,e.vm=l,l)Jn(e,l);else if(e.ctor!==i)throw new TypeError("Incorrect Component Constructor");Yn(null,e),Xn(s,t,n),l&&lr(l);Wn(e.children,s,null),l&&function(e){nr(e)}(l)}(e,t,n)}}function Wn(e,t,n,o=0,r=e.length){for(;o<r;++o){const r=e[o];Kn(r)&&jn(r,t,n)}}function Bn(e,t,n=!1){const{type:o,elm:r}=e;switch(n&&function(e,t){ye(e,t)}(r,t),o){case 2:Vn(e.children,r);break;case 3:{const{vm:t}=e;_(t)||function(e){Jo(e)}(t)}}}function Vn(e,t,n=!1,o=0,r=e.length){for(;o<r;++o){const r=e[o];Kn(r)&&Bn(r,t,n)}}function Kn(e){return null!=e}function Gn(e,t){e.$shadowToken$=t}function zn(e,t){const{cmpTemplate:n,context:o}=t,r=null==n?void 0:n.stylesheetToken;!_(r)&&o.hasScopedStyles&&_e(e).add(r)}function Un(e,t){const{renderRoot:n,renderMode:o,shadowMode:r}=t;pe&&(1!==r&&0!==o||(e.$shadowResolver$=n.$shadowResolver$))}function qn(e){const{elm:t,text:n}=e;Se(t,n)}function Xn(e,t,n){we(e,t,n)}function Yn(e,t){R(e)&&(Hn(t),function(e){const{elm:t,data:{classMap:n}}=e;if(_(n))return;const o=_e(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];Re(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=_e(n),l=Dn(o),s=Dn(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?Oe(n,"style",o):Ne(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&&(pt(r,e),58===N.call(e,3)?Oe(r,e,t,"http://www.w3.org/XML/1998/namespace"):58===N.call(e,5)?Oe(r,e,t,"http://www.w3.org/1999/xlink"):R(t)||_(t)?Ne(r,e):Oe(r,e,t),ht())}}(e,t),Rn(e,t)}function Jn(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="";Pn(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 _o(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 _o(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 _o(e)}}}(t,n),e.aChildren=n,e.children=ce)}const Qn=new WeakMap;function Zn(e,t,n){const o={};for(let r=t;r<=n;++r){const t=e[r];if(Kn(t)){const{key:e}=t;void 0!==e&&(o[e]=r)}}return o}const eo=Symbol.iterator;function to(e,t,n=ce){const o=Mo();const{key:r}=t;return{type:2,sel:e,data:t,children:n,elm:undefined,key:r,owner:o}}function no(e,t,n,o=ce){const r=Mo(),{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(Mo().velements,e)}(l),l}const oo=new Map;let ro=0;function io(e){var t;return t=e,Qn.set(t,1),e}let lo=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const so=l({s:function(e,t,n,o){_(o)||_(o[e])||0===o[e].length||(n=o[e]);const r=Mo(),{renderMode:i,shadowMode:l}=r;return 0===i?(io(n),n):(1===l&&io(n),to("slot",t,n))},h:to,c:no,i:function(e,t){const n=[];if(io(n),_(e)||null===e)return n;const o=e[eo]();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=[];io(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:Mo()}},d:function(e){return null==e?"":String(e)},b:function(e){const t=Mo();if(R(t))throw new Error;const n=t;return function(t){No(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:Mo()}},dc:function(e,t,n,o=ce){if(null==t)return null;if(!xn(t))throw new Error(`Invalid LWC Constructor ${B(t)} for custom element <${e}>.`);let r=oo.get(t);return _(r)&&(r=ro++,oo.set(t,r)),no(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=Mo();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=Mo();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 lo(e)}});function co(e){return`${e}-host`}function ao(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,ao(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=fo(n)),c=R(r)||0===r.shadowMode),C.call(o,l(i,s,c))}}return o}function uo(e,t){const{stylesheets:n,stylesheetToken:o}=t;let r=[];return _(n)||0===n.length||(r=ao(n,o,e)),r}function fo(e){let t=e;for(;!R(t);){if(1===t.renderMode)return t;t=t.owner}return t}function ho(e,t){const{renderMode:n,shadowMode:o}=e;if(1===n&&1===o)for(let e=0;e<t.length;e++)Ue(t[e]);else{if(fe||ge()){const e=b.call(t,"\n");return r=e,so.h("style",{key:"style",attrs:{type:"text/css"}},[so.t(r)])}{const n=function(e){const t=fo(e);return R(t)||1!==t.shadowMode?t:null}(e),o=R(n);for(let e=0;e<t.length;e++)o?Ue(t[e]):qe(t[e],n.shadowRoot)}}var r;return null}let po=!1,mo=j;const go={enableProfiler(){po=!0},disableProfiler(){po=!1},attachDispatcher(e){mo=e,this.enableProfiler()},detachDispatcher(){const e=mo;return mo=j,this.disableProfiler(),e}};function wo(e,t){po&&mo(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function yo(e,t){po&&mo(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function bo(e,t){po&&mo(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 vo(e,t){po&&mo(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 Co=!1,Eo=null;function Mo(){return Eo}function ko(e){Eo=e}function To(e,t){const n=Co,r=Eo;let i=[];return dr(e,e.owner,(()=>{Eo=e,wo(1,e)}),(()=>{const{component:n,context:r,cmpSlots:l,cmpTemplate:s,tro:c}=e;c.observe((()=>{if(t!==s){if(R(s)||ur(e),c=t,!hn.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&&_e(n).remove(co(h)),m&&Ne(n,co(h))),_(l)||0===l.length||(u=s),_(u)||(a&&(_e(n).add(co(u)),d=!0),c&&(Oe(n,co(u),""),f=!0)),o.stylesheetToken=u,o.hasTokenInClass=d,o.hasTokenInAttribute=f}(e,t);const n=uo(e,t);r.styleVNode=0===n.length?null:ho(e,n)}var c;e.velements=[],Co=!0,i=t.call(void 0,so,n,l,r.tplCache);const{styleVNode:a}=r;R(a)||S.call(i,a)}))}),(()=>{Co=n,Eo=r,yo(1,e)})),i}let So=null;function xo(e){return So===e}function Oo(e,t,n){const{component:o,callHook:r,owner:i}=e;dr(e,i,j,(()=>{r(o,t,n)}),j)}function No(e,t,n,o){const{callHook:r,owner:i}=e;dr(e,i,j,(()=>{r(n,t,[o])}),j)}const Ao=new Map;function Po(e){return new tt((()=>{const{isDirty:t}=e;D(t)&&(_o(e),function(e){if(L(fe)||L(e.isScheduled))return;e.isScheduled=!0,0===rr.length&&ue(ir);C.call(rr,e)}(e))}))}function $o(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:o,owner:r}=e,i=Mo();let l,s=!1;return dr(e,r,(()=>{ko(e)}),(()=>{e.tro.observe((()=>{l=n(o,t),s=!0}))}),(()=>{ko(i)})),s?To(e,l):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function _o(e){e.isDirty=!0}const Ro=new WeakMap;function Lo(e,t){if(!H(t))throw new TypeError;let n=Ro.get(t);return _(n)&&(n=function(n){No(e,t,void 0,n)},Ro.set(t,n)),n}const Do=o(null),Ho=["rendered","connected","disconnected"];function Io(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)}function Fo(e,t){switch(e.type){case 0:!function(e,t){var n;Se(t,null!==(n=e.text)&&void 0!==n?n:null),e.elm=t}(e,t);break;case 1:!function(e,t){var n;Te(t,"nodeValue",null!==(n=e.text)&&void 0!==n?n:null),e.elm=t}(e,t);break;case 2:!function(e,t){const n=t;e.elm=n;const{context:o}=e.data,r=Boolean(!_(o)&&!_(o.lwc)&&"manual"===o.lwc.dom);if(r){const{props:t}=e.data;_(t)||_(t.innerHTML)||(ke(n,"innerHTML")===t.innerHTML?e.data=Object.assign(Object.assign({},e.data),{props:de(t,"innerHTML")}):(i=`Mismatch hydrating element <${ke(n,"tagName").toLowerCase()}>: innerHTML values do not match for element, will recover from the difference`,l=e.owner,lt("warn",i,l)))}var i,l;Wo(e),r||jo(We(e.elm),e.children,e.owner)}(e,t);break;case 3:!function(e,t){const n=t,{sel:o,mode:r,ctor:i,owner:l}=e,s=Qo(n,i,{mode:r,owner:l,tagName:o});e.elm=n,e.vm=s,Jn(e,s),Wo(e),lr(s),0!==s.renderMode&&jo(We(e.elm),e.children);Yo(s)}(e,t)}}function jo(e,t,n){let o=0;for(let n=0;n<t.length;n++){const r=t[n];if(!R(r)){Fo(r,e[o]),o++}}}function Wo(e){Hn(e),Rn(null,e)}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){nr(e)}function qo(e){const t=er(e);bo(7,t),1===t.state&&Xo(e),lr(t),nr(t),vo(7,t)}function Xo(e){Jo(er(e))}function Yo(e){if(L(e.isDirty)){const t=$o(e);e.children=t;jo(0===e.renderMode?We(e.elm):We(e.elm.shadowRoot),t),or(e)}}function Jo(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}=Do;t&&Io(e,t);sr(e)&&function(e){const{wiredDisconnecting:t}=e.context;dr(e,e,j,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),j)}(e);const{disconnectedCallback:n}=e.def;_(n)||(wo(5,e),Oo(e,n),yo(5,e))}(e),cr(e),function(e){const{aChildren:t}=e;ar(t)}(e)}}function Qo(e,t,n){const{mode:r,owner:i,tagName:l}=n,s=On(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(pe)if(0===t.renderMode)n=0;else if(he)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=Po(c),function(e,t){const n=So;let o;wo(0,e),So=e;try{const r=new t;if(So.component!==r)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){o=Object(e)}finally{if(yo(0,e),So=n,!_(o))throw it(e,o),o}}(c,s.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],l=fr.get(i);if(!_(l)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:s}=pr(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 Zo(e,t){Vo.set(e,t)}function er(e){return Vo.get(e)}function tr(e){return Vo.get(e)}function nr(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&&dr(e,e,(()=>{wo(2,e)}),(()=>{In(o,t,n)}),(()=>{yo(2,e)}));1===e.state&&or(e)}(e,$o(e))}}function or(e){const{def:{renderedCallback:t}}=e;if(L(fe))return;const{rendered:n}=Do;n&&Io(e,n),_(t)||(wo(4,e),Oo(e,t),yo(4,e))}let rr=[];function ir(){bo(8);const e=rr.sort(((e,t)=>e.idx-t.idx));rr=[];for(let t=0,n=e.length;t<n;t+=1){const o=e[t];try{nr(o)}catch(o){throw t+1<n&&(0===rr.length&&ue(ir),S.apply(rr,k.call(e,t+1))),vo(8),o}}vo(8)}function lr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Do;n&&Io(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)||(wo(3,e),Oo(e,o),yo(3,e))}function sr(e){return c(e.def.wire).length>0}function cr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!_(n)){const e=tr(n);_(e)||Jo(e)}}}function ar(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:ar(n.children);break;case 3:Jo(er(n.elm));break}}}function ur(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)||ye(o.elm,n)}e.children=ce,cr(e),e.velements=ce}function dr(e,t,n,o,r){let i;n();try{o()}catch(e){i=Object(e)}finally{if(r(),!_(i)){it(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;ur(e),wo(6,e);Oo(n,n.def.errorCallback,[i,i.wcStack]),yo(6,e)}}}const fr=new Map;class hr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function pr(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,nt(e,t))}}(e,t):function(e,t){return n=>{dr(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}),dr(e,e,j,(()=>{u=new r(c)}),j);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let o=!1;const r=new tt((()=>{!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=>{dr(e,e,j,(()=>{u.update(t,a)}),j)}));return _(r.contextSchema)||function(e,t,n){const{adapter:o}=t,r=gr(o);if(_(r))return;const{elm:i,context:{wiredConnecting:l,wiredDisconnecting:s}}=e;C.call(l,(()=>{const e=new hr(r,{setNewContext(e){n(e)},setDisconnectedCallback(e){C.call(s,e)}});$e(i,e)}))}(e,n,(t=>{a!==t&&(a=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const mr=new Map;function gr(e){return mr.get(e)}function wr(e,t,n,o){t.adapter&&(t=t.adapter);const r={adapter:t,method:e.value,configCallback:n,dynamic:o};fr.set(e,r)}function yr(e,t,n,o){t.adapter&&(t=t.adapter);const r={adapter:t,configCallback:n,dynamic:o};fr.set(e,r)}let br=!1;const vr=o(null),Cr=document.head||document.body||document,Er=H(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),Mr=Er&&s(document.adoptedStyleSheets,"length").writable,kr=o(null),Tr=o(null),Sr=new WeakMap;let xr,Or,Nr;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}}())xr=customElements.get.bind(customElements),Or=customElements.define.bind(customElements),Nr=HTMLElement;else{const e=o(null),t=new WeakMap;Or=function(n,o){if(n!==$.call(n)||e[n])throw new TypeError("Invalid Registration");e[n]=o,t.set(o,n)},xr=function(t){return e[t]},Nr=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},Nr.prototype=HTMLElement.prototype}let Ar=!1;function Pr(e){Ar=e}const $r=U.$isNativeShadowRootDefined$,_r=u.call(Element.prototype,"$shadowToken$");function Rr(e,t,n){Qo(e,t,{mode:"open",owner:null,tagName:e.tagName.toLowerCase()});for(const[t,o]of Object.entries(n))e[t]=o}function Lr(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(tr(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{Pr(!0),Rr(e,t,n),function(e){const t=er(e);lr(t),Yo(t)}(e),Pr(!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),Rr(e,t,n),Pr(!1),qo(e)}finally{Pr(!1)}}Me=function(e,t){return Ar?e.shadowRoot:e.attachShadow(t)},Ce=function(e){return document.createComment(e)},be=function(e,t){return _(t)?document.createElement(e):document.createElementNS(t,e)},ve=function(e){return document.createTextNode(e)},Xe=Or,$e=function(e,t){return e.dispatchEvent(t)},xe=function(e,t,n){return _(n)?e.getAttribute(t):e.getAttributeNS(n,t)},Le=function(e){return e.getBoundingClientRect()},We=function(e){return e.childNodes},je=function(e){return e.children},_e=function(e){return e.classList},Ye=xr,Fe=function(e,t){return e.getElementsByClassName(t)},Ie=function(e,t){return e.getElementsByTagName(t)},Be=function(e){return e.firstChild},Ve=function(e){return e.firstElementChild},Ke=function(e){return e.lastChild},Ge=function(e){return e.lastElementChild},ke=function(e,t){return e[t]},me=Nr,we=function(e,t,n){t.insertBefore(e,n)},Ue=function(e){if(!_(vr[e]))return;vr[e]=!0;const t=document.createElement("style");t.type="text/css",t.textContent=e,Cr.appendChild(t)},qe=function(e,t){Er?function(e,t){let n=Tr[e];_(n)&&(n=new CSSStyleSheet,n.replaceSync(e),Tr[e]=n);const{adoptedStyleSheets:o}=t;o.includes(n)||(Mr?o.push(n):t.adoptedStyleSheets=[...o,n])}(e,t):function(e,t){let n=Sr.get(t);if(_(n)&&(n=o(null),Sr.set(t,n)),n[e])return;n[e]=!0;let r=kr[e];_(r)?(r=document.createElement("style"),r.type="text/css",r.textContent=e,kr[e]=r):r=r.cloneNode(!0),t.appendChild(r)}(e,t)},ze=function(e){return e.isConnected},ge=function(){return Ar},he=$r,pe=_r,Ee=function(e){return e.nextSibling},De=function(e,t){return e.querySelector(t)},He=function(e,t){return e.querySelectorAll(t)},ye=function(e,t){t.removeChild(e)},Ne=function(e,t,n){_(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},Pe=function(e,t,n,o){e.removeEventListener(t,n,o)},Oe=function(e,t,n,o){return _(o)?e.setAttribute(t,n):e.setAttributeNS(o,t,n)},Re=function(e,t,n,o){e.style.setProperty(t,n,o?"important":"")},Te=function(e,t,n){e[t]=n},Se=function(e,t){e.nodeValue=t},fe=!1,Ae=function(e,t,n,o){e.addEventListener(t,n,o)};const Dr=new WeakSet;function Hr(e){const t=function(e){return On(e).bridge}(e);return class extends t{constructor(){super(),this.isConnected?(Lr(this,e,{}),Dr.add(this)):Qo(this,e,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){Dr.has(this)?Dr.delete(this):qo(this)}disconnectedCallback(){Xo(this)}}}const Ir=Node,Fr=new WeakMap,jr=new WeakMap;function Wr(e,t){const n=t.get(e);return _(n)||n(e),e}const{appendChild:Br,insertBefore:Vr,removeChild:Kr,replaceChild:Gr}=Ir.prototype;n(Ir.prototype,{appendChild(e){return Wr(Br.call(this,e),Fr)},insertBefore(e,t){return Wr(Vr.call(this,e,t),Fr)},removeChild(e){return Wr(Kr.call(this,e),jr)},replaceChild(e,t){const n=Gr.call(this,e,t);return Wr(n,jr),Wr(e,Fr),n}});const zr=Node;const Ur=new Map;i(Yt,"CustomElementConstructor",{get(){return function(e){if(e===Yt)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=Ur.get(e);return _(t)&&(t=Hr(e),Ur.set(e,t)),t}(this)}}),l(Yt),h(Yt.prototype),e.LightningElement=Yt,e.__unstable__ProfilerControl=go,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=gr(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){mr.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=An(e);let r=!1;const i=new o((o=>{Qo(o,n,{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),Fr.set(o,qo),jr.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=tr(e);_(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=On(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=Lr,e.isComponentConstructor=xn,e.isNodeFromTemplate=function(e){if(D(e instanceof zr))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&D(u.call(a(t),"synthetic")))||_r&&!_(e.$shadowResolver$)},e.readonly=function(e){return qt.getReadOnlyProxy(e)},e.register=function(e){for(let t=0;t<Ho.length;++t){const n=Ho[t];if(n in e){let t=Do[n];_(t)&&(Do[n]=t=[]),C.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return H(e)&&Ao.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=an(e,w)}else w=_(w)||_(w.get)?sn(e):an(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,wr(w,t,r,l)}else w=rn(e),p[e]=w,yr(w,t,r,l),i(n,e,w)}if(!_(a))for(const e in a)w=s(n,e),w=ln(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]=un(t))}return function(e,t){dn.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return hn.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(br,"Hooks are already overridden, only one definition is allowed."),br=!0,n=e.sanitizeHtmlContent,lo=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 qt.getProxy(e);throw new Error},e.unwrap=function(e){return qt.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.0 */
296
+ /** version: 2.11.1 */
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.0 */
439
+ /** version: 2.11.1 */
440
440
 
441
441
  /* proxy-compat-disable */
442
442
 
@@ -3863,8 +3863,12 @@
3863
3863
  * INTERNAL: This function can only be invoked by compiled code. The compiler
3864
3864
  * will prevent this function from being imported by userland code.
3865
3865
  */
3866
- function registerComponent(Ctor, { tmpl }) {
3867
- signedTemplateMap.set(Ctor, tmpl);
3866
+ function registerComponent(
3867
+ // We typically expect a LightningElementConstructor, but technically you can call this with anything
3868
+ Ctor, { tmpl }) {
3869
+ if (isFunction$1(Ctor)) {
3870
+ signedTemplateMap.set(Ctor, tmpl);
3871
+ }
3868
3872
  // chaining this method as a way to wrap existing assignment of component constructor easily,
3869
3873
  // without too much transformation
3870
3874
  return Ctor;
@@ -5001,7 +5005,7 @@
5001
5005
  hooksAreSet = true;
5002
5006
  setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
5003
5007
  }
5004
- /* version: 2.11.0 */
5008
+ /* version: 2.11.1 */
5005
5009
 
5006
5010
  /*
5007
5011
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5607,7 +5611,7 @@
5607
5611
  });
5608
5612
  freeze(LightningElement);
5609
5613
  seal(LightningElement.prototype);
5610
- /* version: 2.11.0 */
5614
+ /* version: 2.11.1 */
5611
5615
 
5612
5616
  exports.LightningElement = LightningElement;
5613
5617
  exports.__unstable__ProfilerControl = profilerControl;
@@ -363,9 +363,9 @@
363
363
  */
364
364
  // Increment whenever the LWC template compiler changes
365
365
 
366
- var LWC_VERSION = "2.11.0";
366
+ var LWC_VERSION = "2.11.1";
367
367
  var LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
368
- /** version: 2.11.0 */
368
+ /** version: 2.11.1 */
369
369
 
370
370
  /*
371
371
  * Copyright (c) 2018, salesforce.com, inc.
@@ -543,7 +543,7 @@
543
543
  setFeatureFlag(name, value);
544
544
  }
545
545
  }
546
- /** version: 2.11.0 */
546
+ /** version: 2.11.1 */
547
547
 
548
548
  /* proxy-compat-disable */
549
549
 
@@ -6422,16 +6422,20 @@
6422
6422
  * will prevent this function from being imported by userland code.
6423
6423
  */
6424
6424
 
6425
- function registerComponent(Ctor, _ref2) {
6425
+ function registerComponent( // We typically expect a LightningElementConstructor, but technically you can call this with anything
6426
+ Ctor, _ref2) {
6426
6427
  var tmpl = _ref2.tmpl;
6427
6428
 
6428
- if (process.env.NODE_ENV !== 'production') {
6429
- checkVersionMismatch(Ctor, 'component');
6430
- }
6429
+ if (isFunction$1(Ctor)) {
6430
+ if (process.env.NODE_ENV !== 'production') {
6431
+ checkVersionMismatch(Ctor, 'component');
6432
+ }
6431
6433
 
6432
- signedTemplateMap.set(Ctor, tmpl); // chaining this method as a way to wrap existing assignment of component constructor easily,
6434
+ signedTemplateMap.set(Ctor, tmpl);
6435
+ } // chaining this method as a way to wrap existing assignment of component constructor easily,
6433
6436
  // without too much transformation
6434
6437
 
6438
+
6435
6439
  return Ctor;
6436
6440
  }
6437
6441
 
@@ -7906,7 +7910,7 @@
7906
7910
  hooksAreSet = true;
7907
7911
  setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
7908
7912
  }
7909
- /* version: 2.11.0 */
7913
+ /* version: 2.11.1 */
7910
7914
 
7911
7915
  /*
7912
7916
  * Copyright (c) 2018, salesforce.com, inc.
@@ -8684,7 +8688,7 @@
8684
8688
  });
8685
8689
  freeze(LightningElement);
8686
8690
  seal(LightningElement.prototype);
8687
- /* version: 2.11.0 */
8691
+ /* version: 2.11.1 */
8688
8692
 
8689
8693
  exports.LightningElement = LightningElement;
8690
8694
  exports.__unstable__ProfilerControl = profilerControl;