lwc 2.37.0 → 2.37.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 +2228 -2519
- package/dist/engine-dom/iife/es2017/engine-dom.js +8217 -8508
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +6603 -6857
- package/dist/engine-dom/iife/es5/engine-dom.js +8142 -8179
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +6730 -6721
- package/dist/engine-dom/umd/es2017/engine-dom.js +8218 -8509
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +6604 -6858
- package/dist/engine-dom/umd/es5/engine-dom.js +8143 -8180
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +6731 -6722
- package/dist/engine-server/commonjs/es2017/engine-server.js +1966 -2235
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +1966 -2235
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +211 -233
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +4598 -4620
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +9 -9
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +4422 -4423
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +4328 -4352
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +9 -9
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +4170 -4172
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +4599 -4621
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +9 -9
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +4423 -4424
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +4329 -4353
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +9 -9
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +4171 -4173
- package/dist/wire-service/esm/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/iife/es5/wire-service.js +2 -2
- package/dist/wire-service/iife/es5/wire-service.min.js +1 -1
- package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es5/wire-service.js +2 -2
- package/dist/wire-service/umd/es5/wire-service.min.js +1 -1
- package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
- package/package.json +7 -7
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";var e,t;function n(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,o(r.key),r)}}function l(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e){var t=function(e,t){if("object"!==a(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===a(t)?t:String(t)}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var i=Object.assign,u=Object.create,c=Object.defineProperties,s=Object.defineProperty,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.hasOwnProperty,g=Object.setPrototypeOf,m=Array.prototype,v=m.filter,b=m.find,d=m.indexOf,y=m.map,E=m.push,w=m.reduce,T=m.reverse,N=m.slice,L=m.splice,M=m.forEach,S=String.prototype.charCodeAt;function C(e){return void 0===e}function O(e){return null===e}function H(e){return!0===e}function R(e){return!1===e}function D(e){return"function"==typeof e}function P(e){return"object"===a(e)}var I,A,B="object"===("undefined"==typeof globalThis?"undefined":a(globalThis))?globalThis:window,$="$shadowResolver$",_="$$ShadowResolverKey$$",x="$shadowStaticNodeKey$",k="$shadowToken$",F="$$ShadowTokenKey$$",j="$nativeGetElementById$",W="$nativeQuerySelectorAll$",G=Node,U=G.prototype,K=G.DOCUMENT_POSITION_CONTAINED_BY,q=G.DOCUMENT_POSITION_PRECEDING,Y=G.DOCUMENT_POSITION_FOLLOWING,X=G.ELEMENT_NODE,V=G.TEXT_NODE,Q=G.CDATA_SECTION_NODE,z=G.PROCESSING_INSTRUCTION_NODE,J=G.COMMENT_NODE,Z=U.appendChild,ee=U.cloneNode,te=U.compareDocumentPosition,ne=U.insertBefore,re=U.removeChild,le=U.replaceChild,oe=U.hasChildNodes,ae=HTMLElement.prototype.contains,ie=f(U,"firstChild").get,ue=f(U,"lastChild").get,ce=f(U,"textContent").get,se=f(U,"parentNode").get,fe=f(U,"ownerDocument").get,pe=h.call(U,"parentElement")?f(U,"parentElement").get:f(HTMLElement.prototype,"parentElement").get,he=f(U,"textContent").set,ge=h.call(U,"childNodes")?f(U,"childNodes").get:f(HTMLElement.prototype,"childNodes").get,me=h.call(U,"isConnected")?f(U,"isConnected").get:function(){var e=fe.call(this);return null===e||0!=(te.call(e,this)&K)},ve=Element.prototype,be=ve.getAttribute,de=ve.getBoundingClientRect,ye=ve.getElementsByTagName,Ee=ve.getElementsByTagNameNS,we=ve.hasAttribute,Te=ve.querySelector,Ne=ve.querySelectorAll,Le=ve.removeAttribute,Me=ve.setAttribute,Se=h.call(Element.prototype,"attachShadow")?Element.prototype.attachShadow:function(){throw new TypeError("attachShadow() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill and use Lightning Web Components")},Ce=f(Element.prototype,"childElementCount").get,Oe=f(Element.prototype,"firstElementChild").get,He=f(Element.prototype,"lastElementChild").get,Re=f(HTMLElement.prototype,"innerText"),De=Re?Re.get:null,Pe=Re?Re.set:null,Ie=f(HTMLElement.prototype,"outerText"),Ae=Ie?Ie.get:null,Be=Ie?Ie.set:null,$e=h.call(Element.prototype,"innerHTML")?f(Element.prototype,"innerHTML"):f(HTMLElement.prototype,"innerHTML"),_e=$e.get,xe=$e.set,ke=h.call(Element.prototype,"outerHTML")?f(Element.prototype,"outerHTML"):f(HTMLElement.prototype,"outerHTML"),Fe=ke.get,je=ke.set,We=f(Element.prototype,"tagName").get,Ge=f(HTMLElement.prototype,"tabIndex"),Ue=Ge.get,Ke=Ge.set,qe=h.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,Ye=h.call(Element.prototype,"children")?f(Element.prototype,"children").get:f(HTMLElement.prototype,"children").get,Xe=HTMLElement.prototype.getElementsByClassName,Ve=h.call(Element.prototype,"shadowRoot")?f(Element.prototype,"shadowRoot").get:function(){return null},Qe=h.call(Element.prototype,"assignedSlot")?f(Element.prototype,"assignedSlot").get:function(){return null};"undefined"!=typeof HTMLSlotElement?(I=HTMLSlotElement.prototype.assignedNodes,A=HTMLSlotElement.prototype.assignedElements):(I=function(){throw new TypeError("assignedNodes() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")},A=function(){throw new TypeError("assignedElements() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")});var ze=f(Event.prototype,"target").get,Je=f(Event.prototype,"currentTarget").get,Ze=f(FocusEvent.prototype,"relatedTarget").get,et=h.call(Event.prototype,"composedPath")?Event.prototype.composedPath:function(){return[]},tt=f(Document.prototype,"activeElement").get,nt=h.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,rt=h.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,lt=f(Document.prototype,"defaultView").get,ot=Document.prototype,at=ot.querySelectorAll,it=ot.getElementById,ut=ot.getElementsByClassName,ct=ot.getElementsByTagName,st=ot.getElementsByTagNameNS,ft=HTMLDocument.prototype.getElementsByName,pt=window,ht=pt.addEventListener,gt=pt.removeEventListener,mt=MutationObserver,vt=mt.prototype.observe,bt=null;"undefined"!=typeof ShadowRoot&&(bt=ShadowRoot);var dt=!O(bt),yt=O(bt)?function(){return!1}:function(e){return e instanceof bt};var Et,wt=Document.prototype.createElement;function Tt(e){var t=fe.call(e);return null===t?e:t}function Nt(e){var t=Tt(e),n=lt.call(t);if(null===n)throw new TypeError;return n}function Lt(e){if(C(Et)){var t=Tt(e);Et=t.body&&"temporary-bypass"===be.call(t.body,"data-global-patching-bypass")}return H(Et)}function Mt(e){var t=e.length,n=[];if(t>0)for(var r=0;r<t;r++)n[r]=e[r];return n}"undefined"==typeof HTMLSlotElement&&function(){var e=l((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}));g(e,HTMLElement.constructor),g(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,s(Document.prototype,"createElement",{value:function(t,n){var r=wt.apply(this,N.call(arguments));return 4===t.length&&115===S.call(t,0)&&108===S.call(t,1)&&111===S.call(t,2)&&116===S.call(t,3)&&g(r,e.prototype),r}})}();var St="undefined"!=typeof EventTarget?EventTarget.prototype:G.prototype,Ct=St.addEventListener,Ot=St.dispatchEvent,Ht=St.removeEventListener;B.lwcRuntimeFlags||Object.defineProperty(B,"lwcRuntimeFlags",{value:u(null)});var Rt=B.lwcRuntimeFlags,Dt="$$HostElementKey$$",Pt="$$ShadowedNodeKey$$";function It(e,t,n){var r=e,l=n.value;r[t]=l}function At(e){return e[Dt]}function Bt(e){for(var t,n=e;!O(n);){if(!C(t=At(n)))return t;if(n=se.call(n),Rt.ENABLE_LIGHT_GET_ROOT_NODE_PATCH&&!O(n)&&jt(n))return}}function $t(e){return e[Pt]}function _t(e){return!C(At(e))}function xt(e){for(var t=pe.call(e);!O(t)&&Wt(t);)e=t,t=pe.call(e);return e}function kt(e,t){for(var n=$t(e),r=t instanceof Element?t:pe.call(t);!O(r)&&r!==e;){var l=Bt(r),o=pe.call(r);if(l===n)return Wt(r);if(o===e)return!1;if(O(o)||Bt(o)===l)r=o;else{if(!Wt(o))return!1;if(!O(r=Ft(xt(o)))){if(r===e)return!0;if(Bt(r)===n)return!0}}}return!1}function Ft(e){if(!(e instanceof G))return null;var t=Bt(e);if(C(t))return null;for(var n=e;!O(n)&&$t(n)!==t;)n=se.call(n);return O(n)?null:n}function jt(e){return Wt(e)&&_t(e)}function Wt(e){return e instanceof HTMLSlotElement}function Gt(e,t){var n=Bt(t);if(C(n)){if(Rt.ENABLE_LIGHT_GET_ROOT_NODE_PATCH){var r=se.call(t);if(!O(r)&&jt(r))return!1}return!0}return $t(e)===n}function Ut(e){var t=tr(e);return Yt(t,Mt(ge.call(t)))}function Kt(e,t){for(var n=[],r=0,l=t.length;r<l;r+=1){var o=t[r];!Gt(e,o)&&kt(e,o)&&E.call(n,o)}return n}function qt(e,t){for(var n=0,r=t.length;n<r;n+=1){var l=t[n];if(!Gt(e,l)&&kt(e,l))return l}return null}function Yt(e,t){for(var n=[],r=0,l=t.length;r<l;r+=1){var o=t[r];Gt(e,o)&&E.call(n,o)}return n}function Xt(e,t){for(var n=0,r=t.length;n<r;n+=1)if(Gt(e,t[n]))return t[n];return null}function Vt(e){if(!rr(e)&&!Wt(e))return Mt(ge.call(e));if(rr(e)){var t=Mt(Ne.call(e,"slot")),n=Jn(nr(e));return w.call(t,(function(e,t){return n===Jn(t)&&E.apply(e,Qt(t)),e}),[])}var r=Mt(ge.call(e)),l=Jn(e);return v.call(r,(function(e){return l===Jn(e)}))}function Qt(e){var t=Ft(e);if(O(t))return[];var n=Mt(ge.call(e));return v.call(n,(function(e){return!_t(e)||!Gt(t,e)}))}var zt=/[&\u00A0"]/g,Jt=/[&\u00A0<>]/g,Zt=String.prototype,en=Zt.replace,tn=Zt.toLowerCase;function nn(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" ";default:return""}}function rn(e){return en.call(e,zt,nn)}var ln=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),on=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function an(e){switch(e.nodeType){case X:for(var t,n=e.attributes,r=We.call(e),l="<"+tn.call(r),o=0;t=n[o];o++)l+=" "+t.name+'="'+rn(t.value)+'"';return l+=">",ln.has(r)?l:l+function(e){for(var t="",n=Vt(e),r=0,l=n.length;r<l;r+=1)t+=an(n[r]);return t}(e)+"</"+tn.call(r)+">";case V:var a=e.data,i=e.parentNode;return i instanceof Element&&on.has(We.call(i))?a:function(e){return en.call(e,Jt,nn)}(a);case Q:return"<!CDATA[[".concat(e.data,"]]>");case z:return"<?".concat(e.target," ").concat(e.data,"?>");case J:return"\x3c!--".concat(e.data,"--\x3e");default:return""}}function un(e){if(e.nodeType===X){for(var t=Vt(e),n="",r=0,l=t.length;r<l;r+=1){var o=t[r];o.nodeType!==J&&(n+=un(o))}return n}return e.nodeValue}var cn=new WeakMap;function sn(){throw new TypeError("Illegal constructor")}function fn(e){var t=u(sn.prototype);return cn.set(t,e),M.call(e,(function(e,n){s(t,n,{value:e,enumerable:!0,configurable:!0})})),t}sn.prototype=u(NodeList.prototype,(n(e={constructor:{writable:!0,configurable:!0,value:sn},item:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return this[e]}},length:{enumerable:!0,configurable:!0,get:function(){return cn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){M.call(cn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return y.call(cn.get(this),(function(e,t){return[t,e]}))}},keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return y.call(cn.get(this),(function(e,t){return t}))}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return cn.get(this)}}},Symbol.iterator,{writable:!0,configurable:!0,value:function(){var e=this,t=0;return{next:function(){var n=cn.get(e);return t<n.length?{value:n[t++],done:!1}:{done:!0}}}}}),n(e,Symbol.toStringTag,{configurable:!0,get:function(){return"NodeList"}}),n(e,"toString",{writable:!0,configurable:!0,value:function(){return"[object NodeList]"}}),e)),g(sn,NodeList);var pn=function(e,t){for(var n;!C(n=e.host);){var r=n.getRootNode();if(r===t)return n;e=r}};function hn(e,t,n,r){var l=rt.call(t,n,r),o=[],a=function(e){for(var t,n=[],r=e.getRootNode();!C(r);)n.push(r),r=null===(t=r.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!O(l))for(var i=0;i<l.length;i++){var u=l[i];if(!jt(u)){var c=u.getRootNode();if(-1===d.call(a,c)){var s=pn(c,a[0]);C(s)||-1!==d.call(l,s)||-1!==d.call(o,s)||E.call(o,s)}else E.call(o,u)}}return o}var gn=new WeakMap;function mn(){throw new TypeError("Illegal constructor")}function vn(e){var t=u(mn.prototype);return gn.set(t,e),M.call(e,(function(e,n){s(t,n,{value:e,enumerable:!0,configurable:!0})})),t}function bn(e){return jt(e)||rr(e)}function dn(e,t){var n=Ft(e);if(t===n)return nr(n);if(t instanceof Element){if(Bt(e)===Bt(t))return t;if(!O(n)&&Wt(t)){var r=Ft(t);if(!O(r)&&Gt(n,r))return r}}return null}function yn(){return Dn(this).length>0}function En(){return Dn(this)[0]||null}function wn(){var e=Dn(this);return e[e.length-1]||null}function Tn(){return un(this)}function Nn(){var e=se.call(this);return O(e)?e:dn(this,e)}function Ln(){var e=se.call(this);if(O(e))return null;var t=dn(this,e);return t instanceof Element?t:null}function Mn(e){return this===e?0:this.getRootNode()===e?10:At(this)!==At(e)?35:te.call(this,e)}function Sn(e){return null!=e&&At(this)===At(e)&&0!=(te.call(this,e)&K)}function Cn(e){var t=ee.call(this,!1);if(!e)return t;for(var n=Dn(this),r=0,l=n.length;r<l;r+=1)t.appendChild(n[r].cloneNode(!0));return t}function On(){if(rr(this)){var e=Ft(this);return fn(O(e)?[]:Yt(e,Vt(this)))}return ge.call(this)}mn.prototype=u(HTMLCollection.prototype,(n(t={constructor:{writable:!0,configurable:!0,value:mn},item:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return this[e]}},length:{enumerable:!0,configurable:!0,get:function(){return gn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value:function(e){if(""===e)return null;for(var t=gn.get(this),n=0,r=t.length;n<r;n++){var l=t[r];if(e===be.call(l,"id")||e===be.call(l,"name"))return l}return null}}},Symbol.toStringTag,{configurable:!0,get:function(){return"HTMLCollection"}}),n(t,"toString",{writable:!0,configurable:!0,value:function(){return"[object HTMLCollection]"}}),t)),g(mn,HTMLCollection);var Hn=G.prototype.getRootNode,Rn=C(Hn)?function(){for(var e,t=this;!O(e=se.call(t));)t=e;return t}:Hn;c(G.prototype,{firstChild:{get:function(){return bn(this)?En.call(this):ie.call(this)},enumerable:!0,configurable:!0},lastChild:{get:function(){return bn(this)?wn.call(this):ue.call(this)},enumerable:!0,configurable:!0},textContent:{get:function(){return _t(this)||rr(this)?Tn.call(this):ce.call(this)},set:function(e){he.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get:function(){if(_t(this))return Nn.call(this);var e=se.call(this);return!O(e)&&jt(e)?Ft(e):e},enumerable:!0,configurable:!0},parentElement:{get:function(){if(_t(this))return Ln.call(this);var e=pe.call(this);return!O(e)&&jt(e)?Ft(e):e},enumerable:!0,configurable:!0},childNodes:{get:function(){return bn(this)?On.call(this):ge.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value:function(){return bn(this)?yn.call(this):oe.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value:function(e){return Lt(this)?te.call(this,e):Mn.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value:function(e){return this===e||null!=e&&(_t(this)||rr(this)?Sn.call(this,e):ae.call(this,e))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value:function(e){return _t(this)||rr(this)?Cn.call(this,e):ee.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){var t,n;return H(!C(e)&&!!e.composed)?Rn.call(this,e):O(n=Ft(t=this))?Rn.call(t):nr(n)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get:function(){return me.call(this)}}});var Dn=function(e){return e.childNodes};h.call(HTMLElement.prototype,"contains")&&s(HTMLElement.prototype,"contains",f(G.prototype,"contains")),h.call(HTMLElement.prototype,"parentElement")&&s(HTMLElement.prototype,"parentElement",f(G.prototype,"parentElement"));var Pn=new WeakMap,In=new WeakMap;function An(e,t,n){if(t===n)return!0;var r=In.get(e);return C(r)&&(r=e.composedPath(),In.set(e,r)),r.includes(n)}function Bn(e){if(!function(e){return D(e)||P(e)&&!O(e)&&D(e.handleEvent)}(e))return e;var t=Pn.get(e);return C(t)&&(t=function(t){var n=Je.call(t);if(An(t,kn(t),n))return D(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},Pn.set(e,t)),t}var $n=new WeakMap,_n=new WeakMap;function xn(e){var t=_n.get(e);return C(t)&&(t=u(null),_n.set(e,t)),t}function kn(e){var t;return null!==(t=cr.get(e))&&void 0!==t?t:ze.call(e)}var Fn=new WeakMap;function jn(e){if(!D(e))throw new TypeError;var t=Fn.get(e);return C(t)&&((t=function(t){var n=Je.call(t);yt(n)||(n=nr(n)),An(t,kn(t),n)&&e.call(n,t)}).placement=1,Fn.set(e,t)),t}var Wn=new WeakMap;function Gn(e){if(!D(e))throw new TypeError;var t=Wn.get(e);return C(t)&&((t=function(t){var n=Je.call(t);An(t,kn(t),n)&&e.call(n,t)}).placement=0,Wn.set(e,t)),t}function Un(e){var t=!1,n=!1,r=e.type,l=e.stopImmediatePropagation,o=e.stopPropagation,a=xn(Je.call(e))[r];s(e,"stopImmediatePropagation",{value:function(){t=!0,l.call(e)},writable:!0,enumerable:!0,configurable:!0}),s(e,"stopPropagation",{value:function(){n=!0,o.call(e)},writable:!0,enumerable:!0,configurable:!0});var i=N.call(a);function u(n){M.call(i,(function(r){R(t)&&r.placement===n&&-1!==d.call(a,r)&&r.call(void 0,e)}))}$n.set(e,1),u(1),R(t)&&R(n)&&($n.set(e,0),u(0)),$n.set(e,2)}function Kn(e,t,n){var r=xn(e),l=r[t];C(l)&&(l=r[t]=[]),-1===d.call(l,n)&&(0===l.length&&Ct.call(e,t,Un),E.call(l,n))}function qn(e,t,n){var r,l;C(l=xn(e)[t])||-1===(r=d.call(l,n))||(L.call(l,r,1),0===l.length&&Ht.call(e,t,Un))}function Yn(e,t,n){D(t)&&Kn(this,e,Gn(t))}function Xn(e,t,n){D(t)&&qn(this,e,Gn(t))}var Vn=new WeakMap,Qn=document.createDocumentFragment;function zn(e){var t=Vn.get(e);if(C(t))throw new TypeError;return t}function Jn(e){return e[$]}function Zn(e,t){e[$]=t}function er(e){return zn(e).delegatesFocus}function tr(e){return zn(e).host}function nr(e){return zn(e).shadowRoot}function rr(e){var t=Vn.get(e);return!C(t)&&e===t.host}function lr(e){var t=Vn.get(e);return!C(t)&&e===t.shadowRoot}s(G.prototype,$,{set:function(e){var t,n;C(e)||(this[_]=e,t=this,n=e.nodeKey,It(t,Dt,{value:n,configurable:!0}))},get:function(){return this[_]},configurable:!0,enumerable:!0}),s(B,"$isNativeShadowRootDefined$",{value:dt}),C(B[j])&&s(B,j,{value:it}),C(B[W])&&s(B,W,{value:at});var or=0;function ar(e,t){if(Vn.has(e))throw new Error("Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.");var n=t.mode,r=t.delegatesFocus,l=Tt(e),o=Qn.call(l),a={mode:n,delegatesFocus:!!r,host:e,shadowRoot:o};Vn.set(o,a),Vn.set(e,a);var i=function(){return o},u=i.nodeKey=or++;return It(e,Pt,{value:u}),Zn(o,i),g(o,fr.prototype),o}var ir={constructor:{writable:!0,configurable:!0,value:fr},toString:{writable:!0,configurable:!0,value:function(){return"[object ShadowRoot]"}},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},ur={activeElement:{enumerable:!0,configurable:!0,get:function(){var e=tr(this),t=Tt(e),n=tt.call(t);if(O(n))return n;if(0==(te.call(e,n)&K))return null;for(var r=n;!Gt(e,r);)r=pe.call(r);return Wt(r)?null:r}},delegatesFocus:{configurable:!0,get:function(){return zn(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return gr(this,Tt(tr(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return hn(this,Tt(tr(this)),e,t)}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "getSelection" on ShadowRoot.')}},host:{enumerable:!0,configurable:!0,get:function(){return tr(this)}},mode:{configurable:!0,get:function(){return zn(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get:function(){throw new Error}}},cr=new WeakMap,sr={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return ne.call(tr(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return re.call(tr(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return Z.call(tr(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return le.call(tr(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){D(n)&&Kn(tr(e),t,jn(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return cr.set(e,this),Ot.apply(tr(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){D(n)&&qn(tr(e),t,jn(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get:function(){return tr(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get:function(){return fn(Ut(this))}},cloneNode:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "cloneNode" on ShadowRoot.')}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value:function(e){var t=tr(this);return this===e?0:this.contains(e)?20:te.call(t,e)&K?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value:function(e){if(this===e)return!0;var t=tr(this);return 0!=(te.call(t,e)&K)&&Gt(t,e)}},firstChild:{enumerable:!0,configurable:!0,get:function(){return Dn(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get:function(){var e=Dn(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value:function(){return Dn(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get:function(){return me.call(tr(this))}},nextSibling:{enumerable:!0,configurable:!0,get:function(){return null}},previousSibling:{enumerable:!0,configurable:!0,get:function(){return null}},nodeName:{enumerable:!0,configurable:!0,get:function(){return"#document-fragment"}},nodeType:{enumerable:!0,configurable:!0,get:function(){return 11}},nodeValue:{enumerable:!0,configurable:!0,get:function(){return null}},ownerDocument:{enumerable:!0,configurable:!0,get:function(){return tr(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:function(){return null}},parentNode:{enumerable:!0,configurable:!0,get:function(){return null}},textContent:{enumerable:!0,configurable:!0,get:function(){for(var e=Dn(this),t="",n=0,r=e.length;n<r;n+=1){var l=e[n];l.nodeType!==J&&(t+=un(l))}return t},set:function(e){var t=tr(this);he.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return!C(e)&&H(e.composed)?tr(this).getRootNode(e):this}}};function fr(){throw new TypeError("Illegal constructor")}function pr(e,t){var n,r=[];if(e instanceof Window)n=e;else{if(!(e instanceof G))return r;n=e.getRootNode()}for(var l,o=e;!O(o);)if(r.push(o),o instanceof Element||o instanceof Text){var a=o.assignedSlot;o=O(a)?o.parentNode:a}else o=!lr(o)&&!yt(o)||!t&&o===n?o instanceof G?o.parentNode:null:o.host;return l=e instanceof Window?e.document:Tt(e),r[r.length-1]===l&&r.push(window),r}
|
|
1
|
+
!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";var e,t;function n(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,o(r.key),r)}}function l(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e){var t=function(e,t){if("object"!==a(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===a(t)?t:String(t)}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var i=Object.assign,u=Object.create,c=Object.defineProperties,s=Object.defineProperty,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.hasOwnProperty,g=Object.setPrototypeOf,m=Array.prototype,b=m.filter,v=m.find,d=m.indexOf,y=m.map,E=m.push,w=m.reduce,T=m.reverse,N=m.slice,L=m.splice,M=m.forEach,S=String.prototype.charCodeAt;function C(e){return void 0===e}function O(e){return null===e}function H(e){return!0===e}function R(e){return!1===e}function D(e){return"function"==typeof e}function P(e){return"object"===a(e)}var I="object"===("undefined"==typeof globalThis?"undefined":a(globalThis))?globalThis:window,A="$shadowResolver$",B="$$ShadowResolverKey$$",$="$shadowStaticNodeKey$",_="$shadowToken$",x="$$ShadowTokenKey$$",k="$$lwc-synthetic-mode",F="$nativeGetElementById$",j="$nativeQuerySelectorAll$";I.lwcRuntimeFlags||Object.defineProperty(I,"lwcRuntimeFlags",{value:u(null)});var W,G,U=Node,K=U.prototype,q=U.DOCUMENT_POSITION_CONTAINED_BY,Y=U.DOCUMENT_POSITION_PRECEDING,X=U.DOCUMENT_POSITION_FOLLOWING,V=U.ELEMENT_NODE,Q=U.TEXT_NODE,z=U.CDATA_SECTION_NODE,J=U.PROCESSING_INSTRUCTION_NODE,Z=U.COMMENT_NODE,ee=K.appendChild,te=K.cloneNode,ne=K.compareDocumentPosition,re=K.insertBefore,le=K.removeChild,oe=K.replaceChild,ae=K.hasChildNodes,ie=HTMLElement.prototype.contains,ue=f(K,"firstChild").get,ce=f(K,"lastChild").get,se=f(K,"textContent").get,fe=f(K,"parentNode").get,pe=f(K,"ownerDocument").get,he=h.call(K,"parentElement")?f(K,"parentElement").get:f(HTMLElement.prototype,"parentElement").get,ge=f(K,"textContent").set,me=h.call(K,"childNodes")?f(K,"childNodes").get:f(HTMLElement.prototype,"childNodes").get,be=h.call(K,"isConnected")?f(K,"isConnected").get:function(){var e=pe.call(this);return null===e||0!=(ne.call(e,this)&q)},ve=Element.prototype,de=ve.getAttribute,ye=ve.getBoundingClientRect,Ee=ve.getElementsByTagName,we=ve.getElementsByTagNameNS,Te=ve.hasAttribute,Ne=ve.querySelector,Le=ve.querySelectorAll,Me=ve.removeAttribute,Se=ve.setAttribute,Ce=h.call(Element.prototype,"attachShadow")?Element.prototype.attachShadow:function(){throw new TypeError("attachShadow() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill and use Lightning Web Components")},Oe=f(Element.prototype,"childElementCount").get,He=f(Element.prototype,"firstElementChild").get,Re=f(Element.prototype,"lastElementChild").get,De=f(HTMLElement.prototype,"innerText"),Pe=De?De.get:null,Ie=De?De.set:null,Ae=f(HTMLElement.prototype,"outerText"),Be=Ae?Ae.get:null,$e=Ae?Ae.set:null,_e=h.call(Element.prototype,"innerHTML")?f(Element.prototype,"innerHTML"):f(HTMLElement.prototype,"innerHTML"),xe=_e.get,ke=_e.set,Fe=h.call(Element.prototype,"outerHTML")?f(Element.prototype,"outerHTML"):f(HTMLElement.prototype,"outerHTML"),je=Fe.get,We=Fe.set,Ge=f(Element.prototype,"tagName").get,Ue=f(HTMLElement.prototype,"tabIndex"),Ke=Ue.get,qe=Ue.set,Ye=h.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,Xe=h.call(Element.prototype,"children")?f(Element.prototype,"children").get:f(HTMLElement.prototype,"children").get,Ve=HTMLElement.prototype.getElementsByClassName,Qe=h.call(Element.prototype,"shadowRoot")?f(Element.prototype,"shadowRoot").get:function(){return null},ze=h.call(Element.prototype,"assignedSlot")?f(Element.prototype,"assignedSlot").get:function(){return null};"undefined"!=typeof HTMLSlotElement?(W=HTMLSlotElement.prototype.assignedNodes,G=HTMLSlotElement.prototype.assignedElements):(W=function(){throw new TypeError("assignedNodes() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")},G=function(){throw new TypeError("assignedElements() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")});var Je=f(Event.prototype,"target").get,Ze=f(Event.prototype,"currentTarget").get,et=f(FocusEvent.prototype,"relatedTarget").get,tt=h.call(Event.prototype,"composedPath")?Event.prototype.composedPath:function(){return[]},nt=f(Document.prototype,"activeElement").get,rt=h.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,lt=h.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,ot=f(Document.prototype,"defaultView").get,at=Document.prototype,it=at.querySelectorAll,ut=at.getElementById,ct=at.getElementsByClassName,st=at.getElementsByTagName,ft=at.getElementsByTagNameNS,pt=HTMLDocument.prototype.getElementsByName,ht=window,gt=ht.addEventListener,mt=ht.removeEventListener,bt=MutationObserver,vt=bt.prototype.observe,dt=null;"undefined"!=typeof ShadowRoot&&(dt=ShadowRoot);var yt=!O(dt),Et=O(dt)?function(){return!1}:function(e){return e instanceof dt};var wt,Tt=Document.prototype.createElement,Nt=115,Lt=108,Mt=111,St=116;function Ct(e){var t=pe.call(e);return null===t?e:t}function Ot(e){var t=Ct(e),n=ot.call(t);if(null===n)throw new TypeError;return n}function Ht(e){if(C(wt)){var t=Ct(e);wt=t.body&&"temporary-bypass"===de.call(t.body,"data-global-patching-bypass")}return H(wt)}function Rt(e){var t=e.length,n=[];if(t>0)for(var r=0;r<t;r++)n[r]=e[r];return n}"undefined"==typeof HTMLSlotElement&&function(){var e=l((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}));g(e,HTMLElement.constructor),g(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,s(Document.prototype,"createElement",{value:function(t,n){var r=Tt.apply(this,N.call(arguments));return 4===t.length&&S.call(t,0)===Nt&&S.call(t,1)===Lt&&S.call(t,2)===Mt&&S.call(t,3)===St&&g(r,e.prototype),r}})}();var Dt="undefined"!=typeof EventTarget?EventTarget.prototype:U.prototype,Pt=Dt.addEventListener,It=Dt.dispatchEvent,At=Dt.removeEventListener,Bt="$$HostElementKey$$",$t="$$ShadowedNodeKey$$";function _t(e,t,n){var r=e,l=n.value;r[t]=l}function xt(e){return e[Bt]}function kt(e){for(var t,n=e;!O(n);){if(!C(t=xt(n)))return t;if(n=fe.call(n),lwcRuntimeFlags.ENABLE_LIGHT_GET_ROOT_NODE_PATCH&&!O(n)&&Kt(n))return}}function Ft(e){return e[$t]}function jt(e){return!C(xt(e))}function Wt(e){for(var t=he.call(e);!O(t)&&qt(t);)e=t,t=he.call(e);return e}function Gt(e,t){for(var n=Ft(e),r=t instanceof Element?t:he.call(t);!O(r)&&r!==e;){var l=kt(r),o=he.call(r);if(l===n)return qt(r);if(o===e)return!1;if(O(o)||kt(o)===l)r=o;else{if(!qt(o))return!1;if(!O(r=Ut(Wt(o)))){if(r===e)return!0;if(kt(r)===n)return!0}}}return!1}function Ut(e){if(!(e instanceof U))return null;var t=kt(e);if(C(t))return null;for(var n=e;!O(n)&&Ft(n)!==t;)n=fe.call(n);return O(n)?null:n}function Kt(e){return qt(e)&&jt(e)}function qt(e){return e instanceof HTMLSlotElement}function Yt(e,t){var n=kt(t);if(C(n)){if(lwcRuntimeFlags.ENABLE_LIGHT_GET_ROOT_NODE_PATCH){var r=fe.call(t);if(!O(r)&&Kt(r))return!1}return!0}return Ft(e)===n}function Xt(e){var t=lr(e);return Qt(t,Rt(me.call(t)))}function Vt(e,t){for(var n=[],r=0,l=t.length;r<l;r+=1){var o=t[r];!Yt(e,o)&&Gt(e,o)&&E.call(n,o)}return n}function Qt(e,t){for(var n=[],r=0,l=t.length;r<l;r+=1){var o=t[r];Yt(e,o)&&E.call(n,o)}return n}function zt(e,t){for(var n=0,r=t.length;n<r;n+=1)if(Yt(e,t[n]))return t[n];return null}function Jt(e){if(!ar(e)&&!qt(e))return Rt(me.call(e));if(ar(e)){var t=Rt(Le.call(e,"slot")),n=tr(or(e));return w.call(t,(function(e,t){return n===tr(t)&&E.apply(e,Zt(t)),e}),[])}var r=Rt(me.call(e)),l=tr(e);return b.call(r,(function(e){return l===tr(e)}))}function Zt(e){var t=Ut(e);if(O(t))return[];var n=Rt(me.call(e));return b.call(n,(function(e){return!jt(e)||!Yt(t,e)}))}var en=/[&\u00A0"]/g,tn=/[&\u00A0<>]/g,nn=String.prototype,rn=nn.replace,ln=nn.toLowerCase;function on(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" ";default:return""}}function an(e){return rn.call(e,en,on)}var un=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),cn=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function sn(e){switch(e.nodeType){case V:for(var t,n=e.attributes,r=Ge.call(e),l="<"+ln.call(r),o=0;t=n[o];o++)l+=" "+t.name+'="'+an(t.value)+'"';return l+=">",un.has(r)?l:l+function(e){for(var t="",n=Jt(e),r=0,l=n.length;r<l;r+=1)t+=sn(n[r]);return t}(e)+"</"+ln.call(r)+">";case Q:var a=e.data,i=e.parentNode;return i instanceof Element&&cn.has(Ge.call(i))?a:function(e){return rn.call(e,tn,on)}(a);case z:return"<!CDATA[[".concat(e.data,"]]>");case J:return"<?".concat(e.target," ").concat(e.data,"?>");case Z:return"\x3c!--".concat(e.data,"--\x3e");default:return""}}function fn(e){if(e.nodeType===V){for(var t=Jt(e),n="",r=0,l=t.length;r<l;r+=1){var o=t[r];o.nodeType!==Z&&(n+=fn(o))}return n}return e.nodeValue}var pn=new WeakMap;function hn(){throw new TypeError("Illegal constructor")}function gn(e){var t=u(hn.prototype);return pn.set(t,e),M.call(e,(function(e,n){s(t,n,{value:e,enumerable:!0,configurable:!0})})),t}hn.prototype=u(NodeList.prototype,(n(e={constructor:{writable:!0,configurable:!0,value:hn},item:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return this[e]}},length:{enumerable:!0,configurable:!0,get:function(){return pn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){M.call(pn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return y.call(pn.get(this),(function(e,t){return[t,e]}))}},keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return y.call(pn.get(this),(function(e,t){return t}))}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return pn.get(this)}}},Symbol.iterator,{writable:!0,configurable:!0,value:function(){var e=this,t=0;return{next:function(){var n=pn.get(e);return t<n.length?{value:n[t++],done:!1}:{done:!0}}}}}),n(e,Symbol.toStringTag,{configurable:!0,get:function(){return"NodeList"}}),n(e,"toString",{writable:!0,configurable:!0,value:function(){return"[object NodeList]"}}),e)),g(hn,NodeList);var mn=function(e,t){for(var n;!C(n=e.host);){var r=n.getRootNode();if(r===t)return n;e=r}};function bn(e,t,n,r){var l=lt.call(t,n,r),o=[],a=function(e){for(var t,n=[],r=e.getRootNode();!C(r);)n.push(r),r=null===(t=r.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!O(l))for(var i=0;i<l.length;i++){var u=l[i];if(!Kt(u)){var c=u.getRootNode();if(-1===d.call(a,c)){var s=mn(c,a[0]);C(s)||-1!==d.call(l,s)||-1!==d.call(o,s)||E.call(o,s)}else E.call(o,u)}}return o}var vn=new WeakMap;function dn(){throw new TypeError("Illegal constructor")}function yn(e){var t=u(dn.prototype);return vn.set(t,e),M.call(e,(function(e,n){s(t,n,{value:e,enumerable:!0,configurable:!0})})),t}function En(e){return Kt(e)||ar(e)}function wn(e,t){var n=Ut(e);if(t===n)return or(n);if(t instanceof Element){if(kt(e)===kt(t))return t;if(!O(n)&&qt(t)){var r=Ut(t);if(!O(r)&&Yt(n,r))return r}}return null}function Tn(){return An(this).length>0}function Nn(){return An(this)[0]||null}function Ln(){var e=An(this);return e[e.length-1]||null}function Mn(){return fn(this)}function Sn(){var e=fe.call(this);return O(e)?e:wn(this,e)}function Cn(){var e=fe.call(this);if(O(e))return null;var t=wn(this,e);return t instanceof Element?t:null}function On(e){return this===e?0:this.getRootNode()===e?10:xt(this)!==xt(e)?35:ne.call(this,e)}function Hn(e){return null!=e&&xt(this)===xt(e)&&0!=(ne.call(this,e)&q)}function Rn(e){var t=te.call(this,!1);if(!e)return t;for(var n=An(this),r=0,l=n.length;r<l;r+=1)t.appendChild(n[r].cloneNode(!0));return t}function Dn(){if(ar(this)){var e=Ut(this);return gn(O(e)?[]:Qt(e,Jt(this)))}return me.call(this)}dn.prototype=u(HTMLCollection.prototype,(n(t={constructor:{writable:!0,configurable:!0,value:dn},item:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return this[e]}},length:{enumerable:!0,configurable:!0,get:function(){return vn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value:function(e){if(""===e)return null;for(var t=vn.get(this),n=0,r=t.length;n<r;n++){var l=t[r];if(e===de.call(l,"id")||e===de.call(l,"name"))return l}return null}}},Symbol.toStringTag,{configurable:!0,get:function(){return"HTMLCollection"}}),n(t,"toString",{writable:!0,configurable:!0,value:function(){return"[object HTMLCollection]"}}),t)),g(dn,HTMLCollection);var Pn=U.prototype.getRootNode,In=C(Pn)?function(){for(var e,t=this;!O(e=fe.call(t));)t=e;return t}:Pn;c(U.prototype,{firstChild:{get:function(){return En(this)?Nn.call(this):ue.call(this)},enumerable:!0,configurable:!0},lastChild:{get:function(){return En(this)?Ln.call(this):ce.call(this)},enumerable:!0,configurable:!0},textContent:{get:function(){return jt(this)||ar(this)?Mn.call(this):se.call(this)},set:function(e){ge.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get:function(){if(jt(this))return Sn.call(this);var e=fe.call(this);return!O(e)&&Kt(e)?Ut(e):e},enumerable:!0,configurable:!0},parentElement:{get:function(){if(jt(this))return Cn.call(this);var e=he.call(this);return!O(e)&&Kt(e)?Ut(e):e},enumerable:!0,configurable:!0},childNodes:{get:function(){return En(this)?Dn.call(this):me.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value:function(){return En(this)?Tn.call(this):ae.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value:function(e){return Ht(this)?ne.call(this,e):On.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value:function(e){return this===e||null!=e&&(jt(this)||ar(this)?Hn.call(this,e):ie.call(this,e))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value:function(e){return jt(this)||ar(this)?Rn.call(this,e):te.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){var t,n;return H(!C(e)&&!!e.composed)?In.call(this,e):O(n=Ut(t=this))?In.call(t):or(n)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get:function(){return be.call(this)}}});var An=function(e){return e.childNodes};h.call(HTMLElement.prototype,"contains")&&s(HTMLElement.prototype,"contains",f(U.prototype,"contains")),h.call(HTMLElement.prototype,"parentElement")&&s(HTMLElement.prototype,"parentElement",f(U.prototype,"parentElement"));var Bn=new WeakMap,$n=new WeakMap;function _n(e,t,n){if(t===n)return!0;var r=$n.get(e);return C(r)&&(r=e.composedPath(),$n.set(e,r)),r.includes(n)}function xn(e){if(!function(e){return D(e)||P(e)&&!O(e)&&D(e.handleEvent)}(e))return e;var t=Bn.get(e);return C(t)&&(t=function(t){var n=Ze.call(t);if(_n(t,Wn(t),n))return D(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},Bn.set(e,t)),t}var kn=new WeakMap,Fn=new WeakMap;function jn(e){var t=Fn.get(e);return C(t)&&(t=u(null),Fn.set(e,t)),t}function Wn(e){var t;return null!==(t=pr.get(e))&&void 0!==t?t:Je.call(e)}var Gn=new WeakMap;function Un(e){if(!D(e))throw new TypeError;var t=Gn.get(e);return C(t)&&((t=function(t){var n=Ze.call(t);Et(n)||(n=or(n)),_n(t,Wn(t),n)&&e.call(n,t)}).placement=1,Gn.set(e,t)),t}var Kn=new WeakMap;function qn(e){if(!D(e))throw new TypeError;var t=Kn.get(e);return C(t)&&((t=function(t){var n=Ze.call(t);_n(t,Wn(t),n)&&e.call(n,t)}).placement=0,Kn.set(e,t)),t}function Yn(e){var t=!1,n=!1,r=e.type,l=e.stopImmediatePropagation,o=e.stopPropagation,a=jn(Ze.call(e))[r];s(e,"stopImmediatePropagation",{value:function(){t=!0,l.call(e)},writable:!0,enumerable:!0,configurable:!0}),s(e,"stopPropagation",{value:function(){n=!0,o.call(e)},writable:!0,enumerable:!0,configurable:!0});var i=N.call(a);function u(n){M.call(i,(function(r){R(t)&&r.placement===n&&-1!==d.call(a,r)&&r.call(void 0,e)}))}kn.set(e,1),u(1),R(t)&&R(n)&&(kn.set(e,0),u(0)),kn.set(e,2)}function Xn(e,t,n){var r=jn(e),l=r[t];C(l)&&(l=r[t]=[]),-1===d.call(l,n)&&(0===l.length&&Pt.call(e,t,Yn),E.call(l,n))}function Vn(e,t,n){var r,l;C(l=jn(e)[t])||-1===(r=d.call(l,n))||(L.call(l,r,1),0===l.length&&At.call(e,t,Yn))}function Qn(e,t,n){D(t)&&Xn(this,e,qn(t))}function zn(e,t,n){D(t)&&Vn(this,e,qn(t))}var Jn=new WeakMap,Zn=document.createDocumentFragment;function er(e){var t=Jn.get(e);if(C(t))throw new TypeError;return t}function tr(e){return e[A]}function nr(e,t){e[A]=t}function rr(e){return er(e).delegatesFocus}function lr(e){return er(e).host}function or(e){return er(e).shadowRoot}function ar(e){var t=Jn.get(e);return!C(t)&&e===t.host}function ir(e){var t=Jn.get(e);return!C(t)&&e===t.shadowRoot}s(U.prototype,A,{set:function(e){var t,n;C(e)||(this[B]=e,t=this,n=e.nodeKey,_t(t,Bt,{value:n,configurable:!0}))},get:function(){return this[B]},configurable:!0,enumerable:!0}),s(I,"$isNativeShadowRootDefined$",{value:yt}),C(I[F])&&s(I,F,{value:ut}),C(I[j])&&s(I,j,{value:it});var ur=0;function cr(e,t){if(Jn.has(e))throw new Error("Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.");var n=t.mode,r=t.delegatesFocus,l=Ct(e),o=Zn.call(l),a={mode:n,delegatesFocus:!!r,host:e,shadowRoot:o};Jn.set(o,a),Jn.set(e,a);var i=function(){return o},u=i.nodeKey=ur++;return _t(e,$t,{value:u}),nr(o,i),g(o,gr.prototype),o}var sr={constructor:{writable:!0,configurable:!0,value:gr},toString:{writable:!0,configurable:!0,value:function(){return"[object ShadowRoot]"}},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},fr={activeElement:{enumerable:!0,configurable:!0,get:function(){var e=lr(this),t=Ct(e),n=nt.call(t);if(O(n))return n;if(0==(ne.call(e,n)&q))return null;for(var r=n;!Yt(e,r);)r=he.call(r);return qt(r)?null:r}},delegatesFocus:{configurable:!0,get:function(){return er(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return vr(this,Ct(lr(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return bn(this,Ct(lr(this)),e,t)}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "getSelection" on ShadowRoot.')}},host:{enumerable:!0,configurable:!0,get:function(){return lr(this)}},mode:{configurable:!0,get:function(){return er(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get:function(){throw new Error}}},pr=new WeakMap,hr={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return re.call(lr(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return le.call(lr(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return ee.call(lr(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return oe.call(lr(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){D(n)&&Xn(lr(e),t,Un(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return pr.set(e,this),It.apply(lr(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){D(n)&&Vn(lr(e),t,Un(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get:function(){return lr(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get:function(){return gn(Xt(this))}},cloneNode:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "cloneNode" on ShadowRoot.')}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value:function(e){var t=lr(this);return this===e?0:this.contains(e)?20:ne.call(t,e)&q?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value:function(e){if(this===e)return!0;var t=lr(this);return 0!=(ne.call(t,e)&q)&&Yt(t,e)}},firstChild:{enumerable:!0,configurable:!0,get:function(){return An(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get:function(){var e=An(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value:function(){return An(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get:function(){return be.call(lr(this))}},nextSibling:{enumerable:!0,configurable:!0,get:function(){return null}},previousSibling:{enumerable:!0,configurable:!0,get:function(){return null}},nodeName:{enumerable:!0,configurable:!0,get:function(){return"#document-fragment"}},nodeType:{enumerable:!0,configurable:!0,get:function(){return 11}},nodeValue:{enumerable:!0,configurable:!0,get:function(){return null}},ownerDocument:{enumerable:!0,configurable:!0,get:function(){return lr(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:function(){return null}},parentNode:{enumerable:!0,configurable:!0,get:function(){return null}},textContent:{enumerable:!0,configurable:!0,get:function(){for(var e=An(this),t="",n=0,r=e.length;n<r;n+=1){var l=e[n];l.nodeType!==Z&&(t+=fn(l))}return t},set:function(e){var t=lr(this);ge.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return!C(e)&&H(e.composed)?lr(this).getRootNode(e):this}}};function gr(){throw new TypeError("Illegal constructor")}function mr(e,t){var n,r=[];if(e instanceof Window)n=e;else{if(!(e instanceof U))return r;n=e.getRootNode()}for(var l,o=e;!O(o);)if(r.push(o),o instanceof Element||o instanceof Text){var a=o.assignedSlot;o=O(a)?o.parentNode:a}else o=!ir(o)&&!Et(o)||!t&&o===n?o instanceof U?o.parentNode:null:o.host;return l=e instanceof Window?e.document:Ct(e),r[r.length-1]===l&&r.push(window),r}
|
|
2
2
|
/**
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
*/function hr(e,t){if(O(e))return null;for(var n,r,l,o,a=pr(e,!0),i=t,u=0;u<i.length;u++)if((l=(n=i[u])instanceof Window?n:n.getRootNode())!==r&&(o=a.indexOf(l),r=l),!lr(l)||!C(o)&&o>-1)return n;return null}function gr(e,t,n,r){var l=nt.call(t,n,r);return O(l)?l:hr(e,pr(l,!0))}i(ir,sr,{childElementCount:{enumerable:!0,configurable:!0,get:function(){return this.children.length}},children:{enumerable:!0,configurable:!0,get:function(){return vn(v.call(Ut(this),(function(e){return e instanceof Element})))}},firstElementChild:{enumerable:!0,configurable:!0,get:function(){return this.children[0]||null}},lastElementChild:{enumerable:!0,configurable:!0,get:function(){var e=this.children;return e.item(e.length-1)||null}},getElementById:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "getElementById" on ShadowRoot.')}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return t=e,Xt(n=tr(this),Mt(Ne.call(n,t)));var t,n}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return fn((t=e,Yt(n=tr(this),Mt(Ne.call(n,t)))));var t,n}}},{innerHTML:{enumerable:!0,configurable:!0,get:function(){for(var e=Dn(this),t="",n=0,r=e.length;n<r;n+=1)t+=an(e[n]);return t},set:function(e){var t=tr(this);xe.call(t,e)}}},ur),fr.prototype=u(DocumentFragment.prototype,ir),s(fr,Symbol.hasInstance,{value:function(e){return P(e)&&!O(e)&&(yt(e)||p(e)===fr.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return gr(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return hn(this,this,e,t)},s(Document.prototype,"activeElement",{get:function(){var e=tt.call(this);if(O(e))return e;for(;!C(At(e));)if(O(e=pe.call(e)))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),s(Document.prototype,"getElementById",{value:function(){var e=it.apply(this,N.call(arguments));return O(e)?null:C(At(e))||Lt(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"querySelector",{value:function(){var e=Mt(at.apply(this,N.call(arguments))),t=b.call(e,(function(e){return C(At(e))||Lt(e)}));return C(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"querySelectorAll",{value:function(){var e=Mt(at.apply(this,N.call(arguments))),t=v.call(e,(function(e){return C(At(e))||Lt(e)}));return fn(t)},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"getElementsByClassName",{value:function(){var e=Mt(ut.apply(this,N.call(arguments))),t=v.call(e,(function(e){return C(At(e))||Lt(e)}));return vn(t)},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"getElementsByTagName",{value:function(){var e=Mt(ct.apply(this,N.call(arguments))),t=v.call(e,(function(e){return C(At(e))||Lt(e)}));return vn(t)},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"getElementsByTagNameNS",{value:function(){var e=Mt(st.apply(this,N.call(arguments))),t=v.call(e,(function(e){return C(At(e))||Lt(e)}));return vn(t)},writable:!0,enumerable:!0,configurable:!0}),s(f(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value:function(){var e=Mt(ft.apply(this,N.call(arguments))),t=v.call(e,(function(e){return C(At(e))||Lt(e)}));return fn(t)},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:fr,configurable:!0,writable:!0});var mr=Object.getOwnPropertyDescriptor(Event.prototype,"composed");var vr=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function br(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:function(){return!0}})}(function(){if(!mr)return!1;var e=new Event("click"),t=document.createElement("button");return t.addEventListener("click",(function(t){return e=t})),t.click(),!mr.get.call(e)})()&&(HTMLElement.prototype.click=function(){Ct.call(this,"click",br);try{vr.value.call(this)}finally{Ht.call(this,"click",br)}}),!0!==new Event("test",{composed:!0}).composed&&function(){var e=i(u(null),{beforeinput:1,blur:1,click:1,compositionend:1,compositionstart:1,compositionupdate:1,copy:1,cut:1,dblclick:1,DOMActivate:1,DOMFocusIn:1,DOMFocusOut:1,drag:1,dragend:1,dragenter:1,dragleave:1,dragover:1,dragstart:1,drop:1,focus:1,focusin:1,focusout:1,gotpointercapture:1,input:1,keydown:1,keypress:1,keyup:1,lostpointercapture:1,mousedown:1,mouseenter:1,mouseleave:1,mousemove:1,mouseout:1,mouseover:1,mouseup:1,paste:1,pointercancel:1,pointerdown:1,pointerenter:1,pointerleave:1,pointermove:1,pointerout:1,pointerover:1,pointerup:1,touchcancel:1,touchend:1,touchmove:1,touchstart:1,wheel:1}),t=Event;function n(e,n){var r=new t(e,n),l=!(!n||!n.composed);return Object.defineProperties(r,{composed:{get:function(){return l},configurable:!0,enumerable:!0}}),r}n.prototype=t.prototype,n.AT_TARGET=t.AT_TARGET,n.BUBBLING_PHASE=t.BUBBLING_PHASE,n.CAPTURING_PHASE=t.CAPTURING_PHASE,n.NONE=t.NONE,window.Event=n,Object.defineProperties(Event.prototype,{composed:{get:function(){var t=this.type;return 1===e[t]},configurable:!0,enumerable:!0}})}();var dr,yr,Er,wr,Tr=CustomEvent;function Nr(e,t){var n=new Tr(e,t),r=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:function(){return r},configurable:!0,enumerable:!0}}),n}if(Nr.prototype=Tr.prototype,window.CustomEvent=Nr,"undefined"!=typeof ClipboardEvent){var Lr=i(u(null),{copy:1,cut:1,paste:1});c(ClipboardEvent.prototype,{composed:{get:function(){var e=this.type;return 1===Lr[e]},configurable:!0,enumerable:!0}})}Er="undefined"!=typeof HTMLIFrameElement,wr="undefined"!=typeof Proxy&&H(Proxy.isCompat),Er&&wr&&(dr=f(HTMLIFrameElement.prototype,"contentWindow"),yr=dr.get,dr.get=function(){var e,t=yr.call(this);return O(t)||C(At(this))?t:(e=t,{addEventListener:function(){return e.addEventListener.apply(e,arguments)},blur:function(){return e.blur.apply(e,arguments)},close:function(){return e.close.apply(e,arguments)},focus:function(){return e.focus.apply(e,arguments)},postMessage:function(){return e.postMessage.apply(e,arguments)},removeEventListener:function(){return e.removeEventListener.apply(e,arguments)},get closed(){return e.closed},get frames(){return e.frames},get length(){return e.length},get location(){return e.location},set location(t){e.location=t},get opener(){return e.opener},get parent(){return e.parent},get self(){return e.self},get top(){return e.top},get window(){return e.window}})},s(HTMLIFrameElement.prototype,"contentWindow",dr));var Mr=MutationObserver,Sr=Mr.prototype,Cr=Sr.disconnect,Or=Sr.observe,Hr=Sr.takeRecords,Rr="$$lwcObserverCallbackWrapper$$",Dr="$$lwcNodeObservers$$",Pr=new WeakMap;function Ir(e){return e[Dr]}function Ar(e){var t=e.addedNodes,n=e.removedNodes,r=e.target,l=e.type,o=u(MutationRecord.prototype);return c(o,{addedNodes:{get:function(){return t},enumerable:!0,configurable:!0},removedNodes:{get:function(){return n},enumerable:!0,configurable:!0},type:{get:function(){return l},enumerable:!0,configurable:!0},target:{get:function(){return r.shadowRoot},enumerable:!0,configurable:!0}}),o}function Br(e,t){for(var n=t;!O(n);){var r=Ir(n);if(!C(r)&&(r[0]===e||-1!==d.call(r,e)))return!0;n=n.parentNode}return!1}function $r(e,t){return w.call(e,(function(e,n){var r=n.target,l=n.addedNodes,o=n.removedNodes;if("childList"!==n.type||C($t(r)))Br(t,r)&&E.call(e,n);else if(l.length>0){var a=l[0];if(Br(t,a)){var i=Ir(r);!i||i[0]!==t&&-1===d.call(i,t)?E.call(e,Ar(n)):E.call(e,n)}}else{var u=r.shadowRoot,c=o[0];if(Bt(r)===Bt(c)&&Br(t,r))E.call(e,n);else if(u){var s=Ir(u);!s||s[0]!==t&&-1===d.call(s,t)||E.call(e,Ar(n))}}return e}),[])}function _r(e){var t=function(e){var t=e[Rr];return C(t)&&(t=e[Rr]=function(t,n){var r=$r(t,n);0!==r.length&&e.call(n,r,n)}),t}(e);return new Mr(t)}function xr(e,t,n){if(arguments.length>1){var r=N.call(arguments);return r[1]=Bn(r[1]),ht.apply(this,r)}return ht.apply(this,arguments)}function kr(e,t,n){if(arguments.length>1){var r=N.call(arguments);r[1]=Bn(r[1]),gt.apply(this,r)}gt.apply(this,arguments)}function Fr(){var e=ze.call(this);if(!(e instanceof G))return e;var t=Tt(e),n=pr(e,this.composed),r=Je.call(this);if(!(r instanceof G))return O(r)&&C(At(e))?e:hr(t,n);if(r===t||r===t.body)return C(At(e))?e:hr(t,n);var l=r,o=n;rr(r)&&(1===$n.get(this)&&(l=nr(r)));return rr(e)&&cr.has(this)&&(o=pr(nr(e),this.composed)),hr(l,o)}function jr(){var e=ze.call(this);if(!(e instanceof G))return[];var t,n=Boolean(e.shadowRoot),r=(t=e,Vn.has(t));if(n&&!r)return et.call(this);if(O(Je.call(this)))return[];var l=e;return rr(e)&&cr.has(this)&&(l=nr(e)),pr(l,this.composed)}function Wr(e){var t=f(e.prototype,"relatedTarget").get;s(e.prototype,"relatedTarget",{get:function(){var e=t.call(this);if(O(e))return null;if(!(e instanceof G&&_t(e)))return e;var n=Je.call(this);return O(n)&&(n=Tt(e)),hr(n,pr(e,!0))},enumerable:!0,configurable:!0})}_r.prototype=Mr.prototype,_r.prototype.disconnect=function(){var e=this;Cr.call(this);var t=Pr.get(this);C(t)||(M.call(t,(function(t){var n=t[Dr];if(!C(n)){var r=d.call(n,e);-1!==r&&L.call(n,r,1)}})),t.length=0)},_r.prototype.observe=function(e,t){var n,r=Ir(e);if(C(r)&&(n=r=[],e[Dr]=n),-1===d.call(r,this)&&E.call(r,this),lr(e)&&(e=e.host),Pr.has(this)){var l=Pr.get(this);-1===d.call(l,e)&&E.call(l,e)}else Pr.set(this,[e]);return Or.call(this,e,t)},_r.prototype.takeRecords=function(){return $r(Hr.call(this),this)},s(window,"MutationObserver",{value:_r,configurable:!0,writable:!0}),c(St,{addEventListener:{value:function(e,t,n){if(rr(this))return Yn.apply(this,arguments);if(arguments.length<2){var r=N.call(arguments);return r.length>1&&(r[1]=Bn(r[1])),Ct.apply(this,r)}var l=Bn(t);return Ct.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(rr(this))return Xn.apply(this,arguments);var r=N.call(arguments);arguments.length>1&&(r[1]=Bn(r[1])),Ht.apply(this,r),Ht.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&c(Window.prototype,{addEventListener:{value:xr,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:kr,enumerable:!0,writable:!0,configurable:!0}}),c(Event.prototype,{target:{get:Fr,enumerable:!0,configurable:!0},currentTarget:{get:function(){var e=Je.call(this);return O(e)?null:1===$n.get(this)?nr(e):e},enumerable:!0,configurable:!0},composedPath:{value:jr,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:Fr,enumerable:!0,configurable:!0},path:{get:jr,enumerable:!0,configurable:!0}}),Wr(FocusEvent),Wr(MouseEvent);var Gr,Ur=h.call(Text.prototype,"assignedSlot")?f(Text.prototype,"assignedSlot").get:function(){return null},Kr={childList:!0},qr=new WeakMap;function Yr(e){var t=Mt(ge.call(e));return w.call(t,(function(e,t){return t instanceof Element&&Wt(t)?E.apply(e,Yr(t)):E.call(e,t),e}),[])}function Xr(){var e=se.call(this);if(e instanceof Element){var t=Ve.call(e);if(yt(t))return this instanceof Text?Ur.call(this):Qe.call(this)}return!O(e)&&Wt(e)&&At(e)!==At(this)?e:null}function Vr(e,t){var n,r=At(e);if(C(r))n=e instanceof HTMLBodyElement?v.call(t,(function(t){return C(At(t))||Lt(e)})):N.call(t);else if(rr(e)){var l=Ft(e);n=O(l)?[]:$t(e)?Kt(e,t):Yt(l,t)}else n=v.call(t,(function(e){return Bt(e)===r}));return n}function Qr(){for(var e=Dn(this),t="",n=0,r=e.length;n<r;n+=1)t+=an(e[n]);return t}function zr(){return an(this)}function Jr(){var e=Ft(this),t=O(e)?[]:Yt(e,Vt(this));return vn(v.call(t,(function(e){return e instanceof Element})))}function Zr(){return this.children.length}function el(){return this.children[0]||null}function tl(){var e=this.children;return e.item(e.length-1)||null}function nl(e,t){var n;if(rr(e)){var r=Ft(e);n=C($t(e))?O(r)?[]:Yt(r,t):Kt(e,t)}else if(_t(e)){var l=At(e);n=C(l)?N.call(t):v.call(t,(function(e){return Bt(e)===l}))}else n=e instanceof HTMLBodyElement?v.call(t,(function(t){return C(At(t))||Lt(e)})):N.call(t);return n}c(HTMLSlotElement.prototype,{addEventListener:{value:function(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||qr.get(this)||(qr.set(this,!0),Gr||(Gr=new mt((function(e){var t=[];M.call(e,(function(e){var n=e.target;-1===d.call(t,n)&&(E.call(t,n),Ot.call(n,new CustomEvent("slotchange")))}))}))),vt.call(Gr,this,Kr))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value:function(e){if(_t(this)){var t=!C(e)&&H(e.flatten),n=t?Yr(this):Qt(this);return v.call(n,(function(e){return e instanceof Element}))}return A.apply(this,N.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value:function(e){if(_t(this)){var t=!C(e)&&H(e.flatten);return t?Yr(this):Qt(this)}return I.apply(this,N.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get:function(){var e=be.call(this,"name");return O(e)?"":e},set:function(e){Me.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get:function(){if(_t(this)){var e=Ft(this);return fn(O(e)?[]:Yt(e,Vt(this)))}return ge.call(this)},enumerable:!0,configurable:!0}}),c(Text.prototype,{assignedSlot:{get:Xr,enumerable:!0,configurable:!0}}),c(Element.prototype,{innerHTML:{get:function(){return _t(this)||rr(this)?Qr.call(this):_e.call(this)},set:function(e){xe.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get:function(){return _t(this)||rr(this)?zr.call(this):Fe.call(this)},set:function(e){je.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?ar(this,e):Se.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(rr(this)){var e=nr(this);if("open"===e.mode)return e}return Ve.call(this)},enumerable:!0,configurable:!0},children:{get:function(){return bn(this)?Jr.call(this):Ye.call(this)},enumerable:!0,configurable:!0},childElementCount:{get:function(){return bn(this)?Zr.call(this):Ce.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get:function(){return bn(this)?el.call(this):Oe.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get:function(){return bn(this)?tl.call(this):He.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:Xr,enumerable:!0,configurable:!0}}),h.call(HTMLElement.prototype,"innerHTML")&&s(HTMLElement.prototype,"innerHTML",f(Element.prototype,"innerHTML")),h.call(HTMLElement.prototype,"outerHTML")&&s(HTMLElement.prototype,"outerHTML",f(Element.prototype,"outerHTML")),h.call(HTMLElement.prototype,"children")&&s(HTMLElement.prototype,"children",f(Element.prototype,"children")),c(Element.prototype,{querySelector:{value:function(){var e=this,t=Mt(Ne.apply(this,N.call(arguments)));if(rr(this)){var n=Ft(this);return C($t(this))?O(n)?null:Xt(n,t):qt(this,t)}if(_t(this)){var r=At(this);if(C(r))return 0===t.length?null:t[0];var l=b.call(t,(function(e){return Bt(e)===r}));return C(l)?null:l}if(!(this instanceof HTMLBodyElement)){var o=t[0];return C(o)?null:o}var a=b.call(t,(function(t){return C(At(t))||Lt(e)}));return C(a)?null:a},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value:function(){var e=Mt(Ne.apply(this,N.call(arguments))),t=nl(this,e);return fn(t)},writable:!0,enumerable:!0,configurable:!0}}),c(Element.prototype,{getElementsByClassName:{value:function(){var e=Mt(Xe.apply(this,N.call(arguments)));return vn(Vr(this,e))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value:function(){var e=Mt(ye.apply(this,N.call(arguments)));return vn(Vr(this,e))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value:function(){var e=Mt(Ee.apply(this,N.call(arguments)));return vn(Vr(this,e))},writable:!0,enumerable:!0,configurable:!0}}),h.call(HTMLElement.prototype,"getElementsByClassName")&&s(HTMLElement.prototype,"getElementsByClassName",f(Element.prototype,"getElementsByClassName"));var rl="\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",ll=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function ol(e){return e.filter((function(e){return we.call(e,"tabindex")?"0"===be.call(e,"tabindex"):!ll.has(We.call(e))||!we.call(e,"disabled")}))}var al=new WeakMap;function il(e){return(!rr(e)||!er(e))&&(qe.call(e,rl)&&function(e){var t=de.call(e),n=t.width,r=t.height,l=n>0||r>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function ul(){var e=this.getRootNode();if(e!==this){var t=e;if(t.activeElement!==this)for(var n=Mt(Ne.call(this,rl)),r=!1;!r&&0!==n.length;){var l=n.shift();l.focus.apply(l,arguments);var o=l.getRootNode();r=o.activeElement===l}}else{var a=Te.call(this,rl);O(a)||a.focus.apply(a,arguments)}}function cl(e){var t=Tt(e),n=ol(Mt(at.call(t,rl))),r=ol(Mt(Ne.call(e,rl))),l=r[0],o=r[r.length-1],a=d.call(n,e),i=a>-1?a:d.call(n,l),u=0===r.length?i+1:d.call(n,o)+1;return{prev:N.call(n,0,i),inner:r,next:N.call(n,u)}}function sl(e,t){var n=te.call(e,t);return n&K?0:n&q?1:n&Y?2:-1}function fl(e){e.preventDefault(),e.stopPropagation()}function pl(e,t){ht.call(e,"focusin",fl,!0),ht.call(e,"focusout",fl,!0),t(),gt.call(e,"focusin",fl,!0),gt.call(e,"focusout",fl,!0)}function hl(e,t,n){var r=Nt(n),l=function(e,t){var n=e.length;if(n>0)for(var r=0;r<n;r+=1){var l=e[r];if(El(t.getRootNode(),l))return l}return null}(e,n);O(l)?pl(r,(function(){t.blur()})):pl(r,(function(){l.focus()}))}var gl=!1;function ml(){gl=!0}function vl(){gl=!1}function bl(){return!gl}function dl(e){if(!gl){var t=Je.call(e),n=ze.call(e);if(t===n){var r=Ze.call(e);if(!O(r)){var l=cl(t);if(1===sl(t,r)){var o=El.bind(null,t.getRootNode()),a=b.call(l.inner,o);if(C(a))hl(l.next,n,r);else pl(Nt(a),(function(){a.focus()}))}else t===n&&hl(T.call(l.prev),n,r)}}}}function yl(e){if(!gl){var t=Ze.call(e);if(!O(t)){var n=Je.call(e),r=cl(n);if(-1===d.call(r.inner,t)){var l=ze.call(e),o=sl(n,t);1===o&&hl(r.next,l,t),2===o&&hl(T.call(r.prev),l,t)}}}}function El(e,t){if(!il(t))return!1;for(var n=Tt(t),r=t.getRootNode();r!==n&&r!==e;){var l=r.host;if("-1"===be.call(l,"tabindex"))return!1;r=l&&l.getRootNode()}return!0}function wl(e){Ht.call(e,"focusin",dl,!0)}function Tl(e){var t=Tt(e);al.get(t)||(al.set(t,!0),Ct.call(t,"mousedown",ml,!0),Ct.call(t,"mouseup",(function(){setTimeout(vl)}),!0),Ct.call(t,"dragstart",vl,!0))}function Nl(e){Ht.call(e,"focusin",yl,!0)}var Ll=HTMLElement.prototype,Ml=Ll.blur,Sl=Ll.focus;function Cl(){return er(this)&&R(we.call(this,"tabindex"))?0:Ue.call(this)}function Ol(e){var t=er(this),n=Ue.call(this),r=we.call(this,"tabindex");Ke.call(this,e);var l,o=Ue.call(this),a=we.call(this,"tabindex"),i=n!==o;(r&&(i||R(a))&&(-1===n&&Nl(this),0===n&&t&&wl(this)),R(a))||(r&&a&&R(i)||(-1===o&&(Tl(l=this),wl(l),Ct.call(l,"focusin",yl,!0)),0===o&&t&&function(e){Tl(e),Nl(e),Ct.call(e,"focusin",dl,!0)}(this)))}function Hl(){if(er(this)){var e=(n=Tt(t=this),O(r=tt.call(n))||0!=(te.call(t,r)&K)?r:null);if(!O(e))return void e.blur()}var t,n,r;return Ml.call(this)}function Rl(){var e=bl();e&&ml(),rr(this)&&er(this)?ul.call(this):(Sl.apply(this,arguments),e&&vl())}function Dl(e,t){e[$]=t;for(var n=ge.call(e),r=0,l=n.length;r<l;r++)Dl(n[r],t)}c(HTMLElement.prototype,{tabIndex:{get:function(){return rr(this)?Cl.call(this):Ue.call(this)},set:function(e){return rr(this)?Ol.call(this,e):Ke.call(this,e)},enumerable:!0,configurable:!0},blur:{value:function(){if(rr(this))return Hl.call(this);Ml.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value:function(){Rl.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==De&&null!==Pe&&s(HTMLElement.prototype,"innerText",{get:function(){return De.call(this)},set:function(e){Pe.call(this,e)},enumerable:!0,configurable:!0}),null!==Ae&&null!==Be&&s(HTMLElement.prototype,"outerText",{get:function(){return Ae.call(this)},set:function(e){Be.call(this,e)},enumerable:!0,configurable:!0}),s(Element.prototype,k,{set:function(e){var t=this[F];C(t)||t===e||Le.call(this,t),C(e)||Me.call(this,e,""),this[F]=e},get:function(){return this[F]},configurable:!0}),s(Element.prototype,"$shadowStaticNode$",{set:function(e){e&&Dl(this,this[$]);this[x]=e},get:function(){return this[x]},configurable:!0});var Pl,Il="$$DomManualKey$$",Al=function(){},Bl={childList:!0};function $l(e,t,n){var r=Jn(e);if(r!==t&&(Zn(e,t),e instanceof Element)){if(function(e,t){e[k]=t}(e,n),rr(e))return;C(r)&&vt.call(Pl,e,Bl);for(var l=ge.call(e),o=0,a=l.length;o<a;o+=1)$l(l[o],t,n)}}function _l(){return new mt((function(e){M.call(e,(function(e){for(var t=e.target,n=e.addedNodes,r=e.removedNodes,l=Jn(t),o=function(e){return e[k]}(t),a=0,i=r.length;a<i;a+=1){var u=r[a];te.call(t,u)&G.DOCUMENT_POSITION_CONTAINED_BY||$l(u,Al,void 0)}for(var c=0,s=n.length;c<s;c+=1){var f=n[c];te.call(t,f)&G.DOCUMENT_POSITION_CONTAINED_BY&&$l(f,l,o)}}))}))}s(Element.prototype,"$domManual$",{set:function(e){this[Il]=e,H(e)&&function(e){if(C(Pl)&&(Pl=_l()),C(Jn(e)))throw new Error("Invalid Element");vt.call(Pl,e,Bl)}(this)},get:function(){return this[Il]},configurable:!0})}));
|
|
3
|
+
@license
|
|
4
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
5
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
6
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
7
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
8
|
+
Code distributed by Google as part of the polymer project is also
|
|
9
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10
|
+
*/function br(e,t){if(O(e))return null;for(var n,r,l,o,a=mr(e,!0),i=t,u=0;u<i.length;u++)if((l=(n=i[u])instanceof Window?n:n.getRootNode())!==r&&(o=a.indexOf(l),r=l),!ir(l)||!C(o)&&o>-1)return n;return null}function vr(e,t,n,r){var l=rt.call(t,n,r);return O(l)?l:br(e,mr(l,!0))}i(sr,hr,{childElementCount:{enumerable:!0,configurable:!0,get:function(){return this.children.length}},children:{enumerable:!0,configurable:!0,get:function(){return yn(b.call(Xt(this),(function(e){return e instanceof Element})))}},firstElementChild:{enumerable:!0,configurable:!0,get:function(){return this.children[0]||null}},lastElementChild:{enumerable:!0,configurable:!0,get:function(){var e=this.children;return e.item(e.length-1)||null}},getElementById:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "getElementById" on ShadowRoot.')}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return t=e,zt(n=lr(this),Rt(Le.call(n,t)));var t,n}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return gn((t=e,Qt(n=lr(this),Rt(Le.call(n,t)))));var t,n}}},{innerHTML:{enumerable:!0,configurable:!0,get:function(){for(var e=An(this),t="",n=0,r=e.length;n<r;n+=1)t+=sn(e[n]);return t},set:function(e){var t=lr(this);ke.call(t,e)}}},fr),gr.prototype=u(DocumentFragment.prototype,sr),s(gr,Symbol.hasInstance,{value:function(e){return P(e)&&!O(e)&&(Et(e)||p(e)===gr.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return vr(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return bn(this,this,e,t)},s(Document.prototype,"activeElement",{get:function(){var e=nt.call(this);if(O(e))return e;for(;!C(xt(e));)if(O(e=he.call(e)))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),s(Document.prototype,"getElementById",{value:function(){var e=ut.apply(this,N.call(arguments));return O(e)?null:C(xt(e))||Ht(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"querySelector",{value:function(){var e=Rt(it.apply(this,N.call(arguments))),t=v.call(e,(function(e){return C(xt(e))||Ht(e)}));return C(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"querySelectorAll",{value:function(){var e=Rt(it.apply(this,N.call(arguments)));return gn(b.call(e,(function(e){return C(xt(e))||Ht(e)})))},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"getElementsByClassName",{value:function(){var e=Rt(ct.apply(this,N.call(arguments)));return yn(b.call(e,(function(e){return C(xt(e))||Ht(e)})))},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"getElementsByTagName",{value:function(){var e=Rt(st.apply(this,N.call(arguments)));return yn(b.call(e,(function(e){return C(xt(e))||Ht(e)})))},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"getElementsByTagNameNS",{value:function(){var e=Rt(ft.apply(this,N.call(arguments)));return yn(b.call(e,(function(e){return C(xt(e))||Ht(e)})))},writable:!0,enumerable:!0,configurable:!0}),s(f(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value:function(){var e=Rt(pt.apply(this,N.call(arguments)));return gn(b.call(e,(function(e){return C(xt(e))||Ht(e)})))},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:gr,configurable:!0,writable:!0});var dr=Object.getOwnPropertyDescriptor(Event.prototype,"composed");var yr=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function Er(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:function(){return!0}})}(function(){if(!dr)return!1;var e=new Event("click"),t=document.createElement("button");return t.addEventListener("click",(function(t){return e=t})),t.click(),!dr.get.call(e)})()&&(HTMLElement.prototype.click=function(){Pt.call(this,"click",Er);try{yr.value.call(this)}finally{At.call(this,"click",Er)}}),!0!==new Event("test",{composed:!0}).composed&&function(){var e=i(u(null),{beforeinput:1,blur:1,click:1,compositionend:1,compositionstart:1,compositionupdate:1,copy:1,cut:1,dblclick:1,DOMActivate:1,DOMFocusIn:1,DOMFocusOut:1,drag:1,dragend:1,dragenter:1,dragleave:1,dragover:1,dragstart:1,drop:1,focus:1,focusin:1,focusout:1,gotpointercapture:1,input:1,keydown:1,keypress:1,keyup:1,lostpointercapture:1,mousedown:1,mouseenter:1,mouseleave:1,mousemove:1,mouseout:1,mouseover:1,mouseup:1,paste:1,pointercancel:1,pointerdown:1,pointerenter:1,pointerleave:1,pointermove:1,pointerout:1,pointerover:1,pointerup:1,touchcancel:1,touchend:1,touchmove:1,touchstart:1,wheel:1}),t=Event;function n(e,n){var r=new t(e,n),l=!(!n||!n.composed);return Object.defineProperties(r,{composed:{get:function(){return l},configurable:!0,enumerable:!0}}),r}n.prototype=t.prototype,n.AT_TARGET=t.AT_TARGET,n.BUBBLING_PHASE=t.BUBBLING_PHASE,n.CAPTURING_PHASE=t.CAPTURING_PHASE,n.NONE=t.NONE,window.Event=n,Object.defineProperties(Event.prototype,{composed:{get:function(){var t=this.type;return 1===e[t]},configurable:!0,enumerable:!0}})}();var wr,Tr,Nr,Lr,Mr=CustomEvent;function Sr(e,t){var n=new Mr(e,t),r=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:function(){return r},configurable:!0,enumerable:!0}}),n}if(Sr.prototype=Mr.prototype,window.CustomEvent=Sr,"undefined"!=typeof ClipboardEvent){var Cr=i(u(null),{copy:1,cut:1,paste:1});c(ClipboardEvent.prototype,{composed:{get:function(){var e=this.type;return 1===Cr[e]},configurable:!0,enumerable:!0}})}Nr="undefined"!=typeof HTMLIFrameElement,Lr="undefined"!=typeof Proxy&&H(Proxy.isCompat),Nr&&Lr&&(wr=f(HTMLIFrameElement.prototype,"contentWindow"),Tr=wr.get,wr.get=function(){var e,t=Tr.call(this);return O(t)||C(xt(this))?t:(e=t,{addEventListener:function(){return e.addEventListener.apply(e,arguments)},blur:function(){return e.blur.apply(e,arguments)},close:function(){return e.close.apply(e,arguments)},focus:function(){return e.focus.apply(e,arguments)},postMessage:function(){return e.postMessage.apply(e,arguments)},removeEventListener:function(){return e.removeEventListener.apply(e,arguments)},get closed(){return e.closed},get frames(){return e.frames},get length(){return e.length},get location(){return e.location},set location(t){e.location=t},get opener(){return e.opener},get parent(){return e.parent},get self(){return e.self},get top(){return e.top},get window(){return e.window}})},s(HTMLIFrameElement.prototype,"contentWindow",wr));var Or=MutationObserver,Hr=Or.prototype,Rr=Hr.disconnect,Dr=Hr.observe,Pr=Hr.takeRecords,Ir="$$lwcObserverCallbackWrapper$$",Ar="$$lwcNodeObservers$$",Br=new WeakMap;function $r(e){return e[Ar]}function _r(e){var t=e.addedNodes,n=e.removedNodes,r=e.target,l=e.type,o=u(MutationRecord.prototype);return c(o,{addedNodes:{get:function(){return t},enumerable:!0,configurable:!0},removedNodes:{get:function(){return n},enumerable:!0,configurable:!0},type:{get:function(){return l},enumerable:!0,configurable:!0},target:{get:function(){return r.shadowRoot},enumerable:!0,configurable:!0}}),o}function xr(e,t){for(var n=t;!O(n);){var r=$r(n);if(!C(r)&&(r[0]===e||-1!==d.call(r,e)))return!0;n=n.parentNode}return!1}function kr(e,t){return w.call(e,(function(e,n){var r=n.target,l=n.addedNodes,o=n.removedNodes;if("childList"!==n.type||C(Ft(r)))xr(t,r)&&E.call(e,n);else if(l.length>0){var a=l[0];if(xr(t,a)){var i=$r(r);!i||i[0]!==t&&-1===d.call(i,t)?E.call(e,_r(n)):E.call(e,n)}}else{var u=r.shadowRoot,c=o[0];if(kt(r)===kt(c)&&xr(t,r))E.call(e,n);else if(u){var s=$r(u);!s||s[0]!==t&&-1===d.call(s,t)||E.call(e,_r(n))}}return e}),[])}function Fr(e){var t=function(e){var t=e[Ir];return C(t)&&(t=e[Ir]=function(t,n){var r=kr(t,n);0!==r.length&&e.call(n,r,n)}),t}(e);return new Or(t)}function jr(e,t,n){if(arguments.length>1){var r=N.call(arguments);return r[1]=xn(r[1]),gt.apply(this,r)}return gt.apply(this,arguments)}function Wr(e,t,n){if(arguments.length>1){var r=N.call(arguments);r[1]=xn(r[1]),mt.apply(this,r)}mt.apply(this,arguments)}function Gr(){var e=Je.call(this);if(!(e instanceof U))return e;var t=Ct(e),n=mr(e,this.composed),r=Ze.call(this);if(!(r instanceof U))return O(r)&&C(xt(e))?e:br(t,n);if(r===t||r===t.body)return C(xt(e))?e:br(t,n);var l=r,o=n;ar(r)&&(1===kn.get(this)&&(l=or(r)));return ar(e)&&pr.has(this)&&(o=mr(or(e),this.composed)),br(l,o)}function Ur(){var e=Je.call(this);if(!(e instanceof U))return[];var t,n=Boolean(e.shadowRoot),r=(t=e,Jn.has(t));if(n&&!r)return tt.call(this);if(O(Ze.call(this)))return[];var l=e;return ar(e)&&pr.has(this)&&(l=or(e)),mr(l,this.composed)}function Kr(e){var t=f(e.prototype,"relatedTarget").get;s(e.prototype,"relatedTarget",{get:function(){var e=t.call(this);if(O(e))return null;if(!(e instanceof U&&jt(e)))return e;var n=Ze.call(this);return O(n)&&(n=Ct(e)),br(n,mr(e,!0))},enumerable:!0,configurable:!0})}Fr.prototype=Or.prototype,Fr.prototype.disconnect=function(){var e=this;Rr.call(this);var t=Br.get(this);C(t)||(M.call(t,(function(t){var n=t[Ar];if(!C(n)){var r=d.call(n,e);-1!==r&&L.call(n,r,1)}})),t.length=0)},Fr.prototype.observe=function(e,t){var n,r=$r(e);if(C(r)&&(n=r=[],e[Ar]=n),-1===d.call(r,this)&&E.call(r,this),ir(e)&&(e=e.host),Br.has(this)){var l=Br.get(this);-1===d.call(l,e)&&E.call(l,e)}else Br.set(this,[e]);return Dr.call(this,e,t)},Fr.prototype.takeRecords=function(){return kr(Pr.call(this),this)},s(window,"MutationObserver",{value:Fr,configurable:!0,writable:!0}),c(Dt,{addEventListener:{value:function(e,t,n){if(ar(this))return Qn.apply(this,arguments);if(arguments.length<2){var r=N.call(arguments);return r.length>1&&(r[1]=xn(r[1])),Pt.apply(this,r)}var l=xn(t);return Pt.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(ar(this))return zn.apply(this,arguments);var r=N.call(arguments);arguments.length>1&&(r[1]=xn(r[1])),At.apply(this,r),At.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&c(Window.prototype,{addEventListener:{value:jr,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:Wr,enumerable:!0,writable:!0,configurable:!0}}),c(Event.prototype,{target:{get:Gr,enumerable:!0,configurable:!0},currentTarget:{get:function(){var e=Ze.call(this);return O(e)?null:1===kn.get(this)?or(e):e},enumerable:!0,configurable:!0},composedPath:{value:Ur,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:Gr,enumerable:!0,configurable:!0},path:{get:Ur,enumerable:!0,configurable:!0}}),Kr(FocusEvent),Kr(MouseEvent);var qr,Yr=h.call(Text.prototype,"assignedSlot")?f(Text.prototype,"assignedSlot").get:function(){return null},Xr={childList:!0},Vr=new WeakMap;function Qr(e){var t=Rt(me.call(e));return w.call(t,(function(e,t){return t instanceof Element&&qt(t)?E.apply(e,Qr(t)):E.call(e,t),e}),[])}function zr(){var e=fe.call(this);if(e instanceof Element){var t=Qe.call(e);if(Et(t))return this instanceof Text?Yr.call(this):ze.call(this)}return!O(e)&&qt(e)&&xt(e)!==xt(this)?e:null}function Jr(e,t){var n,r=xt(e);if(C(r))n=e instanceof HTMLBodyElement?b.call(t,(function(t){return C(xt(t))||Ht(e)})):N.call(t);else if(ar(e)){var l=Ut(e);n=O(l)?[]:Ft(e)?Vt(e,t):Qt(l,t)}else n=b.call(t,(function(e){return kt(e)===r}));return n}function Zr(){for(var e=An(this),t="",n=0,r=e.length;n<r;n+=1)t+=sn(e[n]);return t}function el(){return sn(this)}function tl(){var e=Ut(this),t=O(e)?[]:Qt(e,Jt(this));return yn(b.call(t,(function(e){return e instanceof Element})))}function nl(){return this.children.length}function rl(){return this.children[0]||null}function ll(){var e=this.children;return e.item(e.length-1)||null}c(HTMLSlotElement.prototype,{addEventListener:{value:function(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||Vr.get(this)||(Vr.set(this,!0),qr||(qr=new bt((function(e){var t=[];M.call(e,(function(e){var n=e.target;-1===d.call(t,n)&&(E.call(t,n),It.call(n,new CustomEvent("slotchange")))}))}))),vt.call(qr,this,Xr))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value:function(e){if(jt(this)){var t=!C(e)&&H(e.flatten)?Qr(this):Zt(this);return b.call(t,(function(e){return e instanceof Element}))}return G.apply(this,N.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value:function(e){return jt(this)?!C(e)&&H(e.flatten)?Qr(this):Zt(this):W.apply(this,N.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get:function(){var e=de.call(this,"name");return O(e)?"":e},set:function(e){Se.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get:function(){if(jt(this)){var e=Ut(this);return gn(O(e)?[]:Qt(e,Jt(this)))}return me.call(this)},enumerable:!0,configurable:!0}}),c(Text.prototype,{assignedSlot:{get:zr,enumerable:!0,configurable:!0}}),c(Element.prototype,{innerHTML:{get:function(){return jt(this)||ar(this)?Zr.call(this):xe.call(this)},set:function(e){ke.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get:function(){return jt(this)||ar(this)?el.call(this):je.call(this)},set:function(e){We.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e[k]?cr(this,e):Ce.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(ar(this)){var e=or(this);if("open"===e.mode)return e}return Qe.call(this)},enumerable:!0,configurable:!0},children:{get:function(){return En(this)?tl.call(this):Xe.call(this)},enumerable:!0,configurable:!0},childElementCount:{get:function(){return En(this)?nl.call(this):Oe.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get:function(){return En(this)?rl.call(this):He.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get:function(){return En(this)?ll.call(this):Re.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:zr,enumerable:!0,configurable:!0}}),h.call(HTMLElement.prototype,"innerHTML")&&s(HTMLElement.prototype,"innerHTML",f(Element.prototype,"innerHTML")),h.call(HTMLElement.prototype,"outerHTML")&&s(HTMLElement.prototype,"outerHTML",f(Element.prototype,"outerHTML")),h.call(HTMLElement.prototype,"children")&&s(HTMLElement.prototype,"children",f(Element.prototype,"children")),c(Element.prototype,{querySelector:{value:function(){var e=this,t=Rt(Le.apply(this,N.call(arguments)));if(ar(this)){var n=Ut(this);return C(Ft(this))?O(n)?null:zt(n,t):function(e,t){for(var n=0,r=t.length;n<r;n+=1){var l=t[n];if(!Yt(e,l)&&Gt(e,l))return l}return null}(this,t)}if(jt(this)){var r=xt(this);if(C(r))return 0===t.length?null:t[0];var l=v.call(t,(function(e){return kt(e)===r}));return C(l)?null:l}if(!(this instanceof HTMLBodyElement)){var o=t[0];return C(o)?null:o}var a=v.call(t,(function(t){return C(xt(t))||Ht(e)}));return C(a)?null:a},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value:function(){return gn(function(e,t){var n;if(ar(e)){var r=Ut(e);n=C(Ft(e))?O(r)?[]:Qt(r,t):Vt(e,t)}else if(jt(e)){var l=xt(e);n=C(l)?N.call(t):b.call(t,(function(e){return kt(e)===l}))}else n=e instanceof HTMLBodyElement?b.call(t,(function(t){return C(xt(t))||Ht(e)})):N.call(t);return n}(this,Rt(Le.apply(this,N.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0}}),c(Element.prototype,{getElementsByClassName:{value:function(){return yn(Jr(this,Rt(Ve.apply(this,N.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value:function(){return yn(Jr(this,Rt(Ee.apply(this,N.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value:function(){return yn(Jr(this,Rt(we.apply(this,N.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0}}),h.call(HTMLElement.prototype,"getElementsByClassName")&&s(HTMLElement.prototype,"getElementsByClassName",f(Element.prototype,"getElementsByClassName"));var ol="\n [contenteditable],\n [tabindex],\n a[href],\n area[href],\n audio[controls],\n button,\n iframe,\n input,\n select,\n textarea,\n video[controls]\n",al=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function il(e){return e.filter((function(e){return Te.call(e,"tabindex")?"0"===de.call(e,"tabindex"):!al.has(Ge.call(e))||!Te.call(e,"disabled")}))}var ul=new WeakMap;function cl(e){return(!ar(e)||!rr(e))&&(Ye.call(e,ol)&&function(e){var t=ye.call(e),n=t.width,r=t.height,l=n>0||r>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function sl(){var e=this.getRootNode();if(e!==this){if(e.activeElement!==this)for(var t=Rt(Le.call(this,ol)),n=!1;!n&&0!==t.length;){var r=t.shift();r.focus.apply(r,arguments),n=r.getRootNode().activeElement===r}}else{var l=Ne.call(this,ol);O(l)||l.focus.apply(l,arguments)}}function fl(e){var t=Ct(e),n=il(Rt(it.call(t,ol))),r=il(Rt(Le.call(e,ol))),l=r[0],o=r[r.length-1],a=d.call(n,e),i=a>-1?a:d.call(n,l),u=0===r.length?i+1:d.call(n,o)+1;return{prev:N.call(n,0,i),inner:r,next:N.call(n,u)}}function pl(e,t){var n=ne.call(e,t);return n&q?0:n&Y?1:n&X?2:-1}function hl(e){e.preventDefault(),e.stopPropagation()}function gl(e,t){gt.call(e,"focusin",hl,!0),gt.call(e,"focusout",hl,!0),t(),mt.call(e,"focusin",hl,!0),mt.call(e,"focusout",hl,!0)}function ml(e,t,n){var r=Ot(n),l=function(e,t){var n=e.length;if(n>0)for(var r=0;r<n;r+=1){var l=e[r];if(wl(t.getRootNode(),l))return l}return null}(e,n);O(l)?gl(r,(function(){t.blur()})):gl(r,(function(){l.focus()}))}var bl=!1;function vl(){bl=!0}function dl(){bl=!1}function yl(e){if(!bl){var t=Ze.call(e),n=Je.call(e);if(t===n){var r=et.call(e);if(!O(r)){var l=fl(t);if(1===pl(t,r)){var o=wl.bind(null,t.getRootNode()),a=v.call(l.inner,o);if(C(a))ml(l.next,n,r);else gl(Ot(a),(function(){a.focus()}))}else t===n&&ml(T.call(l.prev),n,r)}}}}function El(e){if(!bl){var t=et.call(e);if(!O(t)){var n=Ze.call(e),r=fl(n);if(-1===d.call(r.inner,t)){var l=Je.call(e),o=pl(n,t);1===o&&ml(r.next,l,t),2===o&&ml(T.call(r.prev),l,t)}}}}function wl(e,t){if(!cl(t))return!1;for(var n=Ct(t),r=t.getRootNode();r!==n&&r!==e;){var l=r.host;if("-1"===de.call(l,"tabindex"))return!1;r=l&&l.getRootNode()}return!0}function Tl(e){At.call(e,"focusin",yl,!0)}function Nl(e){var t=Ct(e);ul.get(t)||(ul.set(t,!0),Pt.call(t,"mousedown",vl,!0),Pt.call(t,"mouseup",(function(){setTimeout(dl)}),!0),Pt.call(t,"dragstart",dl,!0))}function Ll(e){At.call(e,"focusin",El,!0)}var Ml=HTMLElement.prototype,Sl=Ml.blur,Cl=Ml.focus;function Ol(){return rr(this)&&R(Te.call(this,"tabindex"))?0:Ke.call(this)}function Hl(e){var t=rr(this),n=Ke.call(this),r=Te.call(this,"tabindex");qe.call(this,e);var l,o=Ke.call(this),a=Te.call(this,"tabindex"),i=n!==o;(r&&(i||R(a))&&(-1===n&&Ll(this),0===n&&t&&Tl(this)),R(a))||(r&&a&&R(i)||(-1===o&&(Nl(l=this),Tl(l),Pt.call(l,"focusin",El,!0)),0===o&&t&&function(e){Nl(e),Ll(e),Pt.call(e,"focusin",yl,!0)}(this)))}function Rl(){if(rr(this)){var e=(n=Ct(t=this),O(r=nt.call(n))||0!=(ne.call(t,r)&q)?r:null);if(!O(e))return void e.blur()}var t,n,r;return Sl.call(this)}function Dl(){var e=!bl;e&&vl(),ar(this)&&rr(this)?sl.call(this):(Cl.apply(this,arguments),e&&dl())}function Pl(e,t){e[A]=t;for(var n=me.call(e),r=0,l=n.length;r<l;r++)Pl(n[r],t)}c(HTMLElement.prototype,{tabIndex:{get:function(){return ar(this)?Ol.call(this):Ke.call(this)},set:function(e){return ar(this)?Hl.call(this,e):qe.call(this,e)},enumerable:!0,configurable:!0},blur:{value:function(){if(ar(this))return Rl.call(this);Sl.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value:function(){Dl.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==Pe&&null!==Ie&&s(HTMLElement.prototype,"innerText",{get:function(){return Pe.call(this)},set:function(e){Ie.call(this,e)},enumerable:!0,configurable:!0}),null!==Be&&null!==$e&&s(HTMLElement.prototype,"outerText",{get:function(){return Be.call(this)},set:function(e){$e.call(this,e)},enumerable:!0,configurable:!0}),s(Element.prototype,_,{set:function(e){var t=this[x];C(t)||t===e||Me.call(this,t),C(e)||Se.call(this,e,""),this[x]=e},get:function(){return this[x]},configurable:!0}),s(Element.prototype,"$shadowStaticNode$",{set:function(e){e&&Pl(this,this[A]);this[$]=e},get:function(){return this[$]},configurable:!0});var Il,Al="$$DomManualKey$$",Bl=function(){},$l={childList:!0};function _l(e,t,n){var r=tr(e);if(r!==t&&(nr(e,t),e instanceof Element)){if(function(e,t){e[_]=t}(e,n),ar(e))return;C(r)&&vt.call(Il,e,$l);for(var l=me.call(e),o=0,a=l.length;o<a;o+=1)_l(l[o],t,n)}}function xl(){return new bt((function(e){M.call(e,(function(e){for(var t=e.target,n=e.addedNodes,r=e.removedNodes,l=tr(t),o=function(e){return e[_]}(t),a=0,i=r.length;a<i;a+=1){var u=r[a];ne.call(t,u)&U.DOCUMENT_POSITION_CONTAINED_BY||_l(u,Bl,void 0)}for(var c=0,s=n.length;c<s;c+=1){var f=n[c];ne.call(t,f)&U.DOCUMENT_POSITION_CONTAINED_BY&&_l(f,l,o)}}))}))}s(Element.prototype,"$domManual$",{set:function(e){this[Al]=e,H(e)&&function(e){if(C(Il)&&(Il=xl()),C(tr(e)))throw new Error("Invalid Element");vt.call(Il,e,$l)}(this)},get:function(){return this[Al]},configurable:!0})}));
|