lwc 2.41.1 → 2.41.2
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 +48 -14
- package/dist/engine-dom/esm/es2017/engine-dom.js.map +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom.js +48 -14
- 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 +40 -12
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js.map +1 -1
- package/dist/engine-dom/iife/es5/engine-dom.js +100 -68
- 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 +92 -66
- package/dist/engine-dom/iife/es5/engine-dom_debug.js.map +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom.js +48 -14
- 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 +40 -12
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js.map +1 -1
- package/dist/engine-dom/umd/es5/engine-dom.js +100 -68
- 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 +92 -66
- package/dist/engine-dom/umd/es5/engine-dom_debug.js.map +1 -1
- package/dist/engine-server/commonjs/es2017/engine-server.js +47 -13
- 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 +47 -13
- 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:_,splice:O,unshift:P,forEach:R}=Array.prototype,{fromCharCode:$}=String,{charCodeAt:L,replace:D,split:F,slice:I,toLowerCase:H}=String.prototype;function W(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(!W(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=H.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",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(!W(t))return t;const n=ge.get(e);if(!W(n))return n;const r=we.get(e);if(!W(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(!W(t))return t;const n=me.get(e);if(!W(n))return n;const r=ye.get(e);if(!W(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,ENABLE_LIGHT_GET_ROOT_NODE_PATCH: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 W(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`<${H.call(e.tagName)}>`}function Ae(e,t){if(!u(t)&&W(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 _e(e,t,n,r){let o=`[LWC ${e}]: ${t}`;if(W(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 Oe(e,t){_e("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 He(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}function We(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);W(t)||(Ye[e]=t)})),R.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=q(je,e);W(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(!W(n)){const e=n[t];if(!W(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 _t(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=Pr(this);if(!dr(e))return n.call(e.elm)},set(t){const n=Pr(this);return qe(n,e,t),r.call(n.elm,t)}}}const Ot=new WeakMap,Pt=function(){if(B(ur))throw new TypeError("Illegal constructor");const e=ur,{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 Or(this,e),Or(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,Or(i,e),i}(e):e.renderRoot=n,this};Pt.prototype={constructor:Pt,dispatchEvent(e){const t=Pr(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=Pr(this),{elm:o,renderer:{addEventListener:s}}=r;s(o,e,yr(r,t),n)},removeEventListener(e,t,n){const r=Pr(this),{elm:o,renderer:{removeEventListener:s}}=r;s(o,e,yr(r,t),n)},hasAttribute(e){const t=Pr(this),{elm:n,renderer:{getAttribute:r}}=t;return!B(r(n,e))},hasAttributeNS(e,t){const n=Pr(this),{elm:r,renderer:{getAttribute:o}}=n;return!B(o(r,t,e))},removeAttribute(e){const t=Pr(this),{elm:n,renderer:{removeAttribute:r}}=t;ze(n,e),r(n,e),Ke()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=Pr(this);ze(n,t),r(n,t,e),Ke()},getAttribute(e){const t=Pr(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=Pr(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=Pr(this),{elm:r,renderer:{setAttribute:o}}=n;ze(r,e),o(r,e,t),Ke()},setAttributeNS(e,t,n){const r=Pr(this),{elm:o,renderer:{setAttribute:s}}=r;ze(o,t),s(o,t,n,e),Ke()},getBoundingClientRect(){const e=Pr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=Pr(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=Pr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return Pr(this).shadowRoot},get refs(){const e=Pr(this);if(tr)return;const{refVNodes:t,cmpTemplate:r}=e;if(B(t))return;let o=Ot.get(t);if(W(o)){o=n(null);for(const e of d(t))o[e]=t[e].elm;s(o),Ot.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=Pr(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=Pr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=Pr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=Pr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=Pr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=Pr(this);return e.renderer.getLastElementChild(e.elm)},get ownerDocument(){const e=Pr(this);return e.renderer.ownerDocument(e.elm)},render(){return Pr(this).def.template},toString(){return`[object ${Pr(this).def.name}]`}};const Rt=n(null),$t=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of $t)Rt[e]={value(t){const n=Pr(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]=_t(e,Ye[e]);function Dt(e){return{get(){return Pr(this).cmpFields[e]},set(t){qe(Pr(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)&&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(!W(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((()=>{W(i)||i(r)})),s(r)}))}}const Ht="$$DeprecatedWiredElementHostKey$$",Wt="$$DeprecatedWiredParamsMetaKey$$",Bt=new Map;function Vt(e,t,n){const{method:r,adapter:s,configCallback:i,dynamic:l}=n;const c=W(r)?function(e,t){return n=>{qe(e,t,n)}}(e,t):function(e,t){return n=>{Br(e,e.owner,K,(()=>{t.call(e.component,n)}),K)}}(e,r),a=e=>{c(e)};let u,d;o(a,Ht,{value:e.elm}),o(a,Wt,{value:l}),Br(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=>{Br(e,e,K,(()=>{d.update(t,u)}),K)}));return W(s.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Ft.get(r);if(W(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=Pr(this);if(!dr(t))return t.cmpProps[e]},set(t){Pr(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){Pr(this),r&&r.call(this,e)},enumerable:o,configurable:s}}function zt(e){return{get(){return Pr(this).cmpFields[e]},set(t){qe(Pr(this),e,t)},enumerable:!0,configurable:!0}}function Yt(e){return{get(){return Pr(this).cmpFields[e]},set(t){qe(Pr(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 W(t)&&(t=Jt[e]=function(){const t=Pr(this),{getHook:n}=t;return n(t.component,e)}),t}function nn(e){let t=en[e];return W(t)&&(t=en[e]=function(t){const n=Pr(this),{setHook:r}=n;t=Nt(t),r(n.component,e,t)}),t}function rn(e){return function(){const t=Pr(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];W(s)?W(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--){W(e[t].deref())&&O.call(e,t,1)}}))}_getWeakRefs(e){let t=this._map.get(e);return W(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();W(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 W(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 W(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=We(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;W(o)||(A=o);let N=C.renderMode;W(s)||(N="light"===s?0:1);const _=function(e){var t;return null===(t=pr.get(e))||void 0===t?void 0:t.tmpl}(e)||C.template,O=e.name||C.name;r(m,p);return{ctor:e,name:O,wire:x,props:k,propsConfig:M,methods:T,bridge:S,template:_,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=We(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(W(t)){if(Be(e)){return t=hn(We(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 er.h("style",{key:"style",attrs:{type:"text/css"}},[er.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){Oe("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:(W(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 De;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++)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),Tn[e]=t,t}function An(e,t,n,r){Gn(t)?Kn(e,t,n,r):zn(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?zn(e.children,o,n,r):Kn(e.children,o,n,r);t.elm=o[o.length-1].elm}(e,t,n,r);break;case 2:!function(e,t,n){const r=t.elm=e.elm;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),On(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;if(Hn(e,t,r),!W(o)){Bn(t,o);const{shadowMode:n,renderMode:r}=o;0==n&&0!==r&&Gn(e.children)&&jn(t.children)}An(e.children,t.children,n,r),W(o)||function(e){$r(e)}(o)}}(e,t,n,null!==(s=t.data.renderer)&&void 0!==s?s:r)}}function _n(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);Dn(i,o,r),In(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);Dn(i,o,r),In(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);Dn(l,o,r);const{renderMode:c,shadowMode:a}=o;i&&(1!==a&&0!==c||(l[ne]=!0));In(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=o[o.length-1].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);Dn(a,s,r),Wn(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),In(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:On(e,t,r,null!==(s=e.data.renderer)&&void 0!==s?s:n)}}function On(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=>{xr(e)},a=e=>{Ar(e)});const u=i(o.toLowerCase(),(t=>{l=function(e,t,n){let r=Rr(e);if(!W(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,Dn(u,s,r),Wn(u,s,r),l&&Bn(e,l),Hn(null,e,r),In(u,t,n,r),l&&Lr(l),Pn(e.children,u,r,null),l&&function(e){$r(e)}(l)}function Pn(e,t,n,r,o=0,s=e.length){for(;o<s;++o){const s=e[o];Ln(s)&&_n(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;W(t)||function(e){Nr(e)}(t)}}}function $n(e,t,n,r=!1,o=0,s=e.length){for(;o<s;++o){const s=e[o];Ln(s)&&Rn(s,t,n,r)}}function Ln(e){return null!=e}function Dn(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){r.insert(e,t,n)}function Hn(e,n,r){B(e)&&(function(e,t){const{elm:n,data:{on:r}}=e;if(W(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(W(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(W(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)W(c[u])&&l.remove(u);for(u in c)W(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(W(r))return;const{removeAttribute:s,setAttribute:i,setProperty:l}=n,c=B(e)?De:e.data.attrs;for(const e in r){const t=r[e];c[e]!==t&&(ve(e)in o?l(o,e,t):L.call(e,3)===kn?i(o,e,t,ie):L.call(e,5)===kn?i(o,e,t,ce):B(t)||W(t)?s(o,e):i(o,e,t))}}(e,n,r):function(e,t,n){const{attrs:r}=t.data;if(W(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)===Sn?i(s,e,t,ie):L.call(e,5)===Sn?i(s,e,t,ce):B(t)||W(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(W(o)&&W(s))return;let i;if(!B(e)){i=e.data.props;const n=e.data.spread;if(i===o&&n===s)return;W(i)&&(i=De),W(n)||(i=t({},i,n))}W(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 Wn(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||W(o)||(e.$shadowToken$=o)}function Bn(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(;!W(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 jn(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 gr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(W(l[r])||i[r].length!==l[r].length)return void gr(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 gr(e)}}}(t,i,e.owner),e.aChildren=i,e.children=Fe)}const Vn=new WeakMap;function jn(e){Vn.set(e,1)}function Gn(e){return Vn.has(e)}function Un(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Ln(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function Kn(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;)Ln(l)?Ln(c)?Ln(m)?Ln(g)?vn(l,m)?(Nn(l,m,n,r),l=e[++o],m=t[++s]):vn(c,g)?(Nn(c,g,n,r),c=e[--i],g=t[--p]):vn(l,g)?(Nn(l,g,n,r),In(l.elm,n,r.nextSibling(c.elm),r),l=e[++o],g=t[--p]):vn(c,m)?(Nn(c,m,n,r),In(m.elm,n,l.elm,r),c=e[--i],m=t[++s]):(void 0===u&&(u=Un(e,o,i)),d=u[m.key],W(d)?(_n(m,n,r,l.elm),m=t[++s]):(f=e[d],Ln(f)&&(f.sel!==m.sel?_n(m,n,r,l.elm):(Nn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,In(f.elm,n,l.elm,r))),m=t[++s])):g=t[--p]:m=t[++s]:c=e[--i]:l=e[++o];if(o<=i||s<=p)if(o>i){let e,o=p;do{e=t[++o]}while(!Ln(e)&&o<a);h=Ln(e)?e.elm:null,Pn(t,n,r,h,s,p+1)}else $n(e,n,r,!0,o,i+1)}function zn(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&&(Ln(s)?Ln(l)?vn(s,l)?(Nn(s,l,n,r),i=l.elm):(Rn(s,n,r,!0),_n(l,n,r,i),i=l.elm):Rn(s,n,r,!0):Ln(l)&&(_n(l,n,r,i),i=l.elm))}}const Yn=Symbol.iterator;function qn(e,t,n=Fe){const r=rr(),{key:o,ref:s}=t,i={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return W(s)||He(r,s,i),i}function Xn(e,t,n,r=Fe){const o=rr(),{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(rr().velements,e)}(l),W(i)||He(o,i,l),l}function Zn(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:rr()}}function Qn(e){return jn(e),e}let Jn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const er=s({s:function(e,t,n,r){if(!W(r)&&!W(r.slotAssignments)&&!W(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!==!W(t.slotData))continue;if(e){const e=rr();or(r.owner);try{k.call(o,n.factory(t.slotData,t.key))}finally{or(e)}}else k.call(o,n)}}n=o}const o=rr(),{renderMode:s,shadowMode:i}=o;return 0===s?(Qn(n),n):(1===i&&Qn(n),qn("slot",t,n))},h:qn,c:Xn,i:function(e,t){const n=[];if(Qn(n),W(e)||null===e)return n;const r=e[Yn]();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=[];Qn(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:Zn,d:function(e){return null==e?"":String(e)},b:function(e){const t=rr();if(B(t))throw new Error;const n=t;return function(t){hr(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:rr()}},dc:function(e,t,n=Fe){if(B(e)||W(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=pr.get(e))||void 0===t?void 0:t.sel}(e);if(W(r)||""===r)throw new Error(`Invalid LWC constructor ${Y(e)} does not have a registered name`);return Xn(r,e,t,n)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[Zn(""),...t,Zn("")],stable:n,owner:rr()}},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:rr()}},gid:function(e){const t=rr();if(W(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=rr();if(W(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 Jn(e)},ssf:function(e,t){return{type:6,factory:t,owner:rr(),elm:void 0,sel:void 0,key:void 0,slotName:e}},ddc:function(e,t,n,r=Fe){if(B(t)||W(t))return null;if(!fn(t))throw new Error(`Invalid LWC Constructor ${Y(t)} for custom element <${e}>.`);return Xn(e,t,n,r)}});let tr=!1,nr=null;function rr(){return nr}function or(e){nr=e}const sr=(ir=(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}=rr(),l=!W(o),c=1===s;let a=0;if(l&&n&&(a|=1),l&&c&&(a|=2),!W(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]=ir(h,i),r[a]}});var ir;function lr(e,t){const r=tr,o=nr;let s=[];return Br(e,e.owner,(()=>{nr=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=W(t)?null:t.stylesheets;return cr(n)||cr(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;W(w)||(y&&i(n).remove(mn(w)),b&&l(n,mn(w)));const v=ar(a),E=ar(d);(v||E)&&(p=u),W(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 ar(n)&&(s=wn(n,r,e)),ar(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=[],tr=!0,s=t.call(void 0,er,r,i,o.tplCache);const{styleVNodes:a}=o;B(a)||P.apply(s,a)}))}),(()=>{tr=r,nr=o})),s}function cr(e){if(ar(e))for(let t=0;t<e.length;t++)if(V(e[t][oe]))return!0;return!1}function ar(e){return!W(e)&&!B(e)&&e.length>0}let ur=null;function dr(e){return ur===e}function fr(e,t,n){const{component:r,callHook:o,owner:s}=e;Br(e,s,K,(()=>{o(r,t,n)}),K)}function hr(e,t,n,r){const{callHook:o,owner:s}=e;Br(e,s,K,(()=>{o(n,t,[r])}),K)}const pr=new Map;function mr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,s=rr();let i,l=!1;return Br(e,o,(()=>{or(e)}),(()=>{e.tro.observe((()=>{i=n(r,t),l=!0}))}),(()=>{or(s)})),l?lr(e,i):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function gr(e){e.isDirty=!0}const wr=new WeakMap;function yr(e,t){if(!G(t))throw new TypeError("Expected an EventListener but received "+typeof t);let n=wr.get(t);return W(n)&&(n=function(n){hr(e,t,void 0,n)},wr.set(t,n)),n}const br=n(null),vr=["rendered","connected","disconnected"];function Er(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 Cr=0;const Sr=new WeakMap;function kr(e,t,n=[]){return t.apply(e,n)}function Mr(e,t,n){e[t]=n}function Tr(e,t){return e[t]}function xr(e){const t=Pr(e);1===t.state&&Ar(e),Lr(t),$r(t)}function Ar(e){Nr(Pr(e))}function Nr(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}=br;t&&Er(e,t);Dr(e)&&function(e){const{wiredDisconnecting:t}=e.context;Br(e,e,K,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),K)}(e);const{disconnectedCallback:n}=e.def;W(n)||fr(e,n)}(e),Fr(e),function(e){const{aChildren:t}=e;Ir(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:Cr++,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:De,wiredConnecting:Fe,wiredDisconnecting:Fe},tro:null,shadowMode:null,stylesheets:null,component:null,shadowRoot:null,renderRoot:null,callHook:kr,setHook:Mr,getHook:Tr,renderer:r};return u.stylesheets=function(e,t){const{stylesheets:n}=t;if(!W(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=ur;let r;ur=e;try{const e=new t;if(ur.component!==e)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(ur=n,!W(r))throw Ae(e,r),r}}(u,a.ctor),Dr(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(!W(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 Or(e,t){Sr.set(e,t)}function Pr(e){return Sr.get(e)}function Rr(e){return Sr.get(e)}function $r(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&&Br(e,e,(()=>{}),(()=>{An(r,t,n,o)}),(()=>{}));e.state}(e,mr(e))}}function Lr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=br;n&&Er(e,n),Dr(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;W(r)||fr(e,r)}function Dr(e){return l(e.def.wire).length>0}function Fr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!W(n)){const e=Rr(n);W(e)||Nr(e)}}}function Ir(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!B(n)&&!W(n.elm))switch(n.type){case 2:Ir(n.children);break;case 3:Nr(Pr(n.elm));break}}}function Hr(e){Wr(e.children,e),e.children=Fe,Fr(e),e.velements=Fe}function Wr(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)?Wr(s.children,t):W(s.elm)||r(s.elm,n))}}function Br(e,t,n,r,o){let s;n();try{r()}catch(e){s=Object(e)}finally{if(o(),!W(s)){Ae(e,s);const n=B(t)?void 0:function(e){let t=e;for(;!B(t);){if(!W(t.def.errorCallback))return t;t=t.owner}}(t);if(W(n))throw s;Hr(e);fr(n,n.def.errorCallback,[s,s.wcStack])}}}delete ee.$nativeGetElementById$,delete ee.$nativeQuerySelectorAll$;let Vr=!1;function jr(e){Gr(e,(e=>{s(e)}))}function Gr(e,t){t(e);for(let n=0;n<e.length;n++){const r=e[n];p(r)?Gr(r,t):t(r)}}const Ur=Symbol("namespace"),Kr=Symbol("type"),zr=Symbol("parent"),Yr=Symbol("shadow-root"),qr=Symbol("children"),Xr=Symbol("attributes"),Zr=Symbol("value"),Qr=Symbol("host"),Jr=Symbol("context-providers");var eo;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(eo||(eo={}));const to=/\s+/g;function no(e){return new Set(e.split(to).filter((e=>e.length)))}function ro(e){return Array.from(e).join(" ")}function oo(e,t,n){const r=Rr(e);W(r)||(e=r.elm);const o=e[Jr];if(W(o))throw new Error("Unable to register context provider on provided `elm`.");o.set(t,n)}function so(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function io(e,t){return{[Kr]:eo.Element,tagName:e,[Ur]:null!=t?t:se,[zr]:null,[Yr]:null,[qr]:[],[Xr]:[],[Jr]:new Map}}function lo(e,t,n=null){const r=e[Xr].find((e=>e.name===t&&e[Ur]===n));return r?r.value:null}function co(e,t,n,r=null){const o=e[Xr].find((e=>e.name===t&&e[Ur]===r));W(r)&&(r=null),W(o)?e[Xr].push({name:t,[Ur]:r,value:String(n)}):o.value=n}function ao(e,t,n){e[Xr]=e[Xr].filter((e=>e.name!==t&&e[Ur]!==n))}const uo=K,fo=K,ho=K,po=so("dispatchEvent"),mo=so("getBoundingClientRect"),go=so("querySelector"),wo=so("querySelectorAll"),yo=so("getElementsByTagName"),bo=so("getElementsByClassName"),vo=so("getChildren"),Eo=so("getChildNodes"),Co=so("getFirstChild"),So=so("getFirstElementChild"),ko=so("getLastChild"),Mo=so("getLastElementChild"),To=K,xo=new Map;function Ao(e){let t=xo.get(e);return W(t)?(t=function(e){return function(t){const n=io(e);return G(t)&&t(n),n}}(e),xo.set(e,t),t):t}const No={isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,insert:function(e,t,n){const r=e[zr];if(null!==r&&r!==t){const t=r[qr].indexOf(e);r[qr].splice(t,1)}e[zr]=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{[Kr]:eo.Raw,[zr]:null,[Zr]:e}},createElement:io,createText:function(e){return{[Kr]:eo.Text,[Zr]:String(e),[zr]:null}},createComment:function(e){return{[Kr]:eo.Comment,[Zr]:e,[zr]:null}},createCustomElement:function(e,t){return new(Ao(e))(t)},nextSibling:function(e){const t=e[zr];if(B(t))return null;const n=t[qr].indexOf(e);return t[qr][n+1]||null},attachShadow:function(e,t){return e[Yr]={[Kr]:eo.ShadowRoot,[qr]:[],[Qr]:e,mode:t.mode,delegatesFocus:!!t.delegatesFocus},e[Yr]},getProperty:function(e,t){var n,r;if(t in e)return e[t];if(e[Kr]===eo.Element){const o=be(t);if(fe(o,e.tagName))return null!==(n=lo(e,o))&&void 0!==n&&n;if(pe(o)||J(o))return lo(e,o);if("input"===e.tagName&&"value"===t)return null!==(r=lo(e,"value"))&&void 0!==r?r:""}},setProperty:function(e,t,n){if(t in e)return e[t]=n;if(e[Kr]===eo.Element){const r=be(t);if("innerHTML"===t)return void(e[qr]=[{[Kr]:eo.Raw,[zr]:e,[Zr]:n}]);if(fe(r,e.tagName))return!0===n?co(e,r,""):ao(e,r);if(pe(r)||J(r))return co(e,r,n);if("input"===e.tagName&&"value"===r)return B(n)||W(n)?ao(e,"value"):co(e,"value",n)}},setText:function(e,t){e[Kr]===eo.Text?e[Zr]=t:e[Kr]===eo.Element&&(e[qr]=[{[Kr]:eo.Text,[zr]:e,[Zr]:t}])},getAttribute:lo,setAttribute:co,removeAttribute:ao,addEventListener:fo,removeEventListener:ho,dispatchEvent:po,getClassList:function(e){function t(){let t=e[Xr].find((e=>"class"===e.name&&B(e[Ur])));return W(t)&&(t={name:"class",[Ur]:null,value:""},e[Xr].push(t)),t}return{add(...e){const n=t(),r=no(n.value);e.forEach((e=>r.add(e))),n.value=ro(r)},remove(...e){const n=t(),r=no(n.value);e.forEach((e=>r.delete(e))),n.value=ro(r)}}},setCSSStyleProperty:function(e,t,n,r){const o=e[Xr].find((e=>"style"===e.name&&B(e[Ur]))),s=`${t}: ${n}${r?" !important":""}`;W(o)?e[Xr].push({name:"style",[Ur]:null,value:s}):o.value+=`; ${s}`},getBoundingClientRect:mo,querySelector:go,querySelectorAll:wo,getElementsByTagName:yo,getElementsByClassName:bo,getChildren:vo,getChildNodes:Eo,getFirstChild:Co,getFirstElementChild:So,getLastChild:ko,getLastElementChild:Mo,isConnected:function(e){return!B(e[zr])},insertStylesheet:uo,assertInstanceOfHTMLElement:To,ownerDocument:so("ownerDocument"),registerContextConsumer:function(e,t,n){let r=e;do{if(r[Kr]===eo.Element){const e=r[Jr].get(t);if(!W(e)){e(n);break}}r=r[Kr]===eo.Element?r[zr]:r[Qr]}while(!B(r))}};function _o(e){return e.map((e=>{switch(e[Kr]){case eo.Text:return""===e[Zr]?"":Ce(e[Zr]);case eo.Comment:return`\x3c!--${Ce(e[Zr])}--\x3e`;case eo.Raw:return e[Zr];case eo.Element:return Oo(e)}})).join("")}function Oo(e){let t="";const n=e.tagName,r=e[Ur],o=r!==se,s=e[qr].length>0;var i;return t+=`<${n}${e[Xr].length?` ${i=e[Xr],i.map((e=>e.value.length?`${e.name}="${Ce(e.value,!0)}"`:e.name)).join(" ")}`:""}`,o&&!s?(t+="/>",t):(t+=">",e[Yr]&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${_o(e[qr])}</template>`}(e[Yr])),t+=_o(e[qr]),function(e,t){return t===se&&ae.has(e.toLowerCase())}(n,r)&&!s||(t+=`</${n}>`),t)}const Po={[Kr]:eo.Element,tagName:"fake-root-element",[Ur]:se,[zr]:null,[Yr]:null,[qr]:[],[Xr]:[],[Jr]:new Map};s(Pt),f(Pt.prototype),exports.LightningElement=Pt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){return It(e,oo)},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),W(e.stylesheets)||jr(e.stylesheets)):function(e){o(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return W(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=W(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=sr,exports.parseSVGFragment=sr,exports.readonly=function(e){return Nt(e)},exports.register=function(e){for(let t=0;t<vr.length;++t){const n=vr[t];if(n in e){let t=br[n];W(t)&&(br[n]=t=[]),k.call(t,e[n])}}},exports.registerComponent=function(e,t){return G(e)&&pr.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(!W(s))for(const e in s){const t=s[e];if(g[e]=t.config,w=i(r,e),t.config>0){if(W(w))throw new Error;w=Kt(0,w)}else w=W(w)||W(w.get)?Ut(e):Kt(0,w);f[e]=w,o(r,e,w)}if(W(l)||R.call(l,(e=>{if(w=i(r,e),W(w))throw new Error;d[e]=w})),!W(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(W(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(!W(a))for(const e in a)w=i(r,e),w=zt(e),o(r,e,w);if(!W(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=i(r,t);const n=!W(s)&&t in s,o=!W(a)&&t in a;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.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=No.createElement(e);_r(r,t,No,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r[zr]=Po,xr(r),Oo(r)},exports.renderer=No,exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(W(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(!W(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(Vr,"Hooks are already overridden, only one definition is allowed."),Vr=!0,n=t.sanitizeHtmlContent,Jn=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: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:_,splice:O,unshift:P,forEach:R}=Array.prototype,{fromCharCode:$}=String,{charCodeAt:L,replace:D,split:F,slice:I,toLowerCase:H}=String.prototype;function W(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(!W(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=H.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",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(!W(t))return t;const n=ge.get(e);if(!W(n))return n;const r=we.get(e);if(!W(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(!W(t))return t;const n=me.get(e);if(!W(n))return n;const r=ye.get(e);if(!W(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,ENABLE_LIGHT_GET_ROOT_NODE_PATCH: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 W(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`<${H.call(e.tagName)}>`}function Ae(e,t){if(!u(t)&&W(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 _e(e,t,n,r){let o=`[LWC ${e}]: ${t}`;if(W(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 Oe(e,t){_e("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 He(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}function We(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);W(t)||(Ye[e]=t)})),R.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=q(je,e);W(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(!W(n)){const e=n[t];if(!W(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 _t(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 Ot=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=Ot.get(t);if(W(o)){o=n(null);for(const e of d(t))o[e]=t[e].elm;s(o),Ot.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 Lt=n(null);for(const e in Ye)Lt[e]=_t(e,Ye[e]);function Dt(e){return{get(){return Rr(this).cmpFields[e]},set(t){qe(Rr(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)&&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(!W(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((()=>{W(i)||i(r)})),s(r)}))}}const Ht="$$DeprecatedWiredElementHostKey$$",Wt="$$DeprecatedWiredParamsMetaKey$$",Bt=new Map;function Vt(e,t,n){const{method:r,adapter:s,configCallback:i,dynamic:l}=n;const c=W(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,Ht,{value:e.elm}),o(a,Wt,{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 W(s.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Ft.get(r);if(W(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: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 W(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 W(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];W(s)?W(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--){W(e[t].deref())&&O.call(e,t,1)}}))}_getWeakRefs(e){let t=this._map.get(e);return W(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();W(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 W(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 W(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=We(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;W(o)||(A=o);let N=C.renderMode;W(s)||(N="light"===s?0:1);const _=function(e){var t;return null===(t=mr.get(e))||void 0===t?void 0:t.tmpl}(e)||C.template,O=e.name||C.name;r(m,p);return{ctor:e,name:O,wire:x,props:k,propsConfig:M,methods:T,bridge:S,template:_,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=We(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(W(t)){if(Be(e)){return t=hn(We(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 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){Oe("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:(W(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 De;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++)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),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;Wn(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),On(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;if(Wn(e,t,r),!W(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),W(o)||function(e){Lr(e)}(o)}}(e,t,n,null!==(s=t.data.renderer)&&void 0!==s?s:r)}}function _n(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);Dn(i,o,r),Hn(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);Dn(i,o,r),Hn(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);Dn(l,o,r);const{renderMode:c,shadowMode:a}=o;i&&(1!==a&&0!==c||(l[ne]=!0));Hn(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);Dn(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),Wn(null,e,r),Hn(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:On(e,t,r,null!==(s=e.data.renderer)&&void 0!==s?s:n)}}function On(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(!W(r))return r;const{sel:o,mode:s,ctor:i,owner:l}=t;return r=Or(e,i,n,{mode:s,owner:l,tagName:o}),r}(t,e,r)}),c,a);e.elm=u,e.vm=l,Dn(u,s,r),Bn(u,s,r),l&&Vn(e,l),Wn(null,e,r),Hn(u,t,n,r),l&&Dr(l),Pn(e.children,u,r,null),l&&function(e){Lr(e)}(l)}function Pn(e,t,n,r,o=0,s=e.length){for(;o<s;++o){const s=e[o];Ln(s)&&_n(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;W(t)||function(e){_r(e)}(t)}}}function $n(e,t,n,r=!1,o=0,s=e.length){for(;o<s;++o){const s=e[o];Ln(s)&&Rn(s,t,n,r)}}function Ln(e){return null!=e}function Dn(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 Hn(e,t,n,r){r.insert(e,t,n)}function Wn(e,n,r){B(e)&&(function(e,t){const{elm:n,data:{on:r}}=e;if(W(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(W(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(W(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)W(c[u])&&l.remove(u);for(u in c)W(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(W(r))return;const{removeAttribute:s,setAttribute:i,setProperty:l}=n,c=B(e)?De:e.data.attrs;for(const e in r){const t=r[e];c[e]!==t&&(ve(e)in o?l(o,e,t):L.call(e,3)===kn?i(o,e,t,ie):L.call(e,5)===kn?i(o,e,t,ce):B(t)||W(t)?s(o,e):i(o,e,t))}}(e,n,r):function(e,t,n){const{attrs:r}=t.data;if(W(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)===Sn?i(s,e,t,ie):L.call(e,5)===Sn?i(s,e,t,ce):B(t)||W(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(W(o)&&W(s))return;let i;if(!B(e)){i=e.data.props;const n=e.data.spread;if(i===o&&n===s)return;W(i)&&(i=De),W(n)||(i=t({},i,n))}W(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||W(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(;!W(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(W(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(Ln(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(Ln(l))if(Ln(c))if(Ln(m))if(Ln(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],W(d)?(_n(m,n,r,l.elm),m=t[++s]):(f=e[d],Ln(f)&&(f.sel!==m.sel?_n(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(!Ln(e)&&o<a);h=Ln(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&&(Ln(s)?Ln(l)?vn(s,l)?(Nn(s,l,n,r),i=l.elm):(Rn(s,n,r,!0),_n(l,n,r,i),i=l.elm):Rn(s,n,r,!0):Ln(l)&&(_n(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 W(s)||He(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),W(i)||He(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(!W(r)&&!W(r.slotAssignments)&&!W(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!==!W(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),W(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)||W(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(W(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(W(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=or();if(W(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)||W(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=!W(o),c=1===s;let a=0;if(l&&n&&(a|=1),l&&c&&(a|=2),!W(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)||Wr(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=W(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;W(w)||(y&&i(n).remove(mn(w)),b&&l(n,mn(w)));const v=ur(a),E=ur(d);(v||E)&&(p=u),W(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!W(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 W(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),Dr(t),Lr(t)}function Nr(e){_r(Rr(e))}function _r(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;W(n)||hr(e,n)}(e),Ir(e),function(e){const{aChildren:t}=e;Hr(t)}(e)}}function Or(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:De,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(!W(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,!W(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(!W(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 Lr(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 Dr(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;W(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(!W(n)){const e=$r(n);W(e)||_r(e)}}}function Hr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!B(n)&&!W(n.elm))switch(n.type){case 2:Hr(n.children);break;case 3:_r(Rr(n.elm));break}}}function Wr(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):W(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(),!W(s)){Ae(e,s);const n=B(t)?void 0:function(e){let t=e;for(;!B(t);){if(!W(t.def.errorCallback))return t;t=t.owner}}(t);if(W(n))throw s;Wr(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);W(r)||(e=r.elm);const o=e[eo];if(W(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));W(r)&&(r=null),W(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 W(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 _o={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)||W(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 W(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":""}`;W(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(!W(e)){e(n);break}}r=r[zr]===to.Element?r[Yr]:r[Jr]}while(!B(r))}};function Oo(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(" ")}>${Oo(e[Xr])}</template>`}(e[qr])),t+=Oo(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),W(e.stylesheets)||Gr(e.stylesheets)):function(e){o(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return W(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=W(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];W(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(!W(s))for(const e in s){const t=s[e];if(g[e]=t.config,w=i(r,e),t.config>0){if(W(w))throw new Error;w=Kt(0,w)}else w=W(w)||W(w.get)?Ut(e):Kt(0,w);f[e]=w,o(r,e,w)}if(W(l)||R.call(l,(e=>{if(w=i(r,e),W(w))throw new Error;d[e]=w})),!W(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(W(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(!W(a))for(const e in a)w=i(r,e),w=zt(e),o(r,e,w);if(!W(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=i(r,t);const n=!W(s)&&t in s,o=!W(a)&&t in a;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.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=_o.createElement(e);Or(r,t,_o,{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=_o,exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(W(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(!W(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};
|
|
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.41.
|
|
445
|
+
const LWC_VERSION = "2.41.2";
|
|
446
446
|
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
447
|
-
/** version: 2.41.
|
|
447
|
+
/** version: 2.41.2 */
|
|
448
448
|
|
|
449
449
|
/**
|
|
450
450
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -523,7 +523,7 @@ function setFeatureFlagForTest(name, value) {
|
|
|
523
523
|
setFeatureFlag(name, value);
|
|
524
524
|
}
|
|
525
525
|
}
|
|
526
|
-
/** version: 2.41.
|
|
526
|
+
/** version: 2.41.2 */
|
|
527
527
|
|
|
528
528
|
/*
|
|
529
529
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -619,7 +619,7 @@ function applyAriaReflection(prototype = Element.prototype) {
|
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
621
|
}
|
|
622
|
-
/** version: 2.41.
|
|
622
|
+
/** version: 2.41.2 */
|
|
623
623
|
|
|
624
624
|
/* proxy-compat-disable */
|
|
625
625
|
|
|
@@ -4037,8 +4037,7 @@ function mountComment(vnode, parent, anchor, renderer) {
|
|
|
4037
4037
|
function mountFragment(vnode, parent, anchor, renderer) {
|
|
4038
4038
|
const { children } = vnode;
|
|
4039
4039
|
mountVNodes(children, parent, renderer, anchor);
|
|
4040
|
-
|
|
4041
|
-
vnode.elm = children[children.length - 1].elm;
|
|
4040
|
+
vnode.elm = vnode.leading.elm;
|
|
4042
4041
|
}
|
|
4043
4042
|
function patchFragment(n1, n2, parent, renderer) {
|
|
4044
4043
|
const { children, stable } = n2;
|
|
@@ -4049,7 +4048,7 @@ function patchFragment(n1, n2, parent, renderer) {
|
|
|
4049
4048
|
updateDynamicChildren(n1.children, children, parent, renderer);
|
|
4050
4049
|
}
|
|
4051
4050
|
// Note: not reusing n1.elm, because during patching, it may be patched with another text node.
|
|
4052
|
-
n2.elm =
|
|
4051
|
+
n2.elm = n2.leading.elm;
|
|
4053
4052
|
}
|
|
4054
4053
|
function mountElement(vnode, parent, anchor, renderer) {
|
|
4055
4054
|
const { sel, owner, data: { svg }, } = vnode;
|
|
@@ -4257,6 +4256,26 @@ function updateTextContent(vnode, renderer) {
|
|
|
4257
4256
|
lockDomMutation();
|
|
4258
4257
|
}
|
|
4259
4258
|
}
|
|
4259
|
+
function insertFragmentOrNode(vnode, parent, anchor, renderer) {
|
|
4260
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
4261
|
+
unlockDomMutation();
|
|
4262
|
+
}
|
|
4263
|
+
if (isVFragment(vnode)) {
|
|
4264
|
+
const children = vnode.children;
|
|
4265
|
+
for (let i = 0; i < children.length; i += 1) {
|
|
4266
|
+
const child = children[i];
|
|
4267
|
+
if (!isNull(child)) {
|
|
4268
|
+
renderer.insert(child.elm, parent, anchor);
|
|
4269
|
+
}
|
|
4270
|
+
}
|
|
4271
|
+
}
|
|
4272
|
+
else {
|
|
4273
|
+
renderer.insert(vnode.elm, parent, anchor);
|
|
4274
|
+
}
|
|
4275
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
4276
|
+
lockDomMutation();
|
|
4277
|
+
}
|
|
4278
|
+
}
|
|
4260
4279
|
function insertNode(node, parent, anchor, renderer) {
|
|
4261
4280
|
if (process.env.NODE_ENV !== 'production') {
|
|
4262
4281
|
unlockDomMutation();
|
|
@@ -4543,14 +4562,25 @@ function updateDynamicChildren(oldCh, newCh, parent, renderer) {
|
|
|
4543
4562
|
else if (isSameVnode(oldStartVnode, newEndVnode)) {
|
|
4544
4563
|
// Vnode moved right
|
|
4545
4564
|
patch(oldStartVnode, newEndVnode, parent, renderer);
|
|
4546
|
-
|
|
4565
|
+
// In the case of fragments, the `elm` property of a vfragment points to the leading
|
|
4566
|
+
// anchor. To determine the next sibling of the whole fragment, we need to use the
|
|
4567
|
+
// trailing anchor as the argument to nextSibling():
|
|
4568
|
+
// [..., [leading, ...content, trailing], nextSibling, ...]
|
|
4569
|
+
let anchor;
|
|
4570
|
+
if (isVFragment(oldEndVnode)) {
|
|
4571
|
+
anchor = renderer.nextSibling(oldEndVnode.trailing.elm);
|
|
4572
|
+
}
|
|
4573
|
+
else {
|
|
4574
|
+
anchor = renderer.nextSibling(oldEndVnode.elm);
|
|
4575
|
+
}
|
|
4576
|
+
insertFragmentOrNode(oldStartVnode, parent, anchor, renderer);
|
|
4547
4577
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
4548
4578
|
newEndVnode = newCh[--newEndIdx];
|
|
4549
4579
|
}
|
|
4550
4580
|
else if (isSameVnode(oldEndVnode, newStartVnode)) {
|
|
4551
4581
|
// Vnode moved left
|
|
4552
4582
|
patch(oldEndVnode, newStartVnode, parent, renderer);
|
|
4553
|
-
|
|
4583
|
+
insertFragmentOrNode(newStartVnode, parent, oldStartVnode.elm, renderer);
|
|
4554
4584
|
oldEndVnode = oldCh[--oldEndIdx];
|
|
4555
4585
|
newStartVnode = newCh[++newStartIdx];
|
|
4556
4586
|
}
|
|
@@ -4584,7 +4614,7 @@ function updateDynamicChildren(oldCh, newCh, parent, renderer) {
|
|
|
4584
4614
|
}
|
|
4585
4615
|
// We've already cloned at least once, so it's no longer read-only
|
|
4586
4616
|
oldCh[idxInOld] = undefined;
|
|
4587
|
-
|
|
4617
|
+
insertFragmentOrNode(elmToMove, parent, oldStartVnode.elm, renderer);
|
|
4588
4618
|
}
|
|
4589
4619
|
}
|
|
4590
4620
|
newStartVnode = newCh[++newStartIdx];
|
|
@@ -4691,14 +4721,18 @@ function st(fragment, key) {
|
|
|
4691
4721
|
}
|
|
4692
4722
|
// [fr]agment node
|
|
4693
4723
|
function fr(key, children, stable) {
|
|
4724
|
+
const leading = t('');
|
|
4725
|
+
const trailing = t('');
|
|
4694
4726
|
return {
|
|
4695
4727
|
type: 5 /* VNodeType.Fragment */,
|
|
4696
4728
|
sel: undefined,
|
|
4697
4729
|
key,
|
|
4698
4730
|
elm: undefined,
|
|
4699
|
-
children: [
|
|
4731
|
+
children: [leading, ...children, trailing],
|
|
4700
4732
|
stable,
|
|
4701
4733
|
owner: getVMBeingRendered(),
|
|
4734
|
+
leading,
|
|
4735
|
+
trailing,
|
|
4702
4736
|
};
|
|
4703
4737
|
}
|
|
4704
4738
|
// [h]tml node
|
|
@@ -6310,7 +6344,7 @@ function readonly(obj) {
|
|
|
6310
6344
|
}
|
|
6311
6345
|
return getReadOnlyProxy(obj);
|
|
6312
6346
|
}
|
|
6313
|
-
/* version: 2.41.
|
|
6347
|
+
/* version: 2.41.2 */
|
|
6314
6348
|
|
|
6315
6349
|
/*
|
|
6316
6350
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -6845,7 +6879,7 @@ seal(LightningElement.prototype);
|
|
|
6845
6879
|
function createElement() {
|
|
6846
6880
|
throw new Error('createElement is not supported in @lwc/engine-server, only @lwc/engine-dom.');
|
|
6847
6881
|
}
|
|
6848
|
-
/* version: 2.41.
|
|
6882
|
+
/* version: 2.41.2 */
|
|
6849
6883
|
|
|
6850
6884
|
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 };
|
|
6851
6885
|
//# sourceMappingURL=engine-server.js.map
|