lwc 2.37.1 → 2.37.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/engine-dom/esm/es2017/engine-dom.js +77 -17
- package/dist/engine-dom/iife/es2017/engine-dom.js +77 -17
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +23 -10
- package/dist/engine-dom/iife/es5/engine-dom.js +80 -17
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +23 -10
- package/dist/engine-dom/umd/es2017/engine-dom.js +77 -17
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +23 -10
- package/dist/engine-dom/umd/es5/engine-dom.js +80 -17
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +23 -10
- package/dist/engine-server/commonjs/es2017/engine-server.js +8 -8
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +8 -8
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
- package/dist/wire-service/esm/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/iife/es5/wire-service.js +2 -2
- package/dist/wire-service/iife/es5/wire-service.min.js +1 -1
- package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es5/wire-service.js +2 -2
- package/dist/wire-service/umd/es5/wire-service.min.js +1 -1
- package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
- package/package.json +7 -7
|
@@ -1,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:a,getPrototypeOf:i,hasOwnProperty:c,isFrozen:u,keys:s,seal:f,setPrototypeOf:p}=Object,{concat:h,copyWithin:g,fill:m,filter:d,find:b,indexOf:y,join:E,map:w,pop:v,push:T,reduce:N,reverse:M,shift:L,slice:S,some:C,sort:H,splice:O,unshift:R,forEach:D}=Array.prototype,{charCodeAt:P,replace:I,split:A,slice:$,toLowerCase:B}=String.prototype;function _(e){return void 0===e}function x(e){return null===e}function F(e){return!0===e}function k(e){return!1===e}function W(e){return"function"==typeof e}function U(e){return"object"==typeof e}const G="object"==typeof globalThis?globalThis:window,j="$shadowResolver$",K="$$ShadowResolverKey$$",q="$shadowStaticNodeKey$",Y="$shadowToken$",X="$$ShadowTokenKey$$",V="$nativeGetElementById$",z="$nativeQuerySelectorAll$";G.lwcRuntimeFlags||Object.defineProperty(G,"lwcRuntimeFlags",{value:t(null)});const Q=Node,J=Q.prototype,{DOCUMENT_POSITION_CONTAINED_BY:Z,DOCUMENT_POSITION_CONTAINS:ee,DOCUMENT_POSITION_PRECEDING:te,DOCUMENT_POSITION_FOLLOWING:ne,ELEMENT_NODE:le,TEXT_NODE:oe,CDATA_SECTION_NODE:re,PROCESSING_INSTRUCTION_NODE:ae,COMMENT_NODE:ie,DOCUMENT_FRAGMENT_NODE:ce}=Q,{appendChild:ue,cloneNode:se,compareDocumentPosition:fe,insertBefore:pe,removeChild:he,replaceChild:ge,hasChildNodes:me}=J,{contains:de}=HTMLElement.prototype,be=r(J,"firstChild").get,ye=r(J,"lastChild").get,Ee=r(J,"textContent").get,we=r(J,"parentNode").get,ve=r(J,"ownerDocument").get,Te=c.call(J,"parentElement")?r(J,"parentElement").get:r(HTMLElement.prototype,"parentElement").get,Ne=r(J,"textContent").set,Me=c.call(J,"childNodes")?r(J,"childNodes").get:r(HTMLElement.prototype,"childNodes").get,Le=c.call(J,"isConnected")?r(J,"isConnected").get:function(){const e=ve.call(this);return null===e||0!=(fe.call(e,this)&Z)},{getAttribute:Se,getBoundingClientRect:Ce,getElementsByTagName:He,getElementsByTagNameNS:Oe,hasAttribute:Re,querySelector:De,querySelectorAll:Pe,removeAttribute:Ie,setAttribute:Ae}=Element.prototype,$e=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")},Be=r(Element.prototype,"childElementCount").get,_e=r(Element.prototype,"firstElementChild").get,xe=r(Element.prototype,"lastElementChild").get,Fe=r(HTMLElement.prototype,"innerText"),ke=Fe?Fe.get:null,We=Fe?Fe.set:null,Ue=r(HTMLElement.prototype,"outerText"),Ge=Ue?Ue.get:null,je=Ue?Ue.set:null,Ke=c.call(Element.prototype,"innerHTML")?r(Element.prototype,"innerHTML"):r(HTMLElement.prototype,"innerHTML"),qe=Ke.get,Ye=Ke.set,Xe=c.call(Element.prototype,"outerHTML")?r(Element.prototype,"outerHTML"):r(HTMLElement.prototype,"outerHTML"),Ve=Xe.get,ze=Xe.set,Qe=r(Element.prototype,"tagName").get,Je=r(HTMLElement.prototype,"tabIndex"),Ze=Je.get,et=Je.set,tt=c.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,nt=c.call(Element.prototype,"children")?r(Element.prototype,"children").get:r(HTMLElement.prototype,"children").get,{getElementsByClassName:lt}=HTMLElement.prototype,ot=c.call(Element.prototype,"shadowRoot")?r(Element.prototype,"shadowRoot").get:()=>null,rt=c.call(Element.prototype,"assignedSlot")?r(Element.prototype,"assignedSlot").get:()=>null;let at,it;"undefined"!=typeof HTMLSlotElement?(at=HTMLSlotElement.prototype.assignedNodes,it=HTMLSlotElement.prototype.assignedElements):(at=()=>{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")},it=()=>{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 ct=r(Event.prototype,"target").get,ut=r(Event.prototype,"currentTarget").get,st=r(FocusEvent.prototype,"relatedTarget").get,ft=c.call(Event.prototype,"composedPath")?Event.prototype.composedPath:()=>[],pt=r(Document.prototype,"activeElement").get,ht=c.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,gt=c.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,mt=r(Document.prototype,"defaultView").get,{createComment:dt,querySelectorAll:bt,getElementById:yt,getElementsByClassName:Et,getElementsByTagName:wt,getElementsByTagNameNS:vt}=Document.prototype,{getElementsByName:Tt}=HTMLDocument.prototype,{addEventListener:Nt,removeEventListener:Mt,getComputedStyle:Lt,getSelection:St}=window,Ct=MutationObserver,Ht=Ct.prototype.observe;let Ot=null;"undefined"!=typeof ShadowRoot&&(Ot=ShadowRoot);const Rt=!x(Ot),Dt=x(Ot)?()=>!1:e=>e instanceof Ot;const{createElement:Pt}=Document.prototype;function It(e){const t=ve.call(e);return null===t?e:t}function At(e){const t=It(e),n=mt.call(t);if(null===n)throw new TypeError;return n}let $t;function Bt(e){if(_($t)){const t=It(e);$t=t.body&&"temporary-bypass"===Se.call(t.body,"data-global-patching-bypass")}return F($t)}function _t(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{}p(e,HTMLElement.constructor),p(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,l(Document.prototype,"createElement",{value:function(t,n){const l=Pt.apply(this,S.call(arguments));return 4===t.length&&115===P.call(t,0)&&108===P.call(t,1)&&111===P.call(t,2)&&116===P.call(t,3)&&p(l,e.prototype),l}})}();const xt="undefined"!=typeof EventTarget?EventTarget.prototype:Q.prototype,{addEventListener:Ft,dispatchEvent:kt,removeEventListener:Wt}=xt,Ut="$$HostElementKey$$",Gt="$$ShadowedNodeKey$$";function jt(e,t,n){const l=e;{const{value:e}=n;l[t]=e}}function Kt(e){return e[Ut]}function qt(e){let t,n=e;for(;!x(n);){if(t=Kt(n),!_(t))return t;if(n=we.call(n),lwcRuntimeFlags.ENABLE_LIGHT_GET_ROOT_NODE_PATCH&&!x(n)&&Jt(n))return}}function Yt(e){return e[Gt]}function Xt(e){return!_(Kt(e))}function Vt(e){let t=Te.call(e);for(;!x(t)&&Zt(t);)e=t,t=Te.call(e);return e}function zt(e,t){const n=Yt(e);let l=t instanceof Element?t:Te.call(t);for(;!x(l)&&l!==e;){const t=qt(l),o=Te.call(l);if(t===n)return Zt(l);if(o===e)return!1;if(x(o)||qt(o)===t)l=o;else{if(!Zt(o))return!1;if(l=Qt(Vt(o)),!x(l)){if(l===e)return!0;if(qt(l)===n)return!0}}}return!1}function Qt(e){if(!(e instanceof Q))return null;const t=qt(e);if(_(t))return null;let n=e;for(;!x(n)&&Yt(n)!==t;)n=we.call(n);return x(n)?null:n}function Jt(e){return Zt(e)&&Xt(e)}function Zt(e){return e instanceof HTMLSlotElement}function en(e,t){const n=qt(t);if(_(n)){if(lwcRuntimeFlags.ENABLE_LIGHT_GET_ROOT_NODE_PATCH){const e=we.call(t);if(!x(e)&&Jt(e))return!1}return!0}return Yt(e)===n}function tn(e){const t=fl(e);return on(t,_t(Me.call(t)))}function nn(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];!en(e,o)&&zt(e,o)&&T.call(n,o)}return n}function ln(e,t){for(let n=0,l=t.length;n<l;n+=1){const l=t[n];if(!en(e,l)&&zt(e,l))return l}return null}function on(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];en(e,o)&&T.call(n,o)}return n}function rn(e,t){for(let n=0,l=t.length;n<l;n+=1)if(en(e,t[n]))return t[n];return null}function an(e){if(!hl(e)&&!Zt(e)){return _t(Me.call(e))}if(hl(e)){const t=_t(Pe.call(e,"slot")),n=cl(pl(e));return N.call(t,((e,t)=>(n===cl(t)&&T.apply(e,cn(t)),e)),[])}{const t=_t(Me.call(e)),n=cl(e);return d.call(t,(e=>n===cl(e)))}}function cn(e){const t=Qt(e);if(x(t))return[];const n=_t(Me.call(e));return d.call(n,(e=>!Xt(e)||!en(t,e)))}const un=/[&\u00A0"]/g,sn=/[&\u00A0<>]/g,{replace:fn,toLowerCase:pn}=String.prototype;function hn(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" ";default:return""}}function gn(e){return fn.call(e,un,hn)}const mn=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),dn=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function bn(e){switch(e.nodeType){case le:{const{attributes:t}=e,n=Qe.call(e);let l="<"+pn.call(n);for(let e,n=0;e=t[n];n++)l+=" "+e.name+'="'+gn(e.value)+'"';return l+=">",mn.has(n)?l:l+function(e){let t="";const n=an(e);for(let e=0,l=n.length;e<l;e+=1)t+=bn(n[e]);return t}(e)+"</"+pn.call(n)+">"}case oe:{const{data:n,parentNode:l}=e;return l instanceof Element&&dn.has(Qe.call(l))?n:(t=n,fn.call(t,sn,hn))}case re:return`<!CDATA[[${e.data}]]>`;case ae:return`<?${e.target} ${e.data}?>`;case ie:return`\x3c!--${e.data}--\x3e`;default:return""}var t}function yn(e){if(e.nodeType===le){const t=an(e);let n="";for(let e=0,l=t.length;e<l;e+=1){const l=t[e];l.nodeType!==ie&&(n+=yn(l))}return n}return e.nodeValue}const En=new WeakMap;function wn(){throw new TypeError("Illegal constructor")}function vn(e){const n=t(wn.prototype);return En.set(n,e),D.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}wn.prototype=t(NodeList.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 En.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){D.call(En.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return w.call(En.get(this),((e,t)=>[t,e]))}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return w.call(En.get(this),((e,t)=>t))}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return En.get(this)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=En.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]"}}),p(wn,NodeList);const Tn=(e,t)=>{let n;for(;!_(n=e.host);){const l=n.getRootNode();if(l===t)return n;e=l}};function Nn(e,t,n,l){const o=gt.call(t,n,l),r=[],a=function(e){var t;const n=[];let l=e.getRootNode();for(;!_(l);)n.push(l),l=null===(t=l.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!x(o))for(let e=0;e<o.length;e++){const t=o[e];if(Jt(t))continue;const n=t.getRootNode();if(-1!==y.call(a,n)){T.call(r,t);continue}const l=Tn(n,a[0]);_(l)||-1!==y.call(o,l)||-1!==y.call(r,l)||T.call(r,l)}return r}const Mn=new WeakMap;function Ln(){throw new TypeError("Illegal constructor")}function Sn(e){const n=t(Ln.prototype);return Mn.set(n,e),D.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}function Cn(e){return Jt(e)||hl(e)}function Hn(e,t){const n=Qt(e);if(t===n)return pl(n);if(t instanceof Element){if(qt(e)===qt(t))return t;if(!x(n)&&Zt(t)){const e=Qt(t);if(!x(e)&&en(n,e))return e}}return null}function On(){return Wn(this).length>0}function Rn(){return Wn(this)[0]||null}function Dn(){const e=Wn(this);return e[e.length-1]||null}function Pn(){return yn(this)}function In(){const e=we.call(this);return x(e)?e:Hn(this,e)}function An(){const e=we.call(this);if(x(e))return null;const t=Hn(this,e);return t instanceof Element?t:null}function $n(e){return this===e?0:this.getRootNode()===e?10:Kt(this)!==Kt(e)?35:fe.call(this,e)}function Bn(e){return null!=e&&Kt(this)===Kt(e)&&0!=(fe.call(this,e)&Z)}function _n(e){const t=se.call(this,!1);if(!e)return t;const n=Wn(this);for(let e=0,l=n.length;e<l;e+=1)t.appendChild(n[e].cloneNode(!0));return t}function xn(){if(hl(this)){const e=Qt(this);return vn(x(e)?[]:on(e,an(this)))}return Me.call(this)}Ln.prototype=t(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:Ln},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return Mn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(e){if(""===e)return null;const t=Mn.get(this);for(let n=0,l=t.length;n<l;n++){const n=t[l];if(e===Se.call(n,"id")||e===Se.call(n,"name"))return n}return null}},[Symbol.toStringTag]:{configurable:!0,get:()=>"HTMLCollection"},toString:{writable:!0,configurable:!0,value:()=>"[object HTMLCollection]"}}),p(Ln,HTMLCollection);const Fn=Q.prototype.getRootNode,kn=_(Fn)?function(){let e,t=this;for(;!x(e=we.call(t));)t=e;return t}:Fn;n(Q.prototype,{firstChild:{get(){return Cn(this)?Rn.call(this):be.call(this)},enumerable:!0,configurable:!0},lastChild:{get(){return Cn(this)?Dn.call(this):ye.call(this)},enumerable:!0,configurable:!0},textContent:{get(){return Xt(this)||hl(this)?Pn.call(this):Ee.call(this)},set:function(e){Ne.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get(){if(Xt(this))return In.call(this);const e=we.call(this);return!x(e)&&Jt(e)?Qt(e):e},enumerable:!0,configurable:!0},parentElement:{get(){if(Xt(this))return An.call(this);const e=Te.call(this);return!x(e)&&Jt(e)?Qt(e):e},enumerable:!0,configurable:!0},childNodes:{get(){return Cn(this)?xn.call(this):Me.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value(){return Cn(this)?On.call(this):me.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value(e){return Bt(this)?fe.call(this,e):$n.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value(e){return this===e||null!=e&&(Xt(this)||hl(this)?Bn.call(this,e):de.call(this,e))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value(e){return Xt(this)||hl(this)?_n.call(this,e):se.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){return F(!_(e)&&!!e.composed)?kn.call(this,e):function(e){const t=Qt(e);return x(t)?kn.call(e):pl(t)}(this)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get(){return Le.call(this)}}});const Wn=function(e){return e.childNodes};c.call(HTMLElement.prototype,"contains")&&l(HTMLElement.prototype,"contains",r(Q.prototype,"contains")),c.call(HTMLElement.prototype,"parentElement")&&l(HTMLElement.prototype,"parentElement",r(Q.prototype,"parentElement"));const Un=new WeakMap,Gn=new WeakMap;function jn(e,t,n){if(t===n)return!0;let l=Gn.get(e);return _(l)&&(l=e.composedPath(),Gn.set(e,l)),l.includes(n)}function Kn(e){if(!function(e){return W(e)||U(e)&&!x(e)&&W(e.handleEvent)}(e))return e;let t=Un.get(e);return _(t)&&(t=function(t){const n=ut.call(t);if(jn(t,Vn(t),n))return W(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},Un.set(e,t)),t}const qn=new WeakMap,Yn=new WeakMap;function Xn(e){let n=Yn.get(e);return _(n)&&(n=t(null),Yn.set(e,n)),n}function Vn(e){var t;return null!==(t=El.get(e))&&void 0!==t?t:ct.call(e)}const zn=new WeakMap;function Qn(e){if(!W(e))throw new TypeError;let t=zn.get(e);return _(t)&&(t=function(t){let n=ut.call(t);Dt(n)||(n=pl(n));jn(t,Vn(t),n)&&e.call(n,t)},t.placement=1,zn.set(e,t)),t}const Jn=new WeakMap;function Zn(e){if(!W(e))throw new TypeError;let t=Jn.get(e);return _(t)&&(t=function(t){const n=ut.call(t);jn(t,Vn(t),n)&&e.call(n,t)},t.placement=0,Jn.set(e,t)),t}function el(e){let t=!1,n=!1;const{type:o,stopImmediatePropagation:r,stopPropagation:a}=e,i=Xn(ut.call(e))[o];l(e,"stopImmediatePropagation",{value(){t=!0,r.call(e)},writable:!0,enumerable:!0,configurable:!0}),l(e,"stopPropagation",{value(){n=!0,a.call(e)},writable:!0,enumerable:!0,configurable:!0});const c=S.call(i);function u(n){D.call(c,(l=>{k(t)&&l.placement===n&&-1!==y.call(i,l)&&l.call(void 0,e)}))}qn.set(e,1),u(1),k(t)&&k(n)&&(qn.set(e,0),u(0)),qn.set(e,2)}function tl(e,t,n){const l=Xn(e);let o=l[t];_(o)&&(o=l[t]=[]),-1===y.call(o,n)&&(0===o.length&&Ft.call(e,t,el),T.call(o,n))}function nl(e,t,n){let l,o;_(o=Xn(e)[t])||-1===(l=y.call(o,n))||(O.call(o,l,1),0===o.length&&Wt.call(e,t,el))}function ll(e,t,n){if(W(t)){tl(this,e,Zn(t))}}function ol(e,t,n){if(W(t)){nl(this,e,Zn(t))}}const rl=new WeakMap,{createDocumentFragment:al}=document;function il(e){const t=rl.get(e);if(_(t))throw new TypeError;return t}function cl(e){return e[j]}function ul(e,t){e[j]=t}function sl(e){return il(e).delegatesFocus}function fl(e){return il(e).host}function pl(e){return il(e).shadowRoot}function hl(e){const t=rl.get(e);return!_(t)&&e===t.host}function gl(e){const t=rl.get(e);return!_(t)&&e===t.shadowRoot}l(Q.prototype,j,{set(e){var t,n;_(e)||(this[K]=e,t=this,n=e.nodeKey,jt(t,Ut,{value:n,configurable:!0}))},get(){return this[K]},configurable:!0,enumerable:!0}),l(G,"$isNativeShadowRootDefined$",{value:Rt}),_(G[V])&&l(G,V,{value:yt}),_(G[z])&&l(G,z,{value:bt});let ml=0;function dl(e,t){if(rl.has(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=It(e),r=al.call(o),a={mode:n,delegatesFocus:!!l,host:e,shadowRoot:r};rl.set(r,a),rl.set(e,a);const i=()=>r,c=i.nodeKey=ml++;return jt(e,Gt,{value:c}),ul(r,i),p(r,vl.prototype),r}const bl={constructor:{writable:!0,configurable:!0,value:vl},toString:{writable:!0,configurable:!0,value:()=>"[object ShadowRoot]"},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},yl={activeElement:{enumerable:!0,configurable:!0,get(){const e=fl(this),t=It(e),n=pt.call(t);if(x(n))return n;if(0==(fe.call(e,n)&Z))return null;let l=n;for(;!en(e,l);)l=Te.call(l);return Zt(l)?null:l}},delegatesFocus:{configurable:!0,get(){return il(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return Ml(this,It(fl(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return Nn(this,It(fl(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 fl(this)}},mode:{configurable:!0,get(){return il(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get(){throw new Error}}},El=new WeakMap,wl={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return pe.call(fl(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return he.call(fl(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return ue.call(fl(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return ge.call(fl(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){W(n)&&tl(fl(e),t,Qn(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value(e){return El.set(e,this),kt.apply(fl(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){W(n)&&nl(fl(e),t,Qn(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get(){return fl(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return vn(tn(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=fl(this);return this===e?0:this.contains(e)?20:fe.call(t,e)&Z?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value(e){if(this===e)return!0;const t=fl(this);return 0!=(fe.call(t,e)&Z)&&en(t,e)}},firstChild:{enumerable:!0,configurable:!0,get(){return Wn(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get(){const e=Wn(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value(){return Wn(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get(){return Le.call(fl(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 fl(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:()=>null},parentNode:{enumerable:!0,configurable:!0,get:()=>null},textContent:{enumerable:!0,configurable:!0,get(){const e=Wn(this);let t="";for(let n=0,l=e.length;n<l;n+=1){const l=e[n];l.nodeType!==ie&&(t+=yn(l))}return t},set(e){const t=fl(this);Ne.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(e){return!_(e)&&F(e.composed)?fl(this).getRootNode(e):this}}};function vl(){throw new TypeError("Illegal constructor")}function Tl(e,t){const n=[];let l;if(e instanceof Window)l=e;else{if(!(e instanceof Q))return n;l=e.getRootNode()}let o,r=e;for(;!x(r);)if(n.push(r),r instanceof Element||r instanceof Text){const e=r.assignedSlot;r=x(e)?r.parentNode:e}else r=!gl(r)&&!Dt(r)||!t&&r===l?r instanceof Q?r.parentNode:null:r.host;return o=e instanceof Window?e.document:It(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:a,getPrototypeOf:i,hasOwnProperty:c,isFrozen:u,keys:s,seal:f,setPrototypeOf:p}=Object,{concat:h,copyWithin:g,fill:m,filter:d,find:b,indexOf:y,join:E,map:w,pop:v,push:T,reduce:N,reverse:M,shift:L,slice:S,some:C,sort:H,splice:O,unshift:R,forEach:D}=Array.prototype,{charCodeAt:P,replace:I,split:A,slice:$,toLowerCase:B}=String.prototype;function _(e){return void 0===e}function x(e){return null===e}function F(e){return!0===e}function k(e){return!1===e}function W(e){return"function"==typeof e}function U(e){return"object"==typeof e}const G="object"==typeof globalThis?globalThis:window,j="$shadowResolver$",K="$$ShadowResolverKey$$",q="$shadowStaticNodeKey$",Y="$shadowToken$",X="$$ShadowTokenKey$$",V="$$lwc-synthetic-mode",z="$nativeGetElementById$",Q="$nativeQuerySelectorAll$";G.lwcRuntimeFlags||Object.defineProperty(G,"lwcRuntimeFlags",{value:t(null)});const J=Node,Z=J.prototype,{DOCUMENT_POSITION_CONTAINED_BY:ee,DOCUMENT_POSITION_CONTAINS:te,DOCUMENT_POSITION_PRECEDING:ne,DOCUMENT_POSITION_FOLLOWING:le,ELEMENT_NODE:oe,TEXT_NODE:re,CDATA_SECTION_NODE:ae,PROCESSING_INSTRUCTION_NODE:ie,COMMENT_NODE:ce,DOCUMENT_FRAGMENT_NODE:ue}=J,{appendChild:se,cloneNode:fe,compareDocumentPosition:pe,insertBefore:he,removeChild:ge,replaceChild:me,hasChildNodes:de}=Z,{contains:be}=HTMLElement.prototype,ye=r(Z,"firstChild").get,Ee=r(Z,"lastChild").get,we=r(Z,"textContent").get,ve=r(Z,"parentNode").get,Te=r(Z,"ownerDocument").get,Ne=c.call(Z,"parentElement")?r(Z,"parentElement").get:r(HTMLElement.prototype,"parentElement").get,Me=r(Z,"textContent").set,Le=c.call(Z,"childNodes")?r(Z,"childNodes").get:r(HTMLElement.prototype,"childNodes").get,Se=c.call(Z,"isConnected")?r(Z,"isConnected").get:function(){const e=Te.call(this);return null===e||0!=(pe.call(e,this)&ee)},{getAttribute:Ce,getBoundingClientRect:He,getElementsByTagName:Oe,getElementsByTagNameNS:Re,hasAttribute:De,querySelector:Pe,querySelectorAll:Ie,removeAttribute:Ae,setAttribute:$e}=Element.prototype,Be=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")},_e=r(Element.prototype,"childElementCount").get,xe=r(Element.prototype,"firstElementChild").get,Fe=r(Element.prototype,"lastElementChild").get,ke=r(HTMLElement.prototype,"innerText"),We=ke?ke.get:null,Ue=ke?ke.set:null,Ge=r(HTMLElement.prototype,"outerText"),je=Ge?Ge.get:null,Ke=Ge?Ge.set:null,qe=c.call(Element.prototype,"innerHTML")?r(Element.prototype,"innerHTML"):r(HTMLElement.prototype,"innerHTML"),Ye=qe.get,Xe=qe.set,Ve=c.call(Element.prototype,"outerHTML")?r(Element.prototype,"outerHTML"):r(HTMLElement.prototype,"outerHTML"),ze=Ve.get,Qe=Ve.set,Je=r(Element.prototype,"tagName").get,Ze=r(HTMLElement.prototype,"tabIndex"),et=Ze.get,tt=Ze.set,nt=c.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,lt=c.call(Element.prototype,"children")?r(Element.prototype,"children").get:r(HTMLElement.prototype,"children").get,{getElementsByClassName:ot}=HTMLElement.prototype,rt=c.call(Element.prototype,"shadowRoot")?r(Element.prototype,"shadowRoot").get:()=>null,at=c.call(Element.prototype,"assignedSlot")?r(Element.prototype,"assignedSlot").get:()=>null;let it,ct;"undefined"!=typeof HTMLSlotElement?(it=HTMLSlotElement.prototype.assignedNodes,ct=HTMLSlotElement.prototype.assignedElements):(it=()=>{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")},ct=()=>{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 ut=r(Event.prototype,"target").get,st=r(Event.prototype,"currentTarget").get,ft=r(FocusEvent.prototype,"relatedTarget").get,pt=c.call(Event.prototype,"composedPath")?Event.prototype.composedPath:()=>[],ht=r(Document.prototype,"activeElement").get,gt=c.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,mt=c.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,dt=r(Document.prototype,"defaultView").get,{createComment:bt,querySelectorAll:yt,getElementById:Et,getElementsByClassName:wt,getElementsByTagName:vt,getElementsByTagNameNS:Tt}=Document.prototype,{getElementsByName:Nt}=HTMLDocument.prototype,{addEventListener:Mt,removeEventListener:Lt,getComputedStyle:St,getSelection:Ct}=window,Ht=MutationObserver,Ot=Ht.prototype.observe;let Rt=null;"undefined"!=typeof ShadowRoot&&(Rt=ShadowRoot);const Dt=!x(Rt),Pt=x(Rt)?()=>!1:e=>e instanceof Rt;const{createElement:It}=Document.prototype,At=115,$t=108,Bt=111,_t=116;function xt(e){const t=Te.call(e);return null===t?e:t}function Ft(e){const t=xt(e),n=dt.call(t);if(null===n)throw new TypeError;return n}let kt;function Wt(e){if(_(kt)){const t=xt(e);kt=t.body&&"temporary-bypass"===Ce.call(t.body,"data-global-patching-bypass")}return F(kt)}function Ut(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{}p(e,HTMLElement.constructor),p(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,l(Document.prototype,"createElement",{value:function(t,n){const l=It.apply(this,S.call(arguments));return 4===t.length&&P.call(t,0)===At&&P.call(t,1)===$t&&P.call(t,2)===Bt&&P.call(t,3)===_t&&p(l,e.prototype),l}})}();const Gt="undefined"!=typeof EventTarget?EventTarget.prototype:J.prototype,{addEventListener:jt,dispatchEvent:Kt,removeEventListener:qt}=Gt,Yt="$$HostElementKey$$",Xt="$$ShadowedNodeKey$$";function Vt(e,t,n){const l=e;{const{value:e}=n;l[t]=e}}function zt(e){return e[Yt]}function Qt(e){let t,n=e;for(;!x(n);){if(t=zt(n),!_(t))return t;if(n=ve.call(n),lwcRuntimeFlags.ENABLE_LIGHT_GET_ROOT_NODE_PATCH&&!x(n)&&ln(n))return}}function Jt(e){return e[Xt]}function Zt(e){return!_(zt(e))}function en(e){let t=Ne.call(e);for(;!x(t)&&on(t);)e=t,t=Ne.call(e);return e}function tn(e,t){const n=Jt(e);let l=t instanceof Element?t:Ne.call(t);for(;!x(l)&&l!==e;){const t=Qt(l),o=Ne.call(l);if(t===n)return on(l);if(o===e)return!1;if(x(o)||Qt(o)===t)l=o;else{if(!on(o))return!1;if(l=nn(en(o)),!x(l)){if(l===e)return!0;if(Qt(l)===n)return!0}}}return!1}function nn(e){if(!(e instanceof J))return null;const t=Qt(e);if(_(t))return null;let n=e;for(;!x(n)&&Jt(n)!==t;)n=ve.call(n);return x(n)?null:n}function ln(e){return on(e)&&Zt(e)}function on(e){return e instanceof HTMLSlotElement}function rn(e,t){const n=Qt(t);if(_(n)){if(lwcRuntimeFlags.ENABLE_LIGHT_GET_ROOT_NODE_PATCH){const e=ve.call(t);if(!x(e)&&ln(e))return!1}return!0}return Jt(e)===n}function an(e){const t=ml(e);return un(t,Ut(Le.call(t)))}function cn(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];!rn(e,o)&&tn(e,o)&&T.call(n,o)}return n}function un(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];rn(e,o)&&T.call(n,o)}return n}function sn(e,t){for(let n=0,l=t.length;n<l;n+=1)if(rn(e,t[n]))return t[n];return null}function fn(e){if(!bl(e)&&!on(e)){return Ut(Le.call(e))}if(bl(e)){const t=Ut(Ie.call(e,"slot")),n=pl(dl(e));return N.call(t,((e,t)=>(n===pl(t)&&T.apply(e,pn(t)),e)),[])}{const t=Ut(Le.call(e)),n=pl(e);return d.call(t,(e=>n===pl(e)))}}function pn(e){const t=nn(e);if(x(t))return[];const n=Ut(Le.call(e));return d.call(n,(e=>!Zt(e)||!rn(t,e)))}const hn=/[&\u00A0"]/g,gn=/[&\u00A0<>]/g,{replace:mn,toLowerCase:dn}=String.prototype;function bn(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" ";default:return""}}function yn(e){return mn.call(e,hn,bn)}const En=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),wn=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function vn(e){switch(e.nodeType){case oe:{const{attributes:t}=e,n=Je.call(e);let l="<"+dn.call(n);for(let e,n=0;e=t[n];n++)l+=" "+e.name+'="'+yn(e.value)+'"';return l+=">",En.has(n)?l:l+function(e){let t="";const n=fn(e);for(let e=0,l=n.length;e<l;e+=1)t+=vn(n[e]);return t}(e)+"</"+dn.call(n)+">"}case re:{const{data:n,parentNode:l}=e;return l instanceof Element&&wn.has(Je.call(l))?n:(t=n,mn.call(t,gn,bn))}case ae:return`<!CDATA[[${e.data}]]>`;case ie:return`<?${e.target} ${e.data}?>`;case ce:return`\x3c!--${e.data}--\x3e`;default:return""}var t}function Tn(e){if(e.nodeType===oe){const t=fn(e);let n="";for(let e=0,l=t.length;e<l;e+=1){const l=t[e];l.nodeType!==ce&&(n+=Tn(l))}return n}return e.nodeValue}const Nn=new WeakMap;function Mn(){throw new TypeError("Illegal constructor")}function Ln(e){const n=t(Mn.prototype);return Nn.set(n,e),D.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}Mn.prototype=t(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:Mn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return Nn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){D.call(Nn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return w.call(Nn.get(this),((e,t)=>[t,e]))}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return w.call(Nn.get(this),((e,t)=>t))}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return Nn.get(this)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=Nn.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]"}}),p(Mn,NodeList);const Sn=(e,t)=>{let n;for(;!_(n=e.host);){const l=n.getRootNode();if(l===t)return n;e=l}};function Cn(e,t,n,l){const o=mt.call(t,n,l),r=[],a=function(e){var t;const n=[];let l=e.getRootNode();for(;!_(l);)n.push(l),l=null===(t=l.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!x(o))for(let e=0;e<o.length;e++){const t=o[e];if(ln(t))continue;const n=t.getRootNode();if(-1!==y.call(a,n)){T.call(r,t);continue}const l=Sn(n,a[0]);_(l)||-1!==y.call(o,l)||-1!==y.call(r,l)||T.call(r,l)}return r}const Hn=new WeakMap;function On(){throw new TypeError("Illegal constructor")}function Rn(e){const n=t(On.prototype);return Hn.set(n,e),D.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}function Dn(e){return ln(e)||bl(e)}function Pn(e,t){const n=nn(e);if(t===n)return dl(n);if(t instanceof Element){if(Qt(e)===Qt(t))return t;if(!x(n)&&on(t)){const e=nn(t);if(!x(e)&&rn(n,e))return e}}return null}function In(){return Kn(this).length>0}function An(){return Kn(this)[0]||null}function $n(){const e=Kn(this);return e[e.length-1]||null}function Bn(){return Tn(this)}function _n(){const e=ve.call(this);return x(e)?e:Pn(this,e)}function xn(){const e=ve.call(this);if(x(e))return null;const t=Pn(this,e);return t instanceof Element?t:null}function Fn(e){return this===e?0:this.getRootNode()===e?10:zt(this)!==zt(e)?35:pe.call(this,e)}function kn(e){return null!=e&&zt(this)===zt(e)&&0!=(pe.call(this,e)&ee)}function Wn(e){const t=fe.call(this,!1);if(!e)return t;const n=Kn(this);for(let e=0,l=n.length;e<l;e+=1)t.appendChild(n[e].cloneNode(!0));return t}function Un(){if(bl(this)){const e=nn(this);return Ln(x(e)?[]:un(e,fn(this)))}return Le.call(this)}On.prototype=t(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:On},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return Hn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(e){if(""===e)return null;const t=Hn.get(this);for(let n=0,l=t.length;n<l;n++){const n=t[l];if(e===Ce.call(n,"id")||e===Ce.call(n,"name"))return n}return null}},[Symbol.toStringTag]:{configurable:!0,get:()=>"HTMLCollection"},toString:{writable:!0,configurable:!0,value:()=>"[object HTMLCollection]"}}),p(On,HTMLCollection);const Gn=J.prototype.getRootNode,jn=_(Gn)?function(){let e,t=this;for(;!x(e=ve.call(t));)t=e;return t}:Gn;n(J.prototype,{firstChild:{get(){return Dn(this)?An.call(this):ye.call(this)},enumerable:!0,configurable:!0},lastChild:{get(){return Dn(this)?$n.call(this):Ee.call(this)},enumerable:!0,configurable:!0},textContent:{get(){return Zt(this)||bl(this)?Bn.call(this):we.call(this)},set:function(e){Me.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get(){if(Zt(this))return _n.call(this);const e=ve.call(this);return!x(e)&&ln(e)?nn(e):e},enumerable:!0,configurable:!0},parentElement:{get(){if(Zt(this))return xn.call(this);const e=Ne.call(this);return!x(e)&&ln(e)?nn(e):e},enumerable:!0,configurable:!0},childNodes:{get(){return Dn(this)?Un.call(this):Le.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value(){return Dn(this)?In.call(this):de.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value(e){return Wt(this)?pe.call(this,e):Fn.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value(e){return this===e||null!=e&&(Zt(this)||bl(this)?kn.call(this,e):be.call(this,e))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value(e){return Zt(this)||bl(this)?Wn.call(this,e):fe.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){return F(!_(e)&&!!e.composed)?jn.call(this,e):function(e){const t=nn(e);return x(t)?jn.call(e):dl(t)}(this)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get(){return Se.call(this)}}});const Kn=function(e){return e.childNodes};c.call(HTMLElement.prototype,"contains")&&l(HTMLElement.prototype,"contains",r(J.prototype,"contains")),c.call(HTMLElement.prototype,"parentElement")&&l(HTMLElement.prototype,"parentElement",r(J.prototype,"parentElement"));const qn=new WeakMap,Yn=new WeakMap;function Xn(e,t,n){if(t===n)return!0;let l=Yn.get(e);return _(l)&&(l=e.composedPath(),Yn.set(e,l)),l.includes(n)}function Vn(e){if(!function(e){return W(e)||U(e)&&!x(e)&&W(e.handleEvent)}(e))return e;let t=qn.get(e);return _(t)&&(t=function(t){const n=st.call(t);if(Xn(t,Zn(t),n))return W(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},qn.set(e,t)),t}const zn=new WeakMap,Qn=new WeakMap;function Jn(e){let n=Qn.get(e);return _(n)&&(n=t(null),Qn.set(e,n)),n}function Zn(e){var t;return null!==(t=Nl.get(e))&&void 0!==t?t:ut.call(e)}const el=new WeakMap;function tl(e){if(!W(e))throw new TypeError;let t=el.get(e);return _(t)&&(t=function(t){let n=st.call(t);Pt(n)||(n=dl(n));Xn(t,Zn(t),n)&&e.call(n,t)},t.placement=1,el.set(e,t)),t}const nl=new WeakMap;function ll(e){if(!W(e))throw new TypeError;let t=nl.get(e);return _(t)&&(t=function(t){const n=st.call(t);Xn(t,Zn(t),n)&&e.call(n,t)},t.placement=0,nl.set(e,t)),t}function ol(e){let t=!1,n=!1;const{type:o,stopImmediatePropagation:r,stopPropagation:a}=e,i=Jn(st.call(e))[o];l(e,"stopImmediatePropagation",{value(){t=!0,r.call(e)},writable:!0,enumerable:!0,configurable:!0}),l(e,"stopPropagation",{value(){n=!0,a.call(e)},writable:!0,enumerable:!0,configurable:!0});const c=S.call(i);function u(n){D.call(c,(l=>{k(t)&&l.placement===n&&-1!==y.call(i,l)&&l.call(void 0,e)}))}zn.set(e,1),u(1),k(t)&&k(n)&&(zn.set(e,0),u(0)),zn.set(e,2)}function rl(e,t,n){const l=Jn(e);let o=l[t];_(o)&&(o=l[t]=[]),-1===y.call(o,n)&&(0===o.length&&jt.call(e,t,ol),T.call(o,n))}function al(e,t,n){let l,o;_(o=Jn(e)[t])||-1===(l=y.call(o,n))||(O.call(o,l,1),0===o.length&&qt.call(e,t,ol))}function il(e,t,n){if(W(t)){rl(this,e,ll(t))}}function cl(e,t,n){if(W(t)){al(this,e,ll(t))}}const ul=new WeakMap,{createDocumentFragment:sl}=document;function fl(e){const t=ul.get(e);if(_(t))throw new TypeError;return t}function pl(e){return e[j]}function hl(e,t){e[j]=t}function gl(e){return fl(e).delegatesFocus}function ml(e){return fl(e).host}function dl(e){return fl(e).shadowRoot}function bl(e){const t=ul.get(e);return!_(t)&&e===t.host}function yl(e){const t=ul.get(e);return!_(t)&&e===t.shadowRoot}l(J.prototype,j,{set(e){var t,n;_(e)||(this[K]=e,t=this,n=e.nodeKey,Vt(t,Yt,{value:n,configurable:!0}))},get(){return this[K]},configurable:!0,enumerable:!0}),l(G,"$isNativeShadowRootDefined$",{value:Dt}),_(G[z])&&l(G,z,{value:Et}),_(G[Q])&&l(G,Q,{value:yt});let El=0;function wl(e,t){if(ul.has(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=xt(e),r=sl.call(o),a={mode:n,delegatesFocus:!!l,host:e,shadowRoot:r};ul.set(r,a),ul.set(e,a);const i=()=>r,c=i.nodeKey=El++;return Vt(e,Xt,{value:c}),hl(r,i),p(r,Ll.prototype),r}const vl={constructor:{writable:!0,configurable:!0,value:Ll},toString:{writable:!0,configurable:!0,value:()=>"[object ShadowRoot]"},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},Tl={activeElement:{enumerable:!0,configurable:!0,get(){const e=ml(this),t=xt(e),n=ht.call(t);if(x(n))return n;if(0==(pe.call(e,n)&ee))return null;let l=n;for(;!rn(e,l);)l=Ne.call(l);return on(l)?null:l}},delegatesFocus:{configurable:!0,get(){return fl(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return Hl(this,xt(ml(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return Cn(this,xt(ml(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 ml(this)}},mode:{configurable:!0,get(){return fl(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get(){throw new Error}}},Nl=new WeakMap,Ml={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return he.call(ml(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return ge.call(ml(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return se.call(ml(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return me.call(ml(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){W(n)&&rl(ml(e),t,tl(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value(e){return Nl.set(e,this),Kt.apply(ml(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){W(n)&&al(ml(e),t,tl(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get(){return ml(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return Ln(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=ml(this);return this===e?0:this.contains(e)?20:pe.call(t,e)&ee?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value(e){if(this===e)return!0;const t=ml(this);return 0!=(pe.call(t,e)&ee)&&rn(t,e)}},firstChild:{enumerable:!0,configurable:!0,get(){return Kn(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get(){const e=Kn(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value(){return Kn(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get(){return Se.call(ml(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 ml(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:()=>null},parentNode:{enumerable:!0,configurable:!0,get:()=>null},textContent:{enumerable:!0,configurable:!0,get(){const e=Kn(this);let t="";for(let n=0,l=e.length;n<l;n+=1){const l=e[n];l.nodeType!==ce&&(t+=Tn(l))}return t},set(e){const t=ml(this);Me.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(e){return!_(e)&&F(e.composed)?ml(this).getRootNode(e):this}}};function Ll(){throw new TypeError("Illegal constructor")}function Sl(e,t){const n=[];let l;if(e instanceof Window)l=e;else{if(!(e instanceof J))return n;l=e.getRootNode()}let o,r=e;for(;!x(r);)if(n.push(r),r instanceof Element||r instanceof Text){const e=r.assignedSlot;r=x(e)?r.parentNode:e}else r=!yl(r)&&!Pt(r)||!t&&r===l?r instanceof J?r.parentNode:null:r.host;return o=e instanceof Window?e.document:xt(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 Nl(e,t){if(x(e))return null;const n=Tl(e,!0),l=t;for(let e,t,o,r,a=0;a<l.length;a++)if(e=l[a],o=e instanceof Window?e:e.getRootNode(),o!==t&&(r=n.indexOf(o),t=o),!gl(o)||!_(r)&&r>-1)return e;return null}function Ml(e,t,n,l){const o=ht.call(t,n,l);return x(o)?o:Nl(e,Tl(o,!0))}e(bl,wl,{childElementCount:{enumerable:!0,configurable:!0,get(){return this.children.length}},children:{enumerable:!0,configurable:!0,get(){return Sn(d.call(tn(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=fl(e);return rn(n,_t(Pe.call(n,t)))}(this,e)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value(e){return vn(function(e,t){const n=fl(e);return on(n,_t(Pe.call(n,t)))}(this,e))}}},{innerHTML:{enumerable:!0,configurable:!0,get(){const e=Wn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=bn(e[n]);return t},set(e){const t=fl(this);Ye.call(t,e)}}},yl),vl.prototype=t(DocumentFragment.prototype,bl),l(vl,Symbol.hasInstance,{value:function(e){return U(e)&&!x(e)&&(Dt(e)||i(e)===vl.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return Ml(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return Nn(this,this,e,t)},l(Document.prototype,"activeElement",{get(){let e=pt.call(this);if(x(e))return e;for(;!_(Kt(e));)if(e=Te.call(e),x(e))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),l(Document.prototype,"getElementById",{value(){const e=yt.apply(this,S.call(arguments));return x(e)?null:_(Kt(e))||Bt(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelector",{value(){const e=_t(bt.apply(this,S.call(arguments))),t=b.call(e,(e=>_(Kt(e))||Bt(e)));return _(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelectorAll",{value(){const e=_t(bt.apply(this,S.call(arguments)));return vn(d.call(e,(e=>_(Kt(e))||Bt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByClassName",{value(){const e=_t(Et.apply(this,S.call(arguments)));return Sn(d.call(e,(e=>_(Kt(e))||Bt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagName",{value(){const e=_t(wt.apply(this,S.call(arguments)));return Sn(d.call(e,(e=>_(Kt(e))||Bt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagNameNS",{value(){const e=_t(vt.apply(this,S.call(arguments)));return Sn(d.call(e,(e=>_(Kt(e))||Bt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(r(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value(){const e=_t(Tt.apply(this,S.call(arguments)));return vn(d.call(e,(e=>_(Kt(e))||Bt(e))))},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:vl,configurable:!0,writable:!0});const Ll=Object.getOwnPropertyDescriptor(Event.prototype,"composed");const Sl=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function Cl(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:()=>!0})}(function(){if(!Ll)return!1;let e=new Event("click");const t=document.createElement("button");return t.addEventListener("click",(t=>e=t)),t.click(),!Ll.get.call(e)})()&&(HTMLElement.prototype.click=function(){Ft.call(this,"click",Cl);try{Sl.value.call(this)}finally{Wt.call(this,"click",Cl)}}),!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 Hl=CustomEvent;function Ol(e,t){const n=new Hl(e,t),l=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>l,configurable:!0,enumerable:!0}}),n}if(Ol.prototype=Hl.prototype,window.CustomEvent=Ol,"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}})}(function(){const e="undefined"!=typeof HTMLIFrameElement,t="undefined"!=typeof Proxy&&F(Proxy.isCompat);return e&&t})()&&function(){const e=r(HTMLIFrameElement.prototype,"contentWindow"),{get:t}=e;e.get=function(){const e=t.call(this);return x(e)||_(Kt(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 Rl=MutationObserver,{disconnect:Dl,observe:Pl,takeRecords:Il}=Rl.prototype,Al="$$lwcObserverCallbackWrapper$$",$l="$$lwcNodeObservers$$",Bl=new WeakMap;function _l(e){return e[$l]}function xl(e){const{addedNodes:l,removedNodes:o,target:r,type:a}=e,i=t(MutationRecord.prototype);return n(i,{addedNodes:{get:()=>l,enumerable:!0,configurable:!0},removedNodes:{get:()=>o,enumerable:!0,configurable:!0},type:{get:()=>a,enumerable:!0,configurable:!0},target:{get:()=>r.shadowRoot,enumerable:!0,configurable:!0}}),i}function Fl(e,t){let n=t;for(;!x(n);){const t=_l(n);if(!_(t)&&(t[0]===e||-1!==y.call(t,e)))return!0;n=n.parentNode}return!1}function kl(e,t){return N.call(e,((e,n)=>{const{target:l,addedNodes:o,removedNodes:r,type:a}=n;if("childList"!==a||_(Yt(l)))Fl(t,l)&&T.call(e,n);else if(o.length>0){const r=o[0];if(Fl(t,r)){const o=_l(l);!o||o[0]!==t&&-1===y.call(o,t)?T.call(e,xl(n)):T.call(e,n)}}else{const o=l.shadowRoot,a=r[0];if(qt(l)===qt(a)&&Fl(t,l))T.call(e,n);else if(o){const l=_l(o);!l||l[0]!==t&&-1===y.call(l,t)||T.call(e,xl(n))}}return e}),[])}function Wl(e){const t=function(e){let t=e[Al];return _(t)&&(t=e[Al]=(t,n)=>{const l=kl(t,n);0!==l.length&&e.call(n,l,n)}),t}(e);return new Rl(t)}function Ul(e,t,n){if(arguments.length>1){const e=S.call(arguments);return e[1]=Kn(e[1]),Nt.apply(this,e)}return Nt.apply(this,arguments)}function Gl(e,t,n){if(arguments.length>1){const e=S.call(arguments);e[1]=Kn(e[1]),Mt.apply(this,e)}Mt.apply(this,arguments)}function jl(){const e=ct.call(this);if(!(e instanceof Q))return e;const t=It(e),n=Tl(e,this.composed),l=ut.call(this);if(!(l instanceof Q))return x(l)&&_(Kt(e))?e:Nl(t,n);if(l===t||l===t.body)return _(Kt(e))?e:Nl(t,n);let o=l,r=n;if(hl(l)){1===qn.get(this)&&(o=pl(l))}return hl(e)&&El.has(this)&&(r=Tl(pl(e),this.composed)),Nl(o,r)}function Kl(){const e=ct.call(this);if(!(e instanceof Q))return[];const t=Boolean(e.shadowRoot),n=(l=e,rl.has(l));var l;if(t&&!n)return ft.call(this);if(x(ut.call(this)))return[];let o=e;return hl(e)&&El.has(this)&&(o=pl(e)),Tl(o,this.composed)}function ql(e){const t=r(e.prototype,"relatedTarget").get;l(e.prototype,"relatedTarget",{get(){const e=t.call(this);if(x(e))return null;if(!(e instanceof Q&&Xt(e)))return e;let n=ut.call(this);return x(n)&&(n=It(e)),Nl(n,Tl(e,!0))},enumerable:!0,configurable:!0})}Wl.prototype=Rl.prototype,Wl.prototype.disconnect=function(){Dl.call(this);const e=Bl.get(this);_(e)||(D.call(e,(e=>{const t=e[$l];if(!_(t)){const e=y.call(t,this);-1!==e&&O.call(t,e,1)}})),e.length=0)},Wl.prototype.observe=function(e,t){let n=_l(e);var l;if(_(n)&&(n=[],l=n,e[$l]=l),-1===y.call(n,this)&&T.call(n,this),gl(e)&&(e=e.host),Bl.has(this)){const t=Bl.get(this);-1===y.call(t,e)&&T.call(t,e)}else Bl.set(this,[e]);return Pl.call(this,e,t)},Wl.prototype.takeRecords=function(){return kl(Il.call(this),this)},l(window,"MutationObserver",{value:Wl,configurable:!0,writable:!0}),n(xt,{addEventListener:{value:function(e,t,n){if(hl(this))return ll.apply(this,arguments);if(arguments.length<2){const e=S.call(arguments);return e.length>1&&(e[1]=Kn(e[1])),Ft.apply(this,e)}const l=Kn(t);return Ft.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(hl(this))return ol.apply(this,arguments);const l=S.call(arguments);arguments.length>1&&(l[1]=Kn(l[1])),Wt.apply(this,l),Wt.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&n(Window.prototype,{addEventListener:{value:Ul,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:Gl,enumerable:!0,writable:!0,configurable:!0}}),n(Event.prototype,{target:{get:jl,enumerable:!0,configurable:!0},currentTarget:{get:function(){const e=ut.call(this);return x(e)?null:1===qn.get(this)?pl(e):e},enumerable:!0,configurable:!0},composedPath:{value:Kl,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:jl,enumerable:!0,configurable:!0},path:{get:Kl,enumerable:!0,configurable:!0}}),ql(FocusEvent),ql(MouseEvent);const Yl=c.call(Text.prototype,"assignedSlot")?r(Text.prototype,"assignedSlot").get:()=>null;let Xl;const Vl={childList:!0},zl=new WeakMap;function Ql(e){const t=_t(Me.call(e));return N.call(t,((e,t)=>(t instanceof Element&&Zt(t)?T.apply(e,Ql(t)):T.call(e,t),e)),[])}function Jl(){const e=we.call(this);if(e instanceof Element){const t=ot.call(e);if(Dt(t))return this instanceof Text?Yl.call(this):rt.call(this)}return!x(e)&&Zt(e)&&Kt(e)!==Kt(this)?e:null}function Zl(e,t){let n;const l=Kt(e);if(_(l))n=e instanceof HTMLBodyElement?d.call(t,(t=>_(Kt(t))||Bt(e))):S.call(t);else if(hl(e)){const l=Qt(e);n=x(l)?[]:Yt(e)?nn(e,t):on(l,t)}else n=d.call(t,(e=>qt(e)===l));return n}function eo(){const e=Wn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=bn(e[n]);return t}function to(){return bn(this)}function no(){const e=Qt(this),t=x(e)?[]:on(e,an(this));return Sn(d.call(t,(e=>e instanceof Element)))}function lo(){return this.children.length}function oo(){return this.children[0]||null}function ro(){const{children:e}=this;return e.item(e.length-1)||null}n(HTMLSlotElement.prototype,{addEventListener:{value(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||zl.get(this)||(zl.set(this,!0),Xl||(Xl=new Ct((e=>{const t=[];D.call(e,(e=>{const{target:n}=e;-1===y.call(t,n)&&(T.call(t,n),kt.call(n,new CustomEvent("slotchange")))}))}))),Ht.call(Xl,this,Vl))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value(e){if(Xt(this)){const t=!_(e)&&F(e.flatten)?Ql(this):cn(this);return d.call(t,(e=>e instanceof Element))}return it.apply(this,S.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value(e){if(Xt(this)){return!_(e)&&F(e.flatten)?Ql(this):cn(this)}return at.apply(this,S.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get(){const e=Se.call(this,"name");return x(e)?"":e},set(e){Ae.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get(){if(Xt(this)){const e=Qt(this);return vn(x(e)?[]:on(e,an(this)))}return Me.call(this)},enumerable:!0,configurable:!0}}),n(Text.prototype,{assignedSlot:{get:Jl,enumerable:!0,configurable:!0}}),n(Element.prototype,{innerHTML:{get(){return Xt(this)||hl(this)?eo.call(this):qe.call(this)},set(e){Ye.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get(){return Xt(this)||hl(this)?to.call(this):Ve.call(this)},set(e){ze.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?dl(this,e):$e.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(hl(this)){const e=pl(this);if("open"===e.mode)return e}return ot.call(this)},enumerable:!0,configurable:!0},children:{get(){return Cn(this)?no.call(this):nt.call(this)},enumerable:!0,configurable:!0},childElementCount:{get(){return Cn(this)?lo.call(this):Be.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get(){return Cn(this)?oo.call(this):_e.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get(){return Cn(this)?ro.call(this):xe.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:Jl,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=_t(Pe.apply(this,S.call(arguments)));if(hl(this)){const t=Qt(this);return _(Yt(this))?x(t)?null:rn(t,e):ln(this,e)}if(Xt(this)){const t=Kt(this);if(_(t))return 0===e.length?null:e[0];{const n=b.call(e,(e=>qt(e)===t));return _(n)?null:n}}{if(!(this instanceof HTMLBodyElement)){const t=e[0];return _(t)?null:t}const t=b.call(e,(e=>_(Kt(e))||Bt(this)));return _(t)?null:t}},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value(){return vn(function(e,t){let n;if(hl(e)){const l=Qt(e);n=_(Yt(e))?x(l)?[]:on(l,t):nn(e,t)}else if(Xt(e)){const l=Kt(e);n=_(l)?S.call(t):d.call(t,(e=>qt(e)===l))}else n=e instanceof HTMLBodyElement?d.call(t,(t=>_(Kt(t))||Bt(e))):S.call(t);return n}(this,_t(Pe.apply(this,S.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0}}),n(Element.prototype,{getElementsByClassName:{value(){return Sn(Zl(this,_t(lt.apply(this,S.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value(){return Sn(Zl(this,_t(He.apply(this,S.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value(){return Sn(Zl(this,_t(Oe.apply(this,S.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"getElementsByClassName")&&l(HTMLElement.prototype,"getElementsByClassName",r(Element.prototype,"getElementsByClassName"));const ao="\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",io=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function co(e){return e.filter((e=>Re.call(e,"tabindex")?"0"===Se.call(e,"tabindex"):!io.has(Qe.call(e))||!Re.call(e,"disabled")))}const uo=new WeakMap;function so(e){return(!hl(e)||!sl(e))&&(tt.call(e,ao)&&function(e){const{width:t,height:n}=Ce.call(e),l=t>0||n>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function fo(){const e=this.getRootNode();if(e===this){const e=De.call(this,ao);return void(x(e)||e.focus.apply(e,arguments))}const t=e;if(t.activeElement===this)return;const n=_t(Pe.call(this,ao));let l=!1;for(;!l&&0!==n.length;){const e=n.shift();e.focus.apply(e,arguments);l=e.getRootNode().activeElement===e}}function po(e){const t=It(e),n=co(_t(bt.call(t,ao))),l=co(_t(Pe.call(e,ao))),o=l[0],r=l[l.length-1],a=y.call(n,e),i=a>-1?a:y.call(n,o),c=0===l.length?i+1:y.call(n,r)+1;return{prev:S.call(n,0,i),inner:l,next:S.call(n,c)}}function ho(e,t){const n=fe.call(e,t);return n&Z?0:n&te?1:n&ne?2:-1}function go(e){e.preventDefault(),e.stopPropagation()}function mo(e,t){Nt.call(e,"focusin",go,!0),Nt.call(e,"focusout",go,!0),t(),Mt.call(e,"focusin",go,!0),Mt.call(e,"focusout",go,!0)}function bo(e,t,n){const l=At(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(Mo(t.getRootNode(),n))return n}return null}(e,n);x(o)?mo(l,(()=>{t.blur()})):mo(l,(()=>{o.focus()}))}let yo=!1;function Eo(){yo=!0}function wo(){yo=!1}function vo(){return!yo}function To(e){if(yo)return;const t=ut.call(e),n=ct.call(e);if(t!==n)return;const l=st.call(e);if(x(l))return;const o=po(t);if(1===ho(t,l)){const e=Mo.bind(null,t.getRootNode()),r=b.call(o.inner,e);if(_(r))bo(o.next,n,l);else{mo(At(r),(()=>{r.focus()}))}}else t===n&&bo(M.call(o.prev),n,l)}function No(e){if(yo)return;const t=st.call(e);if(x(t))return;const n=ut.call(e),l=po(n);if(-1!==y.call(l.inner,t))return;const o=ct.call(e),r=ho(n,t);1===r&&bo(l.next,o,t),2===r&&bo(M.call(l.prev),o,t)}function Mo(e,t){if(!so(t))return!1;const n=It(t);let l=t.getRootNode();for(;l!==n&&l!==e;){const e=l.host;if("-1"===Se.call(e,"tabindex"))return!1;l=e&&e.getRootNode()}return!0}function Lo(e){Wt.call(e,"focusin",To,!0)}function So(e){const t=It(e);uo.get(t)||(uo.set(t,!0),Ft.call(t,"mousedown",Eo,!0),Ft.call(t,"mouseup",(()=>{setTimeout(wo)}),!0),Ft.call(t,"dragstart",wo,!0))}function Co(e){Wt.call(e,"focusin",No,!0)}const{blur:Ho,focus:Oo}=HTMLElement.prototype;function Ro(){return sl(this)&&k(Re.call(this,"tabindex"))?0:Ze.call(this)}function Do(e){const t=sl(this),n=Ze.call(this),l=Re.call(this,"tabindex");et.call(this,e);const o=Ze.call(this),r=Re.call(this,"tabindex"),a=n!==o;var i;(l&&(a||k(r))&&(-1===n&&Co(this),0===n&&t&&Lo(this)),k(r))||(l&&r&&k(a)||(-1===o&&(So(i=this),Lo(i),Ft.call(i,"focusin",No,!0)),0===o&&t&&function(e){So(e),Co(e),Ft.call(e,"focusin",To,!0)}(this)))}function Po(){if(sl(this)){const e=function(e){const t=It(e),n=pt.call(t);return x(n)||0!=(fe.call(e,n)&Z)?n:null}(this);if(!x(e))return void e.blur()}return Ho.call(this)}function Io(){const e=vo();e&&Eo(),hl(this)&&sl(this)?fo.call(this):(Oo.apply(this,arguments),e&&wo())}function Ao(e,t){e[j]=t;const n=Me.call(e);for(let e=0,l=n.length;e<l;e++)Ao(n[e],t)}n(HTMLElement.prototype,{tabIndex:{get(){return hl(this)?Ro.call(this):Ze.call(this)},set(e){return hl(this)?Do.call(this,e):et.call(this,e)},enumerable:!0,configurable:!0},blur:{value(){if(hl(this))return Po.call(this);Ho.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value(){Io.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==ke&&null!==We&&l(HTMLElement.prototype,"innerText",{get(){return ke.call(this)},set(e){We.call(this,e)},enumerable:!0,configurable:!0}),null!==Ge&&null!==je&&l(HTMLElement.prototype,"outerText",{get(){return Ge.call(this)},set(e){je.call(this,e)},enumerable:!0,configurable:!0}),l(Element.prototype,Y,{set(e){const t=this[X];_(t)||t===e||Ie.call(this,t),_(e)||Ae.call(this,e,""),this[X]=e},get(){return this[X]},configurable:!0}),l(Element.prototype,"$shadowStaticNode$",{set(e){if(e){Ao(this,this[j])}this[q]=e},get(){return this[q]},configurable:!0});const $o="$$DomManualKey$$",Bo=function(){};let _o;const xo={childList:!0};function Fo(e,t,n){const l=cl(e);if(l!==t&&(ul(e,t),e instanceof Element)){if(function(e,t){e[Y]=t}(e,n),hl(e))return;_(l)&&Ht.call(_o,e,xo);const o=Me.call(e);for(let e=0,l=o.length;e<l;e+=1)Fo(o[e],t,n)}}function ko(){return new Ct((e=>{D.call(e,(e=>{const{target:t,addedNodes:n,removedNodes:l}=e,o=cl(t),r=t[Y];for(let e=0,n=l.length;e<n;e+=1){const n=l[e];fe.call(t,n)&Q.DOCUMENT_POSITION_CONTAINED_BY||Fo(n,Bo,void 0)}for(let e=0,l=n.length;e<l;e+=1){const l=n[e];fe.call(t,l)&Q.DOCUMENT_POSITION_CONTAINED_BY&&Fo(l,o,r)}}))}))}l(Element.prototype,"$domManual$",{set(e){this[$o]=e,F(e)&&function(e){if(_(_o)&&(_o=ko()),_(cl(e)))throw new Error("Invalid Element");Ht.call(_o,e,xo)}(this)},get(){return this[$o]},configurable:!0})}));
|
|
10
|
+
*/function Cl(e,t){if(x(e))return null;const n=Sl(e,!0),l=t;for(let e,t,o,r,a=0;a<l.length;a++)if(e=l[a],o=e instanceof Window?e:e.getRootNode(),o!==t&&(r=n.indexOf(o),t=o),!yl(o)||!_(r)&&r>-1)return e;return null}function Hl(e,t,n,l){const o=gt.call(t,n,l);return x(o)?o:Cl(e,Sl(o,!0))}e(vl,Ml,{childElementCount:{enumerable:!0,configurable:!0,get(){return this.children.length}},children:{enumerable:!0,configurable:!0,get(){return Rn(d.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=ml(e);return sn(n,Ut(Ie.call(n,t)))}(this,e)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value(e){return Ln(function(e,t){const n=ml(e);return un(n,Ut(Ie.call(n,t)))}(this,e))}}},{innerHTML:{enumerable:!0,configurable:!0,get(){const e=Kn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=vn(e[n]);return t},set(e){const t=ml(this);Xe.call(t,e)}}},Tl),Ll.prototype=t(DocumentFragment.prototype,vl),l(Ll,Symbol.hasInstance,{value:function(e){return U(e)&&!x(e)&&(Pt(e)||i(e)===Ll.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return Hl(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return Cn(this,this,e,t)},l(Document.prototype,"activeElement",{get(){let e=ht.call(this);if(x(e))return e;for(;!_(zt(e));)if(e=Ne.call(e),x(e))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),l(Document.prototype,"getElementById",{value(){const e=Et.apply(this,S.call(arguments));return x(e)?null:_(zt(e))||Wt(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelector",{value(){const e=Ut(yt.apply(this,S.call(arguments))),t=b.call(e,(e=>_(zt(e))||Wt(e)));return _(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelectorAll",{value(){const e=Ut(yt.apply(this,S.call(arguments)));return Ln(d.call(e,(e=>_(zt(e))||Wt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByClassName",{value(){const e=Ut(wt.apply(this,S.call(arguments)));return Rn(d.call(e,(e=>_(zt(e))||Wt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagName",{value(){const e=Ut(vt.apply(this,S.call(arguments)));return Rn(d.call(e,(e=>_(zt(e))||Wt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagNameNS",{value(){const e=Ut(Tt.apply(this,S.call(arguments)));return Rn(d.call(e,(e=>_(zt(e))||Wt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(r(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value(){const e=Ut(Nt.apply(this,S.call(arguments)));return Ln(d.call(e,(e=>_(zt(e))||Wt(e))))},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:Ll,configurable:!0,writable:!0});const Ol=Object.getOwnPropertyDescriptor(Event.prototype,"composed");const Rl=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function Dl(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:()=>!0})}(function(){if(!Ol)return!1;let e=new Event("click");const t=document.createElement("button");return t.addEventListener("click",(t=>e=t)),t.click(),!Ol.get.call(e)})()&&(HTMLElement.prototype.click=function(){jt.call(this,"click",Dl);try{Rl.value.call(this)}finally{qt.call(this,"click",Dl)}}),!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 Pl=CustomEvent;function Il(e,t){const n=new Pl(e,t),l=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>l,configurable:!0,enumerable:!0}}),n}if(Il.prototype=Pl.prototype,window.CustomEvent=Il,"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}})}(function(){const e="undefined"!=typeof HTMLIFrameElement,t="undefined"!=typeof Proxy&&F(Proxy.isCompat);return e&&t})()&&function(){const e=r(HTMLIFrameElement.prototype,"contentWindow"),{get:t}=e;e.get=function(){const e=t.call(this);return x(e)||_(zt(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 Al=MutationObserver,{disconnect:$l,observe:Bl,takeRecords:_l}=Al.prototype,xl="$$lwcObserverCallbackWrapper$$",Fl="$$lwcNodeObservers$$",kl=new WeakMap;function Wl(e){return e[Fl]}function Ul(e){const{addedNodes:l,removedNodes:o,target:r,type:a}=e,i=t(MutationRecord.prototype);return n(i,{addedNodes:{get:()=>l,enumerable:!0,configurable:!0},removedNodes:{get:()=>o,enumerable:!0,configurable:!0},type:{get:()=>a,enumerable:!0,configurable:!0},target:{get:()=>r.shadowRoot,enumerable:!0,configurable:!0}}),i}function Gl(e,t){let n=t;for(;!x(n);){const t=Wl(n);if(!_(t)&&(t[0]===e||-1!==y.call(t,e)))return!0;n=n.parentNode}return!1}function jl(e,t){return N.call(e,((e,n)=>{const{target:l,addedNodes:o,removedNodes:r,type:a}=n;if("childList"!==a||_(Jt(l)))Gl(t,l)&&T.call(e,n);else if(o.length>0){const r=o[0];if(Gl(t,r)){const o=Wl(l);!o||o[0]!==t&&-1===y.call(o,t)?T.call(e,Ul(n)):T.call(e,n)}}else{const o=l.shadowRoot,a=r[0];if(Qt(l)===Qt(a)&&Gl(t,l))T.call(e,n);else if(o){const l=Wl(o);!l||l[0]!==t&&-1===y.call(l,t)||T.call(e,Ul(n))}}return e}),[])}function Kl(e){const t=function(e){let t=e[xl];return _(t)&&(t=e[xl]=(t,n)=>{const l=jl(t,n);0!==l.length&&e.call(n,l,n)}),t}(e);return new Al(t)}function ql(e,t,n){if(arguments.length>1){const e=S.call(arguments);return e[1]=Vn(e[1]),Mt.apply(this,e)}return Mt.apply(this,arguments)}function Yl(e,t,n){if(arguments.length>1){const e=S.call(arguments);e[1]=Vn(e[1]),Lt.apply(this,e)}Lt.apply(this,arguments)}function Xl(){const e=ut.call(this);if(!(e instanceof J))return e;const t=xt(e),n=Sl(e,this.composed),l=st.call(this);if(!(l instanceof J))return x(l)&&_(zt(e))?e:Cl(t,n);if(l===t||l===t.body)return _(zt(e))?e:Cl(t,n);let o=l,r=n;if(bl(l)){1===zn.get(this)&&(o=dl(l))}return bl(e)&&Nl.has(this)&&(r=Sl(dl(e),this.composed)),Cl(o,r)}function Vl(){const e=ut.call(this);if(!(e instanceof J))return[];const t=Boolean(e.shadowRoot),n=(l=e,ul.has(l));var l;if(t&&!n)return pt.call(this);if(x(st.call(this)))return[];let o=e;return bl(e)&&Nl.has(this)&&(o=dl(e)),Sl(o,this.composed)}function zl(e){const t=r(e.prototype,"relatedTarget").get;l(e.prototype,"relatedTarget",{get(){const e=t.call(this);if(x(e))return null;if(!(e instanceof J&&Zt(e)))return e;let n=st.call(this);return x(n)&&(n=xt(e)),Cl(n,Sl(e,!0))},enumerable:!0,configurable:!0})}Kl.prototype=Al.prototype,Kl.prototype.disconnect=function(){$l.call(this);const e=kl.get(this);_(e)||(D.call(e,(e=>{const t=e[Fl];if(!_(t)){const e=y.call(t,this);-1!==e&&O.call(t,e,1)}})),e.length=0)},Kl.prototype.observe=function(e,t){let n=Wl(e);var l;if(_(n)&&(n=[],l=n,e[Fl]=l),-1===y.call(n,this)&&T.call(n,this),yl(e)&&(e=e.host),kl.has(this)){const t=kl.get(this);-1===y.call(t,e)&&T.call(t,e)}else kl.set(this,[e]);return Bl.call(this,e,t)},Kl.prototype.takeRecords=function(){return jl(_l.call(this),this)},l(window,"MutationObserver",{value:Kl,configurable:!0,writable:!0}),n(Gt,{addEventListener:{value:function(e,t,n){if(bl(this))return il.apply(this,arguments);if(arguments.length<2){const e=S.call(arguments);return e.length>1&&(e[1]=Vn(e[1])),jt.apply(this,e)}const l=Vn(t);return jt.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(bl(this))return cl.apply(this,arguments);const l=S.call(arguments);arguments.length>1&&(l[1]=Vn(l[1])),qt.apply(this,l),qt.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&n(Window.prototype,{addEventListener:{value:ql,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:Yl,enumerable:!0,writable:!0,configurable:!0}}),n(Event.prototype,{target:{get:Xl,enumerable:!0,configurable:!0},currentTarget:{get:function(){const e=st.call(this);return x(e)?null:1===zn.get(this)?dl(e):e},enumerable:!0,configurable:!0},composedPath:{value:Vl,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:Xl,enumerable:!0,configurable:!0},path:{get:Vl,enumerable:!0,configurable:!0}}),zl(FocusEvent),zl(MouseEvent);const Ql=c.call(Text.prototype,"assignedSlot")?r(Text.prototype,"assignedSlot").get:()=>null;let Jl;const Zl={childList:!0},eo=new WeakMap;function to(e){const t=Ut(Le.call(e));return N.call(t,((e,t)=>(t instanceof Element&&on(t)?T.apply(e,to(t)):T.call(e,t),e)),[])}function no(){const e=ve.call(this);if(e instanceof Element){const t=rt.call(e);if(Pt(t))return this instanceof Text?Ql.call(this):at.call(this)}return!x(e)&&on(e)&&zt(e)!==zt(this)?e:null}function lo(e,t){let n;const l=zt(e);if(_(l))n=e instanceof HTMLBodyElement?d.call(t,(t=>_(zt(t))||Wt(e))):S.call(t);else if(bl(e)){const l=nn(e);n=x(l)?[]:Jt(e)?cn(e,t):un(l,t)}else n=d.call(t,(e=>Qt(e)===l));return n}function oo(){const e=Kn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=vn(e[n]);return t}function ro(){return vn(this)}function ao(){const e=nn(this),t=x(e)?[]:un(e,fn(this));return Rn(d.call(t,(e=>e instanceof Element)))}function io(){return this.children.length}function co(){return this.children[0]||null}function uo(){const{children:e}=this;return e.item(e.length-1)||null}n(HTMLSlotElement.prototype,{addEventListener:{value(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||eo.get(this)||(eo.set(this,!0),Jl||(Jl=new Ht((e=>{const t=[];D.call(e,(e=>{const{target:n}=e;-1===y.call(t,n)&&(T.call(t,n),Kt.call(n,new CustomEvent("slotchange")))}))}))),Ot.call(Jl,this,Zl))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value(e){if(Zt(this)){const t=!_(e)&&F(e.flatten)?to(this):pn(this);return d.call(t,(e=>e instanceof Element))}return ct.apply(this,S.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value(e){if(Zt(this)){return!_(e)&&F(e.flatten)?to(this):pn(this)}return it.apply(this,S.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get(){const e=Ce.call(this,"name");return x(e)?"":e},set(e){$e.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get(){if(Zt(this)){const e=nn(this);return Ln(x(e)?[]:un(e,fn(this)))}return Le.call(this)},enumerable:!0,configurable:!0}}),n(Text.prototype,{assignedSlot:{get:no,enumerable:!0,configurable:!0}}),n(Element.prototype,{innerHTML:{get(){return Zt(this)||bl(this)?oo.call(this):Ye.call(this)},set(e){Xe.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get(){return Zt(this)||bl(this)?ro.call(this):ze.call(this)},set(e){Qe.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e[V]?wl(this,e):Be.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(bl(this)){const e=dl(this);if("open"===e.mode)return e}return rt.call(this)},enumerable:!0,configurable:!0},children:{get(){return Dn(this)?ao.call(this):lt.call(this)},enumerable:!0,configurable:!0},childElementCount:{get(){return Dn(this)?io.call(this):_e.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get(){return Dn(this)?co.call(this):xe.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get(){return Dn(this)?uo.call(this):Fe.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:no,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=Ut(Ie.apply(this,S.call(arguments)));if(bl(this)){const t=nn(this);return _(Jt(this))?x(t)?null:sn(t,e):function(e,t){for(let n=0,l=t.length;n<l;n+=1){const l=t[n];if(!rn(e,l)&&tn(e,l))return l}return null}(this,e)}if(Zt(this)){const t=zt(this);if(_(t))return 0===e.length?null:e[0];{const n=b.call(e,(e=>Qt(e)===t));return _(n)?null:n}}{if(!(this instanceof HTMLBodyElement)){const t=e[0];return _(t)?null:t}const t=b.call(e,(e=>_(zt(e))||Wt(this)));return _(t)?null:t}},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value(){return Ln(function(e,t){let n;if(bl(e)){const l=nn(e);n=_(Jt(e))?x(l)?[]:un(l,t):cn(e,t)}else if(Zt(e)){const l=zt(e);n=_(l)?S.call(t):d.call(t,(e=>Qt(e)===l))}else n=e instanceof HTMLBodyElement?d.call(t,(t=>_(zt(t))||Wt(e))):S.call(t);return n}(this,Ut(Ie.apply(this,S.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0}}),n(Element.prototype,{getElementsByClassName:{value(){return Rn(lo(this,Ut(ot.apply(this,S.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value(){return Rn(lo(this,Ut(Oe.apply(this,S.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value(){return Rn(lo(this,Ut(Re.apply(this,S.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"getElementsByClassName")&&l(HTMLElement.prototype,"getElementsByClassName",r(Element.prototype,"getElementsByClassName"));const so="\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",fo=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function po(e){return e.filter((e=>De.call(e,"tabindex")?"0"===Ce.call(e,"tabindex"):!fo.has(Je.call(e))||!De.call(e,"disabled")))}const ho=new WeakMap;function go(e){return(!bl(e)||!gl(e))&&(nt.call(e,so)&&function(e){const{width:t,height:n}=He.call(e),l=t>0||n>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function mo(){const e=this.getRootNode();if(e===this){const e=Pe.call(this,so);return void(x(e)||e.focus.apply(e,arguments))}if(e.activeElement===this)return;const t=Ut(Ie.call(this,so));let n=!1;for(;!n&&0!==t.length;){const e=t.shift();e.focus.apply(e,arguments);n=e.getRootNode().activeElement===e}}function bo(e){const t=xt(e),n=po(Ut(yt.call(t,so))),l=po(Ut(Ie.call(e,so))),o=l[0],r=l[l.length-1],a=y.call(n,e),i=a>-1?a:y.call(n,o),c=0===l.length?i+1:y.call(n,r)+1;return{prev:S.call(n,0,i),inner:l,next:S.call(n,c)}}function yo(e,t){const n=pe.call(e,t);return n&ee?0:n&ne?1:n&le?2:-1}function Eo(e){e.preventDefault(),e.stopPropagation()}function wo(e,t){Mt.call(e,"focusin",Eo,!0),Mt.call(e,"focusout",Eo,!0),t(),Lt.call(e,"focusin",Eo,!0),Lt.call(e,"focusout",Eo,!0)}function vo(e,t,n){const l=Ft(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(Co(t.getRootNode(),n))return n}return null}(e,n);x(o)?wo(l,(()=>{t.blur()})):wo(l,(()=>{o.focus()}))}let To=!1;function No(){To=!0}function Mo(){To=!1}function Lo(e){if(To)return;const t=st.call(e),n=ut.call(e);if(t!==n)return;const l=ft.call(e);if(x(l))return;const o=bo(t);if(1===yo(t,l)){const e=Co.bind(null,t.getRootNode()),r=b.call(o.inner,e);if(_(r))vo(o.next,n,l);else{wo(Ft(r),(()=>{r.focus()}))}}else t===n&&vo(M.call(o.prev),n,l)}function So(e){if(To)return;const t=ft.call(e);if(x(t))return;const n=st.call(e),l=bo(n);if(-1!==y.call(l.inner,t))return;const o=ut.call(e),r=yo(n,t);1===r&&vo(l.next,o,t),2===r&&vo(M.call(l.prev),o,t)}function Co(e,t){if(!go(t))return!1;const n=xt(t);let l=t.getRootNode();for(;l!==n&&l!==e;){const e=l.host;if("-1"===Ce.call(e,"tabindex"))return!1;l=e&&e.getRootNode()}return!0}function Ho(e){qt.call(e,"focusin",Lo,!0)}function Oo(e){const t=xt(e);ho.get(t)||(ho.set(t,!0),jt.call(t,"mousedown",No,!0),jt.call(t,"mouseup",(()=>{setTimeout(Mo)}),!0),jt.call(t,"dragstart",Mo,!0))}function Ro(e){qt.call(e,"focusin",So,!0)}const{blur:Do,focus:Po}=HTMLElement.prototype;function Io(){return gl(this)&&k(De.call(this,"tabindex"))?0:et.call(this)}function Ao(e){const t=gl(this),n=et.call(this),l=De.call(this,"tabindex");tt.call(this,e);const o=et.call(this),r=De.call(this,"tabindex"),a=n!==o;var i;(l&&(a||k(r))&&(-1===n&&Ro(this),0===n&&t&&Ho(this)),k(r))||(l&&r&&k(a)||(-1===o&&(Oo(i=this),Ho(i),jt.call(i,"focusin",So,!0)),0===o&&t&&function(e){Oo(e),Ro(e),jt.call(e,"focusin",Lo,!0)}(this)))}function $o(){if(gl(this)){const e=function(e){const t=xt(e),n=ht.call(t);return x(n)||0!=(pe.call(e,n)&ee)?n:null}(this);if(!x(e))return void e.blur()}return Do.call(this)}function Bo(){const e=!To;e&&No(),bl(this)&&gl(this)?mo.call(this):(Po.apply(this,arguments),e&&Mo())}function _o(e,t){e[j]=t;const n=Le.call(e);for(let e=0,l=n.length;e<l;e++)_o(n[e],t)}n(HTMLElement.prototype,{tabIndex:{get(){return bl(this)?Io.call(this):et.call(this)},set(e){return bl(this)?Ao.call(this,e):tt.call(this,e)},enumerable:!0,configurable:!0},blur:{value(){if(bl(this))return $o.call(this);Do.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value(){Bo.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==We&&null!==Ue&&l(HTMLElement.prototype,"innerText",{get(){return We.call(this)},set(e){Ue.call(this,e)},enumerable:!0,configurable:!0}),null!==je&&null!==Ke&&l(HTMLElement.prototype,"outerText",{get(){return je.call(this)},set(e){Ke.call(this,e)},enumerable:!0,configurable:!0}),l(Element.prototype,Y,{set(e){const t=this[X];_(t)||t===e||Ae.call(this,t),_(e)||$e.call(this,e,""),this[X]=e},get(){return this[X]},configurable:!0}),l(Element.prototype,"$shadowStaticNode$",{set(e){if(e){_o(this,this[j])}this[q]=e},get(){return this[q]},configurable:!0});const xo="$$DomManualKey$$",Fo=function(){};let ko;const Wo={childList:!0};function Uo(e,t,n){const l=pl(e);if(l!==t&&(hl(e,t),e instanceof Element)){if(function(e,t){e[Y]=t}(e,n),bl(e))return;_(l)&&Ot.call(ko,e,Wo);const o=Le.call(e);for(let e=0,l=o.length;e<l;e+=1)Uo(o[e],t,n)}}function Go(){return new Ht((e=>{D.call(e,(e=>{const{target:t,addedNodes:n,removedNodes:l}=e,o=pl(t),r=t[Y];for(let e=0,n=l.length;e<n;e+=1){const n=l[e];pe.call(t,n)&J.DOCUMENT_POSITION_CONTAINED_BY||Uo(n,Fo,void 0)}for(let e=0,l=n.length;e<l;e+=1){const l=n[e];pe.call(t,l)&J.DOCUMENT_POSITION_CONTAINED_BY&&Uo(l,o,r)}}))}))}l(Element.prototype,"$domManual$",{set(e){this[xo]=e,F(e)&&function(e){if(_(ko)&&(ko=Go()),_(pl(e)))throw new Error("Invalid Element");Ot.call(ko,e,Wo)}(this)},get(){return this[xo]},configurable:!0})}));
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
62
62
|
const KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';
|
|
63
63
|
const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
|
|
64
|
-
/** version: 2.37.
|
|
64
|
+
/** version: 2.37.3 */
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
67
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
if (!_globalThis.lwcRuntimeFlags) {
|
|
71
71
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
72
72
|
}
|
|
73
|
-
/** version: 2.37.
|
|
73
|
+
/** version: 2.37.3 */
|
|
74
74
|
|
|
75
75
|
/*
|
|
76
76
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -4500,6 +4500,6 @@
|
|
|
4500
4500
|
},
|
|
4501
4501
|
configurable: true,
|
|
4502
4502
|
});
|
|
4503
|
-
/** version: 2.37.
|
|
4503
|
+
/** version: 2.37.3 */
|
|
4504
4504
|
|
|
4505
4505
|
}));
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
var hasNativeSymbolSupport = /*@__PURE__*/function () {
|
|
153
153
|
return Symbol('x').toString() === 'Symbol(x)';
|
|
154
154
|
}();
|
|
155
|
-
/** version: 2.37.
|
|
155
|
+
/** version: 2.37.3 */
|
|
156
156
|
|
|
157
157
|
/**
|
|
158
158
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
value: create(null)
|
|
164
164
|
});
|
|
165
165
|
}
|
|
166
|
-
/** version: 2.37.
|
|
166
|
+
/** version: 2.37.3 */
|
|
167
167
|
|
|
168
168
|
/*
|
|
169
169
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -4654,6 +4654,6 @@
|
|
|
4654
4654
|
},
|
|
4655
4655
|
configurable: true
|
|
4656
4656
|
});
|
|
4657
|
-
/** version: 2.37.
|
|
4657
|
+
/** version: 2.37.3 */
|
|
4658
4658
|
|
|
4659
4659
|
}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";var e,t;function n(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,o(r.key),r)}}function l(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e){var t=function(e,t){if("object"!==a(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===a(t)?t:String(t)}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var i=Object.assign,u=Object.create,c=Object.defineProperties,s=Object.defineProperty,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.hasOwnProperty,g=Object.setPrototypeOf,m=Array.prototype,v=m.filter,b=m.find,d=m.indexOf,y=m.map,E=m.push,w=m.reduce,T=m.reverse,N=m.slice,L=m.splice,M=m.forEach,S=String.prototype.charCodeAt;function C(e){return void 0===e}function O(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"===a(e)}var I="object"===("undefined"==typeof globalThis?"undefined":a(globalThis))?globalThis:window,A="$shadowResolver$",B="$$ShadowResolverKey$$",$="$shadowStaticNodeKey$",_="$shadowToken$",x="$$ShadowTokenKey$$",k="$nativeGetElementById$",F="$nativeQuerySelectorAll$";I.lwcRuntimeFlags||Object.defineProperty(I,"lwcRuntimeFlags",{value:u(null)});var j,W,G=Node,U=G.prototype,K=G.DOCUMENT_POSITION_CONTAINED_BY,q=G.DOCUMENT_POSITION_PRECEDING,Y=G.DOCUMENT_POSITION_FOLLOWING,X=G.ELEMENT_NODE,V=G.TEXT_NODE,Q=G.CDATA_SECTION_NODE,z=G.PROCESSING_INSTRUCTION_NODE,J=G.COMMENT_NODE,Z=U.appendChild,ee=U.cloneNode,te=U.compareDocumentPosition,ne=U.insertBefore,re=U.removeChild,le=U.replaceChild,oe=U.hasChildNodes,ae=HTMLElement.prototype.contains,ie=f(U,"firstChild").get,ue=f(U,"lastChild").get,ce=f(U,"textContent").get,se=f(U,"parentNode").get,fe=f(U,"ownerDocument").get,pe=h.call(U,"parentElement")?f(U,"parentElement").get:f(HTMLElement.prototype,"parentElement").get,he=f(U,"textContent").set,ge=h.call(U,"childNodes")?f(U,"childNodes").get:f(HTMLElement.prototype,"childNodes").get,me=h.call(U,"isConnected")?f(U,"isConnected").get:function(){var e=fe.call(this);return null===e||0!=(te.call(e,this)&K)},ve=Element.prototype,be=ve.getAttribute,de=ve.getBoundingClientRect,ye=ve.getElementsByTagName,Ee=ve.getElementsByTagNameNS,we=ve.hasAttribute,Te=ve.querySelector,Ne=ve.querySelectorAll,Le=ve.removeAttribute,Me=ve.setAttribute,Se=h.call(Element.prototype,"attachShadow")?Element.prototype.attachShadow:function(){throw new TypeError("attachShadow() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill and use Lightning Web Components")},Ce=f(Element.prototype,"childElementCount").get,Oe=f(Element.prototype,"firstElementChild").get,He=f(Element.prototype,"lastElementChild").get,Re=f(HTMLElement.prototype,"innerText"),De=Re?Re.get:null,Pe=Re?Re.set:null,Ie=f(HTMLElement.prototype,"outerText"),Ae=Ie?Ie.get:null,Be=Ie?Ie.set:null,$e=h.call(Element.prototype,"innerHTML")?f(Element.prototype,"innerHTML"):f(HTMLElement.prototype,"innerHTML"),_e=$e.get,xe=$e.set,ke=h.call(Element.prototype,"outerHTML")?f(Element.prototype,"outerHTML"):f(HTMLElement.prototype,"outerHTML"),Fe=ke.get,je=ke.set,We=f(Element.prototype,"tagName").get,Ge=f(HTMLElement.prototype,"tabIndex"),Ue=Ge.get,Ke=Ge.set,qe=h.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,Ye=h.call(Element.prototype,"children")?f(Element.prototype,"children").get:f(HTMLElement.prototype,"children").get,Xe=HTMLElement.prototype.getElementsByClassName,Ve=h.call(Element.prototype,"shadowRoot")?f(Element.prototype,"shadowRoot").get:function(){return null},Qe=h.call(Element.prototype,"assignedSlot")?f(Element.prototype,"assignedSlot").get:function(){return null};"undefined"!=typeof HTMLSlotElement?(j=HTMLSlotElement.prototype.assignedNodes,W=HTMLSlotElement.prototype.assignedElements):(j=function(){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")},W=function(){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")});var ze=f(Event.prototype,"target").get,Je=f(Event.prototype,"currentTarget").get,Ze=f(FocusEvent.prototype,"relatedTarget").get,et=h.call(Event.prototype,"composedPath")?Event.prototype.composedPath:function(){return[]},tt=f(Document.prototype,"activeElement").get,nt=h.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,rt=h.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,lt=f(Document.prototype,"defaultView").get,ot=Document.prototype,at=ot.querySelectorAll,it=ot.getElementById,ut=ot.getElementsByClassName,ct=ot.getElementsByTagName,st=ot.getElementsByTagNameNS,ft=HTMLDocument.prototype.getElementsByName,pt=window,ht=pt.addEventListener,gt=pt.removeEventListener,mt=MutationObserver,vt=mt.prototype.observe,bt=null;"undefined"!=typeof ShadowRoot&&(bt=ShadowRoot);var dt=!O(bt),yt=O(bt)?function(){return!1}:function(e){return e instanceof bt};var Et,wt=Document.prototype.createElement;function Tt(e){var t=fe.call(e);return null===t?e:t}function Nt(e){var t=Tt(e),n=lt.call(t);if(null===n)throw new TypeError;return n}function Lt(e){if(C(Et)){var t=Tt(e);Et=t.body&&"temporary-bypass"===be.call(t.body,"data-global-patching-bypass")}return H(Et)}function Mt(e){var t=e.length,n=[];if(t>0)for(var r=0;r<t;r++)n[r]=e[r];return n}"undefined"==typeof HTMLSlotElement&&function(){var e=l((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}));g(e,HTMLElement.constructor),g(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,s(Document.prototype,"createElement",{value:function(t,n){var r=wt.apply(this,N.call(arguments));return 4===t.length&&115===S.call(t,0)&&108===S.call(t,1)&&111===S.call(t,2)&&116===S.call(t,3)&&g(r,e.prototype),r}})}();var St="undefined"!=typeof EventTarget?EventTarget.prototype:G.prototype,Ct=St.addEventListener,Ot=St.dispatchEvent,Ht=St.removeEventListener,Rt="$$HostElementKey$$",Dt="$$ShadowedNodeKey$$";function Pt(e,t,n){var r=e,l=n.value;r[t]=l}function It(e){return e[Rt]}function At(e){for(var t,n=e;!O(n);){if(!C(t=It(n)))return t;if(n=se.call(n),lwcRuntimeFlags.ENABLE_LIGHT_GET_ROOT_NODE_PATCH&&!O(n)&&Ft(n))return}}function Bt(e){return e[Dt]}function $t(e){return!C(It(e))}function _t(e){for(var t=pe.call(e);!O(t)&&jt(t);)e=t,t=pe.call(e);return e}function xt(e,t){for(var n=Bt(e),r=t instanceof Element?t:pe.call(t);!O(r)&&r!==e;){var l=At(r),o=pe.call(r);if(l===n)return jt(r);if(o===e)return!1;if(O(o)||At(o)===l)r=o;else{if(!jt(o))return!1;if(!O(r=kt(_t(o)))){if(r===e)return!0;if(At(r)===n)return!0}}}return!1}function kt(e){if(!(e instanceof G))return null;var t=At(e);if(C(t))return null;for(var n=e;!O(n)&&Bt(n)!==t;)n=se.call(n);return O(n)?null:n}function Ft(e){return jt(e)&&$t(e)}function jt(e){return e instanceof HTMLSlotElement}function Wt(e,t){var n=At(t);if(C(n)){if(lwcRuntimeFlags.ENABLE_LIGHT_GET_ROOT_NODE_PATCH){var r=se.call(t);if(!O(r)&&Ft(r))return!1}return!0}return Bt(e)===n}function Gt(e){var t=er(e);return qt(t,Mt(ge.call(t)))}function Ut(e,t){for(var n=[],r=0,l=t.length;r<l;r+=1){var o=t[r];!Wt(e,o)&&xt(e,o)&&E.call(n,o)}return n}function Kt(e,t){for(var n=0,r=t.length;n<r;n+=1){var l=t[n];if(!Wt(e,l)&&xt(e,l))return l}return null}function qt(e,t){for(var n=[],r=0,l=t.length;r<l;r+=1){var o=t[r];Wt(e,o)&&E.call(n,o)}return n}function Yt(e,t){for(var n=0,r=t.length;n<r;n+=1)if(Wt(e,t[n]))return t[n];return null}function Xt(e){if(!nr(e)&&!jt(e))return Mt(ge.call(e));if(nr(e)){var t=Mt(Ne.call(e,"slot")),n=zn(tr(e));return w.call(t,(function(e,t){return n===zn(t)&&E.apply(e,Vt(t)),e}),[])}var r=Mt(ge.call(e)),l=zn(e);return v.call(r,(function(e){return l===zn(e)}))}function Vt(e){var t=kt(e);if(O(t))return[];var n=Mt(ge.call(e));return v.call(n,(function(e){return!$t(e)||!Wt(t,e)}))}var Qt=/[&\u00A0"]/g,zt=/[&\u00A0<>]/g,Jt=String.prototype,Zt=Jt.replace,en=Jt.toLowerCase;function tn(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" ";default:return""}}function nn(e){return Zt.call(e,Qt,tn)}var rn=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),ln=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function on(e){switch(e.nodeType){case X:for(var t,n=e.attributes,r=We.call(e),l="<"+en.call(r),o=0;t=n[o];o++)l+=" "+t.name+'="'+nn(t.value)+'"';return l+=">",rn.has(r)?l:l+function(e){for(var t="",n=Xt(e),r=0,l=n.length;r<l;r+=1)t+=on(n[r]);return t}(e)+"</"+en.call(r)+">";case V:var a=e.data,i=e.parentNode;return i instanceof Element&&ln.has(We.call(i))?a:function(e){return Zt.call(e,zt,tn)}(a);case Q:return"<!CDATA[[".concat(e.data,"]]>");case z:return"<?".concat(e.target," ").concat(e.data,"?>");case J:return"\x3c!--".concat(e.data,"--\x3e");default:return""}}function an(e){if(e.nodeType===X){for(var t=Xt(e),n="",r=0,l=t.length;r<l;r+=1){var o=t[r];o.nodeType!==J&&(n+=an(o))}return n}return e.nodeValue}var un=new WeakMap;function cn(){throw new TypeError("Illegal constructor")}function sn(e){var t=u(cn.prototype);return un.set(t,e),M.call(e,(function(e,n){s(t,n,{value:e,enumerable:!0,configurable:!0})})),t}cn.prototype=u(NodeList.prototype,(n(e={constructor:{writable:!0,configurable:!0,value:cn},item:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return this[e]}},length:{enumerable:!0,configurable:!0,get:function(){return un.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){M.call(un.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return y.call(un.get(this),(function(e,t){return[t,e]}))}},keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return y.call(un.get(this),(function(e,t){return t}))}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return un.get(this)}}},Symbol.iterator,{writable:!0,configurable:!0,value:function(){var e=this,t=0;return{next:function(){var n=un.get(e);return t<n.length?{value:n[t++],done:!1}:{done:!0}}}}}),n(e,Symbol.toStringTag,{configurable:!0,get:function(){return"NodeList"}}),n(e,"toString",{writable:!0,configurable:!0,value:function(){return"[object NodeList]"}}),e)),g(cn,NodeList);var fn=function(e,t){for(var n;!C(n=e.host);){var r=n.getRootNode();if(r===t)return n;e=r}};function pn(e,t,n,r){var l=rt.call(t,n,r),o=[],a=function(e){for(var t,n=[],r=e.getRootNode();!C(r);)n.push(r),r=null===(t=r.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!O(l))for(var i=0;i<l.length;i++){var u=l[i];if(!Ft(u)){var c=u.getRootNode();if(-1===d.call(a,c)){var s=fn(c,a[0]);C(s)||-1!==d.call(l,s)||-1!==d.call(o,s)||E.call(o,s)}else E.call(o,u)}}return o}var hn=new WeakMap;function gn(){throw new TypeError("Illegal constructor")}function mn(e){var t=u(gn.prototype);return hn.set(t,e),M.call(e,(function(e,n){s(t,n,{value:e,enumerable:!0,configurable:!0})})),t}function vn(e){return Ft(e)||nr(e)}function bn(e,t){var n=kt(e);if(t===n)return tr(n);if(t instanceof Element){if(At(e)===At(t))return t;if(!O(n)&&jt(t)){var r=kt(t);if(!O(r)&&Wt(n,r))return r}}return null}function dn(){return Rn(this).length>0}function yn(){return Rn(this)[0]||null}function En(){var e=Rn(this);return e[e.length-1]||null}function wn(){return an(this)}function Tn(){var e=se.call(this);return O(e)?e:bn(this,e)}function Nn(){var e=se.call(this);if(O(e))return null;var t=bn(this,e);return t instanceof Element?t:null}function Ln(e){return this===e?0:this.getRootNode()===e?10:It(this)!==It(e)?35:te.call(this,e)}function Mn(e){return null!=e&&It(this)===It(e)&&0!=(te.call(this,e)&K)}function Sn(e){var t=ee.call(this,!1);if(!e)return t;for(var n=Rn(this),r=0,l=n.length;r<l;r+=1)t.appendChild(n[r].cloneNode(!0));return t}function Cn(){if(nr(this)){var e=kt(this);return sn(O(e)?[]:qt(e,Xt(this)))}return ge.call(this)}gn.prototype=u(HTMLCollection.prototype,(n(t={constructor:{writable:!0,configurable:!0,value:gn},item:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return this[e]}},length:{enumerable:!0,configurable:!0,get:function(){return hn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value:function(e){if(""===e)return null;for(var t=hn.get(this),n=0,r=t.length;n<r;n++){var l=t[r];if(e===be.call(l,"id")||e===be.call(l,"name"))return l}return null}}},Symbol.toStringTag,{configurable:!0,get:function(){return"HTMLCollection"}}),n(t,"toString",{writable:!0,configurable:!0,value:function(){return"[object HTMLCollection]"}}),t)),g(gn,HTMLCollection);var On=G.prototype.getRootNode,Hn=C(On)?function(){for(var e,t=this;!O(e=se.call(t));)t=e;return t}:On;c(G.prototype,{firstChild:{get:function(){return vn(this)?yn.call(this):ie.call(this)},enumerable:!0,configurable:!0},lastChild:{get:function(){return vn(this)?En.call(this):ue.call(this)},enumerable:!0,configurable:!0},textContent:{get:function(){return $t(this)||nr(this)?wn.call(this):ce.call(this)},set:function(e){he.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get:function(){if($t(this))return Tn.call(this);var e=se.call(this);return!O(e)&&Ft(e)?kt(e):e},enumerable:!0,configurable:!0},parentElement:{get:function(){if($t(this))return Nn.call(this);var e=pe.call(this);return!O(e)&&Ft(e)?kt(e):e},enumerable:!0,configurable:!0},childNodes:{get:function(){return vn(this)?Cn.call(this):ge.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value:function(){return vn(this)?dn.call(this):oe.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value:function(e){return Lt(this)?te.call(this,e):Ln.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value:function(e){return this===e||null!=e&&($t(this)||nr(this)?Mn.call(this,e):ae.call(this,e))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value:function(e){return $t(this)||nr(this)?Sn.call(this,e):ee.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){var t,n;return H(!C(e)&&!!e.composed)?Hn.call(this,e):O(n=kt(t=this))?Hn.call(t):tr(n)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get:function(){return me.call(this)}}});var Rn=function(e){return e.childNodes};h.call(HTMLElement.prototype,"contains")&&s(HTMLElement.prototype,"contains",f(G.prototype,"contains")),h.call(HTMLElement.prototype,"parentElement")&&s(HTMLElement.prototype,"parentElement",f(G.prototype,"parentElement"));var Dn=new WeakMap,Pn=new WeakMap;function In(e,t,n){if(t===n)return!0;var r=Pn.get(e);return C(r)&&(r=e.composedPath(),Pn.set(e,r)),r.includes(n)}function An(e){if(!function(e){return D(e)||P(e)&&!O(e)&&D(e.handleEvent)}(e))return e;var t=Dn.get(e);return C(t)&&(t=function(t){var n=Je.call(t);if(In(t,xn(t),n))return D(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},Dn.set(e,t)),t}var Bn=new WeakMap,$n=new WeakMap;function _n(e){var t=$n.get(e);return C(t)&&(t=u(null),$n.set(e,t)),t}function xn(e){var t;return null!==(t=ur.get(e))&&void 0!==t?t:ze.call(e)}var kn=new WeakMap;function Fn(e){if(!D(e))throw new TypeError;var t=kn.get(e);return C(t)&&((t=function(t){var n=Je.call(t);yt(n)||(n=tr(n)),In(t,xn(t),n)&&e.call(n,t)}).placement=1,kn.set(e,t)),t}var jn=new WeakMap;function Wn(e){if(!D(e))throw new TypeError;var t=jn.get(e);return C(t)&&((t=function(t){var n=Je.call(t);In(t,xn(t),n)&&e.call(n,t)}).placement=0,jn.set(e,t)),t}function Gn(e){var t=!1,n=!1,r=e.type,l=e.stopImmediatePropagation,o=e.stopPropagation,a=_n(Je.call(e))[r];s(e,"stopImmediatePropagation",{value:function(){t=!0,l.call(e)},writable:!0,enumerable:!0,configurable:!0}),s(e,"stopPropagation",{value:function(){n=!0,o.call(e)},writable:!0,enumerable:!0,configurable:!0});var i=N.call(a);function u(n){M.call(i,(function(r){R(t)&&r.placement===n&&-1!==d.call(a,r)&&r.call(void 0,e)}))}Bn.set(e,1),u(1),R(t)&&R(n)&&(Bn.set(e,0),u(0)),Bn.set(e,2)}function Un(e,t,n){var r=_n(e),l=r[t];C(l)&&(l=r[t]=[]),-1===d.call(l,n)&&(0===l.length&&Ct.call(e,t,Gn),E.call(l,n))}function Kn(e,t,n){var r,l;C(l=_n(e)[t])||-1===(r=d.call(l,n))||(L.call(l,r,1),0===l.length&&Ht.call(e,t,Gn))}function qn(e,t,n){D(t)&&Un(this,e,Wn(t))}function Yn(e,t,n){D(t)&&Kn(this,e,Wn(t))}var Xn=new WeakMap,Vn=document.createDocumentFragment;function Qn(e){var t=Xn.get(e);if(C(t))throw new TypeError;return t}function zn(e){return e[A]}function Jn(e,t){e[A]=t}function Zn(e){return Qn(e).delegatesFocus}function er(e){return Qn(e).host}function tr(e){return Qn(e).shadowRoot}function nr(e){var t=Xn.get(e);return!C(t)&&e===t.host}function rr(e){var t=Xn.get(e);return!C(t)&&e===t.shadowRoot}s(G.prototype,A,{set:function(e){var t,n;C(e)||(this[B]=e,t=this,n=e.nodeKey,Pt(t,Rt,{value:n,configurable:!0}))},get:function(){return this[B]},configurable:!0,enumerable:!0}),s(I,"$isNativeShadowRootDefined$",{value:dt}),C(I[k])&&s(I,k,{value:it}),C(I[F])&&s(I,F,{value:at});var lr=0;function or(e,t){if(Xn.has(e))throw new Error("Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.");var n=t.mode,r=t.delegatesFocus,l=Tt(e),o=Vn.call(l),a={mode:n,delegatesFocus:!!r,host:e,shadowRoot:o};Xn.set(o,a),Xn.set(e,a);var i=function(){return o},u=i.nodeKey=lr++;return Pt(e,Dt,{value:u}),Jn(o,i),g(o,sr.prototype),o}var ar={constructor:{writable:!0,configurable:!0,value:sr},toString:{writable:!0,configurable:!0,value:function(){return"[object ShadowRoot]"}},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},ir={activeElement:{enumerable:!0,configurable:!0,get:function(){var e=er(this),t=Tt(e),n=tt.call(t);if(O(n))return n;if(0==(te.call(e,n)&K))return null;for(var r=n;!Wt(e,r);)r=pe.call(r);return jt(r)?null:r}},delegatesFocus:{configurable:!0,get:function(){return Qn(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return hr(this,Tt(er(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return pn(this,Tt(er(this)),e,t)}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "getSelection" on ShadowRoot.')}},host:{enumerable:!0,configurable:!0,get:function(){return er(this)}},mode:{configurable:!0,get:function(){return Qn(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get:function(){throw new Error}}},ur=new WeakMap,cr={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return ne.call(er(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return re.call(er(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return Z.call(er(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return le.call(er(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){D(n)&&Un(er(e),t,Fn(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return ur.set(e,this),Ot.apply(er(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){D(n)&&Kn(er(e),t,Fn(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get:function(){return er(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get:function(){return sn(Gt(this))}},cloneNode:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "cloneNode" on ShadowRoot.')}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value:function(e){var t=er(this);return this===e?0:this.contains(e)?20:te.call(t,e)&K?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value:function(e){if(this===e)return!0;var t=er(this);return 0!=(te.call(t,e)&K)&&Wt(t,e)}},firstChild:{enumerable:!0,configurable:!0,get:function(){return Rn(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get:function(){var e=Rn(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value:function(){return Rn(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get:function(){return me.call(er(this))}},nextSibling:{enumerable:!0,configurable:!0,get:function(){return null}},previousSibling:{enumerable:!0,configurable:!0,get:function(){return null}},nodeName:{enumerable:!0,configurable:!0,get:function(){return"#document-fragment"}},nodeType:{enumerable:!0,configurable:!0,get:function(){return 11}},nodeValue:{enumerable:!0,configurable:!0,get:function(){return null}},ownerDocument:{enumerable:!0,configurable:!0,get:function(){return er(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:function(){return null}},parentNode:{enumerable:!0,configurable:!0,get:function(){return null}},textContent:{enumerable:!0,configurable:!0,get:function(){for(var e=Rn(this),t="",n=0,r=e.length;n<r;n+=1){var l=e[n];l.nodeType!==J&&(t+=an(l))}return t},set:function(e){var t=er(this);he.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return!C(e)&&H(e.composed)?er(this).getRootNode(e):this}}};function sr(){throw new TypeError("Illegal constructor")}function fr(e,t){var n,r=[];if(e instanceof Window)n=e;else{if(!(e instanceof G))return r;n=e.getRootNode()}for(var l,o=e;!O(o);)if(r.push(o),o instanceof Element||o instanceof Text){var a=o.assignedSlot;o=O(a)?o.parentNode:a}else o=!rr(o)&&!yt(o)||!t&&o===n?o instanceof G?o.parentNode:null:o.host;return l=e instanceof Window?e.document:Tt(e),r[r.length-1]===l&&r.push(window),r}
|
|
1
|
+
!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";var e,t;function n(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,o(r.key),r)}}function l(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e){var t=function(e,t){if("object"!==a(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===a(t)?t:String(t)}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var i=Object.assign,u=Object.create,c=Object.defineProperties,s=Object.defineProperty,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.hasOwnProperty,g=Object.setPrototypeOf,m=Array.prototype,b=m.filter,v=m.find,d=m.indexOf,y=m.map,E=m.push,w=m.reduce,T=m.reverse,N=m.slice,L=m.splice,M=m.forEach,S=String.prototype.charCodeAt;function C(e){return void 0===e}function O(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"===a(e)}var I="object"===("undefined"==typeof globalThis?"undefined":a(globalThis))?globalThis:window,A="$shadowResolver$",B="$$ShadowResolverKey$$",$="$shadowStaticNodeKey$",_="$shadowToken$",x="$$ShadowTokenKey$$",k="$$lwc-synthetic-mode",F="$nativeGetElementById$",j="$nativeQuerySelectorAll$";I.lwcRuntimeFlags||Object.defineProperty(I,"lwcRuntimeFlags",{value:u(null)});var W,G,U=Node,K=U.prototype,q=U.DOCUMENT_POSITION_CONTAINED_BY,Y=U.DOCUMENT_POSITION_PRECEDING,X=U.DOCUMENT_POSITION_FOLLOWING,V=U.ELEMENT_NODE,Q=U.TEXT_NODE,z=U.CDATA_SECTION_NODE,J=U.PROCESSING_INSTRUCTION_NODE,Z=U.COMMENT_NODE,ee=K.appendChild,te=K.cloneNode,ne=K.compareDocumentPosition,re=K.insertBefore,le=K.removeChild,oe=K.replaceChild,ae=K.hasChildNodes,ie=HTMLElement.prototype.contains,ue=f(K,"firstChild").get,ce=f(K,"lastChild").get,se=f(K,"textContent").get,fe=f(K,"parentNode").get,pe=f(K,"ownerDocument").get,he=h.call(K,"parentElement")?f(K,"parentElement").get:f(HTMLElement.prototype,"parentElement").get,ge=f(K,"textContent").set,me=h.call(K,"childNodes")?f(K,"childNodes").get:f(HTMLElement.prototype,"childNodes").get,be=h.call(K,"isConnected")?f(K,"isConnected").get:function(){var e=pe.call(this);return null===e||0!=(ne.call(e,this)&q)},ve=Element.prototype,de=ve.getAttribute,ye=ve.getBoundingClientRect,Ee=ve.getElementsByTagName,we=ve.getElementsByTagNameNS,Te=ve.hasAttribute,Ne=ve.querySelector,Le=ve.querySelectorAll,Me=ve.removeAttribute,Se=ve.setAttribute,Ce=h.call(Element.prototype,"attachShadow")?Element.prototype.attachShadow:function(){throw new TypeError("attachShadow() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill and use Lightning Web Components")},Oe=f(Element.prototype,"childElementCount").get,He=f(Element.prototype,"firstElementChild").get,Re=f(Element.prototype,"lastElementChild").get,De=f(HTMLElement.prototype,"innerText"),Pe=De?De.get:null,Ie=De?De.set:null,Ae=f(HTMLElement.prototype,"outerText"),Be=Ae?Ae.get:null,$e=Ae?Ae.set:null,_e=h.call(Element.prototype,"innerHTML")?f(Element.prototype,"innerHTML"):f(HTMLElement.prototype,"innerHTML"),xe=_e.get,ke=_e.set,Fe=h.call(Element.prototype,"outerHTML")?f(Element.prototype,"outerHTML"):f(HTMLElement.prototype,"outerHTML"),je=Fe.get,We=Fe.set,Ge=f(Element.prototype,"tagName").get,Ue=f(HTMLElement.prototype,"tabIndex"),Ke=Ue.get,qe=Ue.set,Ye=h.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,Xe=h.call(Element.prototype,"children")?f(Element.prototype,"children").get:f(HTMLElement.prototype,"children").get,Ve=HTMLElement.prototype.getElementsByClassName,Qe=h.call(Element.prototype,"shadowRoot")?f(Element.prototype,"shadowRoot").get:function(){return null},ze=h.call(Element.prototype,"assignedSlot")?f(Element.prototype,"assignedSlot").get:function(){return null};"undefined"!=typeof HTMLSlotElement?(W=HTMLSlotElement.prototype.assignedNodes,G=HTMLSlotElement.prototype.assignedElements):(W=function(){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")},G=function(){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")});var Je=f(Event.prototype,"target").get,Ze=f(Event.prototype,"currentTarget").get,et=f(FocusEvent.prototype,"relatedTarget").get,tt=h.call(Event.prototype,"composedPath")?Event.prototype.composedPath:function(){return[]},nt=f(Document.prototype,"activeElement").get,rt=h.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,lt=h.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,ot=f(Document.prototype,"defaultView").get,at=Document.prototype,it=at.querySelectorAll,ut=at.getElementById,ct=at.getElementsByClassName,st=at.getElementsByTagName,ft=at.getElementsByTagNameNS,pt=HTMLDocument.prototype.getElementsByName,ht=window,gt=ht.addEventListener,mt=ht.removeEventListener,bt=MutationObserver,vt=bt.prototype.observe,dt=null;"undefined"!=typeof ShadowRoot&&(dt=ShadowRoot);var yt=!O(dt),Et=O(dt)?function(){return!1}:function(e){return e instanceof dt};var wt,Tt=Document.prototype.createElement,Nt=115,Lt=108,Mt=111,St=116;function Ct(e){var t=pe.call(e);return null===t?e:t}function Ot(e){var t=Ct(e),n=ot.call(t);if(null===n)throw new TypeError;return n}function Ht(e){if(C(wt)){var t=Ct(e);wt=t.body&&"temporary-bypass"===de.call(t.body,"data-global-patching-bypass")}return H(wt)}function Rt(e){var t=e.length,n=[];if(t>0)for(var r=0;r<t;r++)n[r]=e[r];return n}"undefined"==typeof HTMLSlotElement&&function(){var e=l((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}));g(e,HTMLElement.constructor),g(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,s(Document.prototype,"createElement",{value:function(t,n){var r=Tt.apply(this,N.call(arguments));return 4===t.length&&S.call(t,0)===Nt&&S.call(t,1)===Lt&&S.call(t,2)===Mt&&S.call(t,3)===St&&g(r,e.prototype),r}})}();var Dt="undefined"!=typeof EventTarget?EventTarget.prototype:U.prototype,Pt=Dt.addEventListener,It=Dt.dispatchEvent,At=Dt.removeEventListener,Bt="$$HostElementKey$$",$t="$$ShadowedNodeKey$$";function _t(e,t,n){var r=e,l=n.value;r[t]=l}function xt(e){return e[Bt]}function kt(e){for(var t,n=e;!O(n);){if(!C(t=xt(n)))return t;if(n=fe.call(n),lwcRuntimeFlags.ENABLE_LIGHT_GET_ROOT_NODE_PATCH&&!O(n)&&Kt(n))return}}function Ft(e){return e[$t]}function jt(e){return!C(xt(e))}function Wt(e){for(var t=he.call(e);!O(t)&&qt(t);)e=t,t=he.call(e);return e}function Gt(e,t){for(var n=Ft(e),r=t instanceof Element?t:he.call(t);!O(r)&&r!==e;){var l=kt(r),o=he.call(r);if(l===n)return qt(r);if(o===e)return!1;if(O(o)||kt(o)===l)r=o;else{if(!qt(o))return!1;if(!O(r=Ut(Wt(o)))){if(r===e)return!0;if(kt(r)===n)return!0}}}return!1}function Ut(e){if(!(e instanceof U))return null;var t=kt(e);if(C(t))return null;for(var n=e;!O(n)&&Ft(n)!==t;)n=fe.call(n);return O(n)?null:n}function Kt(e){return qt(e)&&jt(e)}function qt(e){return e instanceof HTMLSlotElement}function Yt(e,t){var n=kt(t);if(C(n)){if(lwcRuntimeFlags.ENABLE_LIGHT_GET_ROOT_NODE_PATCH){var r=fe.call(t);if(!O(r)&&Kt(r))return!1}return!0}return Ft(e)===n}function Xt(e){var t=lr(e);return Qt(t,Rt(me.call(t)))}function Vt(e,t){for(var n=[],r=0,l=t.length;r<l;r+=1){var o=t[r];!Yt(e,o)&&Gt(e,o)&&E.call(n,o)}return n}function Qt(e,t){for(var n=[],r=0,l=t.length;r<l;r+=1){var o=t[r];Yt(e,o)&&E.call(n,o)}return n}function zt(e,t){for(var n=0,r=t.length;n<r;n+=1)if(Yt(e,t[n]))return t[n];return null}function Jt(e){if(!ar(e)&&!qt(e))return Rt(me.call(e));if(ar(e)){var t=Rt(Le.call(e,"slot")),n=tr(or(e));return w.call(t,(function(e,t){return n===tr(t)&&E.apply(e,Zt(t)),e}),[])}var r=Rt(me.call(e)),l=tr(e);return b.call(r,(function(e){return l===tr(e)}))}function Zt(e){var t=Ut(e);if(O(t))return[];var n=Rt(me.call(e));return b.call(n,(function(e){return!jt(e)||!Yt(t,e)}))}var en=/[&\u00A0"]/g,tn=/[&\u00A0<>]/g,nn=String.prototype,rn=nn.replace,ln=nn.toLowerCase;function on(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" ";default:return""}}function an(e){return rn.call(e,en,on)}var un=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),cn=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function sn(e){switch(e.nodeType){case V:for(var t,n=e.attributes,r=Ge.call(e),l="<"+ln.call(r),o=0;t=n[o];o++)l+=" "+t.name+'="'+an(t.value)+'"';return l+=">",un.has(r)?l:l+function(e){for(var t="",n=Jt(e),r=0,l=n.length;r<l;r+=1)t+=sn(n[r]);return t}(e)+"</"+ln.call(r)+">";case Q:var a=e.data,i=e.parentNode;return i instanceof Element&&cn.has(Ge.call(i))?a:function(e){return rn.call(e,tn,on)}(a);case z:return"<!CDATA[[".concat(e.data,"]]>");case J:return"<?".concat(e.target," ").concat(e.data,"?>");case Z:return"\x3c!--".concat(e.data,"--\x3e");default:return""}}function fn(e){if(e.nodeType===V){for(var t=Jt(e),n="",r=0,l=t.length;r<l;r+=1){var o=t[r];o.nodeType!==Z&&(n+=fn(o))}return n}return e.nodeValue}var pn=new WeakMap;function hn(){throw new TypeError("Illegal constructor")}function gn(e){var t=u(hn.prototype);return pn.set(t,e),M.call(e,(function(e,n){s(t,n,{value:e,enumerable:!0,configurable:!0})})),t}hn.prototype=u(NodeList.prototype,(n(e={constructor:{writable:!0,configurable:!0,value:hn},item:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return this[e]}},length:{enumerable:!0,configurable:!0,get:function(){return pn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){M.call(pn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return y.call(pn.get(this),(function(e,t){return[t,e]}))}},keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return y.call(pn.get(this),(function(e,t){return t}))}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return pn.get(this)}}},Symbol.iterator,{writable:!0,configurable:!0,value:function(){var e=this,t=0;return{next:function(){var n=pn.get(e);return t<n.length?{value:n[t++],done:!1}:{done:!0}}}}}),n(e,Symbol.toStringTag,{configurable:!0,get:function(){return"NodeList"}}),n(e,"toString",{writable:!0,configurable:!0,value:function(){return"[object NodeList]"}}),e)),g(hn,NodeList);var mn=function(e,t){for(var n;!C(n=e.host);){var r=n.getRootNode();if(r===t)return n;e=r}};function bn(e,t,n,r){var l=lt.call(t,n,r),o=[],a=function(e){for(var t,n=[],r=e.getRootNode();!C(r);)n.push(r),r=null===(t=r.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!O(l))for(var i=0;i<l.length;i++){var u=l[i];if(!Kt(u)){var c=u.getRootNode();if(-1===d.call(a,c)){var s=mn(c,a[0]);C(s)||-1!==d.call(l,s)||-1!==d.call(o,s)||E.call(o,s)}else E.call(o,u)}}return o}var vn=new WeakMap;function dn(){throw new TypeError("Illegal constructor")}function yn(e){var t=u(dn.prototype);return vn.set(t,e),M.call(e,(function(e,n){s(t,n,{value:e,enumerable:!0,configurable:!0})})),t}function En(e){return Kt(e)||ar(e)}function wn(e,t){var n=Ut(e);if(t===n)return or(n);if(t instanceof Element){if(kt(e)===kt(t))return t;if(!O(n)&&qt(t)){var r=Ut(t);if(!O(r)&&Yt(n,r))return r}}return null}function Tn(){return An(this).length>0}function Nn(){return An(this)[0]||null}function Ln(){var e=An(this);return e[e.length-1]||null}function Mn(){return fn(this)}function Sn(){var e=fe.call(this);return O(e)?e:wn(this,e)}function Cn(){var e=fe.call(this);if(O(e))return null;var t=wn(this,e);return t instanceof Element?t:null}function On(e){return this===e?0:this.getRootNode()===e?10:xt(this)!==xt(e)?35:ne.call(this,e)}function Hn(e){return null!=e&&xt(this)===xt(e)&&0!=(ne.call(this,e)&q)}function Rn(e){var t=te.call(this,!1);if(!e)return t;for(var n=An(this),r=0,l=n.length;r<l;r+=1)t.appendChild(n[r].cloneNode(!0));return t}function Dn(){if(ar(this)){var e=Ut(this);return gn(O(e)?[]:Qt(e,Jt(this)))}return me.call(this)}dn.prototype=u(HTMLCollection.prototype,(n(t={constructor:{writable:!0,configurable:!0,value:dn},item:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return this[e]}},length:{enumerable:!0,configurable:!0,get:function(){return vn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value:function(e){if(""===e)return null;for(var t=vn.get(this),n=0,r=t.length;n<r;n++){var l=t[r];if(e===de.call(l,"id")||e===de.call(l,"name"))return l}return null}}},Symbol.toStringTag,{configurable:!0,get:function(){return"HTMLCollection"}}),n(t,"toString",{writable:!0,configurable:!0,value:function(){return"[object HTMLCollection]"}}),t)),g(dn,HTMLCollection);var Pn=U.prototype.getRootNode,In=C(Pn)?function(){for(var e,t=this;!O(e=fe.call(t));)t=e;return t}:Pn;c(U.prototype,{firstChild:{get:function(){return En(this)?Nn.call(this):ue.call(this)},enumerable:!0,configurable:!0},lastChild:{get:function(){return En(this)?Ln.call(this):ce.call(this)},enumerable:!0,configurable:!0},textContent:{get:function(){return jt(this)||ar(this)?Mn.call(this):se.call(this)},set:function(e){ge.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get:function(){if(jt(this))return Sn.call(this);var e=fe.call(this);return!O(e)&&Kt(e)?Ut(e):e},enumerable:!0,configurable:!0},parentElement:{get:function(){if(jt(this))return Cn.call(this);var e=he.call(this);return!O(e)&&Kt(e)?Ut(e):e},enumerable:!0,configurable:!0},childNodes:{get:function(){return En(this)?Dn.call(this):me.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value:function(){return En(this)?Tn.call(this):ae.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value:function(e){return Ht(this)?ne.call(this,e):On.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value:function(e){return this===e||null!=e&&(jt(this)||ar(this)?Hn.call(this,e):ie.call(this,e))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value:function(e){return jt(this)||ar(this)?Rn.call(this,e):te.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){var t,n;return H(!C(e)&&!!e.composed)?In.call(this,e):O(n=Ut(t=this))?In.call(t):or(n)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get:function(){return be.call(this)}}});var An=function(e){return e.childNodes};h.call(HTMLElement.prototype,"contains")&&s(HTMLElement.prototype,"contains",f(U.prototype,"contains")),h.call(HTMLElement.prototype,"parentElement")&&s(HTMLElement.prototype,"parentElement",f(U.prototype,"parentElement"));var Bn=new WeakMap,$n=new WeakMap;function _n(e,t,n){if(t===n)return!0;var r=$n.get(e);return C(r)&&(r=e.composedPath(),$n.set(e,r)),r.includes(n)}function xn(e){if(!function(e){return D(e)||P(e)&&!O(e)&&D(e.handleEvent)}(e))return e;var t=Bn.get(e);return C(t)&&(t=function(t){var n=Ze.call(t);if(_n(t,Wn(t),n))return D(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},Bn.set(e,t)),t}var kn=new WeakMap,Fn=new WeakMap;function jn(e){var t=Fn.get(e);return C(t)&&(t=u(null),Fn.set(e,t)),t}function Wn(e){var t;return null!==(t=pr.get(e))&&void 0!==t?t:Je.call(e)}var Gn=new WeakMap;function Un(e){if(!D(e))throw new TypeError;var t=Gn.get(e);return C(t)&&((t=function(t){var n=Ze.call(t);Et(n)||(n=or(n)),_n(t,Wn(t),n)&&e.call(n,t)}).placement=1,Gn.set(e,t)),t}var Kn=new WeakMap;function qn(e){if(!D(e))throw new TypeError;var t=Kn.get(e);return C(t)&&((t=function(t){var n=Ze.call(t);_n(t,Wn(t),n)&&e.call(n,t)}).placement=0,Kn.set(e,t)),t}function Yn(e){var t=!1,n=!1,r=e.type,l=e.stopImmediatePropagation,o=e.stopPropagation,a=jn(Ze.call(e))[r];s(e,"stopImmediatePropagation",{value:function(){t=!0,l.call(e)},writable:!0,enumerable:!0,configurable:!0}),s(e,"stopPropagation",{value:function(){n=!0,o.call(e)},writable:!0,enumerable:!0,configurable:!0});var i=N.call(a);function u(n){M.call(i,(function(r){R(t)&&r.placement===n&&-1!==d.call(a,r)&&r.call(void 0,e)}))}kn.set(e,1),u(1),R(t)&&R(n)&&(kn.set(e,0),u(0)),kn.set(e,2)}function Xn(e,t,n){var r=jn(e),l=r[t];C(l)&&(l=r[t]=[]),-1===d.call(l,n)&&(0===l.length&&Pt.call(e,t,Yn),E.call(l,n))}function Vn(e,t,n){var r,l;C(l=jn(e)[t])||-1===(r=d.call(l,n))||(L.call(l,r,1),0===l.length&&At.call(e,t,Yn))}function Qn(e,t,n){D(t)&&Xn(this,e,qn(t))}function zn(e,t,n){D(t)&&Vn(this,e,qn(t))}var Jn=new WeakMap,Zn=document.createDocumentFragment;function er(e){var t=Jn.get(e);if(C(t))throw new TypeError;return t}function tr(e){return e[A]}function nr(e,t){e[A]=t}function rr(e){return er(e).delegatesFocus}function lr(e){return er(e).host}function or(e){return er(e).shadowRoot}function ar(e){var t=Jn.get(e);return!C(t)&&e===t.host}function ir(e){var t=Jn.get(e);return!C(t)&&e===t.shadowRoot}s(U.prototype,A,{set:function(e){var t,n;C(e)||(this[B]=e,t=this,n=e.nodeKey,_t(t,Bt,{value:n,configurable:!0}))},get:function(){return this[B]},configurable:!0,enumerable:!0}),s(I,"$isNativeShadowRootDefined$",{value:yt}),C(I[F])&&s(I,F,{value:ut}),C(I[j])&&s(I,j,{value:it});var ur=0;function cr(e,t){if(Jn.has(e))throw new Error("Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.");var n=t.mode,r=t.delegatesFocus,l=Ct(e),o=Zn.call(l),a={mode:n,delegatesFocus:!!r,host:e,shadowRoot:o};Jn.set(o,a),Jn.set(e,a);var i=function(){return o},u=i.nodeKey=ur++;return _t(e,$t,{value:u}),nr(o,i),g(o,gr.prototype),o}var sr={constructor:{writable:!0,configurable:!0,value:gr},toString:{writable:!0,configurable:!0,value:function(){return"[object ShadowRoot]"}},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},fr={activeElement:{enumerable:!0,configurable:!0,get:function(){var e=lr(this),t=Ct(e),n=nt.call(t);if(O(n))return n;if(0==(ne.call(e,n)&q))return null;for(var r=n;!Yt(e,r);)r=he.call(r);return qt(r)?null:r}},delegatesFocus:{configurable:!0,get:function(){return er(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return vr(this,Ct(lr(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return bn(this,Ct(lr(this)),e,t)}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "getSelection" on ShadowRoot.')}},host:{enumerable:!0,configurable:!0,get:function(){return lr(this)}},mode:{configurable:!0,get:function(){return er(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get:function(){throw new Error}}},pr=new WeakMap,hr={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return re.call(lr(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return le.call(lr(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return ee.call(lr(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return oe.call(lr(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){D(n)&&Xn(lr(e),t,Un(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return pr.set(e,this),It.apply(lr(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){D(n)&&Vn(lr(e),t,Un(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get:function(){return lr(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get:function(){return gn(Xt(this))}},cloneNode:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "cloneNode" on ShadowRoot.')}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value:function(e){var t=lr(this);return this===e?0:this.contains(e)?20:ne.call(t,e)&q?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value:function(e){if(this===e)return!0;var t=lr(this);return 0!=(ne.call(t,e)&q)&&Yt(t,e)}},firstChild:{enumerable:!0,configurable:!0,get:function(){return An(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get:function(){var e=An(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value:function(){return An(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get:function(){return be.call(lr(this))}},nextSibling:{enumerable:!0,configurable:!0,get:function(){return null}},previousSibling:{enumerable:!0,configurable:!0,get:function(){return null}},nodeName:{enumerable:!0,configurable:!0,get:function(){return"#document-fragment"}},nodeType:{enumerable:!0,configurable:!0,get:function(){return 11}},nodeValue:{enumerable:!0,configurable:!0,get:function(){return null}},ownerDocument:{enumerable:!0,configurable:!0,get:function(){return lr(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:function(){return null}},parentNode:{enumerable:!0,configurable:!0,get:function(){return null}},textContent:{enumerable:!0,configurable:!0,get:function(){for(var e=An(this),t="",n=0,r=e.length;n<r;n+=1){var l=e[n];l.nodeType!==Z&&(t+=fn(l))}return t},set:function(e){var t=lr(this);ge.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return!C(e)&&H(e.composed)?lr(this).getRootNode(e):this}}};function gr(){throw new TypeError("Illegal constructor")}function mr(e,t){var n,r=[];if(e instanceof Window)n=e;else{if(!(e instanceof U))return r;n=e.getRootNode()}for(var l,o=e;!O(o);)if(r.push(o),o instanceof Element||o instanceof Text){var a=o.assignedSlot;o=O(a)?o.parentNode:a}else o=!ir(o)&&!Et(o)||!t&&o===n?o instanceof U?o.parentNode:null:o.host;return l=e instanceof Window?e.document:Ct(e),r[r.length-1]===l&&r.push(window),r}
|
|
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 pr(e,t){if(O(e))return null;for(var n,r,l,o,a=fr(e,!0),i=t,u=0;u<i.length;u++)if((l=(n=i[u])instanceof Window?n:n.getRootNode())!==r&&(o=a.indexOf(l),r=l),!rr(l)||!C(o)&&o>-1)return n;return null}function hr(e,t,n,r){var l=nt.call(t,n,r);return O(l)?l:pr(e,fr(l,!0))}i(ar,cr,{childElementCount:{enumerable:!0,configurable:!0,get:function(){return this.children.length}},children:{enumerable:!0,configurable:!0,get:function(){return mn(v.call(Gt(this),(function(e){return e instanceof Element})))}},firstElementChild:{enumerable:!0,configurable:!0,get:function(){return this.children[0]||null}},lastElementChild:{enumerable:!0,configurable:!0,get:function(){var e=this.children;return e.item(e.length-1)||null}},getElementById:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "getElementById" on ShadowRoot.')}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return t=e,Yt(n=er(this),Mt(Ne.call(n,t)));var t,n}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return sn((t=e,qt(n=er(this),Mt(Ne.call(n,t)))));var t,n}}},{innerHTML:{enumerable:!0,configurable:!0,get:function(){for(var e=Rn(this),t="",n=0,r=e.length;n<r;n+=1)t+=on(e[n]);return t},set:function(e){var t=er(this);xe.call(t,e)}}},ir),sr.prototype=u(DocumentFragment.prototype,ar),s(sr,Symbol.hasInstance,{value:function(e){return P(e)&&!O(e)&&(yt(e)||p(e)===sr.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return hr(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return pn(this,this,e,t)},s(Document.prototype,"activeElement",{get:function(){var e=tt.call(this);if(O(e))return e;for(;!C(It(e));)if(O(e=pe.call(e)))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),s(Document.prototype,"getElementById",{value:function(){var e=it.apply(this,N.call(arguments));return O(e)?null:C(It(e))||Lt(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"querySelector",{value:function(){var e=Mt(at.apply(this,N.call(arguments))),t=b.call(e,(function(e){return C(It(e))||Lt(e)}));return C(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"querySelectorAll",{value:function(){var e=Mt(at.apply(this,N.call(arguments))),t=v.call(e,(function(e){return C(It(e))||Lt(e)}));return sn(t)},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"getElementsByClassName",{value:function(){var e=Mt(ut.apply(this,N.call(arguments))),t=v.call(e,(function(e){return C(It(e))||Lt(e)}));return mn(t)},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"getElementsByTagName",{value:function(){var e=Mt(ct.apply(this,N.call(arguments))),t=v.call(e,(function(e){return C(It(e))||Lt(e)}));return mn(t)},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"getElementsByTagNameNS",{value:function(){var e=Mt(st.apply(this,N.call(arguments))),t=v.call(e,(function(e){return C(It(e))||Lt(e)}));return mn(t)},writable:!0,enumerable:!0,configurable:!0}),s(f(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value:function(){var e=Mt(ft.apply(this,N.call(arguments))),t=v.call(e,(function(e){return C(It(e))||Lt(e)}));return sn(t)},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:sr,configurable:!0,writable:!0});var gr=Object.getOwnPropertyDescriptor(Event.prototype,"composed");var mr=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function vr(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:function(){return!0}})}(function(){if(!gr)return!1;var e=new Event("click"),t=document.createElement("button");return t.addEventListener("click",(function(t){return e=t})),t.click(),!gr.get.call(e)})()&&(HTMLElement.prototype.click=function(){Ct.call(this,"click",vr);try{mr.value.call(this)}finally{Ht.call(this,"click",vr)}}),!0!==new Event("test",{composed:!0}).composed&&function(){var e=i(u(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}),t=Event;function n(e,n){var r=new t(e,n),l=!(!n||!n.composed);return Object.defineProperties(r,{composed:{get:function(){return l},configurable:!0,enumerable:!0}}),r}n.prototype=t.prototype,n.AT_TARGET=t.AT_TARGET,n.BUBBLING_PHASE=t.BUBBLING_PHASE,n.CAPTURING_PHASE=t.CAPTURING_PHASE,n.NONE=t.NONE,window.Event=n,Object.defineProperties(Event.prototype,{composed:{get:function(){var t=this.type;return 1===e[t]},configurable:!0,enumerable:!0}})}();var br,dr,yr,Er,wr=CustomEvent;function Tr(e,t){var n=new wr(e,t),r=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:function(){return r},configurable:!0,enumerable:!0}}),n}if(Tr.prototype=wr.prototype,window.CustomEvent=Tr,"undefined"!=typeof ClipboardEvent){var Nr=i(u(null),{copy:1,cut:1,paste:1});c(ClipboardEvent.prototype,{composed:{get:function(){var e=this.type;return 1===Nr[e]},configurable:!0,enumerable:!0}})}yr="undefined"!=typeof HTMLIFrameElement,Er="undefined"!=typeof Proxy&&H(Proxy.isCompat),yr&&Er&&(br=f(HTMLIFrameElement.prototype,"contentWindow"),dr=br.get,br.get=function(){var e,t=dr.call(this);return O(t)||C(It(this))?t:(e=t,{addEventListener:function(){return e.addEventListener.apply(e,arguments)},blur:function(){return e.blur.apply(e,arguments)},close:function(){return e.close.apply(e,arguments)},focus:function(){return e.focus.apply(e,arguments)},postMessage:function(){return e.postMessage.apply(e,arguments)},removeEventListener:function(){return e.removeEventListener.apply(e,arguments)},get closed(){return e.closed},get frames(){return e.frames},get length(){return e.length},get location(){return e.location},set location(t){e.location=t},get opener(){return e.opener},get parent(){return e.parent},get self(){return e.self},get top(){return e.top},get window(){return e.window}})},s(HTMLIFrameElement.prototype,"contentWindow",br));var Lr=MutationObserver,Mr=Lr.prototype,Sr=Mr.disconnect,Cr=Mr.observe,Or=Mr.takeRecords,Hr="$$lwcObserverCallbackWrapper$$",Rr="$$lwcNodeObservers$$",Dr=new WeakMap;function Pr(e){return e[Rr]}function Ir(e){var t=e.addedNodes,n=e.removedNodes,r=e.target,l=e.type,o=u(MutationRecord.prototype);return c(o,{addedNodes:{get:function(){return t},enumerable:!0,configurable:!0},removedNodes:{get:function(){return n},enumerable:!0,configurable:!0},type:{get:function(){return l},enumerable:!0,configurable:!0},target:{get:function(){return r.shadowRoot},enumerable:!0,configurable:!0}}),o}function Ar(e,t){for(var n=t;!O(n);){var r=Pr(n);if(!C(r)&&(r[0]===e||-1!==d.call(r,e)))return!0;n=n.parentNode}return!1}function Br(e,t){return w.call(e,(function(e,n){var r=n.target,l=n.addedNodes,o=n.removedNodes;if("childList"!==n.type||C(Bt(r)))Ar(t,r)&&E.call(e,n);else if(l.length>0){var a=l[0];if(Ar(t,a)){var i=Pr(r);!i||i[0]!==t&&-1===d.call(i,t)?E.call(e,Ir(n)):E.call(e,n)}}else{var u=r.shadowRoot,c=o[0];if(At(r)===At(c)&&Ar(t,r))E.call(e,n);else if(u){var s=Pr(u);!s||s[0]!==t&&-1===d.call(s,t)||E.call(e,Ir(n))}}return e}),[])}function $r(e){var t=function(e){var t=e[Hr];return C(t)&&(t=e[Hr]=function(t,n){var r=Br(t,n);0!==r.length&&e.call(n,r,n)}),t}(e);return new Lr(t)}function _r(e,t,n){if(arguments.length>1){var r=N.call(arguments);return r[1]=An(r[1]),ht.apply(this,r)}return ht.apply(this,arguments)}function xr(e,t,n){if(arguments.length>1){var r=N.call(arguments);r[1]=An(r[1]),gt.apply(this,r)}gt.apply(this,arguments)}function kr(){var e=ze.call(this);if(!(e instanceof G))return e;var t=Tt(e),n=fr(e,this.composed),r=Je.call(this);if(!(r instanceof G))return O(r)&&C(It(e))?e:pr(t,n);if(r===t||r===t.body)return C(It(e))?e:pr(t,n);var l=r,o=n;nr(r)&&(1===Bn.get(this)&&(l=tr(r)));return nr(e)&&ur.has(this)&&(o=fr(tr(e),this.composed)),pr(l,o)}function Fr(){var e=ze.call(this);if(!(e instanceof G))return[];var t,n=Boolean(e.shadowRoot),r=(t=e,Xn.has(t));if(n&&!r)return et.call(this);if(O(Je.call(this)))return[];var l=e;return nr(e)&&ur.has(this)&&(l=tr(e)),fr(l,this.composed)}function jr(e){var t=f(e.prototype,"relatedTarget").get;s(e.prototype,"relatedTarget",{get:function(){var e=t.call(this);if(O(e))return null;if(!(e instanceof G&&$t(e)))return e;var n=Je.call(this);return O(n)&&(n=Tt(e)),pr(n,fr(e,!0))},enumerable:!0,configurable:!0})}$r.prototype=Lr.prototype,$r.prototype.disconnect=function(){var e=this;Sr.call(this);var t=Dr.get(this);C(t)||(M.call(t,(function(t){var n=t[Rr];if(!C(n)){var r=d.call(n,e);-1!==r&&L.call(n,r,1)}})),t.length=0)},$r.prototype.observe=function(e,t){var n,r=Pr(e);if(C(r)&&(n=r=[],e[Rr]=n),-1===d.call(r,this)&&E.call(r,this),rr(e)&&(e=e.host),Dr.has(this)){var l=Dr.get(this);-1===d.call(l,e)&&E.call(l,e)}else Dr.set(this,[e]);return Cr.call(this,e,t)},$r.prototype.takeRecords=function(){return Br(Or.call(this),this)},s(window,"MutationObserver",{value:$r,configurable:!0,writable:!0}),c(St,{addEventListener:{value:function(e,t,n){if(nr(this))return qn.apply(this,arguments);if(arguments.length<2){var r=N.call(arguments);return r.length>1&&(r[1]=An(r[1])),Ct.apply(this,r)}var l=An(t);return Ct.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(nr(this))return Yn.apply(this,arguments);var r=N.call(arguments);arguments.length>1&&(r[1]=An(r[1])),Ht.apply(this,r),Ht.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&c(Window.prototype,{addEventListener:{value:_r,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:xr,enumerable:!0,writable:!0,configurable:!0}}),c(Event.prototype,{target:{get:kr,enumerable:!0,configurable:!0},currentTarget:{get:function(){var e=Je.call(this);return O(e)?null:1===Bn.get(this)?tr(e):e},enumerable:!0,configurable:!0},composedPath:{value:Fr,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:kr,enumerable:!0,configurable:!0},path:{get:Fr,enumerable:!0,configurable:!0}}),jr(FocusEvent),jr(MouseEvent);var Wr,Gr=h.call(Text.prototype,"assignedSlot")?f(Text.prototype,"assignedSlot").get:function(){return null},Ur={childList:!0},Kr=new WeakMap;function qr(e){var t=Mt(ge.call(e));return w.call(t,(function(e,t){return t instanceof Element&&jt(t)?E.apply(e,qr(t)):E.call(e,t),e}),[])}function Yr(){var e=se.call(this);if(e instanceof Element){var t=Ve.call(e);if(yt(t))return this instanceof Text?Gr.call(this):Qe.call(this)}return!O(e)&&jt(e)&&It(e)!==It(this)?e:null}function Xr(e,t){var n,r=It(e);if(C(r))n=e instanceof HTMLBodyElement?v.call(t,(function(t){return C(It(t))||Lt(e)})):N.call(t);else if(nr(e)){var l=kt(e);n=O(l)?[]:Bt(e)?Ut(e,t):qt(l,t)}else n=v.call(t,(function(e){return At(e)===r}));return n}function Vr(){for(var e=Rn(this),t="",n=0,r=e.length;n<r;n+=1)t+=on(e[n]);return t}function Qr(){return on(this)}function zr(){var e=kt(this),t=O(e)?[]:qt(e,Xt(this));return mn(v.call(t,(function(e){return e instanceof Element})))}function Jr(){return this.children.length}function Zr(){return this.children[0]||null}function el(){var e=this.children;return e.item(e.length-1)||null}function tl(e,t){var n;if(nr(e)){var r=kt(e);n=C(Bt(e))?O(r)?[]:qt(r,t):Ut(e,t)}else if($t(e)){var l=It(e);n=C(l)?N.call(t):v.call(t,(function(e){return At(e)===l}))}else n=e instanceof HTMLBodyElement?v.call(t,(function(t){return C(It(t))||Lt(e)})):N.call(t);return n}c(HTMLSlotElement.prototype,{addEventListener:{value:function(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||Kr.get(this)||(Kr.set(this,!0),Wr||(Wr=new mt((function(e){var t=[];M.call(e,(function(e){var n=e.target;-1===d.call(t,n)&&(E.call(t,n),Ot.call(n,new CustomEvent("slotchange")))}))}))),vt.call(Wr,this,Ur))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value:function(e){if($t(this)){var t=!C(e)&&H(e.flatten),n=t?qr(this):Vt(this);return v.call(n,(function(e){return e instanceof Element}))}return W.apply(this,N.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value:function(e){if($t(this)){var t=!C(e)&&H(e.flatten);return t?qr(this):Vt(this)}return j.apply(this,N.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get:function(){var e=be.call(this,"name");return O(e)?"":e},set:function(e){Me.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get:function(){if($t(this)){var e=kt(this);return sn(O(e)?[]:qt(e,Xt(this)))}return ge.call(this)},enumerable:!0,configurable:!0}}),c(Text.prototype,{assignedSlot:{get:Yr,enumerable:!0,configurable:!0}}),c(Element.prototype,{innerHTML:{get:function(){return $t(this)||nr(this)?Vr.call(this):_e.call(this)},set:function(e){xe.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get:function(){return $t(this)||nr(this)?Qr.call(this):Fe.call(this)},set:function(e){je.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?or(this,e):Se.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(nr(this)){var e=tr(this);if("open"===e.mode)return e}return Ve.call(this)},enumerable:!0,configurable:!0},children:{get:function(){return vn(this)?zr.call(this):Ye.call(this)},enumerable:!0,configurable:!0},childElementCount:{get:function(){return vn(this)?Jr.call(this):Ce.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get:function(){return vn(this)?Zr.call(this):Oe.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get:function(){return vn(this)?el.call(this):He.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:Yr,enumerable:!0,configurable:!0}}),h.call(HTMLElement.prototype,"innerHTML")&&s(HTMLElement.prototype,"innerHTML",f(Element.prototype,"innerHTML")),h.call(HTMLElement.prototype,"outerHTML")&&s(HTMLElement.prototype,"outerHTML",f(Element.prototype,"outerHTML")),h.call(HTMLElement.prototype,"children")&&s(HTMLElement.prototype,"children",f(Element.prototype,"children")),c(Element.prototype,{querySelector:{value:function(){var e=this,t=Mt(Ne.apply(this,N.call(arguments)));if(nr(this)){var n=kt(this);return C(Bt(this))?O(n)?null:Yt(n,t):Kt(this,t)}if($t(this)){var r=It(this);if(C(r))return 0===t.length?null:t[0];var l=b.call(t,(function(e){return At(e)===r}));return C(l)?null:l}if(!(this instanceof HTMLBodyElement)){var o=t[0];return C(o)?null:o}var a=b.call(t,(function(t){return C(It(t))||Lt(e)}));return C(a)?null:a},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value:function(){var e=Mt(Ne.apply(this,N.call(arguments))),t=tl(this,e);return sn(t)},writable:!0,enumerable:!0,configurable:!0}}),c(Element.prototype,{getElementsByClassName:{value:function(){var e=Mt(Xe.apply(this,N.call(arguments)));return mn(Xr(this,e))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value:function(){var e=Mt(ye.apply(this,N.call(arguments)));return mn(Xr(this,e))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value:function(){var e=Mt(Ee.apply(this,N.call(arguments)));return mn(Xr(this,e))},writable:!0,enumerable:!0,configurable:!0}}),h.call(HTMLElement.prototype,"getElementsByClassName")&&s(HTMLElement.prototype,"getElementsByClassName",f(Element.prototype,"getElementsByClassName"));var nl="\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",rl=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function ll(e){return e.filter((function(e){return we.call(e,"tabindex")?"0"===be.call(e,"tabindex"):!rl.has(We.call(e))||!we.call(e,"disabled")}))}var ol=new WeakMap;function al(e){return(!nr(e)||!Zn(e))&&(qe.call(e,nl)&&function(e){var t=de.call(e),n=t.width,r=t.height,l=n>0||r>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function il(){var e=this.getRootNode();if(e!==this){var t=e;if(t.activeElement!==this)for(var n=Mt(Ne.call(this,nl)),r=!1;!r&&0!==n.length;){var l=n.shift();l.focus.apply(l,arguments);var o=l.getRootNode();r=o.activeElement===l}}else{var a=Te.call(this,nl);O(a)||a.focus.apply(a,arguments)}}function ul(e){var t=Tt(e),n=ll(Mt(at.call(t,nl))),r=ll(Mt(Ne.call(e,nl))),l=r[0],o=r[r.length-1],a=d.call(n,e),i=a>-1?a:d.call(n,l),u=0===r.length?i+1:d.call(n,o)+1;return{prev:N.call(n,0,i),inner:r,next:N.call(n,u)}}function cl(e,t){var n=te.call(e,t);return n&K?0:n&q?1:n&Y?2:-1}function sl(e){e.preventDefault(),e.stopPropagation()}function fl(e,t){ht.call(e,"focusin",sl,!0),ht.call(e,"focusout",sl,!0),t(),gt.call(e,"focusin",sl,!0),gt.call(e,"focusout",sl,!0)}function pl(e,t,n){var r=Nt(n),l=function(e,t){var n=e.length;if(n>0)for(var r=0;r<n;r+=1){var l=e[r];if(yl(t.getRootNode(),l))return l}return null}(e,n);O(l)?fl(r,(function(){t.blur()})):fl(r,(function(){l.focus()}))}var hl=!1;function gl(){hl=!0}function ml(){hl=!1}function vl(){return!hl}function bl(e){if(!hl){var t=Je.call(e),n=ze.call(e);if(t===n){var r=Ze.call(e);if(!O(r)){var l=ul(t);if(1===cl(t,r)){var o=yl.bind(null,t.getRootNode()),a=b.call(l.inner,o);if(C(a))pl(l.next,n,r);else fl(Nt(a),(function(){a.focus()}))}else t===n&&pl(T.call(l.prev),n,r)}}}}function dl(e){if(!hl){var t=Ze.call(e);if(!O(t)){var n=Je.call(e),r=ul(n);if(-1===d.call(r.inner,t)){var l=ze.call(e),o=cl(n,t);1===o&&pl(r.next,l,t),2===o&&pl(T.call(r.prev),l,t)}}}}function yl(e,t){if(!al(t))return!1;for(var n=Tt(t),r=t.getRootNode();r!==n&&r!==e;){var l=r.host;if("-1"===be.call(l,"tabindex"))return!1;r=l&&l.getRootNode()}return!0}function El(e){Ht.call(e,"focusin",bl,!0)}function wl(e){var t=Tt(e);ol.get(t)||(ol.set(t,!0),Ct.call(t,"mousedown",gl,!0),Ct.call(t,"mouseup",(function(){setTimeout(ml)}),!0),Ct.call(t,"dragstart",ml,!0))}function Tl(e){Ht.call(e,"focusin",dl,!0)}var Nl=HTMLElement.prototype,Ll=Nl.blur,Ml=Nl.focus;function Sl(){return Zn(this)&&R(we.call(this,"tabindex"))?0:Ue.call(this)}function Cl(e){var t=Zn(this),n=Ue.call(this),r=we.call(this,"tabindex");Ke.call(this,e);var l,o=Ue.call(this),a=we.call(this,"tabindex"),i=n!==o;(r&&(i||R(a))&&(-1===n&&Tl(this),0===n&&t&&El(this)),R(a))||(r&&a&&R(i)||(-1===o&&(wl(l=this),El(l),Ct.call(l,"focusin",dl,!0)),0===o&&t&&function(e){wl(e),Tl(e),Ct.call(e,"focusin",bl,!0)}(this)))}function Ol(){if(Zn(this)){var e=(n=Tt(t=this),O(r=tt.call(n))||0!=(te.call(t,r)&K)?r:null);if(!O(e))return void e.blur()}var t,n,r;return Ll.call(this)}function Hl(){var e=vl();e&&gl(),nr(this)&&Zn(this)?il.call(this):(Ml.apply(this,arguments),e&&ml())}function Rl(e,t){e[A]=t;for(var n=ge.call(e),r=0,l=n.length;r<l;r++)Rl(n[r],t)}c(HTMLElement.prototype,{tabIndex:{get:function(){return nr(this)?Sl.call(this):Ue.call(this)},set:function(e){return nr(this)?Cl.call(this,e):Ke.call(this,e)},enumerable:!0,configurable:!0},blur:{value:function(){if(nr(this))return Ol.call(this);Ll.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value:function(){Hl.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==De&&null!==Pe&&s(HTMLElement.prototype,"innerText",{get:function(){return De.call(this)},set:function(e){Pe.call(this,e)},enumerable:!0,configurable:!0}),null!==Ae&&null!==Be&&s(HTMLElement.prototype,"outerText",{get:function(){return Ae.call(this)},set:function(e){Be.call(this,e)},enumerable:!0,configurable:!0}),s(Element.prototype,_,{set:function(e){var t=this[x];C(t)||t===e||Le.call(this,t),C(e)||Me.call(this,e,""),this[x]=e},get:function(){return this[x]},configurable:!0}),s(Element.prototype,"$shadowStaticNode$",{set:function(e){e&&Rl(this,this[A]);this[$]=e},get:function(){return this[$]},configurable:!0});var Dl,Pl="$$DomManualKey$$",Il=function(){},Al={childList:!0};function Bl(e,t,n){var r=zn(e);if(r!==t&&(Jn(e,t),e instanceof Element)){if(function(e,t){e[_]=t}(e,n),nr(e))return;C(r)&&vt.call(Dl,e,Al);for(var l=ge.call(e),o=0,a=l.length;o<a;o+=1)Bl(l[o],t,n)}}function $l(){return new mt((function(e){M.call(e,(function(e){for(var t=e.target,n=e.addedNodes,r=e.removedNodes,l=zn(t),o=function(e){return e[_]}(t),a=0,i=r.length;a<i;a+=1){var u=r[a];te.call(t,u)&G.DOCUMENT_POSITION_CONTAINED_BY||Bl(u,Il,void 0)}for(var c=0,s=n.length;c<s;c+=1){var f=n[c];te.call(t,f)&G.DOCUMENT_POSITION_CONTAINED_BY&&Bl(f,l,o)}}))}))}s(Element.prototype,"$domManual$",{set:function(e){this[Pl]=e,H(e)&&function(e){if(C(Dl)&&(Dl=$l()),C(zn(e)))throw new Error("Invalid Element");vt.call(Dl,e,Al)}(this)},get:function(){return this[Pl]},configurable:!0})}));
|
|
10
|
+
*/function br(e,t){if(O(e))return null;for(var n,r,l,o,a=mr(e,!0),i=t,u=0;u<i.length;u++)if((l=(n=i[u])instanceof Window?n:n.getRootNode())!==r&&(o=a.indexOf(l),r=l),!ir(l)||!C(o)&&o>-1)return n;return null}function vr(e,t,n,r){var l=rt.call(t,n,r);return O(l)?l:br(e,mr(l,!0))}i(sr,hr,{childElementCount:{enumerable:!0,configurable:!0,get:function(){return this.children.length}},children:{enumerable:!0,configurable:!0,get:function(){return yn(b.call(Xt(this),(function(e){return e instanceof Element})))}},firstElementChild:{enumerable:!0,configurable:!0,get:function(){return this.children[0]||null}},lastElementChild:{enumerable:!0,configurable:!0,get:function(){var e=this.children;return e.item(e.length-1)||null}},getElementById:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "getElementById" on ShadowRoot.')}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return t=e,zt(n=lr(this),Rt(Le.call(n,t)));var t,n}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return gn((t=e,Qt(n=lr(this),Rt(Le.call(n,t)))));var t,n}}},{innerHTML:{enumerable:!0,configurable:!0,get:function(){for(var e=An(this),t="",n=0,r=e.length;n<r;n+=1)t+=sn(e[n]);return t},set:function(e){var t=lr(this);ke.call(t,e)}}},fr),gr.prototype=u(DocumentFragment.prototype,sr),s(gr,Symbol.hasInstance,{value:function(e){return P(e)&&!O(e)&&(Et(e)||p(e)===gr.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return vr(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return bn(this,this,e,t)},s(Document.prototype,"activeElement",{get:function(){var e=nt.call(this);if(O(e))return e;for(;!C(xt(e));)if(O(e=he.call(e)))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),s(Document.prototype,"getElementById",{value:function(){var e=ut.apply(this,N.call(arguments));return O(e)?null:C(xt(e))||Ht(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"querySelector",{value:function(){var e=Rt(it.apply(this,N.call(arguments))),t=v.call(e,(function(e){return C(xt(e))||Ht(e)}));return C(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"querySelectorAll",{value:function(){var e=Rt(it.apply(this,N.call(arguments)));return gn(b.call(e,(function(e){return C(xt(e))||Ht(e)})))},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"getElementsByClassName",{value:function(){var e=Rt(ct.apply(this,N.call(arguments)));return yn(b.call(e,(function(e){return C(xt(e))||Ht(e)})))},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"getElementsByTagName",{value:function(){var e=Rt(st.apply(this,N.call(arguments)));return yn(b.call(e,(function(e){return C(xt(e))||Ht(e)})))},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"getElementsByTagNameNS",{value:function(){var e=Rt(ft.apply(this,N.call(arguments)));return yn(b.call(e,(function(e){return C(xt(e))||Ht(e)})))},writable:!0,enumerable:!0,configurable:!0}),s(f(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value:function(){var e=Rt(pt.apply(this,N.call(arguments)));return gn(b.call(e,(function(e){return C(xt(e))||Ht(e)})))},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:gr,configurable:!0,writable:!0});var dr=Object.getOwnPropertyDescriptor(Event.prototype,"composed");var yr=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function Er(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:function(){return!0}})}(function(){if(!dr)return!1;var e=new Event("click"),t=document.createElement("button");return t.addEventListener("click",(function(t){return e=t})),t.click(),!dr.get.call(e)})()&&(HTMLElement.prototype.click=function(){Pt.call(this,"click",Er);try{yr.value.call(this)}finally{At.call(this,"click",Er)}}),!0!==new Event("test",{composed:!0}).composed&&function(){var e=i(u(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}),t=Event;function n(e,n){var r=new t(e,n),l=!(!n||!n.composed);return Object.defineProperties(r,{composed:{get:function(){return l},configurable:!0,enumerable:!0}}),r}n.prototype=t.prototype,n.AT_TARGET=t.AT_TARGET,n.BUBBLING_PHASE=t.BUBBLING_PHASE,n.CAPTURING_PHASE=t.CAPTURING_PHASE,n.NONE=t.NONE,window.Event=n,Object.defineProperties(Event.prototype,{composed:{get:function(){var t=this.type;return 1===e[t]},configurable:!0,enumerable:!0}})}();var wr,Tr,Nr,Lr,Mr=CustomEvent;function Sr(e,t){var n=new Mr(e,t),r=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:function(){return r},configurable:!0,enumerable:!0}}),n}if(Sr.prototype=Mr.prototype,window.CustomEvent=Sr,"undefined"!=typeof ClipboardEvent){var Cr=i(u(null),{copy:1,cut:1,paste:1});c(ClipboardEvent.prototype,{composed:{get:function(){var e=this.type;return 1===Cr[e]},configurable:!0,enumerable:!0}})}Nr="undefined"!=typeof HTMLIFrameElement,Lr="undefined"!=typeof Proxy&&H(Proxy.isCompat),Nr&&Lr&&(wr=f(HTMLIFrameElement.prototype,"contentWindow"),Tr=wr.get,wr.get=function(){var e,t=Tr.call(this);return O(t)||C(xt(this))?t:(e=t,{addEventListener:function(){return e.addEventListener.apply(e,arguments)},blur:function(){return e.blur.apply(e,arguments)},close:function(){return e.close.apply(e,arguments)},focus:function(){return e.focus.apply(e,arguments)},postMessage:function(){return e.postMessage.apply(e,arguments)},removeEventListener:function(){return e.removeEventListener.apply(e,arguments)},get closed(){return e.closed},get frames(){return e.frames},get length(){return e.length},get location(){return e.location},set location(t){e.location=t},get opener(){return e.opener},get parent(){return e.parent},get self(){return e.self},get top(){return e.top},get window(){return e.window}})},s(HTMLIFrameElement.prototype,"contentWindow",wr));var Or=MutationObserver,Hr=Or.prototype,Rr=Hr.disconnect,Dr=Hr.observe,Pr=Hr.takeRecords,Ir="$$lwcObserverCallbackWrapper$$",Ar="$$lwcNodeObservers$$",Br=new WeakMap;function $r(e){return e[Ar]}function _r(e){var t=e.addedNodes,n=e.removedNodes,r=e.target,l=e.type,o=u(MutationRecord.prototype);return c(o,{addedNodes:{get:function(){return t},enumerable:!0,configurable:!0},removedNodes:{get:function(){return n},enumerable:!0,configurable:!0},type:{get:function(){return l},enumerable:!0,configurable:!0},target:{get:function(){return r.shadowRoot},enumerable:!0,configurable:!0}}),o}function xr(e,t){for(var n=t;!O(n);){var r=$r(n);if(!C(r)&&(r[0]===e||-1!==d.call(r,e)))return!0;n=n.parentNode}return!1}function kr(e,t){return w.call(e,(function(e,n){var r=n.target,l=n.addedNodes,o=n.removedNodes;if("childList"!==n.type||C(Ft(r)))xr(t,r)&&E.call(e,n);else if(l.length>0){var a=l[0];if(xr(t,a)){var i=$r(r);!i||i[0]!==t&&-1===d.call(i,t)?E.call(e,_r(n)):E.call(e,n)}}else{var u=r.shadowRoot,c=o[0];if(kt(r)===kt(c)&&xr(t,r))E.call(e,n);else if(u){var s=$r(u);!s||s[0]!==t&&-1===d.call(s,t)||E.call(e,_r(n))}}return e}),[])}function Fr(e){var t=function(e){var t=e[Ir];return C(t)&&(t=e[Ir]=function(t,n){var r=kr(t,n);0!==r.length&&e.call(n,r,n)}),t}(e);return new Or(t)}function jr(e,t,n){if(arguments.length>1){var r=N.call(arguments);return r[1]=xn(r[1]),gt.apply(this,r)}return gt.apply(this,arguments)}function Wr(e,t,n){if(arguments.length>1){var r=N.call(arguments);r[1]=xn(r[1]),mt.apply(this,r)}mt.apply(this,arguments)}function Gr(){var e=Je.call(this);if(!(e instanceof U))return e;var t=Ct(e),n=mr(e,this.composed),r=Ze.call(this);if(!(r instanceof U))return O(r)&&C(xt(e))?e:br(t,n);if(r===t||r===t.body)return C(xt(e))?e:br(t,n);var l=r,o=n;ar(r)&&(1===kn.get(this)&&(l=or(r)));return ar(e)&&pr.has(this)&&(o=mr(or(e),this.composed)),br(l,o)}function Ur(){var e=Je.call(this);if(!(e instanceof U))return[];var t,n=Boolean(e.shadowRoot),r=(t=e,Jn.has(t));if(n&&!r)return tt.call(this);if(O(Ze.call(this)))return[];var l=e;return ar(e)&&pr.has(this)&&(l=or(e)),mr(l,this.composed)}function Kr(e){var t=f(e.prototype,"relatedTarget").get;s(e.prototype,"relatedTarget",{get:function(){var e=t.call(this);if(O(e))return null;if(!(e instanceof U&&jt(e)))return e;var n=Ze.call(this);return O(n)&&(n=Ct(e)),br(n,mr(e,!0))},enumerable:!0,configurable:!0})}Fr.prototype=Or.prototype,Fr.prototype.disconnect=function(){var e=this;Rr.call(this);var t=Br.get(this);C(t)||(M.call(t,(function(t){var n=t[Ar];if(!C(n)){var r=d.call(n,e);-1!==r&&L.call(n,r,1)}})),t.length=0)},Fr.prototype.observe=function(e,t){var n,r=$r(e);if(C(r)&&(n=r=[],e[Ar]=n),-1===d.call(r,this)&&E.call(r,this),ir(e)&&(e=e.host),Br.has(this)){var l=Br.get(this);-1===d.call(l,e)&&E.call(l,e)}else Br.set(this,[e]);return Dr.call(this,e,t)},Fr.prototype.takeRecords=function(){return kr(Pr.call(this),this)},s(window,"MutationObserver",{value:Fr,configurable:!0,writable:!0}),c(Dt,{addEventListener:{value:function(e,t,n){if(ar(this))return Qn.apply(this,arguments);if(arguments.length<2){var r=N.call(arguments);return r.length>1&&(r[1]=xn(r[1])),Pt.apply(this,r)}var l=xn(t);return Pt.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(ar(this))return zn.apply(this,arguments);var r=N.call(arguments);arguments.length>1&&(r[1]=xn(r[1])),At.apply(this,r),At.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&c(Window.prototype,{addEventListener:{value:jr,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:Wr,enumerable:!0,writable:!0,configurable:!0}}),c(Event.prototype,{target:{get:Gr,enumerable:!0,configurable:!0},currentTarget:{get:function(){var e=Ze.call(this);return O(e)?null:1===kn.get(this)?or(e):e},enumerable:!0,configurable:!0},composedPath:{value:Ur,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:Gr,enumerable:!0,configurable:!0},path:{get:Ur,enumerable:!0,configurable:!0}}),Kr(FocusEvent),Kr(MouseEvent);var qr,Yr=h.call(Text.prototype,"assignedSlot")?f(Text.prototype,"assignedSlot").get:function(){return null},Xr={childList:!0},Vr=new WeakMap;function Qr(e){var t=Rt(me.call(e));return w.call(t,(function(e,t){return t instanceof Element&&qt(t)?E.apply(e,Qr(t)):E.call(e,t),e}),[])}function zr(){var e=fe.call(this);if(e instanceof Element){var t=Qe.call(e);if(Et(t))return this instanceof Text?Yr.call(this):ze.call(this)}return!O(e)&&qt(e)&&xt(e)!==xt(this)?e:null}function Jr(e,t){var n,r=xt(e);if(C(r))n=e instanceof HTMLBodyElement?b.call(t,(function(t){return C(xt(t))||Ht(e)})):N.call(t);else if(ar(e)){var l=Ut(e);n=O(l)?[]:Ft(e)?Vt(e,t):Qt(l,t)}else n=b.call(t,(function(e){return kt(e)===r}));return n}function Zr(){for(var e=An(this),t="",n=0,r=e.length;n<r;n+=1)t+=sn(e[n]);return t}function el(){return sn(this)}function tl(){var e=Ut(this),t=O(e)?[]:Qt(e,Jt(this));return yn(b.call(t,(function(e){return e instanceof Element})))}function nl(){return this.children.length}function rl(){return this.children[0]||null}function ll(){var e=this.children;return e.item(e.length-1)||null}c(HTMLSlotElement.prototype,{addEventListener:{value:function(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||Vr.get(this)||(Vr.set(this,!0),qr||(qr=new bt((function(e){var t=[];M.call(e,(function(e){var n=e.target;-1===d.call(t,n)&&(E.call(t,n),It.call(n,new CustomEvent("slotchange")))}))}))),vt.call(qr,this,Xr))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value:function(e){if(jt(this)){var t=!C(e)&&H(e.flatten)?Qr(this):Zt(this);return b.call(t,(function(e){return e instanceof Element}))}return G.apply(this,N.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value:function(e){return jt(this)?!C(e)&&H(e.flatten)?Qr(this):Zt(this):W.apply(this,N.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get:function(){var e=de.call(this,"name");return O(e)?"":e},set:function(e){Se.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get:function(){if(jt(this)){var e=Ut(this);return gn(O(e)?[]:Qt(e,Jt(this)))}return me.call(this)},enumerable:!0,configurable:!0}}),c(Text.prototype,{assignedSlot:{get:zr,enumerable:!0,configurable:!0}}),c(Element.prototype,{innerHTML:{get:function(){return jt(this)||ar(this)?Zr.call(this):xe.call(this)},set:function(e){ke.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get:function(){return jt(this)||ar(this)?el.call(this):je.call(this)},set:function(e){We.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e[k]?cr(this,e):Ce.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(ar(this)){var e=or(this);if("open"===e.mode)return e}return Qe.call(this)},enumerable:!0,configurable:!0},children:{get:function(){return En(this)?tl.call(this):Xe.call(this)},enumerable:!0,configurable:!0},childElementCount:{get:function(){return En(this)?nl.call(this):Oe.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get:function(){return En(this)?rl.call(this):He.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get:function(){return En(this)?ll.call(this):Re.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:zr,enumerable:!0,configurable:!0}}),h.call(HTMLElement.prototype,"innerHTML")&&s(HTMLElement.prototype,"innerHTML",f(Element.prototype,"innerHTML")),h.call(HTMLElement.prototype,"outerHTML")&&s(HTMLElement.prototype,"outerHTML",f(Element.prototype,"outerHTML")),h.call(HTMLElement.prototype,"children")&&s(HTMLElement.prototype,"children",f(Element.prototype,"children")),c(Element.prototype,{querySelector:{value:function(){var e=this,t=Rt(Le.apply(this,N.call(arguments)));if(ar(this)){var n=Ut(this);return C(Ft(this))?O(n)?null:zt(n,t):function(e,t){for(var n=0,r=t.length;n<r;n+=1){var l=t[n];if(!Yt(e,l)&&Gt(e,l))return l}return null}(this,t)}if(jt(this)){var r=xt(this);if(C(r))return 0===t.length?null:t[0];var l=v.call(t,(function(e){return kt(e)===r}));return C(l)?null:l}if(!(this instanceof HTMLBodyElement)){var o=t[0];return C(o)?null:o}var a=v.call(t,(function(t){return C(xt(t))||Ht(e)}));return C(a)?null:a},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value:function(){return gn(function(e,t){var n;if(ar(e)){var r=Ut(e);n=C(Ft(e))?O(r)?[]:Qt(r,t):Vt(e,t)}else if(jt(e)){var l=xt(e);n=C(l)?N.call(t):b.call(t,(function(e){return kt(e)===l}))}else n=e instanceof HTMLBodyElement?b.call(t,(function(t){return C(xt(t))||Ht(e)})):N.call(t);return n}(this,Rt(Le.apply(this,N.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0}}),c(Element.prototype,{getElementsByClassName:{value:function(){return yn(Jr(this,Rt(Ve.apply(this,N.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value:function(){return yn(Jr(this,Rt(Ee.apply(this,N.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value:function(){return yn(Jr(this,Rt(we.apply(this,N.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0}}),h.call(HTMLElement.prototype,"getElementsByClassName")&&s(HTMLElement.prototype,"getElementsByClassName",f(Element.prototype,"getElementsByClassName"));var ol="\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",al=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function il(e){return e.filter((function(e){return Te.call(e,"tabindex")?"0"===de.call(e,"tabindex"):!al.has(Ge.call(e))||!Te.call(e,"disabled")}))}var ul=new WeakMap;function cl(e){return(!ar(e)||!rr(e))&&(Ye.call(e,ol)&&function(e){var t=ye.call(e),n=t.width,r=t.height,l=n>0||r>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function sl(){var e=this.getRootNode();if(e!==this){if(e.activeElement!==this)for(var t=Rt(Le.call(this,ol)),n=!1;!n&&0!==t.length;){var r=t.shift();r.focus.apply(r,arguments),n=r.getRootNode().activeElement===r}}else{var l=Ne.call(this,ol);O(l)||l.focus.apply(l,arguments)}}function fl(e){var t=Ct(e),n=il(Rt(it.call(t,ol))),r=il(Rt(Le.call(e,ol))),l=r[0],o=r[r.length-1],a=d.call(n,e),i=a>-1?a:d.call(n,l),u=0===r.length?i+1:d.call(n,o)+1;return{prev:N.call(n,0,i),inner:r,next:N.call(n,u)}}function pl(e,t){var n=ne.call(e,t);return n&q?0:n&Y?1:n&X?2:-1}function hl(e){e.preventDefault(),e.stopPropagation()}function gl(e,t){gt.call(e,"focusin",hl,!0),gt.call(e,"focusout",hl,!0),t(),mt.call(e,"focusin",hl,!0),mt.call(e,"focusout",hl,!0)}function ml(e,t,n){var r=Ot(n),l=function(e,t){var n=e.length;if(n>0)for(var r=0;r<n;r+=1){var l=e[r];if(wl(t.getRootNode(),l))return l}return null}(e,n);O(l)?gl(r,(function(){t.blur()})):gl(r,(function(){l.focus()}))}var bl=!1;function vl(){bl=!0}function dl(){bl=!1}function yl(e){if(!bl){var t=Ze.call(e),n=Je.call(e);if(t===n){var r=et.call(e);if(!O(r)){var l=fl(t);if(1===pl(t,r)){var o=wl.bind(null,t.getRootNode()),a=v.call(l.inner,o);if(C(a))ml(l.next,n,r);else gl(Ot(a),(function(){a.focus()}))}else t===n&&ml(T.call(l.prev),n,r)}}}}function El(e){if(!bl){var t=et.call(e);if(!O(t)){var n=Ze.call(e),r=fl(n);if(-1===d.call(r.inner,t)){var l=Je.call(e),o=pl(n,t);1===o&&ml(r.next,l,t),2===o&&ml(T.call(r.prev),l,t)}}}}function wl(e,t){if(!cl(t))return!1;for(var n=Ct(t),r=t.getRootNode();r!==n&&r!==e;){var l=r.host;if("-1"===de.call(l,"tabindex"))return!1;r=l&&l.getRootNode()}return!0}function Tl(e){At.call(e,"focusin",yl,!0)}function Nl(e){var t=Ct(e);ul.get(t)||(ul.set(t,!0),Pt.call(t,"mousedown",vl,!0),Pt.call(t,"mouseup",(function(){setTimeout(dl)}),!0),Pt.call(t,"dragstart",dl,!0))}function Ll(e){At.call(e,"focusin",El,!0)}var Ml=HTMLElement.prototype,Sl=Ml.blur,Cl=Ml.focus;function Ol(){return rr(this)&&R(Te.call(this,"tabindex"))?0:Ke.call(this)}function Hl(e){var t=rr(this),n=Ke.call(this),r=Te.call(this,"tabindex");qe.call(this,e);var l,o=Ke.call(this),a=Te.call(this,"tabindex"),i=n!==o;(r&&(i||R(a))&&(-1===n&&Ll(this),0===n&&t&&Tl(this)),R(a))||(r&&a&&R(i)||(-1===o&&(Nl(l=this),Tl(l),Pt.call(l,"focusin",El,!0)),0===o&&t&&function(e){Nl(e),Ll(e),Pt.call(e,"focusin",yl,!0)}(this)))}function Rl(){if(rr(this)){var e=(n=Ct(t=this),O(r=nt.call(n))||0!=(ne.call(t,r)&q)?r:null);if(!O(e))return void e.blur()}var t,n,r;return Sl.call(this)}function Dl(){var e=!bl;e&&vl(),ar(this)&&rr(this)?sl.call(this):(Cl.apply(this,arguments),e&&dl())}function Pl(e,t){e[A]=t;for(var n=me.call(e),r=0,l=n.length;r<l;r++)Pl(n[r],t)}c(HTMLElement.prototype,{tabIndex:{get:function(){return ar(this)?Ol.call(this):Ke.call(this)},set:function(e){return ar(this)?Hl.call(this,e):qe.call(this,e)},enumerable:!0,configurable:!0},blur:{value:function(){if(ar(this))return Rl.call(this);Sl.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value:function(){Dl.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==Pe&&null!==Ie&&s(HTMLElement.prototype,"innerText",{get:function(){return Pe.call(this)},set:function(e){Ie.call(this,e)},enumerable:!0,configurable:!0}),null!==Be&&null!==$e&&s(HTMLElement.prototype,"outerText",{get:function(){return Be.call(this)},set:function(e){$e.call(this,e)},enumerable:!0,configurable:!0}),s(Element.prototype,_,{set:function(e){var t=this[x];C(t)||t===e||Me.call(this,t),C(e)||Se.call(this,e,""),this[x]=e},get:function(){return this[x]},configurable:!0}),s(Element.prototype,"$shadowStaticNode$",{set:function(e){e&&Pl(this,this[A]);this[$]=e},get:function(){return this[$]},configurable:!0});var Il,Al="$$DomManualKey$$",Bl=function(){},$l={childList:!0};function _l(e,t,n){var r=tr(e);if(r!==t&&(nr(e,t),e instanceof Element)){if(function(e,t){e[_]=t}(e,n),ar(e))return;C(r)&&vt.call(Il,e,$l);for(var l=me.call(e),o=0,a=l.length;o<a;o+=1)_l(l[o],t,n)}}function xl(){return new bt((function(e){M.call(e,(function(e){for(var t=e.target,n=e.addedNodes,r=e.removedNodes,l=tr(t),o=function(e){return e[_]}(t),a=0,i=r.length;a<i;a+=1){var u=r[a];ne.call(t,u)&U.DOCUMENT_POSITION_CONTAINED_BY||_l(u,Bl,void 0)}for(var c=0,s=n.length;c<s;c+=1){var f=n[c];ne.call(t,f)&U.DOCUMENT_POSITION_CONTAINED_BY&&_l(f,l,o)}}))}))}s(Element.prototype,"$domManual$",{set:function(e){this[Al]=e,H(e)&&function(e){if(C(Il)&&(Il=xl()),C(tr(e)))throw new Error("Invalid Element");vt.call(Il,e,$l)}(this)},get:function(){return this[Al]},configurable:!0})}));
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
var KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
87
87
|
var KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';
|
|
88
88
|
var KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
|
|
89
|
-
/** version: 2.37.
|
|
89
|
+
/** version: 2.37.3 */
|
|
90
90
|
|
|
91
91
|
/**
|
|
92
92
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
value: create(null)
|
|
98
98
|
});
|
|
99
99
|
}
|
|
100
|
-
/** version: 2.37.
|
|
100
|
+
/** version: 2.37.3 */
|
|
101
101
|
|
|
102
102
|
/*
|
|
103
103
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -4477,6 +4477,6 @@
|
|
|
4477
4477
|
},
|
|
4478
4478
|
configurable: true
|
|
4479
4479
|
});
|
|
4480
|
-
/** version: 2.37.
|
|
4480
|
+
/** version: 2.37.3 */
|
|
4481
4481
|
|
|
4482
4482
|
}));
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
function isUndefined(obj) {
|
|
8
8
|
return obj === undefined;
|
|
9
9
|
}
|
|
10
|
-
/** version: 2.37.
|
|
10
|
+
/** version: 2.37.3 */
|
|
11
11
|
|
|
12
12
|
/*
|
|
13
13
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -181,6 +181,6 @@ class LegacyWireAdapterBridge {
|
|
|
181
181
|
forEach.call(this.disconnecting, (listener) => listener.call(undefined));
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
|
-
/** version: 2.37.
|
|
184
|
+
/** version: 2.37.3 */
|
|
185
185
|
|
|
186
186
|
export { ValueChangedEvent, register, registerWireService };
|
|
@@ -10,7 +10,7 @@ var WireService = (function (exports) {
|
|
|
10
10
|
function isUndefined(obj) {
|
|
11
11
|
return obj === undefined;
|
|
12
12
|
}
|
|
13
|
-
/** version: 2.37.
|
|
13
|
+
/** version: 2.37.3 */
|
|
14
14
|
|
|
15
15
|
/*
|
|
16
16
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -184,7 +184,7 @@ var WireService = (function (exports) {
|
|
|
184
184
|
forEach.call(this.disconnecting, (listener) => listener.call(undefined));
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
/** version: 2.37.
|
|
187
|
+
/** version: 2.37.3 */
|
|
188
188
|
|
|
189
189
|
exports.ValueChangedEvent = ValueChangedEvent;
|
|
190
190
|
exports.register = register;
|
|
@@ -10,7 +10,7 @@ var WireService = (function (exports) {
|
|
|
10
10
|
function isUndefined(obj) {
|
|
11
11
|
return obj === undefined;
|
|
12
12
|
}
|
|
13
|
-
/** version: 2.37.
|
|
13
|
+
/** version: 2.37.3 */
|
|
14
14
|
|
|
15
15
|
/*
|
|
16
16
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -184,7 +184,7 @@ var WireService = (function (exports) {
|
|
|
184
184
|
forEach.call(this.disconnecting, (listener) => listener.call(undefined));
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
/** version: 2.37.
|
|
187
|
+
/** version: 2.37.3 */
|
|
188
188
|
|
|
189
189
|
exports.ValueChangedEvent = ValueChangedEvent;
|
|
190
190
|
exports.register = register;
|
|
@@ -23,7 +23,7 @@ var WireService = (function (exports) {
|
|
|
23
23
|
function isUndefined(obj) {
|
|
24
24
|
return obj === undefined;
|
|
25
25
|
}
|
|
26
|
-
/** version: 2.37.
|
|
26
|
+
/** version: 2.37.3 */
|
|
27
27
|
|
|
28
28
|
/*
|
|
29
29
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -227,7 +227,7 @@ var WireService = (function (exports) {
|
|
|
227
227
|
}]);
|
|
228
228
|
return LegacyWireAdapterBridge;
|
|
229
229
|
}();
|
|
230
|
-
/** version: 2.37.
|
|
230
|
+
/** version: 2.37.3 */
|
|
231
231
|
|
|
232
232
|
exports.ValueChangedEvent = ValueChangedEvent;
|
|
233
233
|
exports.register = register;
|