lwc 2.42.0 → 2.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/engine-dom/esm/es2017/engine-dom.js +41 -24
- package/dist/engine-dom/esm/es2017/engine-dom.js.map +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom.js +41 -23
- package/dist/engine-dom/iife/es2017/engine-dom.js.map +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +32 -16
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js.map +1 -1
- package/dist/engine-dom/iife/es5/engine-dom.js +42 -24
- package/dist/engine-dom/iife/es5/engine-dom.js.map +1 -1
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +34 -18
- package/dist/engine-dom/iife/es5/engine-dom_debug.js.map +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom.js +41 -23
- package/dist/engine-dom/umd/es2017/engine-dom.js.map +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +32 -16
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js.map +1 -1
- package/dist/engine-dom/umd/es5/engine-dom.js +42 -24
- package/dist/engine-dom/umd/es5/engine-dom.js.map +1 -1
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +34 -18
- package/dist/engine-dom/umd/es5/engine-dom_debug.js.map +1 -1
- package/dist/engine-server/commonjs/es2017/engine-server.js +37 -14
- package/dist/engine-server/commonjs/es2017/engine-server.js.map +1 -1
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +37 -15
- package/dist/engine-server/esm/es2017/engine-server.js.map +1 -1
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js.map +1 -1
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js.map +1 -1
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js.map +1 -1
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js.map +1 -1
- package/dist/wire-service/esm/es2017/wire-service.js +2 -2
- package/dist/wire-service/esm/es2017/wire-service.js.map +1 -1
- package/dist/wire-service/iife/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service.js.map +1 -1
- package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service_debug.js.map +1 -1
- package/dist/wire-service/iife/es5/wire-service.js +2 -2
- package/dist/wire-service/iife/es5/wire-service.js.map +1 -1
- package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
- package/dist/wire-service/iife/es5/wire-service_debug.js.map +1 -1
- package/dist/wire-service/umd/es2017/wire-service.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service.js.map +1 -1
- package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service_debug.js.map +1 -1
- package/dist/wire-service/umd/es5/wire-service.js +2 -2
- package/dist/wire-service/umd/es5/wire-service.js.map +1 -1
- package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es5/wire-service_debug.js.map +1 -1
- package/package.json +7 -7
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=Object.freeze({__proto__:null,fail:function(e){throw new Error(e)},invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)}});const{assign:t,create:n,defineProperties:r,defineProperty:o,freeze:s,getOwnPropertyDescriptor:i,getOwnPropertyNames:l,getPrototypeOf:c,hasOwnProperty:a,isFrozen:u,keys:d,seal:f,setPrototypeOf:h}=Object,{isArray:p}=Array,{concat:m,copyWithin:g,fill:w,filter:y,find:b,indexOf:v,join:E,map:C,pop:S,push:k,reduce:M,reverse:T,shift:x,slice:A,some:N,sort:O,splice:_,unshift:P,forEach:R}=Array.prototype,{fromCharCode:$}=String,{charCodeAt:D,replace:L,split:F,slice:I,toLowerCase:W}=String.prototype;function H(e){return void 0===e}function B(e){return null===e}function V(e){return!0===e}function j(e){return!1===e}function G(e){return"function"==typeof e}function U(e){return"string"==typeof e}function K(){}const z={}.toString;function Y(e){return e&&e.toString?p(e)?E.call(C.call(e,Y),","):e.toString():"object"==typeof e?z.call(e):e+""}function q(e,t){do{const n=i(e,t);if(!H(n))return n;e=c(e)}while(null!==e)}const X=["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:Z,AriaPropNameToAttrNameMap:Q}=(()=>{const e=n(null),t=n(null);return R.call(X,(n=>{const r=W.call(L.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function J(e){return e in Z}const ee="object"==typeof globalThis?globalThis:window,te="$shadowResolver$",ne="$shadowStaticNode$",re="$$lwc-synthetic-mode",oe="$scoped$",se="http://www.w3.org/1999/xhtml",ie="http://www.w3.org/XML/1998/namespace",le="http://www.w3.org/2000/svg",ce="http://www.w3.org/1999/xlink",ae=new Set(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr","param","keygen","menuitem"]);const ue=/-([a-z])/g,de=new Map([["autofocus",new Set(["button","input","keygen","select","textarea"])],["autoplay",new Set(["audio","video"])],["checked",new Set(["command","input"])],["disabled",new Set(["button","command","fieldset","input","keygen","optgroup","select","textarea"])],["formnovalidate",new Set(["button"])],["hidden",new Set],["loop",new Set(["audio","bgsound","marquee","video"])],["multiple",new Set(["input","select"])],["muted",new Set(["audio","video"])],["novalidate",new Set(["form"])],["open",new Set(["details"])],["readonly",new Set(["input","textarea"])],["required",new Set(["input","select","textarea"])],["reversed",new Set(["ol"])],["selected",new Set(["option"])]]);function fe(e,t){const n=de.get(e);return void 0!==n&&(0===n.size||n.has(t))}const he=new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","contextmenu","dir","draggable","enterkeyhint","exportparts","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","part","slot","spellcheck","style","tabindex","title","translate"]);function pe(e){return he.has(e)}const{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:me,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:ge}=(()=>{const e=new Map([["accessKey","accesskey"],["readOnly","readonly"],["tabIndex","tabindex"],["bgColor","bgcolor"],["colSpan","colspan"],["rowSpan","rowspan"],["contentEditable","contenteditable"],["crossOrigin","crossorigin"],["dateTime","datetime"],["formAction","formaction"],["isMap","ismap"],["maxLength","maxlength"],["minLength","minlength"],["noValidate","novalidate"],["useMap","usemap"],["htmlFor","for"]]),t=new Map;return e.forEach(((e,n)=>t.set(e,n))),{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:t,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:e}})(),we=new Map,ye=new Map;function be(e){const t=Q[e];if(!H(t))return t;const n=ge.get(e);if(!H(n))return n;const r=we.get(e);if(!H(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=D.call(e,t);o+=n>=65&&n<=90?"-"+$(n+32):$(n)}return we.set(e,o),o}function ve(e){const t=Z[e];if(!H(t))return t;const n=me.get(e);if(!H(n))return n;const r=ye.get(e);if(!H(r))return r;const o=L.call(e,ue,(e=>e[1].toUpperCase()));return ye.set(e,o),o}const Ee={'"':""","'":"'","<":"<",">":">","&":"&"};function Ce(e,t=!1){const n=t?/["&]/g:/["'<>&]/g;return e.replace(n,(e=>Ee[e]))}const Se={DUMMY_TEST_FLAG:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_WIRE_SYNC_EMIT:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_FROZEN_TEMPLATE:null,DISABLE_ARIA_REFLECTION_POLYFILL:null};ee.lwcRuntimeFlags||Object.defineProperty(ee,"lwcRuntimeFlags",{value:n(null)});const ke=ee.lwcRuntimeFlags;if("function"!=typeof Event){class e{}o(ee,"Event",{value:e,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class e extends Event{}o(ee,"CustomEvent",{value:e,configurable:!0,writable:!0})}function Me(e,t){return H(i(t,e))}function Te(e,t){const n=function(e){return{get(){return this.hasAttribute(e)?this.getAttribute(e):null},set(t){B(t)?this.removeAttribute(e):this.setAttribute(e,t)},configurable:!0,enumerable:!0}}(Q[e]);o(t,e,n)}function xe(e){return`<${W.call(e.tagName)}>`}function Ae(e,t){if(!u(t)&&H(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!B(n);)k.call(t,xe(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}const Ne=new Set;function Oe(e,t,n,r){let o=`[LWC ${e}]: ${t}`;if(H(n)||(o=`${o}\n${function(e){const t=[];let n="";for(;!B(e.owner);)k.call(t,n+xe(e)),e=e.owner,n+="\t";return E.call(t,"\n")}(n)}`),r){if(Ne.has(o))return;Ne.add(o)}try{throw new Error(o)}catch(t){console[e](t)}}function _e(e,t){Oe("error",e,t,!1)}const Pe=new WeakMap;const Re={observe(e){e()},reset(){},link(){}};function $e(e){return Re}const De=32,Le=f(n(null)),Fe=f([]);function Ie(e){const t=[];for(const n of e)p(n)?t.push(...Ie(n)):t.push(n);return t}function We(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}function He(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Be(e){return G(e)&&a.call(e,"__circular__")}const Ve="undefined"!=typeof HTMLElement?HTMLElement:function(){},je=Ve.prototype;let Ge,Ue=null;function Ke(e,t){Ue=null,Ge=void 0}function ze(e,t){Ue=e,Ge=t}const Ye=n(null);function qe(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n)}R.call(d(Q),(e=>{const t=q(je,e);H(t)||(Ye[e]=t)})),R.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=q(je,e);H(t)||(Ye[e]=t)}));const{isArray:Xe}=Array,{prototype:Ze,getPrototypeOf:Qe,create:Je,defineProperty:et,isExtensible:tt,getOwnPropertyDescriptor:nt,getOwnPropertyNames:rt,getOwnPropertySymbols:ot,preventExtensions:st,hasOwnProperty:it}=Object,{push:lt,concat:ct}=Array.prototype;function at(e){return void 0===e}function ut(e){return"function"==typeof e}const dt=new WeakMap;function ft(e,t){dt.set(e,t)}const ht=e=>dt.get(e)||e;class pt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(it.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;at(n)||(e.get=this.wrapGetter(n)),at(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=nt(n,t);if(!at(r)){const n=this.wrapDescriptor(r);et(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;ct.call(rt(t),ot(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;at(n)||it.call(e,n)||et(e,n,Je(null)),st(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=at(n)||it.call(t,n)?[]:[n];return lt.apply(r,rt(t)),lt.apply(r,ot(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!tt(e)&&(!!tt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Qe(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let s=nt(n,t);if(at(s)){if(t!==o)return;return s={value:void 0,writable:!1,configurable:!1,enumerable:!1},et(e,o,s),s}return!1===s.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(s)}}const mt=new WeakMap,gt=new WeakMap,wt=new WeakMap,yt=new WeakMap;class bt extends pt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=mt.get(e);if(!at(t))return t;const n=this,r=function(){return n.wrapValue(e.call(ht(this)))};return mt.set(e,r),wt.set(r,e),r}wrapSetter(e){const t=gt.get(e);if(!at(t))return t;const n=function(t){e.call(ht(this),ht(t))};return gt.set(e,n),yt.set(n,e),n}unwrapDescriptor(e){if(it.call(e,"value"))e.value=ht(e.value);else{const{set:t,get:n}=e;at(n)||(e.get=this.unwrapGetter(n)),at(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=wt.get(e);if(!at(t))return t;const n=this,r=function(){return ht(e.call(n.wrapValue(this)))};return mt.set(r,e),wt.set(e,r),r}unwrapSetter(e){const t=yt.get(e);if(!at(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return gt.set(r,e),yt.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&&Xe(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(tt(e)){const{originalTarget:t}=this;if(st(t),tt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:s}}=this;return t===s&&!it.call(r,t)||(et(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const vt=new WeakMap,Et=new WeakMap;class Ct extends pt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=vt.get(e);if(!at(t))return t;const n=this,r=function(){return n.wrapValue(e.call(ht(this)))};return vt.set(e,r),r}wrapSetter(e){const t=Et.get(e);if(!at(t))return t;const n=function(e){};return Et.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 St(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(Xe(e))return!0;const t=Qe(e);return t===Ze||null===t||null===Qe(t)}const kt=(e,t)=>{},Mt=(e,t)=>{};function Tt(e){return Xe(e)?[]:{}}const xt=Symbol.for("@@lockerLiveValue"),At=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=ut(t)?t:Mt,this.valueObserved=ut(n)?n:kt,this.valueIsObservable=ut(r)?r:St,this.tagPropertyKey=o}getProxy(e){const t=ht(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=ht(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return ht(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(at(t)){const n=new bt(this,e);t=new Proxy(Tt(e),n),ft(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(at(t)){const n=new Ct(this,e);t=new Proxy(Tt(e),n),ft(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:function(e,t){},valueMutated:function(e,t){const n=Pe.get(e);if(!H(n)){const e=n[t];if(!H(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}},tagPropertyKey:xt});function Nt(e){return At.getReadOnlyProxy(e)}function Ot(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!G(n))throw new TypeError;if(!G(r))throw new TypeError;return{enumerable:o,configurable:s,get(){const e=Rr(this);if(!fr(e))return n.call(e.elm)},set(t){const n=Rr(this);return qe(n,e,t),r.call(n.elm,t)}}}const _t=new WeakMap,Pt=function(){if(B(dr))throw new TypeError("Illegal constructor");const e=dr,{def:t,elm:n}=e,{bridge:r}=t;if(h(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 Pr(this,e),Pr(n,e),1===e.renderMode?e.renderRoot=function(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:s}}=e,i=s(t,{[re]:1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=i,Pr(i,e),i}(e):e.renderRoot=n,this};Pt.prototype={constructor:Pt,dispatchEvent(e){const t=Rr(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=Rr(this),{elm:o,renderer:{addEventListener:s}}=r;s(o,e,br(r,t),n)},removeEventListener(e,t,n){const r=Rr(this),{elm:o,renderer:{removeEventListener:s}}=r;s(o,e,br(r,t),n)},hasAttribute(e){const t=Rr(this),{elm:n,renderer:{getAttribute:r}}=t;return!B(r(n,e))},hasAttributeNS(e,t){const n=Rr(this),{elm:r,renderer:{getAttribute:o}}=n;return!B(o(r,t,e))},removeAttribute(e){const t=Rr(this),{elm:n,renderer:{removeAttribute:r}}=t;ze(n,e),r(n,e),Ke()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=Rr(this);ze(n,t),r(n,t,e),Ke()},getAttribute(e){const t=Rr(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=Rr(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=Rr(this),{elm:r,renderer:{setAttribute:o}}=n;ze(r,e),o(r,e,t),Ke()},setAttributeNS(e,t,n){const r=Rr(this),{elm:o,renderer:{setAttribute:s}}=r;ze(o,t),s(o,t,n,e),Ke()},getBoundingClientRect(){const e=Rr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=Rr(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=Rr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return Rr(this).shadowRoot},get refs(){const e=Rr(this);if(nr)return;const{refVNodes:t,cmpTemplate:r}=e;if(B(t))return;let o=_t.get(t);if(H(o)){o=n(null);for(const e of d(t))o[e]=t[e].elm;s(o),_t.set(t,o)}return o},set refs(e){o(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=Rr(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=Rr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=Rr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=Rr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=Rr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=Rr(this);return e.renderer.getLastElementChild(e.elm)},get ownerDocument(){const e=Rr(this);return e.renderer.ownerDocument(e.elm)},render(){return Rr(this).def.template},toString(){return`[object ${Rr(this).def.name}]`}};const Rt=n(null),$t=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of $t)Rt[e]={value(t){const n=Rr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};r(Pt.prototype,Rt);const Dt=n(null);for(const e in Ye)Dt[e]=Ot(e,Ye[e]);function Lt(e){return{get(){return Rr(this).cmpFields[e]},set(t){qe(Rr(this),e,t)},enumerable:!0,configurable:!0}}r(Pt.prototype,Dt),function(e=Element.prototype){const t=d(Q);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];Me(r,e)&&Te(r,e)}}(Pt.prototype),o(Pt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const Ft=new Map;function It(e,t){let n=Ft.get(e);if(!H(n))throw new Error("Adapter already has a context provider.");n=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),Ft.set(e,n);const r=new WeakSet;return(e,o)=>{if(r.has(e))throw new Error(`Adapter was already installed on ${e}.`);r.add(e);const{consumerConnectedCallback:s,consumerDisconnectedCallback:i}=o;t(e,n,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{H(i)||i(r)})),s(r)}))}}const Wt="$$DeprecatedWiredElementHostKey$$",Ht="$$DeprecatedWiredParamsMetaKey$$",Bt=new Map;function Vt(e,t,n){const{method:r,adapter:s,configCallback:i,dynamic:l}=n;const c=H(r)?function(e,t){return n=>{qe(e,t,n)}}(e,t):function(e,t){return n=>{Vr(e,e.owner,K,(()=>{t.call(e.component,n)}),K)}}(e,r),a=e=>{c(e)};let u,d;o(a,Wt,{value:e.elm}),o(a,Ht,{value:l}),Vr(e,e,K,(()=>{d=new s(a)}),K);const{computeConfigAndUpdate:f,ro:h}=function(e,t,n){const r=$e();return{computeConfigAndUpdate:()=>{let o;r.observe((()=>o=t(e))),n(o)},ro:r}}(e.component,i,(t=>{Vr(e,e,K,(()=>{d.update(t,u)}),K)}));return H(s.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Ft.get(r);if(H(o))return;const{elm:s,context:{wiredConnecting:i,wiredDisconnecting:l},renderer:{registerContextConsumer:c}}=e;k.call(i,(()=>{c(s,o,{setNewContext(e){n(e)},setDisconnectedCallback(e){k.call(l,e)}})}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>h.reset()}}function jt(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Bt.set(e,o)}function Gt(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Bt.set(e,o)}function Ut(e){return{get(){const t=Rr(this);if(!fr(t))return t.cmpProps[e]},set(t){Rr(this).cmpProps[e]=t},enumerable:!0,configurable:!0}}function Kt(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!G(n))throw new Error;return{get(){return n.call(this)},set(e){Rr(this),r&&r.call(this,e)},enumerable:o,configurable:s}}function zt(e){return{get(){return Rr(this).cmpFields[e]},set(t){qe(Rr(this),e,t)},enumerable:!0,configurable:!0}}function Yt(e){return{get(){return Rr(this).cmpFields[e]},set(t){qe(Rr(this),e,t)},enumerable:!0,configurable:!0}}const qt=new Map;const Xt={apiMethods:Le,apiFields:Le,apiFieldsConfig:Le,wiredMethods:Le,wiredFields:Le,observedFields:Le};const Zt=new Set;function Qt(){return[]}Zt.add(Qt);const Jt=n(null),en=n(null);function tn(e){let t=Jt[e];return H(t)&&(t=Jt[e]=function(){const t=Rr(this),{getHook:n}=t;return n(t.component,e)}),t}function nn(e){let t=en[e];return H(t)&&(t=en[e]=function(t){const n=Rr(this),{setHook:r}=n;t=Nt(t),r(n.component,e,t)}),t}function rn(e){return function(){const t=Rr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,A.call(arguments))}}function on(e,t){return function(n,r,o){if(r===o)return;const s=e[n];H(s)?H(t)||t.apply(this,arguments):function(e,t){return e!==Ue||t!==Ge}(this,n)&&(this[s]=o)}}function sn(e,t,s){let i;G(e)?i=class extends e{}:(i=function(){throw new TypeError("Illegal constructor")},h(i,e),h(i.prototype,e.prototype),o(i.prototype,"constructor",{writable:!0,configurable:!0,value:i}));const l=n(null),{attributeChangedCallback:c}=e.prototype,{observedAttributes:a=[]}=e,u=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[be(n)]=n,u[n]={get:tn(n),set:nn(n),enumerable:!0,configurable:!0}}for(let e=0,t=s.length;e<t;e+=1){const t=s[e];u[t]={value:rn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:on(l,c)},o(i,"observedAttributes",{get:()=>[...a,...d(l)]}),r(i.prototype,u),i}const ln=sn(Ve,l(Ye),[]);s(ln),f(ln.prototype);const cn="function"==typeof WeakRef&&"function"==typeof FinalizationRegistry;const an=cn?class{constructor(){this._map=new WeakMap,this._registry=new FinalizationRegistry((e=>{for(let t=e.length-1;t>=0;t--){H(e[t].deref())&&_.call(e,t,1)}}))}_getWeakRefs(e){let t=this._map.get(e);return H(t)&&(t=[],this._map.set(e,t)),t}get(e){const t=this._getWeakRefs(e),n=new Set;for(const e of t){const t=e.deref();H(t)||n.add(t)}return n}add(e,t){const n=this._getWeakRefs(e);k.call(n,new WeakRef(t)),this._registry.register(t,n)}delete(e){this._map.delete(e)}}:class{constructor(){this._map=new WeakMap}_getValues(e){let t=this._map.get(e);return H(t)&&(t=new Set,this._map.set(e,t)),t}get(e){return this._getValues(e)}add(e,t){this._getValues(e).add(t)}delete(e){this._map.delete(e)}};new WeakMap,new an,new an,new an;const un=new WeakMap;function dn(e){const{shadowSupportMode:o,renderMode:s}=e,i=function(e){const t=qt.get(e);return H(t)?Xt:t}(e),{apiFields:l,apiFieldsConfig:a,apiMethods:u,wiredFields:f,wiredMethods:h,observedFields:p}=i,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=c(e);if(B(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(Be(t)){const e=He(t);t=e===t?Pt:e}return t}(e),C=E!==Pt?hn(E):pn,S=sn(C.bridge,d(l),d(u)),k=t(n(null),C.props,l),M=t(n(null),C.propsConfig,a),T=t(n(null),C.methods,u),x=t(n(null),C.wire,f,h);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let A=C.shadowSupportMode;H(o)||(A=o);let N=C.renderMode;H(s)||(N="light"===s?0:1);const O=function(e){var t;return null===(t=mr.get(e))||void 0===t?void 0:t.tmpl}(e)||C.template,_=e.name||C.name;r(m,p);return{ctor:e,name:_,wire:x,props:k,propsConfig:M,methods:T,bridge:S,template:O,renderMode:N,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function fn(e){if(!G(e))return!1;if(e.prototype instanceof Pt)return!0;let t=e;do{if(Be(t)){const e=He(t);if(e===t)return!0;t=e}if(t===Pt)return!0}while(!B(t)&&(t=c(t)));return!1}function hn(e){let t=un.get(e);if(H(t)){if(Be(e)){return t=hn(He(e)),un.set(e,t),t}if(!fn(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=dn(e),un.set(e,t)}return t}const pn={ctor:Pt,name:Pt.name,props:Dt,propsConfig:Le,methods:Le,renderMode:1,shadowSupportMode:"reset",wire:Le,bridge:ln,template:Qt,render:Pt.prototype.render};function mn(e){return`${e}-host`}function gn(e){return tr.h("style",{key:"style",attrs:{type:"text/css"}},[tr.t(e)])}function wn(e,t,n){const r=[];let o;for(let s=0;s<e.length;s++){let i=e[s];if(p(i))k.apply(r,wn(i,t,n));else{const e=i[oe];if(lwcRuntimeFlags.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){_e("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const s=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let c;1===n.renderMode?c=0===n.shadowMode:(H(o)&&(o=yn(n)),c=B(o)||0===o.shadowMode),k.call(r,i(s,l,c))}}return r}function yn(e){let t=e;for(;!B(t);){if(1===t.renderMode)return t;t=t.owner}return t}function bn(e){const{type:t}=e;return 2===t||3===t}function vn(e,t){return e.key===t.key&&e.sel===t.sel}function En(e){return 5===e.type}function Cn(e){return 6===e.type}const Sn=58;const kn=58;function Mn(e,t){return"input"===e&&("value"===t||"checked"===t)}const Tn=n(null);function xn(e){if(null==e)return Le;e=U(e)?e:e+"";let t=Tn[e];if(t)return t;t=n(null);let r,o=0;const s=e.length;for(r=0;r<s;r++)D.call(e,r)===De&&(r>o&&(t[I.call(e,o,r)]=!0),o=r+1);return r>o&&(t[I.call(e,o,r)]=!0),Tn[e]=t,t}function An(e,t,n,r){Un(t)?zn(e,t,n,r):Yn(e,t,n,r)}function Nn(e,t,n,r){var o,s;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&Fn(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:s}=t;s?Yn(e.children,o,n,r):zn(e.children,o,n,r);t.elm=t.leading.elm}(e,t,n,r);break;case 2:!function(e,t,n){const r=t.elm=e.elm;Hn(e,t,n),An(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);Rn(e,n,r,!0),_n(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;if(Hn(e,t,r),!H(o)){Vn(t,o);const{shadowMode:n,renderMode:r}=o;0==n&&0!==r&&Un(e.children)&&Gn(t.children)}An(e.children,t.children,n,r),H(o)||function(e){Dr(e)}(o)}}(e,t,n,null!==(s=t.data.renderer)&&void 0!==s?s:r)}}function On(e,t,n,r){var o,s;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:s}=r,i=e.elm=s(e.text);Ln(i,o,r),Wn(i,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:s}=r,i=e.elm=s(e.text);Ln(i,o,r),Wn(i,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:s,isSyntheticShadowDefined:i}=r,l=e.elm=s(e.fragment,!0);Ln(l,o,r);const{renderMode:c,shadowMode:a}=o;i&&(1!==a&&0!==c||(l[ne]=!0));Wn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;Pn(o,t,r,n),e.elm=e.leading.elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:s,data:{svg:i}}=e,{createElement:l}=r,c=V(i)?le:void 0,a=e.elm=l(o,c);Ln(a,s,r),Bn(a,s,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(a,e),Hn(null,e,r),Wn(a,t,n,r),Pn(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:_n(e,t,r,null!==(s=e.data.renderer)&&void 0!==s?s:n)}}function _n(e,t,n,r){const{sel:o,owner:s}=e,{createCustomElement:i}=r;let l;let c,a;lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(c=e=>{Ar(e)},a=e=>{Nr(e)});const u=i(o.toLowerCase(),(t=>{l=function(e,t,n){let r=$r(e);if(!H(r))return r;const{sel:o,mode:s,ctor:i,owner:l}=t;return r=_r(e,i,n,{mode:s,owner:l,tagName:o}),r}(t,e,r)}),c,a);e.elm=u,e.vm=l,Ln(u,s,r),Bn(u,s,r),l&&Vn(e,l),Hn(null,e,r),Wn(u,t,n,r),l&&Lr(l),Pn(e.children,u,r,null),l&&function(e){Dr(e)}(l)}function Pn(e,t,n,r,o=0,s=e.length){for(;o<s;++o){const s=e[o];Dn(s)&&On(s,t,n,r)}}function Rn(e,t,n,r=!1){const{type:o,elm:s,sel:i}=e;switch(r&&(5===o?$n(e.children,t,n,r):function(e,t,n){n.remove(e,t)}(s,t,n)),o){case 2:{const t="slot"===i&&1===e.owner.shadowMode;$n(e.children,s,n,t);break}case 3:{const{vm:t}=e;H(t)||function(e){Or(e)}(t)}}}function $n(e,t,n,r=!1,o=0,s=e.length){for(;o<s;++o){const s=e[o];Dn(s)&&Rn(s,t,n,r)}}function Dn(e){return null!=e}function Ln(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:s}=t,{isSyntheticShadowDefined:i}=n;i&&(1!==s&&0!==o||(e[te]=r[te]))}function Fn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function In(e,t,n,r){if(En(e)){const o=e.children;for(let e=0;e<o.length;e+=1){const s=o[e];B(s)||r.insert(s.elm,t,n)}}else r.insert(e.elm,t,n)}function Wn(e,t,n,r){r.insert(e,t,n)}function Hn(e,n,r){B(e)&&(function(e,t){const{elm:n,data:{on:r}}=e;if(H(r))return;const{addEventListener:o}=t;for(const e in r)o(n,e,r[e])}(n,r),function(e,t){const{elm:n,data:{classMap:r}}=e;if(H(r))return;const{getClassList:o}=t,s=o(n);for(const e in r)s.add(e)}(n,r),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(H(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,s,i]=r[e];o(n,t,s,i)}}(n,r)),function(e,t,n){const{elm:r,data:{className:o}}=t,s=B(e)?void 0:e.data.className;if(s===o)return;const{getClassList:i}=n,l=i(r),c=xn(o),a=xn(s);let u;for(u in a)H(c[u])&&l.remove(u);for(u in c)H(a[u])&&l.add(u)}(e,n,r),function(e,t,n){const{elm:r,data:{style:o}}=t;if((B(e)?void 0:e.data.style)===o)return;const{setAttribute:s,removeAttribute:i}=n;U(o)&&""!==o?s(r,"style",o):i(r,"style")}(e,n,r),n.data.external?function(e,t,n){const{data:{attrs:r},elm:o}=t;if(H(r))return;const{removeAttribute:s,setAttribute:i,setProperty:l}=n,c=B(e)?Le:e.data.attrs;for(const e in r){const t=r[e];c[e]!==t&&(ve(e)in o?l(o,e,t):D.call(e,3)===kn?i(o,e,t,ie):D.call(e,5)===kn?i(o,e,t,ce):B(t)||H(t)?s(o,e):i(o,e,t))}}(e,n,r):function(e,t,n){const{attrs:r}=t.data;if(H(r))return;const o=B(e)?Le:e.data.attrs;if(o===r)return;const{elm:s}=t,{setAttribute:i,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(ze(s,e),D.call(e,3)===Sn?i(s,e,t,ie):D.call(e,5)===Sn?i(s,e,t,ce):B(t)||H(t)?l(s,e):i(s,e,t),Ke())}}(e,n,r),function(e,n,r){let{props:o}=n.data;const{spread:s}=n.data;if(H(o)&&H(s))return;let i;if(!B(e)){i=e.data.props;const n=e.data.spread;if(i===o&&n===s)return;H(i)&&(i=Le),H(n)||(i=t({},i,n))}H(s)||(o=t({},o,s));const l=B(e),{elm:c,sel:a}=n,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(Mn(a,e)?u(c,e):i[e])&&e in i||d(c,e,t)}}(e,n,r)}function Bn(e,t,n){const r=function(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}(t);if(!B(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||H(o)||(e.$shadowToken$=o)}function Vn(e,t){const r=e.aChildren||e.children,{renderMode:o,shadowMode:s}=t,i=function(e){const t=[],n=[];let r,o=!1;for(let t=e.length-1;t>-1;t-=1){const r=e[t];k.call(n,r),o=o||!(!r||!En(r))}if(!o)return e;for(;!H(r=S.call(n));)if(!B(r)&&En(r)){const e=r.children;for(let t=e.length-2;t>0;t-=1)k.call(n,e[t])}else k.call(t,r);return Gn(t),t}(r);e.children=i,t.aChildren=i,1!==s&&0!==o||(!function(e,t,r){var o,s;const{cmpSlots:{slotAssignments:i}}=e,l=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(B(n))continue;let r="";bn(n)?r=null!==(s=null===(o=n.data.attrs)||void 0===o?void 0:o.slot)&&void 0!==s?s:"":Cn(n)&&(r=n.slotName);const i=""+r,c=l[i]=l[i]||[];k.call(c,n)}if(e.cmpSlots={owner:r,slotAssignments:l},j(e.isDirty)){const t=d(i);if(t.length!==d(l).length)return void wr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(H(l[r])||i[r].length!==l[r].length)return void wr(e);const o=i[r],s=l[r];for(let t=0,n=l[r].length;t<n;t+=1)if(o[t]!==s[t])return void wr(e)}}}(t,i,e.owner),e.aChildren=i,e.children=Fe)}const jn=new WeakMap;function Gn(e){jn.set(e,1)}function Un(e){return jn.has(e)}function Kn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Dn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function zn(e,t,n,r){let o=0,s=0,i=e.length-1,l=e[0],c=e[i];const a=t.length-1;let u,d,f,h,p=a,m=t[0],g=t[p],w=!1;for(;o<=i&&s<=p;)if(Dn(l))if(Dn(c))if(Dn(m))if(Dn(g))if(vn(l,m))Nn(l,m,n,r),l=e[++o],m=t[++s];else if(vn(c,g))Nn(c,g,n,r),c=e[--i],g=t[--p];else if(vn(l,g)){let s;Nn(l,g,n,r),s=En(c)?r.nextSibling(c.trailing.elm):r.nextSibling(c.elm),In(l,n,s,r),l=e[++o],g=t[--p]}else vn(c,m)?(Nn(c,m,n,r),In(m,n,l.elm,r),c=e[--i],m=t[++s]):(void 0===u&&(u=Kn(e,o,i)),d=u[m.key],H(d)?(On(m,n,r,l.elm),m=t[++s]):(f=e[d],Dn(f)&&(f.sel!==m.sel?On(m,n,r,l.elm):(Nn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,In(f,n,l.elm,r))),m=t[++s]));else g=t[--p];else m=t[++s];else c=e[--i];else l=e[++o];if(o<=i||s<=p)if(o>i){let e,o=p;do{e=t[++o]}while(!Dn(e)&&o<a);h=Dn(e)?e.elm:null,Pn(t,n,r,h,s,p+1)}else $n(e,n,r,!0,o,i+1)}function Yn(e,t,n,r){const o=e.length,s=t.length;if(0===o)return void Pn(t,n,r,null);if(0===s)return void $n(e,n,r,!0);let i=null;for(let o=s-1;o>=0;o-=1){const s=e[o],l=t[o];l!==s&&(Dn(s)?Dn(l)?vn(s,l)?(Nn(s,l,n,r),i=l.elm):(Rn(s,n,r,!0),On(l,n,r,i),i=l.elm):Rn(s,n,r,!0):Dn(l)&&(On(l,n,r,i),i=l.elm))}}const qn=Symbol.iterator;function Xn(e,t,n=Fe){const r=or(),{key:o,ref:s}=t,i={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return H(s)||We(r,s,i),i}function Zn(e,t,n,r=Fe){const o=or(),{key:s,ref:i}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:s,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){k.call(or().velements,e)}(l),H(i)||We(o,i,l),l}function Qn(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:or()}}function Jn(e){return Gn(e),e}let er=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const tr=s({s:function(e,t,n,r){if(!H(r)&&!H(r.slotAssignments)&&!H(r.slotAssignments[e])&&0!==r.slotAssignments[e].length){const o=[],s=r.slotAssignments[e];for(let e=0;e<s.length;e++){const n=s[e];if(!B(n)){const e=Cn(n);if(e!==!H(t.slotData))continue;if(e){const e=or();sr(r.owner);try{k.call(o,n.factory(t.slotData,t.key))}finally{sr(e)}}else k.call(o,n)}}n=o}const o=or(),{renderMode:s,shadowMode:i}=o;return 0===s?(Jn(n),n):(1===i&&Jn(n),Xn("slot",t,n))},h:Xn,c:Zn,i:function(e,t){const n=[];if(Jn(n),H(e)||null===e)return n;const r=e[qn]();let o=r.next(),s=0,{value:i,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(i,s,0===s,!0===l);p(e)?k.apply(n,e):k.call(n,e),s+=1,i=o.value}return n},f:function(e){const t=e.length,n=[];Jn(n);for(let r=0;r<t;r+=1){const t=e[r];p(t)?k.apply(n,t):k.call(n,t)}return n},t:Qn,d:function(e){return null==e?"":String(e)},b:function(e){const t=or();if(B(t))throw new Error;const n=t;return function(t){pr(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:or()}},dc:function(e,t,n=Fe){if(B(e)||H(e))return null;if(!fn(e))throw new Error(`Invalid constructor ${Y(e)} is not a LightningElement constructor.`);const r=function(e){var t;return null===(t=mr.get(e))||void 0===t?void 0:t.sel}(e);if(H(r)||""===r)throw new Error(`Invalid LWC constructor ${Y(e)} does not have a registered name`);return Zn(r,e,t,n)},fr:function(e,t,n){const r=Qn(""),o=Qn("");return{type:5,sel:void 0,key:e,elm:void 0,children:[r,...t,o],stable:n,owner:or(),leading:r,trailing:o}},ti:function(e){return e>0&&!(V(e)||j(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:or()}},gid:function(e){const t=or();if(H(e)||""===e)return e;if(B(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?L.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=or();if(H(e)||""===e)return e;if(B(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return er(e)},ssf:function(e,t){return{type:6,factory:t,owner:or(),elm:void 0,sel:void 0,key:void 0,slotName:e}},ddc:function(e,t,n,r=Fe){if(B(t)||H(t))return null;if(!fn(t))throw new Error(`Invalid LWC Constructor ${Y(t)} for custom element <${e}>.`);return Zn(e,t,n,r)}});let nr=!1,rr=null;function or(){return rr}function sr(e){rr=e}const ir=(lr=(e,t)=>{const{createFragment:n}=t;return n(e)},(e,...t)=>{const r=n(null);return function(){const{context:{hasScopedStyles:n,stylesheetToken:o},shadowMode:s,renderer:i}=or(),l=!H(o),c=1===s;let a=0;if(l&&n&&(a|=1),l&&c&&(a|=2),!H(r[a]))return r[a];const u=n&&l?" "+o:"",d=n&&l?` class="${o}"`:"",f=l&&c?" "+o:"";let h="";for(let n=0,r=t.length;n<r;n++)switch(t[n]){case 0:h+=e[n]+u;break;case 1:h+=e[n]+d;break;case 2:h+=e[n]+f;break;case 3:h+=e[n]+d+f}return h+=e[e.length-1],r[a]=lr(h,i),r[a]}});var lr;function cr(e,t){const r=nr,o=rr;let s=[];return Vr(e,e.owner,(()=>{rr=e}),(()=>{const{component:r,context:o,cmpSlots:i,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(B(l)||Hr(e),c=t,!Zt.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: ${Y(t)}.`);e.cmpTemplate=t,o.tplCache=n(null),o.hasScopedStyles=function(e,t){const{stylesheets:n}=e,r=H(t)?null:t.stylesheets;return ar(n)||ar(r)}(t,e),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:s,renderer:{getClassList:i,removeAttribute:l,setAttribute:c}}=e,{stylesheets:a,stylesheetToken:u}=t,{stylesheets:d}=e,f=1===o&&1===s,{hasScopedStyles:h}=r;let p,m,g;const{stylesheetToken:w,hasTokenInClass:y,hasTokenInAttribute:b}=r;H(w)||(y&&i(n).remove(mn(w)),b&&l(n,mn(w)));const v=ur(a),E=ur(d);(v||E)&&(p=u),H(p)||(h&&(i(n).add(mn(p)),m=!0),f&&(c(n,mn(p),""),g=!0)),r.stylesheetToken=p,r.hasTokenInClass=m,r.hasTokenInAttribute=g}(e,t);const r=function(e,t){const{stylesheets:n,stylesheetToken:r}=t,{stylesheets:o}=e;let s=[];return ur(n)&&(s=wn(n,r,e)),ur(o)&&k.apply(s,wn(o,r,e)),s}(e,t);o.styleVNodes=0===r.length?null:function(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1!==n||1!==r)return C.call(t,gn);for(let e=0;e<t.length;e++)o(t[e]);return null}(e,r)}var c;e.refVNodes=t.hasRefs?n(null):null,e.velements=[],nr=!0,s=t.call(void 0,tr,r,i,o.tplCache);const{styleVNodes:a}=o;B(a)||P.apply(s,a)}))}),(()=>{nr=r,rr=o})),s}function ar(e){if(ur(e))for(let t=0;t<e.length;t++)if(V(e[t][oe]))return!0;return!1}function ur(e){return!H(e)&&!B(e)&&e.length>0}let dr=null;function fr(e){return dr===e}function hr(e,t,n){const{component:r,callHook:o,owner:s}=e;Vr(e,s,K,(()=>{o(r,t,n)}),K)}function pr(e,t,n,r){const{callHook:o,owner:s}=e;Vr(e,s,K,(()=>{o(n,t,[r])}),K)}const mr=new Map;function gr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,s=or();let i,l=!1;return Vr(e,o,(()=>{sr(e)}),(()=>{e.tro.observe((()=>{i=n(r,t),l=!0}))}),(()=>{sr(s)})),l?cr(e,i):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function wr(e){e.isDirty=!0}const yr=new WeakMap;function br(e,t){if(!G(t))throw new TypeError("Expected an EventListener but received "+typeof t);let n=yr.get(t);return H(n)&&(n=function(n){pr(e,t,void 0,n)},yr.set(t,n)),n}const vr=n(null),Er=["rendered","connected","disconnected"];function Cr(e,t){const{component:n,def:r,context:o}=e;for(let e=0,s=t.length;e<s;++e)t[e].call(void 0,n,{},r,o)}let Sr=0;const kr=new WeakMap;function Mr(e,t,n=[]){return t.apply(e,n)}function Tr(e,t,n){e[t]=n}function xr(e,t){return e[t]}function Ar(e){const t=Rr(e);1===t.state&&Nr(e),Lr(t),Dr(t)}function Nr(e){Or(Rr(e))}function Or(e){const{state:t}=e;if(2!==t){const{tro:t}=e;t.reset(),function(e){j(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=vr;t&&Cr(e,t);Fr(e)&&function(e){const{wiredDisconnecting:t}=e.context;Vr(e,e,K,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),K)}(e);const{disconnectedCallback:n}=e.def;H(n)||hr(e,n)}(e),Ir(e),function(e){const{aChildren:t}=e;Wr(t)}(e)}}function _r(e,t,r,o){const{mode:s,owner:i,tagName:l,hydrated:c}=o,a=hn(t),u={elm:e,def:a,idx:Sr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:s,owner:i,refVNodes:null,children:Fe,aChildren:Fe,velements:Fe,cmpProps:n(null),cmpFields:n(null),cmpSlots:{slotAssignments:n(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:Le,wiredConnecting:Fe,wiredDisconnecting:Fe},tro:null,shadowMode:null,stylesheets:null,component:null,shadowRoot:null,renderRoot:null,callHook:Mr,setHook:Tr,getHook:xr,renderer:r};return u.stylesheets=function(e,t){const{stylesheets:n}=t;if(!H(n)){const e=function(e,t){let n=!0;const r=e=>{if(p(e))for(let t=0;t<e.length;t++)r(e[t]);else G(e)||(n=!1)};p(t)?r(t):n=!1;return n}(0,n);if(e)return Ie(n)}return null}(0,a.ctor),u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let s;if(r)if(0===n.renderMode)s=0;else if(o)if(lwcRuntimeFlags.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)s=0;else{const t=function(e){let t=e.owner;for(;!B(t)&&0===t.renderMode;)t=t.owner;return t}(e);s=B(t)||0!==t.shadowMode?1:0}else s=1;else s=1;else s=0;return s}(u,r),u.tro=$e(),function(e,t){const n=dr;let r;dr=e;try{const e=new t;if(dr.component!==e)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(dr=n,!H(r))throw Ae(e,r),r}}(u,a.ctor),Fr(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const s=n[t],i=Bt.get(s);if(!H(i)){const{connector:n,computeConfigAndUpdate:s,resetConfigWatcher:l}=Vt(e,t,i),c=i.dynamic.length>0;k.call(r,(()=>{n.connect(),lwcRuntimeFlags.ENABLE_WIRE_SYNC_EMIT||!c?s():Promise.resolve().then(s)})),k.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function Pr(e,t){kr.set(e,t)}function Rr(e){return kr.get(e)}function $r(e){return kr.get(e)}function Dr(e){if(V(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&Vr(e,e,(()=>{}),(()=>{An(r,t,n,o)}),(()=>{}));e.state}(e,gr(e))}}function Lr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=vr;n&&Cr(e,n),Fr(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;H(r)||hr(e,r)}function Fr(e){return l(e.def.wire).length>0}function Ir(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!H(n)){const e=$r(n);H(e)||Or(e)}}}function Wr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!B(n)&&!H(n.elm))switch(n.type){case 2:Wr(n.children);break;case 3:Or(Rr(n.elm));break}}}function Hr(e){Br(e.children,e),e.children=Fe,Ir(e),e.velements=Fe}function Br(e,t){const{renderRoot:n,renderer:{remove:r}}=t;for(let o=0,s=e.length;o<s;o+=1){const s=e[o];B(s)||(En(s)?Br(s.children,t):H(s.elm)||r(s.elm,n))}}function Vr(e,t,n,r,o){let s;n();try{r()}catch(e){s=Object(e)}finally{if(o(),!H(s)){Ae(e,s);const n=B(t)?void 0:function(e){let t=e;for(;!B(t);){if(!H(t.def.errorCallback))return t;t=t.owner}}(t);if(H(n))throw s;Hr(e);hr(n,n.def.errorCallback,[s,s.wcStack])}}}delete ee.$nativeGetElementById$,delete ee.$nativeQuerySelectorAll$;let jr=!1;function Gr(e){Ur(e,(e=>{s(e)}))}function Ur(e,t){t(e);for(let n=0;n<e.length;n++){const r=e[n];p(r)?Ur(r,t):t(r)}}const Kr=Symbol("namespace"),zr=Symbol("type"),Yr=Symbol("parent"),qr=Symbol("shadow-root"),Xr=Symbol("children"),Zr=Symbol("attributes"),Qr=Symbol("value"),Jr=Symbol("host"),eo=Symbol("context-providers");var to;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(to||(to={}));const no=/\s+/g;function ro(e){return new Set(e.split(no).filter((e=>e.length)))}function oo(e){return Array.from(e).join(" ")}function so(e,t,n){const r=$r(e);H(r)||(e=r.elm);const o=e[eo];if(H(o))throw new Error("Unable to register context provider on provided `elm`.");o.set(t,n)}function io(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function lo(e,t){return{[zr]:to.Element,tagName:e,[Kr]:null!=t?t:se,[Yr]:null,[qr]:null,[Xr]:[],[Zr]:[],[eo]:new Map}}function co(e,t,n=null){const r=e[Zr].find((e=>e.name===t&&e[Kr]===n));return r?r.value:null}function ao(e,t,n,r=null){const o=e[Zr].find((e=>e.name===t&&e[Kr]===r));H(r)&&(r=null),H(o)?e[Zr].push({name:t,[Kr]:r,value:String(n)}):o.value=n}function uo(e,t,n){e[Zr]=e[Zr].filter((e=>e.name!==t&&e[Kr]!==n))}const fo=K,ho=K,po=K,mo=io("dispatchEvent"),go=io("getBoundingClientRect"),wo=io("querySelector"),yo=io("querySelectorAll"),bo=io("getElementsByTagName"),vo=io("getElementsByClassName"),Eo=io("getChildren"),Co=io("getChildNodes"),So=io("getFirstChild"),ko=io("getFirstElementChild"),Mo=io("getLastChild"),To=io("getLastElementChild"),xo=K,Ao=new Map;function No(e){let t=Ao.get(e);return H(t)?(t=function(e){return function(t){const n=lo(e);return G(t)&&t(n),n}}(e),Ao.set(e,t),t):t}const Oo={isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,insert:function(e,t,n){const r=e[Yr];if(null!==r&&r!==t){const t=r[Xr].indexOf(e);r[Xr].splice(t,1)}e[Yr]=t;const o=B(n)?-1:t[Xr].indexOf(n);-1===o?t[Xr].push(e):t[Xr].splice(o,0,e)},remove:function(e,t){const n=t[Xr].indexOf(e);t[Xr].splice(n,1)},cloneNode:function(e){return Object.assign({},e)},createFragment:function(e){return{[zr]:to.Raw,[Yr]:null,[Qr]:e}},createElement:lo,createText:function(e){return{[zr]:to.Text,[Qr]:String(e),[Yr]:null}},createComment:function(e){return{[zr]:to.Comment,[Qr]:e,[Yr]:null}},createCustomElement:function(e,t){return new(No(e))(t)},nextSibling:function(e){const t=e[Yr];if(B(t))return null;const n=t[Xr].indexOf(e);return t[Xr][n+1]||null},attachShadow:function(e,t){return e[qr]={[zr]:to.ShadowRoot,[Xr]:[],[Jr]:e,mode:t.mode,delegatesFocus:!!t.delegatesFocus},e[qr]},getProperty:function(e,t){var n,r;if(t in e)return e[t];if(e[zr]===to.Element){const o=be(t);if(fe(o,e.tagName))return null!==(n=co(e,o))&&void 0!==n&&n;if(pe(o)||J(o))return co(e,o);if("input"===e.tagName&&"value"===t)return null!==(r=co(e,"value"))&&void 0!==r?r:""}},setProperty:function(e,t,n){if(t in e)return e[t]=n;if(e[zr]===to.Element){const r=be(t);if("innerHTML"===t)return void(e[Xr]=[{[zr]:to.Raw,[Yr]:e,[Qr]:n}]);if(fe(r,e.tagName))return!0===n?ao(e,r,""):uo(e,r);if(pe(r)||J(r))return ao(e,r,n);if("input"===e.tagName&&"value"===r)return B(n)||H(n)?uo(e,"value"):ao(e,"value",n)}},setText:function(e,t){e[zr]===to.Text?e[Qr]=t:e[zr]===to.Element&&(e[Xr]=[{[zr]:to.Text,[Yr]:e,[Qr]:t}])},getAttribute:co,setAttribute:ao,removeAttribute:uo,addEventListener:ho,removeEventListener:po,dispatchEvent:mo,getClassList:function(e){function t(){let t=e[Zr].find((e=>"class"===e.name&&B(e[Kr])));return H(t)&&(t={name:"class",[Kr]:null,value:""},e[Zr].push(t)),t}return{add(...e){const n=t(),r=ro(n.value);e.forEach((e=>r.add(e))),n.value=oo(r)},remove(...e){const n=t(),r=ro(n.value);e.forEach((e=>r.delete(e))),n.value=oo(r)}}},setCSSStyleProperty:function(e,t,n,r){const o=e[Zr].find((e=>"style"===e.name&&B(e[Kr]))),s=`${t}: ${n}${r?" !important":""}`;H(o)?e[Zr].push({name:"style",[Kr]:null,value:s}):o.value+=`; ${s}`},getBoundingClientRect:go,querySelector:wo,querySelectorAll:yo,getElementsByTagName:bo,getElementsByClassName:vo,getChildren:Eo,getChildNodes:Co,getFirstChild:So,getFirstElementChild:ko,getLastChild:Mo,getLastElementChild:To,isConnected:function(e){return!B(e[Yr])},insertStylesheet:fo,assertInstanceOfHTMLElement:xo,ownerDocument:io("ownerDocument"),registerContextConsumer:function(e,t,n){let r=e;do{if(r[zr]===to.Element){const e=r[eo].get(t);if(!H(e)){e(n);break}}r=r[zr]===to.Element?r[Yr]:r[Jr]}while(!B(r))}};function _o(e){return e.map((e=>{switch(e[zr]){case to.Text:return""===e[Qr]?"":Ce(e[Qr]);case to.Comment:return`\x3c!--${Ce(e[Qr])}--\x3e`;case to.Raw:return e[Qr];case to.Element:return Po(e)}})).join("")}function Po(e){let t="";const n=e.tagName,r=e[Kr],o=r!==se,s=e[Xr].length>0;var i;return t+=`<${n}${e[Zr].length?` ${i=e[Zr],i.map((e=>e.value.length?`${e.name}="${Ce(e.value,!0)}"`:e.name)).join(" ")}`:""}`,o&&!s?(t+="/>",t):(t+=">",e[qr]&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${_o(e[Xr])}</template>`}(e[qr])),t+=_o(e[Xr]),function(e,t){return t===se&&ae.has(e.toLowerCase())}(n,r)&&!s||(t+=`</${n}>`),t)}const Ro={[zr]:to.Element,tagName:"fake-root-element",[Kr]:se,[Yr]:null,[qr]:null,[Xr]:[],[Zr]:[],[eo]:new Map};s(Pt),f(Pt.prototype),exports.LightningElement=Pt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){return It(e,so)},exports.createElement=function(){throw new Error("createElement is not supported in @lwc/engine-server, only @lwc/engine-dom.")},exports.freezeTemplate=function(e){lwcRuntimeFlags.ENABLE_FROZEN_TEMPLATE?(s(e),H(e.stylesheets)||Gr(e.stylesheets)):function(e){o(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return H(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=H(e)?void 0:e.shadowAttribute}})}(e)},exports.getComponentDef=function(e){const t=hn(e),{ctor:n,name:r,props:o,propsConfig:s,methods:i}=t,l={};for(const e in o)l[e]={config:s[e]||0,type:"any",attr:be(e)};const c={};for(const e in i)c[e]=i[e].value;return{ctor:n,name:r,props:l,methods:c}},exports.isComponentConstructor=fn,exports.parseFragment=ir,exports.parseSVGFragment=ir,exports.readonly=function(e){return Nt(e)},exports.register=function(e){for(let t=0;t<Er.length;++t){const n=Er[t];if(n in e){let t=vr[n];H(t)&&(vr[n]=t=[]),k.call(t,e[n])}}},exports.registerComponent=function(e,t){return G(e)&&mr.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:s,publicMethods:l,wire:c,track:a,fields:u}=t,d=n(null),f=n(null),h=n(null),p=n(null),m=n(null),g=n(null);let w;if(!H(s))for(const e in s){const t=s[e];if(g[e]=t.config,w=i(r,e),t.config>0){if(H(w))throw new Error;w=Kt(0,w)}else w=H(w)||H(w.get)?Ut(e):Kt(0,w);f[e]=w,o(r,e,w)}if(H(l)||R.call(l,(e=>{if(w=i(r,e),H(w))throw new Error;d[e]=w})),!H(c))for(const e in c){const{adapter:t,method:n,config:s,dynamic:l=[]}=c[e];if(w=i(r,e),1===n){if(H(w))throw new Error;h[e]=w,jt(w,t,s,l)}else w=Yt(e),p[e]=w,Gt(w,t,s,l),o(r,e,w)}if(!H(a))for(const e in a)w=i(r,e),w=zt(e),o(r,e,w);if(!H(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=i(r,t);const n=!H(s)&&t in s,o=!H(a)&&t in a;n||o||(m[t]=Lt(t))}return function(e,t){qt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},exports.registerTemplate=function(e){return Zt.add(e),e},exports.renderComponent=function(e,t,n={}){if(!U(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!G(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||B(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=Oo.createElement(e);_r(r,t,Oo,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r[Yr]=Ro,Ar(r),Po(r)},exports.renderer=Oo,exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(H(Se[e])){const n=d(Se).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=ke[e];if(!H(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}".`);o(ke,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)}},exports.setFeatureFlagForTest=function(e,t){},exports.setHooks=function(t){var n;e.isFalse(jr,"Hooks are already overridden, only one definition is allowed."),jr=!0,n=t.sanitizeHtmlContent,er=n},exports.track=function(e){if(1===arguments.length)return e;throw new Error},exports.unwrap=function(e){return e},exports.wire=function(e,t){throw new Error};
|
|
1
|
+
"use strict";var e=Object.freeze({__proto__:null,fail:function(e){throw new Error(e)},invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)}});const{assign:t,create:n,defineProperties:r,defineProperty:o,freeze:s,getOwnPropertyDescriptor:i,getOwnPropertyNames:l,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:d,seal:f,setPrototypeOf:h}=Object,{isArray:p}=Array,{concat:m,copyWithin:g,fill:w,filter:y,find:b,indexOf:v,join:E,map:C,pop:S,push:k,reduce:M,reverse:x,shift:T,slice:A,some:N,sort:O,splice:_,unshift:P,forEach:R}=Array.prototype,{fromCharCode:$}=String,{charCodeAt:L,replace:D,split:F,slice:I,toLowerCase:W}=String.prototype;function H(e){return void 0===e}function B(e){return null===e}function V(e){return!0===e}function j(e){return!1===e}function G(e){return"function"==typeof e}function U(e){return"string"==typeof e}function K(){}const z={}.toString;function Y(e){return e&&e.toString?p(e)?E.call(C.call(e,Y),","):e.toString():"object"==typeof e?z.call(e):e+""}function q(e,t){do{const n=i(e,t);if(!H(n))return n;e=a(e)}while(null!==e)}const X=["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:Z,AriaPropNameToAttrNameMap:Q}=(()=>{const e=n(null),t=n(null);return R.call(X,(n=>{const r=W.call(D.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function J(e){return e in Z}const ee="object"==typeof globalThis?globalThis:window,te="$shadowResolver$",ne="$shadowStaticNode$",re="$$lwc-synthetic-mode",oe="$scoped$",se="http://www.w3.org/1999/xhtml",ie="http://www.w3.org/XML/1998/namespace",le="http://www.w3.org/2000/svg",ae="http://www.w3.org/1999/xlink",ce=new Set(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr","param","keygen","menuitem"]);const ue=/-([a-z])/g,de=new Map([["autofocus",new Set(["button","input","keygen","select","textarea"])],["autoplay",new Set(["audio","video"])],["checked",new Set(["command","input"])],["disabled",new Set(["button","command","fieldset","input","keygen","optgroup","select","textarea"])],["formnovalidate",new Set(["button"])],["hidden",new Set],["loop",new Set(["audio","bgsound","marquee","video"])],["multiple",new Set(["input","select"])],["muted",new Set(["audio","video"])],["novalidate",new Set(["form"])],["open",new Set(["details"])],["readonly",new Set(["input","textarea"])],["required",new Set(["input","select","textarea"])],["reversed",new Set(["ol"])],["selected",new Set(["option"])]]);function fe(e,t){const n=de.get(e);return void 0!==n&&(0===n.size||n.has(t))}const he=new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","contextmenu","dir","draggable","enterkeyhint","exportparts","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","part","slot","spellcheck","style","tabindex","title","translate"]);function pe(e){return he.has(e)}const{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:me,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:ge}=(()=>{const e=new Map([["accessKey","accesskey"],["readOnly","readonly"],["tabIndex","tabindex"],["bgColor","bgcolor"],["colSpan","colspan"],["rowSpan","rowspan"],["contentEditable","contenteditable"],["crossOrigin","crossorigin"],["dateTime","datetime"],["formAction","formaction"],["isMap","ismap"],["maxLength","maxlength"],["minLength","minlength"],["noValidate","novalidate"],["useMap","usemap"],["htmlFor","for"]]),t=new Map;return e.forEach(((e,n)=>t.set(e,n))),{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:t,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:e}})(),we=new Map,ye=new Map;function be(e){const t=Q[e];if(!H(t))return t;const n=ge.get(e);if(!H(n))return n;const r=we.get(e);if(!H(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=L.call(e,t);o+=n>=65&&n<=90?"-"+$(n+32):$(n)}return we.set(e,o),o}function ve(e){const t=Z[e];if(!H(t))return t;const n=me.get(e);if(!H(n))return n;const r=ye.get(e);if(!H(r))return r;const o=D.call(e,ue,(e=>e[1].toUpperCase()));return ye.set(e,o),o}const Ee={'"':""","'":"'","<":"<",">":">","&":"&"};function Ce(e,t=!1){const n=t?/["&]/g:/["'<>&]/g;return e.replace(n,(e=>Ee[e]))}const Se={DUMMY_TEST_FLAG:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_WIRE_SYNC_EMIT:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_FROZEN_TEMPLATE:null,DISABLE_ARIA_REFLECTION_POLYFILL:null};ee.lwcRuntimeFlags||Object.defineProperty(ee,"lwcRuntimeFlags",{value:n(null)});const ke=ee.lwcRuntimeFlags;if("function"!=typeof Event){class e{}o(ee,"Event",{value:e,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class e extends Event{}o(ee,"CustomEvent",{value:e,configurable:!0,writable:!0})}function Me(e,t){return H(i(t,e))}function xe(e,t){const n=function(e){return{get(){return this.hasAttribute(e)?this.getAttribute(e):null},set(t){B(t)?this.removeAttribute(e):this.setAttribute(e,t)},configurable:!0,enumerable:!0}}(Q[e]);o(t,e,n)}function Te(e){return`<${W.call(e.tagName)}>`}function Ae(e,t){if(!u(t)&&H(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!B(n);)k.call(t,Te(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}const Ne=new Set;function Oe(e,t,n,r){let o=`[LWC ${e}]: ${t}`;if(H(n)||(o=`${o}\n${function(e){const t=[];let n="";for(;!B(e.owner);)k.call(t,n+Te(e)),e=e.owner,n+="\t";return E.call(t,"\n")}(n)}`),r){if(Ne.has(o))return;Ne.add(o)}try{throw new Error(o)}catch(t){console[e](t)}}function _e(e,t){Oe("error",e,t,!1)}const Pe=new WeakMap;const Re={observe(e){e()},reset(){},link(){}};function $e(e){return Re}const Le=32,De=f(n(null)),Fe=f([]);function Ie(e){const t=[];for(const n of e)p(n)?t.push(...Ie(n)):t.push(n);return t}function We(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}function He(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Be(e){return G(e)&&c.call(e,"__circular__")}const Ve="undefined"!=typeof HTMLElement?HTMLElement:function(){},je=Ve.prototype;let Ge,Ue=null;function Ke(e,t){Ue=null,Ge=void 0}function ze(e,t){Ue=e,Ge=t}const Ye=n(null);function qe(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n)}R.call(d(Q),(e=>{const t=q(je,e);H(t)||(Ye[e]=t)})),R.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=q(je,e);H(t)||(Ye[e]=t)}));const{isArray:Xe}=Array,{prototype:Ze,getPrototypeOf:Qe,create:Je,defineProperty:et,isExtensible:tt,getOwnPropertyDescriptor:nt,getOwnPropertyNames:rt,getOwnPropertySymbols:ot,preventExtensions:st,hasOwnProperty:it}=Object,{push:lt,concat:at}=Array.prototype;function ct(e){return void 0===e}function ut(e){return"function"==typeof e}const dt=new WeakMap;function ft(e,t){dt.set(e,t)}const ht=e=>dt.get(e)||e;class pt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(it.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;ct(n)||(e.get=this.wrapGetter(n)),ct(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=nt(n,t);if(!ct(r)){const n=this.wrapDescriptor(r);et(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;at.call(rt(t),ot(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;ct(n)||it.call(e,n)||et(e,n,Je(null)),st(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=ct(n)||it.call(t,n)?[]:[n];return lt.apply(r,rt(t)),lt.apply(r,ot(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!tt(e)&&(!!tt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Qe(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let s=nt(n,t);if(ct(s)){if(t!==o)return;return s={value:void 0,writable:!1,configurable:!1,enumerable:!1},et(e,o,s),s}return!1===s.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(s)}}const mt=new WeakMap,gt=new WeakMap,wt=new WeakMap,yt=new WeakMap;class bt extends pt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=mt.get(e);if(!ct(t))return t;const n=this,r=function(){return n.wrapValue(e.call(ht(this)))};return mt.set(e,r),wt.set(r,e),r}wrapSetter(e){const t=gt.get(e);if(!ct(t))return t;const n=function(t){e.call(ht(this),ht(t))};return gt.set(e,n),yt.set(n,e),n}unwrapDescriptor(e){if(it.call(e,"value"))e.value=ht(e.value);else{const{set:t,get:n}=e;ct(n)||(e.get=this.unwrapGetter(n)),ct(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=wt.get(e);if(!ct(t))return t;const n=this,r=function(){return ht(e.call(n.wrapValue(this)))};return mt.set(r,e),wt.set(e,r),r}unwrapSetter(e){const t=yt.get(e);if(!ct(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return gt.set(r,e),yt.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&&Xe(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(tt(e)){const{originalTarget:t}=this;if(st(t),tt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:s}}=this;return t===s&&!it.call(r,t)||(et(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const vt=new WeakMap,Et=new WeakMap;class Ct extends pt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=vt.get(e);if(!ct(t))return t;const n=this,r=function(){return n.wrapValue(e.call(ht(this)))};return vt.set(e,r),r}wrapSetter(e){const t=Et.get(e);if(!ct(t))return t;const n=function(e){};return Et.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 St(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(Xe(e))return!0;const t=Qe(e);return t===Ze||null===t||null===Qe(t)}const kt=(e,t)=>{},Mt=(e,t)=>{};function xt(e){return Xe(e)?[]:{}}const Tt=Symbol.for("@@lockerLiveValue"),At=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=ut(t)?t:Mt,this.valueObserved=ut(n)?n:kt,this.valueIsObservable=ut(r)?r:St,this.tagPropertyKey=o}getProxy(e){const t=ht(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=ht(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return ht(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(ct(t)){const n=new bt(this,e);t=new Proxy(xt(e),n),ft(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(ct(t)){const n=new Ct(this,e);t=new Proxy(xt(e),n),ft(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:function(e,t){},valueMutated:function(e,t){const n=Pe.get(e);if(!H(n)){const e=n[t];if(!H(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}},tagPropertyKey:Tt});function Nt(e){return At.getReadOnlyProxy(e)}function Ot(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!G(n))throw new TypeError;if(!G(r))throw new TypeError;return{enumerable:o,configurable:s,get(){const e=Lr(this);if(!pr(e))return n.call(e.elm)},set(t){const n=Lr(this);return qe(n,e,t),r.call(n.elm,t)}}}const _t=new WeakMap,Pt=function(){if(B(hr))throw new TypeError("Illegal constructor");const e=hr,{def:t,elm:n}=e,{bridge:r}=t;if(h(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 $r(this,e),$r(n,e),1===e.renderMode?e.renderRoot=function(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:s}}=e,i=s(t,{[re]:1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=i,$r(i,e),i}(e):e.renderRoot=n,this};Pt.prototype={constructor:Pt,dispatchEvent(e){const t=Lr(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=Lr(this),{elm:o,renderer:{addEventListener:s}}=r;s(o,e,Er(r,t),n)},removeEventListener(e,t,n){const r=Lr(this),{elm:o,renderer:{removeEventListener:s}}=r;s(o,e,Er(r,t),n)},hasAttribute(e){const t=Lr(this),{elm:n,renderer:{getAttribute:r}}=t;return!B(r(n,e))},hasAttributeNS(e,t){const n=Lr(this),{elm:r,renderer:{getAttribute:o}}=n;return!B(o(r,t,e))},removeAttribute(e){const t=Lr(this),{elm:n,renderer:{removeAttribute:r}}=t;ze(n,e),r(n,e),Ke()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=Lr(this);ze(n,t),r(n,t,e),Ke()},getAttribute(e){const t=Lr(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=Lr(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=Lr(this),{elm:r,renderer:{setAttribute:o}}=n;ze(r,e),o(r,e,t),Ke()},setAttributeNS(e,t,n){const r=Lr(this),{elm:o,renderer:{setAttribute:s}}=r;ze(o,t),s(o,t,n,e),Ke()},getBoundingClientRect(){const e=Lr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=Lr(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=Lr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return Lr(this).shadowRoot},get refs(){const e=Lr(this);if(or)return;const{refVNodes:t,cmpTemplate:r}=e;if(B(t))return;let o=_t.get(t);if(H(o)){o=n(null);for(const e of d(t))o[e]=t[e].elm;s(o),_t.set(t,o)}return o},set refs(e){o(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=Lr(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=Lr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=Lr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=Lr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=Lr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=Lr(this);return e.renderer.getLastElementChild(e.elm)},get ownerDocument(){const e=Lr(this);return e.renderer.ownerDocument(e.elm)},render(){return Lr(this).def.template},toString(){return`[object ${Lr(this).def.name}]`}};const Rt=n(null),$t=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of $t)Rt[e]={value(t){const n=Lr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};r(Pt.prototype,Rt);const Lt=n(null);for(const e in Ye)Lt[e]=Ot(e,Ye[e]);function Dt(e){return{get(){return Lr(this).cmpFields[e]},set(t){qe(Lr(this),e,t)},enumerable:!0,configurable:!0}}r(Pt.prototype,Lt),function(e=Element.prototype){const t=d(Q);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];Me(r,e)&&xe(r,e)}}(Pt.prototype),o(Pt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const Ft=new Map;function It(e,t){let n=Ft.get(e);if(!H(n))throw new Error("Adapter already has a context provider.");n=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),Ft.set(e,n);const r=new WeakSet;return(e,o)=>{if(r.has(e))throw new Error(`Adapter was already installed on ${e}.`);r.add(e);const{consumerConnectedCallback:s,consumerDisconnectedCallback:i}=o;t(e,n,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{H(i)||i(r)})),s(r)}))}}const Wt="$$DeprecatedWiredElementHostKey$$",Ht="$$DeprecatedWiredParamsMetaKey$$",Bt=new Map;function Vt(e,t,n){const{method:r,adapter:s,configCallback:i,dynamic:l}=n;const a=H(r)?function(e,t){return n=>{qe(e,t,n)}}(e,t):function(e,t){return n=>{Gr(e,e.owner,K,(()=>{t.call(e.component,n)}),K)}}(e,r),c=e=>{a(e)};let u,d;o(c,Wt,{value:e.elm}),o(c,Ht,{value:l}),Gr(e,e,K,(()=>{d=new s(c)}),K);const{computeConfigAndUpdate:f,ro:h}=function(e,t,n){const r=$e();return{computeConfigAndUpdate:()=>{let o;r.observe((()=>o=t(e))),n(o)},ro:r}}(e.component,i,(t=>{Gr(e,e,K,(()=>{d.update(t,u)}),K)}));return H(s.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Ft.get(r);if(H(o))return;const{elm:s,context:{wiredConnecting:i,wiredDisconnecting:l},renderer:{registerContextConsumer:a}}=e;k.call(i,(()=>{a(s,o,{setNewContext(e){n(e)},setDisconnectedCallback(e){k.call(l,e)}})}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>h.reset()}}function jt(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Bt.set(e,o)}function Gt(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Bt.set(e,o)}function Ut(e){return{get(){const t=Lr(this);if(!pr(t))return t.cmpProps[e]},set(t){Lr(this).cmpProps[e]=t},enumerable:!0,configurable:!0}}function Kt(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!G(n))throw new Error;return{get(){return n.call(this)},set(e){Lr(this),r&&r.call(this,e)},enumerable:o,configurable:s}}function zt(e){return{get(){return Lr(this).cmpFields[e]},set(t){qe(Lr(this),e,t)},enumerable:!0,configurable:!0}}function Yt(e){return{get(){return Lr(this).cmpFields[e]},set(t){qe(Lr(this),e,t)},enumerable:!0,configurable:!0}}const qt=new Map;const Xt={apiMethods:De,apiFields:De,apiFieldsConfig:De,wiredMethods:De,wiredFields:De,observedFields:De};const Zt=new Set;function Qt(){return[]}Zt.add(Qt);const Jt=n(null),en=n(null);function tn(e){let t=Jt[e];return H(t)&&(t=Jt[e]=function(){const t=Lr(this),{getHook:n}=t;return n(t.component,e)}),t}function nn(e){let t=en[e];return H(t)&&(t=en[e]=function(t){const n=Lr(this),{setHook:r}=n;t=Nt(t),r(n.component,e,t)}),t}function rn(e){return function(){const t=Lr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,A.call(arguments))}}function on(e,t){return function(n,r,o){if(r===o)return;const s=e[n];H(s)?H(t)||t.apply(this,arguments):function(e,t){return e!==Ue||t!==Ge}(this,n)&&(this[s]=o)}}function sn(e,t,s){let i;G(e)?i=class extends e{}:(i=function(){throw new TypeError("Illegal constructor")},h(i,e),h(i.prototype,e.prototype),o(i.prototype,"constructor",{writable:!0,configurable:!0,value:i}));const l=n(null),{attributeChangedCallback:a}=e.prototype,{observedAttributes:c=[]}=e,u=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[be(n)]=n,u[n]={get:tn(n),set:nn(n),enumerable:!0,configurable:!0}}for(let e=0,t=s.length;e<t;e+=1){const t=s[e];u[t]={value:rn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:on(l,a)},o(i,"observedAttributes",{get:()=>[...c,...d(l)]}),r(i.prototype,u),i}const ln=sn(Ve,l(Ye),[]);s(ln),f(ln.prototype);const an="function"==typeof WeakRef&&"function"==typeof FinalizationRegistry;const cn=an?class{constructor(){this._map=new WeakMap,this._registry=new FinalizationRegistry((e=>{for(let t=e.length-1;t>=0;t--){H(e[t].deref())&&_.call(e,t,1)}}))}_getWeakRefs(e){let t=this._map.get(e);return H(t)&&(t=[],this._map.set(e,t)),t}get(e){const t=this._getWeakRefs(e),n=new Set;for(const e of t){const t=e.deref();H(t)||n.add(t)}return n}add(e,t){const n=this._getWeakRefs(e);k.call(n,new WeakRef(t)),this._registry.register(t,n)}delete(e){this._map.delete(e)}}:class{constructor(){this._map=new WeakMap}_getValues(e){let t=this._map.get(e);return H(t)&&(t=new Set,this._map.set(e,t)),t}get(e){return this._getValues(e)}add(e,t){this._getValues(e).add(t)}delete(e){this._map.delete(e)}};new WeakMap,new cn,new cn,new cn;const un=new WeakMap;function dn(e){const{shadowSupportMode:o,renderMode:s}=e,i=function(e){const t=qt.get(e);return H(t)?Xt:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:f,wiredMethods:h,observedFields:p}=i,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=a(e);if(B(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(Be(t)){const e=He(t);t=e===t?Pt:e}return t}(e),C=E!==Pt?hn(E):pn,S=sn(C.bridge,d(l),d(u)),k=t(n(null),C.props,l),M=t(n(null),C.propsConfig,c),x=t(n(null),C.methods,u),T=t(n(null),C.wire,f,h);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let A=C.shadowSupportMode;H(o)||(A=o);let N=C.renderMode;H(s)||(N="light"===s?0:1);const O=function(e){var t;return null===(t=wr.get(e))||void 0===t?void 0:t.tmpl}(e)||C.template,_=e.name||C.name;r(m,p);return{ctor:e,name:_,wire:T,props:k,propsConfig:M,methods:x,bridge:S,template:O,renderMode:N,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function fn(e){if(!G(e))return!1;if(e.prototype instanceof Pt)return!0;let t=e;do{if(Be(t)){const e=He(t);if(e===t)return!0;t=e}if(t===Pt)return!0}while(!B(t)&&(t=a(t)));return!1}function hn(e){let t=un.get(e);if(H(t)){if(Be(e)){return t=hn(He(e)),un.set(e,t),t}if(!fn(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=dn(e),un.set(e,t)}return t}const pn={ctor:Pt,name:Pt.name,props:Lt,propsConfig:De,methods:De,renderMode:1,shadowSupportMode:"reset",wire:De,bridge:ln,template:Qt,render:Pt.prototype.render};function mn(e){return`${e}-host`}function gn(e){return rr.h("style",{key:"style",attrs:{type:"text/css"}},[rr.t(e)])}function wn(e,t,n){const r=[];let o;for(let s=0;s<e.length;s++){let i=e[s];if(p(i))k.apply(r,wn(i,t,n));else{vn(i)||n.tagName.toLowerCase();const e=i[oe];if(lwcRuntimeFlags.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){_e("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const s=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let a;1===n.renderMode?a=0===n.shadowMode:(H(o)&&(o=yn(n)),a=B(o)||0===o.shadowMode),k.call(r,i(s,l,a))}}return r}function yn(e){let t=e;for(;!B(t);){if(1===t.renderMode)return t;t=t.owner}return t}const bn=new Set;function vn(e){return bn.has(e)}function En(e){const{type:t}=e;return 2===t||3===t}function Cn(e,t){return e.key===t.key&&e.sel===t.sel}function Sn(e){return 5===e.type}function kn(e){return 6===e.type}const Mn=58;const xn=58;function Tn(e,t){return"input"===e&&("value"===t||"checked"===t)}const An=n(null);function Nn(e){if(null==e)return De;e=U(e)?e:e+"";let t=An[e];if(t)return t;t=n(null);let r,o=0;const s=e.length;for(r=0;r<s;r++)L.call(e,r)===Le&&(r>o&&(t[I.call(e,o,r)]=!0),o=r+1);return r>o&&(t[I.call(e,o,r)]=!0),An[e]=t,t}function On(e,t,n,r){zn(t)?qn(e,t,n,r):Xn(e,t,n,r)}function _n(e,t,n,r){var o,s;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&Wn(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:s}=t;s?Xn(e.children,o,n,r):qn(e.children,o,n,r);t.elm=t.leading.elm}(e,t,n,r);break;case 2:!function(e,t,n){const r=t.elm=e.elm;Vn(e,t,n),On(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);Ln(e,n,r,!0),Rn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;if(Vn(e,t,r),!H(o)){Gn(t,o);const{shadowMode:n,renderMode:r}=o;0==n&&0!==r&&zn(e.children)&&Kn(t.children)}On(e.children,t.children,n,r),H(o)||function(e){Fr(e)}(o)}}(e,t,n,null!==(s=t.data.renderer)&&void 0!==s?s:r)}}function Pn(e,t,n,r){var o,s;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:s}=r,i=e.elm=s(e.text);In(i,o,r),Bn(i,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:s}=r,i=e.elm=s(e.text);In(i,o,r),Bn(i,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:s,isSyntheticShadowDefined:i}=r,l=e.elm=s(e.fragment,!0);In(l,o,r);const{renderMode:a,shadowMode:c}=o;i&&(1!==c&&0!==a||(l[ne]=!0));Bn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;$n(o,t,r,n),e.elm=e.leading.elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:s,data:{svg:i}}=e,{createElement:l}=r,a=V(i)?le:void 0,c=e.elm=l(o,a);In(c,s,r),jn(c,s,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(c,e),Vn(null,e,r),Bn(c,t,n,r),$n(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:Rn(e,t,r,null!==(s=e.data.renderer)&&void 0!==s?s:n)}}function Rn(e,t,n,r){const{sel:o,owner:s}=e,{createCustomElement:i}=r;let l;let a,c;lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(a=e=>{Or(e)},c=e=>{_r(e)});const u=i(o.toLowerCase(),(t=>{l=function(e,t,n){let r=Dr(e);if(!H(r))return r;const{sel:o,mode:s,ctor:i,owner:l}=t;return r=Rr(e,i,n,{mode:s,owner:l,tagName:o}),r}(t,e,r)}),a,c);e.elm=u,e.vm=l,In(u,s,r),jn(u,s,r),l&&Gn(e,l),Vn(null,e,r),Bn(u,t,n,r),l&&Ir(l),$n(e.children,u,r,null),l&&function(e){Fr(e)}(l)}function $n(e,t,n,r,o=0,s=e.length){for(;o<s;++o){const s=e[o];Fn(s)&&Pn(s,t,n,r)}}function Ln(e,t,n,r=!1){const{type:o,elm:s,sel:i}=e;switch(r&&(5===o?Dn(e.children,t,n,r):function(e,t,n){n.remove(e,t)}(s,t,n)),o){case 2:{const t="slot"===i&&1===e.owner.shadowMode;Dn(e.children,s,n,t);break}case 3:{const{vm:t}=e;H(t)||function(e){Pr(e)}(t)}}}function Dn(e,t,n,r=!1,o=0,s=e.length){for(;o<s;++o){const s=e[o];Fn(s)&&Ln(s,t,n,r)}}function Fn(e){return null!=e}function In(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:s}=t,{isSyntheticShadowDefined:i}=n;i&&(1!==s&&0!==o||(e[te]=r[te]))}function Wn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function Hn(e,t,n,r){if(Sn(e)){const o=e.children;for(let e=0;e<o.length;e+=1){const s=o[e];B(s)||r.insert(s.elm,t,n)}}else r.insert(e.elm,t,n)}function Bn(e,t,n,r){r.insert(e,t,n)}function Vn(e,n,r){B(e)&&(function(e,t){const{elm:n,data:{on:r}}=e;if(H(r))return;const{addEventListener:o}=t;for(const e in r)o(n,e,r[e])}(n,r),function(e,t){const{elm:n,data:{classMap:r}}=e;if(H(r))return;const{getClassList:o}=t,s=o(n);for(const e in r)s.add(e)}(n,r),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(H(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,s,i]=r[e];o(n,t,s,i)}}(n,r)),function(e,t,n){const{elm:r,data:{className:o}}=t,s=B(e)?void 0:e.data.className;if(s===o)return;const{getClassList:i}=n,l=i(r),a=Nn(o),c=Nn(s);let u;for(u in c)H(a[u])&&l.remove(u);for(u in a)H(c[u])&&l.add(u)}(e,n,r),function(e,t,n){const{elm:r,data:{style:o}}=t;if((B(e)?void 0:e.data.style)===o)return;const{setAttribute:s,removeAttribute:i}=n;U(o)&&""!==o?s(r,"style",o):i(r,"style")}(e,n,r),n.data.external?function(e,t,n){const{data:{attrs:r},elm:o}=t;if(H(r))return;const{removeAttribute:s,setAttribute:i,setProperty:l}=n,a=B(e)?De:e.data.attrs;for(const e in r){const t=r[e];a[e]!==t&&(ve(e)in o?l(o,e,t):L.call(e,3)===xn?i(o,e,t,ie):L.call(e,5)===xn?i(o,e,t,ae):B(t)||H(t)?s(o,e):i(o,e,t))}}(e,n,r):function(e,t,n){const{attrs:r}=t.data;if(H(r))return;const o=B(e)?De:e.data.attrs;if(o===r)return;const{elm:s}=t,{setAttribute:i,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(ze(s,e),L.call(e,3)===Mn?i(s,e,t,ie):L.call(e,5)===Mn?i(s,e,t,ae):B(t)||H(t)?l(s,e):i(s,e,t),Ke())}}(e,n,r),function(e,n,r){let{props:o}=n.data;const{spread:s}=n.data;if(H(o)&&H(s))return;let i;if(!B(e)){i=e.data.props;const n=e.data.spread;if(i===o&&n===s)return;H(i)&&(i=De),H(n)||(i=t({},i,n))}H(s)||(o=t({},o,s));const l=B(e),{elm:a,sel:c}=n,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(Tn(c,e)?u(a,e):i[e])&&e in i||d(a,e,t)}}(e,n,r)}function jn(e,t,n){const r=function(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}(t);if(!B(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||H(o)||(e.$shadowToken$=o)}function Gn(e,t){const r=e.aChildren||e.children,{renderMode:o,shadowMode:s}=t,i=function(e){const t=[],n=[];let r,o=!1;for(let t=e.length-1;t>-1;t-=1){const r=e[t];k.call(n,r),o=o||!(!r||!Sn(r))}if(!o)return e;for(;!H(r=S.call(n));)if(!B(r)&&Sn(r)){const e=r.children;for(let t=e.length-2;t>0;t-=1)k.call(n,e[t])}else k.call(t,r);return Kn(t),t}(r);e.children=i,t.aChildren=i,1!==s&&0!==o||(!function(e,t,r){var o,s;const{cmpSlots:{slotAssignments:i}}=e,l=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(B(n))continue;let r="";En(n)?r=null!==(s=null===(o=n.data.attrs)||void 0===o?void 0:o.slot)&&void 0!==s?s:"":kn(n)&&(r=n.slotName);const i=""+r,a=l[i]=l[i]||[];k.call(a,n)}if(e.cmpSlots={owner:r,slotAssignments:l},j(e.isDirty)){const t=d(i);if(t.length!==d(l).length)return void br(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(H(l[r])||i[r].length!==l[r].length)return void br(e);const o=i[r],s=l[r];for(let t=0,n=l[r].length;t<n;t+=1)if(o[t]!==s[t])return void br(e)}}}(t,i,e.owner),e.aChildren=i,e.children=Fe)}const Un=new WeakMap;function Kn(e){Un.set(e,1)}function zn(e){return Un.has(e)}function Yn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Fn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function qn(e,t,n,r){let o=0,s=0,i=e.length-1,l=e[0],a=e[i];const c=t.length-1;let u,d,f,h,p=c,m=t[0],g=t[p],w=!1;for(;o<=i&&s<=p;)if(Fn(l))if(Fn(a))if(Fn(m))if(Fn(g))if(Cn(l,m))_n(l,m,n,r),l=e[++o],m=t[++s];else if(Cn(a,g))_n(a,g,n,r),a=e[--i],g=t[--p];else if(Cn(l,g)){let s;_n(l,g,n,r),s=Sn(a)?r.nextSibling(a.trailing.elm):r.nextSibling(a.elm),Hn(l,n,s,r),l=e[++o],g=t[--p]}else Cn(a,m)?(_n(a,m,n,r),Hn(m,n,l.elm,r),a=e[--i],m=t[++s]):(void 0===u&&(u=Yn(e,o,i)),d=u[m.key],H(d)?(Pn(m,n,r,l.elm),m=t[++s]):(f=e[d],Fn(f)&&(f.sel!==m.sel?Pn(m,n,r,l.elm):(_n(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,Hn(f,n,l.elm,r))),m=t[++s]));else g=t[--p];else m=t[++s];else a=e[--i];else l=e[++o];if(o<=i||s<=p)if(o>i){let e,o=p;do{e=t[++o]}while(!Fn(e)&&o<c);h=Fn(e)?e.elm:null,$n(t,n,r,h,s,p+1)}else Dn(e,n,r,!0,o,i+1)}function Xn(e,t,n,r){const o=e.length,s=t.length;if(0===o)return void $n(t,n,r,null);if(0===s)return void Dn(e,n,r,!0);let i=null;for(let o=s-1;o>=0;o-=1){const s=e[o],l=t[o];l!==s&&(Fn(s)?Fn(l)?Cn(s,l)?(_n(s,l,n,r),i=l.elm):(Ln(s,n,r,!0),Pn(l,n,r,i),i=l.elm):Ln(s,n,r,!0):Fn(l)&&(Pn(l,n,r,i),i=l.elm))}}const Zn=Symbol.iterator;function Qn(e,t,n=Fe){const r=ir(),{key:o,ref:s}=t,i={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return H(s)||We(r,s,i),i}function Jn(e,t,n,r=Fe){const o=ir(),{key:s,ref:i}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:s,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){k.call(ir().velements,e)}(l),H(i)||We(o,i,l),l}function er(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:ir()}}function tr(e){return Kn(e),e}let nr=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const rr=s({s:function(e,t,n,r){if(!H(r)&&!H(r.slotAssignments)&&!H(r.slotAssignments[e])&&0!==r.slotAssignments[e].length){const o=[],s=r.slotAssignments[e];for(let e=0;e<s.length;e++){const n=s[e];if(!B(n)){const e=kn(n);if(e!==!H(t.slotData))continue;if(e){const e=ir();lr(r.owner);try{k.call(o,n.factory(t.slotData,t.key))}finally{lr(e)}}else k.call(o,n)}}n=o}const o=ir(),{renderMode:s,shadowMode:i}=o;return 0===s?(tr(n),n):(1===i&&tr(n),Qn("slot",t,n))},h:Qn,c:Jn,i:function(e,t){const n=[];if(tr(n),H(e)||null===e)return n;const r=e[Zn]();let o=r.next(),s=0,{value:i,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(i,s,0===s,!0===l);p(e)?k.apply(n,e):k.call(n,e),s+=1,i=o.value}return n},f:function(e){const t=e.length,n=[];tr(n);for(let r=0;r<t;r+=1){const t=e[r];p(t)?k.apply(n,t):k.call(n,t)}return n},t:er,d:function(e){return null==e?"":String(e)},b:function(e){const t=ir();if(B(t))throw new Error;const n=t;return function(t){gr(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:ir()}},dc:function(e,t,n=Fe){if(B(e)||H(e))return null;if(!fn(e))throw new Error(`Invalid constructor ${Y(e)} is not a LightningElement constructor.`);const r=function(e){var t;return null===(t=wr.get(e))||void 0===t?void 0:t.sel}(e);if(H(r)||""===r)throw new Error(`Invalid LWC constructor ${Y(e)} does not have a registered name`);return Jn(r,e,t,n)},fr:function(e,t,n){const r=er(""),o=er("");return{type:5,sel:void 0,key:e,elm:void 0,children:[r,...t,o],stable:n,owner:ir(),leading:r,trailing:o}},ti:function(e){return e>0&&!(V(e)||j(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:ir()}},gid:function(e){const t=ir();if(H(e)||""===e)return e;if(B(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?D.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=ir();if(H(e)||""===e)return e;if(B(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return nr(e)},ssf:function(e,t){return{type:6,factory:t,owner:ir(),elm:void 0,sel:void 0,key:void 0,slotName:e}},ddc:function(e,t,n,r=Fe){if(B(t)||H(t))return null;if(!fn(t))throw new Error(`Invalid LWC Constructor ${Y(t)} for custom element <${e}>.`);return Jn(e,t,n,r)}});let or=!1,sr=null;function ir(){return sr}function lr(e){sr=e}const ar=(cr=(e,t)=>{const{createFragment:n}=t;return n(e)},(e,...t)=>{const r=n(null);return function(){const{context:{hasScopedStyles:n,stylesheetToken:o},shadowMode:s,renderer:i}=ir(),l=!H(o),a=1===s;let c=0;if(l&&n&&(c|=1),l&&a&&(c|=2),!H(r[c]))return r[c];const u=n&&l?" "+o:"",d=n&&l?` class="${o}"`:"",f=l&&a?" "+o:"";let h="";for(let n=0,r=t.length;n<r;n++)switch(t[n]){case 0:h+=e[n]+u;break;case 1:h+=e[n]+d;break;case 2:h+=e[n]+f;break;case 3:h+=e[n]+d+f}return h+=e[e.length-1],r[c]=cr(h,i),r[c]}});var cr;function ur(e,t){const r=or,o=sr;let s=[];return Gr(e,e.owner,(()=>{sr=e}),(()=>{const{component:r,context:o,cmpSlots:i,cmpTemplate:l,tro:a}=e;a.observe((()=>{if(t!==l){if(B(l)||Vr(e),a=t,!Zt.has(a))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: ${Y(t)}.`);e.cmpTemplate=t,o.tplCache=n(null),o.hasScopedStyles=function(e,t){const{stylesheets:n}=e,r=H(t)?null:t.stylesheets;return dr(n)||dr(r)}(t,e),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:s,renderer:{getClassList:i,removeAttribute:l,setAttribute:a}}=e,{stylesheets:c,stylesheetToken:u}=t,{stylesheets:d}=e,f=1===o&&1===s,{hasScopedStyles:h}=r;let p,m,g;const{stylesheetToken:w,hasTokenInClass:y,hasTokenInAttribute:b}=r;H(w)||(y&&i(n).remove(mn(w)),b&&l(n,mn(w)));const v=fr(c),E=fr(d);(v||E)&&(p=u),H(p)||(h&&(i(n).add(mn(p)),m=!0),f&&(a(n,mn(p),""),g=!0)),r.stylesheetToken=p,r.hasTokenInClass=m,r.hasTokenInAttribute=g}(e,t);const r=function(e,t){const{stylesheets:n,stylesheetToken:r}=t,{stylesheets:o}=e;let s=[];return fr(n)&&(s=wn(n,r,e)),fr(o)&&k.apply(s,wn(o,r,e)),s}(e,t);o.styleVNodes=0===r.length?null:function(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1!==n||1!==r)return C.call(t,gn);for(let e=0;e<t.length;e++)o(t[e]);return null}(e,r)}var a;e.refVNodes=t.hasRefs?n(null):null,e.velements=[],or=!0,s=t.call(void 0,rr,r,i,o.tplCache);const{styleVNodes:c}=o;B(c)||P.apply(s,c)}))}),(()=>{or=r,sr=o})),s}function dr(e){if(fr(e))for(let t=0;t<e.length;t++)if(V(e[t][oe]))return!0;return!1}function fr(e){return!H(e)&&!B(e)&&e.length>0}let hr=null;function pr(e){return hr===e}function mr(e,t,n){const{component:r,callHook:o,owner:s}=e;Gr(e,s,K,(()=>{o(r,t,n)}),K)}function gr(e,t,n,r){const{callHook:o,owner:s}=e;Gr(e,s,K,(()=>{o(n,t,[r])}),K)}const wr=new Map;function yr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,s=ir();let i,l=!1;return Gr(e,o,(()=>{lr(e)}),(()=>{e.tro.observe((()=>{i=n(r,t),l=!0}))}),(()=>{lr(s)})),l?ur(e,i):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function br(e){e.isDirty=!0}const vr=new WeakMap;function Er(e,t){if(!G(t))throw new TypeError("Expected an EventListener but received "+typeof t);let n=vr.get(t);return H(n)&&(n=function(n){gr(e,t,void 0,n)},vr.set(t,n)),n}const Cr=n(null),Sr=["rendered","connected","disconnected"];function kr(e,t){const{component:n,def:r,context:o}=e;for(let e=0,s=t.length;e<s;++e)t[e].call(void 0,n,{},r,o)}let Mr=0;const xr=new WeakMap;function Tr(e,t,n=[]){return t.apply(e,n)}function Ar(e,t,n){e[t]=n}function Nr(e,t){return e[t]}function Or(e){const t=Lr(e);1===t.state&&_r(e),Ir(t),Fr(t)}function _r(e){Pr(Lr(e))}function Pr(e){const{state:t}=e;if(2!==t){const{tro:t}=e;t.reset(),function(e){j(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Cr;t&&kr(e,t);Wr(e)&&function(e){const{wiredDisconnecting:t}=e.context;Gr(e,e,K,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),K)}(e);const{disconnectedCallback:n}=e.def;H(n)||mr(e,n)}(e),Hr(e),function(e){const{aChildren:t}=e;Br(t)}(e)}}function Rr(e,t,r,o){const{mode:s,owner:i,tagName:l,hydrated:a}=o,c=hn(t),u={elm:e,def:c,idx:Mr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:s,owner:i,refVNodes:null,children:Fe,aChildren:Fe,velements:Fe,cmpProps:n(null),cmpFields:n(null),cmpSlots:{slotAssignments:n(null)},cmpTemplate:null,hydrated:Boolean(a),renderMode:c.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:De,wiredConnecting:Fe,wiredDisconnecting:Fe},tro:null,shadowMode:null,stylesheets:null,component:null,shadowRoot:null,renderRoot:null,callHook:Tr,setHook:Ar,getHook:Nr,renderer:r};return u.stylesheets=function(e,t){const{stylesheets:n}=t;if(!H(n)){const e=function(e,t){let n=!0;const r=e=>{if(p(e))for(let t=0;t<e.length;t++)r(e[t]);else G(e)||(n=!1)};p(t)?r(t):n=!1;return n}(0,n);if(e)return Ie(n)}return null}(0,c.ctor),u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let s;if(r)if(0===n.renderMode)s=0;else if(o)if(lwcRuntimeFlags.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)s=0;else{const t=function(e){let t=e.owner;for(;!B(t)&&0===t.renderMode;)t=t.owner;return t}(e);s=B(t)||0!==t.shadowMode?1:0}else s=1;else s=1;else s=0;return s}(u,r),u.tro=$e(),function(e,t){const n=hr;let r;hr=e;try{const e=new t;if(hr.component!==e)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(hr=n,!H(r))throw Ae(e,r),r}}(u,c.ctor),Wr(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const s=n[t],i=Bt.get(s);if(!H(i)){const{connector:n,computeConfigAndUpdate:s,resetConfigWatcher:l}=Vt(e,t,i),a=i.dynamic.length>0;k.call(r,(()=>{n.connect(),lwcRuntimeFlags.ENABLE_WIRE_SYNC_EMIT||!a?s():Promise.resolve().then(s)})),k.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function $r(e,t){xr.set(e,t)}function Lr(e){return xr.get(e)}function Dr(e){return xr.get(e)}function Fr(e){if(V(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&Gr(e,e,(()=>{}),(()=>{On(r,t,n,o)}),(()=>{}));e.state}(e,yr(e))}}function Ir(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Cr;n&&kr(e,n),Wr(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;H(r)||mr(e,r)}function Wr(e){return l(e.def.wire).length>0}function Hr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!H(n)){const e=Dr(n);H(e)||Pr(e)}}}function Br(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!B(n)&&!H(n.elm))switch(n.type){case 2:Br(n.children);break;case 3:Pr(Lr(n.elm));break}}}function Vr(e){jr(e.children,e),e.children=Fe,Hr(e),e.velements=Fe}function jr(e,t){const{renderRoot:n,renderer:{remove:r}}=t;for(let o=0,s=e.length;o<s;o+=1){const s=e[o];B(s)||(Sn(s)?jr(s.children,t):H(s.elm)||r(s.elm,n))}}function Gr(e,t,n,r,o){let s;n();try{r()}catch(e){s=Object(e)}finally{if(o(),!H(s)){Ae(e,s);const n=B(t)?void 0:function(e){let t=e;for(;!B(t);){if(!H(t.def.errorCallback))return t;t=t.owner}}(t);if(H(n))throw s;Vr(e);mr(n,n.def.errorCallback,[s,s.wcStack])}}}delete ee.$nativeGetElementById$,delete ee.$nativeQuerySelectorAll$;let Ur=!1;function Kr(e){zr(e,(e=>{s(e)}))}function zr(e,t){t(e);for(let n=0;n<e.length;n++){const r=e[n];p(r)?zr(r,t):t(r)}}const Yr=Symbol("namespace"),qr=Symbol("type"),Xr=Symbol("parent"),Zr=Symbol("shadow-root"),Qr=Symbol("children"),Jr=Symbol("attributes"),eo=Symbol("value"),to=Symbol("host"),no=Symbol("context-providers");var ro;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(ro||(ro={}));const oo=/\s+/g;function so(e){return new Set(e.split(oo).filter((e=>e.length)))}function io(e){return Array.from(e).join(" ")}function lo(e,t,n){const r=Dr(e);H(r)||(e=r.elm);const o=e[no];if(H(o))throw new Error("Unable to register context provider on provided `elm`.");o.set(t,n)}function ao(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function co(e,t){return{[qr]:ro.Element,tagName:e,[Yr]:null!=t?t:se,[Xr]:null,[Zr]:null,[Qr]:[],[Jr]:[],[no]:new Map}}function uo(e,t,n=null){const r=e[Jr].find((e=>e.name===t&&e[Yr]===n));return r?r.value:null}function fo(e,t,n,r=null){const o=e[Jr].find((e=>e.name===t&&e[Yr]===r));H(r)&&(r=null),H(o)?e[Jr].push({name:t,[Yr]:r,value:String(n)}):o.value=n}function ho(e,t,n){e[Jr]=e[Jr].filter((e=>e.name!==t&&e[Yr]!==n))}const po=K,mo=K,go=K,wo=ao("dispatchEvent"),yo=ao("getBoundingClientRect"),bo=ao("querySelector"),vo=ao("querySelectorAll"),Eo=ao("getElementsByTagName"),Co=ao("getElementsByClassName"),So=ao("getChildren"),ko=ao("getChildNodes"),Mo=ao("getFirstChild"),xo=ao("getFirstElementChild"),To=ao("getLastChild"),Ao=ao("getLastElementChild"),No=K,Oo=new Map;function _o(e){let t=Oo.get(e);return H(t)?(t=function(e){return function(t){const n=co(e);return G(t)&&t(n),n}}(e),Oo.set(e,t),t):t}const Po={isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,insert:function(e,t,n){const r=e[Xr];if(null!==r&&r!==t){const t=r[Qr].indexOf(e);r[Qr].splice(t,1)}e[Xr]=t;const o=B(n)?-1:t[Qr].indexOf(n);-1===o?t[Qr].push(e):t[Qr].splice(o,0,e)},remove:function(e,t){const n=t[Qr].indexOf(e);t[Qr].splice(n,1)},cloneNode:function(e){return Object.assign({},e)},createFragment:function(e){return{[qr]:ro.Raw,[Xr]:null,[eo]:e}},createElement:co,createText:function(e){return{[qr]:ro.Text,[eo]:String(e),[Xr]:null}},createComment:function(e){return{[qr]:ro.Comment,[eo]:e,[Xr]:null}},createCustomElement:function(e,t){return new(_o(e))(t)},nextSibling:function(e){const t=e[Xr];if(B(t))return null;const n=t[Qr].indexOf(e);return t[Qr][n+1]||null},attachShadow:function(e,t){return e[Zr]={[qr]:ro.ShadowRoot,[Qr]:[],[to]:e,mode:t.mode,delegatesFocus:!!t.delegatesFocus},e[Zr]},getProperty:function(e,t){var n,r;if(t in e)return e[t];if(e[qr]===ro.Element){const o=be(t);if(fe(o,e.tagName))return null!==(n=uo(e,o))&&void 0!==n&&n;if(pe(o)||J(o))return uo(e,o);if("input"===e.tagName&&"value"===t)return null!==(r=uo(e,"value"))&&void 0!==r?r:""}},setProperty:function(e,t,n){if(t in e)return e[t]=n;if(e[qr]===ro.Element){const r=be(t);if("innerHTML"===t)return void(e[Qr]=[{[qr]:ro.Raw,[Xr]:e,[eo]:n}]);if(fe(r,e.tagName))return!0===n?fo(e,r,""):ho(e,r);if(pe(r)||J(r))return fo(e,r,n);if("input"===e.tagName&&"value"===r)return B(n)||H(n)?ho(e,"value"):fo(e,"value",n)}},setText:function(e,t){e[qr]===ro.Text?e[eo]=t:e[qr]===ro.Element&&(e[Qr]=[{[qr]:ro.Text,[Xr]:e,[eo]:t}])},getAttribute:uo,setAttribute:fo,removeAttribute:ho,addEventListener:mo,removeEventListener:go,dispatchEvent:wo,getClassList:function(e){function t(){let t=e[Jr].find((e=>"class"===e.name&&B(e[Yr])));return H(t)&&(t={name:"class",[Yr]:null,value:""},e[Jr].push(t)),t}return{add(...e){const n=t(),r=so(n.value);e.forEach((e=>r.add(e))),n.value=io(r)},remove(...e){const n=t(),r=so(n.value);e.forEach((e=>r.delete(e))),n.value=io(r)}}},setCSSStyleProperty:function(e,t,n,r){const o=e[Jr].find((e=>"style"===e.name&&B(e[Yr]))),s=`${t}: ${n}${r?" !important":""}`;H(o)?e[Jr].push({name:"style",[Yr]:null,value:s}):o.value+=`; ${s}`},getBoundingClientRect:yo,querySelector:bo,querySelectorAll:vo,getElementsByTagName:Eo,getElementsByClassName:Co,getChildren:So,getChildNodes:ko,getFirstChild:Mo,getFirstElementChild:xo,getLastChild:To,getLastElementChild:Ao,isConnected:function(e){return!B(e[Xr])},insertStylesheet:po,assertInstanceOfHTMLElement:No,ownerDocument:ao("ownerDocument"),registerContextConsumer:function(e,t,n){let r=e;do{if(r[qr]===ro.Element){const e=r[no].get(t);if(!H(e)){e(n);break}}r=r[qr]===ro.Element?r[Xr]:r[to]}while(!B(r))}};function Ro(e){return e.map((e=>{switch(e[qr]){case ro.Text:return""===e[eo]?"":Ce(e[eo]);case ro.Comment:return`\x3c!--${Ce(e[eo])}--\x3e`;case ro.Raw:return e[eo];case ro.Element:return $o(e)}})).join("")}function $o(e){let t="";const n=e.tagName,r=e[Yr],o=r!==se,s=e[Qr].length>0;var i;return t+=`<${n}${e[Jr].length?` ${i=e[Jr],i.map((e=>e.value.length?`${e.name}="${Ce(e.value,!0)}"`:e.name)).join(" ")}`:""}`,o&&!s?(t+="/>",t):(t+=">",e[Zr]&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${Ro(e[Qr])}</template>`}(e[Zr])),t+=Ro(e[Qr]),function(e,t){return t===se&&ce.has(e.toLowerCase())}(n,r)&&!s||(t+=`</${n}>`),t)}const Lo={[qr]:ro.Element,tagName:"fake-root-element",[Yr]:se,[Xr]:null,[Zr]:null,[Qr]:[],[Jr]:[],[no]:new Map};s(Pt),f(Pt.prototype),exports.LightningElement=Pt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){return It(e,lo)},exports.createElement=function(){throw new Error("createElement is not supported in @lwc/engine-server, only @lwc/engine-dom.")},exports.freezeTemplate=function(e){lwcRuntimeFlags.ENABLE_FROZEN_TEMPLATE?(s(e),H(e.stylesheets)||Kr(e.stylesheets)):function(e){o(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return H(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=H(e)?void 0:e.shadowAttribute}})}(e)},exports.getComponentDef=function(e){const t=hn(e),{ctor:n,name:r,props:o,propsConfig:s,methods:i}=t,l={};for(const e in o)l[e]={config:s[e]||0,type:"any",attr:be(e)};const a={};for(const e in i)a[e]=i[e].value;return{ctor:n,name:r,props:l,methods:a}},exports.isComponentConstructor=fn,exports.parseFragment=ar,exports.parseSVGFragment=ar,exports.readonly=function(e){return Nt(e)},exports.register=function(e){for(let t=0;t<Sr.length;++t){const n=Sr[t];if(n in e){let t=Cr[n];H(t)&&(Cr[n]=t=[]),k.call(t,e[n])}}},exports.registerComponent=function(e,t){return G(e)&&wr.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:s,publicMethods:l,wire:a,track:c,fields:u}=t,d=n(null),f=n(null),h=n(null),p=n(null),m=n(null),g=n(null);let w;if(!H(s))for(const e in s){const t=s[e];if(g[e]=t.config,w=i(r,e),t.config>0){if(H(w))throw new Error;w=Kt(0,w)}else w=H(w)||H(w.get)?Ut(e):Kt(0,w);f[e]=w,o(r,e,w)}if(H(l)||R.call(l,(e=>{if(w=i(r,e),H(w))throw new Error;d[e]=w})),!H(a))for(const e in a){const{adapter:t,method:n,config:s,dynamic:l=[]}=a[e];if(w=i(r,e),1===n){if(H(w))throw new Error;h[e]=w,jt(w,t,s,l)}else w=Yt(e),p[e]=w,Gt(w,t,s,l),o(r,e,w)}if(!H(c))for(const e in c)w=i(r,e),w=zt(e),o(r,e,w);if(!H(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=i(r,t);const n=!H(s)&&t in s,o=!H(c)&&t in c;n||o||(m[t]=Dt(t))}return function(e,t){qt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},exports.registerStylesheet=function(e){return bn.add(e),e},exports.registerTemplate=function(e){return Zt.add(e),e},exports.renderComponent=function(e,t,n={}){if(!U(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!G(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||B(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=Po.createElement(e);Rr(r,t,Po,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r[Xr]=Lo,Or(r),$o(r)},exports.renderer=Po,exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(H(Se[e])){const n=d(Se).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=ke[e];if(!H(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}".`);o(ke,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)}},exports.setFeatureFlagForTest=function(e,t){},exports.setHooks=function(t){var n;e.isFalse(Ur,"Hooks are already overridden, only one definition is allowed."),Ur=!0,n=t.sanitizeHtmlContent,nr=n},exports.track=function(e){if(1===arguments.length)return e;throw new Error},exports.unwrap=function(e){return e},exports.wire=function(e,t){throw new Error};
|
|
2
2
|
//# sourceMappingURL=engine-server.min.js.map
|
|
@@ -442,9 +442,9 @@ function htmlEscape(str, attrMode = false) {
|
|
|
442
442
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
443
443
|
*/
|
|
444
444
|
// Increment whenever the LWC template compiler changes
|
|
445
|
-
const LWC_VERSION = "2.
|
|
445
|
+
const LWC_VERSION = "2.43.0";
|
|
446
446
|
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
447
|
-
/** version: 2.
|
|
447
|
+
/** version: 2.43.0 */
|
|
448
448
|
|
|
449
449
|
/**
|
|
450
450
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -522,7 +522,7 @@ function setFeatureFlagForTest(name, value) {
|
|
|
522
522
|
setFeatureFlag(name, value);
|
|
523
523
|
}
|
|
524
524
|
}
|
|
525
|
-
/** version: 2.
|
|
525
|
+
/** version: 2.43.0 */
|
|
526
526
|
|
|
527
527
|
/*
|
|
528
528
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -618,9 +618,16 @@ function applyAriaReflection(prototype = Element.prototype) {
|
|
|
618
618
|
}
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
|
-
/** version: 2.
|
|
621
|
+
/** version: 2.43.0 */
|
|
622
622
|
|
|
623
623
|
/* proxy-compat-disable */
|
|
624
|
+
/**
|
|
625
|
+
* Report to the current dispatcher, if there is one.
|
|
626
|
+
* @param reportingEventId
|
|
627
|
+
* @param payload - data to report
|
|
628
|
+
*/
|
|
629
|
+
function report(reportingEventId, payload) {
|
|
630
|
+
}
|
|
624
631
|
|
|
625
632
|
/*
|
|
626
633
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -3532,6 +3539,15 @@ function evaluateStylesheetsContent(stylesheets, stylesheetToken, vm) {
|
|
|
3532
3539
|
// the stylesheet, while internally, we have a replacement for it.
|
|
3533
3540
|
stylesheet = getStyleOrSwappedStyle(stylesheet);
|
|
3534
3541
|
}
|
|
3542
|
+
// Check that this stylesheet was generated by our compiler
|
|
3543
|
+
if (!isStylesheetRegistered(stylesheet)) {
|
|
3544
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
3545
|
+
logWarnOnce(`TypeError: Unexpected LWC stylesheet content found for component <${vm.tagName.toLowerCase()}>.`);
|
|
3546
|
+
}
|
|
3547
|
+
report("UnexpectedStylesheetContent" /* ReportingEventId.UnexpectedStylesheetContent */, {
|
|
3548
|
+
tagName: vm.tagName.toLowerCase(),
|
|
3549
|
+
});
|
|
3550
|
+
}
|
|
3535
3551
|
const isScopedCss = stylesheet[KEY__SCOPED_CSS];
|
|
3536
3552
|
if (lwcRuntimeFlags.DISABLE_LIGHT_DOM_UNSCOPED_CSS &&
|
|
3537
3553
|
!isScopedCss &&
|
|
@@ -3620,6 +3636,18 @@ function createStylesheet(vm, stylesheets) {
|
|
|
3620
3636
|
}
|
|
3621
3637
|
return null;
|
|
3622
3638
|
}
|
|
3639
|
+
const signedStylesheetSet = new Set();
|
|
3640
|
+
/**
|
|
3641
|
+
* INTERNAL: This function can only be invoked by compiled code. The compiler
|
|
3642
|
+
* will prevent this function from being imported by userland code.
|
|
3643
|
+
*/
|
|
3644
|
+
function registerStylesheet(stylesheet) {
|
|
3645
|
+
signedStylesheetSet.add(stylesheet);
|
|
3646
|
+
return stylesheet;
|
|
3647
|
+
}
|
|
3648
|
+
function isStylesheetRegistered(stylesheet) {
|
|
3649
|
+
return signedStylesheetSet.has(stylesheet);
|
|
3650
|
+
}
|
|
3623
3651
|
|
|
3624
3652
|
/*
|
|
3625
3653
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -5277,18 +5305,12 @@ function getVMBeingRendered() {
|
|
|
5277
5305
|
function setVMBeingRendered(vm) {
|
|
5278
5306
|
vmBeingRendered = vm;
|
|
5279
5307
|
}
|
|
5280
|
-
function validateSlots(vm
|
|
5308
|
+
function validateSlots(vm) {
|
|
5281
5309
|
assertNotProd(); // this method should never leak to prod
|
|
5282
5310
|
const { cmpSlots } = vm;
|
|
5283
|
-
const { slots = EmptyArray } = html;
|
|
5284
5311
|
for (const slotName in cmpSlots.slotAssignments) {
|
|
5285
5312
|
// eslint-disable-next-line @lwc/lwc-internal/no-production-assert
|
|
5286
5313
|
assert.isTrue(isArray$1(cmpSlots.slotAssignments[slotName]), `Slots can only be set to an array, instead received ${toString$1(cmpSlots.slotAssignments[slotName])} for slot "${slotName}" in ${vm}.`);
|
|
5287
|
-
if (slotName !== '' && ArrayIndexOf.call(slots, slotName) === -1) {
|
|
5288
|
-
// TODO [#1297]: this should never really happen because the compiler should always validate
|
|
5289
|
-
// eslint-disable-next-line @lwc/lwc-internal/no-production-assert
|
|
5290
|
-
logError(`Ignoring unknown provided slot name "${slotName}" in ${vm}. Check for a typo on the slot attribute.`, vm);
|
|
5291
|
-
}
|
|
5292
5314
|
}
|
|
5293
5315
|
}
|
|
5294
5316
|
function validateLightDomTemplate(template, vm) {
|
|
@@ -5402,7 +5424,7 @@ function evaluateTemplate(vm, html) {
|
|
|
5402
5424
|
}
|
|
5403
5425
|
if (process.env.NODE_ENV !== 'production') {
|
|
5404
5426
|
// validating slots in every rendering since the allocated content might change over time
|
|
5405
|
-
validateSlots(vm
|
|
5427
|
+
validateSlots(vm);
|
|
5406
5428
|
// add the VM to the list of host VMs that can be re-rendered if html is swapped
|
|
5407
5429
|
setActiveVM(vm);
|
|
5408
5430
|
}
|
|
@@ -6343,7 +6365,7 @@ function readonly(obj) {
|
|
|
6343
6365
|
}
|
|
6344
6366
|
return getReadOnlyProxy(obj);
|
|
6345
6367
|
}
|
|
6346
|
-
/* version: 2.
|
|
6368
|
+
/* version: 2.43.0 */
|
|
6347
6369
|
|
|
6348
6370
|
/*
|
|
6349
6371
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -6878,7 +6900,7 @@ seal(LightningElement.prototype);
|
|
|
6878
6900
|
function createElement() {
|
|
6879
6901
|
throw new Error('createElement is not supported in @lwc/engine-server, only @lwc/engine-dom.');
|
|
6880
6902
|
}
|
|
6881
|
-
/* version: 2.
|
|
6903
|
+
/* version: 2.43.0 */
|
|
6882
6904
|
|
|
6883
|
-
export { LightningElement, api$1 as api, createContextProvider, createElement, freezeTemplate, getComponentDef, isComponentConstructor, parseFragment, parseFragment as parseSVGFragment, readonly, register, registerComponent, registerDecorators, registerTemplate, renderComponent, renderer, sanitizeAttribute, setFeatureFlag, setFeatureFlagForTest, setHooks, track, unwrap, wire };
|
|
6905
|
+
export { LightningElement, api$1 as api, createContextProvider, createElement, freezeTemplate, getComponentDef, isComponentConstructor, parseFragment, parseFragment as parseSVGFragment, readonly, register, registerComponent, registerDecorators, registerStylesheet, registerTemplate, renderComponent, renderer, sanitizeAttribute, setFeatureFlag, setFeatureFlagForTest, setHooks, track, unwrap, wire };
|
|
6884
6906
|
//# sourceMappingURL=engine-server.js.map
|