lwc 2.37.1 → 2.37.3
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 +77 -17
- package/dist/engine-dom/iife/es2017/engine-dom.js +77 -17
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +23 -10
- package/dist/engine-dom/iife/es5/engine-dom.js +80 -17
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +23 -10
- package/dist/engine-dom/umd/es2017/engine-dom.js +77 -17
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +23 -10
- package/dist/engine-dom/umd/es5/engine-dom.js +80 -17
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +23 -10
- package/dist/engine-server/commonjs/es2017/engine-server.js +8 -8
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +8 -8
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +2 -2
- 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.min.js +1 -1
- 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.min.js +1 -1
- package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
- package/package.json +7 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
var LWC=function(e){"use strict";var t=Object.freeze({__proto__:null,fail:function(e){throw new Error(e)},invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)}});const{assign:n,create:r,defineProperties:o,defineProperty:s,freeze:i,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:y,filter:b,find:v,indexOf:E,join:C,map:S,pop:M,push:T,reduce:k,reverse:A,shift:N,slice:L,some:_,sort:O,splice:P,unshift:x,forEach:R}=Array.prototype,{fromCharCode:D}=String,{charCodeAt:F,replace:I,split:$,slice:H,toLowerCase:B}=String.prototype;function W(e){return void 0===e}function V(e){return null===e}function j(e){return!0===e}function G(e){return!1===e}function U(e){return"function"==typeof e}function Y(e){return"object"==typeof e}function K(e){return"string"==typeof e}function z(){}const q={}.toString;function X(e){return e&&e.toString?m(e)?C.call(S.call(e,X),","):e.toString():"object"==typeof e?q.call(e):e+""}function Z(e,t){do{const n=l(e,t);if(!W(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:J,AriaPropNameToAttrNameMap:ee}=(()=>{const e=r(null),t=r(null);return R.call(Q,(n=>{const r=B.call(I.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),te=new Set(["aria-activedescendant","aria-controls","aria-describedby","aria-details","aria-errormessage","aria-flowto","aria-labelledby","aria-owns","for"]),ne="object"==typeof globalThis?globalThis:window,re="$shadowResolver$",oe="$shadowStaticNode$",se="$shadowToken$",ie="$scoped$",le="http://www.w3.org/XML/1998/namespace",ce="http://www.w3.org/2000/svg",ae="http://www.w3.org/1999/xlink",ue=/-([a-z])/g,{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:de,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:fe}=(()=>{const e=new Map([["accessKey","accesskey"],["readOnly","readonly"],["tabIndex","tabindex"],["bgColor","bgcolor"],["colSpan","colspan"],["rowSpan","rowspan"],["contentEditable","contenteditable"],["crossOrigin","crossorigin"],["dateTime","datetime"],["formAction","formaction"],["isMap","ismap"],["maxLength","maxlength"],["minLength","minlength"],["noValidate","novalidate"],["useMap","usemap"],["htmlFor","for"]]),t=new Map;return e.forEach(((e,n)=>t.set(e,n))),{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:t,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:e}})(),he=new Map,pe=new Map;function me(e){const t=ee[e];if(!W(t))return t;const n=fe.get(e);if(!W(n))return n;const r=he.get(e);if(!W(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=F.call(e,t);o+=n>=65&&n<=90?"-"+D(n+32):D(n)}return he.set(e,o),o}function ge(e){const t=J[e];if(!W(t))return t;const n=de.get(e);if(!W(n))return n;const r=pe.get(e);if(!W(r))return r;const o=I.call(e,ue,(e=>e[1].toUpperCase()));return pe.set(e,o),o}const we={DUMMY_TEST_FLAG:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_FROZEN_TEMPLATE:null,DISABLE_ARIA_REFLECTION_POLYFILL:null};ne.lwcRuntimeFlags||Object.defineProperty(ne,"lwcRuntimeFlags",{value:r(null)});const ye=ne.lwcRuntimeFlags;function be(e,t){return W(l(t,e))}function ve(e,t){const n=function(e){return{get(){return this.hasAttribute(e)?this.getAttribute(e):null},set(t){V(t)?this.removeAttribute(e):this.setAttribute(e,t)},configurable:!0,enumerable:!0}}(ee[e]);s(t,e,n)}function Ee(e=Element.prototype){const t=f(ee);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];be(r,e)&&ve(r,e)}}lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL||Ee();const Ce=[];let Se=z,Me=!1;const Te={attachDispatcher(e){Me=!0,Se=e;for(const e of Ce)try{e()}catch(e){console.error("Could not invoke callback",e)}Ce.length=0},detachDispatcher(){Me=!1,Se=z}};function ke(e){Me?e():Ce.push(e)}function Ae(e,t){Me&&Se(e,t)}function Ne(e){return`<${B.call(e.tagName)}>`}function Le(e,t){if(!d(t)&&W(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!V(n);)T.call(t,Ne(n)),n=n.owner;return t.reverse().join("\n\t")}(e);s(t,"wcStack",{get:()=>n})}}const _e=new Set;function Oe(e,t,n,r){let o=`[LWC ${e}]: ${t}`;if(W(n)||(o=`${o}\n${function(e){const t=[];let n="";for(;!V(e.owner);)T.call(t,n+Ne(e)),e=e.owner,n+="\t";return C.call(t,"\n")}(n)}`),r){if(_e.has(o))return;_e.add(o)}try{throw new Error(o)}catch(t){console[e](t)}}function Pe(e,t){Oe("error",e,t,!1)}const xe=new WeakMap;let Re=null;function De(e,t){const n=xe.get(e);if(!W(n)){const e=n[t];if(!W(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Fe(e,t){if(null===Re)return;const n=Re,o=function(e){let t=xe.get(e);if(W(t)){const n=r(null);t=n,xe.set(e,n)}return t}(e);let s=o[t];if(W(s))s=[],o[t]=s;else if(s[0]===n)return;-1===E.call(s,n)&&n.link(s)}class Ie{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=Re;let n;Re=this;try{e()}catch(e){n=Object(e)}finally{if(Re=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);P.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 $e(e,t){De(e.component,t)}function He(e,t){Fe(e.component,t)}function Be(e){return new Ie(e)}let We=[];const Ve=h(r(null)),je=h([]);function Ge(){const e=We;We=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function Ue(e){0===We.length&&Promise.resolve().then(Ge),T.call(We,e)}const Ye=/;(?![^(]*\))/g,Ke=/:(.+)/;function ze(e,t){const n={};for(const r of f(e))r!==t&&(n[r]=e[r]);return n}function qe(e){const t=[];for(const n of e)m(n)?t.push(...qe(n)):t.push(n);return t}function Xe(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}function Ze(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Qe(e){return U(e)&&u.call(e,"__circular__")}const Je="undefined"!=typeof HTMLElement?HTMLElement:function(){},et=Je.prototype;let tt,nt=null;function rt(e,t){return e!==nt||t!==tt}function ot(e,t){nt=null,tt=void 0}function st(e,t){nt=e,tt=t}const it=r(null);function lt(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n,$e(e,t))}R.call(f(ee),(e=>{const t=Z(et,e);W(t)||(it[e]=t)})),R.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=Z(et,e);W(t)||(it[e]=t)}));const{isArray:ct}=Array,{prototype:at,getPrototypeOf:ut,create:dt,defineProperty:ft,isExtensible:ht,getOwnPropertyDescriptor:pt,getOwnPropertyNames:mt,getOwnPropertySymbols:gt,preventExtensions:wt,hasOwnProperty:yt}=Object,{push:bt,concat:vt}=Array.prototype;function Et(e){return void 0===e}function Ct(e){return"function"==typeof e}const St=new WeakMap;function Mt(e,t){St.set(e,t)}const Tt=e=>St.get(e)||e;class kt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(yt.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;Et(n)||(e.get=this.wrapGetter(n)),Et(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=pt(n,t);if(!Et(r)){const n=this.wrapDescriptor(r);ft(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;vt.call(mt(t),gt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;Et(n)||yt.call(e,n)||ft(e,n,dt(null)),wt(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=Et(n)||yt.call(t,n)?[]:[n];return bt.apply(r,mt(t)),bt.apply(r,gt(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!ht(e)&&(!!ht(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return ut(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let s=pt(n,t);if(Et(s)){if(t!==o)return;return s={value:void 0,writable:!1,configurable:!1,enumerable:!1},ft(e,o,s),s}return!1===s.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(s)}}const At=new WeakMap,Nt=new WeakMap,Lt=new WeakMap,_t=new WeakMap;class Ot extends kt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=At.get(e);if(!Et(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Tt(this)))};return At.set(e,r),Lt.set(r,e),r}wrapSetter(e){const t=Nt.get(e);if(!Et(t))return t;const n=function(t){e.call(Tt(this),Tt(t))};return Nt.set(e,n),_t.set(n,e),n}unwrapDescriptor(e){if(yt.call(e,"value"))e.value=Tt(e.value);else{const{set:t,get:n}=e;Et(n)||(e.get=this.unwrapGetter(n)),Et(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Lt.get(e);if(!Et(t))return t;const n=this,r=function(){return Tt(e.call(n.wrapValue(this)))};return At.set(r,e),Lt.set(e,r),r}unwrapSetter(e){const t=_t.get(e);if(!Et(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Nt.set(r,e),_t.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&&ct(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(ht(e)){const{originalTarget:t}=this;if(wt(t),ht(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:s}}=this;return t===s&&!yt.call(r,t)||(ft(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const Pt=new WeakMap,xt=new WeakMap;class Rt extends kt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=Pt.get(e);if(!Et(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Tt(this)))};return Pt.set(e,r),r}wrapSetter(e){const t=xt.get(e);if(!Et(t))return t;const n=function(e){};return xt.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 Dt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(ct(e))return!0;const t=ut(e);return t===at||null===t||null===ut(t)}const Ft=(e,t)=>{},It=(e,t)=>{};function $t(e){return ct(e)?[]:{}}const Ht=Symbol.for("@@lockerLiveValue"),Bt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=Ct(t)?t:It,this.valueObserved=Ct(n)?n:Ft,this.valueIsObservable=Ct(r)?r:Dt,this.tagPropertyKey=o}getProxy(e){const t=Tt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Tt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Tt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(Et(t)){const n=new Ot(this,e);t=new Proxy($t(e),n),Mt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(Et(t)){const n=new Rt(this,e);t=new Proxy($t(e),n),Mt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Fe,valueMutated:De,tagPropertyKey:Ht});function Wt(e){return Bt.getReadOnlyProxy(e)}function Vt(e){return Bt.getProxy(e)}function jt(e){e[Ht]=void 0}function Gt(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!U(n))throw new TypeError;if(!U(r))throw new TypeError;return{enumerable:o,configurable:s,get(){const t=ro(this);if(!Dr(t))return He(t,e),n.call(t.elm)},set(t){const n=ro(this);return lt(n,e,t),r.call(n.elm,t)}}}const Ut=new WeakMap,Yt=function(){if(V(Rr))throw new TypeError("Illegal constructor");const e=Rr,{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 jt(this),no(o,e),no(n,e),1===e.renderMode?e.renderRoot=Kt(e):e.renderRoot=n,this};function Kt(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:s}}=e,i=s(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=i,no(i,e),i}Yt.prototype={constructor:Yt,dispatchEvent(e){const t=ro(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=ro(this),{elm:o,renderer:{addEventListener:s}}=r;s(o,e,jr(r,t),n)},removeEventListener(e,t,n){const r=ro(this),{elm:o,renderer:{removeEventListener:s}}=r;s(o,e,jr(r,t),n)},hasAttribute(e){const t=ro(this),{elm:n,renderer:{getAttribute:r}}=t;return!V(r(n,e))},hasAttributeNS(e,t){const n=ro(this),{elm:r,renderer:{getAttribute:o}}=n;return!V(o(r,t,e))},removeAttribute(e){const t=ro(this),{elm:n,renderer:{removeAttribute:r}}=t;st(n,e),r(n,e),ot()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=ro(this);st(n,t),r(n,t,e),ot()},getAttribute(e){const t=ro(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=ro(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=ro(this),{elm:r,renderer:{setAttribute:o}}=n;st(r,e),o(r,e,t),ot()},setAttributeNS(e,t,n){const r=ro(this),{elm:o,renderer:{setAttribute:s}}=r;st(o,t),s(o,t,n,e),ot()},getBoundingClientRect(){const e=ro(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=ro(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=ro(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return ro(this).shadowRoot},get refs(){const e=ro(this);if(Sr)return;const{refVNodes:t,cmpTemplate:n}=e;if(V(t))return;let o=Ut.get(t);if(W(o)){o=r(null);for(const e of f(t))o[e]=t[e].elm;i(o),Ut.set(t,o)}return o},set refs(e){s(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=ro(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=ro(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=ro(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=ro(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=ro(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=ro(this);return e.renderer.getLastElementChild(e.elm)},render(){return ro(this).def.template},toString(){return`[object ${ro(this).def.name}]`}};const zt=r(null),qt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of qt)zt[e]={value(t){const n=ro(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(Yt.prototype,zt);const Xt=r(null);for(const e in it)Xt[e]=Gt(e,it[e]);function Zt(e){return{get(){const t=ro(this);return He(t,e),t.cmpFields[e]},set(t){lt(ro(this),e,t)},enumerable:!0,configurable:!0}}o(Yt.prototype,Xt),lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL&&Ee(Yt.prototype),s(Yt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const Qt=new Map;class Jt extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function en(e,t,n){const{method:r,adapter:o,configCallback:i,dynamic:l}=n;const c=W(r)?function(e,t){return n=>{lt(e,t,n)}}(e,t):function(e,t){return n=>{mo(e,e.owner,z,(()=>{t.call(e.component,n)}),z)}}(e,r),a=e=>{c(e)};let u,d;s(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),s(a,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),mo(e,e,z,(()=>{d=new o(a)}),z);const{computeConfigAndUpdate:f,ro:h}=function(e,t,n){let r=!1;const o=Be((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),s()})))})),s=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:s,ro:o}}(e.component,i,(t=>{mo(e,e,z,(()=>{d.update(t,u)}),z)}));return W(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=nn(r);if(W(o))return;const{elm:s,context:{wiredConnecting:i,wiredDisconnecting:l},renderer:{dispatchEvent:c}}=e;T.call(i,(()=>{const e=new Jt(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){T.call(l,e)}});c(s,e)}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>h.reset()}}const tn=new Map;function nn(e){return tn.get(e)}function rn(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Qt.set(e,o)}function on(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Qt.set(e,o)}function sn(e){return{get(){const t=ro(this);if(!Dr(t))return He(t,e),t.cmpProps[e]},set(t){const n=ro(this);n.cmpProps[e]=t,$e(n,e)},enumerable:!0,configurable:!0}}function ln(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!U(n))throw new Error;return{get(){return n.call(this)},set(e){ro(this),r&&r.call(this,e)},enumerable:o,configurable:s}}function cn(e){return{get(){const t=ro(this);return He(t,e),t.cmpFields[e]},set(t){const n=ro(this),r=Vt(t);lt(n,e,r)},enumerable:!0,configurable:!0}}function an(e){return{get(){const t=ro(this);return He(t,e),t.cmpFields[e]},set(t){lt(ro(this),e,t)},enumerable:!0,configurable:!0}}const un=new Map;const dn={apiMethods:Ve,apiFields:Ve,apiFieldsConfig:Ve,wiredMethods:Ve,wiredFields:Ve,observedFields:Ve};const fn=new Set;function hn(){return[]}fn.add(hn);const pn=r(null),mn=r(null);function gn(e){let t=pn[e];return W(t)&&(t=pn[e]=function(){const t=ro(this),{getHook:n}=t;return n(t.component,e)}),t}function wn(e){let t=mn[e];return W(t)&&(t=mn[e]=function(t){const n=ro(this),{setHook:r}=n;t=Wt(t),r(n.component,e,t)}),t}function yn(e){return function(){const t=ro(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,L.call(arguments))}}function bn(e,t){return function(n,r,o){if(r===o)return;const s=e[n];W(s)?W(t)||t.apply(this,arguments):rt(this,n)&&(this[s]=o)}}function vn(e,t,n){let i;U(e)?i=class extends e{}:(i=function(){throw new TypeError("Illegal constructor")},p(i,e),p(i.prototype,e.prototype),s(i.prototype,"constructor",{writable:!0,configurable:!0,value:i}));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[me(n)]=n,u[n]={get:gn(n),set:wn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:yn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:bn(l,c)},s(i,"observedAttributes",{get:()=>[...a,...f(l)]}),o(i.prototype,u),i}const En=vn(Je,c(it),[]);lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL&&Ee(En.prototype),i(En),h(En.prototype);new WeakMap,new WeakMap,new WeakMap,new WeakMap;const Cn=new WeakMap;function Sn(e){const{shadowSupportMode:t,renderMode:s}=e,i=function(e){const t=un.get(e);return W(t)?dn:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=i,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=a(e);if(V(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(Qe(t)){const e=Ze(t);t=e===t?Yt:e}return t}(e),C=E!==Yt?Tn(E):kn,S=vn(C.bridge,f(l),f(u)),M=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,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let N=C.shadowSupportMode;W(t)||(N=t);let L=C.renderMode;W(s)||(L="light"===s?0:1);const _=function(e){return $r.get(e)}(e)||C.template,O=e.name||C.name;o(m,p);return{ctor:e,name:O,wire:A,props:M,propsConfig:T,methods:k,bridge:S,template:_,renderMode:L,shadowSupportMode:N,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Mn(e){if(!U(e))return!1;if(e.prototype instanceof Yt)return!0;let t=e;do{if(Qe(t)){const e=Ze(t);if(e===t)return!0;t=e}if(t===Yt)return!0}while(!V(t)&&(t=a(t)));return!1}function Tn(e){let t=Cn.get(e);if(W(t)){if(Qe(e)){return t=Tn(Ze(e)),Cn.set(e,t),t}if(!Mn(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=Sn(e),Cn.set(e,t)}return t}const kn={ctor:Yt,name:Yt.name,props:Xt,propsConfig:Ve,methods:Ve,renderMode:1,shadowSupportMode:"reset",wire:Ve,bridge:En,template:hn,render:Yt.prototype.render};function An(e){return`${e}-host`}function Nn(e){return mr.h("style",{key:"style",attrs:{type:"text/css"}},[mr.t(e)])}function Ln(e,t,n){const r=[];let o;for(let s=0;s<e.length;s++){let i=e[s];if(m(i))T.apply(r,Ln(i,t,n));else{const e=i[ie];if(lwcRuntimeFlags.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 s=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let c;1===n.renderMode?c=0===n.shadowMode:(W(o)&&(o=_n(n)),c=V(o)||0===o.shadowMode),T.call(r,i(s,l,c))}}return r}function _n(e){let t=e;for(;!V(t);){if(1===t.renderMode)return t;t=t.owner}return t}function On(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}function Pn(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 S.call(t,Nn);{const n=function(e){const t=_n(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 xn(e){const{type:t}=e;return 2===t||3===t}function Rn(e,t){return e.key===t.key&&e.sel===t.sel}function Dn(e){return 5===e.type}function Fn(e){return 6===e.type}function In(e,t){return"input"===e&&("value"===t||"checked"===t)}function $n(e,t,r){let{props:o}=t.data;const{spread:s}=t.data;if(W(o)&&W(s))return;let i;if(!V(e)){i=e.data.props;const t=e.data.spread;if(i===o&&t===s)return;W(i)&&(i=Ve),W(t)||(i=n({},i,t))}W(s)||(o=n({},o,s));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===(In(a,e)?u(c,e):i[e])&&e in i||d(c,e,t)}}const Hn=r(null);function Bn(e){if(null==e)return Ve;e=K(e)?e:e+"";let t=Hn[e];if(t)return t;t=r(null);let n,o=0;const s=e.length;for(n=0;n<s;n++)32===F.call(e,n)&&(n>o&&(t[H.call(e,o,n)]=!0),o=n+1);return n>o&&(t[H.call(e,o,n)]=!0),Hn[e]=t,t}function Wn(e,t){const{elm:n,data:{on:r}}=e;if(W(r))return;const{addEventListener:o}=t;for(const e in r){o(n,e,r[e])}}function Vn(e,t,n,r){sr(t)?lr(e,t,n,r):cr(e,t,n,r)}function jn(e,t,n,r){var o,s;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&Zn(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:s}=t;s?cr(e.children,o,n,r):lr(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;er(e,t,n),Vn(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),Un(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;if(er(e,t,r),!W(o)){nr(t,o);const{shadowMode:n,renderMode:r}=o;0==n&&0!==r&&sr(e.children)&&or(t.children)}Vn(e.children,t.children,n,r),W(o)||function(e){so(e)}(o)}}(e,t,n,null!==(s=t.data.renderer)&&void 0!==s?s:r)}}function Gn(e,t,n,r){var o,s;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:s}=r,i=e.elm=s(e.text);Xn(i,o,r),Qn(i,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:s}=r,i=e.elm=s(e.text);Xn(i,o,r),Qn(i,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:s,isSyntheticShadowDefined:i}=r,l=e.elm=s(e.fragment,!0);Xn(l,o,r);const{renderMode:c,shadowMode:a}=o;i&&(1!==a&&0!==c||(l[oe]=!0));Qn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;Yn(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:s,data:{svg:i}}=e,{createElement:l}=r,c=j(i)?ce:void 0,a=e.elm=l(o,c);Xn(a,s,r),tr(a,s,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(a,e),er(null,e,r),Qn(a,t,n,r),Yn(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:Un(e,t,r,null!==(s=e.data.renderer)&&void 0!==s?s:n)}}function Un(e,t,n,r){const{sel:o,owner:s}=e,{createCustomElement:i}=r;let l;let c,a;lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(c=e=>{Qr(e)},a=e=>{Jr(e)});const u=i(o.toLowerCase(),(t=>{l=function(e,t,n){let r=oo(e);if(!W(r))return r;const{sel:o,mode:s,ctor:i,owner:l}=t;return r=to(e,i,n,{mode:s,owner:l,tagName:o}),r}(t,e,r)}),c,a);e.elm=u,e.vm=l,Xn(u,s,r),tr(u,s,r),l&&nr(e,l),er(null,e,r),Qn(u,t,n,r),l&&(lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||ao(l)),Yn(e.children,u,r,null),l&&function(e){so(e)}(l)}function Yn(e,t,n,r,o=0,s=e.length){for(;o<s;++o){const s=e[o];qn(s)&&Gn(s,t,n,r)}}function Kn(e,t,n,r=!1){const{type:o,elm:s,sel:i}=e;switch(r&&(5===o?zn(e.children,t,n,r):Jn(s,t,n)),o){case 2:{const t="slot"===i&&1===e.owner.shadowMode;zn(e.children,s,n,t);break}case 3:{const{vm:t}=e;W(t)||function(e){eo(e)}(t)}}}function zn(e,t,n,r=!1,o=0,s=e.length){for(;o<s;++o){const s=e[o];qn(s)&&Kn(s,t,n,r)}}function qn(e){return null!=e}function Xn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:s}=t,{isSyntheticShadowDefined:i}=n;i&&(1!==s&&0!==o||(e[re]=r[re]))}function Zn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function Qn(e,t,n,r){r.insert(e,t,n)}function Jn(e,t,n){n.remove(e,t)}function er(e,t,n){V(e)&&(Wn(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(W(r))return;const{getClassList:o}=t,s=o(n);for(const e in r)s.add(e)}(t,n),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(W(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,s,i]=r[e];o(n,t,s,i)}}(t,n)),function(e,t,n){const{elm:r,data:{className:o}}=t,s=V(e)?void 0:e.data.className;if(s===o)return;const{getClassList:i}=n,l=i(r),c=Bn(o),a=Bn(s);let u;for(u in a)W(c[u])&&l.remove(u);for(u in c)W(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:s,removeAttribute:i}=n;K(o)&&""!==o?s(r,"style",o):i(r,"style")}(e,t,n),t.data.external?function(e,t,n){const{data:{attrs:r},elm:o}=t;if(W(r))return;const{removeAttribute:s,setAttribute:i,setProperty:l}=n,c=V(e)?Ve:e.data.attrs;for(const e in r){const t=r[e];c[e]!==t&&(ge(e)in o?l(o,e,t):58===F.call(e,3)?i(o,e,t,le):58===F.call(e,5)?i(o,e,t,ae):V(t)||W(t)?s(o,e):i(o,e,t))}}(e,t,n):function(e,t,n){const{attrs:r}=t.data;if(W(r))return;const o=V(e)?Ve:e.data.attrs;if(o===r)return;const{elm:s}=t,{setAttribute:i,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(st(s,e),58===F.call(e,3)?i(s,e,t,le):58===F.call(e,5)?i(s,e,t,ae):V(t)||W(t)?l(s,e):i(s,e,t),ot())}}(e,t,n),$n(e,t,n)}function tr(e,t,n){const r=On(t);if(!V(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||W(o)||(e.$shadowToken$=o)}function nr(e,t){const n=e.aChildren||e.children,{renderMode:o,shadowMode:s}=t,i=function(e){const t=[],n=[];let r,o=!1;for(let t=e.length-1;t>-1;t-=1){const r=e[t];T.call(n,r),o=o||!(!r||!Dn(r))}if(!o)return e;for(;!W(r=M.call(n));)if(!V(r)&&Dn(r)){const e=r.children;for(let t=e.length-2;t>0;t-=1)T.call(n,e[t])}else T.call(t,r);return or(t),t}(n);e.children=i,t.aChildren=i,1!==s&&0!==o||(!function(e,t,n){var o,s;const{cmpSlots:{slotAssignments:i}}=e,l=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(V(n))continue;let r="";xn(n)?r=null!==(s=null===(o=n.data.attrs)||void 0===o?void 0:o.slot)&&void 0!==s?s:"":Fn(n)&&(r=n.slotName);const i=""+r,c=l[i]=l[i]||[];T.call(c,n)}if(e.cmpSlots={owner:n,slotAssignments:l},G(e.isDirty)){const t=f(i);if(t.length!==f(l).length)return void Wr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(W(l[r])||i[r].length!==l[r].length)return void Wr(e);const o=i[r],s=l[r];for(let t=0,n=l[r].length;t<n;t+=1)if(o[t]!==s[t])return void Wr(e)}}}(t,i,e.owner),e.aChildren=i,e.children=je)}const rr=new WeakMap;function or(e){rr.set(e,1)}function sr(e){return rr.has(e)}function ir(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(qn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function lr(e,t,n,r){let o=0,s=0,i=e.length-1,l=e[0],c=e[i];const a=t.length-1;let u,d,f,h,p=a,m=t[0],g=t[p],w=!1;for(;o<=i&&s<=p;)qn(l)?qn(c)?qn(m)?qn(g)?Rn(l,m)?(jn(l,m,n,r),l=e[++o],m=t[++s]):Rn(c,g)?(jn(c,g,n,r),c=e[--i],g=t[--p]):Rn(l,g)?(jn(l,g,n,r),Qn(l.elm,n,r.nextSibling(c.elm),r),l=e[++o],g=t[--p]):Rn(c,m)?(jn(c,m,n,r),Qn(m.elm,n,l.elm,r),c=e[--i],m=t[++s]):(void 0===u&&(u=ir(e,o,i)),d=u[m.key],W(d)?(Gn(m,n,r,l.elm),m=t[++s]):(f=e[d],qn(f)&&(f.sel!==m.sel?Gn(m,n,r,l.elm):(jn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,Qn(f.elm,n,l.elm,r))),m=t[++s])):g=t[--p]:m=t[++s]:c=e[--i]:l=e[++o];if(o<=i||s<=p)if(o>i){let e,o=p;do{e=t[++o]}while(!qn(e)&&o<a);h=qn(e)?e.elm:null,Yn(t,n,r,h,s,p+1)}else zn(e,n,r,!0,o,i+1)}function cr(e,t,n,r){const o=e.length,s=t.length;if(0===o)return void Yn(t,n,r,null);if(0===s)return void zn(e,n,r,!0);let i=null;for(let o=s-1;o>=0;o-=1){const s=e[o],l=t[o];l!==s&&(qn(s)?qn(l)?(jn(s,l,n,r),i=l.elm):Kn(s,n,r,!0):qn(l)&&(Gn(l,n,r,i),i=l.elm))}}const ar=Symbol.iterator;function ur(e,t,n=je){const r=Tr(),{key:o,ref:s}=t,i={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return W(s)||Xe(r,s,i),i}function dr(e,t,n,r=je){const o=Tr(),{key:s,ref:i}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:s,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){T.call(Tr().velements,e)}(l),W(i)||Xe(o,i,l),l}function fr(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:Tr()}}function hr(e){return or(e),e}let pr=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const mr=i({s:function(e,t,n,r){if(!W(r)&&!W(r.slotAssignments)&&!W(r.slotAssignments[e])&&0!==r.slotAssignments[e].length){const o=[],s=r.slotAssignments[e];for(let e=0;e<s.length;e++){const n=s[e];if(!V(n)){const e=Fn(n);if(e!==!W(t.slotData))continue;if(e){const e=Tr();kr(r.owner);try{T.call(o,n.factory(t.slotData,t.key))}finally{kr(e)}}else T.call(o,n)}}n=o}const o=Tr(),{renderMode:s,shadowMode:i}=o;return 0===s?(hr(n),n):(1===i&&hr(n),ur("slot",t,n))},h:ur,c:dr,i:function(e,t){const n=[];if(hr(n),W(e)||null===e)return n;const r=e[ar]();let o=r.next(),s=0,{value:i,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(i,s,0===s,!0===l);m(e)?T.apply(n,e):T.call(n,e),s+=1,i=o.value}return n},f:function(e){const t=e.length,n=[];hr(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:fr,d:function(e){return null==e?"":String(e)},b:function(e){const t=Tr();if(V(t))throw new Error;const n=t;return function(t){Ir(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:Tr()}},dc:function(e,t,n,r=je){if(null==t)return null;if(!Mn(t))throw new Error(`Invalid LWC Constructor ${X(t)} for custom element <${e}>.`);return dr(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[fr(""),...t,fr("")],stable:n,owner:Tr()}},ti:function(e){return e>0&&!(j(e)||G(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:Tr()}},gid:function(e){const t=Tr();if(W(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=Tr();if(W(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 pr(e)},ssf:function(e,t){return{type:6,factory:t,owner:Tr(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let gr=!1,wr=z;const yr={enableProfiler(){gr=!0},disableProfiler(){gr=!1},attachDispatcher(e){wr=e,this.enableProfiler()},detachDispatcher(){const e=wr;return wr=z,this.disableProfiler(),e}};function br(e,t){gr&&wr(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function vr(e,t){gr&&wr(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Er(e,t){gr&&wr(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 Cr(e,t){gr&&wr(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 Sr=!1,Mr=null;function Tr(){return Mr}function kr(e){Mr=e}function Ar(e){return(t,...n)=>{const o=r(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:s},shadowMode:i,renderer:l}=Tr(),c=!W(s),a=1===i;let u=0;if(c&&r&&(u|=1),c&&a&&(u|=2),!W(o[u]))return o[u];const d=r&&c?" "+s:"",f=r&&c?` class="${s}"`:"",h=c&&a?" "+s:"";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=Ar(((e,t)=>{const{createFragment:n}=t;return n(e)})),Lr=Ar(((e,t)=>{const{createFragment:n,getFirstChild:r}=t;return r(n("<svg>"+e+"</svg>"))}));function _r(e,t){const n=Sr,o=Mr;let s=[];return mo(e,e.owner,(()=>{Mr=e,br(1,e)}),(()=>{const{component:n,context:o,cmpSlots:i,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(V(l)||po(e),c=t,!fn.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: ${X(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=Pr(t,e),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:s,renderer:{getClassList:i,removeAttribute:l,setAttribute:c}}=e,{stylesheets:a,stylesheetToken:u}=t,{stylesheets:d}=e,f=1===o&&1===s,{hasScopedStyles:h}=r;let p,m,g;const{stylesheetToken:w,hasTokenInClass:y,hasTokenInAttribute:b}=r;W(w)||(y&&i(n).remove(An(w)),b&&l(n,An(w)));const v=xr(a),E=xr(d);(v||E)&&(p=u),W(p)||(h&&(i(n).add(An(p)),m=!0),f&&(c(n,An(p),""),g=!0)),r.stylesheetToken=p,r.hasTokenInClass=m,r.hasTokenInAttribute=g}(e,t);const n=function(e,t){const{stylesheets:n,stylesheetToken:r}=t,{stylesheets:o}=e;let s=[];return xr(n)&&(s=Ln(n,r,e)),xr(o)&&T.apply(s,Ln(o,r,e)),s}(e,t);o.styleVNodes=0===n.length?null:Pn(e,n)}var c;e.refVNodes=t.hasRefs?r(null):null,e.velements=[],Sr=!0,s=t.call(void 0,mr,n,i,o.tplCache);const{styleVNodes:a}=o;V(a)||x.apply(s,a)}))}),(()=>{Sr=n,Mr=o,vr(1,e)})),s}function Or(e){if(xr(e))for(let t=0;t<e.length;t++)if(j(e[t][ie]))return!0;return!1}function Pr(e,t){const{stylesheets:n}=e,r=W(t)?null:t.stylesheets;return Or(n)||Or(r)}function xr(e){return!W(e)&&!V(e)&&e.length>0}let Rr=null;function Dr(e){return Rr===e}function Fr(e,t,n){const{component:r,callHook:o,owner:s}=e;mo(e,s,z,(()=>{o(r,t,n)}),z)}function Ir(e,t,n,r){const{callHook:o,owner:s}=e;mo(e,s,z,(()=>{o(n,t,[r])}),z)}const $r=new Map;function Hr(e){return Be((()=>{const{isDirty:t}=e;G(t)&&(Wr(e),function(e){if(j(e.isScheduled))return;e.isScheduled=!0,0===lo.length&&Ue(co);T.call(lo,e)}(e))}))}function Br(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,s=Tr();let i,l=!1;return mo(e,o,(()=>{kr(e)}),(()=>{e.tro.observe((()=>{i=n(r,t),l=!0}))}),(()=>{kr(s)})),l?_r(e,i):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Wr(e){e.isDirty=!0}const Vr=new WeakMap;function jr(e,t){if(!U(t))throw new TypeError("Expected an EventListener but received "+typeof t);let n=Vr.get(t);return W(n)&&(n=function(n){Ir(e,t,void 0,n)},Vr.set(t,n)),n}const Gr=r(null),Ur=["rendered","connected","disconnected"];function Yr(e,t){const{component:n,def:r,context:o}=e;for(let e=0,s=t.length;e<s;++e)t[e].call(void 0,n,{},r,o)}let Kr=0;const zr=new WeakMap;function qr(e,t,n=[]){return t.apply(e,n)}function Xr(e,t,n){e[t]=n}function Zr(e,t){return e[t]}function Qr(e){const t=ro(e);Er(7,t),1===t.state&&Jr(e),ao(t),so(t),Cr(7,t)}function Jr(e){eo(ro(e))}function eo(e){const{state:t}=e;if(2!==t){const{tro:t}=e;t.reset(),function(e){G(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Gr;t&&Yr(e,t);uo(e)&&function(e){const{wiredDisconnecting:t}=e.context;mo(e,e,z,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),z)}(e);const{disconnectedCallback:n}=e.def;W(n)||(br(5,e),Fr(e,n),vr(5,e))}(e),fo(e),function(e){const{aChildren:t}=e;ho(t)}(e)}}function to(e,t,n,o){const{mode:s,owner:i,tagName:l,hydrated:c}=o,a=Tn(t),u={elm:e,def:a,idx:Kr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:s,owner:i,refVNodes:null,children:je,aChildren:je,velements:je,cmpProps:r(null),cmpFields:r(null),cmpSlots:{slotAssignments: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:Ve,wiredConnecting:je,wiredDisconnecting:je},tro:null,shadowMode:null,stylesheets:null,component:null,shadowRoot:null,renderRoot:null,callHook:qr,setHook:Xr,getHook:Zr,renderer:n};return u.stylesheets=function(e,t){const{stylesheets:n}=t;if(!W(n)){const e=function(e,t){let n=!0;const r=e=>{if(m(e))for(let t=0;t<e.length;t++)r(e[t]);else U(e)||(n=!1)};m(t)?r(t):n=!1;return n}(0,n);if(e)return qe(n)}return null}(0,a.ctor),u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let s;if(r)if(0===n.renderMode)s=0;else if(o)if(lwcRuntimeFlags.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)s=0;else{const t=function(e){let t=e.owner;for(;!V(t)&&0===t.renderMode;)t=t.owner;return t}(e);s=V(t)||0!==t.shadowMode?1:0}else s=1;else s=1;else s=0;return s}(u,n),u.tro=Hr(u),function(e,t){const n=Rr;let r;br(0,e),Rr=e;try{const o=new t;if(Rr.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(vr(0,e),Rr=n,!W(r))throw Le(e,r),r}}(u,a.ctor),uo(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const s=n[t],i=Qt.get(s);if(!W(i)){const{connector:n,computeConfigAndUpdate:s,resetConfigWatcher:l}=en(e,t,i),c=i.dynamic.length>0;T.call(r,(()=>{n.connect(),lwcRuntimeFlags.ENABLE_WIRE_SYNC_EMIT||!c?s():Promise.resolve().then(s)})),T.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function no(e,t){zr.set(e,t)}function ro(e){return zr.get(e)}function oo(e){return zr.get(e)}function so(e){if(j(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&mo(e,e,(()=>{br(2,e)}),(()=>{Vn(r,t,n,o)}),(()=>{vr(2,e)}));1===e.state&&io(e)}(e,Br(e))}}function io(e){const{def:{renderedCallback:t}}=e,{rendered:n}=Gr;n&&Yr(e,n),W(t)||(br(4,e),Fr(e,t),vr(4,e))}let lo=[];function co(){Er(8);const e=lo.sort(((e,t)=>e.idx-t.idx));lo=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{so(r)}catch(r){throw t+1<n&&(0===lo.length&&Ue(co),x.apply(lo,L.call(e,t+1))),Cr(8),r}}Cr(8)}function ao(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Gr;n&&Yr(e,n),uo(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;W(r)||(br(3,e),Fr(e,r),vr(3,e))}function uo(e){return c(e.def.wire).length>0}function fo(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!W(n)){const e=oo(n);W(e)||eo(e)}}}function ho(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!V(n)&&!W(n.elm))switch(n.type){case 2:ho(n.children);break;case 3:eo(ro(n.elm));break}}}function po(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)||W(o.elm)||r(o.elm,n)}e.children=je,fo(e),e.velements=je}function mo(e,t,n,r,o){let s;n();try{r()}catch(e){s=Object(e)}finally{if(o(),!W(s)){Le(e,s);const n=V(t)?void 0:function(e){let t=e;for(;!V(t);){if(!W(t.def.errorCallback))return t;t=t.owner}}(t);if(W(n))throw s;po(e),br(6,e);Fr(n,n.def.errorCallback,[s,s.wcStack]),vr(6,e)}}}const go=ne.$nativeGetElementById$,wo=ne.$nativeQuerySelectorAll$;function yo(e,t,n){let r=oo(e.getRootNode().host);W(r)&&(r=oo(t.getRootNode().host)),W(r)||Ae(0,{tagName:r.tagName,attributeName:n})}function bo(e,t,n){const r=e.getRootNode();var o;if((o=r)!==document&&j(o.synthetic))if("id"===t){if(!K(n)||0===n.length)return;for(const t of te){const o=`[${t}~="${CSS.escape(n)}"]`,s=wo.call(document,o);for(let n=0;n<s.length;n++){const o=s[n];if(o.getRootNode()!==r){yo(o,e,t);break}}}}else{const o=function(e){return K(e)?b.call($.call(e,/\s+/),Boolean):[]}(n);for(const n of o){const o=go.call(document,n);if(!V(o)){o.getRootNode()!==r&&yo(e,o,t)}}}}let vo=!1;"undefined"!=typeof CSS&&U(CSS.escape)&&u.call(Element.prototype,se)&&ke((function(){if(vo)return;vo=!0;const{setAttribute:e}=Element.prototype;n(Element.prototype,{setAttribute(t,n){e.call(this,t,n),("id"===t||te.has(t))&&bo(this,t,n)}});const t=l(Element.prototype,"id");if(!W(t)){const{get:e,set:n}=t;U(e)&&U(n)&&s(Element.prototype,"id",{get(){return e.call(this)},set(e){n.call(this,e),bo(this,"id",e)},enumerable:!0,configurable:!0})}}));const Eo=["ariaActiveDescendant","ariaControls","ariaDescribedBy","ariaDetails","ariaErrorMessage","ariaFlowTo","ariaLabelledBy","ariaOwns"];function Co(e){return e instanceof Yt||e instanceof En}function So(e,t,n,r){if(!Co(e)){const o=function(e){const{host:t}=e.getRootNode(),n=W(t)?void 0:oo(t);if(!W(n))return n;let r=e;for(;!V(r=r.parentElement);)if(Co(r)){const e=oo(r);if(!W(e))return e}}(e);let s;n&&(s=V(r)?"null":typeof r),Ae(2,{tagName:null==o?void 0:o.tagName,propertyName:t,isSetter:n,setValueType:s})}}lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL||ke((function(){const{prototype:e}=Element;for(const t of Eo){const n=l(e,t),{get:r,set:o}=n;s(e,t,{get(){return So(this,t,!1,void 0),r.call(this)},set(e){return So(this,t,!0,e),o.call(this,e)},configurable:!0,enumerable:!0})}}));let Mo=!1;function To(e){const t=Br(e);e.children=t;const{renderRoot:n,renderer:{getFirstChild:r}}=e;No(r(n),t,n,e),io(e)}function ko(e,t,n){var r,o;let s;switch(t.type){case 0:s=function(e,t,n){var r;if(!Oo(t,e,3,n))return Lo(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:s=function(e,t,n){var r;if(!Oo(t,e,8,n))return Lo(e,t,n);const{setProperty:o}=n;return o(e,Ao,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:s=function(e,t,n){if(!function(e,t,n,r){const{getProperty:o,getAttribute:s}=r;if(3===o(e,"nodeType"))return!!Oo(n,t,3,r)&&o(e,Ao)===o(t,Ao);if(8===o(e,"nodeType"))return!!Oo(n,t,8,r)&&o(e,Ao)===o(t,Ao);if(!Oo(n,t,1,r))return!1;let i=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((r=>{s(e,r)!==s(t,r)&&(Pe(`Mismatch hydrating element <${o(e,"tagName").toLowerCase()}>: attribute "${r}" has different values, expected "${s(e,r)}" but found "${s(t,r)}"`,n.owner),i=!1)})),i}(t.fragment,e,t,n))return Lo(e,t,n);return t.elm=e,e}(e,t,n);break;case 5:s=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:s=function(e,t,n){if(!Oo(t,e,1,n)||!Po(t,e,n))return Lo(e,t,n);t.elm=e;const{owner:r}=t,{context:o}=t.data,s=Boolean(!W(o)&&!W(o.lwc)&&"manual"===o.lwc.dom);if(s){const{data:{props:r}}=t,{getProperty:o}=n;W(r)||W(r.innerHTML)||o(e,"innerHTML")===r.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:ze(r,"innerHTML")}))}if(_o(t,n),!s){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:s=function(e,t,n){if(!Oo(t,e,1,n)||!Po(t,e,n))return Lo(e,t,n);const{sel:r,mode:o,ctor:s,owner:i}=t,l=to(e,s,n,{mode:o,owner:i,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,nr(t,l),_o(t,n),ao(l),0!==l.renderMode){const{getFirstChild:r}=n;No(r(e),t.children,e,l)}return To(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(s)}const Ao="nodeValue";function No(e,t,n,r){let o=e,s=null;const{renderer:i}=r;for(let e=0;e<t.length;e++){const r=t[e];V(r)||(o?(o=ko(o,r,i),s=r.elm):(Mo=!0,Gn(r,n,i,s),s=r.elm))}if(o){Mo=!0;const{nextSibling:e}=i;do{const t=o;o=e(o),Jn(t,n,i)}while(o)}}function Lo(e,t,n){Mo=!0;const{getProperty:r}=n,o=r(e,"parentNode");return Gn(t,o,n,e),Jn(e,o,n),t.elm}function _o(e,t){Wn(e,t),$n(null,e,t)}function Oo(e,t,n,r){const{getProperty:o}=r;return o(t,"nodeType")===n}function Po(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,s]of Object.entries(r)){const{getAttribute:r}=n,i=r(t,e);String(s)!==i&&(o=!1)}return o}(e,t,n),s=function(e,t,n){const{data:r,owner:o}=e;let{className:s,classMap:i}=r;const{getProperty:l,getClassList:c}=n,a=On(o),u=function(e){return 3===e.type}(e)?function(e){const{template:t}=Tn(e.ctor),{vm:n}=e,{stylesheetToken:r}=t;return!W(r)&&Pr(t,n)?An(r):null}(e):null;if(!V(a)||!V(u))if(W(s))if(W(i)){const e=[a,u],t=b.call(e,(e=>!V(e)));t.length&&(s=C.call(t," "))}else i=Object.assign(Object.assign(Object.assign({},i),V(a)?{}:{[a]:!0}),V(u)?{}:{[u]:!0});else{const e=[a,s,u],t=b.call(e,(e=>!V(e)));s=C.call(t," ")}let d=!0;const h=l(t,"className");if(W(s)||String(s)===h)if(W(i))W(s)&&""!==h&&(d=!1);else{const e=c(t);let n="";for(const t in i)n+=" "+t,e.contains(t)||(d=!1);n.trim(),e.length>f(i).length&&(d=!1)}else d=!1;return d}(e,t,n),i=function(e,t,n){const{data:{style:r,styleDecls:o}}=e,{getAttribute:s}=n,i=s(t,"style")||"";let l=!0;if(W(r)||r===i){if(!W(o)){const e=function(e){const t={},n=e.split(Ye);for(const e of n)if(e){const[n,r]=e.split(Ke);void 0!==n&&void 0!==r&&(t[n.trim()]=r.trim())}return t}(i),t=[];for(let n=0,r=o.length;n<r;n++){const[r,s,i]=o[n];t.push(`${r}: ${s+(i?" important!":"")}`);const c=e[r];W(c)?l=!1:c.startsWith(s)?i&&!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&&s&&i}let xo=!1;const Ro=["slots","stylesheetToken","stylesheets","renderMode"],Do=["$scoped$"],Fo=["pop","push","shift","unshift","reverse","sort","fill","splice","copyWithin"];let Io=!1;function $o(e){switch(e){case"pop":return M;case"push":return T;case"shift":return N;case"unshift":return x;case"reverse":return A;case"sort":return O;case"fill":return y;case"splice":return P;case"copyWithin":return w}}function Ho(e,t,n){Ae(t,{propertyName:n})}function Bo(e){Ho(0,3,e)}function Wo(e){Ho(0,4,e)}function Vo(e){jo(e,(e=>{m(e)?function(e){for(const t of Fo){const n=$o(t);e[t]=function(){return Bo("stylesheets"),n.apply(this,arguments)}}}(e):function(e){for(const t of Do){let n=e[t];s(e,t,{enumerable:!0,configurable:!0,get:()=>n,set(e){Wo(t),n=e}})}}(e)}))}function jo(e,t){t(e);for(let n=0;n<e.length;n++){const r=e[n];m(r)?jo(r,t):t(r)}}const Go=U(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),Uo=Go&&l(document.adoptedStyleSheets,"length").writable,Yo=!W(document.documentMode),Ko=new Map;function zo(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function qo(e,t,n){const r=function(e,t){const{element:n,usedElement:r}=t;return r?Yo?zo(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function Xo(e,t){let n=Ko.get(e);return W(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},Ko.set(e,n)),t&&W(n.stylesheet)?n.stylesheet=function(e){const t=new CSSStyleSheet;return t.replaceSync(e),t}(e):!t&&W(n.element)&&(n.element=zo(e)),n}function Zo(e,t){const n=Xo(e,Go);let{roots:r}=n;if(W(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),Go?function(e,t,n){const{adoptedStyleSheets:r}=t,{stylesheet:o}=n;Uo?r.push(o):t.adoptedStyleSheets=[...r,o]}(0,t,n):qo(e,t,n)}const Qo=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}}(),Jo=(e,t)=>{const n=document.createElement(e);return t(n),n},es=new Map,ts=new WeakSet;let ns=!1;const rs=(e,t)=>{const n=!W(e),r=!W(t);class o extends HTMLElement{constructor(e){super(),ns?e(this):(n||r)&&ts.add(this)}}return n&&(o.prototype.connectedCallback=function(){ts.has(this)||e(this)}),r&&(o.prototype.disconnectedCallback=function(){ts.has(this)||t(this)}),o};let os;function ss(e){const t=function(e){var t=Object.freeze({__proto__:null,fail:function(e){throw new Error(e)},invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)}});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 s=document.implementation.createHTMLDocument("");s.body.innerHTML=e;let i=s.body;if(!n(o))for(let e=0;e<o.length;e++)i=i.firstChild;return i.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}os=Qo?(e,t,n,r)=>{let o=es.get(e);if(W(o)){if(!W(customElements.get(e)))throw new Error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`);o=rs(n,r),customElements.define(e,o),es.set(e,o)}ns=!0;try{return new o(t)}finally{ns=!1}}:Jo;const is=n(ss(null),{insertStylesheet:function(e,t){W(t)?function(e){const t=Xo(e,!1);t.global||(t.global=!0,qo(e,document.head,t))}(e):Zo(e,t)},createCustomElement:os,isNativeShadowDefined:ne.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,se)});function ls(e,t,n){const r=to(e,t,is,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,r]of Object.entries(n))e[t]=r;return r}function cs(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(!Y(n)||V(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(oo(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{!function(e){Mo=!1,ao(e),To(e),Mo&&Pe("Hydration completed with errors.",e)}(ls(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),ls(e,t,n),Qr(e)}}const as=new WeakSet;function us(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?(cs(this,e,{}),as.add(this)):to(this,e,is,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){as.has(this)?as.delete(this):Qr(this)}disconnectedCallback(){Jr(this)}attributeChangedCallback(e,t,n){o.call(this,e,t,n)}}).observedAttributes=r,t}const ds=Node,fs=new WeakMap,hs=new WeakMap;function ps(e,t){const n=t.get(e);return W(n)||n(e),e}if(!lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE){const{appendChild:e,insertBefore:t,removeChild:r,replaceChild:o}=ds.prototype;n(ds.prototype,{appendChild(t){return ps(e.call(this,t),fs)},insertBefore(e,n){return ps(t.call(this,e,n),fs)},removeChild(e){return ps(r.call(this,e),hs)},replaceChild(e,t){const n=o.call(this,e,t);return ps(n,hs),ps(e,fs),n}})}const ms=Node;const gs=new Map;return s(Yt,"CustomElementConstructor",{get(){return function(e){if(e===Yt)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=gs.get(e);return W(t)&&(t=us(e),gs.set(e,t)),t}(this)}}),i(Yt),h(Yt.prototype),e.LightningElement=Yt,e.__unstable__ProfilerControl=yr,e.__unstable__ReportingControl=Te,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=nn(e);if(!W(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){tn.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:s}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{W(s)||s(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!Y(t)||V(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${X(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}=is,o=B.call(e);let s,i;return lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(s=e=>{Qr(e)},i=e=>{Jr(e)}),r(o,(e=>{to(e,n,is,{tagName:o,mode:"closed"!==t.mode?"open":"closed",owner:null}),lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||(fs.set(e,Qr),hs.set(e,Jr))}),s,i)},e.freezeTemplate=function(e){lwcRuntimeFlags.ENABLE_FROZEN_TEMPLATE?(i(e),W(e.stylesheets)||jo(e.stylesheets,(e=>{i(e)}))):(!function(e){s(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return W(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=W(e)?void 0:e.shadowAttribute}})}(e),ke((()=>{!function(e){W(e.stylesheets)||Vo(e.stylesheets);for(const t of Ro){let n=e[t];s(e,t,{enumerable:!0,configurable:!0,get:()=>n,set(e){Io||Bo(t),n=e}})}const t=l(e,"stylesheetTokens");s(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get:t.get,set(e){Bo("stylesheetTokens"),Io=!0,t.set.call(this,e),Io=!1}})}(e)})))},e.getComponentConstructor=function(e){let t=null;if(!W(e)){const n=oo(e);W(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=Tn(e),{ctor:n,name:r,props:o,propsConfig:s,methods:i}=t,l={};for(const e in o)l[e]={config:s[e]||0,type:"any",attr:me(e)};const c={};for(const e in i)c[e]=i[e].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=cs,e.isComponentConstructor=Mn,e.isNodeFromTemplate=function(e){if(G(e instanceof ms))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&G(u.call(a(t),"synthetic")))||is.isSyntheticShadowDefined&&!W(e[re])},e.parseFragment=Nr,e.parseSVGFragment=Lr,e.readonly=function(e){return Wt(e)},e.register=function(e){for(let t=0;t<Ur.length;++t){const n=Ur[t];if(n in e){let t=Gr[n];W(t)&&(Gr[n]=t=[]),T.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return U(e)&&$r.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:i,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(!W(o))for(const e in o){const t=o[e];if(g[e]=t.config,w=l(n,e),t.config>0){if(W(w))throw new Error;w=ln(0,w)}else w=W(w)||W(w.get)?sn(e):ln(0,w);f[e]=w,s(n,e,w)}if(W(i)||R.call(i,(e=>{if(w=l(n,e),W(w))throw new Error;d[e]=w})),!W(c))for(const e in c){const{adapter:t,method:r,config:o,dynamic:i=[]}=c[e];if(w=l(n,e),1===r){if(W(w))throw new Error;h[e]=w,rn(w,t,o,i)}else w=an(e),p[e]=w,on(w,t,o,i),s(n,e,w)}if(!W(a))for(const e in a)w=l(n,e),w=cn(e),s(n,e,w);if(!W(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const r=!W(o)&&t in o,s=!W(a)&&t in a;r||s||(m[t]=Zt(t))}return function(e,t){un.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return fn.add(e),e},e.renderer=is,e.rendererFactory=ss,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(W(we[e])){const n=f(we).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=ye[e];if(!W(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);s(ye,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(xo,"Hooks are already overridden, only one definition is allowed."),xo=!0,n=e.sanitizeHtmlContent,pr=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 Vt(e);throw new Error},e.unwrap=function(e){return Bt.unwrapProxy(e)},e.wire=function(e,t){throw new Error},e}({});
|
|
1
|
+
var LWC=function(e){"use strict";var t=Object.freeze({__proto__:null,fail:function(e){throw new Error(e)},invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)}});const{assign:n,create:r,defineProperties:o,defineProperty:s,freeze:i,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:y,filter:b,find:v,indexOf:E,join:C,map:S,pop:M,push:T,reduce:k,reverse:A,shift:N,slice:L,some:_,sort:O,splice:P,unshift:x,forEach:R}=Array.prototype,{fromCharCode:D}=String,{charCodeAt:F,replace:I,split:$,slice:H,toLowerCase:B}=String.prototype;function W(e){return void 0===e}function V(e){return null===e}function j(e){return!0===e}function G(e){return!1===e}function U(e){return"function"==typeof e}function Y(e){return"object"==typeof e}function K(e){return"string"==typeof e}function z(){}const q={}.toString;function X(e){return e&&e.toString?m(e)?C.call(S.call(e,X),","):e.toString():"object"==typeof e?q.call(e):e+""}function Z(e,t){do{const n=l(e,t);if(!W(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:J,AriaPropNameToAttrNameMap:ee}=(()=>{const e=r(null),t=r(null);return R.call(Q,(n=>{const r=B.call(I.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),te=new Set(["aria-activedescendant","aria-controls","aria-describedby","aria-details","aria-errormessage","aria-flowto","aria-labelledby","aria-owns","for"]),ne="object"==typeof globalThis?globalThis:window,re="$shadowResolver$",oe="$shadowStaticNode$",se="$shadowToken$",ie="$$lwc-synthetic-mode",le="$scoped$",ce="http://www.w3.org/XML/1998/namespace",ae="http://www.w3.org/2000/svg",ue="http://www.w3.org/1999/xlink",de=/-([a-z])/g,{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:fe,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:he}=(()=>{const e=new Map([["accessKey","accesskey"],["readOnly","readonly"],["tabIndex","tabindex"],["bgColor","bgcolor"],["colSpan","colspan"],["rowSpan","rowspan"],["contentEditable","contenteditable"],["crossOrigin","crossorigin"],["dateTime","datetime"],["formAction","formaction"],["isMap","ismap"],["maxLength","maxlength"],["minLength","minlength"],["noValidate","novalidate"],["useMap","usemap"],["htmlFor","for"]]),t=new Map;return e.forEach(((e,n)=>t.set(e,n))),{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:t,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:e}})(),pe=new Map,me=new Map;function ge(e){const t=ee[e];if(!W(t))return t;const n=he.get(e);if(!W(n))return n;const r=pe.get(e);if(!W(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=F.call(e,t);o+=n>=65&&n<=90?"-"+D(n+32):D(n)}return pe.set(e,o),o}function we(e){const t=J[e];if(!W(t))return t;const n=fe.get(e);if(!W(n))return n;const r=me.get(e);if(!W(r))return r;const o=I.call(e,de,(e=>e[1].toUpperCase()));return me.set(e,o),o}const ye={DUMMY_TEST_FLAG:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_FROZEN_TEMPLATE:null,DISABLE_ARIA_REFLECTION_POLYFILL:null};ne.lwcRuntimeFlags||Object.defineProperty(ne,"lwcRuntimeFlags",{value:r(null)});const be=ne.lwcRuntimeFlags;function ve(e,t){return W(l(t,e))}function Ee(e,t){const n=function(e){return{get(){return this.hasAttribute(e)?this.getAttribute(e):null},set(t){V(t)?this.removeAttribute(e):this.setAttribute(e,t)},configurable:!0,enumerable:!0}}(ee[e]);s(t,e,n)}function Ce(e=Element.prototype){const t=f(ee);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];ve(r,e)&&Ee(r,e)}}lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL||Ce();const Se=[];let Me=z,Te=!1;const ke={attachDispatcher(e){Te=!0,Me=e;for(const e of Se)try{e()}catch(e){console.error("Could not invoke callback",e)}Se.length=0},detachDispatcher(){Te=!1,Me=z}};function Ae(e){Te?e():Se.push(e)}function Ne(e,t){Te&&Me(e,t)}function Le(e){return`<${B.call(e.tagName)}>`}function _e(e,t){if(!d(t)&&W(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!V(n);)T.call(t,Le(n)),n=n.owner;return t.reverse().join("\n\t")}(e);s(t,"wcStack",{get:()=>n})}}const Oe=new Set;function Pe(e,t,n,r){let o=`[LWC ${e}]: ${t}`;if(W(n)||(o=`${o}\n${function(e){const t=[];let n="";for(;!V(e.owner);)T.call(t,n+Le(e)),e=e.owner,n+="\t";return C.call(t,"\n")}(n)}`),r){if(Oe.has(o))return;Oe.add(o)}try{throw new Error(o)}catch(t){console[e](t)}}function xe(e,t){Pe("error",e,t,!1)}const Re=new WeakMap;let De=null;function Fe(e,t){const n=Re.get(e);if(!W(n)){const e=n[t];if(!W(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Ie(e,t){if(null===De)return;const n=De,o=function(e){let t=Re.get(e);if(W(t)){const n=r(null);t=n,Re.set(e,n)}return t}(e);let s=o[t];if(W(s))s=[],o[t]=s;else if(s[0]===n)return;-1===E.call(s,n)&&n.link(s)}class $e{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=De;let n;De=this;try{e()}catch(e){n=Object(e)}finally{if(De=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);P.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 He(e,t){Fe(e.component,t)}function Be(e,t){Ie(e.component,t)}function We(e){return new $e(e)}let Ve=[];const je=32,Ge=h(r(null)),Ue=h([]);function Ye(){const e=Ve;Ve=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function Ke(e){0===Ve.length&&Promise.resolve().then(Ye),T.call(Ve,e)}const ze=/;(?![^(]*\))/g,qe=/:(.+)/;function Xe(e,t){const n={};for(const r of f(e))r!==t&&(n[r]=e[r]);return n}function Ze(e){const t=[];for(const n of e)m(n)?t.push(...Ze(n)):t.push(n);return t}function Qe(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}function Je(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function et(e){return U(e)&&u.call(e,"__circular__")}const tt="undefined"!=typeof HTMLElement?HTMLElement:function(){},nt=tt.prototype;let rt,ot=null;function st(e,t){ot=null,rt=void 0}function it(e,t){ot=e,rt=t}const lt=r(null);function ct(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n,He(e,t))}R.call(f(ee),(e=>{const t=Z(nt,e);W(t)||(lt[e]=t)})),R.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=Z(nt,e);W(t)||(lt[e]=t)}));const{isArray:at}=Array,{prototype:ut,getPrototypeOf:dt,create:ft,defineProperty:ht,isExtensible:pt,getOwnPropertyDescriptor:mt,getOwnPropertyNames:gt,getOwnPropertySymbols:wt,preventExtensions:yt,hasOwnProperty:bt}=Object,{push:vt,concat:Et}=Array.prototype;function Ct(e){return void 0===e}function St(e){return"function"==typeof e}const Mt=new WeakMap;function Tt(e,t){Mt.set(e,t)}const kt=e=>Mt.get(e)||e;class At{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(bt.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;Ct(n)||(e.get=this.wrapGetter(n)),Ct(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=mt(n,t);if(!Ct(r)){const n=this.wrapDescriptor(r);ht(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;Et.call(gt(t),wt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;Ct(n)||bt.call(e,n)||ht(e,n,ft(null)),yt(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:r}}=this,o=n[t];return r(n,t),this.wrapValue(o)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:r,valueObserved:o}}=this;return o(n,t),t in n||t===r}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,r=Ct(n)||bt.call(t,n)?[]:[n];return vt.apply(r,gt(t)),vt.apply(r,wt(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!pt(e)&&(!!pt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return dt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let s=mt(n,t);if(Ct(s)){if(t!==o)return;return s={value:void 0,writable:!1,configurable:!1,enumerable:!1},ht(e,o,s),s}return!1===s.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(s)}}const Nt=new WeakMap,Lt=new WeakMap,_t=new WeakMap,Ot=new WeakMap;class Pt extends At{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Nt.get(e);if(!Ct(t))return t;const n=this,r=function(){return n.wrapValue(e.call(kt(this)))};return Nt.set(e,r),_t.set(r,e),r}wrapSetter(e){const t=Lt.get(e);if(!Ct(t))return t;const n=function(t){e.call(kt(this),kt(t))};return Lt.set(e,n),Ot.set(n,e),n}unwrapDescriptor(e){if(bt.call(e,"value"))e.value=kt(e.value);else{const{set:t,get:n}=e;Ct(n)||(e.get=this.unwrapGetter(n)),Ct(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=_t.get(e);if(!Ct(t))return t;const n=this,r=function(){return kt(e.call(n.wrapValue(this)))};return Nt.set(r,e),_t.set(e,r),r}unwrapSetter(e){const t=Ot.get(e);if(!Ct(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Lt.set(r,e),Ot.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&&at(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(pt(e)){const{originalTarget:t}=this;if(yt(t),pt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:s}}=this;return t===s&&!bt.call(r,t)||(ht(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const xt=new WeakMap,Rt=new WeakMap;class Dt extends At{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=xt.get(e);if(!Ct(t))return t;const n=this,r=function(){return n.wrapValue(e.call(kt(this)))};return xt.set(e,r),r}wrapSetter(e){const t=Rt.get(e);if(!Ct(t))return t;const n=function(e){};return Rt.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 Ft(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(at(e))return!0;const t=dt(e);return t===ut||null===t||null===dt(t)}const It=(e,t)=>{},$t=(e,t)=>{};function Ht(e){return at(e)?[]:{}}const Bt=Symbol.for("@@lockerLiveValue"),Wt=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:$t,this.valueObserved=St(n)?n:It,this.valueIsObservable=St(r)?r:Ft,this.tagPropertyKey=o}getProxy(e){const t=kt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=kt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return kt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(Ct(t)){const n=new Pt(this,e);t=new Proxy(Ht(e),n),Tt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(Ct(t)){const n=new Dt(this,e);t=new Proxy(Ht(e),n),Tt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Ie,valueMutated:Fe,tagPropertyKey:Bt});function Vt(e){return Wt.getReadOnlyProxy(e)}function jt(e){return Wt.getProxy(e)}function Gt(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!U(n))throw new TypeError;if(!U(r))throw new TypeError;return{enumerable:o,configurable:s,get(){const t=io(this);if(!$r(t))return Be(t,e),n.call(t.elm)},set(t){const n=io(this);return ct(n,e,t),r.call(n.elm,t)}}}const Ut=new WeakMap,Yt=function(){if(V(Ir))throw new TypeError("Illegal constructor");const e=Ir,{def:t,elm:n}=e,{bridge:r}=t;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 this[Bt]=void 0,so(this,e),so(n,e),1===e.renderMode?e.renderRoot=function(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:s}}=e,i=s(t,{[ie]:1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=i,so(i,e),i}(e):e.renderRoot=n,this};Yt.prototype={constructor:Yt,dispatchEvent(e){const t=io(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=io(this),{elm:o,renderer:{addEventListener:s}}=r;s(o,e,Yr(r,t),n)},removeEventListener(e,t,n){const r=io(this),{elm:o,renderer:{removeEventListener:s}}=r;s(o,e,Yr(r,t),n)},hasAttribute(e){const t=io(this),{elm:n,renderer:{getAttribute:r}}=t;return!V(r(n,e))},hasAttributeNS(e,t){const n=io(this),{elm:r,renderer:{getAttribute:o}}=n;return!V(o(r,t,e))},removeAttribute(e){const t=io(this),{elm:n,renderer:{removeAttribute:r}}=t;it(n,e),r(n,e),st()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=io(this);it(n,t),r(n,t,e),st()},getAttribute(e){const t=io(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=io(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=io(this),{elm:r,renderer:{setAttribute:o}}=n;it(r,e),o(r,e,t),st()},setAttributeNS(e,t,n){const r=io(this),{elm:o,renderer:{setAttribute:s}}=r;it(o,t),s(o,t,n,e),st()},getBoundingClientRect(){const e=io(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=io(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=io(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return io(this).shadowRoot},get refs(){const e=io(this);if(kr)return;const{refVNodes:t,cmpTemplate:n}=e;if(V(t))return;let o=Ut.get(t);if(W(o)){o=r(null);for(const e of f(t))o[e]=t[e].elm;i(o),Ut.set(t,o)}return o},set refs(e){s(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=io(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=io(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=io(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=io(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=io(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=io(this);return e.renderer.getLastElementChild(e.elm)},render(){return io(this).def.template},toString(){return`[object ${io(this).def.name}]`}};const Kt=r(null),zt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of zt)Kt[e]={value(t){const n=io(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(Yt.prototype,Kt);const qt=r(null);for(const e in lt)qt[e]=Gt(e,lt[e]);function Xt(e){return{get(){const t=io(this);return Be(t,e),t.cmpFields[e]},set(t){ct(io(this),e,t)},enumerable:!0,configurable:!0}}o(Yt.prototype,qt),lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL&&Ce(Yt.prototype),s(Yt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const Zt="$$DeprecatedWiredElementHostKey$$",Qt="$$DeprecatedWiredParamsMetaKey$$",Jt=new Map;class en extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function tn(e,t,n){const{method:r,adapter:o,configCallback:i,dynamic:l}=n;const c=W(r)?function(e,t){return n=>{ct(e,t,n)}}(e,t):function(e,t){return n=>{yo(e,e.owner,z,(()=>{t.call(e.component,n)}),z)}}(e,r),a=e=>{c(e)};let u,d;s(a,Zt,{value:e.elm}),s(a,Qt,{value:l}),yo(e,e,z,(()=>{d=new o(a)}),z);const{computeConfigAndUpdate:f,ro:h}=function(e,t,n){let r=!1;const o=We((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),s()})))})),s=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:s,ro:o}}(e.component,i,(t=>{yo(e,e,z,(()=>{d.update(t,u)}),z)}));return W(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=rn(r);if(W(o))return;const{elm:s,context:{wiredConnecting:i,wiredDisconnecting:l},renderer:{dispatchEvent:c}}=e;T.call(i,(()=>{const e=new en(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){T.call(l,e)}});c(s,e)}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>h.reset()}}const nn=new Map;function rn(e){return nn.get(e)}function on(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Jt.set(e,o)}function sn(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Jt.set(e,o)}function ln(e){return{get(){const t=io(this);if(!$r(t))return Be(t,e),t.cmpProps[e]},set(t){const n=io(this);n.cmpProps[e]=t,He(n,e)},enumerable:!0,configurable:!0}}function cn(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!U(n))throw new Error;return{get(){return n.call(this)},set(e){io(this),r&&r.call(this,e)},enumerable:o,configurable:s}}function an(e){return{get(){const t=io(this);return Be(t,e),t.cmpFields[e]},set(t){const n=io(this),r=jt(t);ct(n,e,r)},enumerable:!0,configurable:!0}}function un(e){return{get(){const t=io(this);return Be(t,e),t.cmpFields[e]},set(t){ct(io(this),e,t)},enumerable:!0,configurable:!0}}const dn=new Map;const fn={apiMethods:Ge,apiFields:Ge,apiFieldsConfig:Ge,wiredMethods:Ge,wiredFields:Ge,observedFields:Ge};const hn=new Set;function pn(){return[]}hn.add(pn);const mn=r(null),gn=r(null);function wn(e){let t=mn[e];return W(t)&&(t=mn[e]=function(){const t=io(this),{getHook:n}=t;return n(t.component,e)}),t}function yn(e){let t=gn[e];return W(t)&&(t=gn[e]=function(t){const n=io(this),{setHook:r}=n;t=Vt(t),r(n.component,e,t)}),t}function bn(e){return function(){const t=io(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,L.call(arguments))}}function vn(e,t){return function(n,r,o){if(r===o)return;const s=e[n];W(s)?W(t)||t.apply(this,arguments):function(e,t){return e!==ot||t!==rt}(this,n)&&(this[s]=o)}}function En(e,t,n){let i;U(e)?i=class extends e{}:(i=function(){throw new TypeError("Illegal constructor")},p(i,e),p(i.prototype,e.prototype),s(i.prototype,"constructor",{writable:!0,configurable:!0,value:i}));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[ge(n)]=n,u[n]={get:wn(n),set:yn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:bn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:vn(l,c)},s(i,"observedAttributes",{get:()=>[...a,...f(l)]}),o(i.prototype,u),i}const Cn=En(tt,c(lt),[]);lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL&&Ce(Cn.prototype),i(Cn),h(Cn.prototype);new WeakMap,new WeakMap,new WeakMap,new WeakMap;const Sn=new WeakMap;function Mn(e){const{shadowSupportMode:t,renderMode:s}=e,i=function(e){const t=dn.get(e);return W(t)?fn:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=i,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=a(e);if(V(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(et(t)){const e=Je(t);t=e===t?Yt:e}return t}(e),C=E!==Yt?kn(E):An,S=En(C.bridge,f(l),f(u)),M=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,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let N=C.shadowSupportMode;W(t)||(N=t);let L=C.renderMode;W(s)||(L="light"===s?0:1);const _=function(e){return Wr.get(e)}(e)||C.template,O=e.name||C.name;o(m,p);return{ctor:e,name:O,wire:A,props:M,propsConfig:T,methods:k,bridge:S,template:_,renderMode:L,shadowSupportMode:N,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Tn(e){if(!U(e))return!1;if(e.prototype instanceof Yt)return!0;let t=e;do{if(et(t)){const e=Je(t);if(e===t)return!0;t=e}if(t===Yt)return!0}while(!V(t)&&(t=a(t)));return!1}function kn(e){let t=Sn.get(e);if(W(t)){if(et(e)){return t=kn(Je(e)),Sn.set(e,t),t}if(!Tn(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=Mn(e),Sn.set(e,t)}return t}const An={ctor:Yt,name:Yt.name,props:qt,propsConfig:Ge,methods:Ge,renderMode:1,shadowSupportMode:"reset",wire:Ge,bridge:Cn,template:pn,render:Yt.prototype.render};function Nn(e){return`${e}-host`}function Ln(e){return yr.h("style",{key:"style",attrs:{type:"text/css"}},[yr.t(e)])}function _n(e,t,n){const r=[];let o;for(let s=0;s<e.length;s++){let i=e[s];if(m(i))T.apply(r,_n(i,t,n));else{const e=i[le];if(lwcRuntimeFlags.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){xe("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const s=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let c;1===n.renderMode?c=0===n.shadowMode:(W(o)&&(o=On(n)),c=V(o)||0===o.shadowMode),T.call(r,i(s,l,c))}}return r}function On(e){let t=e;for(;!V(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Pn(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}function xn(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 S.call(t,Ln);{const n=function(e){const t=On(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 Rn(e){const{type:t}=e;return 2===t||3===t}function Dn(e,t){return e.key===t.key&&e.sel===t.sel}function Fn(e){return 5===e.type}function In(e){return 6===e.type}const $n=58;const Hn=58;function Bn(e,t){return"input"===e&&("value"===t||"checked"===t)}function Wn(e,t,r){let{props:o}=t.data;const{spread:s}=t.data;if(W(o)&&W(s))return;let i;if(!V(e)){i=e.data.props;const t=e.data.spread;if(i===o&&t===s)return;W(i)&&(i=Ge),W(t)||(i=n({},i,t))}W(s)||(o=n({},o,s));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===(Bn(a,e)?u(c,e):i[e])&&e in i||d(c,e,t)}}const Vn=r(null);function jn(e){if(null==e)return Ge;e=K(e)?e:e+"";let t=Vn[e];if(t)return t;t=r(null);let n,o=0;const s=e.length;for(n=0;n<s;n++)F.call(e,n)===je&&(n>o&&(t[H.call(e,o,n)]=!0),o=n+1);return n>o&&(t[H.call(e,o,n)]=!0),Vn[e]=t,t}function Gn(e,t){const{elm:n,data:{on:r}}=e;if(W(r))return;const{addEventListener:o}=t;for(const e in r){o(n,e,r[e])}}function Un(e,t,n,r){cr(t)?ur(e,t,n,r):dr(e,t,n,r)}function Yn(e,t,n,r){var o,s;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&er(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:s}=t;s?dr(e.children,o,n,r):ur(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;rr(e,t,n),Un(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);Xn(e,n,r,!0),zn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;if(rr(e,t,r),!W(o)){sr(t,o);const{shadowMode:n,renderMode:r}=o;0==n&&0!==r&&cr(e.children)&&lr(t.children)}Un(e.children,t.children,n,r),W(o)||function(e){co(e)}(o)}}(e,t,n,null!==(s=t.data.renderer)&&void 0!==s?s:r)}}function Kn(e,t,n,r){var o,s;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:s}=r,i=e.elm=s(e.text);Jn(i,o,r),tr(i,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:s}=r,i=e.elm=s(e.text);Jn(i,o,r),tr(i,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:s,isSyntheticShadowDefined:i}=r,l=e.elm=s(e.fragment,!0);Jn(l,o,r);const{renderMode:c,shadowMode:a}=o;i&&(1!==a&&0!==c||(l[oe]=!0));tr(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;qn(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:s,data:{svg:i}}=e,{createElement:l}=r,c=j(i)?ae:void 0,a=e.elm=l(o,c);Jn(a,s,r),or(a,s,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(a,e),rr(null,e,r),tr(a,t,n,r),qn(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:zn(e,t,r,null!==(s=e.data.renderer)&&void 0!==s?s:n)}}function zn(e,t,n,r){const{sel:o,owner:s}=e,{createCustomElement:i}=r;let l;let c,a;lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(c=e=>{to(e)},a=e=>{no(e)});const u=i(o.toLowerCase(),(t=>{l=function(e,t,n){let r=lo(e);if(!W(r))return r;const{sel:o,mode:s,ctor:i,owner:l}=t;return r=oo(e,i,n,{mode:s,owner:l,tagName:o}),r}(t,e,r)}),c,a);e.elm=u,e.vm=l,Jn(u,s,r),or(u,s,r),l&&sr(e,l),rr(null,e,r),tr(u,t,n,r),l&&(lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||ho(l)),qn(e.children,u,r,null),l&&function(e){co(e)}(l)}function qn(e,t,n,r,o=0,s=e.length){for(;o<s;++o){const s=e[o];Qn(s)&&Kn(s,t,n,r)}}function Xn(e,t,n,r=!1){const{type:o,elm:s,sel:i}=e;switch(r&&(5===o?Zn(e.children,t,n,r):nr(s,t,n)),o){case 2:{const t="slot"===i&&1===e.owner.shadowMode;Zn(e.children,s,n,t);break}case 3:{const{vm:t}=e;W(t)||function(e){ro(e)}(t)}}}function Zn(e,t,n,r=!1,o=0,s=e.length){for(;o<s;++o){const s=e[o];Qn(s)&&Xn(s,t,n,r)}}function Qn(e){return null!=e}function Jn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:s}=t,{isSyntheticShadowDefined:i}=n;i&&(1!==s&&0!==o||(e[re]=r[re]))}function er(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function tr(e,t,n,r){r.insert(e,t,n)}function nr(e,t,n){n.remove(e,t)}function rr(e,t,n){V(e)&&(Gn(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(W(r))return;const{getClassList:o}=t,s=o(n);for(const e in r)s.add(e)}(t,n),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(W(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,s,i]=r[e];o(n,t,s,i)}}(t,n)),function(e,t,n){const{elm:r,data:{className:o}}=t,s=V(e)?void 0:e.data.className;if(s===o)return;const{getClassList:i}=n,l=i(r),c=jn(o),a=jn(s);let u;for(u in a)W(c[u])&&l.remove(u);for(u in c)W(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:s,removeAttribute:i}=n;K(o)&&""!==o?s(r,"style",o):i(r,"style")}(e,t,n),t.data.external?function(e,t,n){const{data:{attrs:r},elm:o}=t;if(W(r))return;const{removeAttribute:s,setAttribute:i,setProperty:l}=n,c=V(e)?Ge:e.data.attrs;for(const e in r){const t=r[e];c[e]!==t&&(we(e)in o?l(o,e,t):F.call(e,3)===Hn?i(o,e,t,ce):F.call(e,5)===Hn?i(o,e,t,ue):V(t)||W(t)?s(o,e):i(o,e,t))}}(e,t,n):function(e,t,n){const{attrs:r}=t.data;if(W(r))return;const o=V(e)?Ge:e.data.attrs;if(o===r)return;const{elm:s}=t,{setAttribute:i,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(it(s,e),F.call(e,3)===$n?i(s,e,t,ce):F.call(e,5)===$n?i(s,e,t,ue):V(t)||W(t)?l(s,e):i(s,e,t),st())}}(e,t,n),Wn(e,t,n)}function or(e,t,n){const r=Pn(t);if(!V(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||W(o)||(e.$shadowToken$=o)}function sr(e,t){const n=e.aChildren||e.children,{renderMode:o,shadowMode:s}=t,i=function(e){const t=[],n=[];let r,o=!1;for(let t=e.length-1;t>-1;t-=1){const r=e[t];T.call(n,r),o=o||!(!r||!Fn(r))}if(!o)return e;for(;!W(r=M.call(n));)if(!V(r)&&Fn(r)){const e=r.children;for(let t=e.length-2;t>0;t-=1)T.call(n,e[t])}else T.call(t,r);return lr(t),t}(n);e.children=i,t.aChildren=i,1!==s&&0!==o||(!function(e,t,n){var o,s;const{cmpSlots:{slotAssignments:i}}=e,l=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(V(n))continue;let r="";Rn(n)?r=null!==(s=null===(o=n.data.attrs)||void 0===o?void 0:o.slot)&&void 0!==s?s:"":In(n)&&(r=n.slotName);const i=""+r,c=l[i]=l[i]||[];T.call(c,n)}if(e.cmpSlots={owner:n,slotAssignments:l},G(e.isDirty)){const t=f(i);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(W(l[r])||i[r].length!==l[r].length)return void Gr(e);const o=i[r],s=l[r];for(let t=0,n=l[r].length;t<n;t+=1)if(o[t]!==s[t])return void Gr(e)}}}(t,i,e.owner),e.aChildren=i,e.children=Ue)}const ir=new WeakMap;function lr(e){ir.set(e,1)}function cr(e){return ir.has(e)}function ar(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Qn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function ur(e,t,n,r){let o=0,s=0,i=e.length-1,l=e[0],c=e[i];const a=t.length-1;let u,d,f,h,p=a,m=t[0],g=t[p],w=!1;for(;o<=i&&s<=p;)Qn(l)?Qn(c)?Qn(m)?Qn(g)?Dn(l,m)?(Yn(l,m,n,r),l=e[++o],m=t[++s]):Dn(c,g)?(Yn(c,g,n,r),c=e[--i],g=t[--p]):Dn(l,g)?(Yn(l,g,n,r),tr(l.elm,n,r.nextSibling(c.elm),r),l=e[++o],g=t[--p]):Dn(c,m)?(Yn(c,m,n,r),tr(m.elm,n,l.elm,r),c=e[--i],m=t[++s]):(void 0===u&&(u=ar(e,o,i)),d=u[m.key],W(d)?(Kn(m,n,r,l.elm),m=t[++s]):(f=e[d],Qn(f)&&(f.sel!==m.sel?Kn(m,n,r,l.elm):(Yn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,tr(f.elm,n,l.elm,r))),m=t[++s])):g=t[--p]:m=t[++s]:c=e[--i]:l=e[++o];if(o<=i||s<=p)if(o>i){let e,o=p;do{e=t[++o]}while(!Qn(e)&&o<a);h=Qn(e)?e.elm:null,qn(t,n,r,h,s,p+1)}else Zn(e,n,r,!0,o,i+1)}function dr(e,t,n,r){const o=e.length,s=t.length;if(0===o)return void qn(t,n,r,null);if(0===s)return void Zn(e,n,r,!0);let i=null;for(let o=s-1;o>=0;o-=1){const s=e[o],l=t[o];l!==s&&(Qn(s)?Qn(l)?(Yn(s,l,n,r),i=l.elm):Xn(s,n,r,!0):Qn(l)&&(Kn(l,n,r,i),i=l.elm))}}const fr=Symbol.iterator;function hr(e,t,n=Ue){const r=Nr(),{key:o,ref:s}=t,i={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return W(s)||Qe(r,s,i),i}function pr(e,t,n,r=Ue){const o=Nr(),{key:s,ref:i}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:s,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){T.call(Nr().velements,e)}(l),W(i)||Qe(o,i,l),l}function mr(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:Nr()}}function gr(e){return lr(e),e}let wr=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const yr=i({s:function(e,t,n,r){if(!W(r)&&!W(r.slotAssignments)&&!W(r.slotAssignments[e])&&0!==r.slotAssignments[e].length){const o=[],s=r.slotAssignments[e];for(let e=0;e<s.length;e++){const n=s[e];if(!V(n)){const e=In(n);if(e!==!W(t.slotData))continue;if(e){const e=Nr();Lr(r.owner);try{T.call(o,n.factory(t.slotData,t.key))}finally{Lr(e)}}else T.call(o,n)}}n=o}const o=Nr(),{renderMode:s,shadowMode:i}=o;return 0===s?(gr(n),n):(1===i&&gr(n),hr("slot",t,n))},h:hr,c:pr,i:function(e,t){const n=[];if(gr(n),W(e)||null===e)return n;const r=e[fr]();let o=r.next(),s=0,{value:i,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(i,s,0===s,!0===l);m(e)?T.apply(n,e):T.call(n,e),s+=1,i=o.value}return n},f:function(e){const t=e.length,n=[];gr(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:mr,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){Br(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=Ue){if(null==t)return null;if(!Tn(t))throw new Error(`Invalid LWC Constructor ${X(t)} for custom element <${e}>.`);return pr(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[mr(""),...t,mr("")],stable:n,owner:Nr()}},ti:function(e){return e>0&&!(j(e)||G(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(W(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(W(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 wr(e)},ssf:function(e,t){return{type:6,factory:t,owner:Nr(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let br=!1,vr=z;const Er={enableProfiler(){br=!0},disableProfiler(){br=!1},attachDispatcher(e){vr=e,this.enableProfiler()},detachDispatcher(){const e=vr;return vr=z,this.disableProfiler(),e}};function Cr(e,t){br&&vr(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Sr(e,t){br&&vr(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Mr(e,t){br&&vr(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 Tr(e,t){br&&vr(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 kr=!1,Ar=null;function Nr(){return Ar}function Lr(e){Ar=e}function _r(e){return(t,...n)=>{const o=r(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:s},shadowMode:i,renderer:l}=Nr(),c=!W(s),a=1===i;let u=0;if(c&&r&&(u|=1),c&&a&&(u|=2),!W(o[u]))return o[u];const d=r&&c?" "+s:"",f=r&&c?` class="${s}"`:"",h=c&&a?" "+s:"";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 Or=_r(((e,t)=>{const{createFragment:n}=t;return n(e)})),Pr=_r(((e,t)=>{const{createFragment:n,getFirstChild:r}=t;return r(n("<svg>"+e+"</svg>"))}));function xr(e,t){const n=kr,o=Ar;let s=[];return yo(e,e.owner,(()=>{Ar=e,Cr(1,e)}),(()=>{const{component:n,context:o,cmpSlots:i,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(V(l)||wo(e),c=t,!hn.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: ${X(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=Dr(t,e),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:s,renderer:{getClassList:i,removeAttribute:l,setAttribute:c}}=e,{stylesheets:a,stylesheetToken:u}=t,{stylesheets:d}=e,f=1===o&&1===s,{hasScopedStyles:h}=r;let p,m,g;const{stylesheetToken:w,hasTokenInClass:y,hasTokenInAttribute:b}=r;W(w)||(y&&i(n).remove(Nn(w)),b&&l(n,Nn(w)));const v=Fr(a),E=Fr(d);(v||E)&&(p=u),W(p)||(h&&(i(n).add(Nn(p)),m=!0),f&&(c(n,Nn(p),""),g=!0)),r.stylesheetToken=p,r.hasTokenInClass=m,r.hasTokenInAttribute=g}(e,t);const n=function(e,t){const{stylesheets:n,stylesheetToken:r}=t,{stylesheets:o}=e;let s=[];return Fr(n)&&(s=_n(n,r,e)),Fr(o)&&T.apply(s,_n(o,r,e)),s}(e,t);o.styleVNodes=0===n.length?null:xn(e,n)}var c;e.refVNodes=t.hasRefs?r(null):null,e.velements=[],kr=!0,s=t.call(void 0,yr,n,i,o.tplCache);const{styleVNodes:a}=o;V(a)||x.apply(s,a)}))}),(()=>{kr=n,Ar=o,Sr(1,e)})),s}function Rr(e){if(Fr(e))for(let t=0;t<e.length;t++)if(j(e[t][le]))return!0;return!1}function Dr(e,t){const{stylesheets:n}=e,r=W(t)?null:t.stylesheets;return Rr(n)||Rr(r)}function Fr(e){return!W(e)&&!V(e)&&e.length>0}let Ir=null;function $r(e){return Ir===e}function Hr(e,t,n){const{component:r,callHook:o,owner:s}=e;yo(e,s,z,(()=>{o(r,t,n)}),z)}function Br(e,t,n,r){const{callHook:o,owner:s}=e;yo(e,s,z,(()=>{o(n,t,[r])}),z)}const Wr=new Map;function Vr(e){return We((()=>{const{isDirty:t}=e;G(t)&&(Gr(e),function(e){if(j(e.isScheduled))return;e.isScheduled=!0,0===uo.length&&Ke(fo);T.call(uo,e)}(e))}))}function jr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,s=Nr();let i,l=!1;return yo(e,o,(()=>{Lr(e)}),(()=>{e.tro.observe((()=>{i=n(r,t),l=!0}))}),(()=>{Lr(s)})),l?xr(e,i):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Gr(e){e.isDirty=!0}const Ur=new WeakMap;function Yr(e,t){if(!U(t))throw new TypeError("Expected an EventListener but received "+typeof t);let n=Ur.get(t);return W(n)&&(n=function(n){Br(e,t,void 0,n)},Ur.set(t,n)),n}const Kr=r(null),zr=["rendered","connected","disconnected"];function qr(e,t){const{component:n,def:r,context:o}=e;for(let e=0,s=t.length;e<s;++e)t[e].call(void 0,n,{},r,o)}let Xr=0;const Zr=new WeakMap;function Qr(e,t,n=[]){return t.apply(e,n)}function Jr(e,t,n){e[t]=n}function eo(e,t){return e[t]}function to(e){const t=io(e);Mr(7,t),1===t.state&&no(e),ho(t),co(t),Tr(7,t)}function no(e){ro(io(e))}function ro(e){const{state:t}=e;if(2!==t){const{tro:t}=e;t.reset(),function(e){G(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Kr;t&&qr(e,t);po(e)&&function(e){const{wiredDisconnecting:t}=e.context;yo(e,e,z,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),z)}(e);const{disconnectedCallback:n}=e.def;W(n)||(Cr(5,e),Hr(e,n),Sr(5,e))}(e),mo(e),function(e){const{aChildren:t}=e;go(t)}(e)}}function oo(e,t,n,o){const{mode:s,owner:i,tagName:l,hydrated:c}=o,a=kn(t),u={elm:e,def:a,idx:Xr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:s,owner:i,refVNodes:null,children:Ue,aChildren:Ue,velements:Ue,cmpProps:r(null),cmpFields:r(null),cmpSlots:{slotAssignments: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:Ge,wiredConnecting:Ue,wiredDisconnecting:Ue},tro:null,shadowMode:null,stylesheets:null,component:null,shadowRoot:null,renderRoot:null,callHook:Qr,setHook:Jr,getHook:eo,renderer:n};return u.stylesheets=function(e,t){const{stylesheets:n}=t;if(!W(n)){const e=function(e,t){let n=!0;const r=e=>{if(m(e))for(let t=0;t<e.length;t++)r(e[t]);else U(e)||(n=!1)};m(t)?r(t):n=!1;return n}(0,n);if(e)return Ze(n)}return null}(0,a.ctor),u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let s;if(r)if(0===n.renderMode)s=0;else if(o)if(lwcRuntimeFlags.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)s=0;else{const t=function(e){let t=e.owner;for(;!V(t)&&0===t.renderMode;)t=t.owner;return t}(e);s=V(t)||0!==t.shadowMode?1:0}else s=1;else s=1;else s=0;return s}(u,n),u.tro=Vr(u),function(e,t){const n=Ir;let r;Cr(0,e),Ir=e;try{const o=new t;if(Ir.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Sr(0,e),Ir=n,!W(r))throw _e(e,r),r}}(u,a.ctor),po(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const s=n[t],i=Jt.get(s);if(!W(i)){const{connector:n,computeConfigAndUpdate:s,resetConfigWatcher:l}=tn(e,t,i),c=i.dynamic.length>0;T.call(r,(()=>{n.connect(),lwcRuntimeFlags.ENABLE_WIRE_SYNC_EMIT||!c?s():Promise.resolve().then(s)})),T.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function so(e,t){Zr.set(e,t)}function io(e){return Zr.get(e)}function lo(e){return Zr.get(e)}function co(e){if(j(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&yo(e,e,(()=>{Cr(2,e)}),(()=>{Un(r,t,n,o)}),(()=>{Sr(2,e)}));1===e.state&&ao(e)}(e,jr(e))}}function ao(e){const{def:{renderedCallback:t}}=e,{rendered:n}=Kr;n&&qr(e,n),W(t)||(Cr(4,e),Hr(e,t),Sr(4,e))}let uo=[];function fo(){Mr(8);const e=uo.sort(((e,t)=>e.idx-t.idx));uo=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{co(r)}catch(r){throw t+1<n&&(0===uo.length&&Ke(fo),x.apply(uo,L.call(e,t+1))),Tr(8),r}}Tr(8)}function ho(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Kr;n&&qr(e,n),po(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;W(r)||(Cr(3,e),Hr(e,r),Sr(3,e))}function po(e){return c(e.def.wire).length>0}function mo(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!W(n)){const e=lo(n);W(e)||ro(e)}}}function go(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!V(n)&&!W(n.elm))switch(n.type){case 2:go(n.children);break;case 3:ro(io(n.elm));break}}}function wo(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)||W(o.elm)||r(o.elm,n)}e.children=Ue,mo(e),e.velements=Ue}function yo(e,t,n,r,o){let s;n();try{r()}catch(e){s=Object(e)}finally{if(o(),!W(s)){_e(e,s);const n=V(t)?void 0:function(e){let t=e;for(;!V(t);){if(!W(t.def.errorCallback))return t;t=t.owner}}(t);if(W(n))throw s;wo(e),Cr(6,e);Hr(n,n.def.errorCallback,[s,s.wcStack]),Sr(6,e)}}}const bo=ne.$nativeGetElementById$,vo=ne.$nativeQuerySelectorAll$;function Eo(e,t,n){let r=lo(e.getRootNode().host);W(r)&&(r=lo(t.getRootNode().host)),W(r)||Ne("CrossRootAriaInSyntheticShadow",{tagName:r.tagName,attributeName:n})}function Co(e,t,n){const r=e.getRootNode();var o;if((o=r)!==document&&j(o.synthetic))if("id"===t){if(!K(n)||0===n.length)return;for(const t of te){const o=`[${t}~="${CSS.escape(n)}"]`,s=vo.call(document,o);for(let n=0;n<s.length;n++){const o=s[n];if(o.getRootNode()!==r){Eo(o,e,t);break}}}}else{const o=function(e){return K(e)?b.call($.call(e,/\s+/),Boolean):[]}(n);for(const n of o){const o=bo.call(document,n);if(!V(o)){o.getRootNode()!==r&&Eo(e,o,t)}}}}let So=!1;"undefined"!=typeof CSS&&U(CSS.escape)&&u.call(Element.prototype,se)&&Ae((function(){if(So)return;So=!0;const{setAttribute:e}=Element.prototype;n(Element.prototype,{setAttribute(t,n){e.call(this,t,n),("id"===t||te.has(t))&&Co(this,t,n)}});const t=l(Element.prototype,"id");if(!W(t)){const{get:e,set:n}=t;U(e)&&U(n)&&s(Element.prototype,"id",{get(){return e.call(this)},set(e){n.call(this,e),Co(this,"id",e)},enumerable:!0,configurable:!0})}}));const Mo=["ariaActiveDescendant","ariaControls","ariaDescribedBy","ariaDetails","ariaErrorMessage","ariaFlowTo","ariaLabelledBy","ariaOwns"];function To(e){return e instanceof Yt||e instanceof Cn}function ko(e,t,n,r){if(!To(e)){const o=function(e){const{host:t}=e.getRootNode(),n=W(t)?void 0:lo(t);if(!W(n))return n;let r=e;for(;!V(r=r.parentElement);)if(To(r)){const e=lo(r);if(!W(e))return e}}(e);let s;n&&(s=V(r)?"null":typeof r),Ne("NonStandardAriaReflection",{tagName:null==o?void 0:o.tagName,propertyName:t,isSetter:n,setValueType:s})}}lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL||Ae((function(){const{prototype:e}=Element;for(const t of Mo){const n=l(e,t),{get:r,set:o}=n;s(e,t,{get(){return ko(this,t,!1,void 0),r.call(this)},set(e){return ko(this,t,!0,e),o.call(this,e)},configurable:!0,enumerable:!0})}}));let Ao=!1;function No(e){const t=jr(e);e.children=t;const{renderRoot:n,renderer:{getFirstChild:r}}=e;Oo(r(n),t,n,e),ao(e)}function Lo(e,t,n){var r,o;let s;switch(t.type){case 0:s=function(e,t,n){var r;if(!Ro(t,e,3,n))return Po(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:s=function(e,t,n){var r;if(!Ro(t,e,8,n))return Po(e,t,n);const{setProperty:o}=n;return o(e,_o,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:s=function(e,t,n){if(!function(e,t,n,r){const{getProperty:o,getAttribute:s}=r;if(3===o(e,"nodeType"))return!!Ro(n,t,3,r)&&o(e,_o)===o(t,_o);if(8===o(e,"nodeType"))return!!Ro(n,t,8,r)&&o(e,_o)===o(t,_o);if(!Ro(n,t,1,r))return!1;let i=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((r=>{s(e,r)!==s(t,r)&&(xe(`Mismatch hydrating element <${o(e,"tagName").toLowerCase()}>: attribute "${r}" has different values, expected "${s(e,r)}" but found "${s(t,r)}"`,n.owner),i=!1)})),i}(t.fragment,e,t,n))return Po(e,t,n);return t.elm=e,e}(e,t,n);break;case 5:s=function(e,t,n){const{children:r,owner:o}=t;return Oo(e,r,n.getProperty(e,"parentNode"),o),t.elm=r[r.length-1].elm}(e,t,n);break;case 2:s=function(e,t,n){if(!Ro(t,e,1,n)||!Do(t,e,n))return Po(e,t,n);t.elm=e;const{owner:r}=t,{context:o}=t.data,s=Boolean(!W(o)&&!W(o.lwc)&&"manual"===o.lwc.dom);if(s){const{data:{props:r}}=t,{getProperty:o}=n;W(r)||W(r.innerHTML)||o(e,"innerHTML")===r.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:Xe(r,"innerHTML")}))}if(xo(t,n),!s){const{getFirstChild:o}=n;Oo(o(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:s=function(e,t,n){if(!Ro(t,e,1,n)||!Do(t,e,n))return Po(e,t,n);const{sel:r,mode:o,ctor:s,owner:i}=t,l=oo(e,s,n,{mode:o,owner:i,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,sr(t,l),xo(t,n),ho(l),0!==l.renderMode){const{getFirstChild:r}=n;Oo(r(e),t.children,e,l)}return No(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(s)}const _o="nodeValue";function Oo(e,t,n,r){let o=e,s=null;const{renderer:i}=r;for(let e=0;e<t.length;e++){const r=t[e];V(r)||(o?(o=Lo(o,r,i),s=r.elm):(Ao=!0,Kn(r,n,i,s),s=r.elm))}if(o){Ao=!0;const{nextSibling:e}=i;do{const t=o;o=e(o),nr(t,n,i)}while(o)}}function Po(e,t,n){Ao=!0;const{getProperty:r}=n,o=r(e,"parentNode");return Kn(t,o,n,e),nr(e,o,n),t.elm}function xo(e,t){Gn(e,t),Wn(null,e,t)}function Ro(e,t,n,r){const{getProperty:o}=r;return o(t,"nodeType")===n}function Do(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,s]of Object.entries(r)){const{getAttribute:r}=n;Fo(s,r(t,e))||(o=!1)}return o}(e,t,n),s=function(e,t,n){const{data:r,owner:o}=e;let{className:s,classMap:i}=r;const{getProperty:l,getClassList:c}=n,a=Pn(o),u=function(e){return 3===e.type}(e)?function(e){const{template:t}=kn(e.ctor),{vm:n}=e,{stylesheetToken:r}=t;return!W(r)&&Dr(t,n)?Nn(r):null}(e):null;if(!V(a)||!V(u))if(W(s))if(W(i)){const e=[a,u],t=b.call(e,(e=>!V(e)));t.length&&(s=C.call(t," "))}else i=Object.assign(Object.assign(Object.assign({},i),V(a)?{}:{[a]:!0}),V(u)?{}:{[u]:!0});else{const e=[a,s,u],t=b.call(e,(e=>!V(e)));s=C.call(t," ")}let d=!0;const h=l(t,"className");if(W(s)||String(s)===h)if(W(i))W(s)&&""!==h&&(d=!1);else{const e=c(t);let n="";for(const t in i)n+=" "+t,e.contains(t)||(d=!1);n.trim(),e.length>f(i).length&&(d=!1)}else d=!1;return d}(e,t,n),i=function(e,t,n){const{data:{style:r,styleDecls:o}}=e,{getAttribute:s}=n,i=s(t,"style")||"";let l=!0;if(W(r)||r===i){if(!W(o)){const e=function(e){const t={},n=e.split(ze);for(const e of n)if(e){const[n,r]=e.split(qe);void 0!==n&&void 0!==r&&(t[n.trim()]=r.trim())}return t}(i),t=[];for(let n=0,r=o.length;n<r;n++){const[r,s,i]=o[n];t.push(`${r}: ${s+(i?" important!":"")}`);const c=e[r];W(c)?l=!1:c.startsWith(s)?i&&!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&&s&&i}function Fo(e,t){return String(e)===t||!(!V(t)||!W(e)&&!V(e))}let Io=!1;const $o=["slots","stylesheetToken","stylesheets","renderMode"],Ho=["$scoped$"],Bo=["pop","push","shift","unshift","reverse","sort","fill","splice","copyWithin"];let Wo=!1;function Vo(e){switch(e){case"pop":return M;case"push":return T;case"shift":return N;case"unshift":return x;case"reverse":return A;case"sort":return O;case"fill":return y;case"splice":return P;case"copyWithin":return w}}function jo(e,t,n){Ne(t,{propertyName:n})}function Go(e){jo(0,"TemplateMutation",e)}function Uo(e){jo(0,"StylesheetMutation",e)}function Yo(e){Ko(e,(e=>{m(e)?function(e){for(const t of Bo){const n=Vo(t);e[t]=function(){return Go("stylesheets"),n.apply(this,arguments)}}}(e):function(e){for(const t of Ho){let n=e[t];s(e,t,{enumerable:!0,configurable:!0,get:()=>n,set(e){Uo(t),n=e}})}}(e)}))}function Ko(e,t){t(e);for(let n=0;n<e.length;n++){const r=e[n];m(r)?Ko(r,t):t(r)}}const zo=U(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),qo=zo&&l(document.adoptedStyleSheets,"length").writable,Xo=!W(document.documentMode),Zo=new Map;function Qo(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function Jo(e,t,n){const r=function(e,t){const{element:n,usedElement:r}=t;return r?Xo?Qo(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function es(e,t){let n=Zo.get(e);return W(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},Zo.set(e,n)),t&&W(n.stylesheet)?n.stylesheet=function(e){const t=new CSSStyleSheet;return t.replaceSync(e),t}(e):!t&&W(n.element)&&(n.element=Qo(e)),n}function ts(e,t){const n=es(e,zo);let{roots:r}=n;if(W(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),zo?function(e,t,n){const{adoptedStyleSheets:r}=t,{stylesheet:o}=n;qo?r.push(o):t.adoptedStyleSheets=[...r,o]}(0,t,n):Jo(e,t,n)}const ns=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}}(),rs=(e,t)=>{const n=document.createElement(e);return t(n),n},os=new Map,ss=new WeakSet;let is=!1;const ls=(e,t)=>{const n=!W(e),r=!W(t);class o extends HTMLElement{constructor(e){super(),is?e(this):(n||r)&&ss.add(this)}}return n&&(o.prototype.connectedCallback=function(){ss.has(this)||e(this)}),r&&(o.prototype.disconnectedCallback=function(){ss.has(this)||t(this)}),o};let cs;function as(e){const t=function(e){var t=Object.freeze({__proto__:null,fail:function(e){throw new Error(e)},invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)}});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 s=document.implementation.createHTMLDocument("");s.body.innerHTML=e;let i=s.body;if(!n(o))for(let e=0;e<o.length;e++)i=i.firstChild;return i.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}cs=ns?(e,t,n,r)=>{let o=os.get(e);if(W(o)){if(!W(customElements.get(e)))throw new Error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`);o=ls(n,r),customElements.define(e,o),os.set(e,o)}is=!0;try{return new o(t)}finally{is=!1}}:rs;const us=n(as(null),{insertStylesheet:function(e,t){W(t)?function(e){const t=es(e,!1);t.global||(t.global=!0,Jo(e,document.head,t))}(e):ts(e,t)},createCustomElement:cs,isNativeShadowDefined:ne.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,se)});function ds(e,t,n){const r=oo(e,t,us,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,r]of Object.entries(n))e[t]=r;return r}function fs(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(!Y(n)||V(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(lo(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{!function(e){Ao=!1,ho(e),No(e),Ao&&xe("Hydration completed with errors.",e)}(ds(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),ds(e,t,n),to(e)}}const hs=new WeakSet;function ps(e){var t;const n=function(e){return kn(e).bridge}(e),{observedAttributes:r}=n,{attributeChangedCallback:o}=n.prototype;return(t=class extends HTMLElement{constructor(){super(),this.isConnected?(fs(this,e,{}),hs.add(this)):oo(this,e,us,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){hs.has(this)?hs.delete(this):to(this)}disconnectedCallback(){no(this)}attributeChangedCallback(e,t,n){o.call(this,e,t,n)}}).observedAttributes=r,t}const ms=Node,gs=new WeakMap,ws=new WeakMap;function ys(e,t){const n=t.get(e);return W(n)||n(e),e}if(!lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE){const{appendChild:e,insertBefore:t,removeChild:r,replaceChild:o}=ms.prototype;n(ms.prototype,{appendChild(t){return ys(e.call(this,t),gs)},insertBefore(e,n){return ys(t.call(this,e,n),gs)},removeChild(e){return ys(r.call(this,e),ws)},replaceChild(e,t){const n=o.call(this,e,t);return ys(n,ws),ys(e,gs),n}})}const bs=Node;const vs=new Map;return s(Yt,"CustomElementConstructor",{get(){return function(e){if(e===Yt)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=vs.get(e);return W(t)&&(t=ps(e),vs.set(e,t)),t}(this)}}),i(Yt),h(Yt.prototype),e.LightningElement=Yt,e.__unstable__ProfilerControl=Er,e.__unstable__ReportingControl=ke,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=rn(e);if(!W(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){nn.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:s}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{W(s)||s(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!Y(t)||V(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${X(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}=us,o=B.call(e);let s,i;return lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(s=e=>{to(e)},i=e=>{no(e)}),r(o,(e=>{oo(e,n,us,{tagName:o,mode:"closed"!==t.mode?"open":"closed",owner:null}),lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||(gs.set(e,to),ws.set(e,no))}),s,i)},e.freezeTemplate=function(e){lwcRuntimeFlags.ENABLE_FROZEN_TEMPLATE?(i(e),W(e.stylesheets)||Ko(e.stylesheets,(e=>{i(e)}))):(!function(e){s(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return W(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=W(e)?void 0:e.shadowAttribute}})}(e),Ae((()=>{!function(e){W(e.stylesheets)||Yo(e.stylesheets);for(const t of $o){let n=e[t];s(e,t,{enumerable:!0,configurable:!0,get:()=>n,set(e){Wo||Go(t),n=e}})}const t=l(e,"stylesheetTokens");s(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get:t.get,set(e){Go("stylesheetTokens"),Wo=!0,t.set.call(this,e),Wo=!1}})}(e)})))},e.getComponentConstructor=function(e){let t=null;if(!W(e)){const n=lo(e);W(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=kn(e),{ctor:n,name:r,props:o,propsConfig:s,methods:i}=t,l={};for(const e in o)l[e]={config:s[e]||0,type:"any",attr:ge(e)};const c={};for(const e in i)c[e]=i[e].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=fs,e.isComponentConstructor=Tn,e.isNodeFromTemplate=function(e){if(G(e instanceof bs))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&G(u.call(a(t),"synthetic")))||us.isSyntheticShadowDefined&&!W(e[re])},e.parseFragment=Or,e.parseSVGFragment=Pr,e.readonly=function(e){return Vt(e)},e.register=function(e){for(let t=0;t<zr.length;++t){const n=zr[t];if(n in e){let t=Kr[n];W(t)&&(Kr[n]=t=[]),T.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return U(e)&&Wr.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:i,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(!W(o))for(const e in o){const t=o[e];if(g[e]=t.config,w=l(n,e),t.config>0){if(W(w))throw new Error;w=cn(0,w)}else w=W(w)||W(w.get)?ln(e):cn(0,w);f[e]=w,s(n,e,w)}if(W(i)||R.call(i,(e=>{if(w=l(n,e),W(w))throw new Error;d[e]=w})),!W(c))for(const e in c){const{adapter:t,method:r,config:o,dynamic:i=[]}=c[e];if(w=l(n,e),1===r){if(W(w))throw new Error;h[e]=w,on(w,t,o,i)}else w=un(e),p[e]=w,sn(w,t,o,i),s(n,e,w)}if(!W(a))for(const e in a)w=l(n,e),w=an(e),s(n,e,w);if(!W(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const r=!W(o)&&t in o,s=!W(a)&&t in a;r||s||(m[t]=Xt(t))}return function(e,t){dn.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return hn.add(e),e},e.renderer=us,e.rendererFactory=as,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(W(ye[e])){const n=f(ye).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=be[e];if(!W(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);s(be,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(Io,"Hooks are already overridden, only one definition is allowed."),Io=!0,n=e.sanitizeHtmlContent,wr=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 jt(e);throw new Error},e.unwrap=function(e){return Wt.unwrapProxy(e)},e.wire=function(e,t){throw new Error},e}({});
|
|
@@ -321,7 +321,7 @@ var LWC = (function (exports) {
|
|
|
321
321
|
CACHED_ATTRIBUTE_PROPERTY_MAPPING.set(attrName, propertyName);
|
|
322
322
|
return propertyName;
|
|
323
323
|
}
|
|
324
|
-
/** version: 2.37.
|
|
324
|
+
/** version: 2.37.3 */
|
|
325
325
|
|
|
326
326
|
/**
|
|
327
327
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -389,7 +389,7 @@ var LWC = (function (exports) {
|
|
|
389
389
|
*/
|
|
390
390
|
function setFeatureFlagForTest(name, value) {
|
|
391
391
|
}
|
|
392
|
-
/** version: 2.37.
|
|
392
|
+
/** version: 2.37.3 */
|
|
393
393
|
|
|
394
394
|
/**
|
|
395
395
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -453,7 +453,7 @@ var LWC = (function (exports) {
|
|
|
453
453
|
}
|
|
454
454
|
}
|
|
455
455
|
}
|
|
456
|
-
/** version: 2.37.
|
|
456
|
+
/** version: 2.37.3 */
|
|
457
457
|
|
|
458
458
|
/*
|
|
459
459
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -4934,7 +4934,7 @@ var LWC = (function (exports) {
|
|
|
4934
4934
|
// vm should never be undefined here, but just to be safe, bail out and don't report
|
|
4935
4935
|
return;
|
|
4936
4936
|
}
|
|
4937
|
-
report(
|
|
4937
|
+
report("CrossRootAriaInSyntheticShadow" /* ReportingEventId.CrossRootAriaInSyntheticShadow */, {
|
|
4938
4938
|
tagName: vm.tagName,
|
|
4939
4939
|
attributeName: attrName,
|
|
4940
4940
|
});
|
|
@@ -5099,7 +5099,7 @@ var LWC = (function (exports) {
|
|
|
5099
5099
|
// https://github.com/salesforce/lwc/issues/3284
|
|
5100
5100
|
setValueType = isNull(setValue) ? 'null' : typeof setValue;
|
|
5101
5101
|
}
|
|
5102
|
-
report(
|
|
5102
|
+
report("NonStandardAriaReflection" /* ReportingEventId.NonStandardAriaReflection */, {
|
|
5103
5103
|
tagName: vm === null || vm === void 0 ? void 0 : vm.tagName,
|
|
5104
5104
|
propertyName: prop,
|
|
5105
5105
|
isSetter,
|
|
@@ -5393,6 +5393,19 @@ var LWC = (function (exports) {
|
|
|
5393
5393
|
const hasIncompatibleStyle = validateStyleAttr(vnode, elm, renderer);
|
|
5394
5394
|
return hasIncompatibleAttrs && hasIncompatibleClass && hasIncompatibleStyle;
|
|
5395
5395
|
}
|
|
5396
|
+
function attributeValuesAreEqual(vnodeValue, value) {
|
|
5397
|
+
const vnodeValueAsString = String(vnodeValue);
|
|
5398
|
+
if (vnodeValueAsString === value) {
|
|
5399
|
+
return true;
|
|
5400
|
+
}
|
|
5401
|
+
// If the expected value is null, this means that the attribute does not exist. In that case,
|
|
5402
|
+
// we accept any nullish value (undefined or null).
|
|
5403
|
+
if (isNull(value) && (isUndefined$1(vnodeValue) || isNull(vnodeValue))) {
|
|
5404
|
+
return true;
|
|
5405
|
+
}
|
|
5406
|
+
// In all other cases, the two values are not considered equal
|
|
5407
|
+
return false;
|
|
5408
|
+
}
|
|
5396
5409
|
function validateAttrs(vnode, elm, renderer) {
|
|
5397
5410
|
const { data: { attrs = {} }, } = vnode;
|
|
5398
5411
|
let nodesAreCompatible = true;
|
|
@@ -5401,7 +5414,7 @@ var LWC = (function (exports) {
|
|
|
5401
5414
|
for (const [attrName, attrValue] of Object.entries(attrs)) {
|
|
5402
5415
|
const { getAttribute } = renderer;
|
|
5403
5416
|
const elmAttrValue = getAttribute(elm, attrName);
|
|
5404
|
-
if (
|
|
5417
|
+
if (!attributeValuesAreEqual(attrValue, elmAttrValue)) {
|
|
5405
5418
|
nodesAreCompatible = false;
|
|
5406
5419
|
}
|
|
5407
5420
|
}
|
|
@@ -5595,10 +5608,10 @@ var LWC = (function (exports) {
|
|
|
5595
5608
|
report(eventId, { propertyName: prop });
|
|
5596
5609
|
}
|
|
5597
5610
|
function reportTemplateViolation(prop) {
|
|
5598
|
-
reportViolation('template',
|
|
5611
|
+
reportViolation('template', "TemplateMutation" /* ReportingEventId.TemplateMutation */, prop);
|
|
5599
5612
|
}
|
|
5600
5613
|
function reportStylesheetViolation(prop) {
|
|
5601
|
-
reportViolation('stylesheet',
|
|
5614
|
+
reportViolation('stylesheet', "StylesheetMutation" /* ReportingEventId.StylesheetMutation */, prop);
|
|
5602
5615
|
}
|
|
5603
5616
|
// Warn if the user tries to mutate a stylesheets array, e.g.:
|
|
5604
5617
|
// `tmpl.stylesheets.push(someStylesheetFunction)`
|
|
@@ -6104,7 +6117,7 @@ var LWC = (function (exports) {
|
|
|
6104
6117
|
function isNull(obj) {
|
|
6105
6118
|
return obj === null;
|
|
6106
6119
|
}
|
|
6107
|
-
/** version: 2.37.
|
|
6120
|
+
/** version: 2.37.3 */
|
|
6108
6121
|
|
|
6109
6122
|
/*
|
|
6110
6123
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -6649,7 +6662,7 @@ var LWC = (function (exports) {
|
|
|
6649
6662
|
});
|
|
6650
6663
|
freeze(LightningElement);
|
|
6651
6664
|
seal(LightningElement.prototype);
|
|
6652
|
-
/* version: 2.37.
|
|
6665
|
+
/* version: 2.37.3 */
|
|
6653
6666
|
|
|
6654
6667
|
exports.LightningElement = LightningElement;
|
|
6655
6668
|
exports.__unstable__ProfilerControl = profilerControl;
|
|
@@ -320,6 +320,27 @@ var LWC = (function (exports) {
|
|
|
320
320
|
return propertyName;
|
|
321
321
|
}
|
|
322
322
|
|
|
323
|
+
/*
|
|
324
|
+
* Copyright (c) 2020, salesforce.com, inc.
|
|
325
|
+
* All rights reserved.
|
|
326
|
+
* SPDX-License-Identifier: MIT
|
|
327
|
+
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
328
|
+
*/
|
|
329
|
+
var ESCAPED_CHARS = {
|
|
330
|
+
'"': '"',
|
|
331
|
+
"'": ''',
|
|
332
|
+
'<': '<',
|
|
333
|
+
'>': '>',
|
|
334
|
+
'&': '&'
|
|
335
|
+
};
|
|
336
|
+
function htmlEscape(str) {
|
|
337
|
+
var attrMode = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
338
|
+
var searchValue = attrMode ? /["&]/g : /["'<>&]/g;
|
|
339
|
+
return str.replace(searchValue, function (char) {
|
|
340
|
+
return ESCAPED_CHARS[char];
|
|
341
|
+
});
|
|
342
|
+
}
|
|
343
|
+
|
|
323
344
|
/*
|
|
324
345
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
325
346
|
* All rights reserved.
|
|
@@ -327,9 +348,9 @@ var LWC = (function (exports) {
|
|
|
327
348
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
328
349
|
*/
|
|
329
350
|
// Increment whenever the LWC template compiler changes
|
|
330
|
-
var LWC_VERSION = "2.37.
|
|
351
|
+
var LWC_VERSION = "2.37.3";
|
|
331
352
|
var LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
332
|
-
/** version: 2.37.
|
|
353
|
+
/** version: 2.37.3 */
|
|
333
354
|
|
|
334
355
|
/**
|
|
335
356
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -410,7 +431,7 @@ var LWC = (function (exports) {
|
|
|
410
431
|
setFeatureFlag(name, value);
|
|
411
432
|
}
|
|
412
433
|
}
|
|
413
|
-
/** version: 2.37.
|
|
434
|
+
/** version: 2.37.3 */
|
|
414
435
|
|
|
415
436
|
/**
|
|
416
437
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -474,7 +495,7 @@ var LWC = (function (exports) {
|
|
|
474
495
|
}
|
|
475
496
|
}
|
|
476
497
|
}
|
|
477
|
-
/** version: 2.37.
|
|
498
|
+
/** version: 2.37.3 */
|
|
478
499
|
|
|
479
500
|
/*
|
|
480
501
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -3195,7 +3216,7 @@ var LWC = (function (exports) {
|
|
|
3195
3216
|
// stylesheets and templates do not have user-meaningful names, but components do
|
|
3196
3217
|
var friendlyName = type === 'component' ? "".concat(type, " ").concat(func.name) : type;
|
|
3197
3218
|
logError("LWC WARNING: current engine is v".concat(LWC_VERSION, ", but ").concat(friendlyName, " was compiled with v").concat(version, ".\nPlease update your compiled code or LWC engine so that the versions match.\nNo further warnings will appear."));
|
|
3198
|
-
report(
|
|
3219
|
+
report("CompilerRuntimeVersionMismatch" /* ReportingEventId.CompilerRuntimeVersionMismatch */, {
|
|
3199
3220
|
compilerVersion: version,
|
|
3200
3221
|
runtimeVersion: LWC_VERSION
|
|
3201
3222
|
});
|
|
@@ -6596,7 +6617,7 @@ var LWC = (function (exports) {
|
|
|
6596
6617
|
// vm should never be undefined here, but just to be safe, bail out and don't report
|
|
6597
6618
|
return;
|
|
6598
6619
|
}
|
|
6599
|
-
report(
|
|
6620
|
+
report("CrossRootAriaInSyntheticShadow" /* ReportingEventId.CrossRootAriaInSyntheticShadow */, {
|
|
6600
6621
|
tagName: vm.tagName,
|
|
6601
6622
|
attributeName: attrName
|
|
6602
6623
|
});
|
|
@@ -6782,7 +6803,7 @@ var LWC = (function (exports) {
|
|
|
6782
6803
|
// https://github.com/salesforce/lwc/issues/3284
|
|
6783
6804
|
setValueType = isNull(setValue) ? 'null' : _typeof(setValue);
|
|
6784
6805
|
}
|
|
6785
|
-
report(
|
|
6806
|
+
report("NonStandardAriaReflection" /* ReportingEventId.NonStandardAriaReflection */, {
|
|
6786
6807
|
tagName: vm === null || vm === void 0 ? void 0 : vm.tagName,
|
|
6787
6808
|
propertyName: prop,
|
|
6788
6809
|
isSetter: isSetter,
|
|
@@ -6963,15 +6984,44 @@ var LWC = (function (exports) {
|
|
|
6963
6984
|
return renderer.nextSibling(hydratedNode);
|
|
6964
6985
|
}
|
|
6965
6986
|
var NODE_VALUE_PROP = 'nodeValue';
|
|
6987
|
+
var PARENT_NODE_PROP = 'parentNode';
|
|
6988
|
+
var TAG_NAME_PROP = 'tagName';
|
|
6989
|
+
function textNodeContentsAreEqual(node, vnode, renderer) {
|
|
6990
|
+
var getProperty = renderer.getProperty;
|
|
6991
|
+
var nodeValue = getProperty(node, NODE_VALUE_PROP);
|
|
6992
|
+
if (nodeValue === vnode.text) {
|
|
6993
|
+
return true;
|
|
6994
|
+
}
|
|
6995
|
+
// Special case for empty text nodes – these are serialized differently on the server
|
|
6996
|
+
// See https://github.com/salesforce/lwc/pull/2656
|
|
6997
|
+
if (nodeValue === "\u200D" && vnode.text === '') {
|
|
6998
|
+
return true;
|
|
6999
|
+
}
|
|
7000
|
+
// Special case for text nodes inside `<style>` tags – these are escaped when rendered server-size,
|
|
7001
|
+
// but not when generated by the engine client-side.
|
|
7002
|
+
var parentNode = getProperty(node, PARENT_NODE_PROP);
|
|
7003
|
+
// Should never be null, but just to be safe, we check.
|
|
7004
|
+
/* istanbul ignore else */
|
|
7005
|
+
if (!isNull(parentNode)) {
|
|
7006
|
+
var tagName = getProperty(parentNode, TAG_NAME_PROP);
|
|
7007
|
+
// If the tagName is STYLE, then the following condition should always be true.
|
|
7008
|
+
// The LWC compiler blocks using `<style>`s inside of templates, so it should be impossible
|
|
7009
|
+
// for component authors to render different `<style>` text content on the client and server.
|
|
7010
|
+
// But just to be safe, we check.
|
|
7011
|
+
/* istanbul ignore next */
|
|
7012
|
+
if (tagName === 'STYLE' && htmlEscape(vnode.text) === nodeValue) {
|
|
7013
|
+
return true;
|
|
7014
|
+
}
|
|
7015
|
+
}
|
|
7016
|
+
return false;
|
|
7017
|
+
}
|
|
6966
7018
|
function hydrateText(node, vnode, renderer) {
|
|
6967
7019
|
var _a;
|
|
6968
7020
|
if (!hasCorrectNodeType(vnode, node, 3 /* EnvNodeTypes.TEXT */, renderer)) {
|
|
6969
7021
|
return handleMismatch(node, vnode, renderer);
|
|
6970
7022
|
}
|
|
6971
7023
|
if (process.env.NODE_ENV !== 'production') {
|
|
6972
|
-
|
|
6973
|
-
var nodeValue = getProperty(node, NODE_VALUE_PROP);
|
|
6974
|
-
if (nodeValue !== vnode.text && !(nodeValue === "\u200D" && vnode.text === '')) {
|
|
7024
|
+
if (!textNodeContentsAreEqual(node, vnode, renderer)) {
|
|
6975
7025
|
logWarn('Hydration mismatch: text values do not match, will recover from the difference', vnode.owner);
|
|
6976
7026
|
}
|
|
6977
7027
|
}
|
|
@@ -7153,6 +7203,19 @@ var LWC = (function (exports) {
|
|
|
7153
7203
|
var hasIncompatibleStyle = validateStyleAttr(vnode, elm, renderer);
|
|
7154
7204
|
return hasIncompatibleAttrs && hasIncompatibleClass && hasIncompatibleStyle;
|
|
7155
7205
|
}
|
|
7206
|
+
function attributeValuesAreEqual(vnodeValue, value) {
|
|
7207
|
+
var vnodeValueAsString = String(vnodeValue);
|
|
7208
|
+
if (vnodeValueAsString === value) {
|
|
7209
|
+
return true;
|
|
7210
|
+
}
|
|
7211
|
+
// If the expected value is null, this means that the attribute does not exist. In that case,
|
|
7212
|
+
// we accept any nullish value (undefined or null).
|
|
7213
|
+
if (isNull(value) && (isUndefined$1(vnodeValue) || isNull(vnodeValue))) {
|
|
7214
|
+
return true;
|
|
7215
|
+
}
|
|
7216
|
+
// In all other cases, the two values are not considered equal
|
|
7217
|
+
return false;
|
|
7218
|
+
}
|
|
7156
7219
|
function validateAttrs(vnode, elm, renderer) {
|
|
7157
7220
|
var _vnode$data$attrs = vnode.data.attrs,
|
|
7158
7221
|
attrs = _vnode$data$attrs === void 0 ? {} : _vnode$data$attrs;
|
|
@@ -7166,10 +7229,10 @@ var LWC = (function (exports) {
|
|
|
7166
7229
|
var owner = vnode.owner;
|
|
7167
7230
|
var getAttribute = renderer.getAttribute;
|
|
7168
7231
|
var elmAttrValue = getAttribute(elm, attrName);
|
|
7169
|
-
if (
|
|
7232
|
+
if (!attributeValuesAreEqual(attrValue, elmAttrValue)) {
|
|
7170
7233
|
if (process.env.NODE_ENV !== 'production') {
|
|
7171
7234
|
var getProperty = renderer.getProperty;
|
|
7172
|
-
logError("Mismatch hydrating element <".concat(getProperty(elm, 'tagName').toLowerCase(), ">: attribute \"").concat(attrName, "\" has different values, expected \"").concat(attrValue, "\" but found \""
|
|
7235
|
+
logError("Mismatch hydrating element <".concat(getProperty(elm, 'tagName').toLowerCase(), ">: attribute \"").concat(attrName, "\" has different values, expected \"").concat(attrValue, "\" but found ").concat(isNull(elmAttrValue) ? 'null' : "\"".concat(elmAttrValue, "\"")), owner);
|
|
7173
7236
|
}
|
|
7174
7237
|
nodesAreCompatible = false;
|
|
7175
7238
|
}
|
|
@@ -7383,10 +7446,10 @@ var LWC = (function (exports) {
|
|
|
7383
7446
|
});
|
|
7384
7447
|
}
|
|
7385
7448
|
function reportTemplateViolation(prop) {
|
|
7386
|
-
reportViolation('template',
|
|
7449
|
+
reportViolation('template', "TemplateMutation" /* ReportingEventId.TemplateMutation */, prop);
|
|
7387
7450
|
}
|
|
7388
7451
|
function reportStylesheetViolation(prop) {
|
|
7389
|
-
reportViolation('stylesheet',
|
|
7452
|
+
reportViolation('stylesheet', "StylesheetMutation" /* ReportingEventId.StylesheetMutation */, prop);
|
|
7390
7453
|
}
|
|
7391
7454
|
// Warn if the user tries to mutate a stylesheets array, e.g.:
|
|
7392
7455
|
// `tmpl.stylesheets.push(someStylesheetFunction)`
|
|
@@ -7590,7 +7653,7 @@ var LWC = (function (exports) {
|
|
|
7590
7653
|
}
|
|
7591
7654
|
return ctor;
|
|
7592
7655
|
}
|
|
7593
|
-
/* version: 2.37.
|
|
7656
|
+
/* version: 2.37.3 */
|
|
7594
7657
|
|
|
7595
7658
|
/*
|
|
7596
7659
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -8016,7 +8079,7 @@ var LWC = (function (exports) {
|
|
|
8016
8079
|
function isNull(obj) {
|
|
8017
8080
|
return obj === null;
|
|
8018
8081
|
}
|
|
8019
|
-
/** version: 2.37.
|
|
8082
|
+
/** version: 2.37.3 */
|
|
8020
8083
|
|
|
8021
8084
|
/*
|
|
8022
8085
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -8582,7 +8645,7 @@ var LWC = (function (exports) {
|
|
|
8582
8645
|
});
|
|
8583
8646
|
freeze(LightningElement);
|
|
8584
8647
|
seal(LightningElement.prototype);
|
|
8585
|
-
/* version: 2.37.
|
|
8648
|
+
/* version: 2.37.3 */
|
|
8586
8649
|
|
|
8587
8650
|
exports.LightningElement = LightningElement;
|
|
8588
8651
|
exports.__unstable__ProfilerControl = profilerControl;
|