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