Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

@lwc/engine

Package Overview
Dependencies
Maintainers
11
Versions
502
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lwc/engine - npm Package Compare versions

Comparing version 0.35.1 to 0.35.2

2

dist/umd/es2017/engine.min.js

@@ -1,1 +0,1 @@

(function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(e.Engine={})})(this,function(e){"use strict";function a(e){return e===void 0}function l(e){return null===e}function n(e){return!0===e}function o(e){return!1===e}function r(e){return"function"==typeof e}function i(e){return"object"==typeof e}function d(e){return"string"==typeof e}function u(e){return e&&e.toString?e.toString():"object"==typeof e?Jn.call(e):e+""}function s(e,t){do{const l=Tn(e,t);if(!a(l))return l;e=On(e)}while(null!==e)}function p(e){return qo?Symbol(e):`$$lwc-${e}$$`}function m(e,t,l){wn(e,t,{value:l})}function g(e,t){return e[t]}function f(e){return Object.getOwnPropertyDescriptor(Element.prototype,e)===void 0}function y(e){let t=Jo.get(e);return void 0===t&&(t={host:{},sr:{}},Jo.set(e,t)),t}function v(e,t){return null==t?null:t+""}function E(e,t){return{get(){const l=y(this);return Zo.call(l,e)?l[e]:Zn.call(this,t)?eo.call(this,t):null},set(l){l=v(e,l);const a=y(this);a[e]=l,null===l?no.call(this,t):lo.call(this,t,l)},configurable:!0,enumerable:!0}}function k(e){const t=tr.call(er.call(e,Qo,"aria-")),l=E(e,t);Object.defineProperty(Element.prototype,e,l)}function N(e){return a(nr[e])&&(nr[e]=Yn.call(e,rr,e=>e[1].toUpperCase())),nr[e]}function w(e){return a(or[e])&&(or[e]=Yn.call(e,ir,e=>"-"+e.toLowerCase())),or[e]}function O(e,t){return e!==dr||t!==cr}function x(){dr=null,cr=void 0}function T(e,t){dr=e,cr=t}function S(){const e=ur;ur=[];for(let t=0,l=e.length;t<l;t+=1)e[t]()}function C(e){0===ur.length&&Promise.resolve().then(S),Fn.call(ur,e)}function R(e){return An.call(e,"__circular__")}function A(e){return e()}function M(e,t){const{type:l}=e,{data:{on:a}}=t,n=a&&a[l];n&&n.call(void 0,e)}function P(){return function e(t){M(t,e.vnode)}}function _(e){const{data:{on:t}}=e;if(a(t))return;const l=e.elm,n=e.listener=P();n.vnode=e;for(var o in t)l.addEventListener(o,n)}function L(e,t){const{data:{attrs:n}}=t;if(a(n))return;let{data:{attrs:o}}=e;if(o===n)return;const r=t.elm;for(var i in o=a(o)?sr:o,n){const e=n[i],t=o[i];t!==e&&(T(r,i),58===Xn.call(i,3)?r.setAttributeNS("http://www.w3.org/XML/1998/namespace",i,e):58===Xn.call(i,5)?r.setAttributeNS("http://www.w3.org/1999/xlink",i,e):l(e)?r.removeAttribute(i):r.setAttribute(i,e),x(r,i))}}function D(e,t){const l=yr.get(e);if(!a(l)){const e=l[t];if(e){const t=e.length;for(let l=0;l<t;l+=1){const t=e[l];t.isDirty||(ya(t),tn(t))}}}}function I(e,t){if(l(xc))return;const n=xc;let o=yr.get(e);if(a(o)){const t=kn(null);o=t,yr.set(e,t)}let r=o[t];if(a(r))r=[],o[t]=r;else if(r[0]===n)return;-1===Bn.call(r,n)&&(Fn.call(r,n),Fn.call(n.deps,r))}function $(e){return e===void 0}function H(e){if(null==e)return!1;if(hr(e))return!0;const t=vr(e);return t===Mr||null===t||null===vr(t)}function B(e){return"object"==typeof e}function F(e){return"value"in e&&(e.value=Lr(e.value)),e}function j(e,t){return"value"in t&&(t.value=H(t.value)?e.getProxy(t.value):t.value),t}function U(e,t,l){const a=Rr.call(xr(l),Tr(l));a.forEach(a=>{let n=Or(l,a);n.configurable||(n=j(e,n)),kr(t,a,n)}),Sr(t)}function K(e,t){return"value"in t&&(t.value=H(t.value)?e.getReadOnlyProxy(t.value):t.value),t}function V(e){let t;return hr(e)?t=[]:B(e)&&(t={}),t}function W(e,t,l){return 1===arguments.length?$r.getProxy(e):Y(e,t,!!a(l)||!0===l.enumerable)}function Y(e,t,l){return{get(){const e=bn(this);return I(this,t),e.cmpTrack[t]},set(e){const l=bn(this),a=$r.getProxy(e);a!==l.cmpTrack[t]&&(l.cmpTrack[t]=a,0<l.idx&&D(this,t))},enumerable:l,configurable:!0}}function q(e,t,l){return Y(e,t,!i(l)||!0===l.enumerable)}function G(){const e=arguments.length;if(0<e&&3>e)return q;throw new TypeError}function X(e,t){if(!r(e)||null==t)throw new TypeError;const l=Sn(t),n=e.prototype;for(let o=0,i=l.length;o<i;o+=1){const i=l[o],c=t[i];if(!r(c))throw new TypeError;const d=Tn(n,i),u=c(e,i,d);a(u)||wn(n,i,u)}return e}function z(e,t){const l=kn(null),a=ee(e,t.publicProps),n=te(e,t.publicMethods),o=Z(e,t.wire),r=J(e,t.track);for(const i in Br.set(e,{props:a,methods:n,wire:o,track:r}),a)l[i]=le;if(o)for(const e in o){const t=o[e];t.method||(l[e]=G(t.adapter,t.params))}if(r)for(const e in r)l[e]=W;return X(e,l),e}function Q(e){return Br.get(e)}function J(e,t){return a(t)||0===Sn(t).length?sr:Nn(kn(null),t)}function Z(e,t){return a(t)||0===Sn(t).length?void 0:Nn(kn(null),t)}function ee(e,t){return a(t)||0===Sn(t).length?sr:Sn(t).reduce((e,l)=>{const a=w(l);return e[l]=Nn({config:0,type:"any",attr:a},t[l]),e},kn(null))}function te(e,t){return a(t)||0===t.length?sr:t.reduce((t,l)=>(t[l]=e.prototype[l],t),kn(null))}function le(e,t,l){const a=Q(e);return i(l)&&(r(l.get)||r(l.set))?(a.props[t].config=r(l.set)?3:1,ne(e,t,l)):(a.props[t].config=0,ae(e,t,l))}function ae(e,t,l){return{get(){const e=bn(this);if(!ia(e))return I(this,t),e.cmpProps[t]},set(e){const l=bn(this);if(n(l.isRoot)||ia(l));l.cmpProps[t]=$r.getReadOnlyProxy(e),0<l.idx&&D(this,t)},enumerable:!!a(l)||l.enumerable}}function ne(e,t,l){const{get:a,set:n,enumerable:o}=l;if(!r(a))throw new TypeError;return{get(){return a.call(this)},set(e){const t=bn(this);if(t.isRoot||ia(t));n&&n.call(this,$r.getReadOnlyProxy(e))},enumerable:o}}function oe(e,t){return An.call(Fr,e)&&An.call(Fr[e],t)}function re(e,t){const l=t.data.props;if(a(l))return;const n=e.data.props;if(n===l)return;const o=t.elm,r=g(o,mr),i=a(n),{sel:c}=t;for(const a in l){const e=l[a];(i||e!==(oe(c,a)?o[a]:n[a]))&&(o[a]=e)}}function ie(e){if(null==e)return sr;e=d(e)?e:e+"";let t=Kr[e];if(t)return t;t=kn(null);let l,a=0;const n=e.length;for(l=0;l<n;l++)32===Xn.call(e,l)&&(l>a&&(t[zn.call(e,a,l)]=!0),a=l+1);return l>a&&(t[zn.call(e,a,l)]=!0),Kr[e]=t,t}function ce(e,t){const{elm:l,data:{className:n}}=t,{data:{className:o}}=e;if(o===n)return;const{classList:r}=l,i=ie(n),c=ie(o);for(var d in c)a(i[d])&&r.remove(d);for(d in i)a(c[d])&&r.add(d)}function de(e,t){const{style:l}=t.data;if(e.data.style===l)return;const a=t.elm,{style:n}=a;d(l)&&""!==l?n.cssText=l:no.call(a,"style")}function ue(e){return e===void 0}function se(e,t){return e.key===t.key&&e.sel===t.sel}function pe(e){return null!=e}function me(e,t,l){const a={};let n,o,r;for(n=t;n<=l;++n)r=e[n],pe(r)&&(o=r.key,void 0!==o&&(a[o]=n));return a}function be(e,t,l,a,n){for(;a<=n;++a){const n=l[a];pe(n)&&(n.hook.create(n),n.hook.insert(n,e,t))}}function ge(e,t,l,a){for(;l<=a;++l){const a=t[l];pe(a)&&a.hook.remove(a,e)}}function fe(e,t,l){let a,n,o,r,i=0,c=0,d=t.length-1,u=t[0],s=t[d],p=l.length-1,m=l[0],b=l[p];for(;i<=d&&c<=p;)pe(u)?pe(s)?pe(m)?pe(b)?se(u,m)?(he(u,m),u=t[++i],m=l[++c]):se(s,b)?(he(s,b),s=t[--d],b=l[--p]):se(u,b)?(he(u,b),b.hook.move(u,e,s.elm.nextSibling),u=t[++i],b=l[--p]):se(s,m)?(he(s,m),m.hook.move(s,e,u.elm),s=t[--d],m=l[++c]):(void 0===a&&(a=me(t,i,d)),n=a[m.key],ue(n)?(m.hook.create(m),m.hook.insert(m,e,u.elm),m=l[++c]):(o=t[n],pe(o)&&(o.sel===m.sel?(he(o,m),t[n]=void 0,m.hook.move(o,e,u.elm)):(m.hook.create(m),m.hook.insert(m,e,u.elm))),m=l[++c])):b=l[--p]:m=l[++c]:s=t[--d]:u=t[++i];if(i<=d||c<=p)if(i>d){const t=l[p+1];r=pe(t)?t.elm:null,be(e,r,l,c,p)}else ge(e,t,i,d)}function ye(e,t,l){const{length:a}=l;if(0===t.length)return void be(e,null,l,0,a);let n=null;for(let o=a-1;0<=o;o-=1){const a=l[o],r=t[o];a!==r&&(pe(r)?pe(a)?(he(r,a),n=a.elm):r.hook.remove(r,e):pe(a)&&(a.hook.create(a),a.hook.insert(a,e,n),n=a.elm))}}function he(e,t){e!==t&&(t.elm=e.elm,t.hook.update(e,t))}function ve(e){switch(e.nodeType){case Node.ELEMENT_NODE:const t=ft(e);let l="";for(let e=0,a=t.length;e<a;e+=1)l+=ve(t[e]);return l;default:return e.nodeValue;}}function Ee(){throw new TypeError("Illegal constructor")}function ke(e){const t=kn(Ee.prototype);return m(t,li,e),Kn.call(e,(e,l)=>{wn(t,l,{value:e,enumerable:!0,configurable:!0})}),t}function Ne(e){return"length"!==e&&isNaN(e)}function we(e){return e.getAttribute("id")||e.getAttribute("name")}function Oe(){throw new TypeError("Illegal constructor")}function xe(e){const t=kn(Oe.prototype);return m(t,yi,e),Kn.call(e,(e,l)=>{wn(t,l,{value:e,enumerable:!0,configurable:!0})}),t}function Te(e){let t="";const l=ft(e);for(let a=0,n=l.length;a<n;a+=1)t+=Ae(l[a]);return t}function Se(e){return"&"===e?"&amp;":"<"===e?"&lt;":">"===e?"&gt;":"\""===e?"&quot;":"\xA0"===e?"&nbsp;":void 0}function Ce(e){return Ei.call(e,hi,Se)}function Re(e){return Ei.call(e,vi,Se)}function Ae(e){switch(e.nodeType){case Node.ELEMENT_NODE:{const{attributes:t}=e,l=fo.call(e);let a="<"+ki.call(l);for(let e,l=0;e=t[l];l++)a+=" "+e.name+"=\""+Ce(e.value)+"\"";return a+=">",Ni.has(l)?a:a+Te(e)+"</"+ki.call(l)+">"}case Node.TEXT_NODE:{const{data:t,parentNode:l}=e;return l instanceof Element&&wi.has(fo.call(l))?t:Re(t)}case Node.COMMENT_NODE:return"<!--"+e.data+"-->";default:throw new Error;}}function Me(e,t){const l=[];let a=e;for(const n=e===window?window:ct.call(e);a;)l.push(a),a=a.assignedSlot?a.assignedSlot:a.nodeType===Oo&&a.host&&(t||a!==n)?a.host:a.parentNode;return l[l.length-1]===document&&l.push(window),l}function Pe(e,t){const l=Me(e,!0),a=t;for(let n,o,r,c,d=0;d<a.length;d++)if(n=a[d],r=n===window?window:ct.call(n),r!==o&&(c=l.indexOf(r),o=r),!(r instanceof $e)||-1<c)return n;return null}function _e(e){const t=De(e);return t.delegatesFocus}function Le(e){return e[Oi]}function De(e){return g(e,xi)}function Ie(e,t){if(g(e,xi))throw new Error(`Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.`);const{mode:l,delegatesFocus:a}=t,n=Ti.call(document);return wn(n,"mode",{get(){return l},configurable:!0,enumerable:!0}),wn(n,"delegatesFocus",{get(){return!!a},configurable:!0,enumerable:!0}),xn(n,$e.prototype),m(n,Oi,e),m(e,xi,n),n}function $e(){throw new TypeError("Illegal constructor")}function He(e){return e.$$OwnerKey$$}function Be(e,t){e.$$OwnerKey$$=t}function Fe(e){let t;for(;!l(e)&&a(t=e.$$OwnerKey$$);)e=Po.call(e);return t}function je(e){return e.$$OwnKey$$}function Ue(e,t,l){if(He(e)!==t&&(Be(e,t),e instanceof Element)){Ve(e,l);const{childNodes:a}=e;for(let e=0,n=a.length;e<n;e+=1){const n=a[e];Ue(n,t,l)}}}function Ke(){return new Jr(e=>{Kn.call(e,e=>{const{target:t,addedNodes:l}=e,n=He(t),o=We(t);if(!a(n))for(let e=0,t=l.length;e<t;e+=1){const t=l[e];Ue(t,n,o)}})})}function Ve(e,t){a(t)||(lo.call(e,t,""),e.$$ShadowTokenKey$$=t)}function We(e){return e.$$ShadowTokenKey$$}function Ye(e){_i.set(e,1),Li||(Li=Ke()),Zr.call(Li,e,Di)}function qe(e,t){const a=et(e);if(t===a)return De(a);if(t instanceof Element){if(Fe(e)===Fe(t))return t;if(!l(a)&&tt(t)){const e=et(t);if(!l(e)&&lt(a,e))return e}}return null}function Ge(e){const t=On(e).constructor;class a{constructor(){throw new TypeError("Illegal constructor")}hasChildNodes(){return 0<this.childNodes.length}get firstChild(){const{childNodes:e}=this;return e[0]||null}get lastChild(){const{childNodes:e}=this;return e[e.length-1]||null}get textContent(){return ve(this)}set textContent(e){Lo.call(this,e)}get childElementCount(){return this.children.length}get firstElementChild(){return this.children[0]||null}get lastElementChild(){const{children:e}=this;return e.item(e.length-1)||null}get assignedSlot(){const e=Po.call(this);return l(e)||!tt(e)||Fe(e)===Fe(this)?null:e}get parentNode(){const e=Po.call(this);return l(e)?e:qe(this,e)}get parentElement(){const e=Po.call(this);if(l(e))return null;const t=et(this);return l(t)?e:t===e?null:e}getRootNode(e){return ct.call(this,e)}compareDocumentPosition(e){return He(this)===He(e)?Ao.call(this,e):0}contains(e){return He(this)===He(e)&&0!=(Ao.call(this,e)&Eo)}cloneNode(e){const t=Mo.call(this,!1);if(!e)return t;const l=this.childNodes;for(let a=0,n=l.length;a<n;a+=1)t.appendChild(l[a].cloneNode(!0));return t}}return xn(a,t),xn(a.prototype,t.prototype),a}function Xe(e){return{postMessage(){return e.postMessage.apply(e,arguments)},blur(){return e.blur.apply(e,arguments)},close(){return e.close.apply(e,arguments)},focus(){return e.focus.apply(e,arguments)},get closed(){return e.closed},get frames(){return e.frames},get length(){return e.length},get location(){return e.location},set location(t){e.location=t},get opener(){return e.opener},get parent(){return e.parent},get self(){return e.self},get top(){return e.top},get window(){return e.window}}}function ze(){return new Jr(e=>{const t=[];Kn.call(e,e=>{const{target:l}=e;-1===Bn.call(t,l)&&(Fn.call(t,l),jo.call(l,new CustomEvent("slotchange")))})})}function Qe(e){const t=et(e);return l(t)?[]:Vn.call(Do.call(e),(e,l)=>(lt(t,l)||Fn.call(e,l),e),[])}function Je(e){return Vn.call(Do.call(e),(e,t)=>(t instanceof Element&&tt(t)?Fn.apply(e,Je(t)):Fn.call(e,t),e),[])}function Ze(e){const t=yt(e),{addEventListener:o}=e;return class extends t{addEventListener(e,t,l){"slotchange"!==e||g(this,Hi)||(m(this,Hi,!0),!Ii&&(Ii=ze()),Zr.call(Ii,this,$i)),o.call(this,e,t,l)}assignedElements(e){const t=!a(e)&&n(e.flatten),l=t?Je(this):Qe(this);return Dn.call(l,e=>e instanceof Element)}assignedNodes(e){const t=!a(e)&&n(e.flatten);return t?Je(this):Qe(this)}get name(){const e=eo.call(this,"name");return l(e)?"":e}get childNodes(){const e=et(this),t=l(e)?[]:ot(e,ft(this));return ke(t)}get children(){const e=et(this),t=l(e)?[]:ot(e,ft(this));return xe(Dn.call(t,e=>e instanceof Element))}}}function et(e){if(!(e instanceof Node))return null;const t=Fe(e);if(a(t))return null;for(;!l(e)&&je(e)!==t;)e=Po.call(e);return l(e)?null:e}function tt(e){return"SLOT"===fo.call(e)}function lt(e,t){const l=Fe(t);return a(l)||je(e)===l}function at(e,t){const a=je(e);for(let n=t instanceof Element?t:_o.call(t);!l(n)&&n!==e;){const t=Fe(n),l=_o.call(n);if(t===a)return tt(n);if(l!==e&&Fe(l)!==t&&!tt(l))return!1;n=l}return!1}function nt(e){const t=Le(e);return ot(t,Do.call(t))}function ot(e,t){const l=[];for(let a=0,n=t.length;a<n;a+=1){const n=t[a],o=lt(e,n);o&&Fn.call(l,n)}return l}function rt(e){const t=et(e);return l(t)?it(e):De(t)}function it(e){for(let t;!l(t=Po.call(e));)e=t;return e}function ct(e){const t=!a(e)&&!!e.composed;return n(t)?it(this):rt(this)}function dt(e,t){for(let l=0,a=t.length;l<a;l+=1)if(lt(e,t[l]))return t[l];return null}function ut(e,t){const l=[];for(let a=0,n=t.length;a<n;a+=1){const n=t[a];!lt(e,n)&&at(e,n)&&Fn.call(l,n)}return l}function st(e,t){for(let l=0,a=t.length;l<a;l+=1){const a=t[l];if(!lt(e,a)&&at(e,a))return a}return null}function pt(e,t){const a=et(e);if(l(a))return[];const n=io.call(e,t);return je(e)?ut(e,n):ot(a,n)}function mt(e,t){const a=et(e);if(l(a))return null;const n=io.call(e,t);return je(e)?st(e,n):dt(a,n)}function bt(e,t){const l=Le(e),a=io.call(l,t);return dt(l,a)}function gt(e,t){const l=Le(e),a=io.call(l,t);return ot(l,a)}function ft(e){let t;if(!a(je(e))){const l=io.call(e,"slot");t=Vn.call(l,(t,l)=>(lt(e,l)&&Fn.apply(t,Qe(l)),t),[])}else t=Do.call(e);const n=et(e);return l(n)?[]:Vn.call(t,(e,t)=>(lt(n,t)&&Fn.call(e,t),e),[])}function yt(e){const t=Ge(e);return class extends t{querySelector(e){return mt(this,e)}querySelectorAll(e){return ke(pt(this,e))}get innerHTML(){const{childNodes:e}=this;let t="";for(let l=0,a=e.length;l<a;l+=1)t+=Ae(e[l]);return t}set innerHTML(e){go.call(this,e)}get outerHTML(){return Ae(this)}}}function ht(e){const t=yt(e);return class extends t{get contentWindow(){const e=Ko.call(this);return e?Xe(e):e}}}function vt(t){const e=Vo.call(t);return!!(e instanceof Node&&0!=(Ao.call(document,e)&Eo)&&He(e))}function Et(t){let e=null;try{if(e=t.$$lwcEventWrapper$$,!e){e=t.$$lwcEventWrapper$$=function(l){return vt(l)&&Rt(l),"function"==typeof t?t.call(this,l):t.handleEvent&&t.handleEvent(l)}}}catch(t){}return e}function kt(e,t,l){const a=typeof t;if(("function"==a||"object"==a)&&("object"!=a||t.handleEvent&&"function"==typeof t.handleEvent)){const a=Et(t);ei.call(this,e,a,l)}}function Nt(e,t,l){const a=Et(t);ti.call(this,e,a||t,l)}function wt(e,t,l){const a=typeof t;if(("function"==a||"object"==a)&&("object"!=a||t.handleEvent&&"function"==typeof t.handleEvent)){const a=Et(t);mo.call(this,e,a,l)}}function Ot(e,t,l){const a=Et(t);bo.call(this,e,a||t,l)}function xt(){window.addEventListener=kt,window.removeEventListener=Nt}function Tt(){Node.prototype.addEventListener=wt,Node.prototype.removeEventListener=Ot}function St(e,t){return!!(Ao.call(e,t)&Eo)}function Ct(e,t){let l=ct.call(e,t);return"mode"in l&&"delegatesFocus"in l&&(l=Le(l)),l}function Rt(e){if(Ui.has(e))return;const t=s(e,"relatedTarget");Cn(e,{relatedTarget:{get(){const e=Ui.get(this),n=Wo.call(this);if(!a(t)){const a=t.get.call(this);if(l(a))return null;const o=e===ji.SHADOW_ROOT_LISTENER?De(n):n;return Pe(o,Me(a,!0))}},enumerable:!0,configurable:!0},target:{get(){const e=Wo.call(this),t=Vo.call(this),l=Me(t,this.composed);if(!(e instanceof Node))return Pe(document,l);const a=Ui.get(this),n=a===ji.SHADOW_ROOT_LISTENER?De(e):e;return Pe(n,l)},enumerable:!0,configurable:!0}}),Ui.set(e,0)}function At(e){let t=Vi.get(e);return a(t)&&(t=kn(null),Vi.set(e,t)),t}function Mt(e,t){if(!r(t))throw new TypeError;let l=Wi.get(t);return a(l)&&(l=function(l){const{composed:a}=l,n=Vo.call(l),o=Wo.call(l);if(n!==o){const r=Ct(n,{composed:a});(St(r,o)||!1===a&&r===o)&&t.call(e,l)}},l.placement=ji.SHADOW_ROOT_LISTENER,Wi.set(t,l)),l}function Pt(e,t){if(!r(t))throw new TypeError;let l=Yi.get(t);return a(l)&&(l=function(l){It(l)&&t.call(e,l)},l.placement=ji.CUSTOM_ELEMENT_LISTENER,Yi.set(t,l)),l}function _t(e){function t(t){Kn.call(s,a=>{o(l)&&a.placement===t&&-1!==Bn.call(u,a)&&a.call(void 0,e)})}let l=!1,a=!1;const{type:n,stopImmediatePropagation:r,stopPropagation:i}=e,c=Wo.call(e),d=At(c),u=d[n];wn(e,"stopImmediatePropagation",{value(){l=!0,r.call(e)},writable:!0,enumerable:!0,configurable:!0}),wn(e,"stopPropagation",{value(){a=!0,i.call(e)},writable:!0,enumerable:!0,configurable:!0});const s=In.call(u);Ui.set(e,ji.SHADOW_ROOT_LISTENER),t(ji.SHADOW_ROOT_LISTENER),o(l)&&o(a)&&(Ui.set(e,ji.CUSTOM_ELEMENT_LISTENER),t(ji.CUSTOM_ELEMENT_LISTENER)),Ui.set(e,0)}function Lt(e,t,l){const n=At(e);let o=n[t];a(o)&&(o=n[t]=[]),0===o.length&&Bi.call(e,t,_t),Fn.call(o,l)}function Dt(e,t,l){const n=At(e);let o,r;a(r=n[t])||-1===(o=Bn.call(r,l))||($n.call(r,o,1),0===r.length&&Fi.call(e,t,_t))}function It(e){const t=Vo.call(e),l=Wo.call(e),{composed:a}=e;return!0===a||t===l||St(Ct(t,Ki),l)}function $t(e,t,l){const a=Pt(e,l);Lt(e,t,a)}function Ht(e,t,l){const a=Pt(e,l);Dt(e,t,a)}function Bt(e,t,l){const a=Le(e),n=Mt(e,l);Lt(a,t,n)}function Ft(e,t,l){const a=Le(e),n=Mt(e,l);Dt(a,t,n)}function jt(e){const{width:t,height:l}=co.call(e);return(0<t||0<l)&&"hidden"!==getComputedStyle(e).visibility}function Ut(e){if(o(Zn.call(e,"tabindex")))return!1;const t=eo.call(e,"tabindex");return""!==t&&("0"===t||"-1"===t)}function Kt(e){return ho.call(e,"\n button:not([tabindex=\"-1\"]):not([disabled]),\n [contenteditable]:not([tabindex=\"-1\"]),\n video[controls]:not([tabindex=\"-1\"]),\n audio[controls]:not([tabindex=\"-1\"]),\n [href]:not([tabindex=\"-1\"]),\n input:not([tabindex=\"-1\"]):not([disabled]),\n select:not([tabindex=\"-1\"]):not([disabled]),\n textarea:not([tabindex=\"-1\"]):not([disabled]),\n [tabindex=\"0\"]\n")&&jt(e)}function Vt(e){const t=fo.call(e);return jt(e)&&(Ut(e)||Zn.call(e,"contenteditable")||An.call(qi,t))}function Wt(e){for(let t=0,l=e.length;t<l;t+=1){const l=e[t];if(Kt(l))return l}return null}function Yt(e){for(let t=e.length-1;0<=t;t-=1){const l=e[t];if(Kt(l))return l}return null}function qt(e){const t=si.call(document,"\n button:not([tabindex=\"-1\"]):not([disabled]),\n [contenteditable]:not([tabindex=\"-1\"]),\n video[controls]:not([tabindex=\"-1\"]),\n audio[controls]:not([tabindex=\"-1\"]),\n [href]:not([tabindex=\"-1\"]),\n input:not([tabindex=\"-1\"]):not([disabled]),\n select:not([tabindex=\"-1\"]):not([disabled]),\n textarea:not([tabindex=\"-1\"]):not([disabled]),\n [tabindex=\"0\"]\n"),l=io.call(e,"\n button:not([tabindex=\"-1\"]):not([disabled]),\n [contenteditable]:not([tabindex=\"-1\"]),\n video[controls]:not([tabindex=\"-1\"]),\n audio[controls]:not([tabindex=\"-1\"]),\n [href]:not([tabindex=\"-1\"]),\n input:not([tabindex=\"-1\"]):not([disabled]),\n select:not([tabindex=\"-1\"]):not([disabled]),\n textarea:not([tabindex=\"-1\"]):not([disabled]),\n [tabindex=\"0\"]\n"),a=l[0],n=l[l.length-1],o=Bn.call(t,e),r=-1<o?o:Bn.call(t,a),i=0===l.length?r+1:Bn.call(t,n)+1,c=In.call(t,0,r),d=In.call(t,i);return{prev:c,inner:l,next:d}}function Gt(e){const t=ai.call(document);return l(t)?t:0==(Ao.call(e,t)&Eo)?null:t}function Xt(e,t){const l=Ao.call(e,t);if(l&Eo)return 0;return l&No?1:l&wo?2:-1}function zt(e){const{prev:t}=e;return Wt(Wn.call(t))}function Qt(e){const{next:t}=e;return Wt(t)}function Jt(e,t){const a=Qt(t);return l(a)?void e.blur():void a.focus()}function Zt(e,t){const a=zt(t);return l(a)?void e.blur():void a.focus()}function el(e,t){return Wt(t.inner)===e}function tl(e,t){return Yt(t.inner)===e}function al(e){const t=Wo.call(e),a=Vo.call(e);if(t!==a)return;const n=Yo.call(e);if(l(n))return;const o=qt(t),r=Xt(t,n);if(1===r){const e=Wt(o.inner);return void(l(e)?Jt(a,o):e.focus())}t===a&&Zt(t,o)}function nl(e){const t=Wo.call(e),a=Vo.call(e),n=Yo.call(e),r=qt(t),i=el(a,r),c=tl(a,r);if(!(o(i)&&o(c)||l(n))){const e=Xt(t,n);1===e?i&&n===zt(r)&&Jt(a,r):2===e?c&&n===Qt(r)&&Zt(a,r):void 0}}function ol(e){return e!==ai.call(document)&&Vt(e)}function rl(e){const t=Wo.call(e);bo.call(t,"focusin",nl),setTimeout(()=>{-1===yo.call(t)&&mo.call(t,"focusin",nl)},0)}function il(e){const t=Vo.call(e);ol(t)&&mo.call(Wo.call(e),"focusin",rl,!0)}function cl(e){sl(e),mo.call(e,"focusin",al,!0)}function dl(e){bo.call(e,"focusin",al,!0)}function ul(e){dl(e),mo.call(e,"mousedown",il,!0),mo.call(e,"focusin",nl)}function sl(e){bo.call(e,"focusin",nl),bo.call(e,"mousedown",il,!0)}function pl(e){const t=yt(e);return class extends t{attachShadow(e){return Ie(this,e)}addEventListener(e,t,l){$t(this,e,t,l)}removeEventListener(e,t,l){Ht(this,e,t,l)}get shadowRoot(){const e=De(this);return e.mode===Si.OPEN?e:null}get tabIndex(){if(_e(this)&&o(Zn.call(this,"tabindex")))return 0;const e=s(t.prototype,"tabIndex");return e.get.call(this)}set tabIndex(e){const l=Zn.call(this,"tabindex"),a=yo.call(this),n=s(t.prototype,"tabIndex");n.set.call(this,e);const o=yo.call(this);l&&a===o?-1===a&&(sl(this),dl(this)):-1===o?ul(this):0===o&&_e(this)?cl(this):(sl(this),dl(this))}blur(){if(_e(this)){const e=Gt(this);if(!l(e))return void e.blur()}super.blur()}get childNodes(){const e=et(this),t=l(e)?[]:ot(e,ft(this));return ke(t)}get children(){const e=et(this),t=l(e)?[]:ot(e,ft(this));return xe(Dn.call(t,e=>e instanceof Element))}}}function ml(e){Xi.set(e,1)}function bl(e){return Xi.has(e)}function gl(e,t,l,a,n){if(l!==a){const o=n?e:t,r=bl(a)?fe:ye;r(o,l,a)}}function fl(e){a(zi)&&(zi=Ge(e).prototype),xn(e,zi)}function yl(e){a(Qi)&&(Qi=Ge(e).prototype),xn(e,Qi)}function hl(e){switch(fo.call(e)){case"SLOT":return Ze(e);case"IFRAME":return ht(e);}return yt(e)}function vl(e,t){const{sel:l,isPortal:o,shadowAttribute:r}=t;let i=Ji[l];a(i)&&(i=Ji[l]=hl(e).prototype),xn(e,i),n(o)&&Ye(e),Ve(e,r)}function El(e,t){const{def:l,shadowAttribute:n}=t;let o=l.patchedBridge;a(o)&&(o=l.patchedBridge=pl(e)),xn(e,o.prototype),Ve(e,n)}function kl(e,t){e.text!==t.text&&$o.call(t.elm,t.text)}function Nl(e,t,l){xo.call(t,e.elm,l)}function wl(e,t){To.call(t,e.elm)}function Ol(e){const t=e.elm;un(t,e.uid),n(e.fallback)&&fl(t)}function xl(e){const t=e.elm;un(t,e.uid),n(e.fallback)&&yl(t)}function Tl(e){br.create(e),fr.create(e),Ur.create(e),Gr.create(e),Xr.create(e),Wr.create(e),qr.create(e),zr.create(e)}function Sl(e){const{uid:t,sel:l,fallback:o}=e,r=e.elm;if(un(r,t),n(o)){const{shadowAttribute:t,data:{context:n}}=e,o=!a(n)&&!a(n.lwc)&&n.lwc.dom===Zi.manual;vl(r,{sel:l,isPortal:o,shadowAttribute:t})}}function Cl(e,t){fr.update(e,t),Ur.update(e,t),Wr.update(e,t),qr.update(e,t)}function Rl(e){const t=mn(e.elm);Va(t),Ka(t)}function Al(e,t){const{children:l}=t,a=bl(l)?fe:ye;a(t.elm,e.children,l)}function Ml(e){if(n(e.fallback)){const t=e.elm,l=mn(t),a=e.children;gn(l,a),e.children=pr}}function Pl(e){const t=e.elm;if(!An.call(t,mr)){const{mode:l,ctor:a,uid:o,fallback:r}=e;un(t,o);const i=Ia(a);if($a(t,i),n(r)){const{shadowAttribute:l}=e;El(t,{def:i,shadowAttribute:l})}Ya(e.sel,t,a,{mode:l,fallback:r});mn(t)}}function _l(e){br.create(e),fr.create(e),Ur.create(e),Gr.create(e),Xr.create(e),Wr.create(e),qr.create(e),zr.create(e)}function Ll(e){const{elm:t,children:l}=e;for(let a=0;a<l.length;++a){const e=l[a];null!=e&&(e.hook.create(e),e.hook.insert(e,t,null))}}function Dl(e){const t=mn(e.elm);Ka(t)}function Il(e,t){fr.update(e,t),Ur.update(e,t),Wr.update(e,t),qr.update(e,t)}function $l(e){e.hook.destroy(e)}function Hl(e){Wa(mn(e.elm))}function Bl(e){const{children:t}=e;for(let l=0,a=t.length;l<a;++l){const e=t[l];null!=e&&e.hook.destroy(e)}}function Fl(e){for(let t=0;t<tc.length;++t){const n=tc[t];if(n in e){let t=ec[n];a(t)&&(ec[n]=t=[]),Fn.call(t,e[n])}}}function jl(e,t){const{component:l,data:a,def:n,context:o}=e;for(let r=0,i=t.length;r<i;++r)t[r].call(void 0,l,a,n,o)}function Ul(){}function Kl(e){const{data:t,children:l,sel:a}=e;if(t.ns="http://www.w3.org/2000/svg",_n(l)&&"foreignObject"!==a)for(let e=0,t=l.length;e<t;++e){const t=l[e];null!=t&&t.hook===dc&&Kl(t)}}function Vl(){return xc.uid}function Wl(){return xc.context.shadowAttribute}function Yl(e,t,l){const{key:n}=t;a(t.create)&&(t.create=Tl),a(t.update)&&(t.update=Cl);let o,r,i;const c=sc();c&&(i=Wl());const d=Vl(),u={sel:e,data:t,children:l,text:o,elm:r,key:n,hook:dc,shadowAttribute:i,uid:d,fallback:c};return 3===e.length&&115===Xn.call(e,0)&&118===Xn.call(e,1)&&103===Xn.call(e,2)&&Kl(u),u}function h(e,t,l,n){R(t)&&(t=A(t));const{key:o}=l;a(l.create)&&(l.create=_l),a(l.update)&&(l.update=Il);let r,i,c;const d=sc();d&&(c=Wl());const u=Vl();n=3===arguments.length?pr:n;const s={sel:e,data:l,children:n,text:r,elm:i,key:o,hook:uc,ctor:t,shadowAttribute:c,uid:u,fallback:d,mode:"open"};return s}function c(e){let t,l,a,n;return{sel:t,data:sr,children:l,text:e,elm:n,key:a,hook:ic,uid:Vl(),fallback:sc()}}function t(e){if(l(xc))throw new Error;const t=xc;return function(l){sa(t,e,t.component,l)}}function b(e){if(l(xc))throw new Error;const t=xc;return function(){return ca(t,e,In.call(arguments))}}function ql(e,n,o){if(l(xc))throw new Error;const i=xc,c=t(e);return function(e){const{context:{locator:t}}=i;if(!a(t)){const{locator:e}=ec;e&&(t.resolved={target:n,host:t.id,targetContext:r(o)&&o(),hostContext:r(t.context)&&t.context()},jl(i,e))}c(e)}}function ll(){return[]}function Gl(e){return mc.has(e)}function Xl(e){const t=ri.call(document,"style");return t.type="text/css",t.textContent=e,t}function zl(e){let t=bc[e];if(a(t)){t=oi.call(document);const l=Xl(e);So.call(t,l),bc[e]=t}return t.cloneNode(!0).firstChild}function Ql(e){if(a(fc[e])){fc[e]=!0;const t=Xl(e);So.call(gc,t)}}function Jl(){}function Zl(e){const t=Yl("style",{key:"style",create:Jl,update:Jl},pr);return t.elm=e,t}function ea(e){const{context:t,elm:l}=e,n=t.hostAttribute;a(n)||no.call(l,n),t.hostAttribute=t.shadowAttribute=void 0}function ta(e,t,l){const{context:a,elm:n}=e;lo.call(n,t,""),a.hostAttribute=t,a.shadowAttribute=l}function la(e,t,l,a){const{fallback:n}=e;if(n){return Kn.call(t,e=>{const t=e(`[${l}]`,`[${a}]`,!1);Ql(t)})}else{const e=Vn.call(t,(e,t)=>e+t("","",!0),"");return Zl(zl(e))}}function aa(e,t){const{component:l,context:n,cmpSlots:o,cmpTemplate:r}=e;if(t!==r){if(en(e),!Gl(t))throw new ReferenceError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${u(t)}.`);e.cmpTemplate=t,n.tplCache=kn(null),ea(e);const{stylesheets:l,stylesheetTokens:o}=t;if(a(l)||0===l.length)n.styleVNode=void 0;else if(!a(o)){const{hostAttribute:t,shadowAttribute:a}=o;ta(e,t,a),n.styleVNode=la(e,l,t,a)}}const i=t.call(void 0,pc,l,o,n.tplCache),{styleVNode:c}=n;return a(n.styleVNode)||Hn.call(i,c),i}function na(e,t){return`<${e.def.name} (${e.uid})> - ${t}`}function oa(e){performance.mark(na(e,hc.HYDRATE))}function ra(e){const t=hc.HYDRATE,l=na(e,t);performance.measure(t,l),performance.clearMarks(l),performance.clearMeasures(t)}function ia(e){return Tc===e}function ca(e,t,l){const{context:a,component:n,callHook:o}=e;let r,i;try{r=o(n,t,l)}catch(t){i=Object(t)}finally{if(i)throw i.wcStack=on(e.elm),i}return r}function da(e,t){const l=Tc;Tc=e;let a;try{new t}catch(t){a=Object(t)}finally{if(Tc=l,a)throw a.wcStack=on(e.elm),a}}function ua(e){const{def:{render:l},callHook:t}=e,{component:a,context:n}=e,o=xc;xc=e;let r,i;try{const n=t(a,l);r=aa(e,n)}catch(t){i=Object(t)}finally{if(xc=o,i)throw i.wcStack=on(e.elm),i}return r||[]}function sa(e,t,l,a){const{context:n,callHook:o}=e;let r;try{o(l,t,[a])}catch(t){r=Object(t)}finally{if(r)throw r.wcStack=on(e.elm),r}}function pa(e){return Sc.get(e)}function ma(e,t){if(da(e,t),a(e.component))throw new ReferenceError(`Invalid construction for ${t}, you must extend LightningElement.`)}function ba(e){const{def:{wire:t}}=e;if(t){const{wiring:t}=ec;t&&jl(e,t)}}function ga(e){const{deps:t}=e,l=t.length;if(l){for(let a=0;a<l;a+=1){const l=t[a],n=Bn.call(t[a],e);$n.call(l,n,1)}t.length=0}}function fa(e){ga(e);const t=ua(e);return e.isDirty=!1,t}function ya(e){e.isDirty=!0}function ha(e,t){if(!r(t))throw new TypeError;let l=Cc.get(t);return a(l)&&(l=function(l){sa(e,t,void 0,l)},Cc.set(t,l)),l}function va(){if("getKey"in Proxy)return!1;const e=new Proxy([3,4],{}),t=[1,2].concat(e);return 4!==t.length}function Ea(e){return"object"==typeof e?null!==e:"function"==typeof e}function ka(e){if(!Ea(e))return!1;const t=e[Rc];return t===void 0?Ac(e):!!t}function Na(...e){const t=Object(this),l=[];let a=0;const n=Mc.call(arguments);for(Pc.call(n,t);n.length;){const e=_c.call(n);if(ka(e)){let t=0;const n=e.length;for(t;t<n;t+=1,a+=1)if(t in e){const n=e[t];l[a]=n}}else l[a]=e,a+=1}return l}function wa(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get(){return!0}})}function Oa(e,t){const l=new Ic(e,t);return Object.defineProperties(l,{composed:{get(){return!!(t&&t.composed)},configurable:!0,enumerable:!0}}),l}function xa(e,t){const{get:l,set:a,enumerable:n,configurable:o}=t;if(!r(l))throw new TypeError;if(!r(a))throw new TypeError;return{enumerable:n,configurable:o,get(){const t=bn(this);if(!ia(t))return I(this,e),l.call(t.elm)},set(t){const l=bn(this);return t!==l.cmpProps[e]&&(l.cmpProps[e]=t,0<l.idx&&D(this,e)),a.call(l.elm,t)}}}function Ta(e){return bn(e).elm}function Sa(){if(l(Tc))throw new ReferenceError;const e=Tc,{elm:t,cmpRoot:a,uid:n}=e,o=this;if(e.component=o,1===arguments.length){const{callHook:t,setHook:l,getHook:a}=arguments[0];e.callHook=t,e.setHook=l,e.getHook=a}Xo(o,mr,e),m(t,mr,e),m(a,mr,e),pn(t,n)}function Ca(e){let t=Bc[e];return a(t)&&(t=Bc[e]=function(){const t=mn(this),{getHook:l}=t;return l(t.component,e)}),t}function Ra(e){let t=Fc[e];return a(t)&&(t=Fc[e]=function(t){const l=mn(this),{setHook:a}=l;a(l.component,e,t)}),t}function Aa(e){return function(){const t=mn(this),{callHook:l,component:a}=t,n=a[e];return l(t.component,n,In.call(arguments))}}function Ma(e,t,l){let a;r(e)?a=class extends e{}:(a=function(){throw new TypeError("Illegal constructor")},xn(a,e),xn(a.prototype,e.prototype),wn(a.prototype,"constructor",{writable:!0,configurable:!0,value:a}));const n=kn(null);for(let a=0,o=t.length;a<o;a+=1){const e=t[a];n[e]={get:Ca(e),set:Ra(e),enumerable:!0,configurable:!0}}for(let a=0,o=l.length;a<o;a+=1){const e=l[a];n[e]={value:Aa(e),writable:!0,configurable:!0}}return Cn(a.prototype,n),a}function Pa(e,t){let a=On(e);if(l(a))throw new ReferenceError(`Invalid prototype chain for ${t}, you must extend LightningElement.`);if(R(a)){const e=A(a);a=e===a?Sa:e}return a}function _a(e,t,l){if(l=l||[],!e||0<=Bn.call(l,e))return!1;const a=Pa(e,t);return!(a!==Sa)||(Ia(a,t),Fn.call(l,e),_a(a,t,l))}function La(e,t,n){const{name:o,template:r}=t;let i=Q(e);a(i)&&(z(e,{publicMethods:Da(e,"publicMethods"),publicProps:Da(e,"publicProps"),track:Da(e,"track"),wire:Da(e,"wire")}),i=Q(e));let{props:c,methods:d,wire:u,track:s}=i||sr;const p=e.prototype;let{connectedCallback:m,disconnectedCallback:b,renderedCallback:g,errorCallback:f,render:y}=p;const h=Pa(e,n),v=h===Sa?null:Ia(h,n),E=l(v)?jc:v.bridge,k=Ma(E,Sn(c),Sn(d));l(v)||(c=Nn(kn(null),v.props,c),d=Nn(kn(null),v.methods,d),u=v.wire||u?Nn(kn(null),v.wire,u):void 0,s=Nn(kn(null),v.track,s),m=m||v.connectedCallback,b=b||v.disconnectedCallback,g=g||v.renderedCallback,f=f||v.errorCallback,y=y||v.render),c=Nn(kn(null),Kc,c);const N={ctor:e,name:o,wire:u,track:s,props:c,methods:d,bridge:k,template:r,connectedCallback:m,disconnectedCallback:b,renderedCallback:g,errorCallback:f,render:y};return N}function Da(e,t){const l=Tn(e,t);return l&&l.value}function Ia(e,t){let l=Uc.get(e);if(l)return l;let n=pa(e);return a(n)&&(n={template:void 0,name:e.name}),l=La(e,n,t||e.name),Uc.set(e,l),l}function $a(e,t){xn(e,t.bridge.prototype)}function Ha(e,t,l){return t.apply(e,l)}function Ba(e,t,l){e[t]=l}function Fa(e,t){return e[t]}function ja(e){e.idx=++Yc;const{connected:t}=ec;t&&jl(e,t);const{connectedCallback:l}=e.def;a(l)||ca(e,l)}function Ua(e){e.idx=0;const{disconnected:t}=ec;t&&jl(e,t);const{disconnectedCallback:l}=e.def;a(l)||ca(e,l)}function Ka(e){e.isDirty&&qa(e)}function Va(e){0!==e.idx||ja(e)}function Wa(e){0===e.idx||(Ua(e),e.isDirty=!0,ga(e),en(e))}function Ya(e,t,l,a){const o=Ia(l),{isRoot:r,mode:i,fallback:c}=a,d={mode:i,delegatesFocus:!!l.delegatesFocus};qc+=1;const u={uid:qc,idx:0,isScheduled:!1,isDirty:!0,isRoot:n(r),fallback:c,mode:i,def:o,elm:t,data:sr,context:kn(null),cmpProps:kn(null),cmpTrack:kn(null),cmpState:void 0,cmpSlots:c?kn(null):void 0,cmpTemplate:void 0,cmpRoot:t.attachShadow(d),callHook:Ha,setHook:Ba,getHook:Fa,component:void 0,children:pr,deps:[]};ma(u,l),ba(u)}function qa(e){if(0<e.idx&&e.isDirty){const t=fa(e);e.isScheduled=!1,Xa(e,t),za(e)}}function Ga(e){const t=fa(e),{elm:l,cmpRoot:a,fallback:n,children:o}=e;e.isScheduled=!1,e.children=t,gl(l,a,o,t,n),za(e)}function Xa(e,t){const{elm:l,cmpRoot:n,fallback:o,children:r}=e;if(e.children=t,0===t.length&&0===r.length)return;let i;try{gl(l,n,r,t,o)}catch(t){i=Object(t)}finally{if(!a(i)){const t=an(e);if(a(t))throw i;Ja(e,t,i),t.isDirty&&Ga(t)}}}function za(e){const{rendered:t}=ec;t&&jl(e,t);const{renderedCallback:l}=e.def;a(l)||ca(e,l)}function Qa(){kc(hc.REHYDRATE);const e=Gc.sort((e,t)=>e.idx-t.idx);Gc=[];for(let t=0,l=e.length;t<l;t+=1){const n=e[t];try{qa(n)}catch(o){const r=ln(n);if(a(r))throw t+1<l&&(0===Gc.length&&C(Qa),Hn.apply(Gc,In.call(e,t+1))),Nc(hc.REHYDRATE),o;Ja(n,r,o),r.isDirty&&Ga(r)}}Nc(hc.REHYDRATE)}function Ja(e,t,l){a(l.wcStack)&&(l.wcStack=on(e.elm)),en(e);const{errorCallback:n}=t.def;ca(t,n,[l,l.wcStack])}function Za(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(l(n))continue;const{elm:o}=n;if(!a(o))try{n.hook.destroy(n)}catch(t){}}}function en(e){const{children:t,fallback:l}=e;e.children=pr,n(l)?go.call(e.elm,""):Fo.call(e.cmpRoot,""),Za(t)}function tn(e){e.isScheduled||(e.isScheduled=!0,0===Gc.length&&C(Qa),Fn.call(Gc,e))}function ln(e){const{elm:t}=e,l=t&&rn(t);return nn(l)}function an(e){const{elm:t}=e;return nn(t)}function nn(e){let t,n=e;for(;!l(n);){if(t=g(n,mr),!a(t)&&!a(t.def.errorCallback))return t;n=rn(n)}}function on(e){const t=[];let n=e;do{const e=g(n,mr);if(!a(e)){const e=fo.call(n),l=n.getAttribute("is");Fn.call(t,`<${qn.call(e)}${l?" is=\"${is}":""}>`)}n=rn(n)}while(!l(n));return t.reverse().join("\n\t")}function rn(e){const t=_o.call(e);return l(t)&&Wc?cn(e):t}function cn(e){const t=Po.call(e);return t instanceof Vc?Bo.call(t):null}function dn(e){return e.$$OwnerKey$$}function un(e,t){e.$$OwnerKey$$=t}function sn(e){return e.$$OwnKey$$}function pn(e,t){e.$$OwnKey$$=t}function mn(e){return g(e,mr)}function bn(e){return zo(e,mr)}function gn(e,t){const{cmpSlots:n}=e,o=e.cmpSlots=kn(null);for(let a=0,n=t.length;a<n;a+=1){const e=t[a];if(l(e))continue;const n=e.data,r=n.attrs&&n.attrs.slot||"",i=o[r]=o[r]||[];e.key=`@${r}:${e.key}`,Fn.call(i,e)}if(!e.isDirty){const t=En(n);if(t.length!==En(o).length)return void ya(e);for(let l=0,r=t.length;l<r;l+=1){const r=t[l];if(a(o[r])||n[r].length!==o[r].length)return void ya(e);const i=n[r],c=o[r];for(let t=0,l=o[r].length;t<l;t+=1)if(i[t]!==c[t])return void ya(e)}}}function fn(e,t){const l=g(e,t);return a(l)||l(),e}var yn=String.prototype;const{freeze:hn,seal:vn,keys:En,create:kn,assign:Nn,defineProperty:wn,getPrototypeOf:On,setPrototypeOf:xn,getOwnPropertyDescriptor:Tn,getOwnPropertyNames:Sn,defineProperties:Cn,getOwnPropertySymbols:Rn,hasOwnProperty:An,preventExtensions:Mn,isExtensible:Pn}=Object,{isArray:_n}=Array,{concat:Ln,filter:Dn,slice:In,splice:$n,unshift:Hn,indexOf:Bn,push:Fn,map:jn,join:Un,forEach:Kn,reduce:Vn,reverse:Wn}=Array.prototype,{replace:Yn,toLowerCase:qn,indexOf:Gn,charCodeAt:Xn,slice:zn,split:Qn}=yn,Jn={}.toString,{hasAttribute:Zn,getAttribute:eo,getAttributeNS:to,setAttribute:lo,setAttributeNS:ao,removeAttribute:no,removeAttributeNS:oo,querySelector:ro,querySelectorAll:io,getBoundingClientRect:co,getElementsByTagName:uo,getElementsByClassName:so,getElementsByTagNameNS:po}=Element.prototype;let{addEventListener:mo,removeEventListener:bo}=Element.prototype;mo=mo.__lwcOriginal__||mo,bo=bo.__lwcOriginal__||bo;const go=An.call(Element.prototype,"innerHTML")?Tn(Element.prototype,"innerHTML").set:Tn(HTMLElement.prototype,"innerHTML").set,fo=Tn(Element.prototype,"tagName").get,yo=Tn(HTMLElement.prototype,"tabIndex").get,ho=An.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,vo=An.call(Element.prototype,"innerHTML")?Tn(Element.prototype,"children").get:Tn(HTMLElement.prototype,"children").get,{DOCUMENT_POSITION_CONTAINED_BY:Eo,DOCUMENT_POSITION_CONTAINS:ko,DOCUMENT_POSITION_PRECEDING:No,DOCUMENT_POSITION_FOLLOWING:wo,DOCUMENT_FRAGMENT_NODE:Oo}=Node,{insertBefore:xo,removeChild:To,appendChild:So,hasChildNodes:Co,replaceChild:Ro,compareDocumentPosition:Ao,cloneNode:Mo}=Node.prototype,Po=Tn(Node.prototype,"parentNode").get,_o=An.call(Node.prototype,"parentElement")?Tn(Node.prototype,"parentElement").get:Tn(HTMLElement.prototype,"parentElement").get,Lo=Tn(Node.prototype,"textContent").set,Do=An.call(Node.prototype,"childNodes")?Tn(Node.prototype,"childNodes").get:Tn(HTMLElement.prototype,"childNodes").get,Io=Tn(Node.prototype,"nodeValue"),$o=Io.set,Ho=Io.get,Bo="undefined"==typeof window.ShadowRoot?()=>{throw new Error("Internal Error: Missing ShadowRoot")}:Tn(window.ShadowRoot.prototype,"host").get,Fo="undefined"==typeof window.ShadowRoot?()=>{throw new Error("Internal Error: Missing ShadowRoot")}:Tn(window.ShadowRoot.prototype,"innerHTML").set,jo="EventTarget"in window?EventTarget.prototype.dispatchEvent:Node.prototype.dispatchEvent,Uo="undefined"!=typeof window.ShadowRoot,Ko=Tn(HTMLIFrameElement.prototype,"contentWindow").get,Vo=Tn(Event.prototype,"target").get,Wo=Tn(Event.prototype,"currentTarget").get,Yo=Tn(FocusEvent.prototype,"relatedTarget").get,qo="Symbol(x)"===Symbol("x").toString(),Go=new WeakMap,Xo=qo?(e,t,l)=>{let n=Go.get(e);a(n)&&(n=kn(null),Go.set(e,n)),n[t]=l}:m,zo=qo?(e,t)=>{const l=Go.get(e);return!a(l)&&l[t]}:g,Qo=/^aria/,Jo=new WeakMap,{hasOwnProperty:Zo}=Object.prototype,{replace:er,toLowerCase:tr}=yn,lr=["ariaAutoComplete","ariaChecked","ariaCurrent","ariaDisabled","ariaExpanded","ariaHasPopUp","ariaHidden","ariaInvalid","ariaLabel","ariaLevel","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaPressed","ariaReadOnly","ariaRequired","ariaSelected","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","ariaLive","ariaRelevant","ariaAtomic","ariaBusy","ariaActiveDescendant","ariaControls","ariaDescribedBy","ariaFlowTo","ariaLabelledBy","ariaOwns","ariaPosInSet","ariaSetSize","ariaColCount","ariaColIndex","ariaDetails","ariaErrorMessage","ariaKeyShortcuts","ariaModal","ariaPlaceholder","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","role"];for(let t=0,l=lr.length;t<l;t+=1){const e=lr[t];f(e)&&k(e)}const ar=["dir","id","accessKey","title","lang","hidden","draggable","tabIndex"],nr=kn(null),or=kn(null);Kn.call(lr,e=>{const t=qn.call(Yn.call(e,/^aria/,"aria-"));nr[t]=e,or[e]=t}),Kn.call(ar,e=>{const t=qn.call(e);nr[t]=e,or[e]=t}),Kn.call(["accessKey","readOnly","tabIndex","bgColor","colSpan","rowSpan","contentEditable","dateTime","formAction","isMap","maxLength","useMap"],e=>{const t=qn.call(e);nr[t]=e,or[e]=t});const rr=/-([a-z])/g,ir=/[A-Z]/g;let cr,dr=null,ur=[];const sr=vn(kn(null)),pr=vn([]),mr=p("ViewModel");var br={update:function(e,t){a(e.listener)?_(t):(t.listener=e.listener,t.listener.vnode=t)},create:_};const gr={data:{}};var fr={create:e=>L(gr,e),update:L};const yr=new WeakMap,{isArray:hr}=Array,{getPrototypeOf:vr,create:Er,defineProperty:kr,defineProperties:Nr,isExtensible:wr,getOwnPropertyDescriptor:Or,getOwnPropertyNames:xr,getOwnPropertySymbols:Tr,preventExtensions:Sr}=Object,{push:Cr,concat:Rr,map:Ar}=Array.prototype,Mr=Object.prototype,Pr=Symbol(),{getKey:_r}=Proxy,Lr=_r?e=>e&&_r(e,Pr)||e:e=>e&&e[Pr]||e;class Dr{constructor(e,t,l){this.originalTarget=t,this.membrane=e,$(l)||(this.valueMutated=l.valueMutated,this.valueObserved=l.valueObserved)}get(e,t){const{originalTarget:l,membrane:a}=this;if(t===Pr)return l;const n=l[t],{valueObserved:o}=this;return $(o)||o(l,t),a.getProxy(n)}set(e,t,l){const{originalTarget:a,valueMutated:n}=this,o=a[t];return o===l?"length"===t&&hr(a)&&!$(n)&&n(a,t):(a[t]=l,!$(n)&&n(a,t)),!0}deleteProperty(e,t){const{originalTarget:l,valueMutated:a}=this;return delete l[t],$(a)||a(l,t),!0}apply(){}construct(){}has(e,t){const{originalTarget:l,valueObserved:a}=this;return $(a)||a(l,t),t in l}ownKeys(){const{originalTarget:e}=this;return Rr.call(xr(e),Tr(e))}isExtensible(e){const t=wr(e);if(!t)return t;const{originalTarget:l,membrane:a}=this,n=wr(l);return n||U(a,e,l),n}setPrototypeOf(){}getPrototypeOf(){const{originalTarget:e}=this;return vr(e)}getOwnPropertyDescriptor(e,t){const{originalTarget:l,membrane:a,valueObserved:n}=this;$(n)||n(l,t);let o=Or(l,t);if($(o))return o;const r=Or(e,t);return o.configurable||r||(o=j(a,o),kr(e,t,o)),r||o}preventExtensions(e){const{originalTarget:t,membrane:l}=this;return U(l,e,t),Sr(t),!0}defineProperty(e,t,l){const{originalTarget:a,membrane:n,valueMutated:o}=this,{configurable:r}=l;if("writable"in l&&!("value"in l)){const e=Or(a,t);l.value=e.value}return kr(a,t,F(l)),!1===r&&kr(e,t,j(n,l)),$(o)||o(a,t),!0}}class Ir{constructor(e,t,l){this.originalTarget=t,this.membrane=e,$(l)||(this.valueObserved=l.valueObserved)}get(e,t){const{membrane:l,originalTarget:a}=this;if(t===Pr)return a;const n=a[t],{valueObserved:o}=this;return $(o)||o(a,t),l.getReadOnlyProxy(n)}set(){return!1}deleteProperty(){return!1}apply(){}construct(){}has(e,t){const{originalTarget:l}=this,{valueObserved:a}=this;return $(a)||a(l,t),t in l}ownKeys(){const{originalTarget:e}=this;return Rr.call(xr(e),Tr(e))}setPrototypeOf(){}getOwnPropertyDescriptor(e,t){const{originalTarget:l,membrane:a,valueObserved:n}=this;$(n)||n(l,t);let o=Or(l,t);if($(o))return o;const r=Or(e,t);return o.configurable||r||(o=K(a,o),kr(e,t,o)),r||o}preventExtensions(){return!1}defineProperty(){return!1}}const $r=new class{constructor(e){this.objectGraph=new WeakMap,$(e)||(this.valueDistortion=e.valueDistortion,this.valueMutated=e.valueMutated,this.valueObserved=e.valueObserved)}getProxy(e){const{valueDistortion:t}=this,l=$(t)?e:t(e);if(H(l)){const t=this.getReactiveState(l);return t.readOnly===e?e:t.reactive}return l}getReadOnlyProxy(e){const{valueDistortion:t}=this,l=$(t)?e:t(e);return H(l)?this.getReactiveState(l).readOnly:l}unwrapProxy(e){return Lr(e)}getReactiveState(e){const t=this,{objectGraph:l,valueMutated:a,valueObserved:n}=t;e=Lr(e);let o=l.get(e);return o?o:(o=Nr(Er(null),{reactive:{get(){const l=new Dr(t,e,{valueMutated:a,valueObserved:n}),o=new Proxy(V(e),l);return kr(this,"reactive",{value:o}),o},configurable:!0},readOnly:{get(){const l=new Ir(t,e,{valueObserved:n}),a=new Proxy(V(e),l);return kr(this,"readOnly",{value:a}),a},configurable:!0}}),l.set(e,o),o)}}({valueObserved:I,valueMutated:D,valueDistortion:function(e){return e}}),Hr=function(e){const t=$r.unwrapProxy(e);return t===e?e:t},Br=new Map,Fr=kn(null,{input:{value:kn(null,{value:{value:1},checked:{value:1}})},select:{value:kn(null,{value:{value:1}})},textarea:{value:kn(null,{value:{value:1}})}}),jr={data:{}};var Ur={create:e=>re(jr,e),update:re};const Kr=kn(null),Vr={data:{}};var Wr={create:e=>ce(Vr,e),update:ce};const Yr={data:{}};var qr={create:e=>de(Yr,e),update:de},Gr={create:function(e){const{elm:t,data:{classMap:l}}=e;if(!a(l)){const{classList:e}=t;for(const t in l)e.add(t)}}},Xr={create:function(e){const{elm:t,data:{styleMap:l}}=e;if(!a(l)){const{style:e}=t;for(const t in l)e[t]=l[t]}}};const zr={create:function(e){const{data:{context:t}}=e;if(a(t))return;const l=e.elm,n=g(l,mr);a(n)||Nn(n.context,t)}};let Qr=window.MutationObserver;if("undefined"==typeof Qr){function e(){}e.prototype={observe(){}},Qr=window.MutationObserver=e}const Jr=Qr,Zr=Jr.prototype.observe;let{addEventListener:ei,removeEventListener:ti}=window;ei=ei.__lwcOriginal__||ei,ti=ti.__lwcOriginal__||ti;const li=p("items");Ee.prototype=kn(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:Ee},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return g(this,li).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){Kn.call(g(this,li),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return jn.call(g(this,li),(e,t)=>[t,e])}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return jn.call(g(this,li),(e,t)=>t)}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return g(this,li)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=g(this,li);return e<t.length?{value:t[e++],done:!1}:{done:!0}}}}}}),xn(Ee,NodeList);const ai=Tn(Document.prototype,"activeElement").get,ni=An.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,{createDocumentFragment:oi,createElement:ri,createElementNS:ii,createTextNode:ci,createComment:di,querySelector:ui,querySelectorAll:si,getElementById:pi,getElementsByClassName:mi,getElementsByName:bi,getElementsByTagName:gi,getElementsByTagNameNS:fi}=Document.prototype,yi=p("items");Oe.prototype=kn(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:Oe},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return g(this,yi).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(e){if(Ne(e)&&this[e])return this[e];const t=g(this,yi);for(let l=t.length-1;0<=l;l-=1){const a=t[l],n=we(a);if(n===e)return a}return null}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){Kn.call(g(this,yi),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return jn.call(g(this,yi),(e,t)=>[t,e])}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return jn.call(g(this,yi),(e,t)=>t)}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return g(this,yi)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=g(this,yi);return e<t.length?{value:t[e++],done:!1}:{done:!0}}}}}}),xn(Oe,HTMLCollection);const hi=/[&\u00A0"]/g,vi=/[&\u00A0<>]/g,{replace:Ei,toLowerCase:ki}=yn,Ni=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),wi=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]),Oi=p("host"),xi=p("shadowRoot"),{createDocumentFragment:Ti}=document;var Si;(function(e){e.CLOSED="closed",e.OPEN="open"})(Si||(Si={}));const Ci={constructor:{writable:!0,configurable:!0,value:$e},toString:{writable:!0,configurable:!0,value(){return`[object ShadowRoot]`}}},Ri={activeElement:{enumerable:!0,configurable:!0,get(){const e=ai.call(document);if(l(e))return e;const t=Le(this);if(0==(Ao.call(t,e)&Eo))return null;let a=e;for(;!lt(t,a);)a=_o.call(a);return tt(a)?null:a}},delegatesFocus:{enumerable:!0,configurable:!0,get(){return!1}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){const a=ni.call(document,e,t);return l(a)?a:Pe(this,Me(a,!0))}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error}},host:{enumerable:!0,configurable:!0,get(){return Le(this)}},mode:{configurable:!0,get(){return Si.OPEN}},styleSheets:{enumerable:!0,configurable:!0,get(){throw new Error}}},Ai={addEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,l){Bt(this,e,t,l)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,l){Ft(this,e,t,l)}},baseURI:{enumerable:!0,configurable:!0,get(){return Le(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return ke(nt(this))}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value(e){const t=Le(this);return this===e?0:this.contains(e)?20:Ao.call(t,e)&Eo?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value(e){const t=Le(this);return 0!=(Ao.call(t,e)&Eo)&&lt(t,e)}},firstChild:{enumerable:!0,configurable:!0,get(){const{childNodes:e}=this;return e[0]||null}},lastChild:{enumerable:!0,configurable:!0,get(){const{childNodes:e}=this;return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value(){return 0<this.childNodes.length}},isConnected:{enumerable:!0,configurable:!0,get(){return 0!=(Ao.call(document,Le(this))&Eo)}},nextSibling:{enumerable:!0,configurable:!0,get(){return null}},previousSibling:{enumerable:!0,configurable:!0,get(){return null}},nodeName:{enumerable:!0,configurable:!0,get(){return"#document-fragment"}},nodeType:{enumerable:!0,configurable:!0,get(){return 11}},nodeValue:{enumerable:!0,configurable:!0,get(){return null}},ownerDocument:{enumerable:!0,configurable:!0,get(){return Le(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get(){return null}},parentNode:{enumerable:!0,configurable:!0,get(){return null}},textContent:{enumerable:!0,configurable:!0,get(){const{childNodes:e}=this;let t="";for(let l=0,a=e.length;l<a;l+=1)t+=ve(e[l]);return t}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(e){return ct.call(this,e)}}},Mi={innerHTML:{enumerable:!0,configurable:!0,get(){const{childNodes:e}=this;let t="";for(let l=0,a=e.length;l<a;l+=1)t+=Ae(e[l]);return t}},localName:{enumerable:!0,configurable:!0,get(){return null}},namespaceURI:{enumerable:!0,configurable:!0,get(){return null}},nextElementSibling:{enumerable:!0,configurable:!0,get(){return null}},previousElementSibling:{enumerable:!0,configurable:!0,get(){return null}},prefix:{enumerable:!0,configurable:!0,get(){return null}}},Pi={childElementCount:{enumerable:!0,configurable:!0,get(){return this.children.length}},children:{enumerable:!0,configurable:!0,get(){return xe(Dn.call(nt(this),e=>e instanceof Element))}},firstElementChild:{enumerable:!0,configurable:!0,get(){return this.children[0]||null}},lastElementChild:{enumerable:!0,configurable:!0,get(){const{children:e}=this;return e.item(e.length-1)||null}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value(e){return bt(this,e)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value(e){return ke(gt(this,e))}}};Nn(Ci,Ai,Pi,Mi,Ri),$e.prototype=kn(DocumentFragment.prototype,Ci),Uo&&xn($e.prototype,window.ShadowRoot.prototype);const _i=new WeakMap;let Li;const Di={childList:!0,subtree:!0};let Ii;const $i={childList:!0},Hi=p("slotchange");wt.__lwcOriginal__=mo,Ot.__lwcOriginal__=bo,kt.__lwcOriginal__=ei,Nt.__lwcOriginal__=ti,function(){xt(),Tt()}();const{addEventListener:Bi,removeEventListener:Fi}=Node.prototype;var ji;(function(e){e[e.CUSTOM_ELEMENT_LISTENER=1]="CUSTOM_ELEMENT_LISTENER",e[e.SHADOW_ROOT_LISTENER=2]="SHADOW_ROOT_LISTENER"})(ji||(ji={}));const Ui=new WeakMap,Ki={composed:!1},Vi=new WeakMap,Wi=new WeakMap,Yi=new WeakMap,qi={IFRAME:1,VIDEO:1,AUDIO:1,A:1,INPUT:1,SELECT:1,TEXTAREA:1,BUTTON:1},Gi="Symbol(x)"===Symbol("x").toString(),Xi=new WeakMap;let zi,Qi;const Ji=kn(null);var Zi;(function(e){e.manual="manual"})(Zi||(Zi={}));const ec=kn(null),tc=["wiring","locator","rendered","connected","disconnected"],{createElement:lc,createElementNS:ac,createTextNode:nc,createComment:oc}=document,rc=Symbol.iterator,ic={create:e=>{a(e.elm)&&(e.elm=nc.call(document,e.text)),Ol(e)},update:kl,insert:Nl,move:Nl,remove:wl,destroy:Ul},cc={create:e=>{a(e.elm)&&(e.elm=oc.call(document,e.text)),xl(e)},update:kl,insert:Nl,move:Nl,remove:wl,destroy:Ul},dc={create:e=>{const{data:t,sel:l,elm:n}=e,{ns:o,create:r}=t;a(n)&&(e.elm=a(o)?lc.call(document,l):ac.call(document,o,l)),Sl(e),r(e)},update:(e,t)=>{const{data:{update:l}}=t;l(e,t),Al(e,t)},insert:(e,t,l)=>{xo.call(t,e.elm,l),Ll(e)},move:(e,t,l)=>{xo.call(t,e.elm,l)},remove:(e,t)=>{To.call(t,e.elm),$l(e)},destroy:Bl},uc={create:e=>{const{sel:t,data:{create:n},elm:l}=e;a(l)&&(e.elm=lc.call(document,t)),Pl(e),Ml(e),n(e)},update:(e,t)=>{const{data:{update:l}}=t;l(e,t),Ml(t),Al(e,t),Dl(t)},insert:(e,t,l)=>{xo.call(t,e.elm,l),Ll(e),Rl(e)},move:(e,t,l)=>{xo.call(t,e.elm,l)},remove:(e,t)=>{To.call(t,e.elm),$l(e)},destroy:e=>{Hl(e),Bl(e)}},sc=Uo?function(){return xc.fallback}:()=>!0;var pc=Object.freeze({h:Yl,ti:function(e){const t=0<e&&!(n(e)||o(e));return t?0:e},s:function(e,t,l,o){a(o)||a(o[e])||0===o[e].length||(l=o[e]);const r=Yl("slot",t,l);return n(r.fallback)&&ml(l),r},c:h,i:function(e,t){const l=[];if(ml(l),a(e)||null===e)return l;const n=e[rc]();let o=n.next(),r=0,{value:i,done:c}=o;for(;!1===c;){o=n.next(),c=o.done;const e=t(i,r,0===r,c);_n(e)?Fn.apply(l,e):Fn.call(l,e),r+=1,i=o.value}return l},f:function(e){const t=e.length,l=[];ml(l);for(let a=0;a<t;a+=1){const t=e[a];_n(t)?Fn.apply(l,t):Fn.call(l,t)}return l},t:c,p:function(e){let t,l,a;return{sel:"!",data:sr,children:t,text:e,elm:a,key:l,hook:cc,uid:Vl(),fallback:sc()}},d:function(e){return null==e?null:c(e)},b:t,fb:b,ll:ql,k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t;case"object":}},gid:function(e){return a(e)||""===e?e:l(e)?e:`${e}-${Vl()}`}});const mc=new Set([ll]),bc=kn(null),gc=document.head||document.body||document,fc=kn(null),yc=kn(null);var hc;(function(e){e.REHYDRATE="lwc-rehydrate",e.INIT="lwc-init",e.HYDRATE="lwc-hydrate"})(hc||(hc={}));const vc="undefined"!=typeof performance&&"function"==typeof performance.mark&&"function"==typeof performance.clearMarks&&"function"==typeof performance.measure&&"function"==typeof performance.clearMeasures,Ec=function(){},kc=vc?function(e){performance.mark(e)}:Ec,Nc=vc?function(e){performance.measure(e,e),performance.clearMarks(e),performance.clearMeasures(e)}:Ec,wc=vc?oa:Ec,Oc=vc?ra:Ec;let xc=null,Tc=null;const Sc=new Map,Cc=new WeakMap;(function(){document.elementFromPoint=function(e,t){const a=ni.call(document,e,t);return l(a)?a:Pe(document,Me(a,!0))},wn(document,"activeElement",{get(){let e=ai.call(this);if(l(e))return e;for(;!a(dn(e));)e=_o.call(e);return"HTML"===e.tagName&&(e=document.body),e},enumerable:!0,configurable:!0})})(),function(){return"undefined"==typeof window.ShadowRoot}()&&function(){window.ShadowRoot=$e}();const{isConcatSpreadable:Rc}=Symbol,{isArray:Ac}=Array,{slice:Mc,unshift:Pc,shift:_c}=Array.prototype;va()&&function(){Array.prototype.concat=Na}();const Lc=Object.getOwnPropertyDescriptor(Event.prototype,"composed"),Dc=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");(function(){if(!Lc)return!1;let e=new Event("click");const t=document.createElement("button");return t.addEventListener("click",t=>e=t),t.click(),!Lc.get.call(e)})()&&function(){HTMLElement.prototype.click=function(){mo.call(this,"click",wa);try{Dc.value.call(this)}catch(e){throw e}finally{bo.call(this,"click",wa)}}}(),function(){return Object.getOwnPropertyDescriptor(Event.prototype,"composed")===void 0}()&&function(){const e=Nn(kn(null),{blur:1,focus:1,focusin:1,focusout:1,click:1,dblclick:1,mousedown:1,mouseenter:1,mouseleave:1,mousemove:1,mouseout:1,mouseover:1,mouseup:1,wheel:1,beforeinput:1,input:1,keydown:1,keyup:1,compositionstart:1,compositionupdate:1,compositionend:1,touchstart:1,touchend:1,touchmove:1,touchcancel:1,pointerover:1,pointerenter:1,pointerdown:1,pointermove:1,pointerup:1,pointercancel:1,pointerout:1,pointerleave:1,gotpointercapture:1,lostpointercapture:1,dragstart:1,drag:1,dragenter:1,dragleave:1,dragover:1,drop:1,dragend:1,DOMActivate:1,DOMFocusIn:1,DOMFocusOut:1,keypress:1});Object.defineProperties(Event.prototype,{composed:{get(){const{type:t}=this;return 1===e[t]},configurable:!0,enumerable:!0}})}();const{CustomEvent:Ic}=window;(function(){return window.CustomEvent!==Oa})()&&function(){window.CustomEvent=Oa,window.CustomEvent.prototype=Ic.prototype}(),function(){const e=Object.getOwnPropertyDescriptor(Event.prototype,"composed").get;Object.defineProperties(FocusEvent.prototype,{composed:{get(){const{isTrusted:t}=this,l=e.call(this);return!!(t&&!1===l)||l},enumerable:!0,configurable:!0}})}();const $c=kn(null);Kn.call(lr,e=>{const t=s(HTMLElement.prototype,e);a(t)||($c[e]=t)}),Kn.call(ar,e=>{const t=s(HTMLElement.prototype,e);a(t)||($c[e]=t)}),Sa.prototype={constructor:Sa,dispatchEvent(e){const t=Ta(this),l=bn(this);return jo.call(t,e)},addEventListener(e,t,l){const a=bn(this),n=ha(a,t);a.elm.addEventListener(e,n,l)},removeEventListener(e,t,l){const a=bn(this),n=ha(a,t);a.elm.removeEventListener(e,n,l)},setAttributeNS(e,t){const l=Ta(this);T(l,t),l.setAttributeNS.apply(l,arguments),x(l,t)},removeAttributeNS(e,t){const l=Ta(this);T(l,t),l.removeAttributeNS.apply(l,arguments),x(l,t)},removeAttribute(e){const t=Ta(this);T(t,e),t.removeAttribute.apply(t,arguments),x(t,e)},setAttribute(e){const t=Ta(this);T(t,e),t.setAttribute.apply(t,arguments),x(t,e)},getAttribute(e){const t=Ta(this);T(t,e);const l=t.getAttribute.apply(t,arguments);return x(t,e),l},getAttributeNS(e,t){const l=Ta(this);T(l,t);const a=l.getAttributeNS.apply(l,arguments);return x(l,t),a},getBoundingClientRect(){const e=Ta(this);return e.getBoundingClientRect()},querySelector(e){const t=bn(this),{elm:l}=t;return l.querySelector(e)},querySelectorAll(e){const t=bn(this),{elm:l}=t;return l.querySelectorAll(e)},getElementsByTagName(e){const t=bn(this),{elm:l}=t;return l.getElementsByTagName(e)},getElementsByClassName(e){const t=bn(this),{elm:l}=t;return l.getElementsByClassName(e)},get classList(){return Ta(this).classList},get template(){const e=bn(this);return e.cmpRoot},get shadowRoot(){return null},render(){const e=bn(this),{template:t}=e.def;return a(t)?ll:t},toString(){const e=bn(this);return`[object ${e.def.name}]`}};const Hc=Vn.call(Sn($c),(e,t)=>(e[t]=xa(t,$c[t]),e),kn(null));Cn(Sa.prototype,Hc),hn(Sa),vn(Sa.prototype);const Bc=kn(null),Fc=kn(null),jc=Ma(HTMLElement,Sn($c),[]);hn(jc),vn(jc.prototype);const Uc=new WeakMap,Kc=Vn.call(Sn($c),(e,t)=>{const l=w(t);return e[t]={config:3,type:"any",attr:l},e},kn(null)),Vc=window.ShadowRoot,Wc="undefined"!=typeof Vc;let Yc=0,qc=0;let Gc=[];const Xc=p("connecting"),zc=p("disconnecting");Nn(Node.prototype,{appendChild(e){const t=So.call(this,e);return fn(t,Xc)},insertBefore(e,t){const l=xo.call(this,e,t);return fn(l,Xc)},removeChild(e){const t=To.call(this,e);return fn(t,zc)},replaceChild(e,t){const l=Ro.call(this,e,t);return fn(l,zc),fn(e,Xc),l}}),e.createElement=function(e,t={}){if(!i(t)||l(t))throw new TypeError;let r=t.is;R(r)&&(r=A(r));let{mode:c,fallback:d}=t;"closed"!==c&&(c="open"),d=a(d)||n(d)||o(Uo);const u=document.createElement(e);if(!a(sn(u)))return u;const s=Ia(r);return $a(u,s),n(d)&&El(u,{def:s}),Ya(e,u,r,{mode:c,fallback:d,isRoot:!0}),m(u,Xc,()=>{const e=mn(u);wc(e),Wa(e),Va(e),Ka(e),Oc(e)}),m(u,zc,()=>{const e=mn(u);Wa(e)}),u},e.getComponentDef=Ia,e.isComponentConstructor=function(e){return _a(e,e.name)},e.getComponentConstructor=function(e){let t=null;if(e instanceof HTMLElement){const l=g(e,mr);a(l)||(t=l.def.ctor)}return t},e.LightningElement=Sa,e.register=Fl,e.unwrap=Hr,e.registerTemplate=function(e){return mc.add(e),e},e.sanitizeAttribute=function(e,t,l,a){return a},e.registerComponent=function(e,{name:t,tmpl:l}){return Sc.set(e,{name:t,template:l}),e},e.registerDecorators=z,e.isNodeFromTemplate=function(e){return!o(e instanceof Node)&&!a(dn(e))},e.dangerousObjectMutation=function(e){return $r.getProxy(Hr(e))},e.api=le,e.track=W,e.readonly=function(e){return $r.getReadOnlyProxy(e)},e.wire=G,e.decorate=X,e.buildCustomElementConstructor=function(e,t){var r;R(e)&&(e=A(e));const{props:c,bridge:d}=Ia(e),u={fallback:!1,mode:"open",isRoot:!0};if(i(t)&&!l(t)){const{mode:e,fallback:l}=t;"closed"===e&&(u.mode=e),u.fallback=n(l)||o(Uo)}return r=class extends d{constructor(){super();const t=qn.call(fo.call(this));if(n(u.fallback)){const t=Ia(e);El(this,{def:t})}Ya(t,this,e,u)}connectedCallback(){const e=mn(this);Va(e),Ka(e)}disconnectedCallback(){const e=mn(this);Wa(e)}attributeChangedCallback(e,t,l){if(t!==l){const t=N(e);a(c[t])||!O(this,e)||(this[t]=l)}}},r.observedAttributes=jn.call(Sn(c),e=>c[e].attr),r},e.Element=Sa,Object.defineProperty(e,"__esModule",{value:!0})});
(function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(e.Engine={})})(this,function(e){"use strict";function a(e){return e===void 0}function l(e){return null===e}function n(e){return!0===e}function o(e){return!1===e}function r(e){return"function"==typeof e}function i(e){return"object"==typeof e}function d(e){return"string"==typeof e}function u(e){return e&&e.toString?e.toString():"object"==typeof e?ao.call(e):e+""}function s(e,t){do{const l=Pn(e,t);if(!a(l))return l;e=Rn(e)}while(null!==e)}function p(e){return Jo?Symbol(e):`$$lwc-${e}$$`}function m(e,t,l){Cn(e,t,{value:l})}function g(e,t){return e[t]}function f(e){return Object.getOwnPropertyDescriptor(Element.prototype,e)===void 0}function y(e){let t=ar.get(e);return void 0===t&&(t={},ar.set(e,t)),t}function v(e){return null==e?null:e+""}function E(e,t){return{get(){const l=y(this);return nr.call(l,e)?l[e]:no.call(this,t)?oo.call(this,t):null},set(l){const a=v(l),n=y(this);n[e]=a,null===l?uo.call(this,t):io.call(this,t,l)},configurable:!0,enumerable:!0}}function k(e){const t=rr.call(or.call(e,lr,"aria-")),l=E(e,t);Object.defineProperty(Element.prototype,e,l)}function N(e){return a(dr[e])&&(dr[e]=Qn.call(e,sr,e=>e[1].toUpperCase())),dr[e]}function w(e){return a(ur[e])&&(ur[e]=Qn.call(e,pr,e=>"-"+e.toLowerCase())),ur[e]}function O(e,t){return e!==br||t!==mr}function x(){br=null,mr=void 0}function T(e,t){br=e,mr=t}function S(){const e=gr;gr=[];for(let t=0,l=e.length;t<l;t+=1)e[t]()}function C(e){0===gr.length&&Promise.resolve().then(S),Wn.call(gr,e)}function R(e){return Dn.call(e,"__circular__")}function A(e){return e()}function P(e,t){const{type:l}=e,{data:{on:a}}=t,n=a&&a[l];n&&n.call(void 0,e)}function _(){return function e(t){P(t,e.vnode)}}function M(e){const{data:{on:t}}=e;if(a(t))return;const l=e.elm,n=e.listener=_();n.vnode=e;for(var o in t)l.addEventListener(o,n)}function I(e,t){const{data:{attrs:n}}=t;if(a(n))return;let{data:{attrs:o}}=e;if(o===n)return;const r=t.elm;for(var i in o=a(o)?fr:o,n){const e=n[i],t=o[i];t!==e&&(T(r,i),58===eo.call(i,3)?r.setAttributeNS("http://www.w3.org/XML/1998/namespace",i,e):58===eo.call(i,5)?r.setAttributeNS("http://www.w3.org/1999/xlink",i,e):l(e)?r.removeAttribute(i):r.setAttribute(i,e),x(r,i))}}function D(e,t){const l=Nr.get(e);if(!a(l)){const e=l[t];if(e){const t=e.length;for(let l=0;l<t;l+=1){const t=e[l];t.isDirty||(Na(t),rn(t))}}}}function L(e,t){if(l(Ic))return;const n=Ic;let o=Nr.get(e);if(a(o)){const t=Tn(null);o=t,Nr.set(e,t)}let r=o[t];if(a(r))r=[],o[t]=r;else if(r[0]===n)return;-1===Vn.call(r,n)&&(Wn.call(r,n),Wn.call(n.deps,r))}function $(e){return e===void 0}function H(e){return"function"==typeof e}function B(e){return"object"==typeof e}function F(e,t){return e.valueIsObservable(t)?e.getProxy(t):t}function j(e){return Mr.call(e,"value")&&(e.value=Br(e.value)),e}function K(e,t,l){const a=Dr.call(Ar(l),Pr(l));a.forEach(a=>{let n=Rr(l,a);n.configurable||(n=Y(e,n,F)),Tr(t,a,n)}),_r(t)}function U(e,t){return e.valueIsObservable(t)?e.getReadOnlyProxy(t):t}function V(e){let t;return wr(e)?t=[]:B(e)&&(t={}),t}function W(e){if(null==e)return!1;if(wr(e))return!0;const t=Or(e);return t===Kr||null===t||null===Or(t)}function Y(e,t,l){const{set:a,get:n}=t;return Mr.call(t,"value")?t.value=l(e,t.value):(!$(n)&&(t.get=function(){return l(e,n.call(Br(this)))}),!$(a)&&(t.set=function(t){a.call(Br(this),e.unwrapProxy(t))})),t}function q(e,t,l){return 1===arguments.length?Yr.getProxy(e):G(e,t,!!a(l)||!0===l.enumerable)}function G(e,t,l){return{get(){const e=vn(this);return L(this,t),e.cmpTrack[t]},set(e){const l=vn(this),a=Yr.getProxy(e);a!==l.cmpTrack[t]&&(l.cmpTrack[t]=a,0<l.idx&&D(this,t))},enumerable:l,configurable:!0}}function X(e,t,l){return G(e,t,!i(l)||!0===l.enumerable)}function z(){const e=arguments.length;if(0<e&&3>e)return X;throw new TypeError}function Q(e,t){if(!r(e)||null==t)throw new TypeError;const l=_n(t),n=e.prototype;for(let o=0,i=l.length;o<i;o+=1){const i=l[o],c=t[i];if(!r(c))throw new TypeError;const d=Pn(n,i),u=c(e,i,d);a(u)||Cn(n,i,u)}return e}function J(e,t){const l=Tn(null),a=le(e,t.publicProps),n=ae(e,t.publicMethods),o=te(e,t.wire),r=ee(e,t.track);for(const i in qr.set(e,{props:a,methods:n,wire:o,track:r}),a)l[i]=ne;if(o)for(const e in o){const t=o[e];t.method||(l[e]=z(t.adapter,t.params))}if(r)for(const e in r)l[e]=q;return Q(e,l),e}function Z(e){return qr.get(e)}function ee(e,t){return a(t)||0===_n(t).length?fr:Sn(Tn(null),t)}function te(e,t){return a(t)||0===_n(t).length?void 0:Sn(Tn(null),t)}function le(e,t){return a(t)||0===_n(t).length?fr:_n(t).reduce((e,l)=>{const a=w(l);return e[l]=Sn({config:0,type:"any",attr:a},t[l]),e},Tn(null))}function ae(e,t){return a(t)||0===t.length?fr:t.reduce((t,l)=>(t[l]=e.prototype[l],t),Tn(null))}function ne(e,t,l){const a=Z(e);return i(l)&&(r(l.get)||r(l.set))?(a.props[t].config=r(l.set)?3:1,re(e,t,l)):(a.props[t].config=0,oe(e,t,l))}function oe(e,t,l){return{get(){const e=vn(this);if(!pa(e))return L(this,t),e.cmpProps[t]},set(e){const l=vn(this);if(n(l.isRoot)||pa(l));l.cmpProps[t]=Yr.getReadOnlyProxy(e),0<l.idx&&D(this,t)},enumerable:!!a(l)||l.enumerable}}function re(e,t,l){const{get:a,set:n,enumerable:o}=l;if(!r(a))throw new TypeError;return{get(){return a.call(this)},set(e){const t=vn(this);if(t.isRoot||pa(t));n&&n.call(this,Yr.getReadOnlyProxy(e))},enumerable:o}}function ie(e,t){return Dn.call(Gr,e)&&Dn.call(Gr[e],t)}function ce(e,t){const l=t.data.props;if(a(l))return;const n=e.data.props;if(n===l)return;const o=t.elm,r=g(o,hr),i=a(n),{sel:c}=t;for(const a in l){const e=l[a];(i||e!==(ie(c,a)?o[a]:n[a]))&&(o[a]=e)}}function de(e){if(null==e)return fr;e=d(e)?e:e+"";let t=Qr[e];if(t)return t;t=Tn(null);let l,a=0;const n=e.length;for(l=0;l<n;l++)32===eo.call(e,l)&&(l>a&&(t[to.call(e,a,l)]=!0),a=l+1);return l>a&&(t[to.call(e,a,l)]=!0),Qr[e]=t,t}function ue(e,t){const{elm:l,data:{className:n}}=t,{data:{className:o}}=e;if(o===n)return;const{classList:r}=l,i=de(n),c=de(o);for(var d in c)a(i[d])&&r.remove(d);for(d in i)a(c[d])&&r.add(d)}function se(e,t){const{style:l}=t.data;if(e.data.style===l)return;const a=t.elm,{style:n}=a;d(l)&&""!==l?n.cssText=l:uo.call(a,"style")}function pe(e){return e===void 0}function me(e,t){return e.key===t.key&&e.sel===t.sel}function be(e){return null!=e}function ge(e,t,l){const a={};let n,o,r;for(n=t;n<=l;++n)r=e[n],be(r)&&(o=r.key,void 0!==o&&(a[o]=n));return a}function fe(e,t,l,a,n){for(;a<=n;++a){const n=l[a];be(n)&&(n.hook.create(n),n.hook.insert(n,e,t))}}function ye(e,t,l,a){for(;l<=a;++l){const a=t[l];be(a)&&a.hook.remove(a,e)}}function he(e,t,l){let a,n,o,r,i=0,c=0,d=t.length-1,u=t[0],s=t[d],p=l.length-1,m=l[0],b=l[p];for(;i<=d&&c<=p;)be(u)?be(s)?be(m)?be(b)?me(u,m)?(Ee(u,m),u=t[++i],m=l[++c]):me(s,b)?(Ee(s,b),s=t[--d],b=l[--p]):me(u,b)?(Ee(u,b),b.hook.move(u,e,s.elm.nextSibling),u=t[++i],b=l[--p]):me(s,m)?(Ee(s,m),m.hook.move(s,e,u.elm),s=t[--d],m=l[++c]):(void 0===a&&(a=ge(t,i,d)),n=a[m.key],pe(n)?(m.hook.create(m),m.hook.insert(m,e,u.elm),m=l[++c]):(o=t[n],be(o)&&(o.sel===m.sel?(Ee(o,m),t[n]=void 0,m.hook.move(o,e,u.elm)):(m.hook.create(m),m.hook.insert(m,e,u.elm))),m=l[++c])):b=l[--p]:m=l[++c]:s=t[--d]:u=t[++i];if(i<=d||c<=p)if(i>d){const t=l[p+1];r=be(t)?t.elm:null,fe(e,r,l,c,p)}else ye(e,t,i,d)}function ve(e,t,l){const{length:a}=l;if(0===t.length)return void fe(e,null,l,0,a);let n=null;for(let o=a-1;0<=o;o-=1){const a=l[o],r=t[o];a!==r&&(be(r)?be(a)?(Ee(r,a),n=a.elm):r.hook.remove(r,e):be(a)&&(a.hook.create(a),a.hook.insert(a,e,n),n=a.elm))}}function Ee(e,t){e!==t&&(t.elm=e.elm,t.hook.update(e,t))}function ke(e){switch(e.nodeType){case Node.ELEMENT_NODE:const t=vt(e);let l="";for(let e=0,a=t.length;e<a;e+=1)l+=ke(t[e]);return l;default:return e.nodeValue;}}function Ne(){throw new TypeError("Illegal constructor")}function we(e){const t=Tn(Ne.prototype);return m(t,ui,e),Gn.call(e,(e,l)=>{Cn(t,l,{value:e,enumerable:!0,configurable:!0})}),t}function Oe(e){return"length"!==e&&isNaN(e)}function xe(e){return e.getAttribute("id")||e.getAttribute("name")}function Te(){throw new TypeError("Illegal constructor")}function Se(e){const t=Tn(Te.prototype);return m(t,xi,e),Gn.call(e,(e,l)=>{Cn(t,l,{value:e,enumerable:!0,configurable:!0})}),t}function Ce(e){let t="";const l=vt(e);for(let a=0,n=l.length;a<n;a+=1)t+=_e(l[a]);return t}function Re(e){return"&"===e?"&amp;":"<"===e?"&lt;":">"===e?"&gt;":"\""===e?"&quot;":"\xA0"===e?"&nbsp;":void 0}function Ae(e){return Ci.call(e,Ti,Re)}function Pe(e){return Ci.call(e,Si,Re)}function _e(e){switch(e.nodeType){case Node.ELEMENT_NODE:{const{attributes:t}=e,l=ko.call(e);let a="<"+Ri.call(l);for(let e,l=0;e=t[l];l++)a+=" "+e.name+"=\""+Ae(e.value)+"\"";return a+=">",Ai.has(l)?a:a+Ce(e)+"</"+Ri.call(l)+">"}case Node.TEXT_NODE:{const{data:t,parentNode:l}=e;return l instanceof Element&&Pi.has(ko.call(l))?t:Pe(t)}case Node.COMMENT_NODE:return"<!--"+e.data+"-->";default:throw new Error;}}function Me(e,t){const l=[];let a=e;for(const n=e===window?window:st.call(e);a;)l.push(a),a=a.assignedSlot?a.assignedSlot:a.nodeType===Ro&&a.host&&(t||a!==n)?a.host:a.parentNode;return l[l.length-1]===document&&l.push(window),l}function Ie(e,t){const l=Me(e,!0),a=t;for(let n,o,r,c,d=0;d<a.length;d++)if(n=a[d],r=n===window?window:st.call(n),r!==o&&(c=l.indexOf(r),o=r),!(r instanceof Be)||-1<c)return n;return null}function De(e){const t=$e(e);return t.delegatesFocus}function Le(e){return e[_i]}function $e(e){return g(e,Mi)}function He(e,t){if(g(e,Mi))throw new Error(`Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.`);const{mode:l,delegatesFocus:a}=t,n=Ii.call(document);return Cn(n,"mode",{get(){return l},configurable:!0,enumerable:!0}),Cn(n,"delegatesFocus",{get(){return!!a},configurable:!0,enumerable:!0}),An(n,Be.prototype),m(n,_i,e),m(e,Mi,n),n}function Be(){throw new TypeError("Illegal constructor")}function Fe(e){return e.$$OwnerKey$$}function je(e,t){e.$$OwnerKey$$=t}function Ke(e){for(let t=e;!l(t);){if(!a(t.$$OwnerKey$$))return t.$$OwnerKey$$;if(!a(t.$$OwnKey$$))return;t=$o.call(t)}}function Ue(e){return e.$$OwnKey$$}function Ve(e,t,l){if(Fe(e)!==t&&(je(e,t),e instanceof Element)){Ye(e,l);const a=Wi(e);for(let e=0,n=a.length;e<n;e+=1){const n=a[e];Ve(n,t,l)}}}function We(){return new ri(e=>{Gn.call(e,e=>{const{target:t,addedNodes:l}=e,n=Fe(t),o=qe(t);if(!a(n))for(let e=0,t=l.length;e<t;e+=1){const t=l[e];Ve(t,n,o)}})})}function Ye(e,t){a(t)||(io.call(e,t,""),e.$$ShadowTokenKey$$=t)}function qe(e){return e.$$ShadowTokenKey$$}function Ge(e){Ki.set(e,1),Ui||(Ui=We()),ii.call(Ui,e,Vi)}function Xe(e,t){const a=lt(e);if(t===a)return $e(a);if(t instanceof Element){if(Ke(e)===Ke(t))return t;if(!l(a)&&at(t)){const e=lt(t);if(!l(e)&&nt(a,e))return e}}return null}function ze(e){const t=Rn(e).constructor;class a{constructor(){throw new TypeError("Illegal constructor")}hasChildNodes(){return 0<Wi(this).length}get firstChild(){const e=Wi(this);return e[0]||null}get lastChild(){const e=Wi(this);return e[e.length-1]||null}get textContent(){return ke(this)}set textContent(e){Bo.call(this,e)}get childElementCount(){return this.children.length}get firstElementChild(){return this.children[0]||null}get lastElementChild(){const{children:e}=this;return e.item(e.length-1)||null}get assignedSlot(){const e=$o.call(this);return l(e)||!at(e)||Ke(e)===Ke(this)?null:e}get parentNode(){const e=$o.call(this);return l(e)?e:Xe(this,e)}get parentElement(){const e=$o.call(this);if(l(e))return null;const t=Xe(this,e);return t instanceof Element?t:null}getRootNode(e){return st.call(this,e)}compareDocumentPosition(e){return Fe(this)===Fe(e)?Do.call(this,e):0}contains(e){return Fe(this)===Fe(e)&&0!=(Do.call(this,e)&xo)}cloneNode(e){const t=Lo.call(this,!1);if(!e)return t;const l=Wi(this);for(let a=0,n=l.length;a<n;a+=1)t.appendChild(l[a].cloneNode(!0));return t}}return An(a,t),An(a.prototype,t.prototype),a}function Qe(e){return{postMessage(){return e.postMessage.apply(e,arguments)},blur(){return e.blur.apply(e,arguments)},close(){return e.close.apply(e,arguments)},focus(){return e.focus.apply(e,arguments)},get closed(){return e.closed},get frames(){return e.frames},get length(){return e.length},get location(){return e.location},set location(t){e.location=t},get opener(){return e.opener},get parent(){return e.parent},get self(){return e.self},get top(){return e.top},get window(){return e.window}}}function Je(){return new ri(e=>{const t=[];Gn.call(e,e=>{const{target:l}=e;-1===Vn.call(t,l)&&(Wn.call(t,l),Yo.call(l,new CustomEvent("slotchange")))})})}function Ze(e){const t=lt(e);return l(t)?[]:Xn.call(Fo.call(e),(e,l)=>(nt(t,l)||Wn.call(e,l),e),[])}function et(e){return Xn.call(Fo.call(e),(e,t)=>(t instanceof Element&&at(t)?Wn.apply(e,et(t)):Wn.call(e,t),e),[])}function tt(e){const t=Et(e),{addEventListener:o}=e;return class extends t{addEventListener(e,t,l){"slotchange"!==e||g(this,Gi)||(m(this,Gi,!0),!Yi&&(Yi=Je()),ii.call(Yi,this,qi)),o.call(this,e,t,l)}assignedElements(e){const t=!a(e)&&n(e.flatten),l=t?et(this):Ze(this);return Fn.call(l,e=>e instanceof Element)}assignedNodes(e){const t=!a(e)&&n(e.flatten);return t?et(this):Ze(this)}get name(){const e=oo.call(this,"name");return l(e)?"":e}get childNodes(){const e=lt(this),t=l(e)?[]:ct(e,vt(this));return we(t)}get children(){const e=lt(this),t=l(e)?[]:ct(e,vt(this));return Se(Fn.call(t,e=>e instanceof Element))}}}function lt(e){if(!(e instanceof Node))return null;const t=Ke(e);if(a(t))return null;let n=e;for(;!l(n)&&Ue(n)!==t;)n=$o.call(n);return l(n)?null:n}function at(e){return"SLOT"===ko.call(e)}function nt(e,t){const l=Ke(t);return a(l)||Ue(e)===l}function ot(e){for(let t=Ho.call(e);!l(t)&&at(t);)e=t,t=Ho.call(e);return e}function rt(e,t){const a=Ue(e);for(let n=t instanceof Element?t:Ho.call(t);!l(n)&&n!==e;){const t=Ke(n),o=Ho.call(n);if(t===a)return at(n);if(o===e)return!1;if(!l(o)&&Ke(o)!==t){if(!at(o))return!1;if(n=lt(ot(o)),!l(n)){if(n===e)return!0;if(Ke(n)===a)return!0}}else n=o}return!1}function it(e){const t=Le(e);return ct(t,Fo.call(t))}function ct(e,t){const l=[];for(let a=0,n=t.length;a<n;a+=1){const n=t[a],o=nt(e,n);o&&Wn.call(l,n)}return l}function dt(e){const t=lt(e);return l(t)?ut(e):$e(t)}function ut(e){for(let t;!l(t=$o.call(e));)e=t;return e}function st(e){const t=!a(e)&&!!e.composed;return n(t)?ut(this):dt(this)}function pt(e,t){for(let l=0,a=t.length;l<a;l+=1)if(nt(e,t[l]))return t[l];return null}function mt(e,t){const l=[];for(let a=0,n=t.length;a<n;a+=1){const n=t[a];!nt(e,n)&&rt(e,n)&&Wn.call(l,n)}return l}function bt(e,t){for(let l=0,a=t.length;l<a;l+=1){const a=t[l];if(!nt(e,a)&&rt(e,a))return a}return null}function gt(e,t){const a=lt(e);if(l(a))return[];const n=mo.call(e,t);return Ue(e)?mt(e,n):ct(a,n)}function ft(e,t){const a=lt(e);if(l(a))return null;const n=mo.call(e,t);return Ue(e)?bt(e,n):pt(a,n)}function yt(e,t){const l=Le(e),a=mo.call(l,t);return pt(l,a)}function ht(e,t){const l=Le(e),a=mo.call(l,t);return ct(l,a)}function vt(e){let t;if(!a(Ue(e))){const l=mo.call(e,"slot");t=Xn.call(l,(t,l)=>(nt(e,l)&&Wn.apply(t,Ze(l)),t),[])}else t=Fo.call(e);const n=lt(e);return l(n)?[]:Xn.call(t,(e,t)=>(nt(n,t)&&Wn.call(e,t),e),[])}function Et(e){const t=ze(e);return class extends t{querySelector(e){return ft(this,e)}querySelectorAll(e){return we(gt(this,e))}get innerHTML(){const e=Wi(this);let t="";for(let l=0,a=e.length;l<a;l+=1)t+=_e(e[l]);return t}set innerHTML(e){Eo.call(this,e)}get outerHTML(){return _e(this)}}}function kt(e){const t=Et(e);return class extends t{get contentWindow(){const e=Go.call(this);return e?Qe(e):e}}}function Nt(t){const e=Xo.call(t);return!!(e instanceof Node&&0!=(Do.call(document,e)&xo)&&Fe(e))}function wt(t){let e=null;try{if(e=t.$$lwcEventWrapper$$,!e){e=t.$$lwcEventWrapper$$=function(l){return Nt(l)&&It(l),"function"==typeof t?t.call(this,l):t.handleEvent&&t.handleEvent(l)}}}catch(t){}return e}function Ot(e,t,l){const a=typeof t;if(("function"==a||"object"==a)&&("object"!=a||t.handleEvent&&"function"==typeof t.handleEvent)){const a=wt(t);ci.call(this,e,a,l)}}function xt(e,t,l){const a=wt(t);di.call(this,e,a||t,l)}function Tt(e,t,l){const a=typeof t;if(("function"==a||"object"==a)&&("object"!=a||t.handleEvent&&"function"==typeof t.handleEvent)){const a=wt(t);ho.call(this,e,a,l)}}function St(e,t,l){const a=wt(t);vo.call(this,e,a||t,l)}function Ct(){window.addEventListener=Ot,window.removeEventListener=xt}function Rt(){Node.prototype.addEventListener=Tt,Node.prototype.removeEventListener=St}function At(e,t){return!!(Do.call(e,t)&xo)}function Pt(e,t){let l=st.call(e,t);return"mode"in l&&"delegatesFocus"in l&&(l=Le(l)),l}function _t(){const e=zo.call(this),t=Xo.call(this),l=Me(t,this.composed);if(!(e instanceof Node))return Ie(document,l);const a=Ji.get(this),n=a===Qi.SHADOW_ROOT_LISTENER?$e(e):e;return Ie(n,l)}function Mt(){const e=Xo.call(this);return Me(e,this.composed)}function It(e){if(Ji.has(e))return;Mn(e,{target:{get:_t,enumerable:!0,configurable:!0},composedPath:{value:Mt,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:_t,enumerable:!0,configurable:!0},path:{get:Mt,enumerable:!0,configurable:!0}});const t=s(e,"relatedTarget");a(t)||Cn(e,"relatedTarget",{get(){const e=Ji.get(this),a=zo.call(this),n=t.get.call(this);if(l(n))return null;const o=e===Qi.SHADOW_ROOT_LISTENER?$e(a):a;return Ie(o,Me(n,!0))},enumerable:!0,configurable:!0}),Ji.set(e,0)}function Dt(e){let t=ec.get(e);return a(t)&&(t=Tn(null),ec.set(e,t)),t}function Lt(e,t){if(!r(t))throw new TypeError;let l=tc.get(t);return a(l)&&(l=function(l){const{composed:a}=l,n=Xo.call(l),o=zo.call(l);if(n!==o){const r=Pt(n,{composed:a});(At(r,o)||!1===a&&r===o)&&t.call(e,l)}},l.placement=Qi.SHADOW_ROOT_LISTENER,tc.set(t,l)),l}function $t(e,t){if(!r(t))throw new TypeError;let l=lc.get(t);return a(l)&&(l=function(l){jt(l)&&t.call(e,l)},l.placement=Qi.CUSTOM_ELEMENT_LISTENER,lc.set(t,l)),l}function Ht(e){function t(t){Gn.call(s,a=>{o(l)&&a.placement===t&&-1!==Vn.call(u,a)&&a.call(void 0,e)})}let l=!1,a=!1;const{type:n,stopImmediatePropagation:r,stopPropagation:i}=e,c=zo.call(e),d=Dt(c),u=d[n];Cn(e,"stopImmediatePropagation",{value(){l=!0,r.call(e)},writable:!0,enumerable:!0,configurable:!0}),Cn(e,"stopPropagation",{value(){a=!0,i.call(e)},writable:!0,enumerable:!0,configurable:!0});const s=jn.call(u);Ji.set(e,Qi.SHADOW_ROOT_LISTENER),t(Qi.SHADOW_ROOT_LISTENER),o(l)&&o(a)&&(Ji.set(e,Qi.CUSTOM_ELEMENT_LISTENER),t(Qi.CUSTOM_ELEMENT_LISTENER)),Ji.set(e,0)}function Bt(e,t,l){const n=Dt(e);let o=n[t];a(o)&&(o=n[t]=[]),0===o.length&&Xi.call(e,t,Ht),Wn.call(o,l)}function Ft(e,t,l){const n=Dt(e);let o,r;a(r=n[t])||-1===(o=Vn.call(r,l))||(Kn.call(r,o,1),0===r.length&&zi.call(e,t,Ht))}function jt(e){const t=Xo.call(e),l=zo.call(e),{composed:a}=e;return!0===a||t===l||At(Pt(t,Zi),l)}function Kt(e,t,l){const a=$t(e,l);Bt(e,t,a)}function Ut(e,t,l){const a=$t(e,l);Ft(e,t,a)}function Vt(e,t,l){const a=Le(e),n=Lt(e,l);Bt(a,t,n)}function Wt(e,t,l){const a=Le(e),n=Lt(e,l);Ft(a,t,n)}function Yt(e){const{width:t,height:l}=bo.call(e);return(0<t||0<l)&&"hidden"!==getComputedStyle(e).visibility}function qt(e){if(o(no.call(e,"tabindex")))return!1;const t=oo.call(e,"tabindex");return""!==t&&("0"===t||"-1"===t)}function Gt(e){return wo.call(e,"\n button:not([tabindex=\"-1\"]):not([disabled]),\n [contenteditable]:not([tabindex=\"-1\"]),\n video[controls]:not([tabindex=\"-1\"]),\n audio[controls]:not([tabindex=\"-1\"]),\n [href]:not([tabindex=\"-1\"]),\n input:not([tabindex=\"-1\"]):not([disabled]),\n select:not([tabindex=\"-1\"]):not([disabled]),\n textarea:not([tabindex=\"-1\"]):not([disabled]),\n [tabindex=\"0\"]\n")&&Yt(e)}function Xt(e){const t=ko.call(e);return Yt(e)&&(qt(e)||no.call(e,"contenteditable")||Dn.call(ac,t))}function zt(e){for(let t=0,l=e.length;t<l;t+=1){const l=e[t];if(Gt(l))return l}return null}function Qt(e){for(let t=e.length-1;0<=t;t-=1){const l=e[t];if(Gt(l))return l}return null}function Jt(e){const t=vi.call(document,"\n button:not([tabindex=\"-1\"]):not([disabled]),\n [contenteditable]:not([tabindex=\"-1\"]),\n video[controls]:not([tabindex=\"-1\"]),\n audio[controls]:not([tabindex=\"-1\"]),\n [href]:not([tabindex=\"-1\"]),\n input:not([tabindex=\"-1\"]):not([disabled]),\n select:not([tabindex=\"-1\"]):not([disabled]),\n textarea:not([tabindex=\"-1\"]):not([disabled]),\n [tabindex=\"0\"]\n"),l=mo.call(e,"\n button:not([tabindex=\"-1\"]):not([disabled]),\n [contenteditable]:not([tabindex=\"-1\"]),\n video[controls]:not([tabindex=\"-1\"]),\n audio[controls]:not([tabindex=\"-1\"]),\n [href]:not([tabindex=\"-1\"]),\n input:not([tabindex=\"-1\"]):not([disabled]),\n select:not([tabindex=\"-1\"]):not([disabled]),\n textarea:not([tabindex=\"-1\"]):not([disabled]),\n [tabindex=\"0\"]\n"),a=l[0],n=l[l.length-1],o=Vn.call(t,e),r=-1<o?o:Vn.call(t,a),i=0===l.length?r+1:Vn.call(t,n)+1,c=jn.call(t,0,r),d=jn.call(t,i);return{prev:c,inner:l,next:d}}function Zt(e){const t=si.call(document);return l(t)?t:0==(Do.call(e,t)&xo)?null:t}function el(e,t){const l=Do.call(e,t);if(l&xo)return 0;return l&So?1:l&Co?2:-1}function tl(e){const{prev:t}=e;return zt(zn.call(t))}function al(e){const{next:t}=e;return zt(t)}function nl(e,t){const a=al(t);return l(a)?void e.blur():void a.focus()}function ol(e,t){const a=tl(t);return l(a)?void e.blur():void a.focus()}function rl(e,t){return zt(t.inner)===e}function il(e,t){return Qt(t.inner)===e}function cl(e){const t=zo.call(e),a=Xo.call(e);if(t!==a)return;const n=Qo.call(e);if(l(n))return;const o=Jt(t),r=el(t,n);if(1===r){const e=zt(o.inner);return void(l(e)?nl(a,o):e.focus())}t===a&&ol(t,o)}function dl(e){const t=zo.call(e),a=Xo.call(e),n=Qo.call(e),r=Jt(t),i=rl(a,r),c=il(a,r);if(!(o(i)&&o(c)||l(n))){const e=el(t,n);1===e?i&&n===tl(r)&&nl(a,r):2===e?c&&n===al(r)&&ol(a,r):void 0}}function ul(e){return e!==si.call(document)&&Xt(e)}function sl(e){const t=zo.call(e);vo.call(t,"focusin",dl),setTimeout(()=>{-1===No.call(t)&&ho.call(t,"focusin",dl)},0)}function pl(e){const t=Xo.call(e);ul(t)&&ho.call(zo.call(e),"focusin",sl,!0)}function ml(e){fl(e),ho.call(e,"focusin",cl,!0)}function bl(e){vo.call(e,"focusin",cl,!0)}function gl(e){bl(e),ho.call(e,"mousedown",pl,!0),ho.call(e,"focusin",dl)}function fl(e){vo.call(e,"focusin",dl),vo.call(e,"mousedown",pl,!0)}function yl(e){const t=Et(e);return class extends t{attachShadow(e){return He(this,e)}addEventListener(e,t,l){Kt(this,e,t,l)}removeEventListener(e,t,l){Ut(this,e,t,l)}get shadowRoot(){const e=$e(this);return e.mode===Di.OPEN?e:null}get tabIndex(){if(De(this)&&o(no.call(this,"tabindex")))return 0;const e=s(t.prototype,"tabIndex");return e.get.call(this)}set tabIndex(e){const l=no.call(this,"tabindex"),a=No.call(this),n=s(t.prototype,"tabIndex");n.set.call(this,e);const o=No.call(this);l&&a===o?-1===a&&(fl(this),bl(this)):-1===o?gl(this):0===o&&De(this)?ml(this):(fl(this),bl(this))}blur(){if(De(this)){const e=Zt(this);if(!l(e))return void e.blur()}super.blur()}get childNodes(){const e=lt(this),t=l(e)?[]:ct(e,vt(this));return we(t)}get children(){const e=lt(this),t=l(e)?[]:ct(e,vt(this));return Se(Fn.call(t,e=>e instanceof Element))}}}function hl(e){nc.set(e,1)}function vl(e){return nc.has(e)}function El(e,t,l,a,n){if(l!==a){const o=n?e:t,r=vl(a)?he:ve;r(o,l,a)}}function kl(e){a(oc)&&(oc=ze(e).prototype),An(e,oc)}function Nl(e){a(rc)&&(rc=ze(e).prototype),An(e,rc)}function wl(e){switch(ko.call(e)){case"SLOT":return tt(e);case"IFRAME":return kt(e);}return Et(e)}function Ol(e,t){const{sel:l,isPortal:o,shadowAttribute:r}=t;let i=ic[l];a(i)&&(i=ic[l]=wl(e).prototype),An(e,i),n(o)&&Ge(e),Ye(e,r)}function xl(e,t){const{def:l,shadowAttribute:n}=t;let o=l.patchedBridge;a(o)&&(o=l.patchedBridge=yl(e)),An(e,o.prototype),Ye(e,n)}function Tl(e,t){e.text!==t.text&&Ko.call(t.elm,t.text)}function Sl(e,t,l){Ao.call(t,e.elm,l)}function Cl(e,t){Po.call(t,e.elm)}function Rl(e){const t=e.elm;gn(t,e.uid),n(e.fallback)&&kl(t)}function Al(e){const t=e.elm;gn(t,e.uid),n(e.fallback)&&Nl(t)}function Pl(e){vr.create(e),kr.create(e),zr.create(e),li.create(e),ai.create(e),Zr.create(e),ti.create(e),ni.create(e)}function _l(e){const{uid:t,sel:l,fallback:o}=e,r=e.elm;if(gn(r,t),n(o)){const{shadowAttribute:t,data:{context:n}}=e,o=!a(n)&&!a(n.lwc)&&n.lwc.dom===cc.manual;Ol(r,{sel:l,isPortal:o,shadowAttribute:t})}}function Ml(e,t){kr.update(e,t),zr.update(e,t),Zr.update(e,t),ti.update(e,t)}function Il(e){const t=hn(e.elm);Xa(t),Ga(t)}function Dl(e,t){const{children:l}=t,a=vl(l)?he:ve;a(t.elm,e.children,l)}function Ll(e){if(n(e.fallback)){const t=e.elm,l=hn(t),a=e.children;En(l,a),e.children=yr}}function $l(e){const t=e.elm;if(!Dn.call(t,hr)){const{mode:l,ctor:a,uid:o,fallback:r}=e;gn(t,o);const i=ja(a);if(Ka(t,i),n(r)){const{shadowAttribute:l}=e;xl(t,{def:i,shadowAttribute:l})}Qa(e.sel,t,a,{mode:l,fallback:r});hn(t)}}function Hl(e){vr.create(e),kr.create(e),zr.create(e),li.create(e),ai.create(e),Zr.create(e),ti.create(e),ni.create(e)}function Bl(e){const{elm:t,children:l}=e;for(let a=0;a<l.length;++a){const e=l[a];null!=e&&(e.hook.create(e),e.hook.insert(e,t,null))}}function Fl(e){const t=hn(e.elm);Ga(t)}function jl(e,t){kr.update(e,t),zr.update(e,t),Zr.update(e,t),ti.update(e,t)}function Kl(e){e.hook.destroy(e)}function Ul(e){za(hn(e.elm))}function Vl(e){const{children:t}=e;for(let l=0,a=t.length;l<a;++l){const e=t[l];null!=e&&e.hook.destroy(e)}}function Wl(e){for(let t=0;t<uc.length;++t){const n=uc[t];if(n in e){let t=dc[n];a(t)&&(dc[n]=t=[]),Wn.call(t,e[n])}}}function Yl(e,t){const{component:l,data:a,def:n,context:o}=e;for(let r=0,i=t.length;r<i;++r)t[r].call(void 0,l,a,n,o)}function ql(){}function Gl(e){const{data:t,children:l,sel:a}=e;if(t.ns="http://www.w3.org/2000/svg",Hn(l)&&"foreignObject"!==a)for(let e=0,t=l.length;e<t;++e){const t=l[e];null!=t&&t.hook===hc&&Gl(t)}}function Xl(){return Ic.uid}function zl(){return Ic.context.shadowAttribute}function Ql(e,t,l){const{key:n}=t;a(t.create)&&(t.create=Pl),a(t.update)&&(t.update=Ml);let o,r,i;const c=Ec();c&&(i=zl());const d=Xl(),u={sel:e,data:t,children:l,text:o,elm:r,key:n,hook:hc,shadowAttribute:i,uid:d,fallback:c};return 3===e.length&&115===eo.call(e,0)&&118===eo.call(e,1)&&103===eo.call(e,2)&&Gl(u),u}function h(e,t,l,n){R(t)&&(t=A(t));const{key:o}=l;a(l.create)&&(l.create=Hl),a(l.update)&&(l.update=jl);let r,i,c;const d=Ec();d&&(c=zl());const u=Xl();n=3===arguments.length?yr:n;const s={sel:e,data:l,children:n,text:r,elm:i,key:o,hook:vc,ctor:t,shadowAttribute:c,uid:u,fallback:d,mode:"open"};return s}function c(e){let t,l,a,n;return{sel:t,data:fr,children:l,text:e,elm:n,key:a,hook:fc,uid:Xl(),fallback:Ec()}}function t(e){if(l(Ic))throw new Error;const t=Ic;return function(l){fa(t,e,t.component,l)}}function b(e){if(l(Ic))throw new Error;const t=Ic;return function(){return ma(t,e,jn.call(arguments))}}function Jl(e,n,o){if(l(Ic))throw new Error;const i=Ic,c=t(e);return function(e){const{context:{locator:t}}=i;if(!a(t)){const{locator:e}=dc;e&&(t.resolved={target:n,host:t.id,targetContext:r(o)&&o(),hostContext:r(t.context)&&t.context()},Yl(i,e))}c(e)}}function ll(){return[]}function Zl(e){return Nc.has(e)}function ea(e){const t=bi.call(document,"style");return t.type="text/css",t.textContent=e,t}function ta(e){let t=wc[e];if(a(t)){t=mi.call(document);const l=ea(e);_o.call(t,l),wc[e]=t}return t.cloneNode(!0).firstChild}function la(e){if(a(xc[e])){xc[e]=!0;const t=ea(e);_o.call(Oc,t)}}function aa(){}function na(e){const t=Ql("style",{key:"style",create:aa,update:aa},yr);return t.elm=e,t}function oa(e){const{context:t,elm:l}=e,n=t.hostAttribute;a(n)||uo.call(l,n),t.hostAttribute=t.shadowAttribute=void 0}function ra(e,t,l){const{context:a,elm:n}=e;io.call(n,t,""),a.hostAttribute=t,a.shadowAttribute=l}function ia(e,t,l,a){const{fallback:n}=e;if(n){return Gn.call(t,e=>{const t=e(`[${l}]`,`[${a}]`,!1);la(t)})}else{const e=Xn.call(t,(e,t)=>e+t("","",!0),"");return na(ta(e))}}function ca(e,t){const{component:l,context:n,cmpSlots:o,cmpTemplate:r}=e;if(t!==r){if(on(e),!Zl(t))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${u(t)}.`);e.cmpTemplate=t,n.tplCache=Tn(null),oa(e);const{stylesheets:l,stylesheetTokens:o}=t;if(a(l)||0===l.length)n.styleVNode=void 0;else if(!a(o)){const{hostAttribute:t,shadowAttribute:a}=o;ra(e,t,a),n.styleVNode=ia(e,l,t,a)}}const i=t.call(void 0,kc,l,o,n.tplCache),{styleVNode:c}=n;return a(n.styleVNode)||Un.call(i,c),i}function da(e,t){return`<${e.def.name} (${e.uid})> - ${t}`}function ua(e){performance.mark(da(e,Sc.HYDRATE))}function sa(e){const t=Sc.HYDRATE,l=da(e,t);performance.measure(t,l),performance.clearMarks(l),performance.clearMeasures(t)}function pa(e){return Dc===e}function ma(e,t,l){const{context:a,component:n,callHook:o}=e;let r,i;try{r=o(n,t,l)}catch(t){i=Object(t)}finally{if(i)throw i.wcStack=sn(e.elm),i}return r}function ba(e,t){const l=Dc;Dc=e;let a;try{new t}catch(t){a=Object(t)}finally{if(Dc=l,a)throw a.wcStack=sn(e.elm),a}}function ga(e){const{def:{render:l},callHook:t}=e,{component:a,context:n}=e,o=Ic;Ic=e;let r,i;try{const n=t(a,l);r=ca(e,n)}catch(t){i=Object(t)}finally{if(Ic=o,i)throw i.wcStack=sn(e.elm),i}return r||[]}function fa(e,t,l,a){const{context:n,callHook:o}=e;let r;try{o(l,t,[a])}catch(t){r=Object(t)}finally{if(r)throw r.wcStack=sn(e.elm),r}}function ya(e){return Lc.get(e)}function ha(e,t){if(ba(e,t),a(e.component))throw new ReferenceError(`Invalid construction for ${t}, you must extend LightningElement.`)}function va(e){const{def:{wire:t}}=e;if(t){const{wiring:t}=dc;t&&Yl(e,t)}}function Ea(e){const{deps:t}=e,l=t.length;if(l){for(let a=0;a<l;a+=1){const l=t[a],n=Vn.call(t[a],e);Kn.call(l,n,1)}t.length=0}}function ka(e){Ea(e);const t=ga(e);return e.isDirty=!1,t}function Na(e){e.isDirty=!0}function wa(e,t){if(!r(t))throw new TypeError;let l=$c.get(t);return a(l)&&(l=function(l){fa(e,t,void 0,l)},$c.set(t,l)),l}function Oa(){if("getKey"in Proxy)return!1;const e=new Proxy([3,4],{}),t=[1,2].concat(e);return 4!==t.length}function xa(e){return"object"==typeof e?null!==e:"function"==typeof e}function Ta(e){if(!xa(e))return!1;const t=e[Hc];return t===void 0?Bc(e):!!t}function Sa(...e){const t=Object(this),l=[];let a=0;const n=Fc.call(arguments);for(jc.call(n,t);n.length;){const e=Kc.call(n);if(Ta(e)){let t=0;const n=e.length;for(t;t<n;t+=1,a+=1)if(t in e){const n=e[t];l[a]=n}}else l[a]=e,a+=1}return l}function Ca(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get(){return!0}})}function Ra(e,t){const l=new Wc(e,t);return Object.defineProperties(l,{composed:{get(){return!!(t&&t.composed)},configurable:!0,enumerable:!0}}),l}function Aa(e,t){const{get:l,set:a,enumerable:n,configurable:o}=t;if(!r(l))throw new TypeError;if(!r(a))throw new TypeError;return{enumerable:n,configurable:o,get(){const t=vn(this);if(!pa(t))return L(this,e),l.call(t.elm)},set(t){const l=vn(this);return t!==l.cmpProps[e]&&(l.cmpProps[e]=t,0<l.idx&&D(this,e)),a.call(l.elm,t)}}}function Pa(e){return vn(e).elm}function _a(){if(l(Dc))throw new ReferenceError;const e=Dc,{elm:t,cmpRoot:a,uid:n}=e,o=this;if(e.component=o,1===arguments.length){const{callHook:t,setHook:l,getHook:a}=arguments[0];e.callHook=t,e.setHook=l,e.getHook=a}er(o,hr,e),m(t,hr,e),m(a,hr,e),yn(t,n)}function Ma(e){let t=Gc[e];return a(t)&&(t=Gc[e]=function(){const t=hn(this),{getHook:l}=t;return l(t.component,e)}),t}function Ia(e){let t=Xc[e];return a(t)&&(t=Xc[e]=function(t){const l=hn(this),{setHook:a}=l;a(l.component,e,t)}),t}function Da(e){return function(){const t=hn(this),{callHook:l,component:a}=t,n=a[e];return l(t.component,n,jn.call(arguments))}}function La(e,t,l){let a;r(e)?a=class extends e{}:(a=function(){throw new TypeError("Illegal constructor")},An(a,e),An(a.prototype,e.prototype),Cn(a.prototype,"constructor",{writable:!0,configurable:!0,value:a}));const n=Tn(null);for(let a=0,o=t.length;a<o;a+=1){const e=t[a];n[e]={get:Ma(e),set:Ia(e),enumerable:!0,configurable:!0}}for(let a=0,o=l.length;a<o;a+=1){const e=l[a];n[e]={value:Da(e),writable:!0,configurable:!0}}return Mn(a.prototype,n),a}function $a(e,t){let a=Rn(e);if(l(a))throw new ReferenceError(`Invalid prototype chain for ${t}, you must extend LightningElement.`);if(R(a)){const e=A(a);a=e===a?_a:e}return a}function Ha(e,t,l){if(l=l||[],!e||0<=Vn.call(l,e))return!1;const a=$a(e,t);return!(a!==_a)||(ja(a,t),Wn.call(l,e),Ha(a,t,l))}function Ba(e,t,n){const{name:o,template:r}=t;let i=Z(e);a(i)&&(J(e,{publicMethods:Fa(e,"publicMethods"),publicProps:Fa(e,"publicProps"),track:Fa(e,"track"),wire:Fa(e,"wire")}),i=Z(e));let{props:c,methods:d,wire:u,track:s}=i||fr;const p=e.prototype;let{connectedCallback:m,disconnectedCallback:b,renderedCallback:g,errorCallback:f,render:y}=p;const h=$a(e,n),v=h===_a?null:ja(h,n),E=l(v)?zc:v.bridge,k=La(E,_n(c),_n(d));l(v)||(c=Sn(Tn(null),v.props,c),d=Sn(Tn(null),v.methods,d),u=v.wire||u?Sn(Tn(null),v.wire,u):void 0,s=Sn(Tn(null),v.track,s),m=m||v.connectedCallback,b=b||v.disconnectedCallback,g=g||v.renderedCallback,f=f||v.errorCallback,y=y||v.render),c=Sn(Tn(null),Jc,c);const N={ctor:e,name:o,wire:u,track:s,props:c,methods:d,bridge:k,template:r,connectedCallback:m,disconnectedCallback:b,renderedCallback:g,errorCallback:f,render:y};return N}function Fa(e,t){const l=Pn(e,t);return l&&l.value}function ja(e,t){let l=Qc.get(e);if(l)return l;let n=ya(e);return a(n)&&(n={template:void 0,name:e.name}),l=Ba(e,n,t||e.name),Qc.set(e,l),l}function Ka(e,t){An(e,t.bridge.prototype)}function Ua(e,t,l){return t.apply(e,l)}function Va(e,t,l){e[t]=l}function Wa(e,t){return e[t]}function Ya(e){e.idx=++td;const{connected:t}=dc;t&&Yl(e,t);const{connectedCallback:l}=e.def;a(l)||ma(e,l)}function qa(e){e.idx=0;const{disconnected:t}=dc;t&&Yl(e,t);const{disconnectedCallback:l}=e.def;a(l)||ma(e,l)}function Ga(e){e.isDirty&&Ja(e)}function Xa(e){0!==e.idx||Ya(e)}function za(e){0===e.idx||(qa(e),e.isDirty=!0,Ea(e),on(e))}function Qa(e,t,l,a){const o=ja(l),{isRoot:r,mode:i,fallback:c}=a,d={mode:i,delegatesFocus:!!l.delegatesFocus};ld+=1;const u={uid:ld,idx:0,isScheduled:!1,isDirty:!0,isRoot:n(r),fallback:c,mode:i,def:o,elm:t,data:fr,context:Tn(null),cmpProps:Tn(null),cmpTrack:Tn(null),cmpState:void 0,cmpSlots:c?Tn(null):void 0,cmpTemplate:void 0,cmpRoot:t.attachShadow(d),callHook:Ua,setHook:Va,getHook:Wa,component:void 0,children:yr,deps:[]};ha(u,l),va(u)}function Ja(e){if(0<e.idx&&e.isDirty){const t=ka(e);e.isScheduled=!1,en(e,t),tn(e)}}function Za(e){const t=ka(e),{elm:l,cmpRoot:a,fallback:n,children:o}=e;e.isScheduled=!1,e.children=t,El(l,a,o,t,n),tn(e)}function en(e,t){const{elm:l,cmpRoot:n,fallback:o,children:r}=e;if(e.children=t,0===t.length&&0===r.length)return;let i;try{El(l,n,r,t,o)}catch(t){i=Object(t)}finally{if(!a(i)){const t=dn(e);if(a(t))throw i;an(e,t,i),t.isDirty&&Za(t)}}}function tn(e){const{rendered:t}=dc;t&&Yl(e,t);const{renderedCallback:l}=e.def;a(l)||ma(e,l)}function ln(){Ac(Sc.REHYDRATE);const e=ad.sort((e,t)=>e.idx-t.idx);ad=[];for(let t=0,l=e.length;t<l;t+=1){const n=e[t];try{Ja(n)}catch(o){const r=cn(n);if(a(r))throw t+1<l&&(0===ad.length&&C(ln),Un.apply(ad,jn.call(e,t+1))),Pc(Sc.REHYDRATE),o;an(n,r,o),r.isDirty&&Za(r)}}Pc(Sc.REHYDRATE)}function an(e,t,l){a(l.wcStack)&&(l.wcStack=sn(e.elm)),on(e);const{errorCallback:n}=t.def;ma(t,n,[l,l.wcStack])}function nn(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(l(n))continue;const{elm:o}=n;if(!a(o))try{n.hook.destroy(n)}catch(t){}}}function on(e){const{children:t,fallback:l}=e;e.children=yr,n(l)?Eo.call(e.elm,""):Wo.call(e.cmpRoot,""),nn(t)}function rn(e){e.isScheduled||(e.isScheduled=!0,0===ad.length&&C(ln),Wn.call(ad,e))}function cn(e){const{elm:t}=e,l=t&&pn(t);return un(l)}function dn(e){const{elm:t}=e;return un(t)}function un(e){let t,n=e;for(;!l(n);){if(t=g(n,hr),!a(t)&&!a(t.def.errorCallback))return t;n=pn(n)}}function sn(e){const t=[];let n=e;do{const e=g(n,hr);if(!a(e)){const e=ko.call(n),l=n.getAttribute("is");Wn.call(t,`<${Jn.call(e)}${l?" is=\"${is}":""}>`)}n=pn(n)}while(!l(n));return t.reverse().join("\n\t")}function pn(e){const t=Ho.call(e);return l(t)&&ed?mn(e):t}function mn(e){const t=$o.call(e);return t instanceof Zc?Vo.call(t):null}function bn(e){return e.$$OwnerKey$$}function gn(e,t){e.$$OwnerKey$$=t}function fn(e){return e.$$OwnKey$$}function yn(e,t){e.$$OwnKey$$=t}function hn(e){return g(e,hr)}function vn(e){return tr(e,hr)}function En(e,t){const{cmpSlots:n}=e,o=e.cmpSlots=Tn(null);for(let a=0,n=t.length;a<n;a+=1){const e=t[a];if(l(e))continue;const n=e.data,r=n.attrs&&n.attrs.slot||"",i=o[r]=o[r]||[];e.key=`@${r}:${e.key}`,Wn.call(i,e)}if(!e.isDirty){const t=xn(n);if(t.length!==xn(o).length)return void Na(e);for(let l=0,r=t.length;l<r;l+=1){const r=t[l];if(a(o[r])||n[r].length!==o[r].length)return void Na(e);const i=n[r],c=o[r];for(let t=0,l=o[r].length;t<l;t+=1)if(i[t]!==c[t])return void Na(e)}}}function kn(e,t){const l=g(e,t);return a(l)||l(),e}var Nn=String.prototype;const{freeze:wn,seal:On,keys:xn,create:Tn,assign:Sn,defineProperty:Cn,getPrototypeOf:Rn,setPrototypeOf:An,getOwnPropertyDescriptor:Pn,getOwnPropertyNames:_n,defineProperties:Mn,getOwnPropertySymbols:In,hasOwnProperty:Dn,preventExtensions:Ln,isExtensible:$n}=Object,{isArray:Hn}=Array,{concat:Bn,filter:Fn,slice:jn,splice:Kn,unshift:Un,indexOf:Vn,push:Wn,map:Yn,join:qn,forEach:Gn,reduce:Xn,reverse:zn}=Array.prototype,{replace:Qn,toLowerCase:Jn,indexOf:Zn,charCodeAt:eo,slice:to,split:lo}=Nn,ao={}.toString,{hasAttribute:no,getAttribute:oo,getAttributeNS:ro,setAttribute:io,setAttributeNS:co,removeAttribute:uo,removeAttributeNS:so,querySelector:po,querySelectorAll:mo,getBoundingClientRect:bo,getElementsByTagName:go,getElementsByClassName:fo,getElementsByTagNameNS:yo}=Element.prototype;let{addEventListener:ho,removeEventListener:vo}=Element.prototype;ho=ho.__lwcOriginal__||ho,vo=vo.__lwcOriginal__||vo;const Eo=Dn.call(Element.prototype,"innerHTML")?Pn(Element.prototype,"innerHTML").set:Pn(HTMLElement.prototype,"innerHTML").set,ko=Pn(Element.prototype,"tagName").get,No=Pn(HTMLElement.prototype,"tabIndex").get,wo=Dn.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,Oo=Dn.call(Element.prototype,"innerHTML")?Pn(Element.prototype,"children").get:Pn(HTMLElement.prototype,"children").get,{DOCUMENT_POSITION_CONTAINED_BY:xo,DOCUMENT_POSITION_CONTAINS:To,DOCUMENT_POSITION_PRECEDING:So,DOCUMENT_POSITION_FOLLOWING:Co,DOCUMENT_FRAGMENT_NODE:Ro}=Node,{insertBefore:Ao,removeChild:Po,appendChild:_o,hasChildNodes:Mo,replaceChild:Io,compareDocumentPosition:Do,cloneNode:Lo}=Node.prototype,$o=Pn(Node.prototype,"parentNode").get,Ho=Dn.call(Node.prototype,"parentElement")?Pn(Node.prototype,"parentElement").get:Pn(HTMLElement.prototype,"parentElement").get,Bo=Pn(Node.prototype,"textContent").set,Fo=Dn.call(Node.prototype,"childNodes")?Pn(Node.prototype,"childNodes").get:Pn(HTMLElement.prototype,"childNodes").get,jo=Pn(Node.prototype,"nodeValue"),Ko=jo.set,Uo=jo.get,Vo="undefined"==typeof window.ShadowRoot?()=>{throw new Error("Internal Error: Missing ShadowRoot")}:Pn(window.ShadowRoot.prototype,"host").get,Wo="undefined"==typeof window.ShadowRoot?()=>{throw new Error("Internal Error: Missing ShadowRoot")}:Pn(window.ShadowRoot.prototype,"innerHTML").set,Yo="EventTarget"in window?EventTarget.prototype.dispatchEvent:Node.prototype.dispatchEvent,qo="undefined"!=typeof window.ShadowRoot,Go=Pn(HTMLIFrameElement.prototype,"contentWindow").get,Xo=Pn(Event.prototype,"target").get,zo=Pn(Event.prototype,"currentTarget").get,Qo=Pn(FocusEvent.prototype,"relatedTarget").get,Jo="Symbol(x)"===Symbol("x").toString(),Zo=new WeakMap,er=Jo?(e,t,l)=>{let n=Zo.get(e);a(n)&&(n=Tn(null),Zo.set(e,n)),n[t]=l}:m,tr=Jo?(e,t)=>{const l=Zo.get(e);return!a(l)&&l[t]}:g,lr=/^aria/,ar=new WeakMap,{hasOwnProperty:nr}=Object.prototype,{replace:or,toLowerCase:rr}=Nn,ir=["ariaAutoComplete","ariaChecked","ariaCurrent","ariaDisabled","ariaExpanded","ariaHasPopUp","ariaHidden","ariaInvalid","ariaLabel","ariaLevel","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaPressed","ariaReadOnly","ariaRequired","ariaSelected","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","ariaLive","ariaRelevant","ariaAtomic","ariaBusy","ariaActiveDescendant","ariaControls","ariaDescribedBy","ariaFlowTo","ariaLabelledBy","ariaOwns","ariaPosInSet","ariaSetSize","ariaColCount","ariaColIndex","ariaDetails","ariaErrorMessage","ariaKeyShortcuts","ariaModal","ariaPlaceholder","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","role"];for(let t=0,l=ir.length;t<l;t+=1){const e=ir[t];f(e)&&k(e)}const cr=["dir","id","accessKey","title","lang","hidden","draggable","tabIndex"],dr=Tn(null),ur=Tn(null);Gn.call(ir,e=>{const t=Jn.call(Qn.call(e,/^aria/,"aria-"));dr[t]=e,ur[e]=t}),Gn.call(cr,e=>{const t=Jn.call(e);dr[t]=e,ur[e]=t}),Gn.call(["accessKey","readOnly","tabIndex","bgColor","colSpan","rowSpan","contentEditable","dateTime","formAction","isMap","maxLength","useMap"],e=>{const t=Jn.call(e);dr[t]=e,ur[e]=t});const sr=/-([a-z])/g,pr=/[A-Z]/g;let mr,br=null,gr=[];const fr=On(Tn(null)),yr=On([]),hr=p("ViewModel");var vr={update:function(e,t){a(e.listener)?M(t):(t.listener=e.listener,t.listener.vnode=t)},create:M};const Er={data:{}};var kr={create:e=>I(Er,e),update:I};const Nr=new WeakMap,{isArray:wr}=Array,{getPrototypeOf:Or,create:xr,defineProperty:Tr,defineProperties:Sr,isExtensible:Cr,getOwnPropertyDescriptor:Rr,getOwnPropertyNames:Ar,getOwnPropertySymbols:Pr,preventExtensions:_r,hasOwnProperty:Mr}=Object,{push:Ir,concat:Dr,map:Lr}=Array.prototype,$r=Symbol(),{getKey:Hr}=Proxy,Br=Hr?e=>e&&Hr(e,$r)||e:e=>e&&e[$r]||e;class Fr{constructor(e,t){this.originalTarget=t,this.membrane=e}get(e,t){const{originalTarget:l,membrane:a}=this;if(t===$r)return l;const n=l[t],{valueObserved:o}=a;return o(l,t),a.getProxy(n)}set(e,t,l){const{originalTarget:a,membrane:{valueMutated:n}}=this,o=a[t];return o===l?"length"===t&&wr(a)&&n(a,t):(a[t]=l,n(a,t)),!0}deleteProperty(e,t){const{originalTarget:l,membrane:{valueMutated:a}}=this;return delete l[t],a(l,t),!0}apply(){}construct(){}has(e,t){const{originalTarget:l,membrane:{valueObserved:a}}=this;return a(l,t),t in l}ownKeys(){const{originalTarget:e}=this;return Dr.call(Ar(e),Pr(e))}isExtensible(e){const t=Cr(e);if(!t)return t;const{originalTarget:l,membrane:a}=this,n=Cr(l);return n||K(a,e,l),n}setPrototypeOf(){}getPrototypeOf(){const{originalTarget:e}=this;return Or(e)}getOwnPropertyDescriptor(e,t){const{originalTarget:l,membrane:a}=this,{valueObserved:n}=this.membrane;n(l,t);let o=Rr(l,t);if($(o))return o;const r=Rr(e,t);return $(r)?(o=Y(a,o,F),o.configurable||Tr(e,t,o),o):r}preventExtensions(e){const{originalTarget:t,membrane:l}=this;return K(l,e,t),_r(t),!0}defineProperty(e,t,l){const{originalTarget:a,membrane:n}=this,{valueMutated:o}=n,{configurable:r}=l;if(Mr.call(l,"writable")&&!Mr.call(l,"value")){const e=Rr(a,t);l.value=e.value}return Tr(a,t,j(l)),!1===r&&Tr(e,t,Y(n,l,F)),o(a,t),!0}}class jr{constructor(e,t){this.originalTarget=t,this.membrane=e}get(e,t){const{membrane:l,originalTarget:a}=this;if(t===$r)return a;const n=a[t],{valueObserved:o}=l;return o(a,t),l.getReadOnlyProxy(n)}set(){return!1}deleteProperty(){return!1}apply(){}construct(){}has(e,t){const{originalTarget:l,membrane:{valueObserved:a}}=this;return a(l,t),t in l}ownKeys(){const{originalTarget:e}=this;return Dr.call(Ar(e),Pr(e))}setPrototypeOf(){}getOwnPropertyDescriptor(e,t){const{originalTarget:l,membrane:a}=this,{valueObserved:n}=a;n(l,t);let o=Rr(l,t);if($(o))return o;const r=Rr(e,t);return $(r)?(o=Y(a,o,U),Mr.call(o,"set")&&(o.set=void 0),o.configurable||Tr(e,t,o),o):r}preventExtensions(){return!1}defineProperty(){return!1}}const Kr=Object.prototype,Ur=()=>{},Vr=()=>{},Wr=e=>e;const Yr=new class{constructor(e){if(this.valueDistortion=Wr,this.valueMutated=Vr,this.valueObserved=Ur,this.valueIsObservable=W,this.objectGraph=new WeakMap,!$(e)){const{valueDistortion:t,valueMutated:l,valueObserved:a,valueIsObservable:n}=e;this.valueDistortion=H(t)?t:Wr,this.valueMutated=H(l)?l:Vr,this.valueObserved=H(a)?a:Ur,this.valueIsObservable=H(n)?n:W}}getProxy(e){const t=this.valueDistortion(e);if(this.valueIsObservable(t)){const l=this.getReactiveState(t);return l.readOnly===e?e:l.reactive}return t}getReadOnlyProxy(e){const t=this.valueDistortion(e);return this.valueIsObservable(t)?this.getReactiveState(t).readOnly:t}unwrapProxy(e){return Br(e)}getReactiveState(e){const{objectGraph:t}=this;e=Br(e);let l=t.get(e);if(l)return l;const a=this;return l={get reactive(){const t=new Fr(a,e),l=new Proxy(V(e),t);return Tr(this,"reactive",{value:l}),l},get readOnly(){const t=new jr(a,e),l=new Proxy(V(e),t);return Tr(this,"readOnly",{value:l}),l}},t.set(e,l),l}}({valueObserved:L,valueMutated:D,valueDistortion:function(e){return e}}),qr=new Map,Gr=Tn(null,{input:{value:Tn(null,{value:{value:1},checked:{value:1}})},select:{value:Tn(null,{value:{value:1}})},textarea:{value:Tn(null,{value:{value:1}})}}),Xr={data:{}};var zr={create:e=>ce(Xr,e),update:ce};const Qr=Tn(null),Jr={data:{}};var Zr={create:e=>ue(Jr,e),update:ue};const ei={data:{}};var ti={create:e=>se(ei,e),update:se},li={create:function(e){const{elm:t,data:{classMap:l}}=e;if(!a(l)){const{classList:e}=t;for(const t in l)e.add(t)}}},ai={create:function(e){const{elm:t,data:{styleMap:l}}=e;if(!a(l)){const{style:e}=t;for(const t in l)e[t]=l[t]}}};const ni={create:function(e){const{data:{context:t}}=e;if(a(t))return;const l=e.elm,n=g(l,hr);a(n)||Sn(n.context,t)}};let oi=window.MutationObserver;if("undefined"==typeof oi){function e(){}e.prototype={observe(){}},oi=window.MutationObserver=e}const ri=oi,ii=ri.prototype.observe;let{addEventListener:ci,removeEventListener:di}=window;ci=ci.__lwcOriginal__||ci,di=di.__lwcOriginal__||di;const ui=p("items");Ne.prototype=Tn(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:Ne},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return g(this,ui).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){Gn.call(g(this,ui),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return Yn.call(g(this,ui),(e,t)=>[t,e])}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return Yn.call(g(this,ui),(e,t)=>t)}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return g(this,ui)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=g(this,ui);return e<t.length?{value:t[e++],done:!1}:{done:!0}}}}}}),An(Ne,NodeList);const si=Pn(Document.prototype,"activeElement").get,pi=Dn.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,{createDocumentFragment:mi,createElement:bi,createElementNS:gi,createTextNode:fi,createComment:yi,querySelector:hi,querySelectorAll:vi,getElementById:Ei,getElementsByClassName:ki,getElementsByName:Ni,getElementsByTagName:wi,getElementsByTagNameNS:Oi}=Document.prototype,xi=p("items");Te.prototype=Tn(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:Te},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return g(this,xi).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(e){if(Oe(e)&&this[e])return this[e];const t=g(this,xi);for(let l=t.length-1;0<=l;l-=1){const a=t[l],n=xe(a);if(n===e)return a}return null}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){Gn.call(g(this,xi),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return Yn.call(g(this,xi),(e,t)=>[t,e])}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return Yn.call(g(this,xi),(e,t)=>t)}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return g(this,xi)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=g(this,xi);return e<t.length?{value:t[e++],done:!1}:{done:!0}}}}}}),An(Te,HTMLCollection);const Ti=/[&\u00A0"]/g,Si=/[&\u00A0<>]/g,{replace:Ci,toLowerCase:Ri}=Nn,Ai=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),Pi=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]),_i=p("host"),Mi=p("shadowRoot"),{createDocumentFragment:Ii}=document;var Di;(function(e){e.CLOSED="closed",e.OPEN="open"})(Di||(Di={}));const Li={constructor:{writable:!0,configurable:!0,value:Be},toString:{writable:!0,configurable:!0,value(){return`[object ShadowRoot]`}}},$i={activeElement:{enumerable:!0,configurable:!0,get(){const e=si.call(document);if(l(e))return e;const t=Le(this);if(0==(Do.call(t,e)&xo))return null;let a=e;for(;!nt(t,a);)a=Ho.call(a);return at(a)?null:a}},delegatesFocus:{enumerable:!0,configurable:!0,get(){return!1}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){const a=pi.call(document,e,t);return l(a)?a:Ie(this,Me(a,!0))}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error}},host:{enumerable:!0,configurable:!0,get(){return Le(this)}},mode:{configurable:!0,get(){return Di.OPEN}},styleSheets:{enumerable:!0,configurable:!0,get(){throw new Error}}},Hi={addEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,l){Vt(this,e,t,l)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,l){Wt(this,e,t,l)}},baseURI:{enumerable:!0,configurable:!0,get(){return Le(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return we(it(this))}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value(e){const t=Le(this);return this===e?0:this.contains(e)?20:Do.call(t,e)&xo?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value(e){const t=Le(this);return 0!=(Do.call(t,e)&xo)&&nt(t,e)}},firstChild:{enumerable:!0,configurable:!0,get(){const e=Wi(this);return e[0]||null}},lastChild:{enumerable:!0,configurable:!0,get(){const e=Wi(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value(){const e=Wi(this);return 0<e.length}},isConnected:{enumerable:!0,configurable:!0,get(){return 0!=(Do.call(document,Le(this))&xo)}},nextSibling:{enumerable:!0,configurable:!0,get(){return null}},previousSibling:{enumerable:!0,configurable:!0,get(){return null}},nodeName:{enumerable:!0,configurable:!0,get(){return"#document-fragment"}},nodeType:{enumerable:!0,configurable:!0,get(){return 11}},nodeValue:{enumerable:!0,configurable:!0,get(){return null}},ownerDocument:{enumerable:!0,configurable:!0,get(){return Le(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get(){return null}},parentNode:{enumerable:!0,configurable:!0,get(){return null}},textContent:{enumerable:!0,configurable:!0,get(){const e=Wi(this);let t="";for(let l=0,a=e.length;l<a;l+=1)t+=ke(e[l]);return t}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(e){return st.call(this,e)}}},Bi={innerHTML:{enumerable:!0,configurable:!0,get(){const e=Wi(this);let t="";for(let l=0,a=e.length;l<a;l+=1)t+=_e(e[l]);return t}},localName:{enumerable:!0,configurable:!0,get(){return null}},namespaceURI:{enumerable:!0,configurable:!0,get(){return null}},nextElementSibling:{enumerable:!0,configurable:!0,get(){return null}},previousElementSibling:{enumerable:!0,configurable:!0,get(){return null}},prefix:{enumerable:!0,configurable:!0,get(){return null}}},Fi={childElementCount:{enumerable:!0,configurable:!0,get(){return this.children.length}},children:{enumerable:!0,configurable:!0,get(){return Se(Fn.call(it(this),e=>e instanceof Element))}},firstElementChild:{enumerable:!0,configurable:!0,get(){return this.children[0]||null}},lastElementChild:{enumerable:!0,configurable:!0,get(){const{children:e}=this;return e.item(e.length-1)||null}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value(e){return yt(this,e)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value(e){return we(ht(this,e))}}};Sn(Li,Hi,Fi,Bi,$i),Be.prototype=Tn(DocumentFragment.prototype,Li),qo&&An(Be.prototype,window.ShadowRoot.prototype);const ji="Symbol(x)"===Symbol("x").toString(),Ki=new WeakMap;let Ui;const Vi={childList:!0,subtree:!0},Wi=function(e){return e.childNodes};let Yi;const qi={childList:!0},Gi=p("slotchange");Tt.__lwcOriginal__=ho,St.__lwcOriginal__=vo,Ot.__lwcOriginal__=ci,xt.__lwcOriginal__=di,function(){Ct(),Rt()}();const{addEventListener:Xi,removeEventListener:zi}=Node.prototype;var Qi;(function(e){e[e.CUSTOM_ELEMENT_LISTENER=1]="CUSTOM_ELEMENT_LISTENER",e[e.SHADOW_ROOT_LISTENER=2]="SHADOW_ROOT_LISTENER"})(Qi||(Qi={}));const Ji=new WeakMap,Zi={composed:!1},ec=new WeakMap,tc=new WeakMap,lc=new WeakMap,ac={IFRAME:1,VIDEO:1,AUDIO:1,A:1,INPUT:1,SELECT:1,TEXTAREA:1,BUTTON:1},nc=new WeakMap;let oc,rc;const ic=Tn(null);var cc;(function(e){e.manual="manual"})(cc||(cc={}));const dc=Tn(null),uc=["wiring","locator","rendered","connected","disconnected"],{createElement:sc,createElementNS:pc,createTextNode:mc,createComment:bc}=document,gc=Symbol.iterator,fc={create:e=>{a(e.elm)&&(e.elm=mc.call(document,e.text)),Rl(e)},update:Tl,insert:Sl,move:Sl,remove:Cl,destroy:ql},yc={create:e=>{a(e.elm)&&(e.elm=bc.call(document,e.text)),Al(e)},update:Tl,insert:Sl,move:Sl,remove:Cl,destroy:ql},hc={create:e=>{const{data:t,sel:l,elm:n}=e,{ns:o,create:r}=t;a(n)&&(e.elm=a(o)?sc.call(document,l):pc.call(document,o,l)),_l(e),r(e)},update:(e,t)=>{const{data:{update:l}}=t;l(e,t),Dl(e,t)},insert:(e,t,l)=>{Ao.call(t,e.elm,l),Bl(e)},move:(e,t,l)=>{Ao.call(t,e.elm,l)},remove:(e,t)=>{Po.call(t,e.elm),Kl(e)},destroy:Vl},vc={create:e=>{const{sel:t,data:{create:n},elm:l}=e;a(l)&&(e.elm=sc.call(document,t)),$l(e),Ll(e),n(e)},update:(e,t)=>{const{data:{update:l}}=t;l(e,t),Ll(t),Dl(e,t),Fl(t)},insert:(e,t,l)=>{Ao.call(t,e.elm,l),Bl(e),Il(e)},move:(e,t,l)=>{Ao.call(t,e.elm,l)},remove:(e,t)=>{Po.call(t,e.elm),Kl(e)},destroy:e=>{Ul(e),Vl(e)}},Ec=qo?function(){return Ic.fallback}:()=>!0;var kc=Object.freeze({h:Ql,ti:function(e){const t=0<e&&!(n(e)||o(e));return t?0:e},s:function(e,t,l,o){a(o)||a(o[e])||0===o[e].length||(l=o[e]);const r=Ql("slot",t,l);return n(r.fallback)&&hl(l),r},c:h,i:function(e,t){const l=[];if(hl(l),a(e)||null===e)return l;const n=e[gc]();let o=n.next(),r=0,{value:i,done:c}=o;for(;!1===c;){o=n.next(),c=o.done;const e=t(i,r,0===r,c);Hn(e)?Wn.apply(l,e):Wn.call(l,e),r+=1,i=o.value}return l},f:function(e){const t=e.length,l=[];hl(l);for(let a=0;a<t;a+=1){const t=e[a];Hn(t)?Wn.apply(l,t):Wn.call(l,t)}return l},t:c,p:function(e){let t,l,a;return{sel:"!",data:fr,children:t,text:e,elm:a,key:l,hook:yc,uid:Xl(),fallback:Ec()}},d:function(e){return null==e?null:c(e)},b:t,fb:b,ll:Jl,k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t;case"object":}},gid:function(e){return a(e)||""===e?e:l(e)?e:`${e}-${Xl()}`}});const Nc=new Set([ll]),wc=Tn(null),Oc=document.head||document.body||document,xc=Tn(null),Tc=Tn(null);var Sc;(function(e){e.REHYDRATE="lwc-rehydrate",e.INIT="lwc-init",e.HYDRATE="lwc-hydrate"})(Sc||(Sc={}));const Cc="undefined"!=typeof performance&&"function"==typeof performance.mark&&"function"==typeof performance.clearMarks&&"function"==typeof performance.measure&&"function"==typeof performance.clearMeasures,Rc=function(){},Ac=Cc?function(e){performance.mark(e)}:Rc,Pc=Cc?function(e){performance.measure(e,e),performance.clearMarks(e),performance.clearMeasures(e)}:Rc,_c=Cc?ua:Rc,Mc=Cc?sa:Rc;let Ic=null,Dc=null;const Lc=new Map,$c=new WeakMap;(function(){document.elementFromPoint=function(e,t){const a=pi.call(document,e,t);return l(a)?a:Ie(document,Me(a,!0))},Cn(document,"activeElement",{get(){let e=si.call(this);if(l(e))return e;for(;!a(bn(e));)e=Ho.call(e);return"HTML"===e.tagName&&(e=document.body),e},enumerable:!0,configurable:!0})})(),function(){return"undefined"==typeof window.ShadowRoot}()&&function(){window.ShadowRoot=Be}();const{isConcatSpreadable:Hc}=Symbol,{isArray:Bc}=Array,{slice:Fc,unshift:jc,shift:Kc}=Array.prototype;Oa()&&function(){Array.prototype.concat=Sa}();const Uc=Object.getOwnPropertyDescriptor(Event.prototype,"composed"),Vc=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");(function(){if(!Uc)return!1;let e=new Event("click");const t=document.createElement("button");return t.addEventListener("click",t=>e=t),t.click(),!Uc.get.call(e)})()&&function(){HTMLElement.prototype.click=function(){ho.call(this,"click",Ca);try{Vc.value.call(this)}catch(e){throw e}finally{vo.call(this,"click",Ca)}}}(),function(){return Object.getOwnPropertyDescriptor(Event.prototype,"composed")===void 0}()&&function(){const e=Sn(Tn(null),{blur:1,focus:1,focusin:1,focusout:1,click:1,dblclick:1,mousedown:1,mouseenter:1,mouseleave:1,mousemove:1,mouseout:1,mouseover:1,mouseup:1,wheel:1,beforeinput:1,input:1,keydown:1,keyup:1,compositionstart:1,compositionupdate:1,compositionend:1,touchstart:1,touchend:1,touchmove:1,touchcancel:1,pointerover:1,pointerenter:1,pointerdown:1,pointermove:1,pointerup:1,pointercancel:1,pointerout:1,pointerleave:1,gotpointercapture:1,lostpointercapture:1,dragstart:1,drag:1,dragenter:1,dragleave:1,dragover:1,drop:1,dragend:1,DOMActivate:1,DOMFocusIn:1,DOMFocusOut:1,keypress:1});Object.defineProperties(Event.prototype,{composed:{get(){const{type:t}=this;return 1===e[t]},configurable:!0,enumerable:!0}})}();const{CustomEvent:Wc}=window;(function(){return window.CustomEvent!==Ra})()&&function(){window.CustomEvent=Ra,window.CustomEvent.prototype=Wc.prototype}(),function(){const e=Object.getOwnPropertyDescriptor(Event.prototype,"composed").get;Object.defineProperties(FocusEvent.prototype,{composed:{get(){const{isTrusted:t}=this,l=e.call(this);return!!(t&&!1===l)||l},enumerable:!0,configurable:!0}})}();const Yc=Tn(null);Gn.call(ir,e=>{const t=s(HTMLElement.prototype,e);a(t)||(Yc[e]=t)}),Gn.call(cr,e=>{const t=s(HTMLElement.prototype,e);a(t)||(Yc[e]=t)}),_a.prototype={constructor:_a,dispatchEvent(e){const t=Pa(this),l=vn(this);return Yo.call(t,e)},addEventListener(e,t,l){const a=vn(this),n=wa(a,t);a.elm.addEventListener(e,n,l)},removeEventListener(e,t,l){const a=vn(this),n=wa(a,t);a.elm.removeEventListener(e,n,l)},setAttributeNS(e,t){const l=Pa(this);T(l,t),l.setAttributeNS.apply(l,arguments),x(l,t)},removeAttributeNS(e,t){const l=Pa(this);T(l,t),l.removeAttributeNS.apply(l,arguments),x(l,t)},removeAttribute(e){const t=Pa(this);T(t,e),t.removeAttribute.apply(t,arguments),x(t,e)},setAttribute(e){const t=Pa(this);T(t,e),t.setAttribute.apply(t,arguments),x(t,e)},getAttribute(e){const t=Pa(this);T(t,e);const l=t.getAttribute.apply(t,arguments);return x(t,e),l},getAttributeNS(e,t){const l=Pa(this);T(l,t);const a=l.getAttributeNS.apply(l,arguments);return x(l,t),a},getBoundingClientRect(){const e=Pa(this);return e.getBoundingClientRect()},querySelector(e){const t=vn(this),{elm:l}=t;return l.querySelector(e)},querySelectorAll(e){const t=vn(this),{elm:l}=t;return l.querySelectorAll(e)},getElementsByTagName(e){const t=vn(this),{elm:l}=t;return l.getElementsByTagName(e)},getElementsByClassName(e){const t=vn(this),{elm:l}=t;return l.getElementsByClassName(e)},get classList(){return Pa(this).classList},get template(){const e=vn(this);return e.cmpRoot},get shadowRoot(){return null},render(){const e=vn(this),{template:t}=e.def;return a(t)?ll:t},toString(){const e=vn(this);return`[object ${e.def.name}]`}};const qc=Xn.call(_n(Yc),(e,t)=>(e[t]=Aa(t,Yc[t]),e),Tn(null));Mn(_a.prototype,qc),wn(_a),On(_a.prototype);const Gc=Tn(null),Xc=Tn(null),zc=La(HTMLElement,_n(Yc),[]);wn(zc),On(zc.prototype);const Qc=new WeakMap,Jc=Xn.call(_n(Yc),(e,t)=>{const l=w(t);return e[t]={config:3,type:"any",attr:l},e},Tn(null)),Zc=window.ShadowRoot,ed="undefined"!=typeof Zc;let td=0,ld=0;let ad=[];const nd=p("connecting"),od=p("disconnecting");Sn(Node.prototype,{appendChild(e){const t=_o.call(this,e);return kn(t,nd)},insertBefore(e,t){const l=Ao.call(this,e,t);return kn(l,nd)},removeChild(e){const t=Po.call(this,e);return kn(t,od)},replaceChild(e,t){const l=Io.call(this,e,t);return kn(l,od),kn(e,nd),l}}),e.createElement=function(e,t){if(!i(t)||l(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${u(t)}".`);let c=t.is;if(!r(c))throw new TypeError(`"is" value must be a function but received "${u(c)}".`);R(c)&&(c=A(c));let{mode:d,fallback:s}=t;"closed"!==d&&(d="open"),s=a(s)||n(s)||o(qo);const p=document.createElement(e);if(!a(fn(p)))return p;const b=ja(c);return Ka(p,b),n(s)&&xl(p,{def:b}),Qa(e,p,c,{mode:d,fallback:s,isRoot:!0}),m(p,nd,()=>{const e=hn(p);_c(e),za(e),Xa(e),Ga(e),Mc(e)}),m(p,od,()=>{const e=hn(p);za(e)}),p},e.getComponentDef=ja,e.isComponentConstructor=function(e){return Ha(e,e.name)},e.getComponentConstructor=function(e){let t=null;if(e instanceof HTMLElement){const l=g(e,hr);a(l)||(t=l.def.ctor)}return t},e.LightningElement=_a,e.register=Wl,e.unwrap=function(e){const t=Yr.unwrapProxy(e);return t===e?e:t},e.registerTemplate=function(e){return Nc.add(e),e},e.sanitizeAttribute=function(e,t,l,a){return a},e.registerComponent=function(e,{name:t,tmpl:l}){return Lc.set(e,{name:t,template:l}),e},e.registerDecorators=J,e.isNodeFromTemplate=function(e){return!o(e instanceof Node)&&!a(bn(e))},e.api=ne,e.track=q,e.readonly=function(e){return Yr.getReadOnlyProxy(e)},e.wire=z,e.decorate=Q,e.buildCustomElementConstructor=function(e,t){var r;R(e)&&(e=A(e));const{props:c,bridge:d}=ja(e),u={fallback:!1,mode:"open",isRoot:!0};if(i(t)&&!l(t)){const{mode:e,fallback:l}=t;"closed"===e&&(u.mode=e),u.fallback=n(l)||o(qo)}return r=class extends d{constructor(){super();const t=Jn.call(ko.call(this));if(n(u.fallback)){const t=ja(e);xl(this,{def:t})}Qa(t,this,e,u)}connectedCallback(){const e=hn(this);Xa(e),Ga(e)}disconnectedCallback(){const e=hn(this);za(e)}attributeChangedCallback(e,t,l){if(t!==l){const t=N(e);a(c[t])||!O(this,e)||(this[t]=l)}}},r.observedAttributes=Yn.call(_n(c),e=>c[e].attr),r},e.Element=_a,Object.defineProperty(e,"__esModule",{value:!0})});

@@ -17,3 +17,3 @@ "use strict";

const static_html_collection_1 = require("../shared/static-html-collection");
const hasNativeSymbolsSupport = Symbol('x').toString() === 'Symbol(x)';
const node_1 = require("./node");
function PatchedCustomElement(Base) {

@@ -100,6 +100,7 @@ const Ctor = traverse_1.PatchedElement(Base);

const childNodes = language_1.isNull(owner) ? [] : traverse_1.getAllMatches(owner, traverse_1.getFilteredChildNodes(this));
if (process.env.NODE_ENV !== 'production' && language_1.isFalse(hasNativeSymbolsSupport)) {
if (process.env.NODE_ENV !== 'production' && language_1.isFalse(node_1.hasNativeSymbolsSupport) && node_1.isExternalChildNodeAccessorFlagOn()) {
// inserting a comment node as the first childNode to trick the IE11
// DevTool to show the content of the shadowRoot, this should only happen
// in dev-mode and in IE11 (which we detect by looking at the symbol).
// Plus it should only be in place if we know it is an external invoker.
language_1.ArrayUnshift.call(childNodes, shadow_root_1.getIE11FakeShadowRootPlaceholder(this));

@@ -106,0 +107,0 @@ }

@@ -42,2 +42,21 @@ "use strict";

}
function targetGetter() {
const originalCurrentTarget = dom_1.eventCurrentTargetGetter.call(this);
const originalTarget = dom_1.eventTargetGetter.call(this);
const composedPath = path_composer_1.pathComposer(originalTarget, this.composed);
// Handle cases where the currentTarget is null (for async events),
// and when an event has been added to Window
if (!(originalCurrentTarget instanceof Node)) {
return retarget_1.retarget(document, composedPath);
}
const eventContext = eventToContextMap.get(this);
const currentTarget = (eventContext === EventListenerContext.SHADOW_ROOT_LISTENER) ?
shadow_root_1.getShadowRoot(originalCurrentTarget) :
originalCurrentTarget;
return retarget_1.retarget(currentTarget, composedPath);
}
function composedPathValue() {
const originalTarget = dom_1.eventTargetGetter.call(this);
return path_composer_1.pathComposer(originalTarget, this.composed);
}
function patchEvent(event) {

@@ -47,13 +66,34 @@ if (eventToContextMap.has(event)) {

}
language_1.defineProperties(event, {
target: {
get: targetGetter,
enumerable: true,
configurable: true,
},
composedPath: {
value: composedPathValue,
writable: true,
enumerable: true,
configurable: true,
},
// non-standard but important accessor
srcElement: {
get: targetGetter,
enumerable: true,
configurable: true,
},
path: {
get: composedPathValue,
enumerable: true,
configurable: true,
},
});
// not all events implement the relatedTarget getter, that's why we need to extract it from the instance
// Note: we can't really use the super here because of issues with the typescript transpilation for accessors
const originalRelatedTargetDescriptor = language_1.getPropertyDescriptor(event, 'relatedTarget');
language_1.defineProperties(event, {
relatedTarget: {
if (!language_1.isUndefined(originalRelatedTargetDescriptor)) {
language_1.defineProperty(event, 'relatedTarget', {
get() {
const eventContext = eventToContextMap.get(this);
const originalCurrentTarget = dom_1.eventCurrentTargetGetter.call(this);
if (language_1.isUndefined(originalRelatedTargetDescriptor)) {
return undefined;
}
const relatedTarget = originalRelatedTargetDescriptor.get.call(this);

@@ -70,23 +110,4 @@ if (language_1.isNull(relatedTarget)) {

configurable: true,
},
target: {
get() {
const originalCurrentTarget = dom_1.eventCurrentTargetGetter.call(this);
const originalTarget = dom_1.eventTargetGetter.call(this);
const composedPath = path_composer_1.pathComposer(originalTarget, this.composed);
// Handle cases where the currentTarget is null (for async events),
// and when an event has been added to Window
if (!(originalCurrentTarget instanceof Node)) {
return retarget_1.retarget(document, composedPath);
}
const eventContext = eventToContextMap.get(this);
const currentTarget = (eventContext === EventListenerContext.SHADOW_ROOT_LISTENER) ?
shadow_root_1.getShadowRoot(originalCurrentTarget) :
originalCurrentTarget;
return retarget_1.retarget(currentTarget, composedPath);
},
enumerable: true,
configurable: true,
},
});
});
}
eventToContextMap.set(event, 0);

@@ -93,0 +114,0 @@ }

import { NodeConstructor } from '../framework/base-bridge-element';
export declare const hasNativeSymbolsSupport: boolean;
export declare function getNodeOwnerKey(node: Node): number | undefined;

@@ -10,1 +11,9 @@ export declare function setNodeOwnerKey(node: Node, key: number): void;

export declare function PatchedNode(node: Node): NodeConstructor;
/**
* These 2 methods are providing a machinery to understand who is accessing the
* .childNodes member property of a node. If it is used from inside the synthetic shadow
* or from an external invoker. This helps to produce the right output in one very peculiar
* case, the IE11 debugging comment for shadowRoot representation on the devtool.
*/
export declare function isExternalChildNodeAccessorFlagOn(): boolean;
export declare const getInternalChildNodes: (node: Node) => NodeListOf<ChildNode>;

@@ -20,2 +20,3 @@ "use strict";

const OwnKey = '$$OwnKey$$';
exports.hasNativeSymbolsSupport = Symbol('x').toString() === 'Symbol(x)';
function getNodeOwnerKey(node) {

@@ -30,8 +31,15 @@ return node[OwnerKey];

function getNodeNearestOwnerKey(node) {
let ownerKey;
let ownerNode = node;
// search for the first element with owner identity (just in case of manually inserted elements)
while (!language_1.isNull(node) && language_1.isUndefined((ownerKey = node[OwnerKey]))) {
node = node_1.parentNodeGetter.call(node);
while (!language_1.isNull(ownerNode)) {
if (!language_1.isUndefined(ownerNode[OwnerKey])) {
return ownerNode[OwnerKey];
}
else if (!language_1.isUndefined(ownerNode[OwnKey])) {
// perf optimization:
// root elements have ownKey but not ownerKey, we don't need to walk up anymore
return;
}
ownerNode = node_1.parentNodeGetter.call(ownerNode);
}
return ownerKey;
}

@@ -54,3 +62,3 @@ exports.getNodeNearestOwnerKey = getNodeNearestOwnerKey;

function patchPortalElement(node, ownerKey, shadowToken) {
// If node aleady has an ownerkey, we can skip
// If node already has an ownerKey, we can skip
// Note: checking if a node as any ownerKey is not enough

@@ -65,3 +73,3 @@ // because this element could be moved from one

setCSSToken(node, shadowToken);
const { childNodes } = node;
const childNodes = exports.getInternalChildNodes(node);
for (let i = 0, len = childNodes.length; i < len; i += 1) {

@@ -156,7 +164,7 @@ const child = childNodes[i];

hasChildNodes() {
return this.childNodes.length > 0;
return exports.getInternalChildNodes(this).length > 0;
}
// @ts-ignore until ts@3.x
get firstChild() {
const { childNodes } = this;
const childNodes = exports.getInternalChildNodes(this);
// @ts-ignore until ts@3.x

@@ -167,3 +175,3 @@ return childNodes[0] || null;

get lastChild() {
const { childNodes } = this;
const childNodes = exports.getInternalChildNodes(this);
// @ts-ignore until ts@3.x

@@ -209,16 +217,10 @@ return childNodes[childNodes.length - 1] || null;

get parentElement() {
const parentNode = node_1.parentNodeGetter.call(this);
if (language_1.isNull(parentNode)) {
const value = node_1.parentNodeGetter.call(this);
if (language_1.isNull(value)) {
return null;
}
const nodeOwner = traverse_1.getNodeOwner(this);
if (language_1.isNull(nodeOwner)) {
return parentNode;
}
// If we have traversed to the host element,
// we need to return null
if (nodeOwner === parentNode) {
return null;
}
return parentNode;
const parentNode = getShadowParent(this, value);
// it could be that the parentNode is the shadowRoot, in which case
// we need to return null.
return parentNode instanceof Element ? parentNode : null;
}

@@ -249,3 +251,3 @@ getRootNode(options) {

}
const childNodes = this.childNodes;
const childNodes = exports.getInternalChildNodes(this);
for (let i = 0, len = childNodes.length; i < len; i += 1) {

@@ -263,2 +265,36 @@ clone.appendChild(childNodes[i].cloneNode(true));

exports.PatchedNode = PatchedNode;
let internalChildNodeAccessorFlag = false;
/**
* These 2 methods are providing a machinery to understand who is accessing the
* .childNodes member property of a node. If it is used from inside the synthetic shadow
* or from an external invoker. This helps to produce the right output in one very peculiar
* case, the IE11 debugging comment for shadowRoot representation on the devtool.
*/
function isExternalChildNodeAccessorFlagOn() {
return !internalChildNodeAccessorFlag;
}
exports.isExternalChildNodeAccessorFlagOn = isExternalChildNodeAccessorFlagOn;
exports.getInternalChildNodes = (process.env.NODE_ENV !== 'production' && language_1.isFalse(exports.hasNativeSymbolsSupport)) ?
function (node) {
internalChildNodeAccessorFlag = true;
let childNodes;
let error = null;
try {
childNodes = node.childNodes;
}
catch (e) {
// childNodes accessor should never throw, but just in case!
error = e;
}
finally {
internalChildNodeAccessorFlag = false;
if (!language_1.isNull(error)) {
// re-throwing after restoring the state machinery for setInternalChildNodeAccessorFlag
throw error; // tslint:disable-line
}
}
return childNodes;
} : function (node) {
return node.childNodes;
};
//# sourceMappingURL=node.js.map

@@ -26,2 +26,3 @@ "use strict";

const path_composer_1 = require("../3rdparty/polymer/path-composer");
const node_2 = require("./node");
const HostKey = fields_1.createFieldName('host');

@@ -251,3 +252,3 @@ const ShadowRootKey = fields_1.createFieldName('shadowRoot');

get() {
const { childNodes } = this;
const childNodes = node_2.getInternalChildNodes(this);
return childNodes[0] || null;

@@ -260,3 +261,3 @@ },

get() {
const { childNodes } = this;
const childNodes = node_2.getInternalChildNodes(this);
return childNodes[childNodes.length - 1] || null;

@@ -270,3 +271,4 @@ },

value() {
return this.childNodes.length > 0;
const childNodes = node_2.getInternalChildNodes(this);
return childNodes.length > 0;
},

@@ -343,3 +345,3 @@ },

get() {
const { childNodes } = this;
const childNodes = node_2.getInternalChildNodes(this);
let textContent = '';

@@ -366,3 +368,3 @@ for (let i = 0, len = childNodes.length; i < len; i += 1) {

get() {
const { childNodes } = this;
const childNodes = node_2.getInternalChildNodes(this);
let innerHTML = '';

@@ -369,0 +371,0 @@ for (let i = 0, len = childNodes.length; i < len; i += 1) {

@@ -6,3 +6,2 @@ import { SyntheticShadowRootInterface } from "./shadow-root";

export declare function isNodeOwnedBy(owner: HTMLElement, node: Node): boolean;
export declare function isNodeSlotted(host: Element, node: Node): boolean;
export declare function shadowRootChildNodes(root: SyntheticShadowRootInterface): Array<Element & Node>;

@@ -9,0 +8,0 @@ export declare function getAllMatches(owner: HTMLElement, nodeList: NodeList | Node[]): Array<Element & Node>;

@@ -32,11 +32,12 @@ "use strict";

}
let nodeOwner = node;
// At this point, node is a valid node with owner identity, now we need to find the owner node
// search for a custom element with a VM that owns the first element with owner identity attached to it
while (!language_2.isNull(node) && (node_1.getNodeKey(node) !== ownerKey)) {
node = node_2.parentNodeGetter.call(node);
while (!language_2.isNull(nodeOwner) && (node_1.getNodeKey(nodeOwner) !== ownerKey)) {
nodeOwner = node_2.parentNodeGetter.call(nodeOwner);
}
if (language_2.isNull(node)) {
if (language_2.isNull(nodeOwner)) {
return null;
}
return node;
return nodeOwner;
}

@@ -58,2 +59,12 @@ exports.getNodeOwner = getNodeOwner;

exports.isNodeOwnedBy = isNodeOwnedBy;
// when finding a slot in the DOM, we can fold it if it is contained
// inside another slot.
function foldSlotElement(slot) {
let parent = node_2.parentElementGetter.call(slot);
while (!language_2.isNull(parent) && isSlotElement(parent)) {
slot = parent;
parent = node_2.parentElementGetter.call(slot);
}
return slot;
}
function isNodeSlotted(host, node) {

@@ -66,2 +77,3 @@ if (process.env.NODE_ENV !== 'production') {

const hostKey = node_1.getNodeKey(host);
// this routine assumes that the node is coming from a different shadow (it is not owned by the host)
// just in case the provided node is not an element

@@ -73,19 +85,52 @@ let currentElement = node instanceof Element ? node : node_2.parentElementGetter.call(node);

if (elmOwnerKey === hostKey) {
// we have reached a host's node element, and only if
// we have reached an element inside the host's template, and only if
// that element is an slot, then the node is considered slotted
// TODO: add the examples
return isSlotElement(currentElement);
}
else if (parent !== host && node_1.getNodeNearestOwnerKey(parent) !== elmOwnerKey) {
else if (parent === host) {
return false;
}
else if (!language_2.isNull(parent) && node_1.getNodeNearestOwnerKey(parent) !== elmOwnerKey) {
// we are crossing a boundary of some sort since the elm and its parent
// have different owner key. for slotted elements, this is only possible
// if the parent happens to be a slot that is not owned by the host
if (!isSlotElement(parent)) {
// have different owner key. for slotted elements, this is possible
// if the parent happens to be a slot.
if (isSlotElement(parent)) {
/**
* the slot parent might be allocated inside another slot, think of:
* <x-root> (<--- root element)
* <x-parent> (<--- own by x-root)
* <x-child> (<--- own by x-root)
* <slot> (<--- own by x-child)
* <slot> (<--- own by x-parent)
* <div> (<--- own by x-root)
*
* while checking if x-parent has the div slotted, we need to traverse
* up, but when finding the first slot, we skip that one in favor of the
* most outer slot parent before jumping into its corresponding host.
*/
currentElement = getNodeOwner(foldSlotElement(parent));
if (!language_2.isNull(currentElement)) {
if (currentElement === host) {
// the slot element is a top level element inside the shadow
// of a host that was allocated into host in question
return true;
}
else if (node_1.getNodeNearestOwnerKey(currentElement) === hostKey) {
// the slot element is an element inside the shadow
// of a host that was allocated into host in question
return true;
}
}
}
else {
return false;
}
}
currentElement = parent;
else {
currentElement = parent;
}
}
return false;
}
exports.isNodeSlotted = isNodeSlotted;
function shadowRootChildNodes(root) {

@@ -251,3 +296,3 @@ const elm = shadow_root_1.getHost(root);

get innerHTML() {
const { childNodes } = this;
const childNodes = node_1.getInternalChildNodes(this);
let innerHTML = '';

@@ -254,0 +299,0 @@ for (let i = 0, len = childNodes.length; i < len; i += 1) {

@@ -10,3 +10,2 @@ export { createElement } from "./upgrade";

export { isNodeFromTemplate } from "./vm";
export { dangerousObjectMutation } from "./membrane";
export { default as api } from "./decorators/api";

@@ -13,0 +12,0 @@ export { default as track } from "./decorators/track";

@@ -31,5 +31,2 @@ "use strict";

exports.isNodeFromTemplate = vm_1.isNodeFromTemplate;
// TODO: REMOVE THIS https://github.com/salesforce/lwc/issues/129
var membrane_2 = require("./membrane");
exports.dangerousObjectMutation = membrane_2.dangerousObjectMutation;
var api_1 = require("./decorators/api");

@@ -36,0 +33,0 @@ exports.api = api_1.default;

import ObservableMembrane from "observable-membrane";
export declare const reactiveMembrane: ObservableMembrane;
export declare function dangerousObjectMutation(obj: any): any;
export declare const unwrap: (value: any) => any;

@@ -12,4 +12,2 @@ "use strict";

*/
const assert_1 = __importDefault(require("../shared/assert"));
const language_1 = require("../shared/language");
const observable_membrane_1 = __importDefault(require("observable-membrane"));

@@ -25,10 +23,2 @@ const watcher_1 = require("./watcher");

});
// TODO: REMOVE THIS https://github.com/salesforce/lwc/issues/129
function dangerousObjectMutation(obj) {
if (process.env.NODE_ENV !== 'production') {
assert_1.default.logWarning(`Dangerously Mutating Object ${language_1.toString(obj)}. This object was passed to you from a parent component, and should not be mutated here. This will be removed in the near future.`);
}
return exports.reactiveMembrane.getProxy(exports.unwrap(obj));
}
exports.dangerousObjectMutation = dangerousObjectMutation;
// Universal unwrap mechanism that works for observable membrane

@@ -35,0 +25,0 @@ // and wrapped iframe contentWindow

@@ -78,3 +78,3 @@ "use strict";

if (!secure_template_1.isTemplateRegistered(html)) {
throw new ReferenceError(`Invalid template returned by the render() method on ${vm}. It must return an imported template (e.g.: \`import html from "./${vm.def.name}.html"\`), instead, it has returned: ${language_1.toString(html)}.`);
throw new TypeError(`Invalid template returned by the render() method on ${vm}. It must return an imported template (e.g.: \`import html from "./${vm.def.name}.html"\`), instead, it has returned: ${language_1.toString(html)}.`);
}

@@ -81,0 +81,0 @@ vm.cmpTemplate = html;

@@ -12,2 +12,2 @@ /**

*/
export declare function createElement(sel: string, options?: any): HTMLElement;
export declare function createElement(sel: string, options: any): HTMLElement;

@@ -68,7 +68,10 @@ "use strict";

*/
function createElement(sel, options = {}) {
function createElement(sel, options) {
if (!language_1.isObject(options) || language_1.isNull(options)) {
throw new TypeError();
throw new TypeError(`"createElement" function expects an object as second parameter but received "${language_1.toString(options)}".`);
}
let Ctor = options.is;
if (!language_1.isFunction(Ctor)) {
throw new TypeError(`"is" value must be a function but received "${language_1.toString(Ctor)}".`);
}
if (utils_1.isCircularModuleDependency(Ctor)) {

@@ -75,0 +78,0 @@ Ctor = utils_1.resolveCircularModuleDependency(Ctor);

@@ -57,3 +57,3 @@ "use strict";

if (!language_1.isFunction(fn)) {
throw new ReferenceError(`Circular module dependency must be a function.`);
throw new TypeError(`Circular module dependency must be a function.`);
}

@@ -60,0 +60,0 @@ }

@@ -19,3 +19,3 @@ "use strict";

if (map === undefined) {
map = { host: {}, sr: {} };
map = {};
nodeToAriaPropertyValuesMap.set(elm, map);

@@ -25,3 +25,3 @@ }

}
function getNormalizedAriaPropertyValue(propName, value) {
function getNormalizedAriaPropertyValue(value) {
return value == null ? null : value + '';

@@ -40,5 +40,5 @@ }

set(newValue) {
newValue = getNormalizedAriaPropertyValue(propName, newValue);
const normalizedValue = getNormalizedAriaPropertyValue(newValue);
const map = getAriaPropertyMap(this);
map[propName] = newValue;
map[propName] = normalizedValue;
// reflect into the corresponding attribute

@@ -45,0 +45,0 @@ if (newValue === null) {

{
"name": "@lwc/engine",
"version": "0.35.1",
"version": "0.35.2",
"description": "LWC Engine",

@@ -17,6 +17,6 @@ "main": "dist/commonjs/es2017/engine.js",

"dependencies": {
"observable-membrane": "0.25.0"
"observable-membrane": "0.26.0"
},
"devDependencies": {
"@lwc/template-compiler": "0.35.1",
"@lwc/template-compiler": "0.35.2",
"concurrently": "^3.5.1",

@@ -36,3 +36,3 @@ "rollup-plugin-inject": "^1.4.1",

},
"gitHead": "adf3504ae414d6230c2c5a0407feea12241a0e17"
"gitHead": "b76713103349b9e82c62810b40c4d47f81b40dce"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc