lwc 2.43.0 → 2.44.0

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