lwc 2.3.4 → 2.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +389 -174
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +389 -174
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +2 -2
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +359 -137
  5. package/dist/engine-dom/iife/es5/engine-dom.js +404 -198
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +2 -2
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +372 -159
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +389 -174
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +2 -2
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +359 -137
  11. package/dist/engine-dom/umd/es5/engine-dom.js +404 -198
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +2 -2
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +372 -159
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +333 -181
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +2 -2
  16. package/dist/engine-server/esm/es2017/engine-server.js +333 -181
  17. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +29 -16
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +29 -16
  19. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +2 -2
  20. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +29 -16
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +31 -16
  22. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +2 -2
  23. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +31 -16
  24. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +29 -16
  25. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
  26. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +29 -16
  27. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +31 -16
  28. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +2 -2
  29. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +31 -16
  30. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  31. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  32. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  33. package/dist/wire-service/iife/es5/wire-service.js +3 -3
  34. package/dist/wire-service/iife/es5/wire-service.min.js +1 -1
  35. package/dist/wire-service/iife/es5/wire-service_debug.js +3 -3
  36. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  37. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  38. package/dist/wire-service/umd/es5/wire-service.js +3 -3
  39. package/dist/wire-service/umd/es5/wire-service.min.js +1 -1
  40. package/dist/wire-service/umd/es5/wire-service_debug.js +3 -3
  41. package/package.json +8 -8
@@ -1,4 +1,4 @@
1
- !function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";const{assign:e,create:t,defineProperties:n,defineProperty:l,freeze:o,getOwnPropertyDescriptor:r,getOwnPropertyNames:i,getPrototypeOf:c,hasOwnProperty:a,isFrozen:u,keys:s,seal:f,setPrototypeOf:h}=Object,{filter:p,find:g,indexOf:m,join:d,map:b,push:E,reduce:y,reverse:w,slice:T,splice:v,unshift:N,forEach:L}=Array.prototype,{charCodeAt:M,replace:C,slice:S,toLowerCase:O}=String.prototype;function A(e){return void 0===e}function _(e){return null===e}function H(e){return!0===e}function R(e){return!1===e}function D(e){return"function"==typeof e}function P(e){return"object"==typeof e}const $=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),I="$shadowResolver$",B="$shadowToken$",k=Node,x=k.prototype,{DOCUMENT_POSITION_CONTAINED_BY:F,DOCUMENT_POSITION_CONTAINS:W,DOCUMENT_POSITION_PRECEDING:U,DOCUMENT_POSITION_FOLLOWING:j,ELEMENT_NODE:K,TEXT_NODE:G,CDATA_SECTION_NODE:q,PROCESSING_INSTRUCTION_NODE:X,COMMENT_NODE:V,DOCUMENT_FRAGMENT_NODE:Y}=k,{appendChild:z,cloneNode:J,compareDocumentPosition:Q,insertBefore:Z,removeChild:ee,replaceChild:te,hasChildNodes:ne}=x,{contains:le}=HTMLElement.prototype,oe=r(x,"firstChild").get,re=r(x,"lastChild").get,ie=r(x,"textContent").get,ce=r(x,"parentNode").get,ae=r(x,"ownerDocument").get,ue=a.call(x,"parentElement")?r(x,"parentElement").get:r(HTMLElement.prototype,"parentElement").get,se=r(x,"textContent").set,fe=a.call(x,"childNodes")?r(x,"childNodes").get:r(HTMLElement.prototype,"childNodes").get,he=a.call(x,"isConnected")?r(x,"isConnected").get:function(){const e=ae.call(this);return null===e||0!=(Q.call(e,this)&F)},{getAttribute:pe,getBoundingClientRect:ge,getElementsByTagName:me,getElementsByTagNameNS:de,hasAttribute:be,querySelector:Ee,querySelectorAll:ye,removeAttribute:we,setAttribute:Te}=Element.prototype,ve=a.call(Element.prototype,"attachShadow")?Element.prototype.attachShadow:()=>{throw new TypeError("attachShadow() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill and use Lightning Web Components")},Ne=r(Element.prototype,"childElementCount").get,Le=r(Element.prototype,"firstElementChild").get,Me=r(Element.prototype,"lastElementChild").get,Ce=r(HTMLElement.prototype,"innerText"),Se=Ce?Ce.get:null,Oe=Ce?Ce.set:null,Ae=r(HTMLElement.prototype,"outerText"),_e=Ae?Ae.get:null,He=Ae?Ae.set:null,Re=a.call(Element.prototype,"innerHTML")?r(Element.prototype,"innerHTML"):r(HTMLElement.prototype,"innerHTML"),De=Re.get,Pe=Re.set,$e=a.call(Element.prototype,"outerHTML")?r(Element.prototype,"outerHTML"):r(HTMLElement.prototype,"outerHTML"),Ie=$e.get,Be=$e.set,ke=r(Element.prototype,"tagName").get,xe=r(HTMLElement.prototype,"tabIndex"),Fe=xe.get,We=xe.set,Ue=a.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,je=a.call(Element.prototype,"children")?r(Element.prototype,"children").get:r(HTMLElement.prototype,"children").get,{getElementsByClassName:Ke}=HTMLElement.prototype,Ge=a.call(Element.prototype,"shadowRoot")?r(Element.prototype,"shadowRoot").get:()=>null;let qe,Xe;"undefined"!=typeof HTMLSlotElement?(qe=HTMLSlotElement.prototype.assignedNodes,Xe=HTMLSlotElement.prototype.assignedElements):(qe=()=>{throw new TypeError("assignedNodes() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")},Xe=()=>{throw new TypeError("assignedElements() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")});const Ve=r(Event.prototype,"target").get,Ye=r(Event.prototype,"currentTarget").get,ze=r(FocusEvent.prototype,"relatedTarget").get,Je=r(Document.prototype,"activeElement").get,Qe=a.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,Ze=a.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,et=r(Document.prototype,"defaultView").get,{createComment:tt,querySelectorAll:nt,getElementById:lt,getElementsByClassName:ot,getElementsByTagName:rt,getElementsByTagNameNS:it}=Document.prototype,{getElementsByName:ct}=HTMLDocument.prototype,{addEventListener:at,removeEventListener:ut,getComputedStyle:st,getSelection:ft}=window,ht=MutationObserver,pt=ht.prototype.observe;let gt=null;"undefined"!=typeof ShadowRoot&&(gt=ShadowRoot);const mt=!_(gt),dt=_(gt)?()=>!1:e=>e instanceof gt;const{createElement:bt}=Document.prototype;function Et(e){const t=ae.call(e);return null===t?e:t}function yt(e){const t=Et(e),n=et.call(t);if(null===n)throw new TypeError;return n}let wt;function Tt(e){if(A(wt)){const t=Et(e);wt=t.body&&"temporary-bypass"===pe.call(t.body,"data-global-patching-bypass")}return H(wt)}function vt(e){const t=e.length,n=[];if(t>0)for(let l=0;l<t;l++)n[l]=e[l];return n}"undefined"==typeof HTMLSlotElement&&function(){class e{}h(e,HTMLElement.constructor),h(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,l(Document.prototype,"createElement",{value:function(t,n){const l=bt.apply(this,T.call(arguments));return 4===t.length&&115===M.call(t,0)&&108===M.call(t,1)&&111===M.call(t,2)&&116===M.call(t,3)&&h(l,e.prototype),l}})}(),$.lwcRuntimeFlags||Object.defineProperty($,"lwcRuntimeFlags",{value:t(null)});const Nt=$.lwcRuntimeFlags,Lt="undefined"!=typeof EventTarget?EventTarget.prototype:k.prototype,{addEventListener:Mt,dispatchEvent:Ct,removeEventListener:St}=Lt,Ot=new WeakMap,At=new WeakMap;function _t(e,t,n){if(t===n)return!0;let l=At.get(e);return A(l)&&(l=e.composedPath(),At.set(e,l)),l.includes(n)}function Ht(e){if(!function(e){return D(e)||P(e)&&!_(e)&&D(e.handleEvent)}(e))return e;let t=Ot.get(e);return A(t)&&(t=function(t){const n=Ye.call(t),{composed:l}=t;let o;if(Nt.ENABLE_NON_COMPOSED_EVENTS_LEAKAGE)o=!(il.has(t)&&R(l));else{o=_t(t,kt(t),n)}if(o)return D(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},Ot.set(e,t)),t}const Rt=new WeakMap;function Dt(e,t){return!!(Q.call(e,t)&F)}const Pt={composed:!1};function $t(e,t){let n=e.getRootNode(t);return"mode"in n&&"delegatesFocus"in n&&(n=Zn(n)),n}const It=new WeakMap;function Bt(e){let n=It.get(e);return A(n)&&(n=t(null),It.set(e,n)),n}function kt(e){var t;return null!==(t=il.get(e))&&void 0!==t?t:Ve.call(e)}const xt=new WeakMap;function Ft(e){if(!D(e))throw new TypeError;let t=xt.get(e);return A(t)&&(t=function(t){let n,l=Ye.call(t);if(dt(l)||(l=el(l)),Nt.ENABLE_NON_COMPOSED_EVENTS_LEAKAGE)n=function(e){const{composed:t}=e,n=Ve.call(e),l=Ye.call(e);if(n===l)return il.get(e)===el(n);if(H(t))return!0;if(H(il.has(e)))return!1;const o=$t(n,Pt),r=l;return Dt(o,r)||o===r}(t);else{n=_t(t,kt(t),l)}n&&e.call(l,t)},t.placement=1,xt.set(e,t)),t}const Wt=new WeakMap;function Ut(e){if(!D(e))throw new TypeError;let t=Wt.get(e);return A(t)&&(t=function(t){const n=Ye.call(t);let l;if(Nt.ENABLE_NON_COMPOSED_EVENTS_LEAKAGE)l=function(e){const{composed:t}=e;if(H(t))return!0;if(il.has(e))return!1;const n=Ve.call(e),l=Ye.call(e);if(n===l)return!0;const o=$t(n,Pt);return Dt(o,l)}(t);else{l=_t(t,kt(t),n)}l&&e.call(n,t)},t.placement=0,Wt.set(e,t)),t}function jt(e){let t=!1,n=!1;const{type:o,stopImmediatePropagation:r,stopPropagation:i}=e,c=Bt(Ye.call(e))[o];l(e,"stopImmediatePropagation",{value(){t=!0,r.call(e)},writable:!0,enumerable:!0,configurable:!0}),l(e,"stopPropagation",{value(){n=!0,i.call(e)},writable:!0,enumerable:!0,configurable:!0});const a=T.call(c);function u(n){L.call(a,(l=>{R(t)&&l.placement===n&&-1!==m.call(c,l)&&l.call(void 0,e)}))}Rt.set(e,1),u(1),R(t)&&R(n)&&(Rt.set(e,0),u(0)),Rt.set(e,2)}function Kt(e,t,n){const l=Bt(e);let o=l[t];A(o)&&(o=l[t]=[]),-1===m.call(o,n)&&(0===o.length&&Mt.call(e,t,jt),E.call(o,n))}function Gt(e,t,n){let l,o;A(o=Bt(e)[t])||-1===(l=m.call(o,n))||(v.call(o,l,1),0===o.length&&St.call(e,t,jt))}function qt(e,t,n){if(D(t)){Kt(this,e,Ut(t))}}function Xt(e,t,n){if(D(t)){Gt(this,e,Ut(t))}}const Vt="$$HostElementKey$$",Yt="$$ShadowedNodeKey$$";function zt(e,t,n){const l=e;{const{value:e}=n;l[t]=e}}function Jt(e){return e[Vt]}function Qt(e){let t,n=e;for(;!_(n);){if(t=Jt(n),!A(t))return t;n=ce.call(n)}}function Zt(e){return e[Yt]}function en(e){return!A(Jt(e))}function tn(e){let t=ue.call(e);for(;!_(t)&&rn(t);)e=t,t=ue.call(e);return e}function nn(e,t){const n=Zt(e);let l=t instanceof Element?t:ue.call(t);for(;!_(l)&&l!==e;){const t=Qt(l),o=ue.call(l);if(t===n)return rn(l);if(o===e)return!1;if(_(o)||Qt(o)===t)l=o;else{if(!rn(o))return!1;if(l=ln(tn(o)),!_(l)){if(l===e)return!0;if(Qt(l)===n)return!0}}}return!1}function ln(e){if(!(e instanceof k))return null;const t=Qt(e);if(A(t))return null;let n=e;for(;!_(n)&&Zt(n)!==t;)n=ce.call(n);return _(n)?null:n}function on(e){return rn(e)&&en(e)}function rn(e){return e instanceof HTMLSlotElement}function cn(e,t){const n=Qt(t);return A(n)||Zt(e)===n}function an(e){const t=Zn(e);return fn(t,vt(fe.call(t)))}function un(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];!cn(e,o)&&nn(e,o)&&E.call(n,o)}return n}function sn(e,t){for(let n=0,l=t.length;n<l;n+=1){const l=t[n];if(!cn(e,l)&&nn(e,l))return l}return null}function fn(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];cn(e,o)&&E.call(n,o)}return n}function hn(e,t){for(let n=0,l=t.length;n<l;n+=1)if(cn(e,t[n]))return t[n];return null}function pn(e){if(!tl(e)&&!rn(e)){return vt(fe.call(e))}if(tl(e)){const t=vt(ye.call(e,"slot")),n=zn(el(e));return y.call(t,((e,t)=>(n===zn(t)&&E.apply(e,gn(t)),e)),[])}{const t=vt(fe.call(e)),n=zn(e);return p.call(t,(e=>n===zn(e)))}}function gn(e){const t=ln(e);if(_(t))return[];const n=vt(fe.call(e));return p.call(n,(e=>!en(e)||!cn(t,e)))}function mn(e){switch(e.nodeType){case K:{const t=pn(e);let n="";for(let e=0,l=t.length;e<l;e+=1){const l=t[e];l.nodeType!==V&&(n+=mn(l))}return n}default:return e.nodeValue}}const dn=new WeakMap;function bn(){throw new TypeError("Illegal constructor")}function En(e){const n=t(bn.prototype);return dn.set(n,e),L.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}bn.prototype=t(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:bn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return dn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){L.call(dn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return b.call(dn.get(this),((e,t)=>[t,e]))}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return b.call(dn.get(this),((e,t)=>t))}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return dn.get(this)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=dn.get(this);return e<t.length?{value:t[e++],done:!1}:{done:!0}}}}},[Symbol.toStringTag]:{configurable:!0,get:()=>"NodeList"},toString:{writable:!0,configurable:!0,value:()=>"[object NodeList]"}}),h(bn,NodeList);const yn=new WeakMap;function wn(){throw new TypeError("Illegal constructor")}function Tn(e){const n=t(wn.prototype);return yn.set(n,e),L.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}wn.prototype=t(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:wn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return yn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(e){if(""===e)return null;const t=yn.get(this);for(let n=0,l=t.length;n<l;n++){const n=t[l];if(e===pe.call(n,"id")||e===pe.call(n,"name"))return n}return null}},[Symbol.toStringTag]:{configurable:!0,get:()=>"HTMLCollection"},toString:{writable:!0,configurable:!0,value:()=>"[object HTMLCollection]"}}),h(wn,HTMLCollection);const vn=/[&\u00A0"]/g,Nn=/[&\u00A0<>]/g,{replace:Ln,toLowerCase:Mn}=String.prototype;function Cn(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;";default:return""}}function Sn(e){return Ln.call(e,vn,Cn)}const On=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),An=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function _n(e){switch(e.nodeType){case K:{const{attributes:t}=e,n=ke.call(e);let l="<"+Mn.call(n);for(let e,n=0;e=t[n];n++)l+=" "+e.name+'="'+Sn(e.value)+'"';return l+=">",On.has(n)?l:l+function(e){let t="";const n=pn(e);for(let e=0,l=n.length;e<l;e+=1)t+=_n(n[e]);return t}(e)+"</"+Mn.call(n)+">"}case G:{const{data:n,parentNode:l}=e;return l instanceof Element&&An.has(ke.call(l))?n:(t=n,Ln.call(t,Nn,Cn))}case q:return`<!CDATA[[${e.data}]]>`;case X:return`<?${e.target} ${e.data}?>`;case V:return`\x3c!--${e.data}--\x3e`;default:return""}var t}function Hn(e){return on(e)||tl(e)}function Rn(e,t){const n=ln(e);if(t===n)return el(n);if(t instanceof Element){if(Qt(e)===Qt(t))return t;if(!_(n)&&rn(t)){const e=ln(t);if(!_(e)&&cn(n,e))return e}}return null}function Dn(){return Gn(this).length>0}function Pn(){return Gn(this)[0]||null}function $n(){const e=Gn(this);return e[e.length-1]||null}function In(){return mn(this)}function Bn(){const e=ce.call(this);return _(e)?e:Rn(this,e)}function kn(){const e=ce.call(this);if(_(e))return null;const t=Rn(this,e);return t instanceof Element?t:null}function xn(e){return this.getRootNode()===e?10:Jt(this)!==Jt(e)?35:Q.call(this,e)}function Fn(e){return null!=e&&Jt(this)===Jt(e)&&0!=(Q.call(this,e)&F)}function Wn(e){const t=J.call(this,!1);if(!e)return t;const n=Gn(this);for(let e=0,l=n.length;e<l;e+=1)t.appendChild(n[e].cloneNode(!0));return t}function Un(){if(tl(this)){const e=ln(this);return En(_(e)?[]:fn(e,pn(this)))}return fe.call(this)}const jn=k.prototype.getRootNode,Kn=A(jn)?function(){let e,t=this;for(;!_(e=ce.call(t));)t=e;return t}:jn;n(k.prototype,{firstChild:{get(){return Hn(this)?Pn.call(this):oe.call(this)},enumerable:!0,configurable:!0},lastChild:{get(){return Hn(this)?$n.call(this):re.call(this)},enumerable:!0,configurable:!0},textContent:{get(){return Nt.ENABLE_NODE_PATCH?Tt(this)?ie.call(this):In.call(this):en(this)||tl(this)?In.call(this):ie.call(this)},set:function(e){se.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get(){if(en(this))return Bn.call(this);const e=ce.call(this);return!_(e)&&on(e)?ln(e):e},enumerable:!0,configurable:!0},parentElement:{get(){if(en(this))return kn.call(this);const e=ue.call(this);return!_(e)&&on(e)?ln(e):e},enumerable:!0,configurable:!0},childNodes:{get(){return Hn(this)?Un.call(this):fe.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value(){return Hn(this)?Dn.call(this):ne.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value(e){return Tt(this)?Q.call(this,e):xn.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value(e){return this===e||(Nt.ENABLE_NODE_PATCH?Tt(this)?le.call(this,e):Fn.call(this,e):null!=e&&(en(this)||tl(this)?Fn.call(this,e):le.call(this,e)))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value(e){return Nt.ENABLE_NODE_PATCH?H(e)?Tt(this)?J.call(this,e):Wn.call(this,e):J.call(this,e):en(this)||tl(this)?Wn.call(this,e):J.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){return H(!A(e)&&!!e.composed)?Kn.call(this,e):function(e){const t=ln(e);return _(t)?Kn.call(e):el(t)}(this)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get(){return he.call(this)}}});const Gn=function(e){return e.childNodes};function qn(e,t,n,l){const o=Ze.call(t,n,l),r=[],i=function(e){var t;const n=[];let l=e.getRootNode();for(;!A(l);)n.push(l),l=null===(t=l.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!_(o))for(let e=0;e<o.length;e++){const t=o[e];-1===i.indexOf(t.getRootNode())||on(t)||r.push(t)}return r}a.call(HTMLElement.prototype,"contains")&&l(HTMLElement.prototype,"contains",r(k.prototype,"contains")),a.call(HTMLElement.prototype,"parentElement")&&l(HTMLElement.prototype,"parentElement",r(k.prototype,"parentElement"));const Xn=new WeakMap,{createDocumentFragment:Vn}=document;function Yn(e){const t=Xn.get(e);if(A(t))throw new TypeError;return t}function zn(e){return e.$shadowResolver$}function Jn(e,t){e.$shadowResolver$=t}function Qn(e){return Yn(e).delegatesFocus}function Zn(e){return Yn(e).host}function el(e){return Yn(e).shadowRoot}function tl(e){return!A(Xn.get(e))}l(k.prototype,I,{set(e){var t,n;A(e)||(this.$$ShadowResolverKey$$=e,t=this,n=e.nodeKey,zt(t,Vt,{value:n,configurable:!0}))},get(){return this.$$ShadowResolverKey$$},configurable:!0,enumerable:!0}),l($,"$isNativeShadowRootDefined$",{value:mt});let nl=0;function ll(e,t){if(!A(Xn.get(e)))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:n,delegatesFocus:l}=t,o=Et(e),r=Vn.call(o),i={mode:n,delegatesFocus:!!l,host:e,shadowRoot:r};Xn.set(r,i),Xn.set(e,i);const c=()=>r,a=c.nodeKey=nl++;return zt(e,Yt,{value:a}),Jn(r,c),h(r,cl.prototype),r}const ol={constructor:{writable:!0,configurable:!0,value:cl},toString:{writable:!0,configurable:!0,value:()=>"[object ShadowRoot]"}},rl={activeElement:{enumerable:!0,configurable:!0,get(){const e=Zn(this),t=Et(e),n=Je.call(t);if(_(n))return n;if(0==(Q.call(e,n)&F))return null;let l=n;for(;!cn(e,l);)l=ue.call(l);return rn(l)?null:l}},delegatesFocus:{configurable:!0,get(){return Yn(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return sl(this,Et(Zn(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return qn(this,Et(Zn(this)),e,t)}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "getSelection" on ShadowRoot.')}},host:{enumerable:!0,configurable:!0,get(){return Zn(this)}},mode:{configurable:!0,get(){return Yn(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get(){throw new Error}}},il=new WeakMap;function cl(){throw new TypeError("Illegal constructor")}function al(e,t){const n=[];let l;if(e instanceof Window)l=e;else{if(!(e instanceof k))return n;l=e.getRootNode()}let o,r=e;for(;!_(r);)if(n.push(r),r instanceof Element||r instanceof Text){const e=r.assignedSlot;r=_(e)?r.parentNode:e}else r=(r instanceof cl||dt(r))&&(t||r!==l)?r.host:r instanceof k?r.parentNode:null;return o=e instanceof Window?e.document:Et(e),n[n.length-1]===o&&n.push(window),n}
1
+ !function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";const{assign:e,create:t,defineProperties:n,defineProperty:l,freeze:o,getOwnPropertyDescriptor:r,getOwnPropertyNames:i,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:s,seal:f,setPrototypeOf:h}=Object,{filter:p,find:g,indexOf:m,join:d,map:b,push:E,reduce:y,reverse:w,slice:T,splice:v,unshift:N,forEach:L}=Array.prototype,{charCodeAt:M,replace:C,slice:S,toLowerCase:O}=String.prototype;function A(e){return void 0===e}function _(e){return null===e}function H(e){return!0===e}function R(e){return!1===e}function P(e){return"function"==typeof e}function D(e){return"object"==typeof e}const $=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),B="$shadowResolver$",I="$shadowToken$",k=Node,x=k.prototype,{DOCUMENT_POSITION_CONTAINED_BY:F,DOCUMENT_POSITION_CONTAINS:W,DOCUMENT_POSITION_PRECEDING:U,DOCUMENT_POSITION_FOLLOWING:j,ELEMENT_NODE:K,TEXT_NODE:G,CDATA_SECTION_NODE:q,PROCESSING_INSTRUCTION_NODE:X,COMMENT_NODE:V,DOCUMENT_FRAGMENT_NODE:Y}=k,{appendChild:z,cloneNode:J,compareDocumentPosition:Q,insertBefore:Z,removeChild:ee,replaceChild:te,hasChildNodes:ne}=x,{contains:le}=HTMLElement.prototype,oe=r(x,"firstChild").get,re=r(x,"lastChild").get,ie=r(x,"textContent").get,ae=r(x,"parentNode").get,ce=r(x,"ownerDocument").get,ue=c.call(x,"parentElement")?r(x,"parentElement").get:r(HTMLElement.prototype,"parentElement").get,se=r(x,"textContent").set,fe=c.call(x,"childNodes")?r(x,"childNodes").get:r(HTMLElement.prototype,"childNodes").get,he=c.call(x,"isConnected")?r(x,"isConnected").get:function(){const e=ce.call(this);return null===e||0!=(Q.call(e,this)&F)},{getAttribute:pe,getBoundingClientRect:ge,getElementsByTagName:me,getElementsByTagNameNS:de,hasAttribute:be,querySelector:Ee,querySelectorAll:ye,removeAttribute:we,setAttribute:Te}=Element.prototype,ve=c.call(Element.prototype,"attachShadow")?Element.prototype.attachShadow:()=>{throw new TypeError("attachShadow() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill and use Lightning Web Components")},Ne=r(Element.prototype,"childElementCount").get,Le=r(Element.prototype,"firstElementChild").get,Me=r(Element.prototype,"lastElementChild").get,Ce=r(HTMLElement.prototype,"innerText"),Se=Ce?Ce.get:null,Oe=Ce?Ce.set:null,Ae=r(HTMLElement.prototype,"outerText"),_e=Ae?Ae.get:null,He=Ae?Ae.set:null,Re=c.call(Element.prototype,"innerHTML")?r(Element.prototype,"innerHTML"):r(HTMLElement.prototype,"innerHTML"),Pe=Re.get,De=Re.set,$e=c.call(Element.prototype,"outerHTML")?r(Element.prototype,"outerHTML"):r(HTMLElement.prototype,"outerHTML"),Be=$e.get,Ie=$e.set,ke=r(Element.prototype,"tagName").get,xe=r(HTMLElement.prototype,"tabIndex"),Fe=xe.get,We=xe.set,Ue=c.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,je=c.call(Element.prototype,"children")?r(Element.prototype,"children").get:r(HTMLElement.prototype,"children").get,{getElementsByClassName:Ke}=HTMLElement.prototype,Ge=c.call(Element.prototype,"shadowRoot")?r(Element.prototype,"shadowRoot").get:()=>null;let qe,Xe;"undefined"!=typeof HTMLSlotElement?(qe=HTMLSlotElement.prototype.assignedNodes,Xe=HTMLSlotElement.prototype.assignedElements):(qe=()=>{throw new TypeError("assignedNodes() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")},Xe=()=>{throw new TypeError("assignedElements() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")});const Ve=r(Event.prototype,"target").get,Ye=r(Event.prototype,"currentTarget").get,ze=r(FocusEvent.prototype,"relatedTarget").get,Je=c.call(Event.prototype,"composedPath")?Event.prototype.composedPath:()=>[],Qe=r(Document.prototype,"activeElement").get,Ze=c.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,et=c.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,tt=r(Document.prototype,"defaultView").get,{createComment:nt,querySelectorAll:lt,getElementById:ot,getElementsByClassName:rt,getElementsByTagName:it,getElementsByTagNameNS:at}=Document.prototype,{getElementsByName:ct}=HTMLDocument.prototype,{addEventListener:ut,removeEventListener:st,getComputedStyle:ft,getSelection:ht}=window,pt=MutationObserver,gt=pt.prototype.observe;let mt=null;"undefined"!=typeof ShadowRoot&&(mt=ShadowRoot);const dt=!_(mt),bt=_(mt)?()=>!1:e=>e instanceof mt;const{createElement:Et}=Document.prototype;function yt(e){const t=ce.call(e);return null===t?e:t}function wt(e){const t=yt(e),n=tt.call(t);if(null===n)throw new TypeError;return n}let Tt;function vt(e){if(A(Tt)){const t=yt(e);Tt=t.body&&"temporary-bypass"===pe.call(t.body,"data-global-patching-bypass")}return H(Tt)}function Nt(e){const t=e.length,n=[];if(t>0)for(let l=0;l<t;l++)n[l]=e[l];return n}"undefined"==typeof HTMLSlotElement&&function(){class e{}h(e,HTMLElement.constructor),h(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,l(Document.prototype,"createElement",{value:function(t,n){const l=Et.apply(this,T.call(arguments));return 4===t.length&&115===M.call(t,0)&&108===M.call(t,1)&&111===M.call(t,2)&&116===M.call(t,3)&&h(l,e.prototype),l}})}(),$.lwcRuntimeFlags||Object.defineProperty($,"lwcRuntimeFlags",{value:t(null)});const Lt=$.lwcRuntimeFlags,Mt="undefined"!=typeof EventTarget?EventTarget.prototype:k.prototype,{addEventListener:Ct,dispatchEvent:St,removeEventListener:Ot}=Mt,At=new WeakMap,_t=new WeakMap;function Ht(e,t,n){if(t===n)return!0;let l=_t.get(e);return A(l)&&(l=e.composedPath(),_t.set(e,l)),l.includes(n)}function Rt(e){if(!function(e){return P(e)||D(e)&&!_(e)&&P(e.handleEvent)}(e))return e;let t=At.get(e);return A(t)&&(t=function(t){const n=Ye.call(t),{composed:l}=t;let o;if(Lt.ENABLE_NON_COMPOSED_EVENTS_LEAKAGE)o=!(al.has(t)&&R(l));else{o=Ht(t,xt(t),n)}if(o)return P(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},At.set(e,t)),t}const Pt=new WeakMap;function Dt(e,t){return!!(Q.call(e,t)&F)}const $t={composed:!1};function Bt(e,t){let n=e.getRootNode(t);return"mode"in n&&"delegatesFocus"in n&&(n=el(n)),n}const It=new WeakMap;function kt(e){let n=It.get(e);return A(n)&&(n=t(null),It.set(e,n)),n}function xt(e){var t;return null!==(t=al.get(e))&&void 0!==t?t:Ve.call(e)}const Ft=new WeakMap;function Wt(e){if(!P(e))throw new TypeError;let t=Ft.get(e);return A(t)&&(t=function(t){let n,l=Ye.call(t);if(bt(l)||(l=tl(l)),Lt.ENABLE_NON_COMPOSED_EVENTS_LEAKAGE)n=function(e){const{composed:t}=e,n=Ve.call(e),l=Ye.call(e);if(n===l)return al.get(e)===tl(n);if(H(t))return!0;if(H(al.has(e)))return!1;const o=Bt(n,$t),r=l;return Dt(o,r)||o===r}(t);else{n=Ht(t,xt(t),l)}n&&e.call(l,t)},t.placement=1,Ft.set(e,t)),t}const Ut=new WeakMap;function jt(e){if(!P(e))throw new TypeError;let t=Ut.get(e);return A(t)&&(t=function(t){const n=Ye.call(t);let l;if(Lt.ENABLE_NON_COMPOSED_EVENTS_LEAKAGE)l=function(e){const{composed:t}=e;if(H(t))return!0;if(al.has(e))return!1;const n=Ve.call(e),l=Ye.call(e);if(n===l)return!0;const o=Bt(n,$t);return Dt(o,l)}(t);else{l=Ht(t,xt(t),n)}l&&e.call(n,t)},t.placement=0,Ut.set(e,t)),t}function Kt(e){let t=!1,n=!1;const{type:o,stopImmediatePropagation:r,stopPropagation:i}=e,a=kt(Ye.call(e))[o];l(e,"stopImmediatePropagation",{value(){t=!0,r.call(e)},writable:!0,enumerable:!0,configurable:!0}),l(e,"stopPropagation",{value(){n=!0,i.call(e)},writable:!0,enumerable:!0,configurable:!0});const c=T.call(a);function u(n){L.call(c,(l=>{R(t)&&l.placement===n&&-1!==m.call(a,l)&&l.call(void 0,e)}))}Pt.set(e,1),u(1),R(t)&&R(n)&&(Pt.set(e,0),u(0)),Pt.set(e,2)}function Gt(e,t,n){const l=kt(e);let o=l[t];A(o)&&(o=l[t]=[]),-1===m.call(o,n)&&(0===o.length&&Ct.call(e,t,Kt),E.call(o,n))}function qt(e,t,n){let l,o;A(o=kt(e)[t])||-1===(l=m.call(o,n))||(v.call(o,l,1),0===o.length&&Ot.call(e,t,Kt))}function Xt(e,t,n){if(P(t)){Gt(this,e,jt(t))}}function Vt(e,t,n){if(P(t)){qt(this,e,jt(t))}}const Yt="$$HostElementKey$$",zt="$$ShadowedNodeKey$$";function Jt(e,t,n){const l=e;{const{value:e}=n;l[t]=e}}function Qt(e){return e[Yt]}function Zt(e){let t,n=e;for(;!_(n);){if(t=Qt(n),!A(t))return t;n=ae.call(n)}}function en(e){return e[zt]}function tn(e){return!A(Qt(e))}function nn(e){let t=ue.call(e);for(;!_(t)&&an(t);)e=t,t=ue.call(e);return e}function ln(e,t){const n=en(e);let l=t instanceof Element?t:ue.call(t);for(;!_(l)&&l!==e;){const t=Zt(l),o=ue.call(l);if(t===n)return an(l);if(o===e)return!1;if(_(o)||Zt(o)===t)l=o;else{if(!an(o))return!1;if(l=on(nn(o)),!_(l)){if(l===e)return!0;if(Zt(l)===n)return!0}}}return!1}function on(e){if(!(e instanceof k))return null;const t=Zt(e);if(A(t))return null;let n=e;for(;!_(n)&&en(n)!==t;)n=ae.call(n);return _(n)?null:n}function rn(e){return an(e)&&tn(e)}function an(e){return e instanceof HTMLSlotElement}function cn(e,t){const n=Zt(t);return A(n)||en(e)===n}function un(e){const t=el(e);return hn(t,Nt(fe.call(t)))}function sn(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];!cn(e,o)&&ln(e,o)&&E.call(n,o)}return n}function fn(e,t){for(let n=0,l=t.length;n<l;n+=1){const l=t[n];if(!cn(e,l)&&ln(e,l))return l}return null}function hn(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];cn(e,o)&&E.call(n,o)}return n}function pn(e,t){for(let n=0,l=t.length;n<l;n+=1)if(cn(e,t[n]))return t[n];return null}function gn(e){if(!nl(e)&&!an(e)){return Nt(fe.call(e))}if(nl(e)){const t=Nt(ye.call(e,"slot")),n=Jn(tl(e));return y.call(t,((e,t)=>(n===Jn(t)&&E.apply(e,mn(t)),e)),[])}{const t=Nt(fe.call(e)),n=Jn(e);return p.call(t,(e=>n===Jn(e)))}}function mn(e){const t=on(e);if(_(t))return[];const n=Nt(fe.call(e));return p.call(n,(e=>!tn(e)||!cn(t,e)))}function dn(e){switch(e.nodeType){case K:{const t=gn(e);let n="";for(let e=0,l=t.length;e<l;e+=1){const l=t[e];l.nodeType!==V&&(n+=dn(l))}return n}default:return e.nodeValue}}const bn=new WeakMap;function En(){throw new TypeError("Illegal constructor")}function yn(e){const n=t(En.prototype);return bn.set(n,e),L.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}En.prototype=t(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:En},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return bn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){L.call(bn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return b.call(bn.get(this),((e,t)=>[t,e]))}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return b.call(bn.get(this),((e,t)=>t))}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return bn.get(this)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=bn.get(this);return e<t.length?{value:t[e++],done:!1}:{done:!0}}}}},[Symbol.toStringTag]:{configurable:!0,get:()=>"NodeList"},toString:{writable:!0,configurable:!0,value:()=>"[object NodeList]"}}),h(En,NodeList);const wn=new WeakMap;function Tn(){throw new TypeError("Illegal constructor")}function vn(e){const n=t(Tn.prototype);return wn.set(n,e),L.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}Tn.prototype=t(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:Tn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return wn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(e){if(""===e)return null;const t=wn.get(this);for(let n=0,l=t.length;n<l;n++){const n=t[l];if(e===pe.call(n,"id")||e===pe.call(n,"name"))return n}return null}},[Symbol.toStringTag]:{configurable:!0,get:()=>"HTMLCollection"},toString:{writable:!0,configurable:!0,value:()=>"[object HTMLCollection]"}}),h(Tn,HTMLCollection);const Nn=/[&\u00A0"]/g,Ln=/[&\u00A0<>]/g,{replace:Mn,toLowerCase:Cn}=String.prototype;function Sn(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;";default:return""}}function On(e){return Mn.call(e,Nn,Sn)}const An=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),_n=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function Hn(e){switch(e.nodeType){case K:{const{attributes:t}=e,n=ke.call(e);let l="<"+Cn.call(n);for(let e,n=0;e=t[n];n++)l+=" "+e.name+'="'+On(e.value)+'"';return l+=">",An.has(n)?l:l+function(e){let t="";const n=gn(e);for(let e=0,l=n.length;e<l;e+=1)t+=Hn(n[e]);return t}(e)+"</"+Cn.call(n)+">"}case G:{const{data:n,parentNode:l}=e;return l instanceof Element&&_n.has(ke.call(l))?n:(t=n,Mn.call(t,Ln,Sn))}case q:return`<!CDATA[[${e.data}]]>`;case X:return`<?${e.target} ${e.data}?>`;case V:return`\x3c!--${e.data}--\x3e`;default:return""}var t}function Rn(e){return rn(e)||nl(e)}function Pn(e,t){const n=on(e);if(t===n)return tl(n);if(t instanceof Element){if(Zt(e)===Zt(t))return t;if(!_(n)&&an(t)){const e=on(t);if(!_(e)&&cn(n,e))return e}}return null}function Dn(){return qn(this).length>0}function $n(){return qn(this)[0]||null}function Bn(){const e=qn(this);return e[e.length-1]||null}function In(){return dn(this)}function kn(){const e=ae.call(this);return _(e)?e:Pn(this,e)}function xn(){const e=ae.call(this);if(_(e))return null;const t=Pn(this,e);return t instanceof Element?t:null}function Fn(e){return this.getRootNode()===e?10:Qt(this)!==Qt(e)?35:Q.call(this,e)}function Wn(e){return null!=e&&Qt(this)===Qt(e)&&0!=(Q.call(this,e)&F)}function Un(e){const t=J.call(this,!1);if(!e)return t;const n=qn(this);for(let e=0,l=n.length;e<l;e+=1)t.appendChild(n[e].cloneNode(!0));return t}function jn(){if(nl(this)){const e=on(this);return yn(_(e)?[]:hn(e,gn(this)))}return fe.call(this)}const Kn=k.prototype.getRootNode,Gn=A(Kn)?function(){let e,t=this;for(;!_(e=ae.call(t));)t=e;return t}:Kn;n(k.prototype,{firstChild:{get(){return Rn(this)?$n.call(this):oe.call(this)},enumerable:!0,configurable:!0},lastChild:{get(){return Rn(this)?Bn.call(this):re.call(this)},enumerable:!0,configurable:!0},textContent:{get(){return Lt.ENABLE_NODE_PATCH?vt(this)?ie.call(this):In.call(this):tn(this)||nl(this)?In.call(this):ie.call(this)},set:function(e){se.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get(){if(tn(this))return kn.call(this);const e=ae.call(this);return!_(e)&&rn(e)?on(e):e},enumerable:!0,configurable:!0},parentElement:{get(){if(tn(this))return xn.call(this);const e=ue.call(this);return!_(e)&&rn(e)?on(e):e},enumerable:!0,configurable:!0},childNodes:{get(){return Rn(this)?jn.call(this):fe.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value(){return Rn(this)?Dn.call(this):ne.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value(e){return vt(this)?Q.call(this,e):Fn.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value(e){return this===e||(Lt.ENABLE_NODE_PATCH?vt(this)?le.call(this,e):Wn.call(this,e):null!=e&&(tn(this)||nl(this)?Wn.call(this,e):le.call(this,e)))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value(e){return Lt.ENABLE_NODE_PATCH?H(e)?vt(this)?J.call(this,e):Un.call(this,e):J.call(this,e):tn(this)||nl(this)?Un.call(this,e):J.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){return H(!A(e)&&!!e.composed)?Gn.call(this,e):function(e){const t=on(e);return _(t)?Gn.call(e):tl(t)}(this)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get(){return he.call(this)}}});const qn=function(e){return e.childNodes};function Xn(e,t,n,l){const o=et.call(t,n,l),r=[],i=function(e){var t;const n=[];let l=e.getRootNode();for(;!A(l);)n.push(l),l=null===(t=l.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!_(o))for(let e=0;e<o.length;e++){const t=o[e];-1===i.indexOf(t.getRootNode())||rn(t)||r.push(t)}return r}c.call(HTMLElement.prototype,"contains")&&l(HTMLElement.prototype,"contains",r(k.prototype,"contains")),c.call(HTMLElement.prototype,"parentElement")&&l(HTMLElement.prototype,"parentElement",r(k.prototype,"parentElement"));const Vn=new WeakMap,{createDocumentFragment:Yn}=document;function zn(e){const t=Vn.get(e);if(A(t))throw new TypeError;return t}function Jn(e){return e.$shadowResolver$}function Qn(e,t){e.$shadowResolver$=t}function Zn(e){return zn(e).delegatesFocus}function el(e){return zn(e).host}function tl(e){return zn(e).shadowRoot}function nl(e){return!A(Vn.get(e))}l(k.prototype,B,{set(e){var t,n;A(e)||(this.$$ShadowResolverKey$$=e,t=this,n=e.nodeKey,Jt(t,Yt,{value:n,configurable:!0}))},get(){return this.$$ShadowResolverKey$$},configurable:!0,enumerable:!0}),l($,"$isNativeShadowRootDefined$",{value:dt});let ll=0;function ol(e,t){if(!A(Vn.get(e)))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:n,delegatesFocus:l}=t,o=yt(e),r=Yn.call(o),i={mode:n,delegatesFocus:!!l,host:e,shadowRoot:r};Vn.set(r,i),Vn.set(e,i);const a=()=>r,c=a.nodeKey=ll++;return Jt(e,zt,{value:c}),Qn(r,a),h(r,cl.prototype),r}const rl={constructor:{writable:!0,configurable:!0,value:cl},toString:{writable:!0,configurable:!0,value:()=>"[object ShadowRoot]"}},il={activeElement:{enumerable:!0,configurable:!0,get(){const e=el(this),t=yt(e),n=Qe.call(t);if(_(n))return n;if(0==(Q.call(e,n)&F))return null;let l=n;for(;!cn(e,l);)l=ue.call(l);return an(l)?null:l}},delegatesFocus:{configurable:!0,get(){return zn(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return fl(this,yt(el(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return Xn(this,yt(el(this)),e,t)}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "getSelection" on ShadowRoot.')}},host:{enumerable:!0,configurable:!0,get(){return el(this)}},mode:{configurable:!0,get(){return zn(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get(){throw new Error}}},al=new WeakMap;function cl(){throw new TypeError("Illegal constructor")}function ul(e,t){const n=[];let l;if(e instanceof Window)l=e;else{if(!(e instanceof k))return n;l=e.getRootNode()}let o,r=e;for(;!_(r);)if(n.push(r),r instanceof Element||r instanceof Text){const e=r.assignedSlot;r=_(e)?r.parentNode:e}else r=(r instanceof cl||bt(r))&&(t||r!==l)?r.host:r instanceof k?r.parentNode:null;return o=e instanceof Window?e.document:yt(e),n[n.length-1]===o&&n.push(window),n}
2
2
  /**
3
3
  @license
4
4
  Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
@@ -7,4 +7,4 @@
7
7
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
8
8
  Code distributed by Google as part of the polymer project is also
9
9
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
10
- */function ul(e,t){if(_(e))return null;const n=al(e,!0),l=t;for(let e,t,o,r,i=0;i<l.length;i++)if(e=l[i],o=e instanceof Window?e:e.getRootNode(),o!==t&&(r=n.indexOf(o),t=o),!(o instanceof cl)||!A(r)&&r>-1)return e;return null}function sl(e,t,n,l){const o=Qe.call(t,n,l);return _(o)?o:ul(e,al(o,!0))}e(ol,{insertBefore:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return Z.call(Zn(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return ee.call(Zn(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return z.call(Zn(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return te.call(Zn(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){D(n)&&Kt(Zn(e),t,Ft(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value(e){return il.set(e,this),Ct.apply(Zn(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){D(n)&&Gt(Zn(e),t,Ft(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get(){return Zn(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return En(an(this))}},cloneNode:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "cloneNode" on ShadowRoot.')}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value(e){const t=Zn(this);return this===e?0:this.contains(e)?20:Q.call(t,e)&F?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value(e){if(this===e)return!0;const t=Zn(this);return 0!=(Q.call(t,e)&F)&&cn(t,e)}},firstChild:{enumerable:!0,configurable:!0,get(){return Gn(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get(){const e=Gn(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value(){return Gn(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get(){return he.call(Zn(this))}},nextSibling:{enumerable:!0,configurable:!0,get:()=>null},previousSibling:{enumerable:!0,configurable:!0,get:()=>null},nodeName:{enumerable:!0,configurable:!0,get:()=>"#document-fragment"},nodeType:{enumerable:!0,configurable:!0,get:()=>11},nodeValue:{enumerable:!0,configurable:!0,get:()=>null},ownerDocument:{enumerable:!0,configurable:!0,get(){return Zn(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:()=>null},parentNode:{enumerable:!0,configurable:!0,get:()=>null},textContent:{enumerable:!0,configurable:!0,get(){const e=Gn(this);let t="";for(let n=0,l=e.length;n<l;n+=1){const l=e[n];l.nodeType!==V&&(t+=mn(l))}return t},set(e){const t=Zn(this);se.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(e){return!A(e)&&H(e.composed)?Zn(this).getRootNode(e):this}}},{childElementCount:{enumerable:!0,configurable:!0,get(){return this.children.length}},children:{enumerable:!0,configurable:!0,get(){return Tn(p.call(an(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}},getElementById:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "getElementById" on ShadowRoot.')}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value(e){return function(e,t){const n=Zn(e);return hn(n,vt(ye.call(n,t)))}(this,e)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value(e){return En(function(e,t){const n=Zn(e);return fn(n,vt(ye.call(n,t)))}(this,e))}}},{innerHTML:{enumerable:!0,configurable:!0,get(){const e=Gn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=_n(e[n]);return t},set(e){const t=Zn(this);Pe.call(t,e)}}},rl),cl.prototype=t(DocumentFragment.prototype,ol),l(cl,Symbol.hasInstance,{value:function(e){return P(e)&&!_(e)&&(dt(e)||c(e)===cl.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return sl(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return qn(this,this,e,t)},l(Document.prototype,"activeElement",{get(){let e=Je.call(this);if(_(e))return e;for(;!A(Jt(e));)if(e=ue.call(e),_(e))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),l(Document.prototype,"getElementById",{value(){const e=lt.apply(this,T.call(arguments));return _(e)?null:A(Jt(e))||Tt(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelector",{value(){const e=vt(nt.apply(this,T.call(arguments))),t=g.call(e,(e=>A(Jt(e))||Tt(e)));return A(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelectorAll",{value(){const e=vt(nt.apply(this,T.call(arguments)));return En(p.call(e,(e=>A(Jt(e))||Tt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByClassName",{value(){const e=vt(ot.apply(this,T.call(arguments)));return Tn(p.call(e,(e=>A(Jt(e))||Tt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagName",{value(){const e=vt(rt.apply(this,T.call(arguments)));return Tn(p.call(e,(e=>A(Jt(e))||Tt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagNameNS",{value(){const e=vt(it.apply(this,T.call(arguments)));return Tn(p.call(e,(e=>A(Jt(e))||Tt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(r(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value(){const e=vt(ct.apply(this,T.call(arguments)));return En(p.call(e,(e=>A(Jt(e))||Tt(e))))},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:cl,configurable:!0,writable:!0});const fl=Object.getOwnPropertyDescriptor(Event.prototype,"composed");const hl=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function pl(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:()=>!0})}(function(){if(!fl)return!1;let e=new Event("click");const t=document.createElement("button");return t.addEventListener("click",(t=>e=t)),t.click(),!fl.get.call(e)})()&&(HTMLElement.prototype.click=function(){Mt.call(this,"click",pl);try{hl.value.call(this)}finally{St.call(this,"click",pl)}}),!0!==new Event("test",{composed:!0}).composed&&function(){const n=e(t(null),{beforeinput:1,blur:1,click:1,compositionend:1,compositionstart:1,compositionupdate:1,copy:1,cut:1,dblclick:1,DOMActivate:1,DOMFocusIn:1,DOMFocusOut:1,drag:1,dragend:1,dragenter:1,dragleave:1,dragover:1,dragstart:1,drop:1,focus:1,focusin:1,focusout:1,gotpointercapture:1,input:1,keydown:1,keypress:1,keyup:1,lostpointercapture:1,mousedown:1,mouseenter:1,mouseleave:1,mousemove:1,mouseout:1,mouseover:1,mouseup:1,paste:1,pointercancel:1,pointerdown:1,pointerenter:1,pointerleave:1,pointermove:1,pointerout:1,pointerover:1,pointerup:1,touchcancel:1,touchend:1,touchmove:1,touchstart:1,wheel:1}),l=Event;function o(e,t){const n=new l(e,t),o=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>o,configurable:!0,enumerable:!0}}),n}o.prototype=l.prototype,o.AT_TARGET=l.AT_TARGET,o.BUBBLING_PHASE=l.BUBBLING_PHASE,o.CAPTURING_PHASE=l.CAPTURING_PHASE,o.NONE=l.NONE,window.Event=o,Object.defineProperties(Event.prototype,{composed:{get(){const{type:e}=this;return 1===n[e]},configurable:!0,enumerable:!0}})}();const gl=CustomEvent;function ml(e,t){const n=new gl(e,t),l=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>l,configurable:!0,enumerable:!0}}),n}if(ml.prototype=gl.prototype,window.CustomEvent=ml,"undefined"!=typeof ClipboardEvent){const l=e(t(null),{copy:1,cut:1,paste:1});n(ClipboardEvent.prototype,{composed:{get(){const{type:e}=this;return 1===l[e]},configurable:!0,enumerable:!0}})}"undefined"!=typeof HTMLIFrameElement&&function(){const e=r(HTMLIFrameElement.prototype,"contentWindow"),{get:t}=e;e.get=function(){const e=t.call(this);return _(e)||A(Jt(this))?e:(n=e,{addEventListener(){return n.addEventListener.apply(n,arguments)},blur(){return n.blur.apply(n,arguments)},close(){return n.close.apply(n,arguments)},focus(){return n.focus.apply(n,arguments)},postMessage(){return n.postMessage.apply(n,arguments)},removeEventListener(){return n.removeEventListener.apply(n,arguments)},get closed(){return n.closed},get frames(){return n.frames},get length(){return n.length},get location(){return n.location},set location(e){n.location=e},get opener(){return n.opener},get parent(){return n.parent},get self(){return n.self},get top(){return n.top},get window(){return n.window}});var n},l(HTMLIFrameElement.prototype,"contentWindow",e)}();const dl=MutationObserver,{disconnect:bl,observe:El,takeRecords:yl}=dl.prototype,wl="$$lwcObserverCallbackWrapper$$",Tl=new WeakMap;function vl(e){return e.$$lwcNodeObservers$$}function Nl(e){const{addedNodes:l,removedNodes:o,target:r,type:i}=e,c=t(MutationRecord.prototype);return n(c,{addedNodes:{get:()=>l,enumerable:!0,configurable:!0},removedNodes:{get:()=>o,enumerable:!0,configurable:!0},type:{get:()=>i,enumerable:!0,configurable:!0},target:{get:()=>r.shadowRoot,enumerable:!0,configurable:!0}}),c}function Ll(e,t){let n=t;for(;!_(n);){const t=vl(n);if(!A(t)&&(t[0]===e||-1!==m.call(t,e)))return!0;n=n.parentNode}return!1}function Ml(e,t){return y.call(e,((e,n)=>{const{target:l,addedNodes:o,removedNodes:r,type:i}=n;if("childList"!==i||A(Zt(l)))Ll(t,l)&&E.call(e,n);else if(o.length>0){const r=o[0];if(Ll(t,r)){const o=vl(l);!o||o[0]!==t&&-1===m.call(o,t)?E.call(e,Nl(n)):E.call(e,n)}}else{const o=l.shadowRoot,i=r[0];if(Qt(l)===Qt(i)&&Ll(t,l))E.call(e,n);else if(o){const l=vl(o);!l||l[0]!==t&&-1===m.call(l,t)||E.call(e,Nl(n))}}return e}),[])}function Cl(e){const t=function(e){let t=e[wl];return A(t)&&(t=e[wl]=(t,n)=>{const l=Ml(t,n);0!==l.length&&e.call(n,l,n)}),t}(e);return new dl(t)}function Sl(e,t,n){if(arguments.length>1){const e=T.call(arguments);return e[1]=Ht(e[1]),at.apply(this,e)}return at.apply(this,arguments)}function Ol(e,t,n){if(arguments.length>1){const e=T.call(arguments);e[1]=Ht(e[1]),ut.apply(this,e)}ut.apply(this,arguments)}function Al(){const e=Ve.call(this);if(!(e instanceof k))return e;const t=Et(e),n=al(e,this.composed),l=Ye.call(this);if(!(l instanceof k))return _(l)&&A(Jt(e))?e:ul(t,n);if(l===t||l===t.body)return A(Jt(e))?e:ul(t,n);let o=l,r=n;if(tl(l)){1===Rt.get(this)&&(o=el(l))}return tl(e)&&il.has(this)&&(r=al(el(e),this.composed)),ul(o,r)}function _l(){const e=Ve.call(this),t=Ye.call(this);if(!(e instanceof k))return[];if(_(t))return[];let n=e;return tl(e)&&il.has(this)&&(n=el(e)),al(n,this.composed)}function Hl(e){const t=r(e.prototype,"relatedTarget").get;l(e.prototype,"relatedTarget",{get(){const e=t.call(this);if(_(e))return null;if(!(e instanceof k&&en(e)))return e;let n=Ye.call(this);return _(n)&&(n=Et(e)),ul(n,al(e,!0))},enumerable:!0,configurable:!0})}let Rl;Cl.prototype=dl.prototype,Cl.prototype.disconnect=function(){bl.call(this);const e=Tl.get(this);A(e)||(L.call(e,(e=>{const t=e.$$lwcNodeObservers$$;if(!A(t)){const e=m.call(t,this);-1!==e&&v.call(t,e,1)}})),e.length=0)},Cl.prototype.observe=function(e,t){let n=vl(e);var l;if(A(n)&&(n=[],l=n,e.$$lwcNodeObservers$$=l),-1===m.call(n,this)&&E.call(n,this),e instanceof cl&&(e=e.host),Tl.has(this)){const t=Tl.get(this);-1===m.call(t,e)&&E.call(t,e)}else Tl.set(this,[e]);return El.call(this,e,t)},Cl.prototype.takeRecords=function(){return Ml(yl.call(this),this)},l(window,"MutationObserver",{value:Cl,configurable:!0,writable:!0}),n(Lt,{addEventListener:{value:function(e,t,n){if(tl(this))return qt.apply(this,arguments);if(arguments.length<2){const e=T.call(arguments);return e.length>1&&(e[1]=Ht(e[1])),Mt.apply(this,e)}const l=Ht(t);return Mt.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(tl(this))return Xt.apply(this,arguments);const l=T.call(arguments);arguments.length>1&&(l[1]=Ht(l[1])),St.apply(this,l),St.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&n(Window.prototype,{addEventListener:{value:Sl,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:Ol,enumerable:!0,writable:!0,configurable:!0}}),n(Event.prototype,{target:{get:Al,enumerable:!0,configurable:!0},currentTarget:{get:function(){const e=Ye.call(this);return _(e)?null:1===Rt.get(this)?el(e):e},enumerable:!0,configurable:!0},composedPath:{value:_l,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:Al,enumerable:!0,configurable:!0},path:{get:_l,enumerable:!0,configurable:!0}}),Hl(FocusEvent),Hl(MouseEvent);const Dl={childList:!0},Pl=new WeakMap;function $l(e){const t=vt(fe.call(e));return y.call(t,((e,t)=>(t instanceof Element&&rn(t)?E.apply(e,$l(t)):E.call(e,t),e)),[])}function Il(){const e=ce.call(this);return!_(e)&&rn(e)&&Jt(e)!==Jt(this)?e:null}function Bl(e,t){let n;const l=Jt(e);if(A(l))n=e instanceof HTMLBodyElement?p.call(t,(t=>A(Jt(t))||Tt(e))):T.call(t);else if(tl(e)){const l=ln(e);n=_(l)?[]:Zt(e)?un(e,t):fn(l,t)}else n=p.call(t,(e=>Qt(e)===l));return n}function kl(){const e=Gn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=_n(e[n]);return t}function xl(){return _n(this)}function Fl(){const e=ln(this),t=_(e)?[]:fn(e,pn(this));return Tn(p.call(t,(e=>e instanceof Element)))}function Wl(){return this.children.length}function Ul(){return this.children[0]||null}function jl(){const{children:e}=this;return e.item(e.length-1)||null}function Kl(e,t,n){let l;if(tl(e)){const n=ln(e);l=_(n)?[]:Zt(e)?un(e,t):fn(n,t)}else if(en(e)){const o=Jt(e);if(A(o))if(1===n){const n=Qt(e);l=p.call(t,(e=>Qt(e)===n))}else l=T.call(t);else l=p.call(t,(e=>Qt(e)===o))}else l=e instanceof HTMLBodyElement||1===n?p.call(t,(t=>A(Jt(t))||Tt(e))):T.call(t);return l}n(HTMLSlotElement.prototype,{addEventListener:{value(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||Pl.get(this)||(Pl.set(this,!0),Rl||(Rl=new ht((e=>{const t=[];L.call(e,(e=>{const{target:n}=e;-1===m.call(t,n)&&(E.call(t,n),Ct.call(n,new CustomEvent("slotchange")))}))}))),pt.call(Rl,this,Dl))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value(e){if(en(this)){const t=!A(e)&&H(e.flatten)?$l(this):gn(this);return p.call(t,(e=>e instanceof Element))}return Xe.apply(this,T.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value(e){if(en(this)){return!A(e)&&H(e.flatten)?$l(this):gn(this)}return qe.apply(this,T.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get(){const e=pe.call(this,"name");return _(e)?"":e},set(e){Te.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get(){if(en(this)){const e=ln(this);return En(_(e)?[]:fn(e,pn(this)))}return fe.call(this)},enumerable:!0,configurable:!0}}),n(Text.prototype,{assignedSlot:{get:Il,enumerable:!0,configurable:!0}}),n(Element.prototype,{innerHTML:{get(){return Nt.ENABLE_ELEMENT_PATCH?Tt(this)?De.call(this):kl.call(this):en(this)||tl(this)?kl.call(this):De.call(this)},set(e){Pe.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get(){return Nt.ENABLE_ELEMENT_PATCH?Tt(this)?Ie.call(this):xl.call(this):en(this)||tl(this)?xl.call(this):Ie.call(this)},set(e){Be.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?ll(this,e):ve.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(tl(this)){const e=el(this);if("open"===e.mode)return e}return Ge.call(this)},enumerable:!0,configurable:!0},children:{get(){return Hn(this)?Fl.call(this):je.call(this)},enumerable:!0,configurable:!0},childElementCount:{get(){return Hn(this)?Wl.call(this):Ne.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get(){return Hn(this)?Ul.call(this):Le.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get(){return Hn(this)?jl.call(this):Me.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:Il,enumerable:!0,configurable:!0}}),a.call(HTMLElement.prototype,"innerHTML")&&l(HTMLElement.prototype,"innerHTML",r(Element.prototype,"innerHTML")),a.call(HTMLElement.prototype,"outerHTML")&&l(HTMLElement.prototype,"outerHTML",r(Element.prototype,"outerHTML")),a.call(HTMLElement.prototype,"children")&&l(HTMLElement.prototype,"children",r(Element.prototype,"children")),n(Element.prototype,{querySelector:{value:function(){const e=vt(ye.apply(this,T.call(arguments)));if(tl(this)){const t=ln(this);return _(t)?null:Zt(this)?sn(this,e):hn(t,e)}if(en(this)){const t=Jt(this);if(A(t)){if(!Nt.ENABLE_NODE_LIST_PATCH)return 0===e.length?null:e[0];const t=Qt(this),n=g.call(e,(e=>Qt(e)===t));return A(n)?null:n}{const n=g.call(e,(e=>Qt(e)===t));return A(n)?null:n}}{if(!(Nt.ENABLE_NODE_LIST_PATCH||this instanceof HTMLBodyElement)){const t=e[0];return A(t)?null:t}const t=g.call(e,(e=>A(Jt(e))||Tt(this)));return A(t)?null:t}},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value(){const e=vt(ye.apply(this,T.call(arguments)));if(!Nt.ENABLE_NODE_LIST_PATCH){return En(Kl(this,e,0))}return En(Kl(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),n(Element.prototype,{getElementsByClassName:{value(){const e=vt(Ke.apply(this,T.call(arguments)));if(!Nt.ENABLE_HTML_COLLECTIONS_PATCH)return Tn(Bl(this,e));return Tn(Kl(this,e,1))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value(){const e=vt(me.apply(this,T.call(arguments)));if(!Nt.ENABLE_HTML_COLLECTIONS_PATCH)return Tn(Bl(this,e));return Tn(Kl(this,e,1))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value(){const e=vt(de.apply(this,T.call(arguments)));if(!Nt.ENABLE_HTML_COLLECTIONS_PATCH)return Tn(Bl(this,e));return Tn(Kl(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),a.call(HTMLElement.prototype,"getElementsByClassName")&&l(HTMLElement.prototype,"getElementsByClassName",r(Element.prototype,"getElementsByClassName"));const Gl="\n [contenteditable],\n [tabindex],\n a[href],\n area[href],\n audio[controls],\n button,\n iframe,\n input,\n select,\n textarea,\n video[controls]\n",ql=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function Xl(e){return e.filter((e=>be.call(e,"tabindex")?"0"===pe.call(e,"tabindex"):!ql.has(ke.call(e))||!be.call(e,"disabled")))}const Vl=new WeakMap;function Yl(e){return(!tl(e)||!Qn(e))&&(Ue.call(e,Gl)&&function(e){const{width:t,height:n}=ge.call(e),l=t>0||n>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function zl(){const e=this.getRootNode();if(e===this){const e=Ee.call(this,Gl);return void(_(e)||e.focus.apply(e,arguments))}const t=e;if(t.activeElement===this)return;const n=vt(ye.call(this,Gl));let l=!1;for(;!l&&0!==n.length;){const e=n.shift();e.focus.apply(e,arguments);l=e.getRootNode().activeElement===e}}function Jl(e){const t=Et(e),n=Xl(vt(nt.call(t,Gl))),l=Xl(vt(ye.call(e,Gl))),o=l[0],r=l[l.length-1],i=m.call(n,e),c=i>-1?i:m.call(n,o),a=0===l.length?c+1:m.call(n,r)+1;return{prev:T.call(n,0,c),inner:l,next:T.call(n,a)}}function Ql(e,t){const n=Q.call(e,t);return n&F?0:n&U?1:n&j?2:-1}function Zl(e){e.preventDefault(),e.stopPropagation()}function eo(e,t){at.call(e,"focusin",Zl,!0),at.call(e,"focusout",Zl,!0),t(),ut.call(e,"focusin",Zl,!0),ut.call(e,"focusout",Zl,!0)}function to(e,t,n){const l=yt(n),o=function(e,t){const n=e.length;if(n>0)for(let l=0;l<n;l+=1){const n=e[l];if(ao(t.getRootNode(),n))return n}return null}(e,n);_(o)?eo(l,(()=>{t.blur()})):eo(l,(()=>{o.focus()}))}let no=!1;function lo(){no=!0}function oo(){no=!1}function ro(){return!no}function io(e){if(no)return;const t=Ye.call(e),n=Ve.call(e);if(t!==n)return;const l=ze.call(e);if(_(l))return;const o=Jl(t);if(1===Ql(t,l)){const e=ao.bind(null,t.getRootNode()),r=g.call(o.inner,e);if(A(r))to(o.next,n,l);else{eo(yt(r),(()=>{r.focus()}))}}else t===n&&to(w.call(o.prev),n,l)}function co(e){if(no)return;const t=ze.call(e);if(_(t))return;const n=Ye.call(e),l=Jl(n);if(-1!==m.call(l.inner,t))return;const o=Ve.call(e),r=Ql(n,t);1===r&&to(l.next,o,t),2===r&&to(w.call(l.prev),o,t)}function ao(e,t){if(!Yl(t))return!1;const n=Et(t);let l=t.getRootNode();for(;l!==n&&l!==e;){const e=l.host;if("-1"===pe.call(e,"tabindex"))return!1;l=e&&e.getRootNode()}return!0}function uo(e){St.call(e,"focusin",io,!0)}function so(e){const t=Et(e);Vl.get(t)||(Vl.set(t,!0),Mt.call(t,"mousedown",lo,!0),Mt.call(t,"mouseup",(()=>{setTimeout(oo)}),!0),Mt.call(t,"dragstart",oo,!0))}function fo(e){St.call(e,"focusin",co,!0)}function ho(e){const t=yt(e);return st.call(t,e)}function po(e){const t=yt(e);return ft.call(t)}function go(e){return"visible"===e.visibility&&"none"!==e.display}function mo(e){const t=[];if((e=>e.nodeType===K)(e)){const{tagName:n}=e,l=ho(e);if("OPTION"===n)return[1,Se.call(e),1];if("TEXTAREA"===n)return[];{const n=e.childNodes;for(let e=0,l=n.length;e<l;e++)E.apply(t,mo(n[e]))}if(!go(l))return"SELECT"===n||"DATALIST"===n?[]:t;"BR"===n&&t.push("\n");const{display:o}=l;"table-cell"===o&&t.push("\t"),"table-row"===o&&t.push("\n"),"P"===n&&(t.unshift(2),t.push(2)),"block"!==o&&"table-caption"!==o&&"flex"!==o&&"table"!==o||(t.unshift(1),t.push(1))}else(e=>e.nodeType===G)(e)&&t.push(function(e){const t=po(e);if(null===t)return e.textContent||"";const n=document.createRange();n.selectNodeContents(e);const l=n.getBoundingClientRect();if(l.height<=0||l.width<=0)return"";t.removeAllRanges(),t.addRange(n);return t.toString()||e.textContent||""}(e));return t}function bo(e){if(!go(ho(e)))return mn(e)||"";const t=function(e){const t=yt(e),n=po(e);if(null===n)return null;const l=[];for(let e=0;e<n.rangeCount;e++)l.push(n.getRangeAt(e));const o={element:e,onselect:t.onselect,onselectstart:t.onselectstart,onselectionchange:t.onselectionchange,ranges:l};return t.onselect=null,t.onselectstart=null,t.onselectionchange=null,o}(e),n=[],l=e.childNodes;for(let e=0,t=l.length;e<t;e++)E.apply(n,mo(l[e]));!function(e){if(null===e)return;const{element:t,onselect:n,onselectstart:l,onselectionchange:o,ranges:r}=e,i=yt(t),c=po(t);c.removeAllRanges();for(let e=0;e<r.length;e++)c.addRange(r[e]);i.onselect=n,i.onselectstart=l,i.onselectionchange=o}(t);let o="",r=0;for(let e=0,t=n.length;e<t;e++){const t=n[e];if("string"==typeof t){if(r>0){for(let e=0;e<r;e++)o+="\n";r=0}t.length>0&&(o+=t)}else{if(0==o.length)continue;t>r&&(r=t)}}return o}const{blur:Eo,focus:yo}=HTMLElement.prototype;function wo(){return Qn(this)&&R(be.call(this,"tabindex"))?0:Fe.call(this)}function To(e){const t=Qn(this),n=Fe.call(this),l=be.call(this,"tabindex");We.call(this,e);const o=Fe.call(this),r=be.call(this,"tabindex"),i=n!==o;var c;(l&&(i||R(r))&&(-1===n&&fo(this),0===n&&t&&uo(this)),R(r))||(l&&r&&R(i)||(-1===o&&(so(c=this),uo(c),Mt.call(c,"focusin",co,!0)),0===o&&t&&function(e){so(e),fo(e),Mt.call(e,"focusin",io,!0)}(this)))}function vo(){if(Qn(this)){const e=function(e){const t=Et(e),n=Je.call(t);return _(n)||0!=(Q.call(e,n)&F)?n:null}(this);if(!_(e))return void e.blur()}return Eo.call(this)}function No(){const e=ro();e&&lo(),tl(this)&&Qn(this)?zl.call(this):(yo.apply(this,arguments),e&&oo())}n(HTMLElement.prototype,{tabIndex:{get(){return tl(this)?wo.call(this):Fe.call(this)},set(e){return tl(this)?To.call(this,e):We.call(this,e)},enumerable:!0,configurable:!0},blur:{value(){if(tl(this))return vo.call(this);Eo.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value(){No.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==Se&&null!==Oe&&l(HTMLElement.prototype,"innerText",{get(){return Nt.ENABLE_INNER_OUTER_TEXT_PATCH?Nt.ENABLE_ELEMENT_PATCH?Tt(this)?Se.call(this):bo(this):en(this)||tl(this)?bo(this):Se.call(this):Se.call(this)},set(e){Oe.call(this,e)},enumerable:!0,configurable:!0}),null!==_e&&null!==He&&l(HTMLElement.prototype,"outerText",{get(){return Nt.ENABLE_INNER_OUTER_TEXT_PATCH?Nt.ENABLE_ELEMENT_PATCH?Tt(this)?_e.call(this):bo(this):en(this)||tl(this)?bo(this):_e.call(this):_e.call(this)},set(e){He.call(this,e)},enumerable:!0,configurable:!0}),l(Element.prototype,B,{set(e){const t=this.$$ShadowTokenKey$$;A(t)||t===e||we.call(this,t),A(e)||Te.call(this,e,""),this.$$ShadowTokenKey$$=e},get(){return this.$$ShadowTokenKey$$},configurable:!0});const Lo=function(){};let Mo;const Co={childList:!0};function So(e,t,n){const l=zn(e);if(l!==t&&(Jn(e,t),e instanceof Element)){if(function(e,t){e.$shadowToken$=t}(e,n),tl(e))return;A(l)&&pt.call(Mo,e,Co);const o=fe.call(e);for(let e=0,l=o.length;e<l;e+=1)So(o[e],t,n)}}function Oo(e){if(A(Mo)&&(Mo=new ht((e=>{L.call(e,(e=>{const{target:t,addedNodes:n,removedNodes:l}=e,o=zn(t),r=t.$shadowToken$;for(let e=0,n=l.length;e<n;e+=1){const n=l[e];Q.call(t,n)&k.DOCUMENT_POSITION_CONTAINED_BY||So(n,Lo,void 0)}for(let e=0,l=n.length;e<l;e+=1){const l=n[e];Q.call(t,l)&k.DOCUMENT_POSITION_CONTAINED_BY&&So(l,o,r)}}))}))),A(zn(e)))throw new Error("Invalid Element");pt.call(Mo,e,Co)}l(Element.prototype,"$domManual$",{set(e){this.$$DomManualKey$$=e,H(e)&&Oo(this)},get(){return this.$$DomManualKey$$},configurable:!0})}));
10
+ */function sl(e,t){if(_(e))return null;const n=ul(e,!0),l=t;for(let e,t,o,r,i=0;i<l.length;i++)if(e=l[i],o=e instanceof Window?e:e.getRootNode(),o!==t&&(r=n.indexOf(o),t=o),!(o instanceof cl)||!A(r)&&r>-1)return e;return null}function fl(e,t,n,l){const o=Ze.call(t,n,l);return _(o)?o:sl(e,ul(o,!0))}e(rl,{insertBefore:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return Z.call(el(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return ee.call(el(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return z.call(el(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return te.call(el(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){P(n)&&Gt(el(e),t,Wt(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value(e){return al.set(e,this),St.apply(el(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){P(n)&&qt(el(e),t,Wt(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get(){return el(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return yn(un(this))}},cloneNode:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "cloneNode" on ShadowRoot.')}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value(e){const t=el(this);return this===e?0:this.contains(e)?20:Q.call(t,e)&F?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value(e){if(this===e)return!0;const t=el(this);return 0!=(Q.call(t,e)&F)&&cn(t,e)}},firstChild:{enumerable:!0,configurable:!0,get(){return qn(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get(){const e=qn(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value(){return qn(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get(){return he.call(el(this))}},nextSibling:{enumerable:!0,configurable:!0,get:()=>null},previousSibling:{enumerable:!0,configurable:!0,get:()=>null},nodeName:{enumerable:!0,configurable:!0,get:()=>"#document-fragment"},nodeType:{enumerable:!0,configurable:!0,get:()=>11},nodeValue:{enumerable:!0,configurable:!0,get:()=>null},ownerDocument:{enumerable:!0,configurable:!0,get(){return el(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:()=>null},parentNode:{enumerable:!0,configurable:!0,get:()=>null},textContent:{enumerable:!0,configurable:!0,get(){const e=qn(this);let t="";for(let n=0,l=e.length;n<l;n+=1){const l=e[n];l.nodeType!==V&&(t+=dn(l))}return t},set(e){const t=el(this);se.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(e){return!A(e)&&H(e.composed)?el(this).getRootNode(e):this}}},{childElementCount:{enumerable:!0,configurable:!0,get(){return this.children.length}},children:{enumerable:!0,configurable:!0,get(){return vn(p.call(un(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}},getElementById:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "getElementById" on ShadowRoot.')}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value(e){return function(e,t){const n=el(e);return pn(n,Nt(ye.call(n,t)))}(this,e)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value(e){return yn(function(e,t){const n=el(e);return hn(n,Nt(ye.call(n,t)))}(this,e))}}},{innerHTML:{enumerable:!0,configurable:!0,get(){const e=qn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=Hn(e[n]);return t},set(e){const t=el(this);De.call(t,e)}}},il),cl.prototype=t(DocumentFragment.prototype,rl),l(cl,Symbol.hasInstance,{value:function(e){return D(e)&&!_(e)&&(bt(e)||a(e)===cl.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return fl(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return Xn(this,this,e,t)},l(Document.prototype,"activeElement",{get(){let e=Qe.call(this);if(_(e))return e;for(;!A(Qt(e));)if(e=ue.call(e),_(e))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),l(Document.prototype,"getElementById",{value(){const e=ot.apply(this,T.call(arguments));return _(e)?null:A(Qt(e))||vt(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelector",{value(){const e=Nt(lt.apply(this,T.call(arguments))),t=g.call(e,(e=>A(Qt(e))||vt(e)));return A(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelectorAll",{value(){const e=Nt(lt.apply(this,T.call(arguments)));return yn(p.call(e,(e=>A(Qt(e))||vt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByClassName",{value(){const e=Nt(rt.apply(this,T.call(arguments)));return vn(p.call(e,(e=>A(Qt(e))||vt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagName",{value(){const e=Nt(it.apply(this,T.call(arguments)));return vn(p.call(e,(e=>A(Qt(e))||vt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagNameNS",{value(){const e=Nt(at.apply(this,T.call(arguments)));return vn(p.call(e,(e=>A(Qt(e))||vt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(r(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value(){const e=Nt(ct.apply(this,T.call(arguments)));return yn(p.call(e,(e=>A(Qt(e))||vt(e))))},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:cl,configurable:!0,writable:!0});const hl=Object.getOwnPropertyDescriptor(Event.prototype,"composed");const pl=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function gl(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:()=>!0})}(function(){if(!hl)return!1;let e=new Event("click");const t=document.createElement("button");return t.addEventListener("click",(t=>e=t)),t.click(),!hl.get.call(e)})()&&(HTMLElement.prototype.click=function(){Ct.call(this,"click",gl);try{pl.value.call(this)}finally{Ot.call(this,"click",gl)}}),!0!==new Event("test",{composed:!0}).composed&&function(){const n=e(t(null),{beforeinput:1,blur:1,click:1,compositionend:1,compositionstart:1,compositionupdate:1,copy:1,cut:1,dblclick:1,DOMActivate:1,DOMFocusIn:1,DOMFocusOut:1,drag:1,dragend:1,dragenter:1,dragleave:1,dragover:1,dragstart:1,drop:1,focus:1,focusin:1,focusout:1,gotpointercapture:1,input:1,keydown:1,keypress:1,keyup:1,lostpointercapture:1,mousedown:1,mouseenter:1,mouseleave:1,mousemove:1,mouseout:1,mouseover:1,mouseup:1,paste:1,pointercancel:1,pointerdown:1,pointerenter:1,pointerleave:1,pointermove:1,pointerout:1,pointerover:1,pointerup:1,touchcancel:1,touchend:1,touchmove:1,touchstart:1,wheel:1}),l=Event;function o(e,t){const n=new l(e,t),o=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>o,configurable:!0,enumerable:!0}}),n}o.prototype=l.prototype,o.AT_TARGET=l.AT_TARGET,o.BUBBLING_PHASE=l.BUBBLING_PHASE,o.CAPTURING_PHASE=l.CAPTURING_PHASE,o.NONE=l.NONE,window.Event=o,Object.defineProperties(Event.prototype,{composed:{get(){const{type:e}=this;return 1===n[e]},configurable:!0,enumerable:!0}})}();const ml=CustomEvent;function dl(e,t){const n=new ml(e,t),l=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>l,configurable:!0,enumerable:!0}}),n}if(dl.prototype=ml.prototype,window.CustomEvent=dl,"undefined"!=typeof ClipboardEvent){const l=e(t(null),{copy:1,cut:1,paste:1});n(ClipboardEvent.prototype,{composed:{get(){const{type:e}=this;return 1===l[e]},configurable:!0,enumerable:!0}})}"undefined"!=typeof HTMLIFrameElement&&function(){const e=r(HTMLIFrameElement.prototype,"contentWindow"),{get:t}=e;e.get=function(){const e=t.call(this);return _(e)||A(Qt(this))?e:(n=e,{addEventListener(){return n.addEventListener.apply(n,arguments)},blur(){return n.blur.apply(n,arguments)},close(){return n.close.apply(n,arguments)},focus(){return n.focus.apply(n,arguments)},postMessage(){return n.postMessage.apply(n,arguments)},removeEventListener(){return n.removeEventListener.apply(n,arguments)},get closed(){return n.closed},get frames(){return n.frames},get length(){return n.length},get location(){return n.location},set location(e){n.location=e},get opener(){return n.opener},get parent(){return n.parent},get self(){return n.self},get top(){return n.top},get window(){return n.window}});var n},l(HTMLIFrameElement.prototype,"contentWindow",e)}();const bl=MutationObserver,{disconnect:El,observe:yl,takeRecords:wl}=bl.prototype,Tl="$$lwcObserverCallbackWrapper$$",vl=new WeakMap;function Nl(e){return e.$$lwcNodeObservers$$}function Ll(e){const{addedNodes:l,removedNodes:o,target:r,type:i}=e,a=t(MutationRecord.prototype);return n(a,{addedNodes:{get:()=>l,enumerable:!0,configurable:!0},removedNodes:{get:()=>o,enumerable:!0,configurable:!0},type:{get:()=>i,enumerable:!0,configurable:!0},target:{get:()=>r.shadowRoot,enumerable:!0,configurable:!0}}),a}function Ml(e,t){let n=t;for(;!_(n);){const t=Nl(n);if(!A(t)&&(t[0]===e||-1!==m.call(t,e)))return!0;n=n.parentNode}return!1}function Cl(e,t){return y.call(e,((e,n)=>{const{target:l,addedNodes:o,removedNodes:r,type:i}=n;if("childList"!==i||A(en(l)))Ml(t,l)&&E.call(e,n);else if(o.length>0){const r=o[0];if(Ml(t,r)){const o=Nl(l);!o||o[0]!==t&&-1===m.call(o,t)?E.call(e,Ll(n)):E.call(e,n)}}else{const o=l.shadowRoot,i=r[0];if(Zt(l)===Zt(i)&&Ml(t,l))E.call(e,n);else if(o){const l=Nl(o);!l||l[0]!==t&&-1===m.call(l,t)||E.call(e,Ll(n))}}return e}),[])}function Sl(e){const t=function(e){let t=e[Tl];return A(t)&&(t=e[Tl]=(t,n)=>{const l=Cl(t,n);0!==l.length&&e.call(n,l,n)}),t}(e);return new bl(t)}function Ol(e,t,n){if(arguments.length>1){const e=T.call(arguments);return e[1]=Rt(e[1]),ut.apply(this,e)}return ut.apply(this,arguments)}function Al(e,t,n){if(arguments.length>1){const e=T.call(arguments);e[1]=Rt(e[1]),st.apply(this,e)}st.apply(this,arguments)}function _l(){const e=Ve.call(this);if(!(e instanceof k))return e;const t=yt(e),n=ul(e,this.composed),l=Ye.call(this);if(!(l instanceof k))return _(l)&&A(Qt(e))?e:sl(t,n);if(l===t||l===t.body)return A(Qt(e))?e:sl(t,n);let o=l,r=n;if(nl(l)){1===Pt.get(this)&&(o=tl(l))}return nl(e)&&al.has(this)&&(r=ul(tl(e),this.composed)),sl(o,r)}function Hl(){const e=Ve.call(this);if(!(e instanceof k))return[];const t=Boolean(e.shadowRoot),n=(l=e,Boolean(Vn.get(l)));var l;if(t&&!n)return Je.call(this);if(_(Ye.call(this)))return[];let o=e;return nl(e)&&al.has(this)&&(o=tl(e)),ul(o,this.composed)}function Rl(e){const t=r(e.prototype,"relatedTarget").get;l(e.prototype,"relatedTarget",{get(){const e=t.call(this);if(_(e))return null;if(!(e instanceof k&&tn(e)))return e;let n=Ye.call(this);return _(n)&&(n=yt(e)),sl(n,ul(e,!0))},enumerable:!0,configurable:!0})}let Pl;Sl.prototype=bl.prototype,Sl.prototype.disconnect=function(){El.call(this);const e=vl.get(this);A(e)||(L.call(e,(e=>{const t=e.$$lwcNodeObservers$$;if(!A(t)){const e=m.call(t,this);-1!==e&&v.call(t,e,1)}})),e.length=0)},Sl.prototype.observe=function(e,t){let n=Nl(e);var l;if(A(n)&&(n=[],l=n,e.$$lwcNodeObservers$$=l),-1===m.call(n,this)&&E.call(n,this),e instanceof cl&&(e=e.host),vl.has(this)){const t=vl.get(this);-1===m.call(t,e)&&E.call(t,e)}else vl.set(this,[e]);return yl.call(this,e,t)},Sl.prototype.takeRecords=function(){return Cl(wl.call(this),this)},l(window,"MutationObserver",{value:Sl,configurable:!0,writable:!0}),n(Mt,{addEventListener:{value:function(e,t,n){if(nl(this))return Xt.apply(this,arguments);if(arguments.length<2){const e=T.call(arguments);return e.length>1&&(e[1]=Rt(e[1])),Ct.apply(this,e)}const l=Rt(t);return Ct.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(nl(this))return Vt.apply(this,arguments);const l=T.call(arguments);arguments.length>1&&(l[1]=Rt(l[1])),Ot.apply(this,l),Ot.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&n(Window.prototype,{addEventListener:{value:Ol,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:Al,enumerable:!0,writable:!0,configurable:!0}}),n(Event.prototype,{target:{get:_l,enumerable:!0,configurable:!0},currentTarget:{get:function(){const e=Ye.call(this);return _(e)?null:1===Pt.get(this)?tl(e):e},enumerable:!0,configurable:!0},composedPath:{value:Hl,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:_l,enumerable:!0,configurable:!0},path:{get:Hl,enumerable:!0,configurable:!0}}),Rl(FocusEvent),Rl(MouseEvent);const Dl={childList:!0},$l=new WeakMap;function Bl(e){const t=Nt(fe.call(e));return y.call(t,((e,t)=>(t instanceof Element&&an(t)?E.apply(e,Bl(t)):E.call(e,t),e)),[])}function Il(){const e=ae.call(this);return!_(e)&&an(e)&&Qt(e)!==Qt(this)?e:null}function kl(e,t){let n;const l=Qt(e);if(A(l))n=e instanceof HTMLBodyElement?p.call(t,(t=>A(Qt(t))||vt(e))):T.call(t);else if(nl(e)){const l=on(e);n=_(l)?[]:en(e)?sn(e,t):hn(l,t)}else n=p.call(t,(e=>Zt(e)===l));return n}function xl(){const e=qn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=Hn(e[n]);return t}function Fl(){return Hn(this)}function Wl(){const e=on(this),t=_(e)?[]:hn(e,gn(this));return vn(p.call(t,(e=>e instanceof Element)))}function Ul(){return this.children.length}function jl(){return this.children[0]||null}function Kl(){const{children:e}=this;return e.item(e.length-1)||null}function Gl(e,t,n){let l;if(nl(e)){const n=on(e);l=_(n)?[]:en(e)?sn(e,t):hn(n,t)}else if(tn(e)){const o=Qt(e);if(A(o))if(1===n){const n=Zt(e);l=p.call(t,(e=>Zt(e)===n))}else l=T.call(t);else l=p.call(t,(e=>Zt(e)===o))}else l=e instanceof HTMLBodyElement||1===n?p.call(t,(t=>A(Qt(t))||vt(e))):T.call(t);return l}n(HTMLSlotElement.prototype,{addEventListener:{value(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||$l.get(this)||($l.set(this,!0),Pl||(Pl=new pt((e=>{const t=[];L.call(e,(e=>{const{target:n}=e;-1===m.call(t,n)&&(E.call(t,n),St.call(n,new CustomEvent("slotchange")))}))}))),gt.call(Pl,this,Dl))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value(e){if(tn(this)){const t=!A(e)&&H(e.flatten)?Bl(this):mn(this);return p.call(t,(e=>e instanceof Element))}return Xe.apply(this,T.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value(e){if(tn(this)){return!A(e)&&H(e.flatten)?Bl(this):mn(this)}return qe.apply(this,T.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get(){const e=pe.call(this,"name");return _(e)?"":e},set(e){Te.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get(){if(tn(this)){const e=on(this);return yn(_(e)?[]:hn(e,gn(this)))}return fe.call(this)},enumerable:!0,configurable:!0}}),n(Text.prototype,{assignedSlot:{get:Il,enumerable:!0,configurable:!0}}),n(Element.prototype,{innerHTML:{get(){return Lt.ENABLE_ELEMENT_PATCH?vt(this)?Pe.call(this):xl.call(this):tn(this)||nl(this)?xl.call(this):Pe.call(this)},set(e){De.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get(){return Lt.ENABLE_ELEMENT_PATCH?vt(this)?Be.call(this):Fl.call(this):tn(this)||nl(this)?Fl.call(this):Be.call(this)},set(e){Ie.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?ol(this,e):ve.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(nl(this)){const e=tl(this);if("open"===e.mode)return e}return Ge.call(this)},enumerable:!0,configurable:!0},children:{get(){return Rn(this)?Wl.call(this):je.call(this)},enumerable:!0,configurable:!0},childElementCount:{get(){return Rn(this)?Ul.call(this):Ne.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get(){return Rn(this)?jl.call(this):Le.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get(){return Rn(this)?Kl.call(this):Me.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:Il,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"innerHTML")&&l(HTMLElement.prototype,"innerHTML",r(Element.prototype,"innerHTML")),c.call(HTMLElement.prototype,"outerHTML")&&l(HTMLElement.prototype,"outerHTML",r(Element.prototype,"outerHTML")),c.call(HTMLElement.prototype,"children")&&l(HTMLElement.prototype,"children",r(Element.prototype,"children")),n(Element.prototype,{querySelector:{value:function(){const e=Nt(ye.apply(this,T.call(arguments)));if(nl(this)){const t=on(this);return _(t)?null:en(this)?fn(this,e):pn(t,e)}if(tn(this)){const t=Qt(this);if(A(t)){if(!Lt.ENABLE_NODE_LIST_PATCH)return 0===e.length?null:e[0];const t=Zt(this),n=g.call(e,(e=>Zt(e)===t));return A(n)?null:n}{const n=g.call(e,(e=>Zt(e)===t));return A(n)?null:n}}{if(!(Lt.ENABLE_NODE_LIST_PATCH||this instanceof HTMLBodyElement)){const t=e[0];return A(t)?null:t}const t=g.call(e,(e=>A(Qt(e))||vt(this)));return A(t)?null:t}},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value(){const e=Nt(ye.apply(this,T.call(arguments)));if(!Lt.ENABLE_NODE_LIST_PATCH){return yn(Gl(this,e,0))}return yn(Gl(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),n(Element.prototype,{getElementsByClassName:{value(){const e=Nt(Ke.apply(this,T.call(arguments)));if(!Lt.ENABLE_HTML_COLLECTIONS_PATCH)return vn(kl(this,e));return vn(Gl(this,e,1))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value(){const e=Nt(me.apply(this,T.call(arguments)));if(!Lt.ENABLE_HTML_COLLECTIONS_PATCH)return vn(kl(this,e));return vn(Gl(this,e,1))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value(){const e=Nt(de.apply(this,T.call(arguments)));if(!Lt.ENABLE_HTML_COLLECTIONS_PATCH)return vn(kl(this,e));return vn(Gl(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"getElementsByClassName")&&l(HTMLElement.prototype,"getElementsByClassName",r(Element.prototype,"getElementsByClassName"));const ql="\n [contenteditable],\n [tabindex],\n a[href],\n area[href],\n audio[controls],\n button,\n iframe,\n input,\n select,\n textarea,\n video[controls]\n",Xl=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function Vl(e){return e.filter((e=>be.call(e,"tabindex")?"0"===pe.call(e,"tabindex"):!Xl.has(ke.call(e))||!be.call(e,"disabled")))}const Yl=new WeakMap;function zl(e){return(!nl(e)||!Zn(e))&&(Ue.call(e,ql)&&function(e){const{width:t,height:n}=ge.call(e),l=t>0||n>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function Jl(){const e=this.getRootNode();if(e===this){const e=Ee.call(this,ql);return void(_(e)||e.focus.apply(e,arguments))}const t=e;if(t.activeElement===this)return;const n=Nt(ye.call(this,ql));let l=!1;for(;!l&&0!==n.length;){const e=n.shift();e.focus.apply(e,arguments);l=e.getRootNode().activeElement===e}}function Ql(e){const t=yt(e),n=Vl(Nt(lt.call(t,ql))),l=Vl(Nt(ye.call(e,ql))),o=l[0],r=l[l.length-1],i=m.call(n,e),a=i>-1?i:m.call(n,o),c=0===l.length?a+1:m.call(n,r)+1;return{prev:T.call(n,0,a),inner:l,next:T.call(n,c)}}function Zl(e,t){const n=Q.call(e,t);return n&F?0:n&U?1:n&j?2:-1}function eo(e){e.preventDefault(),e.stopPropagation()}function to(e,t){ut.call(e,"focusin",eo,!0),ut.call(e,"focusout",eo,!0),t(),st.call(e,"focusin",eo,!0),st.call(e,"focusout",eo,!0)}function no(e,t,n){const l=wt(n),o=function(e,t){const n=e.length;if(n>0)for(let l=0;l<n;l+=1){const n=e[l];if(uo(t.getRootNode(),n))return n}return null}(e,n);_(o)?to(l,(()=>{t.blur()})):to(l,(()=>{o.focus()}))}let lo=!1;function oo(){lo=!0}function ro(){lo=!1}function io(){return!lo}function ao(e){if(lo)return;const t=Ye.call(e),n=Ve.call(e);if(t!==n)return;const l=ze.call(e);if(_(l))return;const o=Ql(t);if(1===Zl(t,l)){const e=uo.bind(null,t.getRootNode()),r=g.call(o.inner,e);if(A(r))no(o.next,n,l);else{to(wt(r),(()=>{r.focus()}))}}else t===n&&no(w.call(o.prev),n,l)}function co(e){if(lo)return;const t=ze.call(e);if(_(t))return;const n=Ye.call(e),l=Ql(n);if(-1!==m.call(l.inner,t))return;const o=Ve.call(e),r=Zl(n,t);1===r&&no(l.next,o,t),2===r&&no(w.call(l.prev),o,t)}function uo(e,t){if(!zl(t))return!1;const n=yt(t);let l=t.getRootNode();for(;l!==n&&l!==e;){const e=l.host;if("-1"===pe.call(e,"tabindex"))return!1;l=e&&e.getRootNode()}return!0}function so(e){Ot.call(e,"focusin",ao,!0)}function fo(e){const t=yt(e);Yl.get(t)||(Yl.set(t,!0),Ct.call(t,"mousedown",oo,!0),Ct.call(t,"mouseup",(()=>{setTimeout(ro)}),!0),Ct.call(t,"dragstart",ro,!0))}function ho(e){Ot.call(e,"focusin",co,!0)}function po(e){const t=wt(e);return ft.call(t,e)}function go(e){const t=wt(e);return ht.call(t)}function mo(e){return"visible"===e.visibility&&"none"!==e.display}function bo(e){const t=[];if((e=>e.nodeType===K)(e)){const{tagName:n}=e,l=po(e);if("OPTION"===n)return[1,Se.call(e),1];if("TEXTAREA"===n)return[];{const n=e.childNodes;for(let e=0,l=n.length;e<l;e++)E.apply(t,bo(n[e]))}if(!mo(l))return"SELECT"===n||"DATALIST"===n?[]:t;"BR"===n&&t.push("\n");const{display:o}=l;"table-cell"===o&&t.push("\t"),"table-row"===o&&t.push("\n"),"P"===n&&(t.unshift(2),t.push(2)),"block"!==o&&"table-caption"!==o&&"flex"!==o&&"table"!==o||(t.unshift(1),t.push(1))}else(e=>e.nodeType===G)(e)&&t.push(function(e){const t=go(e);if(null===t)return e.textContent||"";const n=document.createRange();n.selectNodeContents(e);const l=n.getBoundingClientRect();if(l.height<=0||l.width<=0)return"";t.removeAllRanges(),t.addRange(n);return t.toString()||e.textContent||""}(e));return t}function Eo(e){if(!mo(po(e)))return dn(e)||"";const t=function(e){const t=wt(e),n=go(e);if(null===n)return null;const l=[];for(let e=0;e<n.rangeCount;e++)l.push(n.getRangeAt(e));const o={element:e,onselect:t.onselect,onselectstart:t.onselectstart,onselectionchange:t.onselectionchange,ranges:l};return t.onselect=null,t.onselectstart=null,t.onselectionchange=null,o}(e),n=[],l=e.childNodes;for(let e=0,t=l.length;e<t;e++)E.apply(n,bo(l[e]));!function(e){if(null===e)return;const{element:t,onselect:n,onselectstart:l,onselectionchange:o,ranges:r}=e,i=wt(t),a=go(t);a.removeAllRanges();for(let e=0;e<r.length;e++)a.addRange(r[e]);i.onselect=n,i.onselectstart=l,i.onselectionchange=o}(t);let o="",r=0;for(let e=0,t=n.length;e<t;e++){const t=n[e];if("string"==typeof t){if(r>0){for(let e=0;e<r;e++)o+="\n";r=0}t.length>0&&(o+=t)}else{if(0==o.length)continue;t>r&&(r=t)}}return o}const{blur:yo,focus:wo}=HTMLElement.prototype;function To(){return Zn(this)&&R(be.call(this,"tabindex"))?0:Fe.call(this)}function vo(e){const t=Zn(this),n=Fe.call(this),l=be.call(this,"tabindex");We.call(this,e);const o=Fe.call(this),r=be.call(this,"tabindex"),i=n!==o;var a;(l&&(i||R(r))&&(-1===n&&ho(this),0===n&&t&&so(this)),R(r))||(l&&r&&R(i)||(-1===o&&(fo(a=this),so(a),Ct.call(a,"focusin",co,!0)),0===o&&t&&function(e){fo(e),ho(e),Ct.call(e,"focusin",ao,!0)}(this)))}function No(){if(Zn(this)){const e=function(e){const t=yt(e),n=Qe.call(t);return _(n)||0!=(Q.call(e,n)&F)?n:null}(this);if(!_(e))return void e.blur()}return yo.call(this)}function Lo(){const e=io();e&&oo(),nl(this)&&Zn(this)?Jl.call(this):(wo.apply(this,arguments),e&&ro())}n(HTMLElement.prototype,{tabIndex:{get(){return nl(this)?To.call(this):Fe.call(this)},set(e){return nl(this)?vo.call(this,e):We.call(this,e)},enumerable:!0,configurable:!0},blur:{value(){if(nl(this))return No.call(this);yo.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value(){Lo.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==Se&&null!==Oe&&l(HTMLElement.prototype,"innerText",{get(){return Lt.ENABLE_INNER_OUTER_TEXT_PATCH?Lt.ENABLE_ELEMENT_PATCH?vt(this)?Se.call(this):Eo(this):tn(this)||nl(this)?Eo(this):Se.call(this):Se.call(this)},set(e){Oe.call(this,e)},enumerable:!0,configurable:!0}),null!==_e&&null!==He&&l(HTMLElement.prototype,"outerText",{get(){return Lt.ENABLE_INNER_OUTER_TEXT_PATCH?Lt.ENABLE_ELEMENT_PATCH?vt(this)?_e.call(this):Eo(this):tn(this)||nl(this)?Eo(this):_e.call(this):_e.call(this)},set(e){He.call(this,e)},enumerable:!0,configurable:!0}),l(Element.prototype,I,{set(e){const t=this.$$ShadowTokenKey$$;A(t)||t===e||we.call(this,t),A(e)||Te.call(this,e,""),this.$$ShadowTokenKey$$=e},get(){return this.$$ShadowTokenKey$$},configurable:!0});const Mo=function(){};let Co;const So={childList:!0};function Oo(e,t,n){const l=Jn(e);if(l!==t&&(Qn(e,t),e instanceof Element)){if(function(e,t){e.$shadowToken$=t}(e,n),nl(e))return;A(l)&&gt.call(Co,e,So);const o=fe.call(e);for(let e=0,l=o.length;e<l;e+=1)Oo(o[e],t,n)}}function Ao(e){if(A(Co)&&(Co=new pt((e=>{L.call(e,(e=>{const{target:t,addedNodes:n,removedNodes:l}=e,o=Jn(t),r=t.$shadowToken$;for(let e=0,n=l.length;e<n;e+=1){const n=l[e];Q.call(t,n)&k.DOCUMENT_POSITION_CONTAINED_BY||Oo(n,Mo,void 0)}for(let e=0,l=n.length;e<l;e+=1){const l=n[e];Q.call(t,l)&k.DOCUMENT_POSITION_CONTAINED_BY&&Oo(l,o,r)}}))}))),A(Jn(e)))throw new Error("Invalid Element");gt.call(Co,e,So)}l(Element.prototype,"$domManual$",{set(e){this.$$DomManualKey$$=e,H(e)&&Ao(this)},get(){return this.$$DomManualKey$$},configurable:!0})}));
@@ -127,7 +127,7 @@
127
127
  const KEY__SHADOW_TOKEN = '$shadowToken$';
128
128
  const KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
129
129
  const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
130
- /** version: 2.3.4 */
130
+ /** version: 2.5.1 */
131
131
 
132
132
  /*
133
133
  * Copyright (c) 2018, salesforce.com, inc.
@@ -266,7 +266,11 @@
266
266
 
267
267
  const eventTargetGetter = getOwnPropertyDescriptor(Event.prototype, 'target').get;
268
268
  const eventCurrentTargetGetter = getOwnPropertyDescriptor(Event.prototype, 'currentTarget').get;
269
- const focusEventRelatedTargetGetter = getOwnPropertyDescriptor(FocusEvent.prototype, 'relatedTarget').get;
269
+ const focusEventRelatedTargetGetter = getOwnPropertyDescriptor(FocusEvent.prototype, 'relatedTarget').get; // IE does not implement composedPath() but that's ok because we only use this instead of our
270
+ // composedPath() polyfill when dealing with native shadow DOM components in mixed mode. Defaulting
271
+ // to a NOOP just to be safe, even though this is almost guaranteed to be defined such a scenario.
272
+
273
+ const composedPath = hasOwnProperty.call(Event.prototype, 'composedPath') ? Event.prototype.composedPath : () => [];
270
274
  /*
271
275
  * Copyright (c) 2018, salesforce.com, inc.
272
276
  * All rights reserved.
@@ -454,13 +458,6 @@
454
458
  * Copyright (C) 2018 salesforce.com, inc.
455
459
  */
456
460
 
457
- /*
458
- * Copyright (c) 2018, salesforce.com, inc.
459
- * All rights reserved.
460
- * SPDX-License-Identifier: MIT
461
- * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
462
- */
463
-
464
461
 
465
462
  if (!_globalThis.lwcRuntimeFlags) {
466
463
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', {
@@ -468,9 +465,8 @@
468
465
  });
469
466
  }
470
467
 
471
- const runtimeFlags = _globalThis.lwcRuntimeFlags; // This function is not supported for use within components and is meant for
472
-
473
- /** version: 2.3.4 */
468
+ const runtimeFlags = _globalThis.lwcRuntimeFlags;
469
+ /** version: 2.5.1 */
474
470
 
475
471
  /*
476
472
  * Copyright (c) 2018, salesforce.com, inc.
@@ -2060,6 +2056,10 @@
2060
2056
  createDocumentFragment
2061
2057
  } = document;
2062
2058
 
2059
+ function hasInternalSlot(root) {
2060
+ return Boolean(InternalSlot.get(root));
2061
+ }
2062
+
2063
2063
  function getInternalSlot(root) {
2064
2064
  const record = InternalSlot.get(root);
2065
2065
 
@@ -3842,14 +3842,27 @@
3842
3842
  }
3843
3843
 
3844
3844
  function patchedComposedPathValue() {
3845
- const originalTarget = eventTargetGetter.call(this);
3846
- const originalCurrentTarget = eventCurrentTargetGetter.call(this); // Account for events with targets that are not instances of Node (e.g., when a readystatechange
3845
+ const originalTarget = eventTargetGetter.call(this); // Account for events with targets that are not instances of Node (e.g., when a readystatechange
3847
3846
  // handler is listening on an instance of XMLHttpRequest).
3848
3847
 
3849
3848
  if (!(originalTarget instanceof _Node)) {
3850
3849
  return [];
3851
- } // If the event has completed propagation, the composedPath should be an empty array.
3850
+ } // If the original target is inside a native shadow root, then just call the native
3851
+ // composePath() method. The event is already retargeted and this causes our composedPath()
3852
+ // polyfill to compute the wrong value. This is only an issue when you have a native web
3853
+ // component inside an LWC component (see test in same commit) but this scenario is unlikely
3854
+ // because we don't yet support that. Workaround specifically for W-9846457. Mixed mode solution
3855
+ // will likely be more involved.
3856
+
3857
+
3858
+ const hasShadowRoot = Boolean(originalTarget.shadowRoot);
3859
+ const hasSyntheticShadowRootAttached = hasInternalSlot(originalTarget);
3860
+
3861
+ if (hasShadowRoot && !hasSyntheticShadowRootAttached) {
3862
+ return composedPath.call(this);
3863
+ }
3852
3864
 
3865
+ const originalCurrentTarget = eventCurrentTargetGetter.call(this); // If the event has completed propagation, the composedPath should be an empty array.
3853
3866
 
3854
3867
  if (isNull(originalCurrentTarget)) {
3855
3868
  return [];
@@ -5623,6 +5636,6 @@
5623
5636
 
5624
5637
  configurable: true
5625
5638
  });
5626
- /** version: 2.3.4 */
5639
+ /** version: 2.5.1 */
5627
5640
 
5628
5641
  })));
@@ -195,7 +195,7 @@
195
195
  var hasNativeSymbolSupport = /*@__PURE__*/function () {
196
196
  return Symbol('x').toString() === 'Symbol(x)';
197
197
  }();
198
- /** version: 2.3.4 */
198
+ /** version: 2.5.1 */
199
199
 
200
200
  /*
201
201
  * Copyright (c) 2018, salesforce.com, inc.
@@ -326,7 +326,13 @@
326
326
 
327
327
  var eventTargetGetter = getOwnPropertyDescriptor(Event.prototype, 'target').get;
328
328
  var eventCurrentTargetGetter = getOwnPropertyDescriptor(Event.prototype, 'currentTarget').get;
329
- var focusEventRelatedTargetGetter = getOwnPropertyDescriptor(FocusEvent.prototype, 'relatedTarget').get;
329
+ var focusEventRelatedTargetGetter = getOwnPropertyDescriptor(FocusEvent.prototype, 'relatedTarget').get; // IE does not implement composedPath() but that's ok because we only use this instead of our
330
+ // composedPath() polyfill when dealing with native shadow DOM components in mixed mode. Defaulting
331
+ // to a NOOP just to be safe, even though this is almost guaranteed to be defined such a scenario.
332
+
333
+ var composedPath = hasOwnProperty.call(Event.prototype, 'composedPath') ? Event.prototype.composedPath : function () {
334
+ return [];
335
+ };
330
336
  /*
331
337
  * Copyright (c) 2018, salesforce.com, inc.
332
338
  * All rights reserved.
@@ -514,13 +520,6 @@
514
520
  * Copyright (C) 2018 salesforce.com, inc.
515
521
  */
516
522
 
517
- /*
518
- * Copyright (c) 2018, salesforce.com, inc.
519
- * All rights reserved.
520
- * SPDX-License-Identifier: MIT
521
- * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
522
- */
523
-
524
523
 
525
524
  if (!_globalThis.lwcRuntimeFlags) {
526
525
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', {
@@ -528,9 +527,8 @@
528
527
  });
529
528
  }
530
529
 
531
- var runtimeFlags = _globalThis.lwcRuntimeFlags; // This function is not supported for use within components and is meant for
532
-
533
- /** version: 2.3.4 */
530
+ var runtimeFlags = _globalThis.lwcRuntimeFlags;
531
+ /** version: 2.5.1 */
534
532
 
535
533
  /*
536
534
  * Copyright (c) 2018, salesforce.com, inc.
@@ -2129,6 +2127,10 @@
2129
2127
  var _document = document,
2130
2128
  createDocumentFragment = _document.createDocumentFragment;
2131
2129
 
2130
+ function hasInternalSlot(root) {
2131
+ return Boolean(InternalSlot.get(root));
2132
+ }
2133
+
2132
2134
  function getInternalSlot(root) {
2133
2135
  var record = InternalSlot.get(root);
2134
2136
 
@@ -3842,14 +3844,27 @@
3842
3844
  }
3843
3845
 
3844
3846
  function patchedComposedPathValue() {
3845
- var originalTarget = eventTargetGetter.call(this);
3846
- var originalCurrentTarget = eventCurrentTargetGetter.call(this); // Account for events with targets that are not instances of Node (e.g., when a readystatechange
3847
+ var originalTarget = eventTargetGetter.call(this); // Account for events with targets that are not instances of Node (e.g., when a readystatechange
3847
3848
  // handler is listening on an instance of XMLHttpRequest).
3848
3849
 
3849
3850
  if (!(originalTarget instanceof _Node)) {
3850
3851
  return [];
3851
- } // If the event has completed propagation, the composedPath should be an empty array.
3852
+ } // If the original target is inside a native shadow root, then just call the native
3853
+ // composePath() method. The event is already retargeted and this causes our composedPath()
3854
+ // polyfill to compute the wrong value. This is only an issue when you have a native web
3855
+ // component inside an LWC component (see test in same commit) but this scenario is unlikely
3856
+ // because we don't yet support that. Workaround specifically for W-9846457. Mixed mode solution
3857
+ // will likely be more involved.
3858
+
3859
+
3860
+ var hasShadowRoot = Boolean(originalTarget.shadowRoot);
3861
+ var hasSyntheticShadowRootAttached = hasInternalSlot(originalTarget);
3862
+
3863
+ if (hasShadowRoot && !hasSyntheticShadowRootAttached) {
3864
+ return composedPath.call(this);
3865
+ }
3852
3866
 
3867
+ var originalCurrentTarget = eventCurrentTargetGetter.call(this); // If the event has completed propagation, the composedPath should be an empty array.
3853
3868
 
3854
3869
  if (isNull(originalCurrentTarget)) {
3855
3870
  return [];
@@ -5612,6 +5627,6 @@
5612
5627
  },
5613
5628
  configurable: true
5614
5629
  });
5615
- /** version: 2.3.4 */
5630
+ /** version: 2.5.1 */
5616
5631
 
5617
5632
  })));