lwc 2.45.0 → 2.45.1
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 +102 -75
- package/dist/engine-dom/esm/es2017/engine-dom.js.map +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom.js +102 -75
- package/dist/engine-dom/iife/es2017/engine-dom.js.map +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +16 -10
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js.map +1 -1
- package/dist/engine-dom/iife/es5/engine-dom.js +99 -73
- package/dist/engine-dom/iife/es5/engine-dom.js.map +1 -1
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +17 -10
- package/dist/engine-dom/iife/es5/engine-dom_debug.js.map +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom.js +102 -75
- package/dist/engine-dom/umd/es2017/engine-dom.js.map +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +16 -10
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js.map +1 -1
- package/dist/engine-dom/umd/es5/engine-dom.js +99 -73
- package/dist/engine-dom/umd/es5/engine-dom.js.map +1 -1
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +17 -10
- package/dist/engine-dom/umd/es5/engine-dom_debug.js.map +1 -1
- package/dist/engine-server/commonjs/es2017/engine-server.js +101 -74
- package/dist/engine-server/commonjs/es2017/engine-server.js.map +1 -1
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +101 -74
- package/dist/engine-server/esm/es2017/engine-server.js.map +1 -1
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js.map +1 -1
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js.map +1 -1
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js.map +1 -1
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js.map +1 -1
- package/dist/wire-service/esm/es2017/wire-service.js +2 -2
- package/dist/wire-service/esm/es2017/wire-service.js.map +1 -1
- package/dist/wire-service/iife/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service.js.map +1 -1
- package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service_debug.js.map +1 -1
- package/dist/wire-service/iife/es5/wire-service.js +2 -2
- package/dist/wire-service/iife/es5/wire-service.js.map +1 -1
- package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
- package/dist/wire-service/iife/es5/wire-service_debug.js.map +1 -1
- package/dist/wire-service/umd/es2017/wire-service.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service.js.map +1 -1
- package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service_debug.js.map +1 -1
- package/dist/wire-service/umd/es5/wire-service.js +2 -2
- package/dist/wire-service/umd/es5/wire-service.js.map +1 -1
- package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es5/wire-service_debug.js.map +1 -1
- package/package.json +7 -7
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";function e(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var t=e(require("parse5"));var n=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:r,create:o,defineProperties:i,defineProperty:s,freeze:l,getOwnPropertyDescriptor:c,getOwnPropertyNames:a,getPrototypeOf:u,hasOwnProperty:d,isFrozen:f,keys:h,seal:p,setPrototypeOf:m}=Object,{isArray:g}=Array,{concat:w,copyWithin:y,fill:b,filter:v,find:E,findIndex:C,indexOf:S,join:k,map:M,pop:x,push:T,reduce:A,reverse:N,shift:O,slice:_,some:P,sort:$,splice:R,unshift:D,forEach:L}=Array.prototype,{fromCharCode:F}=String,{charCodeAt:I,replace:W,split:H,slice:j,toLowerCase:B}=String.prototype;function V(e){return void 0===e}function G(e){return null===e}function U(e){return!0===e}function z(e){return!1===e}function K(e){return"function"==typeof e}function q(e){return"string"==typeof e}function Y(){}const X={}.toString;function Z(e){return e&&e.toString?g(e)?k.call(M.call(e,Z),","):e.toString():"object"==typeof e?X.call(e):e+""}function Q(e,t){do{const n=c(e,t);if(!V(n))return n;e=u(e)}while(null!==e)}const J=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:ee,AriaPropNameToAttrNameMap:te}=(()=>{const e=o(null),t=o(null);return L.call(J,(n=>{const r=B.call(W.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function ne(e){return e in ee}const re="object"==typeof globalThis?globalThis:window,oe="$shadowResolver$",ie="$shadowStaticNode$",se="$$lwc-synthetic-mode",le="$scoped$",ce="http://www.w3.org/1999/xhtml",ae="http://www.w3.org/XML/1998/namespace",ue="http://www.w3.org/2000/svg",de="http://www.w3.org/1999/xlink",fe=new Set(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr","param","keygen","menuitem"]);const he=/-([a-z])/g,pe=new Map([["autofocus",new Set(["button","input","keygen","select","textarea"])],["autoplay",new Set(["audio","video"])],["checked",new Set(["command","input"])],["disabled",new Set(["button","command","fieldset","input","keygen","optgroup","select","textarea"])],["formnovalidate",new Set(["button"])],["hidden",new Set],["loop",new Set(["audio","bgsound","marquee","video"])],["multiple",new Set(["input","select"])],["muted",new Set(["audio","video"])],["novalidate",new Set(["form"])],["open",new Set(["details"])],["readonly",new Set(["input","textarea"])],["required",new Set(["input","select","textarea"])],["reversed",new Set(["ol"])],["selected",new Set(["option"])]]);function me(e,t){const n=pe.get(e);return void 0!==n&&(0===n.size||n.has(t))}const ge=new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","contextmenu","dir","draggable","enterkeyhint","exportparts","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","part","slot","spellcheck","style","tabindex","title","translate"]);function we(e){return ge.has(e)}const{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:ye,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:be}=(()=>{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}})(),ve=new Map,Ee=new Map;function Ce(e){const t=te[e];if(!V(t))return t;const n=be.get(e);if(!V(n))return n;const r=ve.get(e);if(!V(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=I.call(e,t);o+=n>=65&&n<=90?"-"+F(n+32):F(n)}return ve.set(e,o),o}function Se(e){const t=ee[e];if(!V(t))return t;const n=ye.get(e);if(!V(n))return n;const r=Ee.get(e);if(!V(r))return r;const o=W.call(e,he,(e=>e[1].toUpperCase()));return Ee.set(e,o),o}const ke={'"':""","'":"'","<":"<",">":">","&":"&"};function Me(e,t=!1){const n=t?/["&]/g:/["'<>&]/g;return e.replace(n,(e=>ke[e]))}const xe={DUMMY_TEST_FLAG:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_WIRE_SYNC_EMIT:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_FROZEN_TEMPLATE:null,DISABLE_ARIA_REFLECTION_POLYFILL:null};re.lwcRuntimeFlags||Object.defineProperty(re,"lwcRuntimeFlags",{value:o(null)});const Te=re.lwcRuntimeFlags;if("function"!=typeof Event){class e{}s(re,"Event",{value:e,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class e extends Event{}s(re,"CustomEvent",{value:e,configurable:!0,writable:!0})}function Ae(e,t){return V(c(t,e))}function Ne(e,t){const n=function(e){return{get(){return this.hasAttribute(e)?this.getAttribute(e):null},set(t){G(t)?this.removeAttribute(e):this.setAttribute(e,t)},configurable:!0,enumerable:!0}}(te[e]);s(t,e,n)}function Oe(e){return`<${B.call(e.tagName)}>`}function _e(e,t){if(!f(t)&&V(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!G(n);)T.call(t,Oe(n)),n=n.owner;return t.reverse().join("\n\t")}(e);s(t,"wcStack",{get:()=>n})}}const Pe=new Set;function $e(e,t,n,r){let o=`[LWC ${e}]: ${t}`;if(V(n)||(o=`${o}\n${function(e){const t=[];let n="";for(;!G(e.owner);)T.call(t,n+Oe(e)),e=e.owner,n+="\t";return k.call(t,"\n")}(n)}`),r){if(Pe.has(o))return;Pe.add(o)}try{throw new Error(o)}catch(t){console[e](t)}}function Re(e,t){$e("error",e,t,!1)}const De=new WeakMap;const Le={observe(e){e()},reset(){},link(){}};function Fe(e){return Le}const Ie=32,We=p(o(null)),He=p([]);function je(e){const t=[];for(const n of e)g(n)?t.push(...je(n)):t.push(n);return t}function Be(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}function Ve(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Ge(e){return K(e)&&d.call(e,"__circular__")}const Ue="undefined"!=typeof HTMLElement?HTMLElement:function(){},ze=Ue.prototype;let Ke,qe=null;function Ye(e,t){qe=null,Ke=void 0}function Xe(e,t){qe=e,Ke=t}const Ze=o(null);function Qe(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n)}L.call(h(te),(e=>{const t=Q(ze,e);V(t)||(Ze[e]=t)})),L.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=Q(ze,e);V(t)||(Ze[e]=t)}));const{isArray:Je}=Array,{prototype:et,getPrototypeOf:tt,create:nt,defineProperty:rt,isExtensible:ot,getOwnPropertyDescriptor:it,getOwnPropertyNames:st,getOwnPropertySymbols:lt,preventExtensions:ct,hasOwnProperty:at}=Object,{push:ut,concat:dt}=Array.prototype;function ft(e){return void 0===e}function ht(e){return"function"==typeof e}const pt=new WeakMap;function mt(e,t){pt.set(e,t)}const gt=e=>pt.get(e)||e;class wt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(at.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;ft(n)||(e.get=this.wrapGetter(n)),ft(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=it(n,t);if(!ft(r)){const n=this.wrapDescriptor(r);rt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;dt.call(st(t),lt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;ft(n)||at.call(e,n)||rt(e,n,nt(null)),ct(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=ft(n)||at.call(t,n)?[]:[n];return ut.apply(r,st(t)),ut.apply(r,lt(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!ot(e)&&(!!ot(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return tt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=it(n,t);if(ft(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},rt(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const yt=new WeakMap,bt=new WeakMap,vt=new WeakMap,Et=new WeakMap;class Ct extends wt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=yt.get(e);if(!ft(t))return t;const n=this,r=function(){return n.wrapValue(e.call(gt(this)))};return yt.set(e,r),vt.set(r,e),r}wrapSetter(e){const t=bt.get(e);if(!ft(t))return t;const n=function(t){e.call(gt(this),gt(t))};return bt.set(e,n),Et.set(n,e),n}unwrapDescriptor(e){if(at.call(e,"value"))e.value=gt(e.value);else{const{set:t,get:n}=e;ft(n)||(e.get=this.unwrapGetter(n)),ft(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=vt.get(e);if(!ft(t))return t;const n=this,r=function(){return gt(e.call(n.wrapValue(this)))};return yt.set(r,e),vt.set(e,r),r}unwrapSetter(e){const t=Et.get(e);if(!ft(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return bt.set(r,e),Et.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&&Je(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(ot(e)){const{originalTarget:t}=this;if(ct(t),ot(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!at.call(r,t)||(rt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const St=new WeakMap,kt=new WeakMap;class Mt extends wt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=St.get(e);if(!ft(t))return t;const n=this,r=function(){return n.wrapValue(e.call(gt(this)))};return St.set(e,r),r}wrapSetter(e){const t=kt.get(e);if(!ft(t))return t;const n=function(e){};return kt.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 xt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(Je(e))return!0;const t=tt(e);return t===et||null===t||null===tt(t)}const Tt=(e,t)=>{},At=(e,t)=>{};function Nt(e){return Je(e)?[]:{}}const Ot=Symbol.for("@@lockerLiveValue"),_t=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=ht(t)?t:At,this.valueObserved=ht(n)?n:Tt,this.valueIsObservable=ht(r)?r:xt,this.tagPropertyKey=o}getProxy(e){const t=gt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=gt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return gt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(ft(t)){const n=new Ct(this,e);t=new Proxy(Nt(e),n),mt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(ft(t)){const n=new Mt(this,e);t=new Proxy(Nt(e),n),mt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:function(e,t){},valueMutated:function(e,t){const n=De.get(e);if(!V(n)){const e=n[t];if(!V(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}},tagPropertyKey:Ot});function Pt(e){return _t.getReadOnlyProxy(e)}function $t(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!K(n))throw new TypeError;if(!K(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const e=Lr(this);if(!mr(e))return n.call(e.elm)},set(t){const n=Lr(this);return Qe(n,e,t),r.call(n.elm,t)}}}const Rt=new WeakMap,Dt=function(){if(G(pr))throw new TypeError("Illegal constructor");const e=pr,{def:t,elm:n}=e,{bridge:r}=t;if(m(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 Dr(this,e),Dr(n,e),1===e.renderMode?e.renderRoot=function(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{[se]:1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,Dr(s,e),s}(e):e.renderRoot=n,this};Dt.prototype={constructor:Dt,dispatchEvent(e){const t=Lr(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=Lr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,Cr(r,t),n)},removeEventListener(e,t,n){const r=Lr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,Cr(r,t),n)},hasAttribute(e){const t=Lr(this),{elm:n,renderer:{getAttribute:r}}=t;return!G(r(n,e))},hasAttributeNS(e,t){const n=Lr(this),{elm:r,renderer:{getAttribute:o}}=n;return!G(o(r,t,e))},removeAttribute(e){const t=Lr(this),{elm:n,renderer:{removeAttribute:r}}=t;Xe(n,e),r(n,e),Ye()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=Lr(this);Xe(n,t),r(n,t,e),Ye()},getAttribute(e){const t=Lr(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=Lr(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=Lr(this),{elm:r,renderer:{setAttribute:o}}=n;Xe(r,e),o(r,e,t),Ye()},setAttributeNS(e,t,n){const r=Lr(this),{elm:o,renderer:{setAttribute:i}}=r;Xe(o,t),i(o,t,n,e),Ye()},getBoundingClientRect(){const e=Lr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=Lr(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=Lr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return Lr(this).shadowRoot},get refs(){const e=Lr(this);if(ir)return;const{refVNodes:t,cmpTemplate:n}=e;if(G(t))return;let r=Rt.get(t);if(V(r)){r=o(null);for(const e of h(t))r[e]=t[e].elm;l(r),Rt.set(t,r)}return r},set refs(e){s(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=Lr(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=Lr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=Lr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=Lr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=Lr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=Lr(this);return e.renderer.getLastElementChild(e.elm)},get ownerDocument(){const e=Lr(this);return e.renderer.ownerDocument(e.elm)},render(){return Lr(this).def.template},toString(){return`[object ${Lr(this).def.name}]`}};const Lt=o(null),Ft=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Ft)Lt[e]={value(t){const n=Lr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};i(Dt.prototype,Lt);const It=o(null);for(const e in Ze)It[e]=$t(e,Ze[e]);function Wt(e){return{get(){return Lr(this).cmpFields[e]},set(t){Qe(Lr(this),e,t)},enumerable:!0,configurable:!0}}i(Dt.prototype,It),function(e=Element.prototype){const t=h(te);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];Ae(r,e)&&Ne(r,e)}}(Dt.prototype),s(Dt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const Ht=new Map;function jt(e,t){let n=Ht.get(e);if(!V(n))throw new Error("Adapter already has a context provider.");n=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),Ht.set(e,n);const r=new WeakSet;return(e,o)=>{if(r.has(e))throw new Error(`Adapter was already installed on ${e}.`);r.add(e);const{consumerConnectedCallback:i,consumerDisconnectedCallback:s}=o;t(e,n,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{V(s)||s(r)})),i(r)}))}}const Bt="$$DeprecatedWiredElementHostKey$$",Vt="$$DeprecatedWiredParamsMetaKey$$",Gt=new Map;function Ut(e,t,n){const{method:r,adapter:o,configCallback:i,dynamic:l}=n;const c=V(r)?function(e,t){return n=>{Qe(e,t,n)}}(e,t):function(e,t){return n=>{Ur(e,e.owner,Y,(()=>{t.call(e.component,n)}),Y)}}(e,r),a=e=>{c(e)};let u,d;s(a,Bt,{value:e.elm}),s(a,Vt,{value:l}),Ur(e,e,Y,(()=>{d=new o(a)}),Y);const{computeConfigAndUpdate:f,ro:h}=function(e,t,n){const r=Fe();return{computeConfigAndUpdate:()=>{let o;r.observe((()=>o=t(e))),n(o)},ro:r}}(e.component,i,(t=>{Ur(e,e,Y,(()=>{d.update(t,u)}),Y)}));return V(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Ht.get(r);if(V(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{registerContextConsumer:c}}=e;T.call(s,(()=>{c(i,o,{setNewContext(e){n(e)},setDisconnectedCallback(e){T.call(l,e)}})}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>h.reset()}}function zt(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Gt.set(e,o)}function Kt(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Gt.set(e,o)}function qt(e){return{get(){const t=Lr(this);if(!mr(t))return t.cmpProps[e]},set(t){Lr(this).cmpProps[e]=t},enumerable:!0,configurable:!0}}function Yt(e,t){const{get:r,set:o,enumerable:i,configurable:s}=t;return n.invariant(K(r),`Invalid public accessor ${Z(e)} decorated with @api. The property is missing a getter.`),{get(){return r.call(this)},set(e){Lr(this),o&&o.call(this,e)},enumerable:i,configurable:s}}function Xt(e){return{get(){return Lr(this).cmpFields[e]},set(t){Qe(Lr(this),e,t)},enumerable:!0,configurable:!0}}function Zt(e){return{get(){return Lr(this).cmpFields[e]},set(t){Qe(Lr(this),e,t)},enumerable:!0,configurable:!0}}const Qt=new Map;const Jt={apiMethods:We,apiFields:We,apiFieldsConfig:We,wiredMethods:We,wiredFields:We,observedFields:We};const en=new Set;function tn(){return[]}en.add(tn);const nn=o(null),rn=o(null);function on(e){let t=nn[e];return V(t)&&(t=nn[e]=function(){const t=Lr(this),{getHook:n}=t;return n(t.component,e)}),t}function sn(e){let t=rn[e];return V(t)&&(t=rn[e]=function(t){const n=Lr(this),{setHook:r}=n;t=Pt(t),r(n.component,e,t)}),t}function ln(e){return function(){const t=Lr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,_.call(arguments))}}function cn(e,t){return function(n,r,o){if(r===o)return;const i=e[n];V(i)?V(t)||t.apply(this,arguments):function(e,t){return e!==qe||t!==Ke}(this,n)&&(this[i]=o)}}function an(e,t,n){let r;K(e)?r=class extends e{}:(r=function(){throw new TypeError("Illegal constructor")},m(r,e),m(r.prototype,e.prototype),s(r.prototype,"constructor",{writable:!0,configurable:!0,value:r}));const l=o(null),{attributeChangedCallback:c}=e.prototype,{observedAttributes:a=[]}=e,u=o(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[Ce(n)]=n,u[n]={get:on(n),set:sn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:ln(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:cn(l,c)},s(r,"observedAttributes",{get:()=>[...a,...h(l)]}),i(r.prototype,u),r}const un=an(Ue,a(Ze),[]);l(un),p(un.prototype);const dn="function"==typeof WeakRef&&"function"==typeof FinalizationRegistry;const fn=dn?class{constructor(){this._map=new WeakMap,this._registry=new FinalizationRegistry((e=>{for(let t=e.length-1;t>=0;t--){V(e[t].deref())&&R.call(e,t,1)}}))}_getWeakRefs(e){let t=this._map.get(e);return V(t)&&(t=[],this._map.set(e,t)),t}get(e){const t=this._getWeakRefs(e),n=new Set;for(const e of t){const t=e.deref();V(t)||n.add(t)}return n}add(e,t){const n=this._getWeakRefs(e);T.call(n,new WeakRef(t)),this._registry.register(t,n)}delete(e){this._map.delete(e)}}:class{constructor(){this._map=new WeakMap}_getValues(e){let t=this._map.get(e);return V(t)&&(t=new Set,this._map.set(e,t)),t}get(e){return this._getValues(e)}add(e,t){this._getValues(e).add(t)}delete(e){this._map.delete(e)}};new WeakMap,new fn,new fn,new fn;const hn=new WeakMap;function pn(e){const{shadowSupportMode:t,renderMode:n}=e,s=function(e){const t=Qt.get(e);return V(t)?Jt:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:a,wiredFields:d,wiredMethods:f,observedFields:p}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=u(e);if(G(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(Ge(t)){const e=Ve(t);t=e===t?Dt:e}return t}(e),C=E!==Dt?gn(E):wn,S=an(C.bridge,h(l),h(a)),k=r(o(null),C.props,l),M=r(o(null),C.propsConfig,c),x=r(o(null),C.methods,a),T=r(o(null),C.wire,d,f);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let A=C.shadowSupportMode;V(t)||(A=t);let N=C.renderMode;V(n)||(N="light"===n?0:1);const O=function(e){var t;return null===(t=yr.get(e))||void 0===t?void 0:t.tmpl}(e)||C.template,_=e.name||C.name;i(m,p);return{ctor:e,name:_,wire:T,props:k,propsConfig:M,methods:x,bridge:S,template:O,renderMode:N,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function mn(e){if(!K(e))return!1;if(e.prototype instanceof Dt)return!0;let t=e;do{if(Ge(t)){const e=Ve(t);if(e===t)return!0;t=e}if(t===Dt)return!0}while(!G(t)&&(t=u(t)));return!1}function gn(e){let t=hn.get(e);if(V(t)){if(Ge(e)){return t=gn(Ve(e)),hn.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=pn(e),hn.set(e,t)}return t}const wn={ctor:Dt,name:Dt.name,props:It,propsConfig:We,methods:We,renderMode:1,shadowSupportMode:"reset",wire:We,bridge:un,template:tn,render:Dt.prototype.render};function yn(e){return`${e}-host`}function bn(e){return or.h("style",{key:"style",attrs:{type:"text/css"}},[or.t(e)])}function vn(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(g(s))T.apply(r,vn(s,t,n));else{const e=s[le];if(lwcRuntimeFlags.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){Re("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let c;1===n.renderMode?c=0===n.shadowMode:(V(o)&&(o=En(n)),c=G(o)||0===o.shadowMode),T.call(r,s(i,l,c))}}return r}function En(e){let t=e;for(;!G(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Cn(e){const{type:t}=e;return 2===t||3===t}function Sn(e,t){return e.key===t.key&&e.sel===t.sel}function kn(e){return 5===e.type}function Mn(e){return 6===e.type}const xn=58;const Tn=58;function An(e,t){return"input"===e&&("value"===t||"checked"===t)}const Nn=o(null);function On(e){if(null==e)return We;e=q(e)?e:e+"";let t=Nn[e];if(t)return t;t=o(null);let n,r=0;const i=e.length;for(n=0;n<i;n++)I.call(e,n)===Ie&&(n>r&&(t[j.call(e,r,n)]=!0),r=n+1);return n>r&&(t[j.call(e,r,n)]=!0),Nn[e]=t,t}function _n(e,t,n,r){qn(t)?Xn(e,t,n,r):Zn(e,t,n,r)}function Pn(e,t,n,r){var o,i;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&Hn(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:i}=t;i?Zn(e.children,o,n,r):Xn(e.children,o,n,r);t.elm=t.leading.elm}(e,t,n,r);break;case 2:!function(e,t,n){const r=t.elm=e.elm;Vn(e,t,n),_n(e.children,t.children,r,n)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:r);break;case 3:!function(e,t,n,r){if(e.ctor!==t.ctor){const o=r.nextSibling(e.elm);Ln(e,n,r,!0),Rn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;if(Vn(e,t,r),!V(o)){Un(t,o);const{shadowMode:n,renderMode:r}=o;0==n&&0!==r&&qn(e.children)&&Kn(t.children)}_n(e.children,t.children,n,r),V(o)||function(e){Ir(e)}(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function $n(e,t,n,r){var o,i;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:i}=r,s=e.elm=i(e.text);Wn(s,o,r),Bn(s,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:i}=r,s=e.elm=i(e.text);Wn(s,o,r),Bn(s,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:i,isSyntheticShadowDefined:s}=r,l=e.elm=i(e.fragment,!0);Wn(l,o,r);const{renderMode:c,shadowMode:a}=o;s&&(1!==a&&0!==c||(l[ie]=!0));Bn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;Dn(o,t,r,n),e.elm=e.leading.elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:i,data:{svg:s}}=e,{createElement:l}=r,c=U(s)?ue:void 0,a=e.elm=l(o,c);Wn(a,i,r),Gn(a,i,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(a,e),Vn(null,e,r),Bn(a,t,n,r),Dn(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:Rn(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function Rn(e,t,n,r){const{sel:o,owner:i}=e,{createCustomElement:s}=r;let l;let c,a;lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(c=e=>{_r(e)},a=e=>{Pr(e)});const u=s(o.toLowerCase(),(t=>{l=function(e,t,n){let r=Fr(e);if(!V(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=Rr(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}),c,a);e.elm=u,e.vm=l,Wn(u,i,r),Gn(u,i,r),l&&Un(e,l),Vn(null,e,r),Bn(u,t,n,r),l&&Wr(l),Dn(e.children,u,r,null),l&&function(e){Ir(e)}(l)}function Dn(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];In(i)&&$n(i,t,n,r)}}function Ln(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?Fn(e.children,t,n,r):function(e,t,n){n.remove(e,t)}(i,t,n)),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;Fn(e.children,i,n,t);break}case 3:{const{vm:t}=e;V(t)||function(e){$r(e)}(t)}}}function Fn(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];In(i)&&Ln(i,t,n,r)}}function In(e){return null!=e}function Wn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e[oe]=r[oe]))}function Hn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function jn(e,t,n,r){if(kn(e)){const o=e.children;for(let e=0;e<o.length;e+=1){const i=o[e];G(i)||r.insert(i.elm,t,n)}}else r.insert(e.elm,t,n)}function Bn(e,t,n,r){r.insert(e,t,n)}function Vn(e,t,n){G(e)&&(function(e,t){const{elm:n,data:{on:r}}=e;if(V(r))return;const{addEventListener:o}=t;for(const e in r)o(n,e,r[e])}(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(V(r))return;const{getClassList:o}=t,i=o(n);for(const e in r)i.add(e)}(t,n),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(V(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,i,s]=r[e];o(n,t,i,s)}}(t,n)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=G(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),c=On(o),a=On(i);let u;for(u in a)V(c[u])&&l.remove(u);for(u in c)V(a[u])&&l.add(u)}(e,t,n),function(e,t,n){const{elm:r,data:{style:o}}=t;if((G(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;q(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,t,n),t.data.external?function(e,t,n){const{data:{attrs:r},elm:o}=t;if(V(r))return;const{removeAttribute:i,setAttribute:s,setProperty:l}=n,c=G(e)?We:e.data.attrs;for(const e in r){const t=r[e];c[e]!==t&&(Se(e)in o?l(o,e,t):I.call(e,3)===Tn?s(o,e,t,ae):I.call(e,5)===Tn?s(o,e,t,de):G(t)||V(t)?i(o,e):s(o,e,t))}}(e,t,n):function(e,t,n){const{attrs:r}=t.data;if(V(r))return;const o=G(e)?We:e.data.attrs;if(o===r)return;const{elm:i}=t,{setAttribute:s,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(Xe(i,e),I.call(e,3)===xn?s(i,e,t,ae):I.call(e,5)===xn?s(i,e,t,de):G(t)||V(t)?l(i,e):s(i,e,t),Ye())}}(e,t,n),function(e,t,n){let{props:o}=t.data;const{spread:i}=t.data;if(V(o)&&V(i))return;let s;if(!G(e)){s=e.data.props;const t=e.data.spread;if(s===o&&t===i)return;V(s)&&(s=We),V(t)||(s=r({},s,t))}V(i)||(o=r({},o,i));const l=G(e),{elm:c,sel:a}=t,{getProperty:u,setProperty:d}=n;for(const e in o){const t=o[e];!l&&t===(An(a,e)?u(c,e):s[e])&&e in s||d(c,e,t)}}(e,t,n)}function Gn(e,t,n){const r=function(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}(t);if(!G(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||V(o)||(e.$shadowToken$=o)}function Un(e,t){const n=e.aChildren||e.children,{renderMode:r,shadowMode:i}=t,s=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||!kn(r))}if(!o)return e;for(;!V(r=x.call(n));)if(!G(r)&&kn(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 Kn(t),t}(n);e.children=s,t.aChildren=s,1!==i&&0!==r||(!function(e,t,n){var r,i;const{cmpSlots:{slotAssignments:s}}=e,l=o(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(G(n))continue;let o="";Cn(n)?o=null!==(i=null===(r=n.data.attrs)||void 0===r?void 0:r.slot)&&void 0!==i?i:"":Mn(n)&&(o=n.slotName);const s=""+o,c=l[s]=l[s]||[];T.call(c,n)}if(e.cmpSlots={owner:n,slotAssignments:l},z(e.isDirty)){const t=h(s);if(t.length!==h(l).length)return void vr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(V(l[r])||s[r].length!==l[r].length)return void vr(e);const o=s[r],i=l[r];for(let t=0,n=l[r].length;t<n;t+=1)if(o[t]!==i[t])return void vr(e)}}}(t,s,e.owner),e.aChildren=s,e.children=He)}const zn=new WeakMap;function Kn(e){zn.set(e,1)}function qn(e){return zn.has(e)}function Yn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(In(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function Xn(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],c=e[s];const a=t.length-1;let u,d,f,h,p=a,m=t[0],g=t[p],w=!1;for(;o<=s&&i<=p;)if(In(l))if(In(c))if(In(m))if(In(g))if(Sn(l,m))Pn(l,m,n,r),l=e[++o],m=t[++i];else if(Sn(c,g))Pn(c,g,n,r),c=e[--s],g=t[--p];else if(Sn(l,g)){let i;Pn(l,g,n,r),i=kn(c)?r.nextSibling(c.trailing.elm):r.nextSibling(c.elm),jn(l,n,i,r),l=e[++o],g=t[--p]}else Sn(c,m)?(Pn(c,m,n,r),jn(m,n,l.elm,r),c=e[--s],m=t[++i]):(void 0===u&&(u=Yn(e,o,s)),d=u[m.key],V(d)?($n(m,n,r,l.elm),m=t[++i]):(f=e[d],In(f)&&(f.sel!==m.sel?$n(m,n,r,l.elm):(Pn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,jn(f,n,l.elm,r))),m=t[++i]));else g=t[--p];else m=t[++i];else c=e[--s];else l=e[++o];if(o<=s||i<=p)if(o>s){let e,o=p;do{e=t[++o]}while(!In(e)&&o<a);h=In(e)?e.elm:null,Dn(t,n,r,h,i,p+1)}else Fn(e,n,r,!0,o,s+1)}function Zn(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void Dn(t,n,r,null);if(0===i)return void Fn(e,n,r,!0);let s=null;for(let o=i-1;o>=0;o-=1){const i=e[o],l=t[o];l!==i&&(In(i)?In(l)?Sn(i,l)?(Pn(i,l,n,r),s=l.elm):(Ln(i,n,r,!0),$n(l,n,r,s),s=l.elm):Ln(i,n,r,!0):In(l)&&($n(l,n,r,s),s=l.elm))}}const Qn=Symbol.iterator;function Jn(e,t,n=He){const r=lr(),{key:o,ref:i}=t,s={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return V(i)||Be(r,i,s),s}function er(e,t,n,r=He){const o=lr(),{key:i,ref:s}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:i,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){T.call(lr().velements,e)}(l),V(s)||Be(o,s,l),l}function tr(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:lr()}}function nr(e){return Kn(e),e}let rr=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const or=l({s:function(e,t,n,r){if(!V(r)&&!V(r.slotAssignments)&&!V(r.slotAssignments[e])&&0!==r.slotAssignments[e].length){const o=[],i=r.slotAssignments[e];for(let e=0;e<i.length;e++){const n=i[e];if(!G(n)){const e=Mn(n);if(e!==!V(t.slotData))continue;if(e){const e=lr();cr(r.owner);try{T.call(o,n.factory(t.slotData,t.key))}finally{cr(e)}}else T.call(o,n)}}n=o}const o=lr(),{renderMode:i,shadowMode:s}=o;return 0===i?(nr(n),n):(1===s&&nr(n),Jn("slot",t,n))},h:Jn,c:er,i:function(e,t){const n=[];if(nr(n),V(e)||null===e)return n;const r=e[Qn]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);g(e)?T.apply(n,e):T.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];nr(n);for(let r=0;r<t;r+=1){const t=e[r];g(t)?T.apply(n,t):T.call(n,t)}return n},t:tr,d:function(e){return null==e?"":String(e)},b:function(e){const t=lr();if(G(t))throw new Error;const n=t;return function(t){wr(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:lr()}},dc:function(e,t,n=He){if(G(e)||V(e))return null;if(!mn(e))throw new Error(`Invalid constructor ${Z(e)} is not a LightningElement constructor.`);const r=function(e){var t;return null===(t=yr.get(e))||void 0===t?void 0:t.sel}(e);if(V(r)||""===r)throw new Error(`Invalid LWC constructor ${Z(e)} does not have a registered name`);return er(r,e,t,n)},fr:function(e,t,n){const r=tr(""),o=tr("");return{type:5,sel:void 0,key:e,elm:void 0,children:[r,...t,o],stable:n,owner:lr(),leading:r,trailing:o}},ti:function(e){return e>0&&!(U(e)||z(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:lr()}},gid:function(e){const t=lr();if(V(e)||""===e)return e;if(G(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?W.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=lr();if(V(e)||""===e)return e;if(G(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return rr(e)},ssf:function(e,t){return{type:6,factory:t,owner:lr(),elm:void 0,sel:void 0,key:void 0,slotName:e}},ddc:function(e,t,n,r=He){if(G(t)||V(t))return null;if(!mn(t))throw new Error(`Invalid LWC Constructor ${Z(t)} for custom element <${e}>.`);return er(e,t,n,r)}});let ir=!1,sr=null;function lr(){return sr}function cr(e){sr=e}const ar=(ur=(e,t)=>{const{createFragment:n}=t;return n(e)},(e,...t)=>{const n=o(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:o},shadowMode:i,renderer:s}=lr(),l=!V(o),c=1===i;let a=0;if(l&&r&&(a|=1),l&&c&&(a|=2),!V(n[a]))return n[a];const u=r&&l?" "+o:"",d=r&&l?` class="${o}"`:"",f=l&&c?" "+o:"";let h="";for(let n=0,r=t.length;n<r;n++)switch(t[n]){case 0:h+=e[n]+u;break;case 1:h+=e[n]+d;break;case 2:h+=e[n]+f;break;case 3:h+=e[n]+d+f}return h+=e[e.length-1],n[a]=ur(h,s),n[a]}});var ur;function dr(e,t){const n=ir,r=sr;let i=[];return Ur(e,e.owner,(()=>{sr=e}),(()=>{const{component:n,context:r,cmpSlots:s,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(G(l)||Vr(e),c=t,!en.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: ${Z(t)}.`);e.cmpTemplate=t,r.tplCache=o(null),r.hasScopedStyles=function(e,t){const{stylesheets:n}=e,r=V(t)?null:t.stylesheets;return fr(n)||fr(r)}(t,e),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:l,setAttribute:c}}=e,{stylesheets:a,stylesheetToken:u}=t,{stylesheets:d}=e,f=1===o&&1===i,{hasScopedStyles:h}=r;let p,m,g;const{stylesheetToken:w,hasTokenInClass:y,hasTokenInAttribute:b}=r;V(w)||(y&&s(n).remove(yn(w)),b&&l(n,yn(w)));const v=hr(a),E=hr(d);(v||E)&&(p=u),V(p)||(h&&(s(n).add(yn(p)),m=!0),f&&(c(n,yn(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 i=[];return hr(n)&&(i=vn(n,r,e)),hr(o)&&T.apply(i,vn(o,r,e)),i}(e,t);r.styleVNodes=0===n.length?null:function(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1!==n||1!==r)return M.call(t,bn);for(let e=0;e<t.length;e++)o(t[e]);return null}(e,n)}var c;e.refVNodes=t.hasRefs?o(null):null,e.velements=[],ir=!0,i=t.call(void 0,or,n,s,r.tplCache);const{styleVNodes:a}=r;G(a)||D.apply(i,a)}))}),(()=>{ir=n,sr=r})),i}function fr(e){if(hr(e))for(let t=0;t<e.length;t++)if(U(e[t][le]))return!0;return!1}function hr(e){return!V(e)&&!G(e)&&e.length>0}let pr=null;function mr(e){return pr===e}function gr(e,t,n){const{component:r,callHook:o,owner:i}=e;Ur(e,i,Y,(()=>{o(r,t,n)}),Y)}function wr(e,t,n,r){const{callHook:o,owner:i}=e;Ur(e,i,Y,(()=>{o(n,t,[r])}),Y)}const yr=new Map;function br(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=lr();let s,l=!1;return Ur(e,o,(()=>{cr(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{cr(i)})),l?dr(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function vr(e){e.isDirty=!0}const Er=new WeakMap;function Cr(e,t){if(!K(t))throw new TypeError("Expected an EventListener but received "+typeof t);let n=Er.get(t);return V(n)&&(n=function(n){wr(e,t,void 0,n)},Er.set(t,n)),n}const Sr=o(null),kr=["rendered","connected","disconnected"];function Mr(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let xr=0;const Tr=new WeakMap;function Ar(e,t,n=[]){return t.apply(e,n)}function Nr(e,t,n){e[t]=n}function Or(e,t){return e[t]}function _r(e){const t=Lr(e);1===t.state&&Pr(e),Wr(t),Ir(t)}function Pr(e){$r(Lr(e))}function $r(e){const{state:t}=e;if(2!==t){const{tro:t}=e;t.reset(),function(e){z(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Sr;t&&Mr(e,t);Hr(e)&&function(e){const{wiredDisconnecting:t}=e.context;Ur(e,e,Y,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),Y)}(e);const{disconnectedCallback:n}=e.def;V(n)||gr(e,n)}(e),jr(e),function(e){const{aChildren:t}=e;Br(t)}(e)}}function Rr(e,t,n,r){const{mode:i,owner:s,tagName:l,hydrated:c}=r,a=gn(t),u={elm:e,def:a,idx:xr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,refVNodes:null,children:He,aChildren:He,velements:He,cmpProps:o(null),cmpFields:o(null),cmpSlots:{slotAssignments:o(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:We,wiredConnecting:He,wiredDisconnecting:He},tro:null,shadowMode:null,stylesheets:null,component:null,shadowRoot:null,renderRoot:null,callHook:Ar,setHook:Nr,getHook:Or,renderer:n};return u.stylesheets=function(e,t){const{stylesheets:n}=t;if(!V(n)){const e=function(e,t){let n=!0;const r=e=>{if(g(e))for(let t=0;t<e.length;t++)r(e[t]);else K(e)||(n=!1)};g(t)?r(t):n=!1;return n}(0,n);if(e)return je(n)}return null}(0,a.ctor),u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(lwcRuntimeFlags.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!G(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=G(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,n),u.tro=Fe(),function(e,t){const n=pr;let r;pr=e;try{const e=new t;if(pr.component!==e)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(pr=n,!V(r))throw _e(e,r),r}}(u,a.ctor),Hr(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=Gt.get(i);if(!V(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=Ut(e,t,s),c=s.dynamic.length>0;T.call(r,(()=>{n.connect(),lwcRuntimeFlags.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),T.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function Dr(e,t){Tr.set(e,t)}function Lr(e){return Tr.get(e)}function Fr(e){return Tr.get(e)}function Ir(e){if(U(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&Ur(e,e,(()=>{}),(()=>{_n(r,t,n,o)}),(()=>{}));e.state}(e,br(e))}}function Wr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Sr;n&&Mr(e,n),Hr(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;V(r)||gr(e,r)}function Hr(e){return a(e.def.wire).length>0}function jr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!V(n)){const e=Fr(n);V(e)||$r(e)}}}function Br(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!G(n)&&!V(n.elm))switch(n.type){case 2:Br(n.children);break;case 3:$r(Lr(n.elm));break}}}function Vr(e){Gr(e.children,e),e.children=He,jr(e),e.velements=He}function Gr(e,t){const{renderRoot:n,renderer:{remove:r}}=t;for(let o=0,i=e.length;o<i;o+=1){const i=e[o];G(i)||(kn(i)?Gr(i.children,t):V(i.elm)||r(i.elm,n))}}function Ur(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!V(i)){_e(e,i);const n=G(t)?void 0:function(e){let t=e;for(;!G(t);){if(!V(t.def.errorCallback))return t;t=t.owner}}(t);if(V(n))throw i;Vr(e);gr(n,n.def.errorCallback,[i,i.wcStack])}}}delete re.$nativeGetElementById$,delete re.$nativeQuerySelectorAll$;let zr=!1;function Kr(e){qr(e,(e=>{l(e)}))}function qr(e,t){t(e);for(let n=0;n<e.length;n++){const r=e[n];g(r)?qr(r,t):t(r)}}const Yr=Symbol("namespace"),Xr=Symbol("type"),Zr=Symbol("parent"),Qr=Symbol("shadow-root"),Jr=Symbol("children"),eo=Symbol("attributes"),to=Symbol("value"),no=Symbol("host"),ro=Symbol("context-providers");var oo;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(oo||(oo={}));const io=/\s+/g;function so(e){return new Set(e.split(io).filter((e=>e.length)))}function lo(e){return Array.from(e).join(" ")}function co(e,t,n){const r=Fr(e);V(r)||(e=r.elm);const o=e[ro];if(V(o))throw new Error("Unable to register context provider on provided `elm`.");o.set(t,n)}function ao(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function uo(e,t){return{[Xr]:oo.Element,tagName:e,[Yr]:null!=t?t:ce,[Zr]:null,[Qr]:null,[Jr]:[],[eo]:[],[ro]:new Map}}function fo(e,t,n=null){const r=e[eo].find((e=>e.name===t&&e[Yr]===n));return r?r.value:null}function ho(e,t,n,r=null){const o=e[eo].find((e=>e.name===t&&e[Yr]===r));V(r)&&(r=null),V(o)?e[eo].push({name:t,[Yr]:r,value:String(n)}):o.value=n}function po(e,t,n){e[eo]=e[eo].filter((e=>e.name!==t&&e[Yr]!==n))}const mo=Y,go=Y,wo=Y,yo=ao("dispatchEvent"),bo=ao("getBoundingClientRect"),vo=ao("querySelector"),Eo=ao("querySelectorAll"),Co=ao("getElementsByTagName"),So=ao("getElementsByClassName"),ko=ao("getChildren"),Mo=ao("getChildNodes"),xo=ao("getFirstChild"),To=ao("getFirstElementChild"),Ao=ao("getLastChild"),No=ao("getLastElementChild"),Oo=Y,_o=new Map;function Po(e){let t=_o.get(e);return V(t)?(t=function(e){return function(t){const n=uo(e);return K(t)&&t(n),n}}(e),_o.set(e,t),t):t}const $o={isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,insert:function(e,t,n){const r=e[Zr];if(null!==r&&r!==t){const t=r[Jr].indexOf(e);r[Jr].splice(t,1)}e[Zr]=t;const o=G(n)?-1:t[Jr].indexOf(n);-1===o?t[Jr].push(e):t[Jr].splice(o,0,e)},remove:function(e,t){const n=t[Jr].indexOf(e);t[Jr].splice(n,1)},cloneNode:function(e){return Object.assign({},e)},createFragment:function(e){return{[Xr]:oo.Raw,[Zr]:null,[to]:e}},createElement:uo,createText:function(e){return{[Xr]:oo.Text,[to]:String(e),[Zr]:null}},createComment:function(e){return{[Xr]:oo.Comment,[to]:e,[Zr]:null}},createCustomElement:function(e,t){return new(Po(e))(t)},nextSibling:function(e){const t=e[Zr];if(G(t))return null;const n=t[Jr].indexOf(e);return t[Jr][n+1]||null},attachShadow:function(e,t){return e[Qr]={[Xr]:oo.ShadowRoot,[Jr]:[],[no]:e,mode:t.mode,delegatesFocus:!!t.delegatesFocus},e[Qr]},getProperty:function(e,t){var n,r;if(t in e)return e[t];if(e[Xr]===oo.Element){const o=Ce(t);if(me(o,e.tagName))return null!==(n=fo(e,o))&&void 0!==n&&n;if(we(o)||ne(o))return fo(e,o);if("input"===e.tagName&&"value"===t)return null!==(r=fo(e,"value"))&&void 0!==r?r:""}},setProperty:function(e,t,n){if(t in e)return e[t]=n;if(e[Xr]===oo.Element){const r=Ce(t);if("innerHTML"===t)return void(e[Jr]=[{[Xr]:oo.Raw,[Zr]:e,[to]:n}]);if(me(r,e.tagName))return!0===n?ho(e,r,""):po(e,r);if(we(r)||ne(r))return ho(e,r,n);if("input"===e.tagName&&"value"===r)return G(n)||V(n)?po(e,"value"):ho(e,"value",n)}},setText:function(e,t){e[Xr]===oo.Text?e[to]=t:e[Xr]===oo.Element&&(e[Jr]=[{[Xr]:oo.Text,[Zr]:e,[to]:t}])},getAttribute:fo,setAttribute:ho,removeAttribute:po,addEventListener:go,removeEventListener:wo,dispatchEvent:yo,getClassList:function(e){function t(){let t=e[eo].find((e=>"class"===e.name&&G(e[Yr])));return V(t)&&(t={name:"class",[Yr]:null,value:""},e[eo].push(t)),t}return{add(...e){const n=t(),r=so(n.value);e.forEach((e=>r.add(e))),n.value=lo(r)},remove(...e){const n=t(),r=so(n.value);e.forEach((e=>r.delete(e))),n.value=lo(r)}}},setCSSStyleProperty:function(e,t,n,r){const o=e[eo].find((e=>"style"===e.name&&G(e[Yr]))),i=`${t}: ${n}${r?" !important":""}`;V(o)?e[eo].push({name:"style",[Yr]:null,value:i}):o.value+=`; ${i}`},getBoundingClientRect:bo,querySelector:vo,querySelectorAll:Eo,getElementsByTagName:Co,getElementsByClassName:So,getChildren:ko,getChildNodes:Mo,getFirstChild:xo,getFirstElementChild:To,getLastChild:Ao,getLastElementChild:No,isConnected:function(e){return!G(e[Zr])},insertStylesheet:mo,assertInstanceOfHTMLElement:Oo,ownerDocument:ao("ownerDocument"),registerContextConsumer:function(e,t,n){let r=e;do{if(r[Xr]===oo.Element){const e=r[ro].get(t);if(!V(e)){e(n);break}}r=r[Xr]===oo.Element?r[Zr]:r[no]}while(!G(r))}};function Ro(e,n){return e.map((e=>{switch(e[Xr]){case oo.Text:return function(e,n){if(""===e)return"";if("style"===n)return function(e){if(!function(e){if(1!==e.childNodes.length)return!1;const t=e.childNodes[0];return"style"===t.nodeName&&1===t.childNodes.length&&"#text"===t.childNodes[0].nodeName}(t.parseFragment(`<style>${e}</style>`)))throw new Error("CSS contains unsafe characters and cannot be serialized inside a style element")}(e),e;return Me(e)}(e[to],n);case oo.Comment:return`\x3c!--${Me(e[to])}--\x3e`;case oo.Raw:return e[to];case oo.Element:return Do(e)}})).join("")}function Do(e){let t="";const n=e.tagName,r=e[Yr],o=r!==ce,i=e[Jr].length>0;var s;return t+=`<${n}${e[eo].length?` ${s=e[eo],s.map((e=>e.value.length?`${e.name}="${Me(e.value,!0)}"`:e.name)).join(" ")}`:""}`,o&&!i?(t+="/>",t):(t+=">",e[Qr]&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${Ro(e[Jr])}</template>`}(e[Qr])),t+=Ro(e[Jr],n),function(e,t){return t===ce&&fe.has(e.toLowerCase())}(n,r)&&!i||(t+=`</${n}>`),t)}const Lo={[Xr]:oo.Element,tagName:"fake-root-element",[Yr]:ce,[Zr]:null,[Qr]:null,[Jr]:[],[eo]:[],[ro]:new Map};l(Dt),p(Dt.prototype),exports.LightningElement=Dt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){return jt(e,co)},exports.createElement=function(){throw new Error("createElement is not supported in @lwc/engine-server, only @lwc/engine-dom.")},exports.freezeTemplate=function(e){lwcRuntimeFlags.ENABLE_FROZEN_TEMPLATE?(l(e),V(e.stylesheets)||Kr(e.stylesheets)):function(e){s(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return V(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=V(e)?void 0:e.shadowAttribute}})}(e)},exports.getComponentDef=function(e){const t=gn(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:Ce(e)};const c={};for(const e in s)c[e]=s[e].value;return{ctor:n,name:r,props:l,methods:c}},exports.isComponentConstructor=mn,exports.parseFragment=ar,exports.parseSVGFragment=ar,exports.readonly=function(e){return Pt(e)},exports.register=function(e){for(let t=0;t<kr.length;++t){const n=kr[t];if(n in e){let t=Sr[n];V(t)&&(Sr[n]=t=[]),T.call(t,e[n])}}},exports.registerComponent=function(e,t){return K(e)&&yr.set(e,t),e},exports.registerDecorators=function(e,t){const n=e.prototype,{publicProps:r,publicMethods:i,wire:l,track:a,fields:u}=t,d=o(null),f=o(null),h=o(null),p=o(null),m=o(null),g=o(null);let w;if(!V(r))for(const e in r){const t=r[e];if(g[e]=t.config,w=c(n,e),t.config>0){if(V(w))throw new Error;w=Yt(e,w)}else w=V(w)||V(w.get)?qt(e):Yt(e,w);f[e]=w,s(n,e,w)}if(V(i)||L.call(i,(e=>{if(w=c(n,e),V(w))throw new Error;d[e]=w})),!V(l))for(const e in l){const{adapter:t,method:r,config:o,dynamic:i=[]}=l[e];if(w=c(n,e),1===r){if(V(w))throw new Error;h[e]=w,zt(w,t,o,i)}else w=Zt(e),p[e]=w,Kt(w,t,o,i),s(n,e,w)}if(!V(a))for(const e in a)w=c(n,e),w=Xt(e),s(n,e,w);if(!V(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=c(n,t);const o=!V(r)&&t in r,i=!V(a)&&t in a;o||i||(m[t]=Wt(t))}return function(e,t){Qt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},exports.registerTemplate=function(e){return en.add(e),e},exports.renderComponent=function(e,t,n={}){if(!q(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!K(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||G(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=$o.createElement(e);Rr(r,t,$o,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r[Zr]=Lo,_r(r),Do(r)},exports.renderer=$o,exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(V(xe[e])){const n=h(xe).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=Te[e];if(!V(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(Te,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},exports.setFeatureFlagForTest=function(e,t){},exports.setHooks=function(e){var t;n.isFalse(zr,"Hooks are already overridden, only one definition is allowed."),zr=!0,t=e.sanitizeHtmlContent,rr=t},exports.track=function(e){if(1===arguments.length)return e;throw new Error},exports.unwrap=function(e){return e},exports.wire=function(e,t){throw new Error};
|
|
1
|
+
"use strict";function e(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var t=e(require("parse5"));var n=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:r,create:o,defineProperties:i,defineProperty:s,freeze:l,getOwnPropertyDescriptor:c,getOwnPropertyNames:a,getPrototypeOf:u,hasOwnProperty:d,isFrozen:f,keys:p,seal:h,setPrototypeOf:m}=Object,{isArray:g}=Array,{concat:w,copyWithin:y,fill:b,filter:v,find:E,findIndex:C,indexOf:S,join:k,map:M,pop:T,push:x,reduce:A,reverse:N,shift:O,slice:_,some:P,sort:$,splice:R,unshift:D,forEach:L}=Array.prototype,{fromCharCode:F}=String,{charCodeAt:I,replace:H,split:W,slice:j,toLowerCase:B}=String.prototype;function V(e){return void 0===e}function G(e){return null===e}function U(e){return!0===e}function z(e){return!1===e}function K(e){return"function"==typeof e}function q(e){return"string"==typeof e}function Y(){}const X={}.toString;function Z(e){return e&&e.toString?g(e)?k.call(M.call(e,Z),","):e.toString():"object"==typeof e?X.call(e):e+""}function Q(e,t){do{const n=c(e,t);if(!V(n))return n;e=u(e)}while(null!==e)}const J=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:ee,AriaPropNameToAttrNameMap:te}=(()=>{const e=o(null),t=o(null);return L.call(J,(n=>{const r=B.call(H.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function ne(e){return e in ee}const re="object"==typeof globalThis?globalThis:window,oe="$shadowResolver$",ie="$shadowStaticNode$",se="$$lwc-synthetic-mode",le="$scoped$",ce="http://www.w3.org/1999/xhtml",ae="http://www.w3.org/XML/1998/namespace",ue="http://www.w3.org/2000/svg",de="http://www.w3.org/1999/xlink",fe=new Set(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr","param","keygen","menuitem"]);const pe=/-([a-z])/g,he=new Map([["autofocus",new Set(["button","input","keygen","select","textarea"])],["autoplay",new Set(["audio","video"])],["checked",new Set(["command","input"])],["disabled",new Set(["button","command","fieldset","input","keygen","optgroup","select","textarea"])],["formnovalidate",new Set(["button"])],["hidden",new Set],["loop",new Set(["audio","bgsound","marquee","video"])],["multiple",new Set(["input","select"])],["muted",new Set(["audio","video"])],["novalidate",new Set(["form"])],["open",new Set(["details"])],["readonly",new Set(["input","textarea"])],["required",new Set(["input","select","textarea"])],["reversed",new Set(["ol"])],["selected",new Set(["option"])]]);function me(e,t){const n=he.get(e);return void 0!==n&&(0===n.size||n.has(t))}const ge=new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","contextmenu","dir","draggable","enterkeyhint","exportparts","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","part","slot","spellcheck","style","tabindex","title","translate"]);function we(e){return ge.has(e)}const{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:ye,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:be}=(()=>{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}})(),ve=new Map,Ee=new Map;function Ce(e){const t=te[e];if(!V(t))return t;const n=be.get(e);if(!V(n))return n;const r=ve.get(e);if(!V(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=I.call(e,t);o+=n>=65&&n<=90?"-"+F(n+32):F(n)}return ve.set(e,o),o}function Se(e){const t=ee[e];if(!V(t))return t;const n=ye.get(e);if(!V(n))return n;const r=Ee.get(e);if(!V(r))return r;const o=H.call(e,pe,(e=>e[1].toUpperCase()));return Ee.set(e,o),o}const ke={'"':""","'":"'","<":"<",">":">","&":"&"};function Me(e,t=!1){const n=t?/["&]/g:/["'<>&]/g;return e.replace(n,(e=>ke[e]))}const Te={DUMMY_TEST_FLAG:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_WIRE_SYNC_EMIT:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_FROZEN_TEMPLATE:null,DISABLE_ARIA_REFLECTION_POLYFILL:null};re.lwcRuntimeFlags||Object.defineProperty(re,"lwcRuntimeFlags",{value:o(null)});const xe=re.lwcRuntimeFlags;if("function"!=typeof Event){class e{}s(re,"Event",{value:e,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class e extends Event{}s(re,"CustomEvent",{value:e,configurable:!0,writable:!0})}function Ae(e,t){return V(c(t,e))}function Ne(e,t){const n=function(e){return{get(){return this.hasAttribute(e)?this.getAttribute(e):null},set(t){G(t)?this.removeAttribute(e):this.setAttribute(e,t)},configurable:!0,enumerable:!0}}(te[e]);s(t,e,n)}function Oe(e){return`<${B.call(e.tagName)}>`}function _e(e,t){if(!f(t)&&V(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!G(n);)x.call(t,Oe(n)),n=n.owner;return t.reverse().join("\n\t")}(e);s(t,"wcStack",{get:()=>n})}}const Pe=new Set;function $e(e,t,n,r){let o=`[LWC ${e}]: ${t}`;if(V(n)||(o=`${o}\n${function(e){const t=[];let n="";for(;!G(e.owner);)x.call(t,n+Oe(e)),e=e.owner,n+="\t";return k.call(t,"\n")}(n)}`),r){if(Pe.has(o))return;Pe.add(o)}try{throw new Error(o)}catch(t){console[e](t)}}function Re(e,t){$e("error",e,t,!1)}const De=new WeakMap;const Le={observe(e){e()},reset(){},link(){}};function Fe(e){return Le}const Ie=32,He=h(o(null)),We=h([]);function je(e){const t=[];for(const n of e)g(n)?t.push(...je(n)):t.push(n);return t}function Be(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}function Ve(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Ge(e){return K(e)&&d.call(e,"__circular__")}const Ue="undefined"!=typeof HTMLElement?HTMLElement:function(){},ze=Ue.prototype;let Ke,qe=null;function Ye(e,t){qe=null,Ke=void 0}function Xe(e,t){qe=e,Ke=t}const Ze=o(null);function Qe(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n)}L.call(p(te),(e=>{const t=Q(ze,e);V(t)||(Ze[e]=t)})),L.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=Q(ze,e);V(t)||(Ze[e]=t)}));const{isArray:Je}=Array,{prototype:et,getPrototypeOf:tt,create:nt,defineProperty:rt,isExtensible:ot,getOwnPropertyDescriptor:it,getOwnPropertyNames:st,getOwnPropertySymbols:lt,preventExtensions:ct,hasOwnProperty:at}=Object,{push:ut,concat:dt}=Array.prototype;function ft(e){return void 0===e}function pt(e){return"function"==typeof e}const ht=new WeakMap;function mt(e,t){ht.set(e,t)}const gt=e=>ht.get(e)||e;class wt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(at.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;ft(n)||(e.get=this.wrapGetter(n)),ft(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=it(n,t);if(!ft(r)){const n=this.wrapDescriptor(r);rt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;dt.call(st(t),lt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;ft(n)||at.call(e,n)||rt(e,n,nt(null)),ct(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=ft(n)||at.call(t,n)?[]:[n];return ut.apply(r,st(t)),ut.apply(r,lt(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!ot(e)&&(!!ot(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return tt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=it(n,t);if(ft(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},rt(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const yt=new WeakMap,bt=new WeakMap,vt=new WeakMap,Et=new WeakMap;class Ct extends wt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=yt.get(e);if(!ft(t))return t;const n=this,r=function(){return n.wrapValue(e.call(gt(this)))};return yt.set(e,r),vt.set(r,e),r}wrapSetter(e){const t=bt.get(e);if(!ft(t))return t;const n=function(t){e.call(gt(this),gt(t))};return bt.set(e,n),Et.set(n,e),n}unwrapDescriptor(e){if(at.call(e,"value"))e.value=gt(e.value);else{const{set:t,get:n}=e;ft(n)||(e.get=this.unwrapGetter(n)),ft(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=vt.get(e);if(!ft(t))return t;const n=this,r=function(){return gt(e.call(n.wrapValue(this)))};return yt.set(r,e),vt.set(e,r),r}unwrapSetter(e){const t=Et.get(e);if(!ft(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return bt.set(r,e),Et.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&&Je(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(ot(e)){const{originalTarget:t}=this;if(ct(t),ot(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!at.call(r,t)||(rt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const St=new WeakMap,kt=new WeakMap;class Mt extends wt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=St.get(e);if(!ft(t))return t;const n=this,r=function(){return n.wrapValue(e.call(gt(this)))};return St.set(e,r),r}wrapSetter(e){const t=kt.get(e);if(!ft(t))return t;const n=function(e){};return kt.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 Tt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(Je(e))return!0;const t=tt(e);return t===et||null===t||null===tt(t)}const xt=(e,t)=>{},At=(e,t)=>{};function Nt(e){return Je(e)?[]:{}}const Ot=Symbol.for("@@lockerLiveValue"),_t=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=pt(t)?t:At,this.valueObserved=pt(n)?n:xt,this.valueIsObservable=pt(r)?r:Tt,this.tagPropertyKey=o}getProxy(e){const t=gt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=gt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return gt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(ft(t)){const n=new Ct(this,e);t=new Proxy(Nt(e),n),mt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(ft(t)){const n=new Mt(this,e);t=new Proxy(Nt(e),n),mt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:function(e,t){},valueMutated:function(e,t){const n=De.get(e);if(!V(n)){const e=n[t];if(!V(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}},tagPropertyKey:Ot});function Pt(e){return _t.getReadOnlyProxy(e)}function $t(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!K(n))throw new TypeError(`Detected invalid public property descriptor for HTMLElement.prototype.${e} definition. Missing the standard getter.`);if(!K(r))throw new TypeError(`Detected invalid public property descriptor for HTMLElement.prototype.${e} definition. Missing the standard setter.`);return{enumerable:o,configurable:i,get(){const e=Lr(this);if(!mr(e))return n.call(e.elm)},set(t){const n=Lr(this);return Qe(n,e,t),r.call(n.elm,t)}}}const Rt=new WeakMap,Dt=function(){if(G(hr))throw new TypeError("Illegal constructor");const e=hr,{def:t,elm:n}=e,{bridge:r}=t;if(m(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 Dr(this,e),Dr(n,e),1===e.renderMode?e.renderRoot=function(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{[se]:1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,Dr(s,e),s}(e):e.renderRoot=n,this};Dt.prototype={constructor:Dt,dispatchEvent(e){const t=Lr(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=Lr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,Cr(r,t),n)},removeEventListener(e,t,n){const r=Lr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,Cr(r,t),n)},hasAttribute(e){const t=Lr(this),{elm:n,renderer:{getAttribute:r}}=t;return!G(r(n,e))},hasAttributeNS(e,t){const n=Lr(this),{elm:r,renderer:{getAttribute:o}}=n;return!G(o(r,t,e))},removeAttribute(e){const t=Lr(this),{elm:n,renderer:{removeAttribute:r}}=t;Xe(n,e),r(n,e),Ye()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=Lr(this);Xe(n,t),r(n,t,e),Ye()},getAttribute(e){const t=Lr(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=Lr(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=Lr(this),{elm:r,renderer:{setAttribute:o}}=n;Xe(r,e),o(r,e,t),Ye()},setAttributeNS(e,t,n){const r=Lr(this),{elm:o,renderer:{setAttribute:i}}=r;Xe(o,t),i(o,t,n,e),Ye()},getBoundingClientRect(){const e=Lr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=Lr(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=Lr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return Lr(this).shadowRoot},get refs(){const e=Lr(this);if(ir)return;const{refVNodes:t,cmpTemplate:n}=e;if(G(t))return;let r=Rt.get(t);if(V(r)){r=o(null);for(const e of p(t))r[e]=t[e].elm;l(r),Rt.set(t,r)}return r},set refs(e){s(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=Lr(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=Lr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=Lr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=Lr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=Lr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=Lr(this);return e.renderer.getLastElementChild(e.elm)},get ownerDocument(){const e=Lr(this);return e.renderer.ownerDocument(e.elm)},render(){return Lr(this).def.template},toString(){return`[object ${Lr(this).def.name}]`}};const Lt=o(null),Ft=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Ft)Lt[e]={value(t){const n=Lr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};i(Dt.prototype,Lt);const It=o(null);for(const e in Ze)It[e]=$t(e,Ze[e]);function Ht(e){return{get(){return Lr(this).cmpFields[e]},set(t){Qe(Lr(this),e,t)},enumerable:!0,configurable:!0}}i(Dt.prototype,It),function(e=Element.prototype){const t=p(te);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];Ae(r,e)&&Ne(r,e)}}(Dt.prototype),s(Dt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const Wt=new Map;function jt(e,t){let n=Wt.get(e);if(!V(n))throw new Error("Adapter already has a context provider.");n=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),Wt.set(e,n);const r=new WeakSet;return(e,o)=>{if(r.has(e))throw new Error(`Adapter was already installed on ${e}.`);r.add(e);const{consumerConnectedCallback:i,consumerDisconnectedCallback:s}=o;t(e,n,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{V(s)||s(r)})),i(r)}))}}const Bt="$$DeprecatedWiredElementHostKey$$",Vt="$$DeprecatedWiredParamsMetaKey$$",Gt=new Map;function Ut(e,t,n){const{method:r,adapter:o,configCallback:i,dynamic:l}=n;const c=V(r)?function(e,t){return n=>{Qe(e,t,n)}}(e,t):function(e,t){return n=>{Ur(e,e.owner,Y,(()=>{t.call(e.component,n)}),Y)}}(e,r),a=e=>{c(e)};let u,d;s(a,Bt,{value:e.elm}),s(a,Vt,{value:l}),Ur(e,e,Y,(()=>{d=new o(a)}),Y);const{computeConfigAndUpdate:f,ro:p}=function(e,t,n){const r=Fe();return{computeConfigAndUpdate:()=>{let o;r.observe((()=>o=t(e))),n(o)},ro:r}}(e.component,i,(t=>{Ur(e,e,Y,(()=>{d.update(t,u)}),Y)}));return V(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Wt.get(r);if(V(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{registerContextConsumer:c}}=e;x.call(s,(()=>{c(i,o,{setNewContext(e){n(e)},setDisconnectedCallback(e){x.call(l,e)}})}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>p.reset()}}function zt(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Gt.set(e,o)}function Kt(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Gt.set(e,o)}function qt(e){return{get(){const t=Lr(this);if(!mr(t))return t.cmpProps[e]},set(t){Lr(this).cmpProps[e]=t},enumerable:!0,configurable:!0}}function Yt(e,t){const{get:r,set:o,enumerable:i,configurable:s}=t;return n.invariant(K(r),`Invalid public accessor ${Z(e)} decorated with @api. The property is missing a getter.`),{get(){return r.call(this)},set(e){Lr(this),o&&o.call(this,e)},enumerable:i,configurable:s}}function Xt(e){return{get(){return Lr(this).cmpFields[e]},set(t){Qe(Lr(this),e,t)},enumerable:!0,configurable:!0}}function Zt(e){return{get(){return Lr(this).cmpFields[e]},set(t){Qe(Lr(this),e,t)},enumerable:!0,configurable:!0}}const Qt=new Map;const Jt={apiMethods:He,apiFields:He,apiFieldsConfig:He,wiredMethods:He,wiredFields:He,observedFields:He};const en=new Set;function tn(){return[]}en.add(tn);const nn=o(null),rn=o(null);function on(e){let t=nn[e];return V(t)&&(t=nn[e]=function(){const t=Lr(this),{getHook:n}=t;return n(t.component,e)}),t}function sn(e){let t=rn[e];return V(t)&&(t=rn[e]=function(t){const n=Lr(this),{setHook:r}=n;t=Pt(t),r(n.component,e,t)}),t}function ln(e){return function(){const t=Lr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,_.call(arguments))}}function cn(e,t){return function(n,r,o){if(r===o)return;const i=e[n];V(i)?V(t)||t.apply(this,arguments):function(e,t){return e!==qe||t!==Ke}(this,n)&&(this[i]=o)}}function an(e,t,n){let r;K(e)?r=class extends e{}:(r=function(){throw new TypeError("Illegal constructor")},m(r,e),m(r.prototype,e.prototype),s(r.prototype,"constructor",{writable:!0,configurable:!0,value:r}));const l=o(null),{attributeChangedCallback:c}=e.prototype,{observedAttributes:a=[]}=e,u=o(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[Ce(n)]=n,u[n]={get:on(n),set:sn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:ln(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:cn(l,c)},s(r,"observedAttributes",{get:()=>[...a,...p(l)]}),i(r.prototype,u),r}const un=an(Ue,a(Ze),[]);l(un),h(un.prototype);const dn="function"==typeof WeakRef&&"function"==typeof FinalizationRegistry;const fn=dn?class{constructor(){this._map=new WeakMap,this._registry=new FinalizationRegistry((e=>{for(let t=e.length-1;t>=0;t--){V(e[t].deref())&&R.call(e,t,1)}}))}_getWeakRefs(e){let t=this._map.get(e);return V(t)&&(t=[],this._map.set(e,t)),t}get(e){const t=this._getWeakRefs(e),n=new Set;for(const e of t){const t=e.deref();V(t)||n.add(t)}return n}add(e,t){const n=this._getWeakRefs(e);x.call(n,new WeakRef(t)),this._registry.register(t,n)}delete(e){this._map.delete(e)}}:class{constructor(){this._map=new WeakMap}_getValues(e){let t=this._map.get(e);return V(t)&&(t=new Set,this._map.set(e,t)),t}get(e){return this._getValues(e)}add(e,t){this._getValues(e).add(t)}delete(e){this._map.delete(e)}};new WeakMap,new fn,new fn,new fn;const pn=new WeakMap;function hn(e){const{shadowSupportMode:t,renderMode:n}=e,s=function(e){const t=Qt.get(e);return V(t)?Jt:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:a,wiredFields:d,wiredMethods:f,observedFields:h}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=u(e);if(G(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(Ge(t)){const e=Ve(t);t=e===t?Dt:e}return t}(e),C=E!==Dt?gn(E):wn,S=an(C.bridge,p(l),p(a)),k=r(o(null),C.props,l),M=r(o(null),C.propsConfig,c),T=r(o(null),C.methods,a),x=r(o(null),C.wire,d,f);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let A=C.shadowSupportMode;V(t)||(A=t);let N=C.renderMode;V(n)||(N="light"===n?0:1);const O=function(e){var t;return null===(t=yr.get(e))||void 0===t?void 0:t.tmpl}(e)||C.template,_=e.name||C.name;i(m,h);return{ctor:e,name:_,wire:x,props:k,propsConfig:M,methods:T,bridge:S,template:O,renderMode:N,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function mn(e){if(!K(e))return!1;if(e.prototype instanceof Dt)return!0;let t=e;do{if(Ge(t)){const e=Ve(t);if(e===t)return!0;t=e}if(t===Dt)return!0}while(!G(t)&&(t=u(t)));return!1}function gn(e){let t=pn.get(e);if(V(t)){if(Ge(e)){return t=gn(Ve(e)),pn.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=hn(e),pn.set(e,t)}return t}const wn={ctor:Dt,name:Dt.name,props:It,propsConfig:He,methods:He,renderMode:1,shadowSupportMode:"reset",wire:He,bridge:un,template:tn,render:Dt.prototype.render};function yn(e){return`${e}-host`}function bn(e){return or.h("style",{key:"style",attrs:{type:"text/css"}},[or.t(e)])}function vn(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(g(s))x.apply(r,vn(s,t,n));else{const e=s[le];if(lwcRuntimeFlags.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){Re("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let c;1===n.renderMode?c=0===n.shadowMode:(V(o)&&(o=En(n)),c=G(o)||0===o.shadowMode),x.call(r,s(i,l,c))}}return r}function En(e){let t=e;for(;!G(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Cn(e){const{type:t}=e;return 2===t||3===t}function Sn(e,t){return e.key===t.key&&e.sel===t.sel}function kn(e){return 5===e.type}function Mn(e){return 6===e.type}const Tn=58;const xn=58;function An(e,t){return"input"===e&&("value"===t||"checked"===t)}const Nn=o(null);function On(e){if(null==e)return He;e=q(e)?e:e+"";let t=Nn[e];if(t)return t;t=o(null);let n,r=0;const i=e.length;for(n=0;n<i;n++)I.call(e,n)===Ie&&(n>r&&(t[j.call(e,r,n)]=!0),r=n+1);return n>r&&(t[j.call(e,r,n)]=!0),Nn[e]=t,t}function _n(e,t,n,r){qn(t)?Xn(e,t,n,r):Zn(e,t,n,r)}function Pn(e,t,n,r){var o,i;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&Wn(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:i}=t;i?Zn(e.children,o,n,r):Xn(e.children,o,n,r);t.elm=t.leading.elm}(e,t,n,r);break;case 2:!function(e,t,n){const r=t.elm=e.elm;Vn(e,t,n),_n(e.children,t.children,r,n)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:r);break;case 3:!function(e,t,n,r){if(e.ctor!==t.ctor){const o=r.nextSibling(e.elm);Ln(e,n,r,!0),Rn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;if(Vn(e,t,r),!V(o)){Un(t,o);const{shadowMode:n,renderMode:r}=o;0==n&&0!==r&&qn(e.children)&&Kn(t.children)}_n(e.children,t.children,n,r),V(o)||function(e){Ir(e)}(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function $n(e,t,n,r){var o,i;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:i}=r,s=e.elm=i(e.text);Hn(s,o,r),Bn(s,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:i}=r,s=e.elm=i(e.text);Hn(s,o,r),Bn(s,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:i,isSyntheticShadowDefined:s}=r,l=e.elm=i(e.fragment,!0);Hn(l,o,r);const{renderMode:c,shadowMode:a}=o;s&&(1!==a&&0!==c||(l[ie]=!0));Bn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;Dn(o,t,r,n),e.elm=e.leading.elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:i,data:{svg:s}}=e,{createElement:l}=r,c=U(s)?ue:void 0,a=e.elm=l(o,c);Hn(a,i,r),Gn(a,i,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(a,e),Vn(null,e,r),Bn(a,t,n,r),Dn(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:Rn(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function Rn(e,t,n,r){const{sel:o,owner:i}=e,{createCustomElement:s}=r;let l;let c,a;lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(c=e=>{_r(e)},a=e=>{Pr(e)});const u=s(o.toLowerCase(),(t=>{l=function(e,t,n){let r=Fr(e);if(!V(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=Rr(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}),c,a);e.elm=u,e.vm=l,Hn(u,i,r),Gn(u,i,r),l&&Un(e,l),Vn(null,e,r),Bn(u,t,n,r),l&&Hr(l),Dn(e.children,u,r,null),l&&function(e){Ir(e)}(l)}function Dn(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];In(i)&&$n(i,t,n,r)}}function Ln(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?Fn(e.children,t,n,r):function(e,t,n){n.remove(e,t)}(i,t,n)),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;Fn(e.children,i,n,t);break}case 3:{const{vm:t}=e;V(t)||function(e){$r(e)}(t)}}}function Fn(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];In(i)&&Ln(i,t,n,r)}}function In(e){return null!=e}function Hn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e[oe]=r[oe]))}function Wn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function jn(e,t,n,r){if(kn(e)){const o=e.children;for(let e=0;e<o.length;e+=1){const i=o[e];G(i)||r.insert(i.elm,t,n)}}else r.insert(e.elm,t,n)}function Bn(e,t,n,r){r.insert(e,t,n)}function Vn(e,t,n){G(e)&&(function(e,t){const{elm:n,data:{on:r}}=e;if(V(r))return;const{addEventListener:o}=t;for(const e in r)o(n,e,r[e])}(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(V(r))return;const{getClassList:o}=t,i=o(n);for(const e in r)i.add(e)}(t,n),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(V(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,i,s]=r[e];o(n,t,i,s)}}(t,n)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=G(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),c=On(o),a=On(i);let u;for(u in a)V(c[u])&&l.remove(u);for(u in c)V(a[u])&&l.add(u)}(e,t,n),function(e,t,n){const{elm:r,data:{style:o}}=t;if((G(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;q(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,t,n),t.data.external?function(e,t,n){const{data:{attrs:r},elm:o}=t;if(V(r))return;const{removeAttribute:i,setAttribute:s,setProperty:l}=n,c=G(e)?He:e.data.attrs;for(const e in r){const t=r[e];c[e]!==t&&(Se(e)in o?l(o,e,t):I.call(e,3)===xn?s(o,e,t,ae):I.call(e,5)===xn?s(o,e,t,de):G(t)||V(t)?i(o,e):s(o,e,t))}}(e,t,n):function(e,t,n){const{attrs:r}=t.data;if(V(r))return;const o=G(e)?He:e.data.attrs;if(o===r)return;const{elm:i}=t,{setAttribute:s,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(Xe(i,e),I.call(e,3)===Tn?s(i,e,t,ae):I.call(e,5)===Tn?s(i,e,t,de):G(t)||V(t)?l(i,e):s(i,e,t),Ye())}}(e,t,n),function(e,t,n){let{props:o}=t.data;const{spread:i}=t.data;if(V(o)&&V(i))return;let s;if(!G(e)){s=e.data.props;const t=e.data.spread;if(s===o&&t===i)return;V(s)&&(s=He),V(t)||(s=r({},s,t))}V(i)||(o=r({},o,i));const l=G(e),{elm:c,sel:a}=t,{getProperty:u,setProperty:d}=n;for(const e in o){const t=o[e];!l&&t===(An(a,e)?u(c,e):s[e])&&e in s||d(c,e,t)}}(e,t,n)}function Gn(e,t,n){const r=function(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}(t);if(!G(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||V(o)||(e.$shadowToken$=o)}function Un(e,t){const n=e.aChildren||e.children,{renderMode:r,shadowMode:i}=t,s=function(e){const t=[],n=[];let r,o=!1;for(let t=e.length-1;t>-1;t-=1){const r=e[t];x.call(n,r),o=o||!(!r||!kn(r))}if(!o)return e;for(;!V(r=T.call(n));)if(!G(r)&&kn(r)){const e=r.children;for(let t=e.length-2;t>0;t-=1)x.call(n,e[t])}else x.call(t,r);return Kn(t),t}(n);e.children=s,t.aChildren=s,1!==i&&0!==r||(!function(e,t,n){var r,i;const{cmpSlots:{slotAssignments:s}}=e,l=o(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(G(n))continue;let o="";Cn(n)?o=null!==(i=null===(r=n.data.attrs)||void 0===r?void 0:r.slot)&&void 0!==i?i:"":Mn(n)&&(o=n.slotName);const s=""+o,c=l[s]=l[s]||[];x.call(c,n)}if(e.cmpSlots={owner:n,slotAssignments:l},z(e.isDirty)){const t=p(s);if(t.length!==p(l).length)return void vr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(V(l[r])||s[r].length!==l[r].length)return void vr(e);const o=s[r],i=l[r];for(let t=0,n=l[r].length;t<n;t+=1)if(o[t]!==i[t])return void vr(e)}}}(t,s,e.owner),e.aChildren=s,e.children=We)}const zn=new WeakMap;function Kn(e){zn.set(e,1)}function qn(e){return zn.has(e)}function Yn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(In(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function Xn(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],c=e[s];const a=t.length-1;let u,d,f,p,h=a,m=t[0],g=t[h],w=!1;for(;o<=s&&i<=h;)if(In(l))if(In(c))if(In(m))if(In(g))if(Sn(l,m))Pn(l,m,n,r),l=e[++o],m=t[++i];else if(Sn(c,g))Pn(c,g,n,r),c=e[--s],g=t[--h];else if(Sn(l,g)){let i;Pn(l,g,n,r),i=kn(c)?r.nextSibling(c.trailing.elm):r.nextSibling(c.elm),jn(l,n,i,r),l=e[++o],g=t[--h]}else Sn(c,m)?(Pn(c,m,n,r),jn(m,n,l.elm,r),c=e[--s],m=t[++i]):(void 0===u&&(u=Yn(e,o,s)),d=u[m.key],V(d)?($n(m,n,r,l.elm),m=t[++i]):(f=e[d],In(f)&&(f.sel!==m.sel?$n(m,n,r,l.elm):(Pn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,jn(f,n,l.elm,r))),m=t[++i]));else g=t[--h];else m=t[++i];else c=e[--s];else l=e[++o];if(o<=s||i<=h)if(o>s){let e,o=h;do{e=t[++o]}while(!In(e)&&o<a);p=In(e)?e.elm:null,Dn(t,n,r,p,i,h+1)}else Fn(e,n,r,!0,o,s+1)}function Zn(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void Dn(t,n,r,null);if(0===i)return void Fn(e,n,r,!0);let s=null;for(let o=i-1;o>=0;o-=1){const i=e[o],l=t[o];l!==i&&(In(i)?In(l)?Sn(i,l)?(Pn(i,l,n,r),s=l.elm):(Ln(i,n,r,!0),$n(l,n,r,s),s=l.elm):Ln(i,n,r,!0):In(l)&&($n(l,n,r,s),s=l.elm))}}const Qn=Symbol.iterator;function Jn(e,t,n=We){const r=lr(),{key:o,ref:i}=t,s={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return V(i)||Be(r,i,s),s}function er(e,t,n,r=We){const o=lr(),{key:i,ref:s}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:i,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){x.call(lr().velements,e)}(l),V(s)||Be(o,s,l),l}function tr(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:lr()}}function nr(e){return Kn(e),e}let rr=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const or=l({s:function(e,t,n,r){if(!V(r)&&!V(r.slotAssignments)&&!V(r.slotAssignments[e])&&0!==r.slotAssignments[e].length){const o=[],i=r.slotAssignments[e];for(let e=0;e<i.length;e++){const n=i[e];if(!G(n)){const e=Mn(n);if(e!==!V(t.slotData))continue;if(e){const e=lr();cr(r.owner);try{x.call(o,n.factory(t.slotData,t.key))}finally{cr(e)}}else x.call(o,n)}}n=o}const o=lr(),{renderMode:i,shadowMode:s}=o;return 0===i?(nr(n),n):(1===s&&nr(n),Jn("slot",t,n))},h:Jn,c:er,i:function(e,t){const n=[];if(nr(n),V(e)||null===e)return n;const r=e[Qn]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);g(e)?x.apply(n,e):x.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];nr(n);for(let r=0;r<t;r+=1){const t=e[r];g(t)?x.apply(n,t):x.call(n,t)}return n},t:tr,d:function(e){return null==e?"":String(e)},b:function(e){const t=lr();if(G(t))throw new Error;const n=t;return function(t){wr(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:lr()}},dc:function(e,t,n=We){if(G(e)||V(e))return null;if(!mn(e))throw new Error(`Invalid constructor ${Z(e)} is not a LightningElement constructor.`);const r=function(e){var t;return null===(t=yr.get(e))||void 0===t?void 0:t.sel}(e);if(V(r)||""===r)throw new Error(`Invalid LWC constructor ${Z(e)} does not have a registered name`);return er(r,e,t,n)},fr:function(e,t,n){const r=tr(""),o=tr("");return{type:5,sel:void 0,key:e,elm:void 0,children:[r,...t,o],stable:n,owner:lr(),leading:r,trailing:o}},ti:function(e){return e>0&&!(U(e)||z(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:lr()}},gid:function(e){const t=lr();if(V(e)||""===e)return e;if(G(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?H.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=lr();if(V(e)||""===e)return e;if(G(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return rr(e)},ssf:function(e,t){return{type:6,factory:t,owner:lr(),elm:void 0,sel:void 0,key:void 0,slotName:e}},ddc:function(e,t,n,r=We){if(G(t)||V(t))return null;if(!mn(t))throw new Error(`Invalid LWC Constructor ${Z(t)} for custom element <${e}>.`);return er(e,t,n,r)}});let ir=!1,sr=null;function lr(){return sr}function cr(e){sr=e}const ar=(ur=(e,t)=>{const{createFragment:n}=t;return n(e)},(e,...t)=>{const n=o(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:o},shadowMode:i,renderer:s}=lr(),l=!V(o),c=1===i;let a=0;if(l&&r&&(a|=1),l&&c&&(a|=2),!V(n[a]))return n[a];const u=r&&l?" "+o:"",d=r&&l?` class="${o}"`:"",f=l&&c?" "+o:"";let p="";for(let n=0,r=t.length;n<r;n++)switch(t[n]){case 0:p+=e[n]+u;break;case 1:p+=e[n]+d;break;case 2:p+=e[n]+f;break;case 3:p+=e[n]+d+f}return p+=e[e.length-1],n[a]=ur(p,s),n[a]}});var ur;function dr(e,t){const n=ir,r=sr;let i=[];return Ur(e,e.owner,(()=>{sr=e}),(()=>{const{component:n,context:r,cmpSlots:s,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(G(l)||Vr(e),c=t,!en.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: ${Z(t)}.`);e.cmpTemplate=t,r.tplCache=o(null),r.hasScopedStyles=function(e,t){const{stylesheets:n}=e,r=V(t)?null:t.stylesheets;return fr(n)||fr(r)}(t,e),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:l,setAttribute:c}}=e,{stylesheets:a,stylesheetToken:u}=t,{stylesheets:d}=e,f=1===o&&1===i,{hasScopedStyles:p}=r;let h,m,g;const{stylesheetToken:w,hasTokenInClass:y,hasTokenInAttribute:b}=r;V(w)||(y&&s(n).remove(yn(w)),b&&l(n,yn(w)));const v=pr(a),E=pr(d);(v||E)&&(h=u),V(h)||(p&&(s(n).add(yn(h)),m=!0),f&&(c(n,yn(h),""),g=!0)),r.stylesheetToken=h,r.hasTokenInClass=m,r.hasTokenInAttribute=g}(e,t);const n=function(e,t){const{stylesheets:n,stylesheetToken:r}=t,{stylesheets:o}=e;let i=[];return pr(n)&&(i=vn(n,r,e)),pr(o)&&x.apply(i,vn(o,r,e)),i}(e,t);r.styleVNodes=0===n.length?null:function(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1!==n||1!==r)return M.call(t,bn);for(let e=0;e<t.length;e++)o(t[e]);return null}(e,n)}var c;e.refVNodes=t.hasRefs?o(null):null,e.velements=[],ir=!0,i=t.call(void 0,or,n,s,r.tplCache);const{styleVNodes:a}=r;G(a)||D.apply(i,a)}))}),(()=>{ir=n,sr=r})),i}function fr(e){if(pr(e))for(let t=0;t<e.length;t++)if(U(e[t][le]))return!0;return!1}function pr(e){return!V(e)&&!G(e)&&e.length>0}let hr=null;function mr(e){return hr===e}function gr(e,t,n){const{component:r,callHook:o,owner:i}=e;Ur(e,i,Y,(()=>{o(r,t,n)}),Y)}function wr(e,t,n,r){const{callHook:o,owner:i}=e;Ur(e,i,Y,(()=>{o(n,t,[r])}),Y)}const yr=new Map;function br(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=lr();let s,l=!1;return Ur(e,o,(()=>{cr(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{cr(i)})),l?dr(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function vr(e){e.isDirty=!0}const Er=new WeakMap;function Cr(e,t){if(!K(t))throw new TypeError("Expected an EventListener but received "+typeof t);let n=Er.get(t);return V(n)&&(n=function(n){wr(e,t,void 0,n)},Er.set(t,n)),n}const Sr=o(null),kr=["rendered","connected","disconnected"];function Mr(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let Tr=0;const xr=new WeakMap;function Ar(e,t,n=[]){return t.apply(e,n)}function Nr(e,t,n){e[t]=n}function Or(e,t){return e[t]}function _r(e){const t=Lr(e);1===t.state&&Pr(e),Hr(t),Ir(t)}function Pr(e){$r(Lr(e))}function $r(e){const{state:t}=e;if(2!==t){const{tro:t}=e;t.reset(),function(e){z(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Sr;t&&Mr(e,t);Wr(e)&&function(e){const{wiredDisconnecting:t}=e.context;Ur(e,e,Y,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),Y)}(e);const{disconnectedCallback:n}=e.def;V(n)||gr(e,n)}(e),jr(e),function(e){const{aChildren:t}=e;Br(t)}(e)}}function Rr(e,t,n,r){const{mode:i,owner:s,tagName:l,hydrated:c}=r,a=gn(t),u={elm:e,def:a,idx:Tr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,refVNodes:null,children:We,aChildren:We,velements:We,cmpProps:o(null),cmpFields:o(null),cmpSlots:{slotAssignments:o(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:He,wiredConnecting:We,wiredDisconnecting:We},tro:null,shadowMode:null,stylesheets:null,component:null,shadowRoot:null,renderRoot:null,callHook:Ar,setHook:Nr,getHook:Or,renderer:n};return u.stylesheets=function(e,t){const{stylesheets:n}=t;if(!V(n)){const e=function(e,t){let n=!0;const r=e=>{if(g(e))for(let t=0;t<e.length;t++)r(e[t]);else K(e)||(n=!1)};g(t)?r(t):n=!1;return n}(0,n);if(e)return je(n)}return null}(0,a.ctor),u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(lwcRuntimeFlags.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!G(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=G(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,n),u.tro=Fe(),function(e,t){const n=hr;let r;hr=e;try{const e=new t;if(hr.component!==e)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(hr=n,!V(r))throw _e(e,r),r}}(u,a.ctor),Wr(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=Gt.get(i);if(!V(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=Ut(e,t,s),c=s.dynamic.length>0;x.call(r,(()=>{n.connect(),lwcRuntimeFlags.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),x.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function Dr(e,t){xr.set(e,t)}function Lr(e){return xr.get(e)}function Fr(e){return xr.get(e)}function Ir(e){if(U(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&Ur(e,e,(()=>{}),(()=>{_n(r,t,n,o)}),(()=>{}));e.state}(e,br(e))}}function Hr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Sr;n&&Mr(e,n),Wr(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;V(r)||gr(e,r)}function Wr(e){return a(e.def.wire).length>0}function jr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!V(n)){const e=Fr(n);V(e)||$r(e)}}}function Br(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!G(n)&&!V(n.elm))switch(n.type){case 2:Br(n.children);break;case 3:$r(Lr(n.elm));break}}}function Vr(e){Gr(e.children,e),e.children=We,jr(e),e.velements=We}function Gr(e,t){const{renderRoot:n,renderer:{remove:r}}=t;for(let o=0,i=e.length;o<i;o+=1){const i=e[o];G(i)||(kn(i)?Gr(i.children,t):V(i.elm)||r(i.elm,n))}}function Ur(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!V(i)){_e(e,i);const n=G(t)?void 0:function(e){let t=e;for(;!G(t);){if(!V(t.def.errorCallback))return t;t=t.owner}}(t);if(V(n))throw i;Vr(e);gr(n,n.def.errorCallback,[i,i.wcStack])}}}delete re.$nativeGetElementById$,delete re.$nativeQuerySelectorAll$;let zr=!1;function Kr(e){qr(e,(e=>{l(e)}))}function qr(e,t){t(e);for(let n=0;n<e.length;n++){const r=e[n];g(r)?qr(r,t):t(r)}}const Yr=Symbol("namespace"),Xr=Symbol("type"),Zr=Symbol("parent"),Qr=Symbol("shadow-root"),Jr=Symbol("children"),eo=Symbol("attributes"),to=Symbol("value"),no=Symbol("host"),ro=Symbol("context-providers");var oo;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(oo||(oo={}));const io=/\s+/g;function so(e){return new Set(e.split(io).filter((e=>e.length)))}function lo(e){return Array.from(e).join(" ")}function co(e,t,n){const r=Fr(e);V(r)||(e=r.elm);const o=e[ro];if(V(o))throw new Error("Unable to register context provider on provided `elm`.");o.set(t,n)}function ao(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function uo(e,t){return{[Xr]:oo.Element,tagName:e,[Yr]:null!=t?t:ce,[Zr]:null,[Qr]:null,[Jr]:[],[eo]:[],[ro]:new Map}}function fo(e,t,n=null){const r=e[eo].find((e=>e.name===t&&e[Yr]===n));return r?r.value:null}function po(e,t,n,r=null){const o=e[eo].find((e=>e.name===t&&e[Yr]===r));V(r)&&(r=null),V(o)?e[eo].push({name:t,[Yr]:r,value:String(n)}):o.value=n}function ho(e,t,n){e[eo]=e[eo].filter((e=>e.name!==t&&e[Yr]!==n))}const mo=Y,go=Y,wo=Y,yo=ao("dispatchEvent"),bo=ao("getBoundingClientRect"),vo=ao("querySelector"),Eo=ao("querySelectorAll"),Co=ao("getElementsByTagName"),So=ao("getElementsByClassName"),ko=ao("getChildren"),Mo=ao("getChildNodes"),To=ao("getFirstChild"),xo=ao("getFirstElementChild"),Ao=ao("getLastChild"),No=ao("getLastElementChild"),Oo=Y,_o=new Map;function Po(e){let t=_o.get(e);return V(t)?(t=function(e){return function(t){const n=uo(e);return K(t)&&t(n),n}}(e),_o.set(e,t),t):t}const $o={isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,insert:function(e,t,n){const r=e[Zr];if(null!==r&&r!==t){const t=r[Jr].indexOf(e);r[Jr].splice(t,1)}e[Zr]=t;const o=G(n)?-1:t[Jr].indexOf(n);-1===o?t[Jr].push(e):t[Jr].splice(o,0,e)},remove:function(e,t){const n=t[Jr].indexOf(e);t[Jr].splice(n,1)},cloneNode:function(e){return Object.assign({},e)},createFragment:function(e){return{[Xr]:oo.Raw,[Zr]:null,[to]:e}},createElement:uo,createText:function(e){return{[Xr]:oo.Text,[to]:String(e),[Zr]:null}},createComment:function(e){return{[Xr]:oo.Comment,[to]:e,[Zr]:null}},createCustomElement:function(e,t){return new(Po(e))(t)},nextSibling:function(e){const t=e[Zr];if(G(t))return null;const n=t[Jr].indexOf(e);return t[Jr][n+1]||null},attachShadow:function(e,t){return e[Qr]={[Xr]:oo.ShadowRoot,[Jr]:[],[no]:e,mode:t.mode,delegatesFocus:!!t.delegatesFocus},e[Qr]},getProperty:function(e,t){var n,r;if(t in e)return e[t];if(e[Xr]===oo.Element){const o=Ce(t);if(me(o,e.tagName))return null!==(n=fo(e,o))&&void 0!==n&&n;if(we(o)||ne(o))return fo(e,o);if("input"===e.tagName&&"value"===t)return null!==(r=fo(e,"value"))&&void 0!==r?r:""}},setProperty:function(e,t,n){if(t in e)return e[t]=n;if(e[Xr]===oo.Element){const r=Ce(t);if("innerHTML"===t)return void(e[Jr]=[{[Xr]:oo.Raw,[Zr]:e,[to]:n}]);if(me(r,e.tagName))return!0===n?po(e,r,""):ho(e,r);if(we(r)||ne(r))return po(e,r,n);if("input"===e.tagName&&"value"===r)return G(n)||V(n)?ho(e,"value"):po(e,"value",n)}},setText:function(e,t){e[Xr]===oo.Text?e[to]=t:e[Xr]===oo.Element&&(e[Jr]=[{[Xr]:oo.Text,[Zr]:e,[to]:t}])},getAttribute:fo,setAttribute:po,removeAttribute:ho,addEventListener:go,removeEventListener:wo,dispatchEvent:yo,getClassList:function(e){function t(){let t=e[eo].find((e=>"class"===e.name&&G(e[Yr])));return V(t)&&(t={name:"class",[Yr]:null,value:""},e[eo].push(t)),t}return{add(...e){const n=t(),r=so(n.value);e.forEach((e=>r.add(e))),n.value=lo(r)},remove(...e){const n=t(),r=so(n.value);e.forEach((e=>r.delete(e))),n.value=lo(r)}}},setCSSStyleProperty:function(e,t,n,r){const o=e[eo].find((e=>"style"===e.name&&G(e[Yr]))),i=`${t}: ${n}${r?" !important":""}`;V(o)?e[eo].push({name:"style",[Yr]:null,value:i}):o.value+=`; ${i}`},getBoundingClientRect:bo,querySelector:vo,querySelectorAll:Eo,getElementsByTagName:Co,getElementsByClassName:So,getChildren:ko,getChildNodes:Mo,getFirstChild:To,getFirstElementChild:xo,getLastChild:Ao,getLastElementChild:No,isConnected:function(e){return!G(e[Zr])},insertStylesheet:mo,assertInstanceOfHTMLElement:Oo,ownerDocument:ao("ownerDocument"),registerContextConsumer:function(e,t,n){let r=e;do{if(r[Xr]===oo.Element){const e=r[ro].get(t);if(!V(e)){e(n);break}}r=r[Xr]===oo.Element?r[Zr]:r[no]}while(!G(r))}};function Ro(e,n){return e.map((e=>{switch(e[Xr]){case oo.Text:return function(e,n){if(""===e)return"";if("style"===n)return function(e){if(!function(e){if(1!==e.childNodes.length)return!1;const t=e.childNodes[0];return"style"===t.nodeName&&1===t.childNodes.length&&"#text"===t.childNodes[0].nodeName}(t.parseFragment(`<style>${e}</style>`)))throw new Error("CSS contains unsafe characters and cannot be serialized inside a style element")}(e),e;return Me(e)}(e[to],n);case oo.Comment:return`\x3c!--${Me(e[to])}--\x3e`;case oo.Raw:return e[to];case oo.Element:return Do(e)}})).join("")}function Do(e){let t="";const n=e.tagName,r=e[Yr],o=r!==ce,i=e[Jr].length>0;var s;return t+=`<${n}${e[eo].length?` ${s=e[eo],s.map((e=>e.value.length?`${e.name}="${Me(e.value,!0)}"`:e.name)).join(" ")}`:""}`,o&&!i?(t+="/>",t):(t+=">",e[Qr]&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${Ro(e[Jr])}</template>`}(e[Qr])),t+=Ro(e[Jr],n),function(e,t){return t===ce&&fe.has(e.toLowerCase())}(n,r)&&!i||(t+=`</${n}>`),t)}const Lo={[Xr]:oo.Element,tagName:"fake-root-element",[Yr]:ce,[Zr]:null,[Qr]:null,[Jr]:[],[eo]:[],[ro]:new Map};l(Dt),h(Dt.prototype),exports.LightningElement=Dt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){return jt(e,co)},exports.createElement=function(){throw new Error("createElement is not supported in @lwc/engine-server, only @lwc/engine-dom.")},exports.freezeTemplate=function(e){lwcRuntimeFlags.ENABLE_FROZEN_TEMPLATE?(l(e),V(e.stylesheets)||Kr(e.stylesheets)):function(e){s(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return V(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=V(e)?void 0:e.shadowAttribute}})}(e)},exports.getComponentDef=function(e){const t=gn(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:Ce(e)};const c={};for(const e in s)c[e]=s[e].value;return{ctor:n,name:r,props:l,methods:c}},exports.isComponentConstructor=mn,exports.parseFragment=ar,exports.parseSVGFragment=ar,exports.readonly=function(e){return Pt(e)},exports.register=function(e){for(let t=0;t<kr.length;++t){const n=kr[t];if(n in e){let t=Sr[n];V(t)&&(Sr[n]=t=[]),x.call(t,e[n])}}},exports.registerComponent=function(e,t){return K(e)&&yr.set(e,t),e},exports.registerDecorators=function(e,t){const n=e.prototype,{publicProps:r,publicMethods:i,wire:l,track:a,fields:u}=t,d=o(null),f=o(null),p=o(null),h=o(null),m=o(null),g=o(null);let w;if(!V(r))for(const e in r){const t=r[e];if(g[e]=t.config,w=c(n,e),t.config>0){if(V(w))throw new Error;w=Yt(e,w)}else w=V(w)||V(w.get)?qt(e):Yt(e,w);f[e]=w,s(n,e,w)}if(V(i)||L.call(i,(e=>{if(w=c(n,e),V(w))throw new Error;d[e]=w})),!V(l))for(const e in l){const{adapter:t,method:r,config:o,dynamic:i=[]}=l[e];if(w=c(n,e),1===r){if(V(w))throw new Error;p[e]=w,zt(w,t,o,i)}else w=Zt(e),h[e]=w,Kt(w,t,o,i),s(n,e,w)}if(!V(a))for(const e in a)w=c(n,e),w=Xt(e),s(n,e,w);if(!V(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=c(n,t);const o=!V(r)&&t in r,i=!V(a)&&t in a;o||i||(m[t]=Ht(t))}return function(e,t){Qt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return en.add(e),e},exports.renderComponent=function(e,t,n={}){if(!q(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!K(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||G(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=$o.createElement(e);Rr(r,t,$o,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r[Zr]=Lo,_r(r),Do(r)},exports.renderer=$o,exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(V(Te[e])){const n=p(Te).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=xe[e];if(!V(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(xe,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},exports.setFeatureFlagForTest=function(e,t){},exports.setHooks=function(e){var t;n.isFalse(zr,"Hooks are already overridden, only one definition is allowed."),zr=!0,t=e.sanitizeHtmlContent,rr=t},exports.track=function(e){if(1===arguments.length)return e;throw new Error},exports.unwrap=function(e){return e},exports.wire=function(e,t){throw new Error};
|
|
2
2
|
//# sourceMappingURL=engine-server.min.js.map
|