lwc 2.35.0 → 2.35.2
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 +61 -134
- package/dist/engine-dom/iife/es2017/engine-dom.js +61 -134
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +100 -74
- package/dist/engine-dom/iife/es5/engine-dom.js +249 -327
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +266 -244
- package/dist/engine-dom/umd/es2017/engine-dom.js +61 -134
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +100 -74
- package/dist/engine-dom/umd/es5/engine-dom.js +249 -327
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +266 -244
- package/dist/engine-server/commonjs/es2017/engine-server.js +47 -136
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +47 -136
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +11 -42
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +11 -42
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +8 -38
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +15 -44
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +12 -40
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +11 -42
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +8 -38
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +15 -44
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +12 -40
- 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_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_debug.js +2 -2
- package/package.json +7 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!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:b,find:d,indexOf:y,join:E,map:w,pop:v,push:T,reduce:N,reverse:M,shift:L,slice:S,some:C,sort:O,splice:H,unshift:D,forEach:R}=Array.prototype,{charCodeAt:P,replace:I,split:A,slice:_,toLowerCase:$}=String.prototype;function B(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 j(e){return"object"==typeof e}const U=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),G="$shadowResolver$",K="$$ShadowResolverKey$$",q="$shadowStaticNodeKey$",Y="$shadowToken$",X="$$ShadowTokenKey$$",V="$nativeGetElementById$",z="$nativeQuerySelectorAll$",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:be}=HTMLElement.prototype,de=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:Oe,getElementsByTagNameNS:He,hasAttribute:De,querySelector:Re,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")},$e=r(Element.prototype,"childElementCount").get,Be=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,je=r(HTMLElement.prototype,"outerText"),Ue=je?je.get:null,Ge=je?je.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:bt,querySelectorAll:dt,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,Ot=Ct.prototype.observe;let Ht=null;"undefined"!=typeof ShadowRoot&&(Ht=ShadowRoot);const Dt=!x(Ht),Rt=x(Ht)?()=>!1:e=>e instanceof Ht;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 $t(e){if(B(_t)){const t=It(e);_t=t.body&&"temporary-bypass"===Se.call(t.body,"data-global-patching-bypass")}return F(_t)}function Bt(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;U.lwcRuntimeFlags||Object.defineProperty(U,"lwcRuntimeFlags",{value:t(null)});const jt=U.lwcRuntimeFlags,Ut="$$HostElementKey$$",Gt="$$ShadowedNodeKey$$";function Kt(e,t,n){const l=e;{const{value:e}=n;l[t]=e}}function qt(e){return e[Ut]}function Yt(e){let t,n=e;for(;!x(n);){if(t=qt(n),!B(t))return t;if(n=we.call(n),jt.ENABLE_LIGHT_GET_ROOT_NODE_PATCH&&!x(n)&&Zt(n))return}}function Xt(e){return e[Gt]}function Vt(e){return!B(qt(e))}function zt(e){let t=Te.call(e);for(;!x(t)&&en(t);)e=t,t=Te.call(e);return e}function Qt(e,t){const n=Xt(e);let l=t instanceof Element?t:Te.call(t);for(;!x(l)&&l!==e;){const t=Yt(l),o=Te.call(l);if(t===n)return en(l);if(o===e)return!1;if(x(o)||Yt(o)===t)l=o;else{if(!en(o))return!1;if(l=Jt(zt(o)),!x(l)){if(l===e)return!0;if(Yt(l)===n)return!0}}}return!1}function Jt(e){if(!(e instanceof Q))return null;const t=Yt(e);if(B(t))return null;let n=e;for(;!x(n)&&Xt(n)!==t;)n=we.call(n);return x(n)?null:n}function Zt(e){return en(e)&&Vt(e)}function en(e){return e instanceof HTMLSlotElement}function tn(e,t){const n=Yt(t);if(B(n)){if(jt.ENABLE_LIGHT_GET_ROOT_NODE_PATCH){const e=we.call(t);if(!x(e)&&Zt(e))return!1}return!0}return Xt(e)===n}function nn(e){const t=pl(e);return rn(t,Bt(Me.call(t)))}function ln(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];!tn(e,o)&&Qt(e,o)&&T.call(n,o)}return n}function on(e,t){for(let n=0,l=t.length;n<l;n+=1){const l=t[n];if(!tn(e,l)&&Qt(e,l))return l}return null}function rn(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];tn(e,o)&&T.call(n,o)}return n}function an(e,t){for(let n=0,l=t.length;n<l;n+=1)if(tn(e,t[n]))return t[n];return null}function cn(e){if(!gl(e)&&!en(e)){return Bt(Me.call(e))}if(gl(e)){const t=Bt(Pe.call(e,"slot")),n=ul(hl(e));return N.call(t,((e,t)=>(n===ul(t)&&T.apply(e,un(t)),e)),[])}{const t=Bt(Me.call(e)),n=ul(e);return b.call(t,(e=>n===ul(e)))}}function un(e){const t=Jt(e);if(x(t))return[];const n=Bt(Me.call(e));return b.call(n,(e=>!Vt(e)||!tn(t,e)))}const sn=/[&\u00A0"]/g,fn=/[&\u00A0<>]/g,{replace:pn,toLowerCase:hn}=String.prototype;function gn(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" ";default:return""}}function mn(e){return pn.call(e,sn,gn)}const bn=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 yn(e){switch(e.nodeType){case le:{const{attributes:t}=e,n=Qe.call(e);let l="<"+hn.call(n);for(let e,n=0;e=t[n];n++)l+=" "+e.name+'="'+mn(e.value)+'"';return l+=">",bn.has(n)?l:l+function(e){let t="";const n=cn(e);for(let e=0,l=n.length;e<l;e+=1)t+=yn(n[e]);return t}(e)+"</"+hn.call(n)+">"}case oe:{const{data:n,parentNode:l}=e;return l instanceof Element&&dn.has(Qe.call(l))?n:(t=n,pn.call(t,fn,gn))}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 En(e){if(e.nodeType===le){const t=cn(e);let n="";for(let e=0,l=t.length;e<l;e+=1){const l=t[e];l.nodeType!==ie&&(n+=En(l))}return n}return e.nodeValue}const wn=new WeakMap;function vn(){throw new TypeError("Illegal constructor")}function Tn(e){const n=t(vn.prototype);return wn.set(n,e),R.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}vn.prototype=t(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:vn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return wn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){R.call(wn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return w.call(wn.get(this),((e,t)=>[t,e]))}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return w.call(wn.get(this),((e,t)=>t))}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return wn.get(this)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=wn.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(vn,NodeList);const Nn=(e,t)=>{let n;for(;!B(n=e.host);){const l=n.getRootNode();if(l===t)return n;e=l}};function Mn(e,t,n,l){const o=gt.call(t,n,l),r=[],a=function(e){var t;const n=[];let l=e.getRootNode();for(;!B(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(Zt(t))continue;const n=t.getRootNode();if(-1!==y.call(a,n)){T.call(r,t);continue}const l=Nn(n,a[0]);B(l)||-1!==y.call(o,l)||-1!==y.call(r,l)||T.call(r,l)}return r}const Ln=new WeakMap;function Sn(){throw new TypeError("Illegal constructor")}function Cn(e){const n=t(Sn.prototype);return Ln.set(n,e),R.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}function On(e){return Zt(e)||gl(e)}function Hn(e,t){const n=Jt(e);if(t===n)return hl(n);if(t instanceof Element){if(Yt(e)===Yt(t))return t;if(!x(n)&&en(t)){const e=Jt(t);if(!x(e)&&tn(n,e))return e}}return null}function Dn(){return jn(this).length>0}function Rn(){return jn(this)[0]||null}function Pn(){const e=jn(this);return e[e.length-1]||null}function In(){return En(this)}function An(){const e=we.call(this);return x(e)?e:Hn(this,e)}function _n(){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:qt(this)!==qt(e)?35:fe.call(this,e)}function Bn(e){return null!=e&&qt(this)===qt(e)&&0!=(fe.call(this,e)&Z)}function xn(e){const t=se.call(this,!1);if(!e)return t;const n=jn(this);for(let e=0,l=n.length;e<l;e+=1)t.appendChild(n[e].cloneNode(!0));return t}function Fn(){if(gl(this)){const e=Jt(this);return Tn(x(e)?[]:rn(e,cn(this)))}return Me.call(this)}Sn.prototype=t(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:Sn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return Ln.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(e){if(""===e)return null;const t=Ln.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(Sn,HTMLCollection);const kn=Q.prototype.getRootNode,Wn=B(kn)?function(){let e,t=this;for(;!x(e=we.call(t));)t=e;return t}:kn;n(Q.prototype,{firstChild:{get(){return On(this)?Rn.call(this):de.call(this)},enumerable:!0,configurable:!0},lastChild:{get(){return On(this)?Pn.call(this):ye.call(this)},enumerable:!0,configurable:!0},textContent:{get(){return Vt(this)||gl(this)?In.call(this):Ee.call(this)},set:function(e){Ne.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get(){if(Vt(this))return An.call(this);const e=we.call(this);return!x(e)&&Zt(e)?Jt(e):e},enumerable:!0,configurable:!0},parentElement:{get(){if(Vt(this))return _n.call(this);const e=Te.call(this);return!x(e)&&Zt(e)?Jt(e):e},enumerable:!0,configurable:!0},childNodes:{get(){return On(this)?Fn.call(this):Me.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value(){return On(this)?Dn.call(this):me.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value(e){return $t(this)?fe.call(this,e):$n.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value(e){return this===e||null!=e&&(Vt(this)||gl(this)?Bn.call(this,e):be.call(this,e))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value(e){return Vt(this)||gl(this)?xn.call(this,e):se.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){return F(!B(e)&&!!e.composed)?Wn.call(this,e):function(e){const t=Jt(e);return x(t)?Wn.call(e):hl(t)}(this)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get(){return Le.call(this)}}});const jn=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 Kn(e,t,n){if(t===n)return!0;let l=Gn.get(e);return B(l)&&(l=e.composedPath(),Gn.set(e,l)),l.includes(n)}function qn(e){if(!function(e){return W(e)||j(e)&&!x(e)&&W(e.handleEvent)}(e))return e;let t=Un.get(e);return B(t)&&(t=function(t){const n=ut.call(t);if(Kn(t,zn(t),n))return W(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},Un.set(e,t)),t}const Yn=new WeakMap,Xn=new WeakMap;function Vn(e){let n=Xn.get(e);return B(n)&&(n=t(null),Xn.set(e,n)),n}function zn(e){var t;return null!==(t=wl.get(e))&&void 0!==t?t:ct.call(e)}const Qn=new WeakMap;function Jn(e){if(!W(e))throw new TypeError;let t=Qn.get(e);return B(t)&&(t=function(t){let n=ut.call(t);Rt(n)||(n=hl(n));Kn(t,zn(t),n)&&e.call(n,t)},t.placement=1,Qn.set(e,t)),t}const Zn=new WeakMap;function el(e){if(!W(e))throw new TypeError;let t=Zn.get(e);return B(t)&&(t=function(t){const n=ut.call(t);Kn(t,zn(t),n)&&e.call(n,t)},t.placement=0,Zn.set(e,t)),t}function tl(e){let t=!1,n=!1;const{type:o,stopImmediatePropagation:r,stopPropagation:a}=e,i=Vn(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){R.call(c,(l=>{k(t)&&l.placement===n&&-1!==y.call(i,l)&&l.call(void 0,e)}))}Yn.set(e,1),u(1),k(t)&&k(n)&&(Yn.set(e,0),u(0)),Yn.set(e,2)}function nl(e,t,n){const l=Vn(e);let o=l[t];B(o)&&(o=l[t]=[]),-1===y.call(o,n)&&(0===o.length&&Ft.call(e,t,tl),T.call(o,n))}function ll(e,t,n){let l,o;B(o=Vn(e)[t])||-1===(l=y.call(o,n))||(H.call(o,l,1),0===o.length&&Wt.call(e,t,tl))}function ol(e,t,n){if(W(t)){nl(this,e,el(t))}}function rl(e,t,n){if(W(t)){ll(this,e,el(t))}}const al=new WeakMap,{createDocumentFragment:il}=document;function cl(e){const t=al.get(e);if(B(t))throw new TypeError;return t}function ul(e){return e[G]}function sl(e,t){e[G]=t}function fl(e){return cl(e).delegatesFocus}function pl(e){return cl(e).host}function hl(e){return cl(e).shadowRoot}function gl(e){const t=al.get(e);return!B(t)&&e===t.host}function ml(e){const t=al.get(e);return!B(t)&&e===t.shadowRoot}l(Q.prototype,G,{set(e){var t,n;B(e)||(this[K]=e,t=this,n=e.nodeKey,Kt(t,Ut,{value:n,configurable:!0}))},get(){return this[K]},configurable:!0,enumerable:!0}),l(U,"$isNativeShadowRootDefined$",{value:Dt}),B(U[V])&&l(U,V,{value:yt}),B(U[z])&&l(U,z,{value:dt});let bl=0;function dl(e,t){if(al.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=il.call(o),a={mode:n,delegatesFocus:!!l,host:e,shadowRoot:r};al.set(r,a),al.set(e,a);const i=()=>r,c=i.nodeKey=bl++;return Kt(e,Gt,{value:c}),sl(r,i),p(r,Tl.prototype),r}const yl={constructor:{writable:!0,configurable:!0,value:Tl},toString:{writable:!0,configurable:!0,value:()=>"[object ShadowRoot]"},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},El={activeElement:{enumerable:!0,configurable:!0,get(){const e=pl(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(;!tn(e,l);)l=Te.call(l);return en(l)?null:l}},delegatesFocus:{configurable:!0,get(){return cl(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return Ll(this,It(pl(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return Mn(this,It(pl(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 pl(this)}},mode:{configurable:!0,get(){return cl(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get(){throw new Error}}},wl=new WeakMap,vl={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return pe.call(pl(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return he.call(pl(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return ue.call(pl(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return ge.call(pl(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){W(n)&&nl(pl(e),t,Jn(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value(e){return wl.set(e,this),kt.apply(pl(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){W(n)&&ll(pl(e),t,Jn(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get(){return pl(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return Tn(nn(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=pl(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=pl(this);return 0!=(fe.call(t,e)&Z)&&tn(t,e)}},firstChild:{enumerable:!0,configurable:!0,get(){return jn(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get(){const e=jn(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value(){return jn(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get(){return Le.call(pl(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 pl(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:()=>null},parentNode:{enumerable:!0,configurable:!0,get:()=>null},textContent:{enumerable:!0,configurable:!0,get(){const e=jn(this);let t="";for(let n=0,l=e.length;n<l;n+=1){const l=e[n];l.nodeType!==ie&&(t+=En(l))}return t},set(e){const t=pl(this);Ne.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(e){return!B(e)&&F(e.composed)?pl(this).getRootNode(e):this}}};function Tl(){throw new TypeError("Illegal constructor")}function Nl(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=!ml(r)&&!Rt(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(){"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:b,find:d,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:D,forEach:R}=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$",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:be}=HTMLElement.prototype,de=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:De,querySelector:Re,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:bt,querySelectorAll:dt,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 Dt=!x(Ot),Rt=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;G.lwcRuntimeFlags||Object.defineProperty(G,"lwcRuntimeFlags",{value:t(null)});const Ut=G.lwcRuntimeFlags,Gt="$$HostElementKey$$",jt="$$ShadowedNodeKey$$";function Kt(e,t,n){const l=e;{const{value:e}=n;l[t]=e}}function qt(e){return e[Gt]}function Yt(e){let t,n=e;for(;!x(n);){if(t=qt(n),!_(t))return t;if(n=we.call(n),Ut.ENABLE_LIGHT_GET_ROOT_NODE_PATCH&&!x(n)&&Zt(n))return}}function Xt(e){return e[jt]}function Vt(e){return!_(qt(e))}function zt(e){let t=Te.call(e);for(;!x(t)&&en(t);)e=t,t=Te.call(e);return e}function Qt(e,t){const n=Xt(e);let l=t instanceof Element?t:Te.call(t);for(;!x(l)&&l!==e;){const t=Yt(l),o=Te.call(l);if(t===n)return en(l);if(o===e)return!1;if(x(o)||Yt(o)===t)l=o;else{if(!en(o))return!1;if(l=Jt(zt(o)),!x(l)){if(l===e)return!0;if(Yt(l)===n)return!0}}}return!1}function Jt(e){if(!(e instanceof Q))return null;const t=Yt(e);if(_(t))return null;let n=e;for(;!x(n)&&Xt(n)!==t;)n=we.call(n);return x(n)?null:n}function Zt(e){return en(e)&&Vt(e)}function en(e){return e instanceof HTMLSlotElement}function tn(e,t){const n=Yt(t);if(_(n)){if(Ut.ENABLE_LIGHT_GET_ROOT_NODE_PATCH){const e=we.call(t);if(!x(e)&&Zt(e))return!1}return!0}return Xt(e)===n}function nn(e){const t=pl(e);return rn(t,_t(Me.call(t)))}function ln(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];!tn(e,o)&&Qt(e,o)&&T.call(n,o)}return n}function on(e,t){for(let n=0,l=t.length;n<l;n+=1){const l=t[n];if(!tn(e,l)&&Qt(e,l))return l}return null}function rn(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];tn(e,o)&&T.call(n,o)}return n}function an(e,t){for(let n=0,l=t.length;n<l;n+=1)if(tn(e,t[n]))return t[n];return null}function cn(e){if(!gl(e)&&!en(e)){return _t(Me.call(e))}if(gl(e)){const t=_t(Pe.call(e,"slot")),n=ul(hl(e));return N.call(t,((e,t)=>(n===ul(t)&&T.apply(e,un(t)),e)),[])}{const t=_t(Me.call(e)),n=ul(e);return b.call(t,(e=>n===ul(e)))}}function un(e){const t=Jt(e);if(x(t))return[];const n=_t(Me.call(e));return b.call(n,(e=>!Vt(e)||!tn(t,e)))}const sn=/[&\u00A0"]/g,fn=/[&\u00A0<>]/g,{replace:pn,toLowerCase:hn}=String.prototype;function gn(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" ";default:return""}}function mn(e){return pn.call(e,sn,gn)}const bn=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 yn(e){switch(e.nodeType){case le:{const{attributes:t}=e,n=Qe.call(e);let l="<"+hn.call(n);for(let e,n=0;e=t[n];n++)l+=" "+e.name+'="'+mn(e.value)+'"';return l+=">",bn.has(n)?l:l+function(e){let t="";const n=cn(e);for(let e=0,l=n.length;e<l;e+=1)t+=yn(n[e]);return t}(e)+"</"+hn.call(n)+">"}case oe:{const{data:n,parentNode:l}=e;return l instanceof Element&&dn.has(Qe.call(l))?n:(t=n,pn.call(t,fn,gn))}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 En(e){if(e.nodeType===le){const t=cn(e);let n="";for(let e=0,l=t.length;e<l;e+=1){const l=t[e];l.nodeType!==ie&&(n+=En(l))}return n}return e.nodeValue}const wn=new WeakMap;function vn(){throw new TypeError("Illegal constructor")}function Tn(e){const n=t(vn.prototype);return wn.set(n,e),R.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}vn.prototype=t(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:vn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return wn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){R.call(wn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return w.call(wn.get(this),((e,t)=>[t,e]))}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return w.call(wn.get(this),((e,t)=>t))}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return wn.get(this)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=wn.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(vn,NodeList);const Nn=(e,t)=>{let n;for(;!_(n=e.host);){const l=n.getRootNode();if(l===t)return n;e=l}};function Mn(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(Zt(t))continue;const n=t.getRootNode();if(-1!==y.call(a,n)){T.call(r,t);continue}const l=Nn(n,a[0]);_(l)||-1!==y.call(o,l)||-1!==y.call(r,l)||T.call(r,l)}return r}const Ln=new WeakMap;function Sn(){throw new TypeError("Illegal constructor")}function Cn(e){const n=t(Sn.prototype);return Ln.set(n,e),R.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}function Hn(e){return Zt(e)||gl(e)}function On(e,t){const n=Jt(e);if(t===n)return hl(n);if(t instanceof Element){if(Yt(e)===Yt(t))return t;if(!x(n)&&en(t)){const e=Jt(t);if(!x(e)&&tn(n,e))return e}}return null}function Dn(){return Un(this).length>0}function Rn(){return Un(this)[0]||null}function Pn(){const e=Un(this);return e[e.length-1]||null}function In(){return En(this)}function An(){const e=we.call(this);return x(e)?e:On(this,e)}function $n(){const e=we.call(this);if(x(e))return null;const t=On(this,e);return t instanceof Element?t:null}function Bn(e){return this===e?0:this.getRootNode()===e?10:qt(this)!==qt(e)?35:fe.call(this,e)}function _n(e){return null!=e&&qt(this)===qt(e)&&0!=(fe.call(this,e)&Z)}function xn(e){const t=se.call(this,!1);if(!e)return t;const n=Un(this);for(let e=0,l=n.length;e<l;e+=1)t.appendChild(n[e].cloneNode(!0));return t}function Fn(){if(gl(this)){const e=Jt(this);return Tn(x(e)?[]:rn(e,cn(this)))}return Me.call(this)}Sn.prototype=t(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:Sn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return Ln.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(e){if(""===e)return null;const t=Ln.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(Sn,HTMLCollection);const kn=Q.prototype.getRootNode,Wn=_(kn)?function(){let e,t=this;for(;!x(e=we.call(t));)t=e;return t}:kn;n(Q.prototype,{firstChild:{get(){return Hn(this)?Rn.call(this):de.call(this)},enumerable:!0,configurable:!0},lastChild:{get(){return Hn(this)?Pn.call(this):ye.call(this)},enumerable:!0,configurable:!0},textContent:{get(){return Vt(this)||gl(this)?In.call(this):Ee.call(this)},set:function(e){Ne.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get(){if(Vt(this))return An.call(this);const e=we.call(this);return!x(e)&&Zt(e)?Jt(e):e},enumerable:!0,configurable:!0},parentElement:{get(){if(Vt(this))return $n.call(this);const e=Te.call(this);return!x(e)&&Zt(e)?Jt(e):e},enumerable:!0,configurable:!0},childNodes:{get(){return Hn(this)?Fn.call(this):Me.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value(){return Hn(this)?Dn.call(this):me.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value(e){return Bt(this)?fe.call(this,e):Bn.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value(e){return this===e||null!=e&&(Vt(this)||gl(this)?_n.call(this,e):be.call(this,e))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value(e){return Vt(this)||gl(this)?xn.call(this,e):se.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){return F(!_(e)&&!!e.composed)?Wn.call(this,e):function(e){const t=Jt(e);return x(t)?Wn.call(e):hl(t)}(this)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get(){return Le.call(this)}}});const Un=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 Gn=new WeakMap,jn=new WeakMap;function Kn(e,t,n){if(t===n)return!0;let l=jn.get(e);return _(l)&&(l=e.composedPath(),jn.set(e,l)),l.includes(n)}function qn(e){if(!function(e){return W(e)||U(e)&&!x(e)&&W(e.handleEvent)}(e))return e;let t=Gn.get(e);return _(t)&&(t=function(t){const n=ut.call(t);if(Kn(t,zn(t),n))return W(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},Gn.set(e,t)),t}const Yn=new WeakMap,Xn=new WeakMap;function Vn(e){let n=Xn.get(e);return _(n)&&(n=t(null),Xn.set(e,n)),n}function zn(e){var t;return null!==(t=wl.get(e))&&void 0!==t?t:ct.call(e)}const Qn=new WeakMap;function Jn(e){if(!W(e))throw new TypeError;let t=Qn.get(e);return _(t)&&(t=function(t){let n=ut.call(t);Rt(n)||(n=hl(n));Kn(t,zn(t),n)&&e.call(n,t)},t.placement=1,Qn.set(e,t)),t}const Zn=new WeakMap;function el(e){if(!W(e))throw new TypeError;let t=Zn.get(e);return _(t)&&(t=function(t){const n=ut.call(t);Kn(t,zn(t),n)&&e.call(n,t)},t.placement=0,Zn.set(e,t)),t}function tl(e){let t=!1,n=!1;const{type:o,stopImmediatePropagation:r,stopPropagation:a}=e,i=Vn(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){R.call(c,(l=>{k(t)&&l.placement===n&&-1!==y.call(i,l)&&l.call(void 0,e)}))}Yn.set(e,1),u(1),k(t)&&k(n)&&(Yn.set(e,0),u(0)),Yn.set(e,2)}function nl(e,t,n){const l=Vn(e);let o=l[t];_(o)&&(o=l[t]=[]),-1===y.call(o,n)&&(0===o.length&&Ft.call(e,t,tl),T.call(o,n))}function ll(e,t,n){let l,o;_(o=Vn(e)[t])||-1===(l=y.call(o,n))||(O.call(o,l,1),0===o.length&&Wt.call(e,t,tl))}function ol(e,t,n){if(W(t)){nl(this,e,el(t))}}function rl(e,t,n){if(W(t)){ll(this,e,el(t))}}const al=new WeakMap,{createDocumentFragment:il}=document;function cl(e){const t=al.get(e);if(_(t))throw new TypeError;return t}function ul(e){return e[j]}function sl(e,t){e[j]=t}function fl(e){return cl(e).delegatesFocus}function pl(e){return cl(e).host}function hl(e){return cl(e).shadowRoot}function gl(e){const t=al.get(e);return!_(t)&&e===t.host}function ml(e){const t=al.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,Kt(t,Gt,{value:n,configurable:!0}))},get(){return this[K]},configurable:!0,enumerable:!0}),l(G,"$isNativeShadowRootDefined$",{value:Dt}),_(G[V])&&l(G,V,{value:yt}),_(G[z])&&l(G,z,{value:dt});let bl=0;function dl(e,t){if(al.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=il.call(o),a={mode:n,delegatesFocus:!!l,host:e,shadowRoot:r};al.set(r,a),al.set(e,a);const i=()=>r,c=i.nodeKey=bl++;return Kt(e,jt,{value:c}),sl(r,i),p(r,Tl.prototype),r}const yl={constructor:{writable:!0,configurable:!0,value:Tl},toString:{writable:!0,configurable:!0,value:()=>"[object ShadowRoot]"},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},El={activeElement:{enumerable:!0,configurable:!0,get(){const e=pl(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(;!tn(e,l);)l=Te.call(l);return en(l)?null:l}},delegatesFocus:{configurable:!0,get(){return cl(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return Ll(this,It(pl(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return Mn(this,It(pl(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 pl(this)}},mode:{configurable:!0,get(){return cl(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get(){throw new Error}}},wl=new WeakMap,vl={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return pe.call(pl(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return he.call(pl(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return ue.call(pl(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return ge.call(pl(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){W(n)&&nl(pl(e),t,Jn(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value(e){return wl.set(e,this),kt.apply(pl(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){W(n)&&ll(pl(e),t,Jn(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get(){return pl(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return Tn(nn(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=pl(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=pl(this);return 0!=(fe.call(t,e)&Z)&&tn(t,e)}},firstChild:{enumerable:!0,configurable:!0,get(){return Un(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get(){const e=Un(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value(){return Un(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get(){return Le.call(pl(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 pl(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:()=>null},parentNode:{enumerable:!0,configurable:!0,get:()=>null},textContent:{enumerable:!0,configurable:!0,get(){const e=Un(this);let t="";for(let n=0,l=e.length;n<l;n+=1){const l=e[n];l.nodeType!==ie&&(t+=En(l))}return t},set(e){const t=pl(this);Ne.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(e){return!_(e)&&F(e.composed)?pl(this).getRootNode(e):this}}};function Tl(){throw new TypeError("Illegal constructor")}function Nl(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=!ml(r)&&!Rt(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}
|
|
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 Ml(e,t){if(x(e))return null;const n=Nl(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),!ml(o)||!B(r)&&r>-1)return e;return null}function Ll(e,t,n,l){const o=ht.call(t,n,l);return x(o)?o:Ml(e,Nl(o,!0))}e(yl,vl,{childElementCount:{enumerable:!0,configurable:!0,get(){return this.children.length}},children:{enumerable:!0,configurable:!0,get(){return Cn(b.call(nn(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=pl(e);return an(n,Bt(Pe.call(n,t)))}(this,e)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value(e){return Tn(function(e,t){const n=pl(e);return rn(n,Bt(Pe.call(n,t)))}(this,e))}}},{innerHTML:{enumerable:!0,configurable:!0,get(){const e=jn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=yn(e[n]);return t},set(e){const t=pl(this);Ye.call(t,e)}}},El),Tl.prototype=t(DocumentFragment.prototype,yl),l(Tl,Symbol.hasInstance,{value:function(e){return j(e)&&!x(e)&&(Rt(e)||i(e)===Tl.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return Ll(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return Mn(this,this,e,t)},l(Document.prototype,"activeElement",{get(){let e=pt.call(this);if(x(e))return e;for(;!B(qt(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:B(qt(e))||$t(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelector",{value(){const e=Bt(dt.apply(this,S.call(arguments))),t=d.call(e,(e=>B(qt(e))||$t(e)));return B(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelectorAll",{value(){const e=Bt(dt.apply(this,S.call(arguments)));return Tn(b.call(e,(e=>B(qt(e))||$t(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByClassName",{value(){const e=Bt(Et.apply(this,S.call(arguments)));return Cn(b.call(e,(e=>B(qt(e))||$t(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagName",{value(){const e=Bt(wt.apply(this,S.call(arguments)));return Cn(b.call(e,(e=>B(qt(e))||$t(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagNameNS",{value(){const e=Bt(vt.apply(this,S.call(arguments)));return Cn(b.call(e,(e=>B(qt(e))||$t(e))))},writable:!0,enumerable:!0,configurable:!0}),l(r(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value(){const e=Bt(Tt.apply(this,S.call(arguments)));return Tn(b.call(e,(e=>B(qt(e))||$t(e))))},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:Tl,configurable:!0,writable:!0});const Sl=Object.getOwnPropertyDescriptor(Event.prototype,"composed");const Cl=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function Ol(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:()=>!0})}(function(){if(!Sl)return!1;let e=new Event("click");const t=document.createElement("button");return t.addEventListener("click",(t=>e=t)),t.click(),!Sl.get.call(e)})()&&(HTMLElement.prototype.click=function(){Ft.call(this,"click",Ol);try{Cl.value.call(this)}finally{Wt.call(this,"click",Ol)}}),!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 Dl(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(Dl.prototype=Hl.prototype,window.CustomEvent=Dl,"undefined"!=typeof ClipboardEvent){const l=e(t(null),{copy:1,cut:1,paste:1});n(ClipboardEvent.prototype,{composed:{get(){const{type:e}=this;return 1===l[e]},configurable:!0,enumerable:!0}})}(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)||B(qt(this))?e:(n=e,{addEventListener(){return n.addEventListener.apply(n,arguments)},blur(){return n.blur.apply(n,arguments)},close(){return n.close.apply(n,arguments)},focus(){return n.focus.apply(n,arguments)},postMessage(){return n.postMessage.apply(n,arguments)},removeEventListener(){return n.removeEventListener.apply(n,arguments)},get closed(){return n.closed},get frames(){return n.frames},get length(){return n.length},get location(){return n.location},set location(e){n.location=e},get opener(){return n.opener},get parent(){return n.parent},get self(){return n.self},get top(){return n.top},get window(){return n.window}});var n},l(HTMLIFrameElement.prototype,"contentWindow",e)}();const Rl=MutationObserver,{disconnect:Pl,observe:Il,takeRecords:Al}=Rl.prototype,_l="$$lwcObserverCallbackWrapper$$",$l="$$lwcNodeObservers$$",Bl=new WeakMap;function xl(e){return e[$l]}function Fl(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 kl(e,t){let n=t;for(;!x(n);){const t=xl(n);if(!B(t)&&(t[0]===e||-1!==y.call(t,e)))return!0;n=n.parentNode}return!1}function Wl(e,t){return N.call(e,((e,n)=>{const{target:l,addedNodes:o,removedNodes:r,type:a}=n;if("childList"!==a||B(Xt(l)))kl(t,l)&&T.call(e,n);else if(o.length>0){const r=o[0];if(kl(t,r)){const o=xl(l);!o||o[0]!==t&&-1===y.call(o,t)?T.call(e,Fl(n)):T.call(e,n)}}else{const o=l.shadowRoot,a=r[0];if(Yt(l)===Yt(a)&&kl(t,l))T.call(e,n);else if(o){const l=xl(o);!l||l[0]!==t&&-1===y.call(l,t)||T.call(e,Fl(n))}}return e}),[])}function jl(e){const t=function(e){let t=e[_l];return B(t)&&(t=e[_l]=(t,n)=>{const l=Wl(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]=qn(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]=qn(e[1]),Mt.apply(this,e)}Mt.apply(this,arguments)}function Kl(){const e=ct.call(this);if(!(e instanceof Q))return e;const t=It(e),n=Nl(e,this.composed),l=ut.call(this);if(!(l instanceof Q))return x(l)&&B(qt(e))?e:Ml(t,n);if(l===t||l===t.body)return B(qt(e))?e:Ml(t,n);let o=l,r=n;if(gl(l)){1===Yn.get(this)&&(o=hl(l))}return gl(e)&&wl.has(this)&&(r=Nl(hl(e),this.composed)),Ml(o,r)}function ql(){const e=ct.call(this);if(!(e instanceof Q))return[];const t=Boolean(e.shadowRoot),n=(l=e,al.has(l));var l;if(t&&!n)return ft.call(this);if(x(ut.call(this)))return[];let o=e;return gl(e)&&wl.has(this)&&(o=hl(e)),Nl(o,this.composed)}function Yl(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&&Vt(e)))return e;let n=ut.call(this);return x(n)&&(n=It(e)),Ml(n,Nl(e,!0))},enumerable:!0,configurable:!0})}jl.prototype=Rl.prototype,jl.prototype.disconnect=function(){Pl.call(this);const e=Bl.get(this);B(e)||(R.call(e,(e=>{const t=e[$l];if(!B(t)){const e=y.call(t,this);-1!==e&&H.call(t,e,1)}})),e.length=0)},jl.prototype.observe=function(e,t){let n=xl(e);var l;if(B(n)&&(n=[],l=n,e[$l]=l),-1===y.call(n,this)&&T.call(n,this),ml(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 Il.call(this,e,t)},jl.prototype.takeRecords=function(){return Wl(Al.call(this),this)},l(window,"MutationObserver",{value:jl,configurable:!0,writable:!0}),n(xt,{addEventListener:{value:function(e,t,n){if(gl(this))return ol.apply(this,arguments);if(arguments.length<2){const e=S.call(arguments);return e.length>1&&(e[1]=qn(e[1])),Ft.apply(this,e)}const l=qn(t);return Ft.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(gl(this))return rl.apply(this,arguments);const l=S.call(arguments);arguments.length>1&&(l[1]=qn(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:Kl,enumerable:!0,configurable:!0},currentTarget:{get:function(){const e=ut.call(this);return x(e)?null:1===Yn.get(this)?hl(e):e},enumerable:!0,configurable:!0},composedPath:{value:ql,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:Kl,enumerable:!0,configurable:!0},path:{get:ql,enumerable:!0,configurable:!0}}),Yl(FocusEvent),Yl(MouseEvent);const Xl=c.call(Text.prototype,"assignedSlot")?r(Text.prototype,"assignedSlot").get:()=>null;let Vl;const zl={childList:!0},Ql=new WeakMap;function Jl(e){const t=Bt(Me.call(e));return N.call(t,((e,t)=>(t instanceof Element&&en(t)?T.apply(e,Jl(t)):T.call(e,t),e)),[])}function Zl(){const e=we.call(this);if(e instanceof Element){const t=ot.call(e);if(Rt(t))return this instanceof Text?Xl.call(this):rt.call(this)}return!x(e)&&en(e)&&qt(e)!==qt(this)?e:null}function eo(e,t){let n;const l=qt(e);if(B(l))n=e instanceof HTMLBodyElement?b.call(t,(t=>B(qt(t))||$t(e))):S.call(t);else if(gl(e)){const l=Jt(e);n=x(l)?[]:Xt(e)?ln(e,t):rn(l,t)}else n=b.call(t,(e=>Yt(e)===l));return n}function to(){const e=jn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=yn(e[n]);return t}function no(){return yn(this)}function lo(){const e=Jt(this),t=x(e)?[]:rn(e,cn(this));return Cn(b.call(t,(e=>e instanceof Element)))}function oo(){return this.children.length}function ro(){return this.children[0]||null}function ao(){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||Ql.get(this)||(Ql.set(this,!0),Vl||(Vl=new Ct((e=>{const t=[];R.call(e,(e=>{const{target:n}=e;-1===y.call(t,n)&&(T.call(t,n),kt.call(n,new CustomEvent("slotchange")))}))}))),Ot.call(Vl,this,zl))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value(e){if(Vt(this)){const t=!B(e)&&F(e.flatten)?Jl(this):un(this);return b.call(t,(e=>e instanceof Element))}return it.apply(this,S.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value(e){if(Vt(this)){return!B(e)&&F(e.flatten)?Jl(this):un(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(Vt(this)){const e=Jt(this);return Tn(x(e)?[]:rn(e,cn(this)))}return Me.call(this)},enumerable:!0,configurable:!0}}),n(Text.prototype,{assignedSlot:{get:Zl,enumerable:!0,configurable:!0}}),n(Element.prototype,{innerHTML:{get(){return Vt(this)||gl(this)?to.call(this):qe.call(this)},set(e){Ye.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get(){return Vt(this)||gl(this)?no.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(gl(this)){const e=hl(this);if("open"===e.mode)return e}return ot.call(this)},enumerable:!0,configurable:!0},children:{get(){return On(this)?lo.call(this):nt.call(this)},enumerable:!0,configurable:!0},childElementCount:{get(){return On(this)?oo.call(this):$e.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get(){return On(this)?ro.call(this):Be.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get(){return On(this)?ao.call(this):xe.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:Zl,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=Bt(Pe.apply(this,S.call(arguments)));if(gl(this)){const t=Jt(this);return B(Xt(this))?x(t)?null:an(t,e):on(this,e)}if(Vt(this)){const t=qt(this);if(B(t))return 0===e.length?null:e[0];{const n=d.call(e,(e=>Yt(e)===t));return B(n)?null:n}}{if(!(this instanceof HTMLBodyElement)){const t=e[0];return B(t)?null:t}const t=d.call(e,(e=>B(qt(e))||$t(this)));return B(t)?null:t}},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value(){return Tn(function(e,t){let n;if(gl(e)){const l=Jt(e);n=B(Xt(e))?x(l)?[]:rn(l,t):ln(e,t)}else if(Vt(e)){const l=qt(e);n=B(l)?S.call(t):b.call(t,(e=>Yt(e)===l))}else n=e instanceof HTMLBodyElement?b.call(t,(t=>B(qt(t))||$t(e))):S.call(t);return n}(this,Bt(Pe.apply(this,S.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0}}),n(Element.prototype,{getElementsByClassName:{value(){return Cn(eo(this,Bt(lt.apply(this,S.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value(){return Cn(eo(this,Bt(Oe.apply(this,S.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value(){return Cn(eo(this,Bt(He.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 io="\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",co=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function uo(e){return e.filter((e=>De.call(e,"tabindex")?"0"===Se.call(e,"tabindex"):!co.has(Qe.call(e))||!De.call(e,"disabled")))}const so=new WeakMap;function fo(e){return(!gl(e)||!fl(e))&&(tt.call(e,io)&&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 po(){const e=this.getRootNode();if(e===this){const e=Re.call(this,io);return void(x(e)||e.focus.apply(e,arguments))}const t=e;if(t.activeElement===this)return;const n=Bt(Pe.call(this,io));let l=!1;for(;!l&&0!==n.length;){const e=n.shift();e.focus.apply(e,arguments);l=e.getRootNode().activeElement===e}}function ho(e){const t=It(e),n=uo(Bt(dt.call(t,io))),l=uo(Bt(Pe.call(e,io))),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 go(e,t){const n=fe.call(e,t);return n&Z?0:n&te?1:n&ne?2:-1}function mo(e){e.preventDefault(),e.stopPropagation()}function bo(e,t){Nt.call(e,"focusin",mo,!0),Nt.call(e,"focusout",mo,!0),t(),Mt.call(e,"focusin",mo,!0),Mt.call(e,"focusout",mo,!0)}function yo(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(Lo(t.getRootNode(),n))return n}return null}(e,n);x(o)?bo(l,(()=>{t.blur()})):bo(l,(()=>{o.focus()}))}let Eo=!1;function wo(){Eo=!0}function vo(){Eo=!1}function To(){return!Eo}function No(e){if(Eo)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=ho(t);if(1===go(t,l)){const e=Lo.bind(null,t.getRootNode()),r=d.call(o.inner,e);if(B(r))yo(o.next,n,l);else{bo(At(r),(()=>{r.focus()}))}}else t===n&&yo(M.call(o.prev),n,l)}function Mo(e){if(Eo)return;const t=st.call(e);if(x(t))return;const n=ut.call(e),l=ho(n);if(-1!==y.call(l.inner,t))return;const o=ct.call(e),r=go(n,t);1===r&&yo(l.next,o,t),2===r&&yo(M.call(l.prev),o,t)}function Lo(e,t){if(!fo(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 So(e){Wt.call(e,"focusin",No,!0)}function Co(e){const t=It(e);so.get(t)||(so.set(t,!0),Ft.call(t,"mousedown",wo,!0),Ft.call(t,"mouseup",(()=>{setTimeout(vo)}),!0),Ft.call(t,"dragstart",vo,!0))}function Oo(e){Wt.call(e,"focusin",Mo,!0)}const{blur:Ho,focus:Do}=HTMLElement.prototype;function Ro(){return fl(this)&&k(De.call(this,"tabindex"))?0:Ze.call(this)}function Po(e){const t=fl(this),n=Ze.call(this),l=De.call(this,"tabindex");et.call(this,e);const o=Ze.call(this),r=De.call(this,"tabindex"),a=n!==o;var i;(l&&(a||k(r))&&(-1===n&&Oo(this),0===n&&t&&So(this)),k(r))||(l&&r&&k(a)||(-1===o&&(Co(i=this),So(i),Ft.call(i,"focusin",Mo,!0)),0===o&&t&&function(e){Co(e),Oo(e),Ft.call(e,"focusin",No,!0)}(this)))}function Io(){if(fl(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 Ao(){const e=To();e&&wo(),gl(this)&&fl(this)?po.call(this):(Do.apply(this,arguments),e&&vo())}function _o(e,t){e[G]=t;const n=Me.call(e);for(let e=0,l=n.length;e<l;e++)_o(n[e],t)}n(HTMLElement.prototype,{tabIndex:{get(){return gl(this)?Ro.call(this):Ze.call(this)},set(e){return gl(this)?Po.call(this,e):et.call(this,e)},enumerable:!0,configurable:!0},blur:{value(){if(gl(this))return Io.call(this);Ho.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value(){Ao.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!==Ue&&null!==Ge&&l(HTMLElement.prototype,"outerText",{get(){return Ue.call(this)},set(e){Ge.call(this,e)},enumerable:!0,configurable:!0}),l(Element.prototype,Y,{set(e){const t=this[X];B(t)||t===e||Ie.call(this,t),B(e)||Ae.call(this,e,""),this[X]=e},get(){return this[X]},configurable:!0}),l(Element.prototype,"$shadowStaticNode$",{set(e){if(e){_o(this,this[G])}this[q]=e},get(){return this[q]},configurable:!0});const $o="$$DomManualKey$$",Bo=function(){};let xo;const Fo={childList:!0};function ko(e,t,n){const l=ul(e);if(l!==t&&(sl(e,t),e instanceof Element)){if(function(e,t){e[Y]=t}(e,n),gl(e))return;B(l)&&Ot.call(xo,e,Fo);const o=Me.call(e);for(let e=0,l=o.length;e<l;e+=1)ko(o[e],t,n)}}function Wo(){return new Ct((e=>{R.call(e,(e=>{const{target:t,addedNodes:n,removedNodes:l}=e,o=ul(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||ko(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&&ko(l,o,r)}}))}))}l(Element.prototype,"$domManual$",{set(e){this[$o]=e,F(e)&&function(e){if(B(xo)&&(xo=Wo()),B(ul(e)))throw new Error("Invalid Element");Ot.call(xo,e,Fo)}(this)},get(){return this[$o]},configurable:!0})}();
|
|
10
|
+
*/function Ml(e,t){if(x(e))return null;const n=Nl(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),!ml(o)||!_(r)&&r>-1)return e;return null}function Ll(e,t,n,l){const o=ht.call(t,n,l);return x(o)?o:Ml(e,Nl(o,!0))}e(yl,vl,{childElementCount:{enumerable:!0,configurable:!0,get(){return this.children.length}},children:{enumerable:!0,configurable:!0,get(){return Cn(b.call(nn(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=pl(e);return an(n,_t(Pe.call(n,t)))}(this,e)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value(e){return Tn(function(e,t){const n=pl(e);return rn(n,_t(Pe.call(n,t)))}(this,e))}}},{innerHTML:{enumerable:!0,configurable:!0,get(){const e=Un(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=yn(e[n]);return t},set(e){const t=pl(this);Ye.call(t,e)}}},El),Tl.prototype=t(DocumentFragment.prototype,yl),l(Tl,Symbol.hasInstance,{value:function(e){return U(e)&&!x(e)&&(Rt(e)||i(e)===Tl.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return Ll(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return Mn(this,this,e,t)},l(Document.prototype,"activeElement",{get(){let e=pt.call(this);if(x(e))return e;for(;!_(qt(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:_(qt(e))||Bt(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelector",{value(){const e=_t(dt.apply(this,S.call(arguments))),t=d.call(e,(e=>_(qt(e))||Bt(e)));return _(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelectorAll",{value(){const e=_t(dt.apply(this,S.call(arguments)));return Tn(b.call(e,(e=>_(qt(e))||Bt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByClassName",{value(){const e=_t(Et.apply(this,S.call(arguments)));return Cn(b.call(e,(e=>_(qt(e))||Bt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagName",{value(){const e=_t(wt.apply(this,S.call(arguments)));return Cn(b.call(e,(e=>_(qt(e))||Bt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagNameNS",{value(){const e=_t(vt.apply(this,S.call(arguments)));return Cn(b.call(e,(e=>_(qt(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 Tn(b.call(e,(e=>_(qt(e))||Bt(e))))},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:Tl,configurable:!0,writable:!0});const Sl=Object.getOwnPropertyDescriptor(Event.prototype,"composed");const Cl=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function Hl(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:()=>!0})}(function(){if(!Sl)return!1;let e=new Event("click");const t=document.createElement("button");return t.addEventListener("click",(t=>e=t)),t.click(),!Sl.get.call(e)})()&&(HTMLElement.prototype.click=function(){Ft.call(this,"click",Hl);try{Cl.value.call(this)}finally{Wt.call(this,"click",Hl)}}),!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 Ol=CustomEvent;function Dl(e,t){const n=new Ol(e,t),l=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>l,configurable:!0,enumerable:!0}}),n}if(Dl.prototype=Ol.prototype,window.CustomEvent=Dl,"undefined"!=typeof ClipboardEvent){const l=e(t(null),{copy:1,cut:1,paste:1});n(ClipboardEvent.prototype,{composed:{get(){const{type:e}=this;return 1===l[e]},configurable:!0,enumerable:!0}})}(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)||_(qt(this))?e:(n=e,{addEventListener(){return n.addEventListener.apply(n,arguments)},blur(){return n.blur.apply(n,arguments)},close(){return n.close.apply(n,arguments)},focus(){return n.focus.apply(n,arguments)},postMessage(){return n.postMessage.apply(n,arguments)},removeEventListener(){return n.removeEventListener.apply(n,arguments)},get closed(){return n.closed},get frames(){return n.frames},get length(){return n.length},get location(){return n.location},set location(e){n.location=e},get opener(){return n.opener},get parent(){return n.parent},get self(){return n.self},get top(){return n.top},get window(){return n.window}});var n},l(HTMLIFrameElement.prototype,"contentWindow",e)}();const Rl=MutationObserver,{disconnect:Pl,observe:Il,takeRecords:Al}=Rl.prototype,$l="$$lwcObserverCallbackWrapper$$",Bl="$$lwcNodeObservers$$",_l=new WeakMap;function xl(e){return e[Bl]}function Fl(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 kl(e,t){let n=t;for(;!x(n);){const t=xl(n);if(!_(t)&&(t[0]===e||-1!==y.call(t,e)))return!0;n=n.parentNode}return!1}function Wl(e,t){return N.call(e,((e,n)=>{const{target:l,addedNodes:o,removedNodes:r,type:a}=n;if("childList"!==a||_(Xt(l)))kl(t,l)&&T.call(e,n);else if(o.length>0){const r=o[0];if(kl(t,r)){const o=xl(l);!o||o[0]!==t&&-1===y.call(o,t)?T.call(e,Fl(n)):T.call(e,n)}}else{const o=l.shadowRoot,a=r[0];if(Yt(l)===Yt(a)&&kl(t,l))T.call(e,n);else if(o){const l=xl(o);!l||l[0]!==t&&-1===y.call(l,t)||T.call(e,Fl(n))}}return e}),[])}function Ul(e){const t=function(e){let t=e[$l];return _(t)&&(t=e[$l]=(t,n)=>{const l=Wl(t,n);0!==l.length&&e.call(n,l,n)}),t}(e);return new Rl(t)}function Gl(e,t,n){if(arguments.length>1){const e=S.call(arguments);return e[1]=qn(e[1]),Nt.apply(this,e)}return Nt.apply(this,arguments)}function jl(e,t,n){if(arguments.length>1){const e=S.call(arguments);e[1]=qn(e[1]),Mt.apply(this,e)}Mt.apply(this,arguments)}function Kl(){const e=ct.call(this);if(!(e instanceof Q))return e;const t=It(e),n=Nl(e,this.composed),l=ut.call(this);if(!(l instanceof Q))return x(l)&&_(qt(e))?e:Ml(t,n);if(l===t||l===t.body)return _(qt(e))?e:Ml(t,n);let o=l,r=n;if(gl(l)){1===Yn.get(this)&&(o=hl(l))}return gl(e)&&wl.has(this)&&(r=Nl(hl(e),this.composed)),Ml(o,r)}function ql(){const e=ct.call(this);if(!(e instanceof Q))return[];const t=Boolean(e.shadowRoot),n=(l=e,al.has(l));var l;if(t&&!n)return ft.call(this);if(x(ut.call(this)))return[];let o=e;return gl(e)&&wl.has(this)&&(o=hl(e)),Nl(o,this.composed)}function Yl(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&&Vt(e)))return e;let n=ut.call(this);return x(n)&&(n=It(e)),Ml(n,Nl(e,!0))},enumerable:!0,configurable:!0})}Ul.prototype=Rl.prototype,Ul.prototype.disconnect=function(){Pl.call(this);const e=_l.get(this);_(e)||(R.call(e,(e=>{const t=e[Bl];if(!_(t)){const e=y.call(t,this);-1!==e&&O.call(t,e,1)}})),e.length=0)},Ul.prototype.observe=function(e,t){let n=xl(e);var l;if(_(n)&&(n=[],l=n,e[Bl]=l),-1===y.call(n,this)&&T.call(n,this),ml(e)&&(e=e.host),_l.has(this)){const t=_l.get(this);-1===y.call(t,e)&&T.call(t,e)}else _l.set(this,[e]);return Il.call(this,e,t)},Ul.prototype.takeRecords=function(){return Wl(Al.call(this),this)},l(window,"MutationObserver",{value:Ul,configurable:!0,writable:!0}),n(xt,{addEventListener:{value:function(e,t,n){if(gl(this))return ol.apply(this,arguments);if(arguments.length<2){const e=S.call(arguments);return e.length>1&&(e[1]=qn(e[1])),Ft.apply(this,e)}const l=qn(t);return Ft.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(gl(this))return rl.apply(this,arguments);const l=S.call(arguments);arguments.length>1&&(l[1]=qn(l[1])),Wt.apply(this,l),Wt.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&n(Window.prototype,{addEventListener:{value:Gl,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:jl,enumerable:!0,writable:!0,configurable:!0}}),n(Event.prototype,{target:{get:Kl,enumerable:!0,configurable:!0},currentTarget:{get:function(){const e=ut.call(this);return x(e)?null:1===Yn.get(this)?hl(e):e},enumerable:!0,configurable:!0},composedPath:{value:ql,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:Kl,enumerable:!0,configurable:!0},path:{get:ql,enumerable:!0,configurable:!0}}),Yl(FocusEvent),Yl(MouseEvent);const Xl=c.call(Text.prototype,"assignedSlot")?r(Text.prototype,"assignedSlot").get:()=>null;let Vl;const zl={childList:!0},Ql=new WeakMap;function Jl(e){const t=_t(Me.call(e));return N.call(t,((e,t)=>(t instanceof Element&&en(t)?T.apply(e,Jl(t)):T.call(e,t),e)),[])}function Zl(){const e=we.call(this);if(e instanceof Element){const t=ot.call(e);if(Rt(t))return this instanceof Text?Xl.call(this):rt.call(this)}return!x(e)&&en(e)&&qt(e)!==qt(this)?e:null}function eo(e,t){let n;const l=qt(e);if(_(l))n=e instanceof HTMLBodyElement?b.call(t,(t=>_(qt(t))||Bt(e))):S.call(t);else if(gl(e)){const l=Jt(e);n=x(l)?[]:Xt(e)?ln(e,t):rn(l,t)}else n=b.call(t,(e=>Yt(e)===l));return n}function to(){const e=Un(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=yn(e[n]);return t}function no(){return yn(this)}function lo(){const e=Jt(this),t=x(e)?[]:rn(e,cn(this));return Cn(b.call(t,(e=>e instanceof Element)))}function oo(){return this.children.length}function ro(){return this.children[0]||null}function ao(){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||Ql.get(this)||(Ql.set(this,!0),Vl||(Vl=new Ct((e=>{const t=[];R.call(e,(e=>{const{target:n}=e;-1===y.call(t,n)&&(T.call(t,n),kt.call(n,new CustomEvent("slotchange")))}))}))),Ht.call(Vl,this,zl))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value(e){if(Vt(this)){const t=!_(e)&&F(e.flatten)?Jl(this):un(this);return b.call(t,(e=>e instanceof Element))}return it.apply(this,S.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value(e){if(Vt(this)){return!_(e)&&F(e.flatten)?Jl(this):un(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(Vt(this)){const e=Jt(this);return Tn(x(e)?[]:rn(e,cn(this)))}return Me.call(this)},enumerable:!0,configurable:!0}}),n(Text.prototype,{assignedSlot:{get:Zl,enumerable:!0,configurable:!0}}),n(Element.prototype,{innerHTML:{get(){return Vt(this)||gl(this)?to.call(this):qe.call(this)},set(e){Ye.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get(){return Vt(this)||gl(this)?no.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(gl(this)){const e=hl(this);if("open"===e.mode)return e}return ot.call(this)},enumerable:!0,configurable:!0},children:{get(){return Hn(this)?lo.call(this):nt.call(this)},enumerable:!0,configurable:!0},childElementCount:{get(){return Hn(this)?oo.call(this):Be.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get(){return Hn(this)?ro.call(this):_e.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get(){return Hn(this)?ao.call(this):xe.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:Zl,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(gl(this)){const t=Jt(this);return _(Xt(this))?x(t)?null:an(t,e):on(this,e)}if(Vt(this)){const t=qt(this);if(_(t))return 0===e.length?null:e[0];{const n=d.call(e,(e=>Yt(e)===t));return _(n)?null:n}}{if(!(this instanceof HTMLBodyElement)){const t=e[0];return _(t)?null:t}const t=d.call(e,(e=>_(qt(e))||Bt(this)));return _(t)?null:t}},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value(){return Tn(function(e,t){let n;if(gl(e)){const l=Jt(e);n=_(Xt(e))?x(l)?[]:rn(l,t):ln(e,t)}else if(Vt(e)){const l=qt(e);n=_(l)?S.call(t):b.call(t,(e=>Yt(e)===l))}else n=e instanceof HTMLBodyElement?b.call(t,(t=>_(qt(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 Cn(eo(this,_t(lt.apply(this,S.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value(){return Cn(eo(this,_t(He.apply(this,S.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value(){return Cn(eo(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 io="\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",co=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function uo(e){return e.filter((e=>De.call(e,"tabindex")?"0"===Se.call(e,"tabindex"):!co.has(Qe.call(e))||!De.call(e,"disabled")))}const so=new WeakMap;function fo(e){return(!gl(e)||!fl(e))&&(tt.call(e,io)&&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 po(){const e=this.getRootNode();if(e===this){const e=Re.call(this,io);return void(x(e)||e.focus.apply(e,arguments))}const t=e;if(t.activeElement===this)return;const n=_t(Pe.call(this,io));let l=!1;for(;!l&&0!==n.length;){const e=n.shift();e.focus.apply(e,arguments);l=e.getRootNode().activeElement===e}}function ho(e){const t=It(e),n=uo(_t(dt.call(t,io))),l=uo(_t(Pe.call(e,io))),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 go(e,t){const n=fe.call(e,t);return n&Z?0:n&te?1:n&ne?2:-1}function mo(e){e.preventDefault(),e.stopPropagation()}function bo(e,t){Nt.call(e,"focusin",mo,!0),Nt.call(e,"focusout",mo,!0),t(),Mt.call(e,"focusin",mo,!0),Mt.call(e,"focusout",mo,!0)}function yo(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(Lo(t.getRootNode(),n))return n}return null}(e,n);x(o)?bo(l,(()=>{t.blur()})):bo(l,(()=>{o.focus()}))}let Eo=!1;function wo(){Eo=!0}function vo(){Eo=!1}function To(){return!Eo}function No(e){if(Eo)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=ho(t);if(1===go(t,l)){const e=Lo.bind(null,t.getRootNode()),r=d.call(o.inner,e);if(_(r))yo(o.next,n,l);else{bo(At(r),(()=>{r.focus()}))}}else t===n&&yo(M.call(o.prev),n,l)}function Mo(e){if(Eo)return;const t=st.call(e);if(x(t))return;const n=ut.call(e),l=ho(n);if(-1!==y.call(l.inner,t))return;const o=ct.call(e),r=go(n,t);1===r&&yo(l.next,o,t),2===r&&yo(M.call(l.prev),o,t)}function Lo(e,t){if(!fo(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 So(e){Wt.call(e,"focusin",No,!0)}function Co(e){const t=It(e);so.get(t)||(so.set(t,!0),Ft.call(t,"mousedown",wo,!0),Ft.call(t,"mouseup",(()=>{setTimeout(vo)}),!0),Ft.call(t,"dragstart",vo,!0))}function Ho(e){Wt.call(e,"focusin",Mo,!0)}const{blur:Oo,focus:Do}=HTMLElement.prototype;function Ro(){return fl(this)&&k(De.call(this,"tabindex"))?0:Ze.call(this)}function Po(e){const t=fl(this),n=Ze.call(this),l=De.call(this,"tabindex");et.call(this,e);const o=Ze.call(this),r=De.call(this,"tabindex"),a=n!==o;var i;(l&&(a||k(r))&&(-1===n&&Ho(this),0===n&&t&&So(this)),k(r))||(l&&r&&k(a)||(-1===o&&(Co(i=this),So(i),Ft.call(i,"focusin",Mo,!0)),0===o&&t&&function(e){Co(e),Ho(e),Ft.call(e,"focusin",No,!0)}(this)))}function Io(){if(fl(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 Oo.call(this)}function Ao(){const e=To();e&&wo(),gl(this)&&fl(this)?po.call(this):(Do.apply(this,arguments),e&&vo())}function $o(e,t){e[j]=t;const n=Me.call(e);for(let e=0,l=n.length;e<l;e++)$o(n[e],t)}n(HTMLElement.prototype,{tabIndex:{get(){return gl(this)?Ro.call(this):Ze.call(this)},set(e){return gl(this)?Po.call(this,e):et.call(this,e)},enumerable:!0,configurable:!0},blur:{value(){if(gl(this))return Io.call(this);Oo.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value(){Ao.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){$o(this,this[j])}this[q]=e},get(){return this[q]},configurable:!0});const Bo="$$DomManualKey$$",_o=function(){};let xo;const Fo={childList:!0};function ko(e,t,n){const l=ul(e);if(l!==t&&(sl(e,t),e instanceof Element)){if(function(e,t){e[Y]=t}(e,n),gl(e))return;_(l)&&Ht.call(xo,e,Fo);const o=Me.call(e);for(let e=0,l=o.length;e<l;e+=1)ko(o[e],t,n)}}function Wo(){return new Ct((e=>{R.call(e,(e=>{const{target:t,addedNodes:n,removedNodes:l}=e,o=ul(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||ko(n,_o,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&&ko(l,o,r)}}))}))}l(Element.prototype,"$domManual$",{set(e){this[Bo]=e,F(e)&&function(e){if(_(xo)&&(xo=Wo()),_(ul(e)))throw new Error("Invalid Element");Ht.call(xo,e,Fo)}(this)},get(){return this[Bo]},configurable:!0})}();
|
|
@@ -37,41 +37,11 @@
|
|
|
37
37
|
* SPDX-License-Identifier: MIT
|
|
38
38
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
39
39
|
*/
|
|
40
|
-
//
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
let _globalThis;
|
|
47
|
-
try {
|
|
48
|
-
// eslint-disable-next-line no-extend-native
|
|
49
|
-
Object.defineProperty(Object.prototype, '__magic__', {
|
|
50
|
-
get: function () {
|
|
51
|
-
return this;
|
|
52
|
-
},
|
|
53
|
-
configurable: true,
|
|
54
|
-
});
|
|
55
|
-
// __magic__ is undefined in Safari 10 and IE10 and older.
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
// eslint-disable-next-line no-undef
|
|
58
|
-
_globalThis = __magic__;
|
|
59
|
-
// @ts-ignore
|
|
60
|
-
delete Object.prototype.__magic__;
|
|
61
|
-
}
|
|
62
|
-
catch (ex) {
|
|
63
|
-
// In IE8, Object.defineProperty only works on DOM objects.
|
|
64
|
-
}
|
|
65
|
-
finally {
|
|
66
|
-
// If the magic above fails for some reason we assume that we are in a legacy browser.
|
|
67
|
-
// Assume `window` exists in this case.
|
|
68
|
-
if (typeof _globalThis === 'undefined') {
|
|
69
|
-
// @ts-ignore
|
|
70
|
-
_globalThis = window;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
return _globalThis;
|
|
74
|
-
})();
|
|
40
|
+
// See browser support for globalThis:
|
|
41
|
+
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis#browser_compatibility
|
|
42
|
+
/* istanbul ignore next */
|
|
43
|
+
// @ts-ignore
|
|
44
|
+
const _globalThis = typeof globalThis === 'object' ? globalThis : window;
|
|
75
45
|
|
|
76
46
|
/*
|
|
77
47
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -89,7 +59,7 @@
|
|
|
89
59
|
const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
90
60
|
const KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';
|
|
91
61
|
const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
|
|
92
|
-
/** version: 2.35.
|
|
62
|
+
/** version: 2.35.2 */
|
|
93
63
|
|
|
94
64
|
/*
|
|
95
65
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -404,7 +374,7 @@
|
|
|
404
374
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
405
375
|
}
|
|
406
376
|
const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
407
|
-
/** version: 2.35.
|
|
377
|
+
/** version: 2.35.2 */
|
|
408
378
|
|
|
409
379
|
/*
|
|
410
380
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -4529,6 +4499,6 @@
|
|
|
4529
4499
|
},
|
|
4530
4500
|
configurable: true,
|
|
4531
4501
|
});
|
|
4532
|
-
/** version: 2.35.
|
|
4502
|
+
/** version: 2.35.2 */
|
|
4533
4503
|
|
|
4534
4504
|
})();
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
}
|
|
40
40
|
var assert = /*#__PURE__*/Object.freeze({
|
|
41
41
|
__proto__: null,
|
|
42
|
+
fail: fail,
|
|
42
43
|
invariant: invariant,
|
|
43
|
-
isTrue: isTrue$1,
|
|
44
44
|
isFalse: isFalse$1,
|
|
45
|
-
|
|
45
|
+
isTrue: isTrue$1
|
|
46
46
|
});
|
|
47
47
|
|
|
48
48
|
/*
|
|
@@ -116,39 +116,11 @@
|
|
|
116
116
|
* SPDX-License-Identifier: MIT
|
|
117
117
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
118
118
|
*/
|
|
119
|
-
//
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
}
|
|
125
|
-
var _globalThis;
|
|
126
|
-
try {
|
|
127
|
-
// eslint-disable-next-line no-extend-native
|
|
128
|
-
Object.defineProperty(Object.prototype, '__magic__', {
|
|
129
|
-
get: function get() {
|
|
130
|
-
return this;
|
|
131
|
-
},
|
|
132
|
-
configurable: true
|
|
133
|
-
});
|
|
134
|
-
// __magic__ is undefined in Safari 10 and IE10 and older.
|
|
135
|
-
// @ts-ignore
|
|
136
|
-
// eslint-disable-next-line no-undef
|
|
137
|
-
_globalThis = __magic__;
|
|
138
|
-
// @ts-ignore
|
|
139
|
-
delete Object.prototype.__magic__;
|
|
140
|
-
} catch (ex) {
|
|
141
|
-
// In IE8, Object.defineProperty only works on DOM objects.
|
|
142
|
-
} finally {
|
|
143
|
-
// If the magic above fails for some reason we assume that we are in a legacy browser.
|
|
144
|
-
// Assume `window` exists in this case.
|
|
145
|
-
if (typeof _globalThis === 'undefined') {
|
|
146
|
-
// @ts-ignore
|
|
147
|
-
_globalThis = window;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
return _globalThis;
|
|
151
|
-
}();
|
|
119
|
+
// See browser support for globalThis:
|
|
120
|
+
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis#browser_compatibility
|
|
121
|
+
/* istanbul ignore next */
|
|
122
|
+
// @ts-ignore
|
|
123
|
+
var _globalThis = (typeof globalThis === "undefined" ? "undefined" : _typeof(globalThis)) === 'object' ? globalThis : window;
|
|
152
124
|
|
|
153
125
|
/*
|
|
154
126
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -178,7 +150,7 @@
|
|
|
178
150
|
var hasNativeSymbolSupport = /*@__PURE__*/function () {
|
|
179
151
|
return Symbol('x').toString() === 'Symbol(x)';
|
|
180
152
|
}();
|
|
181
|
-
/** version: 2.35.
|
|
153
|
+
/** version: 2.35.2 */
|
|
182
154
|
|
|
183
155
|
/*
|
|
184
156
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -494,7 +466,7 @@
|
|
|
494
466
|
});
|
|
495
467
|
}
|
|
496
468
|
var lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
497
|
-
/** version: 2.35.
|
|
469
|
+
/** version: 2.35.2 */
|
|
498
470
|
|
|
499
471
|
/*
|
|
500
472
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -3872,14 +3844,14 @@
|
|
|
3872
3844
|
}
|
|
3873
3845
|
} else {
|
|
3874
3846
|
if (!(this instanceof HTMLBodyElement)) {
|
|
3875
|
-
var
|
|
3876
|
-
return isUndefined(
|
|
3847
|
+
var _elm = nodeList[0];
|
|
3848
|
+
return isUndefined(_elm) ? null : _elm;
|
|
3877
3849
|
}
|
|
3878
3850
|
// element belonging to the document
|
|
3879
|
-
var
|
|
3851
|
+
var _elm2 = ArrayFind.call(nodeList, function (elm) {
|
|
3880
3852
|
return isUndefined(getNodeOwnerKey(elm)) || isGlobalPatchingSkipped(_this3);
|
|
3881
3853
|
});
|
|
3882
|
-
return isUndefined(
|
|
3854
|
+
return isUndefined(_elm2) ? null : _elm2;
|
|
3883
3855
|
}
|
|
3884
3856
|
}
|
|
3885
3857
|
function getFilteredArrayOfNodes(context, unfilteredNodes) {
|
|
@@ -4690,8 +4662,7 @@
|
|
|
4690
4662
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
4691
4663
|
*/
|
|
4692
4664
|
// Only used in LWC's Karma tests
|
|
4693
|
-
|
|
4694
|
-
if (process.env.NODE_ENV !== 'production' && typeof __karma__ !== 'undefined') {
|
|
4665
|
+
if (process.env.NODE_ENV === 'test-karma-lwc') {
|
|
4695
4666
|
window.addEventListener('test-dummy-flag', function () {
|
|
4696
4667
|
var hasFlag = false;
|
|
4697
4668
|
if (lwcRuntimeFlags.DUMMY_TEST_FLAG) {
|
|
@@ -4705,6 +4676,6 @@
|
|
|
4705
4676
|
}));
|
|
4706
4677
|
});
|
|
4707
4678
|
}
|
|
4708
|
-
/** version: 2.35.
|
|
4679
|
+
/** version: 2.35.2 */
|
|
4709
4680
|
|
|
4710
4681
|
})();
|