lwc 2.26.2 → 2.28.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 +137 -31
- package/dist/engine-dom/iife/es2017/engine-dom.js +137 -31
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +119 -27
- package/dist/engine-dom/iife/es5/engine-dom.js +179 -44
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +158 -40
- package/dist/engine-dom/umd/es2017/engine-dom.js +137 -31
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +119 -27
- package/dist/engine-dom/umd/es5/engine-dom.js +179 -44
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +158 -40
- package/dist/engine-server/commonjs/es2017/engine-server.js +99 -25
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +99 -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 +8 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
var LWC=function(e){"use strict";var t=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:n,create:r,defineProperties:o,defineProperty:i,freeze:s,getOwnPropertyDescriptor:l,getOwnPropertyNames:c,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{copyWithin:g,fill:w,filter:b,find:y,indexOf:v,join:E,map:C,pop:M,push:S,reduce:T,reverse:k,shift:A,slice:N,sort:L,splice:_,unshift:O,forEach:x}=Array.prototype,{fromCharCode:P}=String,{charCodeAt:$,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 W(e){return"function"==typeof e}function j(e){return"object"==typeof e}function U(e){return"string"==typeof e}function G(){}const z={}.toString;function K(e){return e&&e.toString?m(e)?E.call(C.call(e,K),","):e.toString():"object"==typeof e?z.call(e):e+""}function Y(e,t){do{const n=l(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:X,AriaPropNameToAttrNameMap:J}=(()=>{const e=r(null),t=r(null);return x.call(q,(n=>{const r=I.call(D.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),Q=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),Z="http://www.w3.org/2000/svg",ee=new Map([["accessKey","accesskey"],["readOnly","readonly"],["tabIndex","tabindex"],["bgColor","bgcolor"],["colSpan","colspan"],["rowSpan","rowspan"],["contentEditable","contenteditable"],["crossOrigin","crossorigin"],["dateTime","datetime"],["formAction","formaction"],["isMap","ismap"],["maxLength","maxlength"],["minLength","minlength"],["noValidate","novalidate"],["useMap","usemap"],["htmlFor","for"]]),te=new Map;function ne(e){const t=J[e];if(!F(t))return t;const n=ee.get(e);if(!F(n))return n;const r=te.get(e);if(!F(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=$.call(e,t);o+=n>=65&&n<=90?"-"+P(n+32):P(n)}return te.set(e,o),o}function re(e){return void 0===l(Element.prototype,e)}const oe=new WeakMap;function ie(e){let t=oe.get(e);return void 0===t&&(t={},oe.set(e,t)),t}function se(e,t){return{get(){const n=ie(this);return u.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set(n){const r=null==(o=n)?null:String(o);var o;ie(this)[e]=r,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function le(e){const t=se(e,J[e]);Object.defineProperty(Element.prototype,e,t)}const ce=f(J);for(let e=0,t=ce.length;e<t;e+=1){const t=ce[e];re(t)&&le(t)}const ae={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_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:r(null)});const ue=Q.lwcRuntimeFlags;let de=[];const fe=h(r(null)),he=h([]);function pe(){const e=de;de=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function me(e){0===de.length&&Promise.resolve().then(pe),S.call(de,e)}const ge=/;(?![^(]*\))/g,we=/:(.+)/;function be(e,t){const n={};for(const r of Object.keys(e))r!==t&&(n[r]=e[r]);return n}function ye(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}const ve=new WeakMap;let Ee=null;function Ce(e,t){const n=ve.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()}}}function Me(e,t){if(null===Ee)return;const n=Ee,o=function(e){let t=ve.get(e);if(F(t)){const n=r(null);t=n,ve.set(e,n)}return t}(e);let i=o[t];if(F(i))i=[],o[t]=i;else if(i[0]===n)return;-1===v.call(i,n)&&n.link(i)}class Se{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=Ee;let n;Ee=this;try{e()}catch(e){n=Object(e)}finally{if(Ee=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],r=v.call(e[n],this);_.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){S.call(e,this),S.call(this.listeners,e)}}function Te(e,t){Ce(e.component,t)}function ke(e,t){Me(e.component,t)}function Ae(e){return new Se(e)}function Ne(e){return`<${I.call(e.tagName)}>`}function Le(e,t){if(!d(t)&&F(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!H(n);)S.call(t,Ne(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}function _e(e,t,n){let r=`[LWC ${e}]: ${t}`;F(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!H(e.owner);)S.call(t,n+Ne(e)),e=e.owner,n+="\t";return E.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function Oe(e,t){_e("error",e,t)}function xe(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Pe(e){return W(e)&&u.call(e,"__circular__")}const $e="undefined"!=typeof HTMLElement?HTMLElement:function(){},De=$e.prototype;function Re(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}n(r(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:Re("offsetHeight")},offsetLeft:{readOnly:!0,error:Re("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Re("offsetTop")},offsetWidth:{readOnly:!0,error:Re("offsetWidth")},role:{attribute:"role"}});let Ie,Fe=null;function He(e,t){return e!==Fe||t!==Ie}function Be(e,t){Fe=null,Ie=void 0}function Ve(e,t){Fe=e,Ie=t}const We=r(null);function je(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n,Te(e,t))}x.call(f(J),(e=>{const t=Y(De,e);F(t)||(We[e]=t)})),x.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=Y(De,e);F(t)||(We[e]=t)}));const{isArray:Ue}=Array,{prototype:Ge,getPrototypeOf:ze,create:Ke,defineProperty:Ye,isExtensible:qe,getOwnPropertyDescriptor:Xe,getOwnPropertyNames:Je,getOwnPropertySymbols:Qe,preventExtensions:Ze,hasOwnProperty:et}=Object,{push:tt,concat:nt}=Array.prototype;function rt(e){return void 0===e}function ot(e){return"function"==typeof e}const it=new WeakMap;function st(e,t){it.set(e,t)}const lt=e=>it.get(e)||e;class ct{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(et.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;rt(n)||(e.get=this.wrapGetter(n)),rt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=Xe(n,t);if(!rt(r)){const n=this.wrapDescriptor(r);Ye(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;nt.call(Je(t),Qe(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;rt(n)||et.call(e,n)||Ye(e,n,Ke(null)),Ze(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=rt(n)||et.call(t,n)?[]:[n];return tt.apply(r,Je(t)),tt.apply(r,Qe(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!qe(e)&&(!!qe(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return ze(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=Xe(n,t);if(rt(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},Ye(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const at=new WeakMap,ut=new WeakMap,dt=new WeakMap,ft=new WeakMap;class ht extends ct{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=at.get(e);if(!rt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(lt(this)))};return at.set(e,r),dt.set(r,e),r}wrapSetter(e){const t=ut.get(e);if(!rt(t))return t;const n=function(t){e.call(lt(this),lt(t))};return ut.set(e,n),ft.set(n,e),n}unwrapDescriptor(e){if(et.call(e,"value"))e.value=lt(e.value);else{const{set:t,get:n}=e;rt(n)||(e.get=this.unwrapGetter(n)),rt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=dt.get(e);if(!rt(t))return t;const n=this,r=function(){return lt(e.call(n.wrapValue(this)))};return at.set(r,e),dt.set(e,r),r}unwrapSetter(e){const t=ft.get(e);if(!rt(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return ut.set(r,e),ft.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&&Ue(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(qe(e)){const{originalTarget:t}=this;if(Ze(t),qe(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!et.call(r,t)||(Ye(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const pt=new WeakMap,mt=new WeakMap;class gt extends ct{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=pt.get(e);if(!rt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(lt(this)))};return pt.set(e,r),r}wrapSetter(e){const t=mt.get(e);if(!rt(t))return t;const n=function(e){};return mt.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 wt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(Ue(e))return!0;const t=ze(e);return t===Ge||null===t||null===ze(t)}const bt=(e,t)=>{},yt=(e,t)=>{};function vt(e){return Ue(e)?[]:{}}const Et=Symbol.for("@@lockerLiveValue"),Ct=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=ot(t)?t:yt,this.valueObserved=ot(n)?n:bt,this.valueIsObservable=ot(r)?r:wt,this.tagPropertyKey=o}getProxy(e){const t=lt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=lt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return lt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(rt(t)){const n=new ht(this,e);t=new Proxy(vt(e),n),st(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(rt(t)){const n=new gt(this,e);t=new Proxy(vt(e),n),st(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Me,valueMutated:Ce,tagPropertyKey:Et});function Mt(e){return Ct.getReadOnlyProxy(e)}function St(e){return Ct.getProxy(e)}function Tt(e){e[Et]=void 0}function kt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!W(n))throw new TypeError;if(!W(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=_r(this);if(!lr(t))return ke(t,e),n.call(t.elm)},set(t){const n=_r(this);return je(n,e,t),r.call(n.elm,t)}}}const At=s(r(null)),Nt=new WeakMap,Lt=function(){if(H(sr))throw new TypeError("Illegal constructor");const e=sr,{def:t,elm:n}=e,{bridge:r}=t,o=this;if(p(n,r.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return Tt(this),Lr(o,e),Lr(n,e),1===e.renderMode?e.renderRoot=_t(e):e.renderRoot=n,this};function _t(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,Lr(s,e),s}Lt.prototype={constructor:Lt,dispatchEvent(e){const t=_r(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=_r(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,mr(r,t),n)},removeEventListener(e,t,n){const r=_r(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,mr(r,t),n)},hasAttribute(e){const t=_r(this),{elm:n,renderer:{getAttribute:r}}=t;return!H(r(n,e))},hasAttributeNS(e,t){const n=_r(this),{elm:r,renderer:{getAttribute:o}}=n;return!H(o(r,t,e))},removeAttribute(e){const t=_r(this),{elm:n,renderer:{removeAttribute:r}}=t;Ve(n,e),r(n,e),Be()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=_r(this);Ve(n,t),r(n,t,e),Be()},getAttribute(e){const t=_r(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=_r(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=_r(this),{elm:r,renderer:{setAttribute:o}}=n;Ve(r,e),o(r,e,t),Be()},setAttributeNS(e,t,n){const r=_r(this),{elm:o,renderer:{setAttribute:i}}=r;Ve(o,t),i(o,t,n,e),Be()},getBoundingClientRect(){const e=_r(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=_r(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=_r(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return _r(this).shadowRoot},get refs(){const e=_r(this);if(Jn)return;const{refVNodes:t,hasRefVNodes:n,cmpTemplate:o}=e;if(!n)return;if(H(t))return At;let i=Nt.get(t);if(F(i)){i=r(null);for(const e of f(t))i[e]=t[e].elm;s(i),Nt.set(t,i)}return i},set refs(e){i(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=_r(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=_r(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=_r(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=_r(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=_r(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=_r(this);return e.renderer.getLastElementChild(e.elm)},render(){return _r(this).def.template},toString(){return`[object ${_r(this).def.name}]`}};const Ot=r(null),xt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of xt)Ot[e]={value(t){const n=_r(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(Lt.prototype,Ot);const Pt=r(null);for(const e in We)Pt[e]=kt(e,We[e]);function $t(e){return{get(){const t=_r(this);return ke(t,e),t.cmpFields[e]},set(t){je(_r(this),e,t)},enumerable:!0,configurable:!0}}o(Lt.prototype,Pt),i(Lt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class Dt extends Se{constructor(e,t){super((()=>{V(this.debouncing)&&(this.debouncing=!0,me((()=>{if(B(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,B(e.isDirty)&&V(r)&&i>0&&Sr(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function Rt(e){return{get(){const t=_r(this);if(!lr(t))return ke(t,e),t.cmpProps[e]},set(t){const n=_r(this);n.cmpProps[e]=t,Te(n,e)},enumerable:!0,configurable:!0}}function It(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!W(n))throw new Error;return{get(){return n.call(this)},set(t){const n=_r(this);if(r)if(ue.ENABLE_REACTIVE_SETTER){let o=n.oar[e];F(o)&&(o=n.oar[e]=function(e,t){return new Dt(e,t)}(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function Ft(e){return{get(){const t=_r(this);return ke(t,e),t.cmpFields[e]},set(t){const n=_r(this),r=St(t);je(n,e,r)},enumerable:!0,configurable:!0}}function Ht(e){return{get(){const t=_r(this);return ke(t,e),t.cmpFields[e]},set(t){je(_r(this),e,t)},enumerable:!0,configurable:!0}}const Bt=new Map;const Vt={apiMethods:fe,apiFields:fe,apiFieldsConfig:fe,wiredMethods:fe,wiredFields:fe,observedFields:fe};const Wt=new Set;function jt(){return[]}Wt.add(jt);const Ut=r(null),Gt=r(null);function zt(e){let t=Ut[e];return F(t)&&(t=Ut[e]=function(){const t=_r(this),{getHook:n}=t;return n(t.component,e)}),t}function Kt(e){let t=Gt[e];return F(t)&&(t=Gt[e]=function(t){const n=_r(this),{setHook:r}=n;t=Mt(t),r(n.component,e,t)}),t}function Yt(e){return function(){const t=_r(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,N.call(arguments))}}function qt(e,t){return function(n,r,o){if(r===o)return;const i=e[n];F(i)?F(t)||t.apply(this,arguments):He(this,n)&&(this[i]=o)}}function Xt(e,t,n){let s;W(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),i(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=r(null),{attributeChangedCallback:c}=e.prototype,{observedAttributes:a=[]}=e,u=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[ne(n)]=n,u[n]={get:zt(n),set:Kt(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:Yt(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:qt(l,c)},i(s,"observedAttributes",{get:()=>[...a,...f(l)]}),o(s.prototype,u),s}const Jt=Xt($e,c(We),[]);s(Jt),h(Jt.prototype);const Qt=new WeakMap;function Zt(e){const{shadowSupportMode:t,renderMode:i}=e,s=function(e){const t=Bt.get(e);return F(t)?Vt:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:b,errorCallback:y,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(Pe(t)){const e=xe(t);t=e===t?Lt:e}return t}(e),C=E!==Lt?tn(E):nn,M=Xt(C.bridge,f(l),f(u)),S=n(r(null),C.props,l),T=n(r(null),C.propsConfig,c),k=n(r(null),C.methods,u),A=n(r(null),C.wire,d,h);g=g||C.connectedCallback,w=w||C.disconnectedCallback,b=b||C.renderedCallback,y=y||C.errorCallback,v=v||C.render;let N=C.shadowSupportMode;F(t)||(N=t);let L=C.renderMode;F(i)||(L="light"===i?0:1);const _=function(e){return ur.get(e)}(e)||C.template,O=e.name||C.name;o(m,p);return{ctor:e,name:O,wire:A,props:S,propsConfig:T,methods:k,bridge:M,template:_,renderMode:L,shadowSupportMode:N,connectedCallback:g,disconnectedCallback:w,renderedCallback:b,errorCallback:y,render:v}}function en(e){if(!W(e))return!1;if(e.prototype instanceof Lt)return!0;let t=e;do{if(Pe(t)){const e=xe(t);if(e===t)return!0;t=e}if(t===Lt)return!0}while(!H(t)&&(t=a(t)));return!1}function tn(e){let t=Qt.get(e);if(F(t)){if(Pe(e)){return t=tn(xe(e)),Qt.set(e,t),t}if(!en(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=Zt(e),Qt.set(e,t)}return t}const nn={ctor:Lt,name:Lt.name,props:Pt,propsConfig:fe,methods:fe,renderMode:1,shadowSupportMode:"reset",wire:fe,bridge:Jt,template:jt,render:Lt.prototype.render};function rn(e){return`${e}-host`}function on(e){return jn.h("style",{key:"style",attrs:{type:"text/css"}},[jn.t(e)])}function sn(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(m(s))S.apply(r,sn(s,t,n));else{const e=s.$scoped$;if(ue.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){Oe("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let c;1===n.renderMode?c=0===n.shadowMode:(F(o)&&(o=cn(n)),c=H(o)||0===o.shadowMode),S.call(r,s(i,l,c))}}return r}function ln(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return F(n)||0===n.length||(o=sn(n,r,e)),o}function cn(e){let t=e;for(;!H(t);){if(1===t.renderMode)return t;t=t.owner}return t}function an(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}function un(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)o(t[e]);else{if(e.hydrated)return C.call(t,on);{const n=function(e){const t=cn(e);return H(t)||1!==t.shadowMode?t:null}(e),r=H(n)?void 0:n.shadowRoot;for(let e=0;e<t.length;e++)o(t[e],r)}}return null}function dn(e){const{type:t}=e;return 2===t||3===t}function fn(e,t){return e.key===t.key&&e.sel===t.sel}function hn(e,t){return"input"===e&&("value"===t||"checked"===t)}function pn(e,t,r){let{props:o}=t.data;const{spread:i}=t.data;if(F(o)&&F(i))return;let s;if(!H(e)){s=e.data.props;const t=e.data.spread;if(s===o&&t===i)return;F(s)&&(s=fe),F(t)||(s=n({},s,t))}F(i)||(o=n({},o,i));const l=H(e),{elm:c,sel:a}=t,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(hn(a,e)?u(c,e):s[e])&&e in s||d(c,e,t)}}const mn=r(null);function gn(e){if(null==e)return fe;e=U(e)?e:e+"";let t=mn[e];if(t)return t;t=r(null);let n,o=0;const i=e.length;for(n=0;n<i;n++)32===$.call(e,n)&&(n>o&&(t[R.call(e,o,n)]=!0),o=n+1);return n>o&&(t[R.call(e,o,n)]=!0),mn[e]=t,t}function wn(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])}}function bn(e,t,n,r){var o;o=t,Pn.has(o)?Dn(e,t,n,r):Rn(e,t,n,r)}function yn(e,t,n,r){var o,i;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&An(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:i}=t;i?Rn(e.children,o,n,r):Dn(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;_n(e,t,n),bn(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);Mn(e,n,r,!0),En(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;_n(e,t,r),F(o)||xn(t,o),bn(e.children,t.children,n,r),F(o)||Sr(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function vn(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);kn(s,o,r),Nn(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);kn(s,o,r),Nn(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);kn(l,o,r);const{renderMode:c,shadowMode:a}=o;s&&(1!==a&&0!==c||(l.$shadowStaticNode$=!0));Nn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;Cn(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:i,data:{svg:s}}=e,{createElement:l}=r,c=B(s)?Z:void 0,a=e.elm=l(o,c);kn(a,i,r),On(a,i,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(a,e),_n(null,e,r),Nn(a,t,n,r),Cn(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:En(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function En(e,t,n,r){const{sel:o,owner:i}=e,{createCustomElement:s}=r;let l;const c=s(o.toLowerCase(),(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=Nr(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}),(e=>{ue.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&Tr(e)}),(e=>{ue.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&kr(e)}));e.elm=c,e.vm=l,kn(c,i,r),On(c,i,r),l&&xn(e,l),_n(null,e,r),Nn(c,t,n,r),l&&(ue.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||Rr(l)),Cn(e.children,c,r,null),l&&function(e){xr(e)}(l)}function Cn(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];Tn(i)&&vn(i,t,n,r)}}function Mn(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?Sn(e.children,t,n,r):Ln(i,t,n)),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;Sn(e.children,i,n,t);break}case 3:{const{vm:t}=e;F(t)||function(e){Ar(e)}(t)}}}function Sn(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];Tn(i)&&Mn(i,t,n,r)}}function Tn(e){return null!=e}function kn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function An(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function Nn(e,t,n,r){r.insert(e,t,n)}function Ln(e,t,n){n.remove(e,t)}function _n(e,t,n){H(e)&&(wn(t,n),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)}(t,n),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)}}(t,n)),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),c=gn(o),a=gn(i);let u;for(u in a)F(c[u])&&l.remove(u);for(u in c)F(a[u])&&l.add(u)}(e,t,n),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;U(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,t,n),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&&(Ve(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"):H(t)||F(t)?l(i,e):s(i,e,t),Be())}}(e,t,n),pn(e,t,n)}function On(e,t,n){const r=an(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 xn(e,t){const n=e.aChildren||e.children;t.aChildren=n;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t){var n;const{cmpSlots:o}=e,i=e.cmpSlots=r(null);for(let e=0,r=t.length;e<r;e+=1){const r=t[e];if(H(r))continue;let o="";dn(r)&&(o=(null===(n=r.data.attrs)||void 0===n?void 0:n.slot)||"");const s=i[o]=i[o]||[];S.call(s,r)}if(V(e.isDirty)){const t=f(o);if(t.length!==f(i).length)return void hr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(F(i[r])||o[r].length!==i[r].length)return void hr(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 hr(e)}}}(t,n),e.aChildren=n,e.children=he)}const Pn=new WeakMap;function $n(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Tn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function Dn(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],c=e[s];const a=t.length-1;let u,d,f,h,p=a,m=t[0],g=t[p],w=!1;for(;o<=s&&i<=p;)Tn(l)?Tn(c)?Tn(m)?Tn(g)?fn(l,m)?(yn(l,m,n,r),l=e[++o],m=t[++i]):fn(c,g)?(yn(c,g,n,r),c=e[--s],g=t[--p]):fn(l,g)?(yn(l,g,n,r),Nn(l.elm,n,r.nextSibling(c.elm),r),l=e[++o],g=t[--p]):fn(c,m)?(yn(c,m,n,r),Nn(m.elm,n,l.elm,r),c=e[--s],m=t[++i]):(void 0===u&&(u=$n(e,o,s)),d=u[m.key],F(d)?(vn(m,n,r,l.elm),m=t[++i]):(f=e[d],Tn(f)&&(f.sel!==m.sel?vn(m,n,r,l.elm):(yn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,Nn(f.elm,n,l.elm,r))),m=t[++i])):g=t[--p]:m=t[++i]:c=e[--s]:l=e[++o];if(o<=s||i<=p)if(o>s){let e,o=p;do{e=t[++o]}while(!Tn(e)&&o<a);h=Tn(e)?e.elm:null,Cn(t,n,r,h,i,p+1)}else Sn(e,n,r,!0,o,s+1)}function Rn(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void Cn(t,n,r,null);if(0===i)return void Sn(e,n,r,!0);let s=null;for(let o=i-1;o>=0;o-=1){const i=e[o],l=t[o];l!==i&&(Tn(i)?Tn(l)?(yn(i,l,n,r),s=l.elm):Mn(i,n,r,!0):Tn(l)&&(vn(l,n,r,s),s=l.elm))}}const In=Symbol.iterator;function Fn(e,t,n=he){const r=Zn(),{key:o,ref:i}=t,s={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return F(i)||ye(r,i,s),s}function Hn(e,t,n,r=he){const o=Zn(),{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(Zn().velements,e)}(l),F(s)||ye(o,s,l),l}function Bn(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:Zn()}}function Vn(e){var t;return t=e,Pn.set(t,1),e}let Wn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const jn=s({s:function(e,t,n,r){F(r)||F(r[e])||0===r[e].length||(n=r[e]);const o=Zn(),{renderMode:i,shadowMode:s}=o;return 0===i?(Vn(n),n):(1===s&&Vn(n),Fn("slot",t,n))},h:Fn,c:Hn,i:function(e,t){const n=[];if(Vn(n),F(e)||null===e)return n;const r=e[In]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);m(e)?S.apply(n,e):S.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];Vn(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?S.apply(n,t):S.call(n,t)}return n},t:Bn,d:function(e){return null==e?"":String(e)},b:function(e){const t=Zn();if(H(t))throw new Error;const n=t;return function(t){ar(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:Zn()}},dc:function(e,t,n,r=he){if(null==t)return null;if(!en(t))throw new Error(`Invalid LWC Constructor ${K(t)} for custom element <${e}>.`);return Hn(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[Bn(""),...t,Bn("")],stable:n,owner:Zn()}},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:Zn()}},gid:function(e){const t=Zn();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=Zn();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 Wn(e)}});let Un=!1,Gn=G;const zn={enableProfiler(){Un=!0},disableProfiler(){Un=!1},attachDispatcher(e){Gn=e,this.enableProfiler()},detachDispatcher(){const e=Gn;return Gn=G,this.disableProfiler(),e}};function Kn(e,t){Un&&Gn(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Yn(e,t){Un&&Gn(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function qn(e,t){Un&&Gn(e,0,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}function Xn(e,t){Un&&Gn(e,1,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}let Jn=!1,Qn=null;function Zn(){return Qn}function er(e){Qn=e}function tr(e){return(t,...n)=>{const o=r(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:i},shadowMode:s,renderer:l}=Zn(),c=!F(i),a=1===s;let u=0;if(c&&r&&(u|=1),c&&a&&(u|=2),!F(o[u]))return o[u];const d=r&&c?" "+i:"",f=r&&c?` class="${i}"`:"",h=c&&a?" "+i:"";let p="";for(let e=0,r=n.length;e<r;e++)switch(n[e]){case 0:p+=t[e]+d;break;case 1:p+=t[e]+f;break;case 2:p+=t[e]+h;break;case 3:p+=t[e]+f+h}return p+=t[t.length-1],o[u]=e(p,l),o[u]}}}const nr=tr(((e,t)=>{const{createFragment:n}=t;return n(e)})),rr=tr(((e,t)=>{const{createFragment:n,getFirstChild:r}=t;return r(n("<svg>"+e+"</svg>"))}));function or(e,t){const n=Jn,o=Qn;let i=[];return Vr(e,e.owner,(()=>{Qn=e,Kn(1,e)}),(()=>{const{component:n,context:o,cmpSlots:s,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(H(l)||Br(e),c=t,!Wt.has(c))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${K(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=ir(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:l,setAttribute:c}}=e,{stylesheets:a,stylesheetToken:u}=t,d=1===o&&1===i,{hasScopedStyles:f}=r;let h,p,m;const{stylesheetToken:g,hasTokenInClass:w,hasTokenInAttribute:b}=r;F(g)||(w&&s(n).remove(rn(g)),b&&l(n,rn(g))),F(a)||0===a.length||(h=u),F(h)||(f&&(s(n).add(rn(h)),p=!0),d&&(c(n,rn(h),""),m=!0)),r.stylesheetToken=h,r.hasTokenInClass=p,r.hasTokenInAttribute=m}(e,t);const n=ln(e,t);o.styleVNodes=0===n.length?null:un(e,n)}var c;const a=Boolean(t.hasRefs);e.hasRefVNodes=a,e.refVNodes=a?r(null):null,e.velements=[],Jn=!0,i=t.call(void 0,jn,n,s,o.tplCache);const{styleVNodes:u}=o;H(u)||O.apply(i,u)}))}),(()=>{Jn=n,Qn=o,Yn(1,e)})),i}function ir(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}let sr=null;function lr(e){return sr===e}function cr(e,t,n){const{component:r,callHook:o,owner:i}=e;Vr(e,i,G,(()=>{o(r,t,n)}),G)}function ar(e,t,n,r){const{callHook:o,owner:i}=e;Vr(e,i,G,(()=>{o(n,t,[r])}),G)}const ur=new Map;function dr(e){return Ae((()=>{const{isDirty:t}=e;V(t)&&(hr(e),function(e){if(B(e.isScheduled))return;e.isScheduled=!0,0===$r.length&&me(Dr);S.call($r,e)}(e))}))}function fr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=Zn();let s,l=!1;return Vr(e,o,(()=>{er(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{er(i)})),l?or(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function hr(e){e.isDirty=!0}const pr=new WeakMap;function mr(e,t){if(!W(t))throw new TypeError;let n=pr.get(t);return F(n)&&(n=function(n){ar(e,t,void 0,n)},pr.set(t,n)),n}const gr=r(null),wr=["rendered","connected","disconnected"];function br(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 yr=0;const vr=new WeakMap;function Er(e,t,n=[]){return t.apply(e,n)}function Cr(e,t,n){e[t]=n}function Mr(e,t){return e[t]}function Sr(e){xr(e)}function Tr(e){const t=_r(e);qn(7,t),1===t.state&&kr(e),Rr(t),xr(t),Xn(7,t)}function kr(e){Ar(_r(e))}function Ar(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}=gr;t&&br(e,t);Ir(e)&&function(e){const{wiredDisconnecting:t}=e.context;Vr(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)||(Kn(5,e),cr(e,n),Yn(5,e))}(e),Fr(e),function(e){const{aChildren:t}=e;Hr(t)}(e)}}function Nr(e,t,n,o){const{mode:i,owner:s,tagName:l,hydrated:c}=o,a=tn(t),u={elm:e,def:a,idx:yr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,refVNodes:null,hasRefVNodes:!1,children:he,aChildren:he,velements:he,cmpProps:r(null),cmpFields:r(null),cmpSlots:r(null),oar:r(null),cmpTemplate:null,hydrated:Boolean(c),renderMode:a.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:fe,wiredConnecting:he,wiredDisconnecting:he},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:Er,setHook:Cr,getHook:Mr,renderer:n};return u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(ue.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!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,n),u.tro=dr(u),function(e,t){const n=sr;let r;Kn(0,e),sr=e;try{const o=new t;if(sr.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Yn(0,e),sr=n,!F(r))throw Le(e,r),r}}(u,a.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=Wr.get(i);if(!F(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=Ur(e,t,s),c=s.dynamic.length>0;S.call(r,(()=>{n.connect(),ue.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),S.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function Lr(e,t){vr.set(e,t)}function _r(e){return vr.get(e)}function Or(e){return vr.get(e)}function xr(e){if(B(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&Vr(e,e,(()=>{Kn(2,e)}),(()=>{bn(r,t,n,o)}),(()=>{Yn(2,e)}));1===e.state&&Pr(e)}(e,fr(e))}}function Pr(e){const{def:{renderedCallback:t}}=e,{rendered:n}=gr;n&&br(e,n),F(t)||(Kn(4,e),cr(e,t),Yn(4,e))}let $r=[];function Dr(){qn(8);const e=$r.sort(((e,t)=>e.idx-t.idx));$r=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{xr(r)}catch(r){throw t+1<n&&(0===$r.length&&me(Dr),O.apply($r,N.call(e,t+1))),Xn(8),r}}Xn(8)}function Rr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=gr;n&&br(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;F(r)||(Kn(3,e),cr(e,r),Yn(3,e))}function Ir(e){return c(e.def.wire).length>0}function Fr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!F(n)){const e=Or(n);F(e)||Ar(e)}}}function Hr(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:Hr(n.children);break;case 3:Ar(_r(n.elm));break}}}function Br(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=he,Fr(e),e.velements=he}function Vr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!F(i)){Le(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;Br(e),Kn(6,e);cr(n,n.def.errorCallback,[i,i.wcStack]),Yn(6,e)}}}const Wr=new Map;class jr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function Ur(e,t,n){const{method:r,adapter:o,configCallback:s,dynamic:l}=n,c=F(r)?function(e,t){return n=>{je(e,t,n)}}(e,t):function(e,t){return n=>{Vr(e,e.owner,G,(()=>{t.call(e.component,n)}),G)}}(e,r);let a,u;i(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(c,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),Vr(e,e,G,(()=>{u=new o(c)}),G);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=Ae((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),i()})))})),i=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:i,ro:o}}(e.component,s,(t=>{Vr(e,e,G,(()=>{u.update(t,a)}),G)}));return F(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=zr(r);if(F(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:c}}=e;S.call(s,(()=>{const e=new jr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){S.call(l,e)}});c(i,e)}))}(e,n,(t=>{a!==t&&(a=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const Gr=new Map;function zr(e){return Gr.get(e)}function Kr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Wr.set(e,o)}function Yr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Wr.set(e,o)}let qr=!1;function Xr(e){const t=fr(e);e.children=t;const{renderRoot:n,renderer:{getFirstChild:r}}=e;Zr(r(n),t,n,e),Pr(e)}function Jr(e,t,n){var r,o;let i;switch(t.type){case 0:i=function(e,t,n){var r;if(!no(t,e,3,n))return eo(e,t,n);const{setText:o}=n;return o(e,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 1:i=function(e,t,n){var r;if(!no(t,e,8,n))return eo(e,t,n);const{setProperty:o}=n;return o(e,Qr,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:i=function(e,t,n){if(!function(e,t,n,r){const{getProperty:o,getAttribute:i}=r;if(3===o(e,"nodeType"))return!!no(n,t,3,r)&&o(e,Qr)===o(t,Qr);if(8===o(e,"nodeType"))return!!no(n,t,8,r)&&o(e,Qr)===o(t,Qr);if(!no(n,t,1,r))return!1;let s=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((r=>{i(e,r)!==i(t,r)&&(Oe(`Mismatch hydrating element <${o(e,"tagName").toLowerCase()}>: attribute "${r}" has different values, expected "${i(e,r)}" but found "${i(t,r)}"`,n.owner),s=!1)})),s}(t.fragment,e,t,n))return eo(e,t,n);return t.elm=e,e}(e,t,n);break;case 5:i=function(e,t,n){const{children:r,owner:o}=t;return Zr(e,r,n.getProperty(e,"parentNode"),o),t.elm=r[r.length-1].elm}(e,t,n);break;case 2:i=function(e,t,n){if(!no(t,e,1,n)||!ro(t,e,n))return eo(e,t,n);t.elm=e;const{owner:r}=t,{context:o}=t.data,i=Boolean(!F(o)&&!F(o.lwc)&&"manual"===o.lwc.dom);if(i){const{data:{props:r}}=t,{getProperty:o}=n;F(r)||F(r.innerHTML)||o(e,"innerHTML")===r.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:be(r,"innerHTML")}))}if(to(t,n),!i){const{getFirstChild:o}=n;Zr(o(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:i=function(e,t,n){if(!no(t,e,1,n)||!ro(t,e,n))return eo(e,t,n);const{sel:r,mode:o,ctor:i,owner:s}=t,l=Nr(e,i,n,{mode:o,owner:s,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,xn(t,l),to(t,n),Rr(l),0!==l.renderMode){const{getFirstChild:r}=n;Zr(r(e),t.children,e,l)}return Xr(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(i)}const Qr="nodeValue";function Zr(e,t,n,r){let o=e,i=null;const{renderer:s}=r;for(let e=0;e<t.length;e++){const r=t[e];H(r)||(o?(o=Jr(o,r,s),i=r.elm):(qr=!0,vn(r,n,s,i),i=r.elm))}if(o){qr=!0;const{nextSibling:e}=s;do{const t=o;o=e(o),Ln(t,n,s)}while(o)}}function eo(e,t,n){qr=!0;const{getProperty:r}=n,o=r(e,"parentNode");return vn(t,o,n,e),Ln(e,o,n),t.elm}function to(e,t){wn(e,t),pn(null,e,t)}function no(e,t,n,r){const{getProperty:o}=r;return o(t,"nodeType")===n}function ro(e,t,n){const{getProperty:r}=n;if(e.sel.toLowerCase()!==r(t,"tagName").toLowerCase())return!1;const o=function(e,t,n){const{data:{attrs:r={}}}=e;let o=!0;for(const[e,i]of Object.entries(r)){const{getAttribute:r}=n,s=r(t,e);String(i)!==s&&(o=!1)}return o}(e,t,n),i=function(e,t,n){const{data:r,owner:o}=e;let{className:i,classMap:s}=r;const{getProperty:l,getClassList:c}=n,a=an(o),u=function(e){return 3===e.type}(e)?function(e){const{template:t}=tn(e.ctor),{stylesheetToken:n}=t;return!F(n)&&ir(t)?rn(n):null}(e):null;if(!H(a)||!H(u))if(F(i))if(F(s)){const e=[a,u],t=b.call(e,(e=>!H(e)));t.length&&(i=E.call(t," "))}else s=Object.assign(Object.assign(Object.assign({},s),H(a)?{}:{[a]:!0}),H(u)?{}:{[u]:!0});else{const e=[a,i,u],t=b.call(e,(e=>!H(e)));i=E.call(t," ")}let d=!0;if(F(i)||String(i)===l(t,"className")){if(!F(s)){const e=c(t);let n="";for(const t in s)n+=" "+t,e.contains(t)||(d=!1);n.trim(),e.length>f(s).length&&(d=!1)}}else d=!1;return d}(e,t,n),s=function(e,t,n){const{data:{style:r,styleDecls:o}}=e,{getAttribute:i}=n,s=i(t,"style")||"";let l=!0;if(F(r)||r===s){if(!F(o)){const e=function(e){const t={},n=e.split(ge);for(const e of n)if(e){const[n,r]=e.split(we);void 0!==n&&void 0!==r&&(t[n.trim()]=r.trim())}return t}(s),t=[];for(let n=0,r=o.length;n<r;n++){const[r,i,s]=o[n];t.push(`${r}: ${i+(s?" important!":"")}`);const c=e[r];F(c)?l=!1:c.startsWith(i)?s&&!c.endsWith("!important")&&(l=!1):l=!1}f(e).length>o.length&&(l=!1),E.call(t,";")}}else l=!1;return l}(e,t,n);return o&&i&&s}let oo=!1;const io=W(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),so=io&&l(document.adoptedStyleSheets,"length").writable,lo=!F(document.documentMode),co=new Map;function ao(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function uo(e,t,n){const r=function(e,t){const{element:n,usedElement:r}=t;return r?lo?ao(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function fo(e,t){let n=co.get(e);return F(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},co.set(e,n)),t&&F(n.stylesheet)?n.stylesheet=function(e){const t=new CSSStyleSheet;return t.replaceSync(e),t}(e):!t&&F(n.element)&&(n.element=ao(e)),n}function ho(e,t){const n=fo(e,io);let{roots:r}=n;if(F(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),io?function(e,t,n){const{adoptedStyleSheets:r}=t,{stylesheet:o}=n;so?r.push(o):t.adoptedStyleSheets=[...r,o]}(0,t,n):uo(e,t,n)}const po=function(){if("undefined"==typeof customElements)return!1;try{const e=HTMLElement;class t extends e{}return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),t),new t,!0}catch(e){return!1}}(),mo=(e,t)=>{const n=document.createElement(e);return t(n),n},go=new Map,wo=new WeakSet;let bo=!1;const yo=(e,t)=>class extends HTMLElement{constructor(e){super(),bo?e(this):wo.add(this)}connectedCallback(){wo.has(this)||e(this)}disconnectedCallback(){wo.has(this)||t(this)}},vo=(e,t,n,r)=>{let o=go.get(e);if(F(o)){if(!F(customElements.get(e)))throw new Error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`);o=yo(n,r),customElements.define(e,o),go.set(e,o)}bo=!0;try{return new o(t)}finally{bo=!1}};let Eo,Co;ue.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY&&po&&(Eo=function(){if(!po)throw new Error("Custom elements are not supported in this environment.");const{HTMLElement:e}=window,{hasAttribute:t,setAttribute:n,removeAttribute:r,getAttribute:i}=e.prototype,s=new WeakMap,l=new WeakMap,c=new WeakMap,a=new WeakSet,u=new Map,d=new Map,f=new Map,h=new Map,m=new Set;function g(t,n){class r extends e{constructor(e){super();const r=!F(e);if(r){if(!E(e))throw new TypeError("Failed to create custom element: the provided constructor is not a constructor.");if(!a.has(e))throw new Error(`Failed to create custom element: the provided constructor is unregistered: ${e.name}.`)}const o=r?C(e):d.get(t);F(o)?l.set(this,n):v(this,n,o)}connectedCallback(){var e;const n=s.get(this);if(F(n)){let e=h.get(t);F(e)&&h.set(t,e=new Set),e.add(this)}else null===(e=n.connectedCallback)||void 0===e||e.call(this)}disconnectedCallback(){var e;const n=s.get(this);if(F(n)){const e=h.get(t);F(e)||e.delete(this)}else null===(e=n.disconnectedCallback)||void 0===e||e.call(this)}adoptedCallback(){var e;const t=s.get(this);null===(e=null==t?void 0:t.adoptedCallback)||void 0===e||e.call(this)}attributeChangedCallback(e,t,r){var o;const i=s.get(this);(n===i||(null==i?void 0:i.observedAttributes.has(e)))&&(null===(o=i.attributeChangedCallback)||void 0===o||o.apply(this,[e,t,r]))}}return r.observedAttributes=[...n.observedAttributes],r}function w(e,t){const{observedAttributes:n,attributeChangedCallback:r}=t;return 0===n.size||F(r)?m:new Set([...t.observedAttributes].filter((t=>!e.observedAttributes.has(t))))}function b(e){setTimeout((()=>{throw e}))}let y;function v(e,l,c){p(e,c.UserCtor.prototype),s.set(e,c),c!==l&&function(e,t,s){const l=w(t,s);if(0===l.size)return;const{attributeChangedCallback:c}=s;o(e,{setAttribute:{value:function(e,t){if(l.has(e)){const r=i.call(this,e);n.call(this,e,t);try{c.call(this,e,r,t+"")}catch(e){b(e)}}else n.call(this,e,t)},writable:!0,enumerable:!0,configurable:!0},removeAttribute:{value:function(e){if(l.has(e)){const t=i.call(this,e);r.call(this,e);try{c.call(this,e,t,null)}catch(e){b(e)}}else r.call(this,e)},writable:!0,enumerable:!0,configurable:!0}})}(e,l,c),y=e,new c.UserCtor,function(e,n,r){const o=w(n,r);if(0===w(n,r).size)return;const{attributeChangedCallback:s}=r;o.forEach((n=>{if(t.call(e,n)){const t=i.call(e,n);s.call(e,n,null,t)}}))}(e,l,c)}function E(e){return W(e)&&j(e.prototype)}function C(e){if(!E(e))throw new TypeError("The referenced constructor is not a constructor.");const t=c.get(e);return F(t)?function(e){var t;const{connectedCallback:n,disconnectedCallback:r,adoptedCallback:o,attributeChangedCallback:i}=e.prototype;return{UserCtor:e,PivotCtor:void 0,connectedCallback:n,disconnectedCallback:r,adoptedCallback:o,attributeChangedCallback:i,observedAttributes:new Set(null!==(t=e.observedAttributes)&&void 0!==t?t:[])}}(e):t}const{customElements:M}=window,{define:S,whenDefined:T,get:k}=M;return CustomElementRegistry.prototype.define=function(e,t,n){if(n&&n.extends)throw new DOMException('NotSupportedError: "extends" key in customElements.define() options is not supported.');if(d.has(e))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${e}" has already been used with this registry`);if(!F(f.get(t)))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const r=C(t);a.add(t);let o=u.get(e);F(o)&&(o=g(e,r),S.call(M,e,o)),c.set(t,r),u.set(e,o),d.set(e,r),f.set(t,r),r.PivotCtor=o;const i=h.get(e);if(!F(i)){h.delete(e);for(const e of i){const t=l.get(e);F(t)||(l.delete(e),v(e,t,r))}}},CustomElementRegistry.prototype.get=function(e){const t=k.call(M,e);if(!F(t)){const n=d.get(e);return F(n)?t:n.UserCtor}},CustomElementRegistry.prototype.whenDefined=function(e){return T.call(M,e).then((t=>{const n=d.get(e);return F(n)?F(t)?k.call(M,e):t:n.UserCtor}))},window.HTMLElement=function(){const e=y;if(!F(e))return y=void 0,e;const{constructor:t}=this,n=f.get(t);if(F(n)||F(n.PivotCtor))throw new TypeError("Illegal constructor");const{PivotCtor:r,UserCtor:o}=n;return new r(o)},HTMLElement.prototype=e.prototype,function(e,t){e=I.call(e);let n=u.get(e);if(F(n)){const r=C(t);n=g(e,r),S.call(M,e,n),r.PivotCtor=n,c.set(t,r),u.set(e,n)}return a.add(t),n}}(),Co=window.HTMLElement);const Mo=(e,t,n,r)=>class extends r{constructor(){super(),e(this)}connectedCallback(){t(this)}disconnectedCallback(){n(this)}};let So;function To(e){const t=function(e){var t=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});function n(e){return void 0===e}e.createFragment=void 0;if("function"==typeof HTMLTemplateElement)e.createFragment=function(e){const t=document.createElement("template");return t.innerHTML=e,t.content.firstChild};else{const t={caption:["table"],col:["colgroup","table"],colgroup:["table"],option:["select"],tbody:["table"],td:["tr","tbody","table"],th:["tr","tbody","table"],thead:["table"],tfoot:["table"],tr:["tbody","table"]},r=function(e){return(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(e)||["",""])[1].toLowerCase()};e.createFragment=function(e){const o=t[r(e)];if(!n(o))for(const t of o)e=`<${t}>${e}</${t}>`;const i=document.implementation.createHTMLDocument("");i.body.innerHTML=e;let s=i.body;if(!n(o))for(let e=0;e<o.length;e++)s=s.firstChild;return s.firstChild}}return e.addEventListener=function(e,t,n,r){e.addEventListener(t,n,r)},e.assertInstanceOfHTMLElement=function(e,n){t.invariant(e instanceof HTMLElement,n)},e.attachShadow=function(e,t){return null!==e.shadowRoot?e.shadowRoot:e.attachShadow(t)},e.cloneNode=function(e,t){return e.cloneNode(t)},e.createComment=function(e){return document.createComment(e)},e.createElement=function(e,t){return n(t)?document.createElement(e):document.createElementNS(t,e)},e.createText=function(e){return document.createTextNode(e)},e.dispatchEvent=function(e,t){return e.dispatchEvent(t)},e.getAttribute=function(e,t,r){return n(r)?e.getAttribute(t):e.getAttributeNS(r,t)},e.getBoundingClientRect=function(e){return e.getBoundingClientRect()},e.getChildNodes=function(e){return e.childNodes},e.getChildren=function(e){return e.children},e.getClassList=function(e){return e.classList},e.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},e.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},e.getFirstChild=function(e){return e.firstChild},e.getFirstElementChild=function(e){return e.firstElementChild},e.getLastChild=function(e){return e.lastChild},e.getLastElementChild=function(e){return e.lastElementChild},e.getProperty=function(e,t){return e[t]},e.insert=function(e,t,n){t.insertBefore(e,n)},e.isConnected=function(e){return e.isConnected},e.nextSibling=function(e){return e.nextSibling},e.querySelector=function(e,t){return e.querySelector(t)},e.querySelectorAll=function(e,t){return e.querySelectorAll(t)},e.remove=function(e,t){t.removeChild(e)},e.removeAttribute=function(e,t,r){n(r)?e.removeAttribute(t):e.removeAttributeNS(r,t)},e.removeEventListener=function(e,t,n,r){e.removeEventListener(t,n,r)},e.setAttribute=function(e,t,r,o){return n(o)?e.setAttribute(t,r):e.setAttributeNS(o,t,r)},e.setCSSStyleProperty=function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},e.setProperty=function(e,t,n){e[t]=n},e.setText=function(e,t){e.nodeValue=t},e}({});return Object.setPrototypeOf(t,e),t}So=po?ue.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY?function(e,t,n,r){if(F(Eo)||F(Co))throw new Error("The flag ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY must be set to true to use this feature");const o=Mo(t,n,r,Co);return new(Eo(e,o))(o)}:vo:mo;const ko=n(To(null),{insertStylesheet:function(e,t){F(t)?function(e){const t=fo(e,!1);t.global||(t.global=!0,uo(e,document.head,t))}(e):ho(e,t)},createCustomElement:So,isNativeShadowDefined:Q.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,"$shadowToken$")});function Ao(e,t,n){const r=Nr(e,t,ko,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,r]of Object.entries(n))e[t]=r;return r}function No(e,t,n={}){if(!(e instanceof Element))throw new TypeError(`"hydrateComponent" expects a valid DOM element as the first parameter but instead received ${e}.`);if(!W(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!j(n)||H(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(Or(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{!function(e){qr=!1,Rr(e),Xr(e),qr&&Oe("Hydration completed with errors.",e)}(Ao(e,t,n))}catch(r){console.error("Recovering from error while hydrating: ",r),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!H(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!H(e.firstChild);)e.removeChild(e.firstChild)}(e,t),Ao(e,t,n),Tr(e)}}const Lo=new WeakSet;function _o(e){var t;const n=function(e){return tn(e).bridge}(e),{observedAttributes:r}=n,{attributeChangedCallback:o}=n.prototype;return(t=class extends HTMLElement{constructor(){super(),this.isConnected?(No(this,e,{}),Lo.add(this)):Nr(this,e,ko,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){Lo.has(this)?Lo.delete(this):Tr(this)}disconnectedCallback(){kr(this)}attributeChangedCallback(e,t,n){o.call(this,e,t,n)}}).observedAttributes=r,t}const Oo=Node,xo=new WeakMap,Po=new WeakMap;function $o(e,t){const n=t.get(e);return F(n)||n(e),e}if(!ue.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE){const{appendChild:e,insertBefore:t,removeChild:r,replaceChild:o}=Oo.prototype;n(Oo.prototype,{appendChild(t){return $o(e.call(this,t),xo)},insertBefore(e,n){return $o(t.call(this,e,n),xo)},removeChild(e){return $o(r.call(this,e),Po)},replaceChild(e,t){const n=o.call(this,e,t);return $o(n,Po),$o(e,xo),n}})}const Do=Node;const Ro=new Map;return i(Lt,"CustomElementConstructor",{get(){return function(e){if(e===Lt)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=Ro.get(e);return F(t)&&(t=_o(e),Ro.set(e,t)),t}(this)}}),s(Lt),h(Lt.prototype),e.LightningElement=Lt,e.__unstable__ProfilerControl=zn,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=zr(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){Gr.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()}))}},e.createElement=function(e,t){if(!j(t)||H(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${K(t)}".`);const n=t.is;if(!W(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const{createCustomElement:r}=ko,o=I.call(e);return r(o,(e=>{Nr(e,n,ko,{tagName:o,mode:"closed"!==t.mode?"open":"closed",owner:null}),ue.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||(xo.set(e,Tr),Po.set(e,kr))}),(e=>{ue.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&Tr(e)}),(e=>{ue.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&kr(e)}))},e.freezeTemplate=function(e){},e.getComponentConstructor=function(e){let t=null;if(!F(e)){const n=Or(e);F(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=tn(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:ne(e)};const c={};for(const e in s)c[e]=s[e].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=No,e.isComponentConstructor=en,e.isNodeFromTemplate=function(e){if(V(e instanceof Do))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&V(u.call(a(t),"synthetic")))||ko.isSyntheticShadowDefined&&!F(e.$shadowResolver$)},e.parseFragment=nr,e.parseSVGFragment=rr,e.readonly=function(e){return Mt(e)},e.register=function(e){for(let t=0;t<wr.length;++t){const n=wr[t];if(n in e){let t=gr[n];F(t)&&(gr[n]=t=[]),S.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return W(e)&&ur.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:s,wire:c,track:a,fields:u}=t,d=r(null),f=r(null),h=r(null),p=r(null),m=r(null),g=r(null);let w;if(!F(o))for(const e in o){const t=o[e];if(g[e]=t.config,w=l(n,e),t.config>0){if(F(w))throw new Error;w=It(e,w)}else w=F(w)||F(w.get)?Rt(e):It(e,w);f[e]=w,i(n,e,w)}if(F(s)||x.call(s,(e=>{if(w=l(n,e),F(w))throw new Error;d[e]=w})),!F(c))for(const e in c){const{adapter:t,method:r,config:o,dynamic:s=[]}=c[e];if(w=l(n,e),1===r){if(F(w))throw new Error;h[e]=w,Kr(w,t,o,s)}else w=Ht(e),p[e]=w,Yr(w,t,o,s),i(n,e,w)}if(!F(a))for(const e in a)w=l(n,e),w=Ft(e),i(n,e,w);if(!F(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const r=!F(o)&&t in o,i=!F(a)&&t in a;r||i||(m[t]=$t(t))}return function(e,t){Bt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return Wt.add(e),i(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},e.renderer=ko,e.rendererFactory=To,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(F(ae[e])){const n=f(ae).map((e=>`"${e}"`)).join(", ");console.warn(`Failed to set the value "${t}" for the runtime feature flag "${e}" because it is undefined. Available flags: ${n}.`)}else{const n=ue[e];if(!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}".`);i(ue,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var n;t.isFalse(oo,"Hooks are already overridden, only one definition is allowed."),oo=!0,n=e.sanitizeHtmlContent,Wn=n},e.swapComponent=function(e,t){return!1},e.swapStyle=function(e,t){return!1},e.swapTemplate=function(e,t){return!1},e.track=function(e){if(1===arguments.length)return St(e);throw new Error},e.unwrap=function(e){return Ct.unwrapProxy(e)},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0}),e}({});
|
|
1
|
+
var LWC=function(e){"use strict";var t=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:n,create:r,defineProperties:o,defineProperty:i,freeze:s,getOwnPropertyDescriptor:l,getOwnPropertyNames:c,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{concat:g,copyWithin:w,fill:b,filter:y,find:v,indexOf:E,join:C,map:M,pop:S,push:T,reduce:k,reverse:A,shift:N,slice:L,some:_,sort:O,splice:x,unshift:P,forEach:D}=Array.prototype,{fromCharCode:$}=String,{charCodeAt:R,replace:I,slice:F,toLowerCase:H}=String.prototype;function B(e){return void 0===e}function V(e){return null===e}function W(e){return!0===e}function j(e){return!1===e}function U(e){return"function"==typeof e}function G(e){return"object"==typeof e}function z(e){return"string"==typeof e}function K(){}const Y={}.toString;function q(e){return e&&e.toString?m(e)?C.call(M.call(e,q),","):e.toString():"object"==typeof e?Y.call(e):e+""}function X(e,t){do{const n=l(e,t);if(!B(n))return n;e=a(e)}while(null!==e)}const J=["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:Z}=(()=>{const e=r(null),t=r(null);return D.call(J,(n=>{const r=H.call(I.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),ee=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}(),te="http://www.w3.org/2000/svg",ne=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"]]),re=new Map;function oe(e){const t=Z[e];if(!B(t))return t;const n=ne.get(e);if(!B(n))return n;const r=re.get(e);if(!B(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=R.call(e,t);o+=n>=65&&n<=90?"-"+$(n+32):$(n)}return re.set(e,o),o}function ie(e){return void 0===l(Element.prototype,e)}const se=new WeakMap;function le(e){let t=se.get(e);return void 0===t&&(t={},se.set(e,t)),t}function ce(e,t){return{get(){const n=le(this);return u.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set(n){const r=null==(o=n)?null:String(o);var o;le(this)[e]=r,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function ae(e){const t=ce(e,Z[e]);Object.defineProperty(Element.prototype,e,t)}const ue=f(Z);for(let e=0,t=ue.length;e<t;e+=1){const t=ue[e];ie(t)&&ae(t)}const de={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};ee.lwcRuntimeFlags||Object.defineProperty(ee,"lwcRuntimeFlags",{value:r(null)});const fe=ee.lwcRuntimeFlags;let he=[];const pe=h(r(null)),me=h([]);function ge(){const e=he;he=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function we(e){0===he.length&&Promise.resolve().then(ge),T.call(he,e)}const be=/;(?![^(]*\))/g,ye=/:(.+)/;function ve(e,t){const n={};for(const r of Object.keys(e))r!==t&&(n[r]=e[r]);return n}function Ee(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}const Ce=new WeakMap;let Me=null;function Se(e,t){const n=Ce.get(e);if(!B(n)){const e=n[t];if(!B(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Te(e,t){if(null===Me)return;const n=Me,o=function(e){let t=Ce.get(e);if(B(t)){const n=r(null);t=n,Ce.set(e,n)}return t}(e);let i=o[t];if(B(i))i=[],o[t]=i;else if(i[0]===n)return;-1===E.call(i,n)&&n.link(i)}class ke{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=Me;let n;Me=this;try{e()}catch(e){n=Object(e)}finally{if(Me=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],r=E.call(e[n],this);x.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){T.call(e,this),T.call(this.listeners,e)}}function Ae(e,t){Se(e.component,t)}function Ne(e,t){Te(e.component,t)}function Le(e){return new ke(e)}function _e(e){return`<${H.call(e.tagName)}>`}function Oe(e,t){if(!d(t)&&B(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!V(n);)T.call(t,_e(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}function xe(e,t,n){let r=`[LWC ${e}]: ${t}`;B(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!V(e.owner);)T.call(t,n+_e(e)),e=e.owner,n+="\t";return C.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function Pe(e,t){xe("error",e,t)}function De(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function $e(e){return U(e)&&u.call(e,"__circular__")}const Re="undefined"!=typeof HTMLElement?HTMLElement:function(){},Ie=Re.prototype;function Fe(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}n(r(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:Fe("offsetHeight")},offsetLeft:{readOnly:!0,error:Fe("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Fe("offsetTop")},offsetWidth:{readOnly:!0,error:Fe("offsetWidth")},role:{attribute:"role"}});let He,Be=null;function Ve(e,t){return e!==Be||t!==He}function We(e,t){Be=null,He=void 0}function je(e,t){Be=e,He=t}const Ue=r(null);function Ge(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n,Ae(e,t))}D.call(f(Z),(e=>{const t=X(Ie,e);B(t)||(Ue[e]=t)})),D.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=X(Ie,e);B(t)||(Ue[e]=t)}));const{isArray:ze}=Array,{prototype:Ke,getPrototypeOf:Ye,create:qe,defineProperty:Xe,isExtensible:Je,getOwnPropertyDescriptor:Qe,getOwnPropertyNames:Ze,getOwnPropertySymbols:et,preventExtensions:tt,hasOwnProperty:nt}=Object,{push:rt,concat:ot}=Array.prototype;function it(e){return void 0===e}function st(e){return"function"==typeof e}const lt=new WeakMap;function ct(e,t){lt.set(e,t)}const at=e=>lt.get(e)||e;class ut{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(nt.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;it(n)||(e.get=this.wrapGetter(n)),it(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=Qe(n,t);if(!it(r)){const n=this.wrapDescriptor(r);Xe(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;ot.call(Ze(t),et(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;it(n)||nt.call(e,n)||Xe(e,n,qe(null)),tt(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=it(n)||nt.call(t,n)?[]:[n];return rt.apply(r,Ze(t)),rt.apply(r,et(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!Je(e)&&(!!Je(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Ye(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=Qe(n,t);if(it(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},Xe(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const dt=new WeakMap,ft=new WeakMap,ht=new WeakMap,pt=new WeakMap;class mt extends ut{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=dt.get(e);if(!it(t))return t;const n=this,r=function(){return n.wrapValue(e.call(at(this)))};return dt.set(e,r),ht.set(r,e),r}wrapSetter(e){const t=ft.get(e);if(!it(t))return t;const n=function(t){e.call(at(this),at(t))};return ft.set(e,n),pt.set(n,e),n}unwrapDescriptor(e){if(nt.call(e,"value"))e.value=at(e.value);else{const{set:t,get:n}=e;it(n)||(e.get=this.unwrapGetter(n)),it(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=ht.get(e);if(!it(t))return t;const n=this,r=function(){return at(e.call(n.wrapValue(this)))};return dt.set(r,e),ht.set(e,r),r}unwrapSetter(e){const t=pt.get(e);if(!it(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return ft.set(r,e),pt.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&&ze(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(Je(e)){const{originalTarget:t}=this;if(tt(t),Je(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!nt.call(r,t)||(Xe(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const gt=new WeakMap,wt=new WeakMap;class bt extends ut{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=gt.get(e);if(!it(t))return t;const n=this,r=function(){return n.wrapValue(e.call(at(this)))};return gt.set(e,r),r}wrapSetter(e){const t=wt.get(e);if(!it(t))return t;const n=function(e){};return wt.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 yt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(ze(e))return!0;const t=Ye(e);return t===Ke||null===t||null===Ye(t)}const vt=(e,t)=>{},Et=(e,t)=>{};function Ct(e){return ze(e)?[]:{}}const Mt=Symbol.for("@@lockerLiveValue"),St=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=st(t)?t:Et,this.valueObserved=st(n)?n:vt,this.valueIsObservable=st(r)?r:yt,this.tagPropertyKey=o}getProxy(e){const t=at(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=at(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return at(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(it(t)){const n=new mt(this,e);t=new Proxy(Ct(e),n),ct(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(it(t)){const n=new bt(this,e);t=new Proxy(Ct(e),n),ct(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Te,valueMutated:Se,tagPropertyKey:Mt});function Tt(e){return St.getReadOnlyProxy(e)}function kt(e){return St.getProxy(e)}function At(e){e[Mt]=void 0}function Nt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!U(n))throw new TypeError;if(!U(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=Pr(this);if(!ur(t))return Ne(t,e),n.call(t.elm)},set(t){const n=Pr(this);return Ge(n,e,t),r.call(n.elm,t)}}}const Lt=s(r(null)),_t=new WeakMap,Ot=function(){if(V(ar))throw new TypeError("Illegal constructor");const e=ar,{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 At(this),xr(o,e),xr(n,e),1===e.renderMode?e.renderRoot=xt(e):e.renderRoot=n,this};function xt(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,xr(s,e),s}Ot.prototype={constructor:Ot,dispatchEvent(e){const t=Pr(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=Pr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,br(r,t),n)},removeEventListener(e,t,n){const r=Pr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,br(r,t),n)},hasAttribute(e){const t=Pr(this),{elm:n,renderer:{getAttribute:r}}=t;return!V(r(n,e))},hasAttributeNS(e,t){const n=Pr(this),{elm:r,renderer:{getAttribute:o}}=n;return!V(o(r,t,e))},removeAttribute(e){const t=Pr(this),{elm:n,renderer:{removeAttribute:r}}=t;je(n,e),r(n,e),We()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=Pr(this);je(n,t),r(n,t,e),We()},getAttribute(e){const t=Pr(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=Pr(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=Pr(this),{elm:r,renderer:{setAttribute:o}}=n;je(r,e),o(r,e,t),We()},setAttributeNS(e,t,n){const r=Pr(this),{elm:o,renderer:{setAttribute:i}}=r;je(o,t),i(o,t,n,e),We()},getBoundingClientRect(){const e=Pr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=Pr(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=Pr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return Pr(this).shadowRoot},get refs(){const e=Pr(this);if(er)return;const{refVNodes:t,hasRefVNodes:n,cmpTemplate:o}=e;if(!n)return;if(V(t))return Lt;let i=_t.get(t);if(B(i)){i=r(null);for(const e of f(t))i[e]=t[e].elm;s(i),_t.set(t,i)}return i},set refs(e){i(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=Pr(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=Pr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=Pr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=Pr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=Pr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=Pr(this);return e.renderer.getLastElementChild(e.elm)},render(){return Pr(this).def.template},toString(){return`[object ${Pr(this).def.name}]`}};const Pt=r(null),Dt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Dt)Pt[e]={value(t){const n=Pr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(Ot.prototype,Pt);const $t=r(null);for(const e in Ue)$t[e]=Nt(e,Ue[e]);function Rt(e){return{get(){const t=Pr(this);return Ne(t,e),t.cmpFields[e]},set(t){Ge(Pr(this),e,t)},enumerable:!0,configurable:!0}}o(Ot.prototype,$t),i(Ot,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class It extends ke{constructor(e,t){super((()=>{j(this.debouncing)&&(this.debouncing=!0,we((()=>{if(W(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,W(e.isDirty)&&j(r)&&i>0&&Ar(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function Ft(e){return{get(){const t=Pr(this);if(!ur(t))return Ne(t,e),t.cmpProps[e]},set(t){const n=Pr(this);n.cmpProps[e]=t,Ae(n,e)},enumerable:!0,configurable:!0}}function Ht(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!U(n))throw new Error;return{get(){return n.call(this)},set(t){const n=Pr(this);if(r)if(fe.ENABLE_REACTIVE_SETTER){let o=n.oar[e];B(o)&&(o=n.oar[e]=function(e,t){return new It(e,t)}(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function Bt(e){return{get(){const t=Pr(this);return Ne(t,e),t.cmpFields[e]},set(t){const n=Pr(this),r=kt(t);Ge(n,e,r)},enumerable:!0,configurable:!0}}function Vt(e){return{get(){const t=Pr(this);return Ne(t,e),t.cmpFields[e]},set(t){Ge(Pr(this),e,t)},enumerable:!0,configurable:!0}}const Wt=new Map;const jt={apiMethods:pe,apiFields:pe,apiFieldsConfig:pe,wiredMethods:pe,wiredFields:pe,observedFields:pe};const Ut=new Set;function Gt(){return[]}Ut.add(Gt);const zt=r(null),Kt=r(null);function Yt(e){let t=zt[e];return B(t)&&(t=zt[e]=function(){const t=Pr(this),{getHook:n}=t;return n(t.component,e)}),t}function qt(e){let t=Kt[e];return B(t)&&(t=Kt[e]=function(t){const n=Pr(this),{setHook:r}=n;t=Tt(t),r(n.component,e,t)}),t}function Xt(e){return function(){const t=Pr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,L.call(arguments))}}function Jt(e,t){return function(n,r,o){if(r===o)return;const i=e[n];B(i)?B(t)||t.apply(this,arguments):Ve(this,n)&&(this[i]=o)}}function Qt(e,t,n){let s;U(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),i(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=r(null),{attributeChangedCallback:c}=e.prototype,{observedAttributes:a=[]}=e,u=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[oe(n)]=n,u[n]={get:Yt(n),set:qt(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:Xt(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:Jt(l,c)},i(s,"observedAttributes",{get:()=>[...a,...f(l)]}),o(s.prototype,u),s}const Zt=Qt(Re,c(Ue),[]);s(Zt),h(Zt.prototype);const en=new WeakMap;function tn(e){const{shadowSupportMode:t,renderMode:i}=e,s=function(e){const t=Wt.get(e);return B(t)?jt:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:b,errorCallback:y,render:v}=m;const E=function(e){let t=a(e);if(V(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if($e(t)){const e=De(t);t=e===t?Ot:e}return t}(e),C=E!==Ot?rn(E):on,M=Qt(C.bridge,f(l),f(u)),S=n(r(null),C.props,l),T=n(r(null),C.propsConfig,c),k=n(r(null),C.methods,u),A=n(r(null),C.wire,d,h);g=g||C.connectedCallback,w=w||C.disconnectedCallback,b=b||C.renderedCallback,y=y||C.errorCallback,v=v||C.render;let N=C.shadowSupportMode;B(t)||(N=t);let L=C.renderMode;B(i)||(L="light"===i?0:1);const _=function(e){return hr.get(e)}(e)||C.template,O=e.name||C.name;o(m,p);return{ctor:e,name:O,wire:A,props:S,propsConfig:T,methods:k,bridge:M,template:_,renderMode:L,shadowSupportMode:N,connectedCallback:g,disconnectedCallback:w,renderedCallback:b,errorCallback:y,render:v}}function nn(e){if(!U(e))return!1;if(e.prototype instanceof Ot)return!0;let t=e;do{if($e(t)){const e=De(t);if(e===t)return!0;t=e}if(t===Ot)return!0}while(!V(t)&&(t=a(t)));return!1}function rn(e){let t=en.get(e);if(B(t)){if($e(e)){return t=rn(De(e)),en.set(e,t),t}if(!nn(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=tn(e),en.set(e,t)}return t}const on={ctor:Ot,name:Ot.name,props:$t,propsConfig:pe,methods:pe,renderMode:1,shadowSupportMode:"reset",wire:pe,bridge:Zt,template:Gt,render:Ot.prototype.render};function sn(e){return`${e}-host`}function ln(e){return zn.h("style",{key:"style",attrs:{type:"text/css"}},[zn.t(e)])}function cn(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(m(s))T.apply(r,cn(s,t,n));else{const e=s.$scoped$;if(fe.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){Pe("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 c;1===n.renderMode?c=0===n.shadowMode:(B(o)&&(o=un(n)),c=V(o)||0===o.shadowMode),T.call(r,s(i,l,c))}}return r}function an(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return B(n)||0===n.length||(o=cn(n,r,e)),o}function un(e){let t=e;for(;!V(t);){if(1===t.renderMode)return t;t=t.owner}return t}function dn(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}function fn(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)o(t[e]);else{if(e.hydrated)return M.call(t,ln);{const n=function(e){const t=un(e);return V(t)||1!==t.shadowMode?t:null}(e),r=V(n)?void 0:n.shadowRoot;for(let e=0;e<t.length;e++)o(t[e],r)}}return null}function hn(e){const{type:t}=e;return 2===t||3===t}function pn(e,t){return e.key===t.key&&e.sel===t.sel}function mn(e){return 6===e.type}function gn(e,t){return"input"===e&&("value"===t||"checked"===t)}function wn(e,t,r){let{props:o}=t.data;const{spread:i}=t.data;if(B(o)&&B(i))return;let s;if(!V(e)){s=e.data.props;const t=e.data.spread;if(s===o&&t===i)return;B(s)&&(s=pe),B(t)||(s=n({},s,t))}B(i)||(o=n({},o,i));const l=V(e),{elm:c,sel:a}=t,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(gn(a,e)?u(c,e):s[e])&&e in s||d(c,e,t)}}const bn=r(null);function yn(e){if(null==e)return pe;e=z(e)?e:e+"";let t=bn[e];if(t)return t;t=r(null);let n,o=0;const i=e.length;for(n=0;n<i;n++)32===R.call(e,n)&&(n>o&&(t[F.call(e,o,n)]=!0),o=n+1);return n>o&&(t[F.call(e,o,n)]=!0),bn[e]=t,t}function vn(e,t){const{elm:n,data:{on:r}}=e;if(B(r))return;const{addEventListener:o}=t;for(const e in r){o(n,e,r[e])}}function En(e,t,n,r){var o;o=t,Rn.has(o)?Fn(e,t,n,r):Hn(e,t,n,r)}function Cn(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&&_n(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?Hn(e.children,o,n,r):Fn(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;Pn(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);kn(e,n,r,!0),Sn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;Pn(e,t,r),B(o)||$n(t,o),En(e.children,t.children,n,r),B(o)||Ar(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function Mn(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);Ln(s,o,r),On(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);Ln(s,o,r),On(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);Ln(l,o,r);const{renderMode:c,shadowMode:a}=o;s&&(1!==a&&0!==c||(l.$shadowStaticNode$=!0));On(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;Tn(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:i,data:{svg:s}}=e,{createElement:l}=r,c=W(s)?te:void 0,a=e.elm=l(o,c);Ln(a,i,r),Dn(a,i,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(a,e),Pn(null,e,r),On(a,t,n,r),Tn(e.children,a,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 c=s(o.toLowerCase(),(t=>{l=function(e,t,n){let r=Dr(e);if(!B(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=Or(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}),(e=>{fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&Nr(e)}),(e=>{fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&Lr(e)}));e.elm=c,e.vm=l,Ln(c,i,r),Dn(c,i,r),l&&$n(e,l),Pn(null,e,r),On(c,t,n,r),l&&(fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||Hr(l)),Tn(e.children,c,r,null),l&&function(e){$r(e)}(l)}function Tn(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];Nn(i)&&Mn(i,t,n,r)}}function kn(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?An(e.children,t,n,r):xn(i,t,n)),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;An(e.children,i,n,t);break}case 3:{const{vm:t}=e;B(t)||function(e){_r(e)}(t)}}}function An(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];Nn(i)&&kn(i,t,n,r)}}function Nn(e){return null!=e}function Ln(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function _n(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function On(e,t,n,r){r.insert(e,t,n)}function xn(e,t,n){n.remove(e,t)}function Pn(e,t,n){V(e)&&(vn(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(B(r))return;const{getClassList:o}=t,i=o(n);for(const e in r)i.add(e)}(t,n),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(B(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,i,s]=r[e];o(n,t,i,s)}}(t,n)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=V(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),c=yn(o),a=yn(i);let u;for(u in a)B(c[u])&&l.remove(u);for(u in c)B(a[u])&&l.add(u)}(e,t,n),function(e,t,n){const{elm:r,data:{style:o}}=t;if((V(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;z(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,t,n),function(e,t,n){const{attrs:r}=t.data;if(B(r))return;const o=V(e)?pe: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&&(je(i,e),58===R.call(e,3)?s(i,e,t,"http://www.w3.org/XML/1998/namespace"):58===R.call(e,5)?s(i,e,t,"http://www.w3.org/1999/xlink"):V(t)||B(t)?l(i,e):s(i,e,t),We())}}(e,t,n),wn(e,t,n)}function Dn(e,t,n){const r=dn(t);if(!V(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||B(o)||(e.$shadowToken$=o)}function $n(e,t){const n=e.aChildren||e.children;t.aChildren=n;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t,n){var o,i;const{cmpSlots:{slotAssignments:s}}=e,l=r(null);e.cmpSlots={owner:n,slotAssignments:l};for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(V(n))continue;let r="";hn(n)?r=null!==(i=null===(o=n.data.attrs)||void 0===o?void 0:o.slot)&&void 0!==i?i:"":mn(n)&&(r=n.slotName);const s=l[r]=l[r]||[];T.call(s,n)}if(j(e.isDirty)){const t=f(s);if(t.length!==f(l).length)return void gr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(B(l[r])||s[r].length!==l[r].length)return void gr(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 gr(e)}}}(t,n,e.owner),e.aChildren=n,e.children=me)}const Rn=new WeakMap;function In(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Nn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function Fn(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],c=e[s];const a=t.length-1;let u,d,f,h,p=a,m=t[0],g=t[p],w=!1;for(;o<=s&&i<=p;)Nn(l)?Nn(c)?Nn(m)?Nn(g)?pn(l,m)?(Cn(l,m,n,r),l=e[++o],m=t[++i]):pn(c,g)?(Cn(c,g,n,r),c=e[--s],g=t[--p]):pn(l,g)?(Cn(l,g,n,r),On(l.elm,n,r.nextSibling(c.elm),r),l=e[++o],g=t[--p]):pn(c,m)?(Cn(c,m,n,r),On(m.elm,n,l.elm,r),c=e[--s],m=t[++i]):(void 0===u&&(u=In(e,o,s)),d=u[m.key],B(d)?(Mn(m,n,r,l.elm),m=t[++i]):(f=e[d],Nn(f)&&(f.sel!==m.sel?Mn(m,n,r,l.elm):(Cn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,On(f.elm,n,l.elm,r))),m=t[++i])):g=t[--p]:m=t[++i]:c=e[--s]:l=e[++o];if(o<=s||i<=p)if(o>s){let e,o=p;do{e=t[++o]}while(!Nn(e)&&o<a);h=Nn(e)?e.elm:null,Tn(t,n,r,h,i,p+1)}else An(e,n,r,!0,o,s+1)}function Hn(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void Tn(t,n,r,null);if(0===i)return void An(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&&(Nn(i)?Nn(l)?(Cn(i,l,n,r),s=l.elm):kn(i,n,r,!0):Nn(l)&&(Mn(l,n,r,s),s=l.elm))}}const Bn=Symbol.iterator;function Vn(e,t,n=me){const r=nr(),{key:o,ref:i}=t,s={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return B(i)||Ee(r,i,s),s}function Wn(e,t,n,r=me){const o=nr(),{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){T.call(nr().velements,e)}(l),B(s)||Ee(o,s,l),l}function jn(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:nr()}}function Un(e){var t;return t=e,Rn.set(t,1),e}let Gn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const zn=s({s:function(e,t,n,r){B(r)||B(r.slotAssignments)||B(r.slotAssignments[e])||0===r.slotAssignments[e].length||(n=r.slotAssignments[e].reduce(((e,n)=>{if(n){const o=mn(n);if(o!==!B(t.slotData))return e;if(o){const o=nr();let i=[];rr(r.owner);try{i=n.factory(t.slotData)}finally{rr(o)}return g.call(e,i)}return g.call(e,n)}return e}),[]));const o=nr(),{renderMode:i,shadowMode:s}=o;return 0===i?(Un(n),n):(1===s&&Un(n),Vn("slot",t,n))},h:Vn,c:Wn,i:function(e,t){const n=[];if(Un(n),B(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);m(e)?T.apply(n,e):T.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];Un(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?T.apply(n,t):T.call(n,t)}return n},t:jn,d:function(e){return null==e?"":String(e)},b:function(e){const t=nr();if(V(t))throw new Error;const n=t;return function(t){fr(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:nr()}},dc:function(e,t,n,r=me){if(null==t)return null;if(!nn(t))throw new Error(`Invalid LWC Constructor ${q(t)} for custom element <${e}>.`);return Wn(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[jn(""),...t,jn("")],stable:n,owner:nr()}},ti:function(e){return e>0&&!(W(e)||j(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:nr()}},gid:function(e){const t=nr();if(B(e)||""===e)return e;if(V(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?I.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=nr();if(B(e)||""===e)return e;if(V(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return Gn(e)},ssf:function(e,t){return{type:6,factory:t,owner:nr(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let Kn=!1,Yn=K;const qn={enableProfiler(){Kn=!0},disableProfiler(){Kn=!1},attachDispatcher(e){Yn=e,this.enableProfiler()},detachDispatcher(){const e=Yn;return Yn=K,this.disableProfiler(),e}};function Xn(e,t){Kn&&Yn(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Jn(e,t){Kn&&Yn(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Qn(e,t){Kn&&Yn(e,0,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}function Zn(e,t){Kn&&Yn(e,1,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}let er=!1,tr=null;function nr(){return tr}function rr(e){tr=e}function or(e){return(t,...n)=>{const o=r(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:i},shadowMode:s,renderer:l}=nr(),c=!B(i),a=1===s;let u=0;if(c&&r&&(u|=1),c&&a&&(u|=2),!B(o[u]))return o[u];const d=r&&c?" "+i:"",f=r&&c?` class="${i}"`:"",h=c&&a?" "+i:"";let p="";for(let e=0,r=n.length;e<r;e++)switch(n[e]){case 0:p+=t[e]+d;break;case 1:p+=t[e]+f;break;case 2:p+=t[e]+h;break;case 3:p+=t[e]+f+h}return p+=t[t.length-1],o[u]=e(p,l),o[u]}}}const ir=or(((e,t)=>{const{createFragment:n}=t;return n(e)})),sr=or(((e,t)=>{const{createFragment:n,getFirstChild:r}=t;return r(n("<svg>"+e+"</svg>"))}));function lr(e,t){const n=er,o=tr;let i=[];return Ur(e,e.owner,(()=>{tr=e,Xn(1,e)}),(()=>{const{component:n,context:o,cmpSlots:s,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(V(l)||jr(e),c=t,!Ut.has(c))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${q(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=cr(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:l,setAttribute:c}}=e,{stylesheets:a,stylesheetToken:u}=t,d=1===o&&1===i,{hasScopedStyles:f}=r;let h,p,m;const{stylesheetToken:g,hasTokenInClass:w,hasTokenInAttribute:b}=r;B(g)||(w&&s(n).remove(sn(g)),b&&l(n,sn(g))),B(a)||0===a.length||(h=u),B(h)||(f&&(s(n).add(sn(h)),p=!0),d&&(c(n,sn(h),""),m=!0)),r.stylesheetToken=h,r.hasTokenInClass=p,r.hasTokenInAttribute=m}(e,t);const n=an(e,t);o.styleVNodes=0===n.length?null:fn(e,n)}var c;const a=Boolean(t.hasRefs);e.hasRefVNodes=a,e.refVNodes=a?r(null):null,e.velements=[],er=!0,i=t.call(void 0,zn,n,s,o.tplCache);const{styleVNodes:u}=o;V(u)||P.apply(i,u)}))}),(()=>{er=n,tr=o,Jn(1,e)})),i}function cr(e){const{stylesheets:t}=e;if(!B(t))for(let e=0;e<t.length;e++)if(W(t[e].$scoped$))return!0;return!1}let ar=null;function ur(e){return ar===e}function dr(e,t,n){const{component:r,callHook:o,owner:i}=e;Ur(e,i,K,(()=>{o(r,t,n)}),K)}function fr(e,t,n,r){const{callHook:o,owner:i}=e;Ur(e,i,K,(()=>{o(n,t,[r])}),K)}const hr=new Map;function pr(e){return Le((()=>{const{isDirty:t}=e;j(t)&&(gr(e),function(e){if(W(e.isScheduled))return;e.isScheduled=!0,0===Ir.length&&we(Fr);T.call(Ir,e)}(e))}))}function mr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=nr();let s,l=!1;return Ur(e,o,(()=>{rr(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{rr(i)})),l?lr(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function gr(e){e.isDirty=!0}const wr=new WeakMap;function br(e,t){if(!U(t))throw new TypeError;let n=wr.get(t);return B(n)&&(n=function(n){fr(e,t,void 0,n)},wr.set(t,n)),n}const yr=r(null),vr=["rendered","connected","disconnected"];function Er(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 Cr=0;const Mr=new WeakMap;function Sr(e,t,n=[]){return t.apply(e,n)}function Tr(e,t,n){e[t]=n}function kr(e,t){return e[t]}function Ar(e){$r(e)}function Nr(e){const t=Pr(e);Qn(7,t),1===t.state&&Lr(e),Hr(t),$r(t),Zn(7,t)}function Lr(e){_r(Pr(e))}function _r(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){j(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=yr;t&&Er(e,t);Br(e)&&function(e){const{wiredDisconnecting:t}=e.context;Ur(e,e,K,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),K)}(e);const{disconnectedCallback:n}=e.def;B(n)||(Xn(5,e),dr(e,n),Jn(5,e))}(e),Vr(e),function(e){const{aChildren:t}=e;Wr(t)}(e)}}function Or(e,t,n,o){const{mode:i,owner:s,tagName:l,hydrated:c}=o,a=rn(t),u={elm:e,def:a,idx:Cr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,refVNodes:null,hasRefVNodes:!1,children:me,aChildren:me,velements:me,cmpProps:r(null),cmpFields:r(null),cmpSlots:{slotAssignments:r(null)},oar:r(null),cmpTemplate:null,hydrated:Boolean(c),renderMode:a.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:pe,wiredConnecting:me,wiredDisconnecting:me},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:Sr,setHook:Tr,getHook:kr,renderer:n};return u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(fe.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!V(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=V(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,n),u.tro=pr(u),function(e,t){const n=ar;let r;Xn(0,e),ar=e;try{const o=new t;if(ar.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Jn(0,e),ar=n,!B(r))throw Oe(e,r),r}}(u,a.ctor),Br(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=Gr.get(i);if(!B(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=Kr(e,t,s),c=s.dynamic.length>0;T.call(r,(()=>{n.connect(),fe.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),T.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function xr(e,t){Mr.set(e,t)}function Pr(e){return Mr.get(e)}function Dr(e){return Mr.get(e)}function $r(e){if(W(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&Ur(e,e,(()=>{Xn(2,e)}),(()=>{En(r,t,n,o)}),(()=>{Jn(2,e)}));1===e.state&&Rr(e)}(e,mr(e))}}function Rr(e){const{def:{renderedCallback:t}}=e,{rendered:n}=yr;n&&Er(e,n),B(t)||(Xn(4,e),dr(e,t),Jn(4,e))}let Ir=[];function Fr(){Qn(8);const e=Ir.sort(((e,t)=>e.idx-t.idx));Ir=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{$r(r)}catch(r){throw t+1<n&&(0===Ir.length&&we(Fr),P.apply(Ir,L.call(e,t+1))),Zn(8),r}}Zn(8)}function Hr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=yr;n&&Er(e,n),Br(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;B(r)||(Xn(3,e),dr(e,r),Jn(3,e))}function Br(e){return c(e.def.wire).length>0}function Vr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!B(n)){const e=Dr(n);B(e)||_r(e)}}}function Wr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!V(n)&&!B(n.elm))switch(n.type){case 2:Wr(n.children);break;case 3:_r(Pr(n.elm));break}}}function jr(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];V(o)||B(o.elm)||r(o.elm,n)}e.children=me,Vr(e),e.velements=me}function Ur(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!B(i)){Oe(e,i);const n=V(t)?void 0:function(e){let t=e;for(;!V(t);){if(!B(t.def.errorCallback))return t;t=t.owner}}(t);if(B(n))throw i;jr(e),Xn(6,e);dr(n,n.def.errorCallback,[i,i.wcStack]),Jn(6,e)}}}const Gr=new Map;class zr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function Kr(e,t,n){const{method:r,adapter:o,configCallback:s,dynamic:l}=n,c=B(r)?function(e,t){return n=>{Ge(e,t,n)}}(e,t):function(e,t){return n=>{Ur(e,e.owner,K,(()=>{t.call(e.component,n)}),K)}}(e,r);let a,u;i(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(c,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),Ur(e,e,K,(()=>{u=new o(c)}),K);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=Le((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),i()})))})),i=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:i,ro:o}}(e.component,s,(t=>{Ur(e,e,K,(()=>{u.update(t,a)}),K)}));return B(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=qr(r);if(B(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:c}}=e;T.call(s,(()=>{const e=new zr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){T.call(l,e)}});c(i,e)}))}(e,n,(t=>{a!==t&&(a=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const Yr=new Map;function qr(e){return Yr.get(e)}function Xr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Gr.set(e,o)}function Jr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Gr.set(e,o)}let Qr=!1;function Zr(e){const t=mr(e);e.children=t;const{renderRoot:n,renderer:{getFirstChild:r}}=e;no(r(n),t,n,e),Rr(e)}function eo(e,t,n){var r,o;let i;switch(t.type){case 0:i=function(e,t,n){var r;if(!io(t,e,3,n))return ro(e,t,n);const{setText:o}=n;return o(e,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 1:i=function(e,t,n){var r;if(!io(t,e,8,n))return ro(e,t,n);const{setProperty:o}=n;return o(e,to,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:i=function(e,t,n){if(!function(e,t,n,r){const{getProperty:o,getAttribute:i}=r;if(3===o(e,"nodeType"))return!!io(n,t,3,r)&&o(e,to)===o(t,to);if(8===o(e,"nodeType"))return!!io(n,t,8,r)&&o(e,to)===o(t,to);if(!io(n,t,1,r))return!1;let s=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((r=>{i(e,r)!==i(t,r)&&(Pe(`Mismatch hydrating element <${o(e,"tagName").toLowerCase()}>: attribute "${r}" has different values, expected "${i(e,r)}" but found "${i(t,r)}"`,n.owner),s=!1)})),s}(t.fragment,e,t,n))return ro(e,t,n);return t.elm=e,e}(e,t,n);break;case 5:i=function(e,t,n){const{children:r,owner:o}=t;return no(e,r,n.getProperty(e,"parentNode"),o),t.elm=r[r.length-1].elm}(e,t,n);break;case 2:i=function(e,t,n){if(!io(t,e,1,n)||!so(t,e,n))return ro(e,t,n);t.elm=e;const{owner:r}=t,{context:o}=t.data,i=Boolean(!B(o)&&!B(o.lwc)&&"manual"===o.lwc.dom);if(i){const{data:{props:r}}=t,{getProperty:o}=n;B(r)||B(r.innerHTML)||o(e,"innerHTML")===r.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:ve(r,"innerHTML")}))}if(oo(t,n),!i){const{getFirstChild:o}=n;no(o(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:i=function(e,t,n){if(!io(t,e,1,n)||!so(t,e,n))return ro(e,t,n);const{sel:r,mode:o,ctor:i,owner:s}=t,l=Or(e,i,n,{mode:o,owner:s,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,$n(t,l),oo(t,n),Hr(l),0!==l.renderMode){const{getFirstChild:r}=n;no(r(e),t.children,e,l)}return Zr(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(i)}const to="nodeValue";function no(e,t,n,r){let o=e,i=null;const{renderer:s}=r;for(let e=0;e<t.length;e++){const r=t[e];V(r)||(o?(o=eo(o,r,s),i=r.elm):(Qr=!0,Mn(r,n,s,i),i=r.elm))}if(o){Qr=!0;const{nextSibling:e}=s;do{const t=o;o=e(o),xn(t,n,s)}while(o)}}function ro(e,t,n){Qr=!0;const{getProperty:r}=n,o=r(e,"parentNode");return Mn(t,o,n,e),xn(e,o,n),t.elm}function oo(e,t){vn(e,t),wn(null,e,t)}function io(e,t,n,r){const{getProperty:o}=r;return o(t,"nodeType")===n}function so(e,t,n){const{getProperty:r}=n;if(e.sel.toLowerCase()!==r(t,"tagName").toLowerCase())return!1;const o=function(e,t,n){const{data:{attrs:r={}}}=e;let o=!0;for(const[e,i]of Object.entries(r)){const{getAttribute:r}=n,s=r(t,e);String(i)!==s&&(o=!1)}return o}(e,t,n),i=function(e,t,n){const{data:r,owner:o}=e;let{className:i,classMap:s}=r;const{getProperty:l,getClassList:c}=n,a=dn(o),u=function(e){return 3===e.type}(e)?function(e){const{template:t}=rn(e.ctor),{stylesheetToken:n}=t;return!B(n)&&cr(t)?sn(n):null}(e):null;if(!V(a)||!V(u))if(B(i))if(B(s)){const e=[a,u],t=y.call(e,(e=>!V(e)));t.length&&(i=C.call(t," "))}else s=Object.assign(Object.assign(Object.assign({},s),V(a)?{}:{[a]:!0}),V(u)?{}:{[u]:!0});else{const e=[a,i,u],t=y.call(e,(e=>!V(e)));i=C.call(t," ")}let d=!0;if(B(i)||String(i)===l(t,"className")){if(!B(s)){const e=c(t);let n="";for(const t in s)n+=" "+t,e.contains(t)||(d=!1);n.trim(),e.length>f(s).length&&(d=!1)}}else d=!1;return d}(e,t,n),s=function(e,t,n){const{data:{style:r,styleDecls:o}}=e,{getAttribute:i}=n,s=i(t,"style")||"";let l=!0;if(B(r)||r===s){if(!B(o)){const e=function(e){const t={},n=e.split(be);for(const e of n)if(e){const[n,r]=e.split(ye);void 0!==n&&void 0!==r&&(t[n.trim()]=r.trim())}return t}(s),t=[];for(let n=0,r=o.length;n<r;n++){const[r,i,s]=o[n];t.push(`${r}: ${i+(s?" important!":"")}`);const c=e[r];B(c)?l=!1:c.startsWith(i)?s&&!c.endsWith("!important")&&(l=!1):l=!1}f(e).length>o.length&&(l=!1),C.call(t,";")}}else l=!1;return l}(e,t,n);return o&&i&&s}let lo=!1;const co=U(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),ao=co&&l(document.adoptedStyleSheets,"length").writable,uo=!B(document.documentMode),fo=new Map;function ho(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function po(e,t,n){const r=function(e,t){const{element:n,usedElement:r}=t;return r?uo?ho(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function mo(e,t){let n=fo.get(e);return B(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},fo.set(e,n)),t&&B(n.stylesheet)?n.stylesheet=function(e){const t=new CSSStyleSheet;return t.replaceSync(e),t}(e):!t&&B(n.element)&&(n.element=ho(e)),n}function go(e,t){const n=mo(e,co);let{roots:r}=n;if(B(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),co?function(e,t,n){const{adoptedStyleSheets:r}=t,{stylesheet:o}=n;ao?r.push(o):t.adoptedStyleSheets=[...r,o]}(0,t,n):po(e,t,n)}const wo=function(){if("undefined"==typeof customElements)return!1;try{const e=HTMLElement;class t extends e{}return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),t),new t,!0}catch(e){return!1}}(),bo=(e,t)=>{const n=document.createElement(e);return t(n),n},yo=new Map,vo=new WeakSet;let Eo=!1;const Co=(e,t)=>class extends HTMLElement{constructor(e){super(),Eo?e(this):vo.add(this)}connectedCallback(){vo.has(this)||e(this)}disconnectedCallback(){vo.has(this)||t(this)}},Mo=(e,t,n,r)=>{let o=yo.get(e);if(B(o)){if(!B(customElements.get(e)))throw new Error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`);o=Co(n,r),customElements.define(e,o),yo.set(e,o)}Eo=!0;try{return new o(t)}finally{Eo=!1}};let So,To;fe.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY&&wo&&(So=function(){if(!wo)throw new Error("Custom elements are not supported in this environment.");const{HTMLElement:e}=window,{hasAttribute:t,setAttribute:n,removeAttribute:r,getAttribute:i}=e.prototype,s=new WeakMap,l=new WeakMap,c=new WeakMap,a=new WeakSet,u=new WeakSet,d=new Map,f=new Map,h=new Map,m=new Map,g=new Map,w=new Set;function b(t,n){class r extends e{constructor(e){super();const r=!B(e);if(r){if(!M(e))throw new TypeError("Failed to create custom element: the provided constructor is not a constructor.");if(!a.has(e))throw new Error(`Failed to create custom element: the provided constructor is unregistered: ${e.name}.`)}const o=r?S(e):f.get(t);B(o)?l.set(this,n):C(this,n,o)}connectedCallback(){var e;const n=s.get(this);if(B(n)){let e=m.get(t);B(e)&&m.set(t,e=new Set),e.add(this)}else null===(e=n.connectedCallback)||void 0===e||e.call(this)}disconnectedCallback(){var e;const n=s.get(this);if(B(n)){const e=m.get(t);B(e)||e.delete(this)}else null===(e=n.disconnectedCallback)||void 0===e||e.call(this)}adoptedCallback(){var e;const t=s.get(this);null===(e=null==t?void 0:t.adoptedCallback)||void 0===e||e.call(this)}attributeChangedCallback(e,t,r){var o;const i=s.get(this);(n===i||(null==i?void 0:i.observedAttributes.has(e)))&&(null===(o=i.attributeChangedCallback)||void 0===o||o.apply(this,[e,t,r]))}}return r.observedAttributes=[...n.observedAttributes],u.add(r),r}function y(e,t){const{observedAttributes:n,attributeChangedCallback:r}=t;return 0===n.size||B(r)?w:new Set([...t.observedAttributes].filter((t=>!e.observedAttributes.has(t))))}function v(e){setTimeout((()=>{throw e}))}let E;function C(e,l,c){p(e,c.UserCtor.prototype),s.set(e,c),c!==l&&function(e,t,s){const l=y(t,s);if(0===l.size)return;const{attributeChangedCallback:c}=s;o(e,{setAttribute:{value:function(e,t){if(l.has(e)){const r=i.call(this,e);n.call(this,e,t);try{c.call(this,e,r,t+"")}catch(e){v(e)}}else n.call(this,e,t)},writable:!0,enumerable:!0,configurable:!0},removeAttribute:{value:function(e){if(l.has(e)){const t=i.call(this,e);r.call(this,e);try{c.call(this,e,t,null)}catch(e){v(e)}}else r.call(this,e)},writable:!0,enumerable:!0,configurable:!0}})}(e,l,c),E=e,new c.UserCtor,function(e,n,r){const o=y(n,r);if(0===y(n,r).size)return;const{attributeChangedCallback:s}=r;o.forEach((n=>{if(t.call(e,n)){const t=i.call(e,n);s.call(e,n,null,t)}}))}(e,l,c)}function M(e){return U(e)&&G(e.prototype)}function S(e){if(!M(e))throw new TypeError("The referenced constructor is not a constructor.");const t=c.get(e);return B(t)?function(e){var t;const{connectedCallback:n,disconnectedCallback:r,adoptedCallback:o,attributeChangedCallback:i}=e.prototype;return{UserCtor:e,PivotCtor:void 0,connectedCallback:n,disconnectedCallback:r,adoptedCallback:o,attributeChangedCallback:i,observedAttributes:new Set(null!==(t=e.observedAttributes)&&void 0!==t?t:[])}}(e):t}const{customElements:T}=window,{define:k,whenDefined:A,get:N}=T;return CustomElementRegistry.prototype.define=function(e,t,n){if(n&&n.extends)throw new DOMException('NotSupportedError: "extends" key in customElements.define() options is not supported.');if(f.has(e))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${e}" has already been used with this registry`);if(!B(h.get(t)))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const r=S(t);a.add(t);let o=d.get(e);B(o)&&(o=b(e,r),k.call(T,e,o)),c.set(t,r),d.set(e,o),f.set(e,r),h.set(t,r),r.PivotCtor=o;const i=m.get(e);if(!B(i)){m.delete(e);for(const e of i){const t=l.get(e);B(t)||(l.delete(e),C(e,t,r))}}!function(e,t){const n=g.get(e);if(!B(n))for(const e of n)e(t);g.delete(e)}(e,t)},CustomElementRegistry.prototype.get=function(e){const t=N.call(T,e);if(!B(t)){const n=f.get(e);if(!B(n))return n.UserCtor;if(u.has(t))return;return t}},CustomElementRegistry.prototype.whenDefined=function(e){return A.call(T,e).then((t=>{const n=f.get(e);return B(n)?(B(t)&&(t=N.call(T,e)),u.has(t)?function(e){return new Promise((t=>{let n=g.get(e);B(n)&&(n=[],g.set(e,n)),n.push(t)}))}(e):t):n.UserCtor}))},window.HTMLElement=function(){const e=E;if(!B(e))return E=void 0,e;const{constructor:t}=this,n=h.get(t);if(B(n)||B(n.PivotCtor))throw new TypeError("Illegal constructor");const{PivotCtor:r,UserCtor:o}=n;return new r(o)},HTMLElement.prototype=e.prototype,function(e,t){e=H.call(e);let n=d.get(e);if(B(n)){const r=S(t);n=b(e,r),k.call(T,e,n),r.PivotCtor=n,c.set(t,r),d.set(e,n)}return a.add(t),n}}(),To=window.HTMLElement);const ko=(e,t,n,r)=>class extends r{constructor(){super(),e(this)}connectedCallback(){t(this)}disconnectedCallback(){n(this)}};let Ao;function No(e){const t=function(e){var t=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});function n(e){return void 0===e}e.createFragment=void 0;if("function"==typeof HTMLTemplateElement)e.createFragment=function(e){const t=document.createElement("template");return t.innerHTML=e,t.content.firstChild};else{const t={caption:["table"],col:["colgroup","table"],colgroup:["table"],option:["select"],tbody:["table"],td:["tr","tbody","table"],th:["tr","tbody","table"],thead:["table"],tfoot:["table"],tr:["tbody","table"]},r=function(e){return(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(e)||["",""])[1].toLowerCase()};e.createFragment=function(e){const o=t[r(e)];if(!n(o))for(const t of o)e=`<${t}>${e}</${t}>`;const i=document.implementation.createHTMLDocument("");i.body.innerHTML=e;let s=i.body;if(!n(o))for(let e=0;e<o.length;e++)s=s.firstChild;return s.firstChild}}return e.addEventListener=function(e,t,n,r){e.addEventListener(t,n,r)},e.assertInstanceOfHTMLElement=function(e,n){t.invariant(e instanceof HTMLElement,n)},e.attachShadow=function(e,t){return null!==e.shadowRoot?e.shadowRoot:e.attachShadow(t)},e.cloneNode=function(e,t){return e.cloneNode(t)},e.createComment=function(e){return document.createComment(e)},e.createElement=function(e,t){return n(t)?document.createElement(e):document.createElementNS(t,e)},e.createText=function(e){return document.createTextNode(e)},e.dispatchEvent=function(e,t){return e.dispatchEvent(t)},e.getAttribute=function(e,t,r){return n(r)?e.getAttribute(t):e.getAttributeNS(r,t)},e.getBoundingClientRect=function(e){return e.getBoundingClientRect()},e.getChildNodes=function(e){return e.childNodes},e.getChildren=function(e){return e.children},e.getClassList=function(e){return e.classList},e.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},e.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},e.getFirstChild=function(e){return e.firstChild},e.getFirstElementChild=function(e){return e.firstElementChild},e.getLastChild=function(e){return e.lastChild},e.getLastElementChild=function(e){return e.lastElementChild},e.getProperty=function(e,t){return e[t]},e.insert=function(e,t,n){t.insertBefore(e,n)},e.isConnected=function(e){return e.isConnected},e.nextSibling=function(e){return e.nextSibling},e.querySelector=function(e,t){return e.querySelector(t)},e.querySelectorAll=function(e,t){return e.querySelectorAll(t)},e.remove=function(e,t){t.removeChild(e)},e.removeAttribute=function(e,t,r){n(r)?e.removeAttribute(t):e.removeAttributeNS(r,t)},e.removeEventListener=function(e,t,n,r){e.removeEventListener(t,n,r)},e.setAttribute=function(e,t,r,o){return n(o)?e.setAttribute(t,r):e.setAttributeNS(o,t,r)},e.setCSSStyleProperty=function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},e.setProperty=function(e,t,n){e[t]=n},e.setText=function(e,t){e.nodeValue=t},e}({});return Object.setPrototypeOf(t,e),t}Ao=wo?fe.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY?function(e,t,n,r){if(B(So)||B(To))throw new Error("The flag ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY must be set to true to use this feature");const o=ko(t,n,r,To);return new(So(e,o))(o)}:Mo:bo;const Lo=n(No(null),{insertStylesheet:function(e,t){B(t)?function(e){const t=mo(e,!1);t.global||(t.global=!0,po(e,document.head,t))}(e):go(e,t)},createCustomElement:Ao,isNativeShadowDefined:ee.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,"$shadowToken$")});function _o(e,t,n){const r=Or(e,t,Lo,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,r]of Object.entries(n))e[t]=r;return r}function Oo(e,t,n={}){if(!(e instanceof Element))throw new TypeError(`"hydrateComponent" expects a valid DOM element as the first parameter but instead received ${e}.`);if(!U(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!G(n)||V(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(Dr(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{!function(e){Qr=!1,Hr(e),Zr(e),Qr&&Pe("Hydration completed with errors.",e)}(_o(e,t,n))}catch(r){console.error("Recovering from error while hydrating: ",r),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!V(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!V(e.firstChild);)e.removeChild(e.firstChild)}(e,t),_o(e,t,n),Nr(e)}}const xo=new WeakSet;function Po(e){var t;const n=function(e){return rn(e).bridge}(e),{observedAttributes:r}=n,{attributeChangedCallback:o}=n.prototype;return(t=class extends HTMLElement{constructor(){super(),this.isConnected?(Oo(this,e,{}),xo.add(this)):Or(this,e,Lo,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){xo.has(this)?xo.delete(this):Nr(this)}disconnectedCallback(){Lr(this)}attributeChangedCallback(e,t,n){o.call(this,e,t,n)}}).observedAttributes=r,t}const Do=Node,$o=new WeakMap,Ro=new WeakMap;function Io(e,t){const n=t.get(e);return B(n)||n(e),e}if(!fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE){const{appendChild:e,insertBefore:t,removeChild:r,replaceChild:o}=Do.prototype;n(Do.prototype,{appendChild(t){return Io(e.call(this,t),$o)},insertBefore(e,n){return Io(t.call(this,e,n),$o)},removeChild(e){return Io(r.call(this,e),Ro)},replaceChild(e,t){const n=o.call(this,e,t);return Io(n,Ro),Io(e,$o),n}})}const Fo=Node;const Ho=new Map;return i(Ot,"CustomElementConstructor",{get(){return function(e){if(e===Ot)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=Ho.get(e);return B(t)&&(t=Po(e),Ho.set(e,t)),t}(this)}}),s(Ot),h(Ot.prototype),e.LightningElement=Ot,e.__unstable__ProfilerControl=qn,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=qr(e);if(!B(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){Yr.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((()=>{B(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!G(t)||V(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${q(t)}".`);const n=t.is;if(!U(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const{createCustomElement:r}=Lo,o=H.call(e);return r(o,(e=>{Or(e,n,Lo,{tagName:o,mode:"closed"!==t.mode?"open":"closed",owner:null}),fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||($o.set(e,Nr),Ro.set(e,Lr))}),(e=>{fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&Nr(e)}),(e=>{fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&Lr(e)}))},e.freezeTemplate=function(e){},e.getComponentConstructor=function(e){let t=null;if(!B(e)){const n=Dr(e);B(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=rn(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:oe(e)};const c={};for(const e in s)c[e]=s[e].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=Oo,e.isComponentConstructor=nn,e.isNodeFromTemplate=function(e){if(j(e instanceof Fo))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&j(u.call(a(t),"synthetic")))||Lo.isSyntheticShadowDefined&&!B(e.$shadowResolver$)},e.parseFragment=ir,e.parseSVGFragment=sr,e.readonly=function(e){return Tt(e)},e.register=function(e){for(let t=0;t<vr.length;++t){const n=vr[t];if(n in e){let t=yr[n];B(t)&&(yr[n]=t=[]),T.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return U(e)&&hr.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:s,wire:c,track:a,fields:u}=t,d=r(null),f=r(null),h=r(null),p=r(null),m=r(null),g=r(null);let w;if(!B(o))for(const e in o){const t=o[e];if(g[e]=t.config,w=l(n,e),t.config>0){if(B(w))throw new Error;w=Ht(e,w)}else w=B(w)||B(w.get)?Ft(e):Ht(e,w);f[e]=w,i(n,e,w)}if(B(s)||D.call(s,(e=>{if(w=l(n,e),B(w))throw new Error;d[e]=w})),!B(c))for(const e in c){const{adapter:t,method:r,config:o,dynamic:s=[]}=c[e];if(w=l(n,e),1===r){if(B(w))throw new Error;h[e]=w,Xr(w,t,o,s)}else w=Vt(e),p[e]=w,Jr(w,t,o,s),i(n,e,w)}if(!B(a))for(const e in a)w=l(n,e),w=Bt(e),i(n,e,w);if(!B(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const r=!B(o)&&t in o,i=!B(a)&&t in a;r||i||(m[t]=Rt(t))}return function(e,t){Wt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return Ut.add(e),i(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return B(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=B(e)?void 0:e.shadowAttribute}}),e},e.renderer=Lo,e.rendererFactory=No,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(B(de[e])){const n=f(de).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=fe[e];if(!B(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);i(fe,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var n;t.isFalse(lo,"Hooks are already overridden, only one definition is allowed."),lo=!0,n=e.sanitizeHtmlContent,Gn=n},e.swapComponent=function(e,t){return!1},e.swapStyle=function(e,t){return!1},e.swapTemplate=function(e,t){return!1},e.track=function(e){if(1===arguments.length)return kt(e);throw new Error},e.unwrap=function(e){return St.unwrapProxy(e)},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0}),e}({});
|
|
@@ -46,7 +46,7 @@ var LWC = (function (exports) {
|
|
|
46
46
|
*/
|
|
47
47
|
const { assign, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor: getOwnPropertyDescriptor$1, getOwnPropertyNames: getOwnPropertyNames$1, getPrototypeOf: getPrototypeOf$1, hasOwnProperty: hasOwnProperty$1, isFrozen, keys, seal, setPrototypeOf, } = Object;
|
|
48
48
|
const { isArray: isArray$1 } = Array;
|
|
49
|
-
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;
|
|
49
|
+
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, some: ArraySome, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
|
|
50
50
|
const { fromCharCode: StringFromCharCode } = String;
|
|
51
51
|
const { charCodeAt: StringCharCodeAt, replace: StringReplace, slice: StringSlice, toLowerCase: StringToLowerCase, } = String.prototype;
|
|
52
52
|
function isUndefined$1(obj) {
|
|
@@ -291,7 +291,7 @@ var LWC = (function (exports) {
|
|
|
291
291
|
CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
|
|
292
292
|
return attributeName;
|
|
293
293
|
}
|
|
294
|
-
/** version: 2.
|
|
294
|
+
/** version: 2.28.0 */
|
|
295
295
|
|
|
296
296
|
/**
|
|
297
297
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -373,7 +373,7 @@ var LWC = (function (exports) {
|
|
|
373
373
|
patch$1(propName);
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
|
-
/** version: 2.
|
|
376
|
+
/** version: 2.28.0 */
|
|
377
377
|
|
|
378
378
|
/**
|
|
379
379
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -2638,6 +2638,9 @@ var LWC = (function (exports) {
|
|
|
2638
2638
|
function isVCustomElement(vnode) {
|
|
2639
2639
|
return vnode.type === 3 /* VNodeType.CustomElement */;
|
|
2640
2640
|
}
|
|
2641
|
+
function isVScopedSlotFragment(vnode) {
|
|
2642
|
+
return vnode.type === 6 /* VNodeType.ScopedSlotFragment */;
|
|
2643
|
+
}
|
|
2641
2644
|
|
|
2642
2645
|
/*
|
|
2643
2646
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -3403,7 +3406,7 @@ var LWC = (function (exports) {
|
|
|
3403
3406
|
/* RenderMode.Light */
|
|
3404
3407
|
) {
|
|
3405
3408
|
// slow path
|
|
3406
|
-
allocateInSlot(vm, children); // save the allocated children in case this vnode is reused.
|
|
3409
|
+
allocateInSlot(vm, children, vnode.owner); // save the allocated children in case this vnode is reused.
|
|
3407
3410
|
|
|
3408
3411
|
vnode.aChildren = children; // every child vnode is now allocated, and the host should receive none directly, it receives them via the shadow!
|
|
3409
3412
|
|
|
@@ -3435,13 +3438,19 @@ var LWC = (function (exports) {
|
|
|
3435
3438
|
return vm;
|
|
3436
3439
|
}
|
|
3437
3440
|
|
|
3438
|
-
function allocateInSlot(vm, children) {
|
|
3439
|
-
var _a;
|
|
3441
|
+
function allocateInSlot(vm, children, owner) {
|
|
3442
|
+
var _a, _b;
|
|
3440
3443
|
|
|
3441
3444
|
const {
|
|
3442
|
-
cmpSlots:
|
|
3445
|
+
cmpSlots: {
|
|
3446
|
+
slotAssignments: oldSlotsMapping
|
|
3447
|
+
}
|
|
3443
3448
|
} = vm;
|
|
3444
|
-
const
|
|
3449
|
+
const cmpSlotsMapping = create(null);
|
|
3450
|
+
vm.cmpSlots = {
|
|
3451
|
+
owner,
|
|
3452
|
+
slotAssignments: cmpSlotsMapping
|
|
3453
|
+
};
|
|
3445
3454
|
|
|
3446
3455
|
for (let i = 0, len = children.length; i < len; i += 1) {
|
|
3447
3456
|
const vnode = children[i];
|
|
@@ -3453,19 +3462,21 @@ var LWC = (function (exports) {
|
|
|
3453
3462
|
let slotName = '';
|
|
3454
3463
|
|
|
3455
3464
|
if (isVBaseElement(vnode)) {
|
|
3456
|
-
slotName = ((_a = vnode.data.attrs) === null || _a === void 0 ? void 0 : _a.slot)
|
|
3465
|
+
slotName = (_b = (_a = vnode.data.attrs) === null || _a === void 0 ? void 0 : _a.slot) !== null && _b !== void 0 ? _b : '';
|
|
3466
|
+
} else if (isVScopedSlotFragment(vnode)) {
|
|
3467
|
+
slotName = vnode.slotName;
|
|
3457
3468
|
}
|
|
3458
3469
|
|
|
3459
|
-
const vnodes =
|
|
3470
|
+
const vnodes = cmpSlotsMapping[slotName] = cmpSlotsMapping[slotName] || [];
|
|
3460
3471
|
ArrayPush$1.call(vnodes, vnode);
|
|
3461
3472
|
}
|
|
3462
3473
|
|
|
3463
3474
|
if (isFalse(vm.isDirty)) {
|
|
3464
3475
|
// We need to determine if the old allocation is really different from the new one
|
|
3465
3476
|
// and mark the vm as dirty
|
|
3466
|
-
const oldKeys = keys(
|
|
3477
|
+
const oldKeys = keys(oldSlotsMapping);
|
|
3467
3478
|
|
|
3468
|
-
if (oldKeys.length !== keys(
|
|
3479
|
+
if (oldKeys.length !== keys(cmpSlotsMapping).length) {
|
|
3469
3480
|
markComponentAsDirty(vm);
|
|
3470
3481
|
return;
|
|
3471
3482
|
}
|
|
@@ -3473,15 +3484,15 @@ var LWC = (function (exports) {
|
|
|
3473
3484
|
for (let i = 0, len = oldKeys.length; i < len; i += 1) {
|
|
3474
3485
|
const key = oldKeys[i];
|
|
3475
3486
|
|
|
3476
|
-
if (isUndefined$1(
|
|
3487
|
+
if (isUndefined$1(cmpSlotsMapping[key]) || oldSlotsMapping[key].length !== cmpSlotsMapping[key].length) {
|
|
3477
3488
|
markComponentAsDirty(vm);
|
|
3478
3489
|
return;
|
|
3479
3490
|
}
|
|
3480
3491
|
|
|
3481
|
-
const oldVNodes =
|
|
3482
|
-
const vnodes =
|
|
3492
|
+
const oldVNodes = oldSlotsMapping[key];
|
|
3493
|
+
const vnodes = cmpSlotsMapping[key];
|
|
3483
3494
|
|
|
3484
|
-
for (let j = 0, a =
|
|
3495
|
+
for (let j = 0, a = cmpSlotsMapping[key].length; j < a; j += 1) {
|
|
3485
3496
|
if (oldVNodes[j] !== vnodes[j]) {
|
|
3486
3497
|
markComponentAsDirty(vm);
|
|
3487
3498
|
return;
|
|
@@ -3681,6 +3692,18 @@ var LWC = (function (exports) {
|
|
|
3681
3692
|
function addVNodeToChildLWC(vnode) {
|
|
3682
3693
|
ArrayPush$1.call(getVMBeingRendered().velements, vnode);
|
|
3683
3694
|
}
|
|
3695
|
+
// [s]coped [s]lot [f]actory
|
|
3696
|
+
function ssf(slotName, factory) {
|
|
3697
|
+
return {
|
|
3698
|
+
type: 6 /* VNodeType.ScopedSlotFragment */,
|
|
3699
|
+
factory,
|
|
3700
|
+
owner: getVMBeingRendered(),
|
|
3701
|
+
elm: undefined,
|
|
3702
|
+
sel: undefined,
|
|
3703
|
+
key: undefined,
|
|
3704
|
+
slotName,
|
|
3705
|
+
};
|
|
3706
|
+
}
|
|
3684
3707
|
// [st]atic node
|
|
3685
3708
|
function st(fragment, key) {
|
|
3686
3709
|
return {
|
|
@@ -3733,9 +3756,43 @@ var LWC = (function (exports) {
|
|
|
3733
3756
|
// [s]lot element node
|
|
3734
3757
|
function s(slotName, data, children, slotset) {
|
|
3735
3758
|
if (!isUndefined$1(slotset) &&
|
|
3736
|
-
!isUndefined$1(slotset
|
|
3737
|
-
slotset[slotName]
|
|
3738
|
-
|
|
3759
|
+
!isUndefined$1(slotset.slotAssignments) &&
|
|
3760
|
+
!isUndefined$1(slotset.slotAssignments[slotName]) &&
|
|
3761
|
+
slotset.slotAssignments[slotName].length !== 0) {
|
|
3762
|
+
children = slotset.slotAssignments[slotName].reduce((accumulator, vnode) => {
|
|
3763
|
+
if (vnode) {
|
|
3764
|
+
const assignedNodeIsScopedSlot = isVScopedSlotFragment(vnode);
|
|
3765
|
+
// The only sniff test for a scoped <slot> element is the presence of `slotData`
|
|
3766
|
+
const isScopedSlotElement = !isUndefined$1(data.slotData);
|
|
3767
|
+
// Check if slot types of parent and child are matching
|
|
3768
|
+
if (assignedNodeIsScopedSlot !== isScopedSlotElement) {
|
|
3769
|
+
// Ignore slot content from parent
|
|
3770
|
+
return accumulator;
|
|
3771
|
+
}
|
|
3772
|
+
// If the passed slot content is factory, evaluate it and add the produced vnodes
|
|
3773
|
+
if (assignedNodeIsScopedSlot) {
|
|
3774
|
+
const vmBeingRenderedInception = getVMBeingRendered();
|
|
3775
|
+
let scopedSlotChildren = [];
|
|
3776
|
+
// Evaluate in the scope of the slot content's owner
|
|
3777
|
+
// if a slotset is provided, there will always be an owner. The only case where owner is
|
|
3778
|
+
// undefined is for root components, but root components cannot accept slotted content
|
|
3779
|
+
setVMBeingRendered(slotset.owner);
|
|
3780
|
+
try {
|
|
3781
|
+
scopedSlotChildren = vnode.factory(data.slotData);
|
|
3782
|
+
}
|
|
3783
|
+
finally {
|
|
3784
|
+
setVMBeingRendered(vmBeingRenderedInception);
|
|
3785
|
+
}
|
|
3786
|
+
return ArrayConcat$1.call(accumulator, scopedSlotChildren);
|
|
3787
|
+
}
|
|
3788
|
+
else {
|
|
3789
|
+
// If the slot content is standard type, the content is static, no additional
|
|
3790
|
+
// processing needed on the vnode
|
|
3791
|
+
return ArrayConcat$1.call(accumulator, vnode);
|
|
3792
|
+
}
|
|
3793
|
+
}
|
|
3794
|
+
return accumulator;
|
|
3795
|
+
}, []);
|
|
3739
3796
|
}
|
|
3740
3797
|
const vmBeingRendered = getVMBeingRendered();
|
|
3741
3798
|
const { renderMode, shadowMode } = vmBeingRendered;
|
|
@@ -3973,6 +4030,7 @@ var LWC = (function (exports) {
|
|
|
3973
4030
|
gid,
|
|
3974
4031
|
fid,
|
|
3975
4032
|
shc,
|
|
4033
|
+
ssf,
|
|
3976
4034
|
});
|
|
3977
4035
|
/** Indicates if operations should be logged by the profiler. */
|
|
3978
4036
|
let isProfilerEnabled = false;
|
|
@@ -4465,7 +4523,9 @@ var LWC = (function (exports) {
|
|
|
4465
4523
|
velements: EmptyArray,
|
|
4466
4524
|
cmpProps: create(null),
|
|
4467
4525
|
cmpFields: create(null),
|
|
4468
|
-
cmpSlots:
|
|
4526
|
+
cmpSlots: {
|
|
4527
|
+
slotAssignments: create(null)
|
|
4528
|
+
},
|
|
4469
4529
|
oar: create(null),
|
|
4470
4530
|
cmpTemplate: null,
|
|
4471
4531
|
hydrated: Boolean(hydrated),
|
|
@@ -5651,7 +5711,7 @@ var LWC = (function (exports) {
|
|
|
5651
5711
|
}
|
|
5652
5712
|
return ctor;
|
|
5653
5713
|
}
|
|
5654
|
-
/* version: 2.
|
|
5714
|
+
/* version: 2.28.0 */
|
|
5655
5715
|
|
|
5656
5716
|
/*
|
|
5657
5717
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -5916,10 +5976,12 @@ var LWC = (function (exports) {
|
|
|
5916
5976
|
const pendingRegistryForElement = new WeakMap();
|
|
5917
5977
|
const definitionForConstructor = new WeakMap();
|
|
5918
5978
|
const registeredUserCtors = new WeakSet();
|
|
5979
|
+
const registeredPivotCtors = new WeakSet();
|
|
5919
5980
|
const pivotCtorByTag = new Map();
|
|
5920
5981
|
const globalDefinitionsByTag = new Map();
|
|
5921
5982
|
const globalDefinitionsByClass = new Map();
|
|
5922
5983
|
const awaitingUpgrade = new Map();
|
|
5984
|
+
const pendingWhenDefinedCallbacks = new Map();
|
|
5923
5985
|
const EMPTY_SET = new Set();
|
|
5924
5986
|
function createDefinitionRecord(constructor) {
|
|
5925
5987
|
var _a;
|
|
@@ -6025,6 +6087,7 @@ var LWC = (function (exports) {
|
|
|
6025
6087
|
}
|
|
6026
6088
|
}
|
|
6027
6089
|
PivotCtor.observedAttributes = [...registeredDefinition.observedAttributes];
|
|
6090
|
+
registeredPivotCtors.add(PivotCtor);
|
|
6028
6091
|
return PivotCtor;
|
|
6029
6092
|
}
|
|
6030
6093
|
function getNewObservedAttributes(registeredDefinition, pivotDefinition) {
|
|
@@ -6158,6 +6221,27 @@ var LWC = (function (exports) {
|
|
|
6158
6221
|
}
|
|
6159
6222
|
return createDefinitionRecord(constructor);
|
|
6160
6223
|
}
|
|
6224
|
+
// Defer a `whenDefined()` callback until an externally-visible custom element is defined
|
|
6225
|
+
function createPendingWhenDefinedCallback(tagName) {
|
|
6226
|
+
return new Promise((resolve) => {
|
|
6227
|
+
let resolvers = pendingWhenDefinedCallbacks.get(tagName);
|
|
6228
|
+
if (isUndefined$1(resolvers)) {
|
|
6229
|
+
resolvers = [];
|
|
6230
|
+
pendingWhenDefinedCallbacks.set(tagName, resolvers);
|
|
6231
|
+
}
|
|
6232
|
+
resolvers.push(resolve);
|
|
6233
|
+
});
|
|
6234
|
+
}
|
|
6235
|
+
// Call any pending `whenDefined()` callbacks
|
|
6236
|
+
function flushPendingWhenDefinedCallbacks(tagName, ctor) {
|
|
6237
|
+
const resolvers = pendingWhenDefinedCallbacks.get(tagName);
|
|
6238
|
+
if (!isUndefined$1(resolvers)) {
|
|
6239
|
+
for (const resolver of resolvers) {
|
|
6240
|
+
resolver(ctor);
|
|
6241
|
+
}
|
|
6242
|
+
}
|
|
6243
|
+
pendingWhenDefinedCallbacks.delete(tagName);
|
|
6244
|
+
}
|
|
6161
6245
|
const { customElements: nativeRegistry } = window;
|
|
6162
6246
|
const { define: nativeDefine, whenDefined: nativeWhenDefined, get: nativeGet } = nativeRegistry;
|
|
6163
6247
|
// patch for the global registry define mechanism
|
|
@@ -6212,6 +6296,8 @@ var LWC = (function (exports) {
|
|
|
6212
6296
|
}
|
|
6213
6297
|
}
|
|
6214
6298
|
}
|
|
6299
|
+
// If anyone called customElements.whenDefined() and is still waiting for a promise resolution, resolve now
|
|
6300
|
+
flushPendingWhenDefinedCallbacks(tagName, constructor);
|
|
6215
6301
|
};
|
|
6216
6302
|
CustomElementRegistry.prototype.get = function get(tagName) {
|
|
6217
6303
|
const NativeCtor = nativeGet.call(nativeRegistry, tagName);
|
|
@@ -6220,8 +6306,10 @@ var LWC = (function (exports) {
|
|
|
6220
6306
|
if (!isUndefined$1(definition)) {
|
|
6221
6307
|
return definition.UserCtor; // defined by the patched custom elements registry
|
|
6222
6308
|
}
|
|
6223
|
-
|
|
6224
|
-
|
|
6309
|
+
if (registeredPivotCtors.has(NativeCtor)) {
|
|
6310
|
+
return undefined; // pivot constructors should not be observable, return undefined
|
|
6311
|
+
}
|
|
6312
|
+
return NativeCtor; // constructor that existed before patching
|
|
6225
6313
|
}
|
|
6226
6314
|
};
|
|
6227
6315
|
CustomElementRegistry.prototype.whenDefined = function whenDefined(tagName) {
|
|
@@ -6230,13 +6318,17 @@ var LWC = (function (exports) {
|
|
|
6230
6318
|
if (!isUndefined$1(definition)) {
|
|
6231
6319
|
return definition.UserCtor;
|
|
6232
6320
|
}
|
|
6233
|
-
// TODO [#3073]: return undefined rather than the pivot constructor (NativeCtor)
|
|
6234
6321
|
// In this case, the custom element must have been defined before the registry patches
|
|
6235
6322
|
// were applied. So return the non-pivot constructor
|
|
6236
6323
|
if (isUndefined$1(NativeCtor)) {
|
|
6237
6324
|
// Chromium bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1335247
|
|
6238
6325
|
// We can patch the correct behavior using customElements.get()
|
|
6239
|
-
|
|
6326
|
+
NativeCtor = nativeGet.call(nativeRegistry, tagName);
|
|
6327
|
+
}
|
|
6328
|
+
if (registeredPivotCtors.has(NativeCtor)) {
|
|
6329
|
+
// Pivot constructors should not be observable. Wait to resolve the promise
|
|
6330
|
+
// if a constructor is ever defined in userland
|
|
6331
|
+
return createPendingWhenDefinedCallback(tagName);
|
|
6240
6332
|
}
|
|
6241
6333
|
return NativeCtor;
|
|
6242
6334
|
});
|
|
@@ -6466,7 +6558,7 @@ var LWC = (function (exports) {
|
|
|
6466
6558
|
function isNull(obj) {
|
|
6467
6559
|
return obj === null;
|
|
6468
6560
|
}
|
|
6469
|
-
/** version: 2.
|
|
6561
|
+
/** version: 2.28.0 */
|
|
6470
6562
|
|
|
6471
6563
|
/*
|
|
6472
6564
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -7037,7 +7129,7 @@ var LWC = (function (exports) {
|
|
|
7037
7129
|
});
|
|
7038
7130
|
freeze(LightningElement);
|
|
7039
7131
|
seal(LightningElement.prototype);
|
|
7040
|
-
/* version: 2.
|
|
7132
|
+
/* version: 2.28.0 */
|
|
7041
7133
|
|
|
7042
7134
|
exports.LightningElement = LightningElement;
|
|
7043
7135
|
exports.__unstable__ProfilerControl = profilerControl;
|