lwc 2.23.4 → 2.23.5

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 (39) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +77 -11
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +77 -11
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +75 -9
  5. package/dist/engine-dom/iife/es5/engine-dom.js +82 -12
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +80 -10
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +77 -11
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +75 -9
  11. package/dist/engine-dom/umd/es5/engine-dom.js +82 -12
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +80 -10
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +67 -10
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
  16. package/dist/engine-server/esm/es2017/engine-server.js +67 -10
  17. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +55 -36
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +55 -36
  19. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +2 -2
  20. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +52 -32
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +24 -18
  22. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +2 -2
  23. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +24 -18
  24. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +55 -36
  25. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
  26. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +52 -32
  27. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +24 -18
  28. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +2 -2
  29. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +24 -18
  30. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  31. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  32. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  33. package/dist/wire-service/iife/es5/wire-service.js +2 -2
  34. package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
  35. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  36. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  37. package/dist/wire-service/umd/es5/wire-service.js +2 -2
  38. package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
  39. 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:r,defineProperties:o,defineProperty:i,freeze:s,getOwnPropertyDescriptor:l,getOwnPropertyNames:c,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{copyWithin:g,fill:w,filter:y,find:b,indexOf:v,join:E,map:C,pop:M,push:S,reduce:T,reverse:k,shift:A,slice:N,sort:x,splice:L,unshift:O,forEach:_}=Array.prototype,{fromCharCode:P}=String,{charCodeAt:$,replace:R,slice:D,toLowerCase:H}=String.prototype;function I(e){return void 0===e}function F(e){return null===e}function B(e){return!0===e}function j(e){return!1===e}function W(e){return"function"==typeof e}function V(e){return"object"==typeof e}function U(e){return"string"==typeof e}function K(){}const G={}.toString;function z(e){return e&&e.toString?m(e)?E.call(C.call(e,z),","):e.toString():"object"==typeof e?G.call(e):e+""}function Y(e,t){do{const n=l(e,t);if(!I(n))return n;e=a(e)}while(null!==e)}const q=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:X,AriaPropNameToAttrNameMap:J}=(()=>{const e=r(null),t=r(null);return _.call(q,(n=>{const r=H.call(R.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),Q=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}(),Z="http://www.w3.org/2000/svg",ee=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"]]),te=new Map;function ne(e){const t=J[e];if(!I(t))return t;const n=ee.get(e);if(!I(n))return n;const r=te.get(e);if(!I(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=$.call(e,t);o+=n>=65&&n<=90?"-"+P(n+32):P(n)}return te.set(e,o),o}function re(e){return void 0===l(Element.prototype,e)}const oe=new WeakMap;function ie(e){let t=oe.get(e);return void 0===t&&(t={},oe.set(e,t)),t}function se(e,t){return{get(){const n=ie(this);return u.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set(n){const r=null==(o=n)?null:String(o);var o;ie(this)[e]=r,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function le(e){const t=se(e,J[e]);Object.defineProperty(Element.prototype,e,t)}const ce=f(J);for(let e=0,t=ce.length;e<t;e+=1){const t=ce[e];re(t)&&le(t)}const ae={DUMMY_TEST_FLAG:null,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_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null};Q.lwcRuntimeFlags||Object.defineProperty(Q,"lwcRuntimeFlags",{value:r(null)});const ue=Q.lwcRuntimeFlags;let de=[];const fe=h(r(null)),he=h([]);function pe(){const e=de;de=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function me(e){0===de.length&&Promise.resolve().then(pe),S.call(de,e)}const ge=/;(?![^(]*\))/g,we=/:(.+)/;function ye(e,t){const n={};for(const r of Object.keys(e))r!==t&&(n[r]=e[r]);return n}const be=new WeakMap;let ve=null;function Ee(e,t){const n=be.get(e);if(!I(n)){const e=n[t];if(!I(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Ce(e,t){if(null===ve)return;const n=ve,o=function(e){let t=be.get(e);if(I(t)){const n=r(null);t=n,be.set(e,n)}return t}(e);let i=o[t];if(I(i))i=[],o[t]=i;else if(i[0]===n)return;-1===v.call(i,n)&&n.link(i)}class Me{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=ve;let n;ve=this;try{e()}catch(e){n=Object(e)}finally{if(ve=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],r=v.call(e[n],this);L.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){S.call(e,this),S.call(this.listeners,e)}}function Se(e,t){Ee(e.component,t)}function Te(e,t){Ce(e.component,t)}function ke(e){return new Me(e)}function Ae(e){return`<${H.call(e.tagName)}>`}function Ne(e,t){if(!d(t)&&I(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!F(n);)S.call(t,Ae(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}function xe(e,t,n){let r=`[LWC ${e}]: ${t}`;I(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!F(e.owner);)S.call(t,n+Ae(e)),e=e.owner,n+="\t";return E.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function Le(e,t){xe("error",e,t)}function Oe(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function _e(e){return W(e)&&u.call(e,"__circular__")}const Pe="undefined"!=typeof HTMLElement?HTMLElement:function(){},$e=Pe.prototype;function Re(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(r(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:Re("offsetHeight")},offsetLeft:{readOnly:!0,error:Re("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Re("offsetTop")},offsetWidth:{readOnly:!0,error:Re("offsetWidth")},role:{attribute:"role"}});let De,He=null;function Ie(e,t){return e!==He||t!==De}function Fe(e,t){He=null,De=void 0}function Be(e,t){He=e,De=t}const je=r(null);function We(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n,Se(e,t))}_.call(f(J),(e=>{const t=Y($e,e);I(t)||(je[e]=t)})),_.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=Y($e,e);I(t)||(je[e]=t)}));const{isArray:Ve}=Array,{prototype:Ue,getPrototypeOf:Ke,create:Ge,defineProperty:ze,isExtensible:Ye,getOwnPropertyDescriptor:qe,getOwnPropertyNames:Xe,getOwnPropertySymbols:Je,preventExtensions:Qe,hasOwnProperty:Ze}=Object,{push:et,concat:tt}=Array.prototype;function nt(e){return void 0===e}function rt(e){return"function"==typeof e}const ot=new WeakMap;function it(e,t){ot.set(e,t)}const st=e=>ot.get(e)||e;class lt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(Ze.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,r=qe(n,t);if(!nt(r)){const n=this.wrapDescriptor(r);ze(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;tt.call(Xe(t),Je(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;nt(n)||Ze.call(e,n)||ze(e,n,Ge(null)),Qe(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:r}}=this,o=n[t];return r(n,t),this.wrapValue(o)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:r,valueObserved:o}}=this;return o(n,t),t in n||t===r}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,r=nt(n)||Ze.call(t,n)?[]:[n];return et.apply(r,Xe(t)),et.apply(r,Je(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!Ye(e)&&(!!Ye(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Ke(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=qe(n,t);if(nt(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},ze(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const ct=new WeakMap,at=new WeakMap,ut=new WeakMap,dt=new WeakMap;class ft extends lt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=ct.get(e);if(!nt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(st(this)))};return ct.set(e,r),ut.set(r,e),r}wrapSetter(e){const t=at.get(e);if(!nt(t))return t;const n=function(t){e.call(st(this),st(t))};return at.set(e,n),dt.set(n,e),n}unwrapDescriptor(e){if(Ze.call(e,"value"))e.value=st(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=ut.get(e);if(!nt(t))return t;const n=this,r=function(){return st(e.call(n.wrapValue(this)))};return ct.set(r,e),ut.set(e,r),r}unwrapSetter(e){const t=dt.get(e);if(!nt(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return at.set(r,e),dt.set(e,r),r}set(e,t,n){const{originalTarget:r,membrane:{valueMutated:o}}=this;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&Ve(r)&&o(r,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:r}}=this;return delete n[t],r(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(Ye(e)){const{originalTarget:t}=this;if(Qe(t),Ye(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!Ze.call(r,t)||(ze(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const ht=new WeakMap,pt=new WeakMap;class mt extends lt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=ht.get(e);if(!nt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(st(this)))};return ht.set(e,r),r}wrapSetter(e){const t=pt.get(e);if(!nt(t))return t;const n=function(e){};return pt.set(e,n),n}set(e,t,n){return!1}deleteProperty(e,t){return!1}setPrototypeOf(e,t){}preventExtensions(e){return!1}defineProperty(e,t,n){return!1}}function gt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(Ve(e))return!0;const t=Ke(e);return t===Ue||null===t||null===Ke(t)}const wt=(e,t)=>{},yt=(e,t)=>{};function bt(e){return Ve(e)?[]:{}}const vt=Symbol.for("@@lockerLiveValue"),Et=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=rt(t)?t:yt,this.valueObserved=rt(n)?n:wt,this.valueIsObservable=rt(r)?r:gt,this.tagPropertyKey=o}getProxy(e){const t=st(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=st(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return st(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(nt(t)){const n=new ft(this,e);t=new Proxy(bt(e),n),it(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(nt(t)){const n=new mt(this,e);t=new Proxy(bt(e),n),it(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Ce,valueMutated:Ee,tagPropertyKey:vt});function Ct(e){return Et.getReadOnlyProxy(e)}function Mt(e){return Et.getProxy(e)}function St(e){e[vt]=void 0}function Tt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!W(n))throw new TypeError;if(!W(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=Tr(this);if(!nr(t))return Te(t,e),n.call(t.elm)},set(t){const n=Tr(this);return We(n,e,t),r.call(n.elm,t)}}}const kt=function(){if(F(tr))throw new ReferenceError("Illegal constructor");const e=tr,{def:t,elm:n}=e,{bridge:r}=t,o=this;if(p(n,r.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return St(this),Sr(o,e),Sr(n,e),1===e.renderMode?e.renderRoot=At(e):e.renderRoot=n,this};function At(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,Sr(s,e),s}kt.prototype={constructor:kt,dispatchEvent(e){const t=Tr(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=Tr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,ur(r,t),n)},removeEventListener(e,t,n){const r=Tr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,ur(r,t),n)},hasAttribute(e){const t=Tr(this),{elm:n,renderer:{getAttribute:r}}=t;return!F(r(n,e))},hasAttributeNS(e,t){const n=Tr(this),{elm:r,renderer:{getAttribute:o}}=n;return!F(o(r,t,e))},removeAttribute(e){const t=Tr(this),{elm:n,renderer:{removeAttribute:r}}=t;Be(n,e),r(n,e),Fe()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=Tr(this);Be(n,t),r(n,t,e),Fe()},getAttribute(e){const t=Tr(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=Tr(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=Tr(this),{elm:r,renderer:{setAttribute:o}}=n;Be(r,e),o(r,e,t),Fe()},setAttributeNS(e,t,n){const r=Tr(this),{elm:o,renderer:{setAttribute:i}}=r;Be(o,t),i(o,t,n,e),Fe()},getBoundingClientRect(){const e=Tr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=Tr(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=Tr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return Tr(this).shadowRoot},get shadowRoot(){return null},get children(){const e=Tr(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=Tr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=Tr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=Tr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=Tr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=Tr(this);return e.renderer.getLastElementChild(e.elm)},render(){return Tr(this).def.template},toString(){return`[object ${Tr(this).def.name}]`}};const Nt=r(null),xt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of xt)Nt[e]={value(t){const n=Tr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(kt.prototype,Nt);const Lt=r(null);for(const e in je)Lt[e]=Tt(e,je[e]);function Ot(e){return{get(){const t=Tr(this);return Te(t,e),t.cmpFields[e]},set(t){We(Tr(this),e,t)},enumerable:!0,configurable:!0}}o(kt.prototype,Lt),i(kt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class _t extends Me{constructor(e,t){super((()=>{j(this.debouncing)&&(this.debouncing=!0,me((()=>{if(B(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,B(e.isDirty)&&j(r)&&i>0&&br(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function Pt(e){return{get(){const t=Tr(this);if(!nr(t))return Te(t,e),t.cmpProps[e]},set(t){const n=Tr(this);n.cmpProps[e]=t,Se(n,e)},enumerable:!0,configurable:!0}}function $t(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!W(n))throw new Error;return{get(){return n.call(this)},set(t){const n=Tr(this);if(r)if(ue.ENABLE_REACTIVE_SETTER){let o=n.oar[e];I(o)&&(o=n.oar[e]=function(e,t){return new _t(e,t)}(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function Rt(e){return{get(){const t=Tr(this);return Te(t,e),t.cmpFields[e]},set(t){const n=Tr(this),r=Mt(t);We(n,e,r)},enumerable:!0,configurable:!0}}function Dt(e){return{get(){const t=Tr(this);return Te(t,e),t.cmpFields[e]},set(t){We(Tr(this),e,t)},enumerable:!0,configurable:!0}}const Ht=new Map;const It={apiMethods:fe,apiFields:fe,apiFieldsConfig:fe,wiredMethods:fe,wiredFields:fe,observedFields:fe};const Ft=new Set;function Bt(){return[]}Ft.add(Bt);const jt=r(null),Wt=r(null);function Vt(e){let t=jt[e];return I(t)&&(t=jt[e]=function(){const t=Tr(this),{getHook:n}=t;return n(t.component,e)}),t}function Ut(e){let t=Wt[e];return I(t)&&(t=Wt[e]=function(t){const n=Tr(this),{setHook:r}=n;t=Ct(t),r(n.component,e,t)}),t}function Kt(e){return function(){const t=Tr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,N.call(arguments))}}function Gt(e,t){return function(n,r,o){if(r===o)return;const i=e[n];I(i)?I(t)||t.apply(this,arguments):Ie(this,n)&&(this[i]=o)}}function zt(e,t,n){let s;W(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),i(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=r(null),{attributeChangedCallback:c}=e.prototype,{observedAttributes:a=[]}=e,u=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[ne(n)]=n,u[n]={get:Vt(n),set:Ut(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:Kt(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:Gt(l,c)},i(s,"observedAttributes",{get:()=>[...a,...f(l)]}),o(s.prototype,u),s}const Yt=zt(Pe,c(je),[]);s(Yt),h(Yt.prototype);const qt=new WeakMap;function Xt(e){const{shadowSupportMode:t,renderMode:i}=e,s=function(e){const t=Ht.get(e);return I(t)?It:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=a(e);if(F(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(_e(t)){const e=Oe(t);t=e===t?kt:e}return t}(e),C=E!==kt?Qt(E):Zt,M=zt(C.bridge,f(l),f(u)),S=n(r(null),C.props,l),T=n(r(null),C.propsConfig,c),k=n(r(null),C.methods,u),A=n(r(null),C.wire,d,h);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let N=C.shadowSupportMode;I(t)||(N=t);let x=C.renderMode;I(i)||(x="light"===i?0:1);const L=function(e){return ir.get(e)}(e)||C.template,O=e.name||C.name;o(m,p);return{ctor:e,name:O,wire:A,props:S,propsConfig:T,methods:k,bridge:M,template:L,renderMode:x,shadowSupportMode:N,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Jt(e){if(!W(e))return!1;if(e.prototype instanceof kt)return!0;let t=e;do{if(_e(t)){const e=Oe(t);if(e===t)return!0;t=e}if(t===kt)return!0}while(!F(t)&&(t=a(t)));return!1}function Qt(e){let t=qt.get(e);if(I(t)){if(_e(e)){return t=Qt(Oe(e)),qt.set(e,t),t}if(!Jt(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=Xt(e),qt.set(e,t)}return t}const Zt={ctor:kt,name:kt.name,props:Lt,propsConfig:fe,methods:fe,renderMode:1,shadowSupportMode:"reset",wire:fe,bridge:Yt,template:Bt,render:kt.prototype.render};function en(e){return`${e}-host`}function tn(e){return Fn.h("style",{key:"style",attrs:{type:"text/css"}},[Fn.t(e)])}function nn(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(m(s))S.apply(r,nn(s,t,n));else{const e=s.$scoped$,i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let c;1===n.renderMode?c=0===n.shadowMode:(I(o)&&(o=on(n)),c=F(o)||0===o.shadowMode),S.call(r,s(i,l,c))}}return r}function rn(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return I(n)||0===n.length||(o=nn(n,r,e)),o}function on(e){let t=e;for(;!F(t);){if(1===t.renderMode)return t;t=t.owner}return t}function sn(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}function ln(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)o(t[e]);else{if(e.hydrated)return C.call(t,tn);{const n=function(e){const t=on(e);return F(t)||1!==t.shadowMode?t:null}(e),r=F(n)?void 0:n.shadowRoot;for(let e=0;e<t.length;e++)o(t[e],r)}}return null}function cn(e){return!I(kr(e))}function an(e,t){const{getCustomElement:n,HTMLElementExported:r,defineCustomElement:o}=t;let i=n(e=e.toLowerCase());return I(i)?(i=class extends r{constructor(e){super(),W(e)&&e(this)}},ue.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(i.prototype.connectedCallback=function(){cn(this)&&vr(this)},i.prototype.disconnectedCallback=function(){cn(this)&&Er(this)}),o(e,i),i):i}function un(e){const{type:t}=e;return 2===t||3===t}function dn(e,t){return e.key===t.key&&e.sel===t.sel}function fn(e,t){return"input"===e&&("value"===t||"checked"===t)}function hn(e,t,n){const{props:r}=t.data;if(I(r))return;const o=F(e)?fe:e.data.props;if(o===r)return;const i=F(e),{elm:s,sel:l}=t,{getProperty:c,setProperty:a}=n;for(const e in r){const t=r[e];(i||t!==(fn(l,e)?c(s,e):o[e]))&&a(s,e,t)}}const pn=r(null);function mn(e){if(null==e)return fe;e=U(e)?e:e+"";let t=pn[e];if(t)return t;t=r(null);let n,o=0;const i=e.length;for(n=0;n<i;n++)32===$.call(e,n)&&(n>o&&(t[D.call(e,o,n)]=!0),o=n+1);return n>o&&(t[D.call(e,o,n)]=!0),pn[e]=t,t}function gn(e,t){const{elm:n,data:{on:r}}=e;if(I(r))return;const{addEventListener:o}=t;for(const e in r){o(n,e,r[e])}}function wn(e,t,n,r){var o;o=t,_n.has(o)?function(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],c=e[s];const a=t.length-1;let u,d,f,h,p=a,m=t[0],g=t[p],w=!1;for(;o<=s&&i<=p;)Sn(l)?Sn(c)?Sn(m)?Sn(g)?dn(l,m)?(yn(l,m,n,r),l=e[++o],m=t[++i]):dn(c,g)?(yn(c,g,n,r),c=e[--s],g=t[--p]):dn(l,g)?(yn(l,g,n,r),An(l.elm,n,r.nextSibling(c.elm),r),l=e[++o],g=t[--p]):dn(c,m)?(yn(c,m,n,r),An(m.elm,n,l.elm,r),c=e[--s],m=t[++i]):(void 0===u&&(u=Pn(e,o,s)),d=u[m.key],I(d)?(bn(m,n,r,l.elm),m=t[++i]):(f=e[d],Sn(f)&&(f.sel!==m.sel?bn(m,n,r,l.elm):(yn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,An(f.elm,n,l.elm,r))),m=t[++i])):g=t[--p]:m=t[++i]:c=e[--s]:l=e[++o];if(o<=s||i<=p)if(o>s){let e,o=p;do{e=t[++o]}while(!Sn(e)&&o<a);h=Sn(e)?e.elm:null,En(t,n,r,h,i,p+1)}else Mn(e,n,r,!0,o,s+1)}(e,t,n,r):function(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void En(t,n,r,null);if(0===i)return void Mn(e,n,r,!0);let s=null;for(let o=i-1;o>=0;o-=1){const i=e[o],l=t[o];l!==i&&(Sn(i)?Sn(l)?(yn(i,l,n,r),s=l.elm):Cn(i,n,r,!0):Sn(l)&&(bn(l,n,r,s),s=l.elm))}}(e,t,n,r)}function yn(e,t,n,r){var o,i;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&kn(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 2:!function(e,t,n){const r=t.elm=e.elm;xn(e,t,n),wn(e.children,t.children,r,n)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:r);break;case 3:!function(e,t,n,r){if(e.ctor!==t.ctor){const o=r.nextSibling(e.elm);Cn(e,n,r,!0),vn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;xn(e,t,r),I(o)||On(t,o),wn(e.children,t.children,n,r),I(o)||br(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function bn(e,t,n,r){var o,i;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:i}=r,s=e.elm=i(e.text);Tn(s,o,r),An(s,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:i}=r,s=e.elm=i(e.text);Tn(s,o,r),An(s,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:i,isSyntheticShadowDefined:s}=r,l=e.elm=i(e.fragment,!0);Tn(l,o,r);const{renderMode:c,shadowMode:a}=o;s&&(1!==a&&0!==c||(l.$shadowStaticNode$=!0));An(l,t,n,r)}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:i,data:{svg:s}}=e,{createElement:l}=r,c=B(s)?Z:void 0,a=e.elm=l(o,c);Tn(a,i,r),Ln(a,i,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(a,e),xn(null,e,r),An(a,t,n,r),En(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:vn(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function vn(e,t,n,r){const{sel:o,owner:i}=e,s=an(o,r);let l;const c=new s((t=>{l=function(e,t,n){let r=kr(e);if(!I(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=Mr(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}));if(e.elm=c,e.vm=l,Tn(c,i,r),Ln(c,i,r),l)On(e,l);else if(e.ctor!==s)throw new TypeError("Incorrect Component Constructor");xn(null,e,r),An(c,t,n,r),l&&(ue.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||Or(l)),En(e.children,c,r,null),l&&function(e){Ar(e)}(l)}function En(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];Sn(i)&&bn(i,t,n,r)}}function Cn(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&Nn(i,t,n),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;Mn(e.children,i,n,t);break}case 3:{const{vm:t}=e;I(t)||function(e){Cr(e)}(t)}}}function Mn(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];Sn(i)&&Cn(i,t,n,r)}}function Sn(e){return null!=e}function Tn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function kn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function An(e,t,n,r){r.insert(e,t,n)}function Nn(e,t,n){n.remove(e,t)}function xn(e,t,n){F(e)&&(gn(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(I(r))return;const{getClassList:o}=t,i=o(n);for(const e in r)i.add(e)}(t,n),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(I(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,i,s]=r[e];o(n,t,i,s)}}(t,n)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=F(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),c=mn(o),a=mn(i);let u;for(u in a)I(c[u])&&l.remove(u);for(u in c)I(a[u])&&l.add(u)}(e,t,n),function(e,t,n){const{elm:r,data:{style:o}}=t;if((F(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;U(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,t,n),function(e,t,n){const{attrs:r}=t.data;if(I(r))return;const o=F(e)?fe:e.data.attrs;if(o===r)return;const{elm:i}=t,{setAttribute:s,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(Be(i,e),58===$.call(e,3)?s(i,e,t,"http://www.w3.org/XML/1998/namespace"):58===$.call(e,5)?s(i,e,t,"http://www.w3.org/1999/xlink"):F(t)||I(t)?l(i,e):s(i,e,t),Fe())}}(e,t,n),hn(e,t,n)}function Ln(e,t,n){const r=sn(t);if(!F(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||I(o)||(e.$shadowToken$=o)}function On(e,t){const n=e.aChildren||e.children;t.aChildren=n;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t){var n;const{cmpSlots:o}=e,i=e.cmpSlots=r(null);for(let e=0,r=t.length;e<r;e+=1){const r=t[e];if(F(r))continue;let o="";un(r)&&(o=(null===(n=r.data.attrs)||void 0===n?void 0:n.slot)||"");const s=i[o]=i[o]||[];S.call(s,r)}if(j(e.isDirty)){const t=f(o);if(t.length!==f(i).length)return void cr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(I(i[r])||o[r].length!==i[r].length)return void cr(e);const s=o[r],l=i[r];for(let t=0,n=i[r].length;t<n;t+=1)if(s[t]!==l[t])return void cr(e)}}}(t,n),e.aChildren=n,e.children=he)}const _n=new WeakMap;function Pn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Sn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}const $n=Symbol.iterator;function Rn(e,t,n=he){const r=qn();const{key:o}=t;return{type:2,sel:e,data:t,children:n,elm:undefined,key:o,owner:r}}function Dn(e,t,n,r=he){const o=qn(),{key:i}=n;const s={type:3,sel:e,data:n,children:r,elm:undefined,key:i,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){S.call(qn().velements,e)}(s),s}function Hn(e){var t;return t=e,_n.set(t,1),e}let In=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const Fn=s({s:function(e,t,n,r){I(r)||I(r[e])||0===r[e].length||(n=r[e]);const o=qn(),{renderMode:i,shadowMode:s}=o;return 0===i?(Hn(n),n):(1===s&&Hn(n),Rn("slot",t,n))},h:Rn,c:Dn,i:function(e,t){const n=[];if(Hn(n),I(e)||null===e)return n;const r=e[$n]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);m(e)?S.apply(n,e):S.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];Hn(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?S.apply(n,t):S.call(n,t)}return n},t:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:qn()}},d:function(e){return null==e?"":String(e)},b:function(e){const t=qn();if(F(t))throw new Error;const n=t;return function(t){or(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:qn()}},dc:function(e,t,n,r=he){if(null==t)return null;if(!Jt(t))throw new Error(`Invalid LWC Constructor ${z(t)} for custom element <${e}>.`);return Dn(e,t,n,r)},ti:function(e){return e>0&&!(B(e)||j(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:qn()}},gid:function(e){const t=qn();if(I(e)||""===e)return e;if(F(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?R.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=qn();if(I(e)||""===e)return e;if(F(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return In(e)}});let Bn=!1,jn=K;const Wn={enableProfiler(){Bn=!0},disableProfiler(){Bn=!1},attachDispatcher(e){jn=e,this.enableProfiler()},detachDispatcher(){const e=jn;return jn=K,this.disableProfiler(),e}};function Vn(e,t){Bn&&jn(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Un(e,t){Bn&&jn(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Kn(e,t){Bn&&jn(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 Gn(e,t){Bn&&jn(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 zn=!1,Yn=null;function qn(){return Yn}function Xn(e){Yn=e}function Jn(e){return(t,...n)=>{const o=r(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:i},shadowMode:s,renderer:l}=qn(),c=!I(i),a=1===s;let u=0;if(c&&r&&(u|=1),c&&a&&(u|=2),!I(o[u]))return o[u];const d=r&&c?" "+i:"",f=r&&c?` class="${i}"`:"",h=c&&a?" "+i:"";let p="";for(let e=0,r=n.length;e<r;e++)switch(n[e]){case 0:p+=t[e]+d;break;case 1:p+=t[e]+f;break;case 2:p+=t[e]+h;break;case 3:p+=t[e]+f+h}return p+=t[t.length-1],o[u]=e(p,l),o[u]}}}const Qn=Jn(((e,t)=>{const{createFragment:n}=t;return n(e)})),Zn=Jn(((e,t)=>{const{createFragment:n,getFirstChild:r}=t;return r(n("<svg>"+e+"</svg>"))}));function er(e,t){const n=zn,o=Yn;let i=[];return Dr(e,e.owner,(()=>{Yn=e,Vn(1,e)}),(()=>{const{component:n,context:o,cmpSlots:s,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(F(l)||Rr(e),c=t,!Ft.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: ${z(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!I(t))for(let e=0;e<t.length;e++)if(B(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:l,setAttribute:c}}=e,{stylesheets:a,stylesheetToken:u}=t,d=1===o&&1===i,{hasScopedStyles:f}=r;let h,p,m;const{stylesheetToken:g,hasTokenInClass:w,hasTokenInAttribute:y}=r;I(g)||(w&&s(n).remove(en(g)),y&&l(n,en(g))),I(a)||0===a.length||(h=u),I(h)||(f&&(s(n).add(en(h)),p=!0),d&&(c(n,en(h),""),m=!0)),r.stylesheetToken=h,r.hasTokenInClass=p,r.hasTokenInAttribute=m}(e,t);const n=rn(e,t);o.styleVNodes=0===n.length?null:ln(e,n)}var c;e.velements=[],zn=!0,i=t.call(void 0,Fn,n,s,o.tplCache);const{styleVNodes:a}=o;F(a)||O.apply(i,a)}))}),(()=>{zn=n,Yn=o,Un(1,e)})),i}let tr=null;function nr(e){return tr===e}function rr(e,t,n){const{component:r,callHook:o,owner:i}=e;Dr(e,i,K,(()=>{o(r,t,n)}),K)}function or(e,t,n,r){const{callHook:o,owner:i}=e;Dr(e,i,K,(()=>{o(n,t,[r])}),K)}const ir=new Map;function sr(e){return ke((()=>{const{isDirty:t}=e;j(t)&&(cr(e),function(e){if(B(e.isScheduled))return;e.isScheduled=!0,0===xr.length&&me(Lr);S.call(xr,e)}(e))}))}function lr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=qn();let s,l=!1;return Dr(e,o,(()=>{Xn(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{Xn(i)})),l?er(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function cr(e){e.isDirty=!0}const ar=new WeakMap;function ur(e,t){if(!W(t))throw new TypeError;let n=ar.get(t);return I(n)&&(n=function(n){or(e,t,void 0,n)},ar.set(t,n)),n}const dr=r(null),fr=["rendered","connected","disconnected"];function hr(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let pr=0;const mr=new WeakMap;function gr(e,t,n=[]){return t.apply(e,n)}function wr(e,t,n){e[t]=n}function yr(e,t){return e[t]}function br(e){Ar(e)}function vr(e){const t=Tr(e);Kn(7,t),1===t.state&&Er(e),Or(t),Ar(t),Gn(7,t)}function Er(e){Cr(Tr(e))}function Cr(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){j(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=dr;t&&hr(e,t);_r(e)&&function(e){const{wiredDisconnecting:t}=e.context;Dr(e,e,K,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),K)}(e);const{disconnectedCallback:n}=e.def;I(n)||(Vn(5,e),rr(e,n),Un(5,e))}(e),Pr(e),function(e){const{aChildren:t}=e;$r(t)}(e)}}function Mr(e,t,n,o){const{mode:i,owner:s,tagName:l,hydrated:c}=o,a=Qt(t),u={elm:e,def:a,idx:pr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,children:he,aChildren:he,velements:he,cmpProps:r(null),cmpFields:r(null),cmpSlots:r(null),oar:r(null),cmpTemplate:null,hydrated:Boolean(c),renderMode:a.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:fe,wiredConnecting:he,wiredDisconnecting:he},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:gr,setHook:wr,getHook:yr,renderer:n};return u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(ue.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!F(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=F(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,n),u.tro=sr(u),function(e,t){const n=tr;let r;Vn(0,e),tr=e;try{const o=new t;if(tr.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Un(0,e),tr=n,!I(r))throw Ne(e,r),r}}(u,a.ctor),_r(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=Hr.get(i);if(!I(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=Fr(e,t,s),c=s.dynamic.length>0;S.call(r,(()=>{n.connect(),ue.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),S.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function Sr(e,t){mr.set(e,t)}function Tr(e){return mr.get(e)}function kr(e){return mr.get(e)}function Ar(e){if(B(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&Dr(e,e,(()=>{Vn(2,e)}),(()=>{wn(r,t,n,o)}),(()=>{Un(2,e)}));1===e.state&&Nr(e)}(e,lr(e))}}function Nr(e){const{def:{renderedCallback:t}}=e,{rendered:n}=dr;n&&hr(e,n),I(t)||(Vn(4,e),rr(e,t),Un(4,e))}let xr=[];function Lr(){Kn(8);const e=xr.sort(((e,t)=>e.idx-t.idx));xr=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{Ar(r)}catch(r){throw t+1<n&&(0===xr.length&&me(Lr),O.apply(xr,N.call(e,t+1))),Gn(8),r}}Gn(8)}function Or(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=dr;n&&hr(e,n),_r(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;I(r)||(Vn(3,e),rr(e,r),Un(3,e))}function _r(e){return c(e.def.wire).length>0}function Pr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!I(n)){const e=kr(n);I(e)||Cr(e)}}}function $r(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!F(n)&&!I(n.elm))switch(n.type){case 2:$r(n.children);break;case 3:Cr(Tr(n.elm));break}}}function Rr(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];F(o)||I(o.elm)||r(o.elm,n)}e.children=he,Pr(e),e.velements=he}function Dr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!I(i)){Ne(e,i);const n=F(t)?void 0:function(e){let t=e;for(;!F(t);){if(!I(t.def.errorCallback))return t;t=t.owner}}(t);if(I(n))throw i;Rr(e),Vn(6,e);rr(n,n.def.errorCallback,[i,i.wcStack]),Un(6,e)}}}const Hr=new Map;class Ir extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function Fr(e,t,n){const{method:r,adapter:o,configCallback:s,dynamic:l}=n,c=I(r)?function(e,t){return n=>{We(e,t,n)}}(e,t):function(e,t){return n=>{Dr(e,e.owner,K,(()=>{t.call(e.component,n)}),K)}}(e,r);let a,u;i(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(c,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),Dr(e,e,K,(()=>{u=new o(c)}),K);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=ke((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),i()})))})),i=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:i,ro:o}}(e.component,s,(t=>{Dr(e,e,K,(()=>{u.update(t,a)}),K)}));return I(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=jr(r);if(I(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:c}}=e;S.call(s,(()=>{const e=new Ir(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){S.call(l,e)}});c(i,e)}))}(e,n,(t=>{a!==t&&(a=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const Br=new Map;function jr(e){return Br.get(e)}function Wr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Hr.set(e,o)}function Vr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Hr.set(e,o)}let Ur=!1;function Kr(e){const t=lr(e);e.children=t;const{renderRoot:n,renderer:{getFirstChild:r}}=e;Yr(r(n),t,n,e),Nr(e)}function Gr(e,t,n){var r,o;let i;switch(t.type){case 0:i=function(e,t,n){var r;if(!Jr(t,e,3,n))return qr(e,t,n);const{setText:o}=n;return o(e,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 1:i=function(e,t,n){var r;if(!Jr(t,e,8,n))return qr(e,t,n);const{setProperty:o}=n;return o(e,zr,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:i=function(e,t,n){if(!function(e,t,n,r){const{getProperty:o,getAttribute:i}=r;if(3===o(e,"nodeType"))return!!Jr(n,t,3,r)&&o(e,zr)===o(t,zr);if(8===o(e,"nodeType"))return!!Jr(n,t,8,r)&&o(e,zr)===o(t,zr);if(!Jr(n,t,1,r))return!1;let s=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((r=>{i(e,r)!==i(t,r)&&(Le(`Mismatch hydrating element <${o(e,"tagName").toLowerCase()}>: attribute "${r}" has different values, expected "${i(e,r)}" but found "${i(t,r)}"`,n.owner),s=!1)})),s}(t.fragment,e,t,n))return qr(e,t,n);return t.elm=e,e}(e,t,n);break;case 2:i=function(e,t,n){if(!Jr(t,e,1,n)||!Qr(t,e,n))return qr(e,t,n);t.elm=e;const{owner:r}=t,{context:o}=t.data,i=Boolean(!I(o)&&!I(o.lwc)&&"manual"===o.lwc.dom);if(i){const{data:{props:r}}=t,{getProperty:o}=n;I(r)||I(r.innerHTML)||o(e,"innerHTML")===r.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:ye(r,"innerHTML")}))}if(Xr(t,n),!i){const{getFirstChild:o}=n;Yr(o(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:i=function(e,t,n){if(!Jr(t,e,1,n)||!Qr(t,e,n))return qr(e,t,n);const{sel:r,mode:o,ctor:i,owner:s}=t,l=Mr(e,i,n,{mode:o,owner:s,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,On(t,l),Xr(t,n),Or(l),0!==l.renderMode){const{getFirstChild:r}=n;Yr(r(e),t.children,e,l)}return Kr(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(i)}const zr="nodeValue";function Yr(e,t,n,r){let o=e,i=null;const{renderer:s}=r;for(let e=0;e<t.length;e++){const r=t[e];F(r)||(o?(o=Gr(o,r,s),i=r.elm):(Ur=!0,bn(r,n,s,i),i=r.elm))}if(o){Ur=!0;const{nextSibling:e}=s;do{const t=o;o=e(o),Nn(t,n,s)}while(o)}}function qr(e,t,n){Ur=!0;const{getProperty:r}=n,o=r(e,"parentNode");return bn(t,o,n,e),Nn(e,o,n),t.elm}function Xr(e,t){gn(e,t),hn(null,e,t)}function Jr(e,t,n,r){const{getProperty:o}=r;return o(t,"nodeType")===n}function Qr(e,t,n){const{getProperty:r}=n;if(e.sel.toLowerCase()!==r(t,"tagName").toLowerCase())return!1;const o=function(e,t,n){const{data:{attrs:r={}}}=e;let o=!0;for(const[e,i]of Object.entries(r)){const{getAttribute:r}=n,s=r(t,e);String(i)!==s&&(o=!1)}return o}(e,t,n),i=function(e,t,n){const{data:r,owner:o}=e;let{className:i,classMap:s}=r;const{getProperty:l,getClassList:c}=n,a=sn(o);a&&(I(i)?I(s)||(s=Object.assign(Object.assign({},s),{[a]:!0})):i=`${a} ${i}`);let u=!0;if(I(i)||String(i)===l(t,"className")){if(!I(s)){const e=c(t);let n="";for(const t in s)n+=" "+t,e.contains(t)||(u=!1);n.trim(),e.length>f(s).length&&(u=!1)}}else u=!1;return u}(e,t,n),s=function(e,t,n){const{data:{style:r,styleDecls:o}}=e,{getAttribute:i}=n,s=i(t,"style")||"";let l=!0;if(I(r)||r===s){if(!I(o)){const e=function(e){const t={},n=e.split(ge);for(const e of n)if(e){const[n,r]=e.split(we);void 0!==n&&void 0!==r&&(t[n.trim()]=r.trim())}return t}(s),t=[];for(let n=0,r=o.length;n<r;n++){const[r,i,s]=o[n];t.push(`${r}: ${i+(s?" important!":"")}`);const c=e[r];I(c)?l=!1:c.startsWith(i)?s&&!c.endsWith("!important")&&(l=!1):l=!1}f(e).length>o.length&&(l=!1),E.call(t,";")}}else l=!1;return l}(e,t,n);return o&&i&&s}let Zr=!1;const eo=W(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),to=eo&&l(document.adoptedStyleSheets,"length").writable,no=!I(document.documentMode),ro=new Map;function oo(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function io(e,t,n){const r=function(e,t){const{element:n,usedElement:r}=t;return r?no?oo(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function so(e,t){let n=ro.get(e);return I(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},ro.set(e,n)),t&&I(n.stylesheet)?n.stylesheet=function(e){const t=new CSSStyleSheet;return t.replaceSync(e),t}(e):!t&&I(n.element)&&(n.element=oo(e)),n}function lo(e,t){const n=so(e,eo);let{roots:r}=n;if(I(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),eo?function(e,t,n){const{adoptedStyleSheets:r}=t,{stylesheet:o}=n;to?r.push(o):t.adoptedStyleSheets=[...r,o]}(0,t,n):io(e,t,n)}function co(e){function t(e){return void 0===e}let n,r,o,i;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}}())n=customElements.get.bind(customElements),r=customElements.define.bind(customElements),o=HTMLElement;else{const e=Object.create(null),t=new WeakMap;r=function(n,r){if(n!==String.prototype.toLowerCase.call(n)||e[n])throw new TypeError("Invalid Registration");e[n]=r,t.set(r,n)},n=function(t){return e[t]},o=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");const{constructor:n}=this,r=t.get(n);if(!r)throw new TypeError("Invalid Construction");const o=document.createElement(r);return Object.setPrototypeOf(o,n.prototype),o},o.prototype=HTMLElement.prototype}if("function"==typeof HTMLTemplateElement)i=function(e){const t=document.createElement("template");return t.innerHTML=e,t.content.firstChild};else{const e={caption:["table"],col:["colgroup","table"],colgroup:["table"],option:["select"],tbody:["table"],td:["tr","tbody","table"],th:["tr","tbody","table"],thead:["table"],tfoot:["table"],tr:["tbody","table"]},n=function(e){return(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(e)||["",""])[1].toLowerCase()};i=function(r){const o=e[n(r)];if(!t(o))for(const e of o)r=`<${e}>${r}</${e}>`;const i=document.implementation.createHTMLDocument("");i.body.innerHTML=r;let s=i.body;if(!t(o))for(let e=0;e<o.length;e++)s=s.firstChild;return s.firstChild}}const s={HTMLElementExported:o,insert:function(e,t,n){t.insertBefore(e,n)},remove:function(e,t){t.removeChild(e)},cloneNode:function(e,t){return e.cloneNode(t)},createFragment:i,createElement:function(e,n){return t(n)?document.createElement(e):document.createElementNS(n,e)},createText:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},nextSibling:function(e){return e.nextSibling},attachShadow:function(e,t){return null!==e.shadowRoot?e.shadowRoot:e.attachShadow(t)},getProperty:function(e,t){return e[t]},setProperty:function(e,t,n){e[t]=n},setText:function(e,t){e.nodeValue=t},getAttribute:function(e,n,r){return t(r)?e.getAttribute(n):e.getAttributeNS(r,n)},setAttribute:function(e,n,r,o){return t(o)?e.setAttribute(n,r):e.setAttributeNS(o,n,r)},removeAttribute:function(e,n,r){t(r)?e.removeAttribute(n):e.removeAttributeNS(r,n)},addEventListener:function(e,t,n,r){e.addEventListener(t,n,r)},removeEventListener:function(e,t,n,r){e.removeEventListener(t,n,r)},dispatchEvent:function(e,t){return e.dispatchEvent(t)},getClassList:function(e){return e.classList},setCSSStyleProperty:function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},getBoundingClientRect:function(e){return e.getBoundingClientRect()},querySelector:function(e,t){return e.querySelector(t)},querySelectorAll:function(e,t){return e.querySelectorAll(t)},getElementsByTagName:function(e,t){return e.getElementsByTagName(t)},getElementsByClassName:function(e,t){return e.getElementsByClassName(t)},getChildren:function(e){return e.children},getChildNodes:function(e){return e.childNodes},getFirstChild:function(e){return e.firstChild},getFirstElementChild:function(e){return e.firstElementChild},getLastChild:function(e){return e.lastChild},getLastElementChild:function(e){return e.lastElementChild},isConnected:function(e){return e.isConnected},assertInstanceOfHTMLElement:function(e,t){!function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)}(e instanceof HTMLElement,t)},defineCustomElement:r,getCustomElement:n};return Object.setPrototypeOf(s,e),s}const ao=n(co(null),{insertStylesheet:function(e,t){I(t)?function(e){const t=so(e,!1);t.global||(t.global=!0,io(e,document.head,t))}(e):lo(e,t)},isNativeShadowDefined:Q.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,"$shadowToken$")});function uo(e,t,n){const r=Mr(e,t,ao,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,r]of Object.entries(n))e[t]=r;return r}function fo(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(!W(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!V(n)||F(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(kr(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{!function(e){Ur=!1,Or(e),Kr(e),Ur&&Le("Hydration completed with errors.",e)}(uo(e,t,n))}catch(r){console.error("Recovering from error while hydrating: ",r),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!F(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!F(e.firstChild);)e.removeChild(e.firstChild)}(e,t),uo(e,t,n),vr(e)}}const ho=new WeakSet;function po(e){const t=function(e){return Qt(e).bridge}(e);return class extends t{constructor(){super(),this.isConnected?(fo(this,e,{}),ho.add(this)):Mr(this,e,ao,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){ho.has(this)?ho.delete(this):vr(this)}disconnectedCallback(){Er(this)}}}const mo=Node,go=new WeakMap,wo=new WeakMap;function yo(e,t){const n=t.get(e);return I(n)||n(e),e}if(!ue.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE){const{appendChild:e,insertBefore:t,removeChild:r,replaceChild:o}=mo.prototype;n(mo.prototype,{appendChild(t){return yo(e.call(this,t),go)},insertBefore(e,n){return yo(t.call(this,e,n),go)},removeChild(e){return yo(r.call(this,e),wo)},replaceChild(e,t){const n=o.call(this,e,t);return yo(n,wo),yo(e,go),n}})}const bo=Node;const vo=new Map;i(kt,"CustomElementConstructor",{get(){return function(e){if(e===kt)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=vo.get(e);return I(t)&&(t=po(e),vo.set(e,t)),t}(this)}}),s(kt),h(kt.prototype),e.LightningElement=kt,e.__unstable__ProfilerControl=Wn,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=jr(e);if(!I(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){Br.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{I(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!V(t)||F(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${z(t)}".`);const n=t.is;if(!W(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const r=an(e,ao);let o=!1;const i=new r((r=>{Mr(r,n,ao,{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),ue.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||(go.set(r,vr),wo.set(r,Er)),o=!0}));return o||console.error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`),i},e.freezeTemplate=function(e){},e.getComponentConstructor=function(e){let t=null;if(!I(e)){const n=kr(e);I(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=Qt(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:ne(e)};const c={};for(const e in s)c[e]=s[e].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=fo,e.isComponentConstructor=Jt,e.isNodeFromTemplate=function(e){if(j(e instanceof bo))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&j(u.call(a(t),"synthetic")))||ao.isSyntheticShadowDefined&&!I(e.$shadowResolver$)},e.parseFragment=Qn,e.parseSVGFragment=Zn,e.readonly=function(e){return Ct(e)},e.register=function(e){for(let t=0;t<fr.length;++t){const n=fr[t];if(n in e){let t=dr[n];I(t)&&(dr[n]=t=[]),S.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return W(e)&&ir.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:s,wire:c,track:a,fields:u}=t,d=r(null),f=r(null),h=r(null),p=r(null),m=r(null),g=r(null);let w;if(!I(o))for(const e in o){const t=o[e];if(g[e]=t.config,w=l(n,e),t.config>0){if(I(w))throw new Error;w=$t(e,w)}else w=I(w)||I(w.get)?Pt(e):$t(e,w);f[e]=w,i(n,e,w)}if(I(s)||_.call(s,(e=>{if(w=l(n,e),I(w))throw new Error;d[e]=w})),!I(c))for(const e in c){const{adapter:t,method:r,config:o,dynamic:s=[]}=c[e];if(w=l(n,e),1===r){if(I(w))throw new Error;h[e]=w,Wr(w,t,o,s)}else w=Dt(e),p[e]=w,Vr(w,t,o,s),i(n,e,w)}if(!I(a))for(const e in a)w=l(n,e),w=Rt(e),i(n,e,w);if(!I(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const r=!I(o)&&t in o,i=!I(a)&&t in a;r||i||(m[t]=Ot(t))}return function(e,t){Ht.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return Ft.add(e),i(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return I(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=I(e)?void 0:e.shadowAttribute}}),e},e.renderer=ao,e.rendererFactory=co,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(I(ae[e])){const n=f(ae).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=ue[e];if(!I(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(ue,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(Zr,"Hooks are already overridden, only one definition is allowed."),Zr=!0,n=e.sanitizeHtmlContent,In=n},e.swapComponent=function(e,t){if(!ue.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!ue.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!ue.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return Mt(e);throw new Error},e.unwrap=function(e){return Et.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:r,defineProperties:o,defineProperty:i,freeze:s,getOwnPropertyDescriptor:l,getOwnPropertyNames:c,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{copyWithin:g,fill:w,filter:y,find:b,indexOf:v,join:E,map:C,pop:M,push:T,reduce:S,reverse:k,shift:A,slice:N,sort:L,splice:x,unshift:O,forEach:_}=Array.prototype,{fromCharCode:P}=String,{charCodeAt:$,replace:R,slice:D,toLowerCase:H}=String.prototype;function I(e){return void 0===e}function F(e){return null===e}function B(e){return!0===e}function j(e){return!1===e}function W(e){return"function"==typeof e}function V(e){return"object"==typeof e}function U(e){return"string"==typeof e}function G(){}const K={}.toString;function z(e){return e&&e.toString?m(e)?E.call(C.call(e,z),","):e.toString():"object"==typeof e?K.call(e):e+""}function Y(e,t){do{const n=l(e,t);if(!I(n))return n;e=a(e)}while(null!==e)}const q=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:X,AriaPropNameToAttrNameMap:J}=(()=>{const e=r(null),t=r(null);return _.call(q,(n=>{const r=H.call(R.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),Q=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}(),Z="http://www.w3.org/2000/svg",ee=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"]]),te=new Map;function ne(e){const t=J[e];if(!I(t))return t;const n=ee.get(e);if(!I(n))return n;const r=te.get(e);if(!I(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=$.call(e,t);o+=n>=65&&n<=90?"-"+P(n+32):P(n)}return te.set(e,o),o}function re(e){return void 0===l(Element.prototype,e)}const oe=new WeakMap;function ie(e){let t=oe.get(e);return void 0===t&&(t={},oe.set(e,t)),t}function se(e,t){return{get(){const n=ie(this);return u.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set(n){const r=null==(o=n)?null:String(o);var o;ie(this)[e]=r,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function le(e){const t=se(e,J[e]);Object.defineProperty(Element.prototype,e,t)}const ce=f(J);for(let e=0,t=ce.length;e<t;e+=1){const t=ce[e];re(t)&&le(t)}const ae={DUMMY_TEST_FLAG:null,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_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null};Q.lwcRuntimeFlags||Object.defineProperty(Q,"lwcRuntimeFlags",{value:r(null)});const ue=Q.lwcRuntimeFlags;let de=[];const fe=h(r(null)),he=h([]);function pe(){const e=de;de=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function me(e){0===de.length&&Promise.resolve().then(pe),T.call(de,e)}const ge=/;(?![^(]*\))/g,we=/:(.+)/;function ye(e,t){const n={};for(const r of Object.keys(e))r!==t&&(n[r]=e[r]);return n}const be=new WeakMap;let ve=null;function Ee(e,t){const n=be.get(e);if(!I(n)){const e=n[t];if(!I(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Ce(e,t){if(null===ve)return;const n=ve,o=function(e){let t=be.get(e);if(I(t)){const n=r(null);t=n,be.set(e,n)}return t}(e);let i=o[t];if(I(i))i=[],o[t]=i;else if(i[0]===n)return;-1===v.call(i,n)&&n.link(i)}class Me{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=ve;let n;ve=this;try{e()}catch(e){n=Object(e)}finally{if(ve=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],r=v.call(e[n],this);x.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){T.call(e,this),T.call(this.listeners,e)}}function Te(e,t){Ee(e.component,t)}function Se(e,t){Ce(e.component,t)}function ke(e){return new Me(e)}function Ae(e){return`<${H.call(e.tagName)}>`}function Ne(e,t){if(!d(t)&&I(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!F(n);)T.call(t,Ae(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}function Le(e,t,n){let r=`[LWC ${e}]: ${t}`;I(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!F(e.owner);)T.call(t,n+Ae(e)),e=e.owner,n+="\t";return E.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function xe(e,t){Le("error",e,t)}function Oe(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function _e(e){return W(e)&&u.call(e,"__circular__")}const Pe="undefined"!=typeof HTMLElement?HTMLElement:function(){},$e=Pe.prototype;function Re(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(r(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:Re("offsetHeight")},offsetLeft:{readOnly:!0,error:Re("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Re("offsetTop")},offsetWidth:{readOnly:!0,error:Re("offsetWidth")},role:{attribute:"role"}});let De,He=null;function Ie(e,t){return e!==He||t!==De}function Fe(e,t){He=null,De=void 0}function Be(e,t){He=e,De=t}const je=r(null);function We(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n,Te(e,t))}_.call(f(J),(e=>{const t=Y($e,e);I(t)||(je[e]=t)})),_.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=Y($e,e);I(t)||(je[e]=t)}));const{isArray:Ve}=Array,{prototype:Ue,getPrototypeOf:Ge,create:Ke,defineProperty:ze,isExtensible:Ye,getOwnPropertyDescriptor:qe,getOwnPropertyNames:Xe,getOwnPropertySymbols:Je,preventExtensions:Qe,hasOwnProperty:Ze}=Object,{push:et,concat:tt}=Array.prototype;function nt(e){return void 0===e}function rt(e){return"function"==typeof e}const ot=new WeakMap;function it(e,t){ot.set(e,t)}const st=e=>ot.get(e)||e;class lt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(Ze.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,r=qe(n,t);if(!nt(r)){const n=this.wrapDescriptor(r);ze(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;tt.call(Xe(t),Je(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;nt(n)||Ze.call(e,n)||ze(e,n,Ke(null)),Qe(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:r}}=this,o=n[t];return r(n,t),this.wrapValue(o)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:r,valueObserved:o}}=this;return o(n,t),t in n||t===r}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,r=nt(n)||Ze.call(t,n)?[]:[n];return et.apply(r,Xe(t)),et.apply(r,Je(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!Ye(e)&&(!!Ye(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Ge(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=qe(n,t);if(nt(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},ze(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const ct=new WeakMap,at=new WeakMap,ut=new WeakMap,dt=new WeakMap;class ft extends lt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=ct.get(e);if(!nt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(st(this)))};return ct.set(e,r),ut.set(r,e),r}wrapSetter(e){const t=at.get(e);if(!nt(t))return t;const n=function(t){e.call(st(this),st(t))};return at.set(e,n),dt.set(n,e),n}unwrapDescriptor(e){if(Ze.call(e,"value"))e.value=st(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=ut.get(e);if(!nt(t))return t;const n=this,r=function(){return st(e.call(n.wrapValue(this)))};return ct.set(r,e),ut.set(e,r),r}unwrapSetter(e){const t=dt.get(e);if(!nt(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return at.set(r,e),dt.set(e,r),r}set(e,t,n){const{originalTarget:r,membrane:{valueMutated:o}}=this;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&Ve(r)&&o(r,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:r}}=this;return delete n[t],r(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(Ye(e)){const{originalTarget:t}=this;if(Qe(t),Ye(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!Ze.call(r,t)||(ze(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const ht=new WeakMap,pt=new WeakMap;class mt extends lt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=ht.get(e);if(!nt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(st(this)))};return ht.set(e,r),r}wrapSetter(e){const t=pt.get(e);if(!nt(t))return t;const n=function(e){};return pt.set(e,n),n}set(e,t,n){return!1}deleteProperty(e,t){return!1}setPrototypeOf(e,t){}preventExtensions(e){return!1}defineProperty(e,t,n){return!1}}function gt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(Ve(e))return!0;const t=Ge(e);return t===Ue||null===t||null===Ge(t)}const wt=(e,t)=>{},yt=(e,t)=>{};function bt(e){return Ve(e)?[]:{}}const vt=Symbol.for("@@lockerLiveValue"),Et=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=rt(t)?t:yt,this.valueObserved=rt(n)?n:wt,this.valueIsObservable=rt(r)?r:gt,this.tagPropertyKey=o}getProxy(e){const t=st(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=st(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return st(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(nt(t)){const n=new ft(this,e);t=new Proxy(bt(e),n),it(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(nt(t)){const n=new mt(this,e);t=new Proxy(bt(e),n),it(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Ce,valueMutated:Ee,tagPropertyKey:vt});function Ct(e){return Et.getReadOnlyProxy(e)}function Mt(e){return Et.getProxy(e)}function Tt(e){e[vt]=void 0}function St(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!W(n))throw new TypeError;if(!W(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=Nr(this);if(!ir(t))return Se(t,e),n.call(t.elm)},set(t){const n=Nr(this);return We(n,e,t),r.call(n.elm,t)}}}const kt=function(){if(F(or))throw new ReferenceError("Illegal constructor");const e=or,{def:t,elm:n}=e,{bridge:r}=t,o=this;if(p(n,r.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return Tt(this),Ar(o,e),Ar(n,e),1===e.renderMode?e.renderRoot=At(e):e.renderRoot=n,this};function At(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,Ar(s,e),s}kt.prototype={constructor:kt,dispatchEvent(e){const t=Nr(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=Nr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,hr(r,t),n)},removeEventListener(e,t,n){const r=Nr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,hr(r,t),n)},hasAttribute(e){const t=Nr(this),{elm:n,renderer:{getAttribute:r}}=t;return!F(r(n,e))},hasAttributeNS(e,t){const n=Nr(this),{elm:r,renderer:{getAttribute:o}}=n;return!F(o(r,t,e))},removeAttribute(e){const t=Nr(this),{elm:n,renderer:{removeAttribute:r}}=t;Be(n,e),r(n,e),Fe()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=Nr(this);Be(n,t),r(n,t,e),Fe()},getAttribute(e){const t=Nr(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=Nr(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=Nr(this),{elm:r,renderer:{setAttribute:o}}=n;Be(r,e),o(r,e,t),Fe()},setAttributeNS(e,t,n){const r=Nr(this),{elm:o,renderer:{setAttribute:i}}=r;Be(o,t),i(o,t,n,e),Fe()},getBoundingClientRect(){const e=Nr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=Nr(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=Nr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return Nr(this).shadowRoot},get shadowRoot(){return null},get children(){const e=Nr(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=Nr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=Nr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=Nr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=Nr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=Nr(this);return e.renderer.getLastElementChild(e.elm)},render(){return Nr(this).def.template},toString(){return`[object ${Nr(this).def.name}]`}};const Nt=r(null),Lt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Lt)Nt[e]={value(t){const n=Nr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(kt.prototype,Nt);const xt=r(null);for(const e in je)xt[e]=St(e,je[e]);function Ot(e){return{get(){const t=Nr(this);return Se(t,e),t.cmpFields[e]},set(t){We(Nr(this),e,t)},enumerable:!0,configurable:!0}}o(kt.prototype,xt),i(kt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class _t extends Me{constructor(e,t){super((()=>{j(this.debouncing)&&(this.debouncing=!0,me((()=>{if(B(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,B(e.isDirty)&&j(r)&&i>0&&Cr(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function Pt(e){return{get(){const t=Nr(this);if(!ir(t))return Se(t,e),t.cmpProps[e]},set(t){const n=Nr(this);n.cmpProps[e]=t,Te(n,e)},enumerable:!0,configurable:!0}}function $t(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!W(n))throw new Error;return{get(){return n.call(this)},set(t){const n=Nr(this);if(r)if(ue.ENABLE_REACTIVE_SETTER){let o=n.oar[e];I(o)&&(o=n.oar[e]=function(e,t){return new _t(e,t)}(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function Rt(e){return{get(){const t=Nr(this);return Se(t,e),t.cmpFields[e]},set(t){const n=Nr(this),r=Mt(t);We(n,e,r)},enumerable:!0,configurable:!0}}function Dt(e){return{get(){const t=Nr(this);return Se(t,e),t.cmpFields[e]},set(t){We(Nr(this),e,t)},enumerable:!0,configurable:!0}}const Ht=new Map;const It={apiMethods:fe,apiFields:fe,apiFieldsConfig:fe,wiredMethods:fe,wiredFields:fe,observedFields:fe};const Ft=new Set;function Bt(){return[]}Ft.add(Bt);const jt=r(null),Wt=r(null);function Vt(e){let t=jt[e];return I(t)&&(t=jt[e]=function(){const t=Nr(this),{getHook:n}=t;return n(t.component,e)}),t}function Ut(e){let t=Wt[e];return I(t)&&(t=Wt[e]=function(t){const n=Nr(this),{setHook:r}=n;t=Ct(t),r(n.component,e,t)}),t}function Gt(e){return function(){const t=Nr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,N.call(arguments))}}function Kt(e,t){return function(n,r,o){if(r===o)return;const i=e[n];I(i)?I(t)||t.apply(this,arguments):Ie(this,n)&&(this[i]=o)}}function zt(e,t,n){let s;W(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),i(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=r(null),{attributeChangedCallback:c}=e.prototype,{observedAttributes:a=[]}=e,u=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[ne(n)]=n,u[n]={get:Vt(n),set:Ut(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:Gt(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:Kt(l,c)},i(s,"observedAttributes",{get:()=>[...a,...f(l)]}),o(s.prototype,u),s}const Yt=zt(Pe,c(je),[]);s(Yt),h(Yt.prototype);const qt=new WeakMap;function Xt(e){const{shadowSupportMode:t,renderMode:i}=e,s=function(e){const t=Ht.get(e);return I(t)?It:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=a(e);if(F(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(_e(t)){const e=Oe(t);t=e===t?kt:e}return t}(e),C=E!==kt?Qt(E):Zt,M=zt(C.bridge,f(l),f(u)),T=n(r(null),C.props,l),S=n(r(null),C.propsConfig,c),k=n(r(null),C.methods,u),A=n(r(null),C.wire,d,h);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let N=C.shadowSupportMode;I(t)||(N=t);let L=C.renderMode;I(i)||(L="light"===i?0:1);const x=function(e){return cr.get(e)}(e)||C.template,O=e.name||C.name;o(m,p);return{ctor:e,name:O,wire:A,props:T,propsConfig:S,methods:k,bridge:M,template:x,renderMode:L,shadowSupportMode:N,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Jt(e){if(!W(e))return!1;if(e.prototype instanceof kt)return!0;let t=e;do{if(_e(t)){const e=Oe(t);if(e===t)return!0;t=e}if(t===kt)return!0}while(!F(t)&&(t=a(t)));return!1}function Qt(e){let t=qt.get(e);if(I(t)){if(_e(e)){return t=Qt(Oe(e)),qt.set(e,t),t}if(!Jt(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=Xt(e),qt.set(e,t)}return t}const Zt={ctor:kt,name:kt.name,props:xt,propsConfig:fe,methods:fe,renderMode:1,shadowSupportMode:"reset",wire:fe,bridge:Yt,template:Bt,render:kt.prototype.render};function en(e){return`${e}-host`}function tn(e){return Wn.h("style",{key:"style",attrs:{type:"text/css"}},[Wn.t(e)])}function nn(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(m(s))T.apply(r,nn(s,t,n));else{const e=s.$scoped$,i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let c;1===n.renderMode?c=0===n.shadowMode:(I(o)&&(o=on(n)),c=F(o)||0===o.shadowMode),T.call(r,s(i,l,c))}}return r}function rn(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return I(n)||0===n.length||(o=nn(n,r,e)),o}function on(e){let t=e;for(;!F(t);){if(1===t.renderMode)return t;t=t.owner}return t}function sn(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}function ln(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)o(t[e]);else{if(e.hydrated)return C.call(t,tn);{const n=function(e){const t=on(e);return F(t)||1!==t.shadowMode?t:null}(e),r=F(n)?void 0:n.shadowRoot;for(let e=0;e<t.length;e++)o(t[e],r)}}return null}function cn(e){return!I(Lr(e))}function an(e,t){const{getCustomElement:n,HTMLElementExported:r,defineCustomElement:o}=t;let i=n(e=e.toLowerCase());return I(i)?(i=class extends r{constructor(e){super(),W(e)&&e(this)}},ue.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(i.prototype.connectedCallback=function(){cn(this)&&Mr(this)},i.prototype.disconnectedCallback=function(){cn(this)&&Tr(this)}),o(e,i),i):i}function un(e){const{type:t}=e;return 2===t||3===t}function dn(e,t){return e.key===t.key&&e.sel===t.sel}function fn(e,t){return"input"===e&&("value"===t||"checked"===t)}function hn(e,t,n){const{props:r}=t.data;if(I(r))return;const o=F(e)?fe:e.data.props;if(o===r)return;const i=F(e),{elm:s,sel:l}=t,{getProperty:c,setProperty:a}=n;for(const e in r){const t=r[e];(i||t!==(fn(l,e)?c(s,e):o[e]))&&a(s,e,t)}}const pn=r(null);function mn(e){if(null==e)return fe;e=U(e)?e:e+"";let t=pn[e];if(t)return t;t=r(null);let n,o=0;const i=e.length;for(n=0;n<i;n++)32===$.call(e,n)&&(n>o&&(t[D.call(e,o,n)]=!0),o=n+1);return n>o&&(t[D.call(e,o,n)]=!0),pn[e]=t,t}function gn(e,t){const{elm:n,data:{on:r}}=e;if(I(r))return;const{addEventListener:o}=t;for(const e in r){o(n,e,r[e])}}function wn(e,t,n,r){var o;o=t,_n.has(o)?$n(e,t,n,r):Rn(e,t,n,r)}function yn(e,t,n,r){var o,i;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&kn(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:i}=t;i?Rn(e.children,o,n,r):$n(e.children,o,n,r);t.elm=o[o.length-1].elm}(e,t,n,r);break;case 2:!function(e,t,n){const r=t.elm=e.elm;Ln(e,t,n),wn(e.children,t.children,r,n)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:r);break;case 3:!function(e,t,n,r){if(e.ctor!==t.ctor){const o=r.nextSibling(e.elm);Cn(e,n,r,!0),vn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;Ln(e,t,r),I(o)||On(t,o),wn(e.children,t.children,n,r),I(o)||Cr(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function bn(e,t,n,r){var o,i;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:i}=r,s=e.elm=i(e.text);Sn(s,o,r),An(s,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:i}=r,s=e.elm=i(e.text);Sn(s,o,r),An(s,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:i,isSyntheticShadowDefined:s}=r,l=e.elm=i(e.fragment,!0);Sn(l,o,r);const{renderMode:c,shadowMode:a}=o;s&&(1!==a&&0!==c||(l.$shadowStaticNode$=!0));An(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;En(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:i,data:{svg:s}}=e,{createElement:l}=r,c=B(s)?Z:void 0,a=e.elm=l(o,c);Sn(a,i,r),xn(a,i,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(a,e),Ln(null,e,r),An(a,t,n,r),En(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:vn(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function vn(e,t,n,r){const{sel:o,owner:i}=e,s=an(o,r);let l;const c=new s((t=>{l=function(e,t,n){let r=Lr(e);if(!I(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=kr(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}));if(e.elm=c,e.vm=l,Sn(c,i,r),xn(c,i,r),l)On(e,l);else if(e.ctor!==s)throw new TypeError("Incorrect Component Constructor");Ln(null,e,r),An(c,t,n,r),l&&(ue.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||$r(l)),En(e.children,c,r,null),l&&function(e){xr(e)}(l)}function En(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];Tn(i)&&bn(i,t,n,r)}}function Cn(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?Mn(e.children,t,n,r):Nn(i,t,n)),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;Mn(e.children,i,n,t);break}case 3:{const{vm:t}=e;I(t)||function(e){Sr(e)}(t)}}}function Mn(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];Tn(i)&&Cn(i,t,n,r)}}function Tn(e){return null!=e}function Sn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function kn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function An(e,t,n,r){r.insert(e,t,n)}function Nn(e,t,n){n.remove(e,t)}function Ln(e,t,n){F(e)&&(gn(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(I(r))return;const{getClassList:o}=t,i=o(n);for(const e in r)i.add(e)}(t,n),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(I(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,i,s]=r[e];o(n,t,i,s)}}(t,n)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=F(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),c=mn(o),a=mn(i);let u;for(u in a)I(c[u])&&l.remove(u);for(u in c)I(a[u])&&l.add(u)}(e,t,n),function(e,t,n){const{elm:r,data:{style:o}}=t;if((F(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;U(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,t,n),function(e,t,n){const{attrs:r}=t.data;if(I(r))return;const o=F(e)?fe:e.data.attrs;if(o===r)return;const{elm:i}=t,{setAttribute:s,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(Be(i,e),58===$.call(e,3)?s(i,e,t,"http://www.w3.org/XML/1998/namespace"):58===$.call(e,5)?s(i,e,t,"http://www.w3.org/1999/xlink"):F(t)||I(t)?l(i,e):s(i,e,t),Fe())}}(e,t,n),hn(e,t,n)}function xn(e,t,n){const r=sn(t);if(!F(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||I(o)||(e.$shadowToken$=o)}function On(e,t){const n=e.aChildren||e.children;t.aChildren=n;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t){var n;const{cmpSlots:o}=e,i=e.cmpSlots=r(null);for(let e=0,r=t.length;e<r;e+=1){const r=t[e];if(F(r))continue;let o="";un(r)&&(o=(null===(n=r.data.attrs)||void 0===n?void 0:n.slot)||"");const s=i[o]=i[o]||[];T.call(s,r)}if(j(e.isDirty)){const t=f(o);if(t.length!==f(i).length)return void dr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(I(i[r])||o[r].length!==i[r].length)return void dr(e);const s=o[r],l=i[r];for(let t=0,n=i[r].length;t<n;t+=1)if(s[t]!==l[t])return void dr(e)}}}(t,n),e.aChildren=n,e.children=he)}const _n=new WeakMap;function Pn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Tn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function $n(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],c=e[s];const a=t.length-1;let u,d,f,h,p=a,m=t[0],g=t[p],w=!1;for(;o<=s&&i<=p;)Tn(l)?Tn(c)?Tn(m)?Tn(g)?dn(l,m)?(yn(l,m,n,r),l=e[++o],m=t[++i]):dn(c,g)?(yn(c,g,n,r),c=e[--s],g=t[--p]):dn(l,g)?(yn(l,g,n,r),An(l.elm,n,r.nextSibling(c.elm),r),l=e[++o],g=t[--p]):dn(c,m)?(yn(c,m,n,r),An(m.elm,n,l.elm,r),c=e[--s],m=t[++i]):(void 0===u&&(u=Pn(e,o,s)),d=u[m.key],I(d)?(bn(m,n,r,l.elm),m=t[++i]):(f=e[d],Tn(f)&&(f.sel!==m.sel?bn(m,n,r,l.elm):(yn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,An(f.elm,n,l.elm,r))),m=t[++i])):g=t[--p]:m=t[++i]:c=e[--s]:l=e[++o];if(o<=s||i<=p)if(o>s){let e,o=p;do{e=t[++o]}while(!Tn(e)&&o<a);h=Tn(e)?e.elm:null,En(t,n,r,h,i,p+1)}else Mn(e,n,r,!0,o,s+1)}function Rn(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void En(t,n,r,null);if(0===i)return void Mn(e,n,r,!0);let s=null;for(let o=i-1;o>=0;o-=1){const i=e[o],l=t[o];l!==i&&(Tn(i)?Tn(l)?(yn(i,l,n,r),s=l.elm):Cn(i,n,r,!0):Tn(l)&&(bn(l,n,r,s),s=l.elm))}}const Dn=Symbol.iterator;function Hn(e,t,n=he){const r=Qn();const{key:o}=t;return{type:2,sel:e,data:t,children:n,elm:undefined,key:o,owner:r}}function In(e,t,n,r=he){const o=Qn(),{key:i}=n;const s={type:3,sel:e,data:n,children:r,elm:undefined,key:i,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){T.call(Qn().velements,e)}(s),s}function Fn(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:Qn()}}function Bn(e){var t;return t=e,_n.set(t,1),e}let jn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const Wn=s({s:function(e,t,n,r){I(r)||I(r[e])||0===r[e].length||(n=r[e]);const o=Qn(),{renderMode:i,shadowMode:s}=o;return 0===i?(Bn(n),n):(1===s&&Bn(n),Hn("slot",t,n))},h:Hn,c:In,i:function(e,t){const n=[];if(Bn(n),I(e)||null===e)return n;const r=e[Dn]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);m(e)?T.apply(n,e):T.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];Bn(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?T.apply(n,t):T.call(n,t)}return n},t:Fn,d:function(e){return null==e?"":String(e)},b:function(e){const t=Qn();if(F(t))throw new Error;const n=t;return function(t){lr(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:"c",owner:Qn()}},dc:function(e,t,n,r=he){if(null==t)return null;if(!Jt(t))throw new Error(`Invalid LWC Constructor ${z(t)} for custom element <${e}>.`);return In(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[Fn(""),...t,Fn("")],stable:n,owner:Qn()}},ti:function(e){return e>0&&!(B(e)||j(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:Qn()}},gid:function(e){const t=Qn();if(I(e)||""===e)return e;if(F(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?R.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=Qn();if(I(e)||""===e)return e;if(F(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return jn(e)}});let Vn=!1,Un=G;const Gn={enableProfiler(){Vn=!0},disableProfiler(){Vn=!1},attachDispatcher(e){Un=e,this.enableProfiler()},detachDispatcher(){const e=Un;return Un=G,this.disableProfiler(),e}};function Kn(e,t){Vn&&Un(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function zn(e,t){Vn&&Un(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Yn(e,t){Vn&&Un(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 qn(e,t){Vn&&Un(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 Xn=!1,Jn=null;function Qn(){return Jn}function Zn(e){Jn=e}function er(e){return(t,...n)=>{const o=r(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:i},shadowMode:s,renderer:l}=Qn(),c=!I(i),a=1===s;let u=0;if(c&&r&&(u|=1),c&&a&&(u|=2),!I(o[u]))return o[u];const d=r&&c?" "+i:"",f=r&&c?` class="${i}"`:"",h=c&&a?" "+i:"";let p="";for(let e=0,r=n.length;e<r;e++)switch(n[e]){case 0:p+=t[e]+d;break;case 1:p+=t[e]+f;break;case 2:p+=t[e]+h;break;case 3:p+=t[e]+f+h}return p+=t[t.length-1],o[u]=e(p,l),o[u]}}}const tr=er(((e,t)=>{const{createFragment:n}=t;return n(e)})),nr=er(((e,t)=>{const{createFragment:n,getFirstChild:r}=t;return r(n("<svg>"+e+"</svg>"))}));function rr(e,t){const n=Xn,o=Jn;let i=[];return Fr(e,e.owner,(()=>{Jn=e,Kn(1,e)}),(()=>{const{component:n,context:o,cmpSlots:s,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(F(l)||Ir(e),c=t,!Ft.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: ${z(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!I(t))for(let e=0;e<t.length;e++)if(B(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:l,setAttribute:c}}=e,{stylesheets:a,stylesheetToken:u}=t,d=1===o&&1===i,{hasScopedStyles:f}=r;let h,p,m;const{stylesheetToken:g,hasTokenInClass:w,hasTokenInAttribute:y}=r;I(g)||(w&&s(n).remove(en(g)),y&&l(n,en(g))),I(a)||0===a.length||(h=u),I(h)||(f&&(s(n).add(en(h)),p=!0),d&&(c(n,en(h),""),m=!0)),r.stylesheetToken=h,r.hasTokenInClass=p,r.hasTokenInAttribute=m}(e,t);const n=rn(e,t);o.styleVNodes=0===n.length?null:ln(e,n)}var c;e.velements=[],Xn=!0,i=t.call(void 0,Wn,n,s,o.tplCache);const{styleVNodes:a}=o;F(a)||O.apply(i,a)}))}),(()=>{Xn=n,Jn=o,zn(1,e)})),i}let or=null;function ir(e){return or===e}function sr(e,t,n){const{component:r,callHook:o,owner:i}=e;Fr(e,i,G,(()=>{o(r,t,n)}),G)}function lr(e,t,n,r){const{callHook:o,owner:i}=e;Fr(e,i,G,(()=>{o(n,t,[r])}),G)}const cr=new Map;function ar(e){return ke((()=>{const{isDirty:t}=e;j(t)&&(dr(e),function(e){if(B(e.isScheduled))return;e.isScheduled=!0,0===_r.length&&me(Pr);T.call(_r,e)}(e))}))}function ur(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=Qn();let s,l=!1;return Fr(e,o,(()=>{Zn(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{Zn(i)})),l?rr(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function dr(e){e.isDirty=!0}const fr=new WeakMap;function hr(e,t){if(!W(t))throw new TypeError;let n=fr.get(t);return I(n)&&(n=function(n){lr(e,t,void 0,n)},fr.set(t,n)),n}const pr=r(null),mr=["rendered","connected","disconnected"];function gr(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let wr=0;const yr=new WeakMap;function br(e,t,n=[]){return t.apply(e,n)}function vr(e,t,n){e[t]=n}function Er(e,t){return e[t]}function Cr(e){xr(e)}function Mr(e){const t=Nr(e);Yn(7,t),1===t.state&&Tr(e),$r(t),xr(t),qn(7,t)}function Tr(e){Sr(Nr(e))}function Sr(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){j(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=pr;t&&gr(e,t);Rr(e)&&function(e){const{wiredDisconnecting:t}=e.context;Fr(e,e,G,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),G)}(e);const{disconnectedCallback:n}=e.def;I(n)||(Kn(5,e),sr(e,n),zn(5,e))}(e),Dr(e),function(e){const{aChildren:t}=e;Hr(t)}(e)}}function kr(e,t,n,o){const{mode:i,owner:s,tagName:l,hydrated:c}=o,a=Qt(t),u={elm:e,def:a,idx:wr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,children:he,aChildren:he,velements:he,cmpProps:r(null),cmpFields:r(null),cmpSlots:r(null),oar:r(null),cmpTemplate:null,hydrated:Boolean(c),renderMode:a.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:fe,wiredConnecting:he,wiredDisconnecting:he},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:br,setHook:vr,getHook:Er,renderer:n};return u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(ue.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!F(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=F(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,n),u.tro=ar(u),function(e,t){const n=or;let r;Kn(0,e),or=e;try{const o=new t;if(or.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(zn(0,e),or=n,!I(r))throw Ne(e,r),r}}(u,a.ctor),Rr(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=Br.get(i);if(!I(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=Wr(e,t,s),c=s.dynamic.length>0;T.call(r,(()=>{n.connect(),ue.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),T.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function Ar(e,t){yr.set(e,t)}function Nr(e){return yr.get(e)}function Lr(e){return yr.get(e)}function xr(e){if(B(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&Fr(e,e,(()=>{Kn(2,e)}),(()=>{wn(r,t,n,o)}),(()=>{zn(2,e)}));1===e.state&&Or(e)}(e,ur(e))}}function Or(e){const{def:{renderedCallback:t}}=e,{rendered:n}=pr;n&&gr(e,n),I(t)||(Kn(4,e),sr(e,t),zn(4,e))}let _r=[];function Pr(){Yn(8);const e=_r.sort(((e,t)=>e.idx-t.idx));_r=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{xr(r)}catch(r){throw t+1<n&&(0===_r.length&&me(Pr),O.apply(_r,N.call(e,t+1))),qn(8),r}}qn(8)}function $r(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=pr;n&&gr(e,n),Rr(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;I(r)||(Kn(3,e),sr(e,r),zn(3,e))}function Rr(e){return c(e.def.wire).length>0}function Dr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!I(n)){const e=Lr(n);I(e)||Sr(e)}}}function Hr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!F(n)&&!I(n.elm))switch(n.type){case 2:Hr(n.children);break;case 3:Sr(Nr(n.elm));break}}}function Ir(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];F(o)||I(o.elm)||r(o.elm,n)}e.children=he,Dr(e),e.velements=he}function Fr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!I(i)){Ne(e,i);const n=F(t)?void 0:function(e){let t=e;for(;!F(t);){if(!I(t.def.errorCallback))return t;t=t.owner}}(t);if(I(n))throw i;Ir(e),Kn(6,e);sr(n,n.def.errorCallback,[i,i.wcStack]),zn(6,e)}}}const Br=new Map;class jr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function Wr(e,t,n){const{method:r,adapter:o,configCallback:s,dynamic:l}=n,c=I(r)?function(e,t){return n=>{We(e,t,n)}}(e,t):function(e,t){return n=>{Fr(e,e.owner,G,(()=>{t.call(e.component,n)}),G)}}(e,r);let a,u;i(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(c,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),Fr(e,e,G,(()=>{u=new o(c)}),G);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=ke((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),i()})))})),i=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:i,ro:o}}(e.component,s,(t=>{Fr(e,e,G,(()=>{u.update(t,a)}),G)}));return I(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Ur(r);if(I(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:c}}=e;T.call(s,(()=>{const e=new jr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){T.call(l,e)}});c(i,e)}))}(e,n,(t=>{a!==t&&(a=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const Vr=new Map;function Ur(e){return Vr.get(e)}function Gr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Br.set(e,o)}function Kr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Br.set(e,o)}let zr=!1;function Yr(e){const t=ur(e);e.children=t;const{renderRoot:n,renderer:{getFirstChild:r}}=e;Jr(r(n),t,n,e),Or(e)}function qr(e,t,n){var r,o;let i;switch(t.type){case 0:i=function(e,t,n){var r;if(!eo(t,e,3,n))return Qr(e,t,n);const{setText:o}=n;return o(e,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 1:i=function(e,t,n){var r;if(!eo(t,e,8,n))return Qr(e,t,n);const{setProperty:o}=n;return o(e,Xr,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:i=function(e,t,n){if(!function(e,t,n,r){const{getProperty:o,getAttribute:i}=r;if(3===o(e,"nodeType"))return!!eo(n,t,3,r)&&o(e,Xr)===o(t,Xr);if(8===o(e,"nodeType"))return!!eo(n,t,8,r)&&o(e,Xr)===o(t,Xr);if(!eo(n,t,1,r))return!1;let s=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((r=>{i(e,r)!==i(t,r)&&(xe(`Mismatch hydrating element <${o(e,"tagName").toLowerCase()}>: attribute "${r}" has different values, expected "${i(e,r)}" but found "${i(t,r)}"`,n.owner),s=!1)})),s}(t.fragment,e,t,n))return Qr(e,t,n);return t.elm=e,e}(e,t,n);break;case 5:i=function(e,t,n){const{children:r,owner:o}=t;return Jr(e,r,n.getProperty(e,"parentNode"),o),t.elm=r[r.length-1].elm}(e,t,n);break;case 2:i=function(e,t,n){if(!eo(t,e,1,n)||!to(t,e,n))return Qr(e,t,n);t.elm=e;const{owner:r}=t,{context:o}=t.data,i=Boolean(!I(o)&&!I(o.lwc)&&"manual"===o.lwc.dom);if(i){const{data:{props:r}}=t,{getProperty:o}=n;I(r)||I(r.innerHTML)||o(e,"innerHTML")===r.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:ye(r,"innerHTML")}))}if(Zr(t,n),!i){const{getFirstChild:o}=n;Jr(o(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:i=function(e,t,n){if(!eo(t,e,1,n)||!to(t,e,n))return Qr(e,t,n);const{sel:r,mode:o,ctor:i,owner:s}=t,l=kr(e,i,n,{mode:o,owner:s,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,On(t,l),Zr(t,n),$r(l),0!==l.renderMode){const{getFirstChild:r}=n;Jr(r(e),t.children,e,l)}return Yr(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(i)}const Xr="nodeValue";function Jr(e,t,n,r){let o=e,i=null;const{renderer:s}=r;for(let e=0;e<t.length;e++){const r=t[e];F(r)||(o?(o=qr(o,r,s),i=r.elm):(zr=!0,bn(r,n,s,i),i=r.elm))}if(o){zr=!0;const{nextSibling:e}=s;do{const t=o;o=e(o),Nn(t,n,s)}while(o)}}function Qr(e,t,n){zr=!0;const{getProperty:r}=n,o=r(e,"parentNode");return bn(t,o,n,e),Nn(e,o,n),t.elm}function Zr(e,t){gn(e,t),hn(null,e,t)}function eo(e,t,n,r){const{getProperty:o}=r;return o(t,"nodeType")===n}function to(e,t,n){const{getProperty:r}=n;if(e.sel.toLowerCase()!==r(t,"tagName").toLowerCase())return!1;const o=function(e,t,n){const{data:{attrs:r={}}}=e;let o=!0;for(const[e,i]of Object.entries(r)){const{getAttribute:r}=n,s=r(t,e);String(i)!==s&&(o=!1)}return o}(e,t,n),i=function(e,t,n){const{data:r,owner:o}=e;let{className:i,classMap:s}=r;const{getProperty:l,getClassList:c}=n,a=sn(o);a&&(I(i)?I(s)||(s=Object.assign(Object.assign({},s),{[a]:!0})):i=`${a} ${i}`);let u=!0;if(I(i)||String(i)===l(t,"className")){if(!I(s)){const e=c(t);let n="";for(const t in s)n+=" "+t,e.contains(t)||(u=!1);n.trim(),e.length>f(s).length&&(u=!1)}}else u=!1;return u}(e,t,n),s=function(e,t,n){const{data:{style:r,styleDecls:o}}=e,{getAttribute:i}=n,s=i(t,"style")||"";let l=!0;if(I(r)||r===s){if(!I(o)){const e=function(e){const t={},n=e.split(ge);for(const e of n)if(e){const[n,r]=e.split(we);void 0!==n&&void 0!==r&&(t[n.trim()]=r.trim())}return t}(s),t=[];for(let n=0,r=o.length;n<r;n++){const[r,i,s]=o[n];t.push(`${r}: ${i+(s?" important!":"")}`);const c=e[r];I(c)?l=!1:c.startsWith(i)?s&&!c.endsWith("!important")&&(l=!1):l=!1}f(e).length>o.length&&(l=!1),E.call(t,";")}}else l=!1;return l}(e,t,n);return o&&i&&s}let no=!1;const ro=W(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),oo=ro&&l(document.adoptedStyleSheets,"length").writable,io=!I(document.documentMode),so=new Map;function lo(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function co(e,t,n){const r=function(e,t){const{element:n,usedElement:r}=t;return r?io?lo(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function ao(e,t){let n=so.get(e);return I(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},so.set(e,n)),t&&I(n.stylesheet)?n.stylesheet=function(e){const t=new CSSStyleSheet;return t.replaceSync(e),t}(e):!t&&I(n.element)&&(n.element=lo(e)),n}function uo(e,t){const n=ao(e,ro);let{roots:r}=n;if(I(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),ro?function(e,t,n){const{adoptedStyleSheets:r}=t,{stylesheet:o}=n;oo?r.push(o):t.adoptedStyleSheets=[...r,o]}(0,t,n):co(e,t,n)}function fo(e){function t(e){return void 0===e}let n,r,o,i;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}}())n=customElements.get.bind(customElements),r=customElements.define.bind(customElements),o=HTMLElement;else{const e=Object.create(null),t=new WeakMap;r=function(n,r){if(n!==String.prototype.toLowerCase.call(n)||e[n])throw new TypeError("Invalid Registration");e[n]=r,t.set(r,n)},n=function(t){return e[t]},o=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");const{constructor:n}=this,r=t.get(n);if(!r)throw new TypeError("Invalid Construction");const o=document.createElement(r);return Object.setPrototypeOf(o,n.prototype),o},o.prototype=HTMLElement.prototype}if("function"==typeof HTMLTemplateElement)i=function(e){const t=document.createElement("template");return t.innerHTML=e,t.content.firstChild};else{const e={caption:["table"],col:["colgroup","table"],colgroup:["table"],option:["select"],tbody:["table"],td:["tr","tbody","table"],th:["tr","tbody","table"],thead:["table"],tfoot:["table"],tr:["tbody","table"]},n=function(e){return(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(e)||["",""])[1].toLowerCase()};i=function(r){const o=e[n(r)];if(!t(o))for(const e of o)r=`<${e}>${r}</${e}>`;const i=document.implementation.createHTMLDocument("");i.body.innerHTML=r;let s=i.body;if(!t(o))for(let e=0;e<o.length;e++)s=s.firstChild;return s.firstChild}}const s={HTMLElementExported:o,insert:function(e,t,n){t.insertBefore(e,n)},remove:function(e,t){t.removeChild(e)},cloneNode:function(e,t){return e.cloneNode(t)},createFragment:i,createElement:function(e,n){return t(n)?document.createElement(e):document.createElementNS(n,e)},createText:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},nextSibling:function(e){return e.nextSibling},attachShadow:function(e,t){return null!==e.shadowRoot?e.shadowRoot:e.attachShadow(t)},getProperty:function(e,t){return e[t]},setProperty:function(e,t,n){e[t]=n},setText:function(e,t){e.nodeValue=t},getAttribute:function(e,n,r){return t(r)?e.getAttribute(n):e.getAttributeNS(r,n)},setAttribute:function(e,n,r,o){return t(o)?e.setAttribute(n,r):e.setAttributeNS(o,n,r)},removeAttribute:function(e,n,r){t(r)?e.removeAttribute(n):e.removeAttributeNS(r,n)},addEventListener:function(e,t,n,r){e.addEventListener(t,n,r)},removeEventListener:function(e,t,n,r){e.removeEventListener(t,n,r)},dispatchEvent:function(e,t){return e.dispatchEvent(t)},getClassList:function(e){return e.classList},setCSSStyleProperty:function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},getBoundingClientRect:function(e){return e.getBoundingClientRect()},querySelector:function(e,t){return e.querySelector(t)},querySelectorAll:function(e,t){return e.querySelectorAll(t)},getElementsByTagName:function(e,t){return e.getElementsByTagName(t)},getElementsByClassName:function(e,t){return e.getElementsByClassName(t)},getChildren:function(e){return e.children},getChildNodes:function(e){return e.childNodes},getFirstChild:function(e){return e.firstChild},getFirstElementChild:function(e){return e.firstElementChild},getLastChild:function(e){return e.lastChild},getLastElementChild:function(e){return e.lastElementChild},isConnected:function(e){return e.isConnected},assertInstanceOfHTMLElement:function(e,t){!function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)}(e instanceof HTMLElement,t)},defineCustomElement:r,getCustomElement:n};return Object.setPrototypeOf(s,e),s}const ho=n(fo(null),{insertStylesheet:function(e,t){I(t)?function(e){const t=ao(e,!1);t.global||(t.global=!0,co(e,document.head,t))}(e):uo(e,t)},isNativeShadowDefined:Q.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,"$shadowToken$")});function po(e,t,n){const r=kr(e,t,ho,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,r]of Object.entries(n))e[t]=r;return r}function mo(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(!W(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!V(n)||F(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(Lr(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{!function(e){zr=!1,$r(e),Yr(e),zr&&xe("Hydration completed with errors.",e)}(po(e,t,n))}catch(r){console.error("Recovering from error while hydrating: ",r),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!F(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!F(e.firstChild);)e.removeChild(e.firstChild)}(e,t),po(e,t,n),Mr(e)}}const go=new WeakSet;function wo(e){const t=function(e){return Qt(e).bridge}(e);return class extends t{constructor(){super(),this.isConnected?(mo(this,e,{}),go.add(this)):kr(this,e,ho,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){go.has(this)?go.delete(this):Mr(this)}disconnectedCallback(){Tr(this)}}}const yo=Node,bo=new WeakMap,vo=new WeakMap;function Eo(e,t){const n=t.get(e);return I(n)||n(e),e}if(!ue.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE){const{appendChild:e,insertBefore:t,removeChild:r,replaceChild:o}=yo.prototype;n(yo.prototype,{appendChild(t){return Eo(e.call(this,t),bo)},insertBefore(e,n){return Eo(t.call(this,e,n),bo)},removeChild(e){return Eo(r.call(this,e),vo)},replaceChild(e,t){const n=o.call(this,e,t);return Eo(n,vo),Eo(e,bo),n}})}const Co=Node;const Mo=new Map;i(kt,"CustomElementConstructor",{get(){return function(e){if(e===kt)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=Mo.get(e);return I(t)&&(t=wo(e),Mo.set(e,t)),t}(this)}}),s(kt),h(kt.prototype),e.LightningElement=kt,e.__unstable__ProfilerControl=Gn,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=Ur(e);if(!I(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){Vr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{I(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!V(t)||F(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${z(t)}".`);const n=t.is;if(!W(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const r=an(e,ho);let o=!1;const i=new r((r=>{kr(r,n,ho,{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),ue.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||(bo.set(r,Mr),vo.set(r,Tr)),o=!0}));return o||console.error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`),i},e.freezeTemplate=function(e){},e.getComponentConstructor=function(e){let t=null;if(!I(e)){const n=Lr(e);I(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=Qt(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:ne(e)};const c={};for(const e in s)c[e]=s[e].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=mo,e.isComponentConstructor=Jt,e.isNodeFromTemplate=function(e){if(j(e instanceof Co))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&j(u.call(a(t),"synthetic")))||ho.isSyntheticShadowDefined&&!I(e.$shadowResolver$)},e.parseFragment=tr,e.parseSVGFragment=nr,e.readonly=function(e){return Ct(e)},e.register=function(e){for(let t=0;t<mr.length;++t){const n=mr[t];if(n in e){let t=pr[n];I(t)&&(pr[n]=t=[]),T.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return W(e)&&cr.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:s,wire:c,track:a,fields:u}=t,d=r(null),f=r(null),h=r(null),p=r(null),m=r(null),g=r(null);let w;if(!I(o))for(const e in o){const t=o[e];if(g[e]=t.config,w=l(n,e),t.config>0){if(I(w))throw new Error;w=$t(e,w)}else w=I(w)||I(w.get)?Pt(e):$t(e,w);f[e]=w,i(n,e,w)}if(I(s)||_.call(s,(e=>{if(w=l(n,e),I(w))throw new Error;d[e]=w})),!I(c))for(const e in c){const{adapter:t,method:r,config:o,dynamic:s=[]}=c[e];if(w=l(n,e),1===r){if(I(w))throw new Error;h[e]=w,Gr(w,t,o,s)}else w=Dt(e),p[e]=w,Kr(w,t,o,s),i(n,e,w)}if(!I(a))for(const e in a)w=l(n,e),w=Rt(e),i(n,e,w);if(!I(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const r=!I(o)&&t in o,i=!I(a)&&t in a;r||i||(m[t]=Ot(t))}return function(e,t){Ht.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return Ft.add(e),i(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return I(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=I(e)?void 0:e.shadowAttribute}}),e},e.renderer=ho,e.rendererFactory=fo,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(I(ae[e])){const n=f(ae).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=ue[e];if(!I(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(ue,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(no,"Hooks are already overridden, only one definition is allowed."),no=!0,n=e.sanitizeHtmlContent,jn=n},e.swapComponent=function(e,t){if(!ue.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!ue.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!ue.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return Mt(e);throw new Error},e.unwrap=function(e){return Et.unwrapProxy(e)},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -294,7 +294,7 @@
294
294
  CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
295
295
  return attributeName;
296
296
  }
297
- /** version: 2.23.4 */
297
+ /** version: 2.23.5 */
298
298
 
299
299
  /**
300
300
  * Copyright (C) 2018 salesforce.com, inc.
@@ -376,7 +376,7 @@
376
376
  patch$1(propName);
377
377
  }
378
378
  }
379
- /** version: 2.23.4 */
379
+ /** version: 2.23.5 */
380
380
 
381
381
  /**
382
382
  * Copyright (C) 2018 salesforce.com, inc.
@@ -401,6 +401,7 @@
401
401
  ENABLE_NODE_PATCH: null,
402
402
  ENABLE_REACTIVE_SETTER: null,
403
403
  ENABLE_WIRE_SYNC_EMIT: null,
404
+ ENABLE_LIGHT_GET_ROOT_NODE_PATCH: null,
404
405
  };
405
406
  if (!_globalThis.lwcRuntimeFlags) {
406
407
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
@@ -2807,6 +2808,12 @@
2807
2808
  n2.elm = n1.elm;
2808
2809
  break;
2809
2810
 
2811
+ case 5
2812
+ /* VNodeType.Fragment */
2813
+ :
2814
+ patchFragment(n1, n2, parent, renderer);
2815
+ break;
2816
+
2810
2817
  case 2
2811
2818
  /* VNodeType.Element */
2812
2819
  :
@@ -2846,6 +2853,12 @@
2846
2853
  mountStatic(node, parent, anchor, renderer);
2847
2854
  break;
2848
2855
 
2856
+ case 5
2857
+ /* VNodeType.Fragment */
2858
+ :
2859
+ mountFragment(node, parent, anchor, renderer);
2860
+ break;
2861
+
2849
2862
  case 2
2850
2863
  /* VNodeType.Element */
2851
2864
  :
@@ -2903,6 +2916,31 @@
2903
2916
  insertNode(commentNode, parent, anchor, renderer);
2904
2917
  }
2905
2918
 
2919
+ function mountFragment(vnode, parent, anchor, renderer) {
2920
+ const {
2921
+ children
2922
+ } = vnode;
2923
+ mountVNodes(children, parent, renderer, anchor); // children of a fragment will always have at least the two delimiters.
2924
+
2925
+ vnode.elm = children[children.length - 1].elm;
2926
+ }
2927
+
2928
+ function patchFragment(n1, n2, parent, renderer) {
2929
+ const {
2930
+ children,
2931
+ stable
2932
+ } = n2;
2933
+
2934
+ if (stable) {
2935
+ updateStaticChildren(n1.children, children, parent, renderer);
2936
+ } else {
2937
+ updateDynamicChildren(n1.children, children, parent, renderer);
2938
+ } // Note: not reusing n1.elm, because during patching, it may be patched with another text node.
2939
+
2940
+
2941
+ n2.elm = children[children.length - 1].elm;
2942
+ }
2943
+
2906
2944
  function mountElement(vnode, parent, anchor, renderer) {
2907
2945
  const {
2908
2946
  sel,
@@ -3057,9 +3095,15 @@
3057
3095
  // subtree root, is the only element worth unmounting from the subtree.
3058
3096
 
3059
3097
  if (doRemove) {
3060
- // The vnode might or might not have a data.renderer associated to it
3061
- // but the removal used here is from the owner instead.
3062
- removeNode(elm, parent, renderer);
3098
+ if (type === 5
3099
+ /* VNodeType.Fragment */
3100
+ ) {
3101
+ unmountVNodes(vnode.children, parent, renderer, doRemove);
3102
+ } else {
3103
+ // The vnode might or might not have a data.renderer associated to it
3104
+ // but the removal used here is from the owner instead.
3105
+ removeNode(elm, parent, renderer);
3106
+ }
3063
3107
  }
3064
3108
 
3065
3109
  switch (type) {
@@ -3521,6 +3565,18 @@
3521
3565
  owner: getVMBeingRendered(),
3522
3566
  };
3523
3567
  }
3568
+ // [fr]agment node
3569
+ function fr(key, children, stable) {
3570
+ return {
3571
+ type: 5 /* VNodeType.Fragment */,
3572
+ sel: undefined,
3573
+ key,
3574
+ elm: undefined,
3575
+ children: [t(''), ...children, t('')],
3576
+ stable,
3577
+ owner: getVMBeingRendered(),
3578
+ };
3579
+ }
3524
3580
  // [h]tml node
3525
3581
  function h(sel, data, children = EmptyArray) {
3526
3582
  const vmBeingRendered = getVMBeingRendered();
@@ -3647,13 +3703,13 @@
3647
3703
  }
3648
3704
  // [co]mment node
3649
3705
  function co(text) {
3650
- let sel, key, elm;
3706
+ let sel, elm;
3651
3707
  return {
3652
3708
  type: 1 /* VNodeType.Comment */,
3653
3709
  sel,
3654
3710
  text,
3655
3711
  elm,
3656
- key,
3712
+ key: 'c',
3657
3713
  owner: getVMBeingRendered(),
3658
3714
  };
3659
3715
  }
@@ -3778,6 +3834,7 @@
3778
3834
  k,
3779
3835
  co,
3780
3836
  dc,
3837
+ fr,
3781
3838
  ti,
3782
3839
  st,
3783
3840
  gid,
@@ -5123,6 +5180,10 @@
5123
5180
  // VStatic are cacheable and cannot have custom renderer associated to them
5124
5181
  hydratedNode = hydrateStaticElement(node, vnode, renderer);
5125
5182
  break;
5183
+ case 5 /* VNodeType.Fragment */:
5184
+ // a fragment does not represent any element, therefore there is no need to use a custom renderer.
5185
+ hydratedNode = hydrateFragment(node, vnode, renderer);
5186
+ break;
5126
5187
  case 2 /* VNodeType.Element */:
5127
5188
  hydratedNode = hydrateElement(node, vnode, (_a = vnode.data.renderer) !== null && _a !== void 0 ? _a : renderer);
5128
5189
  break;
@@ -5160,6 +5221,11 @@
5160
5221
  vnode.elm = elm;
5161
5222
  return elm;
5162
5223
  }
5224
+ function hydrateFragment(elm, vnode, renderer) {
5225
+ const { children, owner } = vnode;
5226
+ hydrateChildren(elm, children, renderer.getProperty(elm, 'parentNode'), owner);
5227
+ return (vnode.elm = children[children.length - 1].elm);
5228
+ }
5163
5229
  function hydrateElement(elm, vnode, renderer) {
5164
5230
  if (!hasCorrectNodeType(vnode, elm, 1 /* EnvNodeTypes.ELEMENT */, renderer) ||
5165
5231
  !isMatchingElement(vnode, elm, renderer)) {
@@ -5434,7 +5500,7 @@
5434
5500
  }
5435
5501
  return ctor;
5436
5502
  }
5437
- /* version: 2.23.4 */
5503
+ /* version: 2.23.5 */
5438
5504
 
5439
5505
  /*
5440
5506
  * Copyright (c) 2018, salesforce.com, inc.
@@ -6201,7 +6267,7 @@
6201
6267
  });
6202
6268
  freeze(LightningElement);
6203
6269
  seal(LightningElement.prototype);
6204
- /* version: 2.23.4 */
6270
+ /* version: 2.23.5 */
6205
6271
 
6206
6272
  exports.LightningElement = LightningElement;
6207
6273
  exports.__unstable__ProfilerControl = profilerControl;