lwc 2.26.0 → 2.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/engine-dom/esm/es2017/engine-dom.js +75 -27
- package/dist/engine-dom/iife/es2017/engine-dom.js +75 -27
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +71 -23
- package/dist/engine-dom/iife/es5/engine-dom.js +78 -26
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +74 -22
- package/dist/engine-dom/umd/es2017/engine-dom.js +75 -27
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +71 -23
- package/dist/engine-dom/umd/es5/engine-dom.js +78 -26
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +74 -22
- package/dist/engine-server/commonjs/es2017/engine-server.js +73 -25
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +73 -25
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +4 -4
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +4 -4
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +4 -4
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +4 -4
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +4 -4
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
- package/dist/wire-service/esm/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/iife/es5/wire-service.js +2 -2
- package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es5/wire-service.js +2 -2
- package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
- package/package.json +7 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:t,create:n,defineProperties:r,defineProperty:o,freeze:i,getOwnPropertyDescriptor:s,getOwnPropertyNames:l,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:d,seal:f,setPrototypeOf:p}=Object,{isArray:h}=Array,{copyWithin:m,fill:g,filter:w,find:y,indexOf:b,join:v,map:E,pop:C,push:S,reduce:k,reverse:T,shift:M,slice:x,sort:A,splice:O,unshift:N,forEach:_}=Array.prototype,{fromCharCode:L}=String,{charCodeAt:$,replace:P,slice:D,toLowerCase:R}=String.prototype;function I(e){return void 0===e}function F(e){return null===e}function H(e){return!0===e}function B(e){return!1===e}function V(e){return"function"==typeof e}function j(e){return"string"==typeof e}function W(){}const G={}.toString;function U(e){return e&&e.toString?h(e)?v.call(E.call(e,U),","):e.toString():"object"==typeof e?G.call(e):e+""}function K(e,t){do{const n=s(e,t);if(!I(n))return n;e=a(e)}while(null!==e)}const z=["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:q,AriaPropNameToAttrNameMap:Y}=(()=>{const e=n(null),t=n(null);return _.call(z,(n=>{const r=R.call(P.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function X(e){return e in q}const J=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),Q="http://www.w3.org/1999/xhtml",Z=new Set(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr","param","keygen","menuitem"]);const ee=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 te(e,t){const n=ee.get(e);return void 0!==n&&(0===n.size||n.has(t))}const ne=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 re(e){return ne.has(e)}const oe=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"]]),ie=new Map;function se(e){const t=Y[e];if(!I(t))return t;const n=oe.get(e);if(!I(n))return n;const r=ie.get(e);if(!I(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=$.call(e,t);o+=n>=65&&n<=90?"-"+L(n+32):L(n)}return ie.set(e,o),o}const le={'"':""","'":"'","<":"<",">":">","&":"&"};function ae(e,t=!1){const n=t?/["&]/g:/["'<>&]/g;return e.replace(n,(e=>le[e]))}if("function"!=typeof Event){class e{}o(J,"Event",{value:e,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class e extends Event{}o(J,"CustomEvent",{value:e,configurable:!0,writable:!0})}const ce={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY:null};J.lwcRuntimeFlags||Object.defineProperty(J,"lwcRuntimeFlags",{value:n(null)});const ue=J.lwcRuntimeFlags;const de=f(n(null)),fe=f([]);function pe(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}const he=new WeakMap;const me={observe(e){e()},reset(){},link(){}};function ge(e){return me}function we(e){return`<${R.call(e.tagName)}>`}function ye(e,t){if(!u(t)&&I(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!F(n);)S.call(t,we(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}function be(e,t,n){let r=`[LWC ${e}]: ${t}`;I(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!F(e.owner);)S.call(t,n+we(e)),e=e.owner,n+="\t";return v.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function ve(e,t){be("error",e,t)}function Ee(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Ce(e){return V(e)&&c.call(e,"__circular__")}const Se="undefined"!=typeof HTMLElement?HTMLElement:function(){},ke=Se.prototype;function Te(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}t(n(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:Te("offsetHeight")},offsetLeft:{readOnly:!0,error:Te("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Te("offsetTop")},offsetWidth:{readOnly:!0,error:Te("offsetWidth")},role:{attribute:"role"}});let Me,xe=null;function Ae(e,t){return e!==xe||t!==Me}function Oe(e,t){xe=null,Me=void 0}function Ne(e,t){xe=e,Me=t}const _e=n(null);function Le(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n)}_.call(d(Y),(e=>{const t=K(ke,e);I(t)||(_e[e]=t)})),_.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=K(ke,e);I(t)||(_e[e]=t)}));const{isArray:$e}=Array,{prototype:Pe,getPrototypeOf:De,create:Re,defineProperty:Ie,isExtensible:Fe,getOwnPropertyDescriptor:He,getOwnPropertyNames:Be,getOwnPropertySymbols:Ve,preventExtensions:je,hasOwnProperty:We}=Object,{push:Ge,concat:Ue}=Array.prototype;function Ke(e){return void 0===e}function ze(e){return"function"==typeof e}const qe=new WeakMap;function Ye(e,t){qe.set(e,t)}const Xe=e=>qe.get(e)||e;class Je{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(We.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;Ke(n)||(e.get=this.wrapGetter(n)),Ke(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=He(n,t);if(!Ke(r)){const n=this.wrapDescriptor(r);Ie(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;Ue.call(Be(t),Ve(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;Ke(n)||We.call(e,n)||Ie(e,n,Re(null)),je(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=Ke(n)||We.call(t,n)?[]:[n];return Ge.apply(r,Be(t)),Ge.apply(r,Ve(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!Fe(e)&&(!!Fe(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return De(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=He(n,t);if(Ke(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},Ie(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const Qe=new WeakMap,Ze=new WeakMap,et=new WeakMap,tt=new WeakMap;class nt extends Je{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Qe.get(e);if(!Ke(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Xe(this)))};return Qe.set(e,r),et.set(r,e),r}wrapSetter(e){const t=Ze.get(e);if(!Ke(t))return t;const n=function(t){e.call(Xe(this),Xe(t))};return Ze.set(e,n),tt.set(n,e),n}unwrapDescriptor(e){if(We.call(e,"value"))e.value=Xe(e.value);else{const{set:t,get:n}=e;Ke(n)||(e.get=this.unwrapGetter(n)),Ke(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=et.get(e);if(!Ke(t))return t;const n=this,r=function(){return Xe(e.call(n.wrapValue(this)))};return Qe.set(r,e),et.set(e,r),r}unwrapSetter(e){const t=tt.get(e);if(!Ke(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Ze.set(r,e),tt.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&&$e(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(Fe(e)){const{originalTarget:t}=this;if(je(t),Fe(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!We.call(r,t)||(Ie(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const rt=new WeakMap,ot=new WeakMap;class it extends Je{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=rt.get(e);if(!Ke(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Xe(this)))};return rt.set(e,r),r}wrapSetter(e){const t=ot.get(e);if(!Ke(t))return t;const n=function(e){};return ot.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($e(e))return!0;const t=De(e);return t===Pe||null===t||null===De(t)}const lt=(e,t)=>{},at=(e,t)=>{};function ct(e){return $e(e)?[]:{}}const ut=Symbol.for("@@lockerLiveValue"),dt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=ze(t)?t:at,this.valueObserved=ze(n)?n:lt,this.valueIsObservable=ze(r)?r:st,this.tagPropertyKey=o}getProxy(e){const t=Xe(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Xe(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Xe(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(Ke(t)){const n=new nt(this,e);t=new Proxy(ct(e),n),Ye(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(Ke(t)){const n=new it(this,e);t=new Proxy(ct(e),n),Ye(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:function(e,t){},valueMutated:function(e,t){const n=he.get(e);if(!I(n)){const e=n[t];if(!I(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}},tagPropertyKey:ut});function ft(e){return dt.getReadOnlyProxy(e)}function pt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!V(n))throw new TypeError;if(!V(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const e=tr(this);if(!Pn(e))return n.call(e.elm)},set(t){const n=tr(this);return Le(n,e,t),r.call(n.elm,t)}}}const ht=i(n(null)),mt=new WeakMap,gt=function(){if(F($n))throw new TypeError("Illegal constructor");const e=$n,{def:t,elm:n}=e,{bridge:r}=t,o=this;if(p(n,r.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return er(o,e),er(n,e),1===e.renderMode?e.renderRoot=wt(e):e.renderRoot=n,this};function wt(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,er(s,e),s}gt.prototype={constructor:gt,dispatchEvent(e){const t=tr(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=tr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,Vn(r,t),n)},removeEventListener(e,t,n){const r=tr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,Vn(r,t),n)},hasAttribute(e){const t=tr(this),{elm:n,renderer:{getAttribute:r}}=t;return!F(r(n,e))},hasAttributeNS(e,t){const n=tr(this),{elm:r,renderer:{getAttribute:o}}=n;return!F(o(r,t,e))},removeAttribute(e){const t=tr(this),{elm:n,renderer:{removeAttribute:r}}=t;Ne(n,e),r(n,e),Oe()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=tr(this);Ne(n,t),r(n,t,e),Oe()},getAttribute(e){const t=tr(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=tr(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=tr(this),{elm:r,renderer:{setAttribute:o}}=n;Ne(r,e),o(r,e,t),Oe()},setAttributeNS(e,t,n){const r=tr(this),{elm:o,renderer:{setAttribute:i}}=r;Ne(o,t),i(o,t,n,e),Oe()},getBoundingClientRect(){const e=tr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=tr(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=tr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return tr(this).shadowRoot},get refs(){const e=tr(this);if(Mn)return;const{refVNodes:t,hasRefVNodes:r,cmpTemplate:o}=e;if(!r)return;if(F(t))return ht;let s=mt.get(t);if(I(s)){s=n(null);for(const e of d(t))s[e]=t[e].elm;i(s),mt.set(t,s)}return s},set refs(e){o(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=tr(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=tr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=tr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=tr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=tr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=tr(this);return e.renderer.getLastElementChild(e.elm)},render(){return tr(this).def.template},toString(){return`[object ${tr(this).def.name}]`}};const yt=n(null),bt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of bt)yt[e]={value(t){const n=tr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};r(gt.prototype,yt);const vt=n(null);for(const e in _e)vt[e]=pt(e,_e[e]);function Et(e){return{get(){return tr(this).cmpFields[e]},set(t){Le(tr(this),e,t)},enumerable:!0,configurable:!0}}r(gt.prototype,vt),o(gt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const Ct={observe(e){e()},reset(){},link(){}};function St(e){return{get(){const t=tr(this);if(!Pn(t))return t.cmpProps[e]},set(t){tr(this).cmpProps[e]=t},enumerable:!0,configurable:!0}}function kt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!V(n))throw new Error;return{get(){return n.call(this)},set(t){const n=tr(this);if(r)if(ue.ENABLE_REACTIVE_SETTER){let o=n.oar[e];I(o)&&(o=n.oar[e]=Ct),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function Tt(e){return{get(){return tr(this).cmpFields[e]},set(t){Le(tr(this),e,t)},enumerable:!0,configurable:!0}}function Mt(e){return{get(){return tr(this).cmpFields[e]},set(t){Le(tr(this),e,t)},enumerable:!0,configurable:!0}}const xt=new Map;const At={apiMethods:de,apiFields:de,apiFieldsConfig:de,wiredMethods:de,wiredFields:de,observedFields:de};const Ot=new Set;function Nt(){return[]}Ot.add(Nt);const _t=n(null),Lt=n(null);function $t(e){let t=_t[e];return I(t)&&(t=_t[e]=function(){const t=tr(this),{getHook:n}=t;return n(t.component,e)}),t}function Pt(e){let t=Lt[e];return I(t)&&(t=Lt[e]=function(t){const n=tr(this),{setHook:r}=n;t=ft(t),r(n.component,e,t)}),t}function Dt(e){return function(){const t=tr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,x.call(arguments))}}function Rt(e,t){return function(n,r,o){if(r===o)return;const i=e[n];I(i)?I(t)||t.apply(this,arguments):Ae(this,n)&&(this[i]=o)}}function It(e,t,i){let s;V(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),o(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=n(null),{attributeChangedCallback:a}=e.prototype,{observedAttributes:c=[]}=e,u=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[se(n)]=n,u[n]={get:$t(n),set:Pt(n),enumerable:!0,configurable:!0}}for(let e=0,t=i.length;e<t;e+=1){const t=i[e];u[t]={value:Dt(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:Rt(l,a)},o(s,"observedAttributes",{get:()=>[...c,...d(l)]}),r(s.prototype,u),s}const Ft=It(Se,l(_e),[]);i(Ft),f(Ft.prototype);const Ht=new WeakMap;function Bt(e){const{shadowSupportMode:o,renderMode:i}=e,s=function(e){const t=xt.get(e);return I(t)?At:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:f,wiredMethods:p,observedFields:h}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=a(e);if(F(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(Ce(t)){const e=Ee(t);t=e===t?gt:e}return t}(e),C=E!==gt?jt(E):Wt,S=It(C.bridge,d(l),d(u)),k=t(n(null),C.props,l),T=t(n(null),C.propsConfig,c),M=t(n(null),C.methods,u),x=t(n(null),C.wire,f,p);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let A=C.shadowSupportMode;I(o)||(A=o);let O=C.renderMode;I(i)||(O="light"===i?0:1);const N=function(e){return In.get(e)}(e)||C.template,_=e.name||C.name;r(m,h);return{ctor:e,name:_,wire:x,props:k,propsConfig:T,methods:M,bridge:S,template:N,renderMode:O,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Vt(e){if(!V(e))return!1;if(e.prototype instanceof gt)return!0;let t=e;do{if(Ce(t)){const e=Ee(t);if(e===t)return!0;t=e}if(t===gt)return!0}while(!F(t)&&(t=a(t)));return!1}function jt(e){let t=Ht.get(e);if(I(t)){if(Ce(e)){return t=jt(Ee(e)),Ht.set(e,t),t}if(!Vt(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=Bt(e),Ht.set(e,t)}return t}const Wt={ctor:gt,name:gt.name,props:vt,propsConfig:de,methods:de,renderMode:1,shadowSupportMode:"reset",wire:de,bridge:Ft,template:Nt,render:gt.prototype.render};function Gt(e){return`${e}-host`}function Ut(e){return Tn.h("style",{key:"style",attrs:{type:"text/css"}},[Tn.t(e)])}function Kt(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(h(s))S.apply(r,Kt(s,t,n));else{const e=s.$scoped$;if(ue.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){ve("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let a;1===n.renderMode?a=0===n.shadowMode:(I(o)&&(o=qt(n)),a=F(o)||0===o.shadowMode),S.call(r,s(i,l,a))}}return r}function zt(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return I(n)||0===n.length||(o=Kt(n,r,e)),o}function qt(e){let t=e;for(;!F(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Yt(e){const{type:t}=e;return 2===t||3===t}function Xt(e,t){return e.key===t.key&&e.sel===t.sel}function Jt(e,t){return"input"===e&&("value"===t||"checked"===t)}const Qt=n(null);function Zt(e){if(null==e)return de;e=j(e)?e:e+"";let t=Qt[e];if(t)return t;t=n(null);let r,o=0;const i=e.length;for(r=0;r<i;r++)32===$.call(e,r)&&(r>o&&(t[D.call(e,o,r)]=!0),o=r+1);return r>o&&(t[D.call(e,o,r)]=!0),Qt[e]=t,t}function en(e,t,n,r){var o;o=t,mn.has(o)?wn(e,t,n,r):yn(e,t,n,r)}function tn(e,t,n,r){var o,i;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&un(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:i}=t;i?yn(e.children,o,n,r):wn(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;fn(e,t,n),en(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);sn(e,n,r,!0),rn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;fn(e,t,r),I(o)||hn(t,o),en(e.children,t.children,n,r),I(o)||function(e){rr(e)}(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function nn(e,t,n,r){var o,i;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:i}=r,s=e.elm=i(e.text);cn(s,o,r),dn(s,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:i}=r,s=e.elm=i(e.text);cn(s,o,r),dn(s,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:i,isSyntheticShadowDefined:s}=r,l=e.elm=i(e.fragment,!0);cn(l,o,r);const{renderMode:a,shadowMode:c}=o;s&&(1!==c&&0!==a||(l.$shadowStaticNode$=!0));dn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;on(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:i,data:{svg:s}}=e,{createElement:l}=r,a=H(s)?"http://www.w3.org/2000/svg":void 0,c=e.elm=l(o,a);cn(c,i,r),pn(c,i,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(c,e),fn(null,e,r),dn(c,t,n,r),on(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:rn(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function rn(e,t,n,r){const{sel:o,owner:i}=e,{createCustomElement:s}=r;let l;const a=s(o,(t=>{l=function(e,t,n){let r=nr(e);if(!I(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=Zn(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}),(e=>{ue.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&Xn(e)}),(e=>{ue.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&Jn(e)}));e.elm=a,e.vm=l,cn(a,i,r),pn(a,i,r),l&&hn(e,l),fn(null,e,r),dn(a,t,n,r),l&&or(l),on(e.children,a,r,null),l&&function(e){rr(e)}(l)}function on(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];an(i)&&nn(i,t,n,r)}}function sn(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?ln(e.children,t,n,r):function(e,t,n){n.remove(e,t)}(i,t,n)),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;ln(e.children,i,n,t);break}case 3:{const{vm:t}=e;I(t)||function(e){Qn(e)}(t)}}}function ln(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];an(i)&&sn(i,t,n,r)}}function an(e){return null!=e}function cn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function un(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function dn(e,t,n,r){r.insert(e,t,n)}function fn(e,n,r){F(e)&&(function(e,t){const{elm:n,data:{on:r}}=e;if(I(r))return;const{addEventListener:o}=t;for(const e in r)o(n,e,r[e])}(n,r),function(e,t){const{elm:n,data:{classMap:r}}=e;if(I(r))return;const{getClassList:o}=t,i=o(n);for(const e in r)i.add(e)}(n,r),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(I(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,i,s]=r[e];o(n,t,i,s)}}(n,r)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=F(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),a=Zt(o),c=Zt(i);let u;for(u in c)I(a[u])&&l.remove(u);for(u in a)I(c[u])&&l.add(u)}(e,n,r),function(e,t,n){const{elm:r,data:{style:o}}=t;if((F(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;j(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,n,r),function(e,t,n){const{attrs:r}=t.data;if(I(r))return;const o=F(e)?de:e.data.attrs;if(o===r)return;const{elm:i}=t,{setAttribute:s,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(Ne(i,e),58===$.call(e,3)?s(i,e,t,"http://www.w3.org/XML/1998/namespace"):58===$.call(e,5)?s(i,e,t,"http://www.w3.org/1999/xlink"):F(t)||I(t)?l(i,e):s(i,e,t),Oe())}}(e,n,r),function(e,n,r){let{props:o}=n.data;const{spread:i}=n.data;if(I(o)&&I(i))return;let s;if(!F(e)){s=e.data.props;const n=e.data.spread;if(s===o&&n===i)return;I(s)&&(s=de),I(n)||(s=t({},s,n))}I(i)||(o=t({},o,i));const l=F(e),{elm:a,sel:c}=n,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(Jt(c,e)?u(a,e):s[e])&&e in s||d(a,e,t)}}(e,n,r)}function pn(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(!F(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||I(o)||(e.$shadowToken$=o)}function hn(e,t){const r=e.aChildren||e.children;t.aChildren=r;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t){var r;const{cmpSlots:o}=e,i=e.cmpSlots=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(F(n))continue;let o="";Yt(n)&&(o=(null===(r=n.data.attrs)||void 0===r?void 0:r.slot)||"");const s=i[o]=i[o]||[];S.call(s,n)}if(B(e.isDirty)){const t=d(o);if(t.length!==d(i).length)return void Hn(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(I(i[r])||o[r].length!==i[r].length)return void Hn(e);const s=o[r],l=i[r];for(let t=0,n=i[r].length;t<n;t+=1)if(s[t]!==l[t])return void Hn(e)}}}(t,r),e.aChildren=r,e.children=fe)}const mn=new WeakMap;function gn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(an(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function wn(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],a=e[s];const c=t.length-1;let u,d,f,p,h=c,m=t[0],g=t[h],w=!1;for(;o<=s&&i<=h;)an(l)?an(a)?an(m)?an(g)?Xt(l,m)?(tn(l,m,n,r),l=e[++o],m=t[++i]):Xt(a,g)?(tn(a,g,n,r),a=e[--s],g=t[--h]):Xt(l,g)?(tn(l,g,n,r),dn(l.elm,n,r.nextSibling(a.elm),r),l=e[++o],g=t[--h]):Xt(a,m)?(tn(a,m,n,r),dn(m.elm,n,l.elm,r),a=e[--s],m=t[++i]):(void 0===u&&(u=gn(e,o,s)),d=u[m.key],I(d)?(nn(m,n,r,l.elm),m=t[++i]):(f=e[d],an(f)&&(f.sel!==m.sel?nn(m,n,r,l.elm):(tn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,dn(f.elm,n,l.elm,r))),m=t[++i])):g=t[--h]:m=t[++i]:a=e[--s]:l=e[++o];if(o<=s||i<=h)if(o>s){let e,o=h;do{e=t[++o]}while(!an(e)&&o<c);p=an(e)?e.elm:null,on(t,n,r,p,i,h+1)}else ln(e,n,r,!0,o,s+1)}function yn(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void on(t,n,r,null);if(0===i)return void ln(e,n,r,!0);let s=null;for(let o=i-1;o>=0;o-=1){const i=e[o],l=t[o];l!==i&&(an(i)?an(l)?(tn(i,l,n,r),s=l.elm):sn(i,n,r,!0):an(l)&&(nn(l,n,r,s),s=l.elm))}}const bn=Symbol.iterator;function vn(e,t,n=fe){const r=An(),{key:o,ref:i}=t,s={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return I(i)||pe(r,i,s),s}function En(e,t,n,r=fe){const o=An(),{key:i,ref:s}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:i,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){S.call(An().velements,e)}(l),I(s)||pe(o,s,l),l}function Cn(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:An()}}function Sn(e){var t;return t=e,mn.set(t,1),e}let kn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const Tn=i({s:function(e,t,n,r){I(r)||I(r[e])||0===r[e].length||(n=r[e]);const o=An(),{renderMode:i,shadowMode:s}=o;return 0===i?(Sn(n),n):(1===s&&Sn(n),vn("slot",t,n))},h:vn,c:En,i:function(e,t){const n=[];if(Sn(n),I(e)||null===e)return n;const r=e[bn]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);h(e)?S.apply(n,e):S.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];Sn(n);for(let r=0;r<t;r+=1){const t=e[r];h(t)?S.apply(n,t):S.call(n,t)}return n},t:Cn,d:function(e){return null==e?"":String(e)},b:function(e){const t=An();if(F(t))throw new Error;const n=t;return function(t){Rn(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:An()}},dc:function(e,t,n,r=fe){if(null==t)return null;if(!Vt(t))throw new Error(`Invalid LWC Constructor ${U(t)} for custom element <${e}>.`);return En(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[Cn(""),...t,Cn("")],stable:n,owner:An()}},ti:function(e){return e>0&&!(H(e)||B(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:An()}},gid:function(e){const t=An();if(I(e)||""===e)return e;if(F(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?P.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=An();if(I(e)||""===e)return e;if(F(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return kn(e)}});let Mn=!1,xn=null;function An(){return xn}function On(e){xn=e}const Nn=(_n=(e,t)=>{const{createFragment:n}=t;return n(e)},(e,...t)=>{const r=n(null);return function(){const{context:{hasScopedStyles:n,stylesheetToken:o},shadowMode:i,renderer:s}=An(),l=!I(o),a=1===i;let c=0;if(l&&n&&(c|=1),l&&a&&(c|=2),!I(r[c]))return r[c];const u=n&&l?" "+o:"",d=n&&l?` class="${o}"`:"",f=l&&a?" "+o:"";let p="";for(let n=0,r=t.length;n<r;n++)switch(t[n]){case 0:p+=e[n]+u;break;case 1:p+=e[n]+d;break;case 2:p+=e[n]+f;break;case 3:p+=e[n]+d+f}return p+=e[e.length-1],r[c]=_n(p,s),r[c]}});var _n;function Ln(e,t){const r=Mn,o=xn;let i=[];return cr(e,e.owner,(()=>{xn=e}),(()=>{const{component:r,context:o,cmpSlots:s,cmpTemplate:l,tro:a}=e;a.observe((()=>{if(t!==l){if(F(l)||ar(e),a=t,!Ot.has(a))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${U(t)}.`);e.cmpTemplate=t,o.tplCache=n(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!I(t))for(let e=0;e<t.length;e++)if(H(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:l,setAttribute:a}}=e,{stylesheets:c,stylesheetToken:u}=t,d=1===o&&1===i,{hasScopedStyles:f}=r;let p,h,m;const{stylesheetToken:g,hasTokenInClass:w,hasTokenInAttribute:y}=r;I(g)||(w&&s(n).remove(Gt(g)),y&&l(n,Gt(g))),I(c)||0===c.length||(p=u),I(p)||(f&&(s(n).add(Gt(p)),h=!0),d&&(a(n,Gt(p),""),m=!0)),r.stylesheetToken=p,r.hasTokenInClass=h,r.hasTokenInAttribute=m}(e,t);const r=zt(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 E.call(t,Ut);for(let e=0;e<t.length;e++)o(t[e]);return null}(e,r)}var a;const c=Boolean(t.hasRefs);e.hasRefVNodes=c,e.refVNodes=c?n(null):null,e.velements=[],Mn=!0,i=t.call(void 0,Tn,r,s,o.tplCache);const{styleVNodes:u}=o;F(u)||N.apply(i,u)}))}),(()=>{Mn=r,xn=o})),i}let $n=null;function Pn(e){return $n===e}function Dn(e,t,n){const{component:r,callHook:o,owner:i}=e;cr(e,i,W,(()=>{o(r,t,n)}),W)}function Rn(e,t,n,r){const{callHook:o,owner:i}=e;cr(e,i,W,(()=>{o(n,t,[r])}),W)}const In=new Map;function Fn(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=An();let s,l=!1;return cr(e,o,(()=>{On(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{On(i)})),l?Ln(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Hn(e){e.isDirty=!0}const Bn=new WeakMap;function Vn(e,t){if(!V(t))throw new TypeError;let n=Bn.get(t);return I(n)&&(n=function(n){Rn(e,t,void 0,n)},Bn.set(t,n)),n}const jn=n(null),Wn=["rendered","connected","disconnected"];function Gn(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let Un=0;const Kn=new WeakMap;function zn(e,t,n=[]){return t.apply(e,n)}function qn(e,t,n){e[t]=n}function Yn(e,t){return e[t]}function Xn(e){const t=tr(e);1===t.state&&Jn(e),or(t),rr(t)}function Jn(e){Qn(tr(e))}function Qn(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){B(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=jn;t&&Gn(e,t);ir(e)&&function(e){const{wiredDisconnecting:t}=e.context;cr(e,e,W,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),W)}(e);const{disconnectedCallback:n}=e.def;I(n)||Dn(e,n)}(e),sr(e),function(e){const{aChildren:t}=e;lr(t)}(e)}}function Zn(e,t,r,o){const{mode:i,owner:s,tagName:l,hydrated:a}=o,c=jt(t),u={elm:e,def:c,idx:Un++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,refVNodes:null,hasRefVNodes:!1,children:fe,aChildren:fe,velements:fe,cmpProps:n(null),cmpFields:n(null),cmpSlots:n(null),oar:n(null),cmpTemplate:null,hydrated:Boolean(a),renderMode:c.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:de,wiredConnecting:fe,wiredDisconnecting:fe},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:zn,setHook:qn,getHook:Yn,renderer:r};return u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(ue.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!F(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=F(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,r),u.tro=ge(),function(e,t){const n=$n;let r;$n=e;try{const o=new t;if($n.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if($n=n,!I(r))throw ye(e,r),r}}(u,c.ctor),ir(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=ur.get(i);if(!I(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=fr(e,t,s),a=s.dynamic.length>0;S.call(r,(()=>{n.connect(),ue.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),S.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function er(e,t){Kn.set(e,t)}function tr(e){return Kn.get(e)}function nr(e){return Kn.get(e)}function rr(e){if(H(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&cr(e,e,(()=>{}),(()=>{en(r,t,n,o)}),(()=>{}));e.state}(e,Fn(e))}}function or(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=jn;n&&Gn(e,n),ir(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;I(r)||Dn(e,r)}function ir(e){return l(e.def.wire).length>0}function sr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!I(n)){const e=nr(n);I(e)||Qn(e)}}}function lr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!F(n)&&!I(n.elm))switch(n.type){case 2:lr(n.children);break;case 3:Qn(tr(n.elm));break}}}function ar(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];F(o)||I(o.elm)||r(o.elm,n)}e.children=fe,sr(e),e.velements=fe}function cr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!I(i)){ye(e,i);const n=F(t)?void 0:function(e){let t=e;for(;!F(t);){if(!I(t.def.errorCallback))return t;t=t.owner}}(t);if(I(n))throw i;ar(e);Dn(n,n.def.errorCallback,[i,i.wcStack])}}}const ur=new Map;class dr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function fr(e,t,n){const{method:r,adapter:i,configCallback:s,dynamic:l}=n,a=I(r)?function(e,t){return n=>{Le(e,t,n)}}(e,t):function(e,t){return n=>{cr(e,e.owner,W,(()=>{t.call(e.component,n)}),W)}}(e,r);let c,u;o(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),o(a,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),cr(e,e,W,(()=>{u=new i(a)}),W);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){const r=ge();return{computeConfigAndUpdate:()=>{let o;r.observe((()=>o=t(e))),n(o)},ro:r}}(e.component,s,(t=>{cr(e,e,W,(()=>{u.update(t,c)}),W)}));return I(i.contextSchema)||function(e,t,n){const{adapter:r}=t,o=hr(r);if(I(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:a}}=e;S.call(s,(()=>{const e=new dr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){S.call(l,e)}});a(i,e)}))}(e,n,(t=>{c!==t&&(c=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const pr=new Map;function hr(e){return pr.get(e)}function mr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};ur.set(e,o)}function gr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};ur.set(e,o)}let wr=!1;const yr=Symbol("namespace"),br=Symbol("type"),vr=Symbol("parent"),Er=Symbol("shadow-root"),Cr=Symbol("children"),Sr=Symbol("attributes"),kr=Symbol("event-listeners"),Tr=Symbol("value");var Mr;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(Mr||(Mr={}));const xr=/\s+/g;function Ar(e){return new Set(e.split(xr).filter((e=>e.length)))}function Or(e){return Array.from(e).join(" ")}function Nr(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function _r(e,t){return{[br]:Mr.Element,tagName:e,[yr]:null!=t?t:Q,[vr]:null,[Er]:null,[Cr]:[],[Sr]:[],[kr]:{}}}function Lr(e,t,n=null){const r=e[Sr].find((e=>e.name===t&&e[yr]===n));return r?r.value:null}function $r(e,t,n,r=null){const o=e[Sr].find((e=>e.name===t&&e[yr]===r));I(r)&&(r=null),I(o)?e[Sr].push({name:t,[yr]:r,value:String(n)}):o.value=n}function Pr(e,t,n){e[Sr]=e[Sr].filter((e=>e.name!==t&&e[yr]!==n))}const Dr=W,Rr=W,Ir=W,Fr=Nr("dispatchEvent"),Hr=Nr("getBoundingClientRect"),Br=Nr("querySelector"),Vr=Nr("querySelectorAll"),jr=Nr("getElementsByTagName"),Wr=Nr("getElementsByClassName"),Gr=Nr("getChildren"),Ur=Nr("getChildNodes"),Kr=Nr("getFirstChild"),zr=Nr("getFirstElementChild"),qr=Nr("getLastChild"),Yr=Nr("getLastElementChild"),Xr=W,Jr=new Map;function Qr(e){let t=Jr.get(e);return I(t)?(t=function(e){return function(t){const n=_r(e);return V(t)&&t(n),n}}(e),Jr.set(e,t),t):t}const Zr={isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,insert:function(e,t,n){const r=e[vr];if(null!==r&&r!==t){const t=r[Cr].indexOf(e);r[Cr].splice(t,1)}e[vr]=t;const o=F(n)?-1:t[Cr].indexOf(n);-1===o?t[Cr].push(e):t[Cr].splice(o,0,e)},remove:function(e,t){const n=t[Cr].indexOf(e);t[Cr].splice(n,1)},cloneNode:function(e){return e},createFragment:function(e){return{[br]:Mr.Raw,[vr]:null,[Tr]:e}},createElement:_r,createText:function(e){return{[br]:Mr.Text,[Tr]:String(e),[vr]:null}},createComment:function(e){return{[br]:Mr.Comment,[Tr]:e,[vr]:null}},createCustomElement:function(e,t){return new(Qr(e))(t)},nextSibling:function(e){const t=e[vr];if(F(t))return null;const n=t[Cr].indexOf(e);return t[Cr][n+1]||null},attachShadow:function(e,t){return e[Er]={[br]:Mr.ShadowRoot,[Cr]:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e[Er]},getProperty:function(e,t){var n,r;if(t in e)return e[t];if(e[br]===Mr.Element){const o=se(t);if(te(o,e.tagName))return null!==(n=Lr(e,o))&&void 0!==n&&n;if(re(o)||X(o))return Lr(e,o);if("input"===e.tagName&&"value"===t)return null!==(r=Lr(e,"value"))&&void 0!==r?r:""}},setProperty:function(e,t,n){if(t in e)return e[t]=n;if(e[br]===Mr.Element){const r=se(t);if("innerHTML"===t)return void(e[Cr]=[{[br]:Mr.Raw,[vr]:e,[Tr]:n}]);if(te(r,e.tagName))return!0===n?$r(e,r,""):Pr(e,r);if(re(r)||X(r))return $r(e,r,n);if("input"===e.tagName&&"value"===r)return F(n)||I(n)?Pr(e,"value"):$r(e,"value",n)}},setText:function(e,t){e[br]===Mr.Text?e[Tr]=t:e[br]===Mr.Element&&(e[Cr]=[{[br]:Mr.Text,[vr]:e,[Tr]:t}])},getAttribute:Lr,setAttribute:$r,removeAttribute:Pr,addEventListener:Rr,removeEventListener:Ir,dispatchEvent:Fr,getClassList:function(e){function t(){let t=e[Sr].find((e=>"class"===e.name&&F(e[yr])));return I(t)&&(t={name:"class",[yr]:null,value:""},e[Sr].push(t)),t}return{add(...e){const n=t(),r=Ar(n.value);e.forEach((e=>r.add(e))),n.value=Or(r)},remove(...e){const n=t(),r=Ar(n.value);e.forEach((e=>r.delete(e))),n.value=Or(r)}}},setCSSStyleProperty:function(e,t,n,r){const o=e[Sr].find((e=>"style"===e.name&&F(e[yr]))),i=`${t}: ${n}${r?" !important":""}`;I(o)?e[Sr].push({name:"style",[yr]:null,value:i}):o.value+=`; ${i}`},getBoundingClientRect:Hr,querySelector:Br,querySelectorAll:Vr,getElementsByTagName:jr,getElementsByClassName:Wr,getChildren:Gr,getChildNodes:Ur,getFirstChild:Kr,getFirstElementChild:zr,getLastChild:qr,getLastElementChild:Yr,isConnected:function(e){return!F(e[vr])},insertStylesheet:Dr,assertInstanceOfHTMLElement:Xr};function eo(e){return e.map((e=>{switch(e[br]){case Mr.Text:return""===e[Tr]?"":ae(e[Tr]);case Mr.Comment:return`\x3c!--${ae(e[Tr])}--\x3e`;case Mr.Raw:return e[Tr];case Mr.Element:return to(e)}})).join("")}function to(e){let t="";const n=e.tagName,r=e[yr],o=r!==Q,i=e[Cr].length>0;var s;return t+=`<${n}${e[Sr].length?` ${s=e[Sr],s.map((e=>e.value.length?`${e.name}="${ae(e.value,!0)}"`:e.name)).join(" ")}`:""}`,o&&!i?(t+="/>",t):(t+=">",e[Er]&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${eo(e[Cr])}</template>`}(e[Er])),t+=eo(e[Cr]),function(e,t){return t===Q&&Z.has(e.toLowerCase())}(n,r)&&!i||(t+=`</${n}>`),t)}const no={[br]:Mr.Element,tagName:"fake-root-element",[yr]:Q,[vr]:null,[Er]:null,[Cr]:[],[Sr]:[],[kr]:{}};i(gt),f(gt.prototype),exports.LightningElement=gt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=hr(e);if(!I(t))throw new Error("Adapter already has a context provider.");t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),function(e,t){pr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{I(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},exports.freezeTemplate=function(e){},exports.getComponentDef=function(e){const t=jt(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:se(e)};const a={};for(const e in s)a[e]=s[e].value;return{ctor:n,name:r,props:l,methods:a}},exports.isComponentConstructor=Vt,exports.parseFragment=Nn,exports.parseSVGFragment=Nn,exports.readonly=function(e){return ft(e)},exports.register=function(e){for(let t=0;t<Wn.length;++t){const n=Wn[t];if(n in e){let t=jn[n];I(t)&&(jn[n]=t=[]),S.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return V(e)&&In.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:i,publicMethods:l,wire:a,track:c,fields:u}=t,d=n(null),f=n(null),p=n(null),h=n(null),m=n(null),g=n(null);let w;if(!I(i))for(const e in i){const t=i[e];if(g[e]=t.config,w=s(r,e),t.config>0){if(I(w))throw new Error;w=kt(e,w)}else w=I(w)||I(w.get)?St(e):kt(e,w);f[e]=w,o(r,e,w)}if(I(l)||_.call(l,(e=>{if(w=s(r,e),I(w))throw new Error;d[e]=w})),!I(a))for(const e in a){const{adapter:t,method:n,config:i,dynamic:l=[]}=a[e];if(w=s(r,e),1===n){if(I(w))throw new Error;p[e]=w,mr(w,t,i,l)}else w=Mt(e),h[e]=w,gr(w,t,i,l),o(r,e,w)}if(!I(c))for(const e in c)w=s(r,e),w=Tt(e),o(r,e,w);if(!I(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=s(r,t);const n=!I(i)&&t in i,o=!I(c)&&t in c;n||o||(m[t]=Et(t))}return function(e,t){xt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return Ot.add(e),o(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return I(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=I(e)?void 0:e.shadowAttribute}}),e},exports.renderComponent=function(e,t,n={}){if(!j(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!V(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||F(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=Zr.createElement(e);Zn(r,t,Zr,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r[vr]=no,Xn(r),to(r)},exports.renderer=Zr,exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(I(ce[e])){const n=d(ce).map((e=>`"${e}"`)).join(", ");console.warn(`Failed to set the value "${t}" for the runtime feature flag "${e}" because it is undefined. Available flags: ${n}.`)}else{const n=ue[e];if(!I(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);o(ue,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},exports.setFeatureFlagForTest=function(e,t){},exports.setHooks=function(t){var n;e.isFalse(wr,"Hooks are already overridden, only one definition is allowed."),wr=!0,n=t.sanitizeHtmlContent,kn=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";Object.defineProperty(exports,"__esModule",{value:!0});var e=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:t,create:n,defineProperties:r,defineProperty:o,freeze:i,getOwnPropertyDescriptor:s,getOwnPropertyNames:l,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:d,seal:f,setPrototypeOf:p}=Object,{isArray:h}=Array,{concat:m,copyWithin:g,fill:w,filter:y,find:b,indexOf:v,join:E,map:C,pop:S,push:k,reduce:T,reverse:M,shift:x,slice:A,sort:N,splice:O,unshift:_,forEach:L}=Array.prototype,{fromCharCode:$}=String,{charCodeAt:P,replace:D,slice:R,toLowerCase:I}=String.prototype;function F(e){return void 0===e}function H(e){return null===e}function B(e){return!0===e}function V(e){return!1===e}function j(e){return"function"==typeof e}function W(e){return"string"==typeof e}function G(){}const U={}.toString;function K(e){return e&&e.toString?h(e)?E.call(C.call(e,K),","):e.toString():"object"==typeof e?U.call(e):e+""}function z(e,t){do{const n=s(e,t);if(!F(n))return n;e=a(e)}while(null!==e)}const q=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:Y,AriaPropNameToAttrNameMap:X}=(()=>{const e=n(null),t=n(null);return L.call(q,(n=>{const r=I.call(D.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function J(e){return e in Y}const Q=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),Z="http://www.w3.org/1999/xhtml",ee=new Set(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr","param","keygen","menuitem"]);const te=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 ne(e,t){const n=te.get(e);return void 0!==n&&(0===n.size||n.has(t))}const re=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 oe(e){return re.has(e)}const ie=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"]]),se=new Map;function le(e){const t=X[e];if(!F(t))return t;const n=ie.get(e);if(!F(n))return n;const r=se.get(e);if(!F(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=P.call(e,t);o+=n>=65&&n<=90?"-"+$(n+32):$(n)}return se.set(e,o),o}const ae={'"':""","'":"'","<":"<",">":">","&":"&"};function ce(e,t=!1){const n=t?/["&]/g:/["'<>&]/g;return e.replace(n,(e=>ae[e]))}if("function"!=typeof Event){class e{}o(Q,"Event",{value:e,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class e extends Event{}o(Q,"CustomEvent",{value:e,configurable:!0,writable:!0})}const ue={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY:null};Q.lwcRuntimeFlags||Object.defineProperty(Q,"lwcRuntimeFlags",{value:n(null)});const de=Q.lwcRuntimeFlags;const fe=f(n(null)),pe=f([]);function he(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}const me=new WeakMap;const ge={observe(e){e()},reset(){},link(){}};function we(e){return ge}function ye(e){return`<${I.call(e.tagName)}>`}function be(e,t){if(!u(t)&&F(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!H(n);)k.call(t,ye(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}function ve(e,t,n){let r=`[LWC ${e}]: ${t}`;F(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!H(e.owner);)k.call(t,n+ye(e)),e=e.owner,n+="\t";return E.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function Ee(e,t){ve("error",e,t)}function Ce(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Se(e){return j(e)&&c.call(e,"__circular__")}const ke="undefined"!=typeof HTMLElement?HTMLElement:function(){},Te=ke.prototype;function Me(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}t(n(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:Me("offsetHeight")},offsetLeft:{readOnly:!0,error:Me("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Me("offsetTop")},offsetWidth:{readOnly:!0,error:Me("offsetWidth")},role:{attribute:"role"}});let xe,Ae=null;function Ne(e,t){return e!==Ae||t!==xe}function Oe(e,t){Ae=null,xe=void 0}function _e(e,t){Ae=e,xe=t}const Le=n(null);function $e(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n)}L.call(d(X),(e=>{const t=z(Te,e);F(t)||(Le[e]=t)})),L.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=z(Te,e);F(t)||(Le[e]=t)}));const{isArray:Pe}=Array,{prototype:De,getPrototypeOf:Re,create:Ie,defineProperty:Fe,isExtensible:He,getOwnPropertyDescriptor:Be,getOwnPropertyNames:Ve,getOwnPropertySymbols:je,preventExtensions:We,hasOwnProperty:Ge}=Object,{push:Ue,concat:Ke}=Array.prototype;function ze(e){return void 0===e}function qe(e){return"function"==typeof e}const Ye=new WeakMap;function Xe(e,t){Ye.set(e,t)}const Je=e=>Ye.get(e)||e;class Qe{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(Ge.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;ze(n)||(e.get=this.wrapGetter(n)),ze(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=Be(n,t);if(!ze(r)){const n=this.wrapDescriptor(r);Fe(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;Ke.call(Ve(t),je(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;ze(n)||Ge.call(e,n)||Fe(e,n,Ie(null)),We(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=ze(n)||Ge.call(t,n)?[]:[n];return Ue.apply(r,Ve(t)),Ue.apply(r,je(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!He(e)&&(!!He(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Re(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=Be(n,t);if(ze(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},Fe(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const Ze=new WeakMap,et=new WeakMap,tt=new WeakMap,nt=new WeakMap;class rt extends Qe{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Ze.get(e);if(!ze(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Je(this)))};return Ze.set(e,r),tt.set(r,e),r}wrapSetter(e){const t=et.get(e);if(!ze(t))return t;const n=function(t){e.call(Je(this),Je(t))};return et.set(e,n),nt.set(n,e),n}unwrapDescriptor(e){if(Ge.call(e,"value"))e.value=Je(e.value);else{const{set:t,get:n}=e;ze(n)||(e.get=this.unwrapGetter(n)),ze(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=tt.get(e);if(!ze(t))return t;const n=this,r=function(){return Je(e.call(n.wrapValue(this)))};return Ze.set(r,e),tt.set(e,r),r}unwrapSetter(e){const t=nt.get(e);if(!ze(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return et.set(r,e),nt.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&&Pe(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(He(e)){const{originalTarget:t}=this;if(We(t),He(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!Ge.call(r,t)||(Fe(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const ot=new WeakMap,it=new WeakMap;class st extends Qe{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=ot.get(e);if(!ze(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Je(this)))};return ot.set(e,r),r}wrapSetter(e){const t=it.get(e);if(!ze(t))return t;const n=function(e){};return it.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 lt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(Pe(e))return!0;const t=Re(e);return t===De||null===t||null===Re(t)}const at=(e,t)=>{},ct=(e,t)=>{};function ut(e){return Pe(e)?[]:{}}const dt=Symbol.for("@@lockerLiveValue"),ft=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=qe(t)?t:ct,this.valueObserved=qe(n)?n:at,this.valueIsObservable=qe(r)?r:lt,this.tagPropertyKey=o}getProxy(e){const t=Je(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Je(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Je(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(ze(t)){const n=new rt(this,e);t=new Proxy(ut(e),n),Xe(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(ze(t)){const n=new st(this,e);t=new Proxy(ut(e),n),Xe(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:function(e,t){},valueMutated:function(e,t){const n=me.get(e);if(!F(n)){const e=n[t];if(!F(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}},tagPropertyKey:dt});function pt(e){return ft.getReadOnlyProxy(e)}function ht(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!j(n))throw new TypeError;if(!j(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const e=rr(this);if(!Rn(e))return n.call(e.elm)},set(t){const n=rr(this);return $e(n,e,t),r.call(n.elm,t)}}}const mt=i(n(null)),gt=new WeakMap,wt=function(){if(H(Dn))throw new TypeError("Illegal constructor");const e=Dn,{def:t,elm:n}=e,{bridge:r}=t,o=this;if(p(n,r.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return nr(o,e),nr(n,e),1===e.renderMode?e.renderRoot=yt(e):e.renderRoot=n,this};function yt(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,nr(s,e),s}wt.prototype={constructor:wt,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:i}}=r;i(o,e,Wn(r,t),n)},removeEventListener(e,t,n){const r=rr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,Wn(r,t),n)},hasAttribute(e){const t=rr(this),{elm:n,renderer:{getAttribute:r}}=t;return!H(r(n,e))},hasAttributeNS(e,t){const n=rr(this),{elm:r,renderer:{getAttribute:o}}=n;return!H(o(r,t,e))},removeAttribute(e){const t=rr(this),{elm:n,renderer:{removeAttribute:r}}=t;_e(n,e),r(n,e),Oe()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=rr(this);_e(n,t),r(n,t,e),Oe()},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;_e(r,e),o(r,e,t),Oe()},setAttributeNS(e,t,n){const r=rr(this),{elm:o,renderer:{setAttribute:i}}=r;_e(o,t),i(o,t,n,e),Oe()},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(An)return;const{refVNodes:t,hasRefVNodes:r,cmpTemplate:o}=e;if(!r)return;if(H(t))return mt;let s=gt.get(t);if(F(s)){s=n(null);for(const e of d(t))s[e]=t[e].elm;i(s),gt.set(t,s)}return s},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)},render(){return rr(this).def.template},toString(){return`[object ${rr(this).def.name}]`}};const bt=n(null),vt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of vt)bt[e]={value(t){const n=rr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};r(wt.prototype,bt);const Et=n(null);for(const e in Le)Et[e]=ht(e,Le[e]);function Ct(e){return{get(){return rr(this).cmpFields[e]},set(t){$e(rr(this),e,t)},enumerable:!0,configurable:!0}}r(wt.prototype,Et),o(wt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const St={observe(e){e()},reset(){},link(){}};function kt(e){return{get(){const t=rr(this);if(!Rn(t))return t.cmpProps[e]},set(t){rr(this).cmpProps[e]=t},enumerable:!0,configurable:!0}}function Tt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!j(n))throw new Error;return{get(){return n.call(this)},set(t){const n=rr(this);if(r)if(de.ENABLE_REACTIVE_SETTER){let o=n.oar[e];F(o)&&(o=n.oar[e]=St),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function Mt(e){return{get(){return rr(this).cmpFields[e]},set(t){$e(rr(this),e,t)},enumerable:!0,configurable:!0}}function xt(e){return{get(){return rr(this).cmpFields[e]},set(t){$e(rr(this),e,t)},enumerable:!0,configurable:!0}}const At=new Map;const Nt={apiMethods:fe,apiFields:fe,apiFieldsConfig:fe,wiredMethods:fe,wiredFields:fe,observedFields:fe};const Ot=new Set;function _t(){return[]}Ot.add(_t);const Lt=n(null),$t=n(null);function Pt(e){let t=Lt[e];return F(t)&&(t=Lt[e]=function(){const t=rr(this),{getHook:n}=t;return n(t.component,e)}),t}function Dt(e){let t=$t[e];return F(t)&&(t=$t[e]=function(t){const n=rr(this),{setHook:r}=n;t=pt(t),r(n.component,e,t)}),t}function Rt(e){return function(){const t=rr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,A.call(arguments))}}function It(e,t){return function(n,r,o){if(r===o)return;const i=e[n];F(i)?F(t)||t.apply(this,arguments):Ne(this,n)&&(this[i]=o)}}function Ft(e,t,i){let s;j(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),o(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=n(null),{attributeChangedCallback:a}=e.prototype,{observedAttributes:c=[]}=e,u=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[le(n)]=n,u[n]={get:Pt(n),set:Dt(n),enumerable:!0,configurable:!0}}for(let e=0,t=i.length;e<t;e+=1){const t=i[e];u[t]={value:Rt(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:It(l,a)},o(s,"observedAttributes",{get:()=>[...c,...d(l)]}),r(s.prototype,u),s}const Ht=Ft(ke,l(Le),[]);i(Ht),f(Ht.prototype);const Bt=new WeakMap;function Vt(e){const{shadowSupportMode:o,renderMode:i}=e,s=function(e){const t=At.get(e);return F(t)?Nt:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:f,wiredMethods:p,observedFields:h}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=a(e);if(H(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(Se(t)){const e=Ce(t);t=e===t?wt:e}return t}(e),C=E!==wt?Wt(E):Gt,S=Ft(C.bridge,d(l),d(u)),k=t(n(null),C.props,l),T=t(n(null),C.propsConfig,c),M=t(n(null),C.methods,u),x=t(n(null),C.wire,f,p);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let A=C.shadowSupportMode;F(o)||(A=o);let N=C.renderMode;F(i)||(N="light"===i?0:1);const O=function(e){return Hn.get(e)}(e)||C.template,_=e.name||C.name;r(m,h);return{ctor:e,name:_,wire:x,props:k,propsConfig:T,methods:M,bridge:S,template:O,renderMode:N,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function jt(e){if(!j(e))return!1;if(e.prototype instanceof wt)return!0;let t=e;do{if(Se(t)){const e=Ce(t);if(e===t)return!0;t=e}if(t===wt)return!0}while(!H(t)&&(t=a(t)));return!1}function Wt(e){let t=Bt.get(e);if(F(t)){if(Se(e)){return t=Wt(Ce(e)),Bt.set(e,t),t}if(!jt(e))throw new TypeError(`${e} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);t=Vt(e),Bt.set(e,t)}return t}const Gt={ctor:wt,name:wt.name,props:Et,propsConfig:fe,methods:fe,renderMode:1,shadowSupportMode:"reset",wire:fe,bridge:Ht,template:_t,render:wt.prototype.render};function Ut(e){return`${e}-host`}function Kt(e){return xn.h("style",{key:"style",attrs:{type:"text/css"}},[xn.t(e)])}function zt(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(h(s))k.apply(r,zt(s,t,n));else{const e=s.$scoped$;if(de.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){Ee("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let a;1===n.renderMode?a=0===n.shadowMode:(F(o)&&(o=Yt(n)),a=H(o)||0===o.shadowMode),k.call(r,s(i,l,a))}}return r}function qt(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return F(n)||0===n.length||(o=zt(n,r,e)),o}function Yt(e){let t=e;for(;!H(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Xt(e){const{type:t}=e;return 2===t||3===t}function Jt(e,t){return e.key===t.key&&e.sel===t.sel}function Qt(e){return 6===e.type}function Zt(e,t){return"input"===e&&("value"===t||"checked"===t)}const en=n(null);function tn(e){if(null==e)return fe;e=W(e)?e:e+"";let t=en[e];if(t)return t;t=n(null);let r,o=0;const i=e.length;for(r=0;r<i;r++)32===P.call(e,r)&&(r>o&&(t[R.call(e,o,r)]=!0),o=r+1);return r>o&&(t[R.call(e,o,r)]=!0),en[e]=t,t}function nn(e,t,n,r){var o;o=t,wn.has(o)?bn(e,t,n,r):vn(e,t,n,r)}function rn(e,t,n,r){var o,i;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&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:i}=t;i?vn(e.children,o,n,r):bn(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),nn(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);an(e,n,r,!0),sn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;hn(e,t,r),F(o)||gn(t,o),nn(e.children,t.children,n,r),F(o)||function(e){ir(e)}(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function on(e,t,n,r){var o,i;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:i}=r,s=e.elm=i(e.text);dn(s,o,r),pn(s,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:i}=r,s=e.elm=i(e.text);dn(s,o,r),pn(s,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:i,isSyntheticShadowDefined:s}=r,l=e.elm=i(e.fragment,!0);dn(l,o,r);const{renderMode:a,shadowMode:c}=o;s&&(1!==c&&0!==a||(l.$shadowStaticNode$=!0));pn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;ln(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:i,data:{svg:s}}=e,{createElement:l}=r,a=B(s)?"http://www.w3.org/2000/svg":void 0,c=e.elm=l(o,a);dn(c,i,r),mn(c,i,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(c,e),hn(null,e,r),pn(c,t,n,r),ln(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:sn(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function sn(e,t,n,r){const{sel:o,owner:i}=e,{createCustomElement:s}=r;let l;const a=s(o,(t=>{l=function(e,t,n){let r=or(e);if(!F(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=tr(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}),(e=>{de.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&Qn(e)}),(e=>{de.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&Zn(e)}));e.elm=a,e.vm=l,dn(a,i,r),mn(a,i,r),l&&gn(e,l),hn(null,e,r),pn(a,t,n,r),l&&sr(l),ln(e.children,a,r,null),l&&function(e){ir(e)}(l)}function ln(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];un(i)&&on(i,t,n,r)}}function an(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?cn(e.children,t,n,r):function(e,t,n){n.remove(e,t)}(i,t,n)),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;cn(e.children,i,n,t);break}case 3:{const{vm:t}=e;F(t)||function(e){er(e)}(t)}}}function cn(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];un(i)&&an(i,t,n,r)}}function un(e){return null!=e}function dn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function fn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function pn(e,t,n,r){r.insert(e,t,n)}function hn(e,n,r){H(e)&&(function(e,t){const{elm:n,data:{on:r}}=e;if(F(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(F(r))return;const{getClassList:o}=t,i=o(n);for(const e in r)i.add(e)}(n,r),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(F(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,i,s]=r[e];o(n,t,i,s)}}(n,r)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=H(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),a=tn(o),c=tn(i);let u;for(u in c)F(a[u])&&l.remove(u);for(u in a)F(c[u])&&l.add(u)}(e,n,r),function(e,t,n){const{elm:r,data:{style:o}}=t;if((H(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;W(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,n,r),function(e,t,n){const{attrs:r}=t.data;if(F(r))return;const o=H(e)?fe:e.data.attrs;if(o===r)return;const{elm:i}=t,{setAttribute:s,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(_e(i,e),58===P.call(e,3)?s(i,e,t,"http://www.w3.org/XML/1998/namespace"):58===P.call(e,5)?s(i,e,t,"http://www.w3.org/1999/xlink"):H(t)||F(t)?l(i,e):s(i,e,t),Oe())}}(e,n,r),function(e,n,r){let{props:o}=n.data;const{spread:i}=n.data;if(F(o)&&F(i))return;let s;if(!H(e)){s=e.data.props;const n=e.data.spread;if(s===o&&n===i)return;F(s)&&(s=fe),F(n)||(s=t({},s,n))}F(i)||(o=t({},o,i));const l=H(e),{elm:a,sel:c}=n,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(Zt(c,e)?u(a,e):s[e])&&e in s||d(a,e,t)}}(e,n,r)}function mn(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(!H(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||F(o)||(e.$shadowToken$=o)}function gn(e,t){const r=e.aChildren||e.children;t.aChildren=r;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t,r){var o,i;const{cmpSlots:{slotAssignments:s}}=e,l=n(null);e.cmpSlots={owner:r,slotAssignments:l};for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(H(n))continue;let r="";Xt(n)?r=null!==(i=null===(o=n.data.attrs)||void 0===o?void 0:o.slot)&&void 0!==i?i:"":Qt(n)&&(r=n.slotName);const s=l[r]=l[r]||[];k.call(s,n)}if(V(e.isDirty)){const t=d(s);if(t.length!==d(l).length)return void Vn(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(F(l[r])||s[r].length!==l[r].length)return void Vn(e);const o=s[r],i=l[r];for(let t=0,n=l[r].length;t<n;t+=1)if(o[t]!==i[t])return void Vn(e)}}}(t,r,e.owner),e.aChildren=r,e.children=pe)}const wn=new WeakMap;function yn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(un(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function bn(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],a=e[s];const c=t.length-1;let u,d,f,p,h=c,m=t[0],g=t[h],w=!1;for(;o<=s&&i<=h;)un(l)?un(a)?un(m)?un(g)?Jt(l,m)?(rn(l,m,n,r),l=e[++o],m=t[++i]):Jt(a,g)?(rn(a,g,n,r),a=e[--s],g=t[--h]):Jt(l,g)?(rn(l,g,n,r),pn(l.elm,n,r.nextSibling(a.elm),r),l=e[++o],g=t[--h]):Jt(a,m)?(rn(a,m,n,r),pn(m.elm,n,l.elm,r),a=e[--s],m=t[++i]):(void 0===u&&(u=yn(e,o,s)),d=u[m.key],F(d)?(on(m,n,r,l.elm),m=t[++i]):(f=e[d],un(f)&&(f.sel!==m.sel?on(m,n,r,l.elm):(rn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,pn(f.elm,n,l.elm,r))),m=t[++i])):g=t[--h]:m=t[++i]:a=e[--s]:l=e[++o];if(o<=s||i<=h)if(o>s){let e,o=h;do{e=t[++o]}while(!un(e)&&o<c);p=un(e)?e.elm:null,ln(t,n,r,p,i,h+1)}else cn(e,n,r,!0,o,s+1)}function vn(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void ln(t,n,r,null);if(0===i)return void cn(e,n,r,!0);let s=null;for(let o=i-1;o>=0;o-=1){const i=e[o],l=t[o];l!==i&&(un(i)?un(l)?(rn(i,l,n,r),s=l.elm):an(i,n,r,!0):un(l)&&(on(l,n,r,s),s=l.elm))}}const En=Symbol.iterator;function Cn(e,t,n=pe){const r=On(),{key:o,ref:i}=t,s={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return F(i)||he(r,i,s),s}function Sn(e,t,n,r=pe){const o=On(),{key:i,ref:s}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:i,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){k.call(On().velements,e)}(l),F(s)||he(o,s,l),l}function kn(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:On()}}function Tn(e){var t;return t=e,wn.set(t,1),e}let Mn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const xn=i({s:function(e,t,n,r){F(r)||F(r.slotAssignments)||F(r.slotAssignments[e])||0===r.slotAssignments[e].length||(n=r.slotAssignments[e].reduce(((e,n)=>{if(n&&Qt(n)){const o=On();let i=[];_n(r.owner);try{i=n.factory(t.slotData)}finally{_n(o)}return m.call(e,i)}return m.call(e,n)}),[]));const o=On(),{renderMode:i,shadowMode:s}=o;return 0===i?(Tn(n),n):(1===s&&Tn(n),Cn("slot",t,n))},h:Cn,c:Sn,i:function(e,t){const n=[];if(Tn(n),F(e)||null===e)return n;const r=e[En]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);h(e)?k.apply(n,e):k.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];Tn(n);for(let r=0;r<t;r+=1){const t=e[r];h(t)?k.apply(n,t):k.call(n,t)}return n},t:kn,d:function(e){return null==e?"":String(e)},b:function(e){const t=On();if(H(t))throw new Error;const n=t;return function(t){Fn(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:On()}},dc:function(e,t,n,r=pe){if(null==t)return null;if(!jt(t))throw new Error(`Invalid LWC Constructor ${K(t)} for custom element <${e}>.`);return Sn(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[kn(""),...t,kn("")],stable:n,owner:On()}},ti:function(e){return e>0&&!(B(e)||V(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:On()}},gid:function(e){const t=On();if(F(e)||""===e)return e;if(H(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=On();if(F(e)||""===e)return e;if(H(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return Mn(e)},ssf:function(e,t){return{type:6,factory:t,owner:On(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let An=!1,Nn=null;function On(){return Nn}function _n(e){Nn=e}const Ln=($n=(e,t)=>{const{createFragment:n}=t;return n(e)},(e,...t)=>{const r=n(null);return function(){const{context:{hasScopedStyles:n,stylesheetToken:o},shadowMode:i,renderer:s}=On(),l=!F(o),a=1===i;let c=0;if(l&&n&&(c|=1),l&&a&&(c|=2),!F(r[c]))return r[c];const u=n&&l?" "+o:"",d=n&&l?` class="${o}"`:"",f=l&&a?" "+o:"";let p="";for(let n=0,r=t.length;n<r;n++)switch(t[n]){case 0:p+=e[n]+u;break;case 1:p+=e[n]+d;break;case 2:p+=e[n]+f;break;case 3:p+=e[n]+d+f}return p+=e[e.length-1],r[c]=$n(p,s),r[c]}});var $n;function Pn(e,t){const r=An,o=Nn;let i=[];return dr(e,e.owner,(()=>{Nn=e}),(()=>{const{component:r,context:o,cmpSlots:s,cmpTemplate:l,tro:a}=e;a.observe((()=>{if(t!==l){if(H(l)||ur(e),a=t,!Ot.has(a))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${K(t)}.`);e.cmpTemplate=t,o.tplCache=n(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!F(t))for(let e=0;e<t.length;e++)if(B(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:l,setAttribute:a}}=e,{stylesheets:c,stylesheetToken:u}=t,d=1===o&&1===i,{hasScopedStyles:f}=r;let p,h,m;const{stylesheetToken:g,hasTokenInClass:w,hasTokenInAttribute:y}=r;F(g)||(w&&s(n).remove(Ut(g)),y&&l(n,Ut(g))),F(c)||0===c.length||(p=u),F(p)||(f&&(s(n).add(Ut(p)),h=!0),d&&(a(n,Ut(p),""),m=!0)),r.stylesheetToken=p,r.hasTokenInClass=h,r.hasTokenInAttribute=m}(e,t);const r=qt(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,Kt);for(let e=0;e<t.length;e++)o(t[e]);return null}(e,r)}var a;const c=Boolean(t.hasRefs);e.hasRefVNodes=c,e.refVNodes=c?n(null):null,e.velements=[],An=!0,i=t.call(void 0,xn,r,s,o.tplCache);const{styleVNodes:u}=o;H(u)||_.apply(i,u)}))}),(()=>{An=r,Nn=o})),i}let Dn=null;function Rn(e){return Dn===e}function In(e,t,n){const{component:r,callHook:o,owner:i}=e;dr(e,i,G,(()=>{o(r,t,n)}),G)}function Fn(e,t,n,r){const{callHook:o,owner:i}=e;dr(e,i,G,(()=>{o(n,t,[r])}),G)}const Hn=new Map;function Bn(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=On();let s,l=!1;return dr(e,o,(()=>{_n(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{_n(i)})),l?Pn(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Vn(e){e.isDirty=!0}const jn=new WeakMap;function Wn(e,t){if(!j(t))throw new TypeError;let n=jn.get(t);return F(n)&&(n=function(n){Fn(e,t,void 0,n)},jn.set(t,n)),n}const Gn=n(null),Un=["rendered","connected","disconnected"];function Kn(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let zn=0;const qn=new WeakMap;function Yn(e,t,n=[]){return t.apply(e,n)}function Xn(e,t,n){e[t]=n}function Jn(e,t){return e[t]}function Qn(e){const t=rr(e);1===t.state&&Zn(e),sr(t),ir(t)}function Zn(e){er(rr(e))}function er(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){V(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Gn;t&&Kn(e,t);lr(e)&&function(e){const{wiredDisconnecting:t}=e.context;dr(e,e,G,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),G)}(e);const{disconnectedCallback:n}=e.def;F(n)||In(e,n)}(e),ar(e),function(e){const{aChildren:t}=e;cr(t)}(e)}}function tr(e,t,r,o){const{mode:i,owner:s,tagName:l,hydrated:a}=o,c=Wt(t),u={elm:e,def:c,idx:zn++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,refVNodes:null,hasRefVNodes:!1,children:pe,aChildren:pe,velements:pe,cmpProps:n(null),cmpFields:n(null),cmpSlots:{slotAssignments:n(null)},oar:n(null),cmpTemplate:null,hydrated:Boolean(a),renderMode:c.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:fe,wiredConnecting:pe,wiredDisconnecting:pe},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:Yn,setHook:Xn,getHook:Jn,renderer:r};return u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(de.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!H(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=H(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,r),u.tro=we(),function(e,t){const n=Dn;let r;Dn=e;try{const o=new t;if(Dn.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Dn=n,!F(r))throw be(e,r),r}}(u,c.ctor),lr(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=fr.get(i);if(!F(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=hr(e,t,s),a=s.dynamic.length>0;k.call(r,(()=>{n.connect(),de.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),k.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function nr(e,t){qn.set(e,t)}function rr(e){return qn.get(e)}function or(e){return qn.get(e)}function ir(e){if(B(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&dr(e,e,(()=>{}),(()=>{nn(r,t,n,o)}),(()=>{}));e.state}(e,Bn(e))}}function sr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Gn;n&&Kn(e,n),lr(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;F(r)||In(e,r)}function lr(e){return l(e.def.wire).length>0}function ar(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!F(n)){const e=or(n);F(e)||er(e)}}}function cr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!H(n)&&!F(n.elm))switch(n.type){case 2:cr(n.children);break;case 3:er(rr(n.elm));break}}}function ur(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];H(o)||F(o.elm)||r(o.elm,n)}e.children=pe,ar(e),e.velements=pe}function dr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!F(i)){be(e,i);const n=H(t)?void 0:function(e){let t=e;for(;!H(t);){if(!F(t.def.errorCallback))return t;t=t.owner}}(t);if(F(n))throw i;ur(e);In(n,n.def.errorCallback,[i,i.wcStack])}}}const fr=new Map;class pr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function hr(e,t,n){const{method:r,adapter:i,configCallback:s,dynamic:l}=n,a=F(r)?function(e,t){return n=>{$e(e,t,n)}}(e,t):function(e,t){return n=>{dr(e,e.owner,G,(()=>{t.call(e.component,n)}),G)}}(e,r);let c,u;o(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),o(a,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),dr(e,e,G,(()=>{u=new i(a)}),G);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){const r=we();return{computeConfigAndUpdate:()=>{let o;r.observe((()=>o=t(e))),n(o)},ro:r}}(e.component,s,(t=>{dr(e,e,G,(()=>{u.update(t,c)}),G)}));return F(i.contextSchema)||function(e,t,n){const{adapter:r}=t,o=gr(r);if(F(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:a}}=e;k.call(s,(()=>{const e=new pr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){k.call(l,e)}});a(i,e)}))}(e,n,(t=>{c!==t&&(c=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const mr=new Map;function gr(e){return mr.get(e)}function wr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};fr.set(e,o)}function yr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};fr.set(e,o)}let br=!1;const vr=Symbol("namespace"),Er=Symbol("type"),Cr=Symbol("parent"),Sr=Symbol("shadow-root"),kr=Symbol("children"),Tr=Symbol("attributes"),Mr=Symbol("event-listeners"),xr=Symbol("value");var Ar;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(Ar||(Ar={}));const Nr=/\s+/g;function Or(e){return new Set(e.split(Nr).filter((e=>e.length)))}function _r(e){return Array.from(e).join(" ")}function Lr(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function $r(e,t){return{[Er]:Ar.Element,tagName:e,[vr]:null!=t?t:Z,[Cr]:null,[Sr]:null,[kr]:[],[Tr]:[],[Mr]:{}}}function Pr(e,t,n=null){const r=e[Tr].find((e=>e.name===t&&e[vr]===n));return r?r.value:null}function Dr(e,t,n,r=null){const o=e[Tr].find((e=>e.name===t&&e[vr]===r));F(r)&&(r=null),F(o)?e[Tr].push({name:t,[vr]:r,value:String(n)}):o.value=n}function Rr(e,t,n){e[Tr]=e[Tr].filter((e=>e.name!==t&&e[vr]!==n))}const Ir=G,Fr=G,Hr=G,Br=Lr("dispatchEvent"),Vr=Lr("getBoundingClientRect"),jr=Lr("querySelector"),Wr=Lr("querySelectorAll"),Gr=Lr("getElementsByTagName"),Ur=Lr("getElementsByClassName"),Kr=Lr("getChildren"),zr=Lr("getChildNodes"),qr=Lr("getFirstChild"),Yr=Lr("getFirstElementChild"),Xr=Lr("getLastChild"),Jr=Lr("getLastElementChild"),Qr=G,Zr=new Map;function eo(e){let t=Zr.get(e);return F(t)?(t=function(e){return function(t){const n=$r(e);return j(t)&&t(n),n}}(e),Zr.set(e,t),t):t}const to={isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,insert:function(e,t,n){const r=e[Cr];if(null!==r&&r!==t){const t=r[kr].indexOf(e);r[kr].splice(t,1)}e[Cr]=t;const o=H(n)?-1:t[kr].indexOf(n);-1===o?t[kr].push(e):t[kr].splice(o,0,e)},remove:function(e,t){const n=t[kr].indexOf(e);t[kr].splice(n,1)},cloneNode:function(e){return e},createFragment:function(e){return{[Er]:Ar.Raw,[Cr]:null,[xr]:e}},createElement:$r,createText:function(e){return{[Er]:Ar.Text,[xr]:String(e),[Cr]:null}},createComment:function(e){return{[Er]:Ar.Comment,[xr]:e,[Cr]:null}},createCustomElement:function(e,t){return new(eo(e))(t)},nextSibling:function(e){const t=e[Cr];if(H(t))return null;const n=t[kr].indexOf(e);return t[kr][n+1]||null},attachShadow:function(e,t){return e[Sr]={[Er]:Ar.ShadowRoot,[kr]:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e[Sr]},getProperty:function(e,t){var n,r;if(t in e)return e[t];if(e[Er]===Ar.Element){const o=le(t);if(ne(o,e.tagName))return null!==(n=Pr(e,o))&&void 0!==n&&n;if(oe(o)||J(o))return Pr(e,o);if("input"===e.tagName&&"value"===t)return null!==(r=Pr(e,"value"))&&void 0!==r?r:""}},setProperty:function(e,t,n){if(t in e)return e[t]=n;if(e[Er]===Ar.Element){const r=le(t);if("innerHTML"===t)return void(e[kr]=[{[Er]:Ar.Raw,[Cr]:e,[xr]:n}]);if(ne(r,e.tagName))return!0===n?Dr(e,r,""):Rr(e,r);if(oe(r)||J(r))return Dr(e,r,n);if("input"===e.tagName&&"value"===r)return H(n)||F(n)?Rr(e,"value"):Dr(e,"value",n)}},setText:function(e,t){e[Er]===Ar.Text?e[xr]=t:e[Er]===Ar.Element&&(e[kr]=[{[Er]:Ar.Text,[Cr]:e,[xr]:t}])},getAttribute:Pr,setAttribute:Dr,removeAttribute:Rr,addEventListener:Fr,removeEventListener:Hr,dispatchEvent:Br,getClassList:function(e){function t(){let t=e[Tr].find((e=>"class"===e.name&&H(e[vr])));return F(t)&&(t={name:"class",[vr]:null,value:""},e[Tr].push(t)),t}return{add(...e){const n=t(),r=Or(n.value);e.forEach((e=>r.add(e))),n.value=_r(r)},remove(...e){const n=t(),r=Or(n.value);e.forEach((e=>r.delete(e))),n.value=_r(r)}}},setCSSStyleProperty:function(e,t,n,r){const o=e[Tr].find((e=>"style"===e.name&&H(e[vr]))),i=`${t}: ${n}${r?" !important":""}`;F(o)?e[Tr].push({name:"style",[vr]:null,value:i}):o.value+=`; ${i}`},getBoundingClientRect:Vr,querySelector:jr,querySelectorAll:Wr,getElementsByTagName:Gr,getElementsByClassName:Ur,getChildren:Kr,getChildNodes:zr,getFirstChild:qr,getFirstElementChild:Yr,getLastChild:Xr,getLastElementChild:Jr,isConnected:function(e){return!H(e[Cr])},insertStylesheet:Ir,assertInstanceOfHTMLElement:Qr};function no(e){return e.map((e=>{switch(e[Er]){case Ar.Text:return""===e[xr]?"":ce(e[xr]);case Ar.Comment:return`\x3c!--${ce(e[xr])}--\x3e`;case Ar.Raw:return e[xr];case Ar.Element:return ro(e)}})).join("")}function ro(e){let t="";const n=e.tagName,r=e[vr],o=r!==Z,i=e[kr].length>0;var s;return t+=`<${n}${e[Tr].length?` ${s=e[Tr],s.map((e=>e.value.length?`${e.name}="${ce(e.value,!0)}"`:e.name)).join(" ")}`:""}`,o&&!i?(t+="/>",t):(t+=">",e[Sr]&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${no(e[kr])}</template>`}(e[Sr])),t+=no(e[kr]),function(e,t){return t===Z&&ee.has(e.toLowerCase())}(n,r)&&!i||(t+=`</${n}>`),t)}const oo={[Er]:Ar.Element,tagName:"fake-root-element",[vr]:Z,[Cr]:null,[Sr]:null,[kr]:[],[Tr]:[],[Mr]:{}};i(wt),f(wt.prototype),exports.LightningElement=wt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=gr(e);if(!F(t))throw new Error("Adapter already has a context provider.");t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),function(e,t){mr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{F(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},exports.freezeTemplate=function(e){},exports.getComponentDef=function(e){const t=Wt(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:le(e)};const a={};for(const e in s)a[e]=s[e].value;return{ctor:n,name:r,props:l,methods:a}},exports.isComponentConstructor=jt,exports.parseFragment=Ln,exports.parseSVGFragment=Ln,exports.readonly=function(e){return pt(e)},exports.register=function(e){for(let t=0;t<Un.length;++t){const n=Un[t];if(n in e){let t=Gn[n];F(t)&&(Gn[n]=t=[]),k.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return j(e)&&Hn.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:i,publicMethods:l,wire:a,track:c,fields:u}=t,d=n(null),f=n(null),p=n(null),h=n(null),m=n(null),g=n(null);let w;if(!F(i))for(const e in i){const t=i[e];if(g[e]=t.config,w=s(r,e),t.config>0){if(F(w))throw new Error;w=Tt(e,w)}else w=F(w)||F(w.get)?kt(e):Tt(e,w);f[e]=w,o(r,e,w)}if(F(l)||L.call(l,(e=>{if(w=s(r,e),F(w))throw new Error;d[e]=w})),!F(a))for(const e in a){const{adapter:t,method:n,config:i,dynamic:l=[]}=a[e];if(w=s(r,e),1===n){if(F(w))throw new Error;p[e]=w,wr(w,t,i,l)}else w=xt(e),h[e]=w,yr(w,t,i,l),o(r,e,w)}if(!F(c))for(const e in c)w=s(r,e),w=Mt(e),o(r,e,w);if(!F(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=s(r,t);const n=!F(i)&&t in i,o=!F(c)&&t in c;n||o||(m[t]=Ct(t))}return function(e,t){At.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return Ot.add(e),o(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return F(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=F(e)?void 0:e.shadowAttribute}}),e},exports.renderComponent=function(e,t,n={}){if(!W(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!j(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||H(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=to.createElement(e);tr(r,t,to,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r[Cr]=oo,Qn(r),ro(r)},exports.renderer=to,exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(F(ue[e])){const n=d(ue).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=de[e];if(!F(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(de,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(br,"Hooks are already overridden, only one definition is allowed."),br=!0,n=t.sanitizeHtmlContent,Mn=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};
|
|
@@ -43,7 +43,7 @@ var assert = /*#__PURE__*/Object.freeze({
|
|
|
43
43
|
*/
|
|
44
44
|
const { assign, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor: getOwnPropertyDescriptor$1, getOwnPropertyNames: getOwnPropertyNames$1, getPrototypeOf: getPrototypeOf$1, hasOwnProperty: hasOwnProperty$1, isFrozen, keys, seal, setPrototypeOf, } = Object;
|
|
45
45
|
const { isArray: isArray$1 } = Array;
|
|
46
|
-
const { copyWithin: ArrayCopyWithin, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush$1, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
|
|
46
|
+
const { concat: ArrayConcat$1, copyWithin: ArrayCopyWithin, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush$1, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
|
|
47
47
|
const { fromCharCode: StringFromCharCode } = String;
|
|
48
48
|
const { charCodeAt: StringCharCodeAt, replace: StringReplace, slice: StringSlice, toLowerCase: StringToLowerCase, } = String.prototype;
|
|
49
49
|
function isUndefined$1(obj) {
|
|
@@ -432,9 +432,9 @@ function htmlEscape(str, attrMode = false) {
|
|
|
432
432
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
433
433
|
*/
|
|
434
434
|
// Increment whenever the LWC template compiler changes
|
|
435
|
-
const LWC_VERSION = "2.
|
|
435
|
+
const LWC_VERSION = "2.27.0";
|
|
436
436
|
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
437
|
-
/** version: 2.
|
|
437
|
+
/** version: 2.27.0 */
|
|
438
438
|
|
|
439
439
|
/*
|
|
440
440
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -546,7 +546,7 @@ function setFeatureFlagForTest(name, value) {
|
|
|
546
546
|
setFeatureFlag(name, value);
|
|
547
547
|
}
|
|
548
548
|
}
|
|
549
|
-
/** version: 2.
|
|
549
|
+
/** version: 2.27.0 */
|
|
550
550
|
|
|
551
551
|
/* proxy-compat-disable */
|
|
552
552
|
|
|
@@ -3437,6 +3437,9 @@ function isVBaseElement(vnode) {
|
|
|
3437
3437
|
function isSameVnode(vnode1, vnode2) {
|
|
3438
3438
|
return vnode1.key === vnode2.key && vnode1.sel === vnode2.sel;
|
|
3439
3439
|
}
|
|
3440
|
+
function isVScopedSlotFragment(vnode) {
|
|
3441
|
+
return vnode.type === 6 /* VNodeType.ScopedSlotFragment */;
|
|
3442
|
+
}
|
|
3440
3443
|
|
|
3441
3444
|
/*
|
|
3442
3445
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -4255,7 +4258,7 @@ function allocateChildren(vnode, vm) {
|
|
|
4255
4258
|
/* RenderMode.Light */
|
|
4256
4259
|
) {
|
|
4257
4260
|
// slow path
|
|
4258
|
-
allocateInSlot(vm, children); // save the allocated children in case this vnode is reused.
|
|
4261
|
+
allocateInSlot(vm, children, vnode.owner); // save the allocated children in case this vnode is reused.
|
|
4259
4262
|
|
|
4260
4263
|
vnode.aChildren = children; // every child vnode is now allocated, and the host should receive none directly, it receives them via the shadow!
|
|
4261
4264
|
|
|
@@ -4291,13 +4294,19 @@ function createViewModelHook(elm, vnode, renderer) {
|
|
|
4291
4294
|
return vm;
|
|
4292
4295
|
}
|
|
4293
4296
|
|
|
4294
|
-
function allocateInSlot(vm, children) {
|
|
4295
|
-
var _a;
|
|
4297
|
+
function allocateInSlot(vm, children, owner) {
|
|
4298
|
+
var _a, _b;
|
|
4296
4299
|
|
|
4297
4300
|
const {
|
|
4298
|
-
cmpSlots:
|
|
4301
|
+
cmpSlots: {
|
|
4302
|
+
slotAssignments: oldSlotsMapping
|
|
4303
|
+
}
|
|
4299
4304
|
} = vm;
|
|
4300
|
-
const
|
|
4305
|
+
const cmpSlotsMapping = create(null);
|
|
4306
|
+
vm.cmpSlots = {
|
|
4307
|
+
owner,
|
|
4308
|
+
slotAssignments: cmpSlotsMapping
|
|
4309
|
+
};
|
|
4301
4310
|
|
|
4302
4311
|
for (let i = 0, len = children.length; i < len; i += 1) {
|
|
4303
4312
|
const vnode = children[i];
|
|
@@ -4309,19 +4318,21 @@ function allocateInSlot(vm, children) {
|
|
|
4309
4318
|
let slotName = '';
|
|
4310
4319
|
|
|
4311
4320
|
if (isVBaseElement(vnode)) {
|
|
4312
|
-
slotName = ((_a = vnode.data.attrs) === null || _a === void 0 ? void 0 : _a.slot)
|
|
4321
|
+
slotName = (_b = (_a = vnode.data.attrs) === null || _a === void 0 ? void 0 : _a.slot) !== null && _b !== void 0 ? _b : '';
|
|
4322
|
+
} else if (isVScopedSlotFragment(vnode)) {
|
|
4323
|
+
slotName = vnode.slotName;
|
|
4313
4324
|
}
|
|
4314
4325
|
|
|
4315
|
-
const vnodes =
|
|
4326
|
+
const vnodes = cmpSlotsMapping[slotName] = cmpSlotsMapping[slotName] || [];
|
|
4316
4327
|
ArrayPush$1.call(vnodes, vnode);
|
|
4317
4328
|
}
|
|
4318
4329
|
|
|
4319
4330
|
if (isFalse(vm.isDirty)) {
|
|
4320
4331
|
// We need to determine if the old allocation is really different from the new one
|
|
4321
4332
|
// and mark the vm as dirty
|
|
4322
|
-
const oldKeys = keys(
|
|
4333
|
+
const oldKeys = keys(oldSlotsMapping);
|
|
4323
4334
|
|
|
4324
|
-
if (oldKeys.length !== keys(
|
|
4335
|
+
if (oldKeys.length !== keys(cmpSlotsMapping).length) {
|
|
4325
4336
|
markComponentAsDirty(vm);
|
|
4326
4337
|
return;
|
|
4327
4338
|
}
|
|
@@ -4329,15 +4340,15 @@ function allocateInSlot(vm, children) {
|
|
|
4329
4340
|
for (let i = 0, len = oldKeys.length; i < len; i += 1) {
|
|
4330
4341
|
const key = oldKeys[i];
|
|
4331
4342
|
|
|
4332
|
-
if (isUndefined$1(
|
|
4343
|
+
if (isUndefined$1(cmpSlotsMapping[key]) || oldSlotsMapping[key].length !== cmpSlotsMapping[key].length) {
|
|
4333
4344
|
markComponentAsDirty(vm);
|
|
4334
4345
|
return;
|
|
4335
4346
|
}
|
|
4336
4347
|
|
|
4337
|
-
const oldVNodes =
|
|
4338
|
-
const vnodes =
|
|
4348
|
+
const oldVNodes = oldSlotsMapping[key];
|
|
4349
|
+
const vnodes = cmpSlotsMapping[key];
|
|
4339
4350
|
|
|
4340
|
-
for (let j = 0, a =
|
|
4351
|
+
for (let j = 0, a = cmpSlotsMapping[key].length; j < a; j += 1) {
|
|
4341
4352
|
if (oldVNodes[j] !== vnodes[j]) {
|
|
4342
4353
|
markComponentAsDirty(vm);
|
|
4343
4354
|
return;
|
|
@@ -4537,6 +4548,18 @@ const SymbolIterator = Symbol.iterator;
|
|
|
4537
4548
|
function addVNodeToChildLWC(vnode) {
|
|
4538
4549
|
ArrayPush$1.call(getVMBeingRendered().velements, vnode);
|
|
4539
4550
|
}
|
|
4551
|
+
// [s]coped [s]lot [f]actory
|
|
4552
|
+
function ssf(slotName, factory) {
|
|
4553
|
+
return {
|
|
4554
|
+
type: 6 /* VNodeType.ScopedSlotFragment */,
|
|
4555
|
+
factory,
|
|
4556
|
+
owner: getVMBeingRendered(),
|
|
4557
|
+
elm: undefined,
|
|
4558
|
+
sel: undefined,
|
|
4559
|
+
key: undefined,
|
|
4560
|
+
slotName,
|
|
4561
|
+
};
|
|
4562
|
+
}
|
|
4540
4563
|
// [st]atic node
|
|
4541
4564
|
function st(fragment, key) {
|
|
4542
4565
|
return {
|
|
@@ -4620,9 +4643,31 @@ function s(slotName, data, children, slotset) {
|
|
|
4620
4643
|
assert.isTrue(isArray$1(children), `h() 3rd argument children must be an array.`);
|
|
4621
4644
|
}
|
|
4622
4645
|
if (!isUndefined$1(slotset) &&
|
|
4623
|
-
!isUndefined$1(slotset
|
|
4624
|
-
slotset[slotName]
|
|
4625
|
-
|
|
4646
|
+
!isUndefined$1(slotset.slotAssignments) &&
|
|
4647
|
+
!isUndefined$1(slotset.slotAssignments[slotName]) &&
|
|
4648
|
+
slotset.slotAssignments[slotName].length !== 0) {
|
|
4649
|
+
children = slotset.slotAssignments[slotName].reduce((acc, vnode) => {
|
|
4650
|
+
// If the passed slot content is factory, evaluate it and use the produced vnodes
|
|
4651
|
+
if (vnode && isVScopedSlotFragment(vnode)) {
|
|
4652
|
+
const vmBeingRenderedInception = getVMBeingRendered();
|
|
4653
|
+
let children = [];
|
|
4654
|
+
// Evaluate in the scope of the slot content's owner
|
|
4655
|
+
// if a slotset is provided, there will always be an owner. The only case where owner is
|
|
4656
|
+
// undefined is for root components, but root components cannot accept slotted content
|
|
4657
|
+
setVMBeingRendered(slotset.owner);
|
|
4658
|
+
try {
|
|
4659
|
+
children = vnode.factory(data.slotData);
|
|
4660
|
+
}
|
|
4661
|
+
finally {
|
|
4662
|
+
setVMBeingRendered(vmBeingRenderedInception);
|
|
4663
|
+
}
|
|
4664
|
+
return ArrayConcat$1.call(acc, children);
|
|
4665
|
+
}
|
|
4666
|
+
else {
|
|
4667
|
+
// If the slot content is a static list of child nodes provided by the parent, nothing to do
|
|
4668
|
+
return ArrayConcat$1.call(acc, vnode);
|
|
4669
|
+
}
|
|
4670
|
+
}, []);
|
|
4626
4671
|
}
|
|
4627
4672
|
const vmBeingRendered = getVMBeingRendered();
|
|
4628
4673
|
const { renderMode, shadowMode } = vmBeingRendered;
|
|
@@ -4942,6 +4987,7 @@ const api = freeze({
|
|
|
4942
4987
|
gid,
|
|
4943
4988
|
fid,
|
|
4944
4989
|
shc,
|
|
4990
|
+
ssf,
|
|
4945
4991
|
});
|
|
4946
4992
|
|
|
4947
4993
|
/*
|
|
@@ -5044,9 +5090,9 @@ function validateSlots(vm, html) {
|
|
|
5044
5090
|
}
|
|
5045
5091
|
const { cmpSlots } = vm;
|
|
5046
5092
|
const { slots = EmptyArray } = html;
|
|
5047
|
-
for (const slotName in cmpSlots) {
|
|
5093
|
+
for (const slotName in cmpSlots.slotAssignments) {
|
|
5048
5094
|
// eslint-disable-next-line @lwc/lwc-internal/no-production-assert
|
|
5049
|
-
assert.isTrue(isArray$1(cmpSlots[slotName]), `Slots can only be set to an array, instead received ${toString$1(cmpSlots[slotName])} for slot "${slotName}" in ${vm}.`);
|
|
5095
|
+
assert.isTrue(isArray$1(cmpSlots.slotAssignments[slotName]), `Slots can only be set to an array, instead received ${toString$1(cmpSlots.slotAssignments[slotName])} for slot "${slotName}" in ${vm}.`);
|
|
5050
5096
|
if (slotName !== '' && ArrayIndexOf.call(slots, slotName) === -1) {
|
|
5051
5097
|
// TODO [#1297]: this should never really happen because the compiler should always validate
|
|
5052
5098
|
// eslint-disable-next-line @lwc/lwc-internal/no-production-assert
|
|
@@ -5532,7 +5578,9 @@ function createVM(elm, ctor, renderer, options) {
|
|
|
5532
5578
|
velements: EmptyArray,
|
|
5533
5579
|
cmpProps: create(null),
|
|
5534
5580
|
cmpFields: create(null),
|
|
5535
|
-
cmpSlots:
|
|
5581
|
+
cmpSlots: {
|
|
5582
|
+
slotAssignments: create(null)
|
|
5583
|
+
},
|
|
5536
5584
|
oar: create(null),
|
|
5537
5585
|
cmpTemplate: null,
|
|
5538
5586
|
hydrated: Boolean(hydrated),
|
|
@@ -6404,7 +6452,7 @@ function freezeTemplate(tmpl) {
|
|
|
6404
6452
|
});
|
|
6405
6453
|
}
|
|
6406
6454
|
}
|
|
6407
|
-
/* version: 2.
|
|
6455
|
+
/* version: 2.27.0 */
|
|
6408
6456
|
|
|
6409
6457
|
/*
|
|
6410
6458
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -6869,6 +6917,6 @@ function renderComponent(tagName, Ctor, props = {}) {
|
|
|
6869
6917
|
*/
|
|
6870
6918
|
freeze(LightningElement);
|
|
6871
6919
|
seal(LightningElement.prototype);
|
|
6872
|
-
/* version: 2.
|
|
6920
|
+
/* version: 2.27.0 */
|
|
6873
6921
|
|
|
6874
6922
|
export { LightningElement, api$1 as api, createContextProvider, freezeTemplate, getComponentDef, isComponentConstructor, parseFragment, parseFragment as parseSVGFragment, readonly, register, registerComponent, registerDecorators, registerTemplate, renderComponent, renderer, sanitizeAttribute, setFeatureFlag, setFeatureFlagForTest, setHooks, track, unwrap, wire };
|
|
@@ -43,7 +43,7 @@ var assert = /*#__PURE__*/Object.freeze({
|
|
|
43
43
|
*/
|
|
44
44
|
const { assign, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isFrozen, keys, seal, setPrototypeOf, } = Object;
|
|
45
45
|
const { isArray } = Array;
|
|
46
|
-
const { copyWithin: ArrayCopyWithin, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
|
|
46
|
+
const { concat: ArrayConcat, copyWithin: ArrayCopyWithin, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
|
|
47
47
|
const { charCodeAt: StringCharCodeAt, replace: StringReplace, slice: StringSlice, toLowerCase: StringToLowerCase, } = String.prototype;
|
|
48
48
|
function isUndefined(obj) {
|
|
49
49
|
return obj === undefined;
|
|
@@ -148,7 +148,7 @@ const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
|
148
148
|
// We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
|
|
149
149
|
// we can't use typeof since it will fail when transpiling.
|
|
150
150
|
const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
|
|
151
|
-
/** version: 2.
|
|
151
|
+
/** version: 2.27.0 */
|
|
152
152
|
|
|
153
153
|
/*
|
|
154
154
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -462,7 +462,7 @@ if (!_globalThis.lwcRuntimeFlags) {
|
|
|
462
462
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
463
463
|
}
|
|
464
464
|
const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
465
|
-
/** version: 2.
|
|
465
|
+
/** version: 2.27.0 */
|
|
466
466
|
|
|
467
467
|
/*
|
|
468
468
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -5170,4 +5170,4 @@ if (process.env.NODE_ENV !== 'production' && typeof __karma__ !== 'undefined') {
|
|
|
5170
5170
|
}));
|
|
5171
5171
|
});
|
|
5172
5172
|
}
|
|
5173
|
-
/** version: 2.
|
|
5173
|
+
/** version: 2.27.0 */
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
*/
|
|
47
47
|
const { assign, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isFrozen, keys, seal, setPrototypeOf, } = Object;
|
|
48
48
|
const { isArray } = Array;
|
|
49
|
-
const { copyWithin: ArrayCopyWithin, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
|
|
49
|
+
const { concat: ArrayConcat, copyWithin: ArrayCopyWithin, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
|
|
50
50
|
const { charCodeAt: StringCharCodeAt, replace: StringReplace, slice: StringSlice, toLowerCase: StringToLowerCase, } = String.prototype;
|
|
51
51
|
function isUndefined(obj) {
|
|
52
52
|
return obj === undefined;
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
// We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
|
|
152
152
|
// we can't use typeof since it will fail when transpiling.
|
|
153
153
|
const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
|
|
154
|
-
/** version: 2.
|
|
154
|
+
/** version: 2.27.0 */
|
|
155
155
|
|
|
156
156
|
/*
|
|
157
157
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -465,7 +465,7 @@
|
|
|
465
465
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
466
466
|
}
|
|
467
467
|
const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
468
|
-
/** version: 2.
|
|
468
|
+
/** version: 2.27.0 */
|
|
469
469
|
|
|
470
470
|
/*
|
|
471
471
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -5173,6 +5173,6 @@
|
|
|
5173
5173
|
}));
|
|
5174
5174
|
});
|
|
5175
5175
|
}
|
|
5176
|
-
/** version: 2.
|
|
5176
|
+
/** version: 2.27.0 */
|
|
5177
5177
|
|
|
5178
5178
|
})();
|