LWR.define("lwc/v/2_12_1",["exports"],function(E){"use strict";function Lo(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)}function Io(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)}function Po(e,t){if(e)throw new Error(`Assert Violation: ${t}`)}function xo(e){throw new Error(e)}var $=Object.freeze({__proto__:null,invariant:Lo,isTrue:Io,isFalse:Po,fail:xo});const{assign:W,create:g,defineProperties:j,defineProperty:I,freeze:gt,getOwnPropertyDescriptor:q,getOwnPropertyNames:yt,getPrototypeOf:me,hasOwnProperty:Ae,isFrozen:Ho,keys:F,seal:Le,setPrototypeOf:ge}=Object,{isArray:ie}=Array,{filter:Ul,find:Gl,indexOf:Et,join:Ie,map:Bo,push:C,reduce:Kl,reverse:zl,slice:Tn,splice:Fo,unshift:Mn,forEach:ye}=Array.prototype,{fromCharCode:Sn}=String,{charCodeAt:Pe,replace:$n,slice:Dn,toLowerCase:wt}=String.prototype;function c(e){return e===void 0}function h(e){return e===null}function U(e){return e===!0}function V(e){return e===!1}function Wo(e){return typeof e=="boolean"}function N(e){return typeof e=="function"}function xe(e){return typeof e=="object"}function On(e){return typeof e=="string"}function ql(e){return typeof e=="number"}function M(){}const jo={}.toString;function Ee(e){return e&&e.toString?ie(e)?Ie.call(Bo.call(e,Ee),","):e.toString():typeof e=="object"?jo.call(e):e+""}function P(e,t){do{const n=q(e,t);if(!c(n))return n;e=me(e)}while(e!==null)}const Uo=["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:Yl,AriaPropNameToAttrNameMap:He}=(()=>{const e=g(null),t=g(null);return ye.call(Uo,n=>{const r=wt.call($n.call(n,/^aria/,()=>"aria-"));e[r]=n,t[n]=r}),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),Be=function(){if(typeof globalThis=="object")return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(t){}finally{typeof e=="undefined"&&(e=window)}return e}(),Go="$isNativeShadowRootDefined$",vt="$shadowResolver$",Ko="$shadowToken$",zo="$$lwc-synthetic-mode",kn="$scoped$",qo=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"]]),_n=new Map;function Vn(e){const t=He[e];if(!c(t))return t;const n=qo.get(e);if(!c(n))return n;const r=_n.get(e);if(!c(r))return r;let o="";for(let i=0,s=e.length;i=65&&a<=90?o+="-"+Sn(a+32):o+=Sn(a)}return _n.set(e,o),o}const Yo="http://www.w3.org/XML/1998/namespace",Qo="http://www.w3.org/2000/svg",Xo="http://www.w3.org/1999/xlink",Rn="2.12.1",Jo=/\/\*LWC compiler v([\d.]+)\*\/\s*}/;function Zo(e){return Object.getOwnPropertyDescriptor(Element.prototype,e)===void 0}const An=new WeakMap;function Ln(e){let t=An.get(e);return t===void 0&&(t={},An.set(e,t)),t}function ei(e){return e==null?null:String(e)}function ti(e,t){return{get(){const n=Ln(this);return Ae.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set(n){const r=ei(n),o=Ln(this);o[e]=r,n===null?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function ni(e){const t=He[e],n=ti(e,t);Object.defineProperty(Element.prototype,e,n)}const In=F(He);for(let e=0,t=In.length;e`"${r}"`).join(", ");console.warn(`Failed to set the value "${t}" for the runtime feature flag "${e}" because it is undefined. Available flags: ${n}.`);return}{const n=D[e];if(!c(n)){console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);return}I(D,e,{value:t})}}function oi(e,t){}let Fe=[];const ii=32,O=Le(g(null)),R=Le([]);function si(){const e=Fe;Fe=[];for(let t=0,n=e.length;t0){for(let r=0;r`}function es(e){const t=[];let n="";for(;!h(e.owner);)C.call(t,n+X(e)),e=e.owner,n+=" ";return Ie.call(t,` `)}function ts(e){const t=[];let n=e;for(;!h(n);)C.call(t,X(n)),n=n.owner;return t.reverse().join(` `)}function dr(e,t){if(!Ho(t)&&c(t.wcStack)){const n=ts(e);I(t,"wcStack",{get(){return n}})}}function ur(e,t,n){let r=`[LWC ${e}]: ${t}`;c(n)||(r=`${r} ${es(n)}`);try{throw new Error(r)}catch(o){console[e](o)}}function A(e,t){ur("error",e,t)}function Ql(e,t){ur("warn",e,t)}const fr=typeof HTMLElement!="undefined"?HTMLElement:function(){},pr=fr.prototype,ns=["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"];function Ue(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.`}const Vt=W(g(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:Ue("offsetHeight")},offsetLeft:{readOnly:!0,error:Ue("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Ue("offsetTop")},offsetWidth:{readOnly:!0,error:Ue("offsetWidth")},role:{attribute:"role"}});let Rt=null,At;function rs(e,t){return e!==Rt||t!==At}function Ne(e,t){Rt=null,At=void 0}function Ce(e,t){Rt=e,At=t}const Te=g(null);ye.call(F(He),e=>{const t=P(pr,e);c(t)||(Te[e]=t)}),ye.call(ns,e=>{const t=P(pr,e);c(t)||(Te[e]=t)});function J(e){return W({configurable:!0,enumerable:!0,writable:!0},e)}function x(e){return W({configurable:!0,enumerable:!0},e)}let Me=!1;function Xl(){throw new ReferenceError}function Jl(){throw new ReferenceError}function Z(e,t){return A(`The \`${e}\` ${t} is available only on elements that use the \`lwc:dom="manual"\` directive.`)}function Zl(e,t){throw new ReferenceError}function os(e){throw new ReferenceError}function is(e){throw new ReferenceError}function ss(){throw new ReferenceError}function as(e){throw new ReferenceError}function ed(e){j(e,os(e))}function td(e){const t=is(e),n=me(e);ge(e,g(n,t))}function nd(e){j(e,ss())}function rd(e){j(e,as(e))}const{isArray:Ge}=Array,{prototype:cs,getPrototypeOf:Ke,create:hr,defineProperty:ze,isExtensible:qe,getOwnPropertyDescriptor:mr,getOwnPropertyNames:Lt,getOwnPropertySymbols:It,preventExtensions:gr,hasOwnProperty:Se}=Object,{push:Pt,concat:yr}=Array.prototype,ls={}.toString;function od(e){return e&&e.toString?e.toString():typeof e=="object"?ls.call(e):e+""}function S(e){return e===void 0}function xt(e){return typeof e=="function"}const Er=new WeakMap;function wr(e,t){Er.set(e,t)}const L=e=>Er.get(e)||e;class vr{constructor(t,n){this.originalTarget=n,this.membrane=t}wrapDescriptor(t){if(Se.call(t,"value"))t.value=this.wrapValue(t.value);else{const{set:n,get:r}=t;S(r)||(t.get=this.wrapGetter(r)),S(n)||(t.set=this.wrapSetter(n))}return t}copyDescriptorIntoShadowTarget(t,n){const{originalTarget:r}=this,o=mr(r,n);if(!S(o)){const i=this.wrapDescriptor(o);ze(t,n,i)}}lockShadowTarget(t){const{originalTarget:n}=this;yr.call(Lt(n),It(n)).forEach(i=>{this.copyDescriptorIntoShadowTarget(t,i)});const{membrane:{tagPropertyKey:o}}=this;!S(o)&&!Se.call(t,o)&&ze(t,o,hr(null)),gr(t)}apply(t,n,r){}construct(t,n,r){}get(t,n){const{originalTarget:r,membrane:{valueObserved:o}}=this,i=r[n];return o(r,n),this.wrapValue(i)}has(t,n){const{originalTarget:r,membrane:{tagPropertyKey:o,valueObserved:i}}=this;return i(r,n),n in r||n===o}ownKeys(t){const{originalTarget:n,membrane:{tagPropertyKey:r}}=this,o=S(r)||Se.call(n,r)?[]:[r];return Pt.apply(o,Lt(n)),Pt.apply(o,It(n)),o}isExtensible(t){const{originalTarget:n}=this;return qe(t)?qe(n)?!0:(this.lockShadowTarget(t),!1):!1}getPrototypeOf(t){const{originalTarget:n}=this;return Ke(n)}getOwnPropertyDescriptor(t,n){const{originalTarget:r,membrane:{valueObserved:o,tagPropertyKey:i}}=this;o(r,n);let s=mr(r,n);return S(s)?n!==i?void 0:(s={value:void 0,writable:!1,configurable:!1,enumerable:!1},ze(t,i,s),s):(s.configurable===!1&&this.copyDescriptorIntoShadowTarget(t,n),this.wrapDescriptor(s))}}const Ht=new WeakMap,Bt=new WeakMap,Ft=new WeakMap,Wt=new WeakMap;class ds extends vr{wrapValue(t){return this.membrane.getProxy(t)}wrapGetter(t){const n=Ht.get(t);if(!S(n))return n;const r=this,o=function(){return r.wrapValue(t.call(L(this)))};return Ht.set(t,o),Ft.set(o,t),o}wrapSetter(t){const n=Bt.get(t);if(!S(n))return n;const r=function(o){t.call(L(this),L(o))};return Bt.set(t,r),Wt.set(r,t),r}unwrapDescriptor(t){if(Se.call(t,"value"))t.value=L(t.value);else{const{set:n,get:r}=t;S(r)||(t.get=this.unwrapGetter(r)),S(n)||(t.set=this.unwrapSetter(n))}return t}unwrapGetter(t){const n=Ft.get(t);if(!S(n))return n;const r=this,o=function(){return L(t.call(r.wrapValue(this)))};return Ht.set(o,t),Ft.set(t,o),o}unwrapSetter(t){const n=Wt.get(t);if(!S(n))return n;const r=this,o=function(i){t.call(r.wrapValue(this),r.wrapValue(i))};return Bt.set(o,t),Wt.set(t,o),o}set(t,n,r){const{originalTarget:o,membrane:{valueMutated:i}}=this;return o[n]!==r?(o[n]=r,i(o,n)):n==="length"&&Ge(o)&&i(o,n),!0}deleteProperty(t,n){const{originalTarget:r,membrane:{valueMutated:o}}=this;return delete r[n],o(r,n),!0}setPrototypeOf(t,n){}preventExtensions(t){if(qe(t)){const{originalTarget:n}=this;if(gr(n),qe(n))return!1;this.lockShadowTarget(t)}return!0}defineProperty(t,n,r){const{originalTarget:o,membrane:{valueMutated:i,tagPropertyKey:s}}=this;return n===s&&!Se.call(o,n)||(ze(o,n,this.unwrapDescriptor(r)),r.configurable===!1&&this.copyDescriptorIntoShadowTarget(t,n),i(o,n)),!0}}const br=new WeakMap,Nr=new WeakMap;class us extends vr{wrapValue(t){return this.membrane.getReadOnlyProxy(t)}wrapGetter(t){const n=br.get(t);if(!S(n))return n;const r=this,o=function(){return r.wrapValue(t.call(L(this)))};return br.set(t,o),o}wrapSetter(t){const n=Nr.get(t);if(!S(n))return n;const r=this,o=function(i){};return Nr.set(t,o),o}set(t,n,r){return!1}deleteProperty(t,n){return!1}setPrototypeOf(t,n){}preventExtensions(t){return!1}defineProperty(t,n,r){return!1}}function jt(e){if(Ge(e))return e.map(r=>{const o=L(r);return o!==r?jt(o):r});const t=hr(Ke(e)),n=Lt(e);return yr.call(n,It(e)).reduce((r,o)=>{const i=e[o],s=L(i);return s!==i?r[o]=jt(s):r[o]=i,r},t)}const fs={header:e=>{const t=L(e);if(!t||t===e)return null;const n=jt(e);return["object",{object:n}]},hasBody:()=>!1,body:()=>null};function ps(){return typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{}}function id(){throw new ReferenceError}function hs(e){if(e===null||typeof e!="object")return!1;if(Ge(e))return!0;const t=Ke(e);return t===cs||t===null||Ke(t)===null}const ms=(e,t)=>{},gs=(e,t)=>{};function Cr(e){return Ge(e)?[]:{}}class ys{constructor(t={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:n,valueObserved:r,valueIsObservable:o,tagPropertyKey:i}=t;this.valueMutated=xt(n)?n:gs,this.valueObserved=xt(r)?r:ms,this.valueIsObservable=xt(o)?o:hs,this.tagPropertyKey=i}getProxy(t){const n=L(t);return this.valueIsObservable(n)?this.readOnlyObjectGraph.get(n)===t?t:this.getReactiveHandler(n):n}getReadOnlyProxy(t){return t=L(t),this.valueIsObservable(t)?this.getReadOnlyHandler(t):t}unwrapProxy(t){return L(t)}getReactiveHandler(t){let n=this.reactiveObjectGraph.get(t);if(S(n)){const r=new ds(this,t);n=new Proxy(Cr(t),r),wr(n,t),this.reactiveObjectGraph.set(t,n)}return n}getReadOnlyHandler(t){let n=this.readOnlyObjectGraph.get(t);if(S(n)){const r=new us(this,t);n=new Proxy(Cr(t),r),wr(n,t),this.readOnlyObjectGraph.set(t,n)}return n}}const Tr=Symbol.for("@@lockerLiveValue"),$e=new ys({valueObserved:lr,valueMutated:cr,tagPropertyKey:Tr});function Es(e){return $e.unwrapProxy(e)}function ws(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!N(n))throw new TypeError;if(!N(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const s=m(this);if(!ln(s))return be(s,e),n.call(s.elm)},set(s){const a=m(this);return s!==a.cmpProps[e]&&(a.cmpProps[e]=s,ae(a,e)),r.call(a.elm,s)}}}const T=function(){if(h(oe))throw new ReferenceError("Illegal constructor");const e=oe,{def:t,elm:n}=e,{bridge:r}=t,o=this;if(ge(n,r.prototype),e.component=this,arguments.length===1){const{callHook:i,setHook:s,getHook:a}=arguments[0];e.callHook=i,e.setHook=s,e.getHook=a}return this[Tr]=void 0,hn(o,e),hn(n,e),e.renderMode===1?e.renderRoot=vs(e):e.renderRoot=n,this};function vs(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o}}=e,i=Gn(t,{[zo]:r===1,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=i,hn(i,e),i}function sd(e,t){ln(e)&&A(`this.${t} should not be called during the construction of the custom element for ${X(e)} because the element is not yet in the DOM or has no children yet.`)}T.prototype={constructor:T,dispatchEvent(e){const{elm:t}=m(this);return Dt(t,e)},addEventListener(e,t,n){const r=m(this),{elm:o}=r,i=ao(r,t);$t(o,e,i,n)},removeEventListener(e,t,n){const r=m(this),{elm:o}=r,i=ao(r,t);Kn(o,e,i,n)},hasAttribute(e){const{elm:t}=m(this);return!h(Q(t,e))},hasAttributeNS(e,t){const{elm:n}=m(this);return!h(Q(n,t,e))},removeAttribute(e){const{elm:t}=m(this);Ce(t,e),se(t,e),Ne()},removeAttributeNS(e,t){const{elm:n}=m(this);Ce(n,t),se(n,t,e),Ne()},getAttribute(e){const{elm:t}=m(this);return Q(t,e)},getAttributeNS(e,t){const{elm:n}=m(this);return Q(n,t,e)},setAttribute(e,t){const n=m(this),{elm:r}=n;Ce(r,e),K(r,e,t),Ne()},setAttributeNS(e,t,n){const r=m(this),{elm:o}=r;Ce(o,t),K(o,t,n,e),Ne()},getBoundingClientRect(){const e=m(this),{elm:t}=e;return qn(t)},get isConnected(){const{elm:e}=m(this);return or(e)},get classList(){const e=m(this),{elm:t}=e;return z(t)},get template(){return m(this).shadowRoot},get shadowRoot(){return null},render(){return m(this).def.template},toString(){return`[object ${m(this).def.name}]`}};const Ut=g(null),bs=["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild"];function Ns(e){switch(e){case"children":return Zn;case"childNodes":return er;case"firstChild":return we;case"firstElementChild":return tr;case"lastChild":return nr;case"lastElementChild":return rr}}for(const e of bs)Ut[e]={get(){const t=m(this),{elm:n}=t;return Ns(e)(n)},configurable:!0,enumerable:!0};const Cs=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];function Ts(e){switch(e){case"getElementsByClassName":return Jn;case"getElementsByTagName":return Xn;case"querySelector":return Yn;case"querySelectorAll":return Qn}}for(const e of Cs)Ut[e]={value(t){const n=m(this),{elm:r}=n;return Ts(e)(r,t)},configurable:!0,enumerable:!0,writable:!0};j(T.prototype,Ut);const Gt=g(null);for(const e in Te)Gt[e]=ws(e,Te[e]);j(T.prototype,Gt),I(T,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});function Ms(e,t){throw new Error}function Ss(e){return{get(){const t=m(this);return be(t,e),t.cmpFields[e]},set(t){const n=m(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,ae(n,e))},enumerable:!0,configurable:!0}}function $s(e){if(arguments.length===1)return $e.getProxy(e);throw new Error}function Ds(e){return{get(){const t=m(this);return be(t,e),t.cmpFields[e]},set(t){const n=m(this),r=$e.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,ae(n,e))},enumerable:!0,configurable:!0}}function Os(){throw new Error}function ks(e){return{get(){const t=m(this);if(!ln(t))return be(t,e),t.cmpProps[e]},set(t){const n=m(this);n.cmpProps[e]=t,ae(n,e)},enumerable:!0,configurable:!0}}class _s extends _t{constructor(t,n){super(()=>{V(this.debouncing)&&(this.debouncing=!0,bt(()=>{if(U(this.debouncing)){const{value:r}=this,{isDirty:o,component:i,idx:s}=t;n.call(i,r),this.debouncing=!1,U(t.isDirty)&&V(o)&&s>0&&lo(t)}}))});this.debouncing=!1}reset(t){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=t)}}function Mr(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!N(n))throw new Error;return{get(){return n.call(this)},set(s){const a=m(this);if(r)if(D.ENABLE_REACTIVE_SETTER){let l=a.oar[e];c(l)&&(l=a.oar[e]=new _s(a,r)),l.reset(s),l.observe(()=>{r.call(this,s)})}else r.call(this,s)},enumerable:o,configurable:i}}function Vs(e){return{get(){const t=m(this);return be(t,e),t.cmpFields[e]},set(t){const n=m(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,ae(n,e))},enumerable:!0,configurable:!0}}function Ye(e){return N(e.value)?"method":N(e.set)||N(e.get)?"accessor":"field"}function ad(e,t,n){if(!c(n)){const r=Ye(n),o=`Invalid observed ${t} field. Found a duplicate ${r} with the same name.`;r==="accessor"?A(o):$.fail(o)}}function cd(e,t,n){if(!c(n)){const r=Ye(n);$.fail(`Invalid @track ${t} field. Found a duplicate ${r} with the same name.`)}}function ld(e,t,n){if(!c(n)){const r=Ye(n);$.fail(`Invalid @wire ${t} field. Found a duplicate ${r} with the same name.`)}}function dd(e,t,n){(c(n)||!N(n.value)||V(n.writable))&&$.fail(`Invalid @wire ${t} method.`)}function ud(e,t,n){if(!c(n)){const r=Ye(n),o=`Invalid @api ${t} field. Found a duplicate ${r} with the same name.`;r==="accessor"?A(o):$.fail(o)}}function fd(e,t,n){c(n)?$.fail(`Invalid @api get ${t} accessor.`):N(n.set)?$.isTrue(N(n.get),`Missing getter for property ${t} decorated with @api in ${e}. You cannot have a setter without the corresponding getter.`):N(n.get)||$.fail(`Missing @api get ${t} accessor.`)}function pd(e,t,n){(c(n)||!N(n.value)||V(n.writable))&&$.fail(`Invalid @api ${t} method.`)}function Rs(e,t){const n=e.prototype,{publicProps:r,publicMethods:o,wire:i,track:s,fields:a}=t,l=g(null),u=g(null),d=g(null),f=g(null),w=g(null),b=g(null);let p;if(!c(r))for(const y in r){const _=r[y];if(b[y]=_.config,p=q(n,y),_.config>0){if(c(p))throw new Error;p=Mr(y,p)}else!c(p)&&!c(p.get)?p=Mr(y,p):p=ks(y);u[y]=p,I(n,y,p)}if(c(o)||ye.call(o,y=>{if(p=q(n,y),c(p))throw new Error;l[y]=p}),!c(i))for(const y in i){const{adapter:_,method:v,config:B,dynamic:he=[]}=i[y];if(p=q(n,y),v===1){if(c(p))throw new Error;d[y]=p,Nc(p,_,B,he)}else p=Ss(y),f[y]=p,Cc(p,_,B,he),I(n,y,p)}if(!c(s))for(const y in s)p=q(n,y),p=Ds(y),I(n,y,p);if(!c(a))for(let y=0,_=a.length;y<_;y++){const v=a[y];p=q(n,v);const B=!c(r)&&v in r,he=!c(s)&&v in s;!B&&!he&&(w[v]=Vs(v))}return As(e,{apiMethods:l,apiFields:u,apiFieldsConfig:b,wiredMethods:d,wiredFields:f,observedFields:w}),e}const Sr=new Map;function As(e,t){Sr.set(e,t)}const Ls={apiMethods:O,apiFields:O,apiFieldsConfig:O,wiredMethods:O,wiredFields:O,observedFields:O};function Is(e){const t=Sr.get(e);return c(t)?Ls:t}let $r=!1;function hd(e,t){const n=e.toString().match(Jo);if(!h(n)&&!$r){const r=n[1],[o,i]=r.split("."),[s,a]=Rn.split(".");if(o!==s||i!==a){$r=!0;const l=t==="component"?`${t} ${e.name}`:t;A(`LWC WARNING: current engine is v${Rn}, but ${l} was compiled with v${r}. Please update your compiled code or LWC engine so that the versions match. No further warnings will appear.`)}}}const Kt=new Set;function zt(){return[]}Kt.add(zt);function Ps(e){return Kt.has(e)}function xs(e){return Kt.add(e),e}function Hs(e,t,n,r){return r}const Dr=g(null),Or=g(null);function Bs(e){let t=Dr[e];return c(t)&&(t=Dr[e]=function(){const n=m(this),{getHook:r}=n;return r(n.component,e)}),t}function Fs(e){let t=Or[e];return c(t)&&(t=Or[e]=function(n){const r=m(this),{setHook:o}=r;n=$e.getReadOnlyProxy(n),o(r.component,e,n)}),t}function Ws(e){return function(){const t=m(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,Tn.call(arguments))}}function js(e,t){return function(r,o,i){if(o===i)return;const s=e[r];if(c(s)){c(t)||t.apply(this,arguments);return}!rs(this,r)||(this[s]=i)}}function kr(e,t,n){let r;N(e)?r=class extends e{}:(r=function(){throw new TypeError("Illegal constructor")},ge(r,e),ge(r.prototype,e.prototype),I(r.prototype,"constructor",{writable:!0,configurable:!0,value:r}));const o=g(null),{attributeChangedCallback:i}=e.prototype,{observedAttributes:s=[]}=e,a=g(null);for(let l=0,u=t.length;l{V(n.isDirty)&&(ue(n),gn(n))}),t.clear()),!0}function gd(e){const t=Je.get(e);return c(t)||(t.forEach(n=>{go(n)}),t.clear()),!0}function yd(e){const t=Xe.get(e);let n=!0;return c(t)||(t.forEach(r=>{const{owner:o}=r;h(o)?n=!1:go(o)}),t.clear()),n}function Ed(e){throw new ReferenceError}function wd(e){throw new ReferenceError}function Us(e){throw new ReferenceError}function vd(e){throw new ReferenceError}function bd(e){throw new ReferenceError}function Gs(e,t){if(!D.ENABLE_HMR)throw new Error("HMR is not enabled");return!1}function Ks(e,t){if(!D.ENABLE_HMR)throw new Error("HMR is not enabled");return!1}function zs(e,t){if(!D.ENABLE_HMR)throw new Error("HMR is not enabled");return!1}const Xt=new WeakMap;function qs(e){let t=me(e);if(h(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(Qt(t)){const n=Yt(t);t=n===t?T:n}return t}function Ys(e){const{shadowSupportMode:t,renderMode:n}=e,r=Is(e),{apiFields:o,apiFieldsConfig:i,apiMethods:s,wiredFields:a,wiredMethods:l,observedFields:u}=r,d=e.prototype;let{connectedCallback:f,disconnectedCallback:w,renderedCallback:b,errorCallback:p,render:y}=d;const _=qs(e),v=_!==T?De(_):Xs,B=kr(v.bridge,F(o),F(s)),he=W(g(null),v.props,o),Hl=W(g(null),v.propsConfig,i),Bl=W(g(null),v.methods,s),Fl=W(g(null),v.wire,a,l);f=f||v.connectedCallback,w=w||v.disconnectedCallback,b=b||v.renderedCallback,p=p||v.errorCallback,y=y||v.render;let Ro=v.shadowSupportMode;c(t)||(Ro=t);let Ao=v.renderMode;c(n)||(Ao=n==="light"?0:1);const Wl=Ja(e)||v.template,jl=e.name||v.name;return j(d,u),{ctor:e,name:jl,wire:Fl,props:he,propsConfig:Hl,methods:Bl,bridge:B,template:Wl,renderMode:Ao,shadowSupportMode:Ro,connectedCallback:f,disconnectedCallback:w,renderedCallback:b,errorCallback:p,render:y}}function Jt(e){if(!N(e))return!1;if(e.prototype instanceof T)return!0;let t=e;do{if(Qt(t)){const n=Yt(t);if(n===t)return!0;t=n}if(t===T)return!0}while(!h(t)&&(t=me(t)));return!1}function De(e){let t=Xt.get(e);if(c(t)){if(Qt(e)){const n=Yt(e);return t=De(n),Xt.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=Ys(e),Xt.set(e,t)}return t}function Qs(e){return De(e).bridge}const Xs={ctor:T,name:T.name,props:Gt,propsConfig:O,methods:O,renderMode:1,shadowSupportMode:"reset",wire:O,bridge:qt,template:zt,render:T.prototype.render};function Js(e){const t=De(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,a={};for(const u in o)a[u]={config:i[u]||0,type:"any",attr:Vn(u)};const l={};for(const u in s)l[u]=s[u].value;return{ctor:n,name:r,props:a,methods:l}}function Ar(e){e=e.toLowerCase();let t=ar(e);return c(t)&&(t=class extends Hn{constructor(r){super();N(r)&&r(this)}},sr(e,t)),t}function Zs(e){const{type:t}=e;return t===2||t===3}function Ze(e,t){return e.key===t.key&&e.sel===t.sel}const Lr=58;function ea(e,t){const{attrs:n}=t.data;if(c(n))return;const r=h(e)?O:e.data.attrs;if(r===n)return;const{elm:o}=t;for(const i in n){const s=n[i];r[i]!==s&&(Ce(o,i),Pe.call(i,3)===Lr?K(o,i,s,Yo):Pe.call(i,5)===Lr?K(o,i,s,Xo):h(s)||c(s)?se(o,i):K(o,i,s),Ne())}}function ta(e,t){return e==="input"&&(t==="value"||t==="checked")}function Ir(e,t){const{props:n}=t.data;if(c(n))return;const r=h(e)?O:e.data.props;if(r===n)return;const o=h(e),{elm:i,sel:s}=t;for(const a in n){const l=n[a];(o||l!==(ta(s,a)?Y(i,a):r[a]))&&Mt(i,a,l)}}const Pr=g(null);function xr(e){if(e==null)return O;e=On(e)?e:e+"";let t=Pr[e];if(t)return t;t=g(null);let n=0,r;const o=e.length;for(r=0;rn&&(t[Dn.call(e,n,r)]=!0),n=r+1);return r>n&&(t[Dn.call(e,n,r)]=!0),Pr[e]=t,t}function na(e,t){const{elm:n,data:{className:r}}=t,o=h(e)?void 0:e.data.className;if(o===r)return;const i=z(n),s=xr(r),a=xr(o);let l;for(l in a)c(s[l])&&i.remove(l);for(l in s)c(a[l])&&i.add(l)}function ra(e,t){const{elm:n,data:{style:r}}=t;(h(e)?void 0:e.data.style)!==r&&(!On(r)||r===""?se(n,"style"):K(n,"style",r))}function Hr(e){const{elm:t,data:{on:n}}=e;if(!c(n))for(const r in n){const o=n[r];$t(t,r,o)}}function oa(e){const{elm:t,data:{classMap:n}}=e;if(c(n))return;const r=z(t);for(const o in n)r.add(o)}function ia(e){const{elm:t,data:{styleDecls:n}}=e;if(!c(n))for(let r=0;r{s=ga(l,e)});if(tt(a,o),e.elm=a,e.vm=s,s)nn(e,s);else if(e.ctor!==i)throw new TypeError("Incorrect Component Constructor");nt(null,e),ee(a,t,n),s&&dt(s),et(e.children,a,null),s&&ic(s)}function pa(e,t){const n=t.elm=e.elm,r=t.vm=e.vm;nt(e,t),c(r)||nn(t,r),Zt(e.children,t.children,n),c(r)||lo(r)}function et(e,t,n,r=0,o=e.length){for(;ri){let v=u,B;do B=t[++v];while(!k(B)&&v=0;s-=1){const a=e[s],l=t[s];l!==a&&(k(a)?k(l)?(ce(a,l),i=l.elm):Br(a,n,!0):k(l)&&(le(l,n,i),i=l.elm))}}const Ca=Symbol.iterator;function Ta(e){C.call(H().velements,e)}function Gr(e,t,n=R){const r=H();let o;const{key:i}=t;return{type:2,sel:e,data:t,children:n,elm:o,key:i,owner:r}}function Ma(e){return e>0&&!(U(e)||V(e))?0:e}function Sa(e,t,n,r){!c(r)&&!c(r[e])&&r[e].length!==0&&(n=r[e]);const o=H(),{renderMode:i,shadowMode:s}=o;return i===0?(rt(n),n):(s===1&&rt(n),Gr("slot",t,n))}function Kr(e,t,n,r=R){const o=H(),{key:i}=n;let s,a,l;const u={type:3,sel:e,data:n,children:r,elm:s,key:i,ctor:t,owner:o,mode:"open",aChildren:a,vm:l};return Ta(u),u}function $a(e,t){const n=[];rt(n);const r=H();if(c(e)||e===null)return n;const o=e[Ca]();let i=o.next(),s=0,{value:a,done:l}=i,u,d;for(;l===!1;){i=o.next(),l=i.done;const f=t(a,s,s===0,l===!0);ie(f)?C.apply(n,f):C.call(n,f),s+=1,a=i.value}return n}function Da(e){const t=e.length,n=[];rt(n);for(let r=0;r`${o}-${n}`):e}function La(e){const t=H();if(c(e)||e==="")return e;if(h(e))return null;const{idx:n,shadowMode:r}=t;return r===1&&/^#/.test(e)?`${e}-${n}`:e}const zr=new Map;let Ia=0;function Pa(e,t,n,r=R){if(t==null)return null;if(!Jt(t))throw new Error(`Invalid LWC Constructor ${Ee(t)} for custom element <${e}>.`);let o=zr.get(t);c(o)&&(o=Ia++,zr.set(t,o));const i=Object.assign(Object.assign({},n),{key:`dc:${o}:${n.key}`});return Kr(e,t,i,r)}function rt(e){return Ea(e),e}let qr=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};function xa(e){qr=e}function Ha(e){return qr(e)}const rn=gt({s:Sa,h:Gr,c:Kr,i:$a,f:Da,t:Oa,d:_a,b:Va,k:Ra,co:ka,dc:Pa,ti:Ma,gid:Aa,fid:La,shc:Ha});function ot(e){return`${e}-host`}function Ba(e){return rn.h("style",{key:"style",attrs:{type:"text/css"}},[rn.t(e)])}function Fa(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i}=e,{stylesheets:s,stylesheetToken:a}=t,l=o===1&&i===1,{hasScopedStyles:u}=r;let d,f,w;const{stylesheetToken:b,hasTokenInClass:p,hasTokenInAttribute:y}=r;c(b)||(p&&z(n).remove(ot(b)),y&&se(n,ot(b))),!c(s)&&s.length!==0&&(d=a),c(d)||(u&&(z(n).add(ot(d)),f=!0),l&&(K(n,ot(d),""),w=!0)),r.stylesheetToken=d,r.hasTokenInClass=f,r.hasTokenInAttribute=w}function Yr(e,t,n){const r=[];let o;for(let i=0;i{performance.mark(e)}:M,Zr=Xr?(e,t)=>{performance.measure(e,t),performance.clearMarks(t),performance.clearMeasures(e)}:M;function on(e){return Ga[e]}function eo(e,t){return`${X(t)} - ${on(e)}`}function it(e,t){return`${eo(e,t)} - ${t.idx}`}const st=!1;let de=!1,te=M;const Ka={enableProfiler(){de=!0},disableProfiler(){de=!1},attachDispatcher(e){te=e,this.enableProfiler()},detachDispatcher(){const e=te;return te=M,this.disableProfiler(),e}};function ne(e,t){if(st){const n=it(e,t);Jr(n)}de&&te(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function re(e,t){if(st){const n=it(e,t),r=eo(e,t);Zr(r,n)}de&&te(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function to(e,t){if(st){const n=on(e),r=c(t)?n:it(e,t);Jr(r)}de&&te(e,0,t==null?void 0:t.tagName,t==null?void 0:t.idx,t==null?void 0:t.renderMode,t==null?void 0:t.shadowMode)}function sn(e,t){if(st){const n=on(e),r=c(t)?n:it(e,t);Zr(n,r)}de&&te(e,1,t==null?void 0:t.tagName,t==null?void 0:t.idx,t==null?void 0:t.renderMode,t==null?void 0:t.shadowMode)}let an=!1,Oe=null;function H(){return Oe}function no(e){Oe=e}function Nd(e,t){throw new ReferenceError}function Cd(e,t){e!==zt&&(t.renderMode===0?$.isTrue(e.renderMode==="light",`Light DOM components can't render shadow DOM templates. Add an 'lwc:render-mode="light"' directive to the root template tag of ${X(t)}.`):$.isTrue(c(e.renderMode),`Shadow DOM components template can't render light DOM templates. Either remove the 'lwc:render-mode' directive from ${X(t)} or set it to 'lwc:render-mode="shadow"`))}function za(e,t){const n=an,r=Oe;let o=[];return G(e,e.owner,()=>{Oe=e,ne(1,e)},()=>{const{component:i,context:s,cmpSlots:a,cmpTemplate:l,tro:u}=e;u.observe(()=>{if(t!==l){if(h(l)||mo(e),!Ps(t))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: ${Ee(t)}.`);e.cmpTemplate=t,s.tplCache=g(null),s.hasScopedStyles=qa(t),Fa(e,t);const f=Wa(e,t);s.styleVNode=f.length===0?null:Ua(e,f)}e.velements=[],an=!0,o=t.call(void 0,rn,i,a,s.tplCache);const{styleVNode:d}=s;h(d)||Mn.call(o,d)})},()=>{an=n,Oe=r,re(1,e)}),o}function qa(e){const{stylesheets:t}=e;if(!c(t)){for(let n=0;n{o(r,t,n)},M)}function Ya(e,t){const n=oe;let r;ne(0,e),oe=e;try{const o=new t;if(oe.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(o){r=Object(o)}finally{if(re(0,e),oe=n,!c(r))throw dr(e,r),r}}function Qa(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=cn,s=H();let a,l=!1;return G(e,o,()=>{cn=!0,no(e)},()=>{e.tro.observe(()=>{a=n(r,t),l=!0})},()=>{cn=i,no(s)}),l?za(e,a):[]}function ro(e,t,n,r){const{callHook:o,owner:i}=e;G(e,i,M,()=>{o(n,t,[r])},M)}const oo=new Map;function Xa(e,{tmpl:t}){return N(e)&&oo.set(e,t),e}function Ja(e){return oo.get(e)}function Za(e){return new _t(()=>{const{isDirty:t}=e;V(t)&&(ue(e),gn(e))})}function io(e){e.tro.reset();const t=Qa(e);return e.isDirty=!1,e.isScheduled=!1,t}function ue(e){e.isDirty=!0}const so=new WeakMap;function ao(e,t){if(!N(t))throw new TypeError;let n=so.get(t);return c(n)&&(n=function(r){ro(e,t,void 0,r)},so.set(t,n)),n}const ke=g(null),co=["rendered","connected","disconnected"];function ec(e){for(let t=0;t0||r.length>0)&&r!==t&&G(e,e,()=>{ne(2,e)},()=>{Zt(r,t,n)},()=>{re(2,e)}),e.state===1&&uo(e)}function uo(e){const{def:{renderedCallback:t}}=e;if(U(We))return;const{rendered:n}=ke;n&&dn(e,n),c(t)||(ne(4,e),at(e,t),re(4,e))}let pe=[];function fo(){to(8);const e=pe.sort((t,n)=>t.idx-n.idx);pe=[];for(let t=0,n=e.length;t0}function dc(e){V(e.isDirty)&&(e.isDirty=!0),e.state=2;const{disconnected:t}=ke;t&&dn(e,t),mn(e)&&Sc(e);const{disconnectedCallback:n}=e.def;c(n)||(ne(5,e),at(e,n),re(5,e))}function po(e){const{velements:t}=e;for(let n=t.length-1;n>=0;n-=1){const{elm:r}=t[n];if(!c(r)){const o=fe(r);c(o)||ct(o)}}}function uc(e){const{aChildren:t}=e;ho(t)}function ho(e){for(let t=0,n=e.length;t[],V(e.isDirty)&&(ue(e),gn(e))}const pc="$$DeprecatedWiredElementHostKey$$",hc="$$DeprecatedWiredParamsMetaKey$$",yn=new Map;class mc extends CustomEvent{constructor(t,{setNewContext:n,setDisconnectedCallback:r}){super(t,{bubbles:!0,composed:!0});j(this,{setNewContext:{value:n},setDisconnectedCallback:{value:r}})}}function gc(e,t){const{cmpFields:n}=e;return r=>{r!==e.cmpFields[t]&&(n[t]=r,ae(e,t))}}function yc(e,t){return n=>{G(e,e.owner,M,()=>{t.call(e.component,n)},M)}}function Ec(e,t,n){let r=!1;const o=new _t(()=>{r===!1&&(r=!0,Promise.resolve().then(()=>{r=!1,o.reset(),i()}))}),i=()=>{let s;o.observe(()=>s=t(e)),n(s)};return{computeConfigAndUpdate:i,ro:o}}function wc(e,t,n){const{adapter:r}=t,o=Eo(r);if(c(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:a}}=e;C.call(s,()=>{const l=new mc(o,{setNewContext(u){n(u)},setDisconnectedCallback(u){C.call(a,u)}});Dt(i,l)})}function vc(e,t,n){const{method:r,adapter:o,configCallback:i,dynamic:s}=n,a=c(r)?gc(e,t):yc(e,r);let l,u;I(a,pc,{value:e.elm}),I(a,hc,{value:s}),G(e,e,M,()=>{u=new o(a)},M);const d=b=>{G(e,e,M,()=>{u.update(b,l)},M)},{computeConfigAndUpdate:f,ro:w}=Ec(e.component,i,d);return c(o.contextSchema)||wc(e,n,b=>{l!==b&&(l=b,e.state===1&&f())}),{connector:u,computeConfigAndUpdate:f,resetConfigWatcher:()=>w.reset()}}const yo=new Map;function Eo(e){return yo.get(e)}function bc(e,t){yo.set(e,t)}function Nc(e,t,n,r){t.adapter&&(t=t.adapter);const o=e.value,i={adapter:t,method:o,configCallback:n,dynamic:r};yn.set(e,i)}function Cc(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};yn.set(e,o)}function Tc(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const i in n){const s=n[i],a=yn.get(s);if(!c(a)){const{connector:l,computeConfigAndUpdate:u,resetConfigWatcher:d}=vc(e,i,a),f=a.dynamic.length>0;C.call(r,()=>{if(l.connect(),!D.ENABLE_WIRE_SYNC_EMIT&&f){Promise.resolve().then(u);return}u()}),C.call(o,()=>{l.disconnect(),d()})}}}function Mc(e){const{wiredConnecting:t}=e.context;for(let n=0,r=t.length;n{for(let n=0,r=t.length;n{if(n.has(r))throw new Error(`Adapter was already installed on ${r}.`);n.add(r);const{consumerConnectedCallback:i,consumerDisconnectedCallback:s}=o;r.addEventListener(t,a=>{const{setNewContext:l,setDisconnectedCallback:u}=a,d={provide(w){l(w)}};u(()=>{c(s)||s(d)}),i(d),a.stopImmediatePropagation()})}}function Dc(e){return $e.getReadOnlyProxy(e)}let Ve=!1;function Oc(e){Ve=!1,dt(e),wo(e),Ve&&A("Hydration completed with errors.",e)}function wo(e){const t=io(e);e.children=t;const n=e.renderRoot;En(we(n),t,n,e),uo(e)}function kc(e,t){let n;switch(t.type){case 0:n=_c(e,t);break;case 1:n=Vc(e,t);break;case 2:n=Rc(e,t);break;case 3:n=Ac(e,t);break}return je(n)}function _c(e,t){var n;return ft(t,e,3)?(St(e,(n=t.text)!==null&&n!==void 0?n:null),t.elm=e,e):ut(e,t)}function Vc(e,t){var n;return ft(t,e,8)?(Mt(e,"nodeValue",(n=t.text)!==null&&n!==void 0?n:null),t.elm=e,e):ut(e,t)}function Rc(e,t){if(!ft(t,e,1)||!bo(t,e))return ut(e,t);t.elm=e;const{context:n}=t.data,r=Boolean(!c(n)&&!c(n.lwc)&&n.lwc.dom==="manual");if(r){const{props:o}=t.data;!c(o)&&!c(o.innerHTML)&&Y(e,"innerHTML")===o.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:ui(o,"innerHTML")}))}return vo(t),r||En(we(e),t.children,e,t.owner),e}function Ac(e,t){if(!ft(t,e,1)||!bo(t,e))return ut(e,t);const{sel:n,mode:r,ctor:o,owner:i}=t,s=_e(e,o,{mode:r,owner:i,tagName:n});return t.elm=e,t.vm=s,nn(t,s),vo(t),dt(s),s.renderMode!==0&&En(we(e),t.children,e,s),wo(s),e}function En(e,t,n,r){let o=!1,i=e,s=null;for(let a=0;aF(r).length&&(o=!1)}return o}function Pc(e,t){const{data:{style:n,styleDecls:r}}=e,o=Q(t,"style")||"";let i,s=!0;if(!c(n)&&n!==o)s=!1,i=n;else if(!c(r)){const a=di(o),l=[];for(let u=0,d=r.length;ur.length&&(s=!1),i=Ie.call(l,";")}return s}let No=!1;function xc(e){$.isFalse(No,"Hooks are already overridden, only one definition is allowed."),No=!0,xa(e.sanitizeHtmlContent)}const Co=g(null),Hc=document.head||document.body||document,To=N(CSSStyleSheet.prototype.replaceSync)&&ie(document.adoptedStyleSheets),Bc=To&&q(document.adoptedStyleSheets,"length").writable,Mo=g(null),So=g(null),$o=new WeakMap;let wn,vn,pt;function Fc(){if(typeof customElements=="undefined")return!1;try{const e=HTMLElement;class t extends e{}return customElements.define("lwc-test-"+Math.floor(Math.random()*1e6),t),new t,!0}catch(e){return!1}}function Wc(e,t){let n=So[e];c(n)&&(n=new CSSStyleSheet,n.replaceSync(e),So[e]=n);const{adoptedStyleSheets:r}=t;r.includes(n)||(Bc?r.push(n):t.adoptedStyleSheets=[...r,n])}function jc(e,t){let n=$o.get(t);if(c(n)&&(n=g(null),$o.set(t,n)),n[e])return;n[e]=!0;let r=Mo[e];c(r)?(r=document.createElement("style"),r.type="text/css",r.textContent=e,Mo[e]=r):r=r.cloneNode(!0),t.appendChild(r)}if(Fc())wn=customElements.get.bind(customElements),vn=customElements.define.bind(customElements),pt=HTMLElement;else{const e=g(null),t=new WeakMap;vn=function(r,o){if(r!==wt.call(r)||e[r])throw new TypeError("Invalid Registration");e[r]=o,t.set(o,r)},wn=function(r){return e[r]},pt=function n(){if(!(this instanceof n))throw new TypeError("Invalid Invocation");const{constructor:r}=this,o=t.get(r);if(!o)throw new TypeError("Invalid Construction");const i=document.createElement(o);return ge(i,r.prototype),i},pt.prototype=HTMLElement.prototype}let bn=!1;function ht(e){bn=e}const Uc=!1;function Gc(){return bn}const Kc=Be[Go],Do=Ae.call(Element.prototype,Ko);function zc(e,t){return c(t)?document.createElement(e):document.createElementNS(t,e)}function qc(e){return document.createTextNode(e)}function Yc(e){return document.createComment(e)}function Qc(e,t,n){t.insertBefore(e,n)}function Xc(e,t){t.removeChild(e)}function Jc(e){return e.nextSibling}function Zc(e,t){return bn?e.shadowRoot:e.attachShadow(t)}function el(e,t){e.nodeValue=t}function tl(e,t){return e[t]}function nl(e,t,n){e[t]=n}function rl(e,t,n){return c(n)?e.getAttribute(t):e.getAttributeNS(n,t)}function ol(e,t,n,r){return c(r)?e.setAttribute(t,n):e.setAttributeNS(r,t,n)}function il(e,t,n){c(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)}function sl(e,t,n,r){e.addEventListener(t,n,r)}function al(e,t,n,r){e.removeEventListener(t,n,r)}function cl(e,t){return e.dispatchEvent(t)}function ll(e){return e.classList}function dl(e,t,n,r){e.style.setProperty(t,n,r?"important":"")}function ul(e){return e.getBoundingClientRect()}function fl(e,t){return e.querySelector(t)}function pl(e,t){return e.querySelectorAll(t)}function hl(e,t){return e.getElementsByTagName(t)}function ml(e,t){return e.getElementsByClassName(t)}function gl(e){return e.children}function yl(e){return e.childNodes}function El(e){return e.firstChild}function wl(e){return e.firstElementChild}function vl(e){return e.lastChild}function bl(e){return e.lastElementChild}function Nl(e){return e.isConnected}function Cl(e){if(!c(Co[e]))return;Co[e]=!0;const t=document.createElement("style");t.type="text/css",t.textContent=e,Hc.appendChild(t)}function Tl(e,t){To?Wc(e,t):jc(e,t)}function Ml(e,t){$.invariant(e instanceof HTMLElement,t)}const Sl=pt;Qi(Ml),Ci(Zc),bi(Yc),wi(zc),vi(qc),Xi(vn),Vi(cl),$i(rl),Li(ul),Fi(yl),Bi(gl),Ri(ll),Ji(wn),Hi(ml),xi(hl),Wi(El),ji(wl),Ui(vl),Gi(bl),Ti(tl),mi(Sl),yi(Qc),zi(Cl),qi(Tl),Ki(Nl),gi(Gc),pi(Kc),hi(Do),Ni(Jc),Ii(fl),Pi(pl),Ei(Xc),Oi(il),_i(al),Di(ol),Ai(dl),Mi(nl),Si(el),fi(Uc),ki(sl);function $l(e,t){if(e.shadowRoot){const n=e.shadowRoot;for(;!h(n.firstChild);)n.removeChild(n.firstChild)}if(t.renderMode==="light")for(;!h(e.firstChild);)e.removeChild(e.firstChild)}function Oo(e,t,n){const r=_e(e,t,{mode:"open",owner:null,tagName:e.tagName.toLowerCase()});for(const[o,i]of Object.entries(n))e[o]=i;return r}function ko(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(!N(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!xe(n)||h(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(fe(e)){console.warn('"hydrateComponent" expects an element that is not hydrated.',e);return}try{ht(!0);const r=Oo(e,t,n);Oc(r),ht(!1)}catch(r){console.error("Recovering from error while hydrating: ",r),$l(e,t),Oo(e,t,n),ht(!1),fn(e)}finally{ht(!1)}}function Dl(e){return e.CustomElementConstructor}const Nn=new WeakSet;function Ol(e){const t=Qs(e);return class extends t{constructor(){super();this.isConnected?(ko(this,e,{}),Nn.add(this)):_e(this,e,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){Nn.has(this)?Nn.delete(this):fn(this)}disconnectedCallback(){pn(this)}}}const _o=Node,mt=new WeakMap,Cn=new WeakMap;function Re(e,t){const n=t.get(e);return c(n)||n(e),e}const{appendChild:kl,insertBefore:_l,removeChild:Vl,replaceChild:Rl}=_o.prototype;W(_o.prototype,{appendChild(e){const t=kl.call(this,e);return Re(t,mt)},insertBefore(e,t){const n=_l.call(this,e,t);return Re(n,mt)},removeChild(e){const t=Vl.call(this,e);return Re(t,Cn)},replaceChild(e,t){const n=Rl.call(this,e,t);return Re(n,Cn),Re(e,mt),n}});function Al(e,t){if(!xe(t)||h(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${Ee(t)}".`);const n=t.is;if(!N(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const r=Ar(e);let o=!1;const i=new r(s=>{_e(s,n,{tagName:e,mode:t.mode!=="closed"?"open":"closed",owner:null}),mt.set(s,fn),Cn.set(s,pn),o=!0});return o||console.error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`),i}function Ll(e){let t=null;if(e instanceof HTMLElement){const n=fe(e);c(n)||(t=n.def.ctor)}return t}const Il=Node;function Pl(e){if(V(e instanceof Il)||e instanceof ShadowRoot)return!1;const t=e.getRootNode();return t instanceof ShadowRoot&&V(Ae.call(me(t),"synthetic"))?!0:Do&&!c(e[vt])}const Vo=new Map;function xl(e){if(e===T)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=Vo.get(e);return c(t)&&(t=Ol(e),Vo.set(e,t)),t}I(T,"CustomElementConstructor",{get(){return xl(this)}}),gt(T),Le(T.prototype),E.LightningElement=T,E.__unstable__ProfilerControl=Ka,E.api=Os,E.buildCustomElementConstructor=Dl,E.createContextProvider=$c,E.createElement=Al,E.getComponentConstructor=Ll,E.getComponentDef=Js,E.hydrateComponent=ko,E.isComponentConstructor=Jt,E.isNodeFromTemplate=Pl,E.readonly=Dc,E.register=ec,E.registerComponent=Xa,E.registerDecorators=Rs,E.registerTemplate=xs,E.sanitizeAttribute=Hs,E.setFeatureFlag=ri,E.setFeatureFlagForTest=oi,E.setHooks=xc,E.swapComponent=Ks,E.swapStyle=zs,E.swapTemplate=Gs,E.track=$s,E.unwrap=Es,E.wire=Ms,Object.defineProperty(E,"__esModule",{value:!0})});